yanki 1.2.0 → 1.2.2
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0});import bm from"process";import km from"rehype-parse";import"node:path";import{webcrypto as Qo}from"node:crypto";const Bt={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};Bt.defaultMerge;function Sm(e,t){return t}s(Sm,"defaultMetaDataUpdater");function _m(e,t){return e.filter(n=>n!==void 0)}s(_m,"defaultFilterValues");var Xo;(function(e){e[e.NOT=0]="NOT",e[e.RECORD=1]="RECORD",e[e.ARRAY=2]="ARRAY",e[e.SET=3]="SET",e[e.MAP=4]="MAP",e[e.OTHER=5]="OTHER"})(Xo||(Xo={}));function Jo(e){return typeof e!="object"||e===null?0:Array.isArray(e)?2:Fm(e)?1:e instanceof Set?3:e instanceof Map?4:5}s(Jo,"getObjectType");function Bm(e){const t=new Set;for(const n of e)for(const r of[...Object.keys(n),...Object.getOwnPropertySymbols(n)])t.add(r);return t}s(Bm,"getKeys");function wm(e,t){return typeof e=="object"&&Object.prototype.propertyIsEnumerable.call(e,t)}s(wm,"objectHasProperty");function Zo(e){let t=0,n=e[0]?.[Symbol.iterator]();return{[Symbol.iterator](){return{next(){do{if(n===void 0)return{done:!0,value:void 0};const r=n.next();if(r.done===!0){t+=1,n=e[t]?.[Symbol.iterator]();continue}return{done:!1,value:r.value}}while(!0)}}}}}s(Zo,"getIterableOfIterables");const el=["[object Object]","[object Module]"];function Fm(e){if(!el.includes(Object.prototype.toString.call(e)))return!1;const{constructor:t}=e;if(t===void 0)return!0;const n=t.prototype;return!(n===null||typeof n!="object"||!el.includes(Object.prototype.toString.call(n))||!n.hasOwnProperty("isPrototypeOf"))}s(Fm,"isRecord");function Nm(e,t,n){const r={};for(const i of Bm(e)){const u=[];for(const l of e)wm(l,i)&&u.push(l[i]);if(u.length===0)continue;const a=t.metaDataUpdater(n,{key:i,parents:e}),o=tl(u,t,a);o!==Bt.skip&&(i==="__proto__"?Object.defineProperty(r,i,{value:o,configurable:!0,enumerable:!0,writable:!0}):r[i]=o)}return r}s(Nm,"mergeRecords$1");function xm(e){return e.flat()}s(xm,"mergeArrays$1");function Im(e){return new Set(Zo(e))}s(Im,"mergeSets$1");function vm(e){return new Map(Zo(e))}s(vm,"mergeMaps$1");function Lm(e){return e.at(-1)}s(Lm,"mergeOthers$1");const Gr={mergeRecords:Nm,mergeArrays:xm,mergeSets:Im,mergeMaps:vm,mergeOthers:Lm};function Oe(...e){return Om({})(...e)}s(Oe,"deepmerge");function Om(e,t){const n=Rm(e,r);function r(...i){return tl(i,n,t)}return s(r,"customizedDeepmerge"),r}s(Om,"deepmergeCustom");function Rm(e,t){return{defaultMergeFunctions:Gr,mergeFunctions:{...Gr,...Object.fromEntries(Object.entries(e).filter(([n,r])=>Object.hasOwn(Gr,n)).map(([n,r])=>r===!1?[n,Gr.mergeOthers]:[n,r]))},metaDataUpdater:e.metaDataUpdater??Sm,deepmerge:t,useImplicitDefaultMerging:e.enableImplicitDefaultMerging??!1,filterValues:e.filterValues===!1?void 0:e.filterValues??_m,actions:Bt}}s(Rm,"getUtils");function tl(e,t,n){const r=t.filterValues?.(e,n)??e;if(r.length===0)return;if(r.length===1)return Es(r,t,n);const i=Jo(r[0]);if(i!==0&&i!==5){for(let u=1;u<r.length;u++)if(Jo(r[u])!==i)return Es(r,t,n)}switch(i){case 1:return Pm(r,t,n);case 2:return Mm(r,t,n);case 3:return Um(r,t,n);case 4:return Hm(r,t,n);default:return Es(r,t,n)}}s(tl,"mergeUnknowns");function Pm(e,t,n){const r=t.mergeFunctions.mergeRecords(e,t,n);return r===Bt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeRecords!==t.defaultMergeFunctions.mergeRecords?t.defaultMergeFunctions.mergeRecords(e,t,n):r}s(Pm,"mergeRecords");function Mm(e,t,n){const r=t.mergeFunctions.mergeArrays(e,t,n);return r===Bt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeArrays!==t.defaultMergeFunctions.mergeArrays?t.defaultMergeFunctions.mergeArrays(e):r}s(Mm,"mergeArrays");function Um(e,t,n){const r=t.mergeFunctions.mergeSets(e,t,n);return r===Bt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeSets!==t.defaultMergeFunctions.mergeSets?t.defaultMergeFunctions.mergeSets(e):r}s(Um,"mergeSets");function Hm(e,t,n){const r=t.mergeFunctions.mergeMaps(e,t,n);return r===Bt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeMaps!==t.defaultMergeFunctions.mergeMaps?t.defaultMergeFunctions.mergeMaps(e):r}s(Hm,"mergeMaps");function Es(e,t,n){const r=t.mergeFunctions.mergeOthers(e,t,n);return r===Bt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeOthers!==t.defaultMergeFunctions.mergeOthers?t.defaultMergeFunctions.mergeOthers(e):r}s(Es,"mergeOthers");function Wn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(Wn,"getDefaultExportFromCjs");var $m="addenda",qm="aircraft",zm="algae",Ym="alumnae",jm="alumni",Gm="alveoli",Vm="amoebae",Wm="analyses",Km="antennae",Qm="antitheses",Xm="apices",Jm="appendices",Zm="automata",e1="axes",t1="bacilli",n1="bacteria",r1="bacula",i1="barracks",s1="bases",u1="beaux",a1="bison",o1="buffalo",l1="bureaus",c1="cacti",h1="calves",f1="carcinomata",d1="carp",p1="censuses",m1="chassis",g1="cherubim",E1="children",A1="cloacae",D1="cod",C1="codices",y1="concerti",T1="consortia",b1="corpora",k1="crises",S1="criteria",_1="curricula",B1="cystomata",w1="data",F1="deer",N1="diagnoses",x1="dice",I1="dwarfs",v1="echoes",L1="elves",O1="elk",R1="ellipses",P1="embargoes",M1="emphases",U1="errata",H1="fezes",$1="firmware",q1="fish",z1="foci",Y1="feet",j1="formulae",G1="fungi",V1="gallows",W1="genera",K1="glomeruli",Q1="geese",X1="graffiti",J1="grouse",Z1="halves",eg="hamuli",tg="heroes",ng="hippopotami",rg="hooves",ig="hovercraft",sg="hypotheses",ug="ilia",ag="incubi",og="indices",lg="interstitia",cg="kakapo",hg="knives",fg="larvae",dg="leaves",pg="libretti",mg="lives",gg="loaves",Eg="loculi",Ag="loci",Dg="lice",Cg="men",yg="matrices",Tg="means",bg="measles",kg="media",Sg="media",_g="memoranda",Bg="millennia",wg="minutiae",Fg="moose",Ng="mice",xg="nebulae",Ig="nemeses",vg="neuroses",Lg="news",Og="nucleoli",Rg="nuclei",Pg="oases",Mg="occipita",Ug="offspring",Hg="omphaloi",$g="opera",qg="ova",zg="oxen",Yg="paralyses",jg="parentheses",Gg="people",Vg="phenomena",Wg="phyla",Kg="pike",Qg="polyhedra",Xg="potatoes",Jg="primi",Zg="prognoses",eE="quizzes",tE="radii",nE="referenda",rE="salmon",iE="scarves",sE="scrota",uE="selves",aE="seminomata",oE="series",lE="sheep",cE="shelves",hE="shrimp",fE="simulacra",dE="soliloquies",pE="spacecraft",mE="species",gE="spectra",EE="squid",AE="stimuli",DE="strata",CE="swine",yE="syconia",TE="syllabi",bE="symposia",kE="synopses",SE="syntheses",_E="tableaus",BE="testes",wE="those",FE="theses",NE="thieves",xE="thrombi",IE="tomatoes",vE="teeth",LE="tori",OE="trout",RE="tuna",PE="umbilici",ME="uteri",UE="vertebrae",HE="vertices",$E="vetoes",qE="vitae",zE="vortices",YE="watercraft",jE="wharves",GE="wives",VE="wolves",WE="women",KE={addendum:$m,aircraft:qm,alga:zm,alumna:Ym,alumnus:jm,alveolus:Gm,amoeba:Vm,analysis:Wm,antenna:Km,antithesis:Qm,apex:Xm,appendix:Jm,automaton:Zm,axis:e1,bacillus:t1,bacterium:n1,baculum:r1,barracks:i1,basis:s1,beau:u1,bison:a1,buffalo:o1,bureau:l1,cactus:c1,calf:h1,carcinoma:f1,carp:d1,census:p1,chassis:m1,cherub:g1,child:E1,ch\u00E2teau:"ch\xE2teaus",cloaca:A1,cod:D1,codex:C1,concerto:y1,consortium:T1,corpus:b1,crisis:k1,criterion:S1,curriculum:_1,cystoma:B1,datum:w1,deer:F1,diagnosis:N1,die:x1,dwarf:I1,echo:v1,elf:L1,elk:O1,ellipsis:R1,embargo:P1,emphasis:M1,erratum:U1,"faux pas":"faux pas",fez:H1,firmware:$1,fish:q1,focus:z1,foot:Y1,formula:j1,fungus:G1,gallows:V1,genus:W1,glomerulus:K1,goose:Q1,graffito:X1,grouse:J1,half:Z1,hamulus:eg,hero:tg,hippopotamus:ng,hoof:rg,hovercraft:ig,hypothesis:sg,iliac:ug,incubus:ag,index:og,interstitium:lg,kakapo:cg,knife:hg,larva:fg,leaf:dg,libretto:pg,life:mg,loaf:gg,loculus:Eg,locus:Ag,louse:Dg,man:Cg,matrix:yg,means:Tg,measles:bg,media:kg,medium:Sg,memorandum:_g,millennium:Bg,minutia:wg,moose:Fg,mouse:Ng,nebula:xg,nemesis:Ig,neurosis:vg,news:Lg,nucleolus:Og,nucleus:Rg,oasis:Pg,occiput:Mg,offspring:Ug,omphalos:Hg,opus:$g,ovum:qg,ox:zg,paralysis:Yg,parenthesis:jg,person:Gg,phenomenon:Vg,phylum:Wg,pike:Kg,polyhedron:Qg,potato:Xg,primus:Jg,prognosis:Zg,quiz:eE,radius:tE,referendum:nE,salmon:rE,scarf:iE,scrotum:sE,self:uE,seminoma:aE,series:oE,sheep:lE,shelf:cE,shrimp:hE,simulacrum:fE,soliloquy:dE,spacecraft:pE,species:mE,spectrum:gE,squid:EE,stimulus:AE,stratum:DE,swine:CE,syconium:yE,syllabus:TE,symposium:bE,synopsis:kE,synthesis:SE,tableau:_E,testis:BE,that:wE,thesis:FE,thief:NE,this:"these",thrombus:xE,tomato:IE,tooth:vE,torus:LE,trout:OE,tuna:RE,umbilicus:PE,uterus:ME,vertebra:UE,vertex:HE,veto:$E,vita:qE,vortex:zE,watercraft:YE,wharf:jE,wife:GE,wolf:VE,woman:WE},As,nl;function QE(){if(nl)return As;nl=1;const e=KE;return As=new Map(Object.entries(e)),As}s(QE,"requireIrregularPlurals");var XE=QE(),rl=Wn(XE);function fn(e,t,n){if(typeof t=="number"&&(n=t),rl.has(e.toLowerCase())){t=rl.get(e.toLowerCase());const r=e.charAt(0);r===r.toUpperCase()&&(t=r+t.slice(1)),e===e.toUpperCase()&&(t=t.toUpperCase())}else typeof t!="string"&&(t=(e.replace(/(?:s|x|z|ch|sh)$/i,"$&e").replace(/([^aeiou])y$/i,"$1ie")+"s").replace(/i?e?s$/i,r=>e.slice(-1)===e.slice(-1).toLowerCase()?r.toLowerCase():r.toUpperCase()));return Math.abs(n)===1?e:t}s(fn,"plur");const il=s(e=>Number.isFinite(e)?e:0,"toZeroIfInfinity");function JE(e){return{days:Math.trunc(e/864e5),hours:Math.trunc(e/36e5%24),minutes:Math.trunc(e/6e4%60),seconds:Math.trunc(e/1e3%60),milliseconds:Math.trunc(e%1e3),microseconds:Math.trunc(il(e*1e3)%1e3),nanoseconds:Math.trunc(il(e*1e6)%1e3)}}s(JE,"parseNumber");function ZE(e){return{days:e/86400000n,hours:e/3600000n%24n,minutes:e/60000n%60n,seconds:e/1000n%60n,milliseconds:e%1000n,microseconds:0n,nanoseconds:0n}}s(ZE,"parseBigint");function e2(e){switch(typeof e){case"number":{if(Number.isFinite(e))return JE(e);break}case"bigint":return ZE(e)}throw new TypeError("Expected a finite number or bigint")}s(e2,"parseMilliseconds");const t2=s(e=>e===0||e===0n,"isZero"),n2=s((e,t)=>t===1||t===1n?e:`${e}s`,"pluralize"),r2=1e-7,i2=24n*60n*60n*1000n;function Ds(e,t){const n=typeof e=="bigint";if(!n&&!Number.isFinite(e))throw new TypeError("Expected a finite number or bigint");t={...t};const r=e<0?"-":"";e=e<0?-e:e,t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.unitCount=1,t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);let i=[];const u=s((f,h)=>{const m=Math.floor(f*10**h+r2);return(Math.round(m)/10**h).toFixed(h)},"floorDecimals"),a=s((f,h,m,p)=>{if(!((i.length===0||!t.colonNotation)&&t2(f)&&!(t.colonNotation&&m==="m"))){if(p??=String(f),t.colonNotation){const g=p.includes(".")?p.split(".")[0].length:p.length,E=i.length>0?2:1;p="0".repeat(Math.max(0,E-g))+p}else p+=t.verbose?" "+n2(h,f):m;i.push(p)}},"add"),o=e2(e),l=BigInt(o.days);if(t.hideYearAndDays?a(BigInt(l)*24n+BigInt(o.hours),"hour","h"):(t.hideYear?a(l,"day","d"):(a(l/365n,"year","y"),a(l%365n,"day","d")),a(Number(o.hours),"hour","h")),a(Number(o.minutes),"minute","m"),!t.hideSeconds)if(t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3&&!t.subSecondsAsDecimals){const f=Number(o.seconds),h=Number(o.milliseconds),m=Number(o.microseconds),p=Number(o.nanoseconds);if(a(f,"second","s"),t.formatSubMilliseconds)a(h,"millisecond","ms"),a(m,"microsecond","\xB5s"),a(p,"nanosecond","ns");else{const g=h+m/1e3+p/1e6,E=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,D=g>=1?Math.round(g):Math.ceil(g),A=E?g.toFixed(E):D;a(Number.parseFloat(A),"millisecond","ms",A)}}else{const f=(n?Number(e%i2):e)/1e3%60,h=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,m=u(f,h),p=t.keepDecimalsOnWholeSeconds?m:m.replace(/\.0+$/,"");a(Number.parseFloat(p),"second","s",p)}if(i.length===0)return r+"0"+(t.verbose?" milliseconds":"ms");const c=t.colonNotation?":":" ";return typeof t.unitCount=="number"&&(i=i.slice(0,Math.max(t.unitCount,1))),r+i.join(c)}s(Ds,"prettyMilliseconds");var s2=Object.defineProperty,sl=s((e,t)=>s2(e,"name",{value:t,configurable:!0}),"a");const Vr=typeof window>"u"?typeof process>"u"?"other":"node":"browser",ul=Vr==="browser"?/windows/i.test(navigator.userAgent)?"windows":/mac/i.test(navigator.userAgent)?"mac":"other":Vr==="node"?process.platform==="win32"?"windows":process.platform==="darwin"?"mac":"other":"other";let Cs=0;const u2=5e3;let al=0;const a2=100;async function ys(){if(ul==="mac"&&Vr==="node"){const{openApp:e}=await import("./index-Dsl0rabV.js");if(al>=a2){console.warn("Too many Anki App launch attempts this session, ignoring");return}(Cs===0||Date.now()-Cs>u2)&&(console.warn("Attempting to launch Anki app"),Cs=Date.now(),al++,await e("/Applications/Anki.app",{background:!0,newInstance:!1,wait:!1}))}else console.warn("Automatic Anki App launch is only supported on Mac OS in Node.js environment")}s(ys,"h$1"),sl(ys,"launchAnkiApp");const wt={autoLaunch:!1,fetchAdapter:fetch.bind(globalThis),host:"http://127.0.0.1",key:void 0,port:8765,version:6};class Kn{static{s(this,"f")}static{sl(this,"YankiConnect")}card={answerCards:this.build("answerCards"),areDue:this.build("areDue"),areSuspended:this.build("areSuspended"),cardsInfo:this.build("cardsInfo"),cardsModTime:this.build("cardsModTime"),cardsToNotes:this.build("cardsToNotes"),findCards:this.build("findCards"),forgetCards:this.build("forgetCards"),getEaseFactors:this.build("getEaseFactors"),getIntervals:this.build("getIntervals"),relearnCards:this.build("relearnCards"),setDueDate:this.build("setDueDate"),setEaseFactors:this.build("setEaseFactors"),setSpecificValueOfCard:this.build("setSpecificValueOfCard"),suspend:this.build("suspend"),suspended:this.build("suspended"),unsuspend:this.build("unsuspend")};deck={changeDeck:this.build("changeDeck"),cloneDeckConfigId:this.build("cloneDeckConfigId"),createDeck:this.build("createDeck"),deckNames:this.build("deckNames"),deckNamesAndIds:this.build("deckNamesAndIds"),deleteDecks:this.build("deleteDecks"),getDeckConfig:this.build("getDeckConfig"),getDecks:this.build("getDecks"),getDeckStats:this.build("getDeckStats"),removeDeckConfigId:this.build("removeDeckConfigId"),saveDeckConfig:this.build("saveDeckConfig"),setDeckConfigId:this.build("setDeckConfigId")};graphical={guiAddCards:this.build("guiAddCards"),guiAnswerCard:this.build("guiAnswerCard"),guiBrowse:this.build("guiBrowse"),guiCheckDatabase:this.build("guiCheckDatabase"),guiCurrentCard:this.build("guiCurrentCard"),guiDeckBrowser:this.build("guiDeckBrowser"),guiDeckOverview:this.build("guiDeckOverview"),guiDeckReview:this.build("guiDeckReview"),guiEditNote:this.build("guiEditNote"),guiExitAnki:this.build("guiExitAnki"),guiImportFile:this.build("guiImportFile"),guiSelectCard:this.build("guiSelectCard"),guiSelectedNotes:this.build("guiSelectedNotes"),guiSelectNote:this.build("guiSelectNote"),guiShowAnswer:this.build("guiShowAnswer"),guiShowQuestion:this.build("guiShowQuestion"),guiStartCardTimer:this.build("guiStartCardTimer"),guiUndo:this.build("guiUndo")};media={deleteMediaFile:this.build("deleteMediaFile"),getMediaDirPath:this.build("getMediaDirPath"),getMediaFilesNames:this.build("getMediaFilesNames"),retrieveMediaFile:this.build("retrieveMediaFile"),storeMediaFile:this.build("storeMediaFile")};miscellaneous={apiReflect:this.build("apiReflect"),exportPackage:this.build("exportPackage"),getActiveProfile:this.build("getActiveProfile"),getProfiles:this.build("getProfiles"),importPackage:this.build("importPackage"),loadProfile:this.build("loadProfile"),multi:this.build("multi"),reloadCollection:this.build("reloadCollection"),requestPermission:this.build("requestPermission"),sync:this.build("sync"),version:this.build("version")};model={createModel:this.build("createModel"),findAndReplaceInModels:this.build("findAndReplaceInModels"),findModelsById:this.build("findModelsById"),findModelsByName:this.build("findModelsByName"),modelFieldAdd:this.build("modelFieldAdd"),modelFieldDescriptions:this.build("modelFieldDescriptions"),modelFieldFonts:this.build("modelFieldFonts"),modelFieldNames:this.build("modelFieldNames"),modelFieldRemove:this.build("modelFieldRemove"),modelFieldRename:this.build("modelFieldRename"),modelFieldReposition:this.build("modelFieldReposition"),modelFieldSetDescription:this.build("modelFieldSetDescription"),modelFieldSetFont:this.build("modelFieldSetFont"),modelFieldSetFontSize:this.build("modelFieldSetFontSize"),modelFieldsOnTemplates:this.build("modelFieldsOnTemplates"),modelNames:this.build("modelNames"),modelNamesAndIds:this.build("modelNamesAndIds"),modelStyling:this.build("modelStyling"),modelTemplateAdd:this.build("modelTemplateAdd"),modelTemplateRemove:this.build("modelTemplateRemove"),modelTemplateRename:this.build("modelTemplateRename"),modelTemplateReposition:this.build("modelTemplateReposition"),modelTemplates:this.build("modelTemplates"),updateModelStyling:this.build("updateModelStyling"),updateModelTemplates:this.build("updateModelTemplates")};note={addNote:this.build("addNote"),addNotes:this.build("addNotes"),addTags:this.build("addTags"),canAddNotes:this.build("canAddNotes"),canAddNotesWithErrorDetail:this.build("canAddNotesWithErrorDetail"),clearUnusedTags:this.build("clearUnusedTags"),deleteNotes:this.build("deleteNotes"),findNotes:this.build("findNotes"),getNoteTags:this.build("getNoteTags"),getTags:this.build("getTags"),notesInfo:this.build("notesInfo"),notesModTime:this.build("notesInfo"),removeEmptyNotes:this.build("removeEmptyNotes"),removeTags:this.build("removeTags"),replaceTags:this.build("replaceTags"),replaceTagsInAllNotes:this.build("replaceTagsInAllNotes"),updateNote:this.build("updateNote"),updateNoteFields:this.build("updateNoteFields"),updateNoteModel:this.build("updateNoteModel"),updateNoteTags:this.build("updateNoteTags")};statistic={cardReviews:this.build("cardReviews"),getCollectionStatsHTML:this.build("getCollectionStatsHTML"),getLatestReviewID:this.build("getLatestReviewID"),getNumCardsReviewedByDay:this.build("getNumCardsReviewedByDay"),getNumCardsReviewedToday:this.build("getNumCardsReviewedToday"),getReviewsOfCards:this.build("getReviewsOfCards"),insertReviews:this.build("insertReviews")};autoLaunch;fetchAdapter;host;key;port;version;constructor(t){if(this.host=t?.host??wt.host,this.port=t?.port??wt.port,this.version=t?.version??wt.version,this.key=t?.key??wt.key,this.autoLaunch=t?.autoLaunch??wt.autoLaunch,wt.fetchAdapter===void 0)throw new Error("A fetch implementation is required");if(this.fetchAdapter=t?.fetchAdapter??wt.fetchAdapter,(ul!=="mac"||Vr!=="node")&&this.autoLaunch!==!1&&(console.warn("The autoLaunch option is only supported in a Node environment on macOS"),this.autoLaunch=!1),this.version!==6)throw new Error("YankiConnect currently only supports Anki-Connect API version 6");this.autoLaunch==="immediately"&&ys()}async invoke(t,n){let r,i;try{if(r=await this.fetchAdapter(`${this.host}:${this.port}`,{body:JSON.stringify({action:t,...this.key===void 0?{}:{key:this.key},params:n,version:this.version}),headers:{"Access-Control-Allow-Origin":"*","Content-Type":"application/json"},method:"POST",mode:"cors"}),r===void 0)throw new Error("Anki-Connect response is undefined");if(r.status!==200)throw new Error(`Anki-Connect response status is ${r.status}`);if(i=await r.json(),this.autoLaunch!==!1&&i.error==="collection is not available")throw new Error(i.error)}catch(u){if(this.autoLaunch!==!1)return console.warn("Can't connect to Anki app, retrying with auto-launch..."),await ys(),await new Promise(a=>{setTimeout(a,500)}),n===void 0?this.invoke(t):this.invoke(t,n);throw u}if(!("error"in i))throw new Error("response is missing required error field");if(!("result"in i))throw new Error("response is missing required result field");return i}build(t){return async n=>{const r=await this.invoke(t,n);if(r.error!==null)throw new Error(r.error);return r.result}}}let Ee=class extends Error{static{s(this,"ShikiError")}constructor(t){super(t),this.name="ShikiError"}};function o2(e){return Ts(e)}s(o2,"clone");function Ts(e){return Array.isArray(e)?l2(e):e instanceof RegExp?e:typeof e=="object"?c2(e):e}s(Ts,"doClone");function l2(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Ts(e[n]);return t}s(l2,"cloneArray");function c2(e){let t={};for(let n in e)t[n]=Ts(e[n]);return t}s(c2,"cloneObj");function ol(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}s(ol,"mergeObjects");function ll(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?ll(e.substring(0,e.length-1)):e.substr(~t+1)}s(ll,"basename$1");var bs=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Wr=class{static{s(this,"RegexSource")}static hasCaptures(e){return e===null?!1:(bs.lastIndex=0,bs.test(e))}static replaceCaptures(e,t,n){return e.replace(bs,(r,i,u,a)=>{let o=n[parseInt(i||u,10)];if(o){let l=t.substring(o.start,o.end);for(;l[0]===".";)l=l.substring(1);switch(a){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function cl(e,t){return e<t?-1:e>t?1:0}s(cl,"strcmp");function hl(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let i=0;i<n;i++){let u=cl(e[i],t[i]);if(u!==0)return u}return 0}return n-r}s(hl,"strArrCmp");function fl(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}s(fl,"isValidHexColor");function dl(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}s(dl,"escapeRegExpCharacters");var pl=class{static{s(this,"CachedFn")}constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},Kr=class{static{s(this,"Theme")}constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(d2(e),t)}static createFromParsedTheme(e,t){return m2(e,t)}_cachedMatchRoot=new pl(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(i=>h2(e.parent,i.parentScopes));return r?new ml(r.fontStyle,r.foreground,r.background):null}},ks=class ms{static{s(this,"_ScopeStack")}constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new ms(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new ms(n,t[r]);return n}push(t){return new ms(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function h2(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],i=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],i=!0}for(;e&&!f2(e.scopeName,r);){if(i)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}s(h2,"_scopePathMatchesParentScopes");function f2(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}s(f2,"_matchesScope");var ml=class{static{s(this,"StyleAttributes")}constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function d2(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let i=0,u=t.length;i<u;i++){let a=t[i];if(!a.settings)continue;let o;if(typeof a.scope=="string"){let h=a.scope;h=h.replace(/^[,]+/,""),h=h.replace(/[,]+$/,""),o=h.split(",")}else Array.isArray(a.scope)?o=a.scope:o=[""];let l=-1;if(typeof a.settings.fontStyle=="string"){l=0;let h=a.settings.fontStyle.split(" ");for(let m=0,p=h.length;m<p;m++)switch(h[m]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof a.settings.foreground=="string"&&fl(a.settings.foreground)&&(c=a.settings.foreground);let f=null;typeof a.settings.background=="string"&&fl(a.settings.background)&&(f=a.settings.background);for(let h=0,m=o.length;h<m;h++){let g=o[h].trim().split(" "),E=g[g.length-1],D=null;g.length>1&&(D=g.slice(0,g.length-1),D.reverse()),n[r++]=new p2(E,D,i,l,c,f)}}return n}s(d2,"parseTheme");var p2=class{static{s(this,"ParsedThemeRule")}constructor(e,t,n,r,i,u){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=i,this.background=u}},we=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(we||{});function m2(e,t){e.sort((l,c)=>{let f=cl(l.scope,c.scope);return f!==0||(f=hl(l.parentScopes,c.parentScopes),f!==0)?f:l.index-c.index});let n=0,r="#000000",i="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(i=l.background)}let u=new g2(t),a=new ml(n,u.getId(r),u.getId(i)),o=new A2(new Ss(0,null,-1,0,0),[]);for(let l=0,c=e.length;l<c;l++){let f=e[l];o.insert(0,f.scope,f.parentScopes,f.fontStyle,u.getId(f.foreground),u.getId(f.background))}return new Kr(u,a,o)}s(m2,"resolveParsedThemeRules");var g2=class{static{s(this,"ColorMap")}_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},E2=Object.freeze([]),Ss=class hm{static{s(this,"_ThemeTrieElementRule")}scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,i,u){this.scopeDepth=t,this.parentScopes=n||E2,this.fontStyle=r,this.foreground=i,this.background=u}clone(){return new hm(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,i=t.length;r<i;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,i){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),i!==0&&(this.background=i)}},A2=class $o{static{s(this,"_ThemeTrieElement")}constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,i=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[i]===">"&&i++,!(r>=t.parentScopes.length||i>=n.parentScopes.length);){const u=n.parentScopes[i].length-t.parentScopes[r].length;if(u!==0)return u;r++,i++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),i,u;if(r===-1?(i=t,u=""):(i=t.substring(0,r),u=t.substring(r+1)),this._children.hasOwnProperty(i))return this._children[i].match(u)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort($o._cmpBySpecificity),n}insert(t,n,r,i,u,a){if(n===""){this._doInsertHere(t,r,i,u,a);return}let o=n.indexOf("."),l,c;o===-1?(l=n,c=""):(l=n.substring(0,o),c=n.substring(o+1));let f;this._children.hasOwnProperty(l)?f=this._children[l]:(f=new $o(this._mainRule.clone(),Ss.cloneArr(this._rulesWithParentScopes)),this._children[l]=f),f.insert(t+1,c,r,i,u,a)}_doInsertHere(t,n,r,i,u){if(n===null){this._mainRule.acceptOverwrite(t,r,i,u);return}for(let a=0,o=this._rulesWithParentScopes.length;a<o;a++){let l=this._rulesWithParentScopes[a];if(hl(l.parentScopes,n)===0){l.acceptOverwrite(t,r,i,u);return}}r===-1&&(r=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),u===0&&(u=this._mainRule.background),this._rulesWithParentScopes.push(new Ss(t,n,r,i,u))}},dn=class et{static{s(this,"_EncodedTokenMetadata")}static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=et.getLanguageId(t),r=et.getTokenType(t),i=et.getFontStyle(t),u=et.getForeground(t),a=et.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:u,background:a})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,i,u,a,o){let l=et.getLanguageId(t),c=et.getTokenType(t),f=et.containsBalancedBrackets(t)?1:0,h=et.getFontStyle(t),m=et.getForeground(t),p=et.getBackground(t);return n!==0&&(l=n),r!==8&&(c=r),i!==null&&(f=i?1:0),u!==-1&&(h=u),a!==0&&(m=a),o!==0&&(p=o),(l<<0|c<<8|f<<10|h<<11|m<<15|p<<24)>>>0}};function Yx(e){return e}s(Yx,"toOptionalTokenType");function jx(e){return e}s(jx,"fromOptionalTokenType");function Qr(e,t){const n=[],r=D2(e);let i=r.next();for(;i!==null;){let l=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let c=a();if(n.push({matcher:c,priority:l}),i!==",")break;i=r.next()}return n;function u(){if(i==="-"){i=r.next();const l=u();return c=>!!l&&!l(c)}if(i==="("){i=r.next();const l=o();return i===")"&&(i=r.next()),l}if(gl(i)){const l=[];do l.push(i),i=r.next();while(gl(i));return c=>t(l,c)}return null}function a(){const l=[];let c=u();for(;c;)l.push(c),c=u();return f=>l.every(h=>h(f))}function o(){const l=[];let c=a();for(;c&&(l.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=a()}return f=>l.some(h=>h(f))}}s(Qr,"createMatchers");function gl(e){return!!e&&!!e.match(/[\w\.:]+/)}s(gl,"isIdentifier");function D2(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:s(()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r},"next")}}s(D2,"newTokenizer");function El(e){typeof e.dispose=="function"&&e.dispose()}s(El,"disposeOnigString");var Qn=class{static{s(this,"TopLevelRuleReference")}constructor(e){this.scopeName=e}toKey(){return this.scopeName}},C2=class{static{s(this,"TopLevelRepositoryRuleReference")}constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},y2=class{static{s(this,"ExternalReferenceCollector")}_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},T2=class{static{s(this,"ScopeDependencyProcessor")}constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Qn(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new y2;for(const n of e)b2(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Qn){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function b2(e,t,n,r){const i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const u=n.lookup(t);e instanceof Qn?Xr({baseGrammar:u,selfGrammar:i},r):_s(e.ruleName,{baseGrammar:u,selfGrammar:i,repository:i.repository},r);const a=n.injections(e.scopeName);if(a)for(const o of a)r.add(new Qn(o))}s(b2,"collectReferencesOfReference");function _s(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Jr([r],t,n)}}s(_s,"collectExternalReferencesInTopLevelRepositoryRule");function Xr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Jr(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Jr(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}s(Xr,"collectExternalReferencesInTopLevelRule");function Jr(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const i=r.repository?ol({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Jr(r.patterns,{...t,repository:i},n);const u=r.include;if(!u)continue;const a=Al(u);switch(a.kind){case 0:Xr({...t,selfGrammar:t.baseGrammar},n);break;case 1:Xr(t,n);break;case 2:_s(a.ruleName,{...t,repository:i},n);break;case 3:case 4:const o=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(o){const l={baseGrammar:t.baseGrammar,selfGrammar:o,repository:i};a.kind===4?_s(a.ruleName,l,n):Xr(l,n)}else a.kind===4?n.add(new C2(a.scopeName,a.ruleName)):n.add(new Qn(a.scopeName));break}}}s(Jr,"collectExternalReferencesInRules");var k2=class{static{s(this,"BaseReference")}kind=0},S2=class{static{s(this,"SelfReference")}kind=1},_2=class{static{s(this,"RelativeReference")}constructor(e){this.ruleName=e}kind=2},B2=class{static{s(this,"TopLevelReference")}constructor(e){this.scopeName=e}kind=3},w2=class{static{s(this,"TopLevelRepositoryReference")}constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function Al(e){if(e==="$base")return new k2;if(e==="$self")return new S2;const t=e.indexOf("#");if(t===-1)return new B2(e);if(t===0)return new _2(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new w2(n,r)}}s(Al,"parseInclude");var F2=/\\(\d+)/,Dl=/\\(\d+)/g,N2=-1,Cl=-2;function Gx(e){return e}s(Gx,"ruleIdFromNumber");function Vx(e){return e}s(Vx,"ruleIdToNumber");var Xn=class{static{s(this,"Rule")}$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Wr.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Wr.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${ll(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Wr.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Wr.replaceCaptures(this._contentName,e,t)}},x2=class extends Xn{static{s(this,"CaptureRule")}retokenizeCapturedWithRuleId;constructor(e,t,n,r,i){super(e,t,n,r),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},I2=class extends Xn{static{s(this,"MatchRule")}_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,null),this._match=new Jn(r,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Zn,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},yl=class extends Xn{static{s(this,"IncludeOnlyRule")}hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,r),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Zn,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Bs=class extends Xn{static{s(this,"BeginEndRule")}_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i,u,a,o,l,c){super(e,t,n,r),this._begin=new Jn(i,this.id),this.beginCaptures=u,this._end=new Jn(a||"\uFFFF",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=l||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Zn;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Zr=class extends Xn{static{s(this,"BeginWhileRule")}_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,i,u,a,o,l){super(e,t,n,r),this._begin=new Jn(i,this.id),this.beginCaptures=u,this.whileCaptures=o,this._while=new Jn(a,Cl),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Zn;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Zn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"\uFFFF"),this._cachedCompiledWhilePatterns}},Tl=class xe{static{s(this,"_RuleFactory")}static createCaptureRule(t,n,r,i,u){return t.registerRule(a=>new x2(n,a,r,i,u))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new I2(t.$vscodeTextmateLocation,t.id,t.name,t.match,xe._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=ol({},r,t.repository));let u=t.patterns;return typeof u>"u"&&t.include&&(u=[{include:t.include}]),new yl(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,xe._compilePatterns(u,n,r))}return t.while?new Zr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,xe._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,xe._compileCaptures(t.whileCaptures||t.captures,n,r),xe._compilePatterns(t.patterns,n,r)):new Bs(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,xe._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,xe._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,xe._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let u=0;for(const a in t){if(a==="$vscodeTextmateLocation")continue;const o=parseInt(a,10);o>u&&(u=o)}for(let a=0;a<=u;a++)i[a]=null;for(const a in t){if(a==="$vscodeTextmateLocation")continue;const o=parseInt(a,10);let l=0;t[a].patterns&&(l=xe.getCompiledRuleId(t[a],n,r)),i[o]=xe.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,l)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let u=0,a=t.length;u<a;u++){const o=t[u];let l=-1;if(o.include){const c=Al(o.include);switch(c.kind){case 0:case 1:l=xe.getCompiledRuleId(r[o.include],n,r);break;case 2:let f=r[c.ruleName];f&&(l=xe.getCompiledRuleId(f,n,r));break;case 3:case 4:const h=c.scopeName,m=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(h,r);if(p)if(m){let g=p.repository[m];g&&(l=xe.getCompiledRuleId(g,n,p.repository))}else l=xe.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else l=xe.getCompiledRuleId(o,n,r);if(l!==-1){const c=n.getRule(l);let f=!1;if((c instanceof yl||c instanceof Bs||c instanceof Zr)&&c.hasMissingPatterns&&c.patterns.length===0&&(f=!0),f)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},Jn=class fm{static{s(this,"_RegExpSource")}source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t&&typeof t=="string"){const r=t.length;let i=0,u=[],a=!1;for(let o=0;o<r;o++)if(t.charAt(o)==="\\"&&o+1<r){const c=t.charAt(o+1);c==="z"?(u.push(t.substring(i,o)),u.push("$(?!\\n)(?<!\\n)"),i=o+2):(c==="A"||c==="G")&&(a=!0),o++}this.hasAnchor=a,i===0?this.source=t:(u.push(t.substring(i,r)),this.source=u.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=F2.test(this.source):this.hasBackReferences=!1}clone(){return new fm(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(i=>t.substring(i.start,i.end));return Dl.lastIndex=0,this.source.replace(Dl,(i,u)=>dl(r[parseInt(u,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],i=[],u,a,o,l;for(u=0,a=this.source.length;u<a;u++)o=this.source.charAt(u),t[u]=o,n[u]=o,r[u]=o,i[u]=o,o==="\\"&&u+1<a&&(l=this.source.charAt(u+1),l==="A"?(t[u+1]="\uFFFF",n[u+1]="\uFFFF",r[u+1]="A",i[u+1]="A"):l==="G"?(t[u+1]="\uFFFF",n[u+1]="G",r[u+1]="\uFFFF",i[u+1]="G"):(t[u+1]=l,n[u+1]=l,r[u+1]=l,i[u+1]=l),u++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:i.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Zn=class{static{s(this,"RegExpSourceList")}_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new bl(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(i=>i.resolveAnchors(t,n));return new bl(e,r,this._items.map(i=>i.ruleId))}},bl=class{static{s(this,"CompiledRule")}constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
|
|
2
|
-
`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},ws=class{static{s(this,"BasicScopeAttributes")}constructor(e,t){this.languageId=e,this.tokenType=t}},v2=class qo{static{s(this,"_BasicScopeAttributesProvider")}_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new ws(t,8),this._embeddedLanguagesMatcher=new L2(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?qo._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new ws(0,0);_getBasicScopeAttributes=new pl(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new ws(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(qo.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},L2=class{static{s(this,"ScopeMatcher")}values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>dl(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var kl=class{static{s(this,"TokenizeStringResult")}constructor(e,t){this.stack=e,this.stoppedEarly=t}};function Sl(e,t,n,r,i,u,a,o){const l=t.content.length;let c=!1,f=-1;if(a){const p=O2(e,t,n,r,i,u);i=p.stack,r=p.linePos,n=p.isFirstLine,f=p.anchorPosition}const h=Date.now();for(;!c;){if(o!==0&&Date.now()-h>o)return new kl(i,!0);m()}return new kl(i,!1);function m(){const p=R2(e,t,n,r,i,f);if(!p){u.produce(i,l),c=!0;return}const g=p.captureIndices,E=p.matchedRuleId,
|
|
3
|
-
`;const u=this.createOnigString(e),a=u.content.length,o=new j2(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=Sl(this,u,i,0,t,o,!0,r);return El(u),{lineLength:a,lineTokens:o,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function wl(e,t){return e=o2(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}s(wl,"initGrammar");var tr=class gt{static{s(this,"_AttributedScopeStack")}constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,i=t?.scopePath??null;for(const u of n)i=ks.push(i,u.scopeNames),r=new gt(r,i,u.encodedTokenAttributes);return r}static createRoot(t,n){return new gt(null,new ks(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const i=r.getMetadataForScope(t),u=new ks(null,t),a=r.themeProvider.themeMatch(u),o=gt.mergeAttributes(n,i,a);return new gt(null,u,o)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return gt.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let i=-1,u=0,a=0;return r!==null&&(i=r.fontStyle,u=r.foregroundId,a=r.backgroundId),dn.set(t,n.languageId,n.tokenType,null,i,u,a)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return gt._pushAttributed(this,t,n);const r=t.split(/ /g);let i=this;for(const u of r)i=gt._pushAttributed(i,u,n);return i}static _pushAttributed(t,n,r){const i=r.getMetadataForScope(n),u=t.scopePath.push(n),a=r.themeProvider.themeMatch(u),o=gt.mergeAttributes(t.tokenAttributes,i,a);return new gt(t,u,o)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}},Fs=class on{static{s(this,"_StateStackImpl")}constructor(t,n,r,i,u,a,o,l){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=u,this.endRule=a,this.nameScopesList=o,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=i}_stackElementBrand=void 0;static NULL=new on(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:on._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?tr.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){on._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,i,u,a,o){return new on(this,t,n,r,i,u,a,o)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new on(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=tr.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new on(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,tr.fromExtension(r,n.contentNameScopesList))}},Y2=class{static{s(this,"BalancedBracketSelectors")}balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):Qr(n,ei).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>Qr(n,ei).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},j2=class{static{s(this,"LineTokens")}constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let r=e?.tokenAttributes??0,i=!1;if(this.balancedBracketSelectors?.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const u=e?.getScopeNames()??[];for(const a of this._tokenTypeOverrides)a.matcher(u)&&(r=dn.set(r,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(u))}if(i&&(r=dn.set(r,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=t;return}const n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,i=this._binaryTokens.length;r<i;r++)n[r]=this._binaryTokens[r];return n}},G2=class{static{s(this,"SyncRegistry")}constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,i){if(!this._grammars.has(e)){let u=this._rawGrammars.get(e);if(!u)return null;this._grammars.set(e,$2(e,u,t,n,r,i,this,this._onigLib))}return this._grammars.get(e)}},V2=class{static{s(this,"Registry")}_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new G2(Kr.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Kr.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new Y2(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,i,u){const a=new T2(this._syncRegistry,t);for(;a.Q.length>0;)a.Q.map(o=>this._loadSingleGrammar(o.scopeName)),a.processQueue();return this._grammarForScopeName(t,n,r,i,u)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,i=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,i)}_grammarForScopeName(t,n=0,r=null,i=null,u=null){return this._syncRegistry.grammarForScopeName(t,n,r,i,u)}},Ns=Fs.NULL;const Fl=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];let nr=class{static{s(this,"Schema")}constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};nr.prototype.normal={},nr.prototype.property={},nr.prototype.space=void 0;function Nl(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new nr(n,r,t)}s(Nl,"merge$2");function rr(e){return e.toLowerCase()}s(rr,"normalize$3");let Re=class{static{s(this,"Info")}constructor(t,n){this.attribute=n,this.property=t}};Re.prototype.attribute="",Re.prototype.booleanish=!1,Re.prototype.boolean=!1,Re.prototype.commaOrSpaceSeparated=!1,Re.prototype.commaSeparated=!1,Re.prototype.defined=!1,Re.prototype.mustUseProperty=!1,Re.prototype.number=!1,Re.prototype.overloadedBoolean=!1,Re.prototype.property="",Re.prototype.spaceSeparated=!1,Re.prototype.space=void 0;let W2=0;const X=Ht(),Ae=Ht(),xs=Ht(),H=Ht(),le=Ht(),pn=Ht(),Ye=Ht();function Ht(){return 2**++W2}s(Ht,"increment$1");var Is=Object.freeze({__proto__:null,boolean:X,booleanish:Ae,commaOrSpaceSeparated:Ye,commaSeparated:pn,number:H,overloadedBoolean:xs,spaceSeparated:le});const vs=Object.keys(Is);let Ls=class extends Re{static{s(this,"DefinedInfo")}constructor(t,n,r,i){let u=-1;if(super(t,n),xl(this,"space",i),typeof r=="number")for(;++u<vs.length;){const a=vs[u];xl(this,vs[u],(r&Is[a])===Is[a])}}};Ls.prototype.defined=!0;function xl(e,t,n){n&&(e[t]=n)}s(xl,"mark$1");function mn(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const u=new Ls(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(u.mustUseProperty=!0),t[r]=u,n[rr(r)]=r,n[rr(u.attribute)]=r}return new nr(t,n,e.space)}s(mn,"create$3");const Il=mn({properties:{ariaActiveDescendant:null,ariaAtomic:Ae,ariaAutoComplete:null,ariaBusy:Ae,ariaChecked:Ae,ariaColCount:H,ariaColIndex:H,ariaColSpan:H,ariaControls:le,ariaCurrent:null,ariaDescribedBy:le,ariaDetails:null,ariaDisabled:Ae,ariaDropEffect:le,ariaErrorMessage:null,ariaExpanded:Ae,ariaFlowTo:le,ariaGrabbed:Ae,ariaHasPopup:null,ariaHidden:Ae,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:le,ariaLevel:H,ariaLive:null,ariaModal:Ae,ariaMultiLine:Ae,ariaMultiSelectable:Ae,ariaOrientation:null,ariaOwns:le,ariaPlaceholder:null,ariaPosInSet:H,ariaPressed:Ae,ariaReadOnly:Ae,ariaRelevant:null,ariaRequired:Ae,ariaRoleDescription:le,ariaRowCount:H,ariaRowIndex:H,ariaRowSpan:H,ariaSelected:Ae,ariaSetSize:H,ariaSort:null,ariaValueMax:H,ariaValueMin:H,ariaValueNow:H,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function vl(e,t){return t in e?e[t]:t}s(vl,"caseSensitiveTransform$1");function Ll(e,t){return vl(e,t.toLowerCase())}s(Ll,"caseInsensitiveTransform$1");const K2=mn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pn,acceptCharset:le,accessKey:le,action:null,allow:null,allowFullScreen:X,allowPaymentRequest:X,allowUserMedia:X,alt:null,as:null,async:X,autoCapitalize:null,autoComplete:le,autoFocus:X,autoPlay:X,blocking:le,capture:null,charSet:null,checked:X,cite:null,className:le,cols:H,colSpan:null,content:null,contentEditable:Ae,controls:X,controlsList:le,coords:H|pn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:X,defer:X,dir:null,dirName:null,disabled:X,download:xs,draggable:Ae,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:X,formTarget:null,headers:le,height:H,hidden:xs,high:H,href:null,hrefLang:null,htmlFor:le,httpEquiv:le,id:null,imageSizes:null,imageSrcSet:null,inert:X,inputMode:null,integrity:null,is:null,isMap:X,itemId:null,itemProp:le,itemRef:le,itemScope:X,itemType:le,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:X,low:H,manifest:null,max:null,maxLength:H,media:null,method:null,min:null,minLength:H,multiple:X,muted:X,name:null,nonce:null,noModule:X,noValidate:X,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:X,optimum:H,pattern:null,ping:le,placeholder:null,playsInline:X,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:X,referrerPolicy:null,rel:le,required:X,reversed:X,rows:H,rowSpan:H,sandbox:le,scope:null,scoped:X,seamless:X,selected:X,shadowRootClonable:X,shadowRootDelegatesFocus:X,shadowRootMode:null,shape:null,size:H,sizes:null,slot:null,span:H,spellCheck:Ae,src:null,srcDoc:null,srcLang:null,srcSet:null,start:H,step:null,style:null,tabIndex:H,target:null,title:null,translate:null,type:null,typeMustMatch:X,useMap:null,value:Ae,width:H,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:le,axis:null,background:null,bgColor:null,border:H,borderColor:null,bottomMargin:H,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:X,declare:X,event:null,face:null,frame:null,frameBorder:null,hSpace:H,leftMargin:H,link:null,longDesc:null,lowSrc:null,marginHeight:H,marginWidth:H,noResize:X,noHref:X,noShade:X,noWrap:X,object:null,profile:null,prompt:null,rev:null,rightMargin:H,rules:null,scheme:null,scrolling:Ae,standby:null,summary:null,text:null,topMargin:H,valueType:null,version:null,vAlign:null,vLink:null,vSpace:H,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:X,disableRemotePlayback:X,prefix:null,property:null,results:H,security:null,unselectable:null},space:"html",transform:Ll}),Q2=mn({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"},properties:{about:Ye,accentHeight:H,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:H,amplitude:H,arabicForm:null,ascent:H,attributeName:null,attributeType:null,azimuth:H,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:H,by:null,calcMode:null,capHeight:H,className:le,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:H,diffuseConstant:H,direction:null,display:null,dur:null,divisor:H,dominantBaseline:null,download:X,dx:null,dy:null,edgeMode:null,editable:null,elevation:H,enableBackground:null,end:null,event:null,exponent:H,externalResourcesRequired:null,fill:null,fillOpacity:H,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:pn,g2:pn,glyphName:pn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:H,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:H,horizOriginX:H,horizOriginY:H,id:null,ideographic:H,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:H,k:H,k1:H,k2:H,k3:H,k4:H,kernelMatrix:Ye,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:H,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:H,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:H,overlineThickness:H,paintOrder:null,panose1:null,path:null,pathLength:H,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:le,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:H,pointsAtY:H,pointsAtZ:H,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ye,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ye,rev:Ye,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ye,requiredFeatures:Ye,requiredFonts:Ye,requiredFormats:Ye,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:H,specularExponent:H,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:H,strikethroughThickness:H,string:null,stroke:null,strokeDashArray:Ye,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:H,strokeOpacity:H,strokeWidth:null,style:null,surfaceScale:H,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ye,tabIndex:H,tableValues:null,target:null,targetX:H,targetY:H,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ye,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:H,underlineThickness:H,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:H,values:null,vAlphabetic:H,vMathematical:H,vectorEffect:null,vHanging:H,vIdeographic:H,version:null,vertAdvY:H,vertOriginX:H,vertOriginY:H,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:H,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:vl}),Ol=mn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Rl=mn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ll}),Pl=mn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),X2=/[A-Z]/g,Ml=/-[a-z]/g,J2=/^data[-\w.:]+$/i;function Os(e,t){const n=rr(t);let r=t,i=Re;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&J2.test(t)){if(t.charAt(4)==="-"){const u=t.slice(5).replace(Ml,eA);r="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=t.slice(4);if(!Ml.test(u)){let a=u.replace(X2,Z2);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=Ls}return new i(r,t)}s(Os,"find$1");function Z2(e){return"-"+e.toLowerCase()}s(Z2,"kebab$1");function eA(e){return e.charAt(1).toUpperCase()}s(eA,"camelcase$1");const ti=Nl([Il,K2,Ol,Rl,Pl],"html"),ir=Nl([Il,Q2,Ol,Rl,Pl],"svg"),Ul={}.hasOwnProperty;function Rs(e,t){const n=t||{};function r(i,...u){let a=r.invalid;const o=r.handlers;if(i&&Ul.call(i,e)){const l=String(i[e]);a=Ul.call(o,l)?o[l]:r.unknown}if(a)return a.call(this,i,...u)}return s(r,"one"),r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}s(Rs,"zwitch");const tA=/["&'<>`]/g,nA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rA=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,iA=/[|\\{}()[\]^$+*?.]/g,Hl=new WeakMap;function sA(e,t){if(e=e.replace(t.subset?uA(t.subset):tA,r),t.subset||t.escapeOnly)return e;return e.replace(nA,n).replace(rA,r);function n(i,u,a){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,a.charCodeAt(u+2),t)}function r(i,u,a){return t.format(i.charCodeAt(0),a.charCodeAt(u+1),t)}}s(sA,"core");function uA(e){let t=Hl.get(e);return t||(t=aA(e),Hl.set(e,t)),t}s(uA,"charactersToExpressionCached");function aA(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(iA,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}s(aA,"charactersToExpression");const oA=/[\dA-Fa-f]/;function lA(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!oA.test(String.fromCharCode(t))?r:r+";"}s(lA,"toHexadecimal");const cA=/\d/;function hA(e,t,n){const r="&#"+String(e);return n&&t&&!cA.test(String.fromCharCode(t))?r:r+";"}s(hA,"toDecimal");const fA=["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"],Ps={nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203E",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203A",euro:"\u20AC"},dA=["cent","copy","divide","gt","lt","not","para","times"],$l={}.hasOwnProperty,Ms={};let ni;for(ni in Ps)$l.call(Ps,ni)&&(Ms[Ps[ni]]=ni);const pA=/[^\dA-Za-z]/;function mA(e,t,n,r){const i=String.fromCharCode(e);if($l.call(Ms,i)){const u=Ms[i],a="&"+u;return n&&fA.includes(u)&&!dA.includes(u)&&(!r||t&&t!==61&&pA.test(String.fromCharCode(t)))?a:a+";"}return""}s(mA,"toNamed");function gA(e,t,n){let r=lA(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=mA(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const u=hA(e,t,n.omitOptionalSemicolons);u.length<r.length&&(r=u)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}s(gA,"formatSmart");function gn(e,t){return sA(e,Object.assign({format:gA},t))}s(gn,"stringifyEntities");const EA=/^>|^->|<!--|-->|--!>|<!-$/g,AA=[">"],DA=["<",">"];function CA(e,t,n,r){return r.settings.bogusComments?"<?"+gn(e.value,Object.assign({},r.settings.characterReferences,{subset:AA}))+">":"<!--"+e.value.replace(EA,i)+"-->";function i(u){return gn(u,Object.assign({},r.settings.characterReferences,{subset:DA}))}}s(CA,"comment$2");function yA(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}s(yA,"doctype$2");function ri(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}s(ri,"ccount");function ql(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,u=!1;for(;!u;){r===-1&&(r=n.length,u=!0);const a=n.slice(i,r).trim();(a||!u)&&t.push(a),i=r+1,r=n.indexOf(",",i)}return t}s(ql,"parse$3");function zl(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}s(zl,"stringify$4");function Yl(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}s(Yl,"parse$2");function jl(e){return e.join(" ").trim()}s(jl,"stringify$3");const TA=/[ \t\n\f\r]/g;function $t(e){return typeof e=="object"?e.type==="text"?Gl(e.value):!1:Gl(e)}s($t,"whitespace");function Gl(e){return e.replace(TA,"")===""}s(Gl,"empty$1");const ye=Wl(1),Vl=Wl(-1),bA=[];function Wl(e){return t;function t(n,r,i){const u=n?n.children:bA;let a=(r||0)+e,o=u[a];if(!i)for(;o&&$t(o);)a+=e,o=u[a];return o}}s(Wl,"siblings");const kA={}.hasOwnProperty;function Kl(e){return t;function t(n,r,i){return kA.call(e,n.tagName)&&e[n.tagName](n,r,i)}}s(Kl,"omission");const Us=Kl({body:_A,caption:Hs,colgroup:Hs,dd:NA,dt:FA,head:Hs,html:SA,li:wA,optgroup:xA,option:IA,p:BA,rp:Ql,rt:Ql,tbody:LA,td:Xl,tfoot:OA,th:Xl,thead:vA,tr:RA});function Hs(e,t,n){const r=ye(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&$t(r.value.charAt(0)))}s(Hs,"headOrColgroupOrCaption");function SA(e,t,n){const r=ye(n,t);return!r||r.type!=="comment"}s(SA,"html$5");function _A(e,t,n){const r=ye(n,t);return!r||r.type!=="comment"}s(_A,"body$1");function BA(e,t,n){const r=ye(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"))}s(BA,"p$1");function wA(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&r.tagName==="li"}s(wA,"li");function FA(e,t,n){const r=ye(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}s(FA,"dt");function NA(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}s(NA,"dd");function Ql(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}s(Ql,"rubyElement");function xA(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}s(xA,"optgroup");function IA(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}s(IA,"option");function vA(e,t,n){const r=ye(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}s(vA,"thead");function LA(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}s(LA,"tbody$1");function OA(e,t,n){return!ye(n,t)}s(OA,"tfoot");function RA(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&r.tagName==="tr"}s(RA,"tr");function Xl(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}s(Xl,"cells");const PA=Kl({body:HA,colgroup:$A,head:UA,html:MA,tbody:qA});function MA(e){const t=ye(e,-1);return!t||t.type!=="comment"}s(MA,"html$4");function UA(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}s(UA,"head");function HA(e){const t=ye(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&$t(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}s(HA,"body");function $A(e,t,n){const r=Vl(n,t),i=ye(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Us(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}s($A,"colgroup");function qA(e,t,n){const r=Vl(n,t),i=ye(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Us(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}s(qA,"tbody");const ii={name:[[`
|
|
1
|
+
var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0});import bm from"process";import km from"rehype-parse";import"node:path";import{webcrypto as Qo}from"node:crypto";const Bt={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};Bt.defaultMerge;function Sm(e,t){return t}s(Sm,"defaultMetaDataUpdater");function _m(e,t){return e.filter(n=>n!==void 0)}s(_m,"defaultFilterValues");var Xo;(function(e){e[e.NOT=0]="NOT",e[e.RECORD=1]="RECORD",e[e.ARRAY=2]="ARRAY",e[e.SET=3]="SET",e[e.MAP=4]="MAP",e[e.OTHER=5]="OTHER"})(Xo||(Xo={}));function Jo(e){return typeof e!="object"||e===null?0:Array.isArray(e)?2:Fm(e)?1:e instanceof Set?3:e instanceof Map?4:5}s(Jo,"getObjectType");function Bm(e){const t=new Set;for(const n of e)for(const r of[...Object.keys(n),...Object.getOwnPropertySymbols(n)])t.add(r);return t}s(Bm,"getKeys");function wm(e,t){return typeof e=="object"&&Object.prototype.propertyIsEnumerable.call(e,t)}s(wm,"objectHasProperty");function Zo(e){let t=0,n=e[0]?.[Symbol.iterator]();return{[Symbol.iterator](){return{next(){do{if(n===void 0)return{done:!0,value:void 0};const r=n.next();if(r.done===!0){t+=1,n=e[t]?.[Symbol.iterator]();continue}return{done:!1,value:r.value}}while(!0)}}}}}s(Zo,"getIterableOfIterables");const el=["[object Object]","[object Module]"];function Fm(e){if(!el.includes(Object.prototype.toString.call(e)))return!1;const{constructor:t}=e;if(t===void 0)return!0;const n=t.prototype;return!(n===null||typeof n!="object"||!el.includes(Object.prototype.toString.call(n))||!n.hasOwnProperty("isPrototypeOf"))}s(Fm,"isRecord");function Nm(e,t,n){const r={};for(const i of Bm(e)){const u=[];for(const l of e)wm(l,i)&&u.push(l[i]);if(u.length===0)continue;const a=t.metaDataUpdater(n,{key:i,parents:e}),o=tl(u,t,a);o!==Bt.skip&&(i==="__proto__"?Object.defineProperty(r,i,{value:o,configurable:!0,enumerable:!0,writable:!0}):r[i]=o)}return r}s(Nm,"mergeRecords$1");function xm(e){return e.flat()}s(xm,"mergeArrays$1");function Im(e){return new Set(Zo(e))}s(Im,"mergeSets$1");function vm(e){return new Map(Zo(e))}s(vm,"mergeMaps$1");function Lm(e){return e.at(-1)}s(Lm,"mergeOthers$1");const Gr={mergeRecords:Nm,mergeArrays:xm,mergeSets:Im,mergeMaps:vm,mergeOthers:Lm};function Oe(...e){return Om({})(...e)}s(Oe,"deepmerge");function Om(e,t){const n=Rm(e,r);function r(...i){return tl(i,n,t)}return s(r,"customizedDeepmerge"),r}s(Om,"deepmergeCustom");function Rm(e,t){return{defaultMergeFunctions:Gr,mergeFunctions:{...Gr,...Object.fromEntries(Object.entries(e).filter(([n,r])=>Object.hasOwn(Gr,n)).map(([n,r])=>r===!1?[n,Gr.mergeOthers]:[n,r]))},metaDataUpdater:e.metaDataUpdater??Sm,deepmerge:t,useImplicitDefaultMerging:e.enableImplicitDefaultMerging??!1,filterValues:e.filterValues===!1?void 0:e.filterValues??_m,actions:Bt}}s(Rm,"getUtils");function tl(e,t,n){const r=t.filterValues?.(e,n)??e;if(r.length===0)return;if(r.length===1)return Es(r,t,n);const i=Jo(r[0]);if(i!==0&&i!==5){for(let u=1;u<r.length;u++)if(Jo(r[u])!==i)return Es(r,t,n)}switch(i){case 1:return Pm(r,t,n);case 2:return Mm(r,t,n);case 3:return Um(r,t,n);case 4:return Hm(r,t,n);default:return Es(r,t,n)}}s(tl,"mergeUnknowns");function Pm(e,t,n){const r=t.mergeFunctions.mergeRecords(e,t,n);return r===Bt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeRecords!==t.defaultMergeFunctions.mergeRecords?t.defaultMergeFunctions.mergeRecords(e,t,n):r}s(Pm,"mergeRecords");function Mm(e,t,n){const r=t.mergeFunctions.mergeArrays(e,t,n);return r===Bt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeArrays!==t.defaultMergeFunctions.mergeArrays?t.defaultMergeFunctions.mergeArrays(e):r}s(Mm,"mergeArrays");function Um(e,t,n){const r=t.mergeFunctions.mergeSets(e,t,n);return r===Bt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeSets!==t.defaultMergeFunctions.mergeSets?t.defaultMergeFunctions.mergeSets(e):r}s(Um,"mergeSets");function Hm(e,t,n){const r=t.mergeFunctions.mergeMaps(e,t,n);return r===Bt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeMaps!==t.defaultMergeFunctions.mergeMaps?t.defaultMergeFunctions.mergeMaps(e):r}s(Hm,"mergeMaps");function Es(e,t,n){const r=t.mergeFunctions.mergeOthers(e,t,n);return r===Bt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeOthers!==t.defaultMergeFunctions.mergeOthers?t.defaultMergeFunctions.mergeOthers(e):r}s(Es,"mergeOthers");function Wn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}s(Wn,"getDefaultExportFromCjs");var $m="addenda",qm="aircraft",zm="algae",jm="alumnae",Ym="alumni",Gm="alveoli",Vm="amoebae",Wm="analyses",Km="antennae",Qm="antitheses",Xm="apices",Jm="appendices",Zm="automata",e1="axes",t1="bacilli",n1="bacteria",r1="bacula",i1="barracks",s1="bases",u1="beaux",a1="bison",o1="buffalo",l1="bureaus",c1="cacti",h1="calves",f1="carcinomata",d1="carp",p1="censuses",m1="chassis",g1="cherubim",E1="children",A1="cloacae",D1="cod",C1="codices",y1="concerti",T1="consortia",b1="corpora",k1="crises",S1="criteria",_1="curricula",B1="cystomata",w1="data",F1="deer",N1="diagnoses",x1="dice",I1="dwarfs",v1="echoes",L1="elves",O1="elk",R1="ellipses",P1="embargoes",M1="emphases",U1="errata",H1="fezes",$1="firmware",q1="fish",z1="foci",j1="feet",Y1="formulae",G1="fungi",V1="gallows",W1="genera",K1="glomeruli",Q1="geese",X1="graffiti",J1="grouse",Z1="halves",eg="hamuli",tg="heroes",ng="hippopotami",rg="hooves",ig="hovercraft",sg="hypotheses",ug="ilia",ag="incubi",og="indices",lg="interstitia",cg="kakapo",hg="knives",fg="larvae",dg="leaves",pg="libretti",mg="lives",gg="loaves",Eg="loculi",Ag="loci",Dg="lice",Cg="men",yg="matrices",Tg="means",bg="measles",kg="media",Sg="media",_g="memoranda",Bg="millennia",wg="minutiae",Fg="moose",Ng="mice",xg="nebulae",Ig="nemeses",vg="neuroses",Lg="news",Og="nucleoli",Rg="nuclei",Pg="oases",Mg="occipita",Ug="offspring",Hg="omphaloi",$g="opera",qg="ova",zg="oxen",jg="paralyses",Yg="parentheses",Gg="people",Vg="phenomena",Wg="phyla",Kg="pike",Qg="polyhedra",Xg="potatoes",Jg="primi",Zg="prognoses",eE="quizzes",tE="radii",nE="referenda",rE="salmon",iE="scarves",sE="scrota",uE="selves",aE="seminomata",oE="series",lE="sheep",cE="shelves",hE="shrimp",fE="simulacra",dE="soliloquies",pE="spacecraft",mE="species",gE="spectra",EE="squid",AE="stimuli",DE="strata",CE="swine",yE="syconia",TE="syllabi",bE="symposia",kE="synopses",SE="syntheses",_E="tableaus",BE="testes",wE="those",FE="theses",NE="thieves",xE="thrombi",IE="tomatoes",vE="teeth",LE="tori",OE="trout",RE="tuna",PE="umbilici",ME="uteri",UE="vertebrae",HE="vertices",$E="vetoes",qE="vitae",zE="vortices",jE="watercraft",YE="wharves",GE="wives",VE="wolves",WE="women",KE={addendum:$m,aircraft:qm,alga:zm,alumna:jm,alumnus:Ym,alveolus:Gm,amoeba:Vm,analysis:Wm,antenna:Km,antithesis:Qm,apex:Xm,appendix:Jm,automaton:Zm,axis:e1,bacillus:t1,bacterium:n1,baculum:r1,barracks:i1,basis:s1,beau:u1,bison:a1,buffalo:o1,bureau:l1,cactus:c1,calf:h1,carcinoma:f1,carp:d1,census:p1,chassis:m1,cherub:g1,child:E1,ch\u00E2teau:"ch\xE2teaus",cloaca:A1,cod:D1,codex:C1,concerto:y1,consortium:T1,corpus:b1,crisis:k1,criterion:S1,curriculum:_1,cystoma:B1,datum:w1,deer:F1,diagnosis:N1,die:x1,dwarf:I1,echo:v1,elf:L1,elk:O1,ellipsis:R1,embargo:P1,emphasis:M1,erratum:U1,"faux pas":"faux pas",fez:H1,firmware:$1,fish:q1,focus:z1,foot:j1,formula:Y1,fungus:G1,gallows:V1,genus:W1,glomerulus:K1,goose:Q1,graffito:X1,grouse:J1,half:Z1,hamulus:eg,hero:tg,hippopotamus:ng,hoof:rg,hovercraft:ig,hypothesis:sg,iliac:ug,incubus:ag,index:og,interstitium:lg,kakapo:cg,knife:hg,larva:fg,leaf:dg,libretto:pg,life:mg,loaf:gg,loculus:Eg,locus:Ag,louse:Dg,man:Cg,matrix:yg,means:Tg,measles:bg,media:kg,medium:Sg,memorandum:_g,millennium:Bg,minutia:wg,moose:Fg,mouse:Ng,nebula:xg,nemesis:Ig,neurosis:vg,news:Lg,nucleolus:Og,nucleus:Rg,oasis:Pg,occiput:Mg,offspring:Ug,omphalos:Hg,opus:$g,ovum:qg,ox:zg,paralysis:jg,parenthesis:Yg,person:Gg,phenomenon:Vg,phylum:Wg,pike:Kg,polyhedron:Qg,potato:Xg,primus:Jg,prognosis:Zg,quiz:eE,radius:tE,referendum:nE,salmon:rE,scarf:iE,scrotum:sE,self:uE,seminoma:aE,series:oE,sheep:lE,shelf:cE,shrimp:hE,simulacrum:fE,soliloquy:dE,spacecraft:pE,species:mE,spectrum:gE,squid:EE,stimulus:AE,stratum:DE,swine:CE,syconium:yE,syllabus:TE,symposium:bE,synopsis:kE,synthesis:SE,tableau:_E,testis:BE,that:wE,thesis:FE,thief:NE,this:"these",thrombus:xE,tomato:IE,tooth:vE,torus:LE,trout:OE,tuna:RE,umbilicus:PE,uterus:ME,vertebra:UE,vertex:HE,veto:$E,vita:qE,vortex:zE,watercraft:jE,wharf:YE,wife:GE,wolf:VE,woman:WE},As,nl;function QE(){if(nl)return As;nl=1;const e=KE;return As=new Map(Object.entries(e)),As}s(QE,"requireIrregularPlurals");var XE=QE(),rl=Wn(XE);function fn(e,t,n){if(typeof t=="number"&&(n=t),rl.has(e.toLowerCase())){t=rl.get(e.toLowerCase());const r=e.charAt(0);r===r.toUpperCase()&&(t=r+t.slice(1)),e===e.toUpperCase()&&(t=t.toUpperCase())}else typeof t!="string"&&(t=(e.replace(/(?:s|x|z|ch|sh)$/i,"$&e").replace(/([^aeiou])y$/i,"$1ie")+"s").replace(/i?e?s$/i,r=>e.slice(-1)===e.slice(-1).toLowerCase()?r.toLowerCase():r.toUpperCase()));return Math.abs(n)===1?e:t}s(fn,"plur");const il=s(e=>Number.isFinite(e)?e:0,"toZeroIfInfinity");function JE(e){return{days:Math.trunc(e/864e5),hours:Math.trunc(e/36e5%24),minutes:Math.trunc(e/6e4%60),seconds:Math.trunc(e/1e3%60),milliseconds:Math.trunc(e%1e3),microseconds:Math.trunc(il(e*1e3)%1e3),nanoseconds:Math.trunc(il(e*1e6)%1e3)}}s(JE,"parseNumber");function ZE(e){return{days:e/86400000n,hours:e/3600000n%24n,minutes:e/60000n%60n,seconds:e/1000n%60n,milliseconds:e%1000n,microseconds:0n,nanoseconds:0n}}s(ZE,"parseBigint");function e2(e){switch(typeof e){case"number":{if(Number.isFinite(e))return JE(e);break}case"bigint":return ZE(e)}throw new TypeError("Expected a finite number or bigint")}s(e2,"parseMilliseconds");const t2=s(e=>e===0||e===0n,"isZero"),n2=s((e,t)=>t===1||t===1n?e:`${e}s`,"pluralize"),r2=1e-7,i2=24n*60n*60n*1000n;function Ds(e,t){const n=typeof e=="bigint";if(!n&&!Number.isFinite(e))throw new TypeError("Expected a finite number or bigint");t={...t};const r=e<0?"-":"";e=e<0?-e:e,t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.unitCount=1,t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);let i=[];const u=s((f,h)=>{const m=Math.floor(f*10**h+r2);return(Math.round(m)/10**h).toFixed(h)},"floorDecimals"),a=s((f,h,m,p)=>{if(!((i.length===0||!t.colonNotation)&&t2(f)&&!(t.colonNotation&&m==="m"))){if(p??=String(f),t.colonNotation){const g=p.includes(".")?p.split(".")[0].length:p.length,E=i.length>0?2:1;p="0".repeat(Math.max(0,E-g))+p}else p+=t.verbose?" "+n2(h,f):m;i.push(p)}},"add"),o=e2(e),l=BigInt(o.days);if(t.hideYearAndDays?a(BigInt(l)*24n+BigInt(o.hours),"hour","h"):(t.hideYear?a(l,"day","d"):(a(l/365n,"year","y"),a(l%365n,"day","d")),a(Number(o.hours),"hour","h")),a(Number(o.minutes),"minute","m"),!t.hideSeconds)if(t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3&&!t.subSecondsAsDecimals){const f=Number(o.seconds),h=Number(o.milliseconds),m=Number(o.microseconds),p=Number(o.nanoseconds);if(a(f,"second","s"),t.formatSubMilliseconds)a(h,"millisecond","ms"),a(m,"microsecond","\xB5s"),a(p,"nanosecond","ns");else{const g=h+m/1e3+p/1e6,E=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,A=g>=1?Math.round(g):Math.ceil(g),D=E?g.toFixed(E):A;a(Number.parseFloat(D),"millisecond","ms",D)}}else{const f=(n?Number(e%i2):e)/1e3%60,h=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,m=u(f,h),p=t.keepDecimalsOnWholeSeconds?m:m.replace(/\.0+$/,"");a(Number.parseFloat(p),"second","s",p)}if(i.length===0)return r+"0"+(t.verbose?" milliseconds":"ms");const c=t.colonNotation?":":" ";return typeof t.unitCount=="number"&&(i=i.slice(0,Math.max(t.unitCount,1))),r+i.join(c)}s(Ds,"prettyMilliseconds");var s2=Object.defineProperty,sl=s((e,t)=>s2(e,"name",{value:t,configurable:!0}),"a");const Vr=typeof window>"u"?typeof process>"u"?"other":"node":"browser",ul=Vr==="browser"?/windows/i.test(navigator.userAgent)?"windows":/mac/i.test(navigator.userAgent)?"mac":"other":Vr==="node"?process.platform==="win32"?"windows":process.platform==="darwin"?"mac":"other":"other";let Cs=0;const u2=5e3;let al=0;const a2=100;async function ys(){if(ul==="mac"&&Vr==="node"){const{openApp:e}=await import("./index-Dsl0rabV.js");if(al>=a2){console.warn("Too many Anki App launch attempts this session, ignoring");return}(Cs===0||Date.now()-Cs>u2)&&(console.warn("Attempting to launch Anki app"),Cs=Date.now(),al++,await e("/Applications/Anki.app",{background:!0,newInstance:!1,wait:!1}))}else console.warn("Automatic Anki App launch is only supported on Mac OS in Node.js environment")}s(ys,"h$1"),sl(ys,"launchAnkiApp");const wt={autoLaunch:!1,fetchAdapter:fetch.bind(globalThis),host:"http://127.0.0.1",key:void 0,port:8765,version:6};class Kn{static{s(this,"f")}static{sl(this,"YankiConnect")}card={answerCards:this.build("answerCards"),areDue:this.build("areDue"),areSuspended:this.build("areSuspended"),cardsInfo:this.build("cardsInfo"),cardsModTime:this.build("cardsModTime"),cardsToNotes:this.build("cardsToNotes"),findCards:this.build("findCards"),forgetCards:this.build("forgetCards"),getEaseFactors:this.build("getEaseFactors"),getIntervals:this.build("getIntervals"),relearnCards:this.build("relearnCards"),setDueDate:this.build("setDueDate"),setEaseFactors:this.build("setEaseFactors"),setSpecificValueOfCard:this.build("setSpecificValueOfCard"),suspend:this.build("suspend"),suspended:this.build("suspended"),unsuspend:this.build("unsuspend")};deck={changeDeck:this.build("changeDeck"),cloneDeckConfigId:this.build("cloneDeckConfigId"),createDeck:this.build("createDeck"),deckNames:this.build("deckNames"),deckNamesAndIds:this.build("deckNamesAndIds"),deleteDecks:this.build("deleteDecks"),getDeckConfig:this.build("getDeckConfig"),getDecks:this.build("getDecks"),getDeckStats:this.build("getDeckStats"),removeDeckConfigId:this.build("removeDeckConfigId"),saveDeckConfig:this.build("saveDeckConfig"),setDeckConfigId:this.build("setDeckConfigId")};graphical={guiAddCards:this.build("guiAddCards"),guiAnswerCard:this.build("guiAnswerCard"),guiBrowse:this.build("guiBrowse"),guiCheckDatabase:this.build("guiCheckDatabase"),guiCurrentCard:this.build("guiCurrentCard"),guiDeckBrowser:this.build("guiDeckBrowser"),guiDeckOverview:this.build("guiDeckOverview"),guiDeckReview:this.build("guiDeckReview"),guiEditNote:this.build("guiEditNote"),guiExitAnki:this.build("guiExitAnki"),guiImportFile:this.build("guiImportFile"),guiSelectCard:this.build("guiSelectCard"),guiSelectedNotes:this.build("guiSelectedNotes"),guiSelectNote:this.build("guiSelectNote"),guiShowAnswer:this.build("guiShowAnswer"),guiShowQuestion:this.build("guiShowQuestion"),guiStartCardTimer:this.build("guiStartCardTimer"),guiUndo:this.build("guiUndo")};media={deleteMediaFile:this.build("deleteMediaFile"),getMediaDirPath:this.build("getMediaDirPath"),getMediaFilesNames:this.build("getMediaFilesNames"),retrieveMediaFile:this.build("retrieveMediaFile"),storeMediaFile:this.build("storeMediaFile")};miscellaneous={apiReflect:this.build("apiReflect"),exportPackage:this.build("exportPackage"),getActiveProfile:this.build("getActiveProfile"),getProfiles:this.build("getProfiles"),importPackage:this.build("importPackage"),loadProfile:this.build("loadProfile"),multi:this.build("multi"),reloadCollection:this.build("reloadCollection"),requestPermission:this.build("requestPermission"),sync:this.build("sync"),version:this.build("version")};model={createModel:this.build("createModel"),findAndReplaceInModels:this.build("findAndReplaceInModels"),findModelsById:this.build("findModelsById"),findModelsByName:this.build("findModelsByName"),modelFieldAdd:this.build("modelFieldAdd"),modelFieldDescriptions:this.build("modelFieldDescriptions"),modelFieldFonts:this.build("modelFieldFonts"),modelFieldNames:this.build("modelFieldNames"),modelFieldRemove:this.build("modelFieldRemove"),modelFieldRename:this.build("modelFieldRename"),modelFieldReposition:this.build("modelFieldReposition"),modelFieldSetDescription:this.build("modelFieldSetDescription"),modelFieldSetFont:this.build("modelFieldSetFont"),modelFieldSetFontSize:this.build("modelFieldSetFontSize"),modelFieldsOnTemplates:this.build("modelFieldsOnTemplates"),modelNames:this.build("modelNames"),modelNamesAndIds:this.build("modelNamesAndIds"),modelStyling:this.build("modelStyling"),modelTemplateAdd:this.build("modelTemplateAdd"),modelTemplateRemove:this.build("modelTemplateRemove"),modelTemplateRename:this.build("modelTemplateRename"),modelTemplateReposition:this.build("modelTemplateReposition"),modelTemplates:this.build("modelTemplates"),updateModelStyling:this.build("updateModelStyling"),updateModelTemplates:this.build("updateModelTemplates")};note={addNote:this.build("addNote"),addNotes:this.build("addNotes"),addTags:this.build("addTags"),canAddNotes:this.build("canAddNotes"),canAddNotesWithErrorDetail:this.build("canAddNotesWithErrorDetail"),clearUnusedTags:this.build("clearUnusedTags"),deleteNotes:this.build("deleteNotes"),findNotes:this.build("findNotes"),getNoteTags:this.build("getNoteTags"),getTags:this.build("getTags"),notesInfo:this.build("notesInfo"),notesModTime:this.build("notesInfo"),removeEmptyNotes:this.build("removeEmptyNotes"),removeTags:this.build("removeTags"),replaceTags:this.build("replaceTags"),replaceTagsInAllNotes:this.build("replaceTagsInAllNotes"),updateNote:this.build("updateNote"),updateNoteFields:this.build("updateNoteFields"),updateNoteModel:this.build("updateNoteModel"),updateNoteTags:this.build("updateNoteTags")};statistic={cardReviews:this.build("cardReviews"),getCollectionStatsHTML:this.build("getCollectionStatsHTML"),getLatestReviewID:this.build("getLatestReviewID"),getNumCardsReviewedByDay:this.build("getNumCardsReviewedByDay"),getNumCardsReviewedToday:this.build("getNumCardsReviewedToday"),getReviewsOfCards:this.build("getReviewsOfCards"),insertReviews:this.build("insertReviews")};autoLaunch;fetchAdapter;host;key;port;version;constructor(t){if(this.host=t?.host??wt.host,this.port=t?.port??wt.port,this.version=t?.version??wt.version,this.key=t?.key??wt.key,this.autoLaunch=t?.autoLaunch??wt.autoLaunch,wt.fetchAdapter===void 0)throw new Error("A fetch implementation is required");if(this.fetchAdapter=t?.fetchAdapter??wt.fetchAdapter,(ul!=="mac"||Vr!=="node")&&this.autoLaunch!==!1&&(console.warn("The autoLaunch option is only supported in a Node environment on macOS"),this.autoLaunch=!1),this.version!==6)throw new Error("YankiConnect currently only supports Anki-Connect API version 6");this.autoLaunch==="immediately"&&ys()}async invoke(t,n){let r,i;try{if(r=await this.fetchAdapter(`${this.host}:${this.port}`,{body:JSON.stringify({action:t,...this.key===void 0?{}:{key:this.key},params:n,version:this.version}),headers:{"Access-Control-Allow-Origin":"*","Content-Type":"application/json"},method:"POST",mode:"cors"}),r===void 0)throw new Error("Anki-Connect response is undefined");if(r.status!==200)throw new Error(`Anki-Connect response status is ${r.status}`);if(i=await r.json(),this.autoLaunch!==!1&&i.error==="collection is not available")throw new Error(i.error)}catch(u){if(this.autoLaunch!==!1)return console.warn("Can't connect to Anki app, retrying with auto-launch..."),await ys(),await new Promise(a=>{setTimeout(a,500)}),n===void 0?this.invoke(t):this.invoke(t,n);throw u}if(!("error"in i))throw new Error("response is missing required error field");if(!("result"in i))throw new Error("response is missing required result field");return i}build(t){return async n=>{const r=await this.invoke(t,n);if(r.error!==null)throw new Error(r.error);return r.result}}}let Ee=class extends Error{static{s(this,"ShikiError")}constructor(t){super(t),this.name="ShikiError"}};function o2(e){return Ts(e)}s(o2,"clone");function Ts(e){return Array.isArray(e)?l2(e):e instanceof RegExp?e:typeof e=="object"?c2(e):e}s(Ts,"doClone");function l2(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Ts(e[n]);return t}s(l2,"cloneArray");function c2(e){let t={};for(let n in e)t[n]=Ts(e[n]);return t}s(c2,"cloneObj");function ol(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}s(ol,"mergeObjects");function ll(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?ll(e.substring(0,e.length-1)):e.substr(~t+1)}s(ll,"basename$1");var bs=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Wr=class{static{s(this,"RegexSource")}static hasCaptures(e){return e===null?!1:(bs.lastIndex=0,bs.test(e))}static replaceCaptures(e,t,n){return e.replace(bs,(r,i,u,a)=>{let o=n[parseInt(i||u,10)];if(o){let l=t.substring(o.start,o.end);for(;l[0]===".";)l=l.substring(1);switch(a){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function cl(e,t){return e<t?-1:e>t?1:0}s(cl,"strcmp");function hl(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let i=0;i<n;i++){let u=cl(e[i],t[i]);if(u!==0)return u}return 0}return n-r}s(hl,"strArrCmp");function fl(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}s(fl,"isValidHexColor");function dl(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}s(dl,"escapeRegExpCharacters");var pl=class{static{s(this,"CachedFn")}constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},Kr=class{static{s(this,"Theme")}constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(d2(e),t)}static createFromParsedTheme(e,t){return m2(e,t)}_cachedMatchRoot=new pl(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(i=>h2(e.parent,i.parentScopes));return r?new ml(r.fontStyle,r.foreground,r.background):null}},ks=class ms{static{s(this,"_ScopeStack")}constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new ms(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new ms(n,t[r]);return n}push(t){return new ms(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function h2(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],i=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],i=!0}for(;e&&!f2(e.scopeName,r);){if(i)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}s(h2,"_scopePathMatchesParentScopes");function f2(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}s(f2,"_matchesScope");var ml=class{static{s(this,"StyleAttributes")}constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function d2(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let i=0,u=t.length;i<u;i++){let a=t[i];if(!a.settings)continue;let o;if(typeof a.scope=="string"){let h=a.scope;h=h.replace(/^[,]+/,""),h=h.replace(/[,]+$/,""),o=h.split(",")}else Array.isArray(a.scope)?o=a.scope:o=[""];let l=-1;if(typeof a.settings.fontStyle=="string"){l=0;let h=a.settings.fontStyle.split(" ");for(let m=0,p=h.length;m<p;m++)switch(h[m]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof a.settings.foreground=="string"&&fl(a.settings.foreground)&&(c=a.settings.foreground);let f=null;typeof a.settings.background=="string"&&fl(a.settings.background)&&(f=a.settings.background);for(let h=0,m=o.length;h<m;h++){let g=o[h].trim().split(" "),E=g[g.length-1],A=null;g.length>1&&(A=g.slice(0,g.length-1),A.reverse()),n[r++]=new p2(E,A,i,l,c,f)}}return n}s(d2,"parseTheme");var p2=class{static{s(this,"ParsedThemeRule")}constructor(e,t,n,r,i,u){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=i,this.background=u}},we=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(we||{});function m2(e,t){e.sort((l,c)=>{let f=cl(l.scope,c.scope);return f!==0||(f=hl(l.parentScopes,c.parentScopes),f!==0)?f:l.index-c.index});let n=0,r="#000000",i="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(i=l.background)}let u=new g2(t),a=new ml(n,u.getId(r),u.getId(i)),o=new A2(new Ss(0,null,-1,0,0),[]);for(let l=0,c=e.length;l<c;l++){let f=e[l];o.insert(0,f.scope,f.parentScopes,f.fontStyle,u.getId(f.foreground),u.getId(f.background))}return new Kr(u,a,o)}s(m2,"resolveParsedThemeRules");var g2=class{static{s(this,"ColorMap")}_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},E2=Object.freeze([]),Ss=class hm{static{s(this,"_ThemeTrieElementRule")}scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,i,u){this.scopeDepth=t,this.parentScopes=n||E2,this.fontStyle=r,this.foreground=i,this.background=u}clone(){return new hm(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,i=t.length;r<i;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,i){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),i!==0&&(this.background=i)}},A2=class $o{static{s(this,"_ThemeTrieElement")}constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,i=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[i]===">"&&i++,!(r>=t.parentScopes.length||i>=n.parentScopes.length);){const u=n.parentScopes[i].length-t.parentScopes[r].length;if(u!==0)return u;r++,i++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),i,u;if(r===-1?(i=t,u=""):(i=t.substring(0,r),u=t.substring(r+1)),this._children.hasOwnProperty(i))return this._children[i].match(u)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort($o._cmpBySpecificity),n}insert(t,n,r,i,u,a){if(n===""){this._doInsertHere(t,r,i,u,a);return}let o=n.indexOf("."),l,c;o===-1?(l=n,c=""):(l=n.substring(0,o),c=n.substring(o+1));let f;this._children.hasOwnProperty(l)?f=this._children[l]:(f=new $o(this._mainRule.clone(),Ss.cloneArr(this._rulesWithParentScopes)),this._children[l]=f),f.insert(t+1,c,r,i,u,a)}_doInsertHere(t,n,r,i,u){if(n===null){this._mainRule.acceptOverwrite(t,r,i,u);return}for(let a=0,o=this._rulesWithParentScopes.length;a<o;a++){let l=this._rulesWithParentScopes[a];if(hl(l.parentScopes,n)===0){l.acceptOverwrite(t,r,i,u);return}}r===-1&&(r=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),u===0&&(u=this._mainRule.background),this._rulesWithParentScopes.push(new Ss(t,n,r,i,u))}},dn=class et{static{s(this,"_EncodedTokenMetadata")}static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=et.getLanguageId(t),r=et.getTokenType(t),i=et.getFontStyle(t),u=et.getForeground(t),a=et.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:u,background:a})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,i,u,a,o){let l=et.getLanguageId(t),c=et.getTokenType(t),f=et.containsBalancedBrackets(t)?1:0,h=et.getFontStyle(t),m=et.getForeground(t),p=et.getBackground(t);return n!==0&&(l=n),r!==8&&(c=r),i!==null&&(f=i?1:0),u!==-1&&(h=u),a!==0&&(m=a),o!==0&&(p=o),(l<<0|c<<8|f<<10|h<<11|m<<15|p<<24)>>>0}};function jx(e){return e}s(jx,"toOptionalTokenType");function Yx(e){return e}s(Yx,"fromOptionalTokenType");function Qr(e,t){const n=[],r=D2(e);let i=r.next();for(;i!==null;){let l=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let c=a();if(n.push({matcher:c,priority:l}),i!==",")break;i=r.next()}return n;function u(){if(i==="-"){i=r.next();const l=u();return c=>!!l&&!l(c)}if(i==="("){i=r.next();const l=o();return i===")"&&(i=r.next()),l}if(gl(i)){const l=[];do l.push(i),i=r.next();while(gl(i));return c=>t(l,c)}return null}function a(){const l=[];let c=u();for(;c;)l.push(c),c=u();return f=>l.every(h=>h(f))}function o(){const l=[];let c=a();for(;c&&(l.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=a()}return f=>l.some(h=>h(f))}}s(Qr,"createMatchers");function gl(e){return!!e&&!!e.match(/[\w\.:]+/)}s(gl,"isIdentifier");function D2(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:s(()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r},"next")}}s(D2,"newTokenizer");function El(e){typeof e.dispose=="function"&&e.dispose()}s(El,"disposeOnigString");var Qn=class{static{s(this,"TopLevelRuleReference")}constructor(e){this.scopeName=e}toKey(){return this.scopeName}},C2=class{static{s(this,"TopLevelRepositoryRuleReference")}constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},y2=class{static{s(this,"ExternalReferenceCollector")}_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},T2=class{static{s(this,"ScopeDependencyProcessor")}constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Qn(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new y2;for(const n of e)b2(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Qn){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function b2(e,t,n,r){const i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const u=n.lookup(t);e instanceof Qn?Xr({baseGrammar:u,selfGrammar:i},r):_s(e.ruleName,{baseGrammar:u,selfGrammar:i,repository:i.repository},r);const a=n.injections(e.scopeName);if(a)for(const o of a)r.add(new Qn(o))}s(b2,"collectReferencesOfReference");function _s(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Jr([r],t,n)}}s(_s,"collectExternalReferencesInTopLevelRepositoryRule");function Xr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Jr(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Jr(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}s(Xr,"collectExternalReferencesInTopLevelRule");function Jr(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const i=r.repository?ol({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Jr(r.patterns,{...t,repository:i},n);const u=r.include;if(!u)continue;const a=Al(u);switch(a.kind){case 0:Xr({...t,selfGrammar:t.baseGrammar},n);break;case 1:Xr(t,n);break;case 2:_s(a.ruleName,{...t,repository:i},n);break;case 3:case 4:const o=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(o){const l={baseGrammar:t.baseGrammar,selfGrammar:o,repository:i};a.kind===4?_s(a.ruleName,l,n):Xr(l,n)}else a.kind===4?n.add(new C2(a.scopeName,a.ruleName)):n.add(new Qn(a.scopeName));break}}}s(Jr,"collectExternalReferencesInRules");var k2=class{static{s(this,"BaseReference")}kind=0},S2=class{static{s(this,"SelfReference")}kind=1},_2=class{static{s(this,"RelativeReference")}constructor(e){this.ruleName=e}kind=2},B2=class{static{s(this,"TopLevelReference")}constructor(e){this.scopeName=e}kind=3},w2=class{static{s(this,"TopLevelRepositoryReference")}constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function Al(e){if(e==="$base")return new k2;if(e==="$self")return new S2;const t=e.indexOf("#");if(t===-1)return new B2(e);if(t===0)return new _2(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new w2(n,r)}}s(Al,"parseInclude");var F2=/\\(\d+)/,Dl=/\\(\d+)/g,N2=-1,Cl=-2;function Gx(e){return e}s(Gx,"ruleIdFromNumber");function Vx(e){return e}s(Vx,"ruleIdToNumber");var Xn=class{static{s(this,"Rule")}$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Wr.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Wr.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${ll(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Wr.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Wr.replaceCaptures(this._contentName,e,t)}},x2=class extends Xn{static{s(this,"CaptureRule")}retokenizeCapturedWithRuleId;constructor(e,t,n,r,i){super(e,t,n,r),this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},I2=class extends Xn{static{s(this,"MatchRule")}_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,null),this._match=new Jn(r,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Zn,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},yl=class extends Xn{static{s(this,"IncludeOnlyRule")}hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i){super(e,t,n,r),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Zn,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Bs=class extends Xn{static{s(this,"BeginEndRule")}_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,i,u,a,o,l,c){super(e,t,n,r),this._begin=new Jn(i,this.id),this.beginCaptures=u,this._end=new Jn(a||"\uFFFF",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=o,this.applyEndPatternLast=l||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Zn;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Zr=class extends Xn{static{s(this,"BeginWhileRule")}_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,i,u,a,o,l){super(e,t,n,r),this._begin=new Jn(i,this.id),this.beginCaptures=u,this.whileCaptures=o,this._while=new Jn(a,Cl),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Zn;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Zn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"\uFFFF"),this._cachedCompiledWhilePatterns}},Tl=class xe{static{s(this,"_RuleFactory")}static createCaptureRule(t,n,r,i,u){return t.registerRule(a=>new x2(n,a,r,i,u))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new I2(t.$vscodeTextmateLocation,t.id,t.name,t.match,xe._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=ol({},r,t.repository));let u=t.patterns;return typeof u>"u"&&t.include&&(u=[{include:t.include}]),new yl(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,xe._compilePatterns(u,n,r))}return t.while?new Zr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,xe._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,xe._compileCaptures(t.whileCaptures||t.captures,n,r),xe._compilePatterns(t.patterns,n,r)):new Bs(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,xe._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,xe._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,xe._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let u=0;for(const a in t){if(a==="$vscodeTextmateLocation")continue;const o=parseInt(a,10);o>u&&(u=o)}for(let a=0;a<=u;a++)i[a]=null;for(const a in t){if(a==="$vscodeTextmateLocation")continue;const o=parseInt(a,10);let l=0;t[a].patterns&&(l=xe.getCompiledRuleId(t[a],n,r)),i[o]=xe.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,l)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let u=0,a=t.length;u<a;u++){const o=t[u];let l=-1;if(o.include){const c=Al(o.include);switch(c.kind){case 0:case 1:l=xe.getCompiledRuleId(r[o.include],n,r);break;case 2:let f=r[c.ruleName];f&&(l=xe.getCompiledRuleId(f,n,r));break;case 3:case 4:const h=c.scopeName,m=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(h,r);if(p)if(m){let g=p.repository[m];g&&(l=xe.getCompiledRuleId(g,n,p.repository))}else l=xe.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else l=xe.getCompiledRuleId(o,n,r);if(l!==-1){const c=n.getRule(l);let f=!1;if((c instanceof yl||c instanceof Bs||c instanceof Zr)&&c.hasMissingPatterns&&c.patterns.length===0&&(f=!0),f)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},Jn=class fm{static{s(this,"_RegExpSource")}source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t&&typeof t=="string"){const r=t.length;let i=0,u=[],a=!1;for(let o=0;o<r;o++)if(t.charAt(o)==="\\"&&o+1<r){const c=t.charAt(o+1);c==="z"?(u.push(t.substring(i,o)),u.push("$(?!\\n)(?<!\\n)"),i=o+2):(c==="A"||c==="G")&&(a=!0),o++}this.hasAnchor=a,i===0?this.source=t:(u.push(t.substring(i,r)),this.source=u.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=F2.test(this.source):this.hasBackReferences=!1}clone(){return new fm(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(i=>t.substring(i.start,i.end));return Dl.lastIndex=0,this.source.replace(Dl,(i,u)=>dl(r[parseInt(u,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],i=[],u,a,o,l;for(u=0,a=this.source.length;u<a;u++)o=this.source.charAt(u),t[u]=o,n[u]=o,r[u]=o,i[u]=o,o==="\\"&&u+1<a&&(l=this.source.charAt(u+1),l==="A"?(t[u+1]="\uFFFF",n[u+1]="\uFFFF",r[u+1]="A",i[u+1]="A"):l==="G"?(t[u+1]="\uFFFF",n[u+1]="G",r[u+1]="\uFFFF",i[u+1]="G"):(t[u+1]=l,n[u+1]=l,r[u+1]=l,i[u+1]=l),u++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:i.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Zn=class{static{s(this,"RegExpSourceList")}_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new bl(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(i=>i.resolveAnchors(t,n));return new bl(e,r,this._items.map(i=>i.ruleId))}},bl=class{static{s(this,"CompiledRule")}constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
|
|
2
|
+
`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},ws=class{static{s(this,"BasicScopeAttributes")}constructor(e,t){this.languageId=e,this.tokenType=t}},v2=class qo{static{s(this,"_BasicScopeAttributesProvider")}_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new ws(t,8),this._embeddedLanguagesMatcher=new L2(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?qo._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new ws(0,0);_getBasicScopeAttributes=new pl(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new ws(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(qo.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},L2=class{static{s(this,"ScopeMatcher")}values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>dl(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var kl=class{static{s(this,"TokenizeStringResult")}constructor(e,t){this.stack=e,this.stoppedEarly=t}};function Sl(e,t,n,r,i,u,a,o){const l=t.content.length;let c=!1,f=-1;if(a){const p=O2(e,t,n,r,i,u);i=p.stack,r=p.linePos,n=p.isFirstLine,f=p.anchorPosition}const h=Date.now();for(;!c;){if(o!==0&&Date.now()-h>o)return new kl(i,!0);m()}return new kl(i,!1);function m(){const p=R2(e,t,n,r,i,f);if(!p){u.produce(i,l),c=!0;return}const g=p.captureIndices,E=p.matchedRuleId,A=g&&g.length>0?g[0].end>r:!1;if(E===N2){const D=i.getRule(e);u.produce(i,g[0].start),i=i.withContentNameScopesList(i.nameScopesList),er(e,t,n,i,u,D.endCaptures,g),u.produce(i,g[0].end);const C=i;if(i=i.parent,f=C.getAnchorPos(),!A&&C.getEnterPos()===r){i=C,u.produce(i,l),c=!0;return}}else{const D=e.getRule(E);u.produce(i,g[0].start);const C=i,T=D.getName(t.content,g),I=i.contentNameScopesList.pushAttributed(T,e);if(i=i.push(E,r,f,g[0].end===l,null,I,I),D instanceof Bs){const v=D;er(e,t,n,i,u,v.beginCaptures,g),u.produce(i,g[0].end),f=g[0].end;const _=v.getContentName(t.content,g),L=I.pushAttributed(_,e);if(i=i.withContentNameScopesList(L),v.endHasBackReferences&&(i=i.withEndRule(v.getEndWithResolvedBackReferences(t.content,g))),!A&&C.hasSameRuleAs(i)){i=i.pop(),u.produce(i,l),c=!0;return}}else if(D instanceof Zr){const v=D;er(e,t,n,i,u,v.beginCaptures,g),u.produce(i,g[0].end),f=g[0].end;const _=v.getContentName(t.content,g),L=I.pushAttributed(_,e);if(i=i.withContentNameScopesList(L),v.whileHasBackReferences&&(i=i.withEndRule(v.getWhileWithResolvedBackReferences(t.content,g))),!A&&C.hasSameRuleAs(i)){i=i.pop(),u.produce(i,l),c=!0;return}}else if(er(e,t,n,i,u,D.captures,g),u.produce(i,g[0].end),i=i.pop(),!A){i=i.safePop(),u.produce(i,l),c=!0;return}}g[0].end>r&&(r=g[0].end,n=!1)}}s(Sl,"_tokenizeString");function O2(e,t,n,r,i,u){let a=i.beginRuleCapturedEOL?0:-1;const o=[];for(let l=i;l;l=l.pop()){const c=l.getRule(e);c instanceof Zr&&o.push({rule:c,stack:l})}for(let l=o.pop();l;l=o.pop()){const{ruleScanner:c,findOptions:f}=U2(l.rule,e,l.stack.endRule,n,r===a),h=c.findNextMatchSync(t,r,f);if(h){if(h.ruleId!==Cl){i=l.stack.pop();break}h.captureIndices&&h.captureIndices.length&&(u.produce(l.stack,h.captureIndices[0].start),er(e,t,n,l.stack,u,l.rule.whileCaptures,h.captureIndices),u.produce(l.stack,h.captureIndices[0].end),a=h.captureIndices[0].end,h.captureIndices[0].end>r&&(r=h.captureIndices[0].end,n=!1))}else{i=l.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:a,isFirstLine:n}}s(O2,"_checkWhileConditions");function R2(e,t,n,r,i,u){const a=P2(e,t,n,r,i,u),o=e.getInjections();if(o.length===0)return a;const l=M2(o,e,t,n,r,i,u);if(!l)return a;if(!a)return l;const c=a.captureIndices[0].start,f=l.captureIndices[0].start;return f<c||l.priorityMatch&&f===c?l:a}s(R2,"matchRuleOrInjections");function P2(e,t,n,r,i,u){const a=i.getRule(e),{ruleScanner:o,findOptions:l}=_l(a,e,i.endRule,n,r===u),c=o.findNextMatchSync(t,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}s(P2,"matchRule");function M2(e,t,n,r,i,u,a){let o=Number.MAX_VALUE,l=null,c,f=0;const h=u.contentNameScopesList.getScopeNames();for(let m=0,p=e.length;m<p;m++){const g=e[m];if(!g.matcher(h))continue;const E=t.getRule(g.ruleId),{ruleScanner:A,findOptions:D}=_l(E,t,null,r,i===a),C=A.findNextMatchSync(n,i,D);if(!C)continue;const T=C.captureIndices[0].start;if(!(T>=o)&&(o=T,l=C.captureIndices,c=C.ruleId,f=g.priority,o===i))break}return l?{priorityMatch:f===-1,captureIndices:l,matchedRuleId:c}:null}s(M2,"matchInjections");function _l(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}s(_l,"prepareRuleSearch");function U2(e,t,n,r,i){return{ruleScanner:e.compileWhileAG(t,n,r,i),findOptions:0}}s(U2,"prepareRuleWhileSearch");function er(e,t,n,r,i,u,a){if(u.length===0)return;const o=t.content,l=Math.min(u.length,a.length),c=[],f=a[0].end;for(let h=0;h<l;h++){const m=u[h];if(m===null)continue;const p=a[h];if(p.length===0)continue;if(p.start>f)break;for(;c.length>0&&c[c.length-1].endPos<=p.start;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?i.produceFromScopes(c[c.length-1].scopes,p.start):i.produce(r,p.start),m.retokenizeCapturedWithRuleId){const E=m.getName(o,a),A=r.contentNameScopesList.pushAttributed(E,e),D=m.getContentName(o,a),C=A.pushAttributed(D,e),T=r.push(m.retokenizeCapturedWithRuleId,p.start,-1,!1,null,A,C),I=e.createOnigString(o.substring(0,p.end));Sl(e,I,n&&p.start===0,p.start,T,i,!1,0),El(I);continue}const g=m.getName(o,a);if(g!==null){const A=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(g,e);c.push(new H2(A,p.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}s(er,"handleCaptures");var H2=class{static{s(this,"LocalStackElement")}scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function $2(e,t,n,r,i,u,a,o){return new z2(e,t,n,r,i,u,a,o)}s($2,"createGrammar");function Bl(e,t,n,r,i){const u=Qr(t,ei),a=Tl.getCompiledRuleId(n,r,i.repository);for(const o of u)e.push({debugSelector:t,matcher:o.matcher,ruleId:a,grammar:i,priority:o.priority})}s(Bl,"collectInjections");function ei(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let i=n;i<t.length;i++)if(q2(t[i],r))return n=i+1,!0;return!1})}s(ei,"nameMatcher");function q2(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}s(q2,"scopesAreMatching");var z2=class{static{s(this,"Grammar")}constructor(e,t,n,r,i,u,a,o){if(this._rootScopeName=e,this.balancedBracketSelectors=u,this._onigLib=o,this._basicScopeAttributesProvider=new v2(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=wl(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const l of Object.keys(i)){const c=Qr(l,ei);for(const f of c)this._tokenTypeMatchers.push({matcher:f.matcher,type:i[l]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:s(i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),"lookup"),injections:s(i=>this._grammarRepository.injections(i),"injections")},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const i=r.injections;if(i)for(let a in i)Bl(t,a,i[a],this,r);const u=this._grammarRepository.injections(n);u&&u.forEach(a=>{const o=this.getExternalGrammar(a);if(o){const l=o.injectionSelector;l&&Bl(t,l,o,this,o)}})}return t.sort((i,u)=>i.priority-u.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=wl(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=Tl.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!t||t===Fs.NULL){i=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),h=dn.set(0,c.languageId,c.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),m=this.getRule(this._rootId).getName(null,null);let p;m?p=tr.createRootAndLookUpScopeName(m,h,this):p=tr.createRoot("unknown",h),t=new Fs(null,this._rootId,-1,-1,!1,null,p,p)}else i=!1,t.reset();e=e+`
|
|
3
|
+
`;const u=this.createOnigString(e),a=u.content.length,o=new Y2(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=Sl(this,u,i,0,t,o,!0,r);return El(u),{lineLength:a,lineTokens:o,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function wl(e,t){return e=o2(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}s(wl,"initGrammar");var tr=class gt{static{s(this,"_AttributedScopeStack")}constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,i=t?.scopePath??null;for(const u of n)i=ks.push(i,u.scopeNames),r=new gt(r,i,u.encodedTokenAttributes);return r}static createRoot(t,n){return new gt(null,new ks(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const i=r.getMetadataForScope(t),u=new ks(null,t),a=r.themeProvider.themeMatch(u),o=gt.mergeAttributes(n,i,a);return new gt(null,u,o)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return gt.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let i=-1,u=0,a=0;return r!==null&&(i=r.fontStyle,u=r.foregroundId,a=r.backgroundId),dn.set(t,n.languageId,n.tokenType,null,i,u,a)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return gt._pushAttributed(this,t,n);const r=t.split(/ /g);let i=this;for(const u of r)i=gt._pushAttributed(i,u,n);return i}static _pushAttributed(t,n,r){const i=r.getMetadataForScope(n),u=t.scopePath.push(n),a=r.themeProvider.themeMatch(u),o=gt.mergeAttributes(t.tokenAttributes,i,a);return new gt(t,u,o)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}},Fs=class on{static{s(this,"_StateStackImpl")}constructor(t,n,r,i,u,a,o,l){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=u,this.endRule=a,this.nameScopesList=o,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=i}_stackElementBrand=void 0;static NULL=new on(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:on._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?tr.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){on._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,i,u,a,o){return new on(this,t,n,r,i,u,a,o)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new on(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=tr.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new on(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,tr.fromExtension(r,n.contentNameScopesList))}},j2=class{static{s(this,"BalancedBracketSelectors")}balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):Qr(n,ei).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>Qr(n,ei).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},Y2=class{static{s(this,"LineTokens")}constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let r=e?.tokenAttributes??0,i=!1;if(this.balancedBracketSelectors?.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const u=e?.getScopeNames()??[];for(const a of this._tokenTypeOverrides)a.matcher(u)&&(r=dn.set(r,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(u))}if(i&&(r=dn.set(r,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=t;return}const n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,i=this._binaryTokens.length;r<i;r++)n[r]=this._binaryTokens[r];return n}},G2=class{static{s(this,"SyncRegistry")}constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,i){if(!this._grammars.has(e)){let u=this._rawGrammars.get(e);if(!u)return null;this._grammars.set(e,$2(e,u,t,n,r,i,this,this._onigLib))}return this._grammars.get(e)}},V2=class{static{s(this,"Registry")}_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new G2(Kr.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Kr.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new j2(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,i,u){const a=new T2(this._syncRegistry,t);for(;a.Q.length>0;)a.Q.map(o=>this._loadSingleGrammar(o.scopeName)),a.processQueue();return this._grammarForScopeName(t,n,r,i,u)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,i=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,i)}_grammarForScopeName(t,n=0,r=null,i=null,u=null){return this._syncRegistry.grammarForScopeName(t,n,r,i,u)}},Ns=Fs.NULL;const Fl=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];let nr=class{static{s(this,"Schema")}constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};nr.prototype.normal={},nr.prototype.property={},nr.prototype.space=void 0;function Nl(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new nr(n,r,t)}s(Nl,"merge$2");function rr(e){return e.toLowerCase()}s(rr,"normalize$3");let Re=class{static{s(this,"Info")}constructor(t,n){this.attribute=n,this.property=t}};Re.prototype.attribute="",Re.prototype.booleanish=!1,Re.prototype.boolean=!1,Re.prototype.commaOrSpaceSeparated=!1,Re.prototype.commaSeparated=!1,Re.prototype.defined=!1,Re.prototype.mustUseProperty=!1,Re.prototype.number=!1,Re.prototype.overloadedBoolean=!1,Re.prototype.property="",Re.prototype.spaceSeparated=!1,Re.prototype.space=void 0;let W2=0;const X=Ht(),Ae=Ht(),xs=Ht(),H=Ht(),le=Ht(),pn=Ht(),je=Ht();function Ht(){return 2**++W2}s(Ht,"increment$1");var Is=Object.freeze({__proto__:null,boolean:X,booleanish:Ae,commaOrSpaceSeparated:je,commaSeparated:pn,number:H,overloadedBoolean:xs,spaceSeparated:le});const vs=Object.keys(Is);let Ls=class extends Re{static{s(this,"DefinedInfo")}constructor(t,n,r,i){let u=-1;if(super(t,n),xl(this,"space",i),typeof r=="number")for(;++u<vs.length;){const a=vs[u];xl(this,vs[u],(r&Is[a])===Is[a])}}};Ls.prototype.defined=!0;function xl(e,t,n){n&&(e[t]=n)}s(xl,"mark$1");function mn(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const u=new Ls(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(u.mustUseProperty=!0),t[r]=u,n[rr(r)]=r,n[rr(u.attribute)]=r}return new nr(t,n,e.space)}s(mn,"create$3");const Il=mn({properties:{ariaActiveDescendant:null,ariaAtomic:Ae,ariaAutoComplete:null,ariaBusy:Ae,ariaChecked:Ae,ariaColCount:H,ariaColIndex:H,ariaColSpan:H,ariaControls:le,ariaCurrent:null,ariaDescribedBy:le,ariaDetails:null,ariaDisabled:Ae,ariaDropEffect:le,ariaErrorMessage:null,ariaExpanded:Ae,ariaFlowTo:le,ariaGrabbed:Ae,ariaHasPopup:null,ariaHidden:Ae,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:le,ariaLevel:H,ariaLive:null,ariaModal:Ae,ariaMultiLine:Ae,ariaMultiSelectable:Ae,ariaOrientation:null,ariaOwns:le,ariaPlaceholder:null,ariaPosInSet:H,ariaPressed:Ae,ariaReadOnly:Ae,ariaRelevant:null,ariaRequired:Ae,ariaRoleDescription:le,ariaRowCount:H,ariaRowIndex:H,ariaRowSpan:H,ariaSelected:Ae,ariaSetSize:H,ariaSort:null,ariaValueMax:H,ariaValueMin:H,ariaValueNow:H,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function vl(e,t){return t in e?e[t]:t}s(vl,"caseSensitiveTransform$1");function Ll(e,t){return vl(e,t.toLowerCase())}s(Ll,"caseInsensitiveTransform$1");const K2=mn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pn,acceptCharset:le,accessKey:le,action:null,allow:null,allowFullScreen:X,allowPaymentRequest:X,allowUserMedia:X,alt:null,as:null,async:X,autoCapitalize:null,autoComplete:le,autoFocus:X,autoPlay:X,blocking:le,capture:null,charSet:null,checked:X,cite:null,className:le,cols:H,colSpan:null,content:null,contentEditable:Ae,controls:X,controlsList:le,coords:H|pn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:X,defer:X,dir:null,dirName:null,disabled:X,download:xs,draggable:Ae,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:X,formTarget:null,headers:le,height:H,hidden:xs,high:H,href:null,hrefLang:null,htmlFor:le,httpEquiv:le,id:null,imageSizes:null,imageSrcSet:null,inert:X,inputMode:null,integrity:null,is:null,isMap:X,itemId:null,itemProp:le,itemRef:le,itemScope:X,itemType:le,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:X,low:H,manifest:null,max:null,maxLength:H,media:null,method:null,min:null,minLength:H,multiple:X,muted:X,name:null,nonce:null,noModule:X,noValidate:X,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:X,optimum:H,pattern:null,ping:le,placeholder:null,playsInline:X,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:X,referrerPolicy:null,rel:le,required:X,reversed:X,rows:H,rowSpan:H,sandbox:le,scope:null,scoped:X,seamless:X,selected:X,shadowRootClonable:X,shadowRootDelegatesFocus:X,shadowRootMode:null,shape:null,size:H,sizes:null,slot:null,span:H,spellCheck:Ae,src:null,srcDoc:null,srcLang:null,srcSet:null,start:H,step:null,style:null,tabIndex:H,target:null,title:null,translate:null,type:null,typeMustMatch:X,useMap:null,value:Ae,width:H,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:le,axis:null,background:null,bgColor:null,border:H,borderColor:null,bottomMargin:H,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:X,declare:X,event:null,face:null,frame:null,frameBorder:null,hSpace:H,leftMargin:H,link:null,longDesc:null,lowSrc:null,marginHeight:H,marginWidth:H,noResize:X,noHref:X,noShade:X,noWrap:X,object:null,profile:null,prompt:null,rev:null,rightMargin:H,rules:null,scheme:null,scrolling:Ae,standby:null,summary:null,text:null,topMargin:H,valueType:null,version:null,vAlign:null,vLink:null,vSpace:H,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:X,disableRemotePlayback:X,prefix:null,property:null,results:H,security:null,unselectable:null},space:"html",transform:Ll}),Q2=mn({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"},properties:{about:je,accentHeight:H,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:H,amplitude:H,arabicForm:null,ascent:H,attributeName:null,attributeType:null,azimuth:H,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:H,by:null,calcMode:null,capHeight:H,className:le,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:H,diffuseConstant:H,direction:null,display:null,dur:null,divisor:H,dominantBaseline:null,download:X,dx:null,dy:null,edgeMode:null,editable:null,elevation:H,enableBackground:null,end:null,event:null,exponent:H,externalResourcesRequired:null,fill:null,fillOpacity:H,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:pn,g2:pn,glyphName:pn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:H,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:H,horizOriginX:H,horizOriginY:H,id:null,ideographic:H,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:H,k:H,k1:H,k2:H,k3:H,k4:H,kernelMatrix:je,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:H,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:H,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:H,overlineThickness:H,paintOrder:null,panose1:null,path:null,pathLength:H,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:le,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:H,pointsAtY:H,pointsAtZ:H,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:je,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:je,rev:je,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:je,requiredFeatures:je,requiredFonts:je,requiredFormats:je,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:H,specularExponent:H,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:H,strikethroughThickness:H,string:null,stroke:null,strokeDashArray:je,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:H,strokeOpacity:H,strokeWidth:null,style:null,surfaceScale:H,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:je,tabIndex:H,tableValues:null,target:null,targetX:H,targetY:H,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:je,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:H,underlineThickness:H,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:H,values:null,vAlphabetic:H,vMathematical:H,vectorEffect:null,vHanging:H,vIdeographic:H,version:null,vertAdvY:H,vertOriginX:H,vertOriginY:H,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:H,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:vl}),Ol=mn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Rl=mn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ll}),Pl=mn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),X2=/[A-Z]/g,Ml=/-[a-z]/g,J2=/^data[-\w.:]+$/i;function Os(e,t){const n=rr(t);let r=t,i=Re;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&J2.test(t)){if(t.charAt(4)==="-"){const u=t.slice(5).replace(Ml,eA);r="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=t.slice(4);if(!Ml.test(u)){let a=u.replace(X2,Z2);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=Ls}return new i(r,t)}s(Os,"find$1");function Z2(e){return"-"+e.toLowerCase()}s(Z2,"kebab$1");function eA(e){return e.charAt(1).toUpperCase()}s(eA,"camelcase$1");const ti=Nl([Il,K2,Ol,Rl,Pl],"html"),ir=Nl([Il,Q2,Ol,Rl,Pl],"svg"),Ul={}.hasOwnProperty;function Rs(e,t){const n=t||{};function r(i,...u){let a=r.invalid;const o=r.handlers;if(i&&Ul.call(i,e)){const l=String(i[e]);a=Ul.call(o,l)?o[l]:r.unknown}if(a)return a.call(this,i,...u)}return s(r,"one"),r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}s(Rs,"zwitch");const tA=/["&'<>`]/g,nA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rA=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,iA=/[|\\{}()[\]^$+*?.]/g,Hl=new WeakMap;function sA(e,t){if(e=e.replace(t.subset?uA(t.subset):tA,r),t.subset||t.escapeOnly)return e;return e.replace(nA,n).replace(rA,r);function n(i,u,a){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,a.charCodeAt(u+2),t)}function r(i,u,a){return t.format(i.charCodeAt(0),a.charCodeAt(u+1),t)}}s(sA,"core");function uA(e){let t=Hl.get(e);return t||(t=aA(e),Hl.set(e,t)),t}s(uA,"charactersToExpressionCached");function aA(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(iA,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}s(aA,"charactersToExpression");const oA=/[\dA-Fa-f]/;function lA(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!oA.test(String.fromCharCode(t))?r:r+";"}s(lA,"toHexadecimal");const cA=/\d/;function hA(e,t,n){const r="&#"+String(e);return n&&t&&!cA.test(String.fromCharCode(t))?r:r+";"}s(hA,"toDecimal");const fA=["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"],Ps={nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203E",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203A",euro:"\u20AC"},dA=["cent","copy","divide","gt","lt","not","para","times"],$l={}.hasOwnProperty,Ms={};let ni;for(ni in Ps)$l.call(Ps,ni)&&(Ms[Ps[ni]]=ni);const pA=/[^\dA-Za-z]/;function mA(e,t,n,r){const i=String.fromCharCode(e);if($l.call(Ms,i)){const u=Ms[i],a="&"+u;return n&&fA.includes(u)&&!dA.includes(u)&&(!r||t&&t!==61&&pA.test(String.fromCharCode(t)))?a:a+";"}return""}s(mA,"toNamed");function gA(e,t,n){let r=lA(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=mA(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const u=hA(e,t,n.omitOptionalSemicolons);u.length<r.length&&(r=u)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}s(gA,"formatSmart");function gn(e,t){return sA(e,Object.assign({format:gA},t))}s(gn,"stringifyEntities");const EA=/^>|^->|<!--|-->|--!>|<!-$/g,AA=[">"],DA=["<",">"];function CA(e,t,n,r){return r.settings.bogusComments?"<?"+gn(e.value,Object.assign({},r.settings.characterReferences,{subset:AA}))+">":"<!--"+e.value.replace(EA,i)+"-->";function i(u){return gn(u,Object.assign({},r.settings.characterReferences,{subset:DA}))}}s(CA,"comment$2");function yA(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}s(yA,"doctype$2");function ri(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}s(ri,"ccount");function ql(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,u=!1;for(;!u;){r===-1&&(r=n.length,u=!0);const a=n.slice(i,r).trim();(a||!u)&&t.push(a),i=r+1,r=n.indexOf(",",i)}return t}s(ql,"parse$3");function zl(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}s(zl,"stringify$4");function jl(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}s(jl,"parse$2");function Yl(e){return e.join(" ").trim()}s(Yl,"stringify$3");const TA=/[ \t\n\f\r]/g;function $t(e){return typeof e=="object"?e.type==="text"?Gl(e.value):!1:Gl(e)}s($t,"whitespace");function Gl(e){return e.replace(TA,"")===""}s(Gl,"empty$1");const ye=Wl(1),Vl=Wl(-1),bA=[];function Wl(e){return t;function t(n,r,i){const u=n?n.children:bA;let a=(r||0)+e,o=u[a];if(!i)for(;o&&$t(o);)a+=e,o=u[a];return o}}s(Wl,"siblings");const kA={}.hasOwnProperty;function Kl(e){return t;function t(n,r,i){return kA.call(e,n.tagName)&&e[n.tagName](n,r,i)}}s(Kl,"omission");const Us=Kl({body:_A,caption:Hs,colgroup:Hs,dd:NA,dt:FA,head:Hs,html:SA,li:wA,optgroup:xA,option:IA,p:BA,rp:Ql,rt:Ql,tbody:LA,td:Xl,tfoot:OA,th:Xl,thead:vA,tr:RA});function Hs(e,t,n){const r=ye(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&$t(r.value.charAt(0)))}s(Hs,"headOrColgroupOrCaption");function SA(e,t,n){const r=ye(n,t);return!r||r.type!=="comment"}s(SA,"html$5");function _A(e,t,n){const r=ye(n,t);return!r||r.type!=="comment"}s(_A,"body$1");function BA(e,t,n){const r=ye(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"))}s(BA,"p$1");function wA(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&r.tagName==="li"}s(wA,"li");function FA(e,t,n){const r=ye(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}s(FA,"dt");function NA(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}s(NA,"dd");function Ql(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}s(Ql,"rubyElement");function xA(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}s(xA,"optgroup");function IA(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}s(IA,"option");function vA(e,t,n){const r=ye(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}s(vA,"thead");function LA(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}s(LA,"tbody$1");function OA(e,t,n){return!ye(n,t)}s(OA,"tfoot");function RA(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&r.tagName==="tr"}s(RA,"tr");function Xl(e,t,n){const r=ye(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}s(Xl,"cells");const PA=Kl({body:HA,colgroup:$A,head:UA,html:MA,tbody:qA});function MA(e){const t=ye(e,-1);return!t||t.type!=="comment"}s(MA,"html$4");function UA(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}s(UA,"head");function HA(e){const t=ye(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&$t(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}s(HA,"body");function $A(e,t,n){const r=Vl(n,t),i=ye(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Us(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}s($A,"colgroup");function qA(e,t,n){const r=Vl(n,t),i=ye(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Us(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}s(qA,"tbody");const ii={name:[[`
|
|
4
4
|
\f\r &/=>`.split(""),`
|
|
5
5
|
\f\r "&'/=>\``.split("")],[`\0
|
|
6
6
|
\f\r "&'/<=>`.split(""),`\0
|
|
@@ -8,27 +8,27 @@ var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0})
|
|
|
8
8
|
\f\r &>`.split(""),`\0
|
|
9
9
|
\f\r "&'<=>\``.split("")],[`\0
|
|
10
10
|
\f\r "&'<=>\``.split(""),`\0
|
|
11
|
-
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function zA(e,t,n,r){const i=r.schema,u=i.space==="svg"?!1:r.settings.omitOptionalTags;let a=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const o=[];let l;i.space==="html"&&e.tagName==="svg"&&(r.schema=ir);const c=YA(r,e.properties),f=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,f&&(a=!1),(c||!u||!PA(e,t,n))&&(o.push("<",e.tagName,c?" "+c:""),a&&(i.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&o.push(" "),o.push("/")),o.push(">")),o.push(f),!a&&(!u||!Us(e,t,n))&&o.push("</"+e.tagName+">"),o.join("")}s(zA,"element$4");function YA(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const u=jA(e,i,t[i]);u&&n.push(u)}}for(;++r<n.length;){const u=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&u!=='"'&&u!=="'"&&(n[r]+=" ")}return n.join("")}s(YA,"serializeAttributes");function jA(e,t,n){const r=Os(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,u=e.settings.allowDangerousCharacters?0:1;let a=e.quote,o;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=gn(r.attribute,Object.assign({},e.settings.characterReferences,{subset:ii.name[i][u]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?zl:jl)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(o=gn(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:ii.unquoted[i][u]}))),o!==n&&(e.settings.quoteSmart&&ri(n,a)>ri(n,e.alternative)&&(a=e.alternative),o=a+gn(n,Object.assign({},e.settings.characterReferences,{subset:(a==="'"?ii.single:ii.double)[i][u],attribute:!0}))+a),l+(o&&"="+o))}s(jA,"serializeAttribute");const GA=["<","&"];function Jl(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:gn(e.value,Object.assign({},r.settings.characterReferences,{subset:GA}))}s(Jl,"text$7");function VA(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Jl(e,t,n,r)}s(VA,"raw$1");function WA(e,t,n,r){return r.all(e)}s(WA,"root$4");const KA=Rs("type",{invalid:QA,unknown:XA,handlers:{comment:CA,doctype:yA,element:zA,raw:VA,root:WA,text:Jl}});function QA(e){throw new Error("Expected node, not `"+e+"`")}s(QA,"invalid");function XA(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}s(XA,"unknown$1");const JA={},ZA={},eD=[];function Zl(e,t){const n=t||JA,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:tD,all:nD,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Fl,characterReferences:n.characterReferences||ZA,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?ir:ti,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}s(Zl,"toHtml");function tD(e,t,n){return KA(e,t,n,this)}s(tD,"one$4");function nD(e){const t=[],n=e&&e.children||eD;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}s(nD,"all$6");function si(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[i,u]of Object.entries(t?.colorReplacements||{}))typeof u=="string"?n[i]=u:i===r&&Object.assign(n,u);return n}s(si,"resolveColorReplacements");function Ft(e,t){return e&&(t?.[e?.toLowerCase()]||e)}s(Ft,"applyColorReplacements");function rD(e){return Array.isArray(e)?e:[e]}s(rD,"toArray");async function ec(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}s(ec,"normalizeGetter");function $s(e){return!e||["plaintext","txt","text","plain"].includes(e)}s($s,"isPlainLang");function qs(e){return e==="ansi"||$s(e)}s(qs,"isSpecialLang");function zs(e){return e==="none"}s(zs,"isNoneTheme");function tc(e){return zs(e)}s(tc,"isSpecialTheme");function nc(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}s(nc,"addClassToHast");function ui(e,t=!1){const n=e.split(/(\r?\n)/g);let r=0;const i=[];for(let u=0;u<n.length;u+=2){const a=t?n[u]+(n[u+1]||""):n[u];i.push([a,r]),r+=n[u].length,r+=n[u+1]?.length||0}return i}s(ui,"splitLines$1");function iD(e){const t=ui(e,!0).map(([i])=>i);function n(i){if(i===e.length)return{line:t.length-1,character:t[t.length-1].length};let u=i,a=0;for(const o of t){if(u<o.length)break;u-=o.length,a++}return{line:a,character:u}}s(n,"indexToPos");function r(i,u){let a=0;for(let o=0;o<i;o++)a+=t[o].length;return a+=u,a}return s(r,"posToIndex"),{lines:t,indexToPos:n,posToIndex:r}}s(iD,"createPositionConverter");function sD(e,t,n){const r=new Set;for(const u of e.matchAll(/lang=["']([\w-]+)["']/g))r.add(u[1]);for(const u of e.matchAll(/(?:```|~~~)([\w-]+)/g))r.add(u[1]);for(const u of e.matchAll(/\\begin\{([\w-]+)\}/g))r.add(u[1]);if(!n)return Array.from(r);const i=n.getBundledLanguages();return Array.from(r).filter(u=>u&&i[u])}s(sD,"guessEmbeddedLanguages");const Ys="light-dark()",uD=["color","background-color"];function aD(e,t){let n=0;const r=[];for(const i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}s(aD,"splitToken");function oD(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,i)=>r-i);return n.length?e.map(r=>r.flatMap(i=>{const u=n.filter(a=>i.offset<a&&a<i.offset+i.content.length).map(a=>a-i.offset).sort((a,o)=>a-o);return u.length?aD(i,u):i})):e}s(oD,"splitTokens");function lD(e,t,n,r,i="css-vars"){const u={content:e.content,explanation:e.explanation,offset:e.offset},a=t.map(f=>ai(e.variants[f])),o=new Set(a.flatMap(f=>Object.keys(f))),l={},c=s((f,h)=>{const m=h==="color"?"":h==="background-color"?"-bg":`-${h}`;return n+t[f]+(h==="color"?"":m)},"varKey");return a.forEach((f,h)=>{for(const m of o){const p=f[m]||"inherit";if(h===0&&r&&uD.includes(m))if(r===Ys&&a.length>1){const g=t.findIndex(C=>C==="light"),E=t.findIndex(C=>C==="dark");if(g===-1||E===-1)throw new Ee('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const D=a[g][m]||"inherit",A=a[E][m]||"inherit";l[m]=`light-dark(${D}, ${A})`,i==="css-vars"&&(l[c(h,m)]=p)}else l[m]=p;else i==="css-vars"&&(l[c(h,m)]=p)}}),u.htmlStyle=l,u}s(lD,"flatTokenVariants");function ai(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&we.Italic&&(t["font-style"]="italic"),e.fontStyle&we.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&we.Underline&&n.push("underline"),e.fontStyle&we.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}s(ai,"getTokenStyleObject");function js(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}s(js,"stringifyTokenStyle");const rc=new WeakMap;function oi(e,t){rc.set(e,t)}s(oi,"setLastGrammarStateToMap");function sr(e){return rc.get(e)}s(sr,"getLastGrammarStateFromMap");class qn{static{s(this,"GrammarState")}_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new qn(Object.fromEntries(rD(n).map(r=>[r,Ns])),t)}constructor(...t){if(t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,i]=t;this.lang=r,this._stacks={[i]:n}}}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return cD(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function cD(e){const t=[],n=new Set;function r(i){if(n.has(i))return;n.add(i);const u=i?.nameScopesList?.scopeName;u&&t.push(u),i.parent&&r(i.parent)}return s(r,"pushScope"),r(e),t}s(cD,"getScopes");function hD(e,t){if(!(e instanceof qn))throw new Ee("Invalid grammar state");return e.getInternalStack(t)}s(hD,"getGrammarStack");function fD(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=s(function(a){if(typeof a=="number"){if(a<0||a>n.source.length)throw new Ee(`Invalid decoration offset: ${a}. Code length: ${n.source.length}`);return{...i.indexToPos(a),offset:a}}else{const o=i.lines[a.line];if(o===void 0)throw new Ee(`Invalid decoration position ${JSON.stringify(a)}. Lines length: ${i.lines.length}`);let l=a.character;if(l<0&&(l=o.length+l),l<0||l>o.length)throw new Ee(`Invalid decoration position ${JSON.stringify(a)}. Line ${a.line} length: ${o.length}`);return{...a,character:l,offset:i.posToIndex(a.line,l)}}},"normalizePosition");const i=iD(n.source),u=(n.options.decorations||[]).map(a=>({...a,start:r(a.start),end:r(a.end)}));dD(u),e.set(n.meta,{decorations:u,converter:i,source:n.source})}return e.get(n.meta)}return s(t,"getContext"),{name:"shiki:decorations",tokens(n){if(!this.options.decorations?.length)return;const i=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return oD(n,i)},code(n){if(!this.options.decorations?.length)return;const r=t(this),i=Array.from(n.children).filter(f=>f.type==="element"&&f.tagName==="span");if(i.length!==r.converter.lines.length)throw new Ee(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function u(f,h,m,p){const g=i[f];let E="",D=-1,A=-1;if(h===0&&(D=0),m===0&&(A=0),m===Number.POSITIVE_INFINITY&&(A=g.children.length),D===-1||A===-1)for(let T=0;T<g.children.length;T++)E+=ic(g.children[T]),D===-1&&E.length===h&&(D=T+1),A===-1&&E.length===m&&(A=T+1);if(D===-1)throw new Ee(`Failed to find start index for decoration ${JSON.stringify(p.start)}`);if(A===-1)throw new Ee(`Failed to find end index for decoration ${JSON.stringify(p.end)}`);const C=g.children.slice(D,A);if(!p.alwaysWrap&&C.length===g.children.length)o(g,p,"line");else if(!p.alwaysWrap&&C.length===1&&C[0].type==="element")o(C[0],p,"token");else{const T={type:"element",tagName:"span",properties:{},children:C};o(T,p,"wrapper"),g.children.splice(D,C.length,T)}}s(u,"applyLineSection");function a(f,h){i[f]=o(i[f],h,"line")}s(a,"applyLine");function o(f,h,m){const p=h.properties||{},g=h.transform||(E=>E);return f.tagName=h.tagName||"span",f.properties={...f.properties,...p,class:f.properties.class},h.properties?.class&&nc(f,h.properties.class),f=g(f,m)||f,f}s(o,"applyDecoration");const l=[],c=r.decorations.sort((f,h)=>h.start.offset-f.start.offset||f.end.offset-h.end.offset);for(const f of c){const{start:h,end:m}=f;if(h.line===m.line)u(h.line,h.character,m.character,f);else if(h.line<m.line){u(h.line,h.character,Number.POSITIVE_INFINITY,f);for(let p=h.line+1;p<m.line;p++)l.unshift(()=>a(p,f));u(m.line,0,m.character,f)}}l.forEach(f=>f())}}}s(fD,"transformerDecorations");function dD(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new Ee(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const i=e[r],u=n.start.offset<=i.start.offset&&i.start.offset<n.end.offset,a=n.start.offset<i.end.offset&&i.end.offset<=n.end.offset,o=i.start.offset<=n.start.offset&&n.start.offset<i.end.offset,l=i.start.offset<n.end.offset&&n.end.offset<=i.end.offset;if(u||a||o||l){if(u&&a||o&&l||o&&n.start.offset===n.end.offset||a&&i.start.offset===i.end.offset)continue;throw new Ee(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(i.start)} intersect.`)}}}}s(dD,"verifyIntersections");function ic(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(ic).join(""):""}s(ic,"stringify$2");const pD=[fD()];function li(e){const t=mD(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...pD]}s(li,"getTransformers");function mD(e){const t=[],n=[],r=[];for(const i of e)switch(i.enforce){case"pre":t.push(i);break;case"post":n.push(i);break;default:r.push(i)}return{pre:t,post:n,normal:r}}s(mD,"sortTransformersByEnforcement");var qt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Gs={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function gD(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}s(gD,"findSequence");function sc(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}s(sc,"parseColor");function ED(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)Gs[r]&&t.push({type:"setDecoration",value:Gs[r]});else if(r<=29){const i=Gs[r-20];i&&(t.push({type:"resetDecoration",value:i}),i==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:qt[r-30]}});else if(r===38){const i=sc(e);i&&t.push({type:"setForegroundColor",value:i})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:qt[r-40]}});else if(r===48){const i=sc(e);i&&t.push({type:"setBackgroundColor",value:i})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:qt[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:qt[r-100+8]}})}return t}s(ED,"parseSequence");function AD(){let e=null,t=null,n=new Set;return{parse(r){const i=[];let u=0;do{const a=gD(r,u),o=a.sequence?r.substring(u,a.startPosition):r.substring(u);if(o.length>0&&i.push({value:o,foreground:e,background:t,decorations:new Set(n)}),a.sequence){const l=ED(a.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}u=a.position}while(u<r.length);return i}}}s(AD,"createAnsiSequenceParser");var DD={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function CD(e=DD){function t(o){return e[o]}s(t,"namedColor");function n(o){return`#${o.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}s(n,"rgbColor");let r;function i(){if(r)return r;r=[];for(let c=0;c<qt.length;c++)r.push(t(qt[c]));let o=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let f=0;f<6;f++)for(let h=0;h<6;h++)r.push(n([o[c],o[f],o[h]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}s(i,"getColorTable");function u(o){return i()[o]}s(u,"tableColor");function a(o){switch(o.type){case"named":return t(o.name);case"rgb":return n(o.rgb);case"table":return u(o.index)}}return s(a,"value"),{value:a}}s(CD,"createColorPalette");function yD(e,t,n){const r=si(e,n),i=ui(t),u=CD(Object.fromEntries(qt.map(o=>[o,e.colors?.[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),a=AD();return i.map(o=>a.parse(o[0]).map(l=>{let c,f;l.decorations.has("reverse")?(c=l.background?u.value(l.background):e.bg,f=l.foreground?u.value(l.foreground):e.fg):(c=l.foreground?u.value(l.foreground):e.fg,f=l.background?u.value(l.background):void 0),c=Ft(c,r),f=Ft(f,r),l.decorations.has("dim")&&(c=TD(c));let h=we.None;return l.decorations.has("bold")&&(h|=we.Bold),l.decorations.has("italic")&&(h|=we.Italic),l.decorations.has("underline")&&(h|=we.Underline),l.decorations.has("strikethrough")&&(h|=we.Strikethrough),{content:l.value,offset:o[1],color:c,bgColor:f,fontStyle:h}}))}s(yD,"tokenizeAnsiWithTheme");function TD(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}s(TD,"dimColor");function Vs(e,t,n={}){const{lang:r="text",theme:i=e.getLoadedThemes()[0]}=n;if($s(r)||zs(i))return ui(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:u,colorMap:a}=e.setTheme(i);if(r==="ansi")return yD(u,t,n);const o=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==o.name)throw new Ee(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(u.name))throw new Ee(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${u.name}"`)}return kD(t,o,u,a,n)}s(Vs,"codeToTokensBase");function bD(...e){if(e.length===2)return sr(e[1]);const[t,n,r={}]=e,{lang:i="text",theme:u=t.getLoadedThemes()[0]}=r;if($s(i)||zs(u))throw new Ee("Plain language does not have grammar state");if(i==="ansi")throw new Ee("ANSI language does not have grammar state");const{theme:a,colorMap:o}=t.setTheme(u),l=t.getLanguage(i);return new qn(ci(n,l,a,o,r).stateStack,l.name,a.name)}s(bD,"getLastGrammarState");function kD(e,t,n,r,i){const u=ci(e,t,n,r,i),a=new qn(ci(e,t,n,r,i).stateStack,t.name,n.name);return oi(u.tokens,a),u.tokens}s(kD,"tokenizeWithTheme");function ci(e,t,n,r,i){const u=si(n,i),{tokenizeMaxLineLength:a=0,tokenizeTimeLimit:o=500}=i,l=ui(e);let c=i.grammarState?hD(i.grammarState,n.name)??Ns:i.grammarContextCode!=null?ci(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:Ns,f=[];const h=[];for(let m=0,p=l.length;m<p;m++){const[g,E]=l[m];if(g===""){f=[],h.push([]);continue}if(a>0&&g.length>=a){f=[],h.push([{content:g,offset:E,color:"",fontStyle:0}]);continue}let D,A,C;i.includeExplanation&&(D=t.tokenizeLine(g,c,o),A=D.tokens,C=0);const T=t.tokenizeLine2(g,c,o),I=T.tokens.length/2;for(let v=0;v<I;v++){const _=T.tokens[2*v],L=v+1<I?T.tokens[2*v+2]:g.length;if(_===L)continue;const x=T.tokens[2*v+1],w=Ft(r[dn.getForeground(x)],u),F=dn.getFontStyle(x),q={content:g.substring(_,L),offset:E+_,color:w,fontStyle:F};if(i.includeExplanation){const M=[];if(i.includeExplanation!=="scopeName")for(const G of n.settings){let K;switch(typeof G.scope){case"string":K=G.scope.split(/,/).map(te=>te.trim());break;case"object":K=G.scope;break;default:continue}M.push({settings:G,selectors:K.map(te=>te.split(/ /))})}q.explanation=[];let j=0;for(;_+j<L;){const G=A[C],K=g.substring(G.startIndex,G.endIndex);j+=K.length,q.explanation.push({content:K,scopes:i.includeExplanation==="scopeName"?SD(G.scopes):_D(M,G.scopes)}),C+=1}}f.push(q)}h.push(f),f=[],c=T.ruleStack}return{tokens:h,stateStack:c}}s(ci,"_tokenizeWithTheme");function SD(e){return e.map(t=>({scopeName:t}))}s(SD,"explainThemeScopesNameOnly");function _D(e,t){const n=[];for(let r=0,i=t.length;r<i;r++){const u=t[r];n[r]={scopeName:u,themeMatches:wD(e,u,t.slice(0,r))}}return n}s(_D,"explainThemeScopesFull");function uc(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}s(uc,"matchesOne");function BD(e,t,n){if(!uc(e[e.length-1],t))return!1;let r=e.length-2,i=n.length-1;for(;r>=0&&i>=0;)uc(e[r],n[i])&&(r-=1),i-=1;return r===-1}s(BD,"matches");function wD(e,t,n){const r=[];for(const{selectors:i,settings:u}of e)for(const a of i)if(BD(a,t,n)){r.push(u);break}return r}s(wD,"explainThemeScope");function ac(e,t,n){const r=Object.entries(n.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),i=r.map(l=>{const c=Vs(e,t,{...n,theme:l.theme}),f=sr(c),h=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:c,state:f,theme:h}}),u=FD(...i.map(l=>l.tokens)),a=u[0].map((l,c)=>l.map((f,h)=>{const m={content:f.content,variants:{},offset:f.offset};return"includeExplanation"in n&&n.includeExplanation&&(m.explanation=f.explanation),u.forEach((p,g)=>{const{content:E,explanation:D,offset:A,...C}=p[c][h];m.variants[r[g].color]=C}),m})),o=i[0].state?new qn(Object.fromEntries(i.map(l=>[l.theme,l.state?.getInternalStack(l.theme)])),i[0].state.lang):void 0;return o&&oi(a,o),a}s(ac,"codeToTokensWithThemes");function FD(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const i=e.map(l=>l[r]),u=t.map(()=>[]);t.forEach((l,c)=>l.push(u[c]));const a=i.map(()=>0),o=i.map(l=>l[0]);for(;o.every(l=>l);){const l=Math.min(...o.map(c=>c.content.length));for(let c=0;c<n;c++){const f=o[c];f.content.length===l?(u[c].push(f),a[c]+=1,o[c]=i[c][a[c]]):(u[c].push({...f,content:f.content.slice(0,l)}),o[c]={...f,content:f.content.slice(l),offset:f.offset+l})}}}return t}s(FD,"syncThemesTokenization");function hi(e,t,n){let r,i,u,a,o,l;if("themes"in n){const{defaultColor:c="light",cssVariablePrefix:f="--shiki-",colorsRendering:h="css-vars"}=n,m=Object.entries(n.themes).filter(A=>A[1]).map(A=>({color:A[0],theme:A[1]})).sort((A,C)=>A.color===c?-1:C.color===c?1:0);if(m.length===0)throw new Ee("`themes` option must not be empty");const p=ac(e,t,n);if(l=sr(p),c&&Ys!==c&&!m.find(A=>A.color===c))throw new Ee(`\`themes\` option must contain the defaultColor key \`${c}\``);const g=m.map(A=>e.getTheme(A.theme)),E=m.map(A=>A.color);u=p.map(A=>A.map(C=>lD(C,E,f,c,h))),l&&oi(u,l);const D=m.map(A=>si(A.theme,n));i=oc(m,g,D,f,c,"fg",h),r=oc(m,g,D,f,c,"bg",h),a=`shiki-themes ${g.map(A=>A.name).join(" ")}`,o=c?void 0:[i,r].join(";")}else if("theme"in n){const c=si(n.theme,n);u=Vs(e,t,n);const f=e.getTheme(n.theme);r=Ft(f.bg,c),i=Ft(f.fg,c),a=f.name,l=sr(u)}else throw new Ee("Invalid options, either `theme` or `themes` must be provided");return{tokens:u,fg:i,bg:r,themeName:a,rootStyle:o,grammarState:l}}s(hi,"codeToTokens");function oc(e,t,n,r,i,u,a){return e.map((o,l)=>{const c=Ft(t[l][u],n[l])||"inherit",f=`${r+o.color}${u==="bg"?"-bg":""}:${c}`;if(l===0&&i){if(i===Ys&&e.length>1){const h=e.findIndex(E=>E.color==="light"),m=e.findIndex(E=>E.color==="dark");if(h===-1||m===-1)throw new Ee('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const p=Ft(t[h][u],n[h])||"inherit",g=Ft(t[m][u],n[m])||"inherit";return`light-dark(${p}, ${g});${f}`}return c}return a==="css-vars"?f:null}).filter(o=>!!o).join(";")}s(oc,"mapThemeColors");function fi(e,t,n,r={meta:{},options:n,codeToHast:s((i,u)=>fi(e,i,u),"codeToHast"),codeToTokens:s((i,u)=>hi(e,i,u),"codeToTokens")}){let i=t;for(const g of li(n))i=g.preprocess?.call(r,i,n)||i;let{tokens:u,fg:a,bg:o,themeName:l,rootStyle:c,grammarState:f}=hi(e,i,n);const{mergeWhitespaces:h=!0,mergeSameStyleTokens:m=!1}=n;h===!0?u=xD(u):h==="never"&&(u=ID(u)),m&&(u=vD(u));const p={...r,get source(){return i}};for(const g of li(n))u=g.tokens?.call(p,u)||u;return ND(u,{...n,fg:a,bg:o,themeName:l,rootStyle:c},p,f)}s(fi,"codeToHast");function ND(e,t,n,r=sr(e)){const i=li(t),u=[],a={type:"root",children:[]},{structure:o="classic",tabindex:l="0"}=t;let c={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...l!==!1&&l!=null?{tabindex:l.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([g])=>!g.startsWith("_")))},children:[]},f={type:"element",tagName:"code",properties:{},children:u};const h=[],m={...n,structure:o,addClassToHast:nc,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return a},get pre(){return c},get code(){return f},get lines(){return h}};if(e.forEach((g,E)=>{E&&(o==="inline"?a.children.push({type:"element",tagName:"br",properties:{},children:[]}):o==="classic"&&u.push({type:"text",value:`
|
|
12
|
-
`}));let D={type:"element",tagName:"span",properties:{class:"line"},children:[]},A=0;for(const C of g){let T={type:"element",tagName:"span",properties:{...C.htmlAttrs},children:[{type:"text",value:C.content}]};const I=js(C.htmlStyle||ai(C));I&&(T.properties.style=I);for(const v of i)T=v?.span?.call(m,T,E+1,A,D,C)||T;o==="inline"?a.children.push(T):o==="classic"&&D.children.push(T),A+=C.content.length}if(o==="classic"){for(const C of i)D=C?.line?.call(m,D,E+1)||D;h.push(D),u.push(D)}}),o==="classic"){for(const g of i)f=g?.code?.call(m,f)||f;c.children.push(f);for(const g of i)c=g?.pre?.call(m,c)||c;a.children.push(c)}let p=a;for(const g of i)p=g?.root?.call(m,p)||p;return r&&oi(p,r),p}s(ND,"tokensToHast");function xD(e){return e.map(t=>{const n=[];let r="",i=0;return t.forEach((u,a)=>{const l=!(u.fontStyle&&(u.fontStyle&we.Underline||u.fontStyle&we.Strikethrough));l&&u.content.match(/^\s+$/)&&t[a+1]?(i||(i=u.offset),r+=u.content):r?(l?n.push({...u,offset:i,content:r+u.content}):n.push({content:r,offset:i},u),i=0,r=""):n.push(u)}),n})}s(xD,"mergeWhitespaceTokens");function ID(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,i,u,a]=r;if(!i&&!a)return n;const o=[{...n,offset:n.offset+i.length,content:u}];return i&&o.unshift({content:i,offset:n.offset}),a&&o.push({content:a,offset:n.offset+i.length+u.length}),o}))}s(ID,"splitWhitespaceTokens");function vD(e){return e.map(t=>{const n=[];for(const r of t){if(n.length===0){n.push({...r});continue}const i=n[n.length-1],u=js(i.htmlStyle||ai(i)),a=js(r.htmlStyle||ai(r)),o=i.fontStyle&&(i.fontStyle&we.Underline||i.fontStyle&we.Strikethrough),l=r.fontStyle&&(r.fontStyle&we.Underline||r.fontStyle&we.Strikethrough);!o&&!l&&u===a?i.content+=r.content:n.push({...r})}return n})}s(vD,"mergeAdjacentStyledTokens");const LD=Zl;function OD(e,t,n){const r={meta:{},options:n,codeToHast:s((u,a)=>fi(e,u,a),"codeToHast"),codeToTokens:s((u,a)=>hi(e,u,a),"codeToTokens")};let i=LD(fi(e,t,n,r));for(const u of li(n))i=u.postprocess?.call(r,i,n)||i;return i}s(OD,"codeToHtml");const lc={light:"#333333",dark:"#bbbbbb"},cc={light:"#fffffe",dark:"#1e1e1e"},hc="__shiki_resolved";function Ws(e){if(e?.[hc])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const o=t.settings?t.settings.find(l=>!l.name&&!l.scope):void 0;o?.settings?.foreground&&(r=o.settings.foreground),o?.settings?.background&&(n=o.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?lc.light:lc.dark),n||(n=t.type==="light"?cc.light:cc.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0;const u=new Map;function a(o){if(u.has(o))return u.get(o);i+=1;const l=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${l}`]?a(o):(u.set(o,l),l)}s(a,"getReplacementColor"),t.settings=t.settings.map(o=>{const l=o.settings?.foreground&&!o.settings.foreground.startsWith("#"),c=o.settings?.background&&!o.settings.background.startsWith("#");if(!l&&!c)return o;const f={...o,settings:{...o.settings}};if(l){const h=a(o.settings.foreground);t.colorReplacements[h]=o.settings.foreground,f.settings.foreground=h}if(c){const h=a(o.settings.background);t.colorReplacements[h]=o.settings.background,f.settings.background=h}return f});for(const o of Object.keys(t.colors||{}))if((o==="editor.foreground"||o==="editor.background"||o.startsWith("terminal.ansi"))&&!t.colors[o]?.startsWith("#")){const l=a(t.colors[o]);t.colorReplacements[l]=t.colors[o],t.colors[o]=l}return Object.defineProperty(t,hc,{enumerable:!1,writable:!1,value:!0}),t}s(Ws,"normalizeTheme");async function fc(e){return Array.from(new Set((await Promise.all(e.filter(t=>!qs(t)).map(async t=>await ec(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}s(fc,"resolveLangs");async function dc(e){return(await Promise.all(e.map(async n=>tc(n)?null:Ws(await ec(n))))).filter(n=>!!n)}s(dc,"resolveThemes");let RD=3;function PD(e,t=3){t>RD||console.trace(`[SHIKI DEPRECATE]: ${e}`)}s(PD,"warnDeprecated");let En=class extends Error{static{s(this,"ShikiError")}constructor(t){super(t),this.name="ShikiError"}};class MD extends V2{static{s(this,"Registry")}constructor(t,n,r,i={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=i,this._themes.map(u=>this.loadTheme(u)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const n=Ws(t);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=Kr.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new En(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars.get(t)}loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set([...this._langMap.values()].filter(u=>u.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const i=this.loadGrammarWithConfiguration(t.scopeName,1,r);if(i.name=t.name,this._resolvedGrammars.set(t.name,i),t.aliases&&t.aliases.forEach(u=>{this._alias[u]=t.name}),this._loadedLanguagesCache=null,n.size)for(const u of n)this._resolvedGrammars.delete(u.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(u.scopeName),this._syncRegistry?._grammars?.delete(u.scopeName),this.loadLanguage(this._langMap.get(u.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const i of t)this.resolveEmbeddedLanguages(i);const n=Array.from(this._langGraph.entries()),r=n.filter(([i,u])=>!u);if(r.length){const i=n.filter(([u,a])=>a&&a.embeddedLangs?.some(o=>r.map(([l])=>l).includes(o))).filter(u=>!r.includes(u));throw new En(`Missing languages ${r.map(([u])=>`\`${u}\``).join(", ")}, required by ${i.map(([u])=>`\`${u}\``).join(", ")}`)}for(const[i,u]of n)this._resolver.addLanguage(u);for(const[i,u]of n)this.loadLanguage(u)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap.set(t.name,t),this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap.get(n))}}class UD{static{s(this,"Resolver")}_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(t,n){this._onigLib={createOnigScanner:s(r=>t.createScanner(r),"createOnigScanner"),createOnigString:s(r=>t.createString(r),"createOnigString")},n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let i=1;i<=n.length;i++){const u=n.slice(0,i).join(".");r=[...r,...this._injections.get(u)||[]]}return r}}let ur=0;function HD(e){ur+=1,e.warnings!==!1&&ur>=10&&ur%10===0&&console.warn(`[Shiki] ${ur} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new En("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(Ws),i=new UD(e.engine,n),u=new MD(i,r,n,e.langAlias);let a;function o(C){D();const T=u.getGrammar(typeof C=="string"?C:C.name);if(!T)throw new En(`Language \`${C}\` not found, you may need to load it first`);return T}s(o,"getLanguage");function l(C){if(C==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};D();const T=u.getTheme(C);if(!T)throw new En(`Theme \`${C}\` not found, you may need to load it first`);return T}s(l,"getTheme");function c(C){D();const T=l(C);a!==C&&(u.setTheme(T),a=C);const I=u.getColorMap();return{theme:T,colorMap:I}}s(c,"setTheme");function f(){return D(),u.getLoadedThemes()}s(f,"getLoadedThemes");function h(){return D(),u.getLoadedLanguages()}s(h,"getLoadedLanguages");function m(...C){D(),u.loadLanguages(C.flat(1))}s(m,"loadLanguageSync");async function p(...C){return m(await fc(C))}s(p,"loadLanguage");function g(...C){D();for(const T of C.flat(1))u.loadTheme(T)}s(g,"loadThemeSync");async function E(...C){return D(),g(await dc(C))}s(E,"loadTheme");function D(){if(t)throw new En("Shiki instance has been disposed")}s(D,"ensureNotDisposed");function A(){t||(t=!0,u.dispose(),ur-=1)}return s(A,"dispose"),{setTheme:c,getTheme:l,getLanguage:o,getLoadedThemes:f,getLoadedLanguages:h,loadLanguage:p,loadLanguageSync:m,loadTheme:E,loadThemeSync:g,dispose:A,[Symbol.dispose]:A}}s(HD,"createShikiInternalSync");async function $D(e){e.engine||PD("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([dc(e.themes||[]),fc(e.langs||[]),e.engine]);return HD({...e,themes:t,langs:n,engine:r})}s($D,"createShikiInternal");async function qD(e){const t=await $D(e);return{getLastGrammarState:s((...n)=>bD(t,...n),"getLastGrammarState"),codeToTokensBase:s((n,r)=>Vs(t,n,r),"codeToTokensBase"),codeToTokensWithThemes:s((n,r)=>ac(t,n,r),"codeToTokensWithThemes"),codeToTokens:s((n,r)=>hi(t,n,r),"codeToTokens"),codeToHast:s((n,r)=>fi(t,n,r),"codeToHast"),codeToHtml:s((n,r)=>OD(t,n,r),"codeToHtml"),getBundledLanguages:s(()=>({}),"getBundledLanguages"),getBundledThemes:s(()=>({}),"getBundledThemes"),...t,getInternalContext:s(()=>t,"getInternalContext")}}s(qD,"createHighlighterCore");function zD(e){const t=e.langs,n=e.themes,r=e.engine;async function i(u){function a(h){if(typeof h=="string"){if(qs(h))return[];h=u.langAlias?.[h]||h;const m=t[h];if(!m)throw new Ee(`Language \`${h}\` is not included in this bundle. You may want to load it from external source.`);return m}return h}s(a,"resolveLang");function o(h){if(tc(h))return"none";if(typeof h=="string"){const m=n[h];if(!m)throw new Ee(`Theme \`${h}\` is not included in this bundle. You may want to load it from external source.`);return m}return h}s(o,"resolveTheme");const l=(u.themes??[]).map(h=>o(h)),c=(u.langs??[]).map(h=>a(h)),f=await qD({engine:u.engine??r(),...u,themes:l,langs:c});return{...f,loadLanguage(...h){return f.loadLanguage(...h.map(a))},loadTheme(...h){return f.loadTheme(...h.map(o))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return s(i,"createHighlighter"),i}s(zD,"createdBundledHighlighter");function YD(e){let t;async function n(r={}){if(t){const i=await t;return await Promise.all([i.loadTheme(...r.themes||[]),i.loadLanguage(...r.langs||[])]),i}else return t=e({...r,themes:r.themes||[],langs:r.langs||[]}),t}return s(n,"getSingletonHighlighter"),n}s(YD,"makeSingletonHighlighter");function jD(e,t){const n=YD(e);async function r(i,u){const a=await n({langs:[u.lang],themes:"theme"in u?[u.theme]:Object.values(u.themes)}),o=await t?.guessEmbeddedLanguages?.(i,u.lang,a);return o&&await a.loadLanguage(...o),a}return s(r,"get"),{getSingletonHighlighter(i){return n(i)},async codeToHtml(i,u){return(await r(i,u)).codeToHtml(i,u)},async codeToHast(i,u){return(await r(i,u)).codeToHast(i,u)},async codeToTokens(i,u){return(await r(i,u)).codeToTokens(i,u)},async codeToTokensBase(i,u){return(await r(i,u)).codeToTokensBase(i,u)},async codeToTokensWithThemes(i,u){return(await r(i,u)).codeToTokensWithThemes(i,u)},async getLastGrammarState(i,u){return(await n({langs:[u.lang],themes:[u.theme]})).getLastGrammarState(i,u)}}}s(jD,"createSingletonShorthands");const pc=[{id:"abap",name:"ABAP",import:s((()=>import("./abap-Dg923wIy.js")),"import")},{id:"actionscript-3",name:"ActionScript",import:s((()=>import("./actionscript-3-BBttMYlr.js")),"import")},{id:"ada",name:"Ada",import:s((()=>import("./ada-CTi7YQtL.js")),"import")},{id:"angular-html",name:"Angular HTML",import:s((()=>import("./angular-html-iVPjtFUl.js").then(function(e){return e.f})),"import")},{id:"angular-ts",name:"Angular TypeScript",import:s((()=>import("./angular-ts-BKg3bTQb.js")),"import")},{id:"apache",name:"Apache Conf",import:s((()=>import("./apache-PcO-DBxQ.js")),"import")},{id:"apex",name:"Apex",import:s((()=>import("./apex-CAdK1_om.js")),"import")},{id:"apl",name:"APL",import:s((()=>import("./apl-g4BCQ2TF.js")),"import")},{id:"applescript",name:"AppleScript",import:s((()=>import("./applescript-BWh8DkcF.js")),"import")},{id:"ara",name:"Ara",import:s((()=>import("./ara-C1--7J61.js")),"import")},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:s((()=>import("./asciidoc-CkWYjVYI.js")),"import")},{id:"asm",name:"Assembly",import:s((()=>import("./asm-CTFRnVOM.js")),"import")},{id:"astro",name:"Astro",import:s((()=>import("./astro-CF5eGqSt.js")),"import")},{id:"awk",name:"AWK",import:s((()=>import("./awk-CrWgQKhV.js")),"import")},{id:"ballerina",name:"Ballerina",import:s((()=>import("./ballerina-a0yOSyc5.js")),"import")},{id:"bat",name:"Batch File",aliases:["batch"],import:s((()=>import("./bat-B0cHNp6s.js")),"import")},{id:"beancount",name:"Beancount",import:s((()=>import("./beancount-BHV8xfbc.js")),"import")},{id:"berry",name:"Berry",aliases:["be"],import:s((()=>import("./berry-DhTecnR4.js")),"import")},{id:"bibtex",name:"BibTeX",import:s((()=>import("./bibtex-DRcCXNgM.js")),"import")},{id:"bicep",name:"Bicep",import:s((()=>import("./bicep-DVED13jH.js")),"import")},{id:"blade",name:"Blade",import:s((()=>import("./blade-RMLjeQ1G.js")),"import")},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:s((()=>import("./bsl-C7rNYC9b.js")),"import")},{id:"c",name:"C",import:s((()=>import("./c-BG-tZi7o.js")),"import")},{id:"cadence",name:"Cadence",aliases:["cdc"],import:s((()=>import("./cadence-BPAoxb6m.js")),"import")},{id:"cairo",name:"Cairo",import:s((()=>import("./cairo-BHkUC1B6.js")),"import")},{id:"clarity",name:"Clarity",import:s((()=>import("./clarity-Bltd35po.js")),"import")},{id:"clojure",name:"Clojure",aliases:["clj"],import:s((()=>import("./clojure-KnfDkB_V.js")),"import")},{id:"cmake",name:"CMake",import:s((()=>import("./cmake-bh2MLnkv.js")),"import")},{id:"cobol",name:"COBOL",import:s((()=>import("./cobol-Bf8IMir1.js")),"import")},{id:"codeowners",name:"CODEOWNERS",import:s((()=>import("./codeowners-CtwIM3TN.js")),"import")},{id:"codeql",name:"CodeQL",aliases:["ql"],import:s((()=>import("./codeql-D164juXQ.js")),"import")},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:s((()=>import("./coffee-BXbdB5_C.js")),"import")},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:s((()=>import("./common-lisp-DXc9XcIM.js")),"import")},{id:"coq",name:"Coq",import:s((()=>import("./coq-BCSFDxg0.js")),"import")},{id:"cpp",name:"C++",aliases:["c++"],import:s((()=>import("./cpp-CTmscSNZ.js")),"import")},{id:"crystal",name:"Crystal",import:s((()=>import("./crystal-DEdrGRnk.js")),"import")},{id:"csharp",name:"C#",aliases:["c#","cs"],import:s((()=>import("./csharp-DxSJuWE2.js")),"import")},{id:"css",name:"CSS",import:s((()=>import("./css-PZBBrkI0.js")),"import")},{id:"csv",name:"CSV",import:s((()=>import("./csv-D5aBhKLr.js")),"import")},{id:"cue",name:"CUE",import:s((()=>import("./cue-WCin6O4e.js")),"import")},{id:"cypher",name:"Cypher",aliases:["cql"],import:s((()=>import("./cypher-DYQk2G82.js")),"import")},{id:"d",name:"D",import:s((()=>import("./d-DVc-yF-l.js")),"import")},{id:"dart",name:"Dart",import:s((()=>import("./dart-YLd5yyRs.js")),"import")},{id:"dax",name:"DAX",import:s((()=>import("./dax-oldcCaJg.js")),"import")},{id:"desktop",name:"Desktop",import:s((()=>import("./desktop-DZfyBMgF.js")),"import")},{id:"diff",name:"Diff",import:s((()=>import("./diff-jW5kmiru.js")),"import")},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:s((()=>import("./docker-DG9neUKd.js")),"import")},{id:"dotenv",name:"dotEnv",import:s((()=>import("./dotenv-Bea-FkXq.js")),"import")},{id:"dream-maker",name:"Dream Maker",import:s((()=>import("./dream-maker-DAHQwpwp.js")),"import")},{id:"edge",name:"Edge",import:s((()=>import("./edge-BPFoVtS2.js")),"import")},{id:"elixir",name:"Elixir",import:s((()=>import("./elixir-DEMlMakD.js")),"import")},{id:"elm",name:"Elm",import:s((()=>import("./elm-DzXNHNQT.js")),"import")},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:s((()=>import("./emacs-lisp-BdGsgvrR.js")),"import")},{id:"erb",name:"ERB",import:s((()=>import("./erb-GeVfC8aT.js")),"import")},{id:"erlang",name:"Erlang",aliases:["erl"],import:s((()=>import("./erlang-Jhp2iHYS.js")),"import")},{id:"fennel",name:"Fennel",import:s((()=>import("./fennel-BH6gVCng.js")),"import")},{id:"fish",name:"Fish",import:s((()=>import("./fish-BJm4aL2J.js")),"import")},{id:"fluent",name:"Fluent",aliases:["ftl"],import:s((()=>import("./fluent-Bwo2XpEt.js")),"import")},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:s((()=>import("./fortran-fixed-form-BveFL83Q.js")),"import")},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:s((()=>import("./fortran-free-form-CxgVQ5YQ.js")),"import")},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:s((()=>import("./fsharp-uL2Rv0Hs.js")),"import")},{id:"gdresource",name:"GDResource",import:s((()=>import("./gdresource-D9Lk-biZ.js")),"import")},{id:"gdscript",name:"GDScript",import:s((()=>import("./gdscript-AcTSlgpe.js")),"import")},{id:"gdshader",name:"GDShader",import:s((()=>import("./gdshader-G7X6ysY3.js")),"import")},{id:"genie",name:"Genie",import:s((()=>import("./genie-DSsjfZMX.js")),"import")},{id:"gherkin",name:"Gherkin",import:s((()=>import("./gherkin-Cbsyuvab.js")),"import")},{id:"git-commit",name:"Git Commit Message",import:s((()=>import("./git-commit-CesLaiSz.js")),"import")},{id:"git-rebase",name:"Git Rebase Message",import:s((()=>import("./git-rebase-B9wKr8Mu.js")),"import")},{id:"gleam",name:"Gleam",import:s((()=>import("./gleam-BeBqoPwE.js")),"import")},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:s((()=>import("./glimmer-js-DRyix6l9.js")),"import")},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:s((()=>import("./glimmer-ts-CylxYpT2.js")),"import")},{id:"glsl",name:"GLSL",import:s((()=>import("./glsl-CJ5UNUz7.js")),"import")},{id:"gnuplot",name:"Gnuplot",import:s((()=>import("./gnuplot-CtW3R_Hz.js")),"import")},{id:"go",name:"Go",import:s((()=>import("./go-CPYJReqS.js")),"import")},{id:"graphql",name:"GraphQL",aliases:["gql"],import:s((()=>import("./graphql-CmjpXrhO.js")),"import")},{id:"groovy",name:"Groovy",import:s((()=>import("./groovy-DFxE31Qs.js")),"import")},{id:"hack",name:"Hack",import:s((()=>import("./hack-C9-UExIE.js")),"import")},{id:"haml",name:"Ruby Haml",import:s((()=>import("./haml-CvhbEpEE.js")),"import")},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:s((()=>import("./handlebars-BVpMPa9B.js")),"import")},{id:"haskell",name:"Haskell",aliases:["hs"],import:s((()=>import("./haskell-CeCR1-Hh.js")),"import")},{id:"haxe",name:"Haxe",import:s((()=>import("./haxe-DVIybFAS.js")),"import")},{id:"hcl",name:"HashiCorp HCL",import:s((()=>import("./hcl-B6OePqme.js")),"import")},{id:"hjson",name:"Hjson",import:s((()=>import("./hjson-D2jn7IRw.js")),"import")},{id:"hlsl",name:"HLSL",import:s((()=>import("./hlsl-MKeth5V9.js")),"import")},{id:"html",name:"HTML",import:s((()=>import("./html-DrEFKcLn.js")),"import")},{id:"html-derivative",name:"HTML (Derivative)",import:s((()=>import("./html-derivative-BA9ziz_o.js")),"import")},{id:"http",name:"HTTP",import:s((()=>import("./http-BXwIKOAP.js")),"import")},{id:"hxml",name:"HXML",import:s((()=>import("./hxml-BdTS9Zj7.js")),"import")},{id:"hy",name:"Hy",import:s((()=>import("./hy-BZMqGtQj.js")),"import")},{id:"imba",name:"Imba",import:s((()=>import("./imba-D-Pk5S0X.js")),"import")},{id:"ini",name:"INI",aliases:["properties"],import:s((()=>import("./ini-Dix3pTmg.js")),"import")},{id:"java",name:"Java",import:s((()=>import("./java-BTDmaRNO.js")),"import")},{id:"javascript",name:"JavaScript",aliases:["js"],import:s((()=>import("./javascript-D6hERjLg.js")),"import")},{id:"jinja",name:"Jinja",import:s((()=>import("./jinja-BvQotP7z.js")),"import")},{id:"jison",name:"Jison",import:s((()=>import("./jison-C982ZPQJ.js")),"import")},{id:"json",name:"JSON",import:s((()=>import("./json-B8JryHcM.js")),"import")},{id:"json5",name:"JSON5",import:s((()=>import("./json5-Cdatmj9n.js")),"import")},{id:"jsonc",name:"JSON with Comments",import:s((()=>import("./jsonc-CvUCa1o5.js")),"import")},{id:"jsonl",name:"JSON Lines",import:s((()=>import("./jsonl-9I_GBd5L.js")),"import")},{id:"jsonnet",name:"Jsonnet",import:s((()=>import("./jsonnet-XoenQ2oc.js")),"import")},{id:"jssm",name:"JSSM",aliases:["fsl"],import:s((()=>import("./jssm-CWE2S0Z5.js")),"import")},{id:"jsx",name:"JSX",import:s((()=>import("./jsx-8cLv2Six.js")),"import")},{id:"julia",name:"Julia",aliases:["jl"],import:s((()=>import("./julia-CxLCF6Q_.js")),"import")},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:s((()=>import("./kotlin-BQy537ds.js")),"import")},{id:"kusto",name:"Kusto",aliases:["kql"],import:s((()=>import("./kusto-BY2OSndo.js")),"import")},{id:"latex",name:"LaTeX",import:s((()=>import("./latex-DpYz9fe0.js")),"import")},{id:"lean",name:"Lean 4",aliases:["lean4"],import:s((()=>import("./lean-BXLkh4aH.js")),"import")},{id:"less",name:"Less",import:s((()=>import("./less-CaoNcwlE.js")),"import")},{id:"liquid",name:"Liquid",import:s((()=>import("./liquid-Drq3BmZw.js")),"import")},{id:"llvm",name:"LLVM IR",import:s((()=>import("./llvm-yfuVFSHy.js")),"import")},{id:"log",name:"Log file",import:s((()=>import("./log-CcaF_xNv.js")),"import")},{id:"logo",name:"Logo",import:s((()=>import("./logo-D9WQLoKQ.js")),"import")},{id:"lua",name:"Lua",import:s((()=>import("./lua-DRivoEBK.js")),"import")},{id:"luau",name:"Luau",import:s((()=>import("./luau-BYt3hdDQ.js")),"import")},{id:"make",name:"Makefile",aliases:["makefile"],import:s((()=>import("./make-DXVx14cr.js")),"import")},{id:"markdown",name:"Markdown",aliases:["md"],import:s((()=>import("./markdown-DX-TNHnc.js")),"import")},{id:"marko",name:"Marko",import:s((()=>import("./marko-B-pIK77B.js")),"import")},{id:"matlab",name:"MATLAB",import:s((()=>import("./matlab-DzreyMvm.js")),"import")},{id:"mdc",name:"MDC",import:s((()=>import("./mdc-D924eyGv.js")),"import")},{id:"mdx",name:"MDX",import:s((()=>import("./mdx-C2fqO2XY.js")),"import")},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:s((()=>import("./mermaid-7cTodO_4.js")),"import")},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:s((()=>import("./mipsasm-yE_Aqo9y.js")),"import")},{id:"mojo",name:"Mojo",import:s((()=>import("./mojo-BzW6XcPi.js")),"import")},{id:"move",name:"Move",import:s((()=>import("./move-CWzLDnIf.js")),"import")},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:s((()=>import("./narrat-DXUZ_ZkW.js")),"import")},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:s((()=>import("./nextflow-pQFAKpIi.js")),"import")},{id:"nginx",name:"Nginx",import:s((()=>import("./nginx-DE9vInot.js")),"import")},{id:"nim",name:"Nim",import:s((()=>import("./nim-DwvSYsvx.js")),"import")},{id:"nix",name:"Nix",import:s((()=>import("./nix-BOArPPpn.js")),"import")},{id:"nushell",name:"nushell",aliases:["nu"],import:s((()=>import("./nushell-Bq8mR-cv.js")),"import")},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:s((()=>import("./objective-c-BoaBTdtz.js")),"import")},{id:"objective-cpp",name:"Objective-C++",import:s((()=>import("./objective-cpp-DstR8hNy.js")),"import")},{id:"ocaml",name:"OCaml",import:s((()=>import("./ocaml-DTbn2Hv7.js")),"import")},{id:"pascal",name:"Pascal",import:s((()=>import("./pascal-Sr-XLSE6.js")),"import")},{id:"perl",name:"Perl",import:s((()=>import("./perl-FQhqnAQG.js")),"import")},{id:"php",name:"PHP",import:s((()=>import("./php-f7HuyuS7.js")),"import")},{id:"plsql",name:"PL/SQL",import:s((()=>import("./plsql-Dbm3tV2N.js")),"import")},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:s((()=>import("./po-LG0lFwH4.js")),"import")},{id:"polar",name:"Polar",import:s((()=>import("./polar-DjOs3GWb.js")),"import")},{id:"postcss",name:"PostCSS",import:s((()=>import("./postcss-GRRkWn2F.js")),"import")},{id:"powerquery",name:"PowerQuery",import:s((()=>import("./powerquery-DHf-dtTS.js")),"import")},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:s((()=>import("./powershell-CubgGmZX.js")),"import")},{id:"prisma",name:"Prisma",import:s((()=>import("./prisma-Dgf8IN_C.js")),"import")},{id:"prolog",name:"Prolog",import:s((()=>import("./prolog-9JcfiY6I.js")),"import")},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:s((()=>import("./proto-DryqT1TG.js")),"import")},{id:"pug",name:"Pug",aliases:["jade"],import:s((()=>import("./pug-HjbWpWEJ.js")),"import")},{id:"puppet",name:"Puppet",import:s((()=>import("./puppet-B4ctDsrh.js")),"import")},{id:"purescript",name:"PureScript",import:s((()=>import("./purescript-B-mlhevv.js")),"import")},{id:"python",name:"Python",aliases:["py"],import:s((()=>import("./python-B6Ihcp-E.js")),"import")},{id:"qml",name:"QML",import:s((()=>import("./qml-CCxwROxb.js")),"import")},{id:"qmldir",name:"QML Directory",import:s((()=>import("./qmldir-DXd9s5XC.js")),"import")},{id:"qss",name:"Qt Style Sheets",import:s((()=>import("./qss-B7NnhfIi.js")),"import")},{id:"r",name:"R",import:s((()=>import("./r-B3H3vY3E.js")),"import")},{id:"racket",name:"Racket",import:s((()=>import("./racket-CrxT4k8p.js")),"import")},{id:"raku",name:"Raku",aliases:["perl6"],import:s((()=>import("./raku-B9ngR1rt.js")),"import")},{id:"razor",name:"ASP.NET Razor",import:s((()=>import("./razor-DSsteyd0.js")),"import")},{id:"reg",name:"Windows Registry Script",import:s((()=>import("./reg-Cvyu2Gnx.js")),"import")},{id:"regexp",name:"RegExp",aliases:["regex"],import:s((()=>import("./regexp-DK-WlHNu.js")),"import")},{id:"rel",name:"Rel",import:s((()=>import("./rel-CYd0g8C5.js")),"import")},{id:"riscv",name:"RISC-V",import:s((()=>import("./riscv-C5dpdlr7.js")),"import")},{id:"rst",name:"reStructuredText",import:s((()=>import("./rst-C_UheqBX.js")),"import")},{id:"ruby",name:"Ruby",aliases:["rb"],import:s((()=>import("./ruby-Co8zIS9-.js")),"import")},{id:"rust",name:"Rust",aliases:["rs"],import:s((()=>import("./rust-CxuBE0J8.js")),"import")},{id:"sas",name:"SAS",import:s((()=>import("./sas-9Dvcn_Se.js")),"import")},{id:"sass",name:"Sass",import:s((()=>import("./sass-bfEVHPJ8.js")),"import")},{id:"scala",name:"Scala",import:s((()=>import("./scala-Dtw19ca_.js")),"import")},{id:"scheme",name:"Scheme",import:s((()=>import("./scheme-OJppFQF3.js")),"import")},{id:"scss",name:"SCSS",import:s((()=>import("./scss-CFlr0x0u.js")),"import")},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:s((()=>import("./sdbl-Bd9eE8IL.js")),"import")},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:s((()=>import("./shaderlab-CJHdEwFw.js")),"import")},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:s((()=>import("./shellscript-DgJyDXW6.js")),"import")},{id:"shellsession",name:"Shell Session",aliases:["console"],import:s((()=>import("./shellsession-BqFY_Jl7.js")),"import")},{id:"smalltalk",name:"Smalltalk",import:s((()=>import("./smalltalk-B9IHbYt7.js")),"import")},{id:"solidity",name:"Solidity",import:s((()=>import("./solidity-C_qHDKVe.js")),"import")},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:s((()=>import("./soy-Dmj0qeba.js")),"import")},{id:"sparql",name:"SPARQL",import:s((()=>import("./sparql-Ckj_9Rg5.js")),"import")},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:s((()=>import("./splunk-h-bNAnbk.js")),"import")},{id:"sql",name:"SQL",import:s((()=>import("./sql-BbONfI8K.js")),"import")},{id:"ssh-config",name:"SSH Config",import:s((()=>import("./ssh-config-CywOjoXH.js")),"import")},{id:"stata",name:"Stata",import:s((()=>import("./stata-eYSq_k6x.js")),"import")},{id:"stylus",name:"Stylus",aliases:["styl"],import:s((()=>import("./stylus-CIg617SB.js")),"import")},{id:"svelte",name:"Svelte",import:s((()=>import("./svelte-BFUht-Je.js")),"import")},{id:"swift",name:"Swift",import:s((()=>import("./swift-D8uC5CNv.js")),"import")},{id:"system-verilog",name:"SystemVerilog",import:s((()=>import("./system-verilog-Qdm_1g2q.js")),"import")},{id:"systemd",name:"Systemd Units",import:s((()=>import("./systemd-DMp0udv_.js")),"import")},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:s((()=>import("./talonscript-eRuyeYHl.js")),"import")},{id:"tasl",name:"Tasl",import:s((()=>import("./tasl-B9CVvjfG.js")),"import")},{id:"tcl",name:"Tcl",import:s((()=>import("./tcl-Bq9dbVAF.js")),"import")},{id:"templ",name:"Templ",import:s((()=>import("./templ-7MAxQ7Et.js")),"import")},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:s((()=>import("./terraform-CAp711iT.js")),"import")},{id:"tex",name:"TeX",import:s((()=>import("./tex-CuPdJ1V5.js")),"import")},{id:"toml",name:"TOML",import:s((()=>import("./toml-Ms459DBw.js")),"import")},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:s((()=>import("./ts-tags-D7SF7DDT.js")),"import")},{id:"tsv",name:"TSV",import:s((()=>import("./tsv-BFtm7NXx.js")),"import")},{id:"tsx",name:"TSX",import:s((()=>import("./tsx-D6116Ycy.js")),"import")},{id:"turtle",name:"Turtle",import:s((()=>import("./turtle-DpRhbQZY.js")),"import")},{id:"twig",name:"Twig",import:s((()=>import("./twig-DpzUdZ86.js")),"import")},{id:"typescript",name:"TypeScript",aliases:["ts"],import:s((()=>import("./typescript-CNe7ZLMA.js")),"import")},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:s((()=>import("./typespec-Cx4NNI1F.js")),"import")},{id:"typst",name:"Typst",aliases:["typ"],import:s((()=>import("./typst-Dfd71gQj.js")),"import")},{id:"v",name:"V",import:s((()=>import("./v-CY8LauPa.js")),"import")},{id:"vala",name:"Vala",import:s((()=>import("./vala-z59IxkFd.js")),"import")},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:s((()=>import("./vb-4AxSLKIU.js")),"import")},{id:"verilog",name:"Verilog",import:s((()=>import("./verilog-LfQUkHDc.js")),"import")},{id:"vhdl",name:"VHDL",import:s((()=>import("./vhdl-DJCsFYgn.js")),"import")},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:s((()=>import("./viml-pbKHW3Ia.js")),"import")},{id:"vue",name:"Vue",import:s((()=>import("./vue-C2MYKjVd.js")),"import")},{id:"vue-html",name:"Vue HTML",import:s((()=>import("./vue-html-CFfEBVbA.js")),"import")},{id:"vue-vine",name:"Vue Vine",import:s((()=>import("./vue-vine-Dt-pyqwL.js")),"import")},{id:"vyper",name:"Vyper",aliases:["vy"],import:s((()=>import("./vyper-DpazWNpx.js")),"import")},{id:"wasm",name:"WebAssembly",import:s((()=>import("./wasm-CFi-k9--.js")),"import")},{id:"wenyan",name:"Wenyan",aliases:["\u6587\u8A00"],import:s((()=>import("./wenyan-DoPRjnAP.js")),"import")},{id:"wgsl",name:"WGSL",import:s((()=>import("./wgsl-CxjTZs-b.js")),"import")},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:s((()=>import("./wikitext-Bx2qct8O.js")),"import")},{id:"wit",name:"WebAssembly Interface Types",import:s((()=>import("./wit-DDW3hD69.js")),"import")},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:s((()=>import("./wolfram-pu21K997.js")),"import")},{id:"xml",name:"XML",import:s((()=>import("./xml-BhAxjPaW.js")),"import")},{id:"xsl",name:"XSL",import:s((()=>import("./xsl-6n2rlM5j.js")),"import")},{id:"yaml",name:"YAML",aliases:["yml"],import:s((()=>import("./yaml-Bopit2L3.js")),"import")},{id:"zenscript",name:"ZenScript",import:s((()=>import("./zenscript-BIAKq-aR.js")),"import")},{id:"zig",name:"Zig",import:s((()=>import("./zig-bSFrHQ7n.js")),"import")}],GD=Object.fromEntries(pc.map(e=>[e.id,e.import])),VD=Object.fromEntries(pc.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),mc={...GD,...VD},WD=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:s((()=>import("./andromeeda-BK6gTiwT.js")),"import")},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:s((()=>import("./aurora-x-C0VKFdlO.js")),"import")},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:s((()=>import("./ayu-dark-_V__kATy.js")),"import")},{id:"catppuccin-frappe",displayName:"Catppuccin Frapp\xE9",type:"dark",import:s((()=>import("./catppuccin-frappe-FpZB8QRS.js")),"import")},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:s((()=>import("./catppuccin-latte-DitgVJwZ.js")),"import")},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:s((()=>import("./catppuccin-macchiato-OgKJpGX6.js")),"import")},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:s((()=>import("./catppuccin-mocha-yEKlNR7E.js")),"import")},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:s((()=>import("./dark-plus-DLU5INA3.js")),"import")},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:s((()=>import("./dracula-XcYHBZy6.js")),"import")},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:s((()=>import("./dracula-soft-BPeX9gxW.js")),"import")},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:s((()=>import("./everforest-dark-WOub3wle.js")),"import")},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:s((()=>import("./everforest-light-DCUg8VH8.js")),"import")},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:s((()=>import("./github-dark-BQV5ugrc.js")),"import")},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:s((()=>import("./github-dark-default-DLWDM7FH.js")),"import")},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:s((()=>import("./github-dark-dimmed-D1FmiR_p.js")),"import")},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:s((()=>import("./github-dark-high-contrast-BilLoi0o.js")),"import")},{id:"github-light",displayName:"GitHub Light",type:"light",import:s((()=>import("./github-light-Rcb2q3L5.js")),"import")},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:s((()=>import("./github-light-default-CQ75esMw.js")),"import")},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:s((()=>import("./github-light-high-contrast-CRF1wyLy.js")),"import")},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:s((()=>import("./gruvbox-dark-hard-DtaDo6n6.js")),"import")},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:s((()=>import("./gruvbox-dark-medium-F6d3vyEK.js")),"import")},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:s((()=>import("./gruvbox-dark-soft-BhkDHqWr.js")),"import")},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:s((()=>import("./gruvbox-light-hard-BSMbhItJ.js")),"import")},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:s((()=>import("./gruvbox-light-medium-D9aMBq3r.js")),"import")},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:s((()=>import("./gruvbox-light-soft-BLiUQVAY.js")),"import")},{id:"houston",displayName:"Houston",type:"dark",import:s((()=>import("./houston-RHIKkNfR.js")),"import")},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:s((()=>import("./kanagawa-dragon-BOvIHJVT.js")),"import")},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:s((()=>import("./kanagawa-lotus-Bwcd7Bvx.js")),"import")},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:s((()=>import("./kanagawa-wave-0SAlpf0s.js")),"import")},{id:"laserwave",displayName:"LaserWave",type:"dark",import:s((()=>import("./laserwave-si7wuSrt.js")),"import")},{id:"light-plus",displayName:"Light Plus",type:"light",import:s((()=>import("./light-plus-g_Fi9vkG.js")),"import")},{id:"material-theme",displayName:"Material Theme",type:"dark",import:s((()=>import("./material-theme-CIJ3cGaW.js")),"import")},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:s((()=>import("./material-theme-darker-BWg3m1GB.js")),"import")},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:s((()=>import("./material-theme-lighter-DR8HWMN7.js")),"import")},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:s((()=>import("./material-theme-ocean-CZf9pk28.js")),"import")},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:s((()=>import("./material-theme-palenight-BF01YeZy.js")),"import")},{id:"min-dark",displayName:"Min Dark",type:"dark",import:s((()=>import("./min-dark-DhfaepVE.js")),"import")},{id:"min-light",displayName:"Min Light",type:"light",import:s((()=>import("./min-light-6xx0uMgm.js")),"import")},{id:"monokai",displayName:"Monokai",type:"dark",import:s((()=>import("./monokai-BodnsaDQ.js")),"import")},{id:"night-owl",displayName:"Night Owl",type:"dark",import:s((()=>import("./night-owl-EdP2Hztp.js")),"import")},{id:"nord",displayName:"Nord",type:"dark",import:s((()=>import("./nord-BAu0wM6c.js")),"import")},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:s((()=>import("./one-dark-pro-utPxbBbJ.js")),"import")},{id:"one-light",displayName:"One Light",type:"light",import:s((()=>import("./one-light-s-s--efq.js")),"import")},{id:"plastic",displayName:"Plastic",type:"dark",import:s((()=>import("./plastic-CXnNNlFZ.js")),"import")},{id:"poimandres",displayName:"Poimandres",type:"dark",import:s((()=>import("./poimandres-BrOVMvuE.js")),"import")},{id:"red",displayName:"Red",type:"dark",import:s((()=>import("./red-DR6ZwibK.js")),"import")},{id:"rose-pine",displayName:"Ros\xE9 Pine",type:"dark",import:s((()=>import("./rose-pine-37N6GoVg.js")),"import")},{id:"rose-pine-dawn",displayName:"Ros\xE9 Pine Dawn",type:"light",import:s((()=>import("./rose-pine-dawn-aw1JrzNS.js")),"import")},{id:"rose-pine-moon",displayName:"Ros\xE9 Pine Moon",type:"dark",import:s((()=>import("./rose-pine-moon-BrLFK7kC.js")),"import")},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:s((()=>import("./slack-dark-CWRQmTmo.js")),"import")},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:s((()=>import("./slack-ochin-DO_ok7XK.js")),"import")},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:s((()=>import("./snazzy-light-B5llO_gK.js")),"import")},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:s((()=>import("./solarized-dark-G9yBjKj_.js")),"import")},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:s((()=>import("./solarized-light-DeSzljQz.js")),"import")},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:s((()=>import("./synthwave-84-DRVv-_m_.js")),"import")},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:s((()=>import("./tokyo-night-BvwC8l2v.js")),"import")},{id:"vesper",displayName:"Vesper",type:"dark",import:s((()=>import("./vesper--t9w6MWz.js")),"import")},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:s((()=>import("./vitesse-black-B_BYPdvp.js")),"import")},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:s((()=>import("./vitesse-dark-DOSOf2Sz.js")),"import")},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:s((()=>import("./vitesse-light-gUX51GpB.js")),"import")}],KD=Object.fromEntries(WD.map(e=>[e.id,e.import]));class Ks extends Error{static{s(this,"ShikiError")}constructor(t){super(t),this.name="ShikiError"}}function QD(){return 2147483648}s(QD,"getHeapMax");function XD(){return typeof performance<"u"?performance.now():Date.now()}s(XD,"_emscripten_get_now");const JD=s((e,t)=>e+(t-e%t)%t,"alignUp");async function ZD(e){let t,n;const r={};function i(p){n=p,r.HEAPU8=new Uint8Array(p),r.HEAPU32=new Uint32Array(p)}s(i,"updateGlobalBufferAndViews");function u(p,g,E){r.HEAPU8.copyWithin(p,g,g+E)}s(u,"_emscripten_memcpy_big");function a(p){try{return t.grow(p-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}s(a,"emscripten_realloc_buffer");function o(p){const g=r.HEAPU8.length;p=p>>>0;const E=QD();if(p>E)return!1;for(let D=1;D<=4;D*=2){let A=g*(1+.2/D);A=Math.min(A,p+100663296);const C=Math.min(E,JD(Math.max(p,A),65536));if(a(C))return!0}return!1}s(o,"_emscripten_resize_heap");const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(p,g,E=1024){const D=g+E;let A=g;for(;p[A]&&!(A>=D);)++A;if(A-g>16&&p.buffer&&l)return l.decode(p.subarray(g,A));let C="";for(;g<A;){let T=p[g++];if(!(T&128)){C+=String.fromCharCode(T);continue}const I=p[g++]&63;if((T&224)===192){C+=String.fromCharCode((T&31)<<6|I);continue}const v=p[g++]&63;if((T&240)===224?T=(T&15)<<12|I<<6|v:T=(T&7)<<18|I<<12|v<<6|p[g++]&63,T<65536)C+=String.fromCharCode(T);else{const _=T-65536;C+=String.fromCharCode(55296|_>>10,56320|_&1023)}}return C}s(c,"UTF8ArrayToString");function f(p,g){return p?c(r.HEAPU8,p,g):""}s(f,"UTF8ToString");const h={emscripten_get_now:XD,emscripten_memcpy_big:u,emscripten_resize_heap:o,fd_write:s(()=>0,"fd_write")};async function m(){const g=await e({env:h,wasi_snapshot_preview1:h});t=g.memory,i(t.buffer),Object.assign(r,g),r.UTF8ToString=f}return s(m,"createWasm"),await m(),r}s(ZD,"main$b");var eC=Object.defineProperty,tC=s((e,t,n)=>t in e?eC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp"),Te=s((e,t,n)=>tC(e,typeof t!="symbol"?t+"":t,n),"__publicField");let be=null;function nC(e){throw new Ks(e.UTF8ToString(e.getLastOnigError()))}s(nC,"throwLastOnigError");class gs{static{s(this,"UtfString")}constructor(t){Te(this,"utf16Length"),Te(this,"utf8Length"),Te(this,"utf16Value"),Te(this,"utf8Value"),Te(this,"utf16OffsetToUtf8"),Te(this,"utf8OffsetToUtf16");const n=t.length,r=gs._utf8ByteLength(t),i=r!==n,u=i?new Uint32Array(n+1):null;i&&(u[n]=r);const a=i?new Uint32Array(r+1):null;i&&(a[r]=n);const o=new Uint8Array(r);let l=0;for(let c=0;c<n;c++){const f=t.charCodeAt(c);let h=f,m=!1;if(f>=55296&&f<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(h=(f-55296<<10)+65536|p-56320,m=!0)}i&&(u[c]=l,m&&(u[c+1]=l),h<=127?a[l+0]=c:h<=2047?(a[l+0]=c,a[l+1]=c):h<=65535?(a[l+0]=c,a[l+1]=c,a[l+2]=c):(a[l+0]=c,a[l+1]=c,a[l+2]=c,a[l+3]=c)),h<=127?o[l++]=h:h<=2047?(o[l++]=192|(h&1984)>>>6,o[l++]=128|(h&63)>>>0):h<=65535?(o[l++]=224|(h&61440)>>>12,o[l++]=128|(h&4032)>>>6,o[l++]=128|(h&63)>>>0):(o[l++]=240|(h&1835008)>>>18,o[l++]=128|(h&258048)>>>12,o[l++]=128|(h&4032)>>>6,o[l++]=128|(h&63)>>>0),m&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=o,this.utf16OffsetToUtf8=u,this.utf8OffsetToUtf16=a}static _utf8ByteLength(t){let n=0;for(let r=0,i=t.length;r<i;r++){const u=t.charCodeAt(r);let a=u,o=!1;if(u>=55296&&u<=56319&&r+1<i){const l=t.charCodeAt(r+1);l>=56320&&l<=57343&&(a=(u-55296<<10)+65536|l-56320,o=!0)}a<=127?n+=1:a<=2047?n+=2:a<=65535?n+=3:n+=4,o&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const di=class Et{static{s(this,"_OnigString2")}constructor(t){if(Te(this,"id",++Et.LAST_ID),Te(this,"_onigBinding"),Te(this,"content"),Te(this,"utf16Length"),Te(this,"utf8Length"),Te(this,"utf16OffsetToUtf8"),Te(this,"utf8OffsetToUtf16"),Te(this,"ptr"),!be)throw new Ks("Must invoke loadWasm first.");this._onigBinding=be,this.content=t;const n=new gs(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Et._sharedPtrInUse?(Et._sharedPtr||(Et._sharedPtr=be.omalloc(1e4)),Et._sharedPtrInUse=!0,be.HEAPU8.set(n.utf8Value,Et._sharedPtr),this.ptr=Et._sharedPtr):this.ptr=n.createString(be)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Et._sharedPtr?Et._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Te(di,"LAST_ID",0),Te(di,"_sharedPtr",0),Te(di,"_sharedPtrInUse",!1);let gc=di;class rC{static{s(this,"OnigScanner")}constructor(t){if(Te(this,"_onigBinding"),Te(this,"_ptr"),!be)throw new Ks("Must invoke loadWasm first.");const n=[],r=[];for(let o=0,l=t.length;o<l;o++){const c=new gs(t[o]);n[o]=c.createString(be),r[o]=c.utf8Length}const i=be.omalloc(4*t.length);be.HEAPU32.set(n,i/4);const u=be.omalloc(4*t.length);be.HEAPU32.set(r,u/4);const a=be.createOnigScanner(i,u,t.length);for(let o=0,l=t.length;o<l;o++)be.ofree(n[o]);be.ofree(u),be.ofree(i),a===0&&nC(be),this._onigBinding=be,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let i=0;if(typeof r=="number"&&(i=r),typeof t=="string"){t=new gc(t);const u=this._findNextMatchSync(t,n,!1,i);return t.dispose(),u}return this._findNextMatchSync(t,n,!1,i)}_findNextMatchSync(t,n,r,i){const u=this._onigBinding,a=u.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),i);if(a===0)return null;const o=u.HEAPU32;let l=a/4;const c=o[l++],f=o[l++],h=[];for(let m=0;m<f;m++){const p=t.convertUtf8OffsetToUtf16(o[l++]),g=t.convertUtf8OffsetToUtf16(o[l++]);h[m]={start:p,end:g,length:g-p}}return{index:c,captureIndices:h}}}function iC(e){return typeof e.instantiator=="function"}s(iC,"isInstantiatorOptionsObject");function sC(e){return typeof e.default=="function"}s(sC,"isInstantiatorModule");function uC(e){return typeof e.data<"u"}s(uC,"isDataOptionsObject");function aC(e){return typeof Response<"u"&&e instanceof Response}s(aC,"isResponse");function oC(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}s(oC,"isArrayBuffer");let pi;function lC(e){if(pi)return pi;async function t(){be=await ZD(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),iC(r)?r=await r.instantiator(n):sC(r)?r=await r.default(n):(uC(r)&&(r=r.data),aC(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await cC(r)(n):r=await hC(r)(n):oC(r)?r=await Qs(r)(n):r instanceof WebAssembly.Module?r=await Qs(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Qs(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return s(t,"_load"),pi=t(),pi}s(lC,"loadWasm");function Qs(e){return t=>WebAssembly.instantiate(e,t)}s(Qs,"_makeArrayBufferLoader");function cC(e){return t=>WebAssembly.instantiateStreaming(e,t)}s(cC,"_makeResponseStreamingLoader");function hC(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}s(hC,"_makeResponseNonStreamingLoader");async function fC(e){return e&&await lC(e),{createScanner(t){return new rC(t.map(n=>typeof n=="string"?n:n.source))},createString(t){return new gc(t)}}}s(fC,"createOnigurumaEngine");const dC=zD({langs:mc,themes:KD,engine:s(()=>fC(import("./wasm-CiQ5tcoN.js")),"engine")}),{getSingletonHighlighter:pC}=jD(dC,{guessEmbeddedLanguages:sD}),Ct=s((function(e){if(e==null)return AC;if(typeof e=="function")return mi(e);if(typeof e=="object")return Array.isArray(e)?mC(e):gC(e);if(typeof e=="string")return EC(e);throw new Error("Expected function, string, or object as test")}),"convert");function mC(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ct(e[n]);return mi(r);function r(...i){let u=-1;for(;++u<t.length;)if(t[u].apply(this,i))return!0;return!1}}s(mC,"anyFactory$1");function gC(e){const t=e;return mi(n);function n(r){const i=r;let u;for(u in e)if(i[u]!==t[u])return!1;return!0}}s(gC,"propsFactory");function EC(e){return mi(t);function t(n){return n&&n.type===e}}s(EC,"typeFactory");function mi(e){return t;function t(n,r,i){return!!(DC(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}s(mi,"castFactory$1");function AC(){return!0}s(AC,"ok$1");function DC(e){return e!==null&&typeof e=="object"&&"type"in e}s(DC,"looksLikeANode");function Zx(e){return e}s(Zx,"color");const Ec=[],Ve=!0,Pe=!1,gi="skip";function Xs(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const u=Ct(i),a=r?-1:1;o(e,void 0,[])();function o(l,c,f){const h=l&&typeof l=="object"?l:{};if(typeof h.type=="string"){const p=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return m;function m(){let p=Ec,g,E,D;if((!t||u(l,c,f[f.length-1]||void 0))&&(p=CC(n(l,f)),p[0]===Pe))return p;if("children"in l&&l.children){const A=l;if(A.children&&p[0]!==gi)for(E=(r?A.children.length:-1)+a,D=f.concat(A);E>-1&&E<A.children.length;){const C=A.children[E];if(g=o(C,E,D)(),g[0]===Pe)return g;E=typeof g[1]=="number"?g[1]:E+a}}return p}}s(o,"factory")}s(Xs,"visitParents");function CC(e){return Array.isArray(e)?e:typeof e=="number"?[Ve,e]:e==null?Ec:[e]}s(CC,"toResult");function ae(e,t,n,r){let i,u,a;typeof t=="function"&&typeof n!="function"?(u=void 0,a=t,i=n):(u=t,a=n,i=r),Xs(e,u,o,i);function o(l,c){const f=c[c.length-1],h=f?f.children.indexOf(l):void 0;return a(l,h,f)}s(o,"overload")}s(ae,"visit$1");function Ac(e){return"children"in e?Dc(e):"value"in e?e.value:""}s(Ac,"toString$2");function yC(e){return e.type==="text"?e.value:"children"in e?Dc(e):""}s(yC,"one$3");function Dc(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=yC(e.children[t]);return n.join("")}s(Dc,"all$5");const TC={"tailing-curly-colon":s((e,t)=>{const n=Ac(t),r=n.match(/(.+)\{:([\w-]+)\}$/);if(r)return{type:"inline",code:r[1]??n,lang:r.at(2)}},"tailing-curly-colon")},Cc="language-",bC=s((e,t)=>{const n=t.children[0];if(!n||n.type!=="element"||n.tagName!=="code"||!n.properties)return;const r=n.properties.className,i=Array.isArray(r)?r.find(u=>typeof u=="string"&&u.startsWith(Cc)):void 0;return{type:"pre",lang:typeof i=="string"?i.slice(Cc.length):void 0,code:Ac(n),meta:n.data?.meta??n.properties.metastring?.toString()??""}},"PreHandler"),kC="language-";function SC(e,t){const{addLanguageClass:n=!1,parseMetaString:r,cache:i,defaultLanguage:u,fallbackLanguage:a,onError:o,stripEndNewline:l=!0,inline:c=!1,lazy:f=!1,...h}=t;function m(p,g,E="",D={}){const A=`${p}:${E}:${g}`,C=i?.get(A);if(C)return C;const T={...h,lang:p,meta:{...h.meta,...D,__raw:E}};n&&(T.transformers=[...T.transformers??[],{name:"rehype-shiki:code-language-class",code(I){return this.addClassToHast(I,`${kC}${p}`),I}}]),l&&g.endsWith(`
|
|
13
|
-
`)&&(g=g.slice(0,-1));try{const I=e.codeToHast(g,T);return i?.set(
|
|
11
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function zA(e,t,n,r){const i=r.schema,u=i.space==="svg"?!1:r.settings.omitOptionalTags;let a=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const o=[];let l;i.space==="html"&&e.tagName==="svg"&&(r.schema=ir);const c=jA(r,e.properties),f=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,f&&(a=!1),(c||!u||!PA(e,t,n))&&(o.push("<",e.tagName,c?" "+c:""),a&&(i.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&o.push(" "),o.push("/")),o.push(">")),o.push(f),!a&&(!u||!Us(e,t,n))&&o.push("</"+e.tagName+">"),o.join("")}s(zA,"element$4");function jA(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const u=YA(e,i,t[i]);u&&n.push(u)}}for(;++r<n.length;){const u=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&u!=='"'&&u!=="'"&&(n[r]+=" ")}return n.join("")}s(jA,"serializeAttributes");function YA(e,t,n){const r=Os(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,u=e.settings.allowDangerousCharacters?0:1;let a=e.quote,o;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=gn(r.attribute,Object.assign({},e.settings.characterReferences,{subset:ii.name[i][u]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?zl:Yl)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(o=gn(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:ii.unquoted[i][u]}))),o!==n&&(e.settings.quoteSmart&&ri(n,a)>ri(n,e.alternative)&&(a=e.alternative),o=a+gn(n,Object.assign({},e.settings.characterReferences,{subset:(a==="'"?ii.single:ii.double)[i][u],attribute:!0}))+a),l+(o&&"="+o))}s(YA,"serializeAttribute");const GA=["<","&"];function Jl(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:gn(e.value,Object.assign({},r.settings.characterReferences,{subset:GA}))}s(Jl,"text$7");function VA(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Jl(e,t,n,r)}s(VA,"raw$1");function WA(e,t,n,r){return r.all(e)}s(WA,"root$4");const KA=Rs("type",{invalid:QA,unknown:XA,handlers:{comment:CA,doctype:yA,element:zA,raw:VA,root:WA,text:Jl}});function QA(e){throw new Error("Expected node, not `"+e+"`")}s(QA,"invalid");function XA(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}s(XA,"unknown$1");const JA={},ZA={},eD=[];function Zl(e,t){const n=t||JA,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:tD,all:nD,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Fl,characterReferences:n.characterReferences||ZA,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?ir:ti,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}s(Zl,"toHtml");function tD(e,t,n){return KA(e,t,n,this)}s(tD,"one$4");function nD(e){const t=[],n=e&&e.children||eD;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}s(nD,"all$6");function si(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[i,u]of Object.entries(t?.colorReplacements||{}))typeof u=="string"?n[i]=u:i===r&&Object.assign(n,u);return n}s(si,"resolveColorReplacements");function Ft(e,t){return e&&(t?.[e?.toLowerCase()]||e)}s(Ft,"applyColorReplacements");function rD(e){return Array.isArray(e)?e:[e]}s(rD,"toArray");async function ec(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}s(ec,"normalizeGetter");function $s(e){return!e||["plaintext","txt","text","plain"].includes(e)}s($s,"isPlainLang");function qs(e){return e==="ansi"||$s(e)}s(qs,"isSpecialLang");function zs(e){return e==="none"}s(zs,"isNoneTheme");function tc(e){return zs(e)}s(tc,"isSpecialTheme");function nc(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}s(nc,"addClassToHast");function ui(e,t=!1){const n=e.split(/(\r?\n)/g);let r=0;const i=[];for(let u=0;u<n.length;u+=2){const a=t?n[u]+(n[u+1]||""):n[u];i.push([a,r]),r+=n[u].length,r+=n[u+1]?.length||0}return i}s(ui,"splitLines$1");function iD(e){const t=ui(e,!0).map(([i])=>i);function n(i){if(i===e.length)return{line:t.length-1,character:t[t.length-1].length};let u=i,a=0;for(const o of t){if(u<o.length)break;u-=o.length,a++}return{line:a,character:u}}s(n,"indexToPos");function r(i,u){let a=0;for(let o=0;o<i;o++)a+=t[o].length;return a+=u,a}return s(r,"posToIndex"),{lines:t,indexToPos:n,posToIndex:r}}s(iD,"createPositionConverter");function sD(e,t,n){const r=new Set;for(const u of e.matchAll(/lang=["']([\w-]+)["']/g))r.add(u[1]);for(const u of e.matchAll(/(?:```|~~~)([\w-]+)/g))r.add(u[1]);for(const u of e.matchAll(/\\begin\{([\w-]+)\}/g))r.add(u[1]);if(!n)return Array.from(r);const i=n.getBundledLanguages();return Array.from(r).filter(u=>u&&i[u])}s(sD,"guessEmbeddedLanguages");const js="light-dark()",uD=["color","background-color"];function aD(e,t){let n=0;const r=[];for(const i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}s(aD,"splitToken");function oD(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,i)=>r-i);return n.length?e.map(r=>r.flatMap(i=>{const u=n.filter(a=>i.offset<a&&a<i.offset+i.content.length).map(a=>a-i.offset).sort((a,o)=>a-o);return u.length?aD(i,u):i})):e}s(oD,"splitTokens");function lD(e,t,n,r,i="css-vars"){const u={content:e.content,explanation:e.explanation,offset:e.offset},a=t.map(f=>ai(e.variants[f])),o=new Set(a.flatMap(f=>Object.keys(f))),l={},c=s((f,h)=>{const m=h==="color"?"":h==="background-color"?"-bg":`-${h}`;return n+t[f]+(h==="color"?"":m)},"varKey");return a.forEach((f,h)=>{for(const m of o){const p=f[m]||"inherit";if(h===0&&r&&uD.includes(m))if(r===js&&a.length>1){const g=t.findIndex(C=>C==="light"),E=t.findIndex(C=>C==="dark");if(g===-1||E===-1)throw new Ee('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const A=a[g][m]||"inherit",D=a[E][m]||"inherit";l[m]=`light-dark(${A}, ${D})`,i==="css-vars"&&(l[c(h,m)]=p)}else l[m]=p;else i==="css-vars"&&(l[c(h,m)]=p)}}),u.htmlStyle=l,u}s(lD,"flatTokenVariants");function ai(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&we.Italic&&(t["font-style"]="italic"),e.fontStyle&we.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&we.Underline&&n.push("underline"),e.fontStyle&we.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}s(ai,"getTokenStyleObject");function Ys(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}s(Ys,"stringifyTokenStyle");const rc=new WeakMap;function oi(e,t){rc.set(e,t)}s(oi,"setLastGrammarStateToMap");function sr(e){return rc.get(e)}s(sr,"getLastGrammarStateFromMap");class qn{static{s(this,"GrammarState")}_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new qn(Object.fromEntries(rD(n).map(r=>[r,Ns])),t)}constructor(...t){if(t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,i]=t;this.lang=r,this._stacks={[i]:n}}}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return cD(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function cD(e){const t=[],n=new Set;function r(i){if(n.has(i))return;n.add(i);const u=i?.nameScopesList?.scopeName;u&&t.push(u),i.parent&&r(i.parent)}return s(r,"pushScope"),r(e),t}s(cD,"getScopes");function hD(e,t){if(!(e instanceof qn))throw new Ee("Invalid grammar state");return e.getInternalStack(t)}s(hD,"getGrammarStack");function fD(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=s(function(a){if(typeof a=="number"){if(a<0||a>n.source.length)throw new Ee(`Invalid decoration offset: ${a}. Code length: ${n.source.length}`);return{...i.indexToPos(a),offset:a}}else{const o=i.lines[a.line];if(o===void 0)throw new Ee(`Invalid decoration position ${JSON.stringify(a)}. Lines length: ${i.lines.length}`);let l=a.character;if(l<0&&(l=o.length+l),l<0||l>o.length)throw new Ee(`Invalid decoration position ${JSON.stringify(a)}. Line ${a.line} length: ${o.length}`);return{...a,character:l,offset:i.posToIndex(a.line,l)}}},"normalizePosition");const i=iD(n.source),u=(n.options.decorations||[]).map(a=>({...a,start:r(a.start),end:r(a.end)}));dD(u),e.set(n.meta,{decorations:u,converter:i,source:n.source})}return e.get(n.meta)}return s(t,"getContext"),{name:"shiki:decorations",tokens(n){if(!this.options.decorations?.length)return;const i=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return oD(n,i)},code(n){if(!this.options.decorations?.length)return;const r=t(this),i=Array.from(n.children).filter(f=>f.type==="element"&&f.tagName==="span");if(i.length!==r.converter.lines.length)throw new Ee(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function u(f,h,m,p){const g=i[f];let E="",A=-1,D=-1;if(h===0&&(A=0),m===0&&(D=0),m===Number.POSITIVE_INFINITY&&(D=g.children.length),A===-1||D===-1)for(let T=0;T<g.children.length;T++)E+=ic(g.children[T]),A===-1&&E.length===h&&(A=T+1),D===-1&&E.length===m&&(D=T+1);if(A===-1)throw new Ee(`Failed to find start index for decoration ${JSON.stringify(p.start)}`);if(D===-1)throw new Ee(`Failed to find end index for decoration ${JSON.stringify(p.end)}`);const C=g.children.slice(A,D);if(!p.alwaysWrap&&C.length===g.children.length)o(g,p,"line");else if(!p.alwaysWrap&&C.length===1&&C[0].type==="element")o(C[0],p,"token");else{const T={type:"element",tagName:"span",properties:{},children:C};o(T,p,"wrapper"),g.children.splice(A,C.length,T)}}s(u,"applyLineSection");function a(f,h){i[f]=o(i[f],h,"line")}s(a,"applyLine");function o(f,h,m){const p=h.properties||{},g=h.transform||(E=>E);return f.tagName=h.tagName||"span",f.properties={...f.properties,...p,class:f.properties.class},h.properties?.class&&nc(f,h.properties.class),f=g(f,m)||f,f}s(o,"applyDecoration");const l=[],c=r.decorations.sort((f,h)=>h.start.offset-f.start.offset||f.end.offset-h.end.offset);for(const f of c){const{start:h,end:m}=f;if(h.line===m.line)u(h.line,h.character,m.character,f);else if(h.line<m.line){u(h.line,h.character,Number.POSITIVE_INFINITY,f);for(let p=h.line+1;p<m.line;p++)l.unshift(()=>a(p,f));u(m.line,0,m.character,f)}}l.forEach(f=>f())}}}s(fD,"transformerDecorations");function dD(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new Ee(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const i=e[r],u=n.start.offset<=i.start.offset&&i.start.offset<n.end.offset,a=n.start.offset<i.end.offset&&i.end.offset<=n.end.offset,o=i.start.offset<=n.start.offset&&n.start.offset<i.end.offset,l=i.start.offset<n.end.offset&&n.end.offset<=i.end.offset;if(u||a||o||l){if(u&&a||o&&l||o&&n.start.offset===n.end.offset||a&&i.start.offset===i.end.offset)continue;throw new Ee(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(i.start)} intersect.`)}}}}s(dD,"verifyIntersections");function ic(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(ic).join(""):""}s(ic,"stringify$2");const pD=[fD()];function li(e){const t=mD(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...pD]}s(li,"getTransformers");function mD(e){const t=[],n=[],r=[];for(const i of e)switch(i.enforce){case"pre":t.push(i);break;case"post":n.push(i);break;default:r.push(i)}return{pre:t,post:n,normal:r}}s(mD,"sortTransformersByEnforcement");var qt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Gs={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function gD(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}s(gD,"findSequence");function sc(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}s(sc,"parseColor");function ED(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)Gs[r]&&t.push({type:"setDecoration",value:Gs[r]});else if(r<=29){const i=Gs[r-20];i&&(t.push({type:"resetDecoration",value:i}),i==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:qt[r-30]}});else if(r===38){const i=sc(e);i&&t.push({type:"setForegroundColor",value:i})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:qt[r-40]}});else if(r===48){const i=sc(e);i&&t.push({type:"setBackgroundColor",value:i})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:qt[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:qt[r-100+8]}})}return t}s(ED,"parseSequence");function AD(){let e=null,t=null,n=new Set;return{parse(r){const i=[];let u=0;do{const a=gD(r,u),o=a.sequence?r.substring(u,a.startPosition):r.substring(u);if(o.length>0&&i.push({value:o,foreground:e,background:t,decorations:new Set(n)}),a.sequence){const l=ED(a.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}u=a.position}while(u<r.length);return i}}}s(AD,"createAnsiSequenceParser");var DD={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function CD(e=DD){function t(o){return e[o]}s(t,"namedColor");function n(o){return`#${o.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}s(n,"rgbColor");let r;function i(){if(r)return r;r=[];for(let c=0;c<qt.length;c++)r.push(t(qt[c]));let o=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let f=0;f<6;f++)for(let h=0;h<6;h++)r.push(n([o[c],o[f],o[h]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}s(i,"getColorTable");function u(o){return i()[o]}s(u,"tableColor");function a(o){switch(o.type){case"named":return t(o.name);case"rgb":return n(o.rgb);case"table":return u(o.index)}}return s(a,"value"),{value:a}}s(CD,"createColorPalette");function yD(e,t,n){const r=si(e,n),i=ui(t),u=CD(Object.fromEntries(qt.map(o=>[o,e.colors?.[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),a=AD();return i.map(o=>a.parse(o[0]).map(l=>{let c,f;l.decorations.has("reverse")?(c=l.background?u.value(l.background):e.bg,f=l.foreground?u.value(l.foreground):e.fg):(c=l.foreground?u.value(l.foreground):e.fg,f=l.background?u.value(l.background):void 0),c=Ft(c,r),f=Ft(f,r),l.decorations.has("dim")&&(c=TD(c));let h=we.None;return l.decorations.has("bold")&&(h|=we.Bold),l.decorations.has("italic")&&(h|=we.Italic),l.decorations.has("underline")&&(h|=we.Underline),l.decorations.has("strikethrough")&&(h|=we.Strikethrough),{content:l.value,offset:o[1],color:c,bgColor:f,fontStyle:h}}))}s(yD,"tokenizeAnsiWithTheme");function TD(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}s(TD,"dimColor");function Vs(e,t,n={}){const{lang:r="text",theme:i=e.getLoadedThemes()[0]}=n;if($s(r)||zs(i))return ui(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:u,colorMap:a}=e.setTheme(i);if(r==="ansi")return yD(u,t,n);const o=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==o.name)throw new Ee(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(u.name))throw new Ee(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${u.name}"`)}return kD(t,o,u,a,n)}s(Vs,"codeToTokensBase");function bD(...e){if(e.length===2)return sr(e[1]);const[t,n,r={}]=e,{lang:i="text",theme:u=t.getLoadedThemes()[0]}=r;if($s(i)||zs(u))throw new Ee("Plain language does not have grammar state");if(i==="ansi")throw new Ee("ANSI language does not have grammar state");const{theme:a,colorMap:o}=t.setTheme(u),l=t.getLanguage(i);return new qn(ci(n,l,a,o,r).stateStack,l.name,a.name)}s(bD,"getLastGrammarState");function kD(e,t,n,r,i){const u=ci(e,t,n,r,i),a=new qn(ci(e,t,n,r,i).stateStack,t.name,n.name);return oi(u.tokens,a),u.tokens}s(kD,"tokenizeWithTheme");function ci(e,t,n,r,i){const u=si(n,i),{tokenizeMaxLineLength:a=0,tokenizeTimeLimit:o=500}=i,l=ui(e);let c=i.grammarState?hD(i.grammarState,n.name)??Ns:i.grammarContextCode!=null?ci(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:Ns,f=[];const h=[];for(let m=0,p=l.length;m<p;m++){const[g,E]=l[m];if(g===""){f=[],h.push([]);continue}if(a>0&&g.length>=a){f=[],h.push([{content:g,offset:E,color:"",fontStyle:0}]);continue}let A,D,C;i.includeExplanation&&(A=t.tokenizeLine(g,c,o),D=A.tokens,C=0);const T=t.tokenizeLine2(g,c,o),I=T.tokens.length/2;for(let v=0;v<I;v++){const _=T.tokens[2*v],L=v+1<I?T.tokens[2*v+2]:g.length;if(_===L)continue;const x=T.tokens[2*v+1],w=Ft(r[dn.getForeground(x)],u),F=dn.getFontStyle(x),q={content:g.substring(_,L),offset:E+_,color:w,fontStyle:F};if(i.includeExplanation){const M=[];if(i.includeExplanation!=="scopeName")for(const G of n.settings){let K;switch(typeof G.scope){case"string":K=G.scope.split(/,/).map(te=>te.trim());break;case"object":K=G.scope;break;default:continue}M.push({settings:G,selectors:K.map(te=>te.split(/ /))})}q.explanation=[];let Y=0;for(;_+Y<L;){const G=D[C],K=g.substring(G.startIndex,G.endIndex);Y+=K.length,q.explanation.push({content:K,scopes:i.includeExplanation==="scopeName"?SD(G.scopes):_D(M,G.scopes)}),C+=1}}f.push(q)}h.push(f),f=[],c=T.ruleStack}return{tokens:h,stateStack:c}}s(ci,"_tokenizeWithTheme");function SD(e){return e.map(t=>({scopeName:t}))}s(SD,"explainThemeScopesNameOnly");function _D(e,t){const n=[];for(let r=0,i=t.length;r<i;r++){const u=t[r];n[r]={scopeName:u,themeMatches:wD(e,u,t.slice(0,r))}}return n}s(_D,"explainThemeScopesFull");function uc(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}s(uc,"matchesOne");function BD(e,t,n){if(!uc(e[e.length-1],t))return!1;let r=e.length-2,i=n.length-1;for(;r>=0&&i>=0;)uc(e[r],n[i])&&(r-=1),i-=1;return r===-1}s(BD,"matches");function wD(e,t,n){const r=[];for(const{selectors:i,settings:u}of e)for(const a of i)if(BD(a,t,n)){r.push(u);break}return r}s(wD,"explainThemeScope");function ac(e,t,n){const r=Object.entries(n.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),i=r.map(l=>{const c=Vs(e,t,{...n,theme:l.theme}),f=sr(c),h=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:c,state:f,theme:h}}),u=FD(...i.map(l=>l.tokens)),a=u[0].map((l,c)=>l.map((f,h)=>{const m={content:f.content,variants:{},offset:f.offset};return"includeExplanation"in n&&n.includeExplanation&&(m.explanation=f.explanation),u.forEach((p,g)=>{const{content:E,explanation:A,offset:D,...C}=p[c][h];m.variants[r[g].color]=C}),m})),o=i[0].state?new qn(Object.fromEntries(i.map(l=>[l.theme,l.state?.getInternalStack(l.theme)])),i[0].state.lang):void 0;return o&&oi(a,o),a}s(ac,"codeToTokensWithThemes");function FD(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const i=e.map(l=>l[r]),u=t.map(()=>[]);t.forEach((l,c)=>l.push(u[c]));const a=i.map(()=>0),o=i.map(l=>l[0]);for(;o.every(l=>l);){const l=Math.min(...o.map(c=>c.content.length));for(let c=0;c<n;c++){const f=o[c];f.content.length===l?(u[c].push(f),a[c]+=1,o[c]=i[c][a[c]]):(u[c].push({...f,content:f.content.slice(0,l)}),o[c]={...f,content:f.content.slice(l),offset:f.offset+l})}}}return t}s(FD,"syncThemesTokenization");function hi(e,t,n){let r,i,u,a,o,l;if("themes"in n){const{defaultColor:c="light",cssVariablePrefix:f="--shiki-",colorsRendering:h="css-vars"}=n,m=Object.entries(n.themes).filter(D=>D[1]).map(D=>({color:D[0],theme:D[1]})).sort((D,C)=>D.color===c?-1:C.color===c?1:0);if(m.length===0)throw new Ee("`themes` option must not be empty");const p=ac(e,t,n);if(l=sr(p),c&&js!==c&&!m.find(D=>D.color===c))throw new Ee(`\`themes\` option must contain the defaultColor key \`${c}\``);const g=m.map(D=>e.getTheme(D.theme)),E=m.map(D=>D.color);u=p.map(D=>D.map(C=>lD(C,E,f,c,h))),l&&oi(u,l);const A=m.map(D=>si(D.theme,n));i=oc(m,g,A,f,c,"fg",h),r=oc(m,g,A,f,c,"bg",h),a=`shiki-themes ${g.map(D=>D.name).join(" ")}`,o=c?void 0:[i,r].join(";")}else if("theme"in n){const c=si(n.theme,n);u=Vs(e,t,n);const f=e.getTheme(n.theme);r=Ft(f.bg,c),i=Ft(f.fg,c),a=f.name,l=sr(u)}else throw new Ee("Invalid options, either `theme` or `themes` must be provided");return{tokens:u,fg:i,bg:r,themeName:a,rootStyle:o,grammarState:l}}s(hi,"codeToTokens");function oc(e,t,n,r,i,u,a){return e.map((o,l)=>{const c=Ft(t[l][u],n[l])||"inherit",f=`${r+o.color}${u==="bg"?"-bg":""}:${c}`;if(l===0&&i){if(i===js&&e.length>1){const h=e.findIndex(E=>E.color==="light"),m=e.findIndex(E=>E.color==="dark");if(h===-1||m===-1)throw new Ee('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const p=Ft(t[h][u],n[h])||"inherit",g=Ft(t[m][u],n[m])||"inherit";return`light-dark(${p}, ${g});${f}`}return c}return a==="css-vars"?f:null}).filter(o=>!!o).join(";")}s(oc,"mapThemeColors");function fi(e,t,n,r={meta:{},options:n,codeToHast:s((i,u)=>fi(e,i,u),"codeToHast"),codeToTokens:s((i,u)=>hi(e,i,u),"codeToTokens")}){let i=t;for(const g of li(n))i=g.preprocess?.call(r,i,n)||i;let{tokens:u,fg:a,bg:o,themeName:l,rootStyle:c,grammarState:f}=hi(e,i,n);const{mergeWhitespaces:h=!0,mergeSameStyleTokens:m=!1}=n;h===!0?u=xD(u):h==="never"&&(u=ID(u)),m&&(u=vD(u));const p={...r,get source(){return i}};for(const g of li(n))u=g.tokens?.call(p,u)||u;return ND(u,{...n,fg:a,bg:o,themeName:l,rootStyle:c},p,f)}s(fi,"codeToHast");function ND(e,t,n,r=sr(e)){const i=li(t),u=[],a={type:"root",children:[]},{structure:o="classic",tabindex:l="0"}=t;let c={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...l!==!1&&l!=null?{tabindex:l.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([g])=>!g.startsWith("_")))},children:[]},f={type:"element",tagName:"code",properties:{},children:u};const h=[],m={...n,structure:o,addClassToHast:nc,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return a},get pre(){return c},get code(){return f},get lines(){return h}};if(e.forEach((g,E)=>{E&&(o==="inline"?a.children.push({type:"element",tagName:"br",properties:{},children:[]}):o==="classic"&&u.push({type:"text",value:`
|
|
12
|
+
`}));let A={type:"element",tagName:"span",properties:{class:"line"},children:[]},D=0;for(const C of g){let T={type:"element",tagName:"span",properties:{...C.htmlAttrs},children:[{type:"text",value:C.content}]};const I=Ys(C.htmlStyle||ai(C));I&&(T.properties.style=I);for(const v of i)T=v?.span?.call(m,T,E+1,D,A,C)||T;o==="inline"?a.children.push(T):o==="classic"&&A.children.push(T),D+=C.content.length}if(o==="classic"){for(const C of i)A=C?.line?.call(m,A,E+1)||A;h.push(A),u.push(A)}}),o==="classic"){for(const g of i)f=g?.code?.call(m,f)||f;c.children.push(f);for(const g of i)c=g?.pre?.call(m,c)||c;a.children.push(c)}let p=a;for(const g of i)p=g?.root?.call(m,p)||p;return r&&oi(p,r),p}s(ND,"tokensToHast");function xD(e){return e.map(t=>{const n=[];let r="",i=0;return t.forEach((u,a)=>{const l=!(u.fontStyle&&(u.fontStyle&we.Underline||u.fontStyle&we.Strikethrough));l&&u.content.match(/^\s+$/)&&t[a+1]?(i||(i=u.offset),r+=u.content):r?(l?n.push({...u,offset:i,content:r+u.content}):n.push({content:r,offset:i},u),i=0,r=""):n.push(u)}),n})}s(xD,"mergeWhitespaceTokens");function ID(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,i,u,a]=r;if(!i&&!a)return n;const o=[{...n,offset:n.offset+i.length,content:u}];return i&&o.unshift({content:i,offset:n.offset}),a&&o.push({content:a,offset:n.offset+i.length+u.length}),o}))}s(ID,"splitWhitespaceTokens");function vD(e){return e.map(t=>{const n=[];for(const r of t){if(n.length===0){n.push({...r});continue}const i=n[n.length-1],u=Ys(i.htmlStyle||ai(i)),a=Ys(r.htmlStyle||ai(r)),o=i.fontStyle&&(i.fontStyle&we.Underline||i.fontStyle&we.Strikethrough),l=r.fontStyle&&(r.fontStyle&we.Underline||r.fontStyle&we.Strikethrough);!o&&!l&&u===a?i.content+=r.content:n.push({...r})}return n})}s(vD,"mergeAdjacentStyledTokens");const LD=Zl;function OD(e,t,n){const r={meta:{},options:n,codeToHast:s((u,a)=>fi(e,u,a),"codeToHast"),codeToTokens:s((u,a)=>hi(e,u,a),"codeToTokens")};let i=LD(fi(e,t,n,r));for(const u of li(n))i=u.postprocess?.call(r,i,n)||i;return i}s(OD,"codeToHtml");const lc={light:"#333333",dark:"#bbbbbb"},cc={light:"#fffffe",dark:"#1e1e1e"},hc="__shiki_resolved";function Ws(e){if(e?.[hc])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const o=t.settings?t.settings.find(l=>!l.name&&!l.scope):void 0;o?.settings?.foreground&&(r=o.settings.foreground),o?.settings?.background&&(n=o.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?lc.light:lc.dark),n||(n=t.type==="light"?cc.light:cc.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0;const u=new Map;function a(o){if(u.has(o))return u.get(o);i+=1;const l=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${l}`]?a(o):(u.set(o,l),l)}s(a,"getReplacementColor"),t.settings=t.settings.map(o=>{const l=o.settings?.foreground&&!o.settings.foreground.startsWith("#"),c=o.settings?.background&&!o.settings.background.startsWith("#");if(!l&&!c)return o;const f={...o,settings:{...o.settings}};if(l){const h=a(o.settings.foreground);t.colorReplacements[h]=o.settings.foreground,f.settings.foreground=h}if(c){const h=a(o.settings.background);t.colorReplacements[h]=o.settings.background,f.settings.background=h}return f});for(const o of Object.keys(t.colors||{}))if((o==="editor.foreground"||o==="editor.background"||o.startsWith("terminal.ansi"))&&!t.colors[o]?.startsWith("#")){const l=a(t.colors[o]);t.colorReplacements[l]=t.colors[o],t.colors[o]=l}return Object.defineProperty(t,hc,{enumerable:!1,writable:!1,value:!0}),t}s(Ws,"normalizeTheme");async function fc(e){return Array.from(new Set((await Promise.all(e.filter(t=>!qs(t)).map(async t=>await ec(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}s(fc,"resolveLangs");async function dc(e){return(await Promise.all(e.map(async n=>tc(n)?null:Ws(await ec(n))))).filter(n=>!!n)}s(dc,"resolveThemes");let RD=3;function PD(e,t=3){t>RD||console.trace(`[SHIKI DEPRECATE]: ${e}`)}s(PD,"warnDeprecated");let En=class extends Error{static{s(this,"ShikiError")}constructor(t){super(t),this.name="ShikiError"}};class MD extends V2{static{s(this,"Registry")}constructor(t,n,r,i={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=i,this._themes.map(u=>this.loadTheme(u)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const n=Ws(t);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=Kr.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new En(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars.get(t)}loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set([...this._langMap.values()].filter(u=>u.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const i=this.loadGrammarWithConfiguration(t.scopeName,1,r);if(i.name=t.name,this._resolvedGrammars.set(t.name,i),t.aliases&&t.aliases.forEach(u=>{this._alias[u]=t.name}),this._loadedLanguagesCache=null,n.size)for(const u of n)this._resolvedGrammars.delete(u.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(u.scopeName),this._syncRegistry?._grammars?.delete(u.scopeName),this.loadLanguage(this._langMap.get(u.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const i of t)this.resolveEmbeddedLanguages(i);const n=Array.from(this._langGraph.entries()),r=n.filter(([i,u])=>!u);if(r.length){const i=n.filter(([u,a])=>a&&a.embeddedLangs?.some(o=>r.map(([l])=>l).includes(o))).filter(u=>!r.includes(u));throw new En(`Missing languages ${r.map(([u])=>`\`${u}\``).join(", ")}, required by ${i.map(([u])=>`\`${u}\``).join(", ")}`)}for(const[i,u]of n)this._resolver.addLanguage(u);for(const[i,u]of n)this.loadLanguage(u)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap.set(t.name,t),this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap.get(n))}}class UD{static{s(this,"Resolver")}_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(t,n){this._onigLib={createOnigScanner:s(r=>t.createScanner(r),"createOnigScanner"),createOnigString:s(r=>t.createString(r),"createOnigString")},n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let i=1;i<=n.length;i++){const u=n.slice(0,i).join(".");r=[...r,...this._injections.get(u)||[]]}return r}}let ur=0;function HD(e){ur+=1,e.warnings!==!1&&ur>=10&&ur%10===0&&console.warn(`[Shiki] ${ur} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new En("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(Ws),i=new UD(e.engine,n),u=new MD(i,r,n,e.langAlias);let a;function o(C){A();const T=u.getGrammar(typeof C=="string"?C:C.name);if(!T)throw new En(`Language \`${C}\` not found, you may need to load it first`);return T}s(o,"getLanguage");function l(C){if(C==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};A();const T=u.getTheme(C);if(!T)throw new En(`Theme \`${C}\` not found, you may need to load it first`);return T}s(l,"getTheme");function c(C){A();const T=l(C);a!==C&&(u.setTheme(T),a=C);const I=u.getColorMap();return{theme:T,colorMap:I}}s(c,"setTheme");function f(){return A(),u.getLoadedThemes()}s(f,"getLoadedThemes");function h(){return A(),u.getLoadedLanguages()}s(h,"getLoadedLanguages");function m(...C){A(),u.loadLanguages(C.flat(1))}s(m,"loadLanguageSync");async function p(...C){return m(await fc(C))}s(p,"loadLanguage");function g(...C){A();for(const T of C.flat(1))u.loadTheme(T)}s(g,"loadThemeSync");async function E(...C){return A(),g(await dc(C))}s(E,"loadTheme");function A(){if(t)throw new En("Shiki instance has been disposed")}s(A,"ensureNotDisposed");function D(){t||(t=!0,u.dispose(),ur-=1)}return s(D,"dispose"),{setTheme:c,getTheme:l,getLanguage:o,getLoadedThemes:f,getLoadedLanguages:h,loadLanguage:p,loadLanguageSync:m,loadTheme:E,loadThemeSync:g,dispose:D,[Symbol.dispose]:D}}s(HD,"createShikiInternalSync");async function $D(e){e.engine||PD("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([dc(e.themes||[]),fc(e.langs||[]),e.engine]);return HD({...e,themes:t,langs:n,engine:r})}s($D,"createShikiInternal");async function qD(e){const t=await $D(e);return{getLastGrammarState:s((...n)=>bD(t,...n),"getLastGrammarState"),codeToTokensBase:s((n,r)=>Vs(t,n,r),"codeToTokensBase"),codeToTokensWithThemes:s((n,r)=>ac(t,n,r),"codeToTokensWithThemes"),codeToTokens:s((n,r)=>hi(t,n,r),"codeToTokens"),codeToHast:s((n,r)=>fi(t,n,r),"codeToHast"),codeToHtml:s((n,r)=>OD(t,n,r),"codeToHtml"),getBundledLanguages:s(()=>({}),"getBundledLanguages"),getBundledThemes:s(()=>({}),"getBundledThemes"),...t,getInternalContext:s(()=>t,"getInternalContext")}}s(qD,"createHighlighterCore");function zD(e){const t=e.langs,n=e.themes,r=e.engine;async function i(u){function a(h){if(typeof h=="string"){if(qs(h))return[];h=u.langAlias?.[h]||h;const m=t[h];if(!m)throw new Ee(`Language \`${h}\` is not included in this bundle. You may want to load it from external source.`);return m}return h}s(a,"resolveLang");function o(h){if(tc(h))return"none";if(typeof h=="string"){const m=n[h];if(!m)throw new Ee(`Theme \`${h}\` is not included in this bundle. You may want to load it from external source.`);return m}return h}s(o,"resolveTheme");const l=(u.themes??[]).map(h=>o(h)),c=(u.langs??[]).map(h=>a(h)),f=await qD({engine:u.engine??r(),...u,themes:l,langs:c});return{...f,loadLanguage(...h){return f.loadLanguage(...h.map(a))},loadTheme(...h){return f.loadTheme(...h.map(o))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return s(i,"createHighlighter"),i}s(zD,"createdBundledHighlighter");function jD(e){let t;async function n(r={}){if(t){const i=await t;return await Promise.all([i.loadTheme(...r.themes||[]),i.loadLanguage(...r.langs||[])]),i}else return t=e({...r,themes:r.themes||[],langs:r.langs||[]}),t}return s(n,"getSingletonHighlighter"),n}s(jD,"makeSingletonHighlighter");function YD(e,t){const n=jD(e);async function r(i,u){const a=await n({langs:[u.lang],themes:"theme"in u?[u.theme]:Object.values(u.themes)}),o=await t?.guessEmbeddedLanguages?.(i,u.lang,a);return o&&await a.loadLanguage(...o),a}return s(r,"get"),{getSingletonHighlighter(i){return n(i)},async codeToHtml(i,u){return(await r(i,u)).codeToHtml(i,u)},async codeToHast(i,u){return(await r(i,u)).codeToHast(i,u)},async codeToTokens(i,u){return(await r(i,u)).codeToTokens(i,u)},async codeToTokensBase(i,u){return(await r(i,u)).codeToTokensBase(i,u)},async codeToTokensWithThemes(i,u){return(await r(i,u)).codeToTokensWithThemes(i,u)},async getLastGrammarState(i,u){return(await n({langs:[u.lang],themes:[u.theme]})).getLastGrammarState(i,u)}}}s(YD,"createSingletonShorthands");const pc=[{id:"abap",name:"ABAP",import:s((()=>import("./abap-Dg923wIy.js")),"import")},{id:"actionscript-3",name:"ActionScript",import:s((()=>import("./actionscript-3-BBttMYlr.js")),"import")},{id:"ada",name:"Ada",import:s((()=>import("./ada-CTi7YQtL.js")),"import")},{id:"angular-html",name:"Angular HTML",import:s((()=>import("./angular-html-iVPjtFUl.js").then(function(e){return e.f})),"import")},{id:"angular-ts",name:"Angular TypeScript",import:s((()=>import("./angular-ts-BKg3bTQb.js")),"import")},{id:"apache",name:"Apache Conf",import:s((()=>import("./apache-PcO-DBxQ.js")),"import")},{id:"apex",name:"Apex",import:s((()=>import("./apex-CAdK1_om.js")),"import")},{id:"apl",name:"APL",import:s((()=>import("./apl-g4BCQ2TF.js")),"import")},{id:"applescript",name:"AppleScript",import:s((()=>import("./applescript-BWh8DkcF.js")),"import")},{id:"ara",name:"Ara",import:s((()=>import("./ara-C1--7J61.js")),"import")},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:s((()=>import("./asciidoc-CkWYjVYI.js")),"import")},{id:"asm",name:"Assembly",import:s((()=>import("./asm-CTFRnVOM.js")),"import")},{id:"astro",name:"Astro",import:s((()=>import("./astro-CF5eGqSt.js")),"import")},{id:"awk",name:"AWK",import:s((()=>import("./awk-CrWgQKhV.js")),"import")},{id:"ballerina",name:"Ballerina",import:s((()=>import("./ballerina-a0yOSyc5.js")),"import")},{id:"bat",name:"Batch File",aliases:["batch"],import:s((()=>import("./bat-B0cHNp6s.js")),"import")},{id:"beancount",name:"Beancount",import:s((()=>import("./beancount-BHV8xfbc.js")),"import")},{id:"berry",name:"Berry",aliases:["be"],import:s((()=>import("./berry-DhTecnR4.js")),"import")},{id:"bibtex",name:"BibTeX",import:s((()=>import("./bibtex-DRcCXNgM.js")),"import")},{id:"bicep",name:"Bicep",import:s((()=>import("./bicep-DVED13jH.js")),"import")},{id:"blade",name:"Blade",import:s((()=>import("./blade-RMLjeQ1G.js")),"import")},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:s((()=>import("./bsl-C7rNYC9b.js")),"import")},{id:"c",name:"C",import:s((()=>import("./c-BG-tZi7o.js")),"import")},{id:"cadence",name:"Cadence",aliases:["cdc"],import:s((()=>import("./cadence-BPAoxb6m.js")),"import")},{id:"cairo",name:"Cairo",import:s((()=>import("./cairo-BHkUC1B6.js")),"import")},{id:"clarity",name:"Clarity",import:s((()=>import("./clarity-Bltd35po.js")),"import")},{id:"clojure",name:"Clojure",aliases:["clj"],import:s((()=>import("./clojure-KnfDkB_V.js")),"import")},{id:"cmake",name:"CMake",import:s((()=>import("./cmake-bh2MLnkv.js")),"import")},{id:"cobol",name:"COBOL",import:s((()=>import("./cobol-Bf8IMir1.js")),"import")},{id:"codeowners",name:"CODEOWNERS",import:s((()=>import("./codeowners-CtwIM3TN.js")),"import")},{id:"codeql",name:"CodeQL",aliases:["ql"],import:s((()=>import("./codeql-D164juXQ.js")),"import")},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:s((()=>import("./coffee-BXbdB5_C.js")),"import")},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:s((()=>import("./common-lisp-DXc9XcIM.js")),"import")},{id:"coq",name:"Coq",import:s((()=>import("./coq-BCSFDxg0.js")),"import")},{id:"cpp",name:"C++",aliases:["c++"],import:s((()=>import("./cpp-CTmscSNZ.js")),"import")},{id:"crystal",name:"Crystal",import:s((()=>import("./crystal-DEdrGRnk.js")),"import")},{id:"csharp",name:"C#",aliases:["c#","cs"],import:s((()=>import("./csharp-DxSJuWE2.js")),"import")},{id:"css",name:"CSS",import:s((()=>import("./css-PZBBrkI0.js")),"import")},{id:"csv",name:"CSV",import:s((()=>import("./csv-D5aBhKLr.js")),"import")},{id:"cue",name:"CUE",import:s((()=>import("./cue-WCin6O4e.js")),"import")},{id:"cypher",name:"Cypher",aliases:["cql"],import:s((()=>import("./cypher-DYQk2G82.js")),"import")},{id:"d",name:"D",import:s((()=>import("./d-DVc-yF-l.js")),"import")},{id:"dart",name:"Dart",import:s((()=>import("./dart-YLd5yyRs.js")),"import")},{id:"dax",name:"DAX",import:s((()=>import("./dax-oldcCaJg.js")),"import")},{id:"desktop",name:"Desktop",import:s((()=>import("./desktop-DZfyBMgF.js")),"import")},{id:"diff",name:"Diff",import:s((()=>import("./diff-jW5kmiru.js")),"import")},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:s((()=>import("./docker-DG9neUKd.js")),"import")},{id:"dotenv",name:"dotEnv",import:s((()=>import("./dotenv-Bea-FkXq.js")),"import")},{id:"dream-maker",name:"Dream Maker",import:s((()=>import("./dream-maker-DAHQwpwp.js")),"import")},{id:"edge",name:"Edge",import:s((()=>import("./edge-BPFoVtS2.js")),"import")},{id:"elixir",name:"Elixir",import:s((()=>import("./elixir-DEMlMakD.js")),"import")},{id:"elm",name:"Elm",import:s((()=>import("./elm-DzXNHNQT.js")),"import")},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:s((()=>import("./emacs-lisp-BdGsgvrR.js")),"import")},{id:"erb",name:"ERB",import:s((()=>import("./erb-GeVfC8aT.js")),"import")},{id:"erlang",name:"Erlang",aliases:["erl"],import:s((()=>import("./erlang-Jhp2iHYS.js")),"import")},{id:"fennel",name:"Fennel",import:s((()=>import("./fennel-BH6gVCng.js")),"import")},{id:"fish",name:"Fish",import:s((()=>import("./fish-BJm4aL2J.js")),"import")},{id:"fluent",name:"Fluent",aliases:["ftl"],import:s((()=>import("./fluent-Bwo2XpEt.js")),"import")},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:s((()=>import("./fortran-fixed-form-BveFL83Q.js")),"import")},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:s((()=>import("./fortran-free-form-CxgVQ5YQ.js")),"import")},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:s((()=>import("./fsharp-uL2Rv0Hs.js")),"import")},{id:"gdresource",name:"GDResource",import:s((()=>import("./gdresource-D9Lk-biZ.js")),"import")},{id:"gdscript",name:"GDScript",import:s((()=>import("./gdscript-AcTSlgpe.js")),"import")},{id:"gdshader",name:"GDShader",import:s((()=>import("./gdshader-G7X6ysY3.js")),"import")},{id:"genie",name:"Genie",import:s((()=>import("./genie-DSsjfZMX.js")),"import")},{id:"gherkin",name:"Gherkin",import:s((()=>import("./gherkin-Cbsyuvab.js")),"import")},{id:"git-commit",name:"Git Commit Message",import:s((()=>import("./git-commit-CesLaiSz.js")),"import")},{id:"git-rebase",name:"Git Rebase Message",import:s((()=>import("./git-rebase-B9wKr8Mu.js")),"import")},{id:"gleam",name:"Gleam",import:s((()=>import("./gleam-BeBqoPwE.js")),"import")},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:s((()=>import("./glimmer-js-DRyix6l9.js")),"import")},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:s((()=>import("./glimmer-ts-CylxYpT2.js")),"import")},{id:"glsl",name:"GLSL",import:s((()=>import("./glsl-CJ5UNUz7.js")),"import")},{id:"gnuplot",name:"Gnuplot",import:s((()=>import("./gnuplot-CtW3R_Hz.js")),"import")},{id:"go",name:"Go",import:s((()=>import("./go-CPYJReqS.js")),"import")},{id:"graphql",name:"GraphQL",aliases:["gql"],import:s((()=>import("./graphql-CmjpXrhO.js")),"import")},{id:"groovy",name:"Groovy",import:s((()=>import("./groovy-DFxE31Qs.js")),"import")},{id:"hack",name:"Hack",import:s((()=>import("./hack-C9-UExIE.js")),"import")},{id:"haml",name:"Ruby Haml",import:s((()=>import("./haml-CvhbEpEE.js")),"import")},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:s((()=>import("./handlebars-BVpMPa9B.js")),"import")},{id:"haskell",name:"Haskell",aliases:["hs"],import:s((()=>import("./haskell-CeCR1-Hh.js")),"import")},{id:"haxe",name:"Haxe",import:s((()=>import("./haxe-DVIybFAS.js")),"import")},{id:"hcl",name:"HashiCorp HCL",import:s((()=>import("./hcl-B6OePqme.js")),"import")},{id:"hjson",name:"Hjson",import:s((()=>import("./hjson-D2jn7IRw.js")),"import")},{id:"hlsl",name:"HLSL",import:s((()=>import("./hlsl-MKeth5V9.js")),"import")},{id:"html",name:"HTML",import:s((()=>import("./html-DrEFKcLn.js")),"import")},{id:"html-derivative",name:"HTML (Derivative)",import:s((()=>import("./html-derivative-BA9ziz_o.js")),"import")},{id:"http",name:"HTTP",import:s((()=>import("./http-BXwIKOAP.js")),"import")},{id:"hxml",name:"HXML",import:s((()=>import("./hxml-BdTS9Zj7.js")),"import")},{id:"hy",name:"Hy",import:s((()=>import("./hy-BZMqGtQj.js")),"import")},{id:"imba",name:"Imba",import:s((()=>import("./imba-D-Pk5S0X.js")),"import")},{id:"ini",name:"INI",aliases:["properties"],import:s((()=>import("./ini-Dix3pTmg.js")),"import")},{id:"java",name:"Java",import:s((()=>import("./java-BTDmaRNO.js")),"import")},{id:"javascript",name:"JavaScript",aliases:["js"],import:s((()=>import("./javascript-D6hERjLg.js")),"import")},{id:"jinja",name:"Jinja",import:s((()=>import("./jinja-BvQotP7z.js")),"import")},{id:"jison",name:"Jison",import:s((()=>import("./jison-C982ZPQJ.js")),"import")},{id:"json",name:"JSON",import:s((()=>import("./json-B8JryHcM.js")),"import")},{id:"json5",name:"JSON5",import:s((()=>import("./json5-Cdatmj9n.js")),"import")},{id:"jsonc",name:"JSON with Comments",import:s((()=>import("./jsonc-CvUCa1o5.js")),"import")},{id:"jsonl",name:"JSON Lines",import:s((()=>import("./jsonl-9I_GBd5L.js")),"import")},{id:"jsonnet",name:"Jsonnet",import:s((()=>import("./jsonnet-XoenQ2oc.js")),"import")},{id:"jssm",name:"JSSM",aliases:["fsl"],import:s((()=>import("./jssm-CWE2S0Z5.js")),"import")},{id:"jsx",name:"JSX",import:s((()=>import("./jsx-8cLv2Six.js")),"import")},{id:"julia",name:"Julia",aliases:["jl"],import:s((()=>import("./julia-CxLCF6Q_.js")),"import")},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:s((()=>import("./kotlin-BQy537ds.js")),"import")},{id:"kusto",name:"Kusto",aliases:["kql"],import:s((()=>import("./kusto-BY2OSndo.js")),"import")},{id:"latex",name:"LaTeX",import:s((()=>import("./latex-DpYz9fe0.js")),"import")},{id:"lean",name:"Lean 4",aliases:["lean4"],import:s((()=>import("./lean-BXLkh4aH.js")),"import")},{id:"less",name:"Less",import:s((()=>import("./less-CaoNcwlE.js")),"import")},{id:"liquid",name:"Liquid",import:s((()=>import("./liquid-Drq3BmZw.js")),"import")},{id:"llvm",name:"LLVM IR",import:s((()=>import("./llvm-yfuVFSHy.js")),"import")},{id:"log",name:"Log file",import:s((()=>import("./log-CcaF_xNv.js")),"import")},{id:"logo",name:"Logo",import:s((()=>import("./logo-D9WQLoKQ.js")),"import")},{id:"lua",name:"Lua",import:s((()=>import("./lua-DRivoEBK.js")),"import")},{id:"luau",name:"Luau",import:s((()=>import("./luau-BYt3hdDQ.js")),"import")},{id:"make",name:"Makefile",aliases:["makefile"],import:s((()=>import("./make-DXVx14cr.js")),"import")},{id:"markdown",name:"Markdown",aliases:["md"],import:s((()=>import("./markdown-DX-TNHnc.js")),"import")},{id:"marko",name:"Marko",import:s((()=>import("./marko-B-pIK77B.js")),"import")},{id:"matlab",name:"MATLAB",import:s((()=>import("./matlab-DzreyMvm.js")),"import")},{id:"mdc",name:"MDC",import:s((()=>import("./mdc-D924eyGv.js")),"import")},{id:"mdx",name:"MDX",import:s((()=>import("./mdx-C2fqO2XY.js")),"import")},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:s((()=>import("./mermaid-7cTodO_4.js")),"import")},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:s((()=>import("./mipsasm-yE_Aqo9y.js")),"import")},{id:"mojo",name:"Mojo",import:s((()=>import("./mojo-BzW6XcPi.js")),"import")},{id:"move",name:"Move",import:s((()=>import("./move-CWzLDnIf.js")),"import")},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:s((()=>import("./narrat-DXUZ_ZkW.js")),"import")},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:s((()=>import("./nextflow-pQFAKpIi.js")),"import")},{id:"nginx",name:"Nginx",import:s((()=>import("./nginx-DE9vInot.js")),"import")},{id:"nim",name:"Nim",import:s((()=>import("./nim-DwvSYsvx.js")),"import")},{id:"nix",name:"Nix",import:s((()=>import("./nix-BOArPPpn.js")),"import")},{id:"nushell",name:"nushell",aliases:["nu"],import:s((()=>import("./nushell-Bq8mR-cv.js")),"import")},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:s((()=>import("./objective-c-BoaBTdtz.js")),"import")},{id:"objective-cpp",name:"Objective-C++",import:s((()=>import("./objective-cpp-DstR8hNy.js")),"import")},{id:"ocaml",name:"OCaml",import:s((()=>import("./ocaml-DTbn2Hv7.js")),"import")},{id:"pascal",name:"Pascal",import:s((()=>import("./pascal-Sr-XLSE6.js")),"import")},{id:"perl",name:"Perl",import:s((()=>import("./perl-FQhqnAQG.js")),"import")},{id:"php",name:"PHP",import:s((()=>import("./php-f7HuyuS7.js")),"import")},{id:"plsql",name:"PL/SQL",import:s((()=>import("./plsql-Dbm3tV2N.js")),"import")},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:s((()=>import("./po-LG0lFwH4.js")),"import")},{id:"polar",name:"Polar",import:s((()=>import("./polar-DjOs3GWb.js")),"import")},{id:"postcss",name:"PostCSS",import:s((()=>import("./postcss-GRRkWn2F.js")),"import")},{id:"powerquery",name:"PowerQuery",import:s((()=>import("./powerquery-DHf-dtTS.js")),"import")},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:s((()=>import("./powershell-CubgGmZX.js")),"import")},{id:"prisma",name:"Prisma",import:s((()=>import("./prisma-Dgf8IN_C.js")),"import")},{id:"prolog",name:"Prolog",import:s((()=>import("./prolog-9JcfiY6I.js")),"import")},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:s((()=>import("./proto-DryqT1TG.js")),"import")},{id:"pug",name:"Pug",aliases:["jade"],import:s((()=>import("./pug-HjbWpWEJ.js")),"import")},{id:"puppet",name:"Puppet",import:s((()=>import("./puppet-B4ctDsrh.js")),"import")},{id:"purescript",name:"PureScript",import:s((()=>import("./purescript-B-mlhevv.js")),"import")},{id:"python",name:"Python",aliases:["py"],import:s((()=>import("./python-B6Ihcp-E.js")),"import")},{id:"qml",name:"QML",import:s((()=>import("./qml-CCxwROxb.js")),"import")},{id:"qmldir",name:"QML Directory",import:s((()=>import("./qmldir-DXd9s5XC.js")),"import")},{id:"qss",name:"Qt Style Sheets",import:s((()=>import("./qss-B7NnhfIi.js")),"import")},{id:"r",name:"R",import:s((()=>import("./r-B3H3vY3E.js")),"import")},{id:"racket",name:"Racket",import:s((()=>import("./racket-CrxT4k8p.js")),"import")},{id:"raku",name:"Raku",aliases:["perl6"],import:s((()=>import("./raku-B9ngR1rt.js")),"import")},{id:"razor",name:"ASP.NET Razor",import:s((()=>import("./razor-DSsteyd0.js")),"import")},{id:"reg",name:"Windows Registry Script",import:s((()=>import("./reg-Cvyu2Gnx.js")),"import")},{id:"regexp",name:"RegExp",aliases:["regex"],import:s((()=>import("./regexp-DK-WlHNu.js")),"import")},{id:"rel",name:"Rel",import:s((()=>import("./rel-CYd0g8C5.js")),"import")},{id:"riscv",name:"RISC-V",import:s((()=>import("./riscv-C5dpdlr7.js")),"import")},{id:"rst",name:"reStructuredText",import:s((()=>import("./rst-C_UheqBX.js")),"import")},{id:"ruby",name:"Ruby",aliases:["rb"],import:s((()=>import("./ruby-Co8zIS9-.js")),"import")},{id:"rust",name:"Rust",aliases:["rs"],import:s((()=>import("./rust-CxuBE0J8.js")),"import")},{id:"sas",name:"SAS",import:s((()=>import("./sas-9Dvcn_Se.js")),"import")},{id:"sass",name:"Sass",import:s((()=>import("./sass-bfEVHPJ8.js")),"import")},{id:"scala",name:"Scala",import:s((()=>import("./scala-Dtw19ca_.js")),"import")},{id:"scheme",name:"Scheme",import:s((()=>import("./scheme-OJppFQF3.js")),"import")},{id:"scss",name:"SCSS",import:s((()=>import("./scss-CFlr0x0u.js")),"import")},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:s((()=>import("./sdbl-Bd9eE8IL.js")),"import")},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:s((()=>import("./shaderlab-CJHdEwFw.js")),"import")},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:s((()=>import("./shellscript-DgJyDXW6.js")),"import")},{id:"shellsession",name:"Shell Session",aliases:["console"],import:s((()=>import("./shellsession-BqFY_Jl7.js")),"import")},{id:"smalltalk",name:"Smalltalk",import:s((()=>import("./smalltalk-B9IHbYt7.js")),"import")},{id:"solidity",name:"Solidity",import:s((()=>import("./solidity-C_qHDKVe.js")),"import")},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:s((()=>import("./soy-Dmj0qeba.js")),"import")},{id:"sparql",name:"SPARQL",import:s((()=>import("./sparql-Ckj_9Rg5.js")),"import")},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:s((()=>import("./splunk-h-bNAnbk.js")),"import")},{id:"sql",name:"SQL",import:s((()=>import("./sql-BbONfI8K.js")),"import")},{id:"ssh-config",name:"SSH Config",import:s((()=>import("./ssh-config-CywOjoXH.js")),"import")},{id:"stata",name:"Stata",import:s((()=>import("./stata-eYSq_k6x.js")),"import")},{id:"stylus",name:"Stylus",aliases:["styl"],import:s((()=>import("./stylus-CIg617SB.js")),"import")},{id:"svelte",name:"Svelte",import:s((()=>import("./svelte-BFUht-Je.js")),"import")},{id:"swift",name:"Swift",import:s((()=>import("./swift-D8uC5CNv.js")),"import")},{id:"system-verilog",name:"SystemVerilog",import:s((()=>import("./system-verilog-Qdm_1g2q.js")),"import")},{id:"systemd",name:"Systemd Units",import:s((()=>import("./systemd-DMp0udv_.js")),"import")},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:s((()=>import("./talonscript-eRuyeYHl.js")),"import")},{id:"tasl",name:"Tasl",import:s((()=>import("./tasl-B9CVvjfG.js")),"import")},{id:"tcl",name:"Tcl",import:s((()=>import("./tcl-Bq9dbVAF.js")),"import")},{id:"templ",name:"Templ",import:s((()=>import("./templ-7MAxQ7Et.js")),"import")},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:s((()=>import("./terraform-CAp711iT.js")),"import")},{id:"tex",name:"TeX",import:s((()=>import("./tex-CuPdJ1V5.js")),"import")},{id:"toml",name:"TOML",import:s((()=>import("./toml-Ms459DBw.js")),"import")},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:s((()=>import("./ts-tags-D7SF7DDT.js")),"import")},{id:"tsv",name:"TSV",import:s((()=>import("./tsv-BFtm7NXx.js")),"import")},{id:"tsx",name:"TSX",import:s((()=>import("./tsx-D6116Ycy.js")),"import")},{id:"turtle",name:"Turtle",import:s((()=>import("./turtle-DpRhbQZY.js")),"import")},{id:"twig",name:"Twig",import:s((()=>import("./twig-DpzUdZ86.js")),"import")},{id:"typescript",name:"TypeScript",aliases:["ts"],import:s((()=>import("./typescript-CNe7ZLMA.js")),"import")},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:s((()=>import("./typespec-Cx4NNI1F.js")),"import")},{id:"typst",name:"Typst",aliases:["typ"],import:s((()=>import("./typst-Dfd71gQj.js")),"import")},{id:"v",name:"V",import:s((()=>import("./v-CY8LauPa.js")),"import")},{id:"vala",name:"Vala",import:s((()=>import("./vala-z59IxkFd.js")),"import")},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:s((()=>import("./vb-4AxSLKIU.js")),"import")},{id:"verilog",name:"Verilog",import:s((()=>import("./verilog-LfQUkHDc.js")),"import")},{id:"vhdl",name:"VHDL",import:s((()=>import("./vhdl-DJCsFYgn.js")),"import")},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:s((()=>import("./viml-pbKHW3Ia.js")),"import")},{id:"vue",name:"Vue",import:s((()=>import("./vue-C2MYKjVd.js")),"import")},{id:"vue-html",name:"Vue HTML",import:s((()=>import("./vue-html-CFfEBVbA.js")),"import")},{id:"vue-vine",name:"Vue Vine",import:s((()=>import("./vue-vine-Dt-pyqwL.js")),"import")},{id:"vyper",name:"Vyper",aliases:["vy"],import:s((()=>import("./vyper-DpazWNpx.js")),"import")},{id:"wasm",name:"WebAssembly",import:s((()=>import("./wasm-CFi-k9--.js")),"import")},{id:"wenyan",name:"Wenyan",aliases:["\u6587\u8A00"],import:s((()=>import("./wenyan-DoPRjnAP.js")),"import")},{id:"wgsl",name:"WGSL",import:s((()=>import("./wgsl-CxjTZs-b.js")),"import")},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:s((()=>import("./wikitext-Bx2qct8O.js")),"import")},{id:"wit",name:"WebAssembly Interface Types",import:s((()=>import("./wit-DDW3hD69.js")),"import")},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:s((()=>import("./wolfram-pu21K997.js")),"import")},{id:"xml",name:"XML",import:s((()=>import("./xml-BhAxjPaW.js")),"import")},{id:"xsl",name:"XSL",import:s((()=>import("./xsl-6n2rlM5j.js")),"import")},{id:"yaml",name:"YAML",aliases:["yml"],import:s((()=>import("./yaml-Bopit2L3.js")),"import")},{id:"zenscript",name:"ZenScript",import:s((()=>import("./zenscript-BIAKq-aR.js")),"import")},{id:"zig",name:"Zig",import:s((()=>import("./zig-bSFrHQ7n.js")),"import")}],GD=Object.fromEntries(pc.map(e=>[e.id,e.import])),VD=Object.fromEntries(pc.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),mc={...GD,...VD},WD=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:s((()=>import("./andromeeda-BK6gTiwT.js")),"import")},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:s((()=>import("./aurora-x-C0VKFdlO.js")),"import")},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:s((()=>import("./ayu-dark-_V__kATy.js")),"import")},{id:"catppuccin-frappe",displayName:"Catppuccin Frapp\xE9",type:"dark",import:s((()=>import("./catppuccin-frappe-FpZB8QRS.js")),"import")},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:s((()=>import("./catppuccin-latte-DitgVJwZ.js")),"import")},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:s((()=>import("./catppuccin-macchiato-OgKJpGX6.js")),"import")},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:s((()=>import("./catppuccin-mocha-yEKlNR7E.js")),"import")},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:s((()=>import("./dark-plus-DLU5INA3.js")),"import")},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:s((()=>import("./dracula-XcYHBZy6.js")),"import")},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:s((()=>import("./dracula-soft-BPeX9gxW.js")),"import")},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:s((()=>import("./everforest-dark-WOub3wle.js")),"import")},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:s((()=>import("./everforest-light-DCUg8VH8.js")),"import")},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:s((()=>import("./github-dark-BQV5ugrc.js")),"import")},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:s((()=>import("./github-dark-default-DLWDM7FH.js")),"import")},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:s((()=>import("./github-dark-dimmed-D1FmiR_p.js")),"import")},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:s((()=>import("./github-dark-high-contrast-BilLoi0o.js")),"import")},{id:"github-light",displayName:"GitHub Light",type:"light",import:s((()=>import("./github-light-Rcb2q3L5.js")),"import")},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:s((()=>import("./github-light-default-CQ75esMw.js")),"import")},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:s((()=>import("./github-light-high-contrast-CRF1wyLy.js")),"import")},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:s((()=>import("./gruvbox-dark-hard-DtaDo6n6.js")),"import")},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:s((()=>import("./gruvbox-dark-medium-F6d3vyEK.js")),"import")},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:s((()=>import("./gruvbox-dark-soft-BhkDHqWr.js")),"import")},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:s((()=>import("./gruvbox-light-hard-BSMbhItJ.js")),"import")},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:s((()=>import("./gruvbox-light-medium-D9aMBq3r.js")),"import")},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:s((()=>import("./gruvbox-light-soft-BLiUQVAY.js")),"import")},{id:"houston",displayName:"Houston",type:"dark",import:s((()=>import("./houston-RHIKkNfR.js")),"import")},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:s((()=>import("./kanagawa-dragon-BOvIHJVT.js")),"import")},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:s((()=>import("./kanagawa-lotus-Bwcd7Bvx.js")),"import")},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:s((()=>import("./kanagawa-wave-0SAlpf0s.js")),"import")},{id:"laserwave",displayName:"LaserWave",type:"dark",import:s((()=>import("./laserwave-si7wuSrt.js")),"import")},{id:"light-plus",displayName:"Light Plus",type:"light",import:s((()=>import("./light-plus-g_Fi9vkG.js")),"import")},{id:"material-theme",displayName:"Material Theme",type:"dark",import:s((()=>import("./material-theme-CIJ3cGaW.js")),"import")},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:s((()=>import("./material-theme-darker-BWg3m1GB.js")),"import")},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:s((()=>import("./material-theme-lighter-DR8HWMN7.js")),"import")},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:s((()=>import("./material-theme-ocean-CZf9pk28.js")),"import")},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:s((()=>import("./material-theme-palenight-BF01YeZy.js")),"import")},{id:"min-dark",displayName:"Min Dark",type:"dark",import:s((()=>import("./min-dark-DhfaepVE.js")),"import")},{id:"min-light",displayName:"Min Light",type:"light",import:s((()=>import("./min-light-6xx0uMgm.js")),"import")},{id:"monokai",displayName:"Monokai",type:"dark",import:s((()=>import("./monokai-BodnsaDQ.js")),"import")},{id:"night-owl",displayName:"Night Owl",type:"dark",import:s((()=>import("./night-owl-EdP2Hztp.js")),"import")},{id:"nord",displayName:"Nord",type:"dark",import:s((()=>import("./nord-BAu0wM6c.js")),"import")},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:s((()=>import("./one-dark-pro-utPxbBbJ.js")),"import")},{id:"one-light",displayName:"One Light",type:"light",import:s((()=>import("./one-light-s-s--efq.js")),"import")},{id:"plastic",displayName:"Plastic",type:"dark",import:s((()=>import("./plastic-CXnNNlFZ.js")),"import")},{id:"poimandres",displayName:"Poimandres",type:"dark",import:s((()=>import("./poimandres-BrOVMvuE.js")),"import")},{id:"red",displayName:"Red",type:"dark",import:s((()=>import("./red-DR6ZwibK.js")),"import")},{id:"rose-pine",displayName:"Ros\xE9 Pine",type:"dark",import:s((()=>import("./rose-pine-37N6GoVg.js")),"import")},{id:"rose-pine-dawn",displayName:"Ros\xE9 Pine Dawn",type:"light",import:s((()=>import("./rose-pine-dawn-aw1JrzNS.js")),"import")},{id:"rose-pine-moon",displayName:"Ros\xE9 Pine Moon",type:"dark",import:s((()=>import("./rose-pine-moon-BrLFK7kC.js")),"import")},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:s((()=>import("./slack-dark-CWRQmTmo.js")),"import")},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:s((()=>import("./slack-ochin-DO_ok7XK.js")),"import")},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:s((()=>import("./snazzy-light-B5llO_gK.js")),"import")},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:s((()=>import("./solarized-dark-G9yBjKj_.js")),"import")},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:s((()=>import("./solarized-light-DeSzljQz.js")),"import")},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:s((()=>import("./synthwave-84-DRVv-_m_.js")),"import")},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:s((()=>import("./tokyo-night-BvwC8l2v.js")),"import")},{id:"vesper",displayName:"Vesper",type:"dark",import:s((()=>import("./vesper--t9w6MWz.js")),"import")},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:s((()=>import("./vitesse-black-B_BYPdvp.js")),"import")},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:s((()=>import("./vitesse-dark-DOSOf2Sz.js")),"import")},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:s((()=>import("./vitesse-light-gUX51GpB.js")),"import")}],KD=Object.fromEntries(WD.map(e=>[e.id,e.import]));class Ks extends Error{static{s(this,"ShikiError")}constructor(t){super(t),this.name="ShikiError"}}function QD(){return 2147483648}s(QD,"getHeapMax");function XD(){return typeof performance<"u"?performance.now():Date.now()}s(XD,"_emscripten_get_now");const JD=s((e,t)=>e+(t-e%t)%t,"alignUp");async function ZD(e){let t,n;const r={};function i(p){n=p,r.HEAPU8=new Uint8Array(p),r.HEAPU32=new Uint32Array(p)}s(i,"updateGlobalBufferAndViews");function u(p,g,E){r.HEAPU8.copyWithin(p,g,g+E)}s(u,"_emscripten_memcpy_big");function a(p){try{return t.grow(p-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}s(a,"emscripten_realloc_buffer");function o(p){const g=r.HEAPU8.length;p=p>>>0;const E=QD();if(p>E)return!1;for(let A=1;A<=4;A*=2){let D=g*(1+.2/A);D=Math.min(D,p+100663296);const C=Math.min(E,JD(Math.max(p,D),65536));if(a(C))return!0}return!1}s(o,"_emscripten_resize_heap");const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(p,g,E=1024){const A=g+E;let D=g;for(;p[D]&&!(D>=A);)++D;if(D-g>16&&p.buffer&&l)return l.decode(p.subarray(g,D));let C="";for(;g<D;){let T=p[g++];if(!(T&128)){C+=String.fromCharCode(T);continue}const I=p[g++]&63;if((T&224)===192){C+=String.fromCharCode((T&31)<<6|I);continue}const v=p[g++]&63;if((T&240)===224?T=(T&15)<<12|I<<6|v:T=(T&7)<<18|I<<12|v<<6|p[g++]&63,T<65536)C+=String.fromCharCode(T);else{const _=T-65536;C+=String.fromCharCode(55296|_>>10,56320|_&1023)}}return C}s(c,"UTF8ArrayToString");function f(p,g){return p?c(r.HEAPU8,p,g):""}s(f,"UTF8ToString");const h={emscripten_get_now:XD,emscripten_memcpy_big:u,emscripten_resize_heap:o,fd_write:s(()=>0,"fd_write")};async function m(){const g=await e({env:h,wasi_snapshot_preview1:h});t=g.memory,i(t.buffer),Object.assign(r,g),r.UTF8ToString=f}return s(m,"createWasm"),await m(),r}s(ZD,"main$b");var eC=Object.defineProperty,tC=s((e,t,n)=>t in e?eC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp"),Te=s((e,t,n)=>tC(e,typeof t!="symbol"?t+"":t,n),"__publicField");let be=null;function nC(e){throw new Ks(e.UTF8ToString(e.getLastOnigError()))}s(nC,"throwLastOnigError");class gs{static{s(this,"UtfString")}constructor(t){Te(this,"utf16Length"),Te(this,"utf8Length"),Te(this,"utf16Value"),Te(this,"utf8Value"),Te(this,"utf16OffsetToUtf8"),Te(this,"utf8OffsetToUtf16");const n=t.length,r=gs._utf8ByteLength(t),i=r!==n,u=i?new Uint32Array(n+1):null;i&&(u[n]=r);const a=i?new Uint32Array(r+1):null;i&&(a[r]=n);const o=new Uint8Array(r);let l=0;for(let c=0;c<n;c++){const f=t.charCodeAt(c);let h=f,m=!1;if(f>=55296&&f<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(h=(f-55296<<10)+65536|p-56320,m=!0)}i&&(u[c]=l,m&&(u[c+1]=l),h<=127?a[l+0]=c:h<=2047?(a[l+0]=c,a[l+1]=c):h<=65535?(a[l+0]=c,a[l+1]=c,a[l+2]=c):(a[l+0]=c,a[l+1]=c,a[l+2]=c,a[l+3]=c)),h<=127?o[l++]=h:h<=2047?(o[l++]=192|(h&1984)>>>6,o[l++]=128|(h&63)>>>0):h<=65535?(o[l++]=224|(h&61440)>>>12,o[l++]=128|(h&4032)>>>6,o[l++]=128|(h&63)>>>0):(o[l++]=240|(h&1835008)>>>18,o[l++]=128|(h&258048)>>>12,o[l++]=128|(h&4032)>>>6,o[l++]=128|(h&63)>>>0),m&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=o,this.utf16OffsetToUtf8=u,this.utf8OffsetToUtf16=a}static _utf8ByteLength(t){let n=0;for(let r=0,i=t.length;r<i;r++){const u=t.charCodeAt(r);let a=u,o=!1;if(u>=55296&&u<=56319&&r+1<i){const l=t.charCodeAt(r+1);l>=56320&&l<=57343&&(a=(u-55296<<10)+65536|l-56320,o=!0)}a<=127?n+=1:a<=2047?n+=2:a<=65535?n+=3:n+=4,o&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const di=class Et{static{s(this,"_OnigString2")}constructor(t){if(Te(this,"id",++Et.LAST_ID),Te(this,"_onigBinding"),Te(this,"content"),Te(this,"utf16Length"),Te(this,"utf8Length"),Te(this,"utf16OffsetToUtf8"),Te(this,"utf8OffsetToUtf16"),Te(this,"ptr"),!be)throw new Ks("Must invoke loadWasm first.");this._onigBinding=be,this.content=t;const n=new gs(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Et._sharedPtrInUse?(Et._sharedPtr||(Et._sharedPtr=be.omalloc(1e4)),Et._sharedPtrInUse=!0,be.HEAPU8.set(n.utf8Value,Et._sharedPtr),this.ptr=Et._sharedPtr):this.ptr=n.createString(be)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Et._sharedPtr?Et._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Te(di,"LAST_ID",0),Te(di,"_sharedPtr",0),Te(di,"_sharedPtrInUse",!1);let gc=di;class rC{static{s(this,"OnigScanner")}constructor(t){if(Te(this,"_onigBinding"),Te(this,"_ptr"),!be)throw new Ks("Must invoke loadWasm first.");const n=[],r=[];for(let o=0,l=t.length;o<l;o++){const c=new gs(t[o]);n[o]=c.createString(be),r[o]=c.utf8Length}const i=be.omalloc(4*t.length);be.HEAPU32.set(n,i/4);const u=be.omalloc(4*t.length);be.HEAPU32.set(r,u/4);const a=be.createOnigScanner(i,u,t.length);for(let o=0,l=t.length;o<l;o++)be.ofree(n[o]);be.ofree(u),be.ofree(i),a===0&&nC(be),this._onigBinding=be,this._ptr=a}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let i=0;if(typeof r=="number"&&(i=r),typeof t=="string"){t=new gc(t);const u=this._findNextMatchSync(t,n,!1,i);return t.dispose(),u}return this._findNextMatchSync(t,n,!1,i)}_findNextMatchSync(t,n,r,i){const u=this._onigBinding,a=u.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),i);if(a===0)return null;const o=u.HEAPU32;let l=a/4;const c=o[l++],f=o[l++],h=[];for(let m=0;m<f;m++){const p=t.convertUtf8OffsetToUtf16(o[l++]),g=t.convertUtf8OffsetToUtf16(o[l++]);h[m]={start:p,end:g,length:g-p}}return{index:c,captureIndices:h}}}function iC(e){return typeof e.instantiator=="function"}s(iC,"isInstantiatorOptionsObject");function sC(e){return typeof e.default=="function"}s(sC,"isInstantiatorModule");function uC(e){return typeof e.data<"u"}s(uC,"isDataOptionsObject");function aC(e){return typeof Response<"u"&&e instanceof Response}s(aC,"isResponse");function oC(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}s(oC,"isArrayBuffer");let pi;function lC(e){if(pi)return pi;async function t(){be=await ZD(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),iC(r)?r=await r.instantiator(n):sC(r)?r=await r.default(n):(uC(r)&&(r=r.data),aC(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await cC(r)(n):r=await hC(r)(n):oC(r)?r=await Qs(r)(n):r instanceof WebAssembly.Module?r=await Qs(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Qs(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return s(t,"_load"),pi=t(),pi}s(lC,"loadWasm");function Qs(e){return t=>WebAssembly.instantiate(e,t)}s(Qs,"_makeArrayBufferLoader");function cC(e){return t=>WebAssembly.instantiateStreaming(e,t)}s(cC,"_makeResponseStreamingLoader");function hC(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}s(hC,"_makeResponseNonStreamingLoader");async function fC(e){return e&&await lC(e),{createScanner(t){return new rC(t.map(n=>typeof n=="string"?n:n.source))},createString(t){return new gc(t)}}}s(fC,"createOnigurumaEngine");const dC=zD({langs:mc,themes:KD,engine:s(()=>fC(import("./wasm-CiQ5tcoN.js")),"engine")}),{getSingletonHighlighter:pC}=YD(dC,{guessEmbeddedLanguages:sD}),Ct=s((function(e){if(e==null)return AC;if(typeof e=="function")return mi(e);if(typeof e=="object")return Array.isArray(e)?mC(e):gC(e);if(typeof e=="string")return EC(e);throw new Error("Expected function, string, or object as test")}),"convert");function mC(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ct(e[n]);return mi(r);function r(...i){let u=-1;for(;++u<t.length;)if(t[u].apply(this,i))return!0;return!1}}s(mC,"anyFactory$1");function gC(e){const t=e;return mi(n);function n(r){const i=r;let u;for(u in e)if(i[u]!==t[u])return!1;return!0}}s(gC,"propsFactory");function EC(e){return mi(t);function t(n){return n&&n.type===e}}s(EC,"typeFactory");function mi(e){return t;function t(n,r,i){return!!(DC(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}s(mi,"castFactory$1");function AC(){return!0}s(AC,"ok$1");function DC(e){return e!==null&&typeof e=="object"&&"type"in e}s(DC,"looksLikeANode");function Zx(e){return e}s(Zx,"color");const Ec=[],Ve=!0,Pe=!1,gi="skip";function Xs(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const u=Ct(i),a=r?-1:1;o(e,void 0,[])();function o(l,c,f){const h=l&&typeof l=="object"?l:{};if(typeof h.type=="string"){const p=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return m;function m(){let p=Ec,g,E,A;if((!t||u(l,c,f[f.length-1]||void 0))&&(p=CC(n(l,f)),p[0]===Pe))return p;if("children"in l&&l.children){const D=l;if(D.children&&p[0]!==gi)for(E=(r?D.children.length:-1)+a,A=f.concat(D);E>-1&&E<D.children.length;){const C=D.children[E];if(g=o(C,E,A)(),g[0]===Pe)return g;E=typeof g[1]=="number"?g[1]:E+a}}return p}}s(o,"factory")}s(Xs,"visitParents");function CC(e){return Array.isArray(e)?e:typeof e=="number"?[Ve,e]:e==null?Ec:[e]}s(CC,"toResult");function ae(e,t,n,r){let i,u,a;typeof t=="function"&&typeof n!="function"?(u=void 0,a=t,i=n):(u=t,a=n,i=r),Xs(e,u,o,i);function o(l,c){const f=c[c.length-1],h=f?f.children.indexOf(l):void 0;return a(l,h,f)}s(o,"overload")}s(ae,"visit$1");function Ac(e){return"children"in e?Dc(e):"value"in e?e.value:""}s(Ac,"toString$2");function yC(e){return e.type==="text"?e.value:"children"in e?Dc(e):""}s(yC,"one$3");function Dc(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=yC(e.children[t]);return n.join("")}s(Dc,"all$5");const TC={"tailing-curly-colon":s((e,t)=>{const n=Ac(t),r=n.match(/(.+)\{:([\w-]+)\}$/);if(r)return{type:"inline",code:r[1]??n,lang:r.at(2)}},"tailing-curly-colon")},Cc="language-",bC=s((e,t)=>{const n=t.children[0];if(!n||n.type!=="element"||n.tagName!=="code"||!n.properties)return;const r=n.properties.className,i=Array.isArray(r)?r.find(u=>typeof u=="string"&&u.startsWith(Cc)):void 0;return{type:"pre",lang:typeof i=="string"?i.slice(Cc.length):void 0,code:Ac(n),meta:n.data?.meta??n.properties.metastring?.toString()??""}},"PreHandler"),kC="language-";function SC(e,t){const{addLanguageClass:n=!1,parseMetaString:r,cache:i,defaultLanguage:u,fallbackLanguage:a,onError:o,stripEndNewline:l=!0,inline:c=!1,lazy:f=!1,...h}=t;function m(p,g,E="",A={}){const D=`${p}:${E}:${g}`,C=i?.get(D);if(C)return C;const T={...h,lang:p,meta:{...h.meta,...A,__raw:E}};n&&(T.transformers=[...T.transformers??[],{name:"rehype-shiki:code-language-class",code(I){return this.addClassToHast(I,`${kC}${p}`),I}}]),l&&g.endsWith(`
|
|
13
|
+
`)&&(g=g.slice(0,-1));try{const I=e.codeToHast(g,T);return i?.set(D,I),I}catch(I){if(o)o(I);else throw I}}return s(m,"highlight"),p=>{const g=[];if(ae(p,"element",(E,A,D)=>{let C;if(!D||A==null)return;if(E.tagName==="pre")C=bC;else if(E.tagName==="code"&&c)C=TC[c];else return;const T=C(p,E);if(!T)return;let I,v=!1;if(T.lang?e.getLoadedLanguages().includes(T.lang)||qs(T.lang)?I=T.lang:f?(v=!0,I=T.lang):a&&(I=a):I=u,!I)return;const _=T.meta?r?.(T.meta,E,p):void 0,L=s(x=>{const w=m(x,T.code,T.meta,_??{});if(w){if(T.type==="inline"){const F=w.children[0];F.type==="element"&&F.tagName==="pre"&&(F.tagName="span")}D.children[A]=w}},"processNode");if(v)try{g.push(e.loadLanguage(I).then(()=>L(I)))}catch(x){if(a)return L(a);if(o)o(x);else throw x}else L(I);return"skip"}),g.length>0){async function E(){await Promise.all(g)}return s(E,"run"),E()}}}s(SC,"rehypeShikiFromHighlighter");const _C=s(function(e={}){const t=("themes"in e?Object.values(e.themes):[e.theme]).filter(Boolean),n=e.langs||Object.keys(mc),r=e.langAlias||{};let i;return async u=>(i||(i=pC({themes:t,langs:n,langAlias:r}).then(o=>SC.call(this,o,e))),(await i)(u))},"rehypeShiki"),Js=s((function(e,t,n){const r=Ct(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]}),"findAfter"),Zs=s((function(e,t,n,r,i){const u=it(t);return yc(e)?u.call(i,e,n,r):!1}),"isElement"),it=s((function(e){if(e==null)return FC;if(typeof e=="string")return wC(e);if(typeof e=="object")return BC(e);if(typeof e=="function")return eu(e);throw new Error("Expected function, string, or array as `test`")}),"convertElement");function BC(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=it(e[n]);return eu(r);function r(...i){let u=-1;for(;++u<t.length;)if(t[u].apply(this,i))return!0;return!1}}s(BC,"anyFactory");function wC(e){return eu(t);function t(n){return n.tagName===e}}s(wC,"tagNameFactory");function eu(e){return t;function t(n,r,i){return!!(yc(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}s(eu,"castFactory");function FC(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}s(FC,"element$3");function yc(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}s(yc,"looksLikeAnElement");const Tc=/\n/g,bc=/[\t ]+/g,tu=it("br"),kc=it(RC),NC=it("p"),Sc=it("tr"),xC=it(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",OC,PC]),_c=it(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Bc(e,t){const n={},r="children"in e?e.children:[],i=_c(e),u=Nc(e,{whitespace:n.whitespace||"normal"}),a=[];(e.type==="text"||e.type==="comment")&&a.push(...Fc(e,{breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<r.length;)a.push(...wc(r[o],e,{whitespace:u,breakBefore:o?void 0:i,breakAfter:o<r.length-1?tu(r[o+1]):i}));const l=[];let c;for(o=-1;++o<a.length;){const f=a[o];typeof f=="number"?c!==void 0&&f>c&&(c=f):f&&(c!==void 0&&c>-1&&l.push(`
|
|
14
14
|
`.repeat(c)||" "),c=-1,l.push(f))}return l.join("")}s(Bc,"toText");function wc(e,t,n){return e.type==="element"?IC(e,t,n):e.type==="text"?n.whitespace==="normal"?Fc(e,n):vC(e):[]}s(wc,"renderedTextCollection");function IC(e,t,n){const r=Nc(e,n),i=e.children||[];let u=-1,a=[];if(xC(e))return a;let o,l;for(tu(e)||Sc(e)&&Js(t,e,Sc)?l=`
|
|
15
|
-
`:NC(e)?(o=2,l=2):_c(e)&&(o=1,l=1);++u<i.length;)a=a.concat(wc(i[u],e,{whitespace:r,breakBefore:u?void 0:o,breakAfter:u<i.length-1?tu(i[u+1]):l}));return kc(e)&&Js(t,e,kc)&&a.push(" "),o&&a.unshift(o),l&&a.push(l),a}s(IC,"collectElement");function Fc(e,t){const n=String(e.value),r=[],i=[];let u=0;for(;u<=n.length;){Tc.lastIndex=u;const l=Tc.exec(n),c=l&&"index"in l?l.index:n.length;r.push(LC(n.slice(u,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),u===0?t.breakBefore:!0,c===n.length?t.breakAfter:!0)),u=c+1}let a=-1,o;for(;++a<r.length;)r[a].charCodeAt(r[a].length-1)===8203||a<r.length-1&&r[a+1].charCodeAt(0)===8203?(i.push(r[a]),o=void 0):r[a]?(typeof o=="number"&&i.push(o),i.push(r[a]),o=0):(a===0||a===r.length-1)&&i.push(0);return i}s(Fc,"collectText");function vC(e){return[String(e.value)]}s(vC,"collectPreText");function LC(e,t,n){const r=[];let i=0,u;for(;i<e.length;){bc.lastIndex=i;const a=bc.exec(e);u=a?a.index:e.length,!i&&!u&&a&&!t&&r.push(""),i!==u&&r.push(e.slice(i,u)),i=a?u+a[0].length:u}return i!==u&&!n&&r.push(""),r.join(" ")}s(LC,"trimAndCollapseSpacesAndTabs");function Nc(e,t){if(e.type==="element"){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}s(Nc,"inferWhitespace");function OC(e){return!!(e.properties||{}).hidden}s(OC,"hidden");function RC(e){return e.tagName==="td"||e.tagName==="th"}s(RC,"isCell");function PC(e){return e.tagName==="dialog"&&!(e.properties||{}).open}s(PC,"closedDialog");const nu=it(function(e){return e.tagName==="audio"||e.tagName==="canvas"||e.tagName==="embed"||e.tagName==="iframe"||e.tagName==="img"||e.tagName==="math"||e.tagName==="object"||e.tagName==="picture"||e.tagName==="svg"||e.tagName==="video"}),MC=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],UC=["button","input","select","textarea"],HC=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],$C={},ru=Ct(["comment","doctype"]);function qC(e,t){xc(e,{collapse:KC((t||$C).newlines?VC:WC),whitespace:"normal"})}s(qC,"minifyWhitespace");function xc(e,t){if("children"in e){const n={...t};return(e.type==="root"||Lc(e))&&(n.before=!0,n.after=!0),n.whitespace=QC(e,t),
|
|
15
|
+
`:NC(e)?(o=2,l=2):_c(e)&&(o=1,l=1);++u<i.length;)a=a.concat(wc(i[u],e,{whitespace:r,breakBefore:u?void 0:o,breakAfter:u<i.length-1?tu(i[u+1]):l}));return kc(e)&&Js(t,e,kc)&&a.push(" "),o&&a.unshift(o),l&&a.push(l),a}s(IC,"collectElement");function Fc(e,t){const n=String(e.value),r=[],i=[];let u=0;for(;u<=n.length;){Tc.lastIndex=u;const l=Tc.exec(n),c=l&&"index"in l?l.index:n.length;r.push(LC(n.slice(u,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),u===0?t.breakBefore:!0,c===n.length?t.breakAfter:!0)),u=c+1}let a=-1,o;for(;++a<r.length;)r[a].charCodeAt(r[a].length-1)===8203||a<r.length-1&&r[a+1].charCodeAt(0)===8203?(i.push(r[a]),o=void 0):r[a]?(typeof o=="number"&&i.push(o),i.push(r[a]),o=0):(a===0||a===r.length-1)&&i.push(0);return i}s(Fc,"collectText");function vC(e){return[String(e.value)]}s(vC,"collectPreText");function LC(e,t,n){const r=[];let i=0,u;for(;i<e.length;){bc.lastIndex=i;const a=bc.exec(e);u=a?a.index:e.length,!i&&!u&&a&&!t&&r.push(""),i!==u&&r.push(e.slice(i,u)),i=a?u+a[0].length:u}return i!==u&&!n&&r.push(""),r.join(" ")}s(LC,"trimAndCollapseSpacesAndTabs");function Nc(e,t){if(e.type==="element"){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}s(Nc,"inferWhitespace");function OC(e){return!!(e.properties||{}).hidden}s(OC,"hidden");function RC(e){return e.tagName==="td"||e.tagName==="th"}s(RC,"isCell");function PC(e){return e.tagName==="dialog"&&!(e.properties||{}).open}s(PC,"closedDialog");const nu=it(function(e){return e.tagName==="audio"||e.tagName==="canvas"||e.tagName==="embed"||e.tagName==="iframe"||e.tagName==="img"||e.tagName==="math"||e.tagName==="object"||e.tagName==="picture"||e.tagName==="svg"||e.tagName==="video"}),MC=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],UC=["button","input","select","textarea"],HC=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],$C={},ru=Ct(["comment","doctype"]);function qC(e,t){xc(e,{collapse:KC((t||$C).newlines?VC:WC),whitespace:"normal"})}s(qC,"minifyWhitespace");function xc(e,t){if("children"in e){const n={...t};return(e.type==="root"||Lc(e))&&(n.before=!0,n.after=!0),n.whitespace=QC(e,t),jC(e,n)}if(e.type==="text"){if(t.whitespace==="normal")return zC(e,t);t.whitespace==="nowrap"&&(e.value=t.collapse(e.value))}return{ignore:ru(e),stripAtStart:!1,remove:!1}}s(xc,"minify");function zC(e,t){const n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1};let i=0,u=n.length;return t.before&&Oc(n.charAt(0))&&i++,i!==u&&Oc(n.charAt(u-1))&&(t.after?u--:r.stripAtStart=!0),i===u?r.remove=!0:e.value=n.slice(i,u),r}s(zC,"minifyText");function jC(e,t){let n=t.before;const r=t.after,i=e.children;let u=i.length,a=-1;for(;++a<u;){const o=xc(i[a],{...t,after:Ic(i,a,r),before:n});o.remove?(i.splice(a,1),a--,u--):o.ignore||(n=o.stripAtStart),vc(i[a])&&(n=!1)}return{ignore:!1,stripAtStart:!!(n||r),remove:!1}}s(jC,"all$4");function Ic(e,t,n){for(;++t<e.length;){const r=e[t];let i=YC(r);if(i===void 0&&"children"in r&&!GC(r)&&(i=Ic(r.children,-1)),typeof i=="boolean")return i}return n}s(Ic,"collapsableAfter");function YC(e){if(e.type==="element"){if(vc(e))return!1;if(Lc(e))return!0}else if(e.type==="text"){if(!$t(e))return!1}else if(!ru(e))return!1}s(YC,"inferBoundary");function vc(e){return nu(e)||Zs(e,UC)}s(vc,"content$2");function Lc(e){return Zs(e,MC)}s(Lc,"blocklike");function GC(e){return!!(e.type==="element"&&e.properties.hidden)||ru(e)||Zs(e,HC)}s(GC,"skippable");function Oc(e){return e===" "||e===`
|
|
16
16
|
`}s(Oc,"removable");function VC(e){const t=/\r?\n|\r/.exec(e);return t?t[0]:" "}s(VC,"replaceNewlines");function WC(){return" "}s(WC,"replaceWhitespace");function KC(e){return t;function t(n){return String(n).replace(/[\t\n\v\f\r ]+/g,e)}}s(KC,"collapseFactory");function QC(e,t){if("tagName"in e&&e.properties)switch(e.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return e.properties.wrap?"pre-wrap":"pre";case"td":case"th":return e.properties.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}return t.whitespace}s(QC,"inferWhiteSpace");const XC={}.hasOwnProperty;function JC(e,t){const n=e.type==="element"&&XC.call(e.properties,t)&&e.properties[t];return n!=null&&n!==!1}s(JC,"hasProperty");const ZC=new Set(["pingback","prefetch","stylesheet"]);function ey(e){if(e.type!=="element"||e.tagName!=="link")return!1;if(e.properties.itemProp)return!0;const t=e.properties.rel;let n=-1;if(!Array.isArray(t)||t.length===0)return!1;for(;++n<t.length;)if(!ZC.has(String(t[n])))return!1;return!0}s(ey,"isBodyOkLink");const ty=it(["a","abbr","area","b","bdi","bdo","br","button","cite","code","data","datalist","del","dfn","em","i","input","ins","kbd","keygen","label","map","mark","meter","noscript","output","progress","q","ruby","s","samp","script","select","small","span","strong","sub","sup","template","textarea","time","u","var","wbr"]),ny=it("meta");function ry(e){return!!(e.type==="text"||ty(e)||nu(e)||ey(e)||ny(e)&&JC(e,"itemProp"))}s(ry,"phrasing$1");const iy=["pre","script","style","textarea"],sy={};function uy(e,t){const n=t||sy,r={blanks:n.blanks||[],head:!1,indentInitial:n.indentInitial!==!1,indent:typeof n.indent=="number"?" ".repeat(n.indent):typeof n.indent=="string"?n.indent:" "};qC(e,{newlines:!0}),Xs(e,i);function i(a,o){if(!("children"in a))return;if(a.type==="element"&&a.tagName==="head"&&(r.head=!0),r.head&&a.type==="element"&&a.tagName==="body"&&(r.head=!1),a.type==="element"&&iy.includes(a.tagName))return gi;if(a.children.length===0||!iu(r,a))return;let l=o.length;r.indentInitial||l--;let c=!1;for(const m of a.children)(m.type==="comment"||m.type==="text")&&(m.value.includes(`
|
|
17
17
|
`)&&(c=!0),m.value=m.value.replace(/ *\n/g,"$&"+r.indent.repeat(l)));const f=[];let h;for(const m of a.children)(iu(r,m)||c&&!h)&&(u(f,l,m),c=!0),h=m,f.push(m);h&&(c||iu(r,h))&&($t(h)&&(f.pop(),h=f[f.length-1]),u(f,l-1)),a.children=f}s(i,"visitor");function u(a,o,l){const c=a[a.length-1],f=c&&$t(c)?a[a.length-2]:c,h=(Rc(r,f)&&Rc(r,l)?`
|
|
18
18
|
|
|
19
19
|
`:`
|
|
20
|
-
`)+r.indent.repeat(Math.max(o,0));c&&c.type==="text"?c.value=$t(c)?h:c.value+h:a.push({type:"text",value:h})}s(u,"addBreak")}s(uy,"format$1");function Rc(e,t){return!!(t&&t.type==="element"&&e.blanks.length>0&&e.blanks.includes(t.tagName))}s(Rc,"blank");function iu(e,t){return t.type==="root"||(t.type==="element"?e.head||t.tagName==="script"||nu(t)||!ry(t):!1)}s(iu,"padding");function ay(e){return function(t){uy(t,e)}}s(ay,"rehypeFormat");const Pc=-1,Ei=0,ar=1,Ai=2,su=3,uu=4,au=5,ou=6,Mc=7,Uc=8,Hc=typeof self=="object"?self:globalThis,oy=s((e,t)=>{const n=s((i,u)=>(e.set(u,i),i),"as"),r=s(i=>{if(e.has(i))return e.get(i);const[u,a]=t[i];switch(u){case Ei:case Pc:return n(a,i);case ar:{const o=n([],i);for(const l of a)o.push(r(l));return o}case Ai:{const o=n({},i);for(const[l,c]of a)o[r(l)]=r(c);return o}case su:return n(new Date(a),i);case uu:{const{source:o,flags:l}=a;return n(new RegExp(o,l),i)}case au:{const o=n(new Map,i);for(const[l,c]of a)o.set(r(l),r(c));return o}case ou:{const o=n(new Set,i);for(const l of a)o.add(r(l));return o}case Mc:{const{name:o,message:l}=a;return n(new Hc[o](l),i)}case Uc:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:o}=new Uint8Array(a);return n(new DataView(o),a)}}return n(new Hc[u](a),i)},"unpair");return r},"deserializer"),$c=s(e=>oy(new Map,e)(0),"deserialize"),An="",{toString:ly}={},{keys:cy}=Object,or=s(e=>{const t=typeof e;if(t!=="object"||!e)return[Ei,t];const n=ly.call(e).slice(8,-1);switch(n){case"Array":return[ar,An];case"Object":return[Ai,An];case"Date":return[su,An];case"RegExp":return[uu,An];case"Map":return[au,An];case"Set":return[ou,An];case"DataView":return[ar,n]}return n.includes("Array")?[ar,n]:n.includes("Error")?[Mc,n]:[Ai,n]},"typeOf"),Di=s(([e,t])=>e===Ei&&(t==="function"||t==="symbol"),"shouldSkip"),hy=s((e,t,n,r)=>{const i=s((a,o)=>{const l=r.push(a)-1;return n.set(o,l),l},"as"),u=s(a=>{if(n.has(a))return n.get(a);let[o,l]=or(a);switch(o){case Ei:{let f=a;switch(l){case"bigint":o=Uc,f=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);f=null;break;case"undefined":return i([Pc],a)}return i([o,f],a)}case ar:{if(l){let m=a;return l==="DataView"?m=new Uint8Array(a.buffer):l==="ArrayBuffer"&&(m=new Uint8Array(a)),i([l,[...m]],a)}const f=[],h=i([o,f],a);for(const m of a)f.push(u(m));return h}case Ai:{if(l)switch(l){case"BigInt":return i([l,a.toString()],a);case"Boolean":case"Number":case"String":return i([l,a.valueOf()],a)}if(t&&"toJSON"in a)return u(a.toJSON());const f=[],h=i([o,f],a);for(const m of cy(a))(e||!Di(or(a[m])))&&f.push([u(m),u(a[m])]);return h}case su:return i([o,a.toISOString()],a);case uu:{const{source:f,flags:h}=a;return i([o,{source:f,flags:h}],a)}case au:{const f=[],h=i([o,f],a);for(const[m,p]of a)(e||!(Di(or(m))||Di(or(p))))&&f.push([u(m),u(p)]);return h}case ou:{const f=[],h=i([o,f],a);for(const m of a)(e||!Di(or(m)))&&f.push(u(m));return h}}const{message:c}=a;return i([o,{name:l,message:c}],a)},"pair");return u},"serializer"),qc=s((e,{json:t,lossy:n}={})=>{const r=[];return hy(!(t||n),!!t,new Map,r)(e),r},"serialize$1");var Dn=typeof structuredClone=="function"?((e,t)=>t&&("json"in t||"lossy"in t)?$c(qc(e,t)):structuredClone(e)):(e,t)=>$c(qc(e,t));function eI(){}s(eI,"ok");const zc=/[#.]/g;function fy(e,t){const n=e||"",r={};let i=0,u,a;for(;i<n.length;){zc.lastIndex=i;const o=zc.exec(n),l=n.slice(i,o?o.index:n.length);l&&(u?u==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:a=l,i+=l.length),o&&(u=o[0],i++)}return{type:"element",tagName:a||t||"div",properties:r,children:[]}}s(fy,"parseSelector");function
|
|
21
|
-
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}s(Gc,"next");const zt={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/"},Vc={}.hasOwnProperty,yy=Object.prototype;function Ty(e,t){const n=t||{};return cu({file:n.file||void 0,location:!1,schema:n.space==="svg"?ir:ti,verbose:n.verbose||!1},e)}s(Ty,"fromParse5");function cu(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Ci(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Wc(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const u=String(e.file),a=Cy(u),o=a.toPoint(0),l=a.toPoint(u.length);n.position={start:o,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Ci(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Ci(e,r,n),n}default:return n=by(e,t),n}}s(cu,"one$2");function Wc(e,t){let n=-1;const r=[];for(;++n<t.length;){const i=cu(e,t[n]);r.push(i)}return r}s(Wc,"all$3");function by(e,t){const n=e.schema;e.schema=t.namespaceURI===zt.svg?ir:ti;let r=-1;const i={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;Vc.call(yy,l)||(i[l]=o.value)}const a=(e.schema.space==="svg"?Dy:Ay)(t.tagName,i,Wc(e,t.childNodes));if(Ci(e,t,a),a.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&Cn(l.startTag),f=l&&l.endTag&&Cn(l.endTag),h=cu(e,o.content);c&&f&&e.file&&(h.position={start:c.end,end:f.start}),a.content=h}return e.schema=n,a}s(by,"element$2");function Ci(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=ky(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}s(Ci,"patch$2");function ky(e,t,n){const r=Cn(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)),e.verbose){const u={};let a;if(n.attrs)for(a in n.attrs)Vc.call(n.attrs,a)&&(u[Os(e.schema,a).property]=Cn(n.attrs[a]));n.startTag;const o=Cn(n.startTag),l=n.endTag?Cn(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=u,t.data={position:c}}}return r}s(ky,"createLocation");function Cn(e){const t=Kc({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Kc({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}s(Cn,"position$2");function Kc(e){return e.line&&e.column?e:void 0}s(Kc,"point$3");let lr=class{static{s(this,"Schema")}constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};lr.prototype.property={},lr.prototype.normal={},lr.prototype.space=null;function Qc(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new lr(n,r,t)}s(Qc,"merge$1");function hu(e){return e.toLowerCase()}s(hu,"normalize$2");class We{static{s(this,"Info")}constructor(t,n){this.property=t,this.attribute=n}}We.prototype.space=null,We.prototype.boolean=!1,We.prototype.booleanish=!1,We.prototype.overloadedBoolean=!1,We.prototype.number=!1,We.prototype.commaSeparated=!1,We.prototype.spaceSeparated=!1,We.prototype.commaOrSpaceSeparated=!1,We.prototype.mustUseProperty=!1,We.prototype.defined=!1;let Sy=0;const Q=Yt(),De=Yt(),Xc=Yt(),$=Yt(),ce=Yt(),yn=Yt(),je=Yt();function Yt(){return 2**++Sy}s(Yt,"increment");var fu=Object.freeze({__proto__:null,boolean:Q,booleanish:De,commaOrSpaceSeparated:je,commaSeparated:yn,number:$,overloadedBoolean:Xc,spaceSeparated:ce});const du=Object.keys(fu);class pu extends We{static{s(this,"DefinedInfo")}constructor(t,n,r,i){let u=-1;if(super(t,n),Jc(this,"space",i),typeof r=="number")for(;++u<du.length;){const a=du[u];Jc(this,du[u],(r&fu[a])===fu[a])}}}pu.prototype.defined=!0;function Jc(e,t,n){n&&(e[t]=n)}s(Jc,"mark");const _y={}.hasOwnProperty;function Tn(e){const t={},n={};let r;for(r in e.properties)if(_y.call(e.properties,r)){const i=e.properties[r],u=new pu(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(u.mustUseProperty=!0),t[r]=u,n[hu(r)]=r,n[hu(u.attribute)]=r}return new lr(t,n,e.space)}s(Tn,"create$2");const Zc=Tn({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}}),eh=Tn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function th(e,t){return t in e?e[t]:t}s(th,"caseSensitiveTransform");function nh(e,t){return th(e,t.toLowerCase())}s(nh,"caseInsensitiveTransform");const rh=Tn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:nh,properties:{xmlns:null,xmlnsXLink:null}}),ih=Tn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:De,ariaAutoComplete:null,ariaBusy:De,ariaChecked:De,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:ce,ariaCurrent:null,ariaDescribedBy:ce,ariaDetails:null,ariaDisabled:De,ariaDropEffect:ce,ariaErrorMessage:null,ariaExpanded:De,ariaFlowTo:ce,ariaGrabbed:De,ariaHasPopup:null,ariaHidden:De,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ce,ariaLevel:$,ariaLive:null,ariaModal:De,ariaMultiLine:De,ariaMultiSelectable:De,ariaOrientation:null,ariaOwns:ce,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:De,ariaReadOnly:De,ariaRelevant:null,ariaRequired:De,ariaRoleDescription:ce,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:De,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null}}),By=Tn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:nh,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:yn,acceptCharset:ce,accessKey:ce,action:null,allow:null,allowFullScreen:Q,allowPaymentRequest:Q,allowUserMedia:Q,alt:null,as:null,async:Q,autoCapitalize:null,autoComplete:ce,autoFocus:Q,autoPlay:Q,blocking:ce,capture:null,charSet:null,checked:Q,cite:null,className:ce,cols:$,colSpan:null,content:null,contentEditable:De,controls:Q,controlsList:ce,coords:$|yn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Q,defer:Q,dir:null,dirName:null,disabled:Q,download:Xc,draggable:De,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Q,formTarget:null,headers:ce,height:$,hidden:Q,high:$,href:null,hrefLang:null,htmlFor:ce,httpEquiv:ce,id:null,imageSizes:null,imageSrcSet:null,inert:Q,inputMode:null,integrity:null,is:null,isMap:Q,itemId:null,itemProp:ce,itemRef:ce,itemScope:Q,itemType:ce,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Q,low:$,manifest:null,max:null,maxLength:$,media:null,method:null,min:null,minLength:$,multiple:Q,muted:Q,name:null,nonce:null,noModule:Q,noValidate:Q,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Q,optimum:$,pattern:null,ping:ce,placeholder:null,playsInline:Q,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Q,referrerPolicy:null,rel:ce,required:Q,reversed:Q,rows:$,rowSpan:$,sandbox:ce,scope:null,scoped:Q,seamless:Q,selected:Q,shadowRootClonable:Q,shadowRootDelegatesFocus:Q,shadowRootMode:null,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:De,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$,step:null,style:null,tabIndex:$,target:null,title:null,translate:null,type:null,typeMustMatch:Q,useMap:null,value:De,width:$,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ce,axis:null,background:null,bgColor:null,border:$,borderColor:null,bottomMargin:$,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Q,declare:Q,event:null,face:null,frame:null,frameBorder:null,hSpace:$,leftMargin:$,link:null,longDesc:null,lowSrc:null,marginHeight:$,marginWidth:$,noResize:Q,noHref:Q,noShade:Q,noWrap:Q,object:null,profile:null,prompt:null,rev:null,rightMargin:$,rules:null,scheme:null,scrolling:De,standby:null,summary:null,text:null,topMargin:$,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Q,disableRemotePlayback:Q,prefix:null,property:null,results:$,security:null,unselectable:null}}),wy=Tn({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:th,properties:{about:je,accentHeight:$,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$,amplitude:$,arabicForm:null,ascent:$,attributeName:null,attributeType:null,azimuth:$,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$,by:null,calcMode:null,capHeight:$,className:ce,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:$,diffuseConstant:$,direction:null,display:null,dur:null,divisor:$,dominantBaseline:null,download:Q,dx:null,dy:null,edgeMode:null,editable:null,elevation:$,enableBackground:null,end:null,event:null,exponent:$,externalResourcesRequired:null,fill:null,fillOpacity:$,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:yn,g2:yn,glyphName:yn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$,horizOriginX:$,horizOriginY:$,id:null,ideographic:$,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$,k:$,k1:$,k2:$,k3:$,k4:$,kernelMatrix:je,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$,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:$,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:$,overlineThickness:$,paintOrder:null,panose1:null,path:null,pathLength:$,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ce,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:je,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:je,rev:je,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:je,requiredFeatures:je,requiredFonts:je,requiredFormats:je,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:$,specularExponent:$,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$,strikethroughThickness:$,string:null,stroke:null,strokeDashArray:je,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:je,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:je,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$,underlineThickness:$,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$,values:null,vAlphabetic:$,vMathematical:$,vectorEffect:null,vHanging:$,vIdeographic:$,version:null,vertAdvY:$,vertOriginX:$,vertOriginY:$,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Fy=/^data[-\w.:]+$/i,sh=/-[a-z]/g,Ny=/[A-Z]/g;function xy(e,t){const n=hu(t);let r=t,i=We;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Fy.test(t)){if(t.charAt(4)==="-"){const u=t.slice(5).replace(sh,vy);r="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=t.slice(4);if(!sh.test(u)){let a=u.replace(Ny,Iy);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=pu}return new i(r,t)}s(xy,"find");function Iy(e){return"-"+e.toLowerCase()}s(Iy,"kebab");function vy(e){return e.charAt(1).toUpperCase()}s(vy,"camelcase");const Ly=Qc([eh,Zc,rh,ih,By],"html"),uh=Qc([eh,Zc,rh,ih,wy],"svg"),Oy={},Ry={}.hasOwnProperty,ah=Rs("type",{handlers:{root:My,element:zy,text:$y,comment:qy,doctype:Hy}});function Py(e,t){const r=(t||Oy).space;return ah(e,r==="svg"?uh:Ly)}s(Py,"toParse5");function My(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=mu(e.children,n,t),bn(e,n),n}s(My,"root$3");function Uy(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=mu(e.children,n,t),bn(e,n),n}s(Uy,"fragment");function Hy(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return bn(e,t),t}s(Hy,"doctype$1");function $y(e){const t={nodeName:"#text",value:e.value,parentNode:null};return bn(e,t),t}s($y,"text$6");function qy(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return bn(e,t),t}s(qy,"comment$1");function zy(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=uh);const i=[];let u;if(e.properties){for(u in e.properties)if(u!=="children"&&Ry.call(e.properties,u)){const l=Yy(r,u,e.properties[u]);l&&i.push(l)}}const a=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:zt[a],childNodes:[],parentNode:null};return o.childNodes=mu(e.children,o,r),bn(e,o),e.tagName==="template"&&e.content&&(o.content=Uy(e.content,r)),o}s(zy,"element$1");function Yy(e,t,n){const r=xy(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?zl(n):jl(n));const i={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const u=i.name.indexOf(":");u<0?i.prefix="":(i.name=i.name.slice(u+1),i.prefix=r.attribute.slice(0,u)),i.namespace=zt[r.space]}return i}s(Yy,"createProperty");function mu(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const u=ah(e[r],n);u.parentNode=t,i.push(u)}return i}s(mu,"all$2");function bn(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,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})}s(bn,"patch$1");const jy=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]),fe="\uFFFD";var y;(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.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_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_Z=122]="LATIN_SMALL_Z"})(y||(y={}));const Me={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function oh(e){return e>=55296&&e<=57343}s(oh,"isSurrogate");function Gy(e){return e>=56320&&e<=57343}s(Gy,"isSurrogatePair");function Vy(e,t){return(e-55296)*1024+9216+t}s(Vy,"getSurrogatePairCodePoint");function lh(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}s(lh,"isControlCodePoint");function ch(e){return e>=64976&&e<=65007||jy.has(e)}s(ch,"isUndefinedCodePoint");var O;(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"})(O||(O={}));const Wy=65536;class Ky{static{s(this,"Preprocessor")}constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Wy,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:i,offset:u}=this,a=i+n,o=u+n;return{code:t,startLine:r,endLine:r,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(Gy(n))return this.pos++,this._addGap(),Vy(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,y.EOF;return this._err(O.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){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(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,y.EOF;const r=this.html.charCodeAt(n);return r===y.CARRIAGE_RETURN?y.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,y.EOF;let t=this.html.charCodeAt(this.pos);return t===y.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,y.LINE_FEED):t===y.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,oh(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===y.LINE_FEED||t===y.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){lh(t)?this._err(O.controlCharacterInInputStream):ch(t)&&this._err(O.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Z;(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"})(Z||(Z={}));function hh(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}s(hh,"getTokenAttr");const Qy=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0))),Xy=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]]);function Jy(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Xy.get(e))!==null&&t!==void 0?t:e}s(Jy,"replaceCodePoint");var ke;(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"})(ke||(ke={}));const Zy=32;var Nt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Nt||(Nt={}));function gu(e){return e>=ke.ZERO&&e<=ke.NINE}s(gu,"isNumber");function eT(e){return e>=ke.UPPER_A&&e<=ke.UPPER_F||e>=ke.LOWER_A&&e<=ke.LOWER_F}s(eT,"isHexadecimalCharacter");function tT(e){return e>=ke.UPPER_A&&e<=ke.UPPER_Z||e>=ke.LOWER_A&&e<=ke.LOWER_Z||gu(e)}s(tT,"isAsciiAlphaNumeric$1");function nT(e){return e===ke.EQUALS||tT(e)}s(nT,"isEntityInAttributeInvalidEnd");var Se;(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"})(Se||(Se={}));var yt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(yt||(yt={}));class rT{static{s(this,"EntityDecoder")}constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Se.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=yt.Strict}startEntity(t){this.decodeMode=t,this.state=Se.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Se.EntityStart:return t.charCodeAt(n)===ke.NUM?(this.state=Se.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Se.NamedEntity,this.stateNamedEntity(t,n));case Se.NumericStart:return this.stateNumericStart(t,n);case Se.NumericDecimal:return this.stateNumericDecimal(t,n);case Se.NumericHex:return this.stateNumericHex(t,n);case Se.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Zy)===ke.LOWER_X?(this.state=Se.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Se.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const u=r-n;this.result=this.result*Math.pow(i,u)+Number.parseInt(t.substr(n,u),i),this.consumed+=u}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(gu(i)||eT(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(gu(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ke.SEMI)this.consumed+=1;else if(this.decodeMode===yt.Strict)return 0;return this.emitCodePoint(Jy(this.result),this.consumed),this.errors&&(t!==ke.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let i=r[this.treeIndex],u=(i&Nt.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=iT(r,i,this.treeIndex+Math.max(1,u),a),this.treeIndex<0)return this.result===0||this.decodeMode===yt.Attribute&&(u===0||nT(a))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],u=(i&Nt.VALUE_LENGTH)>>14,u!==0){if(a===ke.SEMI)return this.emitNamedEntityData(this.treeIndex,u,this.consumed+this.excess);this.decodeMode!==yt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&Nt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~Nt.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case Se.NamedEntity:return this.result!==0&&(this.decodeMode!==yt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Se.NumericDecimal:return this.emitNumericEntity(0,2);case Se.NumericHex:return this.emitNumericEntity(0,3);case Se.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Se.EntityStart:return 0}}}function iT(e,t,n,r){const i=(t&Nt.BRANCH_LENGTH)>>7,u=t&Nt.JUMP_TABLE;if(i===0)return u!==0&&r===u?n:-1;if(u){const l=r-u;return l<0||l>=i?-1:e[n+l]-1}let a=n,o=a+i-1;for(;a<=o;){const l=a+o>>>1,c=e[l];if(c<r)a=l+1;else if(c>r)o=l-1;else return e[l+i]}return-1}s(iT,"determineBranch");var P;(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/"})(P||(P={}));var jt;(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"})(jt||(jt={}));var Ke;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ke||(Ke={}));var N;(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.SEARCH="search",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"})(N||(N={}));var d;(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.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(d||(d={}));const sT=new Map([[N.A,d.A],[N.ADDRESS,d.ADDRESS],[N.ANNOTATION_XML,d.ANNOTATION_XML],[N.APPLET,d.APPLET],[N.AREA,d.AREA],[N.ARTICLE,d.ARTICLE],[N.ASIDE,d.ASIDE],[N.B,d.B],[N.BASE,d.BASE],[N.BASEFONT,d.BASEFONT],[N.BGSOUND,d.BGSOUND],[N.BIG,d.BIG],[N.BLOCKQUOTE,d.BLOCKQUOTE],[N.BODY,d.BODY],[N.BR,d.BR],[N.BUTTON,d.BUTTON],[N.CAPTION,d.CAPTION],[N.CENTER,d.CENTER],[N.CODE,d.CODE],[N.COL,d.COL],[N.COLGROUP,d.COLGROUP],[N.DD,d.DD],[N.DESC,d.DESC],[N.DETAILS,d.DETAILS],[N.DIALOG,d.DIALOG],[N.DIR,d.DIR],[N.DIV,d.DIV],[N.DL,d.DL],[N.DT,d.DT],[N.EM,d.EM],[N.EMBED,d.EMBED],[N.FIELDSET,d.FIELDSET],[N.FIGCAPTION,d.FIGCAPTION],[N.FIGURE,d.FIGURE],[N.FONT,d.FONT],[N.FOOTER,d.FOOTER],[N.FOREIGN_OBJECT,d.FOREIGN_OBJECT],[N.FORM,d.FORM],[N.FRAME,d.FRAME],[N.FRAMESET,d.FRAMESET],[N.H1,d.H1],[N.H2,d.H2],[N.H3,d.H3],[N.H4,d.H4],[N.H5,d.H5],[N.H6,d.H6],[N.HEAD,d.HEAD],[N.HEADER,d.HEADER],[N.HGROUP,d.HGROUP],[N.HR,d.HR],[N.HTML,d.HTML],[N.I,d.I],[N.IMG,d.IMG],[N.IMAGE,d.IMAGE],[N.INPUT,d.INPUT],[N.IFRAME,d.IFRAME],[N.KEYGEN,d.KEYGEN],[N.LABEL,d.LABEL],[N.LI,d.LI],[N.LINK,d.LINK],[N.LISTING,d.LISTING],[N.MAIN,d.MAIN],[N.MALIGNMARK,d.MALIGNMARK],[N.MARQUEE,d.MARQUEE],[N.MATH,d.MATH],[N.MENU,d.MENU],[N.META,d.META],[N.MGLYPH,d.MGLYPH],[N.MI,d.MI],[N.MO,d.MO],[N.MN,d.MN],[N.MS,d.MS],[N.MTEXT,d.MTEXT],[N.NAV,d.NAV],[N.NOBR,d.NOBR],[N.NOFRAMES,d.NOFRAMES],[N.NOEMBED,d.NOEMBED],[N.NOSCRIPT,d.NOSCRIPT],[N.OBJECT,d.OBJECT],[N.OL,d.OL],[N.OPTGROUP,d.OPTGROUP],[N.OPTION,d.OPTION],[N.P,d.P],[N.PARAM,d.PARAM],[N.PLAINTEXT,d.PLAINTEXT],[N.PRE,d.PRE],[N.RB,d.RB],[N.RP,d.RP],[N.RT,d.RT],[N.RTC,d.RTC],[N.RUBY,d.RUBY],[N.S,d.S],[N.SCRIPT,d.SCRIPT],[N.SEARCH,d.SEARCH],[N.SECTION,d.SECTION],[N.SELECT,d.SELECT],[N.SOURCE,d.SOURCE],[N.SMALL,d.SMALL],[N.SPAN,d.SPAN],[N.STRIKE,d.STRIKE],[N.STRONG,d.STRONG],[N.STYLE,d.STYLE],[N.SUB,d.SUB],[N.SUMMARY,d.SUMMARY],[N.SUP,d.SUP],[N.TABLE,d.TABLE],[N.TBODY,d.TBODY],[N.TEMPLATE,d.TEMPLATE],[N.TEXTAREA,d.TEXTAREA],[N.TFOOT,d.TFOOT],[N.TD,d.TD],[N.TH,d.TH],[N.THEAD,d.THEAD],[N.TITLE,d.TITLE],[N.TR,d.TR],[N.TRACK,d.TRACK],[N.TT,d.TT],[N.U,d.U],[N.UL,d.UL],[N.SVG,d.SVG],[N.VAR,d.VAR],[N.WBR,d.WBR],[N.XMP,d.XMP]]);function kn(e){var t;return(t=sT.get(e))!==null&&t!==void 0?t:d.UNKNOWN}s(kn,"getTagID");const U=d,uT={[P.HTML]:new Set([U.ADDRESS,U.APPLET,U.AREA,U.ARTICLE,U.ASIDE,U.BASE,U.BASEFONT,U.BGSOUND,U.BLOCKQUOTE,U.BODY,U.BR,U.BUTTON,U.CAPTION,U.CENTER,U.COL,U.COLGROUP,U.DD,U.DETAILS,U.DIR,U.DIV,U.DL,U.DT,U.EMBED,U.FIELDSET,U.FIGCAPTION,U.FIGURE,U.FOOTER,U.FORM,U.FRAME,U.FRAMESET,U.H1,U.H2,U.H3,U.H4,U.H5,U.H6,U.HEAD,U.HEADER,U.HGROUP,U.HR,U.HTML,U.IFRAME,U.IMG,U.INPUT,U.LI,U.LINK,U.LISTING,U.MAIN,U.MARQUEE,U.MENU,U.META,U.NAV,U.NOEMBED,U.NOFRAMES,U.NOSCRIPT,U.OBJECT,U.OL,U.P,U.PARAM,U.PLAINTEXT,U.PRE,U.SCRIPT,U.SECTION,U.SELECT,U.SOURCE,U.STYLE,U.SUMMARY,U.TABLE,U.TBODY,U.TD,U.TEMPLATE,U.TEXTAREA,U.TFOOT,U.TH,U.THEAD,U.TITLE,U.TR,U.TRACK,U.UL,U.WBR,U.XMP]),[P.MATHML]:new Set([U.MI,U.MO,U.MN,U.MS,U.MTEXT,U.ANNOTATION_XML]),[P.SVG]:new Set([U.TITLE,U.FOREIGN_OBJECT,U.DESC]),[P.XLINK]:new Set,[P.XML]:new Set,[P.XMLNS]:new Set},Eu=new Set([U.H1,U.H2,U.H3,U.H4,U.H5,U.H6]);N.STYLE,N.SCRIPT,N.XMP,N.IFRAME,N.NOEMBED,N.NOFRAMES,N.PLAINTEXT;var b;(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.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(b||(b={}));const de={DATA:b.DATA,RCDATA:b.RCDATA,RAWTEXT:b.RAWTEXT,SCRIPT_DATA:b.SCRIPT_DATA,PLAINTEXT:b.PLAINTEXT,CDATA_SECTION:b.CDATA_SECTION};function aT(e){return e>=y.DIGIT_0&&e<=y.DIGIT_9}s(aT,"isAsciiDigit");function cr(e){return e>=y.LATIN_CAPITAL_A&&e<=y.LATIN_CAPITAL_Z}s(cr,"isAsciiUpper");function oT(e){return e>=y.LATIN_SMALL_A&&e<=y.LATIN_SMALL_Z}s(oT,"isAsciiLower");function xt(e){return oT(e)||cr(e)}s(xt,"isAsciiLetter");function fh(e){return xt(e)||aT(e)}s(fh,"isAsciiAlphaNumeric");function yi(e){return e+32}s(yi,"toAsciiLower");function dh(e){return e===y.SPACE||e===y.LINE_FEED||e===y.TABULATION||e===y.FORM_FEED}s(dh,"isWhitespace");function ph(e){return dh(e)||e===y.SOLIDUS||e===y.GREATER_THAN_SIGN}s(ph,"isScriptDataDoubleEscapeSequenceEnd");function lT(e){return e===y.NULL?O.nullCharacterReference:e>1114111?O.characterReferenceOutsideUnicodeRange:oh(e)?O.surrogateCharacterReference:ch(e)?O.noncharacterCharacterReference:lh(e)||e===y.CARRIAGE_RETURN?O.controlCharacterReference:null}s(lT,"getErrorForNumericCharacterReference");class cT{static{s(this,"Tokenizer")}constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=b.DATA,this.returnState=b.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Ky(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new rT(Qy,(r,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:s(()=>{this._err(O.missingSemicolonAfterCharacterReference,1)},"missingSemicolonAfterCharacterReference"),absenceOfDigitsInNumericCharacterReference:s(r=>{this._err(O.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},"absenceOfDigitsInNumericCharacterReference"),validateNumericCharacterReference:s(r=>{const i=lT(r);i&&this._err(i,1)},"validateNumericCharacterReference")}:void 0)}_err(t,n=0){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Z.START_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Z.END_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Z.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Z.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(hh(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const i=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(O.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=kn(t.tagName),t.type===Z.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(O.endTagWithAttributes),t.selfClosing&&this._err(O.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Z.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Z.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Z.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Z.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=dh(t)?Z.WHITESPACE_CHARACTER:t===y.NULL?Z.NULL_CHARACTER:Z.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Z.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=b.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?yt.Attribute:yt.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===b.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===b.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===b.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case b.DATA:{this._stateData(t);break}case b.RCDATA:{this._stateRcdata(t);break}case b.RAWTEXT:{this._stateRawtext(t);break}case b.SCRIPT_DATA:{this._stateScriptData(t);break}case b.PLAINTEXT:{this._statePlaintext(t);break}case b.TAG_OPEN:{this._stateTagOpen(t);break}case b.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case b.TAG_NAME:{this._stateTagName(t);break}case b.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case b.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case b.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case b.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case b.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case b.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case b.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case b.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case b.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case b.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case b.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case b.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case b.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case b.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case b.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case b.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case b.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case b.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case b.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case b.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case b.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case b.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case b.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case b.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case b.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case b.BOGUS_COMMENT:{this._stateBogusComment(t);break}case b.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case b.COMMENT_START:{this._stateCommentStart(t);break}case b.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case b.COMMENT:{this._stateComment(t);break}case b.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case b.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case b.COMMENT_END:{this._stateCommentEnd(t);break}case b.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case b.DOCTYPE:{this._stateDoctype(t);break}case b.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case b.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case b.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case b.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case b.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case b.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case b.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case b.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case b.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case b.CDATA_SECTION:{this._stateCdataSection(t);break}case b.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case b.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case b.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case b.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case y.LESS_THAN_SIGN:{this.state=b.TAG_OPEN;break}case y.AMPERSAND:{this._startCharacterReference();break}case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitCodePoint(t);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case y.AMPERSAND:{this._startCharacterReference();break}case y.LESS_THAN_SIGN:{this.state=b.RCDATA_LESS_THAN_SIGN;break}case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(fe);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case y.LESS_THAN_SIGN:{this.state=b.RAWTEXT_LESS_THAN_SIGN;break}case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(fe);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_LESS_THAN_SIGN;break}case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(fe);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(fe);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(xt(t))this._createStartTagToken(),this.state=b.TAG_NAME,this._stateTagName(t);else switch(t){case y.EXCLAMATION_MARK:{this.state=b.MARKUP_DECLARATION_OPEN;break}case y.SOLIDUS:{this.state=b.END_TAG_OPEN;break}case y.QUESTION_MARK:{this._err(O.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t);break}case y.EOF:{this._err(O.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(O.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=b.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(xt(t))this._createEndTagToken(),this.state=b.TAG_NAME,this._stateTagName(t);else switch(t){case y.GREATER_THAN_SIGN:{this._err(O.missingEndTagName),this.state=b.DATA;break}case y.EOF:{this._err(O.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(O.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=b.BEFORE_ATTRIBUTE_NAME;break}case y.SOLIDUS:{this.state=b.SELF_CLOSING_START_TAG;break}case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentTagToken();break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.tagName+=fe;break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(cr(t)?yi(t):t)}}_stateRcdataLessThanSign(t){t===y.SOLIDUS?this.state=b.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=b.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){xt(t)?(this.state=b.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=b.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=b.BEFORE_ATTRIBUTE_NAME,!1;case y.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=b.SELF_CLOSING_START_TAG,!1;case y.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=b.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===y.SOLIDUS?this.state=b.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){xt(t)?(this.state=b.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case y.SOLIDUS:{this.state=b.SCRIPT_DATA_END_TAG_OPEN;break}case y.EXCLAMATION_MARK:{this.state=b.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=b.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){xt(t)?(this.state=b.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===y.HYPHEN_MINUS?(this.state=b.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===y.HYPHEN_MINUS?(this.state=b.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case y.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(fe);break}case y.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case y.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_ESCAPED,this._emitChars(fe);break}case y.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case y.HYPHEN_MINUS:{this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case y.GREATER_THAN_SIGN:{this.state=b.SCRIPT_DATA,this._emitChars(">");break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_ESCAPED,this._emitChars(fe);break}case y.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===y.SOLIDUS?this.state=b.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:xt(t)?(this._emitChars("<"),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){xt(t)?(this.state=b.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Me.SCRIPT,!1)&&ph(this.preprocessor.peek(Me.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Me.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case y.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(fe);break}case y.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case y.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(fe);break}case y.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case y.HYPHEN_MINUS:{this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case y.GREATER_THAN_SIGN:{this.state=b.SCRIPT_DATA,this._emitChars(">");break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(fe);break}case y.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===y.SOLIDUS?(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Me.SCRIPT,!1)&&ph(this.preprocessor.peek(Me.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Me.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=b.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.SOLIDUS:case y.GREATER_THAN_SIGN:case y.EOF:{this.state=b.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case y.EQUALS_SIGN:{this._err(O.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=b.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=b.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:case y.SOLIDUS:case y.GREATER_THAN_SIGN:case y.EOF:{this._leaveAttrName(),this.state=b.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case y.EQUALS_SIGN:{this._leaveAttrName(),this.state=b.BEFORE_ATTRIBUTE_VALUE;break}case y.QUOTATION_MARK:case y.APOSTROPHE:case y.LESS_THAN_SIGN:{this._err(O.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.currentAttr.name+=fe;break}default:this.currentAttr.name+=String.fromCodePoint(cr(t)?yi(t):t)}}_stateAfterAttributeName(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.SOLIDUS:{this.state=b.SELF_CLOSING_START_TAG;break}case y.EQUALS_SIGN:{this.state=b.BEFORE_ATTRIBUTE_VALUE;break}case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentTagToken();break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=b.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:{this.state=b.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case y.APOSTROPHE:{this.state=b.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(O.missingAttributeValue),this.state=b.DATA,this.emitCurrentTagToken();break}default:this.state=b.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case y.QUOTATION_MARK:{this.state=b.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case y.AMPERSAND:{this._startCharacterReference();break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.currentAttr.value+=fe;break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case y.APOSTROPHE:{this.state=b.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case y.AMPERSAND:{this._startCharacterReference();break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.currentAttr.value+=fe;break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this._leaveAttrValue(),this.state=b.BEFORE_ATTRIBUTE_NAME;break}case y.AMPERSAND:{this._startCharacterReference();break}case y.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=b.DATA,this.emitCurrentTagToken();break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.currentAttr.value+=fe;break}case y.QUOTATION_MARK:case y.APOSTROPHE:case y.LESS_THAN_SIGN:case y.EQUALS_SIGN:case y.GRAVE_ACCENT:{this._err(O.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this._leaveAttrValue(),this.state=b.BEFORE_ATTRIBUTE_NAME;break}case y.SOLIDUS:{this._leaveAttrValue(),this.state=b.SELF_CLOSING_START_TAG;break}case y.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=b.DATA,this.emitCurrentTagToken();break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this._err(O.missingWhitespaceBetweenAttributes),this.state=b.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case y.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=b.DATA,this.emitCurrentTagToken();break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this._err(O.unexpectedSolidusInTag),this.state=b.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentComment(n);break}case y.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.data+=fe;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Me.DASH_DASH,!0)?(this._createCommentToken(Me.DASH_DASH.length+1),this.state=b.COMMENT_START):this._consumeSequenceIfMatch(Me.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Me.DOCTYPE.length+1),this.state=b.DOCTYPE):this._consumeSequenceIfMatch(Me.CDATA_START,!0)?this.inForeignNode?this.state=b.CDATA_SECTION:(this._err(O.cdataInHtmlContent),this._createCommentToken(Me.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=b.BOGUS_COMMENT):this._ensureHibernation()||(this._err(O.incorrectlyOpenedComment),this._createCommentToken(2),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case y.HYPHEN_MINUS:{this.state=b.COMMENT_START_DASH;break}case y.GREATER_THAN_SIGN:{this._err(O.abruptClosingOfEmptyComment),this.state=b.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=b.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case y.HYPHEN_MINUS:{this.state=b.COMMENT_END;break}case y.GREATER_THAN_SIGN:{this._err(O.abruptClosingOfEmptyComment),this.state=b.DATA,this.emitCurrentComment(n);break}case y.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=b.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case y.HYPHEN_MINUS:{this.state=b.COMMENT_END_DASH;break}case y.LESS_THAN_SIGN:{n.data+="<",this.state=b.COMMENT_LESS_THAN_SIGN;break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.data+=fe;break}case y.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case y.EXCLAMATION_MARK:{n.data+="!",this.state=b.COMMENT_LESS_THAN_SIGN_BANG;break}case y.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=b.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===y.HYPHEN_MINUS?this.state=b.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=b.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===y.HYPHEN_MINUS?this.state=b.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=b.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==y.GREATER_THAN_SIGN&&t!==y.EOF&&this._err(O.nestedComment),this.state=b.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case y.HYPHEN_MINUS:{this.state=b.COMMENT_END;break}case y.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=b.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentComment(n);break}case y.EXCLAMATION_MARK:{this.state=b.COMMENT_END_BANG;break}case y.HYPHEN_MINUS:{n.data+="-";break}case y.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=b.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case y.HYPHEN_MINUS:{n.data+="--!",this.state=b.COMMENT_END_DASH;break}case y.GREATER_THAN_SIGN:{this._err(O.incorrectlyClosedComment),this.state=b.DATA,this.emitCurrentComment(n);break}case y.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=b.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_NAME;break}case y.GREATER_THAN_SIGN:{this.state=b.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case y.EOF:{this._err(O.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingWhitespaceBeforeDoctypeName),this.state=b.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(cr(t))this._createDoctypeToken(String.fromCharCode(yi(t))),this.state=b.DOCTYPE_NAME;else switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.NULL:{this._err(O.unexpectedNullCharacter),this._createDoctypeToken(fe),this.state=b.DOCTYPE_NAME;break}case y.GREATER_THAN_SIGN:{this._err(O.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.EOF:{this._err(O.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=b.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=b.AFTER_DOCTYPE_NAME;break}case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.name+=fe;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(cr(t)?yi(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Me.PUBLIC,!1)?this.state=b.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Me.SYSTEM,!1)?this.state=b.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(O.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case y.QUOTATION_MARK:{this._err(O.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{this._err(O.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(O.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:{n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(O.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case y.QUOTATION_MARK:{this.state=b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.publicId+=fe;break}case y.GREATER_THAN_SIGN:{this._err(O.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case y.APOSTROPHE:{this.state=b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.publicId+=fe;break}case y.GREATER_THAN_SIGN:{this._err(O.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=b.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.QUOTATION_MARK:{this._err(O.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{this._err(O.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.QUOTATION_MARK:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case y.QUOTATION_MARK:{this._err(O.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{this._err(O.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(O.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(O.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case y.QUOTATION_MARK:{this.state=b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.systemId+=fe;break}case y.GREATER_THAN_SIGN:{this._err(O.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case y.APOSTROPHE:{this.state=b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.systemId+=fe;break}case y.GREATER_THAN_SIGN:{this._err(O.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case y.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.NULL:{this._err(O.unexpectedNullCharacter);break}case y.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case y.RIGHT_SQUARE_BRACKET:{this.state=b.CDATA_SECTION_BRACKET;break}case y.EOF:{this._err(O.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===y.RIGHT_SQUARE_BRACKET?this.state=b.CDATA_SECTION_END:(this._emitChars("]"),this.state=b.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case y.GREATER_THAN_SIGN:{this.state=b.DATA;break}case y.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=b.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(y.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&fh(this.preprocessor.peek(1))?b.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){fh(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===y.SEMICOLON&&this._err(O.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const mh=new Set([d.DD,d.DT,d.LI,d.OPTGROUP,d.OPTION,d.P,d.RB,d.RP,d.RT,d.RTC]),gh=new Set([...mh,d.CAPTION,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]),Ti=new Set([d.APPLET,d.CAPTION,d.HTML,d.MARQUEE,d.OBJECT,d.TABLE,d.TD,d.TEMPLATE,d.TH]),hT=new Set([...Ti,d.OL,d.UL]),fT=new Set([...Ti,d.BUTTON]),Eh=new Set([d.ANNOTATION_XML,d.MI,d.MN,d.MO,d.MS,d.MTEXT]),Ah=new Set([d.DESC,d.FOREIGN_OBJECT,d.TITLE]),dT=new Set([d.TR,d.TEMPLATE,d.HTML]),pT=new Set([d.TBODY,d.TFOOT,d.THEAD,d.TEMPLATE,d.HTML]),mT=new Set([d.TABLE,d.TEMPLATE,d.HTML]),gT=new Set([d.TD,d.TH]);class ET{static{s(this,"OpenElementStack")}get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=d.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===d.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===P.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==P.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Eu,P.HTML)}popUntilTableCellPopped(){this.popUntilPopped(gT,P.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(mT,P.HTML)}clearBackToTableBodyContext(){this.clearBackTo(pT,P.HTML)}clearBackToTableRowContext(){this.clearBackTo(dT,P.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===d.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===d.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const i=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case P.HTML:{if(i===t)return!0;if(n.has(i))return!1;break}case P.SVG:{if(Ah.has(i))return!1;break}case P.MATHML:{if(Eh.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Ti)}hasInListItemScope(t){return this.hasInDynamicScope(t,hT)}hasInButtonScope(t){return this.hasInDynamicScope(t,fT)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case P.HTML:{if(Eu.has(n))return!0;if(Ti.has(n))return!1;break}case P.SVG:{if(Ah.has(n))return!1;break}case P.MATHML:{if(Eh.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===P.HTML)switch(this.tagIDs[n]){case t:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===P.HTML)switch(this.tagIDs[t]){case d.TBODY:case d.THEAD:case d.TFOOT:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===P.HTML)switch(this.tagIDs[n]){case t:return!0;case d.OPTION:case d.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&mh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&gh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&gh.has(this.currentTagId);)this.pop()}}const Au=3;var ct;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(ct||(ct={}));const Dh={type:ct.Marker};class AT{static{s(this,"FormattingElementList")}constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,u=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===ct.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===u&&this.treeAdapter.getNamespaceURI(c)===a){const f=this.treeAdapter.getAttrList(c);f.length===i&&r.push({idx:o,attrs:f})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Au)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Au)return;const i=new Map(n.map(a=>[a.name,a.value]));let u=0;for(let a=0;a<r.length;a++){const o=r[a];o.attrs.every(l=>i.get(l.name)===l.value)&&(u+=1,u>=Au&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Dh)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:ct.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:ct.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Dh);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===ct.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===ct.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===ct.Element&&n.element===t)}}const It={createDocument(){return{nodeName:"#document",mode:Ke.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}},createTextNode(e){return{nodeName:"#text",value: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(u=>u.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const u={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};It.appendChild(e,u)}},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(It.isTextNode(n)){n.value+=t;return}}It.appendChild(e,It.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&It.isTextNode(r)?r.value+=t:It.insertBefore(e,It.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)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}}},Ch="html",DT="about:legacy-compat",CT="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",yh=["+//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//"],yT=[...yh,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],TT=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Th=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],bT=[...Th,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function bh(e,t){return t.some(n=>e.startsWith(n))}s(bh,"hasPrefix");function kT(e){return e.name===Ch&&e.publicId===null&&(e.systemId===null||e.systemId===DT)}s(kT,"isConforming");function ST(e){if(e.name!==Ch)return Ke.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===CT)return Ke.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),TT.has(n))return Ke.QUIRKS;let r=t===null?yT:yh;if(bh(n,r))return Ke.QUIRKS;if(r=t===null?Th:bT,bh(n,r))return Ke.LIMITED_QUIRKS}return Ke.NO_QUIRKS}s(ST,"getDocumentMode");const kh={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},_T="definitionurl",BT="definitionURL",wT=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])),FT=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:P.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:P.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:P.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:P.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:P.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:P.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:P.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:P.XML}],["xml:space",{prefix:"xml",name:"space",namespace:P.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:P.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:P.XMLNS}]]),NT=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])),xT=new Set([d.B,d.BIG,d.BLOCKQUOTE,d.BODY,d.BR,d.CENTER,d.CODE,d.DD,d.DIV,d.DL,d.DT,d.EM,d.EMBED,d.H1,d.H2,d.H3,d.H4,d.H5,d.H6,d.HEAD,d.HR,d.I,d.IMG,d.LI,d.LISTING,d.MENU,d.META,d.NOBR,d.OL,d.P,d.PRE,d.RUBY,d.S,d.SMALL,d.SPAN,d.STRONG,d.STRIKE,d.SUB,d.SUP,d.TABLE,d.TT,d.U,d.UL,d.VAR]);function IT(e){const t=e.tagID;return t===d.FONT&&e.attrs.some(({name:r})=>r===jt.COLOR||r===jt.SIZE||r===jt.FACE)||xT.has(t)}s(IT,"causesExit");function Sh(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===_T){e.attrs[t].name=BT;break}}s(Sh,"adjustTokenMathMLAttrs");function _h(e){for(let t=0;t<e.attrs.length;t++){const n=wT.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}s(_h,"adjustTokenSVGAttrs");function Du(e){for(let t=0;t<e.attrs.length;t++){const n=FT.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}s(Du,"adjustTokenXMLAttrs");function vT(e){const t=NT.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=kn(e.tagName))}s(vT,"adjustTokenSVGTagName");function LT(e,t){return t===P.MATHML&&(e===d.MI||e===d.MO||e===d.MN||e===d.MS||e===d.MTEXT)}s(LT,"isMathMLTextIntegrationPoint");function OT(e,t,n){if(t===P.MATHML&&e===d.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===jt.ENCODING){const i=n[r].value.toLowerCase();return i===kh.TEXT_HTML||i===kh.APPLICATION_XML}}return t===P.SVG&&(e===d.FOREIGN_OBJECT||e===d.DESC||e===d.TITLE)}s(OT,"isHtmlIntegrationPoint");function RT(e,t,n,r){return(!r||r===P.HTML)&&OT(e,t,n)||(!r||r===P.MATHML)&<(e,t)}s(RT,"isIntegrationPoint");const PT="hidden",MT=8,UT=3;var k;(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"})(k||(k={}));const HT={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Bh=new Set([d.TABLE,d.TBODY,d.TFOOT,d.THEAD,d.TR]),wh={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:It,onParseError:null};let Fh=class{static{s(this,"Parser")}constructor(t,n,r=null,i=null){this.fragmentContext=r,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=k.INITIAL,this.originalInsertionMode=k.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...wh,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new cT(this.options,this),this.activeFormattingElements=new AT(this.treeAdapter),this.fragmentContextID=r?kn(this.treeAdapter.getTagName(r)):d.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new ET(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...wh,...n};t??(t=r.treeAdapter.createElement(N.TEMPLATE,P.HTML,[]));const i=r.treeAdapter.createElement("documentmock",P.HTML,[]),u=new this(r,i,t);return u.fragmentContextID===d.TEMPLATE&&u.tmplInsertionModeStack.unshift(k.IN_TEMPLATE),u._initTokenizerForFragmentParsing(),u._insertFakeRootElement(),u._resetInsertionMode(),u._findFormInFragmentContext(),u}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var i;if(!this.onParseError)return;const u=(i=t.location)!==null&&i!==void 0?i:HT,a={code:n,startLine:u.startLine,startCol:u.startCol,startOffset:u.startOffset,endLine:r?u.startLine:u.endLine,endCol:r?u.startCol:u.endCol,endOffset:r?u.startOffset:u.endOffset};this.onParseError(a)}onItemPush(t,n,r){var i,u;(u=(i=this.treeAdapter).onItemPush)===null||u===void 0||u.call(i,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let u,a;this.openElements.stackTop===0&&this.fragmentContext?(u=this.fragmentContext,a=this.fragmentContextID):{current:u,currentTagId:a}=this.openElements,this._setContextModes(u,a)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===P.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,P.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=k.TEXT}switchToPlaintextParsing(){this.insertionMode=k.TEXT,this.originalInsertionMode=k.IN_BODY,this.tokenizer.state=de.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===N.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==P.HTML))switch(this.fragmentContextID){case d.TITLE:case d.TEXTAREA:{this.tokenizer.state=de.RCDATA;break}case d.STYLE:case d.XMP:case d.IFRAME:case d.NOEMBED:case d.NOFRAMES:case d.NOSCRIPT:{this.tokenizer.state=de.RAWTEXT;break}case d.SCRIPT:{this.tokenizer.state=de.SCRIPT_DATA;break}case d.PLAINTEXT:{this.tokenizer.state=de.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const a=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));a&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,P.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,P.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(N.HTML,P.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,d.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),u=r?i.lastIndexOf(r):i.length,a=i[u-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:l,endCol:c,endOffset:f}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:f})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),u=n.type===Z.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,u)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===d.SVG&&this.treeAdapter.getTagName(n)===N.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===P.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===d.MGLYPH||t.tagID===d.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,P.HTML)}_processToken(t){switch(t.type){case Z.CHARACTER:{this.onCharacter(t);break}case Z.NULL_CHARACTER:{this.onNullCharacter(t);break}case Z.COMMENT:{this.onComment(t);break}case Z.DOCTYPE:{this.onDoctype(t);break}case Z.START_TAG:{this._processStartTag(t);break}case Z.END_TAG:{this.onEndTag(t);break}case Z.EOF:{this.onEof(t);break}case Z.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),u=this.treeAdapter.getAttrList(n);return RT(t,i,u,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===ct.Marker||this.openElements.contains(i.element)),r=n===-1?t-1:n-1;for(let i=r;i>=0;i--){const u=this.activeFormattingElements.entries[i];this._insertElement(u.token,this.treeAdapter.getNamespaceURI(u.element)),u.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=k.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(d.P),this.openElements.popUntilTagNamePopped(d.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case d.TR:{this.insertionMode=k.IN_ROW;return}case d.TBODY:case d.THEAD:case d.TFOOT:{this.insertionMode=k.IN_TABLE_BODY;return}case d.CAPTION:{this.insertionMode=k.IN_CAPTION;return}case d.COLGROUP:{this.insertionMode=k.IN_COLUMN_GROUP;return}case d.TABLE:{this.insertionMode=k.IN_TABLE;return}case d.BODY:{this.insertionMode=k.IN_BODY;return}case d.FRAMESET:{this.insertionMode=k.IN_FRAMESET;return}case d.SELECT:{this._resetInsertionModeForSelect(t);return}case d.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case d.HTML:{this.insertionMode=this.headElement?k.AFTER_HEAD:k.BEFORE_HEAD;return}case d.TD:case d.TH:{if(t>0){this.insertionMode=k.IN_CELL;return}break}case d.HEAD:{if(t>0){this.insertionMode=k.IN_HEAD;return}break}}this.insertionMode=k.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===d.TEMPLATE)break;if(r===d.TABLE){this.insertionMode=k.IN_SELECT_IN_TABLE;return}}this.insertionMode=k.IN_SELECT}_isElementCausesFosterParenting(t){return Bh.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case d.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===P.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case d.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return uT[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){gk(this,t);return}switch(this.insertionMode){case k.INITIAL:{hr(this,t);break}case k.BEFORE_HTML:{fr(this,t);break}case k.BEFORE_HEAD:{dr(this,t);break}case k.IN_HEAD:{pr(this,t);break}case k.IN_HEAD_NO_SCRIPT:{mr(this,t);break}case k.AFTER_HEAD:{gr(this,t);break}case k.IN_BODY:case k.IN_CAPTION:case k.IN_CELL:case k.IN_TEMPLATE:{xh(this,t);break}case k.TEXT:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{bu(this,t);break}case k.IN_TABLE_TEXT:{Uh(this,t);break}case k.IN_COLUMN_GROUP:{Si(this,t);break}case k.AFTER_BODY:{wi(this,t);break}case k.AFTER_AFTER_BODY:{Fi(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){mk(this,t);return}switch(this.insertionMode){case k.INITIAL:{hr(this,t);break}case k.BEFORE_HTML:{fr(this,t);break}case k.BEFORE_HEAD:{dr(this,t);break}case k.IN_HEAD:{pr(this,t);break}case k.IN_HEAD_NO_SCRIPT:{mr(this,t);break}case k.AFTER_HEAD:{gr(this,t);break}case k.TEXT:{this._insertCharacters(t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{bu(this,t);break}case k.IN_COLUMN_GROUP:{Si(this,t);break}case k.AFTER_BODY:{wi(this,t);break}case k.AFTER_AFTER_BODY:{Fi(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){yu(this,t);return}switch(this.insertionMode){case k.INITIAL:case k.BEFORE_HTML:case k.BEFORE_HEAD:case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:case k.IN_BODY:case k.IN_TABLE:case k.IN_CAPTION:case k.IN_COLUMN_GROUP:case k.IN_TABLE_BODY:case k.IN_ROW:case k.IN_CELL:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:case k.IN_TEMPLATE:case k.IN_FRAMESET:case k.AFTER_FRAMESET:{yu(this,t);break}case k.IN_TABLE_TEXT:{Dr(this,t);break}case k.AFTER_BODY:{VT(this,t);break}case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{WT(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case k.INITIAL:{KT(this,t);break}case k.BEFORE_HEAD:case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:{this._err(t,O.misplacedDoctype);break}case k.IN_TABLE_TEXT:{Dr(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,O.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Ek(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{hr(this,t);break}case k.BEFORE_HTML:{QT(this,t);break}case k.BEFORE_HEAD:{JT(this,t);break}case k.IN_HEAD:{st(this,t);break}case k.IN_HEAD_NO_SCRIPT:{tb(this,t);break}case k.AFTER_HEAD:{rb(this,t);break}case k.IN_BODY:{Fe(this,t);break}case k.IN_TABLE:{Sn(this,t);break}case k.IN_TABLE_TEXT:{Dr(this,t);break}case k.IN_CAPTION:{Zb(this,t);break}case k.IN_COLUMN_GROUP:{ku(this,t);break}case k.IN_TABLE_BODY:{_i(this,t);break}case k.IN_ROW:{Bi(this,t);break}case k.IN_CELL:{nk(this,t);break}case k.IN_SELECT:{qh(this,t);break}case k.IN_SELECT_IN_TABLE:{ik(this,t);break}case k.IN_TEMPLATE:{uk(this,t);break}case k.AFTER_BODY:{ok(this,t);break}case k.IN_FRAMESET:{lk(this,t);break}case k.AFTER_FRAMESET:{hk(this,t);break}case k.AFTER_AFTER_BODY:{dk(this,t);break}case k.AFTER_AFTER_FRAMESET:{pk(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Ak(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{hr(this,t);break}case k.BEFORE_HTML:{XT(this,t);break}case k.BEFORE_HEAD:{ZT(this,t);break}case k.IN_HEAD:{eb(this,t);break}case k.IN_HEAD_NO_SCRIPT:{nb(this,t);break}case k.AFTER_HEAD:{ib(this,t);break}case k.IN_BODY:{ki(this,t);break}case k.TEXT:{zb(this,t);break}case k.IN_TABLE:{Er(this,t);break}case k.IN_TABLE_TEXT:{Dr(this,t);break}case k.IN_CAPTION:{ek(this,t);break}case k.IN_COLUMN_GROUP:{tk(this,t);break}case k.IN_TABLE_BODY:{Su(this,t);break}case k.IN_ROW:{$h(this,t);break}case k.IN_CELL:{rk(this,t);break}case k.IN_SELECT:{zh(this,t);break}case k.IN_SELECT_IN_TABLE:{sk(this,t);break}case k.IN_TEMPLATE:{ak(this,t);break}case k.AFTER_BODY:{jh(this,t);break}case k.IN_FRAMESET:{ck(this,t);break}case k.AFTER_FRAMESET:{fk(this,t);break}case k.AFTER_AFTER_BODY:{Fi(this,t);break}}}onEof(t){switch(this.insertionMode){case k.INITIAL:{hr(this,t);break}case k.BEFORE_HTML:{fr(this,t);break}case k.BEFORE_HEAD:{dr(this,t);break}case k.IN_HEAD:{pr(this,t);break}case k.IN_HEAD_NO_SCRIPT:{mr(this,t);break}case k.AFTER_HEAD:{gr(this,t);break}case k.IN_BODY:case k.IN_TABLE:case k.IN_CAPTION:case k.IN_COLUMN_GROUP:case k.IN_TABLE_BODY:case k.IN_ROW:case k.IN_CELL:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:{Ph(this,t);break}case k.TEXT:{Yb(this,t);break}case k.IN_TABLE_TEXT:{Dr(this,t);break}case k.IN_TEMPLATE:{Yh(this,t);break}case k.AFTER_BODY:case k.IN_FRAMESET:case k.AFTER_FRAMESET:case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{Tu(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===y.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:case k.TEXT:case k.IN_COLUMN_GROUP:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:case k.IN_FRAMESET:case k.AFTER_FRAMESET:{this._insertCharacters(t);break}case k.IN_BODY:case k.IN_CAPTION:case k.IN_CELL:case k.IN_TEMPLATE:case k.AFTER_BODY:case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{Nh(this,t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{bu(this,t);break}case k.IN_TABLE_TEXT:{Mh(this,t);break}}}};function $T(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Rh(e,t),n}s($T,"aaObtainFormattingElementEntry");function qT(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}s(qT,"aaObtainFurthestBlock");function zT(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let u=0,a=i;a!==n;u++,a=i){i=e.openElements.getCommonAncestor(a);const o=e.activeFormattingElements.getElementEntry(a),l=o&&u>=UT;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=YT(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}s(zT,"aaInnerLoop");function YT(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}s(YT,"aaRecreateElementFromEntry");function jT(e,t,n){const r=e.treeAdapter.getTagName(t),i=kn(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const u=e.treeAdapter.getNamespaceURI(t);i===d.TEMPLATE&&u===P.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}s(jT,"aaInsertLastNodeInCommonAncestor");function GT(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,u=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,u),e.treeAdapter.appendChild(t,u),e.activeFormattingElements.insertElementAfterBookmark(u,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,u,i.tagID)}s(GT,"aaReplaceFormattingElement");function Cu(e,t){for(let n=0;n<MT;n++){const r=$T(e,t);if(!r)break;const i=qT(e,r);if(!i)break;e.activeFormattingElements.bookmark=r;const u=zT(e,i,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(u),a&&jT(e,a,u),GT(e,i,r)}}s(Cu,"callAdoptionAgency");function yu(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}s(yu,"appendComment");function VT(e,t){e._appendCommentNode(t,e.openElements.items[0])}s(VT,"appendCommentToRootHtmlElement");function WT(e,t){e._appendCommentNode(t,e.document)}s(WT,"appendCommentToDocument");function Tu(e,t){if(e.stopped=!0,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 r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const u=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(u);a&&!a.endTag&&e._setEndLocation(u,t)}}}}s(Tu,"stopParsing");function KT(e,t){e._setDocumentType(t);const n=t.forceQuirks?Ke.QUIRKS:ST(t);kT(t)||e._err(t,O.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=k.BEFORE_HTML}s(KT,"doctypeInInitialMode");function hr(e,t){e._err(t,O.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ke.QUIRKS),e.insertionMode=k.BEFORE_HTML,e._processToken(t)}s(hr,"tokenInInitialMode");function QT(e,t){t.tagID===d.HTML?(e._insertElement(t,P.HTML),e.insertionMode=k.BEFORE_HEAD):fr(e,t)}s(QT,"startTagBeforeHtml");function XT(e,t){const n=t.tagID;(n===d.HTML||n===d.HEAD||n===d.BODY||n===d.BR)&&fr(e,t)}s(XT,"endTagBeforeHtml");function fr(e,t){e._insertFakeRootElement(),e.insertionMode=k.BEFORE_HEAD,e._processToken(t)}s(fr,"tokenBeforeHtml");function JT(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.HEAD:{e._insertElement(t,P.HTML),e.headElement=e.openElements.current,e.insertionMode=k.IN_HEAD;break}default:dr(e,t)}}s(JT,"startTagBeforeHead");function ZT(e,t){const n=t.tagID;n===d.HEAD||n===d.BODY||n===d.HTML||n===d.BR?dr(e,t):e._err(t,O.endTagWithoutMatchingOpenElement)}s(ZT,"endTagBeforeHead");function dr(e,t){e._insertFakeElement(N.HEAD,d.HEAD),e.headElement=e.openElements.current,e.insertionMode=k.IN_HEAD,e._processToken(t)}s(dr,"tokenBeforeHead");function st(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case d.TITLE:{e._switchToTextParsing(t,de.RCDATA);break}case d.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,de.RAWTEXT):(e._insertElement(t,P.HTML),e.insertionMode=k.IN_HEAD_NO_SCRIPT);break}case d.NOFRAMES:case d.STYLE:{e._switchToTextParsing(t,de.RAWTEXT);break}case d.SCRIPT:{e._switchToTextParsing(t,de.SCRIPT_DATA);break}case d.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=k.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(k.IN_TEMPLATE);break}case d.HEAD:{e._err(t,O.misplacedStartTagForHeadElement);break}default:pr(e,t)}}s(st,"startTagInHead");function eb(e,t){switch(t.tagID){case d.HEAD:{e.openElements.pop(),e.insertionMode=k.AFTER_HEAD;break}case d.BODY:case d.BR:case d.HTML:{pr(e,t);break}case d.TEMPLATE:{Gt(e,t);break}default:e._err(t,O.endTagWithoutMatchingOpenElement)}}s(eb,"endTagInHead");function Gt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TEMPLATE&&e._err(t,O.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,O.endTagWithoutMatchingOpenElement)}s(Gt,"templateEndTagInHead");function pr(e,t){e.openElements.pop(),e.insertionMode=k.AFTER_HEAD,e._processToken(t)}s(pr,"tokenInHead");function tb(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.BASEFONT:case d.BGSOUND:case d.HEAD:case d.LINK:case d.META:case d.NOFRAMES:case d.STYLE:{st(e,t);break}case d.NOSCRIPT:{e._err(t,O.nestedNoscriptInHead);break}default:mr(e,t)}}s(tb,"startTagInHeadNoScript");function nb(e,t){switch(t.tagID){case d.NOSCRIPT:{e.openElements.pop(),e.insertionMode=k.IN_HEAD;break}case d.BR:{mr(e,t);break}default:e._err(t,O.endTagWithoutMatchingOpenElement)}}s(nb,"endTagInHeadNoScript");function mr(e,t){const n=t.type===Z.EOF?O.openElementsLeftAfterEof:O.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=k.IN_HEAD,e._processToken(t)}s(mr,"tokenInHeadNoScript");function rb(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.BODY:{e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=k.IN_BODY;break}case d.FRAMESET:{e._insertElement(t,P.HTML),e.insertionMode=k.IN_FRAMESET;break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{e._err(t,O.abandonedHeadElementChild),e.openElements.push(e.headElement,d.HEAD),st(e,t),e.openElements.remove(e.headElement);break}case d.HEAD:{e._err(t,O.misplacedStartTagForHeadElement);break}default:gr(e,t)}}s(rb,"startTagAfterHead");function ib(e,t){switch(t.tagID){case d.BODY:case d.HTML:case d.BR:{gr(e,t);break}case d.TEMPLATE:{Gt(e,t);break}default:e._err(t,O.endTagWithoutMatchingOpenElement)}}s(ib,"endTagAfterHead");function gr(e,t){e._insertFakeElement(N.BODY,d.BODY),e.insertionMode=k.IN_BODY,bi(e,t)}s(gr,"tokenAfterHead");function bi(e,t){switch(t.type){case Z.CHARACTER:{xh(e,t);break}case Z.WHITESPACE_CHARACTER:{Nh(e,t);break}case Z.COMMENT:{yu(e,t);break}case Z.START_TAG:{Fe(e,t);break}case Z.END_TAG:{ki(e,t);break}case Z.EOF:{Ph(e,t);break}}}s(bi,"modeInBody");function Nh(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}s(Nh,"whitespaceCharacterInBody");function xh(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}s(xh,"characterInBody");function sb(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}s(sb,"htmlStartTagInBody");function ub(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}s(ub,"bodyStartTagInBody");function ab(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,P.HTML),e.insertionMode=k.IN_FRAMESET)}s(ab,"framesetStartTagInBody");function ob(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,P.HTML)}s(ob,"addressStartTagInBody");function lb(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Eu.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,P.HTML)}s(lb,"numberedHeaderStartTagInBody");function cb(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}s(cb,"preStartTagInBody");function hb(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,P.HTML),n||(e.formElement=e.openElements.current))}s(hb,"formStartTagInBody");function fb(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===d.LI&&i===d.LI||(n===d.DD||n===d.DT)&&(i===d.DD||i===d.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==d.ADDRESS&&i!==d.DIV&&i!==d.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,P.HTML)}s(fb,"listItemStartTagInBody");function db(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.tokenizer.state=de.PLAINTEXT}s(db,"plaintextStartTagInBody");function pb(e,t){e.openElements.hasInScope(d.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.framesetOk=!1}s(pb,"buttonStartTagInBody");function mb(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(N.A);n&&(Cu(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}s(mb,"aStartTagInBody");function gb(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}s(gb,"bStartTagInBody");function Eb(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.NOBR)&&(Cu(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}s(Eb,"nobrStartTagInBody");function Ab(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}s(Ab,"appletStartTagInBody");function Db(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ke.QUIRKS&&e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=k.IN_TABLE}s(Db,"tableStartTagInBody");function Ih(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,P.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}s(Ih,"areaStartTagInBody");function vh(e){const t=hh(e,jt.TYPE);return t!=null&&t.toLowerCase()===PT}s(vh,"isHiddenInput");function Cb(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,P.HTML),vh(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}s(Cb,"inputStartTagInBody");function yb(e,t){e._appendElement(t,P.HTML),t.ackSelfClosing=!0}s(yb,"paramStartTagInBody");function Tb(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._appendElement(t,P.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}s(Tb,"hrStartTagInBody");function bb(e,t){t.tagName=N.IMG,t.tagID=d.IMG,Ih(e,t)}s(bb,"imageStartTagInBody");function kb(e,t){e._insertElement(t,P.HTML),e.skipNextNewLine=!0,e.tokenizer.state=de.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=k.TEXT}s(kb,"textareaStartTagInBody");function Sb(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,de.RAWTEXT)}s(Sb,"xmpStartTagInBody");function _b(e,t){e.framesetOk=!1,e._switchToTextParsing(t,de.RAWTEXT)}s(_b,"iframeStartTagInBody");function Lh(e,t){e._switchToTextParsing(t,de.RAWTEXT)}s(Lh,"rawTextStartTagInBody");function Bb(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===k.IN_TABLE||e.insertionMode===k.IN_CAPTION||e.insertionMode===k.IN_TABLE_BODY||e.insertionMode===k.IN_ROW||e.insertionMode===k.IN_CELL?k.IN_SELECT_IN_TABLE:k.IN_SELECT}s(Bb,"selectStartTagInBody");function wb(e,t){e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML)}s(wb,"optgroupStartTagInBody");function Fb(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,P.HTML)}s(Fb,"rbStartTagInBody");function Nb(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.RTC),e._insertElement(t,P.HTML)}s(Nb,"rtStartTagInBody");function xb(e,t){e._reconstructActiveFormattingElements(),Sh(t),Du(t),t.selfClosing?e._appendElement(t,P.MATHML):e._insertElement(t,P.MATHML),t.ackSelfClosing=!0}s(xb,"mathStartTagInBody");function Ib(e,t){e._reconstructActiveFormattingElements(),_h(t),Du(t),t.selfClosing?e._appendElement(t,P.SVG):e._insertElement(t,P.SVG),t.ackSelfClosing=!0}s(Ib,"svgStartTagInBody");function Oh(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML)}s(Oh,"genericStartTagInBody");function Fe(e,t){switch(t.tagID){case d.I:case d.S:case d.B:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.SMALL:case d.STRIKE:case d.STRONG:{gb(e,t);break}case d.A:{mb(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{lb(e,t);break}case d.P:case d.DL:case d.OL:case d.UL:case d.DIV:case d.DIR:case d.NAV:case d.MAIN:case d.MENU:case d.ASIDE:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.DETAILS:case d.ADDRESS:case d.ARTICLE:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{ob(e,t);break}case d.LI:case d.DD:case d.DT:{fb(e,t);break}case d.BR:case d.IMG:case d.WBR:case d.AREA:case d.EMBED:case d.KEYGEN:{Ih(e,t);break}case d.HR:{Tb(e,t);break}case d.RB:case d.RTC:{Fb(e,t);break}case d.RT:case d.RP:{Nb(e,t);break}case d.PRE:case d.LISTING:{cb(e,t);break}case d.XMP:{Sb(e,t);break}case d.SVG:{Ib(e,t);break}case d.HTML:{sb(e,t);break}case d.BASE:case d.LINK:case d.META:case d.STYLE:case d.TITLE:case d.SCRIPT:case d.BGSOUND:case d.BASEFONT:case d.TEMPLATE:{st(e,t);break}case d.BODY:{ub(e,t);break}case d.FORM:{hb(e,t);break}case d.NOBR:{Eb(e,t);break}case d.MATH:{xb(e,t);break}case d.TABLE:{Db(e,t);break}case d.INPUT:{Cb(e,t);break}case d.PARAM:case d.TRACK:case d.SOURCE:{yb(e,t);break}case d.IMAGE:{bb(e,t);break}case d.BUTTON:{pb(e,t);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{Ab(e,t);break}case d.IFRAME:{_b(e,t);break}case d.SELECT:{Bb(e,t);break}case d.OPTION:case d.OPTGROUP:{wb(e,t);break}case d.NOEMBED:case d.NOFRAMES:{Lh(e,t);break}case d.FRAMESET:{ab(e,t);break}case d.TEXTAREA:{kb(e,t);break}case d.NOSCRIPT:{e.options.scriptingEnabled?Lh(e,t):Oh(e,t);break}case d.PLAINTEXT:{db(e,t);break}case d.COL:case d.TH:case d.TD:case d.TR:case d.HEAD:case d.FRAME:case d.TBODY:case d.TFOOT:case d.THEAD:case d.CAPTION:case d.COLGROUP:break;default:Oh(e,t)}}s(Fe,"startTagInBody");function vb(e,t){if(e.openElements.hasInScope(d.BODY)&&(e.insertionMode=k.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}s(vb,"bodyEndTagInBody");function Lb(e,t){e.openElements.hasInScope(d.BODY)&&(e.insertionMode=k.AFTER_BODY,jh(e,t))}s(Lb,"htmlEndTagInBody");function Ob(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}s(Ob,"addressEndTagInBody");function Rb(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(d.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(d.FORM):n&&e.openElements.remove(n))}s(Rb,"formEndTagInBody");function Pb(e){e.openElements.hasInButtonScope(d.P)||e._insertFakeElement(N.P,d.P),e._closePElement()}s(Pb,"pEndTagInBody");function Mb(e){e.openElements.hasInListItemScope(d.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.LI),e.openElements.popUntilTagNamePopped(d.LI))}s(Mb,"liEndTagInBody");function Ub(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}s(Ub,"ddEndTagInBody");function Hb(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}s(Hb,"numberedHeaderEndTagInBody");function $b(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}s($b,"appletEndTagInBody");function qb(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(N.BR,d.BR),e.openElements.pop(),e.framesetOk=!1}s(qb,"brEndTagInBody");function Rh(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const u=e.openElements.items[i],a=e.openElements.tagIDs[i];if(r===a&&(r!==d.UNKNOWN||e.treeAdapter.getTagName(u)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(u,a))break}}s(Rh,"genericEndTagInBody");function ki(e,t){switch(t.tagID){case d.A:case d.B:case d.I:case d.S:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.NOBR:case d.SMALL:case d.STRIKE:case d.STRONG:{Cu(e,t);break}case d.P:{Pb(e);break}case d.DL:case d.UL:case d.OL:case d.DIR:case d.DIV:case d.NAV:case d.PRE:case d.MAIN:case d.MENU:case d.ASIDE:case d.BUTTON:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.ADDRESS:case d.ARTICLE:case d.DETAILS:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.LISTING:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{Ob(e,t);break}case d.LI:{Mb(e);break}case d.DD:case d.DT:{Ub(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{Hb(e);break}case d.BR:{qb(e);break}case d.BODY:{vb(e,t);break}case d.HTML:{Lb(e,t);break}case d.FORM:{Rb(e);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{$b(e,t);break}case d.TEMPLATE:{Gt(e,t);break}default:Rh(e,t)}}s(ki,"endTagInBody");function Ph(e,t){e.tmplInsertionModeStack.length>0?Yh(e,t):Tu(e,t)}s(Ph,"eofInBody");function zb(e,t){var n;t.tagID===d.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}s(zb,"endTagInText");function Yb(e,t){e._err(t,O.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}s(Yb,"eofInText");function bu(e,t){if(e.openElements.currentTagId!==void 0&&Bh.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=k.IN_TABLE_TEXT,t.type){case Z.CHARACTER:{Uh(e,t);break}case Z.WHITESPACE_CHARACTER:{Mh(e,t);break}}else Ar(e,t)}s(bu,"characterInTable");function jb(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,P.HTML),e.insertionMode=k.IN_CAPTION}s(jb,"captionStartTagInTable");function Gb(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,P.HTML),e.insertionMode=k.IN_COLUMN_GROUP}s(Gb,"colgroupStartTagInTable");function Vb(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(N.COLGROUP,d.COLGROUP),e.insertionMode=k.IN_COLUMN_GROUP,ku(e,t)}s(Vb,"colStartTagInTable");function Wb(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,P.HTML),e.insertionMode=k.IN_TABLE_BODY}s(Wb,"tbodyStartTagInTable");function Kb(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(N.TBODY,d.TBODY),e.insertionMode=k.IN_TABLE_BODY,_i(e,t)}s(Kb,"tdStartTagInTable");function Qb(e,t){e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode(),e._processStartTag(t))}s(Qb,"tableStartTagInTable");function Xb(e,t){vh(t)?e._appendElement(t,P.HTML):Ar(e,t),t.ackSelfClosing=!0}s(Xb,"inputStartTagInTable");function Jb(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,P.HTML),e.formElement=e.openElements.current,e.openElements.pop())}s(Jb,"formStartTagInTable");function Sn(e,t){switch(t.tagID){case d.TD:case d.TH:case d.TR:{Kb(e,t);break}case d.STYLE:case d.SCRIPT:case d.TEMPLATE:{st(e,t);break}case d.COL:{Vb(e,t);break}case d.FORM:{Jb(e,t);break}case d.TABLE:{Qb(e,t);break}case d.TBODY:case d.TFOOT:case d.THEAD:{Wb(e,t);break}case d.INPUT:{Xb(e,t);break}case d.CAPTION:{jb(e,t);break}case d.COLGROUP:{Gb(e,t);break}default:Ar(e,t)}}s(Sn,"startTagInTable");function Er(e,t){switch(t.tagID){case d.TABLE:{e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode());break}case d.TEMPLATE:{Gt(e,t);break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:Ar(e,t)}}s(Er,"endTagInTable");function Ar(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,bi(e,t),e.fosterParentingEnabled=n}s(Ar,"tokenInTable");function Mh(e,t){e.pendingCharacterTokens.push(t)}s(Mh,"whitespaceCharacterInTableText");function Uh(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}s(Uh,"characterInTableText");function Dr(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Ar(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}s(Dr,"tokenInTableText");const Hh=new Set([d.CAPTION,d.COL,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]);function Zb(e,t){const n=t.tagID;Hh.has(n)?e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=k.IN_TABLE,Sn(e,t)):Fe(e,t)}s(Zb,"startTagInCaption");function ek(e,t){const n=t.tagID;switch(n){case d.CAPTION:case d.TABLE:{e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=k.IN_TABLE,n===d.TABLE&&Er(e,t));break}case d.BODY:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:ki(e,t)}}s(ek,"endTagInCaption");function ku(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.COL:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case d.TEMPLATE:{st(e,t);break}default:Si(e,t)}}s(ku,"startTagInColumnGroup");function tk(e,t){switch(t.tagID){case d.COLGROUP:{e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=k.IN_TABLE);break}case d.TEMPLATE:{Gt(e,t);break}case d.COL:break;default:Si(e,t)}}s(tk,"endTagInColumnGroup");function Si(e,t){e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=k.IN_TABLE,e._processToken(t))}s(Si,"tokenInColumnGroup");function _i(e,t){switch(t.tagID){case d.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,P.HTML),e.insertionMode=k.IN_ROW;break}case d.TH:case d.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(N.TR,d.TR),e.insertionMode=k.IN_ROW,Bi(e,t);break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE,Sn(e,t));break}default:Sn(e,t)}}s(_i,"startTagInTableBody");function Su(e,t){const n=t.tagID;switch(t.tagID){case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE);break}case d.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE,Er(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:case d.TR:break;default:Er(e,t)}}s(Su,"endTagInTableBody");function Bi(e,t){switch(t.tagID){case d.TH:case d.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,P.HTML),e.insertionMode=k.IN_CELL,e.activeFormattingElements.insertMarker();break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE_BODY,_i(e,t));break}default:Sn(e,t)}}s(Bi,"startTagInRow");function $h(e,t){switch(t.tagID){case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE_BODY);break}case d.TABLE:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE_BODY,Su(e,t));break}case d.TBODY:case d.TFOOT:case d.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(d.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE_BODY,Su(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:break;default:Er(e,t)}}s($h,"endTagInRow");function nk(e,t){const n=t.tagID;Hh.has(n)?(e.openElements.hasInTableScope(d.TD)||e.openElements.hasInTableScope(d.TH))&&(e._closeTableCell(),Bi(e,t)):Fe(e,t)}s(nk,"startTagInCell");function rk(e,t){const n=t.tagID;switch(n){case d.TD:case d.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=k.IN_ROW);break}case d.TABLE:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),$h(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:break;default:ki(e,t)}}s(rk,"endTagInCell");function qh(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._insertElement(t,P.HTML);break}case d.OPTGROUP:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._insertElement(t,P.HTML);break}case d.HR:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case d.INPUT:case d.KEYGEN:case d.TEXTAREA:case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),t.tagID!==d.SELECT&&e._processStartTag(t));break}case d.SCRIPT:case d.TEMPLATE:{st(e,t);break}}}s(qh,"startTagInSelect");function zh(e,t){switch(t.tagID){case d.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===d.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop();break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop();break}case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode());break}case d.TEMPLATE:{Gt(e,t);break}}}s(zh,"endTagInSelect");function ik(e,t){const n=t.tagID;n===d.CAPTION||n===d.TABLE||n===d.TBODY||n===d.TFOOT||n===d.THEAD||n===d.TR||n===d.TD||n===d.TH?(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e._processStartTag(t)):qh(e,t)}s(ik,"startTagInSelectInTable");function sk(e,t){const n=t.tagID;n===d.CAPTION||n===d.TABLE||n===d.TBODY||n===d.TFOOT||n===d.THEAD||n===d.TR||n===d.TD||n===d.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e.onEndTag(t)):zh(e,t)}s(sk,"endTagInSelectInTable");function uk(e,t){switch(t.tagID){case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{st(e,t);break}case d.CAPTION:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.tmplInsertionModeStack[0]=k.IN_TABLE,e.insertionMode=k.IN_TABLE,Sn(e,t);break}case d.COL:{e.tmplInsertionModeStack[0]=k.IN_COLUMN_GROUP,e.insertionMode=k.IN_COLUMN_GROUP,ku(e,t);break}case d.TR:{e.tmplInsertionModeStack[0]=k.IN_TABLE_BODY,e.insertionMode=k.IN_TABLE_BODY,_i(e,t);break}case d.TD:case d.TH:{e.tmplInsertionModeStack[0]=k.IN_ROW,e.insertionMode=k.IN_ROW,Bi(e,t);break}default:e.tmplInsertionModeStack[0]=k.IN_BODY,e.insertionMode=k.IN_BODY,Fe(e,t)}}s(uk,"startTagInTemplate");function ak(e,t){t.tagID===d.TEMPLATE&&Gt(e,t)}s(ak,"endTagInTemplate");function Yh(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Tu(e,t)}s(Yh,"eofInTemplate");function ok(e,t){t.tagID===d.HTML?Fe(e,t):wi(e,t)}s(ok,"startTagAfterBody");function jh(e,t){var n;if(t.tagID===d.HTML){if(e.fragmentContext||(e.insertionMode=k.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else wi(e,t)}s(jh,"endTagAfterBody");function wi(e,t){e.insertionMode=k.IN_BODY,bi(e,t)}s(wi,"tokenAfterBody");function lk(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.FRAMESET:{e._insertElement(t,P.HTML);break}case d.FRAME:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case d.NOFRAMES:{st(e,t);break}}}s(lk,"startTagInFrameset");function ck(e,t){t.tagID===d.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==d.FRAMESET&&(e.insertionMode=k.AFTER_FRAMESET))}s(ck,"endTagInFrameset");function hk(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.NOFRAMES:{st(e,t);break}}}s(hk,"startTagAfterFrameset");function fk(e,t){t.tagID===d.HTML&&(e.insertionMode=k.AFTER_AFTER_FRAMESET)}s(fk,"endTagAfterFrameset");function dk(e,t){t.tagID===d.HTML?Fe(e,t):Fi(e,t)}s(dk,"startTagAfterAfterBody");function Fi(e,t){e.insertionMode=k.IN_BODY,bi(e,t)}s(Fi,"tokenAfterAfterBody");function pk(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.NOFRAMES:{st(e,t);break}}}s(pk,"startTagAfterAfterFrameset");function mk(e,t){t.chars=fe,e._insertCharacters(t)}s(mk,"nullCharacterInForeignContent");function gk(e,t){e._insertCharacters(t),e.framesetOk=!1}s(gk,"characterInForeignContent");function Gh(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==P.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}s(Gh,"popUntilHtmlOrIntegrationPoint");function Ek(e,t){if(IT(t))Gh(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===P.MATHML?Sh(t):r===P.SVG&&(vT(t),_h(t)),Du(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}s(Ek,"startTagInForeignContent");function Ak(e,t){if(t.tagID===d.P||t.tagID===d.BR){Gh(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)===P.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}s(Ak,"endTagInForeignContent"),N.AREA,N.BASE,N.BASEFONT,N.BGSOUND,N.BR,N.COL,N.EMBED,N.FRAME,N.HR,N.IMG,N.INPUT,N.KEYGEN,N.LINK,N.META,N.PARAM,N.SOURCE,N.TRACK,N.WBR;const Ni=Vh("end"),Tt=Vh("start");function Vh(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}s(Vh,"point$2");function Dk(e){const t=Tt(e),n=Ni(e);if(t&&n)return{start:t,end:n}}s(Dk,"position$1");const Ck=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,yk=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Wh={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Kh(e,t){const n=xk(e),r=Rs("type",{handlers:{root:Tk,element:bk,text:kk,comment:Xh,doctype:Sk,raw:Bk},unknown:wk}),i={parser:n?new Fh(Wh):Fh.getFragmentParser(void 0,Wh),handle(o){r(o,i)},stitches:!1,options:t||{}};r(e,i),_n(i,Tt());const u=n?i.parser.document:i.parser.getFragment(),a=Ty(u,{file:i.options.file});return i.stitches&&ae(a,"comment",function(o,l,c){const f=o;if(f.value.stitch&&c&&l!==void 0){const h=c.children;return h[l]=f.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}s(Kh,"raw");function Qh(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}s(Qh,"all$1");function Tk(e,t){Qh(e.children,t)}s(Tk,"root$2");function bk(e,t){Fk(e,t),Qh(e.children,t),Nk(e,t)}s(bk,"element");function kk(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Z.CHARACTER,chars:e.value,location:Cr(e)};_n(t,Tt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}s(kk,"text$5");function Sk(e,t){const n={type:Z.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Cr(e)};_n(t,Tt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}s(Sk,"doctype");function _k(e,t){t.stitches=!0;const n=Ik(e);if("children"in e&&"children"in n){const r=Kh({type:"root",children:e.children},t.options);n.children=r.children}Xh({type:"comment",value:{stitch:n}},t)}s(_k,"stitch");function Xh(e,t){const n=e.value,r={type:Z.COMMENT,data:n,location:Cr(e)};_n(t,Tt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}s(Xh,"comment");function Bk(e,t){if(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=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,Jh(t,Tt(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Ck,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}s(Bk,"handleRaw");function wk(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))_k(n,t);else{let r="";throw yk.has(n.type)&&(r=". 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"),new Error("Cannot compile `"+n.type+"` node"+r)}}s(wk,"unknown");function _n(e,t){Jh(e,t);const n=e.parser.tokenizer.currentCharacterToken;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=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=de.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:""}}s(_n,"resetTokenizer");function Jh(e,t){if(t&&t.offset!==void 0){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}}s(Jh,"setPoint");function Fk(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===de.PLAINTEXT)return;_n(t,Tt(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:zt.html;i===zt.html&&n==="svg"&&(i=zt.svg);const u=Py({...e,children:[]},{space:i===zt.svg?"svg":"html"}),a={type:Z.START_TAG,tagName:n,tagID:kn(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in u?u.attrs:[],location:Cr(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}s(Fk,"startTag");function Nk(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Fl.includes(n)||t.parser.tokenizer.state===de.PLAINTEXT)return;_n(t,Ni(e));const r={type:Z.END_TAG,tagName:n,tagID:kn(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Cr(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===de.RCDATA||t.parser.tokenizer.state===de.RAWTEXT||t.parser.tokenizer.state===de.SCRIPT_DATA)&&(t.parser.tokenizer.state=de.DATA)}s(Nk,"endTag");function xk(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}s(xk,"documentMode");function Cr(e){const t=Tt(e)||{line:void 0,column:void 0,offset:void 0},n=Ni(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}s(Cr,"createParse5Location");function Ik(e){return"children"in e?Dn({...e,children:[]}):Dn(e)}s(Ik,"cloneWithoutChildren");function vk(e){return function(t,n){return Kh(t,{...e,file:n})}}s(vk,"rehypeRaw");function Lk(e){const t=this,n={...t.data("settings"),...e};t.compiler=r;function r(i){return Zl(i,n)}s(r,"compiler")}s(Lk,"rehypeStringify");function Ok(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}s(Ok,"blockquote$1");function Rk(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
20
|
+
`)+r.indent.repeat(Math.max(o,0));c&&c.type==="text"?c.value=$t(c)?h:c.value+h:a.push({type:"text",value:h})}s(u,"addBreak")}s(uy,"format$1");function Rc(e,t){return!!(t&&t.type==="element"&&e.blanks.length>0&&e.blanks.includes(t.tagName))}s(Rc,"blank");function iu(e,t){return t.type==="root"||(t.type==="element"?e.head||t.tagName==="script"||nu(t)||!ry(t):!1)}s(iu,"padding");function ay(e){return function(t){uy(t,e)}}s(ay,"rehypeFormat");const Pc=-1,Ei=0,ar=1,Ai=2,su=3,uu=4,au=5,ou=6,Mc=7,Uc=8,Hc=typeof self=="object"?self:globalThis,oy=s((e,t)=>{const n=s((i,u)=>(e.set(u,i),i),"as"),r=s(i=>{if(e.has(i))return e.get(i);const[u,a]=t[i];switch(u){case Ei:case Pc:return n(a,i);case ar:{const o=n([],i);for(const l of a)o.push(r(l));return o}case Ai:{const o=n({},i);for(const[l,c]of a)o[r(l)]=r(c);return o}case su:return n(new Date(a),i);case uu:{const{source:o,flags:l}=a;return n(new RegExp(o,l),i)}case au:{const o=n(new Map,i);for(const[l,c]of a)o.set(r(l),r(c));return o}case ou:{const o=n(new Set,i);for(const l of a)o.add(r(l));return o}case Mc:{const{name:o,message:l}=a;return n(new Hc[o](l),i)}case Uc:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:o}=new Uint8Array(a);return n(new DataView(o),a)}}return n(new Hc[u](a),i)},"unpair");return r},"deserializer"),$c=s(e=>oy(new Map,e)(0),"deserialize"),An="",{toString:ly}={},{keys:cy}=Object,or=s(e=>{const t=typeof e;if(t!=="object"||!e)return[Ei,t];const n=ly.call(e).slice(8,-1);switch(n){case"Array":return[ar,An];case"Object":return[Ai,An];case"Date":return[su,An];case"RegExp":return[uu,An];case"Map":return[au,An];case"Set":return[ou,An];case"DataView":return[ar,n]}return n.includes("Array")?[ar,n]:n.includes("Error")?[Mc,n]:[Ai,n]},"typeOf"),Di=s(([e,t])=>e===Ei&&(t==="function"||t==="symbol"),"shouldSkip"),hy=s((e,t,n,r)=>{const i=s((a,o)=>{const l=r.push(a)-1;return n.set(o,l),l},"as"),u=s(a=>{if(n.has(a))return n.get(a);let[o,l]=or(a);switch(o){case Ei:{let f=a;switch(l){case"bigint":o=Uc,f=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);f=null;break;case"undefined":return i([Pc],a)}return i([o,f],a)}case ar:{if(l){let m=a;return l==="DataView"?m=new Uint8Array(a.buffer):l==="ArrayBuffer"&&(m=new Uint8Array(a)),i([l,[...m]],a)}const f=[],h=i([o,f],a);for(const m of a)f.push(u(m));return h}case Ai:{if(l)switch(l){case"BigInt":return i([l,a.toString()],a);case"Boolean":case"Number":case"String":return i([l,a.valueOf()],a)}if(t&&"toJSON"in a)return u(a.toJSON());const f=[],h=i([o,f],a);for(const m of cy(a))(e||!Di(or(a[m])))&&f.push([u(m),u(a[m])]);return h}case su:return i([o,a.toISOString()],a);case uu:{const{source:f,flags:h}=a;return i([o,{source:f,flags:h}],a)}case au:{const f=[],h=i([o,f],a);for(const[m,p]of a)(e||!(Di(or(m))||Di(or(p))))&&f.push([u(m),u(p)]);return h}case ou:{const f=[],h=i([o,f],a);for(const m of a)(e||!Di(or(m)))&&f.push(u(m));return h}}const{message:c}=a;return i([o,{name:l,message:c}],a)},"pair");return u},"serializer"),qc=s((e,{json:t,lossy:n}={})=>{const r=[];return hy(!(t||n),!!t,new Map,r)(e),r},"serialize$1");var Dn=typeof structuredClone=="function"?((e,t)=>t&&("json"in t||"lossy"in t)?$c(qc(e,t)):structuredClone(e)):(e,t)=>$c(qc(e,t));function eI(){}s(eI,"ok");const zc=/[#.]/g;function fy(e,t){const n=e||"",r={};let i=0,u,a;for(;i<n.length;){zc.lastIndex=i;const o=zc.exec(n),l=n.slice(i,o?o.index:n.length);l&&(u?u==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:a=l,i+=l.length),o&&(u=o[0],i++)}return{type:"element",tagName:a||t||"div",properties:r,children:[]}}s(fy,"parseSelector");function jc(e,t,n){const r=n?gy(n):void 0;function i(u,a,...o){let l;if(u==null){l={type:"root",children:[]};const c=a;o.unshift(c)}else{l=fy(u,t);const c=l.tagName.toLowerCase(),f=r?r.get(c):void 0;if(l.tagName=f||c,dy(a))o.unshift(a);else for(const[h,m]of Object.entries(a))py(e,l.properties,h,m)}for(const c of o)lu(l.children,c);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return s(i,"h"),i}s(jc,"createH");function dy(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const i=t[r];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const u=i;for(const a of u)if(typeof a!="number"&&typeof a!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}s(dy,"isChild");function py(e,t,n,r){const i=Os(e,n);let u;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;u=r}else typeof r=="boolean"?u=r:typeof r=="string"?i.spaceSeparated?u=jl(r):i.commaSeparated?u=ql(r):i.commaOrSpaceSeparated?u=jl(ql(r).join(" ")):u=Yc(i,i.property,r):Array.isArray(r)?u=[...r]:u=i.property==="style"?my(r):String(r);if(Array.isArray(u)){const a=[];for(const o of u)a.push(Yc(i,i.property,o));u=a}i.property==="className"&&Array.isArray(t.className)&&(u=t.className.concat(u)),t[i.property]=u}}s(py,"addProperty");function lu(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)lu(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?lu(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}s(lu,"addChild");function Yc(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||rr(n)===rr(t)))return!0}return n}s(Yc,"parsePrimitive");function my(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}s(my,"style");function gy(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}s(gy,"createAdjustMap");const Ey=["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"],Ay=jc(ti,"div"),Dy=jc(ir,"g",Ey);function Cy(e){const t=String(e),n=[];return{toOffset:i,toPoint:r};function r(u){if(typeof u=="number"&&u>-1&&u<=t.length){let a=0;for(;;){let o=n[a];if(o===void 0){const l=Gc(t,n[a-1]);o=l===-1?t.length+1:l+1,n[a]=o}if(o>u)return{line:a+1,column:u-(a>0?n[a-1]:0)+1,offset:u};a++}}}function i(u){if(u&&typeof u.line=="number"&&typeof u.column=="number"&&!Number.isNaN(u.line)&&!Number.isNaN(u.column)){for(;n.length<u.line;){const o=n[n.length-1],l=Gc(t,o),c=l===-1?t.length+1:l+1;if(o===c)break;n.push(c)}const a=(u.line>1?n[u.line-2]:0)+u.column-1;if(a<n[u.line-1])return a}}}s(Cy,"location");function Gc(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
21
|
+
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}s(Gc,"next");const zt={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/"},Vc={}.hasOwnProperty,yy=Object.prototype;function Ty(e,t){const n=t||{};return cu({file:n.file||void 0,location:!1,schema:n.space==="svg"?ir:ti,verbose:n.verbose||!1},e)}s(Ty,"fromParse5");function cu(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Ci(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Wc(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const u=String(e.file),a=Cy(u),o=a.toPoint(0),l=a.toPoint(u.length);n.position={start:o,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Ci(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Ci(e,r,n),n}default:return n=by(e,t),n}}s(cu,"one$2");function Wc(e,t){let n=-1;const r=[];for(;++n<t.length;){const i=cu(e,t[n]);r.push(i)}return r}s(Wc,"all$3");function by(e,t){const n=e.schema;e.schema=t.namespaceURI===zt.svg?ir:ti;let r=-1;const i={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;Vc.call(yy,l)||(i[l]=o.value)}const a=(e.schema.space==="svg"?Dy:Ay)(t.tagName,i,Wc(e,t.childNodes));if(Ci(e,t,a),a.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&Cn(l.startTag),f=l&&l.endTag&&Cn(l.endTag),h=cu(e,o.content);c&&f&&e.file&&(h.position={start:c.end,end:f.start}),a.content=h}return e.schema=n,a}s(by,"element$2");function Ci(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=ky(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}s(Ci,"patch$2");function ky(e,t,n){const r=Cn(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)),e.verbose){const u={};let a;if(n.attrs)for(a in n.attrs)Vc.call(n.attrs,a)&&(u[Os(e.schema,a).property]=Cn(n.attrs[a]));n.startTag;const o=Cn(n.startTag),l=n.endTag?Cn(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=u,t.data={position:c}}}return r}s(ky,"createLocation");function Cn(e){const t=Kc({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Kc({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}s(Cn,"position$2");function Kc(e){return e.line&&e.column?e:void 0}s(Kc,"point$3");let lr=class{static{s(this,"Schema")}constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};lr.prototype.property={},lr.prototype.normal={},lr.prototype.space=null;function Qc(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new lr(n,r,t)}s(Qc,"merge$1");function hu(e){return e.toLowerCase()}s(hu,"normalize$2");class We{static{s(this,"Info")}constructor(t,n){this.property=t,this.attribute=n}}We.prototype.space=null,We.prototype.boolean=!1,We.prototype.booleanish=!1,We.prototype.overloadedBoolean=!1,We.prototype.number=!1,We.prototype.commaSeparated=!1,We.prototype.spaceSeparated=!1,We.prototype.commaOrSpaceSeparated=!1,We.prototype.mustUseProperty=!1,We.prototype.defined=!1;let Sy=0;const Q=jt(),De=jt(),Xc=jt(),$=jt(),ce=jt(),yn=jt(),Ye=jt();function jt(){return 2**++Sy}s(jt,"increment");var fu=Object.freeze({__proto__:null,boolean:Q,booleanish:De,commaOrSpaceSeparated:Ye,commaSeparated:yn,number:$,overloadedBoolean:Xc,spaceSeparated:ce});const du=Object.keys(fu);class pu extends We{static{s(this,"DefinedInfo")}constructor(t,n,r,i){let u=-1;if(super(t,n),Jc(this,"space",i),typeof r=="number")for(;++u<du.length;){const a=du[u];Jc(this,du[u],(r&fu[a])===fu[a])}}}pu.prototype.defined=!0;function Jc(e,t,n){n&&(e[t]=n)}s(Jc,"mark");const _y={}.hasOwnProperty;function Tn(e){const t={},n={};let r;for(r in e.properties)if(_y.call(e.properties,r)){const i=e.properties[r],u=new pu(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(u.mustUseProperty=!0),t[r]=u,n[hu(r)]=r,n[hu(u.attribute)]=r}return new lr(t,n,e.space)}s(Tn,"create$2");const Zc=Tn({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}}),eh=Tn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function th(e,t){return t in e?e[t]:t}s(th,"caseSensitiveTransform");function nh(e,t){return th(e,t.toLowerCase())}s(nh,"caseInsensitiveTransform");const rh=Tn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:nh,properties:{xmlns:null,xmlnsXLink:null}}),ih=Tn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:De,ariaAutoComplete:null,ariaBusy:De,ariaChecked:De,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:ce,ariaCurrent:null,ariaDescribedBy:ce,ariaDetails:null,ariaDisabled:De,ariaDropEffect:ce,ariaErrorMessage:null,ariaExpanded:De,ariaFlowTo:ce,ariaGrabbed:De,ariaHasPopup:null,ariaHidden:De,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ce,ariaLevel:$,ariaLive:null,ariaModal:De,ariaMultiLine:De,ariaMultiSelectable:De,ariaOrientation:null,ariaOwns:ce,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:De,ariaReadOnly:De,ariaRelevant:null,ariaRequired:De,ariaRoleDescription:ce,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:De,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null}}),By=Tn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:nh,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:yn,acceptCharset:ce,accessKey:ce,action:null,allow:null,allowFullScreen:Q,allowPaymentRequest:Q,allowUserMedia:Q,alt:null,as:null,async:Q,autoCapitalize:null,autoComplete:ce,autoFocus:Q,autoPlay:Q,blocking:ce,capture:null,charSet:null,checked:Q,cite:null,className:ce,cols:$,colSpan:null,content:null,contentEditable:De,controls:Q,controlsList:ce,coords:$|yn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Q,defer:Q,dir:null,dirName:null,disabled:Q,download:Xc,draggable:De,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Q,formTarget:null,headers:ce,height:$,hidden:Q,high:$,href:null,hrefLang:null,htmlFor:ce,httpEquiv:ce,id:null,imageSizes:null,imageSrcSet:null,inert:Q,inputMode:null,integrity:null,is:null,isMap:Q,itemId:null,itemProp:ce,itemRef:ce,itemScope:Q,itemType:ce,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Q,low:$,manifest:null,max:null,maxLength:$,media:null,method:null,min:null,minLength:$,multiple:Q,muted:Q,name:null,nonce:null,noModule:Q,noValidate:Q,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Q,optimum:$,pattern:null,ping:ce,placeholder:null,playsInline:Q,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Q,referrerPolicy:null,rel:ce,required:Q,reversed:Q,rows:$,rowSpan:$,sandbox:ce,scope:null,scoped:Q,seamless:Q,selected:Q,shadowRootClonable:Q,shadowRootDelegatesFocus:Q,shadowRootMode:null,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:De,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$,step:null,style:null,tabIndex:$,target:null,title:null,translate:null,type:null,typeMustMatch:Q,useMap:null,value:De,width:$,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ce,axis:null,background:null,bgColor:null,border:$,borderColor:null,bottomMargin:$,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Q,declare:Q,event:null,face:null,frame:null,frameBorder:null,hSpace:$,leftMargin:$,link:null,longDesc:null,lowSrc:null,marginHeight:$,marginWidth:$,noResize:Q,noHref:Q,noShade:Q,noWrap:Q,object:null,profile:null,prompt:null,rev:null,rightMargin:$,rules:null,scheme:null,scrolling:De,standby:null,summary:null,text:null,topMargin:$,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Q,disableRemotePlayback:Q,prefix:null,property:null,results:$,security:null,unselectable:null}}),wy=Tn({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:th,properties:{about:Ye,accentHeight:$,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$,amplitude:$,arabicForm:null,ascent:$,attributeName:null,attributeType:null,azimuth:$,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$,by:null,calcMode:null,capHeight:$,className:ce,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:$,diffuseConstant:$,direction:null,display:null,dur:null,divisor:$,dominantBaseline:null,download:Q,dx:null,dy:null,edgeMode:null,editable:null,elevation:$,enableBackground:null,end:null,event:null,exponent:$,externalResourcesRequired:null,fill:null,fillOpacity:$,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:yn,g2:yn,glyphName:yn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$,horizOriginX:$,horizOriginY:$,id:null,ideographic:$,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$,k:$,k1:$,k2:$,k3:$,k4:$,kernelMatrix:Ye,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$,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:$,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:$,overlineThickness:$,paintOrder:null,panose1:null,path:null,pathLength:$,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ce,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ye,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ye,rev:Ye,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ye,requiredFeatures:Ye,requiredFonts:Ye,requiredFormats:Ye,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:$,specularExponent:$,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$,strikethroughThickness:$,string:null,stroke:null,strokeDashArray:Ye,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ye,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ye,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$,underlineThickness:$,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$,values:null,vAlphabetic:$,vMathematical:$,vectorEffect:null,vHanging:$,vIdeographic:$,version:null,vertAdvY:$,vertOriginX:$,vertOriginY:$,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Fy=/^data[-\w.:]+$/i,sh=/-[a-z]/g,Ny=/[A-Z]/g;function xy(e,t){const n=hu(t);let r=t,i=We;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Fy.test(t)){if(t.charAt(4)==="-"){const u=t.slice(5).replace(sh,vy);r="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=t.slice(4);if(!sh.test(u)){let a=u.replace(Ny,Iy);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=pu}return new i(r,t)}s(xy,"find");function Iy(e){return"-"+e.toLowerCase()}s(Iy,"kebab");function vy(e){return e.charAt(1).toUpperCase()}s(vy,"camelcase");const Ly=Qc([eh,Zc,rh,ih,By],"html"),uh=Qc([eh,Zc,rh,ih,wy],"svg"),Oy={},Ry={}.hasOwnProperty,ah=Rs("type",{handlers:{root:My,element:zy,text:$y,comment:qy,doctype:Hy}});function Py(e,t){const r=(t||Oy).space;return ah(e,r==="svg"?uh:Ly)}s(Py,"toParse5");function My(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=mu(e.children,n,t),bn(e,n),n}s(My,"root$3");function Uy(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=mu(e.children,n,t),bn(e,n),n}s(Uy,"fragment");function Hy(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return bn(e,t),t}s(Hy,"doctype$1");function $y(e){const t={nodeName:"#text",value:e.value,parentNode:null};return bn(e,t),t}s($y,"text$6");function qy(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return bn(e,t),t}s(qy,"comment$1");function zy(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=uh);const i=[];let u;if(e.properties){for(u in e.properties)if(u!=="children"&&Ry.call(e.properties,u)){const l=jy(r,u,e.properties[u]);l&&i.push(l)}}const a=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:zt[a],childNodes:[],parentNode:null};return o.childNodes=mu(e.children,o,r),bn(e,o),e.tagName==="template"&&e.content&&(o.content=Uy(e.content,r)),o}s(zy,"element$1");function jy(e,t,n){const r=xy(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?zl(n):Yl(n));const i={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const u=i.name.indexOf(":");u<0?i.prefix="":(i.name=i.name.slice(u+1),i.prefix=r.attribute.slice(0,u)),i.namespace=zt[r.space]}return i}s(jy,"createProperty");function mu(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const u=ah(e[r],n);u.parentNode=t,i.push(u)}return i}s(mu,"all$2");function bn(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,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})}s(bn,"patch$1");const Yy=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]),fe="\uFFFD";var y;(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.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_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_Z=122]="LATIN_SMALL_Z"})(y||(y={}));const Me={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function oh(e){return e>=55296&&e<=57343}s(oh,"isSurrogate");function Gy(e){return e>=56320&&e<=57343}s(Gy,"isSurrogatePair");function Vy(e,t){return(e-55296)*1024+9216+t}s(Vy,"getSurrogatePairCodePoint");function lh(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}s(lh,"isControlCodePoint");function ch(e){return e>=64976&&e<=65007||Yy.has(e)}s(ch,"isUndefinedCodePoint");var O;(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"})(O||(O={}));const Wy=65536;class Ky{static{s(this,"Preprocessor")}constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Wy,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:i,offset:u}=this,a=i+n,o=u+n;return{code:t,startLine:r,endLine:r,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(Gy(n))return this.pos++,this._addGap(),Vy(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,y.EOF;return this._err(O.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){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(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,y.EOF;const r=this.html.charCodeAt(n);return r===y.CARRIAGE_RETURN?y.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,y.EOF;let t=this.html.charCodeAt(this.pos);return t===y.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,y.LINE_FEED):t===y.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,oh(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===y.LINE_FEED||t===y.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){lh(t)?this._err(O.controlCharacterInInputStream):ch(t)&&this._err(O.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Z;(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"})(Z||(Z={}));function hh(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}s(hh,"getTokenAttr");const Qy=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0))),Xy=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]]);function Jy(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Xy.get(e))!==null&&t!==void 0?t:e}s(Jy,"replaceCodePoint");var ke;(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"})(ke||(ke={}));const Zy=32;var Nt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Nt||(Nt={}));function gu(e){return e>=ke.ZERO&&e<=ke.NINE}s(gu,"isNumber");function eT(e){return e>=ke.UPPER_A&&e<=ke.UPPER_F||e>=ke.LOWER_A&&e<=ke.LOWER_F}s(eT,"isHexadecimalCharacter");function tT(e){return e>=ke.UPPER_A&&e<=ke.UPPER_Z||e>=ke.LOWER_A&&e<=ke.LOWER_Z||gu(e)}s(tT,"isAsciiAlphaNumeric$1");function nT(e){return e===ke.EQUALS||tT(e)}s(nT,"isEntityInAttributeInvalidEnd");var Se;(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"})(Se||(Se={}));var yt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(yt||(yt={}));class rT{static{s(this,"EntityDecoder")}constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Se.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=yt.Strict}startEntity(t){this.decodeMode=t,this.state=Se.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Se.EntityStart:return t.charCodeAt(n)===ke.NUM?(this.state=Se.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Se.NamedEntity,this.stateNamedEntity(t,n));case Se.NumericStart:return this.stateNumericStart(t,n);case Se.NumericDecimal:return this.stateNumericDecimal(t,n);case Se.NumericHex:return this.stateNumericHex(t,n);case Se.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Zy)===ke.LOWER_X?(this.state=Se.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Se.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const u=r-n;this.result=this.result*Math.pow(i,u)+Number.parseInt(t.substr(n,u),i),this.consumed+=u}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(gu(i)||eT(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(gu(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ke.SEMI)this.consumed+=1;else if(this.decodeMode===yt.Strict)return 0;return this.emitCodePoint(Jy(this.result),this.consumed),this.errors&&(t!==ke.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let i=r[this.treeIndex],u=(i&Nt.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=iT(r,i,this.treeIndex+Math.max(1,u),a),this.treeIndex<0)return this.result===0||this.decodeMode===yt.Attribute&&(u===0||nT(a))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],u=(i&Nt.VALUE_LENGTH)>>14,u!==0){if(a===ke.SEMI)return this.emitNamedEntityData(this.treeIndex,u,this.consumed+this.excess);this.decodeMode!==yt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&Nt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~Nt.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case Se.NamedEntity:return this.result!==0&&(this.decodeMode!==yt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Se.NumericDecimal:return this.emitNumericEntity(0,2);case Se.NumericHex:return this.emitNumericEntity(0,3);case Se.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Se.EntityStart:return 0}}}function iT(e,t,n,r){const i=(t&Nt.BRANCH_LENGTH)>>7,u=t&Nt.JUMP_TABLE;if(i===0)return u!==0&&r===u?n:-1;if(u){const l=r-u;return l<0||l>=i?-1:e[n+l]-1}let a=n,o=a+i-1;for(;a<=o;){const l=a+o>>>1,c=e[l];if(c<r)a=l+1;else if(c>r)o=l-1;else return e[l+i]}return-1}s(iT,"determineBranch");var P;(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/"})(P||(P={}));var Yt;(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"})(Yt||(Yt={}));var Ke;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ke||(Ke={}));var N;(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.SEARCH="search",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"})(N||(N={}));var d;(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.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(d||(d={}));const sT=new Map([[N.A,d.A],[N.ADDRESS,d.ADDRESS],[N.ANNOTATION_XML,d.ANNOTATION_XML],[N.APPLET,d.APPLET],[N.AREA,d.AREA],[N.ARTICLE,d.ARTICLE],[N.ASIDE,d.ASIDE],[N.B,d.B],[N.BASE,d.BASE],[N.BASEFONT,d.BASEFONT],[N.BGSOUND,d.BGSOUND],[N.BIG,d.BIG],[N.BLOCKQUOTE,d.BLOCKQUOTE],[N.BODY,d.BODY],[N.BR,d.BR],[N.BUTTON,d.BUTTON],[N.CAPTION,d.CAPTION],[N.CENTER,d.CENTER],[N.CODE,d.CODE],[N.COL,d.COL],[N.COLGROUP,d.COLGROUP],[N.DD,d.DD],[N.DESC,d.DESC],[N.DETAILS,d.DETAILS],[N.DIALOG,d.DIALOG],[N.DIR,d.DIR],[N.DIV,d.DIV],[N.DL,d.DL],[N.DT,d.DT],[N.EM,d.EM],[N.EMBED,d.EMBED],[N.FIELDSET,d.FIELDSET],[N.FIGCAPTION,d.FIGCAPTION],[N.FIGURE,d.FIGURE],[N.FONT,d.FONT],[N.FOOTER,d.FOOTER],[N.FOREIGN_OBJECT,d.FOREIGN_OBJECT],[N.FORM,d.FORM],[N.FRAME,d.FRAME],[N.FRAMESET,d.FRAMESET],[N.H1,d.H1],[N.H2,d.H2],[N.H3,d.H3],[N.H4,d.H4],[N.H5,d.H5],[N.H6,d.H6],[N.HEAD,d.HEAD],[N.HEADER,d.HEADER],[N.HGROUP,d.HGROUP],[N.HR,d.HR],[N.HTML,d.HTML],[N.I,d.I],[N.IMG,d.IMG],[N.IMAGE,d.IMAGE],[N.INPUT,d.INPUT],[N.IFRAME,d.IFRAME],[N.KEYGEN,d.KEYGEN],[N.LABEL,d.LABEL],[N.LI,d.LI],[N.LINK,d.LINK],[N.LISTING,d.LISTING],[N.MAIN,d.MAIN],[N.MALIGNMARK,d.MALIGNMARK],[N.MARQUEE,d.MARQUEE],[N.MATH,d.MATH],[N.MENU,d.MENU],[N.META,d.META],[N.MGLYPH,d.MGLYPH],[N.MI,d.MI],[N.MO,d.MO],[N.MN,d.MN],[N.MS,d.MS],[N.MTEXT,d.MTEXT],[N.NAV,d.NAV],[N.NOBR,d.NOBR],[N.NOFRAMES,d.NOFRAMES],[N.NOEMBED,d.NOEMBED],[N.NOSCRIPT,d.NOSCRIPT],[N.OBJECT,d.OBJECT],[N.OL,d.OL],[N.OPTGROUP,d.OPTGROUP],[N.OPTION,d.OPTION],[N.P,d.P],[N.PARAM,d.PARAM],[N.PLAINTEXT,d.PLAINTEXT],[N.PRE,d.PRE],[N.RB,d.RB],[N.RP,d.RP],[N.RT,d.RT],[N.RTC,d.RTC],[N.RUBY,d.RUBY],[N.S,d.S],[N.SCRIPT,d.SCRIPT],[N.SEARCH,d.SEARCH],[N.SECTION,d.SECTION],[N.SELECT,d.SELECT],[N.SOURCE,d.SOURCE],[N.SMALL,d.SMALL],[N.SPAN,d.SPAN],[N.STRIKE,d.STRIKE],[N.STRONG,d.STRONG],[N.STYLE,d.STYLE],[N.SUB,d.SUB],[N.SUMMARY,d.SUMMARY],[N.SUP,d.SUP],[N.TABLE,d.TABLE],[N.TBODY,d.TBODY],[N.TEMPLATE,d.TEMPLATE],[N.TEXTAREA,d.TEXTAREA],[N.TFOOT,d.TFOOT],[N.TD,d.TD],[N.TH,d.TH],[N.THEAD,d.THEAD],[N.TITLE,d.TITLE],[N.TR,d.TR],[N.TRACK,d.TRACK],[N.TT,d.TT],[N.U,d.U],[N.UL,d.UL],[N.SVG,d.SVG],[N.VAR,d.VAR],[N.WBR,d.WBR],[N.XMP,d.XMP]]);function kn(e){var t;return(t=sT.get(e))!==null&&t!==void 0?t:d.UNKNOWN}s(kn,"getTagID");const U=d,uT={[P.HTML]:new Set([U.ADDRESS,U.APPLET,U.AREA,U.ARTICLE,U.ASIDE,U.BASE,U.BASEFONT,U.BGSOUND,U.BLOCKQUOTE,U.BODY,U.BR,U.BUTTON,U.CAPTION,U.CENTER,U.COL,U.COLGROUP,U.DD,U.DETAILS,U.DIR,U.DIV,U.DL,U.DT,U.EMBED,U.FIELDSET,U.FIGCAPTION,U.FIGURE,U.FOOTER,U.FORM,U.FRAME,U.FRAMESET,U.H1,U.H2,U.H3,U.H4,U.H5,U.H6,U.HEAD,U.HEADER,U.HGROUP,U.HR,U.HTML,U.IFRAME,U.IMG,U.INPUT,U.LI,U.LINK,U.LISTING,U.MAIN,U.MARQUEE,U.MENU,U.META,U.NAV,U.NOEMBED,U.NOFRAMES,U.NOSCRIPT,U.OBJECT,U.OL,U.P,U.PARAM,U.PLAINTEXT,U.PRE,U.SCRIPT,U.SECTION,U.SELECT,U.SOURCE,U.STYLE,U.SUMMARY,U.TABLE,U.TBODY,U.TD,U.TEMPLATE,U.TEXTAREA,U.TFOOT,U.TH,U.THEAD,U.TITLE,U.TR,U.TRACK,U.UL,U.WBR,U.XMP]),[P.MATHML]:new Set([U.MI,U.MO,U.MN,U.MS,U.MTEXT,U.ANNOTATION_XML]),[P.SVG]:new Set([U.TITLE,U.FOREIGN_OBJECT,U.DESC]),[P.XLINK]:new Set,[P.XML]:new Set,[P.XMLNS]:new Set},Eu=new Set([U.H1,U.H2,U.H3,U.H4,U.H5,U.H6]);N.STYLE,N.SCRIPT,N.XMP,N.IFRAME,N.NOEMBED,N.NOFRAMES,N.PLAINTEXT;var b;(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.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(b||(b={}));const de={DATA:b.DATA,RCDATA:b.RCDATA,RAWTEXT:b.RAWTEXT,SCRIPT_DATA:b.SCRIPT_DATA,PLAINTEXT:b.PLAINTEXT,CDATA_SECTION:b.CDATA_SECTION};function aT(e){return e>=y.DIGIT_0&&e<=y.DIGIT_9}s(aT,"isAsciiDigit");function cr(e){return e>=y.LATIN_CAPITAL_A&&e<=y.LATIN_CAPITAL_Z}s(cr,"isAsciiUpper");function oT(e){return e>=y.LATIN_SMALL_A&&e<=y.LATIN_SMALL_Z}s(oT,"isAsciiLower");function xt(e){return oT(e)||cr(e)}s(xt,"isAsciiLetter");function fh(e){return xt(e)||aT(e)}s(fh,"isAsciiAlphaNumeric");function yi(e){return e+32}s(yi,"toAsciiLower");function dh(e){return e===y.SPACE||e===y.LINE_FEED||e===y.TABULATION||e===y.FORM_FEED}s(dh,"isWhitespace");function ph(e){return dh(e)||e===y.SOLIDUS||e===y.GREATER_THAN_SIGN}s(ph,"isScriptDataDoubleEscapeSequenceEnd");function lT(e){return e===y.NULL?O.nullCharacterReference:e>1114111?O.characterReferenceOutsideUnicodeRange:oh(e)?O.surrogateCharacterReference:ch(e)?O.noncharacterCharacterReference:lh(e)||e===y.CARRIAGE_RETURN?O.controlCharacterReference:null}s(lT,"getErrorForNumericCharacterReference");class cT{static{s(this,"Tokenizer")}constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=b.DATA,this.returnState=b.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Ky(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new rT(Qy,(r,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:s(()=>{this._err(O.missingSemicolonAfterCharacterReference,1)},"missingSemicolonAfterCharacterReference"),absenceOfDigitsInNumericCharacterReference:s(r=>{this._err(O.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},"absenceOfDigitsInNumericCharacterReference"),validateNumericCharacterReference:s(r=>{const i=lT(r);i&&this._err(i,1)},"validateNumericCharacterReference")}:void 0)}_err(t,n=0){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Z.START_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Z.END_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Z.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Z.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(hh(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const i=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(O.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=kn(t.tagName),t.type===Z.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(O.endTagWithAttributes),t.selfClosing&&this._err(O.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Z.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Z.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Z.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Z.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=dh(t)?Z.WHITESPACE_CHARACTER:t===y.NULL?Z.NULL_CHARACTER:Z.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Z.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=b.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?yt.Attribute:yt.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===b.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===b.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===b.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case b.DATA:{this._stateData(t);break}case b.RCDATA:{this._stateRcdata(t);break}case b.RAWTEXT:{this._stateRawtext(t);break}case b.SCRIPT_DATA:{this._stateScriptData(t);break}case b.PLAINTEXT:{this._statePlaintext(t);break}case b.TAG_OPEN:{this._stateTagOpen(t);break}case b.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case b.TAG_NAME:{this._stateTagName(t);break}case b.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case b.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case b.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case b.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case b.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case b.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case b.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case b.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case b.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case b.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case b.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case b.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case b.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case b.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case b.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case b.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case b.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case b.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case b.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case b.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case b.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case b.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case b.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case b.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case b.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case b.BOGUS_COMMENT:{this._stateBogusComment(t);break}case b.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case b.COMMENT_START:{this._stateCommentStart(t);break}case b.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case b.COMMENT:{this._stateComment(t);break}case b.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case b.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case b.COMMENT_END:{this._stateCommentEnd(t);break}case b.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case b.DOCTYPE:{this._stateDoctype(t);break}case b.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case b.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case b.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case b.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case b.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case b.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case b.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case b.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case b.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case b.CDATA_SECTION:{this._stateCdataSection(t);break}case b.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case b.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case b.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case b.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case y.LESS_THAN_SIGN:{this.state=b.TAG_OPEN;break}case y.AMPERSAND:{this._startCharacterReference();break}case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitCodePoint(t);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case y.AMPERSAND:{this._startCharacterReference();break}case y.LESS_THAN_SIGN:{this.state=b.RCDATA_LESS_THAN_SIGN;break}case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(fe);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case y.LESS_THAN_SIGN:{this.state=b.RAWTEXT_LESS_THAN_SIGN;break}case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(fe);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_LESS_THAN_SIGN;break}case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(fe);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(fe);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(xt(t))this._createStartTagToken(),this.state=b.TAG_NAME,this._stateTagName(t);else switch(t){case y.EXCLAMATION_MARK:{this.state=b.MARKUP_DECLARATION_OPEN;break}case y.SOLIDUS:{this.state=b.END_TAG_OPEN;break}case y.QUESTION_MARK:{this._err(O.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t);break}case y.EOF:{this._err(O.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(O.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=b.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(xt(t))this._createEndTagToken(),this.state=b.TAG_NAME,this._stateTagName(t);else switch(t){case y.GREATER_THAN_SIGN:{this._err(O.missingEndTagName),this.state=b.DATA;break}case y.EOF:{this._err(O.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(O.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=b.BEFORE_ATTRIBUTE_NAME;break}case y.SOLIDUS:{this.state=b.SELF_CLOSING_START_TAG;break}case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentTagToken();break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.tagName+=fe;break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(cr(t)?yi(t):t)}}_stateRcdataLessThanSign(t){t===y.SOLIDUS?this.state=b.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=b.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){xt(t)?(this.state=b.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=b.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=b.BEFORE_ATTRIBUTE_NAME,!1;case y.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=b.SELF_CLOSING_START_TAG,!1;case y.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=b.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===y.SOLIDUS?this.state=b.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){xt(t)?(this.state=b.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case y.SOLIDUS:{this.state=b.SCRIPT_DATA_END_TAG_OPEN;break}case y.EXCLAMATION_MARK:{this.state=b.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=b.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){xt(t)?(this.state=b.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===y.HYPHEN_MINUS?(this.state=b.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===y.HYPHEN_MINUS?(this.state=b.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case y.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(fe);break}case y.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case y.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_ESCAPED,this._emitChars(fe);break}case y.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case y.HYPHEN_MINUS:{this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case y.GREATER_THAN_SIGN:{this.state=b.SCRIPT_DATA,this._emitChars(">");break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_ESCAPED,this._emitChars(fe);break}case y.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===y.SOLIDUS?this.state=b.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:xt(t)?(this._emitChars("<"),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){xt(t)?(this.state=b.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Me.SCRIPT,!1)&&ph(this.preprocessor.peek(Me.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Me.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case y.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case y.NULL:{this._err(O.unexpectedNullCharacter),this._emitChars(fe);break}case y.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case y.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(fe);break}case y.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case y.HYPHEN_MINUS:{this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case y.GREATER_THAN_SIGN:{this.state=b.SCRIPT_DATA,this._emitChars(">");break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(fe);break}case y.EOF:{this._err(O.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===y.SOLIDUS?(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Me.SCRIPT,!1)&&ph(this.preprocessor.peek(Me.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Me.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=b.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.SOLIDUS:case y.GREATER_THAN_SIGN:case y.EOF:{this.state=b.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case y.EQUALS_SIGN:{this._err(O.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=b.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=b.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:case y.SOLIDUS:case y.GREATER_THAN_SIGN:case y.EOF:{this._leaveAttrName(),this.state=b.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case y.EQUALS_SIGN:{this._leaveAttrName(),this.state=b.BEFORE_ATTRIBUTE_VALUE;break}case y.QUOTATION_MARK:case y.APOSTROPHE:case y.LESS_THAN_SIGN:{this._err(O.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.currentAttr.name+=fe;break}default:this.currentAttr.name+=String.fromCodePoint(cr(t)?yi(t):t)}}_stateAfterAttributeName(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.SOLIDUS:{this.state=b.SELF_CLOSING_START_TAG;break}case y.EQUALS_SIGN:{this.state=b.BEFORE_ATTRIBUTE_VALUE;break}case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentTagToken();break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=b.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:{this.state=b.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case y.APOSTROPHE:{this.state=b.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(O.missingAttributeValue),this.state=b.DATA,this.emitCurrentTagToken();break}default:this.state=b.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case y.QUOTATION_MARK:{this.state=b.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case y.AMPERSAND:{this._startCharacterReference();break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.currentAttr.value+=fe;break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case y.APOSTROPHE:{this.state=b.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case y.AMPERSAND:{this._startCharacterReference();break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.currentAttr.value+=fe;break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this._leaveAttrValue(),this.state=b.BEFORE_ATTRIBUTE_NAME;break}case y.AMPERSAND:{this._startCharacterReference();break}case y.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=b.DATA,this.emitCurrentTagToken();break}case y.NULL:{this._err(O.unexpectedNullCharacter),this.currentAttr.value+=fe;break}case y.QUOTATION_MARK:case y.APOSTROPHE:case y.LESS_THAN_SIGN:case y.EQUALS_SIGN:case y.GRAVE_ACCENT:{this._err(O.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this._leaveAttrValue(),this.state=b.BEFORE_ATTRIBUTE_NAME;break}case y.SOLIDUS:{this._leaveAttrValue(),this.state=b.SELF_CLOSING_START_TAG;break}case y.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=b.DATA,this.emitCurrentTagToken();break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this._err(O.missingWhitespaceBetweenAttributes),this.state=b.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case y.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=b.DATA,this.emitCurrentTagToken();break}case y.EOF:{this._err(O.eofInTag),this._emitEOFToken();break}default:this._err(O.unexpectedSolidusInTag),this.state=b.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentComment(n);break}case y.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.data+=fe;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Me.DASH_DASH,!0)?(this._createCommentToken(Me.DASH_DASH.length+1),this.state=b.COMMENT_START):this._consumeSequenceIfMatch(Me.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Me.DOCTYPE.length+1),this.state=b.DOCTYPE):this._consumeSequenceIfMatch(Me.CDATA_START,!0)?this.inForeignNode?this.state=b.CDATA_SECTION:(this._err(O.cdataInHtmlContent),this._createCommentToken(Me.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=b.BOGUS_COMMENT):this._ensureHibernation()||(this._err(O.incorrectlyOpenedComment),this._createCommentToken(2),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case y.HYPHEN_MINUS:{this.state=b.COMMENT_START_DASH;break}case y.GREATER_THAN_SIGN:{this._err(O.abruptClosingOfEmptyComment),this.state=b.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=b.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case y.HYPHEN_MINUS:{this.state=b.COMMENT_END;break}case y.GREATER_THAN_SIGN:{this._err(O.abruptClosingOfEmptyComment),this.state=b.DATA,this.emitCurrentComment(n);break}case y.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=b.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case y.HYPHEN_MINUS:{this.state=b.COMMENT_END_DASH;break}case y.LESS_THAN_SIGN:{n.data+="<",this.state=b.COMMENT_LESS_THAN_SIGN;break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.data+=fe;break}case y.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case y.EXCLAMATION_MARK:{n.data+="!",this.state=b.COMMENT_LESS_THAN_SIGN_BANG;break}case y.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=b.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===y.HYPHEN_MINUS?this.state=b.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=b.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===y.HYPHEN_MINUS?this.state=b.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=b.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==y.GREATER_THAN_SIGN&&t!==y.EOF&&this._err(O.nestedComment),this.state=b.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case y.HYPHEN_MINUS:{this.state=b.COMMENT_END;break}case y.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=b.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentComment(n);break}case y.EXCLAMATION_MARK:{this.state=b.COMMENT_END_BANG;break}case y.HYPHEN_MINUS:{n.data+="-";break}case y.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=b.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case y.HYPHEN_MINUS:{n.data+="--!",this.state=b.COMMENT_END_DASH;break}case y.GREATER_THAN_SIGN:{this._err(O.incorrectlyClosedComment),this.state=b.DATA,this.emitCurrentComment(n);break}case y.EOF:{this._err(O.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=b.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_NAME;break}case y.GREATER_THAN_SIGN:{this.state=b.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case y.EOF:{this._err(O.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingWhitespaceBeforeDoctypeName),this.state=b.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(cr(t))this._createDoctypeToken(String.fromCharCode(yi(t))),this.state=b.DOCTYPE_NAME;else switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.NULL:{this._err(O.unexpectedNullCharacter),this._createDoctypeToken(fe),this.state=b.DOCTYPE_NAME;break}case y.GREATER_THAN_SIGN:{this._err(O.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.EOF:{this._err(O.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=b.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=b.AFTER_DOCTYPE_NAME;break}case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.name+=fe;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(cr(t)?yi(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Me.PUBLIC,!1)?this.state=b.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Me.SYSTEM,!1)?this.state=b.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(O.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case y.QUOTATION_MARK:{this._err(O.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{this._err(O.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(O.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:{n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(O.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case y.QUOTATION_MARK:{this.state=b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.publicId+=fe;break}case y.GREATER_THAN_SIGN:{this._err(O.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case y.APOSTROPHE:{this.state=b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.publicId+=fe;break}case y.GREATER_THAN_SIGN:{this._err(O.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=b.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case y.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.QUOTATION_MARK:{this._err(O.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{this._err(O.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.QUOTATION_MARK:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case y.QUOTATION_MARK:{this._err(O.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{this._err(O.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(O.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(O.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case y.QUOTATION_MARK:{this.state=b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.systemId+=fe;break}case y.GREATER_THAN_SIGN:{this._err(O.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case y.APOSTROPHE:{this.state=b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case y.NULL:{this._err(O.unexpectedNullCharacter),n.systemId+=fe;break}case y.GREATER_THAN_SIGN:{this._err(O.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.EOF:{this._err(O.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(O.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case y.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case y.NULL:{this._err(O.unexpectedNullCharacter);break}case y.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case y.RIGHT_SQUARE_BRACKET:{this.state=b.CDATA_SECTION_BRACKET;break}case y.EOF:{this._err(O.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===y.RIGHT_SQUARE_BRACKET?this.state=b.CDATA_SECTION_END:(this._emitChars("]"),this.state=b.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case y.GREATER_THAN_SIGN:{this.state=b.DATA;break}case y.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=b.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(y.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&fh(this.preprocessor.peek(1))?b.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){fh(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===y.SEMICOLON&&this._err(O.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const mh=new Set([d.DD,d.DT,d.LI,d.OPTGROUP,d.OPTION,d.P,d.RB,d.RP,d.RT,d.RTC]),gh=new Set([...mh,d.CAPTION,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]),Ti=new Set([d.APPLET,d.CAPTION,d.HTML,d.MARQUEE,d.OBJECT,d.TABLE,d.TD,d.TEMPLATE,d.TH]),hT=new Set([...Ti,d.OL,d.UL]),fT=new Set([...Ti,d.BUTTON]),Eh=new Set([d.ANNOTATION_XML,d.MI,d.MN,d.MO,d.MS,d.MTEXT]),Ah=new Set([d.DESC,d.FOREIGN_OBJECT,d.TITLE]),dT=new Set([d.TR,d.TEMPLATE,d.HTML]),pT=new Set([d.TBODY,d.TFOOT,d.THEAD,d.TEMPLATE,d.HTML]),mT=new Set([d.TABLE,d.TEMPLATE,d.HTML]),gT=new Set([d.TD,d.TH]);class ET{static{s(this,"OpenElementStack")}get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=d.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===d.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===P.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==P.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Eu,P.HTML)}popUntilTableCellPopped(){this.popUntilPopped(gT,P.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(mT,P.HTML)}clearBackToTableBodyContext(){this.clearBackTo(pT,P.HTML)}clearBackToTableRowContext(){this.clearBackTo(dT,P.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===d.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===d.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const i=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case P.HTML:{if(i===t)return!0;if(n.has(i))return!1;break}case P.SVG:{if(Ah.has(i))return!1;break}case P.MATHML:{if(Eh.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Ti)}hasInListItemScope(t){return this.hasInDynamicScope(t,hT)}hasInButtonScope(t){return this.hasInDynamicScope(t,fT)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case P.HTML:{if(Eu.has(n))return!0;if(Ti.has(n))return!1;break}case P.SVG:{if(Ah.has(n))return!1;break}case P.MATHML:{if(Eh.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===P.HTML)switch(this.tagIDs[n]){case t:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===P.HTML)switch(this.tagIDs[t]){case d.TBODY:case d.THEAD:case d.TFOOT:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===P.HTML)switch(this.tagIDs[n]){case t:return!0;case d.OPTION:case d.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&mh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&gh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&gh.has(this.currentTagId);)this.pop()}}const Au=3;var ct;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(ct||(ct={}));const Dh={type:ct.Marker};class AT{static{s(this,"FormattingElementList")}constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,u=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===ct.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===u&&this.treeAdapter.getNamespaceURI(c)===a){const f=this.treeAdapter.getAttrList(c);f.length===i&&r.push({idx:o,attrs:f})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Au)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Au)return;const i=new Map(n.map(a=>[a.name,a.value]));let u=0;for(let a=0;a<r.length;a++){const o=r[a];o.attrs.every(l=>i.get(l.name)===l.value)&&(u+=1,u>=Au&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Dh)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:ct.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:ct.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Dh);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===ct.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===ct.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===ct.Element&&n.element===t)}}const It={createDocument(){return{nodeName:"#document",mode:Ke.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}},createTextNode(e){return{nodeName:"#text",value: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(u=>u.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const u={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};It.appendChild(e,u)}},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(It.isTextNode(n)){n.value+=t;return}}It.appendChild(e,It.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&It.isTextNode(r)?r.value+=t:It.insertBefore(e,It.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)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}}},Ch="html",DT="about:legacy-compat",CT="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",yh=["+//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//"],yT=[...yh,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],TT=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Th=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],bT=[...Th,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function bh(e,t){return t.some(n=>e.startsWith(n))}s(bh,"hasPrefix");function kT(e){return e.name===Ch&&e.publicId===null&&(e.systemId===null||e.systemId===DT)}s(kT,"isConforming");function ST(e){if(e.name!==Ch)return Ke.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===CT)return Ke.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),TT.has(n))return Ke.QUIRKS;let r=t===null?yT:yh;if(bh(n,r))return Ke.QUIRKS;if(r=t===null?Th:bT,bh(n,r))return Ke.LIMITED_QUIRKS}return Ke.NO_QUIRKS}s(ST,"getDocumentMode");const kh={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},_T="definitionurl",BT="definitionURL",wT=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])),FT=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:P.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:P.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:P.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:P.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:P.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:P.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:P.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:P.XML}],["xml:space",{prefix:"xml",name:"space",namespace:P.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:P.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:P.XMLNS}]]),NT=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])),xT=new Set([d.B,d.BIG,d.BLOCKQUOTE,d.BODY,d.BR,d.CENTER,d.CODE,d.DD,d.DIV,d.DL,d.DT,d.EM,d.EMBED,d.H1,d.H2,d.H3,d.H4,d.H5,d.H6,d.HEAD,d.HR,d.I,d.IMG,d.LI,d.LISTING,d.MENU,d.META,d.NOBR,d.OL,d.P,d.PRE,d.RUBY,d.S,d.SMALL,d.SPAN,d.STRONG,d.STRIKE,d.SUB,d.SUP,d.TABLE,d.TT,d.U,d.UL,d.VAR]);function IT(e){const t=e.tagID;return t===d.FONT&&e.attrs.some(({name:r})=>r===Yt.COLOR||r===Yt.SIZE||r===Yt.FACE)||xT.has(t)}s(IT,"causesExit");function Sh(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===_T){e.attrs[t].name=BT;break}}s(Sh,"adjustTokenMathMLAttrs");function _h(e){for(let t=0;t<e.attrs.length;t++){const n=wT.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}s(_h,"adjustTokenSVGAttrs");function Du(e){for(let t=0;t<e.attrs.length;t++){const n=FT.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}s(Du,"adjustTokenXMLAttrs");function vT(e){const t=NT.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=kn(e.tagName))}s(vT,"adjustTokenSVGTagName");function LT(e,t){return t===P.MATHML&&(e===d.MI||e===d.MO||e===d.MN||e===d.MS||e===d.MTEXT)}s(LT,"isMathMLTextIntegrationPoint");function OT(e,t,n){if(t===P.MATHML&&e===d.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Yt.ENCODING){const i=n[r].value.toLowerCase();return i===kh.TEXT_HTML||i===kh.APPLICATION_XML}}return t===P.SVG&&(e===d.FOREIGN_OBJECT||e===d.DESC||e===d.TITLE)}s(OT,"isHtmlIntegrationPoint");function RT(e,t,n,r){return(!r||r===P.HTML)&&OT(e,t,n)||(!r||r===P.MATHML)&<(e,t)}s(RT,"isIntegrationPoint");const PT="hidden",MT=8,UT=3;var k;(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"})(k||(k={}));const HT={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Bh=new Set([d.TABLE,d.TBODY,d.TFOOT,d.THEAD,d.TR]),wh={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:It,onParseError:null};let Fh=class{static{s(this,"Parser")}constructor(t,n,r=null,i=null){this.fragmentContext=r,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=k.INITIAL,this.originalInsertionMode=k.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...wh,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new cT(this.options,this),this.activeFormattingElements=new AT(this.treeAdapter),this.fragmentContextID=r?kn(this.treeAdapter.getTagName(r)):d.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new ET(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...wh,...n};t??(t=r.treeAdapter.createElement(N.TEMPLATE,P.HTML,[]));const i=r.treeAdapter.createElement("documentmock",P.HTML,[]),u=new this(r,i,t);return u.fragmentContextID===d.TEMPLATE&&u.tmplInsertionModeStack.unshift(k.IN_TEMPLATE),u._initTokenizerForFragmentParsing(),u._insertFakeRootElement(),u._resetInsertionMode(),u._findFormInFragmentContext(),u}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var i;if(!this.onParseError)return;const u=(i=t.location)!==null&&i!==void 0?i:HT,a={code:n,startLine:u.startLine,startCol:u.startCol,startOffset:u.startOffset,endLine:r?u.startLine:u.endLine,endCol:r?u.startCol:u.endCol,endOffset:r?u.startOffset:u.endOffset};this.onParseError(a)}onItemPush(t,n,r){var i,u;(u=(i=this.treeAdapter).onItemPush)===null||u===void 0||u.call(i,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let u,a;this.openElements.stackTop===0&&this.fragmentContext?(u=this.fragmentContext,a=this.fragmentContextID):{current:u,currentTagId:a}=this.openElements,this._setContextModes(u,a)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===P.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,P.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=k.TEXT}switchToPlaintextParsing(){this.insertionMode=k.TEXT,this.originalInsertionMode=k.IN_BODY,this.tokenizer.state=de.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===N.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==P.HTML))switch(this.fragmentContextID){case d.TITLE:case d.TEXTAREA:{this.tokenizer.state=de.RCDATA;break}case d.STYLE:case d.XMP:case d.IFRAME:case d.NOEMBED:case d.NOFRAMES:case d.NOSCRIPT:{this.tokenizer.state=de.RAWTEXT;break}case d.SCRIPT:{this.tokenizer.state=de.SCRIPT_DATA;break}case d.PLAINTEXT:{this.tokenizer.state=de.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const a=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));a&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,P.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,P.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(N.HTML,P.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,d.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),u=r?i.lastIndexOf(r):i.length,a=i[u-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:l,endCol:c,endOffset:f}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:f})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),u=n.type===Z.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,u)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===d.SVG&&this.treeAdapter.getTagName(n)===N.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===P.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===d.MGLYPH||t.tagID===d.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,P.HTML)}_processToken(t){switch(t.type){case Z.CHARACTER:{this.onCharacter(t);break}case Z.NULL_CHARACTER:{this.onNullCharacter(t);break}case Z.COMMENT:{this.onComment(t);break}case Z.DOCTYPE:{this.onDoctype(t);break}case Z.START_TAG:{this._processStartTag(t);break}case Z.END_TAG:{this.onEndTag(t);break}case Z.EOF:{this.onEof(t);break}case Z.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),u=this.treeAdapter.getAttrList(n);return RT(t,i,u,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===ct.Marker||this.openElements.contains(i.element)),r=n===-1?t-1:n-1;for(let i=r;i>=0;i--){const u=this.activeFormattingElements.entries[i];this._insertElement(u.token,this.treeAdapter.getNamespaceURI(u.element)),u.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=k.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(d.P),this.openElements.popUntilTagNamePopped(d.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case d.TR:{this.insertionMode=k.IN_ROW;return}case d.TBODY:case d.THEAD:case d.TFOOT:{this.insertionMode=k.IN_TABLE_BODY;return}case d.CAPTION:{this.insertionMode=k.IN_CAPTION;return}case d.COLGROUP:{this.insertionMode=k.IN_COLUMN_GROUP;return}case d.TABLE:{this.insertionMode=k.IN_TABLE;return}case d.BODY:{this.insertionMode=k.IN_BODY;return}case d.FRAMESET:{this.insertionMode=k.IN_FRAMESET;return}case d.SELECT:{this._resetInsertionModeForSelect(t);return}case d.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case d.HTML:{this.insertionMode=this.headElement?k.AFTER_HEAD:k.BEFORE_HEAD;return}case d.TD:case d.TH:{if(t>0){this.insertionMode=k.IN_CELL;return}break}case d.HEAD:{if(t>0){this.insertionMode=k.IN_HEAD;return}break}}this.insertionMode=k.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===d.TEMPLATE)break;if(r===d.TABLE){this.insertionMode=k.IN_SELECT_IN_TABLE;return}}this.insertionMode=k.IN_SELECT}_isElementCausesFosterParenting(t){return Bh.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case d.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===P.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case d.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return uT[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){gk(this,t);return}switch(this.insertionMode){case k.INITIAL:{hr(this,t);break}case k.BEFORE_HTML:{fr(this,t);break}case k.BEFORE_HEAD:{dr(this,t);break}case k.IN_HEAD:{pr(this,t);break}case k.IN_HEAD_NO_SCRIPT:{mr(this,t);break}case k.AFTER_HEAD:{gr(this,t);break}case k.IN_BODY:case k.IN_CAPTION:case k.IN_CELL:case k.IN_TEMPLATE:{xh(this,t);break}case k.TEXT:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{bu(this,t);break}case k.IN_TABLE_TEXT:{Uh(this,t);break}case k.IN_COLUMN_GROUP:{Si(this,t);break}case k.AFTER_BODY:{wi(this,t);break}case k.AFTER_AFTER_BODY:{Fi(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){mk(this,t);return}switch(this.insertionMode){case k.INITIAL:{hr(this,t);break}case k.BEFORE_HTML:{fr(this,t);break}case k.BEFORE_HEAD:{dr(this,t);break}case k.IN_HEAD:{pr(this,t);break}case k.IN_HEAD_NO_SCRIPT:{mr(this,t);break}case k.AFTER_HEAD:{gr(this,t);break}case k.TEXT:{this._insertCharacters(t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{bu(this,t);break}case k.IN_COLUMN_GROUP:{Si(this,t);break}case k.AFTER_BODY:{wi(this,t);break}case k.AFTER_AFTER_BODY:{Fi(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){yu(this,t);return}switch(this.insertionMode){case k.INITIAL:case k.BEFORE_HTML:case k.BEFORE_HEAD:case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:case k.IN_BODY:case k.IN_TABLE:case k.IN_CAPTION:case k.IN_COLUMN_GROUP:case k.IN_TABLE_BODY:case k.IN_ROW:case k.IN_CELL:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:case k.IN_TEMPLATE:case k.IN_FRAMESET:case k.AFTER_FRAMESET:{yu(this,t);break}case k.IN_TABLE_TEXT:{Dr(this,t);break}case k.AFTER_BODY:{VT(this,t);break}case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{WT(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case k.INITIAL:{KT(this,t);break}case k.BEFORE_HEAD:case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:{this._err(t,O.misplacedDoctype);break}case k.IN_TABLE_TEXT:{Dr(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,O.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Ek(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{hr(this,t);break}case k.BEFORE_HTML:{QT(this,t);break}case k.BEFORE_HEAD:{JT(this,t);break}case k.IN_HEAD:{st(this,t);break}case k.IN_HEAD_NO_SCRIPT:{tb(this,t);break}case k.AFTER_HEAD:{rb(this,t);break}case k.IN_BODY:{Fe(this,t);break}case k.IN_TABLE:{Sn(this,t);break}case k.IN_TABLE_TEXT:{Dr(this,t);break}case k.IN_CAPTION:{Zb(this,t);break}case k.IN_COLUMN_GROUP:{ku(this,t);break}case k.IN_TABLE_BODY:{_i(this,t);break}case k.IN_ROW:{Bi(this,t);break}case k.IN_CELL:{nk(this,t);break}case k.IN_SELECT:{qh(this,t);break}case k.IN_SELECT_IN_TABLE:{ik(this,t);break}case k.IN_TEMPLATE:{uk(this,t);break}case k.AFTER_BODY:{ok(this,t);break}case k.IN_FRAMESET:{lk(this,t);break}case k.AFTER_FRAMESET:{hk(this,t);break}case k.AFTER_AFTER_BODY:{dk(this,t);break}case k.AFTER_AFTER_FRAMESET:{pk(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Ak(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{hr(this,t);break}case k.BEFORE_HTML:{XT(this,t);break}case k.BEFORE_HEAD:{ZT(this,t);break}case k.IN_HEAD:{eb(this,t);break}case k.IN_HEAD_NO_SCRIPT:{nb(this,t);break}case k.AFTER_HEAD:{ib(this,t);break}case k.IN_BODY:{ki(this,t);break}case k.TEXT:{zb(this,t);break}case k.IN_TABLE:{Er(this,t);break}case k.IN_TABLE_TEXT:{Dr(this,t);break}case k.IN_CAPTION:{ek(this,t);break}case k.IN_COLUMN_GROUP:{tk(this,t);break}case k.IN_TABLE_BODY:{Su(this,t);break}case k.IN_ROW:{$h(this,t);break}case k.IN_CELL:{rk(this,t);break}case k.IN_SELECT:{zh(this,t);break}case k.IN_SELECT_IN_TABLE:{sk(this,t);break}case k.IN_TEMPLATE:{ak(this,t);break}case k.AFTER_BODY:{Yh(this,t);break}case k.IN_FRAMESET:{ck(this,t);break}case k.AFTER_FRAMESET:{fk(this,t);break}case k.AFTER_AFTER_BODY:{Fi(this,t);break}}}onEof(t){switch(this.insertionMode){case k.INITIAL:{hr(this,t);break}case k.BEFORE_HTML:{fr(this,t);break}case k.BEFORE_HEAD:{dr(this,t);break}case k.IN_HEAD:{pr(this,t);break}case k.IN_HEAD_NO_SCRIPT:{mr(this,t);break}case k.AFTER_HEAD:{gr(this,t);break}case k.IN_BODY:case k.IN_TABLE:case k.IN_CAPTION:case k.IN_COLUMN_GROUP:case k.IN_TABLE_BODY:case k.IN_ROW:case k.IN_CELL:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:{Ph(this,t);break}case k.TEXT:{jb(this,t);break}case k.IN_TABLE_TEXT:{Dr(this,t);break}case k.IN_TEMPLATE:{jh(this,t);break}case k.AFTER_BODY:case k.IN_FRAMESET:case k.AFTER_FRAMESET:case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{Tu(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===y.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:case k.TEXT:case k.IN_COLUMN_GROUP:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:case k.IN_FRAMESET:case k.AFTER_FRAMESET:{this._insertCharacters(t);break}case k.IN_BODY:case k.IN_CAPTION:case k.IN_CELL:case k.IN_TEMPLATE:case k.AFTER_BODY:case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{Nh(this,t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{bu(this,t);break}case k.IN_TABLE_TEXT:{Mh(this,t);break}}}};function $T(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Rh(e,t),n}s($T,"aaObtainFormattingElementEntry");function qT(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}s(qT,"aaObtainFurthestBlock");function zT(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let u=0,a=i;a!==n;u++,a=i){i=e.openElements.getCommonAncestor(a);const o=e.activeFormattingElements.getElementEntry(a),l=o&&u>=UT;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=jT(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}s(zT,"aaInnerLoop");function jT(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}s(jT,"aaRecreateElementFromEntry");function YT(e,t,n){const r=e.treeAdapter.getTagName(t),i=kn(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const u=e.treeAdapter.getNamespaceURI(t);i===d.TEMPLATE&&u===P.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}s(YT,"aaInsertLastNodeInCommonAncestor");function GT(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,u=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,u),e.treeAdapter.appendChild(t,u),e.activeFormattingElements.insertElementAfterBookmark(u,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,u,i.tagID)}s(GT,"aaReplaceFormattingElement");function Cu(e,t){for(let n=0;n<MT;n++){const r=$T(e,t);if(!r)break;const i=qT(e,r);if(!i)break;e.activeFormattingElements.bookmark=r;const u=zT(e,i,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(u),a&&YT(e,a,u),GT(e,i,r)}}s(Cu,"callAdoptionAgency");function yu(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}s(yu,"appendComment");function VT(e,t){e._appendCommentNode(t,e.openElements.items[0])}s(VT,"appendCommentToRootHtmlElement");function WT(e,t){e._appendCommentNode(t,e.document)}s(WT,"appendCommentToDocument");function Tu(e,t){if(e.stopped=!0,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 r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const u=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(u);a&&!a.endTag&&e._setEndLocation(u,t)}}}}s(Tu,"stopParsing");function KT(e,t){e._setDocumentType(t);const n=t.forceQuirks?Ke.QUIRKS:ST(t);kT(t)||e._err(t,O.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=k.BEFORE_HTML}s(KT,"doctypeInInitialMode");function hr(e,t){e._err(t,O.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ke.QUIRKS),e.insertionMode=k.BEFORE_HTML,e._processToken(t)}s(hr,"tokenInInitialMode");function QT(e,t){t.tagID===d.HTML?(e._insertElement(t,P.HTML),e.insertionMode=k.BEFORE_HEAD):fr(e,t)}s(QT,"startTagBeforeHtml");function XT(e,t){const n=t.tagID;(n===d.HTML||n===d.HEAD||n===d.BODY||n===d.BR)&&fr(e,t)}s(XT,"endTagBeforeHtml");function fr(e,t){e._insertFakeRootElement(),e.insertionMode=k.BEFORE_HEAD,e._processToken(t)}s(fr,"tokenBeforeHtml");function JT(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.HEAD:{e._insertElement(t,P.HTML),e.headElement=e.openElements.current,e.insertionMode=k.IN_HEAD;break}default:dr(e,t)}}s(JT,"startTagBeforeHead");function ZT(e,t){const n=t.tagID;n===d.HEAD||n===d.BODY||n===d.HTML||n===d.BR?dr(e,t):e._err(t,O.endTagWithoutMatchingOpenElement)}s(ZT,"endTagBeforeHead");function dr(e,t){e._insertFakeElement(N.HEAD,d.HEAD),e.headElement=e.openElements.current,e.insertionMode=k.IN_HEAD,e._processToken(t)}s(dr,"tokenBeforeHead");function st(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case d.TITLE:{e._switchToTextParsing(t,de.RCDATA);break}case d.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,de.RAWTEXT):(e._insertElement(t,P.HTML),e.insertionMode=k.IN_HEAD_NO_SCRIPT);break}case d.NOFRAMES:case d.STYLE:{e._switchToTextParsing(t,de.RAWTEXT);break}case d.SCRIPT:{e._switchToTextParsing(t,de.SCRIPT_DATA);break}case d.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=k.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(k.IN_TEMPLATE);break}case d.HEAD:{e._err(t,O.misplacedStartTagForHeadElement);break}default:pr(e,t)}}s(st,"startTagInHead");function eb(e,t){switch(t.tagID){case d.HEAD:{e.openElements.pop(),e.insertionMode=k.AFTER_HEAD;break}case d.BODY:case d.BR:case d.HTML:{pr(e,t);break}case d.TEMPLATE:{Gt(e,t);break}default:e._err(t,O.endTagWithoutMatchingOpenElement)}}s(eb,"endTagInHead");function Gt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TEMPLATE&&e._err(t,O.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,O.endTagWithoutMatchingOpenElement)}s(Gt,"templateEndTagInHead");function pr(e,t){e.openElements.pop(),e.insertionMode=k.AFTER_HEAD,e._processToken(t)}s(pr,"tokenInHead");function tb(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.BASEFONT:case d.BGSOUND:case d.HEAD:case d.LINK:case d.META:case d.NOFRAMES:case d.STYLE:{st(e,t);break}case d.NOSCRIPT:{e._err(t,O.nestedNoscriptInHead);break}default:mr(e,t)}}s(tb,"startTagInHeadNoScript");function nb(e,t){switch(t.tagID){case d.NOSCRIPT:{e.openElements.pop(),e.insertionMode=k.IN_HEAD;break}case d.BR:{mr(e,t);break}default:e._err(t,O.endTagWithoutMatchingOpenElement)}}s(nb,"endTagInHeadNoScript");function mr(e,t){const n=t.type===Z.EOF?O.openElementsLeftAfterEof:O.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=k.IN_HEAD,e._processToken(t)}s(mr,"tokenInHeadNoScript");function rb(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.BODY:{e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=k.IN_BODY;break}case d.FRAMESET:{e._insertElement(t,P.HTML),e.insertionMode=k.IN_FRAMESET;break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{e._err(t,O.abandonedHeadElementChild),e.openElements.push(e.headElement,d.HEAD),st(e,t),e.openElements.remove(e.headElement);break}case d.HEAD:{e._err(t,O.misplacedStartTagForHeadElement);break}default:gr(e,t)}}s(rb,"startTagAfterHead");function ib(e,t){switch(t.tagID){case d.BODY:case d.HTML:case d.BR:{gr(e,t);break}case d.TEMPLATE:{Gt(e,t);break}default:e._err(t,O.endTagWithoutMatchingOpenElement)}}s(ib,"endTagAfterHead");function gr(e,t){e._insertFakeElement(N.BODY,d.BODY),e.insertionMode=k.IN_BODY,bi(e,t)}s(gr,"tokenAfterHead");function bi(e,t){switch(t.type){case Z.CHARACTER:{xh(e,t);break}case Z.WHITESPACE_CHARACTER:{Nh(e,t);break}case Z.COMMENT:{yu(e,t);break}case Z.START_TAG:{Fe(e,t);break}case Z.END_TAG:{ki(e,t);break}case Z.EOF:{Ph(e,t);break}}}s(bi,"modeInBody");function Nh(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}s(Nh,"whitespaceCharacterInBody");function xh(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}s(xh,"characterInBody");function sb(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}s(sb,"htmlStartTagInBody");function ub(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}s(ub,"bodyStartTagInBody");function ab(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,P.HTML),e.insertionMode=k.IN_FRAMESET)}s(ab,"framesetStartTagInBody");function ob(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,P.HTML)}s(ob,"addressStartTagInBody");function lb(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Eu.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,P.HTML)}s(lb,"numberedHeaderStartTagInBody");function cb(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}s(cb,"preStartTagInBody");function hb(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,P.HTML),n||(e.formElement=e.openElements.current))}s(hb,"formStartTagInBody");function fb(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===d.LI&&i===d.LI||(n===d.DD||n===d.DT)&&(i===d.DD||i===d.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==d.ADDRESS&&i!==d.DIV&&i!==d.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,P.HTML)}s(fb,"listItemStartTagInBody");function db(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.tokenizer.state=de.PLAINTEXT}s(db,"plaintextStartTagInBody");function pb(e,t){e.openElements.hasInScope(d.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.framesetOk=!1}s(pb,"buttonStartTagInBody");function mb(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(N.A);n&&(Cu(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}s(mb,"aStartTagInBody");function gb(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}s(gb,"bStartTagInBody");function Eb(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.NOBR)&&(Cu(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}s(Eb,"nobrStartTagInBody");function Ab(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}s(Ab,"appletStartTagInBody");function Db(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ke.QUIRKS&&e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=k.IN_TABLE}s(Db,"tableStartTagInBody");function Ih(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,P.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}s(Ih,"areaStartTagInBody");function vh(e){const t=hh(e,Yt.TYPE);return t!=null&&t.toLowerCase()===PT}s(vh,"isHiddenInput");function Cb(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,P.HTML),vh(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}s(Cb,"inputStartTagInBody");function yb(e,t){e._appendElement(t,P.HTML),t.ackSelfClosing=!0}s(yb,"paramStartTagInBody");function Tb(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._appendElement(t,P.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}s(Tb,"hrStartTagInBody");function bb(e,t){t.tagName=N.IMG,t.tagID=d.IMG,Ih(e,t)}s(bb,"imageStartTagInBody");function kb(e,t){e._insertElement(t,P.HTML),e.skipNextNewLine=!0,e.tokenizer.state=de.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=k.TEXT}s(kb,"textareaStartTagInBody");function Sb(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,de.RAWTEXT)}s(Sb,"xmpStartTagInBody");function _b(e,t){e.framesetOk=!1,e._switchToTextParsing(t,de.RAWTEXT)}s(_b,"iframeStartTagInBody");function Lh(e,t){e._switchToTextParsing(t,de.RAWTEXT)}s(Lh,"rawTextStartTagInBody");function Bb(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===k.IN_TABLE||e.insertionMode===k.IN_CAPTION||e.insertionMode===k.IN_TABLE_BODY||e.insertionMode===k.IN_ROW||e.insertionMode===k.IN_CELL?k.IN_SELECT_IN_TABLE:k.IN_SELECT}s(Bb,"selectStartTagInBody");function wb(e,t){e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML)}s(wb,"optgroupStartTagInBody");function Fb(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,P.HTML)}s(Fb,"rbStartTagInBody");function Nb(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.RTC),e._insertElement(t,P.HTML)}s(Nb,"rtStartTagInBody");function xb(e,t){e._reconstructActiveFormattingElements(),Sh(t),Du(t),t.selfClosing?e._appendElement(t,P.MATHML):e._insertElement(t,P.MATHML),t.ackSelfClosing=!0}s(xb,"mathStartTagInBody");function Ib(e,t){e._reconstructActiveFormattingElements(),_h(t),Du(t),t.selfClosing?e._appendElement(t,P.SVG):e._insertElement(t,P.SVG),t.ackSelfClosing=!0}s(Ib,"svgStartTagInBody");function Oh(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML)}s(Oh,"genericStartTagInBody");function Fe(e,t){switch(t.tagID){case d.I:case d.S:case d.B:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.SMALL:case d.STRIKE:case d.STRONG:{gb(e,t);break}case d.A:{mb(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{lb(e,t);break}case d.P:case d.DL:case d.OL:case d.UL:case d.DIV:case d.DIR:case d.NAV:case d.MAIN:case d.MENU:case d.ASIDE:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.DETAILS:case d.ADDRESS:case d.ARTICLE:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{ob(e,t);break}case d.LI:case d.DD:case d.DT:{fb(e,t);break}case d.BR:case d.IMG:case d.WBR:case d.AREA:case d.EMBED:case d.KEYGEN:{Ih(e,t);break}case d.HR:{Tb(e,t);break}case d.RB:case d.RTC:{Fb(e,t);break}case d.RT:case d.RP:{Nb(e,t);break}case d.PRE:case d.LISTING:{cb(e,t);break}case d.XMP:{Sb(e,t);break}case d.SVG:{Ib(e,t);break}case d.HTML:{sb(e,t);break}case d.BASE:case d.LINK:case d.META:case d.STYLE:case d.TITLE:case d.SCRIPT:case d.BGSOUND:case d.BASEFONT:case d.TEMPLATE:{st(e,t);break}case d.BODY:{ub(e,t);break}case d.FORM:{hb(e,t);break}case d.NOBR:{Eb(e,t);break}case d.MATH:{xb(e,t);break}case d.TABLE:{Db(e,t);break}case d.INPUT:{Cb(e,t);break}case d.PARAM:case d.TRACK:case d.SOURCE:{yb(e,t);break}case d.IMAGE:{bb(e,t);break}case d.BUTTON:{pb(e,t);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{Ab(e,t);break}case d.IFRAME:{_b(e,t);break}case d.SELECT:{Bb(e,t);break}case d.OPTION:case d.OPTGROUP:{wb(e,t);break}case d.NOEMBED:case d.NOFRAMES:{Lh(e,t);break}case d.FRAMESET:{ab(e,t);break}case d.TEXTAREA:{kb(e,t);break}case d.NOSCRIPT:{e.options.scriptingEnabled?Lh(e,t):Oh(e,t);break}case d.PLAINTEXT:{db(e,t);break}case d.COL:case d.TH:case d.TD:case d.TR:case d.HEAD:case d.FRAME:case d.TBODY:case d.TFOOT:case d.THEAD:case d.CAPTION:case d.COLGROUP:break;default:Oh(e,t)}}s(Fe,"startTagInBody");function vb(e,t){if(e.openElements.hasInScope(d.BODY)&&(e.insertionMode=k.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}s(vb,"bodyEndTagInBody");function Lb(e,t){e.openElements.hasInScope(d.BODY)&&(e.insertionMode=k.AFTER_BODY,Yh(e,t))}s(Lb,"htmlEndTagInBody");function Ob(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}s(Ob,"addressEndTagInBody");function Rb(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(d.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(d.FORM):n&&e.openElements.remove(n))}s(Rb,"formEndTagInBody");function Pb(e){e.openElements.hasInButtonScope(d.P)||e._insertFakeElement(N.P,d.P),e._closePElement()}s(Pb,"pEndTagInBody");function Mb(e){e.openElements.hasInListItemScope(d.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.LI),e.openElements.popUntilTagNamePopped(d.LI))}s(Mb,"liEndTagInBody");function Ub(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}s(Ub,"ddEndTagInBody");function Hb(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}s(Hb,"numberedHeaderEndTagInBody");function $b(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}s($b,"appletEndTagInBody");function qb(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(N.BR,d.BR),e.openElements.pop(),e.framesetOk=!1}s(qb,"brEndTagInBody");function Rh(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const u=e.openElements.items[i],a=e.openElements.tagIDs[i];if(r===a&&(r!==d.UNKNOWN||e.treeAdapter.getTagName(u)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(u,a))break}}s(Rh,"genericEndTagInBody");function ki(e,t){switch(t.tagID){case d.A:case d.B:case d.I:case d.S:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.NOBR:case d.SMALL:case d.STRIKE:case d.STRONG:{Cu(e,t);break}case d.P:{Pb(e);break}case d.DL:case d.UL:case d.OL:case d.DIR:case d.DIV:case d.NAV:case d.PRE:case d.MAIN:case d.MENU:case d.ASIDE:case d.BUTTON:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.ADDRESS:case d.ARTICLE:case d.DETAILS:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.LISTING:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{Ob(e,t);break}case d.LI:{Mb(e);break}case d.DD:case d.DT:{Ub(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{Hb(e);break}case d.BR:{qb(e);break}case d.BODY:{vb(e,t);break}case d.HTML:{Lb(e,t);break}case d.FORM:{Rb(e);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{$b(e,t);break}case d.TEMPLATE:{Gt(e,t);break}default:Rh(e,t)}}s(ki,"endTagInBody");function Ph(e,t){e.tmplInsertionModeStack.length>0?jh(e,t):Tu(e,t)}s(Ph,"eofInBody");function zb(e,t){var n;t.tagID===d.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}s(zb,"endTagInText");function jb(e,t){e._err(t,O.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}s(jb,"eofInText");function bu(e,t){if(e.openElements.currentTagId!==void 0&&Bh.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=k.IN_TABLE_TEXT,t.type){case Z.CHARACTER:{Uh(e,t);break}case Z.WHITESPACE_CHARACTER:{Mh(e,t);break}}else Ar(e,t)}s(bu,"characterInTable");function Yb(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,P.HTML),e.insertionMode=k.IN_CAPTION}s(Yb,"captionStartTagInTable");function Gb(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,P.HTML),e.insertionMode=k.IN_COLUMN_GROUP}s(Gb,"colgroupStartTagInTable");function Vb(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(N.COLGROUP,d.COLGROUP),e.insertionMode=k.IN_COLUMN_GROUP,ku(e,t)}s(Vb,"colStartTagInTable");function Wb(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,P.HTML),e.insertionMode=k.IN_TABLE_BODY}s(Wb,"tbodyStartTagInTable");function Kb(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(N.TBODY,d.TBODY),e.insertionMode=k.IN_TABLE_BODY,_i(e,t)}s(Kb,"tdStartTagInTable");function Qb(e,t){e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode(),e._processStartTag(t))}s(Qb,"tableStartTagInTable");function Xb(e,t){vh(t)?e._appendElement(t,P.HTML):Ar(e,t),t.ackSelfClosing=!0}s(Xb,"inputStartTagInTable");function Jb(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,P.HTML),e.formElement=e.openElements.current,e.openElements.pop())}s(Jb,"formStartTagInTable");function Sn(e,t){switch(t.tagID){case d.TD:case d.TH:case d.TR:{Kb(e,t);break}case d.STYLE:case d.SCRIPT:case d.TEMPLATE:{st(e,t);break}case d.COL:{Vb(e,t);break}case d.FORM:{Jb(e,t);break}case d.TABLE:{Qb(e,t);break}case d.TBODY:case d.TFOOT:case d.THEAD:{Wb(e,t);break}case d.INPUT:{Xb(e,t);break}case d.CAPTION:{Yb(e,t);break}case d.COLGROUP:{Gb(e,t);break}default:Ar(e,t)}}s(Sn,"startTagInTable");function Er(e,t){switch(t.tagID){case d.TABLE:{e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode());break}case d.TEMPLATE:{Gt(e,t);break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:Ar(e,t)}}s(Er,"endTagInTable");function Ar(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,bi(e,t),e.fosterParentingEnabled=n}s(Ar,"tokenInTable");function Mh(e,t){e.pendingCharacterTokens.push(t)}s(Mh,"whitespaceCharacterInTableText");function Uh(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}s(Uh,"characterInTableText");function Dr(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Ar(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}s(Dr,"tokenInTableText");const Hh=new Set([d.CAPTION,d.COL,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]);function Zb(e,t){const n=t.tagID;Hh.has(n)?e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=k.IN_TABLE,Sn(e,t)):Fe(e,t)}s(Zb,"startTagInCaption");function ek(e,t){const n=t.tagID;switch(n){case d.CAPTION:case d.TABLE:{e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=k.IN_TABLE,n===d.TABLE&&Er(e,t));break}case d.BODY:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:ki(e,t)}}s(ek,"endTagInCaption");function ku(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.COL:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case d.TEMPLATE:{st(e,t);break}default:Si(e,t)}}s(ku,"startTagInColumnGroup");function tk(e,t){switch(t.tagID){case d.COLGROUP:{e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=k.IN_TABLE);break}case d.TEMPLATE:{Gt(e,t);break}case d.COL:break;default:Si(e,t)}}s(tk,"endTagInColumnGroup");function Si(e,t){e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=k.IN_TABLE,e._processToken(t))}s(Si,"tokenInColumnGroup");function _i(e,t){switch(t.tagID){case d.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,P.HTML),e.insertionMode=k.IN_ROW;break}case d.TH:case d.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(N.TR,d.TR),e.insertionMode=k.IN_ROW,Bi(e,t);break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE,Sn(e,t));break}default:Sn(e,t)}}s(_i,"startTagInTableBody");function Su(e,t){const n=t.tagID;switch(t.tagID){case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE);break}case d.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE,Er(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:case d.TR:break;default:Er(e,t)}}s(Su,"endTagInTableBody");function Bi(e,t){switch(t.tagID){case d.TH:case d.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,P.HTML),e.insertionMode=k.IN_CELL,e.activeFormattingElements.insertMarker();break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE_BODY,_i(e,t));break}default:Sn(e,t)}}s(Bi,"startTagInRow");function $h(e,t){switch(t.tagID){case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE_BODY);break}case d.TABLE:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE_BODY,Su(e,t));break}case d.TBODY:case d.TFOOT:case d.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(d.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE_BODY,Su(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:break;default:Er(e,t)}}s($h,"endTagInRow");function nk(e,t){const n=t.tagID;Hh.has(n)?(e.openElements.hasInTableScope(d.TD)||e.openElements.hasInTableScope(d.TH))&&(e._closeTableCell(),Bi(e,t)):Fe(e,t)}s(nk,"startTagInCell");function rk(e,t){const n=t.tagID;switch(n){case d.TD:case d.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=k.IN_ROW);break}case d.TABLE:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),$h(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:break;default:ki(e,t)}}s(rk,"endTagInCell");function qh(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._insertElement(t,P.HTML);break}case d.OPTGROUP:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._insertElement(t,P.HTML);break}case d.HR:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case d.INPUT:case d.KEYGEN:case d.TEXTAREA:case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),t.tagID!==d.SELECT&&e._processStartTag(t));break}case d.SCRIPT:case d.TEMPLATE:{st(e,t);break}}}s(qh,"startTagInSelect");function zh(e,t){switch(t.tagID){case d.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===d.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop();break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop();break}case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode());break}case d.TEMPLATE:{Gt(e,t);break}}}s(zh,"endTagInSelect");function ik(e,t){const n=t.tagID;n===d.CAPTION||n===d.TABLE||n===d.TBODY||n===d.TFOOT||n===d.THEAD||n===d.TR||n===d.TD||n===d.TH?(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e._processStartTag(t)):qh(e,t)}s(ik,"startTagInSelectInTable");function sk(e,t){const n=t.tagID;n===d.CAPTION||n===d.TABLE||n===d.TBODY||n===d.TFOOT||n===d.THEAD||n===d.TR||n===d.TD||n===d.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e.onEndTag(t)):zh(e,t)}s(sk,"endTagInSelectInTable");function uk(e,t){switch(t.tagID){case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{st(e,t);break}case d.CAPTION:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.tmplInsertionModeStack[0]=k.IN_TABLE,e.insertionMode=k.IN_TABLE,Sn(e,t);break}case d.COL:{e.tmplInsertionModeStack[0]=k.IN_COLUMN_GROUP,e.insertionMode=k.IN_COLUMN_GROUP,ku(e,t);break}case d.TR:{e.tmplInsertionModeStack[0]=k.IN_TABLE_BODY,e.insertionMode=k.IN_TABLE_BODY,_i(e,t);break}case d.TD:case d.TH:{e.tmplInsertionModeStack[0]=k.IN_ROW,e.insertionMode=k.IN_ROW,Bi(e,t);break}default:e.tmplInsertionModeStack[0]=k.IN_BODY,e.insertionMode=k.IN_BODY,Fe(e,t)}}s(uk,"startTagInTemplate");function ak(e,t){t.tagID===d.TEMPLATE&&Gt(e,t)}s(ak,"endTagInTemplate");function jh(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Tu(e,t)}s(jh,"eofInTemplate");function ok(e,t){t.tagID===d.HTML?Fe(e,t):wi(e,t)}s(ok,"startTagAfterBody");function Yh(e,t){var n;if(t.tagID===d.HTML){if(e.fragmentContext||(e.insertionMode=k.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else wi(e,t)}s(Yh,"endTagAfterBody");function wi(e,t){e.insertionMode=k.IN_BODY,bi(e,t)}s(wi,"tokenAfterBody");function lk(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.FRAMESET:{e._insertElement(t,P.HTML);break}case d.FRAME:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case d.NOFRAMES:{st(e,t);break}}}s(lk,"startTagInFrameset");function ck(e,t){t.tagID===d.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==d.FRAMESET&&(e.insertionMode=k.AFTER_FRAMESET))}s(ck,"endTagInFrameset");function hk(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.NOFRAMES:{st(e,t);break}}}s(hk,"startTagAfterFrameset");function fk(e,t){t.tagID===d.HTML&&(e.insertionMode=k.AFTER_AFTER_FRAMESET)}s(fk,"endTagAfterFrameset");function dk(e,t){t.tagID===d.HTML?Fe(e,t):Fi(e,t)}s(dk,"startTagAfterAfterBody");function Fi(e,t){e.insertionMode=k.IN_BODY,bi(e,t)}s(Fi,"tokenAfterAfterBody");function pk(e,t){switch(t.tagID){case d.HTML:{Fe(e,t);break}case d.NOFRAMES:{st(e,t);break}}}s(pk,"startTagAfterAfterFrameset");function mk(e,t){t.chars=fe,e._insertCharacters(t)}s(mk,"nullCharacterInForeignContent");function gk(e,t){e._insertCharacters(t),e.framesetOk=!1}s(gk,"characterInForeignContent");function Gh(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==P.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}s(Gh,"popUntilHtmlOrIntegrationPoint");function Ek(e,t){if(IT(t))Gh(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===P.MATHML?Sh(t):r===P.SVG&&(vT(t),_h(t)),Du(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}s(Ek,"startTagInForeignContent");function Ak(e,t){if(t.tagID===d.P||t.tagID===d.BR){Gh(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)===P.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}s(Ak,"endTagInForeignContent"),N.AREA,N.BASE,N.BASEFONT,N.BGSOUND,N.BR,N.COL,N.EMBED,N.FRAME,N.HR,N.IMG,N.INPUT,N.KEYGEN,N.LINK,N.META,N.PARAM,N.SOURCE,N.TRACK,N.WBR;const Ni=Vh("end"),Tt=Vh("start");function Vh(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}s(Vh,"point$2");function Dk(e){const t=Tt(e),n=Ni(e);if(t&&n)return{start:t,end:n}}s(Dk,"position$1");const Ck=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,yk=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Wh={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Kh(e,t){const n=xk(e),r=Rs("type",{handlers:{root:Tk,element:bk,text:kk,comment:Xh,doctype:Sk,raw:Bk},unknown:wk}),i={parser:n?new Fh(Wh):Fh.getFragmentParser(void 0,Wh),handle(o){r(o,i)},stitches:!1,options:t||{}};r(e,i),_n(i,Tt());const u=n?i.parser.document:i.parser.getFragment(),a=Ty(u,{file:i.options.file});return i.stitches&&ae(a,"comment",function(o,l,c){const f=o;if(f.value.stitch&&c&&l!==void 0){const h=c.children;return h[l]=f.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}s(Kh,"raw");function Qh(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}s(Qh,"all$1");function Tk(e,t){Qh(e.children,t)}s(Tk,"root$2");function bk(e,t){Fk(e,t),Qh(e.children,t),Nk(e,t)}s(bk,"element");function kk(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Z.CHARACTER,chars:e.value,location:Cr(e)};_n(t,Tt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}s(kk,"text$5");function Sk(e,t){const n={type:Z.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Cr(e)};_n(t,Tt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}s(Sk,"doctype");function _k(e,t){t.stitches=!0;const n=Ik(e);if("children"in e&&"children"in n){const r=Kh({type:"root",children:e.children},t.options);n.children=r.children}Xh({type:"comment",value:{stitch:n}},t)}s(_k,"stitch");function Xh(e,t){const n=e.value,r={type:Z.COMMENT,data:n,location:Cr(e)};_n(t,Tt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}s(Xh,"comment");function Bk(e,t){if(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=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,Jh(t,Tt(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Ck,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}s(Bk,"handleRaw");function wk(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))_k(n,t);else{let r="";throw yk.has(n.type)&&(r=". 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"),new Error("Cannot compile `"+n.type+"` node"+r)}}s(wk,"unknown");function _n(e,t){Jh(e,t);const n=e.parser.tokenizer.currentCharacterToken;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=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=de.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:""}}s(_n,"resetTokenizer");function Jh(e,t){if(t&&t.offset!==void 0){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}}s(Jh,"setPoint");function Fk(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===de.PLAINTEXT)return;_n(t,Tt(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:zt.html;i===zt.html&&n==="svg"&&(i=zt.svg);const u=Py({...e,children:[]},{space:i===zt.svg?"svg":"html"}),a={type:Z.START_TAG,tagName:n,tagID:kn(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in u?u.attrs:[],location:Cr(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}s(Fk,"startTag");function Nk(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Fl.includes(n)||t.parser.tokenizer.state===de.PLAINTEXT)return;_n(t,Ni(e));const r={type:Z.END_TAG,tagName:n,tagID:kn(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Cr(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===de.RCDATA||t.parser.tokenizer.state===de.RAWTEXT||t.parser.tokenizer.state===de.SCRIPT_DATA)&&(t.parser.tokenizer.state=de.DATA)}s(Nk,"endTag");function xk(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}s(xk,"documentMode");function Cr(e){const t=Tt(e)||{line:void 0,column:void 0,offset:void 0},n=Ni(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}s(Cr,"createParse5Location");function Ik(e){return"children"in e?Dn({...e,children:[]}):Dn(e)}s(Ik,"cloneWithoutChildren");function vk(e){return function(t,n){return Kh(t,{...e,file:n})}}s(vk,"rehypeRaw");function Lk(e){const t=this,n={...t.data("settings"),...e};t.compiler=r;function r(i){return Zl(i,n)}s(r,"compiler")}s(Lk,"rehypeStringify");function Ok(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}s(Ok,"blockquote$1");function Rk(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
22
22
|
`}]}s(Rk,"hardBreak$1");function Pk(e,t){const n=t.value?t.value+`
|
|
23
|
-
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}s(Pk,"code$2");function Mk(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}s(Mk,"strikethrough");function Uk(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}s(Uk,"emphasis$1");const Ie=vt(/[A-Za-z]/),Ne=vt(/[\dA-Za-z]/),Hk=vt(/[#-'*+\--9=?A-Z^-~]/);function xi(e){return e!==null&&(e<32||e===127)}s(xi,"asciiControl");const _u=vt(/\d/),$k=vt(/[\dA-Fa-f]/),qk=vt(/[!-/:-@[-`{-~]/);function
|
|
23
|
+
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}s(Pk,"code$2");function Mk(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}s(Mk,"strikethrough");function Uk(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}s(Uk,"emphasis$1");const Ie=vt(/[A-Za-z]/),Ne=vt(/[\dA-Za-z]/),Hk=vt(/[#-'*+\--9=?A-Z^-~]/);function xi(e){return e!==null&&(e<32||e===127)}s(xi,"asciiControl");const _u=vt(/\d/),$k=vt(/[\dA-Fa-f]/),qk=vt(/[!-/:-@[-`{-~]/);function j(e){return e!==null&&e<-2}s(j,"markdownLineEnding");function oe(e){return e!==null&&(e<0||e===32)}s(oe,"markdownLineEndingOrSpace");function J(e){return e===-2||e===-1||e===32}s(J,"markdownSpace");const Ii=vt(/\p{P}|\p{S}/u),Vt=vt(/\s/);function vt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}s(vt,"regexCheck");const zk={'"':"quot","&":"amp","<":"lt",">":"gt"};function jk(e){return e.replace(/["&<>]/g,t);function t(n){return"&"+zk[n]+";"}}s(jk,"encode");function Zh(e,t){return jk(Wt(e||""))}s(Zh,"sanitizeUri");function Wt(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const u=e.charCodeAt(n);let a="";if(u===37&&Ne(e.charCodeAt(n+1))&&Ne(e.charCodeAt(n+2)))i=2;else if(u<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(u))||(a=String.fromCharCode(u));else if(u>55295&&u<57344){const o=e.charCodeAt(n+1);u<56320&&o>56319&&o<57344?(a=String.fromCharCode(u,o),i=1):a="\uFFFD"}else a=String.fromCharCode(u);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}s(Wt,"normalizeUri");function Yk(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Wt(r.toLowerCase()),u=e.footnoteOrder.indexOf(r);let a,o=e.footnoteCounts.get(r);o===void 0?(o=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=u+1,o+=1,e.footnoteCounts.set(r,o);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}s(Yk,"footnoteReference$1");function Gk(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}s(Gk,"heading$1");function Vk(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}s(Vk,"html$1");function ef(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),u=i[0];u&&u.type==="text"?u.value="["+u.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}s(ef,"revert");function Wk(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ef(e,t);const i={src:Wt(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const u={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,u),e.applyData(t,u)}s(Wk,"imageReference$1");function Kk(e,t){const n={src:Wt(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}s(Kk,"image$1");function Qk(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}s(Qk,"inlineCode$1");function Xk(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ef(e,t);const i={href:Wt(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const u={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,u),e.applyData(t,u)}s(Xk,"linkReference$1");function Jk(e,t){const n={href:Wt(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}s(Jk,"link$1");function Zk(e,t,n){const r=e.all(t),i=n?e3(n):tf(t),u={},a=[];if(typeof t.checked=="boolean"){const f=r[0];let h;f&&f.type==="element"&&f.tagName==="p"?h=f:(h={type:"element",tagName:"p",properties:{},children:[]},r.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),u.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const f=r[o];(i||o!==0||f.type!=="element"||f.tagName!=="p")&&a.push({type:"text",value:`
|
|
24
24
|
`}),f.type==="element"&&f.tagName==="p"&&!i?a.push(...f.children):a.push(f)}const l=r[r.length-1];l&&(i||l.type!=="element"||l.tagName!=="p")&&a.push({type:"text",value:`
|
|
25
|
-
`});const c={type:"element",tagName:"li",properties:u,children:a};return e.patch(t,c),e.applyData(t,c)}s(Zk,"listItem$1");function e3(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=tf(n[r])}return t}s(e3,"listLoose");function tf(e){const t=e.spread;return t??e.children.length>1}s(tf,"listItemLoose");function t3(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const a=r[i];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const u={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,u),e.applyData(t,u)}s(t3,"list$2");function n3(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}s(n3,"paragraph$1");function r3(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}s(r3,"root$1");function i3(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}s(i3,"strong$1");function s3(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),i.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Tt(t.children[1]),l=Ni(t.children[t.children.length-1]);o&&l&&(a.position={start:o,end:l}),i.push(a)}const u={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,u),e.applyData(t,u)}s(s3,"table");function u3(e,t,n){const r=n?n.children:void 0,u=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:t.children.length;let l=-1;const c=[];for(;++l<o;){const h=t.children[l],m={},p=a?a[l]:void 0;p&&(m.align=p);let g={type:"element",tagName:u,properties:m,children:[]};h&&(g.children=e.all(h),e.patch(h,g),g=e.applyData(h,g)),c.push(g)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,f),e.applyData(t,f)}s(u3,"tableRow");function a3(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}s(a3,"tableCell");const nf=9,rf=32;function o3(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const u=[];for(;r;)u.push(sf(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return u.push(sf(t.slice(i),i>0,!1)),u.join("")}s(o3,"trimLines");function sf(e,t,n){let r=0,i=e.length;if(t){let u=e.codePointAt(r);for(;u===nf||u===rf;)r++,u=e.codePointAt(r)}if(n){let u=e.codePointAt(i-1);for(;u===nf||u===rf;)i--,u=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}s(sf,"trimLine");function l3(e,t){const n={type:"text",value:o3(String(t.value))};return e.patch(t,n),e.applyData(t,n)}s(l3,"text$4");function c3(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}s(c3,"thematicBreak$2");const h3={blockquote:Ok,break:Rk,code:Pk,delete:Mk,emphasis:Uk,footnoteReference:
|
|
25
|
+
`});const c={type:"element",tagName:"li",properties:u,children:a};return e.patch(t,c),e.applyData(t,c)}s(Zk,"listItem$1");function e3(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=tf(n[r])}return t}s(e3,"listLoose");function tf(e){const t=e.spread;return t??e.children.length>1}s(tf,"listItemLoose");function t3(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const a=r[i];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const u={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,u),e.applyData(t,u)}s(t3,"list$2");function n3(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}s(n3,"paragraph$1");function r3(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}s(r3,"root$1");function i3(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}s(i3,"strong$1");function s3(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),i.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Tt(t.children[1]),l=Ni(t.children[t.children.length-1]);o&&l&&(a.position={start:o,end:l}),i.push(a)}const u={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,u),e.applyData(t,u)}s(s3,"table");function u3(e,t,n){const r=n?n.children:void 0,u=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:t.children.length;let l=-1;const c=[];for(;++l<o;){const h=t.children[l],m={},p=a?a[l]:void 0;p&&(m.align=p);let g={type:"element",tagName:u,properties:m,children:[]};h&&(g.children=e.all(h),e.patch(h,g),g=e.applyData(h,g)),c.push(g)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,f),e.applyData(t,f)}s(u3,"tableRow");function a3(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}s(a3,"tableCell");const nf=9,rf=32;function o3(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const u=[];for(;r;)u.push(sf(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return u.push(sf(t.slice(i),i>0,!1)),u.join("")}s(o3,"trimLines");function sf(e,t,n){let r=0,i=e.length;if(t){let u=e.codePointAt(r);for(;u===nf||u===rf;)r++,u=e.codePointAt(r)}if(n){let u=e.codePointAt(i-1);for(;u===nf||u===rf;)i--,u=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}s(sf,"trimLine");function l3(e,t){const n={type:"text",value:o3(String(t.value))};return e.patch(t,n),e.applyData(t,n)}s(l3,"text$4");function c3(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}s(c3,"thematicBreak$2");const h3={blockquote:Ok,break:Rk,code:Pk,delete:Mk,emphasis:Uk,footnoteReference:Yk,heading:Gk,html:Vk,imageReference:Wk,image:Kk,inlineCode:Qk,linkReference:Xk,link:Jk,listItem:Zk,list:t3,paragraph:n3,root:r3,strong:i3,table:s3,tableCell:a3,tableRow:u3,text:l3,thematicBreak:c3,toml:vi,yaml:vi,definition:vi,footnoteDefinition:vi};function vi(){}s(vi,"ignore");function f3(e,t){const n=[{type:"text",value:"\u21A9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}s(f3,"defaultFootnoteBackContent");function d3(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}s(d3,"defaultFootnoteBackLabel");function p3(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||f3,r=e.options.footnoteBackLabel||d3,i=e.options.footnoteLabel||"Footnotes",u=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const f=e.all(c),h=String(c.identifier).toUpperCase(),m=Wt(h.toLowerCase());let p=0;const g=[],E=e.footnoteCounts.get(h);for(;E!==void 0&&++p<=E;){g.length>0&&g.push({type:"text",value:" "});let C=typeof n=="string"?n:n(l,p);typeof C=="string"&&(C={type:"text",value:C}),g.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+m+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,p),className:["data-footnote-backref"]},children:Array.isArray(C)?C:[C]})}const A=f[f.length-1];if(A&&A.type==="element"&&A.tagName==="p"){const C=A.children[A.children.length-1];C&&C.type==="text"?C.value+=" ":A.children.push({type:"text",value:" "}),A.children.push(...g)}else f.push(...g);const D={type:"element",tagName:"li",properties:{id:t+"fn-"+m},children:e.wrap(f,!0)};e.patch(c,D),o.push(D)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:u,properties:{...Dn(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
|
|
26
26
|
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
|
|
27
|
-
`}]}}s(p3,"footer");const Bu={}.hasOwnProperty,m3={};function g3(e,t){const n=t||m3,r=new Map,i=new Map,u=new Map,a={...h3,...n.handlers},o={all:c,applyData:A3,definitionById:r,footnoteById:i,footnoteCounts:u,footnoteOrder:[],handlers:a,one:l,options:n,patch:E3,wrap:C3};return ae(e,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const h=f.type==="definition"?r:i,m=String(f.identifier).toUpperCase();h.has(m)||h.set(m,f)}}),o;function l(f,h){const m=f.type,p=o.handlers[m];if(Bu.call(o.handlers,m)&&p)return p(o,f,h);if(o.options.passThrough&&o.options.passThrough.includes(m)){if("children"in f){const{children:E,...
|
|
27
|
+
`}]}}s(p3,"footer");const Bu={}.hasOwnProperty,m3={};function g3(e,t){const n=t||m3,r=new Map,i=new Map,u=new Map,a={...h3,...n.handlers},o={all:c,applyData:A3,definitionById:r,footnoteById:i,footnoteCounts:u,footnoteOrder:[],handlers:a,one:l,options:n,patch:E3,wrap:C3};return ae(e,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const h=f.type==="definition"?r:i,m=String(f.identifier).toUpperCase();h.has(m)||h.set(m,f)}}),o;function l(f,h){const m=f.type,p=o.handlers[m];if(Bu.call(o.handlers,m)&&p)return p(o,f,h);if(o.options.passThrough&&o.options.passThrough.includes(m)){if("children"in f){const{children:E,...A}=f,D=Dn(A);return D.children=o.all(f),D}return Dn(f)}return(o.options.unknownHandler||D3)(o,f,h)}s(l,"one");function c(f){const h=[];if("children"in f){const m=f.children;let p=-1;for(;++p<m.length;){const g=o.one(m[p],f);if(g){if(p&&m[p-1].type==="break"&&(!Array.isArray(g)&&g.type==="text"&&(g.value=uf(g.value)),!Array.isArray(g)&&g.type==="element")){const E=g.children[0];E&&E.type==="text"&&(E.value=uf(E.value))}Array.isArray(g)?h.push(...g):h.push(g)}}}return h}s(c,"all")}s(g3,"createState");function E3(e,t){e.position&&(t.position=Dk(e))}s(E3,"patch");function A3(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,u=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const a="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:a}}n.type==="element"&&u&&Object.assign(n.properties,Dn(u)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}s(A3,"applyData");function D3(e,t){const n=t.data||{},r="value"in t&&!(Bu.call(n,"hProperties")||Bu.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}s(D3,"defaultUnknownHandler");function C3(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
28
28
|
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
29
29
|
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
30
30
|
`}),n}s(C3,"wrap$1");function uf(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}s(uf,"trimMarkdownSpaceStart");function af(e,t){const n=g3(e,t),r=n.one(e,void 0),i=p3(n),u=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&u.children.push({type:"text",value:`
|
|
31
|
-
`},i),u}s(af,"toHast");function y3(e,t){return e&&"run"in e?async function(n,r){const i=af(n,{file:r,...t});await e.run(i,r)}:function(n,r){return af(n,{file:r,...e||t})}}s(y3,"remarkRehype");function of(e){if(e)throw e}s(of,"bail");var wu,lf;function T3(){if(lf)return wu;lf=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=s(function(c){return typeof Array.isArray=="function"?Array.isArray(c):t.call(c)==="[object Array]"},"isArray2"),u=s(function(c){if(!c||t.call(c)!=="[object Object]")return!1;var f=e.call(c,"constructor"),h=c.constructor&&c.constructor.prototype&&e.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!f&&!h)return!1;var m;for(m in c);return typeof m>"u"||e.call(c,m)},"isPlainObject2"),a=s(function(c,f){n&&f.name==="__proto__"?n(c,f.name,{enumerable:!0,configurable:!0,value:f.newValue,writable:!0}):c[f.name]=f.newValue},"setProperty2"),o=s(function(c,f){if(f==="__proto__")if(e.call(c,f)){if(r)return r(c,f).value}else return;return c[f]},"getProperty2");return wu=s(function l(){var c,f,h,m,p,g,E=arguments[0],D=1,A=arguments.length,C=!1;for(typeof E=="boolean"&&(C=E,E=arguments[1]||{},D=2),(E==null||typeof E!="object"&&typeof E!="function")&&(E={});D<A;++D)if(c=arguments[D],c!=null)for(f in c)h=o(E,f),m=o(c,f),E!==m&&(C&&m&&(u(m)||(p=i(m)))?(p?(p=!1,g=h&&i(h)?h:[]):g=h&&u(h)?h:{},a(E,{name:f,newValue:l(C,g,m)})):typeof m<"u"&&a(E,{name:f,newValue:m}));return E},"extend"),wu}s(T3,"requireExtend");var b3=T3(),Fu=Wn(b3);function Nu(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}s(Nu,"isPlainObject");function k3(){const e=[],t={run:n,use:r};return t;function n(...i){let u=-1;const a=i.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);o(null,...i);function o(l,...c){const f=e[++u];let h=-1;if(l){a(l);return}for(;++h<i.length;)(c[h]===null||c[h]===void 0)&&(c[h]=i[h]);i=c,f?S3(f,o)(...c):a(null,...c)}s(o,"next")}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}s(k3,"trough");function S3(e,t){let n;return r;function r(...a){const o=e.length>a.length;let l;o&&a.push(i);try{l=e.apply(this,a)}catch(c){const f=c;if(o&&n)throw f;return i(f)}o||(l&&l.then&&typeof l.then=="function"?l.then(u,i):l instanceof Error?i(l):u(l))}function i(a,...o){n||(n=!0,t(a,...o))}function u(a){i(null,a)}}s(S3,"wrap");function yr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?cf(e.position):"start"in e||"end"in e?cf(e):"line"in e||"column"in e?xu(e):""}s(yr,"stringifyPosition");function xu(e){return hf(e&&e.line)+":"+hf(e&&e.column)}s(xu,"point$1");function cf(e){return xu(e&&e.start)+"-"+xu(e&&e.end)}s(cf,"position");function hf(e){return e&&typeof e=="number"?e:1}s(hf,"index");class Ue extends Error{static{s(this,"VFileMessage")}constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",u={},a=!1;if(n&&("line"in n&&"column"in n?u={place:n}:"start"in n&&"end"in n?u={place:n}:"type"in n?u={ancestors:[n],place:n.position}:u={...n}),typeof t=="string"?i=t:!u.cause&&t&&(a=!0,i=t.message,u.cause=t),!u.ruleId&&!u.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?u.ruleId=r:(u.source=r.slice(0,l),u.ruleId=r.slice(l+1))}if(!u.place&&u.ancestors&&u.ancestors){const l=u.ancestors[u.ancestors.length-1];l&&(u.place=l.position)}const o=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=o?o.line:void 0,this.name=yr(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=a&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Ue.prototype.file="",Ue.prototype.name="",Ue.prototype.reason="",Ue.prototype.message="",Ue.prototype.stack="",Ue.prototype.column=void 0,Ue.prototype.line=void 0,Ue.prototype.ancestors=void 0,Ue.prototype.cause=void 0,Ue.prototype.fatal=void 0,Ue.prototype.place=void 0,Ue.prototype.ruleId=void 0,Ue.prototype.source=void 0;const ht={basename:_3,dirname:B3,extname:w3,join:F3,sep:"/"};function _3(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Tr(e);let n=0,r=-1,i=e.length,u;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(u){n=i+1;break}}else r<0&&(u=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,o=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(u){n=i+1;break}}else a<0&&(u=!0,a=i+1),o>-1&&(e.codePointAt(i)===t.codePointAt(o--)?o<0&&(r=i):(o=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}s(_3,"basename");function B3(e){if(Tr(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}s(B3,"dirname");function w3(e){Tr(e);let t=e.length,n=-1,r=0,i=-1,u=0,a;for(;t--;){const o=e.codePointAt(t);if(o===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?i<0?i=t:u!==1&&(u=1):i>-1&&(u=-1)}return i<0||n<0||u===0||u===1&&i===n-1&&i===r+1?"":e.slice(i,n)}s(w3,"extname");function F3(...e){let t=-1,n;for(;++t<e.length;)Tr(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":N3(n)}s(F3,"join");function N3(e){Tr(e);const t=e.codePointAt(0)===47;let n=x3(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}s(N3,"normalize$1");function x3(e,t){let n="",r=0,i=-1,u=0,a=-1,o,l;for(;++a<=e.length;){if(a<e.length)o=e.codePointAt(a);else{if(o===47)break;o=47}if(o===47){if(!(i===a-1||u===1))if(i!==a-1&&u===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,u=0;continue}}else if(n.length>0){n="",r=0,i=a,u=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,u=0}else o===46&&u>-1?u++:u=-1}return n}s(x3,"normalizeString");function Tr(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}s(Tr,"assertPath$2");const I3={cwd:v3};function v3(){return"/"}s(v3,"cwd");function Iu(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}s(Iu,"isUrl$1");function L3(e){if(typeof e=="string")e=new URL(e);else if(!Iu(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return O3(e)}s(L3,"urlToPath");function O3(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}s(O3,"getPathFromURLPosix");const vu=["history","path","basename","stem","extname","dirname"];class R3{static{s(this,"VFile")}constructor(t){let n;t?Iu(t)?n={path:t}:typeof t=="string"||P3(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":I3.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<vu.length;){const u=vu[r];u in n&&n[u]!==void 0&&n[u]!==null&&(this[u]=u==="history"?[...n[u]]:n[u])}let i;for(i in n)vu.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?ht.basename(this.path):void 0}set basename(t){Ou(t,"basename"),Lu(t,"basename"),this.path=ht.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?ht.dirname(this.path):void 0}set dirname(t){ff(this.basename,"dirname"),this.path=ht.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?ht.extname(this.path):void 0}set extname(t){if(Lu(t,"extname"),ff(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ht.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Iu(t)&&(t=L3(t)),Ou(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?ht.basename(this.path,this.extname):void 0}set stem(t){Ou(t,"stem"),Lu(t,"stem"),this.path=ht.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Ue(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Lu(e,t){if(e&&e.includes(ht.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+ht.sep+"`")}s(Lu,"assertPart");function Ou(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}s(Ou,"assertNonEmpty");function ff(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}s(ff,"assertPath$1");function P3(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}s(P3,"isUint8Array$1");const M3=s((function(e){const r=this.constructor.prototype,i=r[e],u=s(function(){return i.apply(u,arguments)},"apply");return Object.setPrototypeOf(u,r),u}),"CallableInstance"),U3={}.hasOwnProperty;class zo extends M3{static{s(this,"Processor")}constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=k3()}copy(){const t=new zo;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Fu(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Uu("data",this.frozen),this.namespace[t]=n,this):U3.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Uu("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Li(t),r=this.parser||this.Parser;return Pu("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Pu("process",this.parser||this.Parser),Mu("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(u,a){const o=Li(t),l=r.parse(o);r.run(l,o,function(f,h,m){if(f||!h||!m)return c(f);const p=h,g=r.stringify(p,m);$3(g)?m.value=g:m.result=g,c(f,m)});function c(f,h){f||!h?a(f):u?u(h):n(void 0,h)}s(c,"realDone")}s(i,"executor")}processSync(t){let n=!1,r;return this.freeze(),Pu("processSync",this.parser||this.Parser),Mu("processSync",this.compiler||this.Compiler),this.process(t,i),pf("processSync","process",n),r;function i(u,a){n=!0,of(u),r=a}s(i,"realDone")}run(t,n,r){df(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?u(void 0,r):new Promise(u);function u(a,o){const l=Li(n);i.run(t,l,c);function c(f,h,m){const p=h||t;f?o(f):a?a(p):r(void 0,p,m)}s(c,"realDone")}s(u,"executor")}runSync(t,n){let r=!1,i;return this.run(t,n,u),pf("runSync","run",r),i;function u(a,o){of(a),i=o,r=!0}s(u,"realDone")}stringify(t,n){this.freeze();const r=Li(n),i=this.compiler||this.Compiler;return Mu("stringify",i),df(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Uu("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function u(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[f,...h]=c;l(f,h)}else a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(c.plugins),c.settings&&(i.settings=Fu(!0,i.settings,c.settings))}function o(c){let f=-1;if(c!=null)if(Array.isArray(c))for(;++f<c.length;){const h=c[f];u(h)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,f){let h=-1,m=-1;for(;++h<r.length;)if(r[h][0]===c){m=h;break}if(m===-1)r.push([c,...f]);else if(f.length>0){let[p,...g]=f;const E=r[m][1];Nu(E)&&Nu(p)&&(p=Fu(!0,E,p)),r[m]=[c,p,...g]}}}}const Ru=new zo().freeze();function Pu(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}s(Pu,"assertParser");function Mu(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}s(Mu,"assertCompiler");function Uu(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`.")}s(Uu,"assertUnfrozen");function df(e){if(!Nu(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}s(df,"assertNode");function pf(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}s(pf,"assertDone");function Li(e){return H3(e)?e:new R3(e)}s(Li,"vfile");function H3(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}s(H3,"looksLikeAVFile");function $3(e){return typeof e=="string"||q3(e)}s($3,"looksLikeAValue");function q3(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}s(q3,"isUint8Array");function ie(e,t,n){const r={type:String(e)};return n==null&&(typeof t=="string"||Array.isArray(t))?n=t:Object.assign(r,t),Array.isArray(n)?r.children=n:n!=null&&(r.value=String(n)),r}s(ie,"u");const Hu={32:16777619n,64:1099511628211n,128:309485009821345068724781371n,256:374144419156711147060143317175368453031918731002211n,512:35835915874844867368919076489095108449946327955754392558399825615420669938882575126094039892345713852759n,1024:5016456510113118655434598811035278955030765345404790744303017523831112055108147451509157692220295382716162651878526895249385292291816524375083746691371804094271873160484737966720260389217684476157468082573n},mf={32:2166136261n,64:14695981039346656037n,128:144066263297769815596495629667062367629n,256:100029257958052580907070968620625704837092796014241193945225284501741471925557n,512:9659303129496669498009435400716310466090418745672637896108374329434462657994582932197716438449813051892206539805784495328239340083876191928701583869517785n,1024:14197795064947621068722070641403218320880622795441933960878474914617582723252296732303717722150864096521202355549365628174669108571814760471015076148029755969804077320157692458563003215304957150157403644460363550505412711285966361610267868082893823963790439336411086884584107735010676915n},gf=new globalThis.TextEncoder;function z3(e,t){const n=Hu[t];let r=mf[t];for(let i=0;i<e.length;i++)r^=BigInt(e[i]),r=BigInt.asUintN(t,r*n);return r}s(z3,"fnv1aUint8Array");function Y3(e,t,n){if(n.length===0)throw new Error("The `utf8Buffer` option must have a length greater than zero");const r=Hu[t];let i=mf[t],u=e;for(;u.length>0;){const a=gf.encodeInto(u,n);u=u.slice(a.read);for(let o=0;o<a.written;o++)i^=BigInt(n[o]),i=BigInt.asUintN(t,i*r)}return i}s(Y3,"fnv1aEncodeInto");function j3(e,{size:t=32,utf8Buffer:n}={}){if(!Hu[t])throw new Error("The `size` option must be one of 32, 64, 128, 256, 512, or 1024");if(typeof e=="string"){if(n)return Y3(e,t,n);e=gf.encode(e)}return z3(e,t)}s(j3,"fnv1a");function Oi(e,t){return j3(e,{size:64}).toString(16).padStart(t,"0")}s(Oi,"getHash");function $u(e){return e.charAt(0).toUpperCase()+e.slice(1)}s($u,"capitalize");function qu(e,t,n="...",r=" "){if(e.length<=t)return e;const i=t-n.length,u=e.split(r);for(;u.length>1&&u.join(r).length>i;)u.pop();return`${u.join(r).slice(0,i)}${n}`}s(qu,"truncateOnWordBoundary");function G3(e){return e.toLowerCase().replaceAll(/[^\da-z]/gi," ").trim().replaceAll(/ +/g,"-")}s(G3,"cleanClassName");function ft(e){if(e!==void 0)return e.trim()===""?void 0:e}s(ft,"emptyIsUndefined");function V3(e,...t){return W3(e,...t)}s(V3,"css");function W3(e,...t){const n=e.reduce((u,a,o)=>`${u}${a}${String(t[o]??"")}`,"").split(/\r?\n/).filter(u=>u.trim()!==""),r=/^(\s+)/.exec(n[0])?.[0]??"",i=new RegExp(`^${r}`);return n.map(u=>u.replace(i,"").trimEnd()).join(`
|
|
31
|
+
`},i),u}s(af,"toHast");function y3(e,t){return e&&"run"in e?async function(n,r){const i=af(n,{file:r,...t});await e.run(i,r)}:function(n,r){return af(n,{file:r,...e||t})}}s(y3,"remarkRehype");function of(e){if(e)throw e}s(of,"bail");var wu,lf;function T3(){if(lf)return wu;lf=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=s(function(c){return typeof Array.isArray=="function"?Array.isArray(c):t.call(c)==="[object Array]"},"isArray2"),u=s(function(c){if(!c||t.call(c)!=="[object Object]")return!1;var f=e.call(c,"constructor"),h=c.constructor&&c.constructor.prototype&&e.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!f&&!h)return!1;var m;for(m in c);return typeof m>"u"||e.call(c,m)},"isPlainObject2"),a=s(function(c,f){n&&f.name==="__proto__"?n(c,f.name,{enumerable:!0,configurable:!0,value:f.newValue,writable:!0}):c[f.name]=f.newValue},"setProperty2"),o=s(function(c,f){if(f==="__proto__")if(e.call(c,f)){if(r)return r(c,f).value}else return;return c[f]},"getProperty2");return wu=s(function l(){var c,f,h,m,p,g,E=arguments[0],A=1,D=arguments.length,C=!1;for(typeof E=="boolean"&&(C=E,E=arguments[1]||{},A=2),(E==null||typeof E!="object"&&typeof E!="function")&&(E={});A<D;++A)if(c=arguments[A],c!=null)for(f in c)h=o(E,f),m=o(c,f),E!==m&&(C&&m&&(u(m)||(p=i(m)))?(p?(p=!1,g=h&&i(h)?h:[]):g=h&&u(h)?h:{},a(E,{name:f,newValue:l(C,g,m)})):typeof m<"u"&&a(E,{name:f,newValue:m}));return E},"extend"),wu}s(T3,"requireExtend");var b3=T3(),Fu=Wn(b3);function Nu(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}s(Nu,"isPlainObject");function k3(){const e=[],t={run:n,use:r};return t;function n(...i){let u=-1;const a=i.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);o(null,...i);function o(l,...c){const f=e[++u];let h=-1;if(l){a(l);return}for(;++h<i.length;)(c[h]===null||c[h]===void 0)&&(c[h]=i[h]);i=c,f?S3(f,o)(...c):a(null,...c)}s(o,"next")}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}s(k3,"trough");function S3(e,t){let n;return r;function r(...a){const o=e.length>a.length;let l;o&&a.push(i);try{l=e.apply(this,a)}catch(c){const f=c;if(o&&n)throw f;return i(f)}o||(l&&l.then&&typeof l.then=="function"?l.then(u,i):l instanceof Error?i(l):u(l))}function i(a,...o){n||(n=!0,t(a,...o))}function u(a){i(null,a)}}s(S3,"wrap");function yr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?cf(e.position):"start"in e||"end"in e?cf(e):"line"in e||"column"in e?xu(e):""}s(yr,"stringifyPosition");function xu(e){return hf(e&&e.line)+":"+hf(e&&e.column)}s(xu,"point$1");function cf(e){return xu(e&&e.start)+"-"+xu(e&&e.end)}s(cf,"position");function hf(e){return e&&typeof e=="number"?e:1}s(hf,"index");class Ue extends Error{static{s(this,"VFileMessage")}constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",u={},a=!1;if(n&&("line"in n&&"column"in n?u={place:n}:"start"in n&&"end"in n?u={place:n}:"type"in n?u={ancestors:[n],place:n.position}:u={...n}),typeof t=="string"?i=t:!u.cause&&t&&(a=!0,i=t.message,u.cause=t),!u.ruleId&&!u.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?u.ruleId=r:(u.source=r.slice(0,l),u.ruleId=r.slice(l+1))}if(!u.place&&u.ancestors&&u.ancestors){const l=u.ancestors[u.ancestors.length-1];l&&(u.place=l.position)}const o=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=o?o.line:void 0,this.name=yr(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=a&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Ue.prototype.file="",Ue.prototype.name="",Ue.prototype.reason="",Ue.prototype.message="",Ue.prototype.stack="",Ue.prototype.column=void 0,Ue.prototype.line=void 0,Ue.prototype.ancestors=void 0,Ue.prototype.cause=void 0,Ue.prototype.fatal=void 0,Ue.prototype.place=void 0,Ue.prototype.ruleId=void 0,Ue.prototype.source=void 0;const ht={basename:_3,dirname:B3,extname:w3,join:F3,sep:"/"};function _3(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Tr(e);let n=0,r=-1,i=e.length,u;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(u){n=i+1;break}}else r<0&&(u=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,o=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(u){n=i+1;break}}else a<0&&(u=!0,a=i+1),o>-1&&(e.codePointAt(i)===t.codePointAt(o--)?o<0&&(r=i):(o=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}s(_3,"basename");function B3(e){if(Tr(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}s(B3,"dirname");function w3(e){Tr(e);let t=e.length,n=-1,r=0,i=-1,u=0,a;for(;t--;){const o=e.codePointAt(t);if(o===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?i<0?i=t:u!==1&&(u=1):i>-1&&(u=-1)}return i<0||n<0||u===0||u===1&&i===n-1&&i===r+1?"":e.slice(i,n)}s(w3,"extname");function F3(...e){let t=-1,n;for(;++t<e.length;)Tr(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":N3(n)}s(F3,"join");function N3(e){Tr(e);const t=e.codePointAt(0)===47;let n=x3(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}s(N3,"normalize$1");function x3(e,t){let n="",r=0,i=-1,u=0,a=-1,o,l;for(;++a<=e.length;){if(a<e.length)o=e.codePointAt(a);else{if(o===47)break;o=47}if(o===47){if(!(i===a-1||u===1))if(i!==a-1&&u===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,u=0;continue}}else if(n.length>0){n="",r=0,i=a,u=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,u=0}else o===46&&u>-1?u++:u=-1}return n}s(x3,"normalizeString");function Tr(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}s(Tr,"assertPath$2");const I3={cwd:v3};function v3(){return"/"}s(v3,"cwd");function Iu(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}s(Iu,"isUrl$1");function L3(e){if(typeof e=="string")e=new URL(e);else if(!Iu(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return O3(e)}s(L3,"urlToPath");function O3(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}s(O3,"getPathFromURLPosix");const vu=["history","path","basename","stem","extname","dirname"];class R3{static{s(this,"VFile")}constructor(t){let n;t?Iu(t)?n={path:t}:typeof t=="string"||P3(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":I3.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<vu.length;){const u=vu[r];u in n&&n[u]!==void 0&&n[u]!==null&&(this[u]=u==="history"?[...n[u]]:n[u])}let i;for(i in n)vu.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?ht.basename(this.path):void 0}set basename(t){Ou(t,"basename"),Lu(t,"basename"),this.path=ht.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?ht.dirname(this.path):void 0}set dirname(t){ff(this.basename,"dirname"),this.path=ht.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?ht.extname(this.path):void 0}set extname(t){if(Lu(t,"extname"),ff(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ht.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Iu(t)&&(t=L3(t)),Ou(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?ht.basename(this.path,this.extname):void 0}set stem(t){Ou(t,"stem"),Lu(t,"stem"),this.path=ht.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Ue(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Lu(e,t){if(e&&e.includes(ht.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+ht.sep+"`")}s(Lu,"assertPart");function Ou(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}s(Ou,"assertNonEmpty");function ff(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}s(ff,"assertPath$1");function P3(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}s(P3,"isUint8Array$1");const M3=s((function(e){const r=this.constructor.prototype,i=r[e],u=s(function(){return i.apply(u,arguments)},"apply");return Object.setPrototypeOf(u,r),u}),"CallableInstance"),U3={}.hasOwnProperty;class zo extends M3{static{s(this,"Processor")}constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=k3()}copy(){const t=new zo;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Fu(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Uu("data",this.frozen),this.namespace[t]=n,this):U3.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Uu("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Li(t),r=this.parser||this.Parser;return Pu("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Pu("process",this.parser||this.Parser),Mu("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(u,a){const o=Li(t),l=r.parse(o);r.run(l,o,function(f,h,m){if(f||!h||!m)return c(f);const p=h,g=r.stringify(p,m);$3(g)?m.value=g:m.result=g,c(f,m)});function c(f,h){f||!h?a(f):u?u(h):n(void 0,h)}s(c,"realDone")}s(i,"executor")}processSync(t){let n=!1,r;return this.freeze(),Pu("processSync",this.parser||this.Parser),Mu("processSync",this.compiler||this.Compiler),this.process(t,i),pf("processSync","process",n),r;function i(u,a){n=!0,of(u),r=a}s(i,"realDone")}run(t,n,r){df(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?u(void 0,r):new Promise(u);function u(a,o){const l=Li(n);i.run(t,l,c);function c(f,h,m){const p=h||t;f?o(f):a?a(p):r(void 0,p,m)}s(c,"realDone")}s(u,"executor")}runSync(t,n){let r=!1,i;return this.run(t,n,u),pf("runSync","run",r),i;function u(a,o){of(a),i=o,r=!0}s(u,"realDone")}stringify(t,n){this.freeze();const r=Li(n),i=this.compiler||this.Compiler;return Mu("stringify",i),df(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Uu("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function u(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[f,...h]=c;l(f,h)}else a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(c.plugins),c.settings&&(i.settings=Fu(!0,i.settings,c.settings))}function o(c){let f=-1;if(c!=null)if(Array.isArray(c))for(;++f<c.length;){const h=c[f];u(h)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,f){let h=-1,m=-1;for(;++h<r.length;)if(r[h][0]===c){m=h;break}if(m===-1)r.push([c,...f]);else if(f.length>0){let[p,...g]=f;const E=r[m][1];Nu(E)&&Nu(p)&&(p=Fu(!0,E,p)),r[m]=[c,p,...g]}}}}const Ru=new zo().freeze();function Pu(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}s(Pu,"assertParser");function Mu(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}s(Mu,"assertCompiler");function Uu(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`.")}s(Uu,"assertUnfrozen");function df(e){if(!Nu(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}s(df,"assertNode");function pf(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}s(pf,"assertDone");function Li(e){return H3(e)?e:new R3(e)}s(Li,"vfile");function H3(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}s(H3,"looksLikeAVFile");function $3(e){return typeof e=="string"||q3(e)}s($3,"looksLikeAValue");function q3(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}s(q3,"isUint8Array");function ie(e,t,n){const r={type:String(e)};return n==null&&(typeof t=="string"||Array.isArray(t))?n=t:Object.assign(r,t),Array.isArray(n)?r.children=n:n!=null&&(r.value=String(n)),r}s(ie,"u");const Hu={32:16777619n,64:1099511628211n,128:309485009821345068724781371n,256:374144419156711147060143317175368453031918731002211n,512:35835915874844867368919076489095108449946327955754392558399825615420669938882575126094039892345713852759n,1024:5016456510113118655434598811035278955030765345404790744303017523831112055108147451509157692220295382716162651878526895249385292291816524375083746691371804094271873160484737966720260389217684476157468082573n},mf={32:2166136261n,64:14695981039346656037n,128:144066263297769815596495629667062367629n,256:100029257958052580907070968620625704837092796014241193945225284501741471925557n,512:9659303129496669498009435400716310466090418745672637896108374329434462657994582932197716438449813051892206539805784495328239340083876191928701583869517785n,1024:14197795064947621068722070641403218320880622795441933960878474914617582723252296732303717722150864096521202355549365628174669108571814760471015076148029755969804077320157692458563003215304957150157403644460363550505412711285966361610267868082893823963790439336411086884584107735010676915n},gf=new globalThis.TextEncoder;function z3(e,t){const n=Hu[t];let r=mf[t];for(let i=0;i<e.length;i++)r^=BigInt(e[i]),r=BigInt.asUintN(t,r*n);return r}s(z3,"fnv1aUint8Array");function j3(e,t,n){if(n.length===0)throw new Error("The `utf8Buffer` option must have a length greater than zero");const r=Hu[t];let i=mf[t],u=e;for(;u.length>0;){const a=gf.encodeInto(u,n);u=u.slice(a.read);for(let o=0;o<a.written;o++)i^=BigInt(n[o]),i=BigInt.asUintN(t,i*r)}return i}s(j3,"fnv1aEncodeInto");function Y3(e,{size:t=32,utf8Buffer:n}={}){if(!Hu[t])throw new Error("The `size` option must be one of 32, 64, 128, 256, 512, or 1024");if(typeof e=="string"){if(n)return j3(e,t,n);e=gf.encode(e)}return z3(e,t)}s(Y3,"fnv1a");function Oi(e,t){return Y3(e,{size:64}).toString(16).padStart(t,"0")}s(Oi,"getHash");function $u(e){return e.charAt(0).toUpperCase()+e.slice(1)}s($u,"capitalize");function qu(e,t,n="...",r=" "){if(e.length<=t)return e;const i=t-n.length,u=e.split(r);for(;u.length>1&&u.join(r).length>i;)u.pop();return`${u.join(r).slice(0,i)}${n}`}s(qu,"truncateOnWordBoundary");function G3(e){return e.toLowerCase().replaceAll(/[^\da-z]/gi," ").trim().replaceAll(/ +/g,"-")}s(G3,"cleanClassName");function ft(e){if(e!==void 0)return e.trim()===""?void 0:e}s(ft,"emptyIsUndefined");function V3(e,...t){return W3(e,...t)}s(V3,"css");function W3(e,...t){const n=e.reduce((u,a,o)=>`${u}${a}${String(t[o]??"")}`,"").split(/\r?\n/).filter(u=>u.trim()!==""),r=/^(\s+)/.exec(n[0])?.[0]??"",i=new RegExp(`^${r}`);return n.map(u=>u.replace(i,"").trimEnd()).join(`
|
|
32
32
|
`)}s(W3,"trimLeadingIndentation");function K3(e,t){const n=e.match(t);if(n?.index===void 0)return[e,void 0];const{index:r}=n,i=e.slice(0,r),u=e.slice(r);return[i,u]}s(K3,"splitAtFirstMatch");const Q3=V3`
|
|
33
33
|
.card {
|
|
34
34
|
font-family: arial;
|
|
@@ -37,9 +37,9 @@ var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0})
|
|
|
37
37
|
color: black;
|
|
38
38
|
background-color: white;
|
|
39
39
|
}
|
|
40
|
-
`,Kt="yanki",zu=!0,Ef=60,X3="Yanki",Ri="(Empty)",J3=ie("element",{properties:{},tagName:"p"},[ie("element",{properties:{},tagName:"em"},[ie("text",Ri)])]),Z3="metadata",eS="metadata",tS="metadata",Af=120,Pi="Untitled",Df=["avif","gif","ico","jpeg","jpg","png","svg","tif","tiff","webp"],Cf=["3gp","aac","avi","flac","flv","m4a","mkv","mov","mp3","mp4","mpeg","mpg","oga","ogg","ogv","ogx","opus","spx","swf","wav","webm"],yf=["md","pdf"],Tf=[...Cf,...Df,...yf];function dt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}s(dt,"assertPath");function bf(e,t){for(var n="",r=0,i=-1,u=0,a,o=0;o<=e.length;++o){if(o<e.length)a=e.charCodeAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||u===1))if(i!==o-1&&u===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var l=n.lastIndexOf("/");if(l!==n.length-1){l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=o,u=0;continue}}else if(n.length===2||n.length===1){n="",r=0,i=o,u=0;continue}}t&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,u=0}else a===46&&u!==-1?++u:u=-1}return n}s(bf,"normalizeStringPosix");function nS(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}s(nS,"_format");var ne={process_cwd:"",setCWD:s(function(t){ne.process_cwd=t},"setCWD"),resolve:s(function(){for(var t="",n=!1,r,i=arguments.length-1;i>=-1&&!n;i--){var u;i>=0?u=arguments[i]:(r===void 0&&(r=ne.process_cwd),u=r),dt(u),u.length!==0&&u+"/"!==t&&(t=u+"/"+t,n=u.charCodeAt(0)===47)}return t=bf(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},"resolve"),normalize:s(function(t){if(dt(t),t.length===0)return".";var n=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=bf(t,!n),t.length===0&&!n&&(t="."),t.length>0&&r&&(t+="/"),n?"/"+t:t},"normalize"),isAbsolute:s(function(t){return dt(t),t.length>0&&t.charCodeAt(0)===47},"isAbsolute"),join:s(function(){if(arguments.length===0)return".";for(var t,n=0;n<arguments.length;++n){var r=arguments[n];dt(r),r.length>0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":ne.normalize(t)},"join"),relative:s(function(t,n){if(dt(t),dt(n),t===n)return"";const r=t.replaceAll("\\","/"),i=n.replaceAll("\\","/");if(r!=t&&i!=n)return ne.relative(r,i).replaceAll("/","\\");if(r!=t)return ne.relative(r,n).replaceAll("/","\\");if(i!=n)return ne.relative(t,i);if(t=ne.resolve(t),n=ne.resolve(n),t===n)return"";for(var u=1;u<t.length&&t.charCodeAt(u)===47;++u);for(var a=t.length,o=a-u,l=1;l<n.length&&n.charCodeAt(l)===47;++l);for(var c=n.length,f=c-l,h=o<f?o:f,m=-1,p=0;p<=h;++p){if(p===h){if(f>h){if(n.charCodeAt(l+p)===47)return n.slice(l+p+1);if(p===0)return n.slice(l+p)}else o>h&&(t.charCodeAt(u+p)===47?m=p:p===0&&(m=0));break}var g=t.charCodeAt(u+p),E=n.charCodeAt(l+p);if(g!==E)break;g===47&&(m=p)}var D="";for(p=u+m+1;p<=a;++p)(p===a||t.charCodeAt(p)===47)&&(D.length===0?D+="..":D+="/..");return D.length>0?D+n.slice(l+m):(l+=m,n.charCodeAt(l)===47&&++l,n.slice(l))},"relative"),_makeLong:s(function(t){return t},"_makeLong"),dirname:s(function(t){if(dt(t),t.length===0)return".";for(var n=t.charCodeAt(0),r=n===47,i=-1,u=!0,a=t.length-1;a>=1;--a)if(n=t.charCodeAt(a),n===47){if(!u){i=a;break}}else u=!1;return i===-1?r?"/":".":r&&i===1?"//":t.slice(0,i)},"dirname"),basename:s(function(t,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');dt(t);var r=0,i=-1,u=!0,a;if(n!==void 0&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var o=n.length-1,l=-1;for(a=t.length-1;a>=0;--a){var c=t.charCodeAt(a);if(c===47){if(!u){r=a+1;break}}else l===-1&&(u=!1,l=a+1),o>=0&&(c===n.charCodeAt(o)?--o===-1&&(i=a):(o=-1,i=l))}return r===i?i=l:i===-1&&(i=t.length),t.slice(r,i)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!u){r=a+1;break}}else i===-1&&(u=!1,i=a+1);return i===-1?"":t.slice(r,i)}},"basename"),extname:s(function(t){dt(t);for(var n=-1,r=0,i=-1,u=!0,a=0,o=t.length-1;o>=0;--o){var l=t.charCodeAt(o);if(l===47){if(!u){r=o+1;break}continue}i===-1&&(u=!1,i=o+1),l===46?n===-1?n=o:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||i===-1||a===0||a===1&&n===i-1&&n===r+1?"":t.slice(n,i)},"extname"),format:s(function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return nS("/",t)},"format"),parse:s(function(t){dt(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return n;var r=t.charCodeAt(0),i=r===47,u;i?(n.root="/",u=1):u=0;for(var a=-1,o=0,l=-1,c=!0,f=t.length-1,h=0;f>=u;--f){if(r=t.charCodeAt(f),r===47){if(!c){o=f+1;break}continue}l===-1&&(c=!1,l=f+1),r===46?a===-1?a=f:h!==1&&(h=1):a!==-1&&(h=-1)}return a===-1||l===-1||h===0||h===1&&a===l-1&&a===o+1?l!==-1&&(o===0&&i?n.base=n.name=t.slice(1,l):n.base=n.name=t.slice(o,l)):(o===0&&i?(n.name=t.slice(1,a),n.base=t.slice(1,l)):(n.name=t.slice(o,a),n.base=t.slice(o,l)),n.ext=t.slice(a,l)),o>0?n.dir=t.slice(0,o-1):i&&(n.dir="/"),n},"parse"),sep:"/",delimiter:":",win32:null,posix:null};ne.posix=ne;const Yu=typeof window>"u"?typeof process>"u"?"other":"node":"browser";Yu==="browser"?/windows/i.test(navigator.userAgent)||/mac/i.test(navigator.userAgent)||/linux/i.test(navigator.userAgent)||/ubuntu/i.test(navigator.userAgent):Yu==="node"&&(process.platform==="win32"||process.platform==="darwin"||process.platform);const He={allFilePaths:[],ankiConnectOptions:wt,ankiWeb:!1,basePath:void 0,checkDatabase:!0,cwd:ne.process_cwd,dryRun:!1,fetchAdapter:void 0,fileAdapter:void 0,manageFilenames:"off",maxFilenameLength:60,namespace:"Yanki",obsidianVault:void 0,resolveUrls:!0,strictLineBreaks:!0,strictMatching:!1,syncMediaAssets:"local"};async function Bn(){if(Yu==="node"){const e=await import("node:fs/promises");if(e===void 0)throw new Error("Error loading file functions in Node environment");return{async readFile(t){return e.readFile(t,"utf8")},async readFileBuffer(t){return e.readFile(t)},async rename(t,n){await e.rename(t,n)},async stat(t){return e.stat(t)},async writeFile(t,n){await e.writeFile(t,n,"utf8")}}}throw new Error('The "readFile", "readFileBuffer", "rename" , "stat", and "writeFile" function implementations must be provided to the function when running in the browser')}s(Bn,"getDefaultFileAdapter");function br(){return fetch.bind(globalThis)}s(br,"getDefaultFetchAdapter");function Mi(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}s(Mi,"escapeStringRegexp");const rS=[["\xDF","ss"],["\u1E9E","Ss"],["\xE4","ae"],["\xC4","Ae"],["\xF6","oe"],["\xD6","Oe"],["\xFC","ue"],["\xDC","Ue"],["\xC0","A"],["\xC1","A"],["\xC2","A"],["\xC3","A"],["\xC4","Ae"],["\xC5","A"],["\xC6","AE"],["\xC7","C"],["\xC8","E"],["\xC9","E"],["\xCA","E"],["\xCB","E"],["\u018F","A"],["\xCC","I"],["\xCD","I"],["\xCE","I"],["\xCF","I"],["\xD0","D"],["\xD1","N"],["\xD2","O"],["\xD3","O"],["\xD4","O"],["\xD5","O"],["\xD6","Oe"],["\u014C","O"],["\u0150","O"],["\xD8","O"],["\u0152","OE"],["\xD9","U"],["\xDA","U"],["\xDB","U"],["\xDC","Ue"],["\u0170","U"],["\xDD","Y"],["\xDE","TH"],["\xDF","ss"],["\xE0","a"],["\xE1","a"],["\xE2","a"],["\xE3","a"],["\xE4","ae"],["\xE5","a"],["\xE6","ae"],["\xE7","c"],["\xE8","e"],["\xE9","e"],["\xEA","e"],["\xEB","e"],["\u0259","a"],["\xEC","i"],["\xED","i"],["\xEE","i"],["\xEF","i"],["\xF0","d"],["\xF1","n"],["\xF2","o"],["\xF3","o"],["\xF4","o"],["\xF5","o"],["\xF6","oe"],["\u014D","o"],["\u0151","o"],["\xF8","o"],["\u0153","oe"],["\xF9","u"],["\xFA","u"],["\xFB","u"],["\xFC","ue"],["\u0171","u"],["\xFD","y"],["\xFE","th"],["\xFF","y"],["\xE0","a"],["\xC0","A"],["\xE1","a"],["\xC1","A"],["\xE2","a"],["\xC2","A"],["\xE3","a"],["\xC3","A"],["\xE8","e"],["\xC8","E"],["\xE9","e"],["\xC9","E"],["\xEA","e"],["\xCA","E"],["\xEC","i"],["\xCC","I"],["\xED","i"],["\xCD","I"],["\xF2","o"],["\xD2","O"],["\xF3","o"],["\xD3","O"],["\xF4","o"],["\xD4","O"],["\xF5","o"],["\xD5","O"],["\xF9","u"],["\xD9","U"],["\xFA","u"],["\xDA","U"],["\xFD","y"],["\xDD","Y"],["\u0103","a"],["\u0102","A"],["\u0110","D"],["\u0111","d"],["\u0129","i"],["\u0128","I"],["\u0169","u"],["\u0168","U"],["\u01A1","o"],["\u01A0","O"],["\u01B0","u"],["\u01AF","U"],["\u1EA1","a"],["\u1EA0","A"],["\u1EA3","a"],["\u1EA2","A"],["\u1EA5","a"],["\u1EA4","A"],["\u1EA7","a"],["\u1EA6","A"],["\u1EA9","a"],["\u1EA8","A"],["\u1EAB","a"],["\u1EAA","A"],["\u1EAD","a"],["\u1EAC","A"],["\u1EAF","a"],["\u1EAE","A"],["\u1EB1","a"],["\u1EB0","A"],["\u1EB3","a"],["\u1EB2","A"],["\u1EB5","a"],["\u1EB4","A"],["\u1EB7","a"],["\u1EB6","A"],["\u1EB9","e"],["\u1EB8","E"],["\u1EBB","e"],["\u1EBA","E"],["\u1EBD","e"],["\u1EBC","E"],["\u1EBF","e"],["\u1EBE","E"],["\u1EC1","e"],["\u1EC0","E"],["\u1EC3","e"],["\u1EC2","E"],["\u1EC5","e"],["\u1EC4","E"],["\u1EC7","e"],["\u1EC6","E"],["\u1EC9","i"],["\u1EC8","I"],["\u1ECB","i"],["\u1ECA","I"],["\u1ECD","o"],["\u1ECC","O"],["\u1ECF","o"],["\u1ECE","O"],["\u1ED1","o"],["\u1ED0","O"],["\u1ED3","o"],["\u1ED2","O"],["\u1ED5","o"],["\u1ED4","O"],["\u1ED7","o"],["\u1ED6","O"],["\u1ED9","o"],["\u1ED8","O"],["\u1EDB","o"],["\u1EDA","O"],["\u1EDD","o"],["\u1EDC","O"],["\u1EDF","o"],["\u1EDE","O"],["\u1EE1","o"],["\u1EE0","O"],["\u1EE3","o"],["\u1EE2","O"],["\u1EE5","u"],["\u1EE4","U"],["\u1EE7","u"],["\u1EE6","U"],["\u1EE9","u"],["\u1EE8","U"],["\u1EEB","u"],["\u1EEA","U"],["\u1EED","u"],["\u1EEC","U"],["\u1EEF","u"],["\u1EEE","U"],["\u1EF1","u"],["\u1EF0","U"],["\u1EF3","y"],["\u1EF2","Y"],["\u1EF5","y"],["\u1EF4","Y"],["\u1EF7","y"],["\u1EF6","Y"],["\u1EF9","y"],["\u1EF8","Y"],["\u0621","e"],["\u0622","a"],["\u0623","a"],["\u0624","w"],["\u0625","a"],["\u0626","y"],["\u0627","a"],["\u0628","b"],["\u0629","t"],["\u062A","t"],["\u062B","th"],["\u062C","j"],["\u062D","h"],["\u062E","kh"],["\u062F","d"],["\u0630","dh"],["\u0631","r"],["\u0632","z"],["\u0633","s"],["\u0634","sh"],["\u0635","s"],["\u0636","d"],["\u0637","t"],["\u0638","z"],["\u0639","e"],["\u063A","gh"],["\u0640","_"],["\u0641","f"],["\u0642","q"],["\u0643","k"],["\u0644","l"],["\u0645","m"],["\u0646","n"],["\u0647","h"],["\u0648","w"],["\u0649","a"],["\u064A","y"],["\u064E\u200E","a"],["\u064F","u"],["\u0650\u200E","i"],["\u0660","0"],["\u0661","1"],["\u0662","2"],["\u0663","3"],["\u0664","4"],["\u0665","5"],["\u0666","6"],["\u0667","7"],["\u0668","8"],["\u0669","9"],["\u0686","ch"],["\u06A9","k"],["\u06AF","g"],["\u067E","p"],["\u0698","zh"],["\u06CC","y"],["\u06F0","0"],["\u06F1","1"],["\u06F2","2"],["\u06F3","3"],["\u06F4","4"],["\u06F5","5"],["\u06F6","6"],["\u06F7","7"],["\u06F8","8"],["\u06F9","9"],["\u067C","p"],["\u0681","z"],["\u0685","c"],["\u0689","d"],["\uFEAB","d"],["\uFEAD","r"],["\u0693","r"],["\uFEAF","z"],["\u0696","g"],["\u069A","x"],["\u06AB","g"],["\u06BC","n"],["\u06C0","e"],["\u06D0","e"],["\u06CD","ai"],["\u0679","t"],["\u0688","d"],["\u0691","r"],["\u06BA","n"],["\u06C1","h"],["\u06BE","h"],["\u06D2","e"],["\u0410","A"],["\u0430","a"],["\u0411","B"],["\u0431","b"],["\u0412","V"],["\u0432","v"],["\u0413","G"],["\u0433","g"],["\u0414","D"],["\u0434","d"],["\u044A\u0435","ye"],["\u042A\u0435","Ye"],["\u044A\u0415","yE"],["\u042A\u0415","YE"],["\u0415","E"],["\u0435","e"],["\u0401","Yo"],["\u0451","yo"],["\u0416","Zh"],["\u0436","zh"],["\u0417","Z"],["\u0437","z"],["\u0418","I"],["\u0438","i"],["\u044B\u0439","iy"],["\u042B\u0439","Iy"],["\u042B\u0419","IY"],["\u044B\u0419","iY"],["\u0419","Y"],["\u0439","y"],["\u041A","K"],["\u043A","k"],["\u041B","L"],["\u043B","l"],["\u041C","M"],["\u043C","m"],["\u041D","N"],["\u043D","n"],["\u041E","O"],["\u043E","o"],["\u041F","P"],["\u043F","p"],["\u0420","R"],["\u0440","r"],["\u0421","S"],["\u0441","s"],["\u0422","T"],["\u0442","t"],["\u0423","U"],["\u0443","u"],["\u0424","F"],["\u0444","f"],["\u0425","Kh"],["\u0445","kh"],["\u0426","Ts"],["\u0446","ts"],["\u0427","Ch"],["\u0447","ch"],["\u0428","Sh"],["\u0448","sh"],["\u0429","Sch"],["\u0449","sch"],["\u042A",""],["\u044A",""],["\u042B","Y"],["\u044B","y"],["\u042C",""],["\u044C",""],["\u042D","E"],["\u044D","e"],["\u042E","Yu"],["\u044E","yu"],["\u042F","Ya"],["\u044F","ya"],["\u0103","a"],["\u0102","A"],["\u0219","s"],["\u0218","S"],["\u021B","t"],["\u021A","T"],["\u0163","t"],["\u0162","T"],["\u015F","s"],["\u015E","S"],["\xE7","c"],["\xC7","C"],["\u011F","g"],["\u011E","G"],["\u0131","i"],["\u0130","I"],["\u0561","a"],["\u0531","A"],["\u0562","b"],["\u0532","B"],["\u0563","g"],["\u0533","G"],["\u0564","d"],["\u0534","D"],["\u0565","ye"],["\u0535","Ye"],["\u0566","z"],["\u0536","Z"],["\u0567","e"],["\u0537","E"],["\u0568","y"],["\u0538","Y"],["\u0569","t"],["\u0539","T"],["\u056A","zh"],["\u053A","Zh"],["\u056B","i"],["\u053B","I"],["\u056C","l"],["\u053C","L"],["\u056D","kh"],["\u053D","Kh"],["\u056E","ts"],["\u053E","Ts"],["\u056F","k"],["\u053F","K"],["\u0570","h"],["\u0540","H"],["\u0571","dz"],["\u0541","Dz"],["\u0572","gh"],["\u0542","Gh"],["\u0573","tch"],["\u0543","Tch"],["\u0574","m"],["\u0544","M"],["\u0575","y"],["\u0545","Y"],["\u0576","n"],["\u0546","N"],["\u0577","sh"],["\u0547","Sh"],["\u0578\u0582","u"],["\u0548\u0552","U"],["\u0548\u0582","U"],["\u0578","vo"],["\u0548","Vo"],["\u0579","ch"],["\u0549","Ch"],["\u057A","p"],["\u054A","P"],["\u057B","j"],["\u054B","J"],["\u057C","r"],["\u054C","R"],["\u057D","s"],["\u054D","S"],["\u057E","v"],["\u054E","V"],["\u057F","t"],["\u054F","T"],["\u0580","r"],["\u0550","R"],["\u0581","c"],["\u0551","C"],["\u0583","p"],["\u0553","P"],["\u0584","q"],["\u0554","Q"],["\u0585","o"],["\u0555","O"],["\u0586","f"],["\u0556","F"],["\u0587","yev"],["\u10D0","a"],["\u10D1","b"],["\u10D2","g"],["\u10D3","d"],["\u10D4","e"],["\u10D5","v"],["\u10D6","z"],["\u10D7","t"],["\u10D8","i"],["\u10D9","k"],["\u10DA","l"],["\u10DB","m"],["\u10DC","n"],["\u10DD","o"],["\u10DE","p"],["\u10DF","zh"],["\u10E0","r"],["\u10E1","s"],["\u10E2","t"],["\u10E3","u"],["\u10E4","ph"],["\u10E5","q"],["\u10E6","gh"],["\u10E7","k"],["\u10E8","sh"],["\u10E9","ch"],["\u10EA","ts"],["\u10EB","dz"],["\u10EC","ts"],["\u10ED","tch"],["\u10EE","kh"],["\u10EF","j"],["\u10F0","h"],["\u010D","c"],["\u010F","d"],["\u011B","e"],["\u0148","n"],["\u0159","r"],["\u0161","s"],["\u0165","t"],["\u016F","u"],["\u017E","z"],["\u010C","C"],["\u010E","D"],["\u011A","E"],["\u0147","N"],["\u0158","R"],["\u0160","S"],["\u0164","T"],["\u016E","U"],["\u017D","Z"],["\u0780","h"],["\u0781","sh"],["\u0782","n"],["\u0783","r"],["\u0784","b"],["\u0785","lh"],["\u0786","k"],["\u0787","a"],["\u0788","v"],["\u0789","m"],["\u078A","f"],["\u078B","dh"],["\u078C","th"],["\u078D","l"],["\u078E","g"],["\u078F","gn"],["\u0790","s"],["\u0791","d"],["\u0792","z"],["\u0793","t"],["\u0794","y"],["\u0795","p"],["\u0796","j"],["\u0797","ch"],["\u0798","tt"],["\u0799","hh"],["\u079A","kh"],["\u079B","th"],["\u079C","z"],["\u079D","sh"],["\u079E","s"],["\u079F","d"],["\u07A0","t"],["\u07A1","z"],["\u07A2","a"],["\u07A3","gh"],["\u07A4","q"],["\u07A5","w"],["\u07A6","a"],["\u07A7","aa"],["\u07A8","i"],["\u07A9","ee"],["\u07AA","u"],["\u07AB","oo"],["\u07AC","e"],["\u07AD","ey"],["\u07AE","o"],["\u07AF","oa"],["\u07B0",""],["\u03B1","a"],["\u03B2","v"],["\u03B3","g"],["\u03B4","d"],["\u03B5","e"],["\u03B6","z"],["\u03B7","i"],["\u03B8","th"],["\u03B9","i"],["\u03BA","k"],["\u03BB","l"],["\u03BC","m"],["\u03BD","n"],["\u03BE","ks"],["\u03BF","o"],["\u03C0","p"],["\u03C1","r"],["\u03C3","s"],["\u03C4","t"],["\u03C5","y"],["\u03C6","f"],["\u03C7","x"],["\u03C8","ps"],["\u03C9","o"],["\u03AC","a"],["\u03AD","e"],["\u03AF","i"],["\u03CC","o"],["\u03CD","y"],["\u03AE","i"],["\u03CE","o"],["\u03C2","s"],["\u03CA","i"],["\u03B0","y"],["\u03CB","y"],["\u0390","i"],["\u0391","A"],["\u0392","B"],["\u0393","G"],["\u0394","D"],["\u0395","E"],["\u0396","Z"],["\u0397","I"],["\u0398","TH"],["\u0399","I"],["\u039A","K"],["\u039B","L"],["\u039C","M"],["\u039D","N"],["\u039E","KS"],["\u039F","O"],["\u03A0","P"],["\u03A1","R"],["\u03A3","S"],["\u03A4","T"],["\u03A5","Y"],["\u03A6","F"],["\u03A7","X"],["\u03A8","PS"],["\u03A9","O"],["\u0386","A"],["\u0388","E"],["\u038A","I"],["\u038C","O"],["\u038E","Y"],["\u0389","I"],["\u038F","O"],["\u03AA","I"],["\u03AB","Y"],["\u0101","a"],["\u0113","e"],["\u0123","g"],["\u012B","i"],["\u0137","k"],["\u013C","l"],["\u0146","n"],["\u016B","u"],["\u0100","A"],["\u0112","E"],["\u0122","G"],["\u012A","I"],["\u0136","K"],["\u013B","L"],["\u0145","N"],["\u016A","U"],["\u010D","c"],["\u0161","s"],["\u017E","z"],["\u010C","C"],["\u0160","S"],["\u017D","Z"],["\u0105","a"],["\u010D","c"],["\u0119","e"],["\u0117","e"],["\u012F","i"],["\u0161","s"],["\u0173","u"],["\u016B","u"],["\u017E","z"],["\u0104","A"],["\u010C","C"],["\u0118","E"],["\u0116","E"],["\u012E","I"],["\u0160","S"],["\u0172","U"],["\u016A","U"],["\u040C","Kj"],["\u045C","kj"],["\u0409","Lj"],["\u0459","lj"],["\u040A","Nj"],["\u045A","nj"],["\u0422\u0441","Ts"],["\u0442\u0441","ts"],["\u0105","a"],["\u0107","c"],["\u0119","e"],["\u0142","l"],["\u0144","n"],["\u015B","s"],["\u017A","z"],["\u017C","z"],["\u0104","A"],["\u0106","C"],["\u0118","E"],["\u0141","L"],["\u0143","N"],["\u015A","S"],["\u0179","Z"],["\u017B","Z"],["\u0404","Ye"],["\u0406","I"],["\u0407","Yi"],["\u0490","G"],["\u0454","ye"],["\u0456","i"],["\u0457","yi"],["\u0491","g"],["\u0132","IJ"],["\u0133","ij"],["\xA2","c"],["\xA5","Y"],["\u07FF","b"],["\u09F3","t"],["\u0AF1","Bo"],["\u0E3F","B"],["\u20A0","CE"],["\u20A1","C"],["\u20A2","Cr"],["\u20A3","F"],["\u20A5","m"],["\u20A6","N"],["\u20A7","Pt"],["\u20A8","Rs"],["\u20A9","W"],["\u20AB","s"],["\u20AC","E"],["\u20AD","K"],["\u20AE","T"],["\u20AF","Dp"],["\u20B0","S"],["\u20B1","P"],["\u20B2","G"],["\u20B3","A"],["\u20B4","S"],["\u20B5","C"],["\u20B6","tt"],["\u20B7","S"],["\u20B8","T"],["\u20B9","R"],["\u20BA","L"],["\u20BD","P"],["\u20BF","B"],["\uFE69","$"],["\uFFE0","c"],["\uFFE5","Y"],["\uFFE6","W"],["\u{1D400}","A"],["\u{1D401}","B"],["\u{1D402}","C"],["\u{1D403}","D"],["\u{1D404}","E"],["\u{1D405}","F"],["\u{1D406}","G"],["\u{1D407}","H"],["\u{1D408}","I"],["\u{1D409}","J"],["\u{1D40A}","K"],["\u{1D40B}","L"],["\u{1D40C}","M"],["\u{1D40D}","N"],["\u{1D40E}","O"],["\u{1D40F}","P"],["\u{1D410}","Q"],["\u{1D411}","R"],["\u{1D412}","S"],["\u{1D413}","T"],["\u{1D414}","U"],["\u{1D415}","V"],["\u{1D416}","W"],["\u{1D417}","X"],["\u{1D418}","Y"],["\u{1D419}","Z"],["\u{1D41A}","a"],["\u{1D41B}","b"],["\u{1D41C}","c"],["\u{1D41D}","d"],["\u{1D41E}","e"],["\u{1D41F}","f"],["\u{1D420}","g"],["\u{1D421}","h"],["\u{1D422}","i"],["\u{1D423}","j"],["\u{1D424}","k"],["\u{1D425}","l"],["\u{1D426}","m"],["\u{1D427}","n"],["\u{1D428}","o"],["\u{1D429}","p"],["\u{1D42A}","q"],["\u{1D42B}","r"],["\u{1D42C}","s"],["\u{1D42D}","t"],["\u{1D42E}","u"],["\u{1D42F}","v"],["\u{1D430}","w"],["\u{1D431}","x"],["\u{1D432}","y"],["\u{1D433}","z"],["\u{1D434}","A"],["\u{1D435}","B"],["\u{1D436}","C"],["\u{1D437}","D"],["\u{1D438}","E"],["\u{1D439}","F"],["\u{1D43A}","G"],["\u{1D43B}","H"],["\u{1D43C}","I"],["\u{1D43D}","J"],["\u{1D43E}","K"],["\u{1D43F}","L"],["\u{1D440}","M"],["\u{1D441}","N"],["\u{1D442}","O"],["\u{1D443}","P"],["\u{1D444}","Q"],["\u{1D445}","R"],["\u{1D446}","S"],["\u{1D447}","T"],["\u{1D448}","U"],["\u{1D449}","V"],["\u{1D44A}","W"],["\u{1D44B}","X"],["\u{1D44C}","Y"],["\u{1D44D}","Z"],["\u{1D44E}","a"],["\u{1D44F}","b"],["\u{1D450}","c"],["\u{1D451}","d"],["\u{1D452}","e"],["\u{1D453}","f"],["\u{1D454}","g"],["\u{1D456}","i"],["\u{1D457}","j"],["\u{1D458}","k"],["\u{1D459}","l"],["\u{1D45A}","m"],["\u{1D45B}","n"],["\u{1D45C}","o"],["\u{1D45D}","p"],["\u{1D45E}","q"],["\u{1D45F}","r"],["\u{1D460}","s"],["\u{1D461}","t"],["\u{1D462}","u"],["\u{1D463}","v"],["\u{1D464}","w"],["\u{1D465}","x"],["\u{1D466}","y"],["\u{1D467}","z"],["\u{1D468}","A"],["\u{1D469}","B"],["\u{1D46A}","C"],["\u{1D46B}","D"],["\u{1D46C}","E"],["\u{1D46D}","F"],["\u{1D46E}","G"],["\u{1D46F}","H"],["\u{1D470}","I"],["\u{1D471}","J"],["\u{1D472}","K"],["\u{1D473}","L"],["\u{1D474}","M"],["\u{1D475}","N"],["\u{1D476}","O"],["\u{1D477}","P"],["\u{1D478}","Q"],["\u{1D479}","R"],["\u{1D47A}","S"],["\u{1D47B}","T"],["\u{1D47C}","U"],["\u{1D47D}","V"],["\u{1D47E}","W"],["\u{1D47F}","X"],["\u{1D480}","Y"],["\u{1D481}","Z"],["\u{1D482}","a"],["\u{1D483}","b"],["\u{1D484}","c"],["\u{1D485}","d"],["\u{1D486}","e"],["\u{1D487}","f"],["\u{1D488}","g"],["\u{1D489}","h"],["\u{1D48A}","i"],["\u{1D48B}","j"],["\u{1D48C}","k"],["\u{1D48D}","l"],["\u{1D48E}","m"],["\u{1D48F}","n"],["\u{1D490}","o"],["\u{1D491}","p"],["\u{1D492}","q"],["\u{1D493}","r"],["\u{1D494}","s"],["\u{1D495}","t"],["\u{1D496}","u"],["\u{1D497}","v"],["\u{1D498}","w"],["\u{1D499}","x"],["\u{1D49A}","y"],["\u{1D49B}","z"],["\u{1D49C}","A"],["\u{1D49E}","C"],["\u{1D49F}","D"],["\u{1D4A2}","g"],["\u{1D4A5}","J"],["\u{1D4A6}","K"],["\u{1D4A9}","N"],["\u{1D4AA}","O"],["\u{1D4AB}","P"],["\u{1D4AC}","Q"],["\u{1D4AE}","S"],["\u{1D4AF}","T"],["\u{1D4B0}","U"],["\u{1D4B1}","V"],["\u{1D4B2}","W"],["\u{1D4B3}","X"],["\u{1D4B4}","Y"],["\u{1D4B5}","Z"],["\u{1D4B6}","a"],["\u{1D4B7}","b"],["\u{1D4B8}","c"],["\u{1D4B9}","d"],["\u{1D4BB}","f"],["\u{1D4BD}","h"],["\u{1D4BE}","i"],["\u{1D4BF}","j"],["\u{1D4C0}","k"],["\u{1D4C1}","l"],["\u{1D4C2}","m"],["\u{1D4C3}","n"],["\u{1D4C5}","p"],["\u{1D4C6}","q"],["\u{1D4C7}","r"],["\u{1D4C8}","s"],["\u{1D4C9}","t"],["\u{1D4CA}","u"],["\u{1D4CB}","v"],["\u{1D4CC}","w"],["\u{1D4CD}","x"],["\u{1D4CE}","y"],["\u{1D4CF}","z"],["\u{1D4D0}","A"],["\u{1D4D1}","B"],["\u{1D4D2}","C"],["\u{1D4D3}","D"],["\u{1D4D4}","E"],["\u{1D4D5}","F"],["\u{1D4D6}","G"],["\u{1D4D7}","H"],["\u{1D4D8}","I"],["\u{1D4D9}","J"],["\u{1D4DA}","K"],["\u{1D4DB}","L"],["\u{1D4DC}","M"],["\u{1D4DD}","N"],["\u{1D4DE}","O"],["\u{1D4DF}","P"],["\u{1D4E0}","Q"],["\u{1D4E1}","R"],["\u{1D4E2}","S"],["\u{1D4E3}","T"],["\u{1D4E4}","U"],["\u{1D4E5}","V"],["\u{1D4E6}","W"],["\u{1D4E7}","X"],["\u{1D4E8}","Y"],["\u{1D4E9}","Z"],["\u{1D4EA}","a"],["\u{1D4EB}","b"],["\u{1D4EC}","c"],["\u{1D4ED}","d"],["\u{1D4EE}","e"],["\u{1D4EF}","f"],["\u{1D4F0}","g"],["\u{1D4F1}","h"],["\u{1D4F2}","i"],["\u{1D4F3}","j"],["\u{1D4F4}","k"],["\u{1D4F5}","l"],["\u{1D4F6}","m"],["\u{1D4F7}","n"],["\u{1D4F8}","o"],["\u{1D4F9}","p"],["\u{1D4FA}","q"],["\u{1D4FB}","r"],["\u{1D4FC}","s"],["\u{1D4FD}","t"],["\u{1D4FE}","u"],["\u{1D4FF}","v"],["\u{1D500}","w"],["\u{1D501}","x"],["\u{1D502}","y"],["\u{1D503}","z"],["\u{1D504}","A"],["\u{1D505}","B"],["\u{1D507}","D"],["\u{1D508}","E"],["\u{1D509}","F"],["\u{1D50A}","G"],["\u{1D50D}","J"],["\u{1D50E}","K"],["\u{1D50F}","L"],["\u{1D510}","M"],["\u{1D511}","N"],["\u{1D512}","O"],["\u{1D513}","P"],["\u{1D514}","Q"],["\u{1D516}","S"],["\u{1D517}","T"],["\u{1D518}","U"],["\u{1D519}","V"],["\u{1D51A}","W"],["\u{1D51B}","X"],["\u{1D51C}","Y"],["\u{1D51E}","a"],["\u{1D51F}","b"],["\u{1D520}","c"],["\u{1D521}","d"],["\u{1D522}","e"],["\u{1D523}","f"],["\u{1D524}","g"],["\u{1D525}","h"],["\u{1D526}","i"],["\u{1D527}","j"],["\u{1D528}","k"],["\u{1D529}","l"],["\u{1D52A}","m"],["\u{1D52B}","n"],["\u{1D52C}","o"],["\u{1D52D}","p"],["\u{1D52E}","q"],["\u{1D52F}","r"],["\u{1D530}","s"],["\u{1D531}","t"],["\u{1D532}","u"],["\u{1D533}","v"],["\u{1D534}","w"],["\u{1D535}","x"],["\u{1D536}","y"],["\u{1D537}","z"],["\u{1D538}","A"],["\u{1D539}","B"],["\u{1D53B}","D"],["\u{1D53C}","E"],["\u{1D53D}","F"],["\u{1D53E}","G"],["\u{1D540}","I"],["\u{1D541}","J"],["\u{1D542}","K"],["\u{1D543}","L"],["\u{1D544}","M"],["\u{1D546}","O"],["\u{1D54A}","S"],["\u{1D54B}","T"],["\u{1D54C}","U"],["\u{1D54D}","V"],["\u{1D54E}","W"],["\u{1D54F}","X"],["\u{1D550}","Y"],["\u{1D552}","a"],["\u{1D553}","b"],["\u{1D554}","c"],["\u{1D555}","d"],["\u{1D556}","e"],["\u{1D557}","f"],["\u{1D558}","g"],["\u{1D559}","h"],["\u{1D55A}","i"],["\u{1D55B}","j"],["\u{1D55C}","k"],["\u{1D55D}","l"],["\u{1D55E}","m"],["\u{1D55F}","n"],["\u{1D560}","o"],["\u{1D561}","p"],["\u{1D562}","q"],["\u{1D563}","r"],["\u{1D564}","s"],["\u{1D565}","t"],["\u{1D566}","u"],["\u{1D567}","v"],["\u{1D568}","w"],["\u{1D569}","x"],["\u{1D56A}","y"],["\u{1D56B}","z"],["\u{1D56C}","A"],["\u{1D56D}","B"],["\u{1D56E}","C"],["\u{1D56F}","D"],["\u{1D570}","E"],["\u{1D571}","F"],["\u{1D572}","G"],["\u{1D573}","H"],["\u{1D574}","I"],["\u{1D575}","J"],["\u{1D576}","K"],["\u{1D577}","L"],["\u{1D578}","M"],["\u{1D579}","N"],["\u{1D57A}","O"],["\u{1D57B}","P"],["\u{1D57C}","Q"],["\u{1D57D}","R"],["\u{1D57E}","S"],["\u{1D57F}","T"],["\u{1D580}","U"],["\u{1D581}","V"],["\u{1D582}","W"],["\u{1D583}","X"],["\u{1D584}","Y"],["\u{1D585}","Z"],["\u{1D586}","a"],["\u{1D587}","b"],["\u{1D588}","c"],["\u{1D589}","d"],["\u{1D58A}","e"],["\u{1D58B}","f"],["\u{1D58C}","g"],["\u{1D58D}","h"],["\u{1D58E}","i"],["\u{1D58F}","j"],["\u{1D590}","k"],["\u{1D591}","l"],["\u{1D592}","m"],["\u{1D593}","n"],["\u{1D594}","o"],["\u{1D595}","p"],["\u{1D596}","q"],["\u{1D597}","r"],["\u{1D598}","s"],["\u{1D599}","t"],["\u{1D59A}","u"],["\u{1D59B}","v"],["\u{1D59C}","w"],["\u{1D59D}","x"],["\u{1D59E}","y"],["\u{1D59F}","z"],["\u{1D5A0}","A"],["\u{1D5A1}","B"],["\u{1D5A2}","C"],["\u{1D5A3}","D"],["\u{1D5A4}","E"],["\u{1D5A5}","F"],["\u{1D5A6}","G"],["\u{1D5A7}","H"],["\u{1D5A8}","I"],["\u{1D5A9}","J"],["\u{1D5AA}","K"],["\u{1D5AB}","L"],["\u{1D5AC}","M"],["\u{1D5AD}","N"],["\u{1D5AE}","O"],["\u{1D5AF}","P"],["\u{1D5B0}","Q"],["\u{1D5B1}","R"],["\u{1D5B2}","S"],["\u{1D5B3}","T"],["\u{1D5B4}","U"],["\u{1D5B5}","V"],["\u{1D5B6}","W"],["\u{1D5B7}","X"],["\u{1D5B8}","Y"],["\u{1D5B9}","Z"],["\u{1D5BA}","a"],["\u{1D5BB}","b"],["\u{1D5BC}","c"],["\u{1D5BD}","d"],["\u{1D5BE}","e"],["\u{1D5BF}","f"],["\u{1D5C0}","g"],["\u{1D5C1}","h"],["\u{1D5C2}","i"],["\u{1D5C3}","j"],["\u{1D5C4}","k"],["\u{1D5C5}","l"],["\u{1D5C6}","m"],["\u{1D5C7}","n"],["\u{1D5C8}","o"],["\u{1D5C9}","p"],["\u{1D5CA}","q"],["\u{1D5CB}","r"],["\u{1D5CC}","s"],["\u{1D5CD}","t"],["\u{1D5CE}","u"],["\u{1D5CF}","v"],["\u{1D5D0}","w"],["\u{1D5D1}","x"],["\u{1D5D2}","y"],["\u{1D5D3}","z"],["\u{1D5D4}","A"],["\u{1D5D5}","B"],["\u{1D5D6}","C"],["\u{1D5D7}","D"],["\u{1D5D8}","E"],["\u{1D5D9}","F"],["\u{1D5DA}","G"],["\u{1D5DB}","H"],["\u{1D5DC}","I"],["\u{1D5DD}","J"],["\u{1D5DE}","K"],["\u{1D5DF}","L"],["\u{1D5E0}","M"],["\u{1D5E1}","N"],["\u{1D5E2}","O"],["\u{1D5E3}","P"],["\u{1D5E4}","Q"],["\u{1D5E5}","R"],["\u{1D5E6}","S"],["\u{1D5E7}","T"],["\u{1D5E8}","U"],["\u{1D5E9}","V"],["\u{1D5EA}","W"],["\u{1D5EB}","X"],["\u{1D5EC}","Y"],["\u{1D5ED}","Z"],["\u{1D5EE}","a"],["\u{1D5EF}","b"],["\u{1D5F0}","c"],["\u{1D5F1}","d"],["\u{1D5F2}","e"],["\u{1D5F3}","f"],["\u{1D5F4}","g"],["\u{1D5F5}","h"],["\u{1D5F6}","i"],["\u{1D5F7}","j"],["\u{1D5F8}","k"],["\u{1D5F9}","l"],["\u{1D5FA}","m"],["\u{1D5FB}","n"],["\u{1D5FC}","o"],["\u{1D5FD}","p"],["\u{1D5FE}","q"],["\u{1D5FF}","r"],["\u{1D600}","s"],["\u{1D601}","t"],["\u{1D602}","u"],["\u{1D603}","v"],["\u{1D604}","w"],["\u{1D605}","x"],["\u{1D606}","y"],["\u{1D607}","z"],["\u{1D608}","A"],["\u{1D609}","B"],["\u{1D60A}","C"],["\u{1D60B}","D"],["\u{1D60C}","E"],["\u{1D60D}","F"],["\u{1D60E}","G"],["\u{1D60F}","H"],["\u{1D610}","I"],["\u{1D611}","J"],["\u{1D612}","K"],["\u{1D613}","L"],["\u{1D614}","M"],["\u{1D615}","N"],["\u{1D616}","O"],["\u{1D617}","P"],["\u{1D618}","Q"],["\u{1D619}","R"],["\u{1D61A}","S"],["\u{1D61B}","T"],["\u{1D61C}","U"],["\u{1D61D}","V"],["\u{1D61E}","W"],["\u{1D61F}","X"],["\u{1D620}","Y"],["\u{1D621}","Z"],["\u{1D622}","a"],["\u{1D623}","b"],["\u{1D624}","c"],["\u{1D625}","d"],["\u{1D626}","e"],["\u{1D627}","f"],["\u{1D628}","g"],["\u{1D629}","h"],["\u{1D62A}","i"],["\u{1D62B}","j"],["\u{1D62C}","k"],["\u{1D62D}","l"],["\u{1D62E}","m"],["\u{1D62F}","n"],["\u{1D630}","o"],["\u{1D631}","p"],["\u{1D632}","q"],["\u{1D633}","r"],["\u{1D634}","s"],["\u{1D635}","t"],["\u{1D636}","u"],["\u{1D637}","v"],["\u{1D638}","w"],["\u{1D639}","x"],["\u{1D63A}","y"],["\u{1D63B}","z"],["\u{1D63C}","A"],["\u{1D63D}","B"],["\u{1D63E}","C"],["\u{1D63F}","D"],["\u{1D640}","E"],["\u{1D641}","F"],["\u{1D642}","G"],["\u{1D643}","H"],["\u{1D644}","I"],["\u{1D645}","J"],["\u{1D646}","K"],["\u{1D647}","L"],["\u{1D648}","M"],["\u{1D649}","N"],["\u{1D64A}","O"],["\u{1D64B}","P"],["\u{1D64C}","Q"],["\u{1D64D}","R"],["\u{1D64E}","S"],["\u{1D64F}","T"],["\u{1D650}","U"],["\u{1D651}","V"],["\u{1D652}","W"],["\u{1D653}","X"],["\u{1D654}","Y"],["\u{1D655}","Z"],["\u{1D656}","a"],["\u{1D657}","b"],["\u{1D658}","c"],["\u{1D659}","d"],["\u{1D65A}","e"],["\u{1D65B}","f"],["\u{1D65C}","g"],["\u{1D65D}","h"],["\u{1D65E}","i"],["\u{1D65F}","j"],["\u{1D660}","k"],["\u{1D661}","l"],["\u{1D662}","m"],["\u{1D663}","n"],["\u{1D664}","o"],["\u{1D665}","p"],["\u{1D666}","q"],["\u{1D667}","r"],["\u{1D668}","s"],["\u{1D669}","t"],["\u{1D66A}","u"],["\u{1D66B}","v"],["\u{1D66C}","w"],["\u{1D66D}","x"],["\u{1D66E}","y"],["\u{1D66F}","z"],["\u{1D670}","A"],["\u{1D671}","B"],["\u{1D672}","C"],["\u{1D673}","D"],["\u{1D674}","E"],["\u{1D675}","F"],["\u{1D676}","G"],["\u{1D677}","H"],["\u{1D678}","I"],["\u{1D679}","J"],["\u{1D67A}","K"],["\u{1D67B}","L"],["\u{1D67C}","M"],["\u{1D67D}","N"],["\u{1D67E}","O"],["\u{1D67F}","P"],["\u{1D680}","Q"],["\u{1D681}","R"],["\u{1D682}","S"],["\u{1D683}","T"],["\u{1D684}","U"],["\u{1D685}","V"],["\u{1D686}","W"],["\u{1D687}","X"],["\u{1D688}","Y"],["\u{1D689}","Z"],["\u{1D68A}","a"],["\u{1D68B}","b"],["\u{1D68C}","c"],["\u{1D68D}","d"],["\u{1D68E}","e"],["\u{1D68F}","f"],["\u{1D690}","g"],["\u{1D691}","h"],["\u{1D692}","i"],["\u{1D693}","j"],["\u{1D694}","k"],["\u{1D695}","l"],["\u{1D696}","m"],["\u{1D697}","n"],["\u{1D698}","o"],["\u{1D699}","p"],["\u{1D69A}","q"],["\u{1D69B}","r"],["\u{1D69C}","s"],["\u{1D69D}","t"],["\u{1D69E}","u"],["\u{1D69F}","v"],["\u{1D6A0}","w"],["\u{1D6A1}","x"],["\u{1D6A2}","y"],["\u{1D6A3}","z"],["\u{1D6A4}","l"],["\u{1D6A5}","j"],["\u{1D6E2}","A"],["\u{1D6E3}","B"],["\u{1D6E4}","G"],["\u{1D6E5}","D"],["\u{1D6E6}","E"],["\u{1D6E7}","Z"],["\u{1D6E8}","I"],["\u{1D6E9}","TH"],["\u{1D6EA}","I"],["\u{1D6EB}","K"],["\u{1D6EC}","L"],["\u{1D6ED}","M"],["\u{1D6EE}","N"],["\u{1D6EF}","KS"],["\u{1D6F0}","O"],["\u{1D6F1}","P"],["\u{1D6F2}","R"],["\u{1D6F3}","TH"],["\u{1D6F4}","S"],["\u{1D6F5}","T"],["\u{1D6F6}","Y"],["\u{1D6F7}","F"],["\u{1D6F8}","x"],["\u{1D6F9}","PS"],["\u{1D6FA}","O"],["\u{1D6FB}","D"],["\u{1D6FC}","a"],["\u{1D6FD}","b"],["\u{1D6FE}","g"],["\u{1D6FF}","d"],["\u{1D700}","e"],["\u{1D701}","z"],["\u{1D702}","i"],["\u{1D703}","th"],["\u{1D704}","i"],["\u{1D705}","k"],["\u{1D706}","l"],["\u{1D707}","m"],["\u{1D708}","n"],["\u{1D709}","ks"],["\u{1D70A}","o"],["\u{1D70B}","p"],["\u{1D70C}","r"],["\u{1D70D}","s"],["\u{1D70E}","s"],["\u{1D70F}","t"],["\u{1D710}","y"],["\u{1D711}","f"],["\u{1D712}","x"],["\u{1D713}","ps"],["\u{1D714}","o"],["\u{1D715}","d"],["\u{1D716}","E"],["\u{1D717}","TH"],["\u{1D718}","K"],["\u{1D719}","f"],["\u{1D71A}","r"],["\u{1D71B}","p"],["\u{1D71C}","A"],["\u{1D71D}","V"],["\u{1D71E}","G"],["\u{1D71F}","D"],["\u{1D720}","E"],["\u{1D721}","Z"],["\u{1D722}","I"],["\u{1D723}","TH"],["\u{1D724}","I"],["\u{1D725}","K"],["\u{1D726}","L"],["\u{1D727}","M"],["\u{1D728}","N"],["\u{1D729}","KS"],["\u{1D72A}","O"],["\u{1D72B}","P"],["\u{1D72C}","S"],["\u{1D72D}","TH"],["\u{1D72E}","S"],["\u{1D72F}","T"],["\u{1D730}","Y"],["\u{1D731}","F"],["\u{1D732}","X"],["\u{1D733}","PS"],["\u{1D734}","O"],["\u{1D735}","D"],["\u{1D736}","a"],["\u{1D737}","v"],["\u{1D738}","g"],["\u{1D739}","d"],["\u{1D73A}","e"],["\u{1D73B}","z"],["\u{1D73C}","i"],["\u{1D73D}","th"],["\u{1D73E}","i"],["\u{1D73F}","k"],["\u{1D740}","l"],["\u{1D741}","m"],["\u{1D742}","n"],["\u{1D743}","ks"],["\u{1D744}","o"],["\u{1D745}","p"],["\u{1D746}","r"],["\u{1D747}","s"],["\u{1D748}","s"],["\u{1D749}","t"],["\u{1D74A}","y"],["\u{1D74B}","f"],["\u{1D74C}","x"],["\u{1D74D}","ps"],["\u{1D74E}","o"],["\u{1D74F}","a"],["\u{1D750}","e"],["\u{1D751}","i"],["\u{1D752}","k"],["\u{1D753}","f"],["\u{1D754}","r"],["\u{1D755}","p"],["\u{1D756}","A"],["\u{1D757}","B"],["\u{1D758}","G"],["\u{1D759}","D"],["\u{1D75A}","E"],["\u{1D75B}","Z"],["\u{1D75C}","I"],["\u{1D75D}","TH"],["\u{1D75E}","I"],["\u{1D75F}","K"],["\u{1D760}","L"],["\u{1D761}","M"],["\u{1D762}","N"],["\u{1D763}","KS"],["\u{1D764}","O"],["\u{1D765}","P"],["\u{1D766}","R"],["\u{1D767}","TH"],["\u{1D768}","S"],["\u{1D769}","T"],["\u{1D76A}","Y"],["\u{1D76B}","F"],["\u{1D76C}","X"],["\u{1D76D}","PS"],["\u{1D76E}","O"],["\u{1D76F}","D"],["\u{1D770}","a"],["\u{1D771}","v"],["\u{1D772}","g"],["\u{1D773}","d"],["\u{1D774}","e"],["\u{1D775}","z"],["\u{1D776}","i"],["\u{1D777}","th"],["\u{1D778}","i"],["\u{1D779}","k"],["\u{1D77A}","l"],["\u{1D77B}","m"],["\u{1D77C}","n"],["\u{1D77D}","ks"],["\u{1D77E}","o"],["\u{1D77F}","p"],["\u{1D780}","r"],["\u{1D781}","s"],["\u{1D782}","s"],["\u{1D783}","t"],["\u{1D784}","y"],["\u{1D785}","f"],["\u{1D786}","x"],["\u{1D787}","ps"],["\u{1D788}","o"],["\u{1D789}","a"],["\u{1D78A}","e"],["\u{1D78B}","i"],["\u{1D78C}","k"],["\u{1D78D}","f"],["\u{1D78E}","r"],["\u{1D78F}","p"],["\u{1D790}","A"],["\u{1D791}","V"],["\u{1D792}","G"],["\u{1D793}","D"],["\u{1D794}","E"],["\u{1D795}","Z"],["\u{1D796}","I"],["\u{1D797}","TH"],["\u{1D798}","I"],["\u{1D799}","K"],["\u{1D79A}","L"],["\u{1D79B}","M"],["\u{1D79C}","N"],["\u{1D79D}","KS"],["\u{1D79E}","O"],["\u{1D79F}","P"],["\u{1D7A0}","S"],["\u{1D7A1}","TH"],["\u{1D7A2}","S"],["\u{1D7A3}","T"],["\u{1D7A4}","Y"],["\u{1D7A5}","F"],["\u{1D7A6}","X"],["\u{1D7A7}","PS"],["\u{1D7A8}","O"],["\u{1D7A9}","D"],["\u{1D7AA}","av"],["\u{1D7AB}","g"],["\u{1D7AC}","d"],["\u{1D7AD}","e"],["\u{1D7AE}","z"],["\u{1D7AF}","i"],["\u{1D7B0}","i"],["\u{1D7B1}","th"],["\u{1D7B2}","i"],["\u{1D7B3}","k"],["\u{1D7B4}","l"],["\u{1D7B5}","m"],["\u{1D7B6}","n"],["\u{1D7B7}","ks"],["\u{1D7B8}","o"],["\u{1D7B9}","p"],["\u{1D7BA}","r"],["\u{1D7BB}","s"],["\u{1D7BC}","s"],["\u{1D7BD}","t"],["\u{1D7BE}","y"],["\u{1D7BF}","f"],["\u{1D7C0}","x"],["\u{1D7C1}","ps"],["\u{1D7C2}","o"],["\u{1D7C3}","a"],["\u{1D7C4}","e"],["\u{1D7C5}","i"],["\u{1D7C6}","k"],["\u{1D7C7}","f"],["\u{1D7C8}","r"],["\u{1D7C9}","p"],["\u{1D7CA}","F"],["\u{1D7CB}","f"],["\u249C","(a)"],["\u249D","(b)"],["\u249E","(c)"],["\u249F","(d)"],["\u24A0","(e)"],["\u24A1","(f)"],["\u24A2","(g)"],["\u24A3","(h)"],["\u24A4","(i)"],["\u24A5","(j)"],["\u24A6","(k)"],["\u24A7","(l)"],["\u24A8","(m)"],["\u24A9","(n)"],["\u24AA","(o)"],["\u24AB","(p)"],["\u24AC","(q)"],["\u24AD","(r)"],["\u24AE","(s)"],["\u24AF","(t)"],["\u24B0","(u)"],["\u24B1","(v)"],["\u24B2","(w)"],["\u24B3","(x)"],["\u24B4","(y)"],["\u24B5","(z)"],["\u24B6","(A)"],["\u24B7","(B)"],["\u24B8","(C)"],["\u24B9","(D)"],["\u24BA","(E)"],["\u24BB","(F)"],["\u24BC","(G)"],["\u24BD","(H)"],["\u24BE","(I)"],["\u24BF","(J)"],["\u24C0","(K)"],["\u24C1","(L)"],["\u24C3","(N)"],["\u24C4","(O)"],["\u24C5","(P)"],["\u24C6","(Q)"],["\u24C7","(R)"],["\u24C8","(S)"],["\u24C9","(T)"],["\u24CA","(U)"],["\u24CB","(V)"],["\u24CC","(W)"],["\u24CD","(X)"],["\u24CE","(Y)"],["\u24CF","(Z)"],["\u24D0","(a)"],["\u24D1","(b)"],["\u24D2","(c)"],["\u24D3","(d)"],["\u24D4","(e)"],["\u24D5","(f)"],["\u24D6","(g)"],["\u24D7","(h)"],["\u24D8","(i)"],["\u24D9","(j)"],["\u24DA","(k)"],["\u24DB","(l)"],["\u24DC","(m)"],["\u24DD","(n)"],["\u24DE","(o)"],["\u24DF","(p)"],["\u24E0","(q)"],["\u24E1","(r)"],["\u24E2","(s)"],["\u24E3","(t)"],["\u24E4","(u)"],["\u24E5","(v)"],["\u24E6","(w)"],["\u24E7","(x)"],["\u24E8","(y)"],["\u24E9","(z)"],["\u010A","C"],["\u010B","c"],["\u0120","G"],["\u0121","g"],["\u0126","H"],["\u0127","h"],["\u017B","Z"],["\u017C","z"],["\u{1D7CE}","0"],["\u{1D7CF}","1"],["\u{1D7D0}","2"],["\u{1D7D1}","3"],["\u{1D7D2}","4"],["\u{1D7D3}","5"],["\u{1D7D4}","6"],["\u{1D7D5}","7"],["\u{1D7D6}","8"],["\u{1D7D7}","9"],["\u{1D7D8}","0"],["\u{1D7D9}","1"],["\u{1D7DA}","2"],["\u{1D7DB}","3"],["\u{1D7DC}","4"],["\u{1D7DD}","5"],["\u{1D7DE}","6"],["\u{1D7DF}","7"],["\u{1D7E0}","8"],["\u{1D7E1}","9"],["\u{1D7E2}","0"],["\u{1D7E3}","1"],["\u{1D7E4}","2"],["\u{1D7E5}","3"],["\u{1D7E6}","4"],["\u{1D7E7}","5"],["\u{1D7E8}","6"],["\u{1D7E9}","7"],["\u{1D7EA}","8"],["\u{1D7EB}","9"],["\u{1D7EC}","0"],["\u{1D7ED}","1"],["\u{1D7EE}","2"],["\u{1D7EF}","3"],["\u{1D7F0}","4"],["\u{1D7F1}","5"],["\u{1D7F2}","6"],["\u{1D7F3}","7"],["\u{1D7F4}","8"],["\u{1D7F5}","9"],["\u{1D7F6}","0"],["\u{1D7F7}","1"],["\u{1D7F8}","2"],["\u{1D7F9}","3"],["\u{1D7FA}","4"],["\u{1D7FB}","5"],["\u{1D7FC}","6"],["\u{1D7FD}","7"],["\u{1D7FE}","8"],["\u{1D7FF}","9"],["\u2460","1"],["\u2461","2"],["\u2462","3"],["\u2463","4"],["\u2464","5"],["\u2465","6"],["\u2466","7"],["\u2467","8"],["\u2468","9"],["\u2469","10"],["\u246A","11"],["\u246B","12"],["\u246C","13"],["\u246D","14"],["\u246E","15"],["\u246F","16"],["\u2470","17"],["\u2471","18"],["\u2472","19"],["\u2473","20"],["\u2474","1"],["\u2475","2"],["\u2476","3"],["\u2477","4"],["\u2478","5"],["\u2479","6"],["\u247A","7"],["\u247B","8"],["\u247C","9"],["\u247D","10"],["\u247E","11"],["\u247F","12"],["\u2480","13"],["\u2481","14"],["\u2482","15"],["\u2483","16"],["\u2484","17"],["\u2485","18"],["\u2486","19"],["\u2487","20"],["\u2488","1."],["\u2489","2."],["\u248A","3."],["\u248B","4."],["\u248C","5."],["\u248D","6."],["\u248E","7."],["\u248F","8."],["\u2490","9."],["\u2491","10."],["\u2492","11."],["\u2493","12."],["\u2494","13."],["\u2495","14."],["\u2496","15."],["\u2497","16."],["\u2498","17."],["\u2499","18."],["\u249A","19."],["\u249B","20."],["\u24EA","0"],["\u24EB","11"],["\u24EC","12"],["\u24ED","13"],["\u24EE","14"],["\u24EF","15"],["\u24F0","16"],["\u24F1","17"],["\u24F2","18"],["\u24F3","19"],["\u24F4","20"],["\u24F5","1"],["\u24F6","2"],["\u24F7","3"],["\u24F8","4"],["\u24F9","5"],["\u24FA","6"],["\u24FB","7"],["\u24FC","8"],["\u24FD","9"],["\u24FE","10"],["\u24FF","0"],["\u{1F670}","&"],["\u{1F671}","&"],["\u{1F672}","&"],["\u{1F673}","&"],["\u{1F674}","&"],["\u{1F675}","&"],["\u{1F676}",'"'],["\u{1F677}",'"'],["\u{1F678}",'"'],["\u203D","?!"],["\u{1F679}","?!"],["\u{1F67A}","?!"],["\u{1F67B}","?!"],["\u{1F67C}","/"],["\u{1F67D}","\\"],["\u{1F707}","AR"],["\u{1F708}","V"],["\u{1F709}","V"],["\u{1F706}","VR"],["\u{1F705}","VF"],["\u{1F729}","2"],["\u{1F72A}","5"],["\u{1F761}","f"],["\u{1F762}","W"],["\u{1F763}","U"],["\u{1F767}","V"],["\u{1F768}","T"],["\u{1F76A}","V"],["\u{1F76B}","MB"],["\u{1F76C}","VB"],["\u{1F772}","3B"],["\u{1F773}","3B"],["\u{1F4AF}","100"],["\u{1F519}","BACK"],["\u{1F51A}","END"],["\u{1F51B}","ON!"],["\u{1F51C}","SOON"],["\u{1F51D}","TOP"],["\u{1F51E}","18"],["\u{1F524}","abc"],["\u{1F520}","ABCD"],["\u{1F521}","abcd"],["\u{1F522}","1234"],["\u{1F523}","T&@%"],["#\uFE0F\u20E3","#"],["*\uFE0F\u20E3","*"],["0\uFE0F\u20E3","0"],["1\uFE0F\u20E3","1"],["2\uFE0F\u20E3","2"],["3\uFE0F\u20E3","3"],["4\uFE0F\u20E3","4"],["5\uFE0F\u20E3","5"],["6\uFE0F\u20E3","6"],["7\uFE0F\u20E3","7"],["8\uFE0F\u20E3","8"],["9\uFE0F\u20E3","9"],["\u{1F51F}","10"],["\u{1F170}\uFE0F","A"],["\u{1F171}\uFE0F","B"],["\u{1F18E}","AB"],["\u{1F191}","CL"],["\u{1F17E}\uFE0F","O"],["\u{1F17F}","P"],["\u{1F198}","SOS"],["\u{1F172}","C"],["\u{1F173}","D"],["\u{1F174}","E"],["\u{1F175}","F"],["\u{1F176}","G"],["\u{1F177}","H"],["\u{1F178}","I"],["\u{1F179}","J"],["\u{1F17A}","K"],["\u{1F17B}","L"],["\u{1F17C}","M"],["\u{1F17D}","N"],["\u{1F180}","Q"],["\u{1F181}","R"],["\u{1F182}","S"],["\u{1F183}","T"],["\u{1F184}","U"],["\u{1F185}","V"],["\u{1F186}","W"],["\u{1F187}","X"],["\u{1F188}","Y"],["\u{1F189}","Z"],["\u2212","-"],["\u2053","-"]],kf=[["\xE6","ae"],["\xC6","Ae"],["\xF8","oe"],["\xD8","Oe"],["\xE5","aa"],["\xC5","Aa"]],Sf={sv:[["\xE4","a"],["\xC4","A"],["\xF6","o"],["\xD6","O"],["\xE5","a"],["\xC5","A"]],da:kf,nb:kf,de:[["\xE4","ae"],["\xC4","Ae"],["\xF6","oe"],["\xD6","Oe"],["\xFC","ue"],["\xDC","Ue"],["\xDF","ss"],["\u1E9E","Ss"]],tr:[["\xE2","a"],["\xC2","A"],["\xF6","o"],["\xD6","O"],["\xFC","u"],["\xDC","U"]],hu:[["\u0171","u"],["\u0170","U"],["\xF6","o"],["\xD6","O"],["\xFC","u"],["\xDC","U"],["\xE1","a"],["\xC1","A"],["\xE9","e"],["\xC9","E"],["\xED","i"],["\xCD","I"],["\xF3","o"],["\xD3","O"],["\xFA","u"],["\xDA","U"]],sr:[["\u0452","dj"],["\u0402","Dj"],["\u045F","dz"],["\u040F","Dz"],["\u0459","lj"],["\u0409","Lj"],["\u045A","nj"],["\u040A","Nj"],["\u045B","c"],["\u040B","C"],["\u0447","ch"],["\u0427","Ch"],["\u0448","sh"],["\u0428","Sh"],["\u0436","zh"],["\u0416","Zh"]]},iS=s((e,t)=>{for(const[n,r]of t)e=e.replaceAll(n,r);return e},"doCustomReplacements"),sS=s(e=>{if(!e)return[];const t=e.toLowerCase().replace(/^no(-|$)/,"nb$1");return Sf[t]||Sf[t.split("-")[0]]||[]},"getLocaleReplacements");function uS(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={customReplacements:[],...t};const n=sS(t.locale),r=new Map([...rS,...n,...t.customReplacements]);return e=e.normalize(),e=iS(e,r),e=e.normalize("NFD").replaceAll(/\p{Diacritic}/gu,"").normalize(),e=e.replaceAll(/\p{Dash_Punctuation}/gu,"-"),e}s(uS,"transliterate");const aS=[["&"," and "],["\u{1F984}"," unicorn "],["\u2665"," love "]],oS=s(e=>e.replaceAll(/([A-Z]{2,})(\d+)/g,"$1 $2").replaceAll(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replaceAll(/([a-z\d])([A-Z])/g,"$1 $2").replaceAll(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),"decamelize"),lS=s((e,t)=>{const n=Mi(t);return e.replaceAll(new RegExp(`(?:${n}){2,}`,"g"),t).replaceAll(new RegExp(`^(?:${n})|(?:${n})$`,"g"),"")},"removeMootSeparators"),cS=s(e=>{let t=String.raw`a-z\d`;if(t+=e.lowercase?"":"A-Z",e.transliterate===!1&&(t+=String.raw`\p{L}\p{N}`),e.preserveCharacters.length>0)for(const r of e.preserveCharacters){if(r===e.separator)throw new Error(`The separator character \`${e.separator}\` cannot be included in preserved characters: ${e.preserveCharacters}`);t+=Mi(r)}const n=e.transliterate?"g":"gu";return new RegExp(`[^${t}]+`,n)},"buildPatternSlug");function hS(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[],transliterate:!0,...t};const n=t.preserveLeadingUnderscore&&e.startsWith("_"),r=t.preserveTrailingDash&&e.endsWith("-");if(t.transliterate){const u=new Map([...aS,...t.customReplacements]);e=uS(e,{customReplacements:u,locale:t.locale})}else if(t.customReplacements.length>0)for(const[u,a]of t.customReplacements)e=e.replaceAll(u,a);t.decamelize&&(e=oS(e));const i=cS(t);return t.lowercase&&(e=t.locale?e.toLocaleLowerCase(t.locale):e.toLowerCase()),e=e.replaceAll(/([a-zA-Z\d]+)['\u2019]([ts])(\s|$)/g,"$1$2$3"),e=e.replace(i,t.separator),e=e.replaceAll("\\",""),t.separator&&(e=lS(e,t.separator)),n&&(e=`_${e}`),r&&(e=`${e}-`),e}s(hS,"slugify");const fS=s(e=>{if(typeof e=="string")return new globalThis.TextEncoder().encode(e).buffer;if(e instanceof ArrayBuffer)return e.slice();const n=typeof Buffer<"u"&&Buffer.isBuffer?.(e)?new Uint8Array(e):e;if(n instanceof DataView){const r=new ArrayBuffer(n.byteLength),i=new Uint8Array(r);for(let u=0;u<n.byteLength;u++)i[u]=n.getUint8(u);return r}return n.buffer.slice(n.byteOffset,n.byteOffset+n.byteLength)},"toArrayBuffer"),_f="0123456789abcdef",Bf=[];for(let e=0;e<256;e++)Bf[e]=_f[e>>>4&15]+_f[e&15];const dS=s(e=>{if(typeof Buffer<"u"&&typeof Buffer.from=="function")return Buffer.from(e).toString("hex");const t=new Uint8Array(e);let n="";for(let r=0;r<t.length;r++)n+=Bf[t[r]];return n},"bufferToHex"),pS=s(e=>async(t,{outputFormat:n="hex"}={})=>{const r=fS(t),i=await globalThis.crypto.subtle.digest(e,r);return n==="hex"?dS(i):i},"create$1"),mS=pS("SHA-256");async function gS(e,t){try{return await t.stat(e),!0}catch{return!1}}s(gS,"fileExists");async function wf(e,t,n=Z3){switch(n){case"content":{const r=await t.readFileBuffer(e);return(await mS(r)).slice(0,16)}case"metadata":{const{mtimeMs:r,size:i}=await t.stat(e),u=`${r??""}${i??""}`;return u===""?wf(e,t,"name"):Oi(u,16)}case"name":return Oi(e,16)}}s(wf,"getFileContentHash");function Qt(e,t=!1){return ES(e,t),Ff(e)}s(Qt,"validateAndSanitizeNamespace");function Ff(e){return e.normalize("NFC").trim()}s(Ff,"sanitizeNamespace");function ES(e,t=!1){const n=[];e.trim().length===0&&n.push("Cannot be empty"),e.trim().length>Ef&&n.push(`Cannot be longer than ${Ef} characters`);const r=[[/:/,"Colon"],[/\u0000/,"Null"],[/\u0001/,"Start of Heading"],[/\u0002/,"Start of Text"],[/\u0003/,"End of Text"],[/\u0004/,"End of Transmission"],[/\u0005/,"Enquiry"],[/\u0006/,"Acknowledge"],[/\u0007/,"Bell"],[/\u0008/,"Backspace"],[/\u0009/,"Horizontal Tab"],[/\u000A/,"Line Feed"],[/\u000B/,"Vertical Tab"],[/\u000C/,"Form Feed"],[/\u000D/,"Carriage Return"],[/\u000E/,"Shift Out"],[/\u000F/,"Shift In"],[/\u0010/,"Data Link Escape"],[/\u0011/,"Device Control 1"],[/\u0012/,"Device Control 2"],[/\u0013/,"Device Control 3"],[/\u0014/,"Device Control 4"],[/\u0015/,"Negative Acknowledge"],[/\u0016/,"Synchronous Idle"],[/\u0017/,"End of Transmission Block"],[/\u0018/,"Cancel"],[/\u0019/,"End of Medium"],[/\u001A/,"Substitute"],[/\u001B/,"Escape"],[/\u001C/,"File Separator"],[/\u001D/,"Group Separator"],[/\u001E/,"Record Separator"],[/\u001F/,"Unit Separator"],[/\u007F/,"Delete"],[/\u0080/,"Padding Character"],[/\u0081/,"High Octet Preset"],[/\u0082/,"Break Permitted Here"],[/\u0083/,"No Break Here"],[/\u0084/,"Index"],[/\u0085/,"Next Line"],[/\u0086/,"Start of Selected Area"],[/\u0087/,"End of Selected Area"],[/\u0088/,"Character Tabulation Set"],[/\u0089/,"Character Tabulation with Justification"],[/\u008A/,"Line Tabulation Set"],[/\u008B/,"Partial Line Forward"],[/\u008C/,"Partial Line Backward"],[/\u008D/,"Reverse Line Feed"],[/\u008E/,"Single Shift Two"],[/\u008F/,"Single Shift Three"],[/\u0090/,"Device Control String"],[/\u0091/,"Private Use One"],[/\u0092/,"Private Use Two"],[/\u0093/,"Set Transmit State"],[/\u0094/,"Cancel Character"],[/\u0095/,"Message Waiting"],[/\u0096/,"Start of Protected Area"],[/\u0097/,"End of Protected Area"],[/\u0098/,"Start of String"],[/\u0099/,"Single Graphic Character Introducer"],[/\u009A/,"Single Character Introducer"],[/\u009B/,"Control Sequence Introducer"],[/\u009C/,"String Terminator"],[/\u009D/,"Operating System Command"],[/\u009E/,"Privacy Message"],[/\u009F/,"Application Program Command"],[/\u00A0/,"Non-breaking Space"],[/\u00AD/,"Soft Hyphen"],[/\u200B/,"Zero-width Space"],[/\u200C/,"Zero-width Non-joiner"],[/\u200D/,"Zero-width Joiner"],[/\u200E/,"Left-to-right Mark"],[/\u200F/,"Right-to-left Mark"],[/\u202A/,"Left-to-right Embedding"],[/\u202B/,"Right-to-left Embedding"],[/\u202C/,"Pop Directional Formatting"],[/\u202D/,"Left-to-right Override"],[/\u202E/,"Right-to-left Override"],[/\uFEFF/,"Byte Order Mark (BOM)"]];t||r.push([/\*/,"Asterisk"]);for(const[i,u]of r){const a=e.match(i);if(a){const o=JSON.stringify(a[0]).slice(1,-1);n.push(`Forbidden character: ${u}: "${o}"`)}}if(n.length>0)throw new Error(`Invalid namespace "${e}":
|
|
40
|
+
`,Kt="yanki",zu=!0,Ef=60,X3="Yanki",Ri="(Empty)",J3=ie("element",{properties:{},tagName:"p"},[ie("element",{properties:{},tagName:"em"},[ie("text",Ri)])]),Z3="metadata",eS="metadata",tS="metadata",Af=120,Pi="Untitled",Df=["avif","gif","ico","jpeg","jpg","png","svg","tif","tiff","webp"],Cf=["3gp","aac","avi","flac","flv","m4a","mkv","mov","mp3","mp4","mpeg","mpg","oga","ogg","ogv","ogx","opus","spx","swf","wav","webm"],yf=["md","pdf"],Tf=[...Cf,...Df,...yf];function dt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}s(dt,"assertPath");function bf(e,t){for(var n="",r=0,i=-1,u=0,a,o=0;o<=e.length;++o){if(o<e.length)a=e.charCodeAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||u===1))if(i!==o-1&&u===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var l=n.lastIndexOf("/");if(l!==n.length-1){l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=o,u=0;continue}}else if(n.length===2||n.length===1){n="",r=0,i=o,u=0;continue}}t&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,u=0}else a===46&&u!==-1?++u:u=-1}return n}s(bf,"normalizeStringPosix");function nS(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}s(nS,"_format");var ne={process_cwd:"",setCWD:s(function(t){ne.process_cwd=t},"setCWD"),resolve:s(function(){for(var t="",n=!1,r,i=arguments.length-1;i>=-1&&!n;i--){var u;i>=0?u=arguments[i]:(r===void 0&&(r=ne.process_cwd),u=r),dt(u),u.length!==0&&u+"/"!==t&&(t=u+"/"+t,n=u.charCodeAt(0)===47)}return t=bf(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},"resolve"),normalize:s(function(t){if(dt(t),t.length===0)return".";var n=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=bf(t,!n),t.length===0&&!n&&(t="."),t.length>0&&r&&(t+="/"),n?"/"+t:t},"normalize"),isAbsolute:s(function(t){return dt(t),t.length>0&&t.charCodeAt(0)===47},"isAbsolute"),join:s(function(){if(arguments.length===0)return".";for(var t,n=0;n<arguments.length;++n){var r=arguments[n];dt(r),r.length>0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":ne.normalize(t)},"join"),relative:s(function(t,n){if(dt(t),dt(n),t===n)return"";const r=t.replaceAll("\\","/"),i=n.replaceAll("\\","/");if(r!=t&&i!=n)return ne.relative(r,i).replaceAll("/","\\");if(r!=t)return ne.relative(r,n).replaceAll("/","\\");if(i!=n)return ne.relative(t,i);if(t=ne.resolve(t),n=ne.resolve(n),t===n)return"";for(var u=1;u<t.length&&t.charCodeAt(u)===47;++u);for(var a=t.length,o=a-u,l=1;l<n.length&&n.charCodeAt(l)===47;++l);for(var c=n.length,f=c-l,h=o<f?o:f,m=-1,p=0;p<=h;++p){if(p===h){if(f>h){if(n.charCodeAt(l+p)===47)return n.slice(l+p+1);if(p===0)return n.slice(l+p)}else o>h&&(t.charCodeAt(u+p)===47?m=p:p===0&&(m=0));break}var g=t.charCodeAt(u+p),E=n.charCodeAt(l+p);if(g!==E)break;g===47&&(m=p)}var A="";for(p=u+m+1;p<=a;++p)(p===a||t.charCodeAt(p)===47)&&(A.length===0?A+="..":A+="/..");return A.length>0?A+n.slice(l+m):(l+=m,n.charCodeAt(l)===47&&++l,n.slice(l))},"relative"),_makeLong:s(function(t){return t},"_makeLong"),dirname:s(function(t){if(dt(t),t.length===0)return".";for(var n=t.charCodeAt(0),r=n===47,i=-1,u=!0,a=t.length-1;a>=1;--a)if(n=t.charCodeAt(a),n===47){if(!u){i=a;break}}else u=!1;return i===-1?r?"/":".":r&&i===1?"//":t.slice(0,i)},"dirname"),basename:s(function(t,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');dt(t);var r=0,i=-1,u=!0,a;if(n!==void 0&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var o=n.length-1,l=-1;for(a=t.length-1;a>=0;--a){var c=t.charCodeAt(a);if(c===47){if(!u){r=a+1;break}}else l===-1&&(u=!1,l=a+1),o>=0&&(c===n.charCodeAt(o)?--o===-1&&(i=a):(o=-1,i=l))}return r===i?i=l:i===-1&&(i=t.length),t.slice(r,i)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!u){r=a+1;break}}else i===-1&&(u=!1,i=a+1);return i===-1?"":t.slice(r,i)}},"basename"),extname:s(function(t){dt(t);for(var n=-1,r=0,i=-1,u=!0,a=0,o=t.length-1;o>=0;--o){var l=t.charCodeAt(o);if(l===47){if(!u){r=o+1;break}continue}i===-1&&(u=!1,i=o+1),l===46?n===-1?n=o:a!==1&&(a=1):n!==-1&&(a=-1)}return n===-1||i===-1||a===0||a===1&&n===i-1&&n===r+1?"":t.slice(n,i)},"extname"),format:s(function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return nS("/",t)},"format"),parse:s(function(t){dt(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return n;var r=t.charCodeAt(0),i=r===47,u;i?(n.root="/",u=1):u=0;for(var a=-1,o=0,l=-1,c=!0,f=t.length-1,h=0;f>=u;--f){if(r=t.charCodeAt(f),r===47){if(!c){o=f+1;break}continue}l===-1&&(c=!1,l=f+1),r===46?a===-1?a=f:h!==1&&(h=1):a!==-1&&(h=-1)}return a===-1||l===-1||h===0||h===1&&a===l-1&&a===o+1?l!==-1&&(o===0&&i?n.base=n.name=t.slice(1,l):n.base=n.name=t.slice(o,l)):(o===0&&i?(n.name=t.slice(1,a),n.base=t.slice(1,l)):(n.name=t.slice(o,a),n.base=t.slice(o,l)),n.ext=t.slice(a,l)),o>0?n.dir=t.slice(0,o-1):i&&(n.dir="/"),n},"parse"),sep:"/",delimiter:":",win32:null,posix:null};ne.posix=ne;const ju=typeof window>"u"?typeof process>"u"?"other":"node":"browser";ju==="browser"?/windows/i.test(navigator.userAgent)||/mac/i.test(navigator.userAgent)||/linux/i.test(navigator.userAgent)||/ubuntu/i.test(navigator.userAgent):ju==="node"&&(process.platform==="win32"||process.platform==="darwin"||process.platform);const He={allFilePaths:[],ankiConnectOptions:wt,ankiWeb:!1,basePath:void 0,checkDatabase:!0,cwd:ne.process_cwd,dryRun:!1,fetchAdapter:void 0,fileAdapter:void 0,manageFilenames:"off",maxFilenameLength:60,namespace:"Yanki",obsidianVault:void 0,resolveUrls:!0,strictLineBreaks:!0,strictMatching:!1,syncMediaAssets:"local"};async function Bn(){if(ju==="node"){const e=await import("node:fs/promises");if(e===void 0)throw new Error("Error loading file functions in Node environment");return{async readFile(t){return e.readFile(t,"utf8")},async readFileBuffer(t){return e.readFile(t)},async rename(t,n){await e.rename(t,n)},async stat(t){return e.stat(t)},async writeFile(t,n){await e.writeFile(t,n,"utf8")}}}throw new Error('The "readFile", "readFileBuffer", "rename" , "stat", and "writeFile" function implementations must be provided to the function when running in the browser')}s(Bn,"getDefaultFileAdapter");function br(){return fetch.bind(globalThis)}s(br,"getDefaultFetchAdapter");function Mi(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}s(Mi,"escapeStringRegexp");const rS=[["\xDF","ss"],["\u1E9E","Ss"],["\xE4","ae"],["\xC4","Ae"],["\xF6","oe"],["\xD6","Oe"],["\xFC","ue"],["\xDC","Ue"],["\xC0","A"],["\xC1","A"],["\xC2","A"],["\xC3","A"],["\xC4","Ae"],["\xC5","A"],["\xC6","AE"],["\xC7","C"],["\xC8","E"],["\xC9","E"],["\xCA","E"],["\xCB","E"],["\u018F","A"],["\xCC","I"],["\xCD","I"],["\xCE","I"],["\xCF","I"],["\xD0","D"],["\xD1","N"],["\xD2","O"],["\xD3","O"],["\xD4","O"],["\xD5","O"],["\xD6","Oe"],["\u014C","O"],["\u0150","O"],["\xD8","O"],["\u0152","OE"],["\xD9","U"],["\xDA","U"],["\xDB","U"],["\xDC","Ue"],["\u0170","U"],["\xDD","Y"],["\xDE","TH"],["\xDF","ss"],["\xE0","a"],["\xE1","a"],["\xE2","a"],["\xE3","a"],["\xE4","ae"],["\xE5","a"],["\xE6","ae"],["\xE7","c"],["\xE8","e"],["\xE9","e"],["\xEA","e"],["\xEB","e"],["\u0259","a"],["\xEC","i"],["\xED","i"],["\xEE","i"],["\xEF","i"],["\xF0","d"],["\xF1","n"],["\xF2","o"],["\xF3","o"],["\xF4","o"],["\xF5","o"],["\xF6","oe"],["\u014D","o"],["\u0151","o"],["\xF8","o"],["\u0153","oe"],["\xF9","u"],["\xFA","u"],["\xFB","u"],["\xFC","ue"],["\u0171","u"],["\xFD","y"],["\xFE","th"],["\xFF","y"],["\xE0","a"],["\xC0","A"],["\xE1","a"],["\xC1","A"],["\xE2","a"],["\xC2","A"],["\xE3","a"],["\xC3","A"],["\xE8","e"],["\xC8","E"],["\xE9","e"],["\xC9","E"],["\xEA","e"],["\xCA","E"],["\xEC","i"],["\xCC","I"],["\xED","i"],["\xCD","I"],["\xF2","o"],["\xD2","O"],["\xF3","o"],["\xD3","O"],["\xF4","o"],["\xD4","O"],["\xF5","o"],["\xD5","O"],["\xF9","u"],["\xD9","U"],["\xFA","u"],["\xDA","U"],["\xFD","y"],["\xDD","Y"],["\u0103","a"],["\u0102","A"],["\u0110","D"],["\u0111","d"],["\u0129","i"],["\u0128","I"],["\u0169","u"],["\u0168","U"],["\u01A1","o"],["\u01A0","O"],["\u01B0","u"],["\u01AF","U"],["\u1EA1","a"],["\u1EA0","A"],["\u1EA3","a"],["\u1EA2","A"],["\u1EA5","a"],["\u1EA4","A"],["\u1EA7","a"],["\u1EA6","A"],["\u1EA9","a"],["\u1EA8","A"],["\u1EAB","a"],["\u1EAA","A"],["\u1EAD","a"],["\u1EAC","A"],["\u1EAF","a"],["\u1EAE","A"],["\u1EB1","a"],["\u1EB0","A"],["\u1EB3","a"],["\u1EB2","A"],["\u1EB5","a"],["\u1EB4","A"],["\u1EB7","a"],["\u1EB6","A"],["\u1EB9","e"],["\u1EB8","E"],["\u1EBB","e"],["\u1EBA","E"],["\u1EBD","e"],["\u1EBC","E"],["\u1EBF","e"],["\u1EBE","E"],["\u1EC1","e"],["\u1EC0","E"],["\u1EC3","e"],["\u1EC2","E"],["\u1EC5","e"],["\u1EC4","E"],["\u1EC7","e"],["\u1EC6","E"],["\u1EC9","i"],["\u1EC8","I"],["\u1ECB","i"],["\u1ECA","I"],["\u1ECD","o"],["\u1ECC","O"],["\u1ECF","o"],["\u1ECE","O"],["\u1ED1","o"],["\u1ED0","O"],["\u1ED3","o"],["\u1ED2","O"],["\u1ED5","o"],["\u1ED4","O"],["\u1ED7","o"],["\u1ED6","O"],["\u1ED9","o"],["\u1ED8","O"],["\u1EDB","o"],["\u1EDA","O"],["\u1EDD","o"],["\u1EDC","O"],["\u1EDF","o"],["\u1EDE","O"],["\u1EE1","o"],["\u1EE0","O"],["\u1EE3","o"],["\u1EE2","O"],["\u1EE5","u"],["\u1EE4","U"],["\u1EE7","u"],["\u1EE6","U"],["\u1EE9","u"],["\u1EE8","U"],["\u1EEB","u"],["\u1EEA","U"],["\u1EED","u"],["\u1EEC","U"],["\u1EEF","u"],["\u1EEE","U"],["\u1EF1","u"],["\u1EF0","U"],["\u1EF3","y"],["\u1EF2","Y"],["\u1EF5","y"],["\u1EF4","Y"],["\u1EF7","y"],["\u1EF6","Y"],["\u1EF9","y"],["\u1EF8","Y"],["\u0621","e"],["\u0622","a"],["\u0623","a"],["\u0624","w"],["\u0625","a"],["\u0626","y"],["\u0627","a"],["\u0628","b"],["\u0629","t"],["\u062A","t"],["\u062B","th"],["\u062C","j"],["\u062D","h"],["\u062E","kh"],["\u062F","d"],["\u0630","dh"],["\u0631","r"],["\u0632","z"],["\u0633","s"],["\u0634","sh"],["\u0635","s"],["\u0636","d"],["\u0637","t"],["\u0638","z"],["\u0639","e"],["\u063A","gh"],["\u0640","_"],["\u0641","f"],["\u0642","q"],["\u0643","k"],["\u0644","l"],["\u0645","m"],["\u0646","n"],["\u0647","h"],["\u0648","w"],["\u0649","a"],["\u064A","y"],["\u064E\u200E","a"],["\u064F","u"],["\u0650\u200E","i"],["\u0660","0"],["\u0661","1"],["\u0662","2"],["\u0663","3"],["\u0664","4"],["\u0665","5"],["\u0666","6"],["\u0667","7"],["\u0668","8"],["\u0669","9"],["\u0686","ch"],["\u06A9","k"],["\u06AF","g"],["\u067E","p"],["\u0698","zh"],["\u06CC","y"],["\u06F0","0"],["\u06F1","1"],["\u06F2","2"],["\u06F3","3"],["\u06F4","4"],["\u06F5","5"],["\u06F6","6"],["\u06F7","7"],["\u06F8","8"],["\u06F9","9"],["\u067C","p"],["\u0681","z"],["\u0685","c"],["\u0689","d"],["\uFEAB","d"],["\uFEAD","r"],["\u0693","r"],["\uFEAF","z"],["\u0696","g"],["\u069A","x"],["\u06AB","g"],["\u06BC","n"],["\u06C0","e"],["\u06D0","e"],["\u06CD","ai"],["\u0679","t"],["\u0688","d"],["\u0691","r"],["\u06BA","n"],["\u06C1","h"],["\u06BE","h"],["\u06D2","e"],["\u0410","A"],["\u0430","a"],["\u0411","B"],["\u0431","b"],["\u0412","V"],["\u0432","v"],["\u0413","G"],["\u0433","g"],["\u0414","D"],["\u0434","d"],["\u044A\u0435","ye"],["\u042A\u0435","Ye"],["\u044A\u0415","yE"],["\u042A\u0415","YE"],["\u0415","E"],["\u0435","e"],["\u0401","Yo"],["\u0451","yo"],["\u0416","Zh"],["\u0436","zh"],["\u0417","Z"],["\u0437","z"],["\u0418","I"],["\u0438","i"],["\u044B\u0439","iy"],["\u042B\u0439","Iy"],["\u042B\u0419","IY"],["\u044B\u0419","iY"],["\u0419","Y"],["\u0439","y"],["\u041A","K"],["\u043A","k"],["\u041B","L"],["\u043B","l"],["\u041C","M"],["\u043C","m"],["\u041D","N"],["\u043D","n"],["\u041E","O"],["\u043E","o"],["\u041F","P"],["\u043F","p"],["\u0420","R"],["\u0440","r"],["\u0421","S"],["\u0441","s"],["\u0422","T"],["\u0442","t"],["\u0423","U"],["\u0443","u"],["\u0424","F"],["\u0444","f"],["\u0425","Kh"],["\u0445","kh"],["\u0426","Ts"],["\u0446","ts"],["\u0427","Ch"],["\u0447","ch"],["\u0428","Sh"],["\u0448","sh"],["\u0429","Sch"],["\u0449","sch"],["\u042A",""],["\u044A",""],["\u042B","Y"],["\u044B","y"],["\u042C",""],["\u044C",""],["\u042D","E"],["\u044D","e"],["\u042E","Yu"],["\u044E","yu"],["\u042F","Ya"],["\u044F","ya"],["\u0103","a"],["\u0102","A"],["\u0219","s"],["\u0218","S"],["\u021B","t"],["\u021A","T"],["\u0163","t"],["\u0162","T"],["\u015F","s"],["\u015E","S"],["\xE7","c"],["\xC7","C"],["\u011F","g"],["\u011E","G"],["\u0131","i"],["\u0130","I"],["\u0561","a"],["\u0531","A"],["\u0562","b"],["\u0532","B"],["\u0563","g"],["\u0533","G"],["\u0564","d"],["\u0534","D"],["\u0565","ye"],["\u0535","Ye"],["\u0566","z"],["\u0536","Z"],["\u0567","e"],["\u0537","E"],["\u0568","y"],["\u0538","Y"],["\u0569","t"],["\u0539","T"],["\u056A","zh"],["\u053A","Zh"],["\u056B","i"],["\u053B","I"],["\u056C","l"],["\u053C","L"],["\u056D","kh"],["\u053D","Kh"],["\u056E","ts"],["\u053E","Ts"],["\u056F","k"],["\u053F","K"],["\u0570","h"],["\u0540","H"],["\u0571","dz"],["\u0541","Dz"],["\u0572","gh"],["\u0542","Gh"],["\u0573","tch"],["\u0543","Tch"],["\u0574","m"],["\u0544","M"],["\u0575","y"],["\u0545","Y"],["\u0576","n"],["\u0546","N"],["\u0577","sh"],["\u0547","Sh"],["\u0578\u0582","u"],["\u0548\u0552","U"],["\u0548\u0582","U"],["\u0578","vo"],["\u0548","Vo"],["\u0579","ch"],["\u0549","Ch"],["\u057A","p"],["\u054A","P"],["\u057B","j"],["\u054B","J"],["\u057C","r"],["\u054C","R"],["\u057D","s"],["\u054D","S"],["\u057E","v"],["\u054E","V"],["\u057F","t"],["\u054F","T"],["\u0580","r"],["\u0550","R"],["\u0581","c"],["\u0551","C"],["\u0583","p"],["\u0553","P"],["\u0584","q"],["\u0554","Q"],["\u0585","o"],["\u0555","O"],["\u0586","f"],["\u0556","F"],["\u0587","yev"],["\u10D0","a"],["\u10D1","b"],["\u10D2","g"],["\u10D3","d"],["\u10D4","e"],["\u10D5","v"],["\u10D6","z"],["\u10D7","t"],["\u10D8","i"],["\u10D9","k"],["\u10DA","l"],["\u10DB","m"],["\u10DC","n"],["\u10DD","o"],["\u10DE","p"],["\u10DF","zh"],["\u10E0","r"],["\u10E1","s"],["\u10E2","t"],["\u10E3","u"],["\u10E4","ph"],["\u10E5","q"],["\u10E6","gh"],["\u10E7","k"],["\u10E8","sh"],["\u10E9","ch"],["\u10EA","ts"],["\u10EB","dz"],["\u10EC","ts"],["\u10ED","tch"],["\u10EE","kh"],["\u10EF","j"],["\u10F0","h"],["\u010D","c"],["\u010F","d"],["\u011B","e"],["\u0148","n"],["\u0159","r"],["\u0161","s"],["\u0165","t"],["\u016F","u"],["\u017E","z"],["\u010C","C"],["\u010E","D"],["\u011A","E"],["\u0147","N"],["\u0158","R"],["\u0160","S"],["\u0164","T"],["\u016E","U"],["\u017D","Z"],["\u0780","h"],["\u0781","sh"],["\u0782","n"],["\u0783","r"],["\u0784","b"],["\u0785","lh"],["\u0786","k"],["\u0787","a"],["\u0788","v"],["\u0789","m"],["\u078A","f"],["\u078B","dh"],["\u078C","th"],["\u078D","l"],["\u078E","g"],["\u078F","gn"],["\u0790","s"],["\u0791","d"],["\u0792","z"],["\u0793","t"],["\u0794","y"],["\u0795","p"],["\u0796","j"],["\u0797","ch"],["\u0798","tt"],["\u0799","hh"],["\u079A","kh"],["\u079B","th"],["\u079C","z"],["\u079D","sh"],["\u079E","s"],["\u079F","d"],["\u07A0","t"],["\u07A1","z"],["\u07A2","a"],["\u07A3","gh"],["\u07A4","q"],["\u07A5","w"],["\u07A6","a"],["\u07A7","aa"],["\u07A8","i"],["\u07A9","ee"],["\u07AA","u"],["\u07AB","oo"],["\u07AC","e"],["\u07AD","ey"],["\u07AE","o"],["\u07AF","oa"],["\u07B0",""],["\u03B1","a"],["\u03B2","v"],["\u03B3","g"],["\u03B4","d"],["\u03B5","e"],["\u03B6","z"],["\u03B7","i"],["\u03B8","th"],["\u03B9","i"],["\u03BA","k"],["\u03BB","l"],["\u03BC","m"],["\u03BD","n"],["\u03BE","ks"],["\u03BF","o"],["\u03C0","p"],["\u03C1","r"],["\u03C3","s"],["\u03C4","t"],["\u03C5","y"],["\u03C6","f"],["\u03C7","x"],["\u03C8","ps"],["\u03C9","o"],["\u03AC","a"],["\u03AD","e"],["\u03AF","i"],["\u03CC","o"],["\u03CD","y"],["\u03AE","i"],["\u03CE","o"],["\u03C2","s"],["\u03CA","i"],["\u03B0","y"],["\u03CB","y"],["\u0390","i"],["\u0391","A"],["\u0392","B"],["\u0393","G"],["\u0394","D"],["\u0395","E"],["\u0396","Z"],["\u0397","I"],["\u0398","TH"],["\u0399","I"],["\u039A","K"],["\u039B","L"],["\u039C","M"],["\u039D","N"],["\u039E","KS"],["\u039F","O"],["\u03A0","P"],["\u03A1","R"],["\u03A3","S"],["\u03A4","T"],["\u03A5","Y"],["\u03A6","F"],["\u03A7","X"],["\u03A8","PS"],["\u03A9","O"],["\u0386","A"],["\u0388","E"],["\u038A","I"],["\u038C","O"],["\u038E","Y"],["\u0389","I"],["\u038F","O"],["\u03AA","I"],["\u03AB","Y"],["\u0101","a"],["\u0113","e"],["\u0123","g"],["\u012B","i"],["\u0137","k"],["\u013C","l"],["\u0146","n"],["\u016B","u"],["\u0100","A"],["\u0112","E"],["\u0122","G"],["\u012A","I"],["\u0136","K"],["\u013B","L"],["\u0145","N"],["\u016A","U"],["\u010D","c"],["\u0161","s"],["\u017E","z"],["\u010C","C"],["\u0160","S"],["\u017D","Z"],["\u0105","a"],["\u010D","c"],["\u0119","e"],["\u0117","e"],["\u012F","i"],["\u0161","s"],["\u0173","u"],["\u016B","u"],["\u017E","z"],["\u0104","A"],["\u010C","C"],["\u0118","E"],["\u0116","E"],["\u012E","I"],["\u0160","S"],["\u0172","U"],["\u016A","U"],["\u040C","Kj"],["\u045C","kj"],["\u0409","Lj"],["\u0459","lj"],["\u040A","Nj"],["\u045A","nj"],["\u0422\u0441","Ts"],["\u0442\u0441","ts"],["\u0105","a"],["\u0107","c"],["\u0119","e"],["\u0142","l"],["\u0144","n"],["\u015B","s"],["\u017A","z"],["\u017C","z"],["\u0104","A"],["\u0106","C"],["\u0118","E"],["\u0141","L"],["\u0143","N"],["\u015A","S"],["\u0179","Z"],["\u017B","Z"],["\u0404","Ye"],["\u0406","I"],["\u0407","Yi"],["\u0490","G"],["\u0454","ye"],["\u0456","i"],["\u0457","yi"],["\u0491","g"],["\u0132","IJ"],["\u0133","ij"],["\xA2","c"],["\xA5","Y"],["\u07FF","b"],["\u09F3","t"],["\u0AF1","Bo"],["\u0E3F","B"],["\u20A0","CE"],["\u20A1","C"],["\u20A2","Cr"],["\u20A3","F"],["\u20A5","m"],["\u20A6","N"],["\u20A7","Pt"],["\u20A8","Rs"],["\u20A9","W"],["\u20AB","s"],["\u20AC","E"],["\u20AD","K"],["\u20AE","T"],["\u20AF","Dp"],["\u20B0","S"],["\u20B1","P"],["\u20B2","G"],["\u20B3","A"],["\u20B4","S"],["\u20B5","C"],["\u20B6","tt"],["\u20B7","S"],["\u20B8","T"],["\u20B9","R"],["\u20BA","L"],["\u20BD","P"],["\u20BF","B"],["\uFE69","$"],["\uFFE0","c"],["\uFFE5","Y"],["\uFFE6","W"],["\u{1D400}","A"],["\u{1D401}","B"],["\u{1D402}","C"],["\u{1D403}","D"],["\u{1D404}","E"],["\u{1D405}","F"],["\u{1D406}","G"],["\u{1D407}","H"],["\u{1D408}","I"],["\u{1D409}","J"],["\u{1D40A}","K"],["\u{1D40B}","L"],["\u{1D40C}","M"],["\u{1D40D}","N"],["\u{1D40E}","O"],["\u{1D40F}","P"],["\u{1D410}","Q"],["\u{1D411}","R"],["\u{1D412}","S"],["\u{1D413}","T"],["\u{1D414}","U"],["\u{1D415}","V"],["\u{1D416}","W"],["\u{1D417}","X"],["\u{1D418}","Y"],["\u{1D419}","Z"],["\u{1D41A}","a"],["\u{1D41B}","b"],["\u{1D41C}","c"],["\u{1D41D}","d"],["\u{1D41E}","e"],["\u{1D41F}","f"],["\u{1D420}","g"],["\u{1D421}","h"],["\u{1D422}","i"],["\u{1D423}","j"],["\u{1D424}","k"],["\u{1D425}","l"],["\u{1D426}","m"],["\u{1D427}","n"],["\u{1D428}","o"],["\u{1D429}","p"],["\u{1D42A}","q"],["\u{1D42B}","r"],["\u{1D42C}","s"],["\u{1D42D}","t"],["\u{1D42E}","u"],["\u{1D42F}","v"],["\u{1D430}","w"],["\u{1D431}","x"],["\u{1D432}","y"],["\u{1D433}","z"],["\u{1D434}","A"],["\u{1D435}","B"],["\u{1D436}","C"],["\u{1D437}","D"],["\u{1D438}","E"],["\u{1D439}","F"],["\u{1D43A}","G"],["\u{1D43B}","H"],["\u{1D43C}","I"],["\u{1D43D}","J"],["\u{1D43E}","K"],["\u{1D43F}","L"],["\u{1D440}","M"],["\u{1D441}","N"],["\u{1D442}","O"],["\u{1D443}","P"],["\u{1D444}","Q"],["\u{1D445}","R"],["\u{1D446}","S"],["\u{1D447}","T"],["\u{1D448}","U"],["\u{1D449}","V"],["\u{1D44A}","W"],["\u{1D44B}","X"],["\u{1D44C}","Y"],["\u{1D44D}","Z"],["\u{1D44E}","a"],["\u{1D44F}","b"],["\u{1D450}","c"],["\u{1D451}","d"],["\u{1D452}","e"],["\u{1D453}","f"],["\u{1D454}","g"],["\u{1D456}","i"],["\u{1D457}","j"],["\u{1D458}","k"],["\u{1D459}","l"],["\u{1D45A}","m"],["\u{1D45B}","n"],["\u{1D45C}","o"],["\u{1D45D}","p"],["\u{1D45E}","q"],["\u{1D45F}","r"],["\u{1D460}","s"],["\u{1D461}","t"],["\u{1D462}","u"],["\u{1D463}","v"],["\u{1D464}","w"],["\u{1D465}","x"],["\u{1D466}","y"],["\u{1D467}","z"],["\u{1D468}","A"],["\u{1D469}","B"],["\u{1D46A}","C"],["\u{1D46B}","D"],["\u{1D46C}","E"],["\u{1D46D}","F"],["\u{1D46E}","G"],["\u{1D46F}","H"],["\u{1D470}","I"],["\u{1D471}","J"],["\u{1D472}","K"],["\u{1D473}","L"],["\u{1D474}","M"],["\u{1D475}","N"],["\u{1D476}","O"],["\u{1D477}","P"],["\u{1D478}","Q"],["\u{1D479}","R"],["\u{1D47A}","S"],["\u{1D47B}","T"],["\u{1D47C}","U"],["\u{1D47D}","V"],["\u{1D47E}","W"],["\u{1D47F}","X"],["\u{1D480}","Y"],["\u{1D481}","Z"],["\u{1D482}","a"],["\u{1D483}","b"],["\u{1D484}","c"],["\u{1D485}","d"],["\u{1D486}","e"],["\u{1D487}","f"],["\u{1D488}","g"],["\u{1D489}","h"],["\u{1D48A}","i"],["\u{1D48B}","j"],["\u{1D48C}","k"],["\u{1D48D}","l"],["\u{1D48E}","m"],["\u{1D48F}","n"],["\u{1D490}","o"],["\u{1D491}","p"],["\u{1D492}","q"],["\u{1D493}","r"],["\u{1D494}","s"],["\u{1D495}","t"],["\u{1D496}","u"],["\u{1D497}","v"],["\u{1D498}","w"],["\u{1D499}","x"],["\u{1D49A}","y"],["\u{1D49B}","z"],["\u{1D49C}","A"],["\u{1D49E}","C"],["\u{1D49F}","D"],["\u{1D4A2}","g"],["\u{1D4A5}","J"],["\u{1D4A6}","K"],["\u{1D4A9}","N"],["\u{1D4AA}","O"],["\u{1D4AB}","P"],["\u{1D4AC}","Q"],["\u{1D4AE}","S"],["\u{1D4AF}","T"],["\u{1D4B0}","U"],["\u{1D4B1}","V"],["\u{1D4B2}","W"],["\u{1D4B3}","X"],["\u{1D4B4}","Y"],["\u{1D4B5}","Z"],["\u{1D4B6}","a"],["\u{1D4B7}","b"],["\u{1D4B8}","c"],["\u{1D4B9}","d"],["\u{1D4BB}","f"],["\u{1D4BD}","h"],["\u{1D4BE}","i"],["\u{1D4BF}","j"],["\u{1D4C0}","k"],["\u{1D4C1}","l"],["\u{1D4C2}","m"],["\u{1D4C3}","n"],["\u{1D4C5}","p"],["\u{1D4C6}","q"],["\u{1D4C7}","r"],["\u{1D4C8}","s"],["\u{1D4C9}","t"],["\u{1D4CA}","u"],["\u{1D4CB}","v"],["\u{1D4CC}","w"],["\u{1D4CD}","x"],["\u{1D4CE}","y"],["\u{1D4CF}","z"],["\u{1D4D0}","A"],["\u{1D4D1}","B"],["\u{1D4D2}","C"],["\u{1D4D3}","D"],["\u{1D4D4}","E"],["\u{1D4D5}","F"],["\u{1D4D6}","G"],["\u{1D4D7}","H"],["\u{1D4D8}","I"],["\u{1D4D9}","J"],["\u{1D4DA}","K"],["\u{1D4DB}","L"],["\u{1D4DC}","M"],["\u{1D4DD}","N"],["\u{1D4DE}","O"],["\u{1D4DF}","P"],["\u{1D4E0}","Q"],["\u{1D4E1}","R"],["\u{1D4E2}","S"],["\u{1D4E3}","T"],["\u{1D4E4}","U"],["\u{1D4E5}","V"],["\u{1D4E6}","W"],["\u{1D4E7}","X"],["\u{1D4E8}","Y"],["\u{1D4E9}","Z"],["\u{1D4EA}","a"],["\u{1D4EB}","b"],["\u{1D4EC}","c"],["\u{1D4ED}","d"],["\u{1D4EE}","e"],["\u{1D4EF}","f"],["\u{1D4F0}","g"],["\u{1D4F1}","h"],["\u{1D4F2}","i"],["\u{1D4F3}","j"],["\u{1D4F4}","k"],["\u{1D4F5}","l"],["\u{1D4F6}","m"],["\u{1D4F7}","n"],["\u{1D4F8}","o"],["\u{1D4F9}","p"],["\u{1D4FA}","q"],["\u{1D4FB}","r"],["\u{1D4FC}","s"],["\u{1D4FD}","t"],["\u{1D4FE}","u"],["\u{1D4FF}","v"],["\u{1D500}","w"],["\u{1D501}","x"],["\u{1D502}","y"],["\u{1D503}","z"],["\u{1D504}","A"],["\u{1D505}","B"],["\u{1D507}","D"],["\u{1D508}","E"],["\u{1D509}","F"],["\u{1D50A}","G"],["\u{1D50D}","J"],["\u{1D50E}","K"],["\u{1D50F}","L"],["\u{1D510}","M"],["\u{1D511}","N"],["\u{1D512}","O"],["\u{1D513}","P"],["\u{1D514}","Q"],["\u{1D516}","S"],["\u{1D517}","T"],["\u{1D518}","U"],["\u{1D519}","V"],["\u{1D51A}","W"],["\u{1D51B}","X"],["\u{1D51C}","Y"],["\u{1D51E}","a"],["\u{1D51F}","b"],["\u{1D520}","c"],["\u{1D521}","d"],["\u{1D522}","e"],["\u{1D523}","f"],["\u{1D524}","g"],["\u{1D525}","h"],["\u{1D526}","i"],["\u{1D527}","j"],["\u{1D528}","k"],["\u{1D529}","l"],["\u{1D52A}","m"],["\u{1D52B}","n"],["\u{1D52C}","o"],["\u{1D52D}","p"],["\u{1D52E}","q"],["\u{1D52F}","r"],["\u{1D530}","s"],["\u{1D531}","t"],["\u{1D532}","u"],["\u{1D533}","v"],["\u{1D534}","w"],["\u{1D535}","x"],["\u{1D536}","y"],["\u{1D537}","z"],["\u{1D538}","A"],["\u{1D539}","B"],["\u{1D53B}","D"],["\u{1D53C}","E"],["\u{1D53D}","F"],["\u{1D53E}","G"],["\u{1D540}","I"],["\u{1D541}","J"],["\u{1D542}","K"],["\u{1D543}","L"],["\u{1D544}","M"],["\u{1D546}","O"],["\u{1D54A}","S"],["\u{1D54B}","T"],["\u{1D54C}","U"],["\u{1D54D}","V"],["\u{1D54E}","W"],["\u{1D54F}","X"],["\u{1D550}","Y"],["\u{1D552}","a"],["\u{1D553}","b"],["\u{1D554}","c"],["\u{1D555}","d"],["\u{1D556}","e"],["\u{1D557}","f"],["\u{1D558}","g"],["\u{1D559}","h"],["\u{1D55A}","i"],["\u{1D55B}","j"],["\u{1D55C}","k"],["\u{1D55D}","l"],["\u{1D55E}","m"],["\u{1D55F}","n"],["\u{1D560}","o"],["\u{1D561}","p"],["\u{1D562}","q"],["\u{1D563}","r"],["\u{1D564}","s"],["\u{1D565}","t"],["\u{1D566}","u"],["\u{1D567}","v"],["\u{1D568}","w"],["\u{1D569}","x"],["\u{1D56A}","y"],["\u{1D56B}","z"],["\u{1D56C}","A"],["\u{1D56D}","B"],["\u{1D56E}","C"],["\u{1D56F}","D"],["\u{1D570}","E"],["\u{1D571}","F"],["\u{1D572}","G"],["\u{1D573}","H"],["\u{1D574}","I"],["\u{1D575}","J"],["\u{1D576}","K"],["\u{1D577}","L"],["\u{1D578}","M"],["\u{1D579}","N"],["\u{1D57A}","O"],["\u{1D57B}","P"],["\u{1D57C}","Q"],["\u{1D57D}","R"],["\u{1D57E}","S"],["\u{1D57F}","T"],["\u{1D580}","U"],["\u{1D581}","V"],["\u{1D582}","W"],["\u{1D583}","X"],["\u{1D584}","Y"],["\u{1D585}","Z"],["\u{1D586}","a"],["\u{1D587}","b"],["\u{1D588}","c"],["\u{1D589}","d"],["\u{1D58A}","e"],["\u{1D58B}","f"],["\u{1D58C}","g"],["\u{1D58D}","h"],["\u{1D58E}","i"],["\u{1D58F}","j"],["\u{1D590}","k"],["\u{1D591}","l"],["\u{1D592}","m"],["\u{1D593}","n"],["\u{1D594}","o"],["\u{1D595}","p"],["\u{1D596}","q"],["\u{1D597}","r"],["\u{1D598}","s"],["\u{1D599}","t"],["\u{1D59A}","u"],["\u{1D59B}","v"],["\u{1D59C}","w"],["\u{1D59D}","x"],["\u{1D59E}","y"],["\u{1D59F}","z"],["\u{1D5A0}","A"],["\u{1D5A1}","B"],["\u{1D5A2}","C"],["\u{1D5A3}","D"],["\u{1D5A4}","E"],["\u{1D5A5}","F"],["\u{1D5A6}","G"],["\u{1D5A7}","H"],["\u{1D5A8}","I"],["\u{1D5A9}","J"],["\u{1D5AA}","K"],["\u{1D5AB}","L"],["\u{1D5AC}","M"],["\u{1D5AD}","N"],["\u{1D5AE}","O"],["\u{1D5AF}","P"],["\u{1D5B0}","Q"],["\u{1D5B1}","R"],["\u{1D5B2}","S"],["\u{1D5B3}","T"],["\u{1D5B4}","U"],["\u{1D5B5}","V"],["\u{1D5B6}","W"],["\u{1D5B7}","X"],["\u{1D5B8}","Y"],["\u{1D5B9}","Z"],["\u{1D5BA}","a"],["\u{1D5BB}","b"],["\u{1D5BC}","c"],["\u{1D5BD}","d"],["\u{1D5BE}","e"],["\u{1D5BF}","f"],["\u{1D5C0}","g"],["\u{1D5C1}","h"],["\u{1D5C2}","i"],["\u{1D5C3}","j"],["\u{1D5C4}","k"],["\u{1D5C5}","l"],["\u{1D5C6}","m"],["\u{1D5C7}","n"],["\u{1D5C8}","o"],["\u{1D5C9}","p"],["\u{1D5CA}","q"],["\u{1D5CB}","r"],["\u{1D5CC}","s"],["\u{1D5CD}","t"],["\u{1D5CE}","u"],["\u{1D5CF}","v"],["\u{1D5D0}","w"],["\u{1D5D1}","x"],["\u{1D5D2}","y"],["\u{1D5D3}","z"],["\u{1D5D4}","A"],["\u{1D5D5}","B"],["\u{1D5D6}","C"],["\u{1D5D7}","D"],["\u{1D5D8}","E"],["\u{1D5D9}","F"],["\u{1D5DA}","G"],["\u{1D5DB}","H"],["\u{1D5DC}","I"],["\u{1D5DD}","J"],["\u{1D5DE}","K"],["\u{1D5DF}","L"],["\u{1D5E0}","M"],["\u{1D5E1}","N"],["\u{1D5E2}","O"],["\u{1D5E3}","P"],["\u{1D5E4}","Q"],["\u{1D5E5}","R"],["\u{1D5E6}","S"],["\u{1D5E7}","T"],["\u{1D5E8}","U"],["\u{1D5E9}","V"],["\u{1D5EA}","W"],["\u{1D5EB}","X"],["\u{1D5EC}","Y"],["\u{1D5ED}","Z"],["\u{1D5EE}","a"],["\u{1D5EF}","b"],["\u{1D5F0}","c"],["\u{1D5F1}","d"],["\u{1D5F2}","e"],["\u{1D5F3}","f"],["\u{1D5F4}","g"],["\u{1D5F5}","h"],["\u{1D5F6}","i"],["\u{1D5F7}","j"],["\u{1D5F8}","k"],["\u{1D5F9}","l"],["\u{1D5FA}","m"],["\u{1D5FB}","n"],["\u{1D5FC}","o"],["\u{1D5FD}","p"],["\u{1D5FE}","q"],["\u{1D5FF}","r"],["\u{1D600}","s"],["\u{1D601}","t"],["\u{1D602}","u"],["\u{1D603}","v"],["\u{1D604}","w"],["\u{1D605}","x"],["\u{1D606}","y"],["\u{1D607}","z"],["\u{1D608}","A"],["\u{1D609}","B"],["\u{1D60A}","C"],["\u{1D60B}","D"],["\u{1D60C}","E"],["\u{1D60D}","F"],["\u{1D60E}","G"],["\u{1D60F}","H"],["\u{1D610}","I"],["\u{1D611}","J"],["\u{1D612}","K"],["\u{1D613}","L"],["\u{1D614}","M"],["\u{1D615}","N"],["\u{1D616}","O"],["\u{1D617}","P"],["\u{1D618}","Q"],["\u{1D619}","R"],["\u{1D61A}","S"],["\u{1D61B}","T"],["\u{1D61C}","U"],["\u{1D61D}","V"],["\u{1D61E}","W"],["\u{1D61F}","X"],["\u{1D620}","Y"],["\u{1D621}","Z"],["\u{1D622}","a"],["\u{1D623}","b"],["\u{1D624}","c"],["\u{1D625}","d"],["\u{1D626}","e"],["\u{1D627}","f"],["\u{1D628}","g"],["\u{1D629}","h"],["\u{1D62A}","i"],["\u{1D62B}","j"],["\u{1D62C}","k"],["\u{1D62D}","l"],["\u{1D62E}","m"],["\u{1D62F}","n"],["\u{1D630}","o"],["\u{1D631}","p"],["\u{1D632}","q"],["\u{1D633}","r"],["\u{1D634}","s"],["\u{1D635}","t"],["\u{1D636}","u"],["\u{1D637}","v"],["\u{1D638}","w"],["\u{1D639}","x"],["\u{1D63A}","y"],["\u{1D63B}","z"],["\u{1D63C}","A"],["\u{1D63D}","B"],["\u{1D63E}","C"],["\u{1D63F}","D"],["\u{1D640}","E"],["\u{1D641}","F"],["\u{1D642}","G"],["\u{1D643}","H"],["\u{1D644}","I"],["\u{1D645}","J"],["\u{1D646}","K"],["\u{1D647}","L"],["\u{1D648}","M"],["\u{1D649}","N"],["\u{1D64A}","O"],["\u{1D64B}","P"],["\u{1D64C}","Q"],["\u{1D64D}","R"],["\u{1D64E}","S"],["\u{1D64F}","T"],["\u{1D650}","U"],["\u{1D651}","V"],["\u{1D652}","W"],["\u{1D653}","X"],["\u{1D654}","Y"],["\u{1D655}","Z"],["\u{1D656}","a"],["\u{1D657}","b"],["\u{1D658}","c"],["\u{1D659}","d"],["\u{1D65A}","e"],["\u{1D65B}","f"],["\u{1D65C}","g"],["\u{1D65D}","h"],["\u{1D65E}","i"],["\u{1D65F}","j"],["\u{1D660}","k"],["\u{1D661}","l"],["\u{1D662}","m"],["\u{1D663}","n"],["\u{1D664}","o"],["\u{1D665}","p"],["\u{1D666}","q"],["\u{1D667}","r"],["\u{1D668}","s"],["\u{1D669}","t"],["\u{1D66A}","u"],["\u{1D66B}","v"],["\u{1D66C}","w"],["\u{1D66D}","x"],["\u{1D66E}","y"],["\u{1D66F}","z"],["\u{1D670}","A"],["\u{1D671}","B"],["\u{1D672}","C"],["\u{1D673}","D"],["\u{1D674}","E"],["\u{1D675}","F"],["\u{1D676}","G"],["\u{1D677}","H"],["\u{1D678}","I"],["\u{1D679}","J"],["\u{1D67A}","K"],["\u{1D67B}","L"],["\u{1D67C}","M"],["\u{1D67D}","N"],["\u{1D67E}","O"],["\u{1D67F}","P"],["\u{1D680}","Q"],["\u{1D681}","R"],["\u{1D682}","S"],["\u{1D683}","T"],["\u{1D684}","U"],["\u{1D685}","V"],["\u{1D686}","W"],["\u{1D687}","X"],["\u{1D688}","Y"],["\u{1D689}","Z"],["\u{1D68A}","a"],["\u{1D68B}","b"],["\u{1D68C}","c"],["\u{1D68D}","d"],["\u{1D68E}","e"],["\u{1D68F}","f"],["\u{1D690}","g"],["\u{1D691}","h"],["\u{1D692}","i"],["\u{1D693}","j"],["\u{1D694}","k"],["\u{1D695}","l"],["\u{1D696}","m"],["\u{1D697}","n"],["\u{1D698}","o"],["\u{1D699}","p"],["\u{1D69A}","q"],["\u{1D69B}","r"],["\u{1D69C}","s"],["\u{1D69D}","t"],["\u{1D69E}","u"],["\u{1D69F}","v"],["\u{1D6A0}","w"],["\u{1D6A1}","x"],["\u{1D6A2}","y"],["\u{1D6A3}","z"],["\u{1D6A4}","l"],["\u{1D6A5}","j"],["\u{1D6E2}","A"],["\u{1D6E3}","B"],["\u{1D6E4}","G"],["\u{1D6E5}","D"],["\u{1D6E6}","E"],["\u{1D6E7}","Z"],["\u{1D6E8}","I"],["\u{1D6E9}","TH"],["\u{1D6EA}","I"],["\u{1D6EB}","K"],["\u{1D6EC}","L"],["\u{1D6ED}","M"],["\u{1D6EE}","N"],["\u{1D6EF}","KS"],["\u{1D6F0}","O"],["\u{1D6F1}","P"],["\u{1D6F2}","R"],["\u{1D6F3}","TH"],["\u{1D6F4}","S"],["\u{1D6F5}","T"],["\u{1D6F6}","Y"],["\u{1D6F7}","F"],["\u{1D6F8}","x"],["\u{1D6F9}","PS"],["\u{1D6FA}","O"],["\u{1D6FB}","D"],["\u{1D6FC}","a"],["\u{1D6FD}","b"],["\u{1D6FE}","g"],["\u{1D6FF}","d"],["\u{1D700}","e"],["\u{1D701}","z"],["\u{1D702}","i"],["\u{1D703}","th"],["\u{1D704}","i"],["\u{1D705}","k"],["\u{1D706}","l"],["\u{1D707}","m"],["\u{1D708}","n"],["\u{1D709}","ks"],["\u{1D70A}","o"],["\u{1D70B}","p"],["\u{1D70C}","r"],["\u{1D70D}","s"],["\u{1D70E}","s"],["\u{1D70F}","t"],["\u{1D710}","y"],["\u{1D711}","f"],["\u{1D712}","x"],["\u{1D713}","ps"],["\u{1D714}","o"],["\u{1D715}","d"],["\u{1D716}","E"],["\u{1D717}","TH"],["\u{1D718}","K"],["\u{1D719}","f"],["\u{1D71A}","r"],["\u{1D71B}","p"],["\u{1D71C}","A"],["\u{1D71D}","V"],["\u{1D71E}","G"],["\u{1D71F}","D"],["\u{1D720}","E"],["\u{1D721}","Z"],["\u{1D722}","I"],["\u{1D723}","TH"],["\u{1D724}","I"],["\u{1D725}","K"],["\u{1D726}","L"],["\u{1D727}","M"],["\u{1D728}","N"],["\u{1D729}","KS"],["\u{1D72A}","O"],["\u{1D72B}","P"],["\u{1D72C}","S"],["\u{1D72D}","TH"],["\u{1D72E}","S"],["\u{1D72F}","T"],["\u{1D730}","Y"],["\u{1D731}","F"],["\u{1D732}","X"],["\u{1D733}","PS"],["\u{1D734}","O"],["\u{1D735}","D"],["\u{1D736}","a"],["\u{1D737}","v"],["\u{1D738}","g"],["\u{1D739}","d"],["\u{1D73A}","e"],["\u{1D73B}","z"],["\u{1D73C}","i"],["\u{1D73D}","th"],["\u{1D73E}","i"],["\u{1D73F}","k"],["\u{1D740}","l"],["\u{1D741}","m"],["\u{1D742}","n"],["\u{1D743}","ks"],["\u{1D744}","o"],["\u{1D745}","p"],["\u{1D746}","r"],["\u{1D747}","s"],["\u{1D748}","s"],["\u{1D749}","t"],["\u{1D74A}","y"],["\u{1D74B}","f"],["\u{1D74C}","x"],["\u{1D74D}","ps"],["\u{1D74E}","o"],["\u{1D74F}","a"],["\u{1D750}","e"],["\u{1D751}","i"],["\u{1D752}","k"],["\u{1D753}","f"],["\u{1D754}","r"],["\u{1D755}","p"],["\u{1D756}","A"],["\u{1D757}","B"],["\u{1D758}","G"],["\u{1D759}","D"],["\u{1D75A}","E"],["\u{1D75B}","Z"],["\u{1D75C}","I"],["\u{1D75D}","TH"],["\u{1D75E}","I"],["\u{1D75F}","K"],["\u{1D760}","L"],["\u{1D761}","M"],["\u{1D762}","N"],["\u{1D763}","KS"],["\u{1D764}","O"],["\u{1D765}","P"],["\u{1D766}","R"],["\u{1D767}","TH"],["\u{1D768}","S"],["\u{1D769}","T"],["\u{1D76A}","Y"],["\u{1D76B}","F"],["\u{1D76C}","X"],["\u{1D76D}","PS"],["\u{1D76E}","O"],["\u{1D76F}","D"],["\u{1D770}","a"],["\u{1D771}","v"],["\u{1D772}","g"],["\u{1D773}","d"],["\u{1D774}","e"],["\u{1D775}","z"],["\u{1D776}","i"],["\u{1D777}","th"],["\u{1D778}","i"],["\u{1D779}","k"],["\u{1D77A}","l"],["\u{1D77B}","m"],["\u{1D77C}","n"],["\u{1D77D}","ks"],["\u{1D77E}","o"],["\u{1D77F}","p"],["\u{1D780}","r"],["\u{1D781}","s"],["\u{1D782}","s"],["\u{1D783}","t"],["\u{1D784}","y"],["\u{1D785}","f"],["\u{1D786}","x"],["\u{1D787}","ps"],["\u{1D788}","o"],["\u{1D789}","a"],["\u{1D78A}","e"],["\u{1D78B}","i"],["\u{1D78C}","k"],["\u{1D78D}","f"],["\u{1D78E}","r"],["\u{1D78F}","p"],["\u{1D790}","A"],["\u{1D791}","V"],["\u{1D792}","G"],["\u{1D793}","D"],["\u{1D794}","E"],["\u{1D795}","Z"],["\u{1D796}","I"],["\u{1D797}","TH"],["\u{1D798}","I"],["\u{1D799}","K"],["\u{1D79A}","L"],["\u{1D79B}","M"],["\u{1D79C}","N"],["\u{1D79D}","KS"],["\u{1D79E}","O"],["\u{1D79F}","P"],["\u{1D7A0}","S"],["\u{1D7A1}","TH"],["\u{1D7A2}","S"],["\u{1D7A3}","T"],["\u{1D7A4}","Y"],["\u{1D7A5}","F"],["\u{1D7A6}","X"],["\u{1D7A7}","PS"],["\u{1D7A8}","O"],["\u{1D7A9}","D"],["\u{1D7AA}","av"],["\u{1D7AB}","g"],["\u{1D7AC}","d"],["\u{1D7AD}","e"],["\u{1D7AE}","z"],["\u{1D7AF}","i"],["\u{1D7B0}","i"],["\u{1D7B1}","th"],["\u{1D7B2}","i"],["\u{1D7B3}","k"],["\u{1D7B4}","l"],["\u{1D7B5}","m"],["\u{1D7B6}","n"],["\u{1D7B7}","ks"],["\u{1D7B8}","o"],["\u{1D7B9}","p"],["\u{1D7BA}","r"],["\u{1D7BB}","s"],["\u{1D7BC}","s"],["\u{1D7BD}","t"],["\u{1D7BE}","y"],["\u{1D7BF}","f"],["\u{1D7C0}","x"],["\u{1D7C1}","ps"],["\u{1D7C2}","o"],["\u{1D7C3}","a"],["\u{1D7C4}","e"],["\u{1D7C5}","i"],["\u{1D7C6}","k"],["\u{1D7C7}","f"],["\u{1D7C8}","r"],["\u{1D7C9}","p"],["\u{1D7CA}","F"],["\u{1D7CB}","f"],["\u249C","(a)"],["\u249D","(b)"],["\u249E","(c)"],["\u249F","(d)"],["\u24A0","(e)"],["\u24A1","(f)"],["\u24A2","(g)"],["\u24A3","(h)"],["\u24A4","(i)"],["\u24A5","(j)"],["\u24A6","(k)"],["\u24A7","(l)"],["\u24A8","(m)"],["\u24A9","(n)"],["\u24AA","(o)"],["\u24AB","(p)"],["\u24AC","(q)"],["\u24AD","(r)"],["\u24AE","(s)"],["\u24AF","(t)"],["\u24B0","(u)"],["\u24B1","(v)"],["\u24B2","(w)"],["\u24B3","(x)"],["\u24B4","(y)"],["\u24B5","(z)"],["\u24B6","(A)"],["\u24B7","(B)"],["\u24B8","(C)"],["\u24B9","(D)"],["\u24BA","(E)"],["\u24BB","(F)"],["\u24BC","(G)"],["\u24BD","(H)"],["\u24BE","(I)"],["\u24BF","(J)"],["\u24C0","(K)"],["\u24C1","(L)"],["\u24C3","(N)"],["\u24C4","(O)"],["\u24C5","(P)"],["\u24C6","(Q)"],["\u24C7","(R)"],["\u24C8","(S)"],["\u24C9","(T)"],["\u24CA","(U)"],["\u24CB","(V)"],["\u24CC","(W)"],["\u24CD","(X)"],["\u24CE","(Y)"],["\u24CF","(Z)"],["\u24D0","(a)"],["\u24D1","(b)"],["\u24D2","(c)"],["\u24D3","(d)"],["\u24D4","(e)"],["\u24D5","(f)"],["\u24D6","(g)"],["\u24D7","(h)"],["\u24D8","(i)"],["\u24D9","(j)"],["\u24DA","(k)"],["\u24DB","(l)"],["\u24DC","(m)"],["\u24DD","(n)"],["\u24DE","(o)"],["\u24DF","(p)"],["\u24E0","(q)"],["\u24E1","(r)"],["\u24E2","(s)"],["\u24E3","(t)"],["\u24E4","(u)"],["\u24E5","(v)"],["\u24E6","(w)"],["\u24E7","(x)"],["\u24E8","(y)"],["\u24E9","(z)"],["\u010A","C"],["\u010B","c"],["\u0120","G"],["\u0121","g"],["\u0126","H"],["\u0127","h"],["\u017B","Z"],["\u017C","z"],["\u{1D7CE}","0"],["\u{1D7CF}","1"],["\u{1D7D0}","2"],["\u{1D7D1}","3"],["\u{1D7D2}","4"],["\u{1D7D3}","5"],["\u{1D7D4}","6"],["\u{1D7D5}","7"],["\u{1D7D6}","8"],["\u{1D7D7}","9"],["\u{1D7D8}","0"],["\u{1D7D9}","1"],["\u{1D7DA}","2"],["\u{1D7DB}","3"],["\u{1D7DC}","4"],["\u{1D7DD}","5"],["\u{1D7DE}","6"],["\u{1D7DF}","7"],["\u{1D7E0}","8"],["\u{1D7E1}","9"],["\u{1D7E2}","0"],["\u{1D7E3}","1"],["\u{1D7E4}","2"],["\u{1D7E5}","3"],["\u{1D7E6}","4"],["\u{1D7E7}","5"],["\u{1D7E8}","6"],["\u{1D7E9}","7"],["\u{1D7EA}","8"],["\u{1D7EB}","9"],["\u{1D7EC}","0"],["\u{1D7ED}","1"],["\u{1D7EE}","2"],["\u{1D7EF}","3"],["\u{1D7F0}","4"],["\u{1D7F1}","5"],["\u{1D7F2}","6"],["\u{1D7F3}","7"],["\u{1D7F4}","8"],["\u{1D7F5}","9"],["\u{1D7F6}","0"],["\u{1D7F7}","1"],["\u{1D7F8}","2"],["\u{1D7F9}","3"],["\u{1D7FA}","4"],["\u{1D7FB}","5"],["\u{1D7FC}","6"],["\u{1D7FD}","7"],["\u{1D7FE}","8"],["\u{1D7FF}","9"],["\u2460","1"],["\u2461","2"],["\u2462","3"],["\u2463","4"],["\u2464","5"],["\u2465","6"],["\u2466","7"],["\u2467","8"],["\u2468","9"],["\u2469","10"],["\u246A","11"],["\u246B","12"],["\u246C","13"],["\u246D","14"],["\u246E","15"],["\u246F","16"],["\u2470","17"],["\u2471","18"],["\u2472","19"],["\u2473","20"],["\u2474","1"],["\u2475","2"],["\u2476","3"],["\u2477","4"],["\u2478","5"],["\u2479","6"],["\u247A","7"],["\u247B","8"],["\u247C","9"],["\u247D","10"],["\u247E","11"],["\u247F","12"],["\u2480","13"],["\u2481","14"],["\u2482","15"],["\u2483","16"],["\u2484","17"],["\u2485","18"],["\u2486","19"],["\u2487","20"],["\u2488","1."],["\u2489","2."],["\u248A","3."],["\u248B","4."],["\u248C","5."],["\u248D","6."],["\u248E","7."],["\u248F","8."],["\u2490","9."],["\u2491","10."],["\u2492","11."],["\u2493","12."],["\u2494","13."],["\u2495","14."],["\u2496","15."],["\u2497","16."],["\u2498","17."],["\u2499","18."],["\u249A","19."],["\u249B","20."],["\u24EA","0"],["\u24EB","11"],["\u24EC","12"],["\u24ED","13"],["\u24EE","14"],["\u24EF","15"],["\u24F0","16"],["\u24F1","17"],["\u24F2","18"],["\u24F3","19"],["\u24F4","20"],["\u24F5","1"],["\u24F6","2"],["\u24F7","3"],["\u24F8","4"],["\u24F9","5"],["\u24FA","6"],["\u24FB","7"],["\u24FC","8"],["\u24FD","9"],["\u24FE","10"],["\u24FF","0"],["\u{1F670}","&"],["\u{1F671}","&"],["\u{1F672}","&"],["\u{1F673}","&"],["\u{1F674}","&"],["\u{1F675}","&"],["\u{1F676}",'"'],["\u{1F677}",'"'],["\u{1F678}",'"'],["\u203D","?!"],["\u{1F679}","?!"],["\u{1F67A}","?!"],["\u{1F67B}","?!"],["\u{1F67C}","/"],["\u{1F67D}","\\"],["\u{1F707}","AR"],["\u{1F708}","V"],["\u{1F709}","V"],["\u{1F706}","VR"],["\u{1F705}","VF"],["\u{1F729}","2"],["\u{1F72A}","5"],["\u{1F761}","f"],["\u{1F762}","W"],["\u{1F763}","U"],["\u{1F767}","V"],["\u{1F768}","T"],["\u{1F76A}","V"],["\u{1F76B}","MB"],["\u{1F76C}","VB"],["\u{1F772}","3B"],["\u{1F773}","3B"],["\u{1F4AF}","100"],["\u{1F519}","BACK"],["\u{1F51A}","END"],["\u{1F51B}","ON!"],["\u{1F51C}","SOON"],["\u{1F51D}","TOP"],["\u{1F51E}","18"],["\u{1F524}","abc"],["\u{1F520}","ABCD"],["\u{1F521}","abcd"],["\u{1F522}","1234"],["\u{1F523}","T&@%"],["#\uFE0F\u20E3","#"],["*\uFE0F\u20E3","*"],["0\uFE0F\u20E3","0"],["1\uFE0F\u20E3","1"],["2\uFE0F\u20E3","2"],["3\uFE0F\u20E3","3"],["4\uFE0F\u20E3","4"],["5\uFE0F\u20E3","5"],["6\uFE0F\u20E3","6"],["7\uFE0F\u20E3","7"],["8\uFE0F\u20E3","8"],["9\uFE0F\u20E3","9"],["\u{1F51F}","10"],["\u{1F170}\uFE0F","A"],["\u{1F171}\uFE0F","B"],["\u{1F18E}","AB"],["\u{1F191}","CL"],["\u{1F17E}\uFE0F","O"],["\u{1F17F}","P"],["\u{1F198}","SOS"],["\u{1F172}","C"],["\u{1F173}","D"],["\u{1F174}","E"],["\u{1F175}","F"],["\u{1F176}","G"],["\u{1F177}","H"],["\u{1F178}","I"],["\u{1F179}","J"],["\u{1F17A}","K"],["\u{1F17B}","L"],["\u{1F17C}","M"],["\u{1F17D}","N"],["\u{1F180}","Q"],["\u{1F181}","R"],["\u{1F182}","S"],["\u{1F183}","T"],["\u{1F184}","U"],["\u{1F185}","V"],["\u{1F186}","W"],["\u{1F187}","X"],["\u{1F188}","Y"],["\u{1F189}","Z"],["\u2212","-"],["\u2053","-"]],kf=[["\xE6","ae"],["\xC6","Ae"],["\xF8","oe"],["\xD8","Oe"],["\xE5","aa"],["\xC5","Aa"]],Sf={sv:[["\xE4","a"],["\xC4","A"],["\xF6","o"],["\xD6","O"],["\xE5","a"],["\xC5","A"]],da:kf,nb:kf,de:[["\xE4","ae"],["\xC4","Ae"],["\xF6","oe"],["\xD6","Oe"],["\xFC","ue"],["\xDC","Ue"],["\xDF","ss"],["\u1E9E","Ss"]],tr:[["\xE2","a"],["\xC2","A"],["\xF6","o"],["\xD6","O"],["\xFC","u"],["\xDC","U"]],hu:[["\u0171","u"],["\u0170","U"],["\xF6","o"],["\xD6","O"],["\xFC","u"],["\xDC","U"],["\xE1","a"],["\xC1","A"],["\xE9","e"],["\xC9","E"],["\xED","i"],["\xCD","I"],["\xF3","o"],["\xD3","O"],["\xFA","u"],["\xDA","U"]],sr:[["\u0452","dj"],["\u0402","Dj"],["\u045F","dz"],["\u040F","Dz"],["\u0459","lj"],["\u0409","Lj"],["\u045A","nj"],["\u040A","Nj"],["\u045B","c"],["\u040B","C"],["\u0447","ch"],["\u0427","Ch"],["\u0448","sh"],["\u0428","Sh"],["\u0436","zh"],["\u0416","Zh"]]},iS=s((e,t)=>{for(const[n,r]of t)e=e.replaceAll(n,r);return e},"doCustomReplacements"),sS=s(e=>{if(!e)return[];const t=e.toLowerCase().replace(/^no(-|$)/,"nb$1");return Sf[t]||Sf[t.split("-")[0]]||[]},"getLocaleReplacements");function uS(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={customReplacements:[],...t};const n=sS(t.locale),r=new Map([...rS,...n,...t.customReplacements]);return e=e.normalize(),e=iS(e,r),e=e.normalize("NFD").replaceAll(/\p{Diacritic}/gu,"").normalize(),e=e.replaceAll(/\p{Dash_Punctuation}/gu,"-"),e}s(uS,"transliterate");const aS=[["&"," and "],["\u{1F984}"," unicorn "],["\u2665"," love "]],oS=s(e=>e.replaceAll(/([A-Z]{2,})(\d+)/g,"$1 $2").replaceAll(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replaceAll(/([a-z\d])([A-Z])/g,"$1 $2").replaceAll(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),"decamelize"),lS=s((e,t)=>{const n=Mi(t);return e.replaceAll(new RegExp(`(?:${n}){2,}`,"g"),t).replaceAll(new RegExp(`^(?:${n})|(?:${n})$`,"g"),"")},"removeMootSeparators"),cS=s(e=>{let t=String.raw`a-z\d`;if(t+=e.lowercase?"":"A-Z",e.transliterate===!1&&(t+=String.raw`\p{L}\p{N}`),e.preserveCharacters.length>0)for(const r of e.preserveCharacters){if(r===e.separator)throw new Error(`The separator character \`${e.separator}\` cannot be included in preserved characters: ${e.preserveCharacters}`);t+=Mi(r)}const n=e.transliterate?"g":"gu";return new RegExp(`[^${t}]+`,n)},"buildPatternSlug");function hS(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[],transliterate:!0,...t};const n=t.preserveLeadingUnderscore&&e.startsWith("_"),r=t.preserveTrailingDash&&e.endsWith("-");if(t.transliterate){const u=new Map([...aS,...t.customReplacements]);e=uS(e,{customReplacements:u,locale:t.locale})}else if(t.customReplacements.length>0)for(const[u,a]of t.customReplacements)e=e.replaceAll(u,a);t.decamelize&&(e=oS(e));const i=cS(t);return t.lowercase&&(e=t.locale?e.toLocaleLowerCase(t.locale):e.toLowerCase()),e=e.replaceAll(/([a-zA-Z\d]+)['\u2019]([ts])(\s|$)/g,"$1$2$3"),e=e.replace(i,t.separator),e=e.replaceAll("\\",""),t.separator&&(e=lS(e,t.separator)),n&&(e=`_${e}`),r&&(e=`${e}-`),e}s(hS,"slugify");const fS=s(e=>{if(typeof e=="string")return new globalThis.TextEncoder().encode(e).buffer;if(e instanceof ArrayBuffer)return e.slice();const n=typeof Buffer<"u"&&Buffer.isBuffer?.(e)?new Uint8Array(e):e;if(n instanceof DataView){const r=new ArrayBuffer(n.byteLength),i=new Uint8Array(r);for(let u=0;u<n.byteLength;u++)i[u]=n.getUint8(u);return r}return n.buffer.slice(n.byteOffset,n.byteOffset+n.byteLength)},"toArrayBuffer"),_f="0123456789abcdef",Bf=[];for(let e=0;e<256;e++)Bf[e]=_f[e>>>4&15]+_f[e&15];const dS=s(e=>{if(typeof Buffer<"u"&&typeof Buffer.from=="function")return Buffer.from(e).toString("hex");const t=new Uint8Array(e);let n="";for(let r=0;r<t.length;r++)n+=Bf[t[r]];return n},"bufferToHex"),pS=s(e=>async(t,{outputFormat:n="hex"}={})=>{const r=fS(t),i=await globalThis.crypto.subtle.digest(e,r);return n==="hex"?dS(i):i},"create$1"),mS=pS("SHA-256");async function gS(e,t){try{return await t.stat(e),!0}catch{return!1}}s(gS,"fileExists");async function wf(e,t,n=Z3){switch(n){case"content":{const r=await t.readFileBuffer(e);return(await mS(r)).slice(0,16)}case"metadata":{const{mtimeMs:r,size:i}=await t.stat(e),u=`${r??""}${i??""}`;return u===""?wf(e,t,"name"):Oi(u,16)}case"name":return Oi(e,16)}}s(wf,"getFileContentHash");function Qt(e,t=!1){return ES(e,t),Ff(e)}s(Qt,"validateAndSanitizeNamespace");function Ff(e){return e.normalize("NFC").trim()}s(Ff,"sanitizeNamespace");function ES(e,t=!1){const n=[];e.trim().length===0&&n.push("Cannot be empty"),e.trim().length>Ef&&n.push(`Cannot be longer than ${Ef} characters`);const r=[[/:/,"Colon"],[/\u0000/,"Null"],[/\u0001/,"Start of Heading"],[/\u0002/,"Start of Text"],[/\u0003/,"End of Text"],[/\u0004/,"End of Transmission"],[/\u0005/,"Enquiry"],[/\u0006/,"Acknowledge"],[/\u0007/,"Bell"],[/\u0008/,"Backspace"],[/\u0009/,"Horizontal Tab"],[/\u000A/,"Line Feed"],[/\u000B/,"Vertical Tab"],[/\u000C/,"Form Feed"],[/\u000D/,"Carriage Return"],[/\u000E/,"Shift Out"],[/\u000F/,"Shift In"],[/\u0010/,"Data Link Escape"],[/\u0011/,"Device Control 1"],[/\u0012/,"Device Control 2"],[/\u0013/,"Device Control 3"],[/\u0014/,"Device Control 4"],[/\u0015/,"Negative Acknowledge"],[/\u0016/,"Synchronous Idle"],[/\u0017/,"End of Transmission Block"],[/\u0018/,"Cancel"],[/\u0019/,"End of Medium"],[/\u001A/,"Substitute"],[/\u001B/,"Escape"],[/\u001C/,"File Separator"],[/\u001D/,"Group Separator"],[/\u001E/,"Record Separator"],[/\u001F/,"Unit Separator"],[/\u007F/,"Delete"],[/\u0080/,"Padding Character"],[/\u0081/,"High Octet Preset"],[/\u0082/,"Break Permitted Here"],[/\u0083/,"No Break Here"],[/\u0084/,"Index"],[/\u0085/,"Next Line"],[/\u0086/,"Start of Selected Area"],[/\u0087/,"End of Selected Area"],[/\u0088/,"Character Tabulation Set"],[/\u0089/,"Character Tabulation with Justification"],[/\u008A/,"Line Tabulation Set"],[/\u008B/,"Partial Line Forward"],[/\u008C/,"Partial Line Backward"],[/\u008D/,"Reverse Line Feed"],[/\u008E/,"Single Shift Two"],[/\u008F/,"Single Shift Three"],[/\u0090/,"Device Control String"],[/\u0091/,"Private Use One"],[/\u0092/,"Private Use Two"],[/\u0093/,"Set Transmit State"],[/\u0094/,"Cancel Character"],[/\u0095/,"Message Waiting"],[/\u0096/,"Start of Protected Area"],[/\u0097/,"End of Protected Area"],[/\u0098/,"Start of String"],[/\u0099/,"Single Graphic Character Introducer"],[/\u009A/,"Single Character Introducer"],[/\u009B/,"Control Sequence Introducer"],[/\u009C/,"String Terminator"],[/\u009D/,"Operating System Command"],[/\u009E/,"Privacy Message"],[/\u009F/,"Application Program Command"],[/\u00A0/,"Non-breaking Space"],[/\u00AD/,"Soft Hyphen"],[/\u200B/,"Zero-width Space"],[/\u200C/,"Zero-width Non-joiner"],[/\u200D/,"Zero-width Joiner"],[/\u200E/,"Left-to-right Mark"],[/\u200F/,"Right-to-left Mark"],[/\u202A/,"Left-to-right Embedding"],[/\u202B/,"Right-to-left Embedding"],[/\u202C/,"Pop Directional Formatting"],[/\u202D/,"Left-to-right Override"],[/\u202E/,"Right-to-left Override"],[/\uFEFF/,"Byte Order Mark (BOM)"]];t||r.push([/\*/,"Asterisk"]);for(const[i,u]of r){const a=e.match(i);if(a){const o=JSON.stringify(a[0]).slice(1,-1);n.push(`Forbidden character: ${u}: "${o}"`)}}if(n.length>0)throw new Error(`Invalid namespace "${e}":
|
|
41
41
|
- ${n.join(`
|
|
42
|
-
- `)}`)}s(ES,"validateNamespace");function Nf(e){return`yanki-media-${hS(Ff(e)).replaceAll(/-+/g,"-")}`}s(Nf,"getSlugifiedNamespace");function AS(e){const n={"application/octet-stream":"mp4","application/ogg":"ogx","application/pdf":"pdf","application/x-shockwave-flash":"swf","audio/aac":"aac","audio/flac":"flac","audio/mp4":"m4a","audio/mpeg":"mp3","audio/ogg":"ogg","audio/opus":"opus","audio/wav":"wav","audio/webm":"webm","audio/x-speex":"spx","image/avif":"avif","image/gif":"gif","image/jpeg":"jpg","image/png":"png","image/svg+xml":"svg","image/tiff":"tif","image/vnd.microsoft.icon":"ico","image/webp":"webp","image/x-icon":"ico","text/markdown":"md","video/3gpp":"3gp","video/flv":"flv","video/matroska":"mkv","video/mp4":"mp4","video/mpeg":"mpg","video/msvideo":"avi","video/ogg":"ogv","video/quicktime":"mov","video/webm":"webm","video/x-flv":"flv","video/x-matroska":"mkv","video/x-msvideo":"avi"}[e];if(n!==void 0)return n}s(AS,"getFileExtensionForMimeType");var
|
|
42
|
+
- `)}`)}s(ES,"validateNamespace");function Nf(e){return`yanki-media-${hS(Ff(e)).replaceAll(/-+/g,"-")}`}s(Nf,"getSlugifiedNamespace");function AS(e){const n={"application/octet-stream":"mp4","application/ogg":"ogx","application/pdf":"pdf","application/x-shockwave-flash":"swf","audio/aac":"aac","audio/flac":"flac","audio/mp4":"m4a","audio/mpeg":"mp3","audio/ogg":"ogg","audio/opus":"opus","audio/wav":"wav","audio/webm":"webm","audio/x-speex":"spx","image/avif":"avif","image/gif":"gif","image/jpeg":"jpg","image/png":"png","image/svg+xml":"svg","image/tiff":"tif","image/vnd.microsoft.icon":"ico","image/webp":"webp","image/x-icon":"ico","text/markdown":"md","video/3gpp":"3gp","video/flv":"flv","video/matroska":"mkv","video/mp4":"mp4","video/mpeg":"mpg","video/msvideo":"avi","video/ogg":"ogv","video/quicktime":"mov","video/webm":"webm","video/x-flv":"flv","video/x-matroska":"mkv","video/x-msvideo":"avi"}[e];if(n!==void 0)return n}s(AS,"getFileExtensionForMimeType");var Yu,xf;function DS(){if(xf)return Yu;xf=1;/**
|
|
43
43
|
* @license Apache-2.0
|
|
44
44
|
*
|
|
45
45
|
* Copyright (c) 2021 The Stdlib Authors.
|
|
@@ -55,7 +55,7 @@ var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0})
|
|
|
55
55
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
56
56
|
* See the License for the specific language governing permissions and
|
|
57
57
|
* limitations under the License.
|
|
58
|
-
*/var e=typeof Object.defineProperty=="function"?Object.defineProperty:null;return
|
|
58
|
+
*/var e=typeof Object.defineProperty=="function"?Object.defineProperty:null;return Yu=e,Yu}s(DS,"requireDefine_property");var Gu,If;function CS(){if(If)return Gu;If=1;/**
|
|
59
59
|
* @license Apache-2.0
|
|
60
60
|
*
|
|
61
61
|
* Copyright (c) 2021 The Stdlib Authors.
|
|
@@ -167,7 +167,7 @@ var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0})
|
|
|
167
167
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
168
168
|
* See the License for the specific language governing permissions and
|
|
169
169
|
* limitations under the License.
|
|
170
|
-
*/var e=Of(),t=Math.abs,n=String.prototype.toLowerCase,r=String.prototype.toUpperCase,i=String.prototype.replace,u=/e\+(\d)$/,a=/e-(\d)$/,o=/^(\d+)$/,l=/^(\d+)e/,c=/\.0$/,f=/\.0*e/,h=/(\..*[^0])0*e/;function m(p){var g,E,
|
|
170
|
+
*/var e=Of(),t=Math.abs,n=String.prototype.toLowerCase,r=String.prototype.toUpperCase,i=String.prototype.replace,u=/e\+(\d)$/,a=/e-(\d)$/,o=/^(\d+)$/,l=/^(\d+)e/,c=/\.0$/,f=/\.0*e/,h=/(\..*[^0])0*e/;function m(p){var g,E,A=parseFloat(p.arg);if(!isFinite(A)){if(!e(p.arg))throw new Error("invalid floating-point number. Value: "+E);A=p.arg}switch(p.specifier){case"e":case"E":E=A.toExponential(p.precision);break;case"f":case"F":E=A.toFixed(p.precision);break;case"g":case"G":t(A)<1e-4?(g=p.precision,g>0&&(g-=1),E=A.toExponential(g)):E=A.toPrecision(p.precision),p.alternate||(E=i.call(E,h,"$1e"),E=i.call(E,f,"e"),E=i.call(E,c,""));break;default:throw new Error("invalid double notation. Value: "+p.specifier)}return E=i.call(E,u,"e+0$1"),E=i.call(E,a,"e-0$1"),p.alternate&&(E=i.call(E,o,"$1."),E=i.call(E,l,"$1.e")),A>=0&&p.sign&&(E=p.sign+E),E=p.specifier===r.call(p.specifier)?r.call(E):n.call(E),E}return s(m,"formatDouble"),Ju=m,Ju}s(kS,"requireFormat_double");var Zu,$f;function SS(){if($f)return Zu;$f=1;/**
|
|
171
171
|
* @license Apache-2.0
|
|
172
172
|
*
|
|
173
173
|
* Copyright (c) 2022 The Stdlib Authors.
|
|
@@ -199,7 +199,7 @@ var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0})
|
|
|
199
199
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
200
|
* See the License for the specific language governing permissions and
|
|
201
201
|
* limitations under the License.
|
|
202
|
-
*/var e=TS(),t=bS(),n=kS(),r=SS(),i=Pf(),u=String.fromCharCode,a=Array.isArray;function o(f){return f!==f}s(o,"isnan");function l(f){var h={};return h.specifier=f.specifier,h.precision=f.precision===void 0?1:f.precision,h.width=f.width,h.flags=f.flags||"",h.mapping=f.mapping,h}s(l,"initialize");function c(f){var h,m,p,g,E,D,
|
|
202
|
+
*/var e=TS(),t=bS(),n=kS(),r=SS(),i=Pf(),u=String.fromCharCode,a=Array.isArray;function o(f){return f!==f}s(o,"isnan");function l(f){var h={};return h.specifier=f.specifier,h.precision=f.precision===void 0?1:f.precision,h.width=f.width,h.flags=f.flags||"",h.mapping=f.mapping,h}s(l,"initialize");function c(f){var h,m,p,g,E,A,D,C,T;if(!a(f))throw new TypeError("invalid argument. First argument must be an array. Value: `"+f+"`.");for(A="",D=1,C=0;C<f.length;C++)if(p=f[C],t(p))A+=p;else{if(h=p.precision!==void 0,p=l(p),!p.specifier)throw new TypeError("invalid argument. Token is missing `specifier` property. Index: `"+C+"`. Value: `"+p+"`.");for(p.mapping&&(D=p.mapping),m=p.flags,T=0;T<m.length;T++)switch(g=m.charAt(T),g){case" ":p.sign=" ";break;case"+":p.sign="+";break;case"-":p.padRight=!0,p.padZeros=!1;break;case"0":p.padZeros=m.indexOf("-")<0;break;case"#":p.alternate=!0;break;default:throw new Error("invalid flag: "+g)}if(p.width==="*"){if(p.width=parseInt(arguments[D],10),D+=1,o(p.width))throw new TypeError("the argument for * width at position "+D+" is not a number. Value: `"+p.width+"`.");p.width<0&&(p.padRight=!0,p.width=-p.width)}if(h&&p.precision==="*"){if(p.precision=parseInt(arguments[D],10),D+=1,o(p.precision))throw new TypeError("the argument for * precision at position "+D+" is not a number. Value: `"+p.precision+"`.");p.precision<0&&(p.precision=1,h=!1)}switch(p.arg=arguments[D],p.specifier){case"b":case"o":case"x":case"X":case"d":case"i":case"u":h&&(p.padZeros=!1),p.arg=e(p);break;case"s":p.maxWidth=h?p.precision:-1,p.arg=String(p.arg);break;case"c":if(!o(p.arg)){if(E=parseInt(p.arg,10),E<0||E>127)throw new Error("invalid character code. Value: "+p.arg);p.arg=o(E)?String(p.arg):u(E)}break;case"e":case"E":case"f":case"F":case"g":case"G":h||(p.precision=6),p.arg=n(p);break;default:throw new Error("invalid specifier: "+p.specifier)}p.maxWidth>=0&&p.arg.length>p.maxWidth&&(p.arg=p.arg.substring(0,p.maxWidth)),p.padZeros?p.arg=i(p.arg,p.width||p.precision,p.padRight):p.width&&(p.arg=r(p.arg,p.width,p.padRight)),A+=p.arg||"",D+=1}return A}return s(c,"formatInterpolate"),ea=c,ea}s(_S,"requireMain$a");var ta,zf;function BS(){if(zf)return ta;zf=1;/**
|
|
203
203
|
* @license Apache-2.0
|
|
204
204
|
*
|
|
205
205
|
* Copyright (c) 2022 The Stdlib Authors.
|
|
@@ -215,7 +215,7 @@ var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0})
|
|
|
215
215
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
216
216
|
* See the License for the specific language governing permissions and
|
|
217
217
|
* limitations under the License.
|
|
218
|
-
*/var e=_S();return ta=e,ta}s(BS,"requireLib$d");var na,
|
|
218
|
+
*/var e=_S();return ta=e,ta}s(BS,"requireLib$d");var na,jf;function wS(){if(jf)return na;jf=1;/**
|
|
219
219
|
* @license Apache-2.0
|
|
220
220
|
*
|
|
221
221
|
* Copyright (c) 2022 The Stdlib Authors.
|
|
@@ -231,7 +231,7 @@ var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0})
|
|
|
231
231
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
232
232
|
* See the License for the specific language governing permissions and
|
|
233
233
|
* limitations under the License.
|
|
234
|
-
*/var e=/%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;function t(r){var i={mapping:r[1]?parseInt(r[1],10):void 0,flags:r[2],width:r[3],precision:r[5],specifier:r[6]};return r[4]==="."&&r[5]===void 0&&(i.precision="1"),i}s(t,"parse");function n(r){var i,u,a,o;for(u=[],o=0,a=e.exec(r);a;)i=r.slice(o,e.lastIndex-a[0].length),i.length&&u.push(i),u.push(t(a)),o=e.lastIndex,a=e.exec(r);return i=r.slice(o),i.length&&u.push(i),u}return s(n,"formatTokenize"),na=n,na}s(wS,"requireMain$9");var ra,
|
|
234
|
+
*/var e=/%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;function t(r){var i={mapping:r[1]?parseInt(r[1],10):void 0,flags:r[2],width:r[3],precision:r[5],specifier:r[6]};return r[4]==="."&&r[5]===void 0&&(i.precision="1"),i}s(t,"parse");function n(r){var i,u,a,o;for(u=[],o=0,a=e.exec(r);a;)i=r.slice(o,e.lastIndex-a[0].length),i.length&&u.push(i),u.push(t(a)),o=e.lastIndex,a=e.exec(r);return i=r.slice(o),i.length&&u.push(i),u}return s(n,"formatTokenize"),na=n,na}s(wS,"requireMain$9");var ra,Yf;function FS(){if(Yf)return ra;Yf=1;/**
|
|
235
235
|
* @license Apache-2.0
|
|
236
236
|
*
|
|
237
237
|
* Copyright (c) 2022 The Stdlib Authors.
|
|
@@ -535,7 +535,7 @@ var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0})
|
|
|
535
535
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
536
536
|
* See the License for the specific language governing permissions and
|
|
537
537
|
* limitations under the License.
|
|
538
|
-
*/var e=Object.prototype.hasOwnProperty;function t(n,r){return n==null?!1:e.call(n,r)}return s(t,"hasOwnProp"),ya=t,ya}s(zS,"requireMain$2");var Ta,pd;function
|
|
538
|
+
*/var e=Object.prototype.hasOwnProperty;function t(n,r){return n==null?!1:e.call(n,r)}return s(t,"hasOwnProp"),ya=t,ya}s(zS,"requireMain$2");var Ta,pd;function jS(){if(pd)return Ta;pd=1;/**
|
|
539
539
|
* @license Apache-2.0
|
|
540
540
|
*
|
|
541
541
|
* Copyright (c) 2018 The Stdlib Authors.
|
|
@@ -551,7 +551,7 @@ var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0})
|
|
|
551
551
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
552
552
|
* See the License for the specific language governing permissions and
|
|
553
553
|
* limitations under the License.
|
|
554
|
-
*/var e=zS();return Ta=e,Ta}s(
|
|
554
|
+
*/var e=zS();return Ta=e,Ta}s(jS,"requireLib$4");var ba,md;function YS(){if(md)return ba;md=1;/**
|
|
555
555
|
* @license Apache-2.0
|
|
556
556
|
*
|
|
557
557
|
* Copyright (c) 2018 The Stdlib Authors.
|
|
@@ -567,7 +567,7 @@ var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0})
|
|
|
567
567
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
568
568
|
* See the License for the specific language governing permissions and
|
|
569
569
|
* limitations under the License.
|
|
570
|
-
*/var e=typeof Symbol=="function"?Symbol:void 0;return ba=e,ba}s(
|
|
570
|
+
*/var e=typeof Symbol=="function"?Symbol:void 0;return ba=e,ba}s(YS,"requireMain$1");var ka,gd;function GS(){if(gd)return ka;gd=1;/**
|
|
571
571
|
* @license Apache-2.0
|
|
572
572
|
*
|
|
573
573
|
* Copyright (c) 2018 The Stdlib Authors.
|
|
@@ -583,7 +583,7 @@ var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0})
|
|
|
583
583
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
584
584
|
* See the License for the specific language governing permissions and
|
|
585
585
|
* limitations under the License.
|
|
586
|
-
*/var e=
|
|
586
|
+
*/var e=YS();return ka=e,ka}s(GS,"requireLib$3");var Sa,Ed;function VS(){if(Ed)return Sa;Ed=1;/**
|
|
587
587
|
* @license Apache-2.0
|
|
588
588
|
*
|
|
589
589
|
* Copyright (c) 2018 The Stdlib Authors.
|
|
@@ -615,7 +615,7 @@ var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0})
|
|
|
615
615
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
616
616
|
* See the License for the specific language governing permissions and
|
|
617
617
|
* limitations under the License.
|
|
618
|
-
*/var e=
|
|
618
|
+
*/var e=jS(),t=VS(),n=hd();function r(i){var u,a,o;if(i==null)return n.call(i);a=i[t],u=e(i,t);try{i[t]=void 0}catch{return n.call(i)}return o=n.call(i),u?i[t]=a:delete i[t],o}return s(r,"nativeClass"),_a=r,_a}s(WS,"requirePolyfill");var Ba,Dd;function KS(){if(Dd)return Ba;Dd=1;/**
|
|
619
619
|
* @license Apache-2.0
|
|
620
620
|
*
|
|
621
621
|
* Copyright (c) 2018 The Stdlib Authors.
|
|
@@ -759,7 +759,7 @@ var Tm=Object.defineProperty;var s=(e,t)=>Tm(e,"name",{value:t,configurable:!0})
|
|
|
759
759
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
760
760
|
* See the License for the specific language governing permissions and
|
|
761
761
|
* limitations under the License.
|
|
762
|
-
*/var e=Zf(),t=MS(),n=ZS(),r=e_(),i;return t?i=r:i=n,e(i,"posix",n),e(i,"win32",r),Oa=i,Oa}s(t_,"requireLib");var n_=t_(),Nd=Wn(n_);function r_(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}s(r_,"slash");function Ui(e){return Nd.posix(e)||Nd.win32(e)}s(Ui,"isAbsolute");const i_=/^\\\\\?\\.+/;function ut(e){if(i_.test(e))return console.warn(`Unsupported extended length path detected: ${e}`),e;const t=r_(e),n=ne.normalize(t);return t.startsWith("./")?`./${n}`:n}s(ut,"normalize");function xd(e,t){const{basePath:n,compoundBase:r=!1,cwd:i}=t;return n!==void 0&&(Ui(n)||console.warn(`Base path "${n}" is not absolute`),i.startsWith(n)||console.warn(`CWD "${i}" does not start with base path "${n}"`)),Ui(i)||console.warn(`CWD "${i}" is not absolute`),Ui(e)?n===void 0||/^[A-Z]:/i.test(e)||!r&&e.startsWith(n)?e:ne.join(n,e):ne.join(i,e)}s(xd,"resolveWithBasePath");function s_(e,t){const n=new RegExp(`^${t}`,"i");return e.replace(n,"")}s(s_,"stripBasePath");function Hi(e){const t=ne.dirname(e),n=ne.basename(e),[r,i]=K3(n,/[#?^]/);return[ne.join(t,r),i]}s(Hi,"getBaseAndQueryParts");function kr(e){return Hi(e)[0]}s(kr,"getBase");function u_(e){return Hi(e).at(1)??""}s(u_,"getQuery");function a_(e){return Id(e)!==""}s(a_,"hasExtension");function Id(e){return ne.extname(kr(e))}s(Id,"getExtension");function vd(e,t){return a_(e)?e:Ld(e,t)}s(vd,"addExtensionIfMissing");function Ld(e,t){const[n,r]=Hi(e);return`${n}.${t}${r??""}`}s(Ld,"addExtension");function Od(e){try{return decodeURI(e)}catch(t){console.warn(`Error decoding URI text: "${e}"`,t);return}}s(Od,"safeDecodeURI");function Sr(e){try{const t=new URL(e),n=/^[a-z]:/i,r=/^file:/i;return(r.test(t.protocol)||n.test(t.protocol))&&!r.test(e)?void 0:t}catch{return}}s(Sr,"safeParseUrl");function Xt(e){return Sr(e)!==void 0}s(Xt,"isUrl");function o_(e){const t=Sr(e);return t?.protocol==="file:"?t.pathname:e}s(o_,"fileUrlToPath");function $i(e){const t=Sr(e);if(t===void 0){const n=ut(e);return Ui(n)||n.startsWith("./")||n.startsWith("../")?"localFilePath":"localFileName"}return t.protocol==="file:"?"localFileUrl":t.protocol==="obsidian:"?"obsidianVaultUrl":t.protocol==="http:"||t.protocol==="https:"?"remoteHttpUrl":"unsupportedProtocolUrl"}s($i,"getSrcType");function Rd(e,t){if(e===void 0)return;e instanceof Headers||(e=l_(e));const n=(e instanceof Headers?t.map(r=>e.get(r)):t.map(r=>e[r])).filter(r=>r!=null).join("");if(n!=="")return n}s(Rd,"getHeadersString");function l_(e){const t={};for(const[n,r]of Object.entries(e))t[n.toLowerCase()]=r;return t}s(l_,"convertKeysToLowercase");async function c_(e,t){try{return(await t(e,{method:"HEAD"}))?.status===200}catch{return!1}}s(c_,"urlExists");async function Ra(e,t,n=tS){switch(n){case"metadata":{if(t===void 0)return Ra(e,t,"name");try{const r=await t(e,{method:"HEAD"}),i=Rd(r?.headers,["content-type"]);if(i===void 0)throw new Error("No content-type header found");return AS(i)}catch{return Ra(e,t,"name")}}case"name":{let r;const i=Sr(e);if(i===void 0){console.warn(`Could not parse URL: ${e}`);return}const u=i.pathname.split(".");return u.length>1?r=u.at(-1):r=i.search.split(".").at(-1),Tf.includes(r??"")?r:void 0}}}s(Ra,"getFileExtensionFromUrl");async function Pa(e,t,n=eS){switch(n){case"content":return console.warn("`content` hash mode is not yet implemented for URLs"),Pa(e,t,"metadata");case"metadata":try{const r=await t(e,{method:"HEAD"}),i=Rd(r?.headers,["etag","last-modified","content-length"]);if(i===void 0)throw new Error("No headers found");return Oi(i,16)}catch{return Pa(e,t,"name")}case"name":return Oi(e,16)}}s(Pa,"getUrlContentHash");function h_(e){const t=Sr(e);return t===void 0?void 0:{host:`${t.protocol}//${t.hostname}`,port:Number.parseInt(t.port,10)}}s(h_,"urlToHostAndPort");function f_(e,t){return`${e}:${t}`}s(f_,"hostAndPortToUrl");async function d_(e,t){const n=Xt(e)?await Ra(e,t):ne.extname(e).slice(1);if(!(n===void 0||!Tf.includes(n)))return n}s(d_,"getAnkiMediaFilenameExtension");async function p_(e,t,n){return Xt(e)?c_(e,n):gS(e,t)}s(p_,"mediaAssetExists");async function m_(e,t,n,r,i){if(!await p_(e,r,i))return;const a=Nf(t),o=await g_(e,r,i),l=n===void 0?"":`.${n}`;let c;if(c=`${a}-${o}${l}`,c.length>Af)throw new Error(`Filename too long: ${c}`);return c}s(m_,"getSafeAnkiMediaFilename");async function g_(e,t,n){return Xt(e)?Pa(e,n):wf(e,t)}s(g_,"getContentHash");const E_=s(function(){return function(e){let t=!1;ae(e,(n,r,i)=>{if(i===void 0||r===void 0||n.type!=="element")return Ve;if(n.tagName==="pre"&&n.children.length===1&&n.children[0].type==="element"&&n.children[0].tagName==="code"&&Array.isArray(n.children[0].properties.className)&&n.children[0].properties.className.includes("language-math")&&(t=!0,i.children.splice(r,1,n.children[0])),n.tagName==="code"&&Array.isArray(n.properties.className)&&n.properties.className.includes("language-math")){const u=n.properties.className.includes("math-display")||t;t=!1,n.tagName=u?"div":"span",n.children=[{type:"text",value:u?String.raw`\[`:String.raw`\(`},...n.children,{type:"text",value:u?String.raw`\]`:String.raw`\)`}]}})}},"plugin$6");function Pd(e,t,n){const i=Ct((n||{}).ignore||[]),u=A_(t);let a=-1;for(;++a<u.length;)Xs(e,"text",o);function o(c,f){let h=-1,m;for(;++h<f.length;){const p=f[h],g=m?m.children:void 0;if(i(p,g?g.indexOf(p):void 0,m))return;m=p}if(m)return l(c,f)}s(o,"visitor");function l(c,f){const h=f[f.length-1],m=u[a][0],p=u[a][1];let g=0;const
|
|
762
|
+
*/var e=Zf(),t=MS(),n=ZS(),r=e_(),i;return t?i=r:i=n,e(i,"posix",n),e(i,"win32",r),Oa=i,Oa}s(t_,"requireLib");var n_=t_(),Nd=Wn(n_);function r_(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}s(r_,"slash");function Ui(e){return Nd.posix(e)||Nd.win32(e)}s(Ui,"isAbsolute");const i_=/^\\\\\?\\.+/;function ut(e){if(i_.test(e))return console.warn(`Unsupported extended length path detected: ${e}`),e;const t=r_(e),n=ne.normalize(t);return t.startsWith("./")?`./${n}`:n}s(ut,"normalize");function xd(e,t){const{basePath:n,compoundBase:r=!1,cwd:i}=t;return n!==void 0&&(Ui(n)||console.warn(`Base path "${n}" is not absolute`),i.startsWith(n)||console.warn(`CWD "${i}" does not start with base path "${n}"`)),Ui(i)||console.warn(`CWD "${i}" is not absolute`),Ui(e)?n===void 0||/^[A-Z]:/i.test(e)||!r&&e.startsWith(n)?e:ne.join(n,e):ne.join(i,e)}s(xd,"resolveWithBasePath");function s_(e,t){const n=new RegExp(`^${t}`,"i");return e.replace(n,"")}s(s_,"stripBasePath");function Hi(e){const t=ne.dirname(e),n=ne.basename(e),[r,i]=K3(n,/[#?^]/);return[ne.join(t,r),i]}s(Hi,"getBaseAndQueryParts");function kr(e){return Hi(e)[0]}s(kr,"getBase");function u_(e){return Hi(e).at(1)??""}s(u_,"getQuery");function a_(e){return Id(e)!==""}s(a_,"hasExtension");function Id(e){return ne.extname(kr(e))}s(Id,"getExtension");function vd(e,t){return a_(e)?e:Ld(e,t)}s(vd,"addExtensionIfMissing");function Ld(e,t){const[n,r]=Hi(e);return`${n}.${t}${r??""}`}s(Ld,"addExtension");function Od(e){try{return decodeURI(e)}catch(t){console.warn(`Error decoding URI text: "${e}"`,t);return}}s(Od,"safeDecodeURI");function Sr(e){try{const t=new URL(e),n=/^[a-z]:/i,r=/^file:/i;return(r.test(t.protocol)||n.test(t.protocol))&&!r.test(e)?void 0:t}catch{return}}s(Sr,"safeParseUrl");function Xt(e){return Sr(e)!==void 0}s(Xt,"isUrl");function o_(e){const t=Sr(e);return t?.protocol==="file:"?t.pathname:e}s(o_,"fileUrlToPath");function $i(e){const t=Sr(e);if(t===void 0){const n=ut(e);return Ui(n)||n.startsWith("./")||n.startsWith("../")?"localFilePath":"localFileName"}return t.protocol==="file:"?"localFileUrl":t.protocol==="obsidian:"?"obsidianVaultUrl":t.protocol==="http:"||t.protocol==="https:"?"remoteHttpUrl":"unsupportedProtocolUrl"}s($i,"getSrcType");function Rd(e,t){if(e===void 0)return;e instanceof Headers||(e=l_(e));const n=(e instanceof Headers?t.map(r=>e.get(r)):t.map(r=>e[r])).filter(r=>r!=null).join("");if(n!=="")return n}s(Rd,"getHeadersString");function l_(e){const t={};for(const[n,r]of Object.entries(e))t[n.toLowerCase()]=r;return t}s(l_,"convertKeysToLowercase");async function c_(e,t){try{return(await t(e,{method:"HEAD"}))?.status===200}catch{return!1}}s(c_,"urlExists");async function Ra(e,t,n=tS){switch(n){case"metadata":{if(t===void 0)return Ra(e,t,"name");try{const r=await t(e,{method:"HEAD"}),i=Rd(r?.headers,["content-type"]);if(i===void 0)throw new Error("No content-type header found");return AS(i)}catch{return Ra(e,t,"name")}}case"name":{let r;const i=Sr(e);if(i===void 0){console.warn(`Could not parse URL: ${e}`);return}const u=i.pathname.split(".");return u.length>1?r=u.at(-1):r=i.search.split(".").at(-1),Tf.includes(r??"")?r:void 0}}}s(Ra,"getFileExtensionFromUrl");async function Pa(e,t,n=eS){switch(n){case"content":return console.warn("`content` hash mode is not yet implemented for URLs"),Pa(e,t,"metadata");case"metadata":try{const r=await t(e,{method:"HEAD"}),i=Rd(r?.headers,["etag","last-modified","content-length"]);if(i===void 0)throw new Error("No headers found");return Oi(i,16)}catch{return Pa(e,t,"name")}case"name":return Oi(e,16)}}s(Pa,"getUrlContentHash");function h_(e){const t=Sr(e);return t===void 0?void 0:{host:`${t.protocol}//${t.hostname}`,port:Number.parseInt(t.port,10)}}s(h_,"urlToHostAndPort");function f_(e,t){return`${e}:${t}`}s(f_,"hostAndPortToUrl");async function d_(e,t){const n=Xt(e)?await Ra(e,t):ne.extname(e).slice(1);if(!(n===void 0||!Tf.includes(n)))return n}s(d_,"getAnkiMediaFilenameExtension");async function p_(e,t,n){return Xt(e)?c_(e,n):gS(e,t)}s(p_,"mediaAssetExists");async function m_(e,t,n,r,i){if(!await p_(e,r,i))return;const a=Nf(t),o=await g_(e,r,i),l=n===void 0?"":`.${n}`;let c;if(c=`${a}-${o}${l}`,c.length>Af)throw new Error(`Filename too long: ${c}`);return c}s(m_,"getSafeAnkiMediaFilename");async function g_(e,t,n){return Xt(e)?Pa(e,n):wf(e,t)}s(g_,"getContentHash");const E_=s(function(){return function(e){let t=!1;ae(e,(n,r,i)=>{if(i===void 0||r===void 0||n.type!=="element")return Ve;if(n.tagName==="pre"&&n.children.length===1&&n.children[0].type==="element"&&n.children[0].tagName==="code"&&Array.isArray(n.children[0].properties.className)&&n.children[0].properties.className.includes("language-math")&&(t=!0,i.children.splice(r,1,n.children[0])),n.tagName==="code"&&Array.isArray(n.properties.className)&&n.properties.className.includes("language-math")){const u=n.properties.className.includes("math-display")||t;t=!1,n.tagName=u?"div":"span",n.children=[{type:"text",value:u?String.raw`\[`:String.raw`\(`},...n.children,{type:"text",value:u?String.raw`\]`:String.raw`\)`}]}})}},"plugin$6");function Pd(e,t,n){const i=Ct((n||{}).ignore||[]),u=A_(t);let a=-1;for(;++a<u.length;)Xs(e,"text",o);function o(c,f){let h=-1,m;for(;++h<f.length;){const p=f[h],g=m?m.children:void 0;if(i(p,g?g.indexOf(p):void 0,m))return;m=p}if(m)return l(c,f)}s(o,"visitor");function l(c,f){const h=f[f.length-1],m=u[a][0],p=u[a][1];let g=0;const A=h.children.indexOf(c);let D=!1,C=[];m.lastIndex=0;let T=m.exec(c.value);for(;T;){const I=T.index,v={index:T.index,input:T.input,stack:[...f,c]};let _=p(...T,v);if(typeof _=="string"&&(_=_.length>0?{type:"text",value:_}:void 0),_===!1?m.lastIndex=I+1:(g!==I&&C.push({type:"text",value:c.value.slice(g,I)}),Array.isArray(_)?C.push(..._):_&&C.push(_),g=I+T[0].length,D=!0),!m.global)break;T=m.exec(c.value)}return D?(g<c.value.length&&C.push({type:"text",value:c.value.slice(g)}),h.children.splice(A,1,...C)):C=[c],A+C.length}s(l,"handler")}s(Pd,"findAndReplace");function A_(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([D_(i[0]),C_(i[1])])}return t}s(A_,"toPairs");function D_(e){return typeof e=="string"?new RegExp(Mi(e),"g"):e}s(D_,"toExpression");function C_(e){return typeof e=="function"?e:function(){return e}}s(C_,"toFunction");function y_(e){Pd(e,[/\r?\n|\r/g,T_])}s(y_,"newlineToBreak");function T_(){return{type:"break"}}s(T_,"replace$1");function b_(){return function(e){y_(e)}}s(b_,"remarkBreaks");const k_=s(function(){return function(e,t){if(t.data.strictLineBreaks===!1){b_()(e);return}return e}},"plugin$5"),Md=Ru().use(k_).use(y3,{allowDangerousHtml:!0}).use(vk).use(E_).use(_C,{defaultLanguage:"plaintext",fallbackLanguage:"plaintext",themes:{dark:"github-dark",light:"github-light"}}).use(ay).use(Lk),S_={...He};async function Jt(e,t){if(e===void 0)return"";const{cssClassNames:n,fetchAdapter:r=br(),fileAdapter:i=await Bn(),namespace:u,strictLineBreaks:a,syncMediaAssets:o,useEmptyPlaceholder:l}=Oe(S_,t??{}),c=await Md.run(e,{data:{strictLineBreaks:a}}),f=ie("root",[ie("element",{properties:{className:n?.map(E=>G3(E))},tagName:"div"},c.children)]),h=[];ae(f,"element",(E,A,D)=>{if(D===void 0||A===void 0||E.tagName!=="img")return Ve;if(typeof E.properties.src!="string"||E.properties?.src?.trim().length===0)return console.warn("Image has no src"),Ve;let C;const T=$i(E.properties.src);switch(T){case"localFilePath":{if(C=Od(E.properties.src),C===void 0)return Ve;C=kr(C);break}case"unsupportedProtocolUrl":case"localFileName":{console.warn(`Unsupported URL for media asset, treating as link: "${E.properties.src}"`),C=E.properties.src;break}case"obsidianVaultUrl":case"localFileUrl":{C=E.properties.src;break}case"remoteHttpUrl":{C=E.properties.src;break}}h.push(async()=>{const I=await d_(C,T==="obsidianVaultUrl"?void 0:r),v=I!==void 0&&T!=="unsupportedProtocolUrl"&&T!=="localFileName"&&T!=="obsidianVaultUrl"&&T!=="localFileUrl",_=(T==="localFilePath"&&o==="local"||T==="remoteHttpUrl"&&o==="remote"||o==="all")&&v,L=_?await m_(C,u,I,i,r):void 0,x=L??C,w=_&&L!==void 0?"true":"false";if(!v||yf.includes(I)){const F=Xt(x)?x:`${x}${u_(String(E.properties.dataYankiSrcOriginal))}`;D.children.splice(A,1,ie("element",{properties:{className:["yanki-media",`yanki-media-${v?"file":"unsupported"}`],"data-yanki-alt-text":E.properties.alt,"data-yanki-media-src":C,"data-yanki-media-sync":w,"data-yanki-src":x,"data-yanki-src-original":E.properties.dataYankiSrcOriginal},tagName:"span"},[ie("element",{properties:{href:F},tagName:"a"},[ie("text",decodeURI(String(E.properties.dataYankiSrcOriginal)))])]))}else Df.includes(I)?(E.properties.src=x,E.properties.className=["yanki-media","yanki-media-image"],E.properties.dataYankiMediaSrc=C,E.properties.dataYankiMediaSync=w):Cf.includes(I)&&D.children.splice(A,1,ie("element",{properties:{className:["yanki-media","yanki-media-audio-video"],"data-yanki-alt-text":E.properties.alt,"data-yanki-media-src":C,"data-yanki-media-sync":w,"data-yanki-src":x,"data-yanki-src-original":E.properties.dataYankiSrcOriginal},tagName:"span"},[ie("text",`[sound:${x}]`)]))})});for(const E of h)await E();ae(f,"element",(E,A,D)=>{if(D===void 0||A===void 0||E.tagName!=="img"||ft(String(E.properties.alt))===void 0)return Ve;const C=String(E.properties.alt??""),{alt:T,height:I,width:v}=F_(C);T===void 0?delete E.properties.alt:E.properties.alt=T,I!==void 0&&(E.properties.height=I),v!==void 0&&(E.properties.width=v)});const m=x_(f);if(m&&!l)return"";const p=m?I_(f,J3):f,g=Md.stringify(p);return __(g).trim()}s(Jt,"mdastToHtml");const Ud=Ru().use(km,{fragment:!0});function __(e){return`<!-- This HTML was generated by Yanki, a Markdown to Anki converter. Do not edit directly. -->
|
|
763
763
|
${e}`}s(__,"addBoilerplateComment");function B_(e){return Bc(e)}s(B_,"hastToPlainText");function w_(e){const t=Ud.parse(e);return B_(t)}s(w_,"htmlToPlainText");function Ma(e){return w_(e).split(`
|
|
764
764
|
`).map(n=>n.trim()).find(n=>n.length>0)??""}s(Ma,"getFirstLineOfHtmlAsPlainText");function Hd(e){const t=Ud.parse(e),n=[];return ae(t,"element",r=>{if((r.tagName==="img"||r.tagName==="span")&&r.properties?.dataYankiMediaSync==="true"){const i=r.properties?.src??r.properties?.dataYankiSrc,u=r.properties?.dataYankiMediaSrc;i!==void 0&&u!==void 0&&typeof i=="string"&&typeof u=="string"&&n.push({filename:i,originalSrc:u})}}),n}s(Hd,"extractMediaFromHtml");function F_(e){const t=e.split("|"),n=ft(t.pop()),r=ft(t.join("|"));if(n!==void 0){const{width:i,height:u}=N_(n);if(i!==void 0||u!==void 0)return{alt:r,height:u,width:i}}return{alt:e,height:void 0,width:void 0}}s(F_,"parseDimensionsFromAltText");function N_(e){if(!/^[\dx]+$/.test(e))return{width:void 0,height:void 0};if(!e.includes("x")){const u=Number.parseInt(e,10);if(!Number.isNaN(u))return{width:u,height:void 0}}const[t,n]=e.split("x").map(u=>Number.parseInt(u,10)),r=Number.isNaN(t),i=Number.isNaN(n);return{width:r||t===void 0?void 0:t,height:i||n===void 0?void 0:n}}s(N_,"parseDimensions");function x_(e){let t=!1;return ae(e,n=>{if(!t){if(n.type==="element"){const r=n,{tagName:i}=r;if(["img","video","audio","iframe","object","embed","canvas","svg","picture"].includes(i)||Bc(r).trim())return t=!0,Pe}if(n.type==="text"&&n.value!==void 0&&n.value.trim()!=="")return t=!0,Pe}}),!t}s(x_,"isVisuallyEmpty");function I_(e,t){return ae(e,"element",n=>{if(n.tagName==="div")return n.children.unshift(t),Pe}),e}s(I_,"addFirstChildToFirstDiv");const qi=[{cardTemplates:[{Back:`{{FrontSide}}
|
|
765
765
|
|
|
@@ -788,17 +788,17 @@ ${e}`}s(__,"addBoilerplateComment");function B_(e){return Bc(e)}s(B_,"hastToPlai
|
|
|
788
788
|
|
|
789
789
|
<hr>
|
|
790
790
|
|
|
791
|
-
{{Extra}}{{/Extra}}`,Front:"{{Back}}",YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","Extra","YankiNamespace"],modelName:"Yanki - Basic (and reversed card with extra)"}],zi=qi.map(e=>e.modelName),v_=["Yanki - Basic (and reversed card)"];async function $d(e,t,n=!1){if(n)return;const r=t.map(i=>i.noteId).filter(i=>i!==void 0);await e.note.deleteNotes({notes:r})}s($d,"deleteNotes");async function Ua(e,t,n){if(t.noteId!==void 0)throw new Error("Note already has an ID");if(n)return 0;const r=await e.note.addNote({note:{...t,options:{allowDuplicate:!0}}}).catch(async i=>{if(i instanceof Error){if(i.message===`model was not found: ${t.modelName}`){const u=qi.find(a=>a.modelName===t.modelName);if(u===void 0)throw new Error(`Model not found: ${t.modelName}`);return await e.model.createModel(u),Ua(e,t,n)}if(i.message===`deck was not found: ${t.deckName}`){if(t.deckName==="")throw new Error("Deck name is empty");return await e.deck.createDeck({deck:t.deckName}),Ua(e,t,n)}throw i}else throw new TypeError("Unknown error")});if(r===null)throw new Error("Note creation failed");return await Vd(e,t,n),r}s(Ua,"addNote");async function qd(e,t,n,r){if(t.noteId===void 0)throw new Error("Local note ID is undefined");if(n.cards===void 0)throw new Error("Remote note cards are undefined");let i=!1;if(t.deckName!==n.deckName){if(t.deckName==="")throw new Error("Local deck name is empty");r||await e.deck.changeDeck({cards:n.cards,deck:t.deckName}),i=!0}return(!
|
|
791
|
+
{{Extra}}{{/Extra}}`,Front:"{{Back}}",YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","Extra","YankiNamespace"],modelName:"Yanki - Basic (and reversed card with extra)"}],zi=qi.map(e=>e.modelName),v_=["Yanki - Basic (and reversed card)"];async function $d(e,t,n=!1){if(n)return;const r=t.map(i=>i.noteId).filter(i=>i!==void 0);await e.note.deleteNotes({notes:r})}s($d,"deleteNotes");async function Ua(e,t,n){if(t.noteId!==void 0)throw new Error("Note already has an ID");if(n)return 0;const r=await e.note.addNote({note:{...t,options:{allowDuplicate:!0}}}).catch(async i=>{if(i instanceof Error){if(i.message===`model was not found: ${t.modelName}`){const u=qi.find(a=>a.modelName===t.modelName);if(u===void 0)throw new Error(`Model not found: ${t.modelName}`);return await e.model.createModel(u),Ua(e,t,n)}if(i.message===`deck was not found: ${t.deckName}`){if(t.deckName==="")throw new Error("Deck name is empty");return await e.deck.createDeck({deck:t.deckName}),Ua(e,t,n)}throw i}else throw new TypeError("Unknown error")});if(r===null)throw new Error("Note creation failed");return await Vd(e,t,n),r}s(Ua,"addNote");async function qd(e,t,n,r){if(t.noteId===void 0)throw new Error("Local note ID is undefined");if(n.cards===void 0)throw new Error("Remote note cards are undefined");let i=!1;if(t.deckName!==n.deckName){if(t.deckName==="")throw new Error("Local deck name is empty");r||await e.deck.changeDeck({cards:n.cards,deck:t.deckName}),i=!0}return(!jd(t.tags??[],n.tags??[])||!zd(t.fields,n.fields)||t.modelName!==n.modelName)&&(r||(await e.note.updateNoteModel({note:{...t,id:t.noteId,tags:t.tags??[]}}).catch(async u=>{if(u instanceof Error){if(u.message===`Model '${t.modelName}' not found`){const a=qi.find(o=>o.modelName===t.modelName);if(a===void 0)throw new Error(`Model not found: ${t.modelName}`);return await e.model.createModel(a),qd(e,t,n,r)}throw u}else throw new TypeError("Unknown error")}),await Vd(e,t,r)),i=!0),i}s(qd,"updateNote");function zd(e,t){const n=["Front","Back","Extra"];for(const r of n)if(r in e&&r in t){if(e[r].normalize("NFC")!==t[r].normalize("NFC"))return!1}else if(r in e||r in t)return!1;return!0}s(zd,"areFieldsEqual");function L_(e,t,n=!0){return(!n||e.noteId===t.noteId)&&e.deckName===t.deckName&&e.modelName===t.modelName&&zd(e.fields,t.fields)&&jd(e.tags??[],t.tags??[])}s(L_,"areNotesEqual");function jd(e,t){if(e.length!==t.length)return!1;const n=new Set(e.map(u=>u.normalize("NFC").toLowerCase())),r=new Set(t.map(u=>u.normalize("NFC").toLowerCase()));return new Set([...n,...t]).size===r.size}s(jd,"areTagsEqual");async function Ha(e,t=He.namespace){const n=await e.note.findNotes({query:`"YankiNamespace:${t}"`});return await O_(e,n)}s(Ha,"getRemoteNotes");async function O_(e,t){const n=await e.note.notesInfo({notes:t}),r=[];if(n.every(c=>c.noteId===void 0))return Array.from({length:n.length}).fill(void 0);const i=n.flatMap(c=>c.cards??[]),u=await e.deck.getDecks({cards:i}),a=new Map;for(const[c,f]of Object.entries(u))for(const h of f)a.set(h,c);const o=new Map,l=new Map;for(const c of n){if(c.noteId===void 0){r.push(void 0);continue}if(![...v_,...zi].includes(c.modelName))throw new Error(`Unknown model name ${c.modelName} for note ${c.noteId}`);let h=[...new Set(c.cards.map(m=>a.get(m)))].at(0);if(h===void 0)throw new Error(`No deck found for cards in note ${c.noteId}`);if(!o.has(h)){const p=!!(await e.deck.getDeckConfig({deck:h})).dyn;if(o.set(h,p),p){const g=await e.deck.deckNames();for(const A of g)if(!o.has(A)){const D=await e.deck.getDeckConfig({deck:A});o.set(A,!!D.dyn)}const E=[...o.entries()].filter(([A,D])=>!D&&A!=="Default").map(([A])=>A).sort((A,D)=>D.split("::").length-A.split("::").length);E.push("Default");for(const A of E)l.set(A,void 0)}}if(o.get(h)){const m=l.keys();let p=!1;for(const g of m)if(l.get(g)===void 0&&l.set(g,await e.note.findNotes({query:`"deck:${g}"`})),l.get(g)?.includes(c.noteId)){h=g,p=!0;break}if(!p)throw new Error(`No matching non-filtered deck found for note ${c.noteId}`)}r.push({cards:c.cards,deckName:h,fields:{Back:c.fields.Back.value??"",...c.fields.Extra!==void 0&&{Extra:c.fields.Extra.value??""},Front:c.fields.Front.value??"",YankiNamespace:c.fields.YankiNamespace.value??""},modelName:c.modelName,noteId:c.noteId,tags:c.tags})}return r}s(O_,"getRemoteNotesById");async function Yd(e,t,n,r){const i=[...new Set(t.map(f=>f.deckName))].filter(Boolean),a=[...new Set(n.map(f=>f.deckName))].filter(Boolean).filter(f=>!i.includes(f)),o=[];for(const f of a){const h=f.split("::");if(h.length!==1)for(;h.length>1;){h.pop();const m=h.join("::");if(i.some(p=>m.includes(p)))break;o.push(m)}}const l=[...new Set([...a,...o])].sort(),c=[];for(const f of l){const h=await e.deck.getDeckStats({decks:[f]}),m=Object.values(h);if(m.length>1){console.warn(`Multiple decks found for deck name: ${f}`);continue}const p=m.at(0);if(p===void 0){console.warn(`Deck not found for deck name: ${f}`);continue}const g=Math.max(p.total_in_deck,p.new_count+p.learn_count+p.review_count);if(r){const E=n.filter(D=>D.deckName===f).length,A=t.filter(D=>D.deckName===f).length;g===E&&A===0&&!c.includes(f)&&c.push(f)}else g===0&&!c.includes(f)&&c.push(f)}return r||await e.deck.deleteDecks({cardsToo:!0,decks:c}),c}s(Yd,"deleteOrphanedDecks");async function Gd(e,t,n,r){let i;try{const{css:u}=await e.model.modelStyling({modelName:t});i=u}catch(u){if(u instanceof Error){if(u.message===`model was not found: ${t}`){const a=qi.find(o=>o.modelName===t);if(a===void 0)throw new Error(`Model not found: ${t}`);return r?!1:(await e.model.createModel(a),Gd(e,a.modelName,n,r))}throw u}else throw new TypeError("Unknown error")}return i!==void 0&&i===n?!1:(r||await e.model.updateModelStyling({model:{css:n,name:t}}),!0)}s(Gd,"updateModelStyle");async function R_(e,t=zi[0]){const{css:n}=await e.model.modelStyling({modelName:t});return n}s(R_,"getModelStyle");async function Vd(e,t,n){const r=Hd(`${t.fields.Front}
|
|
792
792
|
${t.fields.Back}
|
|
793
793
|
${t.fields.Extra}`),i=[];for(const{filename:u,originalSrc:a}of r)if((await e.media.getMediaFilesNames({pattern:u})).length===0){if(!n)try{const l=await e.media.storeMediaFile(Xt(a)?{deleteExisting:!0,filename:u,url:a}:{deleteExisting:!0,filename:u,path:a});u!==l&&console.warn(`Anki media filename mismatch: Expected: "${u}" -> Received: "${l}"`)}catch(l){console.warn(`Anki could not store media file: "${u}"
|
|
794
794
|
${String(l)}`)}i.push({filename:u,originalSrc:a})}return i}s(Vd,"uploadMediaForNote");async function Wd(e,t,n,r){if(r)return[];const i=Nf(n),u=[];for(const l of t){const c=Hd(`${l.fields.Front}
|
|
795
795
|
${l.fields.Back}
|
|
796
|
-
${l.fields.Extra}`);for(const{filename:f}of c)u.push(f)}const a=await e.media.getMediaFilesNames({pattern:`${i}-*`}),o=[];for(const l of a)u.includes(l)||(await e.media.deleteMediaFile({filename:l}),o.push(l));return o}s(Wd,"deleteUnusedMedia");async function _r(e){try{const{permission:t}=await e.miscellaneous.requestPermission();if(t==="denied")throw new Error('Permission denied, please add this source to the "webCorsOriginList" in the Anki-Connect add-on configuration options.');return"granted"}catch(t){if(t instanceof Error&&(t.message==="fetch failed"||t.message==="net::ERR_CONNECTION_REFUSED"))return"ankiUnreachable";throw t}}s(_r,"requestPermission");async function $a(e){try{await e.miscellaneous.sync()}catch{console.warn("Could not sync to AnkiWeb.")}}s($a,"syncToAnkiWeb");const Kd={...He};async function P_(e){const t=performance.now(),{ankiConnectOptions:n,ankiWeb:r,dryRun:i,namespace:u}=Oe(Kd,e??{}),a=Qt(u,!0),o=new Kn(n);if(await _r(o)==="ankiUnreachable")throw new Error("Anki is unreachable. Is Anki running?");const c=await Ha(o,a);await $d(o,c,i);const f=await
|
|
796
|
+
${l.fields.Extra}`);for(const{filename:f}of c)u.push(f)}const a=await e.media.getMediaFilesNames({pattern:`${i}-*`}),o=[];for(const l of a)u.includes(l)||(await e.media.deleteMediaFile({filename:l}),o.push(l));return o}s(Wd,"deleteUnusedMedia");async function _r(e){try{const{permission:t}=await e.miscellaneous.requestPermission();if(t==="denied")throw new Error('Permission denied, please add this source to the "webCorsOriginList" in the Anki-Connect add-on configuration options.');return"granted"}catch(t){if(t instanceof Error&&(t.message==="fetch failed"||t.message==="net::ERR_CONNECTION_REFUSED"))return"ankiUnreachable";throw t}}s(_r,"requestPermission");async function $a(e){try{await e.miscellaneous.sync()}catch{console.warn("Could not sync to AnkiWeb.")}}s($a,"syncToAnkiWeb");const Kd={...He};async function P_(e){const t=performance.now(),{ankiConnectOptions:n,ankiWeb:r,dryRun:i,namespace:u}=Oe(Kd,e??{}),a=Qt(u,!0),o=new Kn(n);if(await _r(o)==="ankiUnreachable")throw new Error("Anki is unreachable. Is Anki running?");const c=await Ha(o,a);await $d(o,c,i);const f=await Yd(o,[],c,i),h=await Wd(o,[],a,i),m=c.length>0||f.length>0;return!i&&r&&(m||zu)&&await $a(o),{ankiWeb:r,deletedDecks:f,deletedMedia:h,deletedNotes:c,dryRun:i,duration:performance.now()-t,namespace:a}}s(P_,"cleanNotes");function M_(e,t=!1){const n=e.deletedDecks.length,r=e.deletedNotes.length,i=e.deletedMedia.length;if(n===0&&r===0&&i===0)return"Nothing to delete";const u=[];if(u.push(`${e.dryRun?"Will":"Successfully"} deleted ${r} ${fn("note",r)}, ${n} ${fn("deck",n)}, and ${i} media ${fn("asset",i)} from Anki${e.dryRun?"":` in ${Ds(e.duration)}`}.`),t){if(r>0){u.push("",e.dryRun?"Notes to delete:":"Deleted notes:");for(const a of e.deletedNotes){const o=qu(Ma(a.fields.Front),50);u.push(` Note ID ${a.noteId} ${o}`)}}if(n>0){u.push("",e.dryRun?"Decks to delete:":"Deleted decks:");for(const a of e.deletedDecks)u.push(` ${a}`)}if(i>0){u.push("",e.dryRun?"Media assets to delete:":"Deleted media assets:");for(const a of e.deletedMedia)u.push(` ${a}`)}}return u.join(`
|
|
797
797
|
`)}s(M_,"formatCleanResult");const Qd={...He};async function U_(e){const t=performance.now(),{ankiConnectOptions:n,namespace:r}=Oe(Qd,e??{}),i=Qt(r,!0),u=new Kn(n);if(await _r(u)==="ankiUnreachable")throw new Error("Anki is unreachable. Is Anki running?");const o=await Ha(u,i);return{duration:performance.now()-t,namespace:i,notes:o}}s(U_,"listNotes");function H_(e){if(e.notes.length===0)return"No notes found.";const t=[];for(const n of e.notes){const r=qu(Ma(n.fields.Front),50);t.push(`Note ID ${n.noteId} ${r}`)}return t.join(`
|
|
798
|
-
`)}s(H_,"formatListResult");function Xd(){return/[<>:"/\\|?*\u0000-\u001F]/g}s(Xd,"filenameReservedRegex");function $_(){return/^(con|prn|aux|nul|com\d|lpt\d)$/i}s($_,"windowsReservedNameRegex");const q_=100,z_=/^\.+(\\|\/)|^\.+$/,Y_=/\.+$/;function j_(e,t={}){const n=/[\u0000-\u001F\u0080-\u009F]/g,r=/([<>:"/\\|?*\u0000-\u001F]){2,}/g;if(typeof e!="string")throw new TypeError("Expected a string");const i=t.replacement===void 0?"!":t.replacement;if(Xd().test(i)&&n.test(i))throw new Error("Replacement string cannot contain reserved filename characters");i.length>0&&(e=e.replace(r,"$1")),e=e.normalize("NFD"),e=e.replace(z_,i),e=e.replace(Xd(),i),e=e.replace(n,i),e=e.replace(Y_,""),i.length>0&&(!(e[0]===".")&&e[0]==="."&&(e=i+e),e[e.length-1]==="."&&(e+=i)),e=$_().test(e)?e+i:e;const u=typeof t.maxLength=="number"?t.maxLength:q_;if(e.length>u){const a=e.lastIndexOf(".");if(a===-1)e=e.slice(0,u);else{const o=e.slice(0,a),l=e.slice(a);e=o.slice(0,Math.max(1,u-l.length))+l}}return e}s(j_,"filenamify");const G_="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",V_=128;let Zt,wn;function W_(e){!Zt||Zt.length<e?(Zt=Buffer.allocUnsafe(e*V_),Qo.getRandomValues(Zt),wn=0):wn+e>Zt.length&&(Qo.getRandomValues(Zt),wn=0),wn+=e}s(W_,"fillPool");function K_(e=21){W_(e|=0);let t="";for(let n=wn-e;n<wn;n++)t+=G_[Zt[n]&63];return t}s(K_,"nanoid");function Q_(e,t,n){if(t==="off")throw new Error("manageFilenames must not be off");switch(e.modelName){case"Yanki - Basic":case"Yanki - Basic (and reversed card with extra)":case"Yanki - Basic (type in the answer)":{const r=ft(Lt(e.fields.Front).replace(Ri,"").replace(Pi,"")),i=ft(Lt(e.fields.Back).replace(Ri,"").replace(Pi,""));switch(t){case"prompt":return Lt(r??i??"",n);case"response":return Lt(i??r??"",n)}}case"Yanki - Cloze":{const r=ft(Lt(e.fields.Front).replace(Ri,"").replace(Pi,""));if(r===void 0)return Lt("",n);const i=ft(r.split("{{").at(0)??""),u=ft(/\{\{\w\d*\s?:{0,2}([^:}]+)/.exec(r)?.at(1)),a=ft(r.split("}}").at(1)?.split("{{").at(0)??"");switch(t){case"prompt":return Lt(i??a??u??"",n);case"response":return Lt(u??i??a??"",n)}}}}s(Q_,"getSafeTitleForNote");function Lt(e,t){let n=j_(Ma(e).trim(),{maxLength:Number.MAX_SAFE_INTEGER,replacement:" "}).replaceAll(/\s+/g," ").trim();if(n.length===0&&(n=Pi),n=n.normalize("NFC"),t===void 0)return n;const r=Math.min(t,Af-12);return qu(n,r)}s(Lt,"getSafeFilename");function X_(e,t){let n=qa(e,1),r=2;for(;t.includes(n.toLowerCase());)n=qa(e,r),r++;return n}s(X_,"getUniqueFilePath");function J_(e,t){const n=qa(e,2);return t.includes(n.toLowerCase())?e:Jd(e)}s(J_,"auditUniqueFilePath");function Jd(e){const t=e.endsWith(".")||e.endsWith(")")?void 0:ne.extname(e),n=ne.basename(e,t).replace(/\s\(\d+\)$/,"");return ne.join(ne.dirname(e),`${n}${t??""}`)}s(Jd,"stripFilenameIncrement");function qa(e,t){const n=ne.extname(e),r=ne.basename(e,n),i=`${Jd(r)} (${t})`;return ne.join(ne.dirname(e),`${i}${n}`)}s(qa,"appendFilenameIncrement");function Z_(e){return`${e}-${K_(8)}`}s(Z_,"getTemporarilyUniqueFilePath");function eB(e){let t,n=0;const r=/\{([^\|\}]+\|[^\|\}]+(?:\|[^\{\|\}]+)*)\}/g,i=[];for(;(t=r.exec(e))!==null;)i.push(e.substring(n,t.index)),i.push(t[1].split("|")),n=t.index+t[0].length;return i.push(e.substring(n,e.length)),i.filter(u=>u!=="")}s(eB,"scanRuby");function Zd(e,t){return[ie("text",{value:e}),ie("rp",{data:{hName:"rp"}},[ie("text",{value:"("})]),ie("rt",{data:{hName:"rt"}},[ie("text",{value:t})]),ie("rp",{data:{hName:"rp"}},[ie("text",{value:")"})])]}s(Zd,"buildRubyToken");function tB(e){const t=Array.from(e[0]);if(t.length+1===e.length){const n=[];for(let r=0;r<t.length;r++)n.push(...Zd(t[r],e[r+1]));return ie("ruby",{data:{hName:"ruby"}},n)}else{const n=e[0],r=e.slice(1).join("");return ie("ruby",{data:{hName:"ruby"}},Zd(n,r))}}s(tB,"buildRubyAst");function nB(){function e(t){ae(t,"text",(n,r,i)=>{const u=eB(n.value).map(a=>typeof a=="string"?{type:"text",value:a}:tB(a));return i.children.splice(r,1,...u),r+u.length})}return s(e,"transformer"),e}s(nB,"plugin$4");const rB=s((function(e,t,n,r,i){const u=Ct(r),a=[];if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index for start")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index for start");if(typeof n=="number"){if(n<0||n===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index for end")}else if(n=e.children.indexOf(n),n<0)throw new Error("Expected child node or index for end");for(;++t<n;)u(e.children[t],t,e)&&a.push(e.children[t]);return a}),"findAllBetween"),iB=s((function(e,t,n){const r=Ct(n),i=[];let u=-1;if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(t>e.children.length&&(t=e.children.length);++u<t;)r(e.children[u],u,e)&&i.push(e.children[u]);return i}),"findAllBefore"),sB=s((function(e,t,n){const r=Ct(n),i=[];if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)r(e.children[t],t,e)&&i.push(e.children[t]);return i}),"findAllAfter"),e0={a:"amber",b:"blue",c:"cyan",d:"brown",e:"espresso",f:"fuchsia",g:"green",h:"hotpink",i:"indigo",j:"jade",k:"kiwi",l:"lime",m:"magenta",n:"navyblue",o:"orange",p:"purple",q:"pink",r:"red",s:"silver",t:"teal",u:"umber",v:"violet",w:"white",x:"gray",y:"yellow",z:"black"},uB={dictionary:e0,markerTagName:"mark",markerClassName:"flexible-marker",actionForEmptyContent:"mark"},aB=/=([a-z]?)=(?![\s=])([\s\S]*?)(?<![\s=])==/,oB=/=([a-z]?)=(?![\s=])([\s\S]*?)(?<![\s=])==/g,lB=/=([a-z]?)=(?![\s]|=+\s)/,cB=/=([a-z]?)=(?![\s]|=+\s)/g,hB=/(?<!\s|\s=|\s==|\s===|\s====)==/,fB=/(?<!\s|\s=|\s==|\s===|\s====)==/g,dB=/=([a-z]?)=\s*==/,t0=/=([a-z]?)=\s*==/g;function pB(e){return e.filter(t=>!!t)}s(pB,"clsx");const mB=s(e=>{const t=Object.assign({},uB,e);e?.dictionary&&Object.keys(e.dictionary).length&&(t.dictionary=Object.assign({},e0,e.dictionary));const n=s((o,l)=>{const c=o?t.dictionary[o]:void 0,f=typeof t.markerTagName=="string"?t.markerTagName:t.markerTagName(c),h=typeof t.markerClassName=="function"?t.markerClassName(c):pB([t.markerClassName,!o&&`${t.markerClassName}-default`,c&&`${t.markerClassName}-${c}`,!l.length&&`${t.markerClassName}-empty`]);let m;return t.markerProperties&&(m=t.markerProperties(c),Object.entries(m).forEach(([p,g])=>{(typeof g=="string"&&g===""||Array.isArray(g)&&g.length===0)&&m&&(m[p]=void 0),p==="className"&&delete m?.className})),{type:"mark",children:l,data:{hName:f,hProperties:{className:h,...m&&{...m}}}}},"constructMarkNode"),r=s(function(o,l,c){if(!c||typeof l>"u"||!aB.test(o.value))return;const f=[],h=o.value;let m="",p=0,g=0;const E=Array.from(h.matchAll(oB));for(let D=0;D<E.length;D++){const A=E[D],[C,T,I]=A,v=A.index,_=C.length,L=p+g;if(p=v,g=_,v>L){const w=h.substring(L,v),F=ie("text",w);f.push(F)}const x=n(T,[{type:"text",value:I.trim()}]);f.push(x),m=h.slice(v+_)}if(m){const D=ie("text",m);f.push(D)}f.length&&c.children.splice(l,1,...f)},"visitorFirst"),i=s(function(o,l,c){if(!c||typeof l>"u"||!lB.test(o.value))return;const f=o,h=Js(c,f,function(q){return q.type==="text"&&hB.test(q.value)});if(!h)return;const m=iB(c,f),p=rB(c,f,h),g=sB(c,h),E=f.value,D=Array.from(E.matchAll(cB))[0],[A,C]=D,T=A.length,I=D.index;if(I>0){const q=E.substring(0,I),M=ie("text",q);m.push(M)}if(E.length>I+T){const q=E.slice(I+T),M=ie("text",q);p.unshift(M)}const v=h.value,_=Array.from(v.matchAll(fB))[0],[L]=_,x=L.length,w=_.index;if(w>0){const q=v.substring(0,w),M=ie("text",q);p.push(M)}if(v.length>w+x){const q=v.slice(w+x),M=ie("text",q);g.unshift(M)}const F=n(C,p);return c.children=[...m,F,...g],l},"visitorSecond"),u=s(function(o,l,c){if(!c||typeof l>"u"||!dB.test(o.value))return;if(t.actionForEmptyContent==="remove")return o.value=o.value.replaceAll(t0,""),o.value.trim()===""?[gi,l]:Ve;const f=[],h=o.value;let m="",p=0,g=0;const E=Array.from(h.matchAll(t0));for(let D=0;D<E.length;D++){const A=E[D],[C,T]=A,I=A.index,v=C.length,_=p+g;if(p=I,g=v,I>_){const x=h.substring(_,I),w=ie("text",x);f.push(w)}const L=n(T,[]);f.push(L),m=h.slice(I+v)}if(m){const D=ie("text",m);f.push(D)}f.length&&c.children.splice(l,1,...f)},"visitorThird");return s(o=>{if(ae(o,"text",r),ae(o,"text",i),t.actionForEmptyContent!=="keep"&&ae(o,"text",u),t.equalityOperator){const l=new RegExp(t.equalityOperator,"gi");ae(o,"text",c=>{c.value=c.value.replaceAll(l,"==")})}},"transformer")},"plugin$3");var za={exports:{}},n0;function gB(){return n0||(n0=1,(function(e){(function(){var t;t=e.exports=i,t.format=i,t.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(i.apply(null,arguments))}s(n,"printf");function r(u,a){return i.apply(null,[u].concat(a))}s(r,"vsprintf");function i(u){for(var a=1,o=[].slice.call(arguments),l=0,c=u.length,f="",h,m=!1,p,g,E=!1,D,A=s(function(){return o[a++]},"nextArg"),C=s(function(){for(var T="";/\d/.test(u[l]);)T+=u[l++],h=u[l];return T.length>0?parseInt(T):null},"slurpNumber");l<c;++l)if(h=u[l],m)switch(m=!1,h=="."?(E=!1,h=u[++l]):h=="0"&&u[l+1]=="."?(E=!0,l+=2,h=u[l]):E=!0,D=C(),h){case"b":f+=parseInt(A(),10).toString(2);break;case"c":p=A(),typeof p=="string"||p instanceof String?f+=p:f+=String.fromCharCode(parseInt(p,10));break;case"d":f+=parseInt(A(),10);break;case"f":g=String(parseFloat(A()).toFixed(D||6)),f+=E?g:g.replace(/^0/,"");break;case"j":f+=JSON.stringify(A());break;case"o":f+="0"+parseInt(A(),10).toString(8);break;case"s":f+=A();break;case"x":f+="0x"+parseInt(A(),10).toString(16);break;case"X":f+="0x"+parseInt(A(),10).toString(16).toUpperCase();break;default:f+=h;break}else h==="%"?m=!0:f+=h;return f}s(i,"format")})()})(za)),za.exports}s(gB,"requireFormat");var EB=gB(),AB=Wn(EB);const Yi=Object.assign(en(Error),{eval:en(EvalError),range:en(RangeError),reference:en(ReferenceError),syntax:en(SyntaxError),type:en(TypeError),uri:en(URIError)});function en(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){const i=n&&AB(n,...r);return new e(i)}s(t,"FormattedError")}s(en,"create");const ji={}.hasOwnProperty,r0={yaml:"-",toml:"+"};function Ya(e){const t=[];let n=-1;const r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=DB(r[n]);return t}s(Ya,"toMatters");function DB(e){let t=e;if(typeof t=="string"){if(!ji.call(r0,t))throw Yi("Missing matter definition for `%s`",t);t={type:t,marker:r0[t]}}else if(typeof t!="object")throw Yi("Expected matter to be an object, not `%j`",t);if(!ji.call(t,"type"))throw Yi("Missing `type` in matter `%j`",t);if(!ji.call(t,"fence")&&!ji.call(t,"marker"))throw Yi("Missing `marker` or `fence` in matter `%j`",t);return t}s(DB,"matter");function CB(e){const t=Ya(e),n={};let r=-1;for(;++r<t.length;){const i=t[r],u=ja(i,"open").charCodeAt(0),a=yB(i),o=n[u];Array.isArray(o)?o.push(a):n[u]=[a]}return{flow:n}}s(CB,"frontmatter");function yB(e){const t=e.anywhere,n=e.type,r=n+"Fence",i=r+"Sequence",u=n+"Value",a={tokenize:f,partial:!0};let o,l=0;return{tokenize:c,concrete:!0};function c(h,m,p){const g=this;return E;function E(L){const x=g.now();return x.column===1&&(x.line===1||t)&&(o=ja(e,"open"),l=0,L===o.charCodeAt(l))?(h.enter(n),h.enter(r),h.enter(i),D(L)):p(L)}function D(L){return l===o.length?(h.exit(i),J(L)?(h.enter("whitespace"),A(L)):C(L)):L===o.charCodeAt(l++)?(h.consume(L),D):p(L)}function A(L){return J(L)?(h.consume(L),A):(h.exit("whitespace"),C(L))}function C(L){return Y(L)?(h.exit(r),h.enter("lineEnding"),h.consume(L),h.exit("lineEnding"),o=ja(e,"close"),l=0,h.attempt(a,_,T)):p(L)}function T(L){return L===null||Y(L)?v(L):(h.enter(u),I(L))}function I(L){return L===null||Y(L)?(h.exit(u),v(L)):(h.consume(L),I)}function v(L){return L===null?p(L):(h.enter("lineEnding"),h.consume(L),h.exit("lineEnding"),h.attempt(a,_,T))}function _(L){return h.exit(n),m(L)}}function f(h,m,p){let g=0;return E;function E(T){return T===o.charCodeAt(g)?(h.enter(r),h.enter(i),D(T)):p(T)}function D(T){return g===o.length?(h.exit(i),J(T)?(h.enter("whitespace"),A(T)):C(T)):T===o.charCodeAt(g++)?(h.consume(T),D):p(T)}function A(T){return J(T)?(h.consume(T),A):(h.exit("whitespace"),C(T))}function C(T){return T===null||Y(T)?(h.exit(r),m(T)):p(T)}}}s(yB,"createConstruct");function ja(e,t){return e.marker?i0(e.marker,t).repeat(3):i0(e.fence,t)}s(ja,"fence$1");function i0(e,t){return typeof e=="string"?e:e[t]}s(i0,"pick$1");function TB(e){const t=Ya(e),n={},r={};let i=-1;for(;++i<t.length;){const u=t[i];n[u.type]=bB(u),r[u.type]=kB,r[u.type+"Value"]=SB}return{enter:n,exit:r}}s(TB,"frontmatterFromMarkdown");function bB(e){return t;function t(n){this.enter({type:e.type,value:""},n),this.buffer()}}s(bB,"opener");function kB(e){const t=this.resume(),n=this.stack[this.stack.length-1];this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}s(kB,"close");function SB(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}s(SB,"value");function _B(e){const t=[],n={},r=Ya(e);let i=-1;for(;++i<r.length;){const u=r[i];n[u.type]=BB(u);const a=Ga(u,"open");t.push({atBreak:!0,character:a.charAt(0),after:Mi(a.charAt(1))})}return{unsafe:t,handlers:n}}s(_B,"frontmatterToMarkdown");function BB(e){const t=Ga(e,"open"),n=Ga(e,"close");return r;function r(i){return t+(i.value?`
|
|
798
|
+
`)}s(H_,"formatListResult");function Xd(){return/[<>:"/\\|?*\u0000-\u001F]/g}s(Xd,"filenameReservedRegex");function $_(){return/^(con|prn|aux|nul|com\d|lpt\d)$/i}s($_,"windowsReservedNameRegex");const q_=100,z_=/^\.+(\\|\/)|^\.+$/,j_=/\.+$/;function Y_(e,t={}){const n=/[\u0000-\u001F\u0080-\u009F]/g,r=/([<>:"/\\|?*\u0000-\u001F]){2,}/g;if(typeof e!="string")throw new TypeError("Expected a string");const i=t.replacement===void 0?"!":t.replacement;if(Xd().test(i)&&n.test(i))throw new Error("Replacement string cannot contain reserved filename characters");i.length>0&&(e=e.replace(r,"$1")),e=e.normalize("NFD"),e=e.replace(z_,i),e=e.replace(Xd(),i),e=e.replace(n,i),e=e.replace(j_,""),i.length>0&&(!(e[0]===".")&&e[0]==="."&&(e=i+e),e[e.length-1]==="."&&(e+=i)),e=$_().test(e)?e+i:e;const u=typeof t.maxLength=="number"?t.maxLength:q_;if(e.length>u){const a=e.lastIndexOf(".");if(a===-1)e=e.slice(0,u);else{const o=e.slice(0,a),l=e.slice(a);e=o.slice(0,Math.max(1,u-l.length))+l}}return e}s(Y_,"filenamify");const G_="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",V_=128;let Zt,wn;function W_(e){!Zt||Zt.length<e?(Zt=Buffer.allocUnsafe(e*V_),Qo.getRandomValues(Zt),wn=0):wn+e>Zt.length&&(Qo.getRandomValues(Zt),wn=0),wn+=e}s(W_,"fillPool");function K_(e=21){W_(e|=0);let t="";for(let n=wn-e;n<wn;n++)t+=G_[Zt[n]&63];return t}s(K_,"nanoid");function Q_(e,t,n){if(t==="off")throw new Error("manageFilenames must not be off");switch(e.modelName){case"Yanki - Basic":case"Yanki - Basic (and reversed card with extra)":case"Yanki - Basic (type in the answer)":{const r=ft(Lt(e.fields.Front).replace(Ri,"").replace(Pi,"")),i=ft(Lt(e.fields.Back).replace(Ri,"").replace(Pi,""));switch(t){case"prompt":return Lt(r??i??"",n);case"response":return Lt(i??r??"",n)}}case"Yanki - Cloze":{const r=ft(Lt(e.fields.Front).replace(Ri,"").replace(Pi,""));if(r===void 0)return Lt("",n);const i=ft(r.split("{{").at(0)??""),u=ft(/\{\{\w\d*\s?:{0,2}([^:}]+)/.exec(r)?.at(1)),a=ft(r.split("}}").at(1)?.split("{{").at(0)??"");switch(t){case"prompt":return Lt(i??a??u??"",n);case"response":return Lt(u??i??a??"",n)}}}}s(Q_,"getSafeTitleForNote");function Lt(e,t){let n=Y_(Ma(e).trim(),{maxLength:Number.MAX_SAFE_INTEGER,replacement:" "}).replaceAll(/\s+/g," ").trim();if(n.length===0&&(n=Pi),n=n.normalize("NFC"),t===void 0)return n;const r=Math.min(t,Af-12);return qu(n,r)}s(Lt,"getSafeFilename");function X_(e,t){let n=qa(e,1),r=2;for(;t.includes(n.toLowerCase());)n=qa(e,r),r++;return n}s(X_,"getUniqueFilePath");function J_(e,t){const n=qa(e,2);return t.includes(n.toLowerCase())?e:Jd(e)}s(J_,"auditUniqueFilePath");function Jd(e){const t=e.endsWith(".")||e.endsWith(")")?void 0:ne.extname(e),n=ne.basename(e,t).replace(/\s\(\d+\)$/,"");return ne.join(ne.dirname(e),`${n}${t??""}`)}s(Jd,"stripFilenameIncrement");function qa(e,t){const n=ne.extname(e),r=ne.basename(e,n),i=`${Jd(r)} (${t})`;return ne.join(ne.dirname(e),`${i}${n}`)}s(qa,"appendFilenameIncrement");function Z_(e){return`${e}-${K_(8)}`}s(Z_,"getTemporarilyUniqueFilePath");function eB(e){let t,n=0;const r=/\{([^\|\}]+\|[^\|\}]+(?:\|[^\{\|\}]+)*)\}/g,i=[];for(;(t=r.exec(e))!==null;)i.push(e.substring(n,t.index)),i.push(t[1].split("|")),n=t.index+t[0].length;return i.push(e.substring(n,e.length)),i.filter(u=>u!=="")}s(eB,"scanRuby");function Zd(e,t){return[ie("text",{value:e}),ie("rp",{data:{hName:"rp"}},[ie("text",{value:"("})]),ie("rt",{data:{hName:"rt"}},[ie("text",{value:t})]),ie("rp",{data:{hName:"rp"}},[ie("text",{value:")"})])]}s(Zd,"buildRubyToken");function tB(e){const t=Array.from(e[0]);if(t.length+1===e.length){const n=[];for(let r=0;r<t.length;r++)n.push(...Zd(t[r],e[r+1]));return ie("ruby",{data:{hName:"ruby"}},n)}else{const n=e[0],r=e.slice(1).join("");return ie("ruby",{data:{hName:"ruby"}},Zd(n,r))}}s(tB,"buildRubyAst");function nB(){function e(t){ae(t,"text",(n,r,i)=>{const u=eB(n.value).map(a=>typeof a=="string"?{type:"text",value:a}:tB(a));return i.children.splice(r,1,...u),r+u.length})}return s(e,"transformer"),e}s(nB,"plugin$4");const rB=s((function(e,t,n,r,i){const u=Ct(r),a=[];if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index for start")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index for start");if(typeof n=="number"){if(n<0||n===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index for end")}else if(n=e.children.indexOf(n),n<0)throw new Error("Expected child node or index for end");for(;++t<n;)u(e.children[t],t,e)&&a.push(e.children[t]);return a}),"findAllBetween"),iB=s((function(e,t,n){const r=Ct(n),i=[];let u=-1;if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(t>e.children.length&&(t=e.children.length);++u<t;)r(e.children[u],u,e)&&i.push(e.children[u]);return i}),"findAllBefore"),sB=s((function(e,t,n){const r=Ct(n),i=[];if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)r(e.children[t],t,e)&&i.push(e.children[t]);return i}),"findAllAfter"),e0={a:"amber",b:"blue",c:"cyan",d:"brown",e:"espresso",f:"fuchsia",g:"green",h:"hotpink",i:"indigo",j:"jade",k:"kiwi",l:"lime",m:"magenta",n:"navyblue",o:"orange",p:"purple",q:"pink",r:"red",s:"silver",t:"teal",u:"umber",v:"violet",w:"white",x:"gray",y:"yellow",z:"black"},uB={dictionary:e0,markerTagName:"mark",markerClassName:"flexible-marker",actionForEmptyContent:"mark"},aB=/=([a-z]?)=(?![\s=])([\s\S]*?)(?<![\s=])==/,oB=/=([a-z]?)=(?![\s=])([\s\S]*?)(?<![\s=])==/g,lB=/=([a-z]?)=(?![\s]|=+\s)/,cB=/=([a-z]?)=(?![\s]|=+\s)/g,hB=/(?<!\s|\s=|\s==|\s===|\s====)==/,fB=/(?<!\s|\s=|\s==|\s===|\s====)==/g,dB=/=([a-z]?)=\s*==/,t0=/=([a-z]?)=\s*==/g;function pB(e){return e.filter(t=>!!t)}s(pB,"clsx");const mB=s(e=>{const t=Object.assign({},uB,e);e?.dictionary&&Object.keys(e.dictionary).length&&(t.dictionary=Object.assign({},e0,e.dictionary));const n=s((o,l)=>{const c=o?t.dictionary[o]:void 0,f=typeof t.markerTagName=="string"?t.markerTagName:t.markerTagName(c),h=typeof t.markerClassName=="function"?t.markerClassName(c):pB([t.markerClassName,!o&&`${t.markerClassName}-default`,c&&`${t.markerClassName}-${c}`,!l.length&&`${t.markerClassName}-empty`]);let m;return t.markerProperties&&(m=t.markerProperties(c),Object.entries(m).forEach(([p,g])=>{(typeof g=="string"&&g===""||Array.isArray(g)&&g.length===0)&&m&&(m[p]=void 0),p==="className"&&delete m?.className})),{type:"mark",children:l,data:{hName:f,hProperties:{className:h,...m&&{...m}}}}},"constructMarkNode"),r=s(function(o,l,c){if(!c||typeof l>"u"||!aB.test(o.value))return;const f=[],h=o.value;let m="",p=0,g=0;const E=Array.from(h.matchAll(oB));for(let A=0;A<E.length;A++){const D=E[A],[C,T,I]=D,v=D.index,_=C.length,L=p+g;if(p=v,g=_,v>L){const w=h.substring(L,v),F=ie("text",w);f.push(F)}const x=n(T,[{type:"text",value:I.trim()}]);f.push(x),m=h.slice(v+_)}if(m){const A=ie("text",m);f.push(A)}f.length&&c.children.splice(l,1,...f)},"visitorFirst"),i=s(function(o,l,c){if(!c||typeof l>"u"||!lB.test(o.value))return;const f=o,h=Js(c,f,function(q){return q.type==="text"&&hB.test(q.value)});if(!h)return;const m=iB(c,f),p=rB(c,f,h),g=sB(c,h),E=f.value,A=Array.from(E.matchAll(cB))[0],[D,C]=A,T=D.length,I=A.index;if(I>0){const q=E.substring(0,I),M=ie("text",q);m.push(M)}if(E.length>I+T){const q=E.slice(I+T),M=ie("text",q);p.unshift(M)}const v=h.value,_=Array.from(v.matchAll(fB))[0],[L]=_,x=L.length,w=_.index;if(w>0){const q=v.substring(0,w),M=ie("text",q);p.push(M)}if(v.length>w+x){const q=v.slice(w+x),M=ie("text",q);g.unshift(M)}const F=n(C,p);return c.children=[...m,F,...g],l},"visitorSecond"),u=s(function(o,l,c){if(!c||typeof l>"u"||!dB.test(o.value))return;if(t.actionForEmptyContent==="remove")return o.value=o.value.replaceAll(t0,""),o.value.trim()===""?[gi,l]:Ve;const f=[],h=o.value;let m="",p=0,g=0;const E=Array.from(h.matchAll(t0));for(let A=0;A<E.length;A++){const D=E[A],[C,T]=D,I=D.index,v=C.length,_=p+g;if(p=I,g=v,I>_){const x=h.substring(_,I),w=ie("text",x);f.push(w)}const L=n(T,[]);f.push(L),m=h.slice(I+v)}if(m){const A=ie("text",m);f.push(A)}f.length&&c.children.splice(l,1,...f)},"visitorThird");return s(o=>{if(ae(o,"text",r),ae(o,"text",i),t.actionForEmptyContent!=="keep"&&ae(o,"text",u),t.equalityOperator){const l=new RegExp(t.equalityOperator,"gi");ae(o,"text",c=>{c.value=c.value.replaceAll(l,"==")})}},"transformer")},"plugin$3");var za={exports:{}},n0;function gB(){return n0||(n0=1,(function(e){(function(){var t;t=e.exports=i,t.format=i,t.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(i.apply(null,arguments))}s(n,"printf");function r(u,a){return i.apply(null,[u].concat(a))}s(r,"vsprintf");function i(u){for(var a=1,o=[].slice.call(arguments),l=0,c=u.length,f="",h,m=!1,p,g,E=!1,A,D=s(function(){return o[a++]},"nextArg"),C=s(function(){for(var T="";/\d/.test(u[l]);)T+=u[l++],h=u[l];return T.length>0?parseInt(T):null},"slurpNumber");l<c;++l)if(h=u[l],m)switch(m=!1,h=="."?(E=!1,h=u[++l]):h=="0"&&u[l+1]=="."?(E=!0,l+=2,h=u[l]):E=!0,A=C(),h){case"b":f+=parseInt(D(),10).toString(2);break;case"c":p=D(),typeof p=="string"||p instanceof String?f+=p:f+=String.fromCharCode(parseInt(p,10));break;case"d":f+=parseInt(D(),10);break;case"f":g=String(parseFloat(D()).toFixed(A||6)),f+=E?g:g.replace(/^0/,"");break;case"j":f+=JSON.stringify(D());break;case"o":f+="0"+parseInt(D(),10).toString(8);break;case"s":f+=D();break;case"x":f+="0x"+parseInt(D(),10).toString(16);break;case"X":f+="0x"+parseInt(D(),10).toString(16).toUpperCase();break;default:f+=h;break}else h==="%"?m=!0:f+=h;return f}s(i,"format")})()})(za)),za.exports}s(gB,"requireFormat");var EB=gB(),AB=Wn(EB);const ji=Object.assign(en(Error),{eval:en(EvalError),range:en(RangeError),reference:en(ReferenceError),syntax:en(SyntaxError),type:en(TypeError),uri:en(URIError)});function en(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){const i=n&&AB(n,...r);return new e(i)}s(t,"FormattedError")}s(en,"create");const Yi={}.hasOwnProperty,r0={yaml:"-",toml:"+"};function ja(e){const t=[];let n=-1;const r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=DB(r[n]);return t}s(ja,"toMatters");function DB(e){let t=e;if(typeof t=="string"){if(!Yi.call(r0,t))throw ji("Missing matter definition for `%s`",t);t={type:t,marker:r0[t]}}else if(typeof t!="object")throw ji("Expected matter to be an object, not `%j`",t);if(!Yi.call(t,"type"))throw ji("Missing `type` in matter `%j`",t);if(!Yi.call(t,"fence")&&!Yi.call(t,"marker"))throw ji("Missing `marker` or `fence` in matter `%j`",t);return t}s(DB,"matter");function CB(e){const t=ja(e),n={};let r=-1;for(;++r<t.length;){const i=t[r],u=Ya(i,"open").charCodeAt(0),a=yB(i),o=n[u];Array.isArray(o)?o.push(a):n[u]=[a]}return{flow:n}}s(CB,"frontmatter");function yB(e){const t=e.anywhere,n=e.type,r=n+"Fence",i=r+"Sequence",u=n+"Value",a={tokenize:f,partial:!0};let o,l=0;return{tokenize:c,concrete:!0};function c(h,m,p){const g=this;return E;function E(L){const x=g.now();return x.column===1&&(x.line===1||t)&&(o=Ya(e,"open"),l=0,L===o.charCodeAt(l))?(h.enter(n),h.enter(r),h.enter(i),A(L)):p(L)}function A(L){return l===o.length?(h.exit(i),J(L)?(h.enter("whitespace"),D(L)):C(L)):L===o.charCodeAt(l++)?(h.consume(L),A):p(L)}function D(L){return J(L)?(h.consume(L),D):(h.exit("whitespace"),C(L))}function C(L){return j(L)?(h.exit(r),h.enter("lineEnding"),h.consume(L),h.exit("lineEnding"),o=Ya(e,"close"),l=0,h.attempt(a,_,T)):p(L)}function T(L){return L===null||j(L)?v(L):(h.enter(u),I(L))}function I(L){return L===null||j(L)?(h.exit(u),v(L)):(h.consume(L),I)}function v(L){return L===null?p(L):(h.enter("lineEnding"),h.consume(L),h.exit("lineEnding"),h.attempt(a,_,T))}function _(L){return h.exit(n),m(L)}}function f(h,m,p){let g=0;return E;function E(T){return T===o.charCodeAt(g)?(h.enter(r),h.enter(i),A(T)):p(T)}function A(T){return g===o.length?(h.exit(i),J(T)?(h.enter("whitespace"),D(T)):C(T)):T===o.charCodeAt(g++)?(h.consume(T),A):p(T)}function D(T){return J(T)?(h.consume(T),D):(h.exit("whitespace"),C(T))}function C(T){return T===null||j(T)?(h.exit(r),m(T)):p(T)}}}s(yB,"createConstruct");function Ya(e,t){return e.marker?i0(e.marker,t).repeat(3):i0(e.fence,t)}s(Ya,"fence$1");function i0(e,t){return typeof e=="string"?e:e[t]}s(i0,"pick$1");function TB(e){const t=ja(e),n={},r={};let i=-1;for(;++i<t.length;){const u=t[i];n[u.type]=bB(u),r[u.type]=kB,r[u.type+"Value"]=SB}return{enter:n,exit:r}}s(TB,"frontmatterFromMarkdown");function bB(e){return t;function t(n){this.enter({type:e.type,value:""},n),this.buffer()}}s(bB,"opener");function kB(e){const t=this.resume(),n=this.stack[this.stack.length-1];this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}s(kB,"close");function SB(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}s(SB,"value");function _B(e){const t=[],n={},r=ja(e);let i=-1;for(;++i<r.length;){const u=r[i];n[u.type]=BB(u);const a=Ga(u,"open");t.push({atBreak:!0,character:a.charAt(0),after:Mi(a.charAt(1))})}return{unsafe:t,handlers:n}}s(_B,"frontmatterToMarkdown");function BB(e){const t=Ga(e,"open"),n=Ga(e,"close");return r;function r(i){return t+(i.value?`
|
|
799
799
|
`+i.value:"")+`
|
|
800
|
-
`+n}}s(BB,"handler");function Ga(e,t){return e.marker?s0(e.marker,t).repeat(3):s0(e.fence,t)}s(Ga,"fence");function s0(e,t){return typeof e=="string"?e:e[t]}s(s0,"pick");const wB="yaml";function FB(e){const t=this,n=e||wB,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),u=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(CB(n)),u.push(TB(n)),a.push(_B(n))}s(FB,"remarkFrontmatter");const Va="phrasing",Wa=["autolink","link","image","label"];function NB(){return{transforms:[PB],enter:{literalAutolink:IB,literalAutolinkEmail:Ka,literalAutolinkHttp:Ka,literalAutolinkWww:Ka},exit:{literalAutolink:RB,literalAutolinkEmail:OB,literalAutolinkHttp:vB,literalAutolinkWww:LB}}}s(NB,"gfmAutolinkLiteralFromMarkdown");function xB(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Va,notInConstruct:Wa},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Va,notInConstruct:Wa},{character:":",before:"[ps]",after:"\\/",inConstruct:Va,notInConstruct:Wa}]}}s(xB,"gfmAutolinkLiteralToMarkdown");function IB(e){this.enter({type:"link",title:null,url:"",children:[]},e)}s(IB,"enterLiteralAutolink");function Ka(e){this.config.enter.autolinkProtocol.call(this,e)}s(Ka,"enterLiteralAutolinkValue");function vB(e){this.config.exit.autolinkProtocol.call(this,e)}s(vB,"exitLiteralAutolinkHttp");function LB(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}s(LB,"exitLiteralAutolinkWww");function OB(e){this.config.exit.autolinkEmail.call(this,e)}s(OB,"exitLiteralAutolinkEmail");function RB(e){this.exit(e)}s(RB,"exitLiteralAutolink");function PB(e){Pd(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,MB],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,UB]],{ignore:["link","linkReference"]})}s(PB,"transformGfmAutolinkLiterals");function MB(e,t,n,r,i){let u="";if(!u0(i)||(/^w/i.test(t)&&(n=t+n,t="",u="http://"),!HB(n)))return!1;const a=$B(n+r);if(!a[0])return!1;const o={type:"link",title:null,url:u+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[o,{type:"text",value:a[1]}]:o}s(MB,"findUrl");function UB(e,t,n,r){return!u0(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}s(UB,"findEmail");function HB(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}s(HB,"isCorrectDomain");function $B(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=ri(e,"(");let u=ri(e,")");for(;r!==-1&&i>u;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),u++;return[e,n]}s($B,"splitUrl");function u0(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Vt(n)||Ii(n))&&(!t||n!==47)}s(u0,"previous$2");function at(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}s(at,"normalizeIdentifier"),a0.peek=QB;function qB(){this.buffer()}s(qB,"enterFootnoteCallString");function zB(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}s(zB,"enterFootnoteCall");function
|
|
801
|
-
`:" ")+u.indentLines(u.containerFlow(r,o.current()),t?o0:ZB))),c(),l}s(n,"footnoteDefinition")}s(JB,"gfmFootnoteToMarkdown");function ZB(e,t,n){return t===0?e:o0(e,t,n)}s(ZB,"mapExceptFirst");function o0(e,t,n){return(n?"":" ")+e}s(o0,"mapAll");const e4=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];l0.peek=s4;function t4(){return{canContainEols:["delete"],enter:{strikethrough:r4},exit:{strikethrough:i4}}}s(t4,"gfmStrikethroughFromMarkdown");function n4(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:e4}],handlers:{delete:l0}}}s(n4,"gfmStrikethroughToMarkdown");function r4(e){this.enter({type:"delete",children:[]},e)}s(r4,"enterStrikethrough");function i4(e){this.exit(e)}s(i4,"exitStrikethrough");function l0(e,t,n,r){const i=n.createTracker(r),u=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),u(),a}s(l0,"handleDelete");function s4(){return"~"}s(s4,"peekDelete");function u4(e){return e.length}s(u4,"defaultStringLength");function a4(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||u4,u=[],a=[],o=[],l=[];let c=0,f=-1;for(;++f<e.length;){const E=[],
|
|
800
|
+
`+n}}s(BB,"handler");function Ga(e,t){return e.marker?s0(e.marker,t).repeat(3):s0(e.fence,t)}s(Ga,"fence");function s0(e,t){return typeof e=="string"?e:e[t]}s(s0,"pick");const wB="yaml";function FB(e){const t=this,n=e||wB,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),u=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(CB(n)),u.push(TB(n)),a.push(_B(n))}s(FB,"remarkFrontmatter");const Va="phrasing",Wa=["autolink","link","image","label"];function NB(){return{transforms:[PB],enter:{literalAutolink:IB,literalAutolinkEmail:Ka,literalAutolinkHttp:Ka,literalAutolinkWww:Ka},exit:{literalAutolink:RB,literalAutolinkEmail:OB,literalAutolinkHttp:vB,literalAutolinkWww:LB}}}s(NB,"gfmAutolinkLiteralFromMarkdown");function xB(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Va,notInConstruct:Wa},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Va,notInConstruct:Wa},{character:":",before:"[ps]",after:"\\/",inConstruct:Va,notInConstruct:Wa}]}}s(xB,"gfmAutolinkLiteralToMarkdown");function IB(e){this.enter({type:"link",title:null,url:"",children:[]},e)}s(IB,"enterLiteralAutolink");function Ka(e){this.config.enter.autolinkProtocol.call(this,e)}s(Ka,"enterLiteralAutolinkValue");function vB(e){this.config.exit.autolinkProtocol.call(this,e)}s(vB,"exitLiteralAutolinkHttp");function LB(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}s(LB,"exitLiteralAutolinkWww");function OB(e){this.config.exit.autolinkEmail.call(this,e)}s(OB,"exitLiteralAutolinkEmail");function RB(e){this.exit(e)}s(RB,"exitLiteralAutolink");function PB(e){Pd(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,MB],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,UB]],{ignore:["link","linkReference"]})}s(PB,"transformGfmAutolinkLiterals");function MB(e,t,n,r,i){let u="";if(!u0(i)||(/^w/i.test(t)&&(n=t+n,t="",u="http://"),!HB(n)))return!1;const a=$B(n+r);if(!a[0])return!1;const o={type:"link",title:null,url:u+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[o,{type:"text",value:a[1]}]:o}s(MB,"findUrl");function UB(e,t,n,r){return!u0(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}s(UB,"findEmail");function HB(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}s(HB,"isCorrectDomain");function $B(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=ri(e,"(");let u=ri(e,")");for(;r!==-1&&i>u;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),u++;return[e,n]}s($B,"splitUrl");function u0(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Vt(n)||Ii(n))&&(!t||n!==47)}s(u0,"previous$2");function at(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}s(at,"normalizeIdentifier"),a0.peek=QB;function qB(){this.buffer()}s(qB,"enterFootnoteCallString");function zB(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}s(zB,"enterFootnoteCall");function jB(){this.buffer()}s(jB,"enterFootnoteDefinitionLabelString");function YB(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}s(YB,"enterFootnoteDefinition");function GB(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=at(this.sliceSerialize(e)).toLowerCase(),n.label=t}s(GB,"exitFootnoteCallString");function VB(e){this.exit(e)}s(VB,"exitFootnoteCall");function WB(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=at(this.sliceSerialize(e)).toLowerCase(),n.label=t}s(WB,"exitFootnoteDefinitionLabelString");function KB(e){this.exit(e)}s(KB,"exitFootnoteDefinition");function QB(){return"["}s(QB,"footnoteReferencePeek");function a0(e,t,n,r){const i=n.createTracker(r);let u=i.move("[^");const a=n.enter("footnoteReference"),o=n.enter("reference");return u+=i.move(n.safe(n.associationId(e),{after:"]",before:u})),o(),a(),u+=i.move("]"),u}s(a0,"footnoteReference");function XB(){return{enter:{gfmFootnoteCallString:qB,gfmFootnoteCall:zB,gfmFootnoteDefinitionLabelString:jB,gfmFootnoteDefinition:YB},exit:{gfmFootnoteCallString:GB,gfmFootnoteCall:VB,gfmFootnoteDefinitionLabelString:WB,gfmFootnoteDefinition:KB}}}s(XB,"gfmFootnoteFromMarkdown");function JB(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:a0},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,u,a){const o=u.createTracker(a);let l=o.move("[^");const c=u.enter("footnoteDefinition"),f=u.enter("label");return l+=o.move(u.safe(u.associationId(r),{before:l,after:"]"})),f(),l+=o.move("]:"),r.children&&r.children.length>0&&(o.shift(4),l+=o.move((t?`
|
|
801
|
+
`:" ")+u.indentLines(u.containerFlow(r,o.current()),t?o0:ZB))),c(),l}s(n,"footnoteDefinition")}s(JB,"gfmFootnoteToMarkdown");function ZB(e,t,n){return t===0?e:o0(e,t,n)}s(ZB,"mapExceptFirst");function o0(e,t,n){return(n?"":" ")+e}s(o0,"mapAll");const e4=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];l0.peek=s4;function t4(){return{canContainEols:["delete"],enter:{strikethrough:r4},exit:{strikethrough:i4}}}s(t4,"gfmStrikethroughFromMarkdown");function n4(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:e4}],handlers:{delete:l0}}}s(n4,"gfmStrikethroughToMarkdown");function r4(e){this.enter({type:"delete",children:[]},e)}s(r4,"enterStrikethrough");function i4(e){this.exit(e)}s(i4,"exitStrikethrough");function l0(e,t,n,r){const i=n.createTracker(r),u=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),u(),a}s(l0,"handleDelete");function s4(){return"~"}s(s4,"peekDelete");function u4(e){return e.length}s(u4,"defaultStringLength");function a4(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||u4,u=[],a=[],o=[],l=[];let c=0,f=-1;for(;++f<e.length;){const E=[],A=[];let D=-1;for(e[f].length>c&&(c=e[f].length);++D<e[f].length;){const C=o4(e[f][D]);if(n.alignDelimiters!==!1){const T=i(C);A[D]=T,(l[D]===void 0||T>l[D])&&(l[D]=T)}E.push(C)}a[f]=E,o[f]=A}let h=-1;if(typeof r=="object"&&"length"in r)for(;++h<c;)u[h]=c0(r[h]);else{const E=c0(r);for(;++h<c;)u[h]=E}h=-1;const m=[],p=[];for(;++h<c;){const E=u[h];let A="",D="";E===99?(A=":",D=":"):E===108?A=":":E===114&&(D=":");let C=n.alignDelimiters===!1?1:Math.max(1,l[h]-A.length-D.length);const T=A+"-".repeat(C)+D;n.alignDelimiters!==!1&&(C=A.length+C+D.length,C>l[h]&&(l[h]=C),p[h]=C),m[h]=T}a.splice(1,0,m),o.splice(1,0,p),f=-1;const g=[];for(;++f<a.length;){const E=a[f],A=o[f];h=-1;const D=[];for(;++h<c;){const C=E[h]||"";let T="",I="";if(n.alignDelimiters!==!1){const v=l[h]-(A[h]||0),_=u[h];_===114?T=" ".repeat(v):_===99?v%2?(T=" ".repeat(v/2+.5),I=" ".repeat(v/2-.5)):(T=" ".repeat(v/2),I=T):I=" ".repeat(v)}n.delimiterStart!==!1&&!h&&D.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&C==="")&&(n.delimiterStart!==!1||h)&&D.push(" "),n.alignDelimiters!==!1&&D.push(T),D.push(C),n.alignDelimiters!==!1&&D.push(I),n.padding!==!1&&D.push(" "),(n.delimiterEnd!==!1||h!==c-1)&&D.push("|")}g.push(n.delimiterEnd===!1?D.join("").replace(/ +$/,""):D.join(""))}return g.join(`
|
|
802
802
|
`)}s(a4,"markdownTable");function o4(e){return e==null?"":String(e)}s(o4,"serialize");function c0(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}s(c0,"toAlignment");function l4(e,t,n,r){const i=n.enter("blockquote"),u=n.createTracker(r);u.move("> "),u.shift(2);const a=n.indentLines(n.containerFlow(e,u.current()),c4);return i(),a}s(l4,"blockquote");function c4(e,t,n){return">"+(n?"":" ")+e}s(c4,"map$2");function h4(e,t){return h0(e,t.inConstruct,!0)&&!h0(e,t.notInConstruct,!1)}s(h4,"patternInScope");function h0(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}s(h0,"listInScope");function f0(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
803
803
|
`&&h4(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
804
804
|
`}s(f0,"hardBreak");function d0(e,t){const n=String(e);let r=n.indexOf(t),i=r,u=0,a=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++u>a&&(a=u):u=1,i=r+t.length,r=n.indexOf(t,i);return a}s(d0,"longestStreak");function f4(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}s(f4,"formatCodeAsIndented");function d4(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}s(d4,"checkFence");function p4(e,t,n,r){const i=d4(n),u=e.value||"",a=i==="`"?"GraveAccent":"Tilde";if(f4(e,n)){const h=n.enter("codeIndented"),m=n.indentLines(u,m4);return h(),m}const o=n.createTracker(r),l=i.repeat(Math.max(d0(u,i)+1,3)),c=n.enter("codeFenced");let f=o.move(l);if(e.lang){const h=n.enter(`codeFencedLang${a}`);f+=o.move(n.safe(e.lang,{before:f,after:" ",encode:["`"],...o.current()})),h()}if(e.lang&&e.meta){const h=n.enter(`codeFencedMeta${a}`);f+=o.move(" "),f+=o.move(n.safe(e.meta,{before:f,after:`
|
|
@@ -811,23 +811,23 @@ ${l.fields.Extra}`);for(const{filename:f}of c)u.push(f)}const a=await e.media.ge
|
|
|
811
811
|
`+(i===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
|
|
812
812
|
`))+1))}const a="#".repeat(i),o=n.enter("headingAtx"),l=n.enter("phrasing");u.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
|
|
813
813
|
`,...u.current()});return/^[\t ]/.test(c)&&(c=Br(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}s(T4,"heading"),E0.peek=b4;function E0(e){return e.value||""}s(E0,"html");function b4(){return"<"}s(b4,"htmlPeek"),A0.peek=k4;function A0(e,t,n,r){const i=Qa(n),u=i==='"'?"Quote":"Apostrophe",a=n.enter("image");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=n.enter(`title${u}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),c+=l.move(")"),a(),c}s(A0,"image");function k4(){return"!"}s(k4,"imagePeek"),D0.peek=S4;function D0(e,t,n,r){const i=e.referenceType,u=n.enter("imageReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("![");const c=n.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const f=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=f,u(),i==="full"||!c||c!==h?l+=o.move(h+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}s(D0,"imageReference");function S4(){return"!"}s(S4,"imageReferencePeek"),C0.peek=_4;function C0(e,t,n){let r=e.value||"",i="`",u=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++u<n.unsafe.length;){const a=n.unsafe[u],o=n.compilePattern(a);let l;if(a.atBreak)for(;l=o.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return i+r+i}s(C0,"inlineCode");function _4(){return"`"}s(_4,"inlineCodePeek");function y0(e,t){const n=Xa(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}s(y0,"formatLinkAsAutolink"),T0.peek=B4;function T0(e,t,n,r){const i=Qa(n),u=i==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(y0(e,n)){const f=n.stack;n.stack=[],o=n.enter("autolink");let h=a.move("<");return h+=a.move(n.containerPhrasing(e,{before:h,after:">",...a.current()})),h+=a.move(">"),o(),n.stack=f,h}o=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${u}`),c+=a.move(" "+i),c+=a.move(n.safe(e.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),c+=a.move(")"),o(),c}s(T0,"link");function B4(e,t,n){return y0(e,n)?"<":"["}s(B4,"linkPeek"),b0.peek=w4;function b0(e,t,n,r){const i=e.referenceType,u=n.enter("linkReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const f=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=f,u(),i==="full"||!c||c!==h?l+=o.move(h+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}s(b0,"linkReference");function w4(){return"["}s(w4,"linkReferencePeek");function Ja(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}s(Ja,"checkBullet");function F4(e){const t=Ja(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}s(F4,"checkBulletOther");function N4(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}s(N4,"checkBulletOrdered");function k0(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}s(k0,"checkRule");function x4(e,t,n,r){const i=n.enter("list"),u=n.bulletCurrent;let a=e.ordered?N4(n):Ja(n);const o=e.ordered?a==="."?")":".":F4(n);let l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&f&&(!f.children||!f.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&&(l=!0),k0(n)===a&&f){let h=-1;for(;++h<e.children.length;){const m=e.children[h];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(a=o),n.bulletCurrent=a;const c=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=u,i(),c}s(x4,"list$1");function I4(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}s(I4,"checkListItemIndent");function v4(e,t,n,r){const i=I4(n);let u=n.bulletCurrent||Ja(n);t&&t.type==="list"&&t.ordered&&(u=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+u);let a=u.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const o=n.createTracker(r);o.move(u+" ".repeat(a-u.length)),o.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),f);return l(),c;function f(h,m,p){return m?(p?"":" ".repeat(a))+h:(p?u:u+" ".repeat(a-u.length))+h}s(f,"map")}s(v4,"listItem");function L4(e,t,n,r){const i=n.enter("paragraph"),u=n.enter("phrasing"),a=n.containerPhrasing(e,r);return u(),i(),a}s(L4,"paragraph");const O4=Ct(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function R4(e,t,n,r){return(e.children.some(function(a){return O4(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}s(R4,"root");function P4(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}s(P4,"checkStrong"),S0.peek=M4;function S0(e,t,n,r){const i=P4(n),u=n.enter("strong"),a=n.createTracker(r),o=a.move(i+i);let l=a.move(n.containerPhrasing(e,{after:i,before:o,...a.current()}));const c=l.charCodeAt(0),f=Gi(r.before.charCodeAt(r.before.length-1),c,i);f.inside&&(l=Br(c)+l.slice(1));const h=l.charCodeAt(l.length-1),m=Gi(r.after.charCodeAt(0),h,i);m.inside&&(l=l.slice(0,-1)+Br(h));const p=a.move(i+i);return u(),n.attentionEncodeSurroundingInfo={after:m.outside,before:f.outside},o+l+p}s(S0,"strong");function M4(e,t,n){return n.options.strong||"*"}s(M4,"strongPeek");function U4(e,t,n,r){return n.safe(e.value,r)}s(U4,"text$3");function H4(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}s(H4,"checkRuleRepetition");function $4(e,t,n){const r=(k0(n)+(n.options.ruleSpaces?" ":"")).repeat(H4(n));return n.options.ruleSpaces?r.slice(0,-1):r}s($4,"thematicBreak$1");const _0={blockquote:l4,break:f0,code:p4,definition:g4,emphasis:p0,hardBreak:f0,heading:T4,html:E0,image:A0,imageReference:D0,inlineCode:C0,link:T0,linkReference:b0,list:x4,listItem:v4,paragraph:L4,root:R4,strong:S0,text:U4,thematicBreak:$4},B0={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
814
|
-
`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},q4={}.hasOwnProperty;function Za(e){return q4.call(B0,e)?B0[e]:!1}s(Za,"decodeNamedCharacterReference");function w0(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}s(w0,"decodeNumericCharacterReference");const z4=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Y4(e){return e.replace(z4,j4)}s(Y4,"decodeString");function j4(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),u=i===120||i===88;return w0(n.slice(u?2:1),u?16:10)}return Za(n)||e}s(j4,"decode");function G4(){return{enter:{table:V4,tableData:F0,tableHeader:F0,tableRow:K4},exit:{codeText:Q4,table:W4,tableData:eo,tableHeader:eo,tableRow:eo}}}s(G4,"gfmTableFromMarkdown");function V4(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}s(V4,"enterTable");function W4(e){this.exit(e),this.data.inTable=void 0}s(W4,"exitTable");function K4(e){this.enter({type:"tableRow",children:[]},e)}s(K4,"enterRow");function eo(e){this.exit(e)}s(eo,"exit$1");function F0(e){this.enter({type:"tableCell",children:[]},e)}s(F0,"enterCell");function Q4(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,X4));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}s(Q4,"exitCodeText");function X4(e,t){return t==="|"?t:e}s(X4,"replace");function J4(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,u=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
815
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:a,tableCell:l,tableRow:o}};function a(p,g,E,
|
|
816
|
-
`))}function l(p,g,E,D){const A=E.enter("tableCell"),C=E.enter("phrasing"),T=E.containerPhrasing(p,{...D,before:u,after:u});return C(),A(),T}function c(p,g){return a4(p,{align:g,alignDelimiters:r,padding:n,stringLength:i})}function f(p,g,E){const D=p.children;let A=-1;const C=[],T=g.enter("table");for(;++A<D.length;)C[A]=h(D[A],g,E);return T(),C}function h(p,g,E){const D=p.children;let A=-1;const C=[],T=g.enter("tableRow");for(;++A<D.length;)C[A]=l(D[A],p,g,E);return T(),C}function m(p,g,E){let D=_0.inlineCode(p,g,E);return E.stack.includes("tableCell")&&(D=D.replace(/\|/g,"\\$&")),D}}s(J4,"gfmTableToMarkdown");function Z4(){return{exit:{taskListCheckValueChecked:N0,taskListCheckValueUnchecked:N0,paragraph:tw}}}s(Z4,"gfmTaskListItemFromMarkdown");function ew(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:nw}}}s(ew,"gfmTaskListItemToMarkdown");function N0(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}s(N0,"exitCheck");function tw(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let u=-1,a;for(;++u<i.length;){const o=i[u];if(o.type==="paragraph"){a=o;break}}a===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}s(tw,"exitParagraphWithTaskListItem");function nw(e,t,n,r){const i=e.children[0],u=typeof e.checked=="boolean"&&i&&i.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);u&&o.move(a);let l=_0.listItem(e,t,n,{...r,...o.current()});return u&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(f){return f+a}s(c,"check")}s(nw,"listItemWithTaskListItem");function rw(){return[NB(),XB(),t4(),G4(),Z4()]}s(rw,"gfmFromMarkdown");function iw(e){return{extensions:[xB(),JB(e),n4(),J4(e),ew()]}}s(iw,"gfmToMarkdown");function Ge(e,t,n,r){const i=e.length;let u=0,a;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);u<r.length;)a=r.slice(u,u+1e4),a.unshift(t,0),e.splice(...a),u+=1e4,t+=1e4}s(Ge,"splice");function Qe(e,t){return e.length>0?(Ge(e,e.length,0,t),e):t}s(Qe,"push");const x0={}.hasOwnProperty;function I0(e){const t={};let n=-1;for(;++n<e.length;)sw(t,e[n]);return t}s(I0,"combineExtensions");function sw(e,t){let n;for(n in t){const i=(x0.call(e,n)?e[n]:void 0)||(e[n]={}),u=t[n];let a;if(u)for(a in u){x0.call(i,a)||(i[a]=[]);const o=u[a];uw(i[a],Array.isArray(o)?o:o?[o]:[])}}}s(sw,"syntaxExtension");function uw(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Ge(e,0,0,r)}s(uw,"constructs");const aw={tokenize:dw,partial:!0},v0={tokenize:pw,partial:!0},L0={tokenize:mw,partial:!0},O0={tokenize:gw,partial:!0},ow={tokenize:Ew,partial:!0},R0={name:"wwwAutolink",tokenize:hw,previous:M0},P0={name:"protocolAutolink",tokenize:fw,previous:U0},bt={name:"emailAutolink",tokenize:cw,previous:H0},pt={};function lw(){return{text:pt}}s(lw,"gfmAutolinkLiteral");let tn=48;for(;tn<123;)pt[tn]=bt,tn++,tn===58?tn=65:tn===91&&(tn=97);pt[43]=bt,pt[45]=bt,pt[46]=bt,pt[95]=bt,pt[72]=[bt,P0],pt[104]=[bt,P0],pt[87]=[bt,R0],pt[119]=[bt,R0];function cw(e,t,n){const r=this;let i,u;return a;function a(h){return!to(h)||!H0.call(r,r.previous)||no(r.events)?n(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(h))}function o(h){return to(h)?(e.consume(h),o):h===64?(e.consume(h),l):n(h)}function l(h){return h===46?e.check(ow,f,c)(h):h===45||h===95||Ne(h)?(u=!0,e.consume(h),l):f(h)}function c(h){return e.consume(h),i=!0,l}function f(h){return u&&i&&Ie(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):n(h)}}s(cw,"tokenizeEmailAutolink");function hw(e,t,n){const r=this;return i;function i(a){return a!==87&&a!==119||!M0.call(r,r.previous)||no(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(aw,e.attempt(v0,e.attempt(L0,u),n),n)(a))}function u(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}s(hw,"tokenizeWwwAutolink");function fw(e,t,n){const r=this;let i="",u=!1;return a;function a(h){return(h===72||h===104)&&U0.call(r,r.previous)&&!no(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(h),e.consume(h),o):n(h)}function o(h){if(Ie(h)&&i.length<5)return i+=String.fromCodePoint(h),e.consume(h),o;if(h===58){const m=i.toLowerCase();if(m==="http"||m==="https")return e.consume(h),l}return n(h)}function l(h){return h===47?(e.consume(h),u?c:(u=!0,l)):n(h)}function c(h){return h===null||xi(h)||oe(h)||Vt(h)||Ii(h)?n(h):e.attempt(v0,e.attempt(L0,f),n)(h)}function f(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}s(fw,"tokenizeProtocolAutolink");function dw(e,t,n){let r=0;return i;function i(a){return(a===87||a===119)&&r<3?(r++,e.consume(a),i):a===46&&r===3?(e.consume(a),u):n(a)}function u(a){return a===null?n(a):t(a)}}s(dw,"tokenizeWwwPrefix");function pw(e,t,n){let r,i,u;return a;function a(c){return c===46||c===95?e.check(O0,l,o)(c):c===null||oe(c)||Vt(c)||c!==45&&Ii(c)?l(c):(u=!0,e.consume(c),a)}function o(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),a}function l(c){return i||r||!u?n(c):t(c)}}s(pw,"tokenizeDomain");function mw(e,t){let n=0,r=0;return i;function i(a){return a===40?(n++,e.consume(a),i):a===41&&r<n?u(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(O0,t,u)(a):a===null||oe(a)||Vt(a)?t(a):(e.consume(a),i)}function u(a){return a===41&&r++,e.consume(a),i}}s(mw,"tokenizePath");function gw(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),u):o===93?(e.consume(o),i):o===60||o===null||oe(o)||Vt(o)?t(o):n(o)}function i(o){return o===null||o===40||o===91||oe(o)||Vt(o)?t(o):r(o)}function u(o){return Ie(o)?a(o):n(o)}function a(o){return o===59?(e.consume(o),r):Ie(o)?(e.consume(o),a):n(o)}}s(gw,"tokenizeTrail");function Ew(e,t,n){return r;function r(u){return e.consume(u),i}function i(u){return Ne(u)?n(u):t(u)}}s(Ew,"tokenizeEmailDomainDotTrail");function M0(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||oe(e)}s(M0,"previousWww");function U0(e){return!Ie(e)}s(U0,"previousProtocol");function H0(e){return!(e===47||to(e))}s(H0,"previousEmail");function to(e){return e===43||e===45||e===46||e===95||Ne(e)}s(to,"gfmAtext");function no(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}s(no,"previousUnbalanced");function Vi(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const u=e[i].resolveAll;u&&!r.includes(u)&&(t=u(t,n),r.push(u))}return t}s(Vi,"resolveAll");const ro={name:"attention",resolveAll:Aw,tokenize:Dw};function Aw(e,t){let n=-1,r,i,u,a,o,l,c,f;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=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 h={...e[r][1].end},m={...e[n][1].start};$0(h,-l),$0(m,l),a={type:l>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:m},u={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:l>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[r][1].end={...a.start},e[n][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Qe(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Qe(c,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",u,t]]),c=Qe(c,Vi(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Qe(c,[["exit",u,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=Qe(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Ge(e,r-1,n-r+3,c),n=r+c.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}s(Aw,"resolveAllAttention");function Dw(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Fn(r);let u;return a;function a(l){return u=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===u)return e.consume(l),o;const c=e.exit("attentionSequence"),f=Fn(l),h=!f||f===2&&i||n.includes(l),m=!i||i===2&&f||n.includes(r);return c._open=!!(u===42?h:h&&(i||!m)),c._close=!!(u===42?m:m&&(f||!h)),t(l)}}s(Dw,"tokenizeAttention");function $0(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}s($0,"movePoint");const Cw={name:"autolink",tokenize:yw};function yw(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),u}function u(p){return Ie(p)?(e.consume(p),a):p===64?n(p):c(p)}function a(p){return p===43||p===45||p===46||Ne(p)?(r=1,o(p)):c(p)}function o(p){return p===58?(e.consume(p),r=0,l):(p===43||p===45||p===46||Ne(p))&&r++<32?(e.consume(p),o):(r=0,c(p))}function l(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||xi(p)?n(p):(e.consume(p),l)}function c(p){return p===64?(e.consume(p),f):Hk(p)?(e.consume(p),c):n(p)}function f(p){return Ne(p)?h(p):n(p)}function h(p){return p===46?(e.consume(p),r=0,f):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):m(p)}function m(p){if((p===45||Ne(p))&&r++<63){const g=p===45?m:h;return e.consume(p),g}return n(p)}}s(yw,"tokenizeAutolink");function ee(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let u=0;return a;function a(l){return J(l)?(e.enter(n),o(l)):t(l)}function o(l){return J(l)&&u++<i?(e.consume(l),o):(e.exit(n),t(l))}}s(ee,"factorySpace");const wr={partial:!0,tokenize:Tw};function Tw(e,t,n){return r;function r(u){return J(u)?ee(e,i,"linePrefix")(u):i(u)}function i(u){return u===null||Y(u)?t(u):n(u)}}s(Tw,"tokenizeBlankLine");const q0={continuation:{tokenize:kw},exit:Sw,name:"blockQuote",tokenize:bw};function bw(e,t,n){const r=this;return i;function i(a){if(a===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),u}return n(a)}function u(a){return J(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}s(bw,"tokenizeBlockQuoteStart");function kw(e,t,n){const r=this;return i;function i(a){return J(a)?ee(e,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):u(a)}function u(a){return e.attempt(q0,t,n)(a)}}s(kw,"tokenizeBlockQuoteContinuation");function Sw(e){e.exit("blockQuote")}s(Sw,"exit");const z0={name:"characterEscape",tokenize:_w};function _w(e,t,n){return r;function r(u){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(u),e.exit("escapeMarker"),i}function i(u){return qk(u)?(e.enter("characterEscapeValue"),e.consume(u),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(u)}}s(_w,"tokenizeCharacterEscape");const Y0={name:"characterReference",tokenize:Bw};function Bw(e,t,n){const r=this;let i=0,u,a;return o;function o(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),l}function l(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),u=31,a=Ne,f(h))}function c(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),u=6,a=$k,f):(e.enter("characterReferenceValue"),u=7,a=_u,f(h))}function f(h){if(h===59&&i){const m=e.exit("characterReferenceValue");return a===Ne&&!Za(r.sliceSerialize(m))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(h)&&i++<u?(e.consume(h),f):n(h)}}s(Bw,"tokenizeCharacterReference");const j0={partial:!0,tokenize:Fw},G0={concrete:!0,name:"codeFenced",tokenize:ww};function ww(e,t,n){const r=this,i={partial:!0,tokenize:v};let u=0,a=0,o;return l;function l(_){return c(_)}function c(_){const L=r.events[r.events.length-1];return u=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,o=_,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(_)}function f(_){return _===o?(a++,e.consume(_),f):a<3?n(_):(e.exit("codeFencedFenceSequence"),J(_)?ee(e,h,"whitespace")(_):h(_))}function h(_){return _===null||Y(_)?(e.exit("codeFencedFence"),r.interrupt?t(_):e.check(j0,E,I)(_)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(_))}function m(_){return _===null||Y(_)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(_)):J(_)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ee(e,p,"whitespace")(_)):_===96&&_===o?n(_):(e.consume(_),m)}function p(_){return _===null||Y(_)?h(_):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(_))}function g(_){return _===null||Y(_)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(_)):_===96&&_===o?n(_):(e.consume(_),g)}function E(_){return e.attempt(i,I,D)(_)}function D(_){return e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),A}function A(_){return u>0&&J(_)?ee(e,C,"linePrefix",u+1)(_):C(_)}function C(_){return _===null||Y(_)?e.check(j0,E,I)(_):(e.enter("codeFlowValue"),T(_))}function T(_){return _===null||Y(_)?(e.exit("codeFlowValue"),C(_)):(e.consume(_),T)}function I(_){return e.exit("codeFenced"),t(_)}function v(_,L,x){let w=0;return F;function F(K){return _.enter("lineEnding"),_.consume(K),_.exit("lineEnding"),q}function q(K){return _.enter("codeFencedFence"),J(K)?ee(_,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(K):M(K)}function M(K){return K===o?(_.enter("codeFencedFenceSequence"),j(K)):x(K)}function j(K){return K===o?(w++,_.consume(K),j):w>=a?(_.exit("codeFencedFenceSequence"),J(K)?ee(_,G,"whitespace")(K):G(K)):x(K)}function G(K){return K===null||Y(K)?(_.exit("codeFencedFence"),L(K)):x(K)}}}s(ww,"tokenizeCodeFenced");function Fw(e,t,n){const r=this;return i;function i(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u)}function u(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}s(Fw,"tokenizeNonLazyContinuation$1");const io={name:"codeIndented",tokenize:xw},Nw={partial:!0,tokenize:Iw};function xw(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),ee(e,u,"linePrefix",5)(c)}function u(c){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):Y(c)?e.attempt(Nw,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||Y(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}s(xw,"tokenizeCodeIndented");function Iw(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):Y(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):ee(e,u,"linePrefix",5)(a)}function u(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):Y(a)?i(a):n(a)}}s(Iw,"tokenizeFurtherStart");const vw={name:"codeText",previous:Ow,resolve:Lw,tokenize:Rw};function Lw(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}s(Lw,"resolveCodeText");function Ow(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}s(Ow,"previous$1");function Rw(e,t,n){let r=0,i,u;return a;function a(h){return e.enter("codeText"),e.enter("codeTextSequence"),o(h)}function o(h){return h===96?(e.consume(h),r++,o):(e.exit("codeTextSequence"),l(h))}function l(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),l):h===96?(u=e.enter("codeTextSequence"),i=0,f(h)):Y(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(h))}function c(h){return h===null||h===32||h===96||Y(h)?(e.exit("codeTextData"),l(h)):(e.consume(h),c)}function f(h){return h===96?(e.consume(h),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(u.type="codeTextData",c(h))}}s(Rw,"tokenizeCodeText");class Pw{static{s(this,"SpliceBuffer")}constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const u=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Fr(this.left,r),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Fr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Fr(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Fr(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Fr(this.left,n.reverse())}}}function Fr(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}s(Fr,"chunkedPush");function V0(e){const t={};let n=-1,r,i,u,a,o,l,c;const f=new Pw(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,u=0,u<l.length&&l[u][1].type==="lineEndingBlank"&&(u+=2),u<l.length&&l[u][1].type==="content"))for(;++u<l.length&&l[u][1].type!=="content";)l[u][1].type==="chunkText"&&(l[u][1]._isInFirstContentOfListItem=!0,u++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Mw(f,n)),n=t[n],c=!0);else if(r[1]._container){for(u=n,i=void 0;u--;)if(a=f.get(u),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),a[1].type="lineEnding",i=u);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;i&&(r[1].end={...f.get(i)[1].start},o=f.slice(i,n),o.unshift(r),f.splice(i,n-i+1,o))}}return Ge(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!c}s(V0,"subtokenize");function Mw(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const u=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const o=a.events,l=[],c={};let f,h,m=-1,p=n,g=0,E=0;const D=[E];for(;p;){for(;e.get(++i)[1]!==p;);u.push(i),p._tokenizer||(f=r.sliceStream(p),p.next||f.push(null),h&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(f),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),h=p,p=p.next}for(p=n;++m<o.length;)o[m][0]==="exit"&&o[m-1][0]==="enter"&&o[m][1].type===o[m-1][1].type&&o[m][1].start.line!==o[m][1].end.line&&(E=m+1,D.push(E),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):D.pop(),m=D.length;m--;){const A=o.slice(D[m],D[m+1]),C=u.pop();l.push([C,C+A.length-1]),e.splice(C,2,A)}for(l.reverse(),m=-1;++m<l.length;)c[g+l[m][0]]=g+l[m][1],g+=l[m][1]-l[m][0]-1;return c}s(Mw,"subcontent");const Uw={resolve:$w,tokenize:qw},Hw={partial:!0,tokenize:zw};function $w(e){return V0(e),e}s($w,"resolveContent");function qw(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?u(o):Y(o)?e.check(Hw,a,u)(o):(e.consume(o),i)}function u(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function a(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}s(qw,"tokenizeContent");function zw(e,t,n){const r=this;return i;function i(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),ee(e,u,"linePrefix")}function u(a){if(a===null||Y(a))return n(a);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}s(zw,"tokenizeContinuation");function W0(e,t,n,r,i,u,a,o,l){const c=l||Number.POSITIVE_INFINITY;let f=0;return h;function h(A){return A===60?(e.enter(r),e.enter(i),e.enter(u),e.consume(A),e.exit(u),m):A===null||A===32||A===41||xi(A)?n(A):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),E(A))}function m(A){return A===62?(e.enter(u),e.consume(A),e.exit(u),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(A))}function p(A){return A===62?(e.exit("chunkString"),e.exit(o),m(A)):A===null||A===60||Y(A)?n(A):(e.consume(A),A===92?g:p)}function g(A){return A===60||A===62||A===92?(e.consume(A),p):p(A)}function E(A){return!f&&(A===null||A===41||oe(A))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(A)):f<c&&A===40?(e.consume(A),f++,E):A===41?(e.consume(A),f--,E):A===null||A===32||A===40||xi(A)?n(A):(e.consume(A),A===92?D:E)}function D(A){return A===40||A===41||A===92?(e.consume(A),E):E(A)}}s(W0,"factoryDestination");function K0(e,t,n,r,i,u){const a=this;let o=0,l;return c;function c(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(u),f}function f(p){return o>999||p===null||p===91||p===93&&!l||p===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):p===93?(e.exit(u),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):Y(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||Y(p)||o++>999?(e.exit("chunkString"),f(p)):(e.consume(p),l||(l=!J(p)),p===92?m:h)}function m(p){return p===91||p===92||p===93?(e.consume(p),o++,h):h(p)}}s(K0,"factoryLabel");function Q0(e,t,n,r,i,u){let a;return o;function o(m){return m===34||m===39||m===40?(e.enter(r),e.enter(i),e.consume(m),e.exit(i),a=m===40?41:m,l):n(m)}function l(m){return m===a?(e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):(e.enter(u),c(m))}function c(m){return m===a?(e.exit(u),l(a)):m===null?n(m):Y(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),ee(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===a||m===null||Y(m)?(e.exit("chunkString"),c(m)):(e.consume(m),m===92?h:f)}function h(m){return m===a||m===92?(e.consume(m),f):f(m)}}s(Q0,"factoryTitle");function Nr(e,t){let n;return r;function r(i){return Y(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):J(i)?ee(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}s(Nr,"factoryWhitespace");const Yw={name:"definition",tokenize:Gw},jw={partial:!0,tokenize:Vw};function Gw(e,t,n){const r=this;let i;return u;function u(p){return e.enter("definition"),a(p)}function a(p){return K0.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return i=at(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):n(p)}function l(p){return oe(p)?Nr(e,c)(p):c(p)}function c(p){return W0(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(jw,h,h)(p)}function h(p){return J(p)?ee(e,m,"whitespace")(p):m(p)}function m(p){return p===null||Y(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}s(Gw,"tokenizeDefinition");function Vw(e,t,n){return r;function r(o){return oe(o)?Nr(e,i)(o):n(o)}function i(o){return Q0(e,u,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function u(o){return J(o)?ee(e,a,"whitespace")(o):a(o)}function a(o){return o===null||Y(o)?t(o):n(o)}}s(Vw,"tokenizeTitleBefore");const Ww={name:"hardBreakEscape",tokenize:Kw};function Kw(e,t,n){return r;function r(u){return e.enter("hardBreakEscape"),e.consume(u),i}function i(u){return Y(u)?(e.exit("hardBreakEscape"),t(u)):n(u)}}s(Kw,"tokenizeHardBreakEscape");const Qw={name:"headingAtx",resolve:Xw,tokenize:Jw};function Xw(e,t){let n=e.length-2,r=3,i,u;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},u={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Ge(e,r,n-r+1,[["enter",i,t],["enter",u,t],["exit",u,t],["exit",i,t]])),e}s(Xw,"resolveHeadingAtx");function Jw(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),u(f)}function u(f){return e.enter("atxHeadingSequence"),a(f)}function a(f){return f===35&&r++<6?(e.consume(f),a):f===null||oe(f)?(e.exit("atxHeadingSequence"),o(f)):n(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),l(f)):f===null||Y(f)?(e.exit("atxHeading"),t(f)):J(f)?ee(e,o,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function l(f){return f===35?(e.consume(f),l):(e.exit("atxHeadingSequence"),o(f))}function c(f){return f===null||f===35||oe(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),c)}}s(Jw,"tokenizeHeadingAtx");const Zw=["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"],X0=["pre","script","style","textarea"],e6={concrete:!0,name:"htmlFlow",resolveTo:r6,tokenize:i6},t6={partial:!0,tokenize:u6},n6={partial:!0,tokenize:s6};function r6(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}s(r6,"resolveToHtmlFlow");function i6(e,t,n){const r=this;let i,u,a,o,l;return c;function c(B){return f(B)}function f(B){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(B),h}function h(B){return B===33?(e.consume(B),m):B===47?(e.consume(B),u=!0,E):B===63?(e.consume(B),i=3,r.interrupt?t:S):Ie(B)?(e.consume(B),a=String.fromCharCode(B),D):n(B)}function m(B){return B===45?(e.consume(B),i=2,p):B===91?(e.consume(B),i=5,o=0,g):Ie(B)?(e.consume(B),i=4,r.interrupt?t:S):n(B)}function p(B){return B===45?(e.consume(B),r.interrupt?t:S):n(B)}function g(B){const nt="CDATA[";return B===nt.charCodeAt(o++)?(e.consume(B),o===nt.length?r.interrupt?t:M:g):n(B)}function E(B){return Ie(B)?(e.consume(B),a=String.fromCharCode(B),D):n(B)}function D(B){if(B===null||B===47||B===62||oe(B)){const nt=B===47,Mt=a.toLowerCase();return!nt&&!u&&X0.includes(Mt)?(i=1,r.interrupt?t(B):M(B)):Zw.includes(a.toLowerCase())?(i=6,nt?(e.consume(B),A):r.interrupt?t(B):M(B)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(B):u?C(B):T(B))}return B===45||Ne(B)?(e.consume(B),a+=String.fromCharCode(B),D):n(B)}function A(B){return B===62?(e.consume(B),r.interrupt?t:M):n(B)}function C(B){return J(B)?(e.consume(B),C):F(B)}function T(B){return B===47?(e.consume(B),F):B===58||B===95||Ie(B)?(e.consume(B),I):J(B)?(e.consume(B),T):F(B)}function I(B){return B===45||B===46||B===58||B===95||Ne(B)?(e.consume(B),I):v(B)}function v(B){return B===61?(e.consume(B),_):J(B)?(e.consume(B),v):T(B)}function _(B){return B===null||B===60||B===61||B===62||B===96?n(B):B===34||B===39?(e.consume(B),l=B,L):J(B)?(e.consume(B),_):x(B)}function L(B){return B===l?(e.consume(B),l=null,w):B===null||Y(B)?n(B):(e.consume(B),L)}function x(B){return B===null||B===34||B===39||B===47||B===60||B===61||B===62||B===96||oe(B)?v(B):(e.consume(B),x)}function w(B){return B===47||B===62||J(B)?T(B):n(B)}function F(B){return B===62?(e.consume(B),q):n(B)}function q(B){return B===null||Y(B)?M(B):J(B)?(e.consume(B),q):n(B)}function M(B){return B===45&&i===2?(e.consume(B),te):B===60&&i===1?(e.consume(B),se):B===62&&i===4?(e.consume(B),Be):B===63&&i===3?(e.consume(B),S):B===93&&i===5?(e.consume(B),qe):Y(B)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(t6,tt,j)(B)):B===null||Y(B)?(e.exit("htmlFlowData"),j(B)):(e.consume(B),M)}function j(B){return e.check(n6,G,tt)(B)}function G(B){return e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),K}function K(B){return B===null||Y(B)?j(B):(e.enter("htmlFlowData"),M(B))}function te(B){return B===45?(e.consume(B),S):M(B)}function se(B){return B===47?(e.consume(B),a="",Ce):M(B)}function Ce(B){if(B===62){const nt=a.toLowerCase();return X0.includes(nt)?(e.consume(B),Be):M(B)}return Ie(B)&&a.length<8?(e.consume(B),a+=String.fromCharCode(B),Ce):M(B)}function qe(B){return B===93?(e.consume(B),S):M(B)}function S(B){return B===62?(e.consume(B),Be):B===45&&i===2?(e.consume(B),S):M(B)}function Be(B){return B===null||Y(B)?(e.exit("htmlFlowData"),tt(B)):(e.consume(B),Be)}function tt(B){return e.exit("htmlFlow"),t(B)}}s(i6,"tokenizeHtmlFlow");function s6(e,t,n){const r=this;return i;function i(a){return Y(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):n(a)}function u(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}s(s6,"tokenizeNonLazyContinuationStart");function u6(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(wr,t,n)}}s(u6,"tokenizeBlankLineBefore");const a6={name:"htmlText",tokenize:o6};function o6(e,t,n){const r=this;let i,u,a;return o;function o(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),l}function l(S){return S===33?(e.consume(S),c):S===47?(e.consume(S),v):S===63?(e.consume(S),T):Ie(S)?(e.consume(S),x):n(S)}function c(S){return S===45?(e.consume(S),f):S===91?(e.consume(S),u=0,g):Ie(S)?(e.consume(S),C):n(S)}function f(S){return S===45?(e.consume(S),p):n(S)}function h(S){return S===null?n(S):S===45?(e.consume(S),m):Y(S)?(a=h,se(S)):(e.consume(S),h)}function m(S){return S===45?(e.consume(S),p):h(S)}function p(S){return S===62?te(S):S===45?m(S):h(S)}function g(S){const Be="CDATA[";return S===Be.charCodeAt(u++)?(e.consume(S),u===Be.length?E:g):n(S)}function E(S){return S===null?n(S):S===93?(e.consume(S),D):Y(S)?(a=E,se(S)):(e.consume(S),E)}function D(S){return S===93?(e.consume(S),A):E(S)}function A(S){return S===62?te(S):S===93?(e.consume(S),A):E(S)}function C(S){return S===null||S===62?te(S):Y(S)?(a=C,se(S)):(e.consume(S),C)}function T(S){return S===null?n(S):S===63?(e.consume(S),I):Y(S)?(a=T,se(S)):(e.consume(S),T)}function I(S){return S===62?te(S):T(S)}function v(S){return Ie(S)?(e.consume(S),_):n(S)}function _(S){return S===45||Ne(S)?(e.consume(S),_):L(S)}function L(S){return Y(S)?(a=L,se(S)):J(S)?(e.consume(S),L):te(S)}function x(S){return S===45||Ne(S)?(e.consume(S),x):S===47||S===62||oe(S)?w(S):n(S)}function w(S){return S===47?(e.consume(S),te):S===58||S===95||Ie(S)?(e.consume(S),F):Y(S)?(a=w,se(S)):J(S)?(e.consume(S),w):te(S)}function F(S){return S===45||S===46||S===58||S===95||Ne(S)?(e.consume(S),F):q(S)}function q(S){return S===61?(e.consume(S),M):Y(S)?(a=q,se(S)):J(S)?(e.consume(S),q):w(S)}function M(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),i=S,j):Y(S)?(a=M,se(S)):J(S)?(e.consume(S),M):(e.consume(S),G)}function j(S){return S===i?(e.consume(S),i=void 0,K):S===null?n(S):Y(S)?(a=j,se(S)):(e.consume(S),j)}function G(S){return S===null||S===34||S===39||S===60||S===61||S===96?n(S):S===47||S===62||oe(S)?w(S):(e.consume(S),G)}function K(S){return S===47||S===62||oe(S)?w(S):n(S)}function te(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):n(S)}function se(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),Ce}function Ce(S){return J(S)?ee(e,qe,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):qe(S)}function qe(S){return e.enter("htmlTextData"),a(S)}}s(o6,"tokenizeHtmlText");const so={name:"labelEnd",resolveAll:f6,resolveTo:d6,tokenize:p6},l6={tokenize:m6},c6={tokenize:g6},h6={tokenize:E6};function f6(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Ge(e,0,e.length,n),e}s(f6,"resolveAllLabelEnd");function d6(e,t){let n=e.length,r=0,i,u,a,o;for(;n--;)if(i=e[n][1],u){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(u=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(a=n);const l={type:e[u][1].type==="labelLink"?"link":"image",start:{...e[u][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[u][1].start},end:{...e[a][1].end}},f={type:"labelText",start:{...e[u+r+2][1].end},end:{...e[a-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=Qe(o,e.slice(u+1,u+r+3)),o=Qe(o,[["enter",f,t]]),o=Qe(o,Vi(t.parser.constructs.insideSpan.null,e.slice(u+r+4,a-3),t)),o=Qe(o,[["exit",f,t],e[a-2],e[a-1],["exit",c,t]]),o=Qe(o,e.slice(a+1)),o=Qe(o,[["exit",l,t]]),Ge(e,u,e.length,o),e}s(d6,"resolveToLabelEnd");function p6(e,t,n){const r=this;let i=r.events.length,u,a;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){u=r.events[i][1];break}return o;function o(m){return u?u._inactive?h(m):(a=r.parser.defined.includes(at(r.sliceSerialize({start:u.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),l):n(m)}function l(m){return m===40?e.attempt(l6,f,a?f:h)(m):m===91?e.attempt(c6,f,a?c:h)(m):a?f(m):h(m)}function c(m){return e.attempt(h6,f,h)(m)}function f(m){return t(m)}function h(m){return u._balanced=!0,n(m)}}s(p6,"tokenizeLabelEnd");function m6(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return oe(h)?Nr(e,u)(h):u(h)}function u(h){return h===41?f(h):W0(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function a(h){return oe(h)?Nr(e,l)(h):f(h)}function o(h){return n(h)}function l(h){return h===34||h===39||h===40?Q0(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):f(h)}function c(h){return oe(h)?Nr(e,f)(h):f(h)}function f(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}s(m6,"tokenizeResource");function g6(e,t,n){const r=this;return i;function i(o){return K0.call(r,e,u,a,"reference","referenceMarker","referenceString")(o)}function u(o){return r.parser.defined.includes(at(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function a(o){return n(o)}}s(g6,"tokenizeReferenceFull");function E6(e,t,n){return r;function r(u){return e.enter("reference"),e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),i}function i(u){return u===93?(e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),e.exit("reference"),t):n(u)}}s(E6,"tokenizeReferenceCollapsed");const A6={name:"labelStartImage",resolveAll:so.resolveAll,tokenize:D6};function D6(e,t,n){const r=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),u}function u(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),a):n(o)}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}s(D6,"tokenizeLabelStartImage");const C6={name:"labelStartLink",resolveAll:so.resolveAll,tokenize:y6};function y6(e,t,n){const r=this;return i;function i(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),u}function u(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}s(y6,"tokenizeLabelStartLink");const uo={name:"lineEnding",tokenize:T6};function T6(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ee(e,t,"linePrefix")}}s(T6,"tokenizeLineEnding");const Wi={name:"thematicBreak",tokenize:b6};function b6(e,t,n){let r=0,i;return u;function u(c){return e.enter("thematicBreak"),a(c)}function a(c){return i=c,o(c)}function o(c){return c===i?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||Y(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===i?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),J(c)?ee(e,o,"whitespace")(c):o(c))}}s(b6,"tokenizeThematicBreak");const $e={continuation:{tokenize:B6},exit:F6,name:"list",tokenize:_6},k6={partial:!0,tokenize:N6},S6={partial:!0,tokenize:w6};function _6(e,t,n){const r=this,i=r.events[r.events.length-1];let u=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return o;function o(p){const g=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:_u(p)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Wi,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return _u(p)&&++a<10?(e.consume(p),l):(!r.interrupt||a<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(wr,r.interrupt?n:f,e.attempt(k6,m,h))}function f(p){return r.containerState.initialBlankLine=!0,u++,m(p)}function h(p){return J(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),m):n(p)}function m(p){return r.containerState.size=u+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}s(_6,"tokenizeListStart");function B6(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(wr,i,u);function i(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ee(e,t,"listItemIndent",r.containerState.size+1)(o)}s(i,"onBlank");function u(o){return r.containerState.furtherBlankLines||!J(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(S6,t,a)(o))}s(u,"notBlank");function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,ee(e,e.attempt($e,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}s(a,"notInCurrentItem")}s(B6,"tokenizeListContinuation");function w6(e,t,n){const r=this;return ee(e,i,"listItemIndent",r.containerState.size+1);function i(u){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(u):n(u)}}s(w6,"tokenizeIndent$1");function F6(e){e.exit(this.containerState.type)}s(F6,"tokenizeListEnd");function N6(e,t,n){const r=this;return ee(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(u){const a=r.events[r.events.length-1];return!J(u)&&a&&a[1].type==="listItemPrefixWhitespace"?t(u):n(u)}}s(N6,"tokenizeListItemPrefixWhitespace");const J0={name:"setextUnderline",resolveTo:x6,tokenize:I6};function x6(e,t){let n=e.length,r,i,u;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!u&&e[n][1].type==="definition"&&(u=n);const a={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",u?(e.splice(i,0,["enter",a,t]),e.splice(u+1,0,["exit",e[r][1],t]),e[r][1].end={...e[u][1].end}):e[r][1]=a,e.push(["exit",a,t]),e}s(x6,"resolveToSetextUnderline");function I6(e,t,n){const r=this;let i;return u;function u(c){let f=r.events.length,h;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){h=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===i?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),J(c)?ee(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Y(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}s(I6,"tokenizeSetextUnderline");const v6={tokenize:$6,partial:!0};function L6(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:M6,continuation:{tokenize:U6},exit:H6}},text:{91:{name:"gfmFootnoteCall",tokenize:P6},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:O6,resolveTo:R6}}}}s(L6,"gfmFootnote");function O6(e,t,n){const r=this;let i=r.events.length;const u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=at(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!u.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}s(O6,"tokenizePotentialGfmFootnoteCall");function R6(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const u={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",u,t],["enter",a,t],["exit",a,t],["exit",u,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}s(R6,"resolveToPotentialGfmFootnoteCall");function P6(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u=0,a;return o;function o(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(h){if(u>999||h===93&&!a||h===null||h===91||oe(h))return n(h);if(h===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return i.includes(at(r.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return oe(h)||(a=!0),u++,e.consume(h),h===92?f:c}function f(h){return h===91||h===92||h===93?(e.consume(h),u++,c):c(h)}}s(P6,"tokenizeGfmFootnoteCall");function M6(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u,a=0,o;return l;function l(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(g)}function f(g){if(a>999||g===93&&!o||g===null||g===91||oe(g))return n(g);if(g===93){e.exit("chunkString");const E=e.exit("gfmFootnoteDefinitionLabelString");return u=at(r.sliceSerialize(E)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return oe(g)||(o=!0),a++,e.consume(g),g===92?h:f}function h(g){return g===91||g===92||g===93?(e.consume(g),a++,f):f(g)}function m(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),i.includes(u)||i.push(u),ee(e,p,"gfmFootnoteDefinitionWhitespace")):n(g)}function p(g){return t(g)}}s(M6,"tokenizeDefinitionStart");function U6(e,t,n){return e.check(wr,t,e.attempt(v6,t,n))}s(U6,"tokenizeDefinitionContinuation");function H6(e){e.exit("gfmFootnoteDefinition")}s(H6,"gfmFootnoteDefinitionEnd");function $6(e,t,n){const r=this;return ee(e,i,"gfmFootnoteDefinitionIndent",5);function i(u){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(u):n(u)}}s($6,"tokenizeIndent");function q6(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:u,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,o){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},h={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},m=[["enter",f,o],["enter",a[c][1],o],["exit",a[c][1],o],["enter",h,o]],p=o.parser.constructs.insideSpan.null;p&&Ge(m,m.length,0,Vi(p,a.slice(c+1,l),o)),Ge(m,m.length,0,[["exit",h,o],["enter",a[l][1],o],["exit",a[l][1],o],["exit",f,o]]),Ge(a,c-1,l-c+3,m),l=c+m.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}s(i,"resolveAllStrikethrough");function u(a,o,l){const c=this.previous,f=this.events;let h=0;return m;function m(g){return c===126&&f[f.length-1][1].type!=="characterEscape"?l(g):(a.enter("strikethroughSequenceTemporary"),p(g))}function p(g){const E=Fn(c);if(g===126)return h>1?l(g):(a.consume(g),h++,p);if(h<2&&!n)return l(g);const D=a.exit("strikethroughSequenceTemporary"),A=Fn(g);return D._open=!A||A===2&&!!E,D._close=!E||E===2&&!!A,o(g)}}s(u,"tokenizeStrikethrough")}s(q6,"gfmStrikethrough");class z6{static{s(this,"EditMap")}constructor(){this.map=[]}add(t,n,r){Y6(this,t,n,r)}consume(t){if(this.map.sort(function(u,a){return u[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const u of i)t.push(u);i=r.pop()}this.map.length=0}}function Y6(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}s(Y6,"addImplementation");function j6(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const u=r.length-1;r[u]=r[u]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}s(j6,"gfmTableAlign");function G6(){return{flow:{null:{name:"table",tokenize:V6,resolveAll:W6}}}}s(G6,"gfmTable");function V6(e,t,n){const r=this;let i=0,u=0,a;return o;function o(F){let q=r.events.length-1;for(;q>-1;){const G=r.events[q][1].type;if(G==="lineEnding"||G==="linePrefix")q--;else break}const M=q>-1?r.events[q][1].type:null,j=M==="tableHead"||M==="tableRow"?_:l;return j===_&&r.parser.lazy[r.now().line]?n(F):j(F)}function l(F){return e.enter("tableHead"),e.enter("tableRow"),c(F)}function c(F){return F===124||(a=!0,u+=1),f(F)}function f(F){return F===null?n(F):Y(F)?u>1?(u=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),p):n(F):J(F)?ee(e,f,"whitespace")(F):(u+=1,a&&(a=!1,i+=1),F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),a=!0,f):(e.enter("data"),h(F)))}function h(F){return F===null||F===124||oe(F)?(e.exit("data"),f(F)):(e.consume(F),F===92?m:h)}function m(F){return F===92||F===124?(e.consume(F),h):h(F)}function p(F){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(F):(e.enter("tableDelimiterRow"),a=!1,J(F)?ee(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):g(F))}function g(F){return F===45||F===58?D(F):F===124?(a=!0,e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),E):v(F)}function E(F){return J(F)?ee(e,D,"whitespace")(F):D(F)}function D(F){return F===58?(u+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),A):F===45?(u+=1,A(F)):F===null||Y(F)?I(F):v(F)}function A(F){return F===45?(e.enter("tableDelimiterFiller"),C(F)):v(F)}function C(F){return F===45?(e.consume(F),C):F===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(F))}function T(F){return J(F)?ee(e,I,"whitespace")(F):I(F)}function I(F){return F===124?g(F):F===null||Y(F)?!a||i!==u?v(F):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(F)):v(F)}function v(F){return n(F)}function _(F){return e.enter("tableRow"),L(F)}function L(F){return F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),L):F===null||Y(F)?(e.exit("tableRow"),t(F)):J(F)?ee(e,L,"whitespace")(F):(e.enter("data"),x(F))}function x(F){return F===null||F===124||oe(F)?(e.exit("data"),L(F)):(e.consume(F),F===92?w:x)}function w(F){return F===92||F===124?(e.consume(F),x):x(F)}}s(V6,"tokenizeTable");function W6(e,t){let n=-1,r=!0,i=0,u=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,f,h;const m=new z6;for(;++n<e.length;){const p=e[n],g=p[1];p[0]==="enter"?g.type==="tableHead"?(o=!1,l!==0&&(Z0(m,t,l,c,f),f=void 0,l=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",c,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,h=void 0,u=[0,0,0,0],a=[0,n+1,0,0],o&&(o=!1,f={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",f,t]])),i=g.type==="tableDelimiterRow"?2:f?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(u[1]!==0&&(a[0]=a[1],h=Ki(m,t,u,i,void 0,h),u=[0,0,0,0]),a[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(u[1]!==0&&(a[0]=a[1],h=Ki(m,t,u,i,void 0,h)),u=a,a=[u[1],n,0,0])):g.type==="tableHead"?(o=!0,l=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=n,u[1]!==0?(a[0]=a[1],h=Ki(m,t,u,i,n,h)):a[1]!==0&&(h=Ki(m,t,a,i,n,h)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&Z0(m,t,l,c,f),m.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=j6(t.events,n))}return e}s(W6,"resolveTable");function Ki(e,t,n,r,i,u){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(u.end=Object.assign({},Nn(t.events,n[0])),e.add(n[0],0,[["exit",u,t]]));const l=Nn(t.events,n[1]);if(u={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",u,t]]),n[2]!==0){const c=Nn(t.events,n[2]),f=Nn(t.events,n[3]),h={type:o,start:Object.assign({},c),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",h,t]]),r!==2){const m=t.events[n[2]],p=t.events[n[3]];if(m[1].end=Object.assign({},p[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){const g=n[2]+1,E=n[3]-n[2]-1;e.add(g,E,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return i!==void 0&&(u.end=Object.assign({},Nn(t.events,i)),e.add(i,0,[["exit",u,t]]),u=void 0),u}s(Ki,"flushCell");function Z0(e,t,n,r,i){const u=[],a=Nn(t.events,n);i&&(i.end=Object.assign({},a),u.push(["exit",i,t])),r.end=Object.assign({},a),u.push(["exit",r,t]),e.add(n+1,0,u)}s(Z0,"flushTableEnd");function Nn(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}s(Nn,"getPoint");const K6={name:"tasklistCheck",tokenize:X6};function Q6(){return{text:{91:K6}}}s(Q6,"gfmTaskListItem");function X6(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),u)}function u(l){return oe(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return Y(l)?t(l):J(l)?e.check({tokenize:J6},t,n)(l):n(l)}}s(X6,"tokenizeTasklistCheck");function J6(e,t,n){return ee(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}s(J6,"spaceThenNonSpace");function Z6(e){return I0([lw(),L6(),q6(e),G6(),Q6()])}s(Z6,"gfm");const eF={};function tF(e){const t=this,n=e||eF,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),u=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Z6(n)),u.push(rw()),a.push(iw(n))}s(tF,"remarkGfm");const ao={classNameMaps:{block:"admonition",title:"admonition-title"},titleFilter:["[!NOTE]","[!IMPORTANT]","[!WARNING]","[!TIP]","[!CAUTION]"],titleTextMap:s(e=>({displayTitle:e.substring(2,e.length-1),checkedTitle:e.substring(2,e.length-1)}),"titleTextMap"),dataMaps:{block:s(e=>e,"block"),title:s(e=>e,"title")},titleKeepTrailingWhitespaces:!1,legacyTitle:!1},nF={...ao,titleFilter:["Note","Warning"],titleTextMap:s(e=>({displayTitle:e,checkedTitle:e}),"titleTextMap"),legacyTitle:!1,titleLift:!1,titleLiftWhitespaces:s(()=>"","titleLiftWhitespaces"),titleUnwrap:!1};function xr(e){return t=>{const n=typeof e=="function"?e(t):e;return typeof n=="object"?n.join(" "):n}}s(xr,"classNameMap");function oo(e){return t=>typeof e=="function"?e(t):e.includes(t)}s(oo,"nameFilter");const rF=s(e=>t=>{if(t.type!="blockquote")return;const n=t;if(n.children.length<=0||n.children[0].type!="paragraph")return;const r=n.children[0];if(r.children.length<=0||r.children[0].type!="strong")return;const i=r.children[0];if(i.children.length!=1||i.children[0].type!="text")return;const u=i.children[0],a=u.value;if(!oo(e.titleFilter)(a))return;const{displayTitle:o,checkedTitle:l}=e.titleTextMap(a);if(u.value=o,n.data=e.dataMaps.block({...n.data,hProperties:{className:xr(e.classNameMaps.block)(l)}}),i.data=e.dataMaps.title({...i.data,hProperties:{className:xr(e.classNameMaps.title)(l)}}),e.titleLift){const c=r.children.splice(0,1)[0];let f;e.titleUnwrap?f={type:"paragraph",children:[{type:"text",value:o}],data:e.dataMaps.title({hProperties:{className:xr(e.classNameMaps.title)(l)}})}:f={type:"paragraph",children:[c]},n.children.unshift(f);const h=r;if(h.children.length>0&&h.children[0].type=="text"){const m=h.children[0],g=/^[ \t\n\v\f\r]*/.exec(m.value),E=g?g[0]:"";m.value=e.titleLiftWhitespaces(E)+m.value.slice(E.length)}}},"handleNode$1"),iF=s(function(...e){const t=e.reduce((r,i)=>({...r,...i}),{}),n=t?.legacyTitle??ao.legacyTitle;return r=>{ae(r,n?rF({...nF,...t}):sF({...ao,...t}))}},"plugin$2"),sF=s(e=>t=>{if(t.type!="blockquote")return;const n=t;if(n.children[0]?.type!="paragraph")return;const r=n.children[0];if(r.children[0]?.type!="text")return;const i=r.children[0];let u;const a=i.value.indexOf(`
|
|
814
|
+
`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},q4={}.hasOwnProperty;function Za(e){return q4.call(B0,e)?B0[e]:!1}s(Za,"decodeNamedCharacterReference");function w0(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}s(w0,"decodeNumericCharacterReference");const z4=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function j4(e){return e.replace(z4,Y4)}s(j4,"decodeString");function Y4(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),u=i===120||i===88;return w0(n.slice(u?2:1),u?16:10)}return Za(n)||e}s(Y4,"decode");function G4(){return{enter:{table:V4,tableData:F0,tableHeader:F0,tableRow:K4},exit:{codeText:Q4,table:W4,tableData:eo,tableHeader:eo,tableRow:eo}}}s(G4,"gfmTableFromMarkdown");function V4(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}s(V4,"enterTable");function W4(e){this.exit(e),this.data.inTable=void 0}s(W4,"exitTable");function K4(e){this.enter({type:"tableRow",children:[]},e)}s(K4,"enterRow");function eo(e){this.exit(e)}s(eo,"exit$1");function F0(e){this.enter({type:"tableCell",children:[]},e)}s(F0,"enterCell");function Q4(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,X4));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}s(Q4,"exitCodeText");function X4(e,t){return t==="|"?t:e}s(X4,"replace");function J4(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,u=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
815
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:a,tableCell:l,tableRow:o}};function a(p,g,E,A){return c(f(p,E,A),p.align)}function o(p,g,E,A){const D=h(p,E,A),C=c([D]);return C.slice(0,C.indexOf(`
|
|
816
|
+
`))}function l(p,g,E,A){const D=E.enter("tableCell"),C=E.enter("phrasing"),T=E.containerPhrasing(p,{...A,before:u,after:u});return C(),D(),T}function c(p,g){return a4(p,{align:g,alignDelimiters:r,padding:n,stringLength:i})}function f(p,g,E){const A=p.children;let D=-1;const C=[],T=g.enter("table");for(;++D<A.length;)C[D]=h(A[D],g,E);return T(),C}function h(p,g,E){const A=p.children;let D=-1;const C=[],T=g.enter("tableRow");for(;++D<A.length;)C[D]=l(A[D],p,g,E);return T(),C}function m(p,g,E){let A=_0.inlineCode(p,g,E);return E.stack.includes("tableCell")&&(A=A.replace(/\|/g,"\\$&")),A}}s(J4,"gfmTableToMarkdown");function Z4(){return{exit:{taskListCheckValueChecked:N0,taskListCheckValueUnchecked:N0,paragraph:tw}}}s(Z4,"gfmTaskListItemFromMarkdown");function ew(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:nw}}}s(ew,"gfmTaskListItemToMarkdown");function N0(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}s(N0,"exitCheck");function tw(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let u=-1,a;for(;++u<i.length;){const o=i[u];if(o.type==="paragraph"){a=o;break}}a===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}s(tw,"exitParagraphWithTaskListItem");function nw(e,t,n,r){const i=e.children[0],u=typeof e.checked=="boolean"&&i&&i.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);u&&o.move(a);let l=_0.listItem(e,t,n,{...r,...o.current()});return u&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(f){return f+a}s(c,"check")}s(nw,"listItemWithTaskListItem");function rw(){return[NB(),XB(),t4(),G4(),Z4()]}s(rw,"gfmFromMarkdown");function iw(e){return{extensions:[xB(),JB(e),n4(),J4(e),ew()]}}s(iw,"gfmToMarkdown");function Ge(e,t,n,r){const i=e.length;let u=0,a;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);u<r.length;)a=r.slice(u,u+1e4),a.unshift(t,0),e.splice(...a),u+=1e4,t+=1e4}s(Ge,"splice");function Qe(e,t){return e.length>0?(Ge(e,e.length,0,t),e):t}s(Qe,"push");const x0={}.hasOwnProperty;function I0(e){const t={};let n=-1;for(;++n<e.length;)sw(t,e[n]);return t}s(I0,"combineExtensions");function sw(e,t){let n;for(n in t){const i=(x0.call(e,n)?e[n]:void 0)||(e[n]={}),u=t[n];let a;if(u)for(a in u){x0.call(i,a)||(i[a]=[]);const o=u[a];uw(i[a],Array.isArray(o)?o:o?[o]:[])}}}s(sw,"syntaxExtension");function uw(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Ge(e,0,0,r)}s(uw,"constructs");const aw={tokenize:dw,partial:!0},v0={tokenize:pw,partial:!0},L0={tokenize:mw,partial:!0},O0={tokenize:gw,partial:!0},ow={tokenize:Ew,partial:!0},R0={name:"wwwAutolink",tokenize:hw,previous:M0},P0={name:"protocolAutolink",tokenize:fw,previous:U0},bt={name:"emailAutolink",tokenize:cw,previous:H0},pt={};function lw(){return{text:pt}}s(lw,"gfmAutolinkLiteral");let tn=48;for(;tn<123;)pt[tn]=bt,tn++,tn===58?tn=65:tn===91&&(tn=97);pt[43]=bt,pt[45]=bt,pt[46]=bt,pt[95]=bt,pt[72]=[bt,P0],pt[104]=[bt,P0],pt[87]=[bt,R0],pt[119]=[bt,R0];function cw(e,t,n){const r=this;let i,u;return a;function a(h){return!to(h)||!H0.call(r,r.previous)||no(r.events)?n(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(h))}function o(h){return to(h)?(e.consume(h),o):h===64?(e.consume(h),l):n(h)}function l(h){return h===46?e.check(ow,f,c)(h):h===45||h===95||Ne(h)?(u=!0,e.consume(h),l):f(h)}function c(h){return e.consume(h),i=!0,l}function f(h){return u&&i&&Ie(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):n(h)}}s(cw,"tokenizeEmailAutolink");function hw(e,t,n){const r=this;return i;function i(a){return a!==87&&a!==119||!M0.call(r,r.previous)||no(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(aw,e.attempt(v0,e.attempt(L0,u),n),n)(a))}function u(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}s(hw,"tokenizeWwwAutolink");function fw(e,t,n){const r=this;let i="",u=!1;return a;function a(h){return(h===72||h===104)&&U0.call(r,r.previous)&&!no(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(h),e.consume(h),o):n(h)}function o(h){if(Ie(h)&&i.length<5)return i+=String.fromCodePoint(h),e.consume(h),o;if(h===58){const m=i.toLowerCase();if(m==="http"||m==="https")return e.consume(h),l}return n(h)}function l(h){return h===47?(e.consume(h),u?c:(u=!0,l)):n(h)}function c(h){return h===null||xi(h)||oe(h)||Vt(h)||Ii(h)?n(h):e.attempt(v0,e.attempt(L0,f),n)(h)}function f(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}s(fw,"tokenizeProtocolAutolink");function dw(e,t,n){let r=0;return i;function i(a){return(a===87||a===119)&&r<3?(r++,e.consume(a),i):a===46&&r===3?(e.consume(a),u):n(a)}function u(a){return a===null?n(a):t(a)}}s(dw,"tokenizeWwwPrefix");function pw(e,t,n){let r,i,u;return a;function a(c){return c===46||c===95?e.check(O0,l,o)(c):c===null||oe(c)||Vt(c)||c!==45&&Ii(c)?l(c):(u=!0,e.consume(c),a)}function o(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),a}function l(c){return i||r||!u?n(c):t(c)}}s(pw,"tokenizeDomain");function mw(e,t){let n=0,r=0;return i;function i(a){return a===40?(n++,e.consume(a),i):a===41&&r<n?u(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(O0,t,u)(a):a===null||oe(a)||Vt(a)?t(a):(e.consume(a),i)}function u(a){return a===41&&r++,e.consume(a),i}}s(mw,"tokenizePath");function gw(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),u):o===93?(e.consume(o),i):o===60||o===null||oe(o)||Vt(o)?t(o):n(o)}function i(o){return o===null||o===40||o===91||oe(o)||Vt(o)?t(o):r(o)}function u(o){return Ie(o)?a(o):n(o)}function a(o){return o===59?(e.consume(o),r):Ie(o)?(e.consume(o),a):n(o)}}s(gw,"tokenizeTrail");function Ew(e,t,n){return r;function r(u){return e.consume(u),i}function i(u){return Ne(u)?n(u):t(u)}}s(Ew,"tokenizeEmailDomainDotTrail");function M0(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||oe(e)}s(M0,"previousWww");function U0(e){return!Ie(e)}s(U0,"previousProtocol");function H0(e){return!(e===47||to(e))}s(H0,"previousEmail");function to(e){return e===43||e===45||e===46||e===95||Ne(e)}s(to,"gfmAtext");function no(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}s(no,"previousUnbalanced");function Vi(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const u=e[i].resolveAll;u&&!r.includes(u)&&(t=u(t,n),r.push(u))}return t}s(Vi,"resolveAll");const ro={name:"attention",resolveAll:Aw,tokenize:Dw};function Aw(e,t){let n=-1,r,i,u,a,o,l,c,f;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=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 h={...e[r][1].end},m={...e[n][1].start};$0(h,-l),$0(m,l),a={type:l>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:m},u={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:l>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[r][1].end={...a.start},e[n][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Qe(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Qe(c,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",u,t]]),c=Qe(c,Vi(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Qe(c,[["exit",u,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=Qe(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Ge(e,r-1,n-r+3,c),n=r+c.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}s(Aw,"resolveAllAttention");function Dw(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Fn(r);let u;return a;function a(l){return u=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===u)return e.consume(l),o;const c=e.exit("attentionSequence"),f=Fn(l),h=!f||f===2&&i||n.includes(l),m=!i||i===2&&f||n.includes(r);return c._open=!!(u===42?h:h&&(i||!m)),c._close=!!(u===42?m:m&&(f||!h)),t(l)}}s(Dw,"tokenizeAttention");function $0(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}s($0,"movePoint");const Cw={name:"autolink",tokenize:yw};function yw(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),u}function u(p){return Ie(p)?(e.consume(p),a):p===64?n(p):c(p)}function a(p){return p===43||p===45||p===46||Ne(p)?(r=1,o(p)):c(p)}function o(p){return p===58?(e.consume(p),r=0,l):(p===43||p===45||p===46||Ne(p))&&r++<32?(e.consume(p),o):(r=0,c(p))}function l(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||xi(p)?n(p):(e.consume(p),l)}function c(p){return p===64?(e.consume(p),f):Hk(p)?(e.consume(p),c):n(p)}function f(p){return Ne(p)?h(p):n(p)}function h(p){return p===46?(e.consume(p),r=0,f):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):m(p)}function m(p){if((p===45||Ne(p))&&r++<63){const g=p===45?m:h;return e.consume(p),g}return n(p)}}s(yw,"tokenizeAutolink");function ee(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let u=0;return a;function a(l){return J(l)?(e.enter(n),o(l)):t(l)}function o(l){return J(l)&&u++<i?(e.consume(l),o):(e.exit(n),t(l))}}s(ee,"factorySpace");const wr={partial:!0,tokenize:Tw};function Tw(e,t,n){return r;function r(u){return J(u)?ee(e,i,"linePrefix")(u):i(u)}function i(u){return u===null||j(u)?t(u):n(u)}}s(Tw,"tokenizeBlankLine");const q0={continuation:{tokenize:kw},exit:Sw,name:"blockQuote",tokenize:bw};function bw(e,t,n){const r=this;return i;function i(a){if(a===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),u}return n(a)}function u(a){return J(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}s(bw,"tokenizeBlockQuoteStart");function kw(e,t,n){const r=this;return i;function i(a){return J(a)?ee(e,u,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):u(a)}function u(a){return e.attempt(q0,t,n)(a)}}s(kw,"tokenizeBlockQuoteContinuation");function Sw(e){e.exit("blockQuote")}s(Sw,"exit");const z0={name:"characterEscape",tokenize:_w};function _w(e,t,n){return r;function r(u){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(u),e.exit("escapeMarker"),i}function i(u){return qk(u)?(e.enter("characterEscapeValue"),e.consume(u),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(u)}}s(_w,"tokenizeCharacterEscape");const j0={name:"characterReference",tokenize:Bw};function Bw(e,t,n){const r=this;let i=0,u,a;return o;function o(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),l}function l(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),u=31,a=Ne,f(h))}function c(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),u=6,a=$k,f):(e.enter("characterReferenceValue"),u=7,a=_u,f(h))}function f(h){if(h===59&&i){const m=e.exit("characterReferenceValue");return a===Ne&&!Za(r.sliceSerialize(m))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(h)&&i++<u?(e.consume(h),f):n(h)}}s(Bw,"tokenizeCharacterReference");const Y0={partial:!0,tokenize:Fw},G0={concrete:!0,name:"codeFenced",tokenize:ww};function ww(e,t,n){const r=this,i={partial:!0,tokenize:v};let u=0,a=0,o;return l;function l(_){return c(_)}function c(_){const L=r.events[r.events.length-1];return u=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,o=_,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(_)}function f(_){return _===o?(a++,e.consume(_),f):a<3?n(_):(e.exit("codeFencedFenceSequence"),J(_)?ee(e,h,"whitespace")(_):h(_))}function h(_){return _===null||j(_)?(e.exit("codeFencedFence"),r.interrupt?t(_):e.check(Y0,E,I)(_)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(_))}function m(_){return _===null||j(_)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(_)):J(_)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ee(e,p,"whitespace")(_)):_===96&&_===o?n(_):(e.consume(_),m)}function p(_){return _===null||j(_)?h(_):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(_))}function g(_){return _===null||j(_)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(_)):_===96&&_===o?n(_):(e.consume(_),g)}function E(_){return e.attempt(i,I,A)(_)}function A(_){return e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),D}function D(_){return u>0&&J(_)?ee(e,C,"linePrefix",u+1)(_):C(_)}function C(_){return _===null||j(_)?e.check(Y0,E,I)(_):(e.enter("codeFlowValue"),T(_))}function T(_){return _===null||j(_)?(e.exit("codeFlowValue"),C(_)):(e.consume(_),T)}function I(_){return e.exit("codeFenced"),t(_)}function v(_,L,x){let w=0;return F;function F(K){return _.enter("lineEnding"),_.consume(K),_.exit("lineEnding"),q}function q(K){return _.enter("codeFencedFence"),J(K)?ee(_,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(K):M(K)}function M(K){return K===o?(_.enter("codeFencedFenceSequence"),Y(K)):x(K)}function Y(K){return K===o?(w++,_.consume(K),Y):w>=a?(_.exit("codeFencedFenceSequence"),J(K)?ee(_,G,"whitespace")(K):G(K)):x(K)}function G(K){return K===null||j(K)?(_.exit("codeFencedFence"),L(K)):x(K)}}}s(ww,"tokenizeCodeFenced");function Fw(e,t,n){const r=this;return i;function i(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u)}function u(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}s(Fw,"tokenizeNonLazyContinuation$1");const io={name:"codeIndented",tokenize:xw},Nw={partial:!0,tokenize:Iw};function xw(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),ee(e,u,"linePrefix",5)(c)}function u(c){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):j(c)?e.attempt(Nw,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||j(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}s(xw,"tokenizeCodeIndented");function Iw(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):j(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):ee(e,u,"linePrefix",5)(a)}function u(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):j(a)?i(a):n(a)}}s(Iw,"tokenizeFurtherStart");const vw={name:"codeText",previous:Ow,resolve:Lw,tokenize:Rw};function Lw(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}s(Lw,"resolveCodeText");function Ow(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}s(Ow,"previous$1");function Rw(e,t,n){let r=0,i,u;return a;function a(h){return e.enter("codeText"),e.enter("codeTextSequence"),o(h)}function o(h){return h===96?(e.consume(h),r++,o):(e.exit("codeTextSequence"),l(h))}function l(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),l):h===96?(u=e.enter("codeTextSequence"),i=0,f(h)):j(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(h))}function c(h){return h===null||h===32||h===96||j(h)?(e.exit("codeTextData"),l(h)):(e.consume(h),c)}function f(h){return h===96?(e.consume(h),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(u.type="codeTextData",c(h))}}s(Rw,"tokenizeCodeText");class Pw{static{s(this,"SpliceBuffer")}constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const u=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Fr(this.left,r),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Fr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Fr(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Fr(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Fr(this.left,n.reverse())}}}function Fr(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}s(Fr,"chunkedPush");function V0(e){const t={};let n=-1,r,i,u,a,o,l,c;const f=new Pw(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,u=0,u<l.length&&l[u][1].type==="lineEndingBlank"&&(u+=2),u<l.length&&l[u][1].type==="content"))for(;++u<l.length&&l[u][1].type!=="content";)l[u][1].type==="chunkText"&&(l[u][1]._isInFirstContentOfListItem=!0,u++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Mw(f,n)),n=t[n],c=!0);else if(r[1]._container){for(u=n,i=void 0;u--;)if(a=f.get(u),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),a[1].type="lineEnding",i=u);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;i&&(r[1].end={...f.get(i)[1].start},o=f.slice(i,n),o.unshift(r),f.splice(i,n-i+1,o))}}return Ge(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!c}s(V0,"subtokenize");function Mw(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const u=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const o=a.events,l=[],c={};let f,h,m=-1,p=n,g=0,E=0;const A=[E];for(;p;){for(;e.get(++i)[1]!==p;);u.push(i),p._tokenizer||(f=r.sliceStream(p),p.next||f.push(null),h&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(f),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),h=p,p=p.next}for(p=n;++m<o.length;)o[m][0]==="exit"&&o[m-1][0]==="enter"&&o[m][1].type===o[m-1][1].type&&o[m][1].start.line!==o[m][1].end.line&&(E=m+1,A.push(E),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):A.pop(),m=A.length;m--;){const D=o.slice(A[m],A[m+1]),C=u.pop();l.push([C,C+D.length-1]),e.splice(C,2,D)}for(l.reverse(),m=-1;++m<l.length;)c[g+l[m][0]]=g+l[m][1],g+=l[m][1]-l[m][0]-1;return c}s(Mw,"subcontent");const Uw={resolve:$w,tokenize:qw},Hw={partial:!0,tokenize:zw};function $w(e){return V0(e),e}s($w,"resolveContent");function qw(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?u(o):j(o)?e.check(Hw,a,u)(o):(e.consume(o),i)}function u(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function a(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}s(qw,"tokenizeContent");function zw(e,t,n){const r=this;return i;function i(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),ee(e,u,"linePrefix")}function u(a){if(a===null||j(a))return n(a);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}s(zw,"tokenizeContinuation");function W0(e,t,n,r,i,u,a,o,l){const c=l||Number.POSITIVE_INFINITY;let f=0;return h;function h(D){return D===60?(e.enter(r),e.enter(i),e.enter(u),e.consume(D),e.exit(u),m):D===null||D===32||D===41||xi(D)?n(D):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),E(D))}function m(D){return D===62?(e.enter(u),e.consume(D),e.exit(u),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(D))}function p(D){return D===62?(e.exit("chunkString"),e.exit(o),m(D)):D===null||D===60||j(D)?n(D):(e.consume(D),D===92?g:p)}function g(D){return D===60||D===62||D===92?(e.consume(D),p):p(D)}function E(D){return!f&&(D===null||D===41||oe(D))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(D)):f<c&&D===40?(e.consume(D),f++,E):D===41?(e.consume(D),f--,E):D===null||D===32||D===40||xi(D)?n(D):(e.consume(D),D===92?A:E)}function A(D){return D===40||D===41||D===92?(e.consume(D),E):E(D)}}s(W0,"factoryDestination");function K0(e,t,n,r,i,u){const a=this;let o=0,l;return c;function c(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(u),f}function f(p){return o>999||p===null||p===91||p===93&&!l||p===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):p===93?(e.exit(u),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):j(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||j(p)||o++>999?(e.exit("chunkString"),f(p)):(e.consume(p),l||(l=!J(p)),p===92?m:h)}function m(p){return p===91||p===92||p===93?(e.consume(p),o++,h):h(p)}}s(K0,"factoryLabel");function Q0(e,t,n,r,i,u){let a;return o;function o(m){return m===34||m===39||m===40?(e.enter(r),e.enter(i),e.consume(m),e.exit(i),a=m===40?41:m,l):n(m)}function l(m){return m===a?(e.enter(i),e.consume(m),e.exit(i),e.exit(r),t):(e.enter(u),c(m))}function c(m){return m===a?(e.exit(u),l(a)):m===null?n(m):j(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),ee(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===a||m===null||j(m)?(e.exit("chunkString"),c(m)):(e.consume(m),m===92?h:f)}function h(m){return m===a||m===92?(e.consume(m),f):f(m)}}s(Q0,"factoryTitle");function Nr(e,t){let n;return r;function r(i){return j(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):J(i)?ee(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}s(Nr,"factoryWhitespace");const jw={name:"definition",tokenize:Gw},Yw={partial:!0,tokenize:Vw};function Gw(e,t,n){const r=this;let i;return u;function u(p){return e.enter("definition"),a(p)}function a(p){return K0.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return i=at(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):n(p)}function l(p){return oe(p)?Nr(e,c)(p):c(p)}function c(p){return W0(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(Yw,h,h)(p)}function h(p){return J(p)?ee(e,m,"whitespace")(p):m(p)}function m(p){return p===null||j(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}s(Gw,"tokenizeDefinition");function Vw(e,t,n){return r;function r(o){return oe(o)?Nr(e,i)(o):n(o)}function i(o){return Q0(e,u,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function u(o){return J(o)?ee(e,a,"whitespace")(o):a(o)}function a(o){return o===null||j(o)?t(o):n(o)}}s(Vw,"tokenizeTitleBefore");const Ww={name:"hardBreakEscape",tokenize:Kw};function Kw(e,t,n){return r;function r(u){return e.enter("hardBreakEscape"),e.consume(u),i}function i(u){return j(u)?(e.exit("hardBreakEscape"),t(u)):n(u)}}s(Kw,"tokenizeHardBreakEscape");const Qw={name:"headingAtx",resolve:Xw,tokenize:Jw};function Xw(e,t){let n=e.length-2,r=3,i,u;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},u={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Ge(e,r,n-r+1,[["enter",i,t],["enter",u,t],["exit",u,t],["exit",i,t]])),e}s(Xw,"resolveHeadingAtx");function Jw(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),u(f)}function u(f){return e.enter("atxHeadingSequence"),a(f)}function a(f){return f===35&&r++<6?(e.consume(f),a):f===null||oe(f)?(e.exit("atxHeadingSequence"),o(f)):n(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),l(f)):f===null||j(f)?(e.exit("atxHeading"),t(f)):J(f)?ee(e,o,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function l(f){return f===35?(e.consume(f),l):(e.exit("atxHeadingSequence"),o(f))}function c(f){return f===null||f===35||oe(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),c)}}s(Jw,"tokenizeHeadingAtx");const Zw=["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"],X0=["pre","script","style","textarea"],e6={concrete:!0,name:"htmlFlow",resolveTo:r6,tokenize:i6},t6={partial:!0,tokenize:u6},n6={partial:!0,tokenize:s6};function r6(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}s(r6,"resolveToHtmlFlow");function i6(e,t,n){const r=this;let i,u,a,o,l;return c;function c(B){return f(B)}function f(B){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(B),h}function h(B){return B===33?(e.consume(B),m):B===47?(e.consume(B),u=!0,E):B===63?(e.consume(B),i=3,r.interrupt?t:S):Ie(B)?(e.consume(B),a=String.fromCharCode(B),A):n(B)}function m(B){return B===45?(e.consume(B),i=2,p):B===91?(e.consume(B),i=5,o=0,g):Ie(B)?(e.consume(B),i=4,r.interrupt?t:S):n(B)}function p(B){return B===45?(e.consume(B),r.interrupt?t:S):n(B)}function g(B){const nt="CDATA[";return B===nt.charCodeAt(o++)?(e.consume(B),o===nt.length?r.interrupt?t:M:g):n(B)}function E(B){return Ie(B)?(e.consume(B),a=String.fromCharCode(B),A):n(B)}function A(B){if(B===null||B===47||B===62||oe(B)){const nt=B===47,Mt=a.toLowerCase();return!nt&&!u&&X0.includes(Mt)?(i=1,r.interrupt?t(B):M(B)):Zw.includes(a.toLowerCase())?(i=6,nt?(e.consume(B),D):r.interrupt?t(B):M(B)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(B):u?C(B):T(B))}return B===45||Ne(B)?(e.consume(B),a+=String.fromCharCode(B),A):n(B)}function D(B){return B===62?(e.consume(B),r.interrupt?t:M):n(B)}function C(B){return J(B)?(e.consume(B),C):F(B)}function T(B){return B===47?(e.consume(B),F):B===58||B===95||Ie(B)?(e.consume(B),I):J(B)?(e.consume(B),T):F(B)}function I(B){return B===45||B===46||B===58||B===95||Ne(B)?(e.consume(B),I):v(B)}function v(B){return B===61?(e.consume(B),_):J(B)?(e.consume(B),v):T(B)}function _(B){return B===null||B===60||B===61||B===62||B===96?n(B):B===34||B===39?(e.consume(B),l=B,L):J(B)?(e.consume(B),_):x(B)}function L(B){return B===l?(e.consume(B),l=null,w):B===null||j(B)?n(B):(e.consume(B),L)}function x(B){return B===null||B===34||B===39||B===47||B===60||B===61||B===62||B===96||oe(B)?v(B):(e.consume(B),x)}function w(B){return B===47||B===62||J(B)?T(B):n(B)}function F(B){return B===62?(e.consume(B),q):n(B)}function q(B){return B===null||j(B)?M(B):J(B)?(e.consume(B),q):n(B)}function M(B){return B===45&&i===2?(e.consume(B),te):B===60&&i===1?(e.consume(B),se):B===62&&i===4?(e.consume(B),Be):B===63&&i===3?(e.consume(B),S):B===93&&i===5?(e.consume(B),qe):j(B)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(t6,tt,Y)(B)):B===null||j(B)?(e.exit("htmlFlowData"),Y(B)):(e.consume(B),M)}function Y(B){return e.check(n6,G,tt)(B)}function G(B){return e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),K}function K(B){return B===null||j(B)?Y(B):(e.enter("htmlFlowData"),M(B))}function te(B){return B===45?(e.consume(B),S):M(B)}function se(B){return B===47?(e.consume(B),a="",Ce):M(B)}function Ce(B){if(B===62){const nt=a.toLowerCase();return X0.includes(nt)?(e.consume(B),Be):M(B)}return Ie(B)&&a.length<8?(e.consume(B),a+=String.fromCharCode(B),Ce):M(B)}function qe(B){return B===93?(e.consume(B),S):M(B)}function S(B){return B===62?(e.consume(B),Be):B===45&&i===2?(e.consume(B),S):M(B)}function Be(B){return B===null||j(B)?(e.exit("htmlFlowData"),tt(B)):(e.consume(B),Be)}function tt(B){return e.exit("htmlFlow"),t(B)}}s(i6,"tokenizeHtmlFlow");function s6(e,t,n){const r=this;return i;function i(a){return j(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):n(a)}function u(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}s(s6,"tokenizeNonLazyContinuationStart");function u6(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(wr,t,n)}}s(u6,"tokenizeBlankLineBefore");const a6={name:"htmlText",tokenize:o6};function o6(e,t,n){const r=this;let i,u,a;return o;function o(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),l}function l(S){return S===33?(e.consume(S),c):S===47?(e.consume(S),v):S===63?(e.consume(S),T):Ie(S)?(e.consume(S),x):n(S)}function c(S){return S===45?(e.consume(S),f):S===91?(e.consume(S),u=0,g):Ie(S)?(e.consume(S),C):n(S)}function f(S){return S===45?(e.consume(S),p):n(S)}function h(S){return S===null?n(S):S===45?(e.consume(S),m):j(S)?(a=h,se(S)):(e.consume(S),h)}function m(S){return S===45?(e.consume(S),p):h(S)}function p(S){return S===62?te(S):S===45?m(S):h(S)}function g(S){const Be="CDATA[";return S===Be.charCodeAt(u++)?(e.consume(S),u===Be.length?E:g):n(S)}function E(S){return S===null?n(S):S===93?(e.consume(S),A):j(S)?(a=E,se(S)):(e.consume(S),E)}function A(S){return S===93?(e.consume(S),D):E(S)}function D(S){return S===62?te(S):S===93?(e.consume(S),D):E(S)}function C(S){return S===null||S===62?te(S):j(S)?(a=C,se(S)):(e.consume(S),C)}function T(S){return S===null?n(S):S===63?(e.consume(S),I):j(S)?(a=T,se(S)):(e.consume(S),T)}function I(S){return S===62?te(S):T(S)}function v(S){return Ie(S)?(e.consume(S),_):n(S)}function _(S){return S===45||Ne(S)?(e.consume(S),_):L(S)}function L(S){return j(S)?(a=L,se(S)):J(S)?(e.consume(S),L):te(S)}function x(S){return S===45||Ne(S)?(e.consume(S),x):S===47||S===62||oe(S)?w(S):n(S)}function w(S){return S===47?(e.consume(S),te):S===58||S===95||Ie(S)?(e.consume(S),F):j(S)?(a=w,se(S)):J(S)?(e.consume(S),w):te(S)}function F(S){return S===45||S===46||S===58||S===95||Ne(S)?(e.consume(S),F):q(S)}function q(S){return S===61?(e.consume(S),M):j(S)?(a=q,se(S)):J(S)?(e.consume(S),q):w(S)}function M(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),i=S,Y):j(S)?(a=M,se(S)):J(S)?(e.consume(S),M):(e.consume(S),G)}function Y(S){return S===i?(e.consume(S),i=void 0,K):S===null?n(S):j(S)?(a=Y,se(S)):(e.consume(S),Y)}function G(S){return S===null||S===34||S===39||S===60||S===61||S===96?n(S):S===47||S===62||oe(S)?w(S):(e.consume(S),G)}function K(S){return S===47||S===62||oe(S)?w(S):n(S)}function te(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):n(S)}function se(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),Ce}function Ce(S){return J(S)?ee(e,qe,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):qe(S)}function qe(S){return e.enter("htmlTextData"),a(S)}}s(o6,"tokenizeHtmlText");const so={name:"labelEnd",resolveAll:f6,resolveTo:d6,tokenize:p6},l6={tokenize:m6},c6={tokenize:g6},h6={tokenize:E6};function f6(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&Ge(e,0,e.length,n),e}s(f6,"resolveAllLabelEnd");function d6(e,t){let n=e.length,r=0,i,u,a,o;for(;n--;)if(i=e[n][1],u){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(u=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(a=n);const l={type:e[u][1].type==="labelLink"?"link":"image",start:{...e[u][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[u][1].start},end:{...e[a][1].end}},f={type:"labelText",start:{...e[u+r+2][1].end},end:{...e[a-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=Qe(o,e.slice(u+1,u+r+3)),o=Qe(o,[["enter",f,t]]),o=Qe(o,Vi(t.parser.constructs.insideSpan.null,e.slice(u+r+4,a-3),t)),o=Qe(o,[["exit",f,t],e[a-2],e[a-1],["exit",c,t]]),o=Qe(o,e.slice(a+1)),o=Qe(o,[["exit",l,t]]),Ge(e,u,e.length,o),e}s(d6,"resolveToLabelEnd");function p6(e,t,n){const r=this;let i=r.events.length,u,a;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){u=r.events[i][1];break}return o;function o(m){return u?u._inactive?h(m):(a=r.parser.defined.includes(at(r.sliceSerialize({start:u.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),l):n(m)}function l(m){return m===40?e.attempt(l6,f,a?f:h)(m):m===91?e.attempt(c6,f,a?c:h)(m):a?f(m):h(m)}function c(m){return e.attempt(h6,f,h)(m)}function f(m){return t(m)}function h(m){return u._balanced=!0,n(m)}}s(p6,"tokenizeLabelEnd");function m6(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return oe(h)?Nr(e,u)(h):u(h)}function u(h){return h===41?f(h):W0(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function a(h){return oe(h)?Nr(e,l)(h):f(h)}function o(h){return n(h)}function l(h){return h===34||h===39||h===40?Q0(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):f(h)}function c(h){return oe(h)?Nr(e,f)(h):f(h)}function f(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}s(m6,"tokenizeResource");function g6(e,t,n){const r=this;return i;function i(o){return K0.call(r,e,u,a,"reference","referenceMarker","referenceString")(o)}function u(o){return r.parser.defined.includes(at(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function a(o){return n(o)}}s(g6,"tokenizeReferenceFull");function E6(e,t,n){return r;function r(u){return e.enter("reference"),e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),i}function i(u){return u===93?(e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),e.exit("reference"),t):n(u)}}s(E6,"tokenizeReferenceCollapsed");const A6={name:"labelStartImage",resolveAll:so.resolveAll,tokenize:D6};function D6(e,t,n){const r=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),u}function u(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),a):n(o)}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}s(D6,"tokenizeLabelStartImage");const C6={name:"labelStartLink",resolveAll:so.resolveAll,tokenize:y6};function y6(e,t,n){const r=this;return i;function i(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),u}function u(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}s(y6,"tokenizeLabelStartLink");const uo={name:"lineEnding",tokenize:T6};function T6(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ee(e,t,"linePrefix")}}s(T6,"tokenizeLineEnding");const Wi={name:"thematicBreak",tokenize:b6};function b6(e,t,n){let r=0,i;return u;function u(c){return e.enter("thematicBreak"),a(c)}function a(c){return i=c,o(c)}function o(c){return c===i?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||j(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===i?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),J(c)?ee(e,o,"whitespace")(c):o(c))}}s(b6,"tokenizeThematicBreak");const $e={continuation:{tokenize:B6},exit:F6,name:"list",tokenize:_6},k6={partial:!0,tokenize:N6},S6={partial:!0,tokenize:w6};function _6(e,t,n){const r=this,i=r.events[r.events.length-1];let u=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return o;function o(p){const g=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:_u(p)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Wi,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return _u(p)&&++a<10?(e.consume(p),l):(!r.interrupt||a<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(wr,r.interrupt?n:f,e.attempt(k6,m,h))}function f(p){return r.containerState.initialBlankLine=!0,u++,m(p)}function h(p){return J(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),m):n(p)}function m(p){return r.containerState.size=u+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}s(_6,"tokenizeListStart");function B6(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(wr,i,u);function i(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ee(e,t,"listItemIndent",r.containerState.size+1)(o)}s(i,"onBlank");function u(o){return r.containerState.furtherBlankLines||!J(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(S6,t,a)(o))}s(u,"notBlank");function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,ee(e,e.attempt($e,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}s(a,"notInCurrentItem")}s(B6,"tokenizeListContinuation");function w6(e,t,n){const r=this;return ee(e,i,"listItemIndent",r.containerState.size+1);function i(u){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(u):n(u)}}s(w6,"tokenizeIndent$1");function F6(e){e.exit(this.containerState.type)}s(F6,"tokenizeListEnd");function N6(e,t,n){const r=this;return ee(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(u){const a=r.events[r.events.length-1];return!J(u)&&a&&a[1].type==="listItemPrefixWhitespace"?t(u):n(u)}}s(N6,"tokenizeListItemPrefixWhitespace");const J0={name:"setextUnderline",resolveTo:x6,tokenize:I6};function x6(e,t){let n=e.length,r,i,u;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!u&&e[n][1].type==="definition"&&(u=n);const a={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",u?(e.splice(i,0,["enter",a,t]),e.splice(u+1,0,["exit",e[r][1],t]),e[r][1].end={...e[u][1].end}):e[r][1]=a,e.push(["exit",a,t]),e}s(x6,"resolveToSetextUnderline");function I6(e,t,n){const r=this;let i;return u;function u(c){let f=r.events.length,h;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){h=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===i?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),J(c)?ee(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||j(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}s(I6,"tokenizeSetextUnderline");const v6={tokenize:$6,partial:!0};function L6(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:M6,continuation:{tokenize:U6},exit:H6}},text:{91:{name:"gfmFootnoteCall",tokenize:P6},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:O6,resolveTo:R6}}}}s(L6,"gfmFootnote");function O6(e,t,n){const r=this;let i=r.events.length;const u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=at(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!u.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}s(O6,"tokenizePotentialGfmFootnoteCall");function R6(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const u={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",u,t],["enter",a,t],["exit",a,t],["exit",u,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}s(R6,"resolveToPotentialGfmFootnoteCall");function P6(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u=0,a;return o;function o(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(h){if(u>999||h===93&&!a||h===null||h===91||oe(h))return n(h);if(h===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return i.includes(at(r.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return oe(h)||(a=!0),u++,e.consume(h),h===92?f:c}function f(h){return h===91||h===92||h===93?(e.consume(h),u++,c):c(h)}}s(P6,"tokenizeGfmFootnoteCall");function M6(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u,a=0,o;return l;function l(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(g)}function f(g){if(a>999||g===93&&!o||g===null||g===91||oe(g))return n(g);if(g===93){e.exit("chunkString");const E=e.exit("gfmFootnoteDefinitionLabelString");return u=at(r.sliceSerialize(E)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return oe(g)||(o=!0),a++,e.consume(g),g===92?h:f}function h(g){return g===91||g===92||g===93?(e.consume(g),a++,f):f(g)}function m(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),i.includes(u)||i.push(u),ee(e,p,"gfmFootnoteDefinitionWhitespace")):n(g)}function p(g){return t(g)}}s(M6,"tokenizeDefinitionStart");function U6(e,t,n){return e.check(wr,t,e.attempt(v6,t,n))}s(U6,"tokenizeDefinitionContinuation");function H6(e){e.exit("gfmFootnoteDefinition")}s(H6,"gfmFootnoteDefinitionEnd");function $6(e,t,n){const r=this;return ee(e,i,"gfmFootnoteDefinitionIndent",5);function i(u){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(u):n(u)}}s($6,"tokenizeIndent");function q6(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:u,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,o){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},h={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},m=[["enter",f,o],["enter",a[c][1],o],["exit",a[c][1],o],["enter",h,o]],p=o.parser.constructs.insideSpan.null;p&&Ge(m,m.length,0,Vi(p,a.slice(c+1,l),o)),Ge(m,m.length,0,[["exit",h,o],["enter",a[l][1],o],["exit",a[l][1],o],["exit",f,o]]),Ge(a,c-1,l-c+3,m),l=c+m.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}s(i,"resolveAllStrikethrough");function u(a,o,l){const c=this.previous,f=this.events;let h=0;return m;function m(g){return c===126&&f[f.length-1][1].type!=="characterEscape"?l(g):(a.enter("strikethroughSequenceTemporary"),p(g))}function p(g){const E=Fn(c);if(g===126)return h>1?l(g):(a.consume(g),h++,p);if(h<2&&!n)return l(g);const A=a.exit("strikethroughSequenceTemporary"),D=Fn(g);return A._open=!D||D===2&&!!E,A._close=!E||E===2&&!!D,o(g)}}s(u,"tokenizeStrikethrough")}s(q6,"gfmStrikethrough");class z6{static{s(this,"EditMap")}constructor(){this.map=[]}add(t,n,r){j6(this,t,n,r)}consume(t){if(this.map.sort(function(u,a){return u[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const u of i)t.push(u);i=r.pop()}this.map.length=0}}function j6(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}s(j6,"addImplementation");function Y6(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const u=r.length-1;r[u]=r[u]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}s(Y6,"gfmTableAlign");function G6(){return{flow:{null:{name:"table",tokenize:V6,resolveAll:W6}}}}s(G6,"gfmTable");function V6(e,t,n){const r=this;let i=0,u=0,a;return o;function o(F){let q=r.events.length-1;for(;q>-1;){const G=r.events[q][1].type;if(G==="lineEnding"||G==="linePrefix")q--;else break}const M=q>-1?r.events[q][1].type:null,Y=M==="tableHead"||M==="tableRow"?_:l;return Y===_&&r.parser.lazy[r.now().line]?n(F):Y(F)}function l(F){return e.enter("tableHead"),e.enter("tableRow"),c(F)}function c(F){return F===124||(a=!0,u+=1),f(F)}function f(F){return F===null?n(F):j(F)?u>1?(u=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),p):n(F):J(F)?ee(e,f,"whitespace")(F):(u+=1,a&&(a=!1,i+=1),F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),a=!0,f):(e.enter("data"),h(F)))}function h(F){return F===null||F===124||oe(F)?(e.exit("data"),f(F)):(e.consume(F),F===92?m:h)}function m(F){return F===92||F===124?(e.consume(F),h):h(F)}function p(F){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(F):(e.enter("tableDelimiterRow"),a=!1,J(F)?ee(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(F):g(F))}function g(F){return F===45||F===58?A(F):F===124?(a=!0,e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),E):v(F)}function E(F){return J(F)?ee(e,A,"whitespace")(F):A(F)}function A(F){return F===58?(u+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),D):F===45?(u+=1,D(F)):F===null||j(F)?I(F):v(F)}function D(F){return F===45?(e.enter("tableDelimiterFiller"),C(F)):v(F)}function C(F){return F===45?(e.consume(F),C):F===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(F),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(F))}function T(F){return J(F)?ee(e,I,"whitespace")(F):I(F)}function I(F){return F===124?g(F):F===null||j(F)?!a||i!==u?v(F):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(F)):v(F)}function v(F){return n(F)}function _(F){return e.enter("tableRow"),L(F)}function L(F){return F===124?(e.enter("tableCellDivider"),e.consume(F),e.exit("tableCellDivider"),L):F===null||j(F)?(e.exit("tableRow"),t(F)):J(F)?ee(e,L,"whitespace")(F):(e.enter("data"),x(F))}function x(F){return F===null||F===124||oe(F)?(e.exit("data"),L(F)):(e.consume(F),F===92?w:x)}function w(F){return F===92||F===124?(e.consume(F),x):x(F)}}s(V6,"tokenizeTable");function W6(e,t){let n=-1,r=!0,i=0,u=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,f,h;const m=new z6;for(;++n<e.length;){const p=e[n],g=p[1];p[0]==="enter"?g.type==="tableHead"?(o=!1,l!==0&&(Z0(m,t,l,c,f),f=void 0,l=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",c,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,h=void 0,u=[0,0,0,0],a=[0,n+1,0,0],o&&(o=!1,f={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},m.add(n,0,[["enter",f,t]])),i=g.type==="tableDelimiterRow"?2:f?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(u[1]!==0&&(a[0]=a[1],h=Ki(m,t,u,i,void 0,h),u=[0,0,0,0]),a[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(u[1]!==0&&(a[0]=a[1],h=Ki(m,t,u,i,void 0,h)),u=a,a=[u[1],n,0,0])):g.type==="tableHead"?(o=!0,l=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=n,u[1]!==0?(a[0]=a[1],h=Ki(m,t,u,i,n,h)):a[1]!==0&&(h=Ki(m,t,a,i,n,h)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&Z0(m,t,l,c,f),m.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=Y6(t.events,n))}return e}s(W6,"resolveTable");function Ki(e,t,n,r,i,u){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(u.end=Object.assign({},Nn(t.events,n[0])),e.add(n[0],0,[["exit",u,t]]));const l=Nn(t.events,n[1]);if(u={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",u,t]]),n[2]!==0){const c=Nn(t.events,n[2]),f=Nn(t.events,n[3]),h={type:o,start:Object.assign({},c),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",h,t]]),r!==2){const m=t.events[n[2]],p=t.events[n[3]];if(m[1].end=Object.assign({},p[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){const g=n[2]+1,E=n[3]-n[2]-1;e.add(g,E,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return i!==void 0&&(u.end=Object.assign({},Nn(t.events,i)),e.add(i,0,[["exit",u,t]]),u=void 0),u}s(Ki,"flushCell");function Z0(e,t,n,r,i){const u=[],a=Nn(t.events,n);i&&(i.end=Object.assign({},a),u.push(["exit",i,t])),r.end=Object.assign({},a),u.push(["exit",r,t]),e.add(n+1,0,u)}s(Z0,"flushTableEnd");function Nn(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}s(Nn,"getPoint");const K6={name:"tasklistCheck",tokenize:X6};function Q6(){return{text:{91:K6}}}s(Q6,"gfmTaskListItem");function X6(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),u)}function u(l){return oe(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return j(l)?t(l):J(l)?e.check({tokenize:J6},t,n)(l):n(l)}}s(X6,"tokenizeTasklistCheck");function J6(e,t,n){return ee(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}s(J6,"spaceThenNonSpace");function Z6(e){return I0([lw(),L6(),q6(e),G6(),Q6()])}s(Z6,"gfm");const eF={};function tF(e){const t=this,n=e||eF,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),u=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Z6(n)),u.push(rw()),a.push(iw(n))}s(tF,"remarkGfm");const ao={classNameMaps:{block:"admonition",title:"admonition-title"},titleFilter:["[!NOTE]","[!IMPORTANT]","[!WARNING]","[!TIP]","[!CAUTION]"],titleTextMap:s(e=>({displayTitle:e.substring(2,e.length-1),checkedTitle:e.substring(2,e.length-1)}),"titleTextMap"),dataMaps:{block:s(e=>e,"block"),title:s(e=>e,"title")},titleKeepTrailingWhitespaces:!1,legacyTitle:!1},nF={...ao,titleFilter:["Note","Warning"],titleTextMap:s(e=>({displayTitle:e,checkedTitle:e}),"titleTextMap"),legacyTitle:!1,titleLift:!1,titleLiftWhitespaces:s(()=>"","titleLiftWhitespaces"),titleUnwrap:!1};function xr(e){return t=>{const n=typeof e=="function"?e(t):e;return typeof n=="object"?n.join(" "):n}}s(xr,"classNameMap");function oo(e){return t=>typeof e=="function"?e(t):e.includes(t)}s(oo,"nameFilter");const rF=s(e=>t=>{if(t.type!="blockquote")return;const n=t;if(n.children.length<=0||n.children[0].type!="paragraph")return;const r=n.children[0];if(r.children.length<=0||r.children[0].type!="strong")return;const i=r.children[0];if(i.children.length!=1||i.children[0].type!="text")return;const u=i.children[0],a=u.value;if(!oo(e.titleFilter)(a))return;const{displayTitle:o,checkedTitle:l}=e.titleTextMap(a);if(u.value=o,n.data=e.dataMaps.block({...n.data,hProperties:{className:xr(e.classNameMaps.block)(l)}}),i.data=e.dataMaps.title({...i.data,hProperties:{className:xr(e.classNameMaps.title)(l)}}),e.titleLift){const c=r.children.splice(0,1)[0];let f;e.titleUnwrap?f={type:"paragraph",children:[{type:"text",value:o}],data:e.dataMaps.title({hProperties:{className:xr(e.classNameMaps.title)(l)}})}:f={type:"paragraph",children:[c]},n.children.unshift(f);const h=r;if(h.children.length>0&&h.children[0].type=="text"){const m=h.children[0],g=/^[ \t\n\v\f\r]*/.exec(m.value),E=g?g[0]:"";m.value=e.titleLiftWhitespaces(E)+m.value.slice(E.length)}}},"handleNode$1"),iF=s(function(...e){const t=e.reduce((r,i)=>({...r,...i}),{}),n=t?.legacyTitle??ao.legacyTitle;return r=>{ae(r,n?rF({...nF,...t}):sF({...ao,...t}))}},"plugin$2"),sF=s(e=>t=>{if(t.type!="blockquote")return;const n=t;if(n.children[0]?.type!="paragraph")return;const r=n.children[0];if(r.children[0]?.type!="text")return;const i=r.children[0];let u;const a=i.value.indexOf(`
|
|
817
817
|
`);if(a<0){if(r.children.length>1)if(r.children.at(1)?.type=="break")r.children.splice(1,1);else return;if(u=i.value,!oo(e.titleFilter)(u))return;r.children.shift()}else{const h=i.value.substring(a+1);u=i.value.substring(0,a);const m=/[ \t\v\f\r]+$/.exec(u);if(m&&!e.titleKeepTrailingWhitespaces&&(u=u.substring(0,u.length-m[0].length)),!oo(e.titleFilter)(u))return;i.value=h}const{displayTitle:o,checkedTitle:l}=e.titleTextMap(u),f={type:"paragraph",children:[{type:"text",value:o}],data:e.dataMaps.title({hProperties:{className:xr(e.classNameMaps.title)(l)}})};n.children.unshift(f),n.data=e.dataMaps.block({...n.data,hProperties:{className:xr(e.classNameMaps.block)(l)},hName:"div"})},"handleNode");function uF(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:u},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:o,mathText:a,mathTextData:o}};function e(l){const c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function t(){this.buffer()}function n(){const l=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=l}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(l){const c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),f=this.stack[this.stack.length-1];f.type,this.exit(l),f.value=c;const h=f.data.hChildren[0];h.type,h.tagName,h.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function u(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function a(l){const c=this.resume(),f=this.stack[this.stack.length-1];f.type,this.exit(l),f.value=c,f.data.hChildren.push({type:"text",value:c})}function o(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}s(uF,"mathFromMarkdown");function aF(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
818
818
|
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(u,a,o,l){const c=u.value||"",f=o.createTracker(l),h="$".repeat(Math.max(d0(c,"$")+1,2)),m=o.enter("mathFlow");let p=f.move(h);if(u.meta){const g=o.enter("mathFlowMeta");p+=f.move(o.safe(u.meta,{after:`
|
|
819
819
|
`,before:p,encode:["$"],...f.current()})),g()}return p+=f.move(`
|
|
820
820
|
`),c&&(p+=f.move(c+`
|
|
821
|
-
`)),p+=f.move(h),m(),p}s(n,"math");function r(u,a,o){let l=u.value||"",c=1;for(t||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;const f="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let h=-1;for(;++h<o.unsafe.length;){const m=o.unsafe[h];if(!m.atBreak)continue;const p=o.compilePattern(m);let g;for(;g=p.exec(l);){let E=g.index;l.codePointAt(E)===10&&l.codePointAt(E-1)===13&&E--,l=l.slice(0,E)+" "+l.slice(g.index+1)}}return f+l+f}s(r,"inlineMath");function i(){return"$"}s(i,"inlineMathPeek")}s(aF,"mathToMarkdown");const oF={tokenize:lF,concrete:!0,name:"mathFlow"},ep={tokenize:cF,partial:!0};function lF(e,t,n){const r=this,i=r.events[r.events.length-1],u=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let a=0;return o;function o(C){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(C)}function l(C){return C===36?(e.consume(C),a++,l):a<2?n(C):(e.exit("mathFlowFenceSequence"),ee(e,c,"whitespace")(C))}function c(C){return C===null||Y(C)?h(C):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(C))}function f(C){return C===null||Y(C)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),h(C)):C===36?n(C):(e.consume(C),f)}function h(C){return e.exit("mathFlowFence"),r.interrupt?t(C):e.attempt(ep,m,D)(C)}function m(C){return e.attempt({tokenize:A,partial:!0},D,p)(C)}function p(C){return(u?ee(e,g,"linePrefix",u+1):g)(C)}function g(C){return C===null?D(C):Y(C)?e.attempt(ep,m,D)(C):(e.enter("mathFlowValue"),E(C))}function E(C){return C===null||Y(C)?(e.exit("mathFlowValue"),g(C)):(e.consume(C),E)}function D(C){return e.exit("mathFlow"),t(C)}function A(C,T,I){let v=0;return ee(C,_,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function _(w){return C.enter("mathFlowFence"),C.enter("mathFlowFenceSequence"),L(w)}function L(w){return w===36?(v++,C.consume(w),L):v<a?I(w):(C.exit("mathFlowFenceSequence"),ee(C,x,"whitespace")(w))}function x(w){return w===null||Y(w)?(C.exit("mathFlowFence"),T(w)):I(w)}}}s(lF,"tokenizeMathFenced");function cF(e,t,n){const r=this;return i;function i(a){return a===null?t(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u)}function u(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}s(cF,"tokenizeNonLazyContinuation");function hF(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:fF,previous:dF,name:"mathText"};function r(i,u,a){let o=0,l,c;return f;function f(E){return i.enter("mathText"),i.enter("mathTextSequence"),h(E)}function h(E){return E===36?(i.consume(E),o++,h):o<2&&!n?a(E):(i.exit("mathTextSequence"),m(E))}function m(E){return E===null?a(E):E===36?(c=i.enter("mathTextSequence"),l=0,g(E)):E===32?(i.enter("space"),i.consume(E),i.exit("space"),m):Y(E)?(i.enter("lineEnding"),i.consume(E),i.exit("lineEnding"),m):(i.enter("mathTextData"),p(E))}function p(E){return E===null||E===32||E===36||Y(E)?(i.exit("mathTextData"),m(E)):(i.consume(E),p)}function g(E){return E===36?(i.consume(E),l++,g):l===o?(i.exit("mathTextSequence"),i.exit("mathText"),u(E)):(c.type="mathTextData",p(E))}}s(r,"tokenizeMathText")}s(hF,"mathText");function fF(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="mathTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}s(fF,"resolveMathText");function dF(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}s(dF,"previous");function pF(e){return{flow:{36:oF},text:{36:hF(e)}}}s(pF,"math");const mF={};function gF(e){const t=this,n=e||mF,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),u=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(pF(n)),u.push(uF()),a.push(aF(n))}s(gF,"remarkMath");const EF={tokenize:AF};function AF(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ee(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),u(o)}function u(o){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(o)}function a(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return Y(o)?(e.consume(o),e.exit("chunkText"),u):(e.consume(o),a)}}s(AF,"initializeContent");const DF={tokenize:CF},tp={tokenize:yF};function CF(e){const t=this,n=[];let r=0,i,u,a;return o;function o(T){if(r<n.length){const I=n[r];return t.containerState=I[1],e.attempt(I[0].continuation,l,c)(T)}return c(T)}function l(T){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&C();const I=t.events.length;let v=I,_;for(;v--;)if(t.events[v][0]==="exit"&&t.events[v][1].type==="chunkFlow"){_=t.events[v][1].end;break}A(r);let L=I;for(;L<t.events.length;)t.events[L][1].end={..._},L++;return Ge(t.events,v+1,0,t.events.slice(I)),t.events.length=L,c(T)}return o(T)}function c(T){if(r===n.length){if(!i)return m(T);if(i.currentConstruct&&i.currentConstruct.concrete)return g(T);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(tp,f,h)(T)}function f(T){return i&&C(),A(r),m(T)}function h(T){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,g(T)}function m(T){return t.containerState={},e.attempt(tp,p,g)(T)}function p(T){return r++,n.push([t.currentConstruct,t.containerState]),m(T)}function g(T){if(T===null){i&&C(),A(0),e.consume(T);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:u}),E(T)}function E(T){if(T===null){D(e.exit("chunkFlow"),!0),A(0),e.consume(T);return}return Y(T)?(e.consume(T),D(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(T),E)}function D(T,I){const v=t.sliceStream(T);if(I&&v.push(null),T.previous=u,u&&(u.next=T),u=T,i.defineSkip(T.start),i.write(v),t.parser.lazy[T.start.line]){let _=i.events.length;for(;_--;)if(i.events[_][1].start.offset<a&&(!i.events[_][1].end||i.events[_][1].end.offset>a))return;const L=t.events.length;let x=L,w,F;for(;x--;)if(t.events[x][0]==="exit"&&t.events[x][1].type==="chunkFlow"){if(w){F=t.events[x][1].end;break}w=!0}for(A(r),_=L;_<t.events.length;)t.events[_][1].end={...F},_++;Ge(t.events,x+1,0,t.events.slice(L)),t.events.length=_}}function A(T){let I=n.length;for(;I-- >T;){const v=n[I];t.containerState=v[1],v[0].exit.call(t,e)}n.length=T}function C(){i.write([null]),u=void 0,i=void 0,t.containerState._closeFlow=void 0}}s(CF,"initializeDocument");function yF(e,t,n){return ee(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}s(yF,"tokenizeContainer");const TF={tokenize:bF};function bF(e){const t=this,n=e.attempt(wr,r,e.attempt(this.parser.constructs.flowInitial,i,ee(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Uw,i)),"linePrefix")));return n;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEndingBlank"),e.consume(u),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),t.currentConstruct=void 0,n}}s(bF,"initializeFlow");const kF={resolveAll:rp()},SF=np("string"),_F=np("text");function np(e){return{resolveAll:rp(e==="text"?BF:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],u=n.attempt(i,a,o);return a;function a(f){return c(f)?u(f):o(f)}function o(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),l}function l(f){return c(f)?(n.exit("data"),u(f)):(n.consume(f),l)}function c(f){if(f===null)return!0;const h=i[f];let m=-1;if(h)for(;++m<h.length;){const p=h[m];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}s(np,"initializeFactory");function rp(e){return t;function t(n,r){let i=-1,u;for(;++i<=n.length;)u===void 0?n[i]&&n[i][1].type==="data"&&(u=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==u+2&&(n[u][1].end=n[i-1][1].end,n.splice(u+2,i-u-2),i=u+2),u=void 0);return e?e(n,r):n}}s(rp,"createResolver");function BF(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let u=i.length,a=-1,o=0,l;for(;u--;){const c=i[u];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)o++,a--;if(a)break;a=-1}else if(c===-2)l=!0,o++;else if(c!==-1){u++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){const c={type:n===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:u?a:r.start._bufferIndex+a,_index:r.start._index+u,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}s(BF,"resolveAllLineSuffixes");const wF={42:$e,43:$e,45:$e,48:$e,49:$e,50:$e,51:$e,52:$e,53:$e,54:$e,55:$e,56:$e,57:$e,62:q0},FF={91:Yw},NF={[-2]:io,[-1]:io,32:io},xF={35:Qw,42:Wi,45:[J0,Wi],60:e6,61:J0,95:Wi,96:G0,126:G0},IF={38:Y0,92:z0},vF={[-5]:uo,[-4]:uo,[-3]:uo,33:A6,38:Y0,42:ro,60:[Cw,a6],91:C6,92:[Ww,z0],93:so,95:ro,96:vw},LF={null:[ro,kF]},OF={null:[42,95]},RF={null:[]};var PF=Object.freeze({__proto__:null,attentionMarkers:OF,contentInitial:FF,disable:RF,document:wF,flow:xF,flowInitial:NF,insideSpan:LF,string:IF,text:vF});function MF(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},u=[];let a=[],o=[];const l={attempt:L(v),check:L(_),consume:C,enter:T,exit:I,interrupt:L(_,{interrupt:!0})},c={code:null,containerState:{},defineSkip:E,events:[],now:g,parser:e,previous:null,sliceSerialize:m,sliceStream:p,write:h};let f=t.tokenize.call(c,l);return t.resolveAll&&u.push(t),c;function h(q){return a=Qe(a,q),D(),a[a.length-1]!==null?[]:(x(t,0),c.events=Vi(u,c.events,c),c.events)}s(h,"write");function m(q,M){return HF(p(q),M)}s(m,"sliceSerialize");function p(q){return UF(a,q)}s(p,"sliceStream");function g(){const{_bufferIndex:q,_index:M,line:j,column:G,offset:K}=r;return{_bufferIndex:q,_index:M,line:j,column:G,offset:K}}s(g,"now");function E(q){i[q.line]=q.column,F()}s(E,"defineSkip");function D(){let q;for(;r._index<a.length;){const M=a[r._index];if(typeof M=="string")for(q=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===q&&r._bufferIndex<M.length;)A(M.charCodeAt(r._bufferIndex));else A(M)}}s(D,"main");function A(q){f=f(q)}s(A,"go");function C(q){Y(q)?(r.line++,r.column=1,r.offset+=q===-3?2:1,F()):q!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=q}s(C,"consume");function T(q,M){const j=M||{};return j.type=q,j.start=g(),c.events.push(["enter",j,c]),o.push(j),j}s(T,"enter");function I(q){const M=o.pop();return M.end=g(),c.events.push(["exit",M,c]),M}s(I,"exit");function v(q,M){x(q,M.from)}s(v,"onsuccessfulconstruct");function _(q,M){M.restore()}s(_,"onsuccessfulcheck");function L(q,M){return j;function j(G,K,te){let se,Ce,qe,S;return Array.isArray(G)?tt(G):"tokenize"in G?tt([G]):Be(G);function Be(_e){return jn;function jn(_t){const ln=_t!==null&&_e[_t],cn=_t!==null&&_e.null,jr=[...Array.isArray(ln)?ln:ln?[ln]:[],...Array.isArray(cn)?cn:cn?[cn]:[]];return tt(jr)(_t)}}function tt(_e){return se=_e,Ce=0,_e.length===0?te:B(_e[Ce])}function B(_e){return jn;function jn(_t){return S=w(),qe=_e,_e.partial||(c.currentConstruct=_e),_e.name&&c.parser.constructs.disable.null.includes(_e.name)?Mt():_e.tokenize.call(M?Object.assign(Object.create(c),M):c,l,nt,Mt)(_t)}}function nt(_e){return q(qe,S),K}function Mt(_e){return S.restore(),++Ce<se.length?B(se[Ce]):te}}}s(L,"constructFactory");function x(q,M){q.resolveAll&&!u.includes(q)&&u.push(q),q.resolve&&Ge(c.events,M,c.events.length-M,q.resolve(c.events.slice(M),c)),q.resolveTo&&(c.events=q.resolveTo(c.events,c))}s(x,"addResult");function w(){const q=g(),M=c.previous,j=c.currentConstruct,G=c.events.length,K=Array.from(o);return{from:G,restore:te};function te(){r=q,c.previous=M,c.currentConstruct=j,c.events.length=G,o=K,F()}}s(w,"store");function F(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}s(F,"accountForPotentialSkip")}s(MF,"createTokenizer");function UF(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,u=t.end._bufferIndex;let a;if(n===i)a=[e[n].slice(r,u)];else{if(a=e.slice(n,i),r>-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}u>0&&a.push(e[i].slice(0,u))}return a}s(UF,"sliceChunks");function HF(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const u=e[n];let a;if(typeof u=="string")a=u;else switch(u){case-5:{a="\r";break}case-4:{a=`
|
|
821
|
+
`)),p+=f.move(h),m(),p}s(n,"math");function r(u,a,o){let l=u.value||"",c=1;for(t||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;const f="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let h=-1;for(;++h<o.unsafe.length;){const m=o.unsafe[h];if(!m.atBreak)continue;const p=o.compilePattern(m);let g;for(;g=p.exec(l);){let E=g.index;l.codePointAt(E)===10&&l.codePointAt(E-1)===13&&E--,l=l.slice(0,E)+" "+l.slice(g.index+1)}}return f+l+f}s(r,"inlineMath");function i(){return"$"}s(i,"inlineMathPeek")}s(aF,"mathToMarkdown");const oF={tokenize:lF,concrete:!0,name:"mathFlow"},ep={tokenize:cF,partial:!0};function lF(e,t,n){const r=this,i=r.events[r.events.length-1],u=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let a=0;return o;function o(C){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(C)}function l(C){return C===36?(e.consume(C),a++,l):a<2?n(C):(e.exit("mathFlowFenceSequence"),ee(e,c,"whitespace")(C))}function c(C){return C===null||j(C)?h(C):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(C))}function f(C){return C===null||j(C)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),h(C)):C===36?n(C):(e.consume(C),f)}function h(C){return e.exit("mathFlowFence"),r.interrupt?t(C):e.attempt(ep,m,A)(C)}function m(C){return e.attempt({tokenize:D,partial:!0},A,p)(C)}function p(C){return(u?ee(e,g,"linePrefix",u+1):g)(C)}function g(C){return C===null?A(C):j(C)?e.attempt(ep,m,A)(C):(e.enter("mathFlowValue"),E(C))}function E(C){return C===null||j(C)?(e.exit("mathFlowValue"),g(C)):(e.consume(C),E)}function A(C){return e.exit("mathFlow"),t(C)}function D(C,T,I){let v=0;return ee(C,_,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function _(w){return C.enter("mathFlowFence"),C.enter("mathFlowFenceSequence"),L(w)}function L(w){return w===36?(v++,C.consume(w),L):v<a?I(w):(C.exit("mathFlowFenceSequence"),ee(C,x,"whitespace")(w))}function x(w){return w===null||j(w)?(C.exit("mathFlowFence"),T(w)):I(w)}}}s(lF,"tokenizeMathFenced");function cF(e,t,n){const r=this;return i;function i(a){return a===null?t(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u)}function u(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}s(cF,"tokenizeNonLazyContinuation");function hF(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:fF,previous:dF,name:"mathText"};function r(i,u,a){let o=0,l,c;return f;function f(E){return i.enter("mathText"),i.enter("mathTextSequence"),h(E)}function h(E){return E===36?(i.consume(E),o++,h):o<2&&!n?a(E):(i.exit("mathTextSequence"),m(E))}function m(E){return E===null?a(E):E===36?(c=i.enter("mathTextSequence"),l=0,g(E)):E===32?(i.enter("space"),i.consume(E),i.exit("space"),m):j(E)?(i.enter("lineEnding"),i.consume(E),i.exit("lineEnding"),m):(i.enter("mathTextData"),p(E))}function p(E){return E===null||E===32||E===36||j(E)?(i.exit("mathTextData"),m(E)):(i.consume(E),p)}function g(E){return E===36?(i.consume(E),l++,g):l===o?(i.exit("mathTextSequence"),i.exit("mathText"),u(E)):(c.type="mathTextData",p(E))}}s(r,"tokenizeMathText")}s(hF,"mathText");function fF(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="mathTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}s(fF,"resolveMathText");function dF(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}s(dF,"previous");function pF(e){return{flow:{36:oF},text:{36:hF(e)}}}s(pF,"math");const mF={};function gF(e){const t=this,n=e||mF,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),u=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(pF(n)),u.push(uF()),a.push(aF(n))}s(gF,"remarkMath");const EF={tokenize:AF};function AF(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ee(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),u(o)}function u(o){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(o)}function a(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return j(o)?(e.consume(o),e.exit("chunkText"),u):(e.consume(o),a)}}s(AF,"initializeContent");const DF={tokenize:CF},tp={tokenize:yF};function CF(e){const t=this,n=[];let r=0,i,u,a;return o;function o(T){if(r<n.length){const I=n[r];return t.containerState=I[1],e.attempt(I[0].continuation,l,c)(T)}return c(T)}function l(T){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&C();const I=t.events.length;let v=I,_;for(;v--;)if(t.events[v][0]==="exit"&&t.events[v][1].type==="chunkFlow"){_=t.events[v][1].end;break}D(r);let L=I;for(;L<t.events.length;)t.events[L][1].end={..._},L++;return Ge(t.events,v+1,0,t.events.slice(I)),t.events.length=L,c(T)}return o(T)}function c(T){if(r===n.length){if(!i)return m(T);if(i.currentConstruct&&i.currentConstruct.concrete)return g(T);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(tp,f,h)(T)}function f(T){return i&&C(),D(r),m(T)}function h(T){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,g(T)}function m(T){return t.containerState={},e.attempt(tp,p,g)(T)}function p(T){return r++,n.push([t.currentConstruct,t.containerState]),m(T)}function g(T){if(T===null){i&&C(),D(0),e.consume(T);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:u}),E(T)}function E(T){if(T===null){A(e.exit("chunkFlow"),!0),D(0),e.consume(T);return}return j(T)?(e.consume(T),A(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(T),E)}function A(T,I){const v=t.sliceStream(T);if(I&&v.push(null),T.previous=u,u&&(u.next=T),u=T,i.defineSkip(T.start),i.write(v),t.parser.lazy[T.start.line]){let _=i.events.length;for(;_--;)if(i.events[_][1].start.offset<a&&(!i.events[_][1].end||i.events[_][1].end.offset>a))return;const L=t.events.length;let x=L,w,F;for(;x--;)if(t.events[x][0]==="exit"&&t.events[x][1].type==="chunkFlow"){if(w){F=t.events[x][1].end;break}w=!0}for(D(r),_=L;_<t.events.length;)t.events[_][1].end={...F},_++;Ge(t.events,x+1,0,t.events.slice(L)),t.events.length=_}}function D(T){let I=n.length;for(;I-- >T;){const v=n[I];t.containerState=v[1],v[0].exit.call(t,e)}n.length=T}function C(){i.write([null]),u=void 0,i=void 0,t.containerState._closeFlow=void 0}}s(CF,"initializeDocument");function yF(e,t,n){return ee(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}s(yF,"tokenizeContainer");const TF={tokenize:bF};function bF(e){const t=this,n=e.attempt(wr,r,e.attempt(this.parser.constructs.flowInitial,i,ee(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Uw,i)),"linePrefix")));return n;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEndingBlank"),e.consume(u),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),t.currentConstruct=void 0,n}}s(bF,"initializeFlow");const kF={resolveAll:rp()},SF=np("string"),_F=np("text");function np(e){return{resolveAll:rp(e==="text"?BF:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],u=n.attempt(i,a,o);return a;function a(f){return c(f)?u(f):o(f)}function o(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),l}function l(f){return c(f)?(n.exit("data"),u(f)):(n.consume(f),l)}function c(f){if(f===null)return!0;const h=i[f];let m=-1;if(h)for(;++m<h.length;){const p=h[m];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}s(np,"initializeFactory");function rp(e){return t;function t(n,r){let i=-1,u;for(;++i<=n.length;)u===void 0?n[i]&&n[i][1].type==="data"&&(u=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==u+2&&(n[u][1].end=n[i-1][1].end,n.splice(u+2,i-u-2),i=u+2),u=void 0);return e?e(n,r):n}}s(rp,"createResolver");function BF(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let u=i.length,a=-1,o=0,l;for(;u--;){const c=i[u];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)o++,a--;if(a)break;a=-1}else if(c===-2)l=!0,o++;else if(c!==-1){u++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){const c={type:n===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:u?a:r.start._bufferIndex+a,_index:r.start._index+u,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}s(BF,"resolveAllLineSuffixes");const wF={42:$e,43:$e,45:$e,48:$e,49:$e,50:$e,51:$e,52:$e,53:$e,54:$e,55:$e,56:$e,57:$e,62:q0},FF={91:jw},NF={[-2]:io,[-1]:io,32:io},xF={35:Qw,42:Wi,45:[J0,Wi],60:e6,61:J0,95:Wi,96:G0,126:G0},IF={38:j0,92:z0},vF={[-5]:uo,[-4]:uo,[-3]:uo,33:A6,38:j0,42:ro,60:[Cw,a6],91:C6,92:[Ww,z0],93:so,95:ro,96:vw},LF={null:[ro,kF]},OF={null:[42,95]},RF={null:[]};var PF=Object.freeze({__proto__:null,attentionMarkers:OF,contentInitial:FF,disable:RF,document:wF,flow:xF,flowInitial:NF,insideSpan:LF,string:IF,text:vF});function MF(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},u=[];let a=[],o=[];const l={attempt:L(v),check:L(_),consume:C,enter:T,exit:I,interrupt:L(_,{interrupt:!0})},c={code:null,containerState:{},defineSkip:E,events:[],now:g,parser:e,previous:null,sliceSerialize:m,sliceStream:p,write:h};let f=t.tokenize.call(c,l);return t.resolveAll&&u.push(t),c;function h(q){return a=Qe(a,q),A(),a[a.length-1]!==null?[]:(x(t,0),c.events=Vi(u,c.events,c),c.events)}s(h,"write");function m(q,M){return HF(p(q),M)}s(m,"sliceSerialize");function p(q){return UF(a,q)}s(p,"sliceStream");function g(){const{_bufferIndex:q,_index:M,line:Y,column:G,offset:K}=r;return{_bufferIndex:q,_index:M,line:Y,column:G,offset:K}}s(g,"now");function E(q){i[q.line]=q.column,F()}s(E,"defineSkip");function A(){let q;for(;r._index<a.length;){const M=a[r._index];if(typeof M=="string")for(q=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===q&&r._bufferIndex<M.length;)D(M.charCodeAt(r._bufferIndex));else D(M)}}s(A,"main");function D(q){f=f(q)}s(D,"go");function C(q){j(q)?(r.line++,r.column=1,r.offset+=q===-3?2:1,F()):q!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=q}s(C,"consume");function T(q,M){const Y=M||{};return Y.type=q,Y.start=g(),c.events.push(["enter",Y,c]),o.push(Y),Y}s(T,"enter");function I(q){const M=o.pop();return M.end=g(),c.events.push(["exit",M,c]),M}s(I,"exit");function v(q,M){x(q,M.from)}s(v,"onsuccessfulconstruct");function _(q,M){M.restore()}s(_,"onsuccessfulcheck");function L(q,M){return Y;function Y(G,K,te){let se,Ce,qe,S;return Array.isArray(G)?tt(G):"tokenize"in G?tt([G]):Be(G);function Be(_e){return Yn;function Yn(_t){const ln=_t!==null&&_e[_t],cn=_t!==null&&_e.null,Yr=[...Array.isArray(ln)?ln:ln?[ln]:[],...Array.isArray(cn)?cn:cn?[cn]:[]];return tt(Yr)(_t)}}function tt(_e){return se=_e,Ce=0,_e.length===0?te:B(_e[Ce])}function B(_e){return Yn;function Yn(_t){return S=w(),qe=_e,_e.partial||(c.currentConstruct=_e),_e.name&&c.parser.constructs.disable.null.includes(_e.name)?Mt():_e.tokenize.call(M?Object.assign(Object.create(c),M):c,l,nt,Mt)(_t)}}function nt(_e){return q(qe,S),K}function Mt(_e){return S.restore(),++Ce<se.length?B(se[Ce]):te}}}s(L,"constructFactory");function x(q,M){q.resolveAll&&!u.includes(q)&&u.push(q),q.resolve&&Ge(c.events,M,c.events.length-M,q.resolve(c.events.slice(M),c)),q.resolveTo&&(c.events=q.resolveTo(c.events,c))}s(x,"addResult");function w(){const q=g(),M=c.previous,Y=c.currentConstruct,G=c.events.length,K=Array.from(o);return{from:G,restore:te};function te(){r=q,c.previous=M,c.currentConstruct=Y,c.events.length=G,o=K,F()}}s(w,"store");function F(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}s(F,"accountForPotentialSkip")}s(MF,"createTokenizer");function UF(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,u=t.end._bufferIndex;let a;if(n===i)a=[e[n].slice(r,u)];else{if(a=e.slice(n,i),r>-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}u>0&&a.push(e[i].slice(0,u))}return a}s(UF,"sliceChunks");function HF(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const u=e[n];let a;if(typeof u=="string")a=u;else switch(u){case-5:{a="\r";break}case-4:{a=`
|
|
822
822
|
`;break}case-3:{a=`\r
|
|
823
|
-
`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&i)continue;a=" ";break}default:a=String.fromCharCode(u)}i=u===-2,r.push(a)}return r.join("")}s(HF,"serializeChunks");function $F(e){const r={constructs:I0([PF,...(e||{}).extensions||[]]),content:i(EF),defined:[],document:i(DF),flow:i(TF),lazy:{},string:i(SF),text:i(_F)};return r;function i(u){return a;function a(o){return MF(r,u,o)}}}s($F,"parse$1");function qF(e){for(;!V0(e););return e}s(qF,"postprocess");const ip=/[\0\t\n\r]/g;function zF(){let e=1,t="",n=!0,r;return i;function i(u,a,o){const l=[];let c,f,h,m,p;for(u=t+(typeof u=="string"?u.toString():new TextDecoder(a||void 0).decode(u)),h=0,t="",n&&(u.charCodeAt(0)===65279&&h++,n=void 0);h<u.length;){if(ip.lastIndex=h,c=ip.exec(u),m=c&&c.index!==void 0?c.index:u.length,p=u.charCodeAt(m),!c){t=u.slice(h);break}if(p===10&&h===m&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),h<m&&(l.push(u.slice(h,m)),e+=m-h),p){case 0:{l.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,l.push(-2);e++<f;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}h=m+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}s(zF,"preprocess");const sp={}.hasOwnProperty;function YF(e,t,n){return typeof t!="string"&&(n=t,t=void 0),jF(n)(qF($F(n).document().write(zF()(e,t,!0))))}s(YF,"fromMarkdown");function jF(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Wo),autolinkProtocol:w,autolinkEmail:w,atxHeading:u(jo),blockQuote:u(cn),characterEscape:w,characterReference:w,codeFenced:u(jr),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:u(jr,a),codeText:u(dm,a),codeTextData:w,data:w,codeFlowValue:w,definition:u(pm),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:u(mm),hardBreakEscape:u(Go),hardBreakTrailing:u(Go),htmlFlow:u(Vo,a),htmlFlowData:w,htmlText:u(Vo,a),htmlTextData:w,image:u(gm),label:a,link:u(Wo),listItem:u(Em),listItemValue:m,listOrdered:u(Ko,h),listUnordered:u(Ko),paragraph:u(Am),reference:B,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:u(jo),strong:u(Dm),thematicBreak:u(ym)},exit:{atxHeading:l(),atxHeadingSequence:v,autolink:l(),autolinkEmail:ln,autolinkProtocol:_t,blockQuote:l(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:Mt,characterReferenceMarkerNumeric:Mt,characterReferenceValue:_e,characterReference:jn,codeFenced:l(D),codeFencedFence:E,codeFencedFenceInfo:p,codeFencedFenceMeta:g,codeFlowValue:F,codeIndented:l(A),codeText:l(K),codeTextData:F,data:F,definition:l(),definitionDestinationString:I,definitionLabelString:C,definitionTitleString:T,emphasis:l(),hardBreakEscape:l(M),hardBreakTrailing:l(M),htmlFlow:l(j),htmlFlowData:F,htmlText:l(G),htmlTextData:F,image:l(se),label:qe,labelText:Ce,lineEnding:q,link:l(te),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:nt,resourceDestinationString:S,resourceTitleString:Be,resource:tt,setextHeading:l(x),setextHeadingLineSequence:L,setextHeadingText:_,strong:l(),thematicBreak:l()}};up(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(R){let z={type:"root",children:[]};const V={stack:[z],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:f,data:n},re=[];let ue=-1;for(;++ue<R.length;)if(R[ue][1].type==="listOrdered"||R[ue][1].type==="listUnordered")if(R[ue][0]==="enter")re.push(ue);else{const rt=re.pop();ue=i(R,rt,ue)}for(ue=-1;++ue<R.length;){const rt=t[R[ue][0]];sp.call(rt,R[ue][1].type)&&rt[R[ue][1].type].call(Object.assign({sliceSerialize:R[ue][2].sliceSerialize},V),R[ue][1])}if(V.tokenStack.length>0){const rt=V.tokenStack[V.tokenStack.length-1];(rt[1]||ap).call(V,void 0,rt[0])}for(z.position={start:Ot(R.length>0?R[0][1].start:{line:1,column:1,offset:0}),end:Ot(R.length>0?R[R.length-2][1].end:{line:1,column:1,offset:0})},ue=-1;++ue<t.transforms.length;)z=t.transforms[ue](z)||z;return z}function i(R,z,V){let re=z-1,ue=-1,rt=!1,Ut,At,Gn,Vn;for(;++re<=V;){const ze=R[re];switch(ze[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ze[0]==="enter"?ue++:ue--,Vn=void 0;break}case"lineEndingBlank":{ze[0]==="enter"&&(Ut&&!Vn&&!ue&&!Gn&&(Gn=re),Vn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Vn=void 0}if(!ue&&ze[0]==="enter"&&ze[1].type==="listItemPrefix"||ue===-1&&ze[0]==="exit"&&(ze[1].type==="listUnordered"||ze[1].type==="listOrdered")){if(Ut){let hn=re;for(At=void 0;hn--;){const Dt=R[hn];if(Dt[1].type==="lineEnding"||Dt[1].type==="lineEndingBlank"){if(Dt[0]==="exit")continue;At&&(R[At][1].type="lineEndingBlank",rt=!0),Dt[1].type="lineEnding",At=hn}else if(!(Dt[1].type==="linePrefix"||Dt[1].type==="blockQuotePrefix"||Dt[1].type==="blockQuotePrefixWhitespace"||Dt[1].type==="blockQuoteMarker"||Dt[1].type==="listItemIndent"))break}Gn&&(!At||Gn<At)&&(Ut._spread=!0),Ut.end=Object.assign({},At?R[At][1].start:ze[1].end),R.splice(At||re,0,["exit",Ut,ze[2]]),re++,V++}if(ze[1].type==="listItemPrefix"){const hn={type:"listItem",_spread:!1,start:Object.assign({},ze[1].start),end:void 0};Ut=hn,R.splice(re,0,["enter",hn,ze[2]]),re++,V++,Gn=void 0,Vn=!0}}}return R[z][1]._spread=rt,V}function u(R,z){return V;function V(re){o.call(this,R(re),re),z&&z.call(this,re)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(R,z,V){this.stack[this.stack.length-1].children.push(R),this.stack.push(R),this.tokenStack.push([z,V||void 0]),R.position={start:Ot(z.start),end:void 0}}function l(R){return z;function z(V){R&&R.call(this,V),c.call(this,V)}}function c(R,z){const V=this.stack.pop(),re=this.tokenStack.pop();if(re)re[0].type!==R.type&&(z?z.call(this,R,re[0]):(re[1]||ap).call(this,R,re[0]));else throw new Error("Cannot close `"+R.type+"` ("+yr({start:R.start,end:R.end})+"): it\u2019s not open");V.position.end=Ot(R.end)}function f(){return Xa(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function m(R){if(this.data.expectingFirstListItemValue){const z=this.stack[this.stack.length-2];z.start=Number.parseInt(this.sliceSerialize(R),10),this.data.expectingFirstListItemValue=void 0}}function p(){const R=this.resume(),z=this.stack[this.stack.length-1];z.lang=R}function g(){const R=this.resume(),z=this.stack[this.stack.length-1];z.meta=R}function E(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function D(){const R=this.resume(),z=this.stack[this.stack.length-1];z.value=R.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const R=this.resume(),z=this.stack[this.stack.length-1];z.value=R.replace(/(\r?\n|\r)$/g,"")}function C(R){const z=this.resume(),V=this.stack[this.stack.length-1];V.label=z,V.identifier=at(this.sliceSerialize(R)).toLowerCase()}function T(){const R=this.resume(),z=this.stack[this.stack.length-1];z.title=R}function I(){const R=this.resume(),z=this.stack[this.stack.length-1];z.url=R}function v(R){const z=this.stack[this.stack.length-1];if(!z.depth){const V=this.sliceSerialize(R).length;z.depth=V}}function _(){this.data.setextHeadingSlurpLineEnding=!0}function L(R){const z=this.stack[this.stack.length-1];z.depth=this.sliceSerialize(R).codePointAt(0)===61?1:2}function x(){this.data.setextHeadingSlurpLineEnding=void 0}function w(R){const V=this.stack[this.stack.length-1].children;let re=V[V.length-1];(!re||re.type!=="text")&&(re=Cm(),re.position={start:Ot(R.start),end:void 0},V.push(re)),this.stack.push(re)}function F(R){const z=this.stack.pop();z.value+=this.sliceSerialize(R),z.position.end=Ot(R.end)}function q(R){const z=this.stack[this.stack.length-1];if(this.data.atHardBreak){const V=z.children[z.children.length-1];V.position.end=Ot(R.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(z.type)&&(w.call(this,R),F.call(this,R))}function M(){this.data.atHardBreak=!0}function j(){const R=this.resume(),z=this.stack[this.stack.length-1];z.value=R}function G(){const R=this.resume(),z=this.stack[this.stack.length-1];z.value=R}function K(){const R=this.resume(),z=this.stack[this.stack.length-1];z.value=R}function te(){const R=this.stack[this.stack.length-1];if(this.data.inReference){const z=this.data.referenceType||"shortcut";R.type+="Reference",R.referenceType=z,delete R.url,delete R.title}else delete R.identifier,delete R.label;this.data.referenceType=void 0}function se(){const R=this.stack[this.stack.length-1];if(this.data.inReference){const z=this.data.referenceType||"shortcut";R.type+="Reference",R.referenceType=z,delete R.url,delete R.title}else delete R.identifier,delete R.label;this.data.referenceType=void 0}function Ce(R){const z=this.sliceSerialize(R),V=this.stack[this.stack.length-2];V.label=Y4(z),V.identifier=at(z).toLowerCase()}function qe(){const R=this.stack[this.stack.length-1],z=this.resume(),V=this.stack[this.stack.length-1];if(this.data.inReference=!0,V.type==="link"){const re=R.children;V.children=re}else V.alt=z}function S(){const R=this.resume(),z=this.stack[this.stack.length-1];z.url=R}function Be(){const R=this.resume(),z=this.stack[this.stack.length-1];z.title=R}function tt(){this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}function nt(R){const z=this.resume(),V=this.stack[this.stack.length-1];V.label=z,V.identifier=at(this.sliceSerialize(R)).toLowerCase(),this.data.referenceType="full"}function Mt(R){this.data.characterReferenceType=R.type}function _e(R){const z=this.sliceSerialize(R),V=this.data.characterReferenceType;let re;V?(re=w0(z,V==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):re=Za(z);const ue=this.stack[this.stack.length-1];ue.value+=re}function jn(R){const z=this.stack.pop();z.position.end=Ot(R.end)}function _t(R){F.call(this,R);const z=this.stack[this.stack.length-1];z.url=this.sliceSerialize(R)}function ln(R){F.call(this,R);const z=this.stack[this.stack.length-1];z.url="mailto:"+this.sliceSerialize(R)}function cn(){return{type:"blockquote",children:[]}}function jr(){return{type:"code",lang:null,meta:null,value:""}}function dm(){return{type:"inlineCode",value:""}}function pm(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function mm(){return{type:"emphasis",children:[]}}function jo(){return{type:"heading",depth:0,children:[]}}function Go(){return{type:"break"}}function Vo(){return{type:"html",value:""}}function gm(){return{type:"image",title:null,url:"",alt:null}}function Wo(){return{type:"link",title:null,url:"",children:[]}}function Ko(R){return{type:"list",ordered:R.type==="listOrdered",start:null,spread:R._spread,children:[]}}function Em(R){return{type:"listItem",spread:R._spread,checked:null,children:[]}}function Am(){return{type:"paragraph",children:[]}}function Dm(){return{type:"strong",children:[]}}function Cm(){return{type:"text",value:""}}function ym(){return{type:"thematicBreak"}}}s(jF,"compiler");function Ot(e){return{line:e.line,column:e.column,offset:e.offset}}s(Ot,"point");function up(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?up(e,r):GF(e,r)}}s(up,"configure");function GF(e,t){let n;for(n in t)if(sp.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}s(GF,"extension");function ap(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+yr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+yr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+yr({start:t.start,end:t.end})+") is still open")}s(ap,"defaultOnError");function VF(e){const t=this;t.parser=n;function n(r){return YF(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}s(n,"parser")}s(VF,"remarkParse");const lo=Symbol.for("yaml.alias"),co=Symbol.for("yaml.document"),Rt=Symbol.for("yaml.map"),op=Symbol.for("yaml.pair"),mt=Symbol.for("yaml.scalar"),xn=Symbol.for("yaml.seq"),Xe=Symbol.for("yaml.node.type"),nn=s(e=>!!e&&typeof e=="object"&&e[Xe]===lo,"isAlias"),Ir=s(e=>!!e&&typeof e=="object"&&e[Xe]===co,"isDocument"),vr=s(e=>!!e&&typeof e=="object"&&e[Xe]===Rt,"isMap"),pe=s(e=>!!e&&typeof e=="object"&&e[Xe]===op,"isPair"),he=s(e=>!!e&&typeof e=="object"&&e[Xe]===mt,"isScalar"),Lr=s(e=>!!e&&typeof e=="object"&&e[Xe]===xn,"isSeq");function me(e){if(e&&typeof e=="object")switch(e[Xe]){case Rt:case xn:return!0}return!1}s(me,"isCollection");function ge(e){if(e&&typeof e=="object")switch(e[Xe]){case lo:case Rt:case mt:case xn:return!0}return!1}s(ge,"isNode");const lp=s(e=>(he(e)||me(e))&&!!e.anchor,"hasAnchor"),rn=Symbol("break visit"),WF=Symbol("skip children"),Or=Symbol("remove node");function In(e,t){const n=KF(t);Ir(e)?vn(null,e.contents,n,Object.freeze([e]))===Or&&(e.contents=null):vn(null,e,n,Object.freeze([]))}s(In,"visit"),In.BREAK=rn,In.SKIP=WF,In.REMOVE=Or;function vn(e,t,n,r){const i=QF(e,t,n,r);if(ge(i)||pe(i))return XF(e,r,i),vn(e,i,n,r);if(typeof i!="symbol"){if(me(t)){r=Object.freeze(r.concat(t));for(let u=0;u<t.items.length;++u){const a=vn(u,t.items[u],n,r);if(typeof a=="number")u=a-1;else{if(a===rn)return rn;a===Or&&(t.items.splice(u,1),u-=1)}}}else if(pe(t)){r=Object.freeze(r.concat(t));const u=vn("key",t.key,n,r);if(u===rn)return rn;u===Or&&(t.key=null);const a=vn("value",t.value,n,r);if(a===rn)return rn;a===Or&&(t.value=null)}}return i}s(vn,"visit_");function KF(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}s(KF,"initVisitor");function QF(e,t,n,r){if(typeof n=="function")return n(e,t,r);if(vr(t))return n.Map?.(e,t,r);if(Lr(t))return n.Seq?.(e,t,r);if(pe(t))return n.Pair?.(e,t,r);if(he(t))return n.Scalar?.(e,t,r);if(nn(t))return n.Alias?.(e,t,r)}s(QF,"callVisitor");function XF(e,t,n){const r=t[t.length-1];if(me(r))r.items[e]=n;else if(pe(r))e==="key"?r.key=n:r.value=n;else if(Ir(r))r.contents=n;else{const i=nn(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}s(XF,"replaceNode");const JF={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},ZF=s(e=>e.replace(/[!,[\]{}]/g,t=>JF[t]),"escapeTagName");class Le{static{s(this,"Directives")}constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Le.defaultYaml,t),this.tags=Object.assign({},Le.defaultTags,n)}clone(){const t=new Le(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new Le(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Le.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Le.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:Le.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Le.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[u,a]=r;return this.tags[u]=a,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[u]=r;if(u==="1.1"||u==="1.2")return this.yaml.version=u,!0;{const a=/^\d+\.\d+$/.test(u);return n(6,`Unsupported YAML version ${u}`,a),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const a=t.slice(2,-1);return a==="!"||a==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),a)}const[,r,i]=t.match(/^(.*!)([^!]*)$/s);i||n(`The ${t} tag has no suffix`);const u=this.tags[r];if(u)try{return u+decodeURIComponent(i)}catch(a){return n(String(a)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+ZF(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let i;if(t&&r.length>0&&ge(t.contents)){const u={};In(t.contents,(a,o)=>{ge(o)&&o.tag&&(u[o.tag]=!0)}),i=Object.keys(u)}else i=[];for(const[u,a]of r)u==="!!"&&a==="tag:yaml.org,2002:"||(!t||i.some(o=>o.startsWith(a)))&&n.push(`%TAG ${u} ${a}`);return n.join(`
|
|
823
|
+
`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&i)continue;a=" ";break}default:a=String.fromCharCode(u)}i=u===-2,r.push(a)}return r.join("")}s(HF,"serializeChunks");function $F(e){const r={constructs:I0([PF,...(e||{}).extensions||[]]),content:i(EF),defined:[],document:i(DF),flow:i(TF),lazy:{},string:i(SF),text:i(_F)};return r;function i(u){return a;function a(o){return MF(r,u,o)}}}s($F,"parse$1");function qF(e){for(;!V0(e););return e}s(qF,"postprocess");const ip=/[\0\t\n\r]/g;function zF(){let e=1,t="",n=!0,r;return i;function i(u,a,o){const l=[];let c,f,h,m,p;for(u=t+(typeof u=="string"?u.toString():new TextDecoder(a||void 0).decode(u)),h=0,t="",n&&(u.charCodeAt(0)===65279&&h++,n=void 0);h<u.length;){if(ip.lastIndex=h,c=ip.exec(u),m=c&&c.index!==void 0?c.index:u.length,p=u.charCodeAt(m),!c){t=u.slice(h);break}if(p===10&&h===m&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),h<m&&(l.push(u.slice(h,m)),e+=m-h),p){case 0:{l.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,l.push(-2);e++<f;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}h=m+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}s(zF,"preprocess");const sp={}.hasOwnProperty;function jF(e,t,n){return typeof t!="string"&&(n=t,t=void 0),YF(n)(qF($F(n).document().write(zF()(e,t,!0))))}s(jF,"fromMarkdown");function YF(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Wo),autolinkProtocol:w,autolinkEmail:w,atxHeading:u(Yo),blockQuote:u(cn),characterEscape:w,characterReference:w,codeFenced:u(Yr),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:u(Yr,a),codeText:u(dm,a),codeTextData:w,data:w,codeFlowValue:w,definition:u(pm),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:u(mm),hardBreakEscape:u(Go),hardBreakTrailing:u(Go),htmlFlow:u(Vo,a),htmlFlowData:w,htmlText:u(Vo,a),htmlTextData:w,image:u(gm),label:a,link:u(Wo),listItem:u(Em),listItemValue:m,listOrdered:u(Ko,h),listUnordered:u(Ko),paragraph:u(Am),reference:B,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:u(Yo),strong:u(Dm),thematicBreak:u(ym)},exit:{atxHeading:l(),atxHeadingSequence:v,autolink:l(),autolinkEmail:ln,autolinkProtocol:_t,blockQuote:l(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:Mt,characterReferenceMarkerNumeric:Mt,characterReferenceValue:_e,characterReference:Yn,codeFenced:l(A),codeFencedFence:E,codeFencedFenceInfo:p,codeFencedFenceMeta:g,codeFlowValue:F,codeIndented:l(D),codeText:l(K),codeTextData:F,data:F,definition:l(),definitionDestinationString:I,definitionLabelString:C,definitionTitleString:T,emphasis:l(),hardBreakEscape:l(M),hardBreakTrailing:l(M),htmlFlow:l(Y),htmlFlowData:F,htmlText:l(G),htmlTextData:F,image:l(se),label:qe,labelText:Ce,lineEnding:q,link:l(te),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:nt,resourceDestinationString:S,resourceTitleString:Be,resource:tt,setextHeading:l(x),setextHeadingLineSequence:L,setextHeadingText:_,strong:l(),thematicBreak:l()}};up(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(R){let z={type:"root",children:[]};const V={stack:[z],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:f,data:n},re=[];let ue=-1;for(;++ue<R.length;)if(R[ue][1].type==="listOrdered"||R[ue][1].type==="listUnordered")if(R[ue][0]==="enter")re.push(ue);else{const rt=re.pop();ue=i(R,rt,ue)}for(ue=-1;++ue<R.length;){const rt=t[R[ue][0]];sp.call(rt,R[ue][1].type)&&rt[R[ue][1].type].call(Object.assign({sliceSerialize:R[ue][2].sliceSerialize},V),R[ue][1])}if(V.tokenStack.length>0){const rt=V.tokenStack[V.tokenStack.length-1];(rt[1]||ap).call(V,void 0,rt[0])}for(z.position={start:Ot(R.length>0?R[0][1].start:{line:1,column:1,offset:0}),end:Ot(R.length>0?R[R.length-2][1].end:{line:1,column:1,offset:0})},ue=-1;++ue<t.transforms.length;)z=t.transforms[ue](z)||z;return z}function i(R,z,V){let re=z-1,ue=-1,rt=!1,Ut,At,Gn,Vn;for(;++re<=V;){const ze=R[re];switch(ze[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ze[0]==="enter"?ue++:ue--,Vn=void 0;break}case"lineEndingBlank":{ze[0]==="enter"&&(Ut&&!Vn&&!ue&&!Gn&&(Gn=re),Vn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Vn=void 0}if(!ue&&ze[0]==="enter"&&ze[1].type==="listItemPrefix"||ue===-1&&ze[0]==="exit"&&(ze[1].type==="listUnordered"||ze[1].type==="listOrdered")){if(Ut){let hn=re;for(At=void 0;hn--;){const Dt=R[hn];if(Dt[1].type==="lineEnding"||Dt[1].type==="lineEndingBlank"){if(Dt[0]==="exit")continue;At&&(R[At][1].type="lineEndingBlank",rt=!0),Dt[1].type="lineEnding",At=hn}else if(!(Dt[1].type==="linePrefix"||Dt[1].type==="blockQuotePrefix"||Dt[1].type==="blockQuotePrefixWhitespace"||Dt[1].type==="blockQuoteMarker"||Dt[1].type==="listItemIndent"))break}Gn&&(!At||Gn<At)&&(Ut._spread=!0),Ut.end=Object.assign({},At?R[At][1].start:ze[1].end),R.splice(At||re,0,["exit",Ut,ze[2]]),re++,V++}if(ze[1].type==="listItemPrefix"){const hn={type:"listItem",_spread:!1,start:Object.assign({},ze[1].start),end:void 0};Ut=hn,R.splice(re,0,["enter",hn,ze[2]]),re++,V++,Gn=void 0,Vn=!0}}}return R[z][1]._spread=rt,V}function u(R,z){return V;function V(re){o.call(this,R(re),re),z&&z.call(this,re)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(R,z,V){this.stack[this.stack.length-1].children.push(R),this.stack.push(R),this.tokenStack.push([z,V||void 0]),R.position={start:Ot(z.start),end:void 0}}function l(R){return z;function z(V){R&&R.call(this,V),c.call(this,V)}}function c(R,z){const V=this.stack.pop(),re=this.tokenStack.pop();if(re)re[0].type!==R.type&&(z?z.call(this,R,re[0]):(re[1]||ap).call(this,R,re[0]));else throw new Error("Cannot close `"+R.type+"` ("+yr({start:R.start,end:R.end})+"): it\u2019s not open");V.position.end=Ot(R.end)}function f(){return Xa(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function m(R){if(this.data.expectingFirstListItemValue){const z=this.stack[this.stack.length-2];z.start=Number.parseInt(this.sliceSerialize(R),10),this.data.expectingFirstListItemValue=void 0}}function p(){const R=this.resume(),z=this.stack[this.stack.length-1];z.lang=R}function g(){const R=this.resume(),z=this.stack[this.stack.length-1];z.meta=R}function E(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function A(){const R=this.resume(),z=this.stack[this.stack.length-1];z.value=R.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function D(){const R=this.resume(),z=this.stack[this.stack.length-1];z.value=R.replace(/(\r?\n|\r)$/g,"")}function C(R){const z=this.resume(),V=this.stack[this.stack.length-1];V.label=z,V.identifier=at(this.sliceSerialize(R)).toLowerCase()}function T(){const R=this.resume(),z=this.stack[this.stack.length-1];z.title=R}function I(){const R=this.resume(),z=this.stack[this.stack.length-1];z.url=R}function v(R){const z=this.stack[this.stack.length-1];if(!z.depth){const V=this.sliceSerialize(R).length;z.depth=V}}function _(){this.data.setextHeadingSlurpLineEnding=!0}function L(R){const z=this.stack[this.stack.length-1];z.depth=this.sliceSerialize(R).codePointAt(0)===61?1:2}function x(){this.data.setextHeadingSlurpLineEnding=void 0}function w(R){const V=this.stack[this.stack.length-1].children;let re=V[V.length-1];(!re||re.type!=="text")&&(re=Cm(),re.position={start:Ot(R.start),end:void 0},V.push(re)),this.stack.push(re)}function F(R){const z=this.stack.pop();z.value+=this.sliceSerialize(R),z.position.end=Ot(R.end)}function q(R){const z=this.stack[this.stack.length-1];if(this.data.atHardBreak){const V=z.children[z.children.length-1];V.position.end=Ot(R.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(z.type)&&(w.call(this,R),F.call(this,R))}function M(){this.data.atHardBreak=!0}function Y(){const R=this.resume(),z=this.stack[this.stack.length-1];z.value=R}function G(){const R=this.resume(),z=this.stack[this.stack.length-1];z.value=R}function K(){const R=this.resume(),z=this.stack[this.stack.length-1];z.value=R}function te(){const R=this.stack[this.stack.length-1];if(this.data.inReference){const z=this.data.referenceType||"shortcut";R.type+="Reference",R.referenceType=z,delete R.url,delete R.title}else delete R.identifier,delete R.label;this.data.referenceType=void 0}function se(){const R=this.stack[this.stack.length-1];if(this.data.inReference){const z=this.data.referenceType||"shortcut";R.type+="Reference",R.referenceType=z,delete R.url,delete R.title}else delete R.identifier,delete R.label;this.data.referenceType=void 0}function Ce(R){const z=this.sliceSerialize(R),V=this.stack[this.stack.length-2];V.label=j4(z),V.identifier=at(z).toLowerCase()}function qe(){const R=this.stack[this.stack.length-1],z=this.resume(),V=this.stack[this.stack.length-1];if(this.data.inReference=!0,V.type==="link"){const re=R.children;V.children=re}else V.alt=z}function S(){const R=this.resume(),z=this.stack[this.stack.length-1];z.url=R}function Be(){const R=this.resume(),z=this.stack[this.stack.length-1];z.title=R}function tt(){this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}function nt(R){const z=this.resume(),V=this.stack[this.stack.length-1];V.label=z,V.identifier=at(this.sliceSerialize(R)).toLowerCase(),this.data.referenceType="full"}function Mt(R){this.data.characterReferenceType=R.type}function _e(R){const z=this.sliceSerialize(R),V=this.data.characterReferenceType;let re;V?(re=w0(z,V==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):re=Za(z);const ue=this.stack[this.stack.length-1];ue.value+=re}function Yn(R){const z=this.stack.pop();z.position.end=Ot(R.end)}function _t(R){F.call(this,R);const z=this.stack[this.stack.length-1];z.url=this.sliceSerialize(R)}function ln(R){F.call(this,R);const z=this.stack[this.stack.length-1];z.url="mailto:"+this.sliceSerialize(R)}function cn(){return{type:"blockquote",children:[]}}function Yr(){return{type:"code",lang:null,meta:null,value:""}}function dm(){return{type:"inlineCode",value:""}}function pm(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function mm(){return{type:"emphasis",children:[]}}function Yo(){return{type:"heading",depth:0,children:[]}}function Go(){return{type:"break"}}function Vo(){return{type:"html",value:""}}function gm(){return{type:"image",title:null,url:"",alt:null}}function Wo(){return{type:"link",title:null,url:"",children:[]}}function Ko(R){return{type:"list",ordered:R.type==="listOrdered",start:null,spread:R._spread,children:[]}}function Em(R){return{type:"listItem",spread:R._spread,checked:null,children:[]}}function Am(){return{type:"paragraph",children:[]}}function Dm(){return{type:"strong",children:[]}}function Cm(){return{type:"text",value:""}}function ym(){return{type:"thematicBreak"}}}s(YF,"compiler");function Ot(e){return{line:e.line,column:e.column,offset:e.offset}}s(Ot,"point");function up(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?up(e,r):GF(e,r)}}s(up,"configure");function GF(e,t){let n;for(n in t)if(sp.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}s(GF,"extension");function ap(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+yr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+yr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+yr({start:t.start,end:t.end})+") is still open")}s(ap,"defaultOnError");function VF(e){const t=this;t.parser=n;function n(r){return jF(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}s(n,"parser")}s(VF,"remarkParse");const lo=Symbol.for("yaml.alias"),co=Symbol.for("yaml.document"),Rt=Symbol.for("yaml.map"),op=Symbol.for("yaml.pair"),mt=Symbol.for("yaml.scalar"),xn=Symbol.for("yaml.seq"),Xe=Symbol.for("yaml.node.type"),nn=s(e=>!!e&&typeof e=="object"&&e[Xe]===lo,"isAlias"),Ir=s(e=>!!e&&typeof e=="object"&&e[Xe]===co,"isDocument"),vr=s(e=>!!e&&typeof e=="object"&&e[Xe]===Rt,"isMap"),pe=s(e=>!!e&&typeof e=="object"&&e[Xe]===op,"isPair"),he=s(e=>!!e&&typeof e=="object"&&e[Xe]===mt,"isScalar"),Lr=s(e=>!!e&&typeof e=="object"&&e[Xe]===xn,"isSeq");function me(e){if(e&&typeof e=="object")switch(e[Xe]){case Rt:case xn:return!0}return!1}s(me,"isCollection");function ge(e){if(e&&typeof e=="object")switch(e[Xe]){case lo:case Rt:case mt:case xn:return!0}return!1}s(ge,"isNode");const lp=s(e=>(he(e)||me(e))&&!!e.anchor,"hasAnchor"),rn=Symbol("break visit"),WF=Symbol("skip children"),Or=Symbol("remove node");function In(e,t){const n=KF(t);Ir(e)?vn(null,e.contents,n,Object.freeze([e]))===Or&&(e.contents=null):vn(null,e,n,Object.freeze([]))}s(In,"visit"),In.BREAK=rn,In.SKIP=WF,In.REMOVE=Or;function vn(e,t,n,r){const i=QF(e,t,n,r);if(ge(i)||pe(i))return XF(e,r,i),vn(e,i,n,r);if(typeof i!="symbol"){if(me(t)){r=Object.freeze(r.concat(t));for(let u=0;u<t.items.length;++u){const a=vn(u,t.items[u],n,r);if(typeof a=="number")u=a-1;else{if(a===rn)return rn;a===Or&&(t.items.splice(u,1),u-=1)}}}else if(pe(t)){r=Object.freeze(r.concat(t));const u=vn("key",t.key,n,r);if(u===rn)return rn;u===Or&&(t.key=null);const a=vn("value",t.value,n,r);if(a===rn)return rn;a===Or&&(t.value=null)}}return i}s(vn,"visit_");function KF(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}s(KF,"initVisitor");function QF(e,t,n,r){if(typeof n=="function")return n(e,t,r);if(vr(t))return n.Map?.(e,t,r);if(Lr(t))return n.Seq?.(e,t,r);if(pe(t))return n.Pair?.(e,t,r);if(he(t))return n.Scalar?.(e,t,r);if(nn(t))return n.Alias?.(e,t,r)}s(QF,"callVisitor");function XF(e,t,n){const r=t[t.length-1];if(me(r))r.items[e]=n;else if(pe(r))e==="key"?r.key=n:r.value=n;else if(Ir(r))r.contents=n;else{const i=nn(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}s(XF,"replaceNode");const JF={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},ZF=s(e=>e.replace(/[!,[\]{}]/g,t=>JF[t]),"escapeTagName");class Le{static{s(this,"Directives")}constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Le.defaultYaml,t),this.tags=Object.assign({},Le.defaultTags,n)}clone(){const t=new Le(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new Le(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Le.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Le.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:Le.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Le.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[u,a]=r;return this.tags[u]=a,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[u]=r;if(u==="1.1"||u==="1.2")return this.yaml.version=u,!0;{const a=/^\d+\.\d+$/.test(u);return n(6,`Unsupported YAML version ${u}`,a),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const a=t.slice(2,-1);return a==="!"||a==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),a)}const[,r,i]=t.match(/^(.*!)([^!]*)$/s);i||n(`The ${t} tag has no suffix`);const u=this.tags[r];if(u)try{return u+decodeURIComponent(i)}catch(a){return n(String(a)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+ZF(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let i;if(t&&r.length>0&&ge(t.contents)){const u={};In(t.contents,(a,o)=>{ge(o)&&o.tag&&(u[o.tag]=!0)}),i=Object.keys(u)}else i=[];for(const[u,a]of r)u==="!!"&&a==="tag:yaml.org,2002:"||(!t||i.some(o=>o.startsWith(a)))&&n.push(`%TAG ${u} ${a}`);return n.join(`
|
|
824
824
|
`)}}Le.defaultYaml={explicit:!1,version:"1.2"},Le.defaultTags={"!!":"tag:yaml.org,2002:"};function cp(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}s(cp,"anchorIsValid");function hp(e){const t=new Set;return In(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}s(hp,"anchorNames");function fp(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}s(fp,"findNewAnchor");function eN(e,t){const n=[],r=new Map;let i=null;return{onAnchor:s(u=>{n.push(u),i??(i=hp(e));const a=fp(t,i);return i.add(a),a},"onAnchor"),setAnchors:s(()=>{for(const u of n){const a=r.get(u);if(typeof a=="object"&&a.anchor&&(he(a.node)||me(a.node)))a.node.anchor=a.anchor;else{const o=new Error("Failed to resolve repeated object (this should not happen)");throw o.source=u,o}}},"setAnchors"),sourceObjects:r}}s(eN,"createNodeAnchors");function Ln(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let i=0,u=r.length;i<u;++i){const a=r[i],o=Ln(e,r,String(i),a);o===void 0?delete r[i]:o!==a&&(r[i]=o)}else if(r instanceof Map)for(const i of Array.from(r.keys())){const u=r.get(i),a=Ln(e,r,i,u);a===void 0?r.delete(i):a!==u&&r.set(i,a)}else if(r instanceof Set)for(const i of Array.from(r)){const u=Ln(e,r,i,i);u===void 0?r.delete(i):u!==i&&(r.delete(i),r.add(u))}else for(const[i,u]of Object.entries(r)){const a=Ln(e,r,i,u);a===void 0?delete r[i]:a!==u&&(r[i]=a)}return e.call(t,n,r)}s(Ln,"applyReviver");function Je(e,t,n){if(Array.isArray(e))return e.map((r,i)=>Je(r,String(i),n));if(e&&typeof e.toJSON=="function"){if(!n||!lp(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=u=>{r.res=u,delete n.onCreate};const i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e=="bigint"&&!n?.keep?Number(e):e}s(Je,"toJS");class ho{static{s(this,"NodeBase")}constructor(t){Object.defineProperty(this,Xe,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:u}={}){if(!Ir(t))throw new TypeError("A document argument is required");const a={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},o=Je(this,"",a);if(typeof i=="function")for(const{count:l,res:c}of a.anchors.values())i(c,l);return typeof u=="function"?Ln(u,{"":o},"",o):o}}class fo extends ho{static{s(this,"Alias")}constructor(t){super(lo),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,n){let r;n?.aliasResolveCache?r=n.aliasResolveCache:(r=[],In(t,{Node:s((u,a)=>{(nn(a)||lp(a))&&r.push(a)},"Node")}),n&&(n.aliasResolveCache=r));let i;for(const u of r){if(u===this)break;u.anchor===this.source&&(i=u)}return i}toJSON(t,n){if(!n)return{source:this.source};const{anchors:r,doc:i,maxAliasCount:u}=n,a=this.resolve(i,n);if(!a){const l=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(l)}let o=r.get(a);if(o||(Je(a,null,n),o=r.get(a)),!o||o.res===void 0){const l="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(l)}if(u>=0&&(o.count+=1,o.aliasCount===0&&(o.aliasCount=Qi(i,a,r)),o.count*o.aliasCount>u)){const l="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(l)}return o.res}toString(t,n,r){const i=`*${this.source}`;if(t){if(cp(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(u)}if(t.implicitKey)return`${i} `}return i}}function Qi(e,t,n){if(nn(t)){const r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(me(t)){let r=0;for(const i of t.items){const u=Qi(e,i,n);u>r&&(r=u)}return r}else if(pe(t)){const r=Qi(e,t.key,n),i=Qi(e,t.value,n);return Math.max(r,i)}return 1}s(Qi,"getAliasCount");const dp=s(e=>!e||typeof e!="function"&&typeof e!="object","isScalarValue");class W extends ho{static{s(this,"Scalar")}constructor(t){super(mt),this.value=t}toJSON(t,n){return n?.keep?this.value:Je(this.value,t,n)}toString(){return String(this.value)}}W.BLOCK_FOLDED="BLOCK_FOLDED",W.BLOCK_LITERAL="BLOCK_LITERAL",W.PLAIN="PLAIN",W.QUOTE_DOUBLE="QUOTE_DOUBLE",W.QUOTE_SINGLE="QUOTE_SINGLE";const tN="tag:yaml.org,2002:";function nN(e,t,n){if(t){const r=n.filter(u=>u.tag===t),i=r.find(u=>!u.format)??r[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find(r=>r.identify?.(e)&&!r.format)}s(nN,"findTagObject");function Rr(e,t,n){if(Ir(e)&&(e=e.contents),ge(e))return e;if(pe(e)){const h=n.schema[Rt].createNode?.(n.schema,null,n);return h.items.push(e),h}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:i,onTagObj:u,schema:a,sourceObjects:o}=n;let l;if(r&&e&&typeof e=="object"){if(l=o.get(e),l)return l.anchor??(l.anchor=i(e)),new fo(l.anchor);l={anchor:null,node:null},o.set(e,l)}t?.startsWith("!!")&&(t=tN+t.slice(2));let c=nN(e,t,a.tags);if(!c){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const h=new W(e);return l&&(l.node=h),h}c=e instanceof Map?a[Rt]:Symbol.iterator in Object(e)?a[xn]:a[Rt]}u&&(u(c),delete n.onTagObj);const f=c?.createNode?c.createNode(n.schema,e,n):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(n.schema,e,n):new W(e);return t?f.tag=t:c.default||(f.tag=c.tag),l&&(l.node=f),f}s(Rr,"createNode");function Xi(e,t,n){let r=n;for(let i=t.length-1;i>=0;--i){const u=t[i];if(typeof u=="number"&&Number.isInteger(u)&&u>=0){const a=[];a[u]=r,r=a}else r=new Map([[u,r]])}return Rr(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:s(()=>{throw new Error("This should not happen, please report a bug.")},"onAnchor"),schema:e,sourceObjects:new Map})}s(Xi,"collectionFromPath");const Pr=s(e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done,"isEmptyPath");class pp extends ho{static{s(this,"Collection")}constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>ge(r)||pe(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(Pr(t))this.add(n);else{const[r,...i]=t,u=this.get(r,!0);if(me(u))u.addIn(i,n);else if(u===void 0&&this.schema)this.set(r,Xi(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const i=this.get(n,!0);if(me(i))return i.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...i]=t,u=this.get(r,!0);return i.length===0?!n&&he(u)?u.value:u:me(u)?u.getIn(i,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!pe(n))return!1;const r=n.value;return r==null||t&&he(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){const[n,...r]=t;if(r.length===0)return this.has(n);const i=this.get(n,!0);return me(i)?i.hasIn(r):!1}setIn(t,n){const[r,...i]=t;if(i.length===0)this.set(r,n);else{const u=this.get(r,!0);if(me(u))u.setIn(i,n);else if(u===void 0&&this.schema)this.set(r,Xi(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}}const rN=s(e=>e.replace(/^(?!$)(?: $)?/gm,"#"),"stringifyComment");function kt(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}s(kt,"indentComment");const sn=s((e,t,n)=>e.endsWith(`
|
|
825
825
|
`)?kt(n,t):n.includes(`
|
|
826
826
|
`)?`
|
|
827
|
-
`+kt(n,t):(e.endsWith(" ")?"":" ")+n,"lineComment"),mp="flow",po="block",Ji="quoted";function Zi(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:u=20,onFold:a,onOverflow:o}={}){if(!i||i<0)return e;i<u&&(u=0);const l=Math.max(1+u,1+i-t.length);if(e.length<=l)return e;const c=[],f={};let h=i-t.length;typeof r=="number"&&(r>i-Math.max(2,u)?c.push(0):h=i-r);let m,p,g=!1,E=-1,
|
|
827
|
+
`+kt(n,t):(e.endsWith(" ")?"":" ")+n,"lineComment"),mp="flow",po="block",Ji="quoted";function Zi(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:u=20,onFold:a,onOverflow:o}={}){if(!i||i<0)return e;i<u&&(u=0);const l=Math.max(1+u,1+i-t.length);if(e.length<=l)return e;const c=[],f={};let h=i-t.length;typeof r=="number"&&(r>i-Math.max(2,u)?c.push(0):h=i-r);let m,p,g=!1,E=-1,A=-1,D=-1;n===po&&(E=gp(e,E,t.length),E!==-1&&(h=E+l));for(let T;T=e[E+=1];){if(n===Ji&&T==="\\"){switch(A=E,e[E+1]){case"x":E+=3;break;case"u":E+=5;break;case"U":E+=9;break;default:E+=1}D=E}if(T===`
|
|
828
828
|
`)n===po&&(E=gp(e,E,t.length)),h=E+t.length+l,m=void 0;else{if(T===" "&&p&&p!==" "&&p!==`
|
|
829
829
|
`&&p!==" "){const I=e[E+1];I&&I!==" "&&I!==`
|
|
830
|
-
`&&I!==" "&&(m=E)}if(E>=h)if(m)c.push(m),h=m+l,m=void 0;else if(n===Ji){for(;p===" "||p===" ";)p=T,T=e[E+=1],g=!0;const I=E>
|
|
830
|
+
`&&I!==" "&&(m=E)}if(E>=h)if(m)c.push(m),h=m+l,m=void 0;else if(n===Ji){for(;p===" "||p===" ";)p=T,T=e[E+=1],g=!0;const I=E>D+1?E-2:A-1;if(f[I])return e;c.push(I),f[I]=!0,h=I+l,m=void 0}else g=!0}p=T}if(g&&o&&o(),c.length===0)return e;a&&a();let C=e.slice(0,c[0]);for(let T=0;T<c.length;++T){const I=c[T],v=c[T+1]||e.length;I===0?C=`
|
|
831
831
|
${t}${e.slice(0,v)}`:(n===Ji&&f[I]&&(C+=`${e[I]}\\`),C+=`
|
|
832
832
|
${t}${e.slice(I+1,v)}`)}return C}s(Zi,"foldFlowLines");function gp(e,t,n){let r=t,i=t+1,u=e[i];for(;u===" "||u===" ";)if(t<i+n)u=e[++t];else{do u=e[++t];while(u&&u!==`
|
|
833
833
|
`);r=t,i=t+1,u=e[i]}return r}s(gp,"consumeMoreIndentedLines");const es=s((e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),"getFoldOptions"),ts=s(e=>/^(%|---|\.\.\.)/m.test(e),"containsDocumentMarker");function iN(e,t,n){if(!t||t<0)return!1;const r=t-n,i=e.length;if(i<=r)return!1;for(let u=0,a=0;u<i;++u)if(e[u]===`
|
|
@@ -844,8 +844,8 @@ ${n}`)+"'";return t.implicitKey?r:Zi(r,n,mp,es(t,!1))}s(mo,"singleQuotedString")
|
|
|
844
844
|
`;let h,m;for(m=n.length;m>0;--m){const v=n[m-1];if(v!==`
|
|
845
845
|
`&&v!==" "&&v!==" ")break}let p=n.substring(m);const g=p.indexOf(`
|
|
846
846
|
`);g===-1?h="-":n===p||g!==p.length-1?(h="+",u&&u()):h="",p&&(n=n.slice(0,-p.length),p[p.length-1]===`
|
|
847
|
-
`&&(p=p.slice(0,-1)),p=p.replace(go,`$&${c}`));let E=!1,D
|
|
848
|
-
`)A
|
|
847
|
+
`&&(p=p.slice(0,-1)),p=p.replace(go,`$&${c}`));let E=!1,A,D=-1;for(A=0;A<n.length;++A){const v=n[A];if(v===" ")E=!0;else if(v===`
|
|
848
|
+
`)D=A;else break}let C=n.substring(0,D<A?D+1:A);C&&(n=n.substring(C.length),C=C.replace(/\n+/g,`$&${c}`));let I=(E?c?"2":"1":"")+h;if(e&&(I+=" "+o(e.replace(/ ?[\r\n]+/g," ")),i&&i()),!f){const v=n.replace(/\n+/g,`
|
|
849
849
|
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);let _=!1;const L=es(r,!0);a!=="folded"&&t!==W.BLOCK_FOLDED&&(L.onOverflow=()=>{_=!0});const x=Zi(`${C}${v}${p}`,c,po,L);if(!_)return`>${I}
|
|
850
850
|
${c}${x}`}return n=n.replace(/\n+/g,`$&${c}`),`|${I}
|
|
851
851
|
${c}${C}${n}${p}`}s(ns,"blockString");function sN(e,t,n,r){const{type:i,value:u}=e,{actualString:a,implicitKey:o,indent:l,indentStep:c,inFlow:f}=t;if(o&&u.includes(`
|
|
@@ -853,8 +853,8 @@ ${c}${C}${n}${p}`}s(ns,"blockString");function sN(e,t,n,r){const{type:i,value:u}
|
|
|
853
853
|
`)?On(u,t):ns(e,t,n,r);if(!o&&!f&&i!==W.PLAIN&&u.includes(`
|
|
854
854
|
`))return ns(e,t,n,r);if(ts(u)){if(l==="")return t.forceBlockIndent=!0,ns(e,t,n,r);if(o&&l===c)return On(u,t)}const h=u.replace(/\n+/g,`$&
|
|
855
855
|
${l}`);if(a){const m=s(E=>E.default&&E.tag!=="tag:yaml.org,2002:str"&&E.test?.test(h),"test"),{compat:p,tags:g}=t.doc.schema;if(g.some(m)||p?.some(m))return On(u,t)}return o?h:Zi(h,l,mp,es(t,!1))}s(sN,"plainString");function Eo(e,t,n,r){const{implicitKey:i,inFlow:u}=t,a=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:o}=e;o!==W.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(a.value)&&(o=W.QUOTE_DOUBLE);const l=s(f=>{switch(f){case W.BLOCK_FOLDED:case W.BLOCK_LITERAL:return i||u?On(a.value,t):ns(a,t,n,r);case W.QUOTE_DOUBLE:return Mr(a.value,t);case W.QUOTE_SINGLE:return mo(a.value,t);case W.PLAIN:return sN(a,t,n,r);default:return null}},"_stringify");let c=l(o);if(c===null){const{defaultKeyType:f,defaultStringType:h}=t.options,m=i&&f||h;if(c=l(m),c===null)throw new Error(`Unsupported default string type ${m}`)}return c}s(Eo,"stringifyString");function Ep(e,t){const n=Object.assign({blockQuote:!0,commentString:rN,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:r,options:n}}s(Ep,"createStringifyContext");function uN(e,t){if(t.tag){const i=e.filter(u=>u.tag===t.tag);if(i.length>0)return i.find(u=>u.format===t.format)??i[0]}let n,r;if(he(t)){r=t.value;let i=e.filter(u=>u.identify?.(r));if(i.length>1){const u=i.filter(a=>a.test);u.length>0&&(i=u)}n=i.find(u=>u.format===t.format)??i.find(u=>!u.format)}else r=t,n=e.find(i=>i.nodeClass&&r instanceof i.nodeClass);if(!n){const i=r?.constructor?.name??(r===null?"null":typeof r);throw new Error(`Tag not resolved for ${i} value`)}return n}s(uN,"getTagObject");function aN(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const i=[],u=(he(e)||me(e))&&e.anchor;u&&cp(u)&&(n.add(u),i.push(`&${u}`));const a=e.tag??(t.default?null:t.tag);return a&&i.push(r.directives.tagString(a)),i.join(" ")}s(aN,"stringifyProps");function Rn(e,t,n,r){if(pe(e))return e.toString(t,n,r);if(nn(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i;const u=ge(e)?e:t.doc.createNode(e,{onTagObj:s(l=>i=l,"onTagObj")});i??(i=uN(t.doc.schema.tags,u));const a=aN(u,i,t);a.length>0&&(t.indentAtStart=(t.indentAtStart??0)+a.length+1);const o=typeof i.stringify=="function"?i.stringify(u,t,n,r):he(u)?Eo(u,t,n,r):u.toString(t,n,r);return a?he(u)||o[0]==="{"||o[0]==="["?`${a} ${o}`:`${a}
|
|
856
|
-
${t.indent}${o}`:o}s(Rn,"stringify$1");function oN({key:e,value:t},n,r,i){const{allNullValues:u,doc:a,indent:o,indentStep:l,options:{commentString:c,indentSeq:f,simpleKeys:h}}=n;let m=ge(e)&&e.comment||null;if(h){if(m)throw new Error("With simple keys, key nodes cannot have comments");if(me(e)||!ge(e)&&typeof e=="object"){const L="With simple keys, collection cannot be used as a key value";throw new Error(L)}}let p=!h&&(!e||m&&t==null&&!n.inFlow||me(e)||(he(e)?e.type===W.BLOCK_FOLDED||e.type===W.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!p&&(h||!u),indent:o+l});let g=!1,E=!1,
|
|
857
|
-
${o}:`):(
|
|
856
|
+
${t.indent}${o}`:o}s(Rn,"stringify$1");function oN({key:e,value:t},n,r,i){const{allNullValues:u,doc:a,indent:o,indentStep:l,options:{commentString:c,indentSeq:f,simpleKeys:h}}=n;let m=ge(e)&&e.comment||null;if(h){if(m)throw new Error("With simple keys, key nodes cannot have comments");if(me(e)||!ge(e)&&typeof e=="object"){const L="With simple keys, collection cannot be used as a key value";throw new Error(L)}}let p=!h&&(!e||m&&t==null&&!n.inFlow||me(e)||(he(e)?e.type===W.BLOCK_FOLDED||e.type===W.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!p&&(h||!u),indent:o+l});let g=!1,E=!1,A=Rn(e,n,()=>g=!0,()=>E=!0);if(!p&&!n.inFlow&&A.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");p=!0}if(n.inFlow){if(u||t==null)return g&&r&&r(),A===""?"?":p?`? ${A}`:A}else if(u&&!h||t==null&&p)return A=`? ${A}`,m&&!g?A+=sn(A,n.indent,c(m)):E&&i&&i(),A;g&&(m=null),p?(m&&(A+=sn(A,n.indent,c(m))),A=`? ${A}
|
|
857
|
+
${o}:`):(A=`${A}:`,m&&(A+=sn(A,n.indent,c(m))));let D,C,T;ge(t)?(D=!!t.spaceBefore,C=t.commentBefore,T=t.comment):(D=!1,C=null,T=null,t&&typeof t=="object"&&(t=a.createNode(t))),n.implicitKey=!1,!p&&!m&&he(t)&&(n.indentAtStart=A.length+1),E=!1,!f&&l.length>=2&&!n.inFlow&&!p&&Lr(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let I=!1;const v=Rn(t,n,()=>I=!0,()=>E=!0);let _=" ";if(m||D||C){if(_=D?`
|
|
858
858
|
`:"",C){const L=c(C);_+=`
|
|
859
859
|
${kt(L,n.indent)}`}v===""&&!n.inFlow?_===`
|
|
860
860
|
`&&(_=`
|
|
@@ -863,51 +863,51 @@ ${kt(L,n.indent)}`}v===""&&!n.inFlow?_===`
|
|
|
863
863
|
${n.indent}`}else if(!p&&me(t)){const L=v[0],x=v.indexOf(`
|
|
864
864
|
`),w=x!==-1,F=n.inFlow??t.flow??t.items.length===0;if(w||!F){let q=!1;if(w&&(L==="&"||L==="!")){let M=v.indexOf(" ");L==="&"&&M!==-1&&M<x&&v[M+1]==="!"&&(M=v.indexOf(" ",M+1)),(M===-1||x<M)&&(q=!0)}q||(_=`
|
|
865
865
|
${n.indent}`)}}else(v===""||v[0]===`
|
|
866
|
-
`)&&(_="");return
|
|
866
|
+
`)&&(_="");return A+=_+v,n.inFlow?I&&r&&r():T&&!I?A+=sn(A,n.indent,c(T)):E&&i&&i(),A}s(oN,"stringifyPair");function Ap(e,t){(e==="debug"||e==="warn")&&console.warn(t)}s(Ap,"warn");const rs="<<",St={identify:s(e=>e===rs||typeof e=="symbol"&&e.description===rs,"identify"),default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:s(()=>Object.assign(new W(Symbol(rs)),{addToJSMap:Dp}),"resolve"),stringify:s(()=>rs,"stringify")},lN=s((e,t)=>(St.identify(t)||he(t)&&(!t.type||t.type===W.PLAIN)&&St.identify(t.value))&&e?.doc.schema.tags.some(n=>n.tag===St.tag&&n.default),"isMergeKey");function Dp(e,t,n){if(n=e&&nn(n)?n.resolve(e.doc):n,Lr(n))for(const r of n.items)Ao(e,t,r);else if(Array.isArray(n))for(const r of n)Ao(e,t,r);else Ao(e,t,n)}s(Dp,"addMergeToJSMap");function Ao(e,t,n){const r=e&&nn(n)?n.resolve(e.doc):n;if(!vr(r))throw new Error("Merge sources must be maps or map aliases");const i=r.toJSON(null,e,Map);for(const[u,a]of i)t instanceof Map?t.has(u)||t.set(u,a):t instanceof Set?t.add(u):Object.prototype.hasOwnProperty.call(t,u)||Object.defineProperty(t,u,{value:a,writable:!0,enumerable:!0,configurable:!0});return t}s(Ao,"mergeValue");function Cp(e,t,{key:n,value:r}){if(ge(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(lN(e,n))Dp(e,t,r);else{const i=Je(n,"",e);if(t instanceof Map)t.set(i,Je(r,i,e));else if(t instanceof Set)t.add(i);else{const u=cN(n,i,e),a=Je(r,u,e);u in t?Object.defineProperty(t,u,{value:a,writable:!0,enumerable:!0,configurable:!0}):t[u]=a}}return t}s(Cp,"addPairToJSMap");function cN(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(ge(e)&&n?.doc){const r=Ep(n.doc,{});r.anchors=new Set;for(const u of n.anchors.keys())r.anchors.add(u.anchor);r.inFlow=!0,r.inStringifyKey=!0;const i=e.toString(r);if(!n.mapKeyWarned){let u=JSON.stringify(i);u.length>40&&(u=u.substring(0,36)+'..."'),Ap(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${u}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return i}return JSON.stringify(t)}s(cN,"stringifyKey");function Do(e,t,n){const r=Rr(e,void 0,n),i=Rr(t,void 0,n);return new ve(r,i)}s(Do,"createPair");class ve{static{s(this,"Pair")}constructor(t,n=null){Object.defineProperty(this,Xe,{value:op}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return ge(n)&&(n=n.clone(t)),ge(r)&&(r=r.clone(t)),new ve(n,r)}toJSON(t,n){const r=n?.mapAsMap?new Map:{};return Cp(n,r,this)}toString(t,n,r){return t?.doc?oN(this,t,n,r):JSON.stringify(this)}}function yp(e,t,n){return(t.inFlow??e.flow?fN:hN)(e,t,n)}s(yp,"stringifyCollection");function hN({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:u,onChompKeep:a,onComment:o}){const{indent:l,options:{commentString:c}}=n,f=Object.assign({},n,{indent:u,type:null});let h=!1;const m=[];for(let g=0;g<t.length;++g){const E=t[g];let A=null;if(ge(E))!h&&E.spaceBefore&&m.push(""),is(n,m,E.commentBefore,h),E.comment&&(A=E.comment);else if(pe(E)){const C=ge(E.key)?E.key:null;C&&(!h&&C.spaceBefore&&m.push(""),is(n,m,C.commentBefore,h))}h=!1;let D=Rn(E,f,()=>A=null,()=>h=!0);A&&(D+=sn(D,u,c(A))),h&&A&&(h=!1),m.push(r+D)}let p;if(m.length===0)p=i.start+i.end;else{p=m[0];for(let g=1;g<m.length;++g){const E=m[g];p+=E?`
|
|
867
867
|
${l}${E}`:`
|
|
868
868
|
`}}return e?(p+=`
|
|
869
|
-
`+kt(c(e),l),o&&o()):h&&a&&a(),p}s(hN,"stringifyBlockCollection");function fN({items:e},t,{flowChars:n,itemIndent:r}){const{indent:i,indentStep:u,flowCollectionPadding:a,options:{commentString:o}}=t;r+=u;const l=Object.assign({},t,{indent:r,inFlow:!0,type:null});let c=!1,f=0;const h=[];for(let g=0;g<e.length;++g){const E=e[g];let
|
|
870
|
-
`))&&(c=!0),h.push(
|
|
869
|
+
`+kt(c(e),l),o&&o()):h&&a&&a(),p}s(hN,"stringifyBlockCollection");function fN({items:e},t,{flowChars:n,itemIndent:r}){const{indent:i,indentStep:u,flowCollectionPadding:a,options:{commentString:o}}=t;r+=u;const l=Object.assign({},t,{indent:r,inFlow:!0,type:null});let c=!1,f=0;const h=[];for(let g=0;g<e.length;++g){const E=e[g];let A=null;if(ge(E))E.spaceBefore&&h.push(""),is(t,h,E.commentBefore,!1),E.comment&&(A=E.comment);else if(pe(E)){const C=ge(E.key)?E.key:null;C&&(C.spaceBefore&&h.push(""),is(t,h,C.commentBefore,!1),C.comment&&(c=!0));const T=ge(E.value)?E.value:null;T?(T.comment&&(A=T.comment),T.commentBefore&&(c=!0)):E.value==null&&C?.comment&&(A=C.comment)}A&&(c=!0);let D=Rn(E,l,()=>A=null);g<e.length-1&&(D+=","),A&&(D+=sn(D,r,o(A))),!c&&(h.length>f||D.includes(`
|
|
870
|
+
`))&&(c=!0),h.push(D),f=h.length}const{start:m,end:p}=n;if(h.length===0)return m+p;if(!c){const g=h.reduce((E,A)=>E+A.length+2,2);c=t.options.lineWidth>0&&g>t.options.lineWidth}if(c){let g=m;for(const E of h)g+=E?`
|
|
871
871
|
${u}${i}${E}`:`
|
|
872
872
|
`;return`${g}
|
|
873
873
|
${i}${p}`}else return`${m}${a}${h.join(" ")}${a}${p}`}s(fN,"stringifyFlowCollection");function is({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){const u=kt(t(r),e);n.push(u.trimStart())}}s(is,"addCommentBefore");function un(e,t){const n=he(t)?t.value:t;for(const r of e)if(pe(r)&&(r.key===t||r.key===n||he(r.key)&&r.key.value===n))return r}s(un,"findPair");class Ze extends pp{static{s(this,"YAMLMap")}static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(Rt,t),this.items=[]}static from(t,n,r){const{keepUndefined:i,replacer:u}=r,a=new this(t),o=s((l,c)=>{if(typeof u=="function")c=u.call(n,l,c);else if(Array.isArray(u)&&!u.includes(l))return;(c!==void 0||i)&&a.items.push(Do(l,c,r))},"add");if(n instanceof Map)for(const[l,c]of n)o(l,c);else if(n&&typeof n=="object")for(const l of Object.keys(n))o(l,n[l]);return typeof t.sortMapEntries=="function"&&a.items.sort(t.sortMapEntries),a}add(t,n){let r;pe(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new ve(t,t?.value):r=new ve(t.key,t.value);const i=un(this.items,r.key),u=this.schema?.sortMapEntries;if(i){if(!n)throw new Error(`Key ${r.key} already set`);he(i.value)&&dp(r.value)?i.value.value=r.value:i.value=r.value}else if(u){const a=this.items.findIndex(o=>u(r,o)<0);a===-1?this.items.push(r):this.items.splice(a,0,r)}else this.items.push(r)}delete(t){const n=un(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const i=un(this.items,t)?.value;return(!n&&he(i)?i.value:i)??void 0}has(t){return!!un(this.items,t)}set(t,n){this.add(new ve(t,n),!0)}toJSON(t,n,r){const i=r?new r:n?.mapAsMap?new Map:{};n?.onCreate&&n.onCreate(i);for(const u of this.items)Cp(n,i,u);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(const i of this.items)if(!pe(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),yp(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const Pn={collection:"map",default:!0,nodeClass:Ze,tag:"tag:yaml.org,2002:map",resolve(e,t){return vr(e)||t("Expected a mapping for this tag"),e},createNode:s((e,t,n)=>Ze.from(e,t,n),"createNode")};class an extends pp{static{s(this,"YAMLSeq")}static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(xn,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=ss(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=ss(t);if(typeof r!="number")return;const i=this.items[r];return!n&&he(i)?i.value:i}has(t){const n=ss(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=ss(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const i=this.items[r];he(i)&&dp(n)?i.value=n:this.items[r]=n}toJSON(t,n){const r=[];n?.onCreate&&n.onCreate(r);let i=0;for(const u of this.items)r.push(Je(u,String(i++),n));return r}toString(t,n,r){return t?yp(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:r,onComment:n}):JSON.stringify(this)}static from(t,n,r){const{replacer:i}=r,u=new this(t);if(n&&Symbol.iterator in Object(n)){let a=0;for(let o of n){if(typeof i=="function"){const l=n instanceof Set?o:String(a++);o=i.call(n,l,o)}u.items.push(Rr(o,void 0,r))}}return u}}function ss(e){let t=he(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}s(ss,"asItemIndex");const Mn={collection:"seq",default:!0,nodeClass:an,tag:"tag:yaml.org,2002:seq",resolve(e,t){return Lr(e)||t("Expected a sequence for this tag"),e},createNode:s((e,t,n)=>an.from(e,t,n),"createNode")},us={identify:s(e=>typeof e=="string","identify"),default:!0,tag:"tag:yaml.org,2002:str",resolve:s(e=>e,"resolve"),stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),Eo(e,t,n,r)}},as={identify:s(e=>e==null,"identify"),createNode:s(()=>new W(null),"createNode"),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:s(()=>new W(null),"resolve"),stringify:s(({source:e},t)=>typeof e=="string"&&as.test.test(e)?e:t.options.nullStr,"stringify")},Co={identify:s(e=>typeof e=="boolean","identify"),default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:s(e=>new W(e[0]==="t"||e[0]==="T"),"resolve"),stringify({source:e,value:t},n){if(e&&Co.test.test(e)){const r=e[0]==="t"||e[0]==="T";if(t===r)return e}return t?n.options.trueStr:n.options.falseStr}};function ot({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);const i=typeof r=="number"?r:Number(r);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let u=JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(u)){let a=u.indexOf(".");a<0&&(a=u.length,u+=".");let o=t-(u.length-a-1);for(;o-- >0;)u+="0"}return u}s(ot,"stringifyNumber");const Tp={identify:s(e=>typeof e=="number","identify"),default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:s(e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,"resolve"),stringify:ot},bp={identify:s(e=>typeof e=="number","identify"),default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:s(e=>parseFloat(e),"resolve"),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():ot(e)}},kp={identify:s(e=>typeof e=="number","identify"),default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new W(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:ot},os=s(e=>typeof e=="bigint"||Number.isInteger(e),"intIdentify$2"),yo=s((e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n),"intResolve$1");function Sp(e,t,n){const{value:r}=e;return os(r)&&r>=0?n+r.toString(t):ot(e)}s(Sp,"intStringify$1");const _p={identify:s(e=>os(e)&&e>=0,"identify"),default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:s((e,t,n)=>yo(e,2,8,n),"resolve"),stringify:s(e=>Sp(e,8,"0o"),"stringify")},Bp={identify:os,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:s((e,t,n)=>yo(e,0,10,n),"resolve"),stringify:ot},wp={identify:s(e=>os(e)&&e>=0,"identify"),default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:s((e,t,n)=>yo(e,2,16,n),"resolve"),stringify:s(e=>Sp(e,16,"0x"),"stringify")},dN=[Pn,Mn,us,as,Co,_p,Bp,wp,Tp,bp,kp];function Fp(e){return typeof e=="bigint"||Number.isInteger(e)}s(Fp,"intIdentify$1");const ls=s(({value:e})=>JSON.stringify(e),"stringifyJSON"),pN=[{identify:s(e=>typeof e=="string","identify"),default:!0,tag:"tag:yaml.org,2002:str",resolve:s(e=>e,"resolve"),stringify:ls},{identify:s(e=>e==null,"identify"),createNode:s(()=>new W(null),"createNode"),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:s(()=>null,"resolve"),stringify:ls},{identify:s(e=>typeof e=="boolean","identify"),default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:s(e=>e==="true","resolve"),stringify:ls},{identify:Fp,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:s((e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),"resolve"),stringify:s(({value:e})=>Fp(e)?e.toString():JSON.stringify(e),"stringify")},{identify:s(e=>typeof e=="number","identify"),default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:s(e=>parseFloat(e),"resolve"),stringify:ls}],mN={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},gN=[Pn,Mn].concat(pN,mN),To={identify:s(e=>e instanceof Uint8Array,"identify"),default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(n.length);for(let i=0;i<n.length;++i)r[i]=n.charCodeAt(i);return r}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,i,u){if(!n)return"";const a=n;let o;if(typeof btoa=="function"){let l="";for(let c=0;c<a.length;++c)l+=String.fromCharCode(a[c]);o=btoa(l)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=W.BLOCK_LITERAL),t!==W.QUOTE_DOUBLE){const l=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),c=Math.ceil(o.length/l),f=new Array(c);for(let h=0,m=0;h<c;++h,m+=l)f[h]=o.substr(m,l);o=f.join(t===W.BLOCK_LITERAL?`
|
|
874
874
|
`:" ")}return Eo({comment:e,type:t,value:o},r,i,u)}};function Np(e,t){if(Lr(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!pe(r)){if(vr(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const i=r.items[0]||new ve(new W(null));if(r.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${r.commentBefore}
|
|
875
875
|
${i.key.commentBefore}`:r.commentBefore),r.comment){const u=i.value??i.key;u.comment=u.comment?`${r.comment}
|
|
876
|
-
${u.comment}`:r.comment}r=i}e.items[n]=pe(r)?r:new ve(r)}}else t("Expected a sequence for this tag");return e}s(Np,"resolvePairs");function xp(e,t,n){const{replacer:r}=n,i=new an(e);i.tag="tag:yaml.org,2002:pairs";let u=0;if(t&&Symbol.iterator in Object(t))for(let a of t){typeof r=="function"&&(a=r.call(t,String(u++),a));let o,l;if(Array.isArray(a))if(a.length===2)o=a[0],l=a[1];else throw new TypeError(`Expected [key, value] tuple: ${a}`);else if(a&&a instanceof Object){const c=Object.keys(a);if(c.length===1)o=c[0],l=a[o];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else o=a;i.items.push(Do(o,l,n))}return i}s(xp,"createPairs");const bo={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Np,createNode:xp};class zn extends an{static{s(this,"YAMLOMap")}constructor(){super(),this.add=Ze.prototype.add.bind(this),this.delete=Ze.prototype.delete.bind(this),this.get=Ze.prototype.get.bind(this),this.has=Ze.prototype.has.bind(this),this.set=Ze.prototype.set.bind(this),this.tag=zn.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n?.onCreate&&n.onCreate(r);for(const i of this.items){let u,a;if(pe(i)?(u=Je(i.key,"",n),a=Je(i.value,u,n)):u=Je(i,"",n),r.has(u))throw new Error("Ordered maps must not include duplicate keys");r.set(u,a)}return r}static from(t,n,r){const i=xp(t,n,r),u=new this;return u.items=i.items,u}}zn.tag="tag:yaml.org,2002:omap";const ko={collection:"seq",identify:s(e=>e instanceof Map,"identify"),nodeClass:zn,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Np(e,t),r=[];for(const{key:i}of n.items)he(i)&&(r.includes(i.value)?t(`Ordered maps must not include duplicate keys: ${i.value}`):r.push(i.value));return Object.assign(new zn,n)},createNode:s((e,t,n)=>zn.from(e,t,n),"createNode")};function Ip({value:e,source:t},n){return t&&(e?vp:Lp).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}s(Ip,"boolStringify");const vp={identify:s(e=>e===!0,"identify"),default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:s(()=>new W(!0),"resolve"),stringify:Ip},Lp={identify:s(e=>e===!1,"identify"),default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:s(()=>new W(!1),"resolve"),stringify:Ip},EN={identify:s(e=>typeof e=="number","identify"),default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:s(e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,"resolve"),stringify:ot},AN={identify:s(e=>typeof e=="number","identify"),default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:s(e=>parseFloat(e.replace(/_/g,"")),"resolve"),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():ot(e)}},DN={identify:s(e=>typeof e=="number","identify"),default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new W(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:ot},Ur=s(e=>typeof e=="bigint"||Number.isInteger(e),"intIdentify");function cs(e,t,n,{intAsBigInt:r}){const i=e[0];if((i==="-"||i==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const a=BigInt(e);return i==="-"?BigInt(-1)*a:a}const u=parseInt(e,n);return i==="-"?-1*u:u}s(cs,"intResolve");function So(e,t,n){const{value:r}=e;if(Ur(r)){const i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return ot(e)}s(So,"intStringify");const CN={identify:Ur,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:s((e,t,n)=>cs(e,2,2,n),"resolve"),stringify:s(e=>So(e,2,"0b"),"stringify")},yN={identify:Ur,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:s((e,t,n)=>cs(e,1,8,n),"resolve"),stringify:s(e=>So(e,8,"0"),"stringify")},TN={identify:Ur,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:s((e,t,n)=>cs(e,0,10,n),"resolve"),stringify:ot},bN={identify:Ur,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:s((e,t,n)=>cs(e,2,16,n),"resolve"),stringify:s(e=>So(e,16,"0x"),"stringify")};class Yn extends Ze{static{s(this,"YAMLSet")}constructor(t){super(t),this.tag=Yn.tag}add(t){let n;pe(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new ve(t.key,null):n=new ve(t,null),un(this.items,n.key)||this.items.push(n)}get(t,n){const r=un(this.items,t);return!n&&pe(r)?he(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=un(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new ve(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:i}=r,u=new this(t);if(n&&Symbol.iterator in Object(n))for(let a of n)typeof i=="function"&&(a=i.call(n,a,a)),u.items.push(Do(a,null,r));return u}}Yn.tag="tag:yaml.org,2002:set";const _o={collection:"map",identify:s(e=>e instanceof Set,"identify"),nodeClass:Yn,default:!1,tag:"tag:yaml.org,2002:set",createNode:s((e,t,n)=>Yn.from(e,t,n),"createNode"),resolve(e,t){if(vr(e)){if(e.hasAllNullValues(!0))return Object.assign(new Yn,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Bo(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,i=s(a=>t?BigInt(a):Number(a),"num"),u=r.replace(/_/g,"").split(":").reduce((a,o)=>a*i(60)+i(o),i(0));return n==="-"?i(-1)*u:u}s(Bo,"parseSexagesimal");function Op(e){let{value:t}=e,n=s(a=>a,"num");if(typeof t=="bigint")n=s(a=>BigInt(a),"num");else if(isNaN(t)||!isFinite(t))return ot(e);let r="";t<0&&(r="-",t*=n(-1));const i=n(60),u=[t%i];return t<60?u.unshift(0):(t=(t-u[0])/i,u.unshift(t%i),t>=60&&(t=(t-u[0])/i,u.unshift(t))),r+u.map(a=>String(a).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}s(Op,"stringifySexagesimal");const Rp={identify:s(e=>typeof e=="bigint"||Number.isInteger(e),"identify"),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:s((e,t,{intAsBigInt:n})=>Bo(e,n),"resolve"),stringify:Op},Pp={identify:s(e=>typeof e=="number","identify"),default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:s(e=>Bo(e,!1),"resolve"),stringify:Op},hs={identify:s(e=>e instanceof Date,"identify"),default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(hs.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,i,u,a,o]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(n,r-1,i,u||0,a||0,o||0,l);const f=t[8];if(f&&f!=="Z"){let h=Bo(f,!1);Math.abs(h)<30&&(h*=60),c-=6e4*h}return new Date(c)},stringify:s(({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??"","stringify")},Mp=[Pn,Mn,us,as,vp,Lp,CN,yN,TN,bN,EN,AN,DN,To,St,ko,bo,_o,Rp,Pp,hs],Up=new Map([["core",dN],["failsafe",[Pn,Mn,us]],["json",gN],["yaml11",Mp],["yaml-1.1",Mp]]),Hp={binary:To,bool:Co,float:kp,floatExp:bp,floatNaN:Tp,floatTime:Pp,int:Bp,intHex:wp,intOct:_p,intTime:Rp,map:Pn,merge:St,null:as,omap:ko,pairs:bo,seq:Mn,set:_o,timestamp:hs},kN={"tag:yaml.org,2002:binary":To,"tag:yaml.org,2002:merge":St,"tag:yaml.org,2002:omap":ko,"tag:yaml.org,2002:pairs":bo,"tag:yaml.org,2002:set":_o,"tag:yaml.org,2002:timestamp":hs};function wo(e,t,n){const r=Up.get(t);if(r&&!e)return n&&!r.includes(St)?r.concat(St):r.slice();let i=r;if(!i)if(Array.isArray(e))i=[];else{const u=Array.from(Up.keys()).filter(a=>a!=="yaml11").map(a=>JSON.stringify(a)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${u} or define customTags array`)}if(Array.isArray(e))for(const u of e)i=i.concat(u);else typeof e=="function"&&(i=e(i.slice()));return n&&(i=i.concat(St)),i.reduce((u,a)=>{const o=typeof a=="string"?Hp[a]:a;if(!o){const l=JSON.stringify(a),c=Object.keys(Hp).map(f=>JSON.stringify(f)).join(", ");throw new Error(`Unknown custom tag ${l}; use one of ${c}`)}return u.includes(o)||u.push(o),u},[])}s(wo,"getTags");const SN=s((e,t)=>e.key<t.key?-1:e.key>t.key?1:0,"sortMapEntriesByKey");class Yo{static{s(this,"Schema")}constructor({compat:t,customTags:n,merge:r,resolveKnownTags:i,schema:u,sortMapEntries:a,toStringDefaults:o}){this.compat=Array.isArray(t)?wo(t,"compat"):t?wo(null,t):null,this.name=typeof u=="string"&&u||"core",this.knownTags=i?kN:{},this.tags=wo(n,this.name,r),this.toStringOptions=o??null,Object.defineProperty(this,Rt,{value:Pn}),Object.defineProperty(this,mt,{value:us}),Object.defineProperty(this,xn,{value:Mn}),this.sortMapEntries=typeof a=="function"?a:a===!0?SN:null}clone(){const t=Object.create(Yo.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function _N(e,t){const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const l=e.directives.toString(e);l?(n.push(l),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const i=Ep(e,t),{commentString:u}=i.options;if(e.commentBefore){n.length!==1&&n.unshift("");const l=u(e.commentBefore);n.unshift(kt(l,""))}let a=!1,o=null;if(e.contents){if(ge(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const f=u(e.contents.commentBefore);n.push(kt(f,""))}i.forceBlockIndent=!!e.comment,o=e.contents.comment}const l=o?void 0:()=>a=!0;let c=Rn(e.contents,i,()=>o=null,l);o&&(c+=sn(c,"",u(o))),(c[0]==="|"||c[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${c}`:n.push(c)}else n.push(Rn(e.contents,i));if(e.directives?.docEnd)if(e.comment){const l=u(e.comment);l.includes(`
|
|
876
|
+
${u.comment}`:r.comment}r=i}e.items[n]=pe(r)?r:new ve(r)}}else t("Expected a sequence for this tag");return e}s(Np,"resolvePairs");function xp(e,t,n){const{replacer:r}=n,i=new an(e);i.tag="tag:yaml.org,2002:pairs";let u=0;if(t&&Symbol.iterator in Object(t))for(let a of t){typeof r=="function"&&(a=r.call(t,String(u++),a));let o,l;if(Array.isArray(a))if(a.length===2)o=a[0],l=a[1];else throw new TypeError(`Expected [key, value] tuple: ${a}`);else if(a&&a instanceof Object){const c=Object.keys(a);if(c.length===1)o=c[0],l=a[o];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else o=a;i.items.push(Do(o,l,n))}return i}s(xp,"createPairs");const bo={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Np,createNode:xp};class zn extends an{static{s(this,"YAMLOMap")}constructor(){super(),this.add=Ze.prototype.add.bind(this),this.delete=Ze.prototype.delete.bind(this),this.get=Ze.prototype.get.bind(this),this.has=Ze.prototype.has.bind(this),this.set=Ze.prototype.set.bind(this),this.tag=zn.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n?.onCreate&&n.onCreate(r);for(const i of this.items){let u,a;if(pe(i)?(u=Je(i.key,"",n),a=Je(i.value,u,n)):u=Je(i,"",n),r.has(u))throw new Error("Ordered maps must not include duplicate keys");r.set(u,a)}return r}static from(t,n,r){const i=xp(t,n,r),u=new this;return u.items=i.items,u}}zn.tag="tag:yaml.org,2002:omap";const ko={collection:"seq",identify:s(e=>e instanceof Map,"identify"),nodeClass:zn,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Np(e,t),r=[];for(const{key:i}of n.items)he(i)&&(r.includes(i.value)?t(`Ordered maps must not include duplicate keys: ${i.value}`):r.push(i.value));return Object.assign(new zn,n)},createNode:s((e,t,n)=>zn.from(e,t,n),"createNode")};function Ip({value:e,source:t},n){return t&&(e?vp:Lp).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}s(Ip,"boolStringify");const vp={identify:s(e=>e===!0,"identify"),default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:s(()=>new W(!0),"resolve"),stringify:Ip},Lp={identify:s(e=>e===!1,"identify"),default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:s(()=>new W(!1),"resolve"),stringify:Ip},EN={identify:s(e=>typeof e=="number","identify"),default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:s(e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,"resolve"),stringify:ot},AN={identify:s(e=>typeof e=="number","identify"),default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:s(e=>parseFloat(e.replace(/_/g,"")),"resolve"),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():ot(e)}},DN={identify:s(e=>typeof e=="number","identify"),default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new W(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:ot},Ur=s(e=>typeof e=="bigint"||Number.isInteger(e),"intIdentify");function cs(e,t,n,{intAsBigInt:r}){const i=e[0];if((i==="-"||i==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const a=BigInt(e);return i==="-"?BigInt(-1)*a:a}const u=parseInt(e,n);return i==="-"?-1*u:u}s(cs,"intResolve");function So(e,t,n){const{value:r}=e;if(Ur(r)){const i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return ot(e)}s(So,"intStringify");const CN={identify:Ur,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:s((e,t,n)=>cs(e,2,2,n),"resolve"),stringify:s(e=>So(e,2,"0b"),"stringify")},yN={identify:Ur,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:s((e,t,n)=>cs(e,1,8,n),"resolve"),stringify:s(e=>So(e,8,"0"),"stringify")},TN={identify:Ur,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:s((e,t,n)=>cs(e,0,10,n),"resolve"),stringify:ot},bN={identify:Ur,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:s((e,t,n)=>cs(e,2,16,n),"resolve"),stringify:s(e=>So(e,16,"0x"),"stringify")};class jn extends Ze{static{s(this,"YAMLSet")}constructor(t){super(t),this.tag=jn.tag}add(t){let n;pe(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new ve(t.key,null):n=new ve(t,null),un(this.items,n.key)||this.items.push(n)}get(t,n){const r=un(this.items,t);return!n&&pe(r)?he(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=un(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new ve(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:i}=r,u=new this(t);if(n&&Symbol.iterator in Object(n))for(let a of n)typeof i=="function"&&(a=i.call(n,a,a)),u.items.push(Do(a,null,r));return u}}jn.tag="tag:yaml.org,2002:set";const _o={collection:"map",identify:s(e=>e instanceof Set,"identify"),nodeClass:jn,default:!1,tag:"tag:yaml.org,2002:set",createNode:s((e,t,n)=>jn.from(e,t,n),"createNode"),resolve(e,t){if(vr(e)){if(e.hasAllNullValues(!0))return Object.assign(new jn,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Bo(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,i=s(a=>t?BigInt(a):Number(a),"num"),u=r.replace(/_/g,"").split(":").reduce((a,o)=>a*i(60)+i(o),i(0));return n==="-"?i(-1)*u:u}s(Bo,"parseSexagesimal");function Op(e){let{value:t}=e,n=s(a=>a,"num");if(typeof t=="bigint")n=s(a=>BigInt(a),"num");else if(isNaN(t)||!isFinite(t))return ot(e);let r="";t<0&&(r="-",t*=n(-1));const i=n(60),u=[t%i];return t<60?u.unshift(0):(t=(t-u[0])/i,u.unshift(t%i),t>=60&&(t=(t-u[0])/i,u.unshift(t))),r+u.map(a=>String(a).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}s(Op,"stringifySexagesimal");const Rp={identify:s(e=>typeof e=="bigint"||Number.isInteger(e),"identify"),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:s((e,t,{intAsBigInt:n})=>Bo(e,n),"resolve"),stringify:Op},Pp={identify:s(e=>typeof e=="number","identify"),default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:s(e=>Bo(e,!1),"resolve"),stringify:Op},hs={identify:s(e=>e instanceof Date,"identify"),default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(hs.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,i,u,a,o]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(n,r-1,i,u||0,a||0,o||0,l);const f=t[8];if(f&&f!=="Z"){let h=Bo(f,!1);Math.abs(h)<30&&(h*=60),c-=6e4*h}return new Date(c)},stringify:s(({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??"","stringify")},Mp=[Pn,Mn,us,as,vp,Lp,CN,yN,TN,bN,EN,AN,DN,To,St,ko,bo,_o,Rp,Pp,hs],Up=new Map([["core",dN],["failsafe",[Pn,Mn,us]],["json",gN],["yaml11",Mp],["yaml-1.1",Mp]]),Hp={binary:To,bool:Co,float:kp,floatExp:bp,floatNaN:Tp,floatTime:Pp,int:Bp,intHex:wp,intOct:_p,intTime:Rp,map:Pn,merge:St,null:as,omap:ko,pairs:bo,seq:Mn,set:_o,timestamp:hs},kN={"tag:yaml.org,2002:binary":To,"tag:yaml.org,2002:merge":St,"tag:yaml.org,2002:omap":ko,"tag:yaml.org,2002:pairs":bo,"tag:yaml.org,2002:set":_o,"tag:yaml.org,2002:timestamp":hs};function wo(e,t,n){const r=Up.get(t);if(r&&!e)return n&&!r.includes(St)?r.concat(St):r.slice();let i=r;if(!i)if(Array.isArray(e))i=[];else{const u=Array.from(Up.keys()).filter(a=>a!=="yaml11").map(a=>JSON.stringify(a)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${u} or define customTags array`)}if(Array.isArray(e))for(const u of e)i=i.concat(u);else typeof e=="function"&&(i=e(i.slice()));return n&&(i=i.concat(St)),i.reduce((u,a)=>{const o=typeof a=="string"?Hp[a]:a;if(!o){const l=JSON.stringify(a),c=Object.keys(Hp).map(f=>JSON.stringify(f)).join(", ");throw new Error(`Unknown custom tag ${l}; use one of ${c}`)}return u.includes(o)||u.push(o),u},[])}s(wo,"getTags");const SN=s((e,t)=>e.key<t.key?-1:e.key>t.key?1:0,"sortMapEntriesByKey");class jo{static{s(this,"Schema")}constructor({compat:t,customTags:n,merge:r,resolveKnownTags:i,schema:u,sortMapEntries:a,toStringDefaults:o}){this.compat=Array.isArray(t)?wo(t,"compat"):t?wo(null,t):null,this.name=typeof u=="string"&&u||"core",this.knownTags=i?kN:{},this.tags=wo(n,this.name,r),this.toStringOptions=o??null,Object.defineProperty(this,Rt,{value:Pn}),Object.defineProperty(this,mt,{value:us}),Object.defineProperty(this,xn,{value:Mn}),this.sortMapEntries=typeof a=="function"?a:a===!0?SN:null}clone(){const t=Object.create(jo.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}function _N(e,t){const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const l=e.directives.toString(e);l?(n.push(l),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const i=Ep(e,t),{commentString:u}=i.options;if(e.commentBefore){n.length!==1&&n.unshift("");const l=u(e.commentBefore);n.unshift(kt(l,""))}let a=!1,o=null;if(e.contents){if(ge(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const f=u(e.contents.commentBefore);n.push(kt(f,""))}i.forceBlockIndent=!!e.comment,o=e.contents.comment}const l=o?void 0:()=>a=!0;let c=Rn(e.contents,i,()=>o=null,l);o&&(c+=sn(c,"",u(o))),(c[0]==="|"||c[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${c}`:n.push(c)}else n.push(Rn(e.contents,i));if(e.directives?.docEnd)if(e.comment){const l=u(e.comment);l.includes(`
|
|
877
877
|
`)?(n.push("..."),n.push(kt(l,""))):n.push(`... ${l}`)}else n.push("...");else{let l=e.comment;l&&a&&(l=l.replace(/^\n+/,"")),l&&((!a||o)&&n[n.length-1]!==""&&n.push(""),n.push(kt(u(l),"")))}return n.join(`
|
|
878
878
|
`)+`
|
|
879
|
-
`}s(_N,"stringifyDocument");class
|
|
879
|
+
`}s(_N,"stringifyDocument");class jr{static{s(this,"Document")}constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Xe,{value:co});let i=null;typeof n=="function"||Array.isArray(n)?i=n:r===void 0&&n&&(r=n,n=void 0);const u=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},r);this.options=u;let{version:a}=u;r?._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new Le({version:a}),this.setSchema(a,r),this.contents=t===void 0?null:this.createNode(t,i,r)}clone(){const t=Object.create(jr.prototype,{[Xe]:{value:co}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=ge(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Un(this.contents)&&this.contents.add(t)}addIn(t,n){Un(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=hp(this);t.anchor=!n||r.has(n)?fp(n||"a",r):n}return new fo(t.anchor)}createNode(t,n,r){let i;if(typeof n=="function")t=n.call({"":t},"",t),i=n;else if(Array.isArray(n)){const A=s(C=>typeof C=="number"||C instanceof String||C instanceof Number,"keyToStr"),D=n.filter(A).map(String);D.length>0&&(n=n.concat(D)),i=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:u,anchorPrefix:a,flow:o,keepUndefined:l,onTagObj:c,tag:f}=r??{},{onAnchor:h,setAnchors:m,sourceObjects:p}=eN(this,a||"a"),g={aliasDuplicateObjects:u??!0,keepUndefined:l??!1,onAnchor:h,onTagObj:c,replacer:i,schema:this.schema,sourceObjects:p},E=Rr(t,f,g);return o&&me(E)&&(E.flow=!0),m(),E}createPair(t,n,r={}){const i=this.createNode(t,null,r),u=this.createNode(n,null,r);return new ve(i,u)}delete(t){return Un(this.contents)?this.contents.delete(t):!1}deleteIn(t){return Pr(t)?this.contents==null?!1:(this.contents=null,!0):Un(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return me(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return Pr(t)?!n&&he(this.contents)?this.contents.value:this.contents:me(this.contents)?this.contents.getIn(t,n):void 0}has(t){return me(this.contents)?this.contents.has(t):!1}hasIn(t){return Pr(t)?this.contents!==void 0:me(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=Xi(this.schema,[t],n):Un(this.contents)&&this.contents.set(t,n)}setIn(t,n){Pr(t)?this.contents=n:this.contents==null?this.contents=Xi(this.schema,Array.from(t),n):Un(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let r;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Le({version:"1.1"}),r={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new Le({version:t}),r={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const i=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(r)this.schema=new jo(Object.assign(r,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:n,mapAsMap:r,maxAliasCount:i,onAnchor:u,reviver:a}={}){const o={anchors:new Map,doc:this,keep:!t,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},l=Je(this.contents,n??"",o);if(typeof u=="function")for(const{count:c,res:f}of o.anchors.values())u(f,c);return typeof a=="function"?Ln(a,{"":l},"",l):l}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return _N(this,t)}}function Un(e){if(me(e))return!0;throw new Error("Expected a YAML collection as document contents")}s(Un,"assertCollection");class $p extends Error{static{s(this,"YAMLError")}constructor(t,n,r,i){super(),this.name=t,this.code=r,this.message=i,this.pos=n}}class Hr extends $p{static{s(this,"YAMLParseError")}constructor(t,n,r){super("YAMLParseError",t,n,r)}}class BN extends $p{static{s(this,"YAMLWarning")}constructor(t,n,r){super("YAMLWarning",t,n,r)}}const qp=s((e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(o=>t.linePos(o));const{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let u=i-1,a=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(u>=60&&a.length>80){const o=Math.min(u-39,a.length-79);a="\u2026"+a.substring(o),u-=o-1}if(a.length>80&&(a=a.substring(0,79)+"\u2026"),r>1&&/^ *$/.test(a.substring(0,u))){let o=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);o.length>80&&(o=o.substring(0,79)+`\u2026
|
|
880
880
|
`),a=o+a}if(/[^ ]/.test(a)){let o=1;const l=n.linePos[1];l&&l.line===r&&l.col>i&&(o=Math.max(1,Math.min(l.col-i,80-u)));const c=" ".repeat(u)+"^".repeat(o);n.message+=`:
|
|
881
881
|
|
|
882
882
|
${a}
|
|
883
883
|
${c}
|
|
884
|
-
`}},"prettifyError");function Hn(e,{flow:t,indicator:n,next:r,offset:i,onError:u,parentIndent:a,startOnNewline:o}){let l=!1,c=o,f=o,h="",m="",p=!1,g=!1,E=null,
|
|
885
|
-
`))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if($r(t.key)||$r(t.value))return!0}return!1;default:return!0}}s($r,"containsNewline");function Fo(e,t,n){if(t?.type==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&$r(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}s(Fo,"flowIndentCheck");function zp(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const i=typeof r=="function"?r:(u,a)=>u===a||he(u)&&he(a)&&u.value===a.value;return t.some(u=>i(u.key,n))}s(zp,"mapIncludes");const
|
|
886
|
-
`+E.comment:o.comment=E.comment);continue}(E.newlineAfterProp||$r(m))&&i(m??h[h.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else E.found?.indent!==r.indent&&i(l,"BAD_INDENT",
|
|
887
|
-
`+T.comment:C.comment=T.comment);const I=new ve(C);n.options.keepSourceTokens&&(I.srcToken=f),o.items.push(I)}}return c&&c<l&&i(c,"IMPOSSIBLE","Map comment with trailing content"),o.range=[r.offset,l,c??l],o}s(wN,"resolveBlockMap");function FN({composeNode:e,composeEmptyNode:t},n,r,i,u){const a=u?.nodeClass??an,o=new a(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let l=r.offset,c=null;for(const{start:f,value:h}of r.items){const m=Hn(f,{indicator:"seq-item-ind",next:h,offset:l,onError:i,parentIndent:r.indent,startOnNewline:!0});if(!m.found)if(m.anchor||m.tag||h)h&&h.type==="block-seq"?i(m.end,"BAD_INDENT","All sequence items must start at the same column"):i(l,"MISSING_CHAR","Sequence item without - indicator");else{c=m.end,m.comment&&(o.comment=m.comment);continue}const p=h?e(n,h,m,i):t(n,m.end,f,null,m,i);n.schema.compat&&Fo(r.indent,h,i),l=p.range[2],o.items.push(p)}return o.range=[r.offset,l,c??l],o}s(FN,"resolveBlockSeq");function qr(e,t,n,r){let i="";if(e){let u=!1,a="";for(const o of e){const{source:l,type:c}=o;switch(c){case"space":u=!0;break;case"comment":{n&&!u&&r(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const f=l.substring(1)||" ";i?i+=a+f:i=f,a="";break}case"newline":i&&(a+=l),u=!0;break;default:r(o,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}t+=l.length}}return{comment:i,offset:t}}s(qr,"resolveEnd");const No="Block collections are not allowed within flow collections",xo=s(e=>e&&(e.type==="block-map"||e.type==="block-seq"),"isBlock");function NN({composeNode:e,composeEmptyNode:t},n,r,i,u){const a=r.start.source==="{",o=a?"flow map":"flow sequence",l=u?.nodeClass??(a?Ze:an),c=new l(n.schema);c.flow=!0;const f=n.atRoot;f&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let h=r.offset+r.start.source.length;for(let
|
|
888
|
-
`+_.comment:c.comment=_.comment),h=_.end;continue}!a&&n.options.strict&&$r(T)&&i(T,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(
|
|
884
|
+
`}},"prettifyError");function Hn(e,{flow:t,indicator:n,next:r,offset:i,onError:u,parentIndent:a,startOnNewline:o}){let l=!1,c=o,f=o,h="",m="",p=!1,g=!1,E=null,A=null,D=null,C=null,T=null,I=null,v=null;for(const x of e)switch(g&&(x.type!=="space"&&x.type!=="newline"&&x.type!=="comma"&&u(x.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),g=!1),E&&(c&&x.type!=="comment"&&x.type!=="newline"&&u(E,"TAB_AS_INDENT","Tabs are not allowed as indentation"),E=null),x.type){case"space":!t&&(n!=="doc-start"||r?.type!=="flow-collection")&&x.source.includes(" ")&&(E=x),f=!0;break;case"comment":{f||u(x,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const w=x.source.substring(1)||" ";h?h+=m+w:h=w,m="",c=!1;break}case"newline":c?h?h+=x.source:(!I||n!=="seq-item-ind")&&(l=!0):m+=x.source,c=!0,p=!0,(A||D)&&(C=x),f=!0;break;case"anchor":A&&u(x,"MULTIPLE_ANCHORS","A node can have at most one anchor"),x.source.endsWith(":")&&u(x.offset+x.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),A=x,v??(v=x.offset),c=!1,f=!1,g=!0;break;case"tag":{D&&u(x,"MULTIPLE_TAGS","A node can have at most one tag"),D=x,v??(v=x.offset),c=!1,f=!1,g=!0;break}case n:(A||D)&&u(x,"BAD_PROP_ORDER",`Anchors and tags must be after the ${x.source} indicator`),I&&u(x,"UNEXPECTED_TOKEN",`Unexpected ${x.source} in ${t??"collection"}`),I=x,c=n==="seq-item-ind"||n==="explicit-key-ind",f=!1;break;case"comma":if(t){T&&u(x,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),T=x,c=!1,f=!1;break}default:u(x,"UNEXPECTED_TOKEN",`Unexpected ${x.type} token`),c=!1,f=!1}const _=e[e.length-1],L=_?_.offset+_.source.length:i;return g&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&u(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),E&&(c&&E.indent<=a||r?.type==="block-map"||r?.type==="block-seq")&&u(E,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:T,found:I,spaceBefore:l,comment:h,hasNewline:p,anchor:A,tag:D,newlineAfterProp:C,end:L,start:v??L}}s(Hn,"resolveProps");function $r(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
|
|
885
|
+
`))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if($r(t.key)||$r(t.value))return!0}return!1;default:return!0}}s($r,"containsNewline");function Fo(e,t,n){if(t?.type==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&$r(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}s(Fo,"flowIndentCheck");function zp(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const i=typeof r=="function"?r:(u,a)=>u===a||he(u)&&he(a)&&u.value===a.value;return t.some(u=>i(u.key,n))}s(zp,"mapIncludes");const jp="All mapping items must start at the same column";function wN({composeNode:e,composeEmptyNode:t},n,r,i,u){const a=u?.nodeClass??Ze,o=new a(n.schema);n.atRoot&&(n.atRoot=!1);let l=r.offset,c=null;for(const f of r.items){const{start:h,key:m,sep:p,value:g}=f,E=Hn(h,{indicator:"explicit-key-ind",next:m??p?.[0],offset:l,onError:i,parentIndent:r.indent,startOnNewline:!0}),A=!E.found;if(A){if(m&&(m.type==="block-seq"?i(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in m&&m.indent!==r.indent&&i(l,"BAD_INDENT",jp)),!E.anchor&&!E.tag&&!p){c=E.end,E.comment&&(o.comment?o.comment+=`
|
|
886
|
+
`+E.comment:o.comment=E.comment);continue}(E.newlineAfterProp||$r(m))&&i(m??h[h.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else E.found?.indent!==r.indent&&i(l,"BAD_INDENT",jp);n.atKey=!0;const D=E.end,C=m?e(n,m,E,i):t(n,D,h,null,E,i);n.schema.compat&&Fo(r.indent,m,i),n.atKey=!1,zp(n,o.items,C)&&i(D,"DUPLICATE_KEY","Map keys must be unique");const T=Hn(p??[],{indicator:"map-value-ind",next:g,offset:C.range[2],onError:i,parentIndent:r.indent,startOnNewline:!m||m.type==="block-scalar"});if(l=T.end,T.found){A&&(g?.type==="block-map"&&!T.hasNewline&&i(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&E.start<T.found.offset-1024&&i(C.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const I=g?e(n,g,T,i):t(n,l,p,null,T,i);n.schema.compat&&Fo(r.indent,g,i),l=I.range[2];const v=new ve(C,I);n.options.keepSourceTokens&&(v.srcToken=f),o.items.push(v)}else{A&&i(C.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),T.comment&&(C.comment?C.comment+=`
|
|
887
|
+
`+T.comment:C.comment=T.comment);const I=new ve(C);n.options.keepSourceTokens&&(I.srcToken=f),o.items.push(I)}}return c&&c<l&&i(c,"IMPOSSIBLE","Map comment with trailing content"),o.range=[r.offset,l,c??l],o}s(wN,"resolveBlockMap");function FN({composeNode:e,composeEmptyNode:t},n,r,i,u){const a=u?.nodeClass??an,o=new a(n.schema);n.atRoot&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let l=r.offset,c=null;for(const{start:f,value:h}of r.items){const m=Hn(f,{indicator:"seq-item-ind",next:h,offset:l,onError:i,parentIndent:r.indent,startOnNewline:!0});if(!m.found)if(m.anchor||m.tag||h)h&&h.type==="block-seq"?i(m.end,"BAD_INDENT","All sequence items must start at the same column"):i(l,"MISSING_CHAR","Sequence item without - indicator");else{c=m.end,m.comment&&(o.comment=m.comment);continue}const p=h?e(n,h,m,i):t(n,m.end,f,null,m,i);n.schema.compat&&Fo(r.indent,h,i),l=p.range[2],o.items.push(p)}return o.range=[r.offset,l,c??l],o}s(FN,"resolveBlockSeq");function qr(e,t,n,r){let i="";if(e){let u=!1,a="";for(const o of e){const{source:l,type:c}=o;switch(c){case"space":u=!0;break;case"comment":{n&&!u&&r(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const f=l.substring(1)||" ";i?i+=a+f:i=f,a="";break}case"newline":i&&(a+=l),u=!0;break;default:r(o,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}t+=l.length}}return{comment:i,offset:t}}s(qr,"resolveEnd");const No="Block collections are not allowed within flow collections",xo=s(e=>e&&(e.type==="block-map"||e.type==="block-seq"),"isBlock");function NN({composeNode:e,composeEmptyNode:t},n,r,i,u){const a=r.start.source==="{",o=a?"flow map":"flow sequence",l=u?.nodeClass??(a?Ze:an),c=new l(n.schema);c.flow=!0;const f=n.atRoot;f&&(n.atRoot=!1),n.atKey&&(n.atKey=!1);let h=r.offset+r.start.source.length;for(let A=0;A<r.items.length;++A){const D=r.items[A],{start:C,key:T,sep:I,value:v}=D,_=Hn(C,{flow:o,indicator:"explicit-key-ind",next:T??I?.[0],offset:h,onError:i,parentIndent:r.indent,startOnNewline:!1});if(!_.found){if(!_.anchor&&!_.tag&&!I&&!v){A===0&&_.comma?i(_.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`):A<r.items.length-1&&i(_.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${o}`),_.comment&&(c.comment?c.comment+=`
|
|
888
|
+
`+_.comment:c.comment=_.comment),h=_.end;continue}!a&&n.options.strict&&$r(T)&&i(T,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(A===0)_.comma&&i(_.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`);else if(_.comma||i(_.start,"MISSING_CHAR",`Missing , between ${o} items`),_.comment){let L="";e:for(const x of C)switch(x.type){case"comma":case"space":break;case"comment":L=x.source.substring(1);break e;default:break e}if(L){let x=c.items[c.items.length-1];pe(x)&&(x=x.value??x.key),x.comment?x.comment+=`
|
|
889
889
|
`+L:x.comment=L,_.comment=_.comment.substring(L.length+1)}}if(!a&&!I&&!_.found){const L=v?e(n,v,_,i):t(n,_.end,I,null,_,i);c.items.push(L),h=L.range[2],xo(v)&&i(L.range,"BLOCK_IN_FLOW",No)}else{n.atKey=!0;const L=_.end,x=T?e(n,T,_,i):t(n,L,C,null,_,i);xo(T)&&i(x.range,"BLOCK_IN_FLOW",No),n.atKey=!1;const w=Hn(I??[],{flow:o,indicator:"map-value-ind",next:v,offset:x.range[2],onError:i,parentIndent:r.indent,startOnNewline:!1});if(w.found){if(!a&&!_.found&&n.options.strict){if(I)for(const M of I){if(M===w.found)break;if(M.type==="newline"){i(M,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}_.start<w.found.offset-1024&&i(w.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else v&&("source"in v&&v.source&&v.source[0]===":"?i(v,"MISSING_CHAR",`Missing space after : in ${o}`):i(w.start,"MISSING_CHAR",`Missing , or : between ${o} items`));const F=v?e(n,v,w,i):w.found?t(n,w.end,I,null,w,i):null;F?xo(v)&&i(F.range,"BLOCK_IN_FLOW",No):w.comment&&(x.comment?x.comment+=`
|
|
890
|
-
`+w.comment:x.comment=w.comment);const q=new ve(x,F);if(n.options.keepSourceTokens&&(q.srcToken=
|
|
891
|
-
`+
|
|
892
|
-
`.repeat(Math.max(1,a.length-1)):"";let
|
|
893
|
-
`;for(let E=f;E<o;++E){let[D
|
|
894
|
-
`):
|
|
890
|
+
`+w.comment:x.comment=w.comment);const q=new ve(x,F);if(n.options.keepSourceTokens&&(q.srcToken=D),a){const M=c;zp(n,M.items,x)&&i(L,"DUPLICATE_KEY","Map keys must be unique"),M.items.push(q)}else{const M=new Ze(n.schema);M.flow=!0,M.items.push(q);const Y=(F??x).range;M.range=[x.range[0],Y[1],Y[2]],c.items.push(M)}h=F?F.range[2]:w.end}}const m=a?"}":"]",[p,...g]=r.end;let E=h;if(p&&p.source===m)E=p.offset+p.source.length;else{const A=o[0].toUpperCase()+o.substring(1),D=f?`${A} must end with a ${m}`:`${A} in block collection must be sufficiently indented and end with a ${m}`;i(h,f?"MISSING_CHAR":"BAD_INDENT",D),p&&p.source.length!==1&&g.unshift(p)}if(g.length>0){const A=qr(g,E,n.options.strict,i);A.comment&&(c.comment?c.comment+=`
|
|
891
|
+
`+A.comment:c.comment=A.comment),c.range=[r.offset,E,A.offset]}else c.range=[r.offset,E,E];return c}s(NN,"resolveFlowCollection");function Io(e,t,n,r,i,u){const a=n.type==="block-map"?wN(e,t,n,r,u):n.type==="block-seq"?FN(e,t,n,r,u):NN(e,t,n,r,u),o=a.constructor;return i==="!"||i===o.tagName?(a.tag=o.tagName,a):(i&&(a.tag=i),a)}s(Io,"resolveCollection");function xN(e,t,n,r,i){const u=r.tag,a=u?t.directives.tagName(u.source,m=>i(u,"TAG_RESOLVE_FAILED",m)):null;if(n.type==="block-seq"){const{anchor:m,newlineAfterProp:p}=r,g=m&&u?m.offset>u.offset?m:u:m??u;g&&(!p||p.offset<g.offset)&&i(g,"MISSING_CHAR","Missing newline after block sequence props")}const o=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!u||!a||a==="!"||a===Ze.tagName&&o==="map"||a===an.tagName&&o==="seq")return Io(e,t,n,i,a);let l=t.schema.tags.find(m=>m.tag===a&&m.collection===o);if(!l){const m=t.schema.knownTags[a];if(m&&m.collection===o)t.schema.tags.push(Object.assign({},m,{default:!1})),l=m;else return m?i(u,"BAD_COLLECTION_TYPE",`${m.tag} used for ${o} collection, but expects ${m.collection??"scalar"}`,!0):i(u,"TAG_RESOLVE_FAILED",`Unresolved tag: ${a}`,!0),Io(e,t,n,i,a)}const c=Io(e,t,n,i,a,l),f=l.resolve?.(c,m=>i(u,"TAG_RESOLVE_FAILED",m),t.options)??c,h=ge(f)?f:new W(f);return h.range=c.range,h.tag=a,l?.format&&(h.format=l.format),h}s(xN,"composeCollection");function IN(e,t,n){const r=t.offset,i=vN(t,e.options.strict,n);if(!i)return{value:"",type:null,comment:"",range:[r,r,r]};const u=i.mode===">"?W.BLOCK_FOLDED:W.BLOCK_LITERAL,a=t.source?LN(t.source):[];let o=a.length;for(let E=a.length-1;E>=0;--E){const A=a[E][1];if(A===""||A==="\r")o=E;else break}if(o===0){const E=i.chomp==="+"&&a.length>0?`
|
|
892
|
+
`.repeat(Math.max(1,a.length-1)):"";let A=r+i.length;return t.source&&(A+=t.source.length),{value:E,type:u,comment:i.comment,range:[r,A,A]}}let l=t.indent+i.indent,c=t.offset+i.length,f=0;for(let E=0;E<o;++E){const[A,D]=a[E];if(D===""||D==="\r")i.indent===0&&A.length>l&&(l=A.length);else{A.length<l&&n(c+A.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),i.indent===0&&(l=A.length),f=E,l===0&&!e.atRoot&&n(c,"BAD_INDENT","Block scalar values in collections must be indented");break}c+=A.length+D.length+1}for(let E=a.length-1;E>=o;--E)a[E][0].length>l&&(o=E+1);let h="",m="",p=!1;for(let E=0;E<f;++E)h+=a[E][0].slice(l)+`
|
|
893
|
+
`;for(let E=f;E<o;++E){let[A,D]=a[E];c+=A.length+D.length+1;const C=D[D.length-1]==="\r";if(C&&(D=D.slice(0,-1)),D&&A.length<l){const I=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;n(c-D.length-(C?2:1),"BAD_INDENT",I),A=""}u===W.BLOCK_LITERAL?(h+=m+A.slice(l)+D,m=`
|
|
894
|
+
`):A.length>l||D[0]===" "?(m===" "?m=`
|
|
895
895
|
`:!p&&m===`
|
|
896
896
|
`&&(m=`
|
|
897
897
|
|
|
898
|
-
`),h+=m+
|
|
899
|
-
`,p=!0):
|
|
898
|
+
`),h+=m+A.slice(l)+D,m=`
|
|
899
|
+
`,p=!0):D===""?m===`
|
|
900
900
|
`?h+=`
|
|
901
901
|
`:m=`
|
|
902
|
-
`:(h+=m+
|
|
902
|
+
`:(h+=m+D,m=" ",p=!1)}switch(i.chomp){case"-":break;case"+":for(let E=o;E<a.length;++E)h+=`
|
|
903
903
|
`+a[E][0].slice(l);h[h.length-1]!==`
|
|
904
904
|
`&&(h+=`
|
|
905
905
|
`);break;default:h+=`
|
|
906
|
-
`}const g=r+i.length+t.source.length;return{value:h,type:u,comment:i.comment,range:[r,g,g]}}s(IN,"resolveBlockScalar");function vN({offset:e,props:t},n,r){if(t[0].type!=="block-scalar-header")return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:i}=t[0],u=i[0];let a=0,o="",l=-1;for(let m=1;m<i.length;++m){const p=i[m];if(!o&&(p==="-"||p==="+"))o=p;else{const g=Number(p);!a&&g?a=g:l===-1&&(l=e+m)}}l!==-1&&r(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let c=!1,f="",h=i.length;for(let m=1;m<t.length;++m){const p=t[m];switch(p.type){case"space":c=!0;case"newline":h+=p.source.length;break;case"comment":n&&!c&&r(p,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),h+=p.source.length,f=p.source.substring(1);break;case"error":r(p,"UNEXPECTED_TOKEN",p.message),h+=p.source.length;break;default:{const g=`Unexpected token in block scalar header: ${p.type}`;r(p,"UNEXPECTED_TOKEN",g);const E=p.source;E&&typeof E=="string"&&(h+=E.length)}}}return{mode:u,indent:a,chomp:o,comment:f,length:h}}s(vN,"parseBlockScalarHeader");function LN(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),u=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let a=1;a<t.length;a+=2)u.push([t[a],t[a+1]]);return u}s(LN,"splitLines");function ON(e,t,n){const{offset:r,type:i,source:u,end:a}=e;let o,l;const c=s((m,p,g)=>n(r+m,p,g),"_onError");switch(i){case"scalar":o=W.PLAIN,l=RN(u,c);break;case"single-quoted-scalar":o=W.QUOTE_SINGLE,l=PN(u,c);break;case"double-quoted-scalar":o=W.QUOTE_DOUBLE,l=MN(u,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[r,r+u.length,r+u.length]}}const f=r+u.length,h=qr(a,f,t,n);return{value:l,type:o,comment:h.comment,range:[r,f,h.offset]}}s(ON,"resolveFlowScalar");function RN(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),
|
|
906
|
+
`}const g=r+i.length+t.source.length;return{value:h,type:u,comment:i.comment,range:[r,g,g]}}s(IN,"resolveBlockScalar");function vN({offset:e,props:t},n,r){if(t[0].type!=="block-scalar-header")return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:i}=t[0],u=i[0];let a=0,o="",l=-1;for(let m=1;m<i.length;++m){const p=i[m];if(!o&&(p==="-"||p==="+"))o=p;else{const g=Number(p);!a&&g?a=g:l===-1&&(l=e+m)}}l!==-1&&r(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let c=!1,f="",h=i.length;for(let m=1;m<t.length;++m){const p=t[m];switch(p.type){case"space":c=!0;case"newline":h+=p.source.length;break;case"comment":n&&!c&&r(p,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),h+=p.source.length,f=p.source.substring(1);break;case"error":r(p,"UNEXPECTED_TOKEN",p.message),h+=p.source.length;break;default:{const g=`Unexpected token in block scalar header: ${p.type}`;r(p,"UNEXPECTED_TOKEN",g);const E=p.source;E&&typeof E=="string"&&(h+=E.length)}}}return{mode:u,indent:a,chomp:o,comment:f,length:h}}s(vN,"parseBlockScalarHeader");function LN(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),u=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let a=1;a<t.length;a+=2)u.push([t[a],t[a+1]]);return u}s(LN,"splitLines");function ON(e,t,n){const{offset:r,type:i,source:u,end:a}=e;let o,l;const c=s((m,p,g)=>n(r+m,p,g),"_onError");switch(i){case"scalar":o=W.PLAIN,l=RN(u,c);break;case"single-quoted-scalar":o=W.QUOTE_SINGLE,l=PN(u,c);break;case"double-quoted-scalar":o=W.QUOTE_DOUBLE,l=MN(u,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[r,r+u.length,r+u.length]}}const f=r+u.length,h=qr(a,f,t,n);return{value:l,type:o,comment:h.comment,range:[r,f,h.offset]}}s(ON,"resolveFlowScalar");function RN(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),Yp(e)}s(RN,"plainValue");function PN(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),Yp(e.slice(1,-1)).replace(/''/g,"'")}s(PN,"singleQuotedValue");function Yp(e){let t,n;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r?
|
|
907
907
|
`,"sy"),n=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
|
|
908
908
|
`,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let i=r[1],u=" ",a=t.lastIndex;for(n.lastIndex=a;r=n.exec(e);)r[1]===""?u===`
|
|
909
909
|
`?i+=u:u=`
|
|
910
|
-
`:(i+=u+r[1],u=" "),a=n.lastIndex;const o=/[ \t]*(.*)/sy;return o.lastIndex=a,r=o.exec(e),i+u+(r?.[1]??"")}s(
|
|
910
|
+
`:(i+=u+r[1],u=" "),a=n.lastIndex;const o=/[ \t]*(.*)/sy;return o.lastIndex=a,r=o.exec(e),i+u+(r?.[1]??"")}s(Yp,"foldLines");function MN(e,t){let n="";for(let r=1;r<e.length-1;++r){const i=e[r];if(!(i==="\r"&&e[r+1]===`
|
|
911
911
|
`))if(i===`
|
|
912
912
|
`){const{fold:u,offset:a}=UN(e,r);n+=u,r=a}else if(i==="\\"){let u=e[++r];const a=HN[u];if(a)n+=a;else if(u===`
|
|
913
913
|
`)for(u=e[r+1];u===" "||u===" ";)u=e[++r+1];else if(u==="\r"&&e[r+1]===`
|
|
@@ -918,14 +918,14 @@ ${c}
|
|
|
918
918
|
`);)r===`
|
|
919
919
|
`&&(n+=`
|
|
920
920
|
`),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}s(UN,"foldNewline");const HN={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
|
|
921
|
-
`,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function $N(e,t,n,r){const i=e.substr(t,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(a)){const o=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}return String.fromCodePoint(a)}s($N,"parseCharCode");function Gp(e,t,n,r){const{value:i,type:u,comment:a,range:o}=t.type==="block-scalar"?IN(e,t,r):ON(t,e.options.strict,r),l=n?e.directives.tagName(n.source,h=>r(n,"TAG_RESOLVE_FAILED",h)):null;let c;e.options.stringKeys&&e.atKey?c=e.schema[mt]:l?c=qN(e.schema,i,l,n,r):t.type==="scalar"?c=zN(e,i,t,r):c=e.schema[mt];let f;try{const h=c.resolve(i,m=>r(n??t,"TAG_RESOLVE_FAILED",m),e.options);f=he(h)?h:new W(h)}catch(h){const m=h instanceof Error?h.message:String(h);r(n??t,"TAG_RESOLVE_FAILED",m),f=new W(i)}return f.range=o,f.source=i,u&&(f.type=u),l&&(f.tag=l),c.format&&(f.format=c.format),a&&(f.comment=a),f}s(Gp,"composeScalar");function qN(e,t,n,r,i){if(n==="!")return e[mt];const u=[];for(const o of e.tags)if(!o.collection&&o.tag===n)if(o.default&&o.test)u.push(o);else return o;for(const o of u)if(o.test?.test(t))return o;const a=e.knownTags[n];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[mt])}s(qN,"findScalarTagByName");function zN({atKey:e,directives:t,schema:n},r,i,u){const a=n.tags.find(o=>(o.default===!0||e&&o.default==="key")&&o.test?.test(r))||n[mt];if(n.compat){const o=n.compat.find(l=>l.default&&l.test?.test(r))??n[mt];if(a.tag!==o.tag){const l=t.tagString(a.tag),c=t.tagString(o.tag),f=`Value may be parsed as either ${l} or ${c}`;u(i,"TAG_RESOLVE_FAILED",f,!0)}}return a}s(zN,"findScalarTagByTest");function
|
|
921
|
+
`,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function $N(e,t,n,r){const i=e.substr(t,n),a=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(a)){const o=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}return String.fromCodePoint(a)}s($N,"parseCharCode");function Gp(e,t,n,r){const{value:i,type:u,comment:a,range:o}=t.type==="block-scalar"?IN(e,t,r):ON(t,e.options.strict,r),l=n?e.directives.tagName(n.source,h=>r(n,"TAG_RESOLVE_FAILED",h)):null;let c;e.options.stringKeys&&e.atKey?c=e.schema[mt]:l?c=qN(e.schema,i,l,n,r):t.type==="scalar"?c=zN(e,i,t,r):c=e.schema[mt];let f;try{const h=c.resolve(i,m=>r(n??t,"TAG_RESOLVE_FAILED",m),e.options);f=he(h)?h:new W(h)}catch(h){const m=h instanceof Error?h.message:String(h);r(n??t,"TAG_RESOLVE_FAILED",m),f=new W(i)}return f.range=o,f.source=i,u&&(f.type=u),l&&(f.tag=l),c.format&&(f.format=c.format),a&&(f.comment=a),f}s(Gp,"composeScalar");function qN(e,t,n,r,i){if(n==="!")return e[mt];const u=[];for(const o of e.tags)if(!o.collection&&o.tag===n)if(o.default&&o.test)u.push(o);else return o;for(const o of u)if(o.test?.test(t))return o;const a=e.knownTags[n];return a&&!a.collection?(e.tags.push(Object.assign({},a,{default:!1,test:void 0})),a):(i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[mt])}s(qN,"findScalarTagByName");function zN({atKey:e,directives:t,schema:n},r,i,u){const a=n.tags.find(o=>(o.default===!0||e&&o.default==="key")&&o.test?.test(r))||n[mt];if(n.compat){const o=n.compat.find(l=>l.default&&l.test?.test(r))??n[mt];if(a.tag!==o.tag){const l=t.tagString(a.tag),c=t.tagString(o.tag),f=`Value may be parsed as either ${l} or ${c}`;u(i,"TAG_RESOLVE_FAILED",f,!0)}}return a}s(zN,"findScalarTagByTest");function jN(e,t,n){if(t){n??(n=t.length);for(let r=n-1;r>=0;--r){let i=t[r];switch(i.type){case"space":case"comment":case"newline":e-=i.source.length;continue}for(i=t[++r];i?.type==="space";)e+=i.source.length,i=t[++r];break}}return e}s(jN,"emptyScalarPosition");const YN={composeNode:Vp,composeEmptyNode:vo};function Vp(e,t,n,r){const i=e.atKey,{spaceBefore:u,comment:a,anchor:o,tag:l}=n;let c,f=!0;switch(t.type){case"alias":c=GN(e,t,r),(o||l)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=Gp(e,t,l,r),o&&(c.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":c=xN(YN,e,t,n,r),o&&(c.anchor=o.source.substring(1));break;default:{const h=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",h),c=vo(e,t.offset,void 0,null,n,r),f=!1}}return o&&c.anchor===""&&r(o,"BAD_ALIAS","Anchor cannot be an empty string"),i&&e.options.stringKeys&&(!he(c)||typeof c.value!="string"||c.tag&&c.tag!=="tag:yaml.org,2002:str")&&r(l??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),u&&(c.spaceBefore=!0),a&&(t.type==="scalar"&&t.source===""?c.comment=a:c.commentBefore=a),e.options.keepSourceTokens&&f&&(c.srcToken=t),c}s(Vp,"composeNode");function vo(e,t,n,r,{spaceBefore:i,comment:u,anchor:a,tag:o,end:l},c){const f={type:"scalar",offset:jN(t,n,r),indent:-1,source:""},h=Gp(e,f,o,c);return a&&(h.anchor=a.source.substring(1),h.anchor===""&&c(a,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(h.spaceBefore=!0),u&&(h.comment=u,h.range[2]=l),h}s(vo,"composeEmptyNode");function GN({options:e},{offset:t,source:n,end:r},i){const u=new fo(n.substring(1));u.source===""&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),u.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const a=t+n.length,o=qr(r,a,e.strict,i);return u.range=[t,a,o.offset],o.comment&&(u.comment=o.comment),u}s(GN,"composeAlias");function VN(e,t,{offset:n,start:r,value:i,end:u},a){const o=Object.assign({_directives:t},e),l=new jr(void 0,o),c={atKey:!1,atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},f=Hn(r,{indicator:"doc-start",next:i??u?.[0],offset:n,onError:a,parentIndent:0,startOnNewline:!0});f.found&&(l.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!f.hasNewline&&a(f.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=i?Vp(c,i,f,a):vo(c,f.end,r,null,f,a);const h=l.contents.range[2],m=qr(u,h,!1,a);return m.comment&&(l.comment=m.comment),l.range=[n,h,m.offset],l}s(VN,"composeDoc");function zr(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}s(zr,"getErrorPos");function Wp(e){let t="",n=!1,r=!1;for(let i=0;i<e.length;++i){const u=e[i];switch(u[0]){case"#":t+=(t===""?"":r?`
|
|
922
922
|
|
|
923
923
|
`:`
|
|
924
924
|
`)+(u.substring(1)||" "),n=!0,r=!1;break;case"%":e[i+1]?.[0]!=="#"&&(i+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}s(Wp,"parsePrelude");class WN{static{s(this,"Composer")}constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,r,i,u)=>{const a=zr(n);u?this.warnings.push(new BN(a,r,i)):this.errors.push(new Hr(a,r,i))},this.directives=new Le({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:i}=Wp(this.prelude);if(r){const u=t.contents;if(n)t.comment=t.comment?`${t.comment}
|
|
925
925
|
${r}`:r;else if(i||t.directives.docStart||!u)t.commentBefore=r;else if(me(u)&&!u.flow&&u.items.length>0){let a=u.items[0];pe(a)&&(a=a.key);const o=a.commentBefore;a.commentBefore=o?`${r}
|
|
926
926
|
${o}`:r}else{const a=u.commentBefore;u.commentBefore=a?`${r}
|
|
927
927
|
${a}`:r}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Wp(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,r=-1){for(const i of t)yield*this.next(i);yield*this.end(n,r)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,r,i)=>{const u=zr(t);u[0]+=n,this.onError(u,"BAD_DIRECTIVE",r,i)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=VN(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,r=new Hr(zr(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new Hr(zr(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=qr(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const r=this.doc.comment;this.doc.comment=r?`${r}
|
|
928
|
-
${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new Hr(zr(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),i=new
|
|
928
|
+
${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new Hr(zr(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),i=new jr(void 0,r);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,n,n],this.decorate(i,!1),yield i}}}const Kp="\uFEFF",Qp="",Xp="",Lo="";function KN(e){switch(e){case Kp:return"byte-order-mark";case Qp:return"doc-mode";case Xp:return"flow-error-end";case Lo:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
|
|
929
929
|
`:case`\r
|
|
930
930
|
`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}s(KN,"tokenType");function lt(e){switch(e){case void 0:case" ":case`
|
|
931
931
|
`:case"\r":case" ":return!0;default:return!1}}s(lt,"isEmpty");const Jp=new Set("0123456789ABCDEFabcdef"),QN=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),fs=new Set(",[]{}"),XN=new Set(` ,[]{}
|
|
@@ -950,12 +950,12 @@ ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.pus
|
|
|
950
950
|
`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
|
|
951
951
|
`,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const r=!this.onKeyLine&&this.indent===t.indent,i=r&&(n.sep||n.explicitKey)&&this.type!=="seq-item-ind";let u=[];if(i&&n.sep&&!n.value){const a=[];for(let o=0;o<n.sep.length;++o){const l=n.sep[o];switch(l.type){case"newline":a.push(o);break;case"space":break;case"comment":l.indent>t.indent&&(a.length=0);break;default:a.length=0}}a.length>=2&&(u=n.sep.splice(a[1]))}switch(this.type){case"anchor":case"tag":i||n.value?(u.push(this.sourceToken),t.items.push({start:u}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!n.explicitKey?(n.start.push(this.sourceToken),n.explicitKey=!0):i||n.value?(u.push(this.sourceToken),t.items.push({start:u,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Pt(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:u,key:null,sep:[this.sourceToken]}]});else if(em(n.key)&&!Pt(n.sep,"newline")){const a=$n(n.start),o=n.key,l=n.sep;l.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:o,sep:l}]})}else u.length>0?n.sep=n.sep.concat(u,this.sourceToken):n.sep.push(this.sourceToken);else if(Pt(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const a=$n(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||i?t.items.push({start:u,key:null,sep:[this.sourceToken]}):Pt(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const a=this.flowScalar(this.type);i||n.value?(t.items.push({start:u,key:a,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(a):(Object.assign(n,{key:a,sep:[]}),this.onKeyLine=!0);return}default:{const a=this.startBlockValue(t);if(a){if(a.type==="block-seq"){if(!n.explicitKey&&n.sep&&!Pt(n.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else r&&t.items.push({start:u});this.stack.push(a);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||Pt(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const r=this.startBlockValue(t);if(r){this.stack.push(r);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while(r&&r.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:i,sep:[]}):n.sep?this.stack.push(i):Object.assign(n,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const r=this.startBlockValue(t);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const i=ds(r),u=$n(i);tm(t);const a=t.end.splice(1,t.end.length);a.push(this.sourceToken);const o={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:u,key:t,sep:a}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(`
|
|
952
952
|
`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
|
|
953
|
-
`,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=ds(t),r=$n(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=ds(t),r=$n(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function tx(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new ZN||null,prettyErrors:t}}s(tx,"parseOptions");function nx(e,t={}){const{lineCounter:n,prettyErrors:r}=tx(t),i=new ex(n?.addNewLine),u=new WN(t);let a=null;for(const o of u.compose(i.parse(e),!0,e.length))if(!a)a=o;else if(a.options.logLevel!=="silent"){a.errors.push(new Hr(o.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(a.errors.forEach(qp(e,n)),a.warnings.forEach(qp(e,n))),a}s(nx,"parseDocument");function nm(e,t,n){let r;const i=nx(e,n);if(!i)return null;if(i.warnings.forEach(u=>Ap(i.options.logLevel,u)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}s(nm,"parse");function rm(e,t,n){let r=null;if(typeof t=="function"||Array.isArray(t)?r=t:n===void 0&&t&&(n=t),typeof n=="string"&&(n=n.length),typeof n=="number"){const i=Math.round(n);n=i<1?void 0:i>8?{indent:8}:{indent:i}}if(e===void 0){const{keepUndefined:i}=n??t??{};if(!i)return}return Ir(e)&&!r?e.toString(n):new Yr(e,r,n).toString(n)}s(rm,"stringify");const rx={allFilePaths:[],basePath:void 0,convertFilePathsToProtocol:"none",obsidianVaultName:void 0};function ps(e,t){const{allFilePaths:n,basePath:r,convertFilePathsToProtocol:i,cwd:u,obsidianVaultName:a,type:o}=Oe(rx,t??{});i==="obsidian"&&a===void 0&&console.warn("convertFilePathsToProtocol is 'obsidian', but no obsidianVaultName provided");const l=Od(e)??e;switch($i(l)){case"localFileName":{let f=vd(ut(l),"md");return f=ix(f,u,n??[])??xd(l,{basePath:r,cwd:u}),$i(f)==="localFilePath"?ps(f,{allFilePaths:n,basePath:r,convertFilePathsToProtocol:i,cwd:u,obsidianVaultName:a,type:o}):(console.warn(`Failed to convert local file wiki-style name to path: ${e} --> ${f}`),f)}case"localFilePath":{const f=xd(ut(l),{basePath:r,cwd:u}),h=im(vd(f,"md"),n??[])??im(Ld(f,"md"),n??[])??void 0;if(h!==void 0){if(i!=="none"&&(o==="link"||o==="embed"&&[".md",".pdf"].includes(Id(h)))){if(i==="obsidian"&&a!==void 0)return ux(h,r??"",a);if(i==="file")return sx(h)}return kr(h)}return kr(f)}case"localFileUrl":{const f=ut(o_(e));return $i(f)==="localFilePath"?ps(f,{allFilePaths:n,basePath:r,convertFilePathsToProtocol:i,cwd:u,obsidianVaultName:a,type:o}):(console.warn(`Failed to convert file URL to path: ${e} --> ${f}`),f)}case"obsidianVaultUrl":return e;case"remoteHttpUrl":return e;case"unsupportedProtocolUrl":return console.warn(`Unsupported URL protocol: ${e}`),e}}s(ps,"resolveLink");function ix(e,t,n){if(n.length===0)return;const[r,i]=Hi(e),u=r.replace(/\.md$/,"").toLowerCase(),a=n.filter(l=>l.replace(/\.md$/,"").toLowerCase().endsWith(u));return a.length===0?void 0:a.length===1?`${a[0]}${i??""}`:`${[...a].sort((l,c)=>{if(!r.endsWith(".md")||r.includes(ne.sep)){const m=l.startsWith(t),p=c.startsWith(t);if(m!==p)return m?-1:1}const f=l.split(ne.sep).length,h=c.split(ne.sep).length;return f!==h?f-h:l.localeCompare(c)})[0]}${i??""}`}s(ix,"resolveNameLink");function im(e,t){const n=kr(e);if(t.some(r=>r.toLowerCase().endsWith(n.toLowerCase())))return e}s(im,"pathExistsInAllFiles");function sx(e){return`file://${e}`}s(sx,"createFileLink");function ux(e,t,n){const r=s_(e,t);return`obsidian://open?vault=${encodeURIComponent(n)}&file=${encodeURIComponent(r)}`}s(ux,"createObsidianVaultLink");const ax=s(function(e){const{allFilePaths:t=[],basePath:n,cwd:r,enabled:i=!0,obsidianVault:u}=e;return function(a){i&&(ae(a,"link",o=>{o.data??={},o.data.hProperties={...o.data?.hProperties,"data-yanki-src-original":o.url};const l=ps(o.url,{allFilePaths:t,basePath:n,convertFilePathsToProtocol:u===void 0?"none":"obsidian",cwd:r,obsidianVaultName:u,type:"link"});o.url=Xt(l)?l:encodeURI(l)}),ae(a,"image",o=>{o.data??={},o.data.hProperties={...o.data?.hProperties,"data-yanki-src-original":o.url};const l=ps(o.url,{allFilePaths:t,basePath:n,convertFilePathsToProtocol:u===void 0?"none":"obsidian",cwd:r,obsidianVaultName:u,type:"embed"});o.url=Xt(l)?l:encodeURI(l)}))}},"plugin$1");function ox(){let e="",t;return{enter:{wikiEmbed:r,wikiLabel:a,wikiLink:n,wikiUrl:i},exit:{wikiEmbed:c,wikiLabel:o,wikiLink:l,wikiUrl:u}};function n(f){e="",t=void 0,this.enter({children:[],title:void 0,type:"link",url:""},f)}function r(f){e="",t=void 0,this.enter({type:"image",url:""},f)}function i(){this.buffer()}function u(){e=this.resume()}function a(){this.buffer()}function o(){t=this.resume()}function l(f){const h=this.stack.at(-1);h.url=Zh(e),h.children=[{type:"text",value:ft((t??"").replaceAll("|",""))??e.split("#").pop()??e.split("/").pop()??e}],this.exit(f)}function c(f){const h=this.stack.at(-1);h.url=Zh(e),t!==void 0&&(h.alt=t),this.exit(f)}}s(ox,"wikiBasicFromMarkdown");function lx(){return{text:{33:{name:"wikiEmbed",tokenize:e},91:{name:"wikiLink",tokenize:e}}};function e(t,n,r){let i=!1,u=!1,a=0,o=0;return l;function l(w){return w===33?(i=!0,t.enter("wikiEmbed"),t.enter("wikiMarker"),t.consume(w),c):(t.enter("wikiLink"),t.enter("wikiMarker"),c(w))}function c(w){return w===91?(t.consume(w),f):r(w)}function f(w){return w===91?(t.consume(w),t.exit("wikiMarker"),h):r(w)}function h(w){return w===-5||w===-4||w===-3||w===null||w===124||w===93?r(w):(t.enter("wikiUrl"),t.enter("chunkString",{contentType:"string"}),t.consume(w),a++,m)}function m(w){return w===-5||w===-4||w===-3||w===null?r(w):w===124?a===1?r(w):_(w):w===92?t.check({partial:!0,tokenize:v},_,p)(w):w===93?D(w):p(w)}function p(w){return t.consume(w),a++,m}function g(w){return w===-5||w===-4||w===-3||w===null?r(w):w===93?D(w):(t.enter("wikiLabel"),t.enter("chunkString",{contentType:"string"}),t.consume(w),o++,E)}function E(w){return w===-5||w===-4||w===-3||w===null?r(w):w===93?D(w):(t.consume(w),o++,E)}function D(w){return w!==93?r(w):t.check({partial:!0,tokenize:I},A,T)(w)}function A(w){return w!==93?r(w):(u?o>0&&(t.exit("chunkString"),t.exit("wikiLabel")):a>0&&(t.exit("chunkString"),t.exit("wikiUrl")),t.enter("wikiMarker"),t.consume(w),C)}function C(w){return w!==93||a===0?r(w):(t.consume(w),t.exit("wikiMarker"),i?t.exit("wikiEmbed"):t.exit("wikiLink"),n)}function T(w){return w!==93?r(w):(t.consume(w),u?(o++,E):(a++,m))}function I(w,F,q){return M;function M(j){return j!==93?q(j):(w.enter("wikiMarkerTemp"),w.consume(j),w.exit("wikiMarkerTemp"),F(j))}}function v(w,F,q){return M;function M(G){return G!==92?q(G):(w.enter("wikiMarkerTemp"),w.consume(G),j)}function j(G){return G===124?(w.consume(G),w.exit("wikiMarkerTemp"),F(G)):(w.exit("wikiMarkerTemp"),q(G))}}function _(w){return t.exit("chunkString"),t.exit("wikiUrl"),t.enter("wikiMarker"),t.consume(w),w===92?x:(t.exit("wikiMarker"),u=!0,t.check({partial:!0,tokenize:L},D,g)(w))}function L(w,F,q){return M;function M(j){return j===93?(w.enter("wikiMarkerTemp"),w.consume(j),w.exit("wikiMarkerTemp"),F(j)):q(j)}}function x(w){return w!==124?r(w):(t.consume(w),t.exit("wikiMarker"),u=!0,g)}}}s(lx,"wikiBasic");const cx=s(function(){const e=this.data();e.micromarkExtensions=[...e.micromarkExtensions??[],lx()],e.fromMarkdownExtensions=[...e.fromMarkdownExtensions??[],ox()]},"plugin"),hx={...He};async function fx(e,t){const{allFilePaths:n,basePath:r,cwd:i,obsidianVault:u,resolveUrls:a}=Oe(hx,t??{}),o=Ru().use(VF).use(FB,[{anywhere:!1,marker:"-",type:"yaml"}]).use(cx).use(tF,{singleTilde:!1}).use(ax,{allFilePaths:n,basePath:r,cwd:i,enabled:a,obsidianVault:u}).use(gF).use(iF).use(mB).use(nB);return o.run(o.parse(e))}s(fx,"getAstFromMarkdown");function dx(e){return e.type==="text"}s(dx,"isText");function px(e,t){return ae(e,t,(n,r,i)=>{if(i&&r!==void 0)return i.children.splice(r,1),Pe}),e}s(px,"deleteFirstNodeOfType");function Ro(e){const t=e.at(0);t?.type==="text"&&(t.value=t.value.trimStart(),t.value===""&&e.shift());const n=e.at(-1);return n?.type==="text"&&(n.value=n.value.trimEnd(),n.value===""&&e.pop()),e}s(Ro,"trimLeadingAndTrailingSpaces");function mx(e){let t=1;return ae(e,"delete",(n,r,i)=>{if(i===void 0||r===void 0||!("children"in n)||n.children.length===0)return Ve;if(n.children.length>0&&dx(n.children[0])){const o=/^[(|]?(\d{1,2})(?:[\s).|]|$)(.*)$/.exec(n.children[0].value);if(o!==null&&(n.children.length>1||(o.at(2)??"").length>0)){const l=Number.parseInt(o.at(1)??"",10);Number.isNaN(l)||(t=l,n.children[0].value=(o.at(2)?.trim().length??0)>0?o.at(2)??"":"")}}const u=n.children.at(-1),a=n.children.length>1&&u?.type==="emphasis"?[ie("text",`{{c${t}::`),...Ro(n.children.slice(0,-1)),ie("text","::"),...Ro(n.children.slice(-1)),ie("text","}}")]:[ie("text",`{{c${t}::`),...Ro(n.children),ie("text","}}")];i.children.splice(r,1,...a),t+=1}),e}s(mx,"replaceDeleteNodesWithClozeMarkup");function Po(e){let t,n=!1;if(ae(e,"thematicBreak",(u,a,o)=>a===void 0||o===void 0?Ve:(t=a,o.children[a+1]?.type==="thematicBreak"&&(n=!0),Pe)),t===void 0)return[e,void 0];const r={children:e.children.slice(0,t),type:"root"},i={children:e.children.slice(t+(n?2:1)),type:"root"};return[r,i]}s(Po,"splitTreeAtThematicBreak");function gx(e){let t;if(ae(e,r=>{if(r.type==="thematicBreak")return t=void 0,Pe;if(r.type==="delete")return t="Yanki - Cloze",Pe}),t!==void 0)return t;if(!Ax(e)&&Dx(e))return"Yanki - Basic (type in the answer)";let n;return ae(e,(r,i,u)=>{if(u===null||i===null)return Ve;if(r.type==="thematicBreak"){if(t===void 0)t="Yanki - Basic";else if(t==="Yanki - Basic"&&n?.type==="thematicBreak")return t="Yanki - Basic (and reversed card with extra)",Pe}n=r}),t??"Yanki - Basic"}s(gx,"getYankiModelNameFromTree");function Ex(e){let t;if(ae(e,"yaml",r=>"value"in r?(t=r.value,Pe):Ve),!t)return{};const n=nm(t);if(!n)throw new Error("Could not parse frontmatter");return n}s(Ex,"getFrontmatterFromTree");function Ax(e){let t=!1;return ae(e,"thematicBreak",()=>(t=!0,Pe)),t}s(Ax,"hasThematicBreak");function Dx(e){let t,n=0;return ae(e,r=>{if(r.type==="text"&&r.value.trim()!=="")t=r,n++;else if(r.type==="emphasis"&&r.children.some(i=>i.type==="text"&&i.value.trim()!==""))return t=r,n++,gi}),t!==void 0&&t.type==="emphasis"&&n>1}s(Dx,"isLastVisibleNodeEmphasisWithOthers");function Cx(e){let t,n,r;if(ae(e,"emphasis",(i,u,a)=>{if(a===void 0||u===void 0||i.type!=="emphasis")return Ve;t=i,n=a,r=u}),n&&t&&typeof r=="number")return n.children.splice(r,1),t}s(Cx,"removeLastEmphasis");const sm={namespaceValidationAndSanitization:!0,...He};async function um(e,t){const{allFilePaths:n,basePath:r,cwd:i,fetchAdapter:u=br(),fileAdapter:a=await Bn(),namespace:o,namespaceValidationAndSanitization:l,obsidianVault:c,resolveUrls:f,strictLineBreaks:h,syncMediaAssets:m}=Oe(sm,t??{}),p=l?Qt(o):o;let g=await fx(e,{allFilePaths:n,basePath:r,cwd:i,obsidianVault:c,resolveUrls:f});const E=gx(g),D=Ex(g);g=px(g,"yaml");let A="",C="",T;switch(E){case"Yanki - Basic":case"Yanki - Basic (and reversed card with extra)":{let[v,_]=Po(g),L;if(_!==void 0&&E==="Yanki - Basic (and reversed card with extra)"){T="";const[x,w]=Po(_);_=x,L=w}A=await Jt(v,{cssClassNames:[Kt,`namespace-${p}`,"front",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!0}),C=await Jt(_,{cssClassNames:[Kt,`namespace-${p}`,"back",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!0}),L!==void 0&&(T=await Jt(L,{cssClassNames:[Kt,`namespace-${p}`,"extra",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!1}));break}case"Yanki - Basic (type in the answer)":{const v=Cx(g);if(v===void 0)throw new Error("Could not find emphasis in Basic (type in the answer) note AST.");const _=g,L=ie("root",ie("paragraph",v.children));A=await Jt(_,{cssClassNames:[Kt,`namespace-${p}`,"front",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!0}),C=await Jt(L,{cssClassNames:[Kt,`namespace-${p}`,"back",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!1});break}case"Yanki - Cloze":{g=mx(g);const[v,_]=Po(g);A=await Jt(v,{cssClassNames:[Kt,`namespace-${p}`,"front",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!0}),C=await Jt(_,{cssClassNames:[Kt,`namespace-${p}`,"back",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!1});break}}return{deckName:"",fields:{Back:C,...T!==void 0&&{Extra:T},Front:A,YankiNamespace:p},modelName:E,noteId:D.noteId??void 0,tags:yx(D.tags)}}s(um,"getNoteFromMarkdown");function yx(e){return(typeof e=="string"?[e]:e??[]).map(t=>t.replaceAll("/","::"))}s(yx,"obsidianTagsToAnkiTags");const Tx={...He};async function Mo(e,t){const{allFilePaths:n,basePath:r,fetchAdapter:i=br(),fileAdapter:u=await Bn(),namespace:a,obsidianVault:o,strictLineBreaks:l,syncMediaAssets:c}=Oe(Tx,t??{}),f=Qt(a);e.sort((p,g)=>p.localeCompare(g));const h=kx(e),m=[];for(const[p,g]of e.entries()){const E=await u.readFile(g),D=await um(E,{allFilePaths:n,basePath:r,cwd:ne.dirname(g),fetchAdapter:i,fileAdapter:u,namespace:f,namespaceValidationAndSanitization:!1,obsidianVault:o,strictLineBreaks:l,syncMediaAssets:c});D.deckName===""&&(D.deckName=h[p]),m.push({filePath:g,filePathOriginal:g,markdown:E,note:D})}return m}s(Mo,"loadLocalNotes");const bx={mode:"common-root"};function kx(e,t){const{mode:n}=Oe(bx,{});if(e.length===0)return[];const r=e.map(l=>ne.dirname(l).split(ne.sep)),i=r.reduce((l,c)=>l.filter((h,m)=>h===c[m])),u=r.some(l=>l.at(-1)===i.at(-1)),a=n==="common-parent"||u?1:0;return r.map(l=>l.slice(i.length-a).join("::"))}s(kx,"getDeckNamesFromFilePaths");const Sx={...He};async function am(e,t){const{dryRun:n,fileAdapter:r=await Bn(),manageFilenames:i,maxFilenameLength:u}=Oe(Sx,t??{});if(i!=="off"){const a=[];for(const l of e){const{filePath:c,note:f}=l;if(c===void 0)throw new Error("File path is undefined");const h=Q_(f,i,u),m=ne.join(ne.dirname(c),`${h}${ne.extname(c)}`),p=X_(m,a);l.filePath=p,a.push(p.toLowerCase())}for(const l of e){const{filePath:c}=l;if(c===void 0)throw new Error("File path is undefined");l.filePath=J_(c,a)}const o=new Map;for(const l of e){const{filePath:c,filePathOriginal:f}=l;if(f===void 0)throw new Error("Original file path is undefined.");if(c===void 0)throw new Error("File path is undefined.");if(c===f)continue;let h=c;e.some(({filePath:m,filePathOriginal:p})=>m!==c&&p?.toLowerCase()===c.toLowerCase())&&(h=Z_(c),o.set(h,c)),n||await r.rename(f,h)}for(const[l,c]of o)n||await r.rename(l,c)}return e.sort((a,o)=>a.filePath.localeCompare(o.filePath)),e}s(am,"renameNotes");const om={...He};async function _x(e,t){const{allFilePaths:n,basePath:r,dryRun:i,fetchAdapter:u=br(),fileAdapter:a=await Bn(),manageFilenames:o,maxFilenameLength:l,namespace:c,obsidianVault:f,strictLineBreaks:h,syncMediaAssets:m}=Oe(om,t??{}),p=e.map(T=>ut(T)),g=r===void 0?void 0:ut(r),E=n.map(T=>ut(T)),D=Qt(c),A=await Mo(p,{allFilePaths:E,basePath:g,fetchAdapter:u,fileAdapter:a,namespace:D,obsidianVault:f,strictLineBreaks:h,syncMediaAssets:m}),C=await am(A,{dryRun:i,fileAdapter:a,manageFilenames:o,maxFilenameLength:l});return{dryRun:i,notes:C}}s(_x,"renameFiles");const Uo={css:Q3,...He},Bx={...He};async function wx(e){const{ankiConnectOptions:t}=Oe(Uo,e??{}),n=new Kn(t);if(await _r(n)==="ankiUnreachable")throw new Error("Anki is unreachable. Is Anki running?");const i=new Set;for(const u of zi){const a=await R_(n,u);i.add(a)}if(i.size===0)throw new Error("No CSS found in any Yanki model.");if(i.size>1)throw new Error("Expected all Yanki models to have identical CSS.");return[...i][0]}s(wx,"getStyle");async function Fx(e){const t=performance.now(),{ankiConnectOptions:n,ankiWeb:r,css:i,dryRun:u}=Oe(Uo,e??{}),a=new Kn(n);if(await _r(a)==="ankiUnreachable")throw new Error("Anki is unreachable. Is Anki running?");const l=[];for(const f of zi){const h=await Gd(a,f,i,u);l.push({action:h?"updated":"unchanged",name:f})}const c=l.some(f=>f.action!=="unchanged");return!u&&r&&(c||zu)&&await $a(a),{ankiWeb:r,dryRun:u,duration:performance.now()-t,models:l}}s(Fx,"setStyle");function Nx(e,t=!1){const n=[],r=e.models.filter(u=>u.action==="unchanged"),i=e.models.filter(u=>u.action==="updated");if(n.push(`${e.dryRun?"Will":"Successfully"} update ${i.length} ${fn("model",i.length)} and left ${r.length} ${fn("model",r.length)} unchanged${e.dryRun?"":` in ${Ds(e.duration)}`}.`),t){if(i.length>0){n.push("",e.dryRun?"Models to update:":"Updated models:");for(const u of i)n.push(` ${u.name}`)}if(r.length>0){n.push("",e.dryRun?"Models unchanged:":"Unchanged models:");for(const u of r)n.push(` ${u.name}`)}}return n.join(`
|
|
953
|
+
`,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=ds(t),r=$n(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=ds(t),r=$n(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function tx(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new ZN||null,prettyErrors:t}}s(tx,"parseOptions");function nx(e,t={}){const{lineCounter:n,prettyErrors:r}=tx(t),i=new ex(n?.addNewLine),u=new WN(t);let a=null;for(const o of u.compose(i.parse(e),!0,e.length))if(!a)a=o;else if(a.options.logLevel!=="silent"){a.errors.push(new Hr(o.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(a.errors.forEach(qp(e,n)),a.warnings.forEach(qp(e,n))),a}s(nx,"parseDocument");function nm(e,t,n){let r;const i=nx(e,n);if(!i)return null;if(i.warnings.forEach(u=>Ap(i.options.logLevel,u)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}s(nm,"parse");function rm(e,t,n){let r=null;if(typeof t=="function"||Array.isArray(t)?r=t:n===void 0&&t&&(n=t),typeof n=="string"&&(n=n.length),typeof n=="number"){const i=Math.round(n);n=i<1?void 0:i>8?{indent:8}:{indent:i}}if(e===void 0){const{keepUndefined:i}=n??t??{};if(!i)return}return Ir(e)&&!r?e.toString(n):new jr(e,r,n).toString(n)}s(rm,"stringify");const rx={allFilePaths:[],basePath:void 0,convertFilePathsToProtocol:"none",obsidianVaultName:void 0};function ps(e,t){const{allFilePaths:n,basePath:r,convertFilePathsToProtocol:i,cwd:u,obsidianVaultName:a,type:o}=Oe(rx,t??{});i==="obsidian"&&a===void 0&&console.warn("convertFilePathsToProtocol is 'obsidian', but no obsidianVaultName provided");const l=Od(e)??e;switch($i(l)){case"localFileName":{let f=vd(ut(l),"md");return f=ix(f,u,n??[])??xd(l,{basePath:r,cwd:u}),$i(f)==="localFilePath"?ps(f,{allFilePaths:n,basePath:r,convertFilePathsToProtocol:i,cwd:u,obsidianVaultName:a,type:o}):(console.warn(`Failed to convert local file wiki-style name to path: ${e} --> ${f}`),f)}case"localFilePath":{const f=xd(ut(l),{basePath:r,cwd:u}),h=im(vd(f,"md"),n??[])??im(Ld(f,"md"),n??[])??void 0;if(h!==void 0){if(i!=="none"&&(o==="link"||o==="embed"&&[".md",".pdf"].includes(Id(h)))){if(i==="obsidian"&&a!==void 0)return ux(h,r??"",a);if(i==="file")return sx(h)}return kr(h)}return kr(f)}case"localFileUrl":{const f=ut(o_(e));return $i(f)==="localFilePath"?ps(f,{allFilePaths:n,basePath:r,convertFilePathsToProtocol:i,cwd:u,obsidianVaultName:a,type:o}):(console.warn(`Failed to convert file URL to path: ${e} --> ${f}`),f)}case"obsidianVaultUrl":return e;case"remoteHttpUrl":return e;case"unsupportedProtocolUrl":return console.warn(`Unsupported URL protocol: ${e}`),e}}s(ps,"resolveLink");function ix(e,t,n){if(n.length===0)return;const[r,i]=Hi(e),u=r.replace(/\.md$/,"").toLowerCase(),a=n.filter(l=>l.replace(/\.md$/,"").toLowerCase().endsWith(u));return a.length===0?void 0:a.length===1?`${a[0]}${i??""}`:`${[...a].sort((l,c)=>{if(!r.endsWith(".md")||r.includes(ne.sep)){const m=l.startsWith(t),p=c.startsWith(t);if(m!==p)return m?-1:1}const f=l.split(ne.sep).length,h=c.split(ne.sep).length;return f!==h?f-h:l.localeCompare(c)})[0]}${i??""}`}s(ix,"resolveNameLink");function im(e,t){const n=kr(e);if(t.some(r=>r.toLowerCase().endsWith(n.toLowerCase())))return e}s(im,"pathExistsInAllFiles");function sx(e){return`file://${e}`}s(sx,"createFileLink");function ux(e,t,n){const r=s_(e,t);return`obsidian://open?vault=${encodeURIComponent(n)}&file=${encodeURIComponent(r)}`}s(ux,"createObsidianVaultLink");const ax=s(function(e){const{allFilePaths:t=[],basePath:n,cwd:r,enabled:i=!0,obsidianVault:u}=e;return function(a){i&&(ae(a,"link",o=>{o.data??={},o.data.hProperties={...o.data?.hProperties,"data-yanki-src-original":o.url};const l=ps(o.url,{allFilePaths:t,basePath:n,convertFilePathsToProtocol:u===void 0?"none":"obsidian",cwd:r,obsidianVaultName:u,type:"link"});o.url=Xt(l)?l:encodeURI(l)}),ae(a,"image",o=>{o.data??={},o.data.hProperties={...o.data?.hProperties,"data-yanki-src-original":o.url};const l=ps(o.url,{allFilePaths:t,basePath:n,convertFilePathsToProtocol:u===void 0?"none":"obsidian",cwd:r,obsidianVaultName:u,type:"embed"});o.url=Xt(l)?l:encodeURI(l)}))}},"plugin$1");function ox(){let e="",t;return{enter:{wikiEmbed:r,wikiLabel:a,wikiLink:n,wikiUrl:i},exit:{wikiEmbed:c,wikiLabel:o,wikiLink:l,wikiUrl:u}};function n(f){e="",t=void 0,this.enter({children:[],title:void 0,type:"link",url:""},f)}function r(f){e="",t=void 0,this.enter({type:"image",url:""},f)}function i(){this.buffer()}function u(){e=this.resume()}function a(){this.buffer()}function o(){t=this.resume()}function l(f){const h=this.stack.at(-1);h.url=Zh(e),h.children=[{type:"text",value:ft((t??"").replaceAll("|",""))??e.split("#").pop()??e.split("/").pop()??e}],this.exit(f)}function c(f){const h=this.stack.at(-1);h.url=Zh(e),t!==void 0&&(h.alt=t),this.exit(f)}}s(ox,"wikiBasicFromMarkdown");function lx(){return{text:{33:{name:"wikiEmbed",tokenize:e},91:{name:"wikiLink",tokenize:e}}};function e(t,n,r){let i=!1,u=!1,a=0,o=0;return l;function l(w){return w===33?(i=!0,t.enter("wikiEmbed"),t.enter("wikiMarker"),t.consume(w),c):(t.enter("wikiLink"),t.enter("wikiMarker"),c(w))}function c(w){return w===91?(t.consume(w),f):r(w)}function f(w){return w===91?(t.consume(w),t.exit("wikiMarker"),h):r(w)}function h(w){return w===-5||w===-4||w===-3||w===null||w===124||w===93?r(w):(t.enter("wikiUrl"),t.enter("chunkString",{contentType:"string"}),t.consume(w),a++,m)}function m(w){return w===-5||w===-4||w===-3||w===null?r(w):w===124?a===1?r(w):_(w):w===92?t.check({partial:!0,tokenize:v},_,p)(w):w===93?A(w):p(w)}function p(w){return t.consume(w),a++,m}function g(w){return w===-5||w===-4||w===-3||w===null?r(w):w===93?A(w):(t.enter("wikiLabel"),t.enter("chunkString",{contentType:"string"}),t.consume(w),o++,E)}function E(w){return w===-5||w===-4||w===-3||w===null?r(w):w===93?A(w):(t.consume(w),o++,E)}function A(w){return w!==93?r(w):t.check({partial:!0,tokenize:I},D,T)(w)}function D(w){return w!==93?r(w):(u?o>0&&(t.exit("chunkString"),t.exit("wikiLabel")):a>0&&(t.exit("chunkString"),t.exit("wikiUrl")),t.enter("wikiMarker"),t.consume(w),C)}function C(w){return w!==93||a===0?r(w):(t.consume(w),t.exit("wikiMarker"),i?t.exit("wikiEmbed"):t.exit("wikiLink"),n)}function T(w){return w!==93?r(w):(t.consume(w),u?(o++,E):(a++,m))}function I(w,F,q){return M;function M(Y){return Y!==93?q(Y):(w.enter("wikiMarkerTemp"),w.consume(Y),w.exit("wikiMarkerTemp"),F(Y))}}function v(w,F,q){return M;function M(G){return G!==92?q(G):(w.enter("wikiMarkerTemp"),w.consume(G),Y)}function Y(G){return G===124?(w.consume(G),w.exit("wikiMarkerTemp"),F(G)):(w.exit("wikiMarkerTemp"),q(G))}}function _(w){return t.exit("chunkString"),t.exit("wikiUrl"),t.enter("wikiMarker"),t.consume(w),w===92?x:(t.exit("wikiMarker"),u=!0,t.check({partial:!0,tokenize:L},A,g)(w))}function L(w,F,q){return M;function M(Y){return Y===93?(w.enter("wikiMarkerTemp"),w.consume(Y),w.exit("wikiMarkerTemp"),F(Y)):q(Y)}}function x(w){return w!==124?r(w):(t.consume(w),t.exit("wikiMarker"),u=!0,g)}}}s(lx,"wikiBasic");const cx=s(function(){const e=this.data();e.micromarkExtensions=[...e.micromarkExtensions??[],lx()],e.fromMarkdownExtensions=[...e.fromMarkdownExtensions??[],ox()]},"plugin"),hx={...He};async function fx(e,t){const{allFilePaths:n,basePath:r,cwd:i,obsidianVault:u,resolveUrls:a}=Oe(hx,t??{}),o=Ru().use(VF).use(FB,[{anywhere:!1,marker:"-",type:"yaml"}]).use(cx).use(tF,{singleTilde:!1}).use(ax,{allFilePaths:n,basePath:r,cwd:i,enabled:a,obsidianVault:u}).use(gF).use(iF).use(mB).use(nB);return o.run(o.parse(e))}s(fx,"getAstFromMarkdown");function dx(e){return e.type==="text"}s(dx,"isText");function px(e,t){return ae(e,t,(n,r,i)=>{if(i&&r!==void 0)return i.children.splice(r,1),Pe}),e}s(px,"deleteFirstNodeOfType");function Ro(e){const t=e.at(0);t?.type==="text"&&(t.value=t.value.trimStart(),t.value===""&&e.shift());const n=e.at(-1);return n?.type==="text"&&(n.value=n.value.trimEnd(),n.value===""&&e.pop()),e}s(Ro,"trimLeadingAndTrailingSpaces");function mx(e){let t=1;return ae(e,"delete",(n,r,i)=>{if(i===void 0||r===void 0||!("children"in n)||n.children.length===0)return Ve;if(n.children.length>0&&dx(n.children[0])){const o=/^[(|]?(\d{1,2})(?:[\s).|]|$)(.*)$/.exec(n.children[0].value);if(o!==null&&(n.children.length>1||(o.at(2)??"").length>0)){const l=Number.parseInt(o.at(1)??"",10);Number.isNaN(l)||(t=l,n.children[0].value=(o.at(2)?.trim().length??0)>0?o.at(2)??"":"")}}const u=n.children.at(-1),a=n.children.length>1&&u?.type==="emphasis"?[ie("text",`{{c${t}::`),...Ro(n.children.slice(0,-1)),ie("text","::"),...Ro(n.children.slice(-1)),ie("text","}}")]:[ie("text",`{{c${t}::`),...Ro(n.children),ie("text","}}")];i.children.splice(r,1,...a),t+=1}),e}s(mx,"replaceDeleteNodesWithClozeMarkup");function Po(e){let t,n=!1;if(ae(e,"thematicBreak",(u,a,o)=>a===void 0||o===void 0?Ve:(t=a,o.children[a+1]?.type==="thematicBreak"&&(n=!0),Pe)),t===void 0)return[e,void 0];const r={children:e.children.slice(0,t),type:"root"},i={children:e.children.slice(t+(n?2:1)),type:"root"};return[r,i]}s(Po,"splitTreeAtThematicBreak");function gx(e){let t;if(ae(e,r=>{if(r.type==="thematicBreak")return t=void 0,Pe;if(r.type==="delete")return t="Yanki - Cloze",Pe}),t!==void 0)return t;if(!Ax(e)&&Dx(e))return"Yanki - Basic (type in the answer)";let n;return ae(e,(r,i,u)=>{if(u===null||i===null)return Ve;if(r.type==="thematicBreak"){if(t===void 0)t="Yanki - Basic";else if(t==="Yanki - Basic"&&n?.type==="thematicBreak")return t="Yanki - Basic (and reversed card with extra)",Pe}n=r}),t??"Yanki - Basic"}s(gx,"getYankiModelNameFromTree");function Ex(e){let t;if(ae(e,"yaml",r=>"value"in r?(t=r.value,Pe):Ve),!t)return{};const n=nm(t);if(!n)throw new Error("Could not parse frontmatter");return n}s(Ex,"getFrontmatterFromTree");function Ax(e){let t=!1;return ae(e,"thematicBreak",()=>(t=!0,Pe)),t}s(Ax,"hasThematicBreak");function Dx(e){let t,n=0;return ae(e,r=>{if(r.type==="text"&&r.value.trim()!=="")t=r,n++;else if(r.type==="emphasis"&&r.children.some(i=>i.type==="text"&&i.value.trim()!==""))return t=r,n++,gi}),t!==void 0&&t.type==="emphasis"&&n>1}s(Dx,"isLastVisibleNodeEmphasisWithOthers");function Cx(e){let t,n,r;if(ae(e,"emphasis",(i,u,a)=>{if(a===void 0||u===void 0||i.type!=="emphasis")return Ve;t=i,n=a,r=u}),n&&t&&typeof r=="number")return n.children.splice(r,1),t}s(Cx,"removeLastEmphasis");const sm={namespaceValidationAndSanitization:!0,...He};async function um(e,t){const{allFilePaths:n,basePath:r,cwd:i,fetchAdapter:u=br(),fileAdapter:a=await Bn(),namespace:o,namespaceValidationAndSanitization:l,obsidianVault:c,resolveUrls:f,strictLineBreaks:h,syncMediaAssets:m}=Oe(sm,t??{}),p=l?Qt(o):o;let g=await fx(e,{allFilePaths:n,basePath:r,cwd:i,obsidianVault:c,resolveUrls:f});const E=gx(g),A=Ex(g);g=px(g,"yaml");let D="",C="",T;switch(E){case"Yanki - Basic":case"Yanki - Basic (and reversed card with extra)":{let[v,_]=Po(g),L;if(_!==void 0&&E==="Yanki - Basic (and reversed card with extra)"){T="";const[x,w]=Po(_);_=x,L=w}D=await Jt(v,{cssClassNames:[Kt,`namespace-${p}`,"front",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!0}),C=await Jt(_,{cssClassNames:[Kt,`namespace-${p}`,"back",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!0}),L!==void 0&&(T=await Jt(L,{cssClassNames:[Kt,`namespace-${p}`,"extra",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!1}));break}case"Yanki - Basic (type in the answer)":{const v=Cx(g);if(v===void 0)throw new Error("Could not find emphasis in Basic (type in the answer) note AST.");const _=g,L=ie("root",ie("paragraph",v.children));D=await Jt(_,{cssClassNames:[Kt,`namespace-${p}`,"front",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!0}),C=await Jt(L,{cssClassNames:[Kt,`namespace-${p}`,"back",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!1});break}case"Yanki - Cloze":{g=mx(g);const[v,_]=Po(g);D=await Jt(v,{cssClassNames:[Kt,`namespace-${p}`,"front",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!0}),C=await Jt(_,{cssClassNames:[Kt,`namespace-${p}`,"back",`model-${E}`],fetchAdapter:u,fileAdapter:a,namespace:p,strictLineBreaks:h,syncMediaAssets:m,useEmptyPlaceholder:!1});break}}return{deckName:"",fields:{Back:C,...T!==void 0&&{Extra:T},Front:D,YankiNamespace:p},modelName:E,noteId:A.noteId??void 0,tags:yx(A.tags)}}s(um,"getNoteFromMarkdown");function yx(e){return(typeof e=="string"?[e]:e??[]).map(t=>t.replaceAll("/","::"))}s(yx,"obsidianTagsToAnkiTags");const Tx={...He};async function Mo(e,t){const{allFilePaths:n,basePath:r,fetchAdapter:i=br(),fileAdapter:u=await Bn(),namespace:a,obsidianVault:o,strictLineBreaks:l,syncMediaAssets:c}=Oe(Tx,t??{}),f=Qt(a);e.sort((p,g)=>p.localeCompare(g));const h=kx(e),m=[];for(const[p,g]of e.entries()){const E=await u.readFile(g),A=await um(E,{allFilePaths:n,basePath:r,cwd:ne.dirname(g),fetchAdapter:i,fileAdapter:u,namespace:f,namespaceValidationAndSanitization:!1,obsidianVault:o,strictLineBreaks:l,syncMediaAssets:c});A.deckName===""&&(A.deckName=h[p]),m.push({filePath:g,filePathOriginal:g,markdown:E,note:A})}return m}s(Mo,"loadLocalNotes");const bx={mode:"common-root"};function kx(e,t){const{mode:n}=Oe(bx,{});if(e.length===0)return[];const r=e.map(l=>ne.dirname(l).split(ne.sep)),i=r.reduce((l,c)=>l.filter((h,m)=>h===c[m])),u=r.some(l=>l.at(-1)===i.at(-1)),a=n==="common-parent"||u?1:0;return r.map(l=>l.slice(i.length-a).join("::"))}s(kx,"getDeckNamesFromFilePaths");const Sx={...He};async function am(e,t){const{dryRun:n,fileAdapter:r=await Bn(),manageFilenames:i,maxFilenameLength:u}=Oe(Sx,t??{});if(i!=="off"){const a=[];for(const l of e){const{filePath:c,note:f}=l;if(c===void 0)throw new Error("File path is undefined");const h=Q_(f,i,u),m=ne.join(ne.dirname(c),`${h}${ne.extname(c)}`),p=X_(m,a);l.filePath=p,a.push(p.toLowerCase())}for(const l of e){const{filePath:c}=l;if(c===void 0)throw new Error("File path is undefined");l.filePath=J_(c,a)}const o=new Map;for(const l of e){const{filePath:c,filePathOriginal:f}=l;if(f===void 0)throw new Error("Original file path is undefined.");if(c===void 0)throw new Error("File path is undefined.");if(c===f)continue;let h=c;e.some(({filePath:m,filePathOriginal:p})=>m!==c&&p?.toLowerCase()===c.toLowerCase())&&(h=Z_(c),o.set(h,c)),n||await r.rename(f,h)}for(const[l,c]of o)n||await r.rename(l,c)}return e.sort((a,o)=>a.filePath.localeCompare(o.filePath)),e}s(am,"renameNotes");const om={...He};async function _x(e,t){const{allFilePaths:n,basePath:r,dryRun:i,fetchAdapter:u=br(),fileAdapter:a=await Bn(),manageFilenames:o,maxFilenameLength:l,namespace:c,obsidianVault:f,strictLineBreaks:h,syncMediaAssets:m}=Oe(om,t??{}),p=e.map(T=>ut(T)),g=r===void 0?void 0:ut(r),E=n.map(T=>ut(T)),A=Qt(c),D=await Mo(p,{allFilePaths:E,basePath:g,fetchAdapter:u,fileAdapter:a,namespace:A,obsidianVault:f,strictLineBreaks:h,syncMediaAssets:m}),C=await am(D,{dryRun:i,fileAdapter:a,manageFilenames:o,maxFilenameLength:l});return{dryRun:i,notes:C}}s(_x,"renameFiles");const Uo={css:Q3,...He},Bx={...He};async function wx(e){const{ankiConnectOptions:t}=Oe(Uo,e??{}),n=new Kn(t);if(await _r(n)==="ankiUnreachable")throw new Error("Anki is unreachable. Is Anki running?");const i=new Set;for(const u of zi){const a=await R_(n,u);i.add(a)}if(i.size===0)throw new Error("No CSS found in any Yanki model.");if(i.size>1)throw new Error("Expected all Yanki models to have identical CSS.");return[...i][0]}s(wx,"getStyle");async function Fx(e){const t=performance.now(),{ankiConnectOptions:n,ankiWeb:r,css:i,dryRun:u}=Oe(Uo,e??{}),a=new Kn(n);if(await _r(a)==="ankiUnreachable")throw new Error("Anki is unreachable. Is Anki running?");const l=[];for(const f of zi){const h=await Gd(a,f,i,u);l.push({action:h?"updated":"unchanged",name:f})}const c=l.some(f=>f.action!=="unchanged");return!u&&r&&(c||zu)&&await $a(a),{ankiWeb:r,dryRun:u,duration:performance.now()-t,models:l}}s(Fx,"setStyle");function Nx(e,t=!1){const n=[],r=e.models.filter(u=>u.action==="unchanged"),i=e.models.filter(u=>u.action==="updated");if(n.push(`${e.dryRun?"Will":"Successfully"} update ${i.length} ${fn("model",i.length)} and left ${r.length} ${fn("model",r.length)} unchanged${e.dryRun?"":` in ${Ds(e.duration)}`}.`),t){if(i.length>0){n.push("",e.dryRun?"Models to update:":"Updated models:");for(const u of i)n.push(` ${u.name}`)}if(r.length>0){n.push("",e.dryRun?"Models unchanged:":"Unchanged models:");for(const u of r)n.push(` ${u.name}`)}}return n.join(`
|
|
954
954
|
`)}s(Nx,"formatSetStyleResult");async function xx(e,t){const[n,r]=Ix(e),i=e.split(/\r?\n/);if(n===void 0||r===void 0)return t===void 0?e:["---",rm({noteId:t}).trim(),`---
|
|
955
955
|
`,...i].join(`
|
|
956
956
|
`);const u=i.slice(n+1,r).join(`
|
|
957
957
|
`),a=await nm(u)??{};if(t===void 0){if(delete a.noteId,Object.keys(a).length===0){const l=i.slice(r+1);return l[0].trim()===""?l.slice(1).join(`
|
|
958
958
|
`):l.join(`
|
|
959
959
|
`)}}else a.noteId=t;const o=rm(a,{lineWidth:0}).trim();return[...i.slice(0,n+1),o,...i.slice(r)].join(`
|
|
960
|
-
`)}s(xx,"setNoteIdInFrontmatter");function Ix(e){const t=e.split(/\r?\n/);if(!t.join("").trim().startsWith("---"))return[void 0,void 0];const n=t.findIndex(i=>i.startsWith("---")),r=t.findIndex((i,u)=>u>n&&i.startsWith("---"));return n===-1||r===-1?[void 0,void 0]:[n,r]}s(Ix,"getFrontmatterRange");const Ho={...He};async function lm(e,t){const n=performance.now(),r=structuredClone(e),{ankiConnectOptions:i,ankiWeb:u,checkDatabase:a,dryRun:o,namespace:l,strictMatching:c}=Oe(Ho,t??{}),f=Qt(l),h=[],m=new Kn(i);if(await _r(m)==="ankiUnreachable")return{ankiWeb:u,deletedDecks:[],deletedMedia:[],dryRun:o,duration:performance.now()-n,fixedDatabase:!1,namespace:f,synced:r.map(x=>({action:"ankiUnreachable",note:x}))};for(const x of r)x.deckName===""&&(x.deckName=X3);const g=await Ha(m,"*"),E=g.filter(x=>x.fields.YankiNamespace===f);for(const x of r){if(x.noteId===void 0)continue;const w=vx(r,x.noteId);if(w.length<=1)continue;const F=E.find(M=>M.noteId===x.noteId),q=Lx(w,F);for(const M of w)M!==q&&(M.noteId=void 0)}const
|
|
960
|
+
`)}s(xx,"setNoteIdInFrontmatter");function Ix(e){const t=e.split(/\r?\n/);if(!t.join("").trim().startsWith("---"))return[void 0,void 0];const n=t.findIndex(i=>i.startsWith("---")),r=t.findIndex((i,u)=>u>n&&i.startsWith("---"));return n===-1||r===-1?[void 0,void 0]:[n,r]}s(Ix,"getFrontmatterRange");const Ho={...He};async function lm(e,t){const n=performance.now(),r=structuredClone(e),{ankiConnectOptions:i,ankiWeb:u,checkDatabase:a,dryRun:o,namespace:l,strictMatching:c}=Oe(Ho,t??{}),f=Qt(l),h=[],m=new Kn(i);if(await _r(m)==="ankiUnreachable")return{ankiWeb:u,deletedDecks:[],deletedMedia:[],dryRun:o,duration:performance.now()-n,fixedDatabase:!1,namespace:f,synced:r.map(x=>({action:"ankiUnreachable",note:x}))};for(const x of r)x.deckName===""&&(x.deckName=X3);const g=await Ha(m,"*"),E=g.filter(x=>x.fields.YankiNamespace===f);for(const x of r){if(x.noteId===void 0)continue;const w=vx(r,x.noteId);if(w.length<=1)continue;const F=E.find(M=>M.noteId===x.noteId),q=Lx(w,F);for(const M of w)M!==q&&(M.noteId=void 0)}const A=new Set(r.filter(x=>x.noteId!==void 0&&E.some(w=>x.noteId===w.noteId)).map(x=>x.noteId));for(const x of r){let w=g.find(F=>F.noteId===x.noteId);if(w?.fields.YankiNamespace!==f&&(x.noteId=void 0,w=void 0),w===void 0)x.noteId=c?void 0:Ox(x,E,A),x.noteId===void 0?(x.noteId=await Ua(m,{...x,noteId:void 0},o),h.push({action:"created",note:x})):h.push({action:"matched",note:x});else{if(w.noteId===void 0)throw new Error("Remote note ID is undefined");const F=await qd(m,x,w,o);h.push({action:F?"updated":"unchanged",note:x})}if(x.noteId===void 0)throw new Error("Note ID is undefined");A.add(x.noteId)}const D=E.filter(x=>!r.some(w=>w.noteId===x.noteId));await $d(m,D,o);for(const x of D)h.push({action:"deleted",note:x});const C=[],T=[];for(const x of h)x.action==="deleted"?T.push(x.note):C.push(x.note);const I=await Yd(m,C,E,o);let v=!1;if(a){const x=E.filter(w=>h.some(F=>F.action==="updated"&&F.note.noteId===w.noteId&&F.note.modelName!==w.modelName));if(x.length>0){const w=x.flatMap(({cards:F})=>F??[]);try{await m.card.cardsInfo({cards:w})}catch{v=!0,await m.graphical.guiCheckDatabase()}}}const _=await Wd(m,C,f,o),L=I.length>0||h.some(x=>x.action!=="unchanged");return!o&&u&&(L||zu)&&await $a(m),{ankiWeb:u,deletedDecks:I,deletedMedia:_,dryRun:o,duration:performance.now()-n,fixedDatabase:v,namespace:f,synced:h}}s(lm,"syncNotes");function vx(e,t){return e.filter(n=>n.noteId===void 0?!1:n.noteId===t)}s(vx,"findNotesWithDuplicateIds");function Lx(e,t){return e.find(n=>n.fields.Front===t?.fields.Front&&n.fields.Back===t.fields.Back&&n.fields.Extra===t.fields.Extra)??e[0]}s(Lx,"selectNoteToKeep");function Ox(e,t,n){return t.find(i=>i.noteId!==void 0&&!n.has(i.noteId)&&L_(e,i,!1))?.noteId??void 0}s(Ox,"findRemoteContentMatchId");const cm={...He,...Ho};async function Rx(e,t){const n=performance.now(),{allFilePaths:r,ankiConnectOptions:i,ankiWeb:u,basePath:a,checkDatabase:o,dryRun:l,fetchAdapter:c=br(),fileAdapter:f=await Bn(),manageFilenames:h,maxFilenameLength:m,namespace:p,obsidianVault:g,strictLineBreaks:E,strictMatching:A,syncMediaAssets:D}=Oe(cm,t??{}),C=e.map(te=>ut(te)),T=a===void 0?void 0:ut(a),I=r.map(te=>ut(te)),v=Qt(p),_=await Mo(C,{allFilePaths:I,basePath:T,fetchAdapter:c,fileAdapter:f,namespace:v,obsidianVault:g,strictLineBreaks:E,syncMediaAssets:D}),L=await am(_,{dryRun:l,fileAdapter:f,manageFilenames:h,maxFilenameLength:m});if(g!==void 0&&L.some(se=>se.filePath!==se.filePathOriginal)){const se=L.map(S=>S.filePath),Ce=I.map(S=>{const Be=L.find(tt=>tt.filePathOriginal===S);return Be?Be.filePath:S}),qe=await Mo(se,{allFilePaths:Ce,basePath:T,fetchAdapter:c,fileAdapter:f,namespace:v,obsidianVault:g,strictLineBreaks:E,syncMediaAssets:D});for(const[S,Be]of L.entries())Be.note=qe[S].note}const x=L.map(te=>te.note),{deletedDecks:w,deletedMedia:F,fixedDatabase:q,synced:M}=await lm(x,{ankiConnectOptions:i,ankiWeb:u,checkDatabase:o,dryRun:l,namespace:v,strictMatching:A}),Y=M.filter(te=>te.action!=="deleted");for(const[te,se]of L.entries()){const Ce=Y[te];if((se.note.noteId===void 0||se.note.noteId!==Ce.note.noteId)&&Ce.action!=="ankiUnreachable"){const qe=await xx(se.markdown,Ce.note.noteId);l||await f.writeFile(se.filePath,qe)}Ce.filePath=se.filePath,Ce.filePathOriginal=se.filePathOriginal}const K=[...M.filter(te=>te.action==="deleted").map(te=>({action:"deleted",filePath:void 0,filePathOriginal:void 0,note:te.note})),...Y].sort((te,se)=>(te.filePath??"").localeCompare(se.filePath??""));return{ankiWeb:u,deletedDecks:w,deletedMedia:F,dryRun:l,duration:performance.now()-n,fixedDatabase:q,namespace:v,synced:K}}s(Rx,"syncFiles");function Px(e,t=!1){const n=[],{synced:r}=e,i=r.reduce((l,c)=>(l[c.action]=(l[c.action]||0)+1,l),{}),u=r.filter(l=>l.action!=="deleted").length,a=r.filter(l=>l.filePath!==l.filePathOriginal).length,o=i.ankiUnreachable>0;if(n.push(`${e.dryRun?"Will sync":o?"Failed to sync":"Successfully synced"} ${u} ${fn("note",u)} to Anki${e.dryRun?"":` in ${Ds(e.duration)}`}.`),t){n.push("",e.dryRun?"Sync Plan Summary:":"Sync Summary:");for(const[l,c]of Object.entries(i))n.push(` ${$u(l)}: ${c}`);a>0&&n.push("",`Local notes renamed: ${a}`),e.deletedDecks.length>0&&n.push("",`Decks pruned: ${e.deletedDecks.length}`),e.deletedMedia.length>0&&n.push("",`Media assets deleted: ${e.deletedMedia.length}`),e.dryRun||n.push("",`Database automatically fixed: ${e.fixedDatabase?"Yes":"No"}`),n.push("",e.dryRun?"Sync Plan Details:":"Sync Details:");for(const{action:l,filePath:c,note:f}of r)c===void 0?n.push(` Note ID ${f.noteId} ${$u(l)} (From Anki)`):n.push(` Note ID ${f.noteId} ${$u(l)} ${c}`)}return n.join(`
|
|
961
961
|
`)}s(Px,"formatSyncFilesResult");export{Qd as a,H_ as b,P_ as c,Kd as d,om as e,M_ as f,Bx as g,Uo as h,Nx as i,wx as j,cm as k,U_ as l,Px as m,Rx as n,Ho as o,lm as p,sm as q,_x as r,Fx as s,um as t,f_ as u,h_ as v,Wn as w,He as x,ut as y};
|