@jetcrab/pi-desk-sdk 0.0.0-stage → 1.0.1-dev.9001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +4 -2
- package/dist/browser.d.ts +388 -0
- package/dist/browser.js +66 -0
- package/dist/capabilities.d.ts +104 -0
- package/dist/capabilities.js +89 -0
- package/dist/entry.d.ts +137 -0
- package/dist/entry.js +11 -0
- package/dist/errors.d.ts +8 -0
- package/dist/errors.js +14 -0
- package/dist/host-runtime/base.js +284 -0
- package/dist/host-runtime/markdown.js +130 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/react-base.d.ts +33 -0
- package/dist/react-base.js +120 -0
- package/dist/react-log.d.ts +12 -0
- package/dist/react-log.js +99 -0
- package/dist/react-markdown.d.ts +5 -0
- package/dist/react-markdown.js +16 -0
- package/dist/react-ui.d.ts +197 -0
- package/dist/react-ui.js +310 -0
- package/dist/react.d.ts +2 -0
- package/dist/react.js +2 -0
- package/dist/session.d.ts +155 -0
- package/dist/session.js +167 -0
- package/dist/settings.d.ts +24 -0
- package/dist/settings.js +22 -0
- package/dist/shared.d.ts +31 -0
- package/dist/shared.js +11 -0
- package/package.json +118 -3
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
var HE=Object.create;var oo=Object.defineProperty;var UE=Object.getOwnPropertyDescriptor;var zE=Object.getOwnPropertyNames;var jE=Object.getPrototypeOf,qE=Object.prototype.hasOwnProperty;var b=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&(t=e(e=0)),t}catch(n){throw r=[n],n}};var _n=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},tn=(e,t)=>{for(var r in t)oo(e,r,{get:t[r],enumerable:!0})},YE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of zE(t))!qE.call(e,i)&&i!==r&&oo(e,i,{get:()=>t[i],enumerable:!(n=UE(t,i))||n.enumerable});return e};var zl=(e,t,r)=>(r=e!=null?HE(jE(e)):{},YE(t||!e||!e.__esModule?oo(r,"default",{value:e,enumerable:!0}):r,e));function Cr(e){return e!==null&&(e<32||e===127)}function U(e){return e!==null&&e<-2}function te(e){return e!==null&&(e<0||e===32)}function Q(e){return e===-2||e===-1||e===32}function sr(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}var Be,we,fc,Sn,hc,pc,_r,vt,ce=b(()=>{Be=sr(/[A-Za-z]/),we=sr(/[\dA-Za-z]/),fc=sr(/[#-'*+\--9=?A-Z^-~]/);Sn=sr(/\d/),hc=sr(/[\dA-Fa-f]/),pc=sr(/[!-/:-@[-`{-~]/);_r=sr(/\p{P}|\p{S}/u),vt=sr(/\s/)});function Ee(e,t,r,n){let i=e.length,a=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)o=Array.from(n),o.unshift(t,r),e.splice(...o);else for(r&&e.splice(t,r);a<n.length;)o=n.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function Oe(e,t){return e.length>0?(Ee(e,e.length,0,t),e):t}var At=b(()=>{});function mt(e,t,r){let n=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}var Sr=b(()=>{});function RT(e){let t=[],r=-1;for(;++r<e.length;)t[r]=ur(e[r]);return yi(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function OT(e){let t=e;return yi(r);function r(n){let i=n,a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function DT(e){return yi(t);function t(r){return r&&r.type===e}}function yi(e){return t;function t(r,n,i){return!!(MT(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function PT(){return!0}function MT(e){return e!==null&&typeof e=="object"&&"type"in e}var ur,$c=b(()=>{ur=(function(e){if(e==null)return PT;if(typeof e=="function")return yi(e);if(typeof e=="object")return Array.isArray(e)?RT(e):OT(e);if(typeof e=="string")return DT(e);throw new Error("Expected function, string, or object as test")})});var Ci=b(()=>{$c()});function wr(e,t,r,n){let i;typeof t=="function"&&typeof r!="function"?(n=r,r=t):i=t;let a=ur(i),o=n?-1:1;s(e,void 0,[])();function s(u,c,d){let f=u&&typeof u=="object"?u:{};if(typeof f.type=="string"){let p=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(u.type+(p?"<"+p+">":""))+")"})}return h;function h(){let p=Qc,m,k,_;if((!t||a(u,c,d[d.length-1]||void 0))&&(p=vT(r(u,d)),p[0]===Ir))return p;if("children"in u&&u.children){let A=u;if(A.children&&p[0]!==yt)for(k=(n?A.children.length:-1)+o,_=d.concat(A);k>-1&&k<A.children.length;){let R=A.children[k];if(m=s(R,k,_)(),m[0]===Ir)return m;k=typeof m[1]=="number"?m[1]:k+o}}return p}}}function vT(e){return Array.isArray(e)?e:typeof e=="number"?[Qt,e]:e==null?Qc:[e]}var Qc,Qt,Ir,yt,Xc=b(()=>{Ci();Qc=[],Qt=!0,Ir=!1,yt="skip"});var On=b(()=>{Xc()});function ze(e,t,r,n){let i,a,o;typeof t=="function"&&typeof r!="function"?(a=void 0,o=t,i=r):(a=t,o=r,i=n),wr(e,a,s,i);function s(u,c){let d=c[c.length-1],f=d?d.children.indexOf(u):void 0;return o(u,f,d)}}var Kc=b(()=>{On();On()});var Nr=b(()=>{Kc()});function td({defaultOrigin:e="",allowedLinkPrefixes:t=[],allowedImagePrefixes:r=[],allowDataImages:n=!1,allowedProtocols:i=[],blockedImageClass:a="inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",blockedLinkClass:o="text-gray-500",linkBlockPolicy:s=nn.indicator,imageBlockPolicy:u=nn.indicator}){let c=t.length&&!t.every(f=>f==="*"),d=r.length&&!r.every(f=>f==="*");if(!e&&(c||d))throw new Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return f=>{let h=XT(e,t,r,n,i,a,o,s,u);rd(f),ze(f,h)}}function Jc(e,t){if(typeof e!="string")return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}if(e.startsWith("/")||e.startsWith("./")||e.startsWith("../"))try{return new URL(e,"http://example.com")}catch{return null}return null}}function VT(e){return typeof e!="string"?!1:e.startsWith("/")||e.startsWith("./")||e.startsWith("../")}function ed(e,t,r,n=!1,i=!1,a=[]){if(!e)return null;if(typeof e=="string"&&e.startsWith("#")&&!i)try{if(new URL(e,"http://example.com").hash===e)return e}catch{}if(typeof e=="string"&&e.startsWith("data:"))return i&&n&&e.startsWith("data:image/")?e:null;if(typeof e=="string"&&e.startsWith("blob:")){try{if(new URL(e).protocol==="blob:"&&e.length>5){let d=e.substring(5);if(d&&d.length>0&&d!=="invalid")return e}}catch{return null}return null}let o=Jc(e,r);if(!o||WT.has(o.protocol)||!(GT.has(o.protocol)||a.includes(o.protocol)||a.includes("*")))return null;if(o.protocol==="mailto:"||!o.protocol.match(/^https?:$/))return o.href;let u=VT(e);return o&&t.some(c=>{let d=Jc(c,r);return!d||d.origin!==o.origin?!1:o.href.startsWith(d.href)})?u?o.pathname+o.search+o.hash:o.href:t.includes("*")?o.protocol!=="https:"&&o.protocol!=="http:"?null:u?o.pathname+o.search+o.hash:o.href:null}function rd(e){if("children"in e&&Array.isArray(e.children)){e.children=e.children.filter(t=>t!=null);for(let t of e.children)rd(t)}}function $T(e,t,r){return t===nn.remove?{type:"remove"}:t===nn.textOnly?{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[...e.children]}}:{type:"replace",element:{type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(e.properties.href),class:r},children:[...e.children,{type:"text",value:" [blocked]"}]}}}function QT(e,t,r){if(t===nn.remove)return{type:"remove"};if(t===nn.textOnly){let n=String(e.properties.alt||"");return n?{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[{type:"text",value:n}]}}:{type:"remove"}}return{type:"replace",element:{type:"element",tagName:"span",properties:{class:r},children:[{type:"text",value:"[Image blocked: "+String(e.properties.alt||"No description")+"]"}]}}}var nn,GT,WT,ko,XT,nd=b(()=>{Nr();nn={indicator:"indicator",textOnly:"text-only",remove:"remove"};GT=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:","blob:"]),WT=new Set(["javascript:","data:","file:","vbscript:"]);ko=Symbol("node-seen");XT=(e,t,r,n,i,a,o,s,u)=>{let c=(d,f,h)=>{if(d.type!=="element"||d[ko])return Qt;if(d.tagName==="a"){let p=ed(d.properties.href,t,e,!1,!1,i);if(p===null){if(d[ko]=!0,ze(d,c),h&&typeof f=="number"){let m=$T(d,s,o);if(m.type==="remove")return h.children.splice(f,1),[yt,f];h.children[f]=m.element}return yt}else return d.properties.href=p,d.properties.target="_blank",d.properties.rel="noopener noreferrer",Qt}if(d.tagName==="img"){let p=ed(d.properties.src,r,e,n,!0,i);if(p===null){if(d[ko]=!0,ze(d,c),h&&typeof f=="number"){let m=QT(d,u,a);if(m.type==="remove")return h.children.splice(f,1),[yt,f];h.children[f]=m.element}return yt}else return d.properties.src=p,Qt}return Qt};return c}});var ld,id,e2,Co,cd=b(()=>{ld=typeof self=="object"?self:globalThis,id=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new ld[e](t)},e2=(e,t)=>{let r=(i,a)=>(e.set(a,i),i),n=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return r(o,i);case 1:{let s=r([],i);for(let u of o)s.push(n(u));return s}case 2:{let s=r({},i);for(let[u,c]of o)s[n(u)]=n(c);return s}case 3:return r(new Date(o),i);case 4:{let{source:s,flags:u}=o;return r(new RegExp(s,u),i)}case 5:{let s=r(new Map,i);for(let[u,c]of o)s.set(n(u),n(c));return s}case 6:{let s=r(new Set,i);for(let u of o)s.add(n(u));return s}case 7:{let{name:s,message:u}=o;return r(typeof ld[s]=="function"?id(s,u):new Error(u),i)}case 8:return r(BigInt(o),i);case"BigInt":return r(Object(BigInt(o)),i);case"ArrayBuffer":return r(new Uint8Array(o).buffer,o);case"DataView":{let{buffer:s}=new Uint8Array(o);return r(new DataView(s),o)}}return r(id(a,o),i)};return n},Co=e=>e2(new Map,e)(0)});var Lr,t2,r2,Dn,Si,n2,_o,dd=b(()=>{Lr="",{toString:t2}={},{keys:r2}=Object,Dn=e=>{let t=typeof e;if(t!=="object"||!e)return[0,t];let r=t2.call(e).slice(8,-1);switch(r){case"Array":return[1,Lr];case"Object":return[2,Lr];case"Date":return[3,Lr];case"RegExp":return[4,Lr];case"Map":return[5,Lr];case"Set":return[6,Lr];case"DataView":return[1,r]}return r.includes("Array")?[1,r]:e instanceof Error?[7,e.name||"Error"]:[2,r]},Si=([e,t])=>e===0&&(t==="function"||t==="symbol"),n2=(e,t,r,n)=>{let i=(o,s)=>{let u=n.push(o)-1;return r.set(s,u),u},a=o=>{if(r.has(o))return r.get(o);let[s,u]=Dn(o);switch(s){case 0:{let d=o;switch(u){case"bigint":s=8,d=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);d=null;break;case"undefined":return i([-1],o)}return i([s,d],o)}case 1:{if(u){let h=o;return u==="DataView"?h=new Uint8Array(o.buffer):u==="ArrayBuffer"&&(h=new Uint8Array(o)),i([u,[...h]],o)}let d=[],f=i([s,d],o);for(let h of o)d.push(a(h));return f}case 2:{if(u)switch(u){case"BigInt":return i([u,o.toString()],o);case"Boolean":case"Number":case"String":return i([u,o.valueOf()],o)}if(t&&"toJSON"in o)return a(o.toJSON());let d=[],f=i([s,d],o);for(let h of r2(o))(e||!Si(Dn(o[h])))&&d.push([a(h),a(o[h])]);return f}case 3:return i([s,isNaN(o.getTime())?Lr:o.toISOString()],o);case 4:{let{source:d,flags:f}=o;return i([s,{source:d,flags:f}],o)}case 5:{let d=[],f=i([s,d],o);for(let[h,p]of o)(e||!(Si(Dn(h))||Si(Dn(p))))&&d.push([a(h),a(p)]);return f}case 6:{let d=[],f=i([s,d],o);for(let h of o)(e||!Si(Dn(h)))&&d.push(a(h));return f}}let{message:c}=o;return i([s,{name:u,message:c}],o)};return a},_o=(e,{json:t,lossy:r}={})=>{let n=[];return n2(!(t||r),!!t,new Map,n)(e),n}});var Ct,Pn=b(()=>{cd();dd();Ct=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Co(_o(e,t)):structuredClone(e):(e,t)=>Co(_o(e,t))});var Xt,So=b(()=>{Xt=class{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}};Xt.prototype.normal={};Xt.prototype.property={};Xt.prototype.space=void 0});function Io(e,t){let r={},n={};for(let i of e)Object.assign(r,i.property),Object.assign(n,i.normal);return new Xt(r,n,t)}var fd=b(()=>{So()});function Kt(e){return e.toLowerCase()}var Ii=b(()=>{});var je,wo=b(()=>{je=class{constructor(t,r){this.attribute=r,this.property=t}};je.prototype.attribute="";je.prototype.booleanish=!1;je.prototype.boolean=!1;je.prototype.commaOrSpaceSeparated=!1;je.prototype.commaSeparated=!1;je.prototype.defined=!1;je.prototype.mustUseProperty=!1;je.prototype.number=!1;je.prototype.overloadedBoolean=!1;je.prototype.property="";je.prototype.spaceSeparated=!1;je.prototype.space=void 0});var Mn={};tn(Mn,{boolean:()=>K,booleanish:()=>Ne,commaOrSpaceSeparated:()=>ct,commaSeparated:()=>Zt,number:()=>B,overloadedBoolean:()=>wi,spaceSeparated:()=>pe});function Rr(){return 2**++i2}var i2,K,Ne,wi,B,pe,Zt,ct,vn=b(()=>{i2=0,K=Rr(),Ne=Rr(),wi=Rr(),B=Rr(),pe=Rr(),Zt=Rr(),ct=Rr()});function hd(e,t,r){r&&(e[t]=r)}var No,Or,Lo=b(()=>{wo();vn();No=Object.keys(Mn),Or=class extends je{constructor(t,r,n,i){let a=-1;if(super(t,r),hd(this,"space",i),typeof n=="number")for(;++a<No.length;){let o=No[a];hd(this,No[a],(n&Mn[o])===Mn[o])}}};Or.prototype.defined=!0});function gt(e){let t={},r={};for(let[n,i]of Object.entries(e.properties)){let a=new Or(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[Kt(n)]=n,r[Kt(a.attribute)]=n}return new Xt(t,r,e.space)}var Dr=b(()=>{Ii();Lo();So()});var Ro,pd=b(()=>{Dr();vn();Ro=gt({properties:{ariaActiveDescendant:null,ariaAtomic:Ne,ariaAutoComplete:null,ariaBusy:Ne,ariaChecked:Ne,ariaColCount:B,ariaColIndex:B,ariaColSpan:B,ariaControls:pe,ariaCurrent:null,ariaDescribedBy:pe,ariaDetails:null,ariaDisabled:Ne,ariaDropEffect:pe,ariaErrorMessage:null,ariaExpanded:Ne,ariaFlowTo:pe,ariaGrabbed:Ne,ariaHasPopup:null,ariaHidden:Ne,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:pe,ariaLevel:B,ariaLive:null,ariaModal:Ne,ariaMultiLine:Ne,ariaMultiSelectable:Ne,ariaOrientation:null,ariaOwns:pe,ariaPlaceholder:null,ariaPosInSet:B,ariaPressed:Ne,ariaReadOnly:Ne,ariaRelevant:null,ariaRequired:Ne,ariaRoleDescription:pe,ariaRowCount:B,ariaRowIndex:B,ariaRowSpan:B,ariaSelected:Ne,ariaSetSize:B,ariaSort:null,ariaValueMax:B,ariaValueMin:B,ariaValueNow:B,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}})});function Ni(e,t){return t in e?e[t]:t}var Oo=b(()=>{});function Li(e,t){return Ni(e,t.toLowerCase())}var Do=b(()=>{Oo()});var md,gd=b(()=>{Do();Dr();vn();md=gt({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Zt,acceptCharset:pe,accessKey:pe,action:null,allow:null,allowFullScreen:K,allowPaymentRequest:K,allowUserMedia:K,alpha:K,alt:null,as:null,async:K,autoCapitalize:null,autoComplete:pe,autoFocus:K,autoPlay:K,blocking:pe,capture:null,charSet:null,checked:K,cite:null,className:pe,closedBy:null,colorSpace:null,cols:B,colSpan:B,command:null,commandFor:null,content:null,contentEditable:Ne,controls:K,controlsList:pe,coords:B|Zt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:K,defer:K,dir:null,dirName:null,disabled:K,download:wi,draggable:Ne,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:K,formTarget:null,headers:pe,height:B,hidden:wi,high:B,href:null,hrefLang:null,htmlFor:pe,httpEquiv:pe,id:null,imageSizes:null,imageSrcSet:null,inert:K,inputMode:null,integrity:null,is:null,isMap:K,itemId:null,itemProp:pe,itemRef:pe,itemScope:K,itemType:pe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:K,low:B,manifest:null,max:null,maxLength:B,media:null,method:null,min:null,minLength:B,multiple:K,muted:K,name:null,nonce:null,noModule:K,noValidate:K,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:K,optimum:B,pattern:null,ping:pe,placeholder:null,playsInline:K,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:K,referrerPolicy:null,rel:pe,required:K,reversed:K,rows:B,rowSpan:B,sandbox:pe,scope:null,scoped:K,seamless:K,selected:K,shadowRootClonable:K,shadowRootCustomElementRegistry:K,shadowRootDelegatesFocus:K,shadowRootMode:null,shadowRootSerializable:K,shape:null,size:B,sizes:null,slot:null,span:B,spellCheck:Ne,src:null,srcDoc:null,srcLang:null,srcSet:null,start:B,step:null,style:null,tabIndex:B,target:null,title:null,translate:null,type:null,typeMustMatch:K,useMap:null,value:Ne,width:B,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:pe,axis:null,background:null,bgColor:null,border:B,borderColor:null,bottomMargin:B,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:K,declare:K,event:null,face:null,frame:null,frameBorder:null,hSpace:B,leftMargin:B,link:null,longDesc:null,lowSrc:null,marginHeight:B,marginWidth:B,noResize:K,noHref:K,noShade:K,noWrap:K,object:null,profile:null,prompt:null,rev:null,rightMargin:B,rules:null,scheme:null,scrolling:Ne,standby:null,summary:null,text:null,topMargin:B,valueType:null,version:null,vAlign:null,vLink:null,vSpace:B,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:K,disablePictureInPicture:K,disableRemotePlayback:K,exportParts:Zt,part:pe,prefix:null,property:null,results:B,security:null,unselectable:null},space:"html",transform:Li})});var bd,Ed=b(()=>{Oo();Dr();vn();bd=gt({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",maskType:"mask-type",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:ct,accentHeight:B,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:B,amplitude:B,arabicForm:null,ascent:B,attributeName:null,attributeType:null,azimuth:B,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:B,by:null,calcMode:null,capHeight:B,className:pe,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:B,diffuseConstant:B,direction:null,display:null,dur:null,divisor:B,dominantBaseline:null,download:K,dx:null,dy:null,edgeMode:null,editable:null,elevation:B,enableBackground:null,end:null,event:null,exponent:B,externalResourcesRequired:null,fill:null,fillOpacity:B,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:Zt,g2:Zt,glyphName:Zt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:B,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:B,horizOriginX:B,horizOriginY:B,id:null,ideographic:B,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:B,k:B,k1:B,k2:B,k3:B,k4:B,kernelMatrix:ct,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:B,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:B,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:B,overlineThickness:B,paintOrder:null,panose1:null,path:null,pathLength:B,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:pe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:B,pointsAtY:B,pointsAtZ:B,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ct,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ct,rev:ct,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ct,requiredFeatures:ct,requiredFonts:ct,requiredFormats:ct,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:B,specularExponent:B,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:B,strikethroughThickness:B,string:null,stroke:null,strokeDashArray:ct,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:B,strokeOpacity:B,strokeWidth:null,style:null,surfaceScale:B,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ct,tabIndex:B,tableValues:null,target:null,targetX:B,targetY:B,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ct,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:B,underlineThickness:B,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:B,values:null,vAlphabetic:B,vMathematical:B,vectorEffect:null,vHanging:B,vIdeographic:B,version:null,vertAdvY:B,vertOriginX:B,vertOriginY:B,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:B,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Ni})});var Po,Td=b(()=>{Dr();Po=gt({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()}})});var Mo,xd=b(()=>{Dr();Do();Mo=gt({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Li})});var vo,kd=b(()=>{Dr();vo=gt({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}})});var Bo,Ad=b(()=>{Bo={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"}});function Jt(e,t){let r=Kt(t),n=t,i=je;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&o2.test(t)){if(t.charAt(4)==="-"){let a=t.slice(5).replace(yd,u2);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{let a=t.slice(4);if(!yd.test(a)){let o=a.replace(a2,s2);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Or}return new i(n,t)}function s2(e){return"-"+e.toLowerCase()}function u2(e){return e.charAt(1).toUpperCase()}var a2,yd,o2,Cd=b(()=>{Lo();wo();Ii();a2=/[A-Z]/g,yd=/-[a-z]/g,o2=/^data[-\w.:]+$/i});var er,bt,an=b(()=>{fd();pd();gd();Ed();Td();xd();kd();Ad();Cd();Ii();er=Io([Ro,md,Po,Mo,vo],"html"),bt=Io([Ro,bd,Po,Mo,vo],"svg")});function Fo(e){let t=[],r=String(e||""),n=r.indexOf(","),i=0,a=!1;for(;!a;){n===-1&&(n=r.length,a=!0);let o=r.slice(i,n).trim();(o||!a)&&t.push(o),i=n+1,n=r.indexOf(",",i)}return t}function Ri(e,t){let r=t||{};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}var Oi=b(()=>{});function Ho(e,t){let r=e||"",n={},i=0,a,o;for(;i<r.length;){_d.lastIndex=i;let s=_d.exec(r),u=r.slice(i,s?s.index:r.length);u&&(a?a==="#"?n.id=u:Array.isArray(n.className)?n.className.push(u):n.className=[u]:o=u,i+=u.length),s&&(a=s[0],i++)}return{type:"element",tagName:o||t||"div",properties:n,children:[]}}var _d,Sd=b(()=>{_d=/[#.]/g});var Id=b(()=>{Sd()});function Uo(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Di(e){return e.join(" ").trim()}var Pi=b(()=>{});function jo(e,t,r){let n=r?f2(r):void 0;function i(a,o,...s){let u;if(a==null){u={type:"root",children:[]};let c=o;s.unshift(c)}else{u=Ho(a,t);let c=u.tagName.toLowerCase(),d=n?n.get(c):void 0;if(u.tagName=d||c,l2(o))s.unshift(o);else for(let[f,h]of Object.entries(o))c2(e,u.properties,f,h)}for(let c of s)zo(u.children,c);return u.type==="element"&&u.tagName==="template"&&(u.content={type:"root",children:u.children},u.children=[]),u}return i}function l2(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;let t=e,r=Object.keys(e);for(let n of r){let i=t[n];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;let a=i;for(let o of a)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function c2(e,t,r,n){let i=Jt(e,r),a;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;a=n}else typeof n=="boolean"?a=n:typeof n=="string"?i.spaceSeparated?a=Uo(n):i.commaSeparated?a=Fo(n):i.commaOrSpaceSeparated?a=Uo(Fo(n).join(" ")):a=wd(i,i.property,n):Array.isArray(n)?a=[...n]:a=i.property==="style"?d2(n):String(n);if(Array.isArray(a)){let o=[];for(let s of a)o.push(wd(i,i.property,s));a=o}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function zo(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(let r of t)zo(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?zo(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function wd(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||Kt(r)===Kt(t)))return!0}return r}function d2(e){let t=[];for(let[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function f2(e){let t=new Map;for(let r of e)t.set(r.toLowerCase(),r);return t}var Nd=b(()=>{Oi();Id();an();Pi()});var Ld,Rd=b(()=>{Ld=["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"]});var qo,Yo,Od=b(()=>{an();Nd();Rd();qo=jo(er,"div"),Yo=jo(bt,"g",Ld)});var Dd=b(()=>{Od()});function Vo(e){let t=String(e),r=[];return{toOffset:i,toPoint:n};function n(a){if(typeof a=="number"&&a>-1&&a<=t.length){let o=0;for(;;){let s=r[o];if(s===void 0){let u=Pd(t,r[o-1]);s=u===-1?t.length+1:u+1,r[o]=s}if(s>a)return{line:o+1,column:a-(o>0?r[o-1]:0)+1,offset:a};o++}}}function i(a){if(a&&typeof a.line=="number"&&typeof a.column=="number"&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;r.length<a.line;){let s=r[r.length-1],u=Pd(t,s),c=u===-1?t.length+1:u+1;if(s===c)break;r.push(c)}let o=(a.line>1?r[a.line-2]:0)+a.column-1;if(o<r[a.line-1])return o}}}function Pd(e,t){let r=e.indexOf("\r",t),n=e.indexOf(`
|
|
2
|
+
`,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}var Md=b(()=>{});var vd=b(()=>{Md()});var Bt,Mi=b(()=>{Bt={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/"}});function Go(e,t){let r=t||{};return Wo({file:r.file||void 0,location:!1,schema:r.space==="svg"?bt:er,verbose:r.verbose||!1},e)}function Wo(e,t){let r;switch(t.nodeName){case"#comment":{let n=t;return r={type:"comment",value:n.data},vi(e,n,r),r}case"#document":case"#document-fragment":{let n=t,i="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:Hd(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){let a=String(e.file),o=Vo(a),s=o.toPoint(0),u=o.toPoint(a.length);r.position={start:s,end:u}}return r}case"#documentType":{let n=t;return r={type:"doctype"},vi(e,n,r),r}case"#text":{let n=t;return r={type:"text",value:n.value},vi(e,n,r),r}default:return r=p2(e,t),r}}function Hd(e,t){let r=-1,n=[];for(;++r<t.length;){let i=Wo(e,t[r]);n.push(i)}return n}function p2(e,t){let r=e.schema;e.schema=t.namespaceURI===Bt.svg?bt:er;let n=-1,i={};for(;++n<t.attrs.length;){let s=t.attrs[n],u=(s.prefix?s.prefix+":":"")+s.name;Fd.call(h2,u)||(i[u]=s.value)}let o=(e.schema.space==="svg"?Yo:qo)(t.tagName,i,Hd(e,t.childNodes));if(vi(e,t,o),o.tagName==="template"){let s=t,u=s.sourceCodeLocation,c=u&&u.startTag&&on(u.startTag),d=u&&u.endTag&&on(u.endTag),f=Wo(e,s.content);c&&d&&e.file&&(f.position={start:c.end,end:d.start}),o.content=f}return e.schema=r,o}function vi(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let n=m2(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function m2(e,t,r){let n=on(r);if(t.type==="element"){let i=t.children[t.children.length-1];if(n&&!r.endTag&&i&&i.position&&i.position.end&&(n.end=Object.assign({},i.position.end)),e.verbose){let a={},o;if(r.attrs)for(o in r.attrs)Fd.call(r.attrs,o)&&(a[Jt(e.schema,o).property]=on(r.attrs[o]));r.startTag;let s=on(r.startTag),u=r.endTag?on(r.endTag):void 0,c={opening:s};u&&(c.closing=u),c.properties=a,t.data={position:c}}}return n}function on(e){let t=Bd({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=Bd({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function Bd(e){return e.line&&e.column?e:void 0}var Fd,h2,Ud=b(()=>{Dd();an();vd();Mi();Fd={}.hasOwnProperty,h2=Object.prototype});var zd=b(()=>{Ud()});function Bi(e,t){let r=t||{};function n(i,...a){let o=n.invalid,s=n.handlers;if(i&&jd.call(i,e)){let u=String(i[e]);o=jd.call(s,u)?s[u]:n.unknown}if(o)return o.call(this,i,...a)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}var jd,$o=b(()=>{jd={}.hasOwnProperty});function Qo(e,t){let n=(t||g2).space;return qd(e,n==="svg"?bt:er)}function E2(e,t){let r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=Xo(e.children,r,t),sn(e,r),r}function T2(e,t){let r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=Xo(e.children,r,t),sn(e,r),r}function x2(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return sn(e,t),t}function k2(e){let t={nodeName:"#text",value:e.value,parentNode:null};return sn(e,t),t}function A2(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return sn(e,t),t}function y2(e,t){let r=t,n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=bt);let i=[],a;if(e.properties){for(a in e.properties)if(a!=="children"&&b2.call(e.properties,a)){let u=C2(n,a,e.properties[a]);u&&i.push(u)}}let o=n.space;let s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Bt[o],childNodes:[],parentNode:null};return s.childNodes=Xo(e.children,s,n),sn(e,s),e.tagName==="template"&&e.content&&(s.content=T2(e.content,n)),s}function C2(e,t,r){let n=Jt(e,t);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?Ri(r):Di(r));let i={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){let a=i.name.indexOf(":");a<0?i.prefix="":(i.name=i.name.slice(a+1),i.prefix=n.attribute.slice(0,a)),i.namespace=Bt[n.space]}return i}function Xo(e,t,r){let n=-1,i=[];if(e)for(;++n<e.length;){let a=qd(e[n],r);a.parentNode=t,i.push(a)}return i}function sn(e,t){let r=e.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}var g2,b2,qd,Yd=b(()=>{Oi();an();Pi();Mi();$o();g2={},b2={}.hasOwnProperty,qd=Bi("type",{handlers:{root:E2,element:y2,text:k2,comment:A2,doctype:x2}})});var Vd=b(()=>{Yd()});var Gd,Wd=b(()=>{Gd=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"]});function Fi(e){return e>=55296&&e<=57343}function $d(e){return e>=56320&&e<=57343}function Qd(e,t){return(e-55296)*1024+9216+t}function Hi(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Ui(e){return e>=64976&&e<=65007||_2.has(e)}var _2,xe,g,tt,zi=b(()=>{_2=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]),xe="\uFFFD";(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"})(g||(g={}));tt={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"}});var L,Bn=b(()=>{(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"})(L||(L={}))});var I2,ji,Xd=b(()=>{zi();Bn();I2=65536,ji=class{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=I2,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,r){let{line:n,col:i,offset:a}=this,o=i+r,s=a+r;return{code:t,startLine:n,endLine:n,startCol:o,endCol:o,startOffset:s,endOffset:s}}_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){let r=this.html.charCodeAt(this.pos+1);if($d(r))return this.pos++,this._addGap(),Qd(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,g.EOF;return this._err(L.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,r){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,r){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){let r=this.pos+t;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,g.EOF;let n=this.html.charCodeAt(r);return n===g.CARRIAGE_RETURN?g.LINE_FEED:n}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,g.EOF;let t=this.html.charCodeAt(this.pos);return t===g.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,g.LINE_FEED):t===g.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Fi(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===g.LINE_FEED||t===g.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Hi(t)?this._err(L.controlCharacterInInputStream):Ui(t)&&this._err(L.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}});var lr={};tn(lr,{TokenType:()=>se,getTokenAttr:()=>Fn});function Fn(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}var se,qi=b(()=>{(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"})(se||(se={}))});var Yi,Ko=b(()=>{Yi=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)))});var Zo=b(()=>{});function es(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=w2.get(e))!==null&&t!==void 0?t:e}var Jo,w2,Kd,ts=b(()=>{w2=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]]),Kd=(Jo=String.fromCodePoint)!==null&&Jo!==void 0?Jo:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t}});function rs(e){return e>=Ye.ZERO&&e<=Ye.NINE}function R2(e){return e>=Ye.UPPER_A&&e<=Ye.UPPER_F||e>=Ye.LOWER_A&&e<=Ye.LOWER_F}function O2(e){return e>=Ye.UPPER_A&&e<=Ye.UPPER_Z||e>=Ye.LOWER_A&&e<=Ye.LOWER_Z||rs(e)}function D2(e){return e===Ye.EQUALS||O2(e)}function P2(e,t,r,n){let i=(t&cr.BRANCH_LENGTH)>>7,a=t&cr.JUMP_TABLE;if(i===0)return a!==0&&n===a?r:-1;if(a){let u=n-a;return u<0||u>=i?-1:e[r+u]-1}let o=r,s=o+i-1;for(;o<=s;){let u=o+s>>>1,c=e[u];if(c<n)o=u+1;else if(c>n)s=u-1;else return e[u+i]}return-1}var Ye,L2,cr,qe,Ft,Vi,Zd=b(()=>{Ko();Zo();ts();Ko();Zo();ts();(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"})(Ye||(Ye={}));L2=32;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(cr||(cr={}));(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"})(qe||(qe={}));(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ft||(Ft={}));Vi=class{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=qe.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ft.Strict}startEntity(t){this.decodeMode=t,this.state=qe.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case qe.EntityStart:return t.charCodeAt(r)===Ye.NUM?(this.state=qe.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=qe.NamedEntity,this.stateNamedEntity(t,r));case qe.NumericStart:return this.stateNumericStart(t,r);case qe.NumericDecimal:return this.stateNumericDecimal(t,r);case qe.NumericHex:return this.stateNumericHex(t,r);case qe.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|L2)===Ye.LOWER_X?(this.state=qe.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=qe.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,i){if(r!==n){let a=n-r;this.result=this.result*Math.pow(i,a)+Number.parseInt(t.substr(r,a),i),this.consumed+=a}}stateNumericHex(t,r){let n=r;for(;r<t.length;){let i=t.charCodeAt(r);if(rs(i)||R2(i))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){let n=r;for(;r<t.length;){let i=t.charCodeAt(r);if(rs(i))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Ye.SEMI)this.consumed+=1;else if(this.decodeMode===Ft.Strict)return 0;return this.emitCodePoint(es(this.result),this.consumed),this.errors&&(t!==Ye.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){let{decodeTree:n}=this,i=n[this.treeIndex],a=(i&cr.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){let o=t.charCodeAt(r);if(this.treeIndex=P2(n,i,this.treeIndex+Math.max(1,a),o),this.treeIndex<0)return this.result===0||this.decodeMode===Ft.Attribute&&(a===0||D2(o))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],a=(i&cr.VALUE_LENGTH)>>14,a!==0){if(o===Ye.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Ft.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:r,decodeTree:n}=this,i=(n[r]&cr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){let{decodeTree:i}=this;return this.emitCodePoint(r===1?i[t]&~cr.VALUE_LENGTH:i[t+1],n),r===3&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case qe.NamedEntity:return this.result!==0&&(this.decodeMode!==Ft.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case qe.NumericDecimal:return this.emitNumericEntity(0,2);case qe.NumericHex:return this.emitNumericEntity(0,3);case qe.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case qe.EntityStart:return 0}}}});var Hn={};tn(Hn,{ATTRS:()=>Ht,DOCUMENT_MODE:()=>Ge,NS:()=>D,NUMBERED_HEADERS:()=>un,SPECIAL_ELEMENTS:()=>ns,TAG_ID:()=>l,TAG_NAMES:()=>S,getTagID:()=>dr,hasUnescapedText:()=>Jd});function dr(e){var t;return(t=M2.get(e))!==null&&t!==void 0?t:l.UNKNOWN}function Jd(e,t){return v2.has(e)||t&&e===S.NOSCRIPT}var D,Ht,Ge,S,l,M2,v,ns,un,v2,tr=b(()=>{(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/"})(D||(D={}));(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"})(Ht||(Ht={}));(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ge||(Ge={}));(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"})(S||(S={}));(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"})(l||(l={}));M2=new Map([[S.A,l.A],[S.ADDRESS,l.ADDRESS],[S.ANNOTATION_XML,l.ANNOTATION_XML],[S.APPLET,l.APPLET],[S.AREA,l.AREA],[S.ARTICLE,l.ARTICLE],[S.ASIDE,l.ASIDE],[S.B,l.B],[S.BASE,l.BASE],[S.BASEFONT,l.BASEFONT],[S.BGSOUND,l.BGSOUND],[S.BIG,l.BIG],[S.BLOCKQUOTE,l.BLOCKQUOTE],[S.BODY,l.BODY],[S.BR,l.BR],[S.BUTTON,l.BUTTON],[S.CAPTION,l.CAPTION],[S.CENTER,l.CENTER],[S.CODE,l.CODE],[S.COL,l.COL],[S.COLGROUP,l.COLGROUP],[S.DD,l.DD],[S.DESC,l.DESC],[S.DETAILS,l.DETAILS],[S.DIALOG,l.DIALOG],[S.DIR,l.DIR],[S.DIV,l.DIV],[S.DL,l.DL],[S.DT,l.DT],[S.EM,l.EM],[S.EMBED,l.EMBED],[S.FIELDSET,l.FIELDSET],[S.FIGCAPTION,l.FIGCAPTION],[S.FIGURE,l.FIGURE],[S.FONT,l.FONT],[S.FOOTER,l.FOOTER],[S.FOREIGN_OBJECT,l.FOREIGN_OBJECT],[S.FORM,l.FORM],[S.FRAME,l.FRAME],[S.FRAMESET,l.FRAMESET],[S.H1,l.H1],[S.H2,l.H2],[S.H3,l.H3],[S.H4,l.H4],[S.H5,l.H5],[S.H6,l.H6],[S.HEAD,l.HEAD],[S.HEADER,l.HEADER],[S.HGROUP,l.HGROUP],[S.HR,l.HR],[S.HTML,l.HTML],[S.I,l.I],[S.IMG,l.IMG],[S.IMAGE,l.IMAGE],[S.INPUT,l.INPUT],[S.IFRAME,l.IFRAME],[S.KEYGEN,l.KEYGEN],[S.LABEL,l.LABEL],[S.LI,l.LI],[S.LINK,l.LINK],[S.LISTING,l.LISTING],[S.MAIN,l.MAIN],[S.MALIGNMARK,l.MALIGNMARK],[S.MARQUEE,l.MARQUEE],[S.MATH,l.MATH],[S.MENU,l.MENU],[S.META,l.META],[S.MGLYPH,l.MGLYPH],[S.MI,l.MI],[S.MO,l.MO],[S.MN,l.MN],[S.MS,l.MS],[S.MTEXT,l.MTEXT],[S.NAV,l.NAV],[S.NOBR,l.NOBR],[S.NOFRAMES,l.NOFRAMES],[S.NOEMBED,l.NOEMBED],[S.NOSCRIPT,l.NOSCRIPT],[S.OBJECT,l.OBJECT],[S.OL,l.OL],[S.OPTGROUP,l.OPTGROUP],[S.OPTION,l.OPTION],[S.P,l.P],[S.PARAM,l.PARAM],[S.PLAINTEXT,l.PLAINTEXT],[S.PRE,l.PRE],[S.RB,l.RB],[S.RP,l.RP],[S.RT,l.RT],[S.RTC,l.RTC],[S.RUBY,l.RUBY],[S.S,l.S],[S.SCRIPT,l.SCRIPT],[S.SEARCH,l.SEARCH],[S.SECTION,l.SECTION],[S.SELECT,l.SELECT],[S.SOURCE,l.SOURCE],[S.SMALL,l.SMALL],[S.SPAN,l.SPAN],[S.STRIKE,l.STRIKE],[S.STRONG,l.STRONG],[S.STYLE,l.STYLE],[S.SUB,l.SUB],[S.SUMMARY,l.SUMMARY],[S.SUP,l.SUP],[S.TABLE,l.TABLE],[S.TBODY,l.TBODY],[S.TEMPLATE,l.TEMPLATE],[S.TEXTAREA,l.TEXTAREA],[S.TFOOT,l.TFOOT],[S.TD,l.TD],[S.TH,l.TH],[S.THEAD,l.THEAD],[S.TITLE,l.TITLE],[S.TR,l.TR],[S.TRACK,l.TRACK],[S.TT,l.TT],[S.U,l.U],[S.UL,l.UL],[S.SVG,l.SVG],[S.VAR,l.VAR],[S.WBR,l.WBR],[S.XMP,l.XMP]]);v=l,ns={[D.HTML]:new Set([v.ADDRESS,v.APPLET,v.AREA,v.ARTICLE,v.ASIDE,v.BASE,v.BASEFONT,v.BGSOUND,v.BLOCKQUOTE,v.BODY,v.BR,v.BUTTON,v.CAPTION,v.CENTER,v.COL,v.COLGROUP,v.DD,v.DETAILS,v.DIR,v.DIV,v.DL,v.DT,v.EMBED,v.FIELDSET,v.FIGCAPTION,v.FIGURE,v.FOOTER,v.FORM,v.FRAME,v.FRAMESET,v.H1,v.H2,v.H3,v.H4,v.H5,v.H6,v.HEAD,v.HEADER,v.HGROUP,v.HR,v.HTML,v.IFRAME,v.IMG,v.INPUT,v.LI,v.LINK,v.LISTING,v.MAIN,v.MARQUEE,v.MENU,v.META,v.NAV,v.NOEMBED,v.NOFRAMES,v.NOSCRIPT,v.OBJECT,v.OL,v.P,v.PARAM,v.PLAINTEXT,v.PRE,v.SCRIPT,v.SECTION,v.SELECT,v.SOURCE,v.STYLE,v.SUMMARY,v.TABLE,v.TBODY,v.TD,v.TEMPLATE,v.TEXTAREA,v.TFOOT,v.TH,v.THEAD,v.TITLE,v.TR,v.TRACK,v.UL,v.WBR,v.XMP]),[D.MATHML]:new Set([v.MI,v.MO,v.MN,v.MS,v.MTEXT,v.ANNOTATION_XML]),[D.SVG]:new Set([v.TITLE,v.FOREIGN_OBJECT,v.DESC]),[D.XLINK]:new Set,[D.XML]:new Set,[D.XMLNS]:new Set},un=new Set([v.H1,v.H2,v.H3,v.H4,v.H5,v.H6]),v2=new Set([S.STYLE,S.SCRIPT,S.XMP,S.IFRAME,S.NOEMBED,S.NOFRAMES,S.PLAINTEXT])});function B2(e){return e>=g.DIGIT_0&&e<=g.DIGIT_9}function Un(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_Z}function F2(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_Z}function fr(e){return F2(e)||Un(e)}function ef(e){return fr(e)||B2(e)}function Gi(e){return e+32}function rf(e){return e===g.SPACE||e===g.LINE_FEED||e===g.TABULATION||e===g.FORM_FEED}function tf(e){return rf(e)||e===g.SOLIDUS||e===g.GREATER_THAN_SIGN}function H2(e){return e===g.NULL?L.nullCharacterReference:e>1114111?L.characterReferenceOutsideUnicodeRange:Fi(e)?L.surrogateCharacterReference:Ui(e)?L.noncharacterCharacterReference:Hi(e)||e===g.CARRIAGE_RETURN?L.controlCharacterReference:null}var E,ye,zn,is=b(()=>{Xd();zi();qi();Zd();Bn();tr();(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"})(E||(E={}));ye={DATA:E.DATA,RCDATA:E.RCDATA,RAWTEXT:E.RAWTEXT,SCRIPT_DATA:E.SCRIPT_DATA,PLAINTEXT:E.PLAINTEXT,CDATA_SECTION:E.CDATA_SECTION};zn=class{constructor(t,r){this.options=t,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=E.DATA,this.returnState=E.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new ji(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Vi(Yi,(n,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(L.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(L.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{let i=H2(n);i&&this._err(i,1)}}:void 0)}_err(t,r=0){var n,i;(i=(n=this.handler).onParseError)===null||i===void 0||i.call(n,this.preprocessor.getError(t,r))}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;let 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,r,n){this.active=!0,this.preprocessor.write(t,r),this._runParsingLoop(),this.paused||n?.()}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 r=0;r<t;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,r){return this.preprocessor.startsWith(t,r)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:se.START_TAG,tagName:"",tagID:l.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:se.END_TAG,tagName:"",tagID:l.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:se.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:se.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,r){this.currentCharacterToken={type:t,chars:r,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,r;let n=this.currentToken;if(Fn(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){let i=(t=(r=n.location).attrs)!==null&&t!==void 0?t:r.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(L.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(){let t=this.currentToken;this.prepareToken(t),t.tagID=dr(t.tagName),t.type===se.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(L.endTagWithAttributes),t.selfClosing&&this._err(L.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 se.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case se.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case se.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){let t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:se.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,r)}_emitCodePoint(t){let r=rf(t)?se.WHITESPACE_CHARACTER:t===g.NULL?se.NULL_CHARACTER:se.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(se.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=E.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Ft.Attribute:Ft.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===E.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===E.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===E.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case E.DATA:{this._stateData(t);break}case E.RCDATA:{this._stateRcdata(t);break}case E.RAWTEXT:{this._stateRawtext(t);break}case E.SCRIPT_DATA:{this._stateScriptData(t);break}case E.PLAINTEXT:{this._statePlaintext(t);break}case E.TAG_OPEN:{this._stateTagOpen(t);break}case E.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case E.TAG_NAME:{this._stateTagName(t);break}case E.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case E.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case E.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case E.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case E.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case E.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case E.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case E.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case E.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case E.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case E.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case E.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case E.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case E.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case E.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case E.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case E.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case E.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case E.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case E.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case E.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case E.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case E.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case E.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case E.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case E.BOGUS_COMMENT:{this._stateBogusComment(t);break}case E.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case E.COMMENT_START:{this._stateCommentStart(t);break}case E.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case E.COMMENT:{this._stateComment(t);break}case E.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case E.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case E.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case E.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case E.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case E.COMMENT_END:{this._stateCommentEnd(t);break}case E.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case E.DOCTYPE:{this._stateDoctype(t);break}case E.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case E.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case E.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case E.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case E.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case E.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case E.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case E.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case E.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case E.CDATA_SECTION:{this._stateCdataSection(t);break}case E.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case E.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case E.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case E.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case g.LESS_THAN_SIGN:{this.state=E.TAG_OPEN;break}case g.AMPERSAND:{this._startCharacterReference();break}case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitCodePoint(t);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case g.AMPERSAND:{this._startCharacterReference();break}case g.LESS_THAN_SIGN:{this.state=E.RCDATA_LESS_THAN_SIGN;break}case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(xe);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case g.LESS_THAN_SIGN:{this.state=E.RAWTEXT_LESS_THAN_SIGN;break}case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(xe);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case g.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_LESS_THAN_SIGN;break}case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(xe);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(xe);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(fr(t))this._createStartTagToken(),this.state=E.TAG_NAME,this._stateTagName(t);else switch(t){case g.EXCLAMATION_MARK:{this.state=E.MARKUP_DECLARATION_OPEN;break}case g.SOLIDUS:{this.state=E.END_TAG_OPEN;break}case g.QUESTION_MARK:{this._err(L.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t);break}case g.EOF:{this._err(L.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(L.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=E.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(fr(t))this._createEndTagToken(),this.state=E.TAG_NAME,this._stateTagName(t);else switch(t){case g.GREATER_THAN_SIGN:{this._err(L.missingEndTagName),this.state=E.DATA;break}case g.EOF:{this._err(L.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(L.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){let r=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=E.BEFORE_ATTRIBUTE_NAME;break}case g.SOLIDUS:{this.state=E.SELF_CLOSING_START_TAG;break}case g.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case g.NULL:{this._err(L.unexpectedNullCharacter),r.tagName+=xe;break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(Un(t)?Gi(t):t)}}_stateRcdataLessThanSign(t){t===g.SOLIDUS?this.state=E.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=E.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){fr(t)?(this.state=E.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=E.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=E.BEFORE_ATTRIBUTE_NAME,!1;case g.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=E.SELF_CLOSING_START_TAG,!1;case g.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=E.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===g.SOLIDUS?this.state=E.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){fr(t)?(this.state=E.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case g.SOLIDUS:{this.state=E.SCRIPT_DATA_END_TAG_OPEN;break}case g.EXCLAMATION_MARK:{this.state=E.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=E.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){fr(t)?(this.state=E.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===g.HYPHEN_MINUS?(this.state=E.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===g.HYPHEN_MINUS?(this.state=E.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case g.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(xe);break}case g.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case g.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(xe);break}case g.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case g.HYPHEN_MINUS:{this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case g.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(xe);break}case g.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===g.SOLIDUS?this.state=E.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:fr(t)?(this._emitChars("<"),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){fr(t)?(this.state=E.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(tt.SCRIPT,!1)&&tf(this.preprocessor.peek(tt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<tt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case g.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case g.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(xe);break}case g.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case g.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(xe);break}case g.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case g.HYPHEN_MINUS:{this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case g.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(xe);break}case g.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===g.SOLIDUS?(this.state=E.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(tt.SCRIPT,!1)&&tf(this.preprocessor.peek(tt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<tt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=E.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.SOLIDUS:case g.GREATER_THAN_SIGN:case g.EOF:{this.state=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case g.EQUALS_SIGN:{this._err(L.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=E.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=E.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:case g.SOLIDUS:case g.GREATER_THAN_SIGN:case g.EOF:{this._leaveAttrName(),this.state=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case g.EQUALS_SIGN:{this._leaveAttrName(),this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case g.QUOTATION_MARK:case g.APOSTROPHE:case g.LESS_THAN_SIGN:{this._err(L.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.name+=xe;break}default:this.currentAttr.name+=String.fromCodePoint(Un(t)?Gi(t):t)}}_stateAfterAttributeName(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.SOLIDUS:{this.state=E.SELF_CLOSING_START_TAG;break}case g.EQUALS_SIGN:{this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case g.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=E.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:{this.state=E.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this.state=E.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(L.missingAttributeValue),this.state=E.DATA,this.emitCurrentTagToken();break}default:this.state=E.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case g.QUOTATION_MARK:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case g.AMPERSAND:{this._startCharacterReference();break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=xe;break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case g.APOSTROPHE:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case g.AMPERSAND:{this._startCharacterReference();break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=xe;break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this._leaveAttrValue(),this.state=E.BEFORE_ATTRIBUTE_NAME;break}case g.AMPERSAND:{this._startCharacterReference();break}case g.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case g.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=xe;break}case g.QUOTATION_MARK:case g.APOSTROPHE:case g.LESS_THAN_SIGN:case g.EQUALS_SIGN:case g.GRAVE_ACCENT:{this._err(L.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this._leaveAttrValue(),this.state=E.BEFORE_ATTRIBUTE_NAME;break}case g.SOLIDUS:{this._leaveAttrValue(),this.state=E.SELF_CLOSING_START_TAG;break}case g.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._err(L.missingWhitespaceBetweenAttributes),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case g.GREATER_THAN_SIGN:{let r=this.currentToken;r.selfClosing=!0,this.state=E.DATA,this.emitCurrentTagToken();break}case g.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._err(L.unexpectedSolidusInTag),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){let r=this.currentToken;switch(t){case g.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(r);break}case g.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case g.NULL:{this._err(L.unexpectedNullCharacter),r.data+=xe;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(tt.DASH_DASH,!0)?(this._createCommentToken(tt.DASH_DASH.length+1),this.state=E.COMMENT_START):this._consumeSequenceIfMatch(tt.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(tt.DOCTYPE.length+1),this.state=E.DOCTYPE):this._consumeSequenceIfMatch(tt.CDATA_START,!0)?this.inForeignNode?this.state=E.CDATA_SECTION:(this._err(L.cdataInHtmlContent),this._createCommentToken(tt.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=E.BOGUS_COMMENT):this._ensureHibernation()||(this._err(L.incorrectlyOpenedComment),this._createCommentToken(2),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case g.HYPHEN_MINUS:{this.state=E.COMMENT_START_DASH;break}case g.GREATER_THAN_SIGN:{this._err(L.abruptClosingOfEmptyComment),this.state=E.DATA;let r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=E.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){let r=this.currentToken;switch(t){case g.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case g.GREATER_THAN_SIGN:{this._err(L.abruptClosingOfEmptyComment),this.state=E.DATA,this.emitCurrentComment(r);break}case g.EOF:{this._err(L.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=E.COMMENT,this._stateComment(t)}}_stateComment(t){let r=this.currentToken;switch(t){case g.HYPHEN_MINUS:{this.state=E.COMMENT_END_DASH;break}case g.LESS_THAN_SIGN:{r.data+="<",this.state=E.COMMENT_LESS_THAN_SIGN;break}case g.NULL:{this._err(L.unexpectedNullCharacter),r.data+=xe;break}case g.EOF:{this._err(L.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){let r=this.currentToken;switch(t){case g.EXCLAMATION_MARK:{r.data+="!",this.state=E.COMMENT_LESS_THAN_SIGN_BANG;break}case g.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=E.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===g.HYPHEN_MINUS?this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=E.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===g.HYPHEN_MINUS?this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=E.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==g.GREATER_THAN_SIGN&&t!==g.EOF&&this._err(L.nestedComment),this.state=E.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){let r=this.currentToken;switch(t){case g.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case g.EOF:{this._err(L.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=E.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){let r=this.currentToken;switch(t){case g.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(r);break}case g.EXCLAMATION_MARK:{this.state=E.COMMENT_END_BANG;break}case g.HYPHEN_MINUS:{r.data+="-";break}case g.EOF:{this._err(L.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=E.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){let r=this.currentToken;switch(t){case g.HYPHEN_MINUS:{r.data+="--!",this.state=E.COMMENT_END_DASH;break}case g.GREATER_THAN_SIGN:{this._err(L.incorrectlyClosedComment),this.state=E.DATA,this.emitCurrentComment(r);break}case g.EOF:{this._err(L.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=E.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_NAME;break}case g.GREATER_THAN_SIGN:{this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case g.EOF:{this._err(L.eofInDoctype),this._createDoctypeToken(null);let r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingWhitespaceBeforeDoctypeName),this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Un(t))this._createDoctypeToken(String.fromCharCode(Gi(t))),this.state=E.DOCTYPE_NAME;else switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.NULL:{this._err(L.unexpectedNullCharacter),this._createDoctypeToken(xe),this.state=E.DOCTYPE_NAME;break}case g.GREATER_THAN_SIGN:{this._err(L.missingDoctypeName),this._createDoctypeToken(null);let r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=E.DATA;break}case g.EOF:{this._err(L.eofInDoctype),this._createDoctypeToken(null);let r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=E.DOCTYPE_NAME}}_stateDoctypeName(t){let r=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=E.AFTER_DOCTYPE_NAME;break}case g.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(r);break}case g.NULL:{this._err(L.unexpectedNullCharacter),r.name+=xe;break}case g.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(Un(t)?Gi(t):t)}}_stateAfterDoctypeName(t){let r=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(r);break}case g.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(tt.PUBLIC,!1)?this.state=E.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(tt.SYSTEM,!1)?this.state=E.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(L.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){let r=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case g.QUOTATION_MARK:{this._err(L.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this._err(L.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(L.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(r);break}case g.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){let r=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:{r.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{r.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(L.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(r);break}case g.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){let r=this.currentToken;switch(t){case g.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case g.NULL:{this._err(L.unexpectedNullCharacter),r.publicId+=xe;break}case g.GREATER_THAN_SIGN:{this._err(L.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=E.DATA;break}case g.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){let r=this.currentToken;switch(t){case g.APOSTROPHE:{this.state=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case g.NULL:{this._err(L.unexpectedNullCharacter),r.publicId+=xe;break}case g.GREATER_THAN_SIGN:{this._err(L.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=E.DATA;break}case g.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){let r=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=E.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case g.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(r);break}case g.QUOTATION_MARK:{this._err(L.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this._err(L.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){let r=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=E.DATA;break}case g.QUOTATION_MARK:{r.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{r.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){let r=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case g.QUOTATION_MARK:{this._err(L.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this._err(L.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(L.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(r);break}case g.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){let r=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:{r.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{r.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(L.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(r);break}case g.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){let r=this.currentToken;switch(t){case g.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case g.NULL:{this._err(L.unexpectedNullCharacter),r.systemId+=xe;break}case g.GREATER_THAN_SIGN:{this._err(L.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=E.DATA;break}case g.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){let r=this.currentToken;switch(t){case g.APOSTROPHE:{this.state=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case g.NULL:{this._err(L.unexpectedNullCharacter),r.systemId+=xe;break}case g.GREATER_THAN_SIGN:{this._err(L.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=E.DATA;break}case g.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){let r=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=E.DATA;break}case g.EOF:{this._err(L.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(L.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){let r=this.currentToken;switch(t){case g.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=E.DATA;break}case g.NULL:{this._err(L.unexpectedNullCharacter);break}case g.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}default:}}_stateCdataSection(t){switch(t){case g.RIGHT_SQUARE_BRACKET:{this.state=E.CDATA_SECTION_BRACKET;break}case g.EOF:{this._err(L.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===g.RIGHT_SQUARE_BRACKET?this.state=E.CDATA_SECTION_END:(this._emitChars("]"),this.state=E.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case g.GREATER_THAN_SIGN:{this.state=E.DATA;break}case g.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=E.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(g.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&ef(this.preprocessor.peek(1))?E.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){ef(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===g.SEMICOLON&&this._err(L.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}});var sf,nf,Wi,U2,z2,af,of,j2,q2,Y2,V2,$i,uf=b(()=>{tr();sf=new Set([l.DD,l.DT,l.LI,l.OPTGROUP,l.OPTION,l.P,l.RB,l.RP,l.RT,l.RTC]),nf=new Set([...sf,l.CAPTION,l.COLGROUP,l.TBODY,l.TD,l.TFOOT,l.TH,l.THEAD,l.TR]),Wi=new Set([l.APPLET,l.CAPTION,l.HTML,l.MARQUEE,l.OBJECT,l.TABLE,l.TD,l.TEMPLATE,l.TH]),U2=new Set([...Wi,l.OL,l.UL]),z2=new Set([...Wi,l.BUTTON]),af=new Set([l.ANNOTATION_XML,l.MI,l.MN,l.MO,l.MS,l.MTEXT]),of=new Set([l.DESC,l.FOREIGN_OBJECT,l.TITLE]),j2=new Set([l.TR,l.TEMPLATE,l.HTML]),q2=new Set([l.TBODY,l.TFOOT,l.THEAD,l.TEMPLATE,l.HTML]),Y2=new Set([l.TABLE,l.TEMPLATE,l.HTML]),V2=new Set([l.TD,l.TH]),$i=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=l.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===l.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===D.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,r){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,r,!0)}pop(){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,r){let n=this._indexOf(t);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(t,r,n){let i=this._indexOf(t)+1;this.items.splice(i,0,r),this.tagIDs.splice(i,0,n),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 r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(t,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==D.HTML);this.shortenToLength(Math.max(r,0))}shortenToLength(t){for(;this.stackTop>=t;){let r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<t)}}popUntilElementPopped(t){let r=this._indexOf(t);this.shortenToLength(Math.max(r,0))}popUntilPopped(t,r){let n=this._indexOfTagNames(t,r);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(un,D.HTML)}popUntilTableCellPopped(){this.popUntilPopped(V2,D.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,r){for(let n=this.stackTop;n>=0;n--)if(t.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(t,r){let n=this._indexOfTagNames(t,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Y2,D.HTML)}clearBackToTableBodyContext(){this.clearBackTo(q2,D.HTML)}clearBackToTableRowContext(){this.clearBackTo(j2,D.HTML)}remove(t){let r=this._indexOf(t);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===l.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){let r=this._indexOf(t)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===l.HTML}hasInDynamicScope(t,r){for(let n=this.stackTop;n>=0;n--){let i=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case D.HTML:{if(i===t)return!0;if(r.has(i))return!1;break}case D.SVG:{if(of.has(i))return!1;break}case D.MATHML:{if(af.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Wi)}hasInListItemScope(t){return this.hasInDynamicScope(t,U2)}hasInButtonScope(t){return this.hasInDynamicScope(t,z2)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){let r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case D.HTML:{if(un.has(r))return!0;if(Wi.has(r))return!1;break}case D.SVG:{if(of.has(r))return!1;break}case D.MATHML:{if(af.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===D.HTML)switch(this.tagIDs[r]){case t:return!0;case l.TABLE:case l.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===D.HTML)switch(this.tagIDs[t]){case l.TBODY:case l.THEAD:case l.TFOOT:return!0;case l.TABLE:case l.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===D.HTML)switch(this.tagIDs[r]){case t:return!0;case l.OPTION:case l.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&sf.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&nf.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&nf.has(this.currentTagId);)this.pop()}}});var _t,lf,Qi,cf=b(()=>{(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(_t||(_t={}));lf={type:_t.Marker},Qi=class{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,r){let n=[],i=r.length,a=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let s=0;s<this.entries.length;s++){let u=this.entries[s];if(u.type===_t.Marker)break;let{element:c}=u;if(this.treeAdapter.getTagName(c)===a&&this.treeAdapter.getNamespaceURI(c)===o){let d=this.treeAdapter.getAttrList(c);d.length===i&&n.push({idx:s,attrs:d})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<3)return;let r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<3)return;let i=new Map(r.map(o=>[o.name,o.value])),a=0;for(let o=0;o<n.length;o++){let s=n[o];s.attrs.every(u=>i.get(u.name)===u.value)&&(a+=1,a>=3&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(lf)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:_t.Element,element:t,token:r})}insertElementAfterBookmark(t,r){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:_t.Element,element:t,token:r})}removeEntry(t){let r=this.entries.indexOf(t);r!==-1&&this.entries.splice(r,1)}clearToLastMarker(){let t=this.entries.indexOf(lf);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){let r=this.entries.find(n=>n.type===_t.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===_t.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===_t.Element&&r.element===t)}}});var St,Xi=b(()=>{tr();St={createDocument(){return{nodeName:"#document",mode:Ge.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,r){return{nodeName:e,tagName:e,attrs:r,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,r){let n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,r,n){let i=e.childNodes.find(a=>a.nodeName==="#documentType");if(i)i.name=t,i.publicId=r,i.systemId=n;else{let a={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};St.appendChild(e,a)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let r=e.childNodes[e.childNodes.length-1];if(St.isTextNode(r)){r.value+=t;return}}St.appendChild(e,St.createTextNode(t))},insertTextBefore(e,t,r){let n=e.childNodes[e.childNodes.indexOf(r)-1];n&&St.isTextNode(n)?n.value+=t:St.insertBefore(e,St.createTextNode(t),r)},adoptAttributes(e,t){let r=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},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}}}});function df(e,t){return t.some(r=>e.startsWith(r))}function mf(e){return e.name===ff&&e.publicId===null&&(e.systemId===null||e.systemId===G2)}function gf(e){if(e.name!==ff)return Ge.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===W2)return Ge.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),Q2.has(r))return Ge.QUIRKS;let n=t===null?$2:hf;if(df(r,n))return Ge.QUIRKS;if(n=t===null?pf:X2,df(r,n))return Ge.LIMITED_QUIRKS}return Ge.NO_QUIRKS}var ff,G2,W2,hf,$2,Q2,pf,X2,bf=b(()=>{tr();ff="html",G2="about:legacy-compat",W2="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",hf=["+//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//"],$2=[...hf,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Q2=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),pf=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],X2=[...pf,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]});function Tf(e){let t=e.tagID;return t===l.FONT&&e.attrs.some(({name:n})=>n===Ht.COLOR||n===Ht.SIZE||n===Ht.FACE)||nx.has(t)}function as(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Z2){e.attrs[t].name=J2;break}}function os(e){for(let t=0;t<e.attrs.length;t++){let r=ex.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function Ki(e){for(let t=0;t<e.attrs.length;t++){let r=tx.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}function xf(e){let t=rx.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=dr(e.tagName))}function ix(e,t){return t===D.MATHML&&(e===l.MI||e===l.MO||e===l.MN||e===l.MS||e===l.MTEXT)}function ax(e,t,r){if(t===D.MATHML&&e===l.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===Ht.ENCODING){let i=r[n].value.toLowerCase();return i===Ef.TEXT_HTML||i===Ef.APPLICATION_XML}}return t===D.SVG&&(e===l.FOREIGN_OBJECT||e===l.DESC||e===l.TITLE)}function kf(e,t,r,n){return(!n||n===D.HTML)&&ax(e,t,r)||(!n||n===D.MATHML)&&ix(e,t)}var Ef,Z2,J2,ex,tx,rx,nx,ss=b(()=>{tr();Ef={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Z2="definitionurl",J2="definitionURL",ex=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])),tx=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:D.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:D.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:D.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:D.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:D.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:D.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:D.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:D.XML}],["xml:space",{prefix:"xml",name:"space",namespace:D.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:D.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:D.XMLNS}]]),rx=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])),nx=new Set([l.B,l.BIG,l.BLOCKQUOTE,l.BODY,l.BR,l.CENTER,l.CODE,l.DD,l.DIV,l.DL,l.DT,l.EM,l.EMBED,l.H1,l.H2,l.H3,l.H4,l.H5,l.H6,l.HEAD,l.HR,l.I,l.IMG,l.LI,l.LISTING,l.MENU,l.META,l.NOBR,l.OL,l.P,l.PRE,l.RUBY,l.S,l.SMALL,l.SPAN,l.STRONG,l.STRIKE,l.SUB,l.SUP,l.TABLE,l.TT,l.U,l.UL,l.VAR])});function cx(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):Rf(e,t),r}function dx(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){let i=e.openElements.items[n];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[n])&&(r=i)}return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}function fx(e,t,r){let n=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==r;a++,o=i){i=e.openElements.getCommonAncestor(o);let s=e.activeFormattingElements.getElementEntry(o),u=s&&a>=ux;!s||u?(u&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(o)):(o=hx(e,s),n===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(o,n),n=o)}return n}function hx(e,t){let r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function px(e,t,r){let n=e.treeAdapter.getTagName(t),i=dr(n);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(r);else{let a=e.treeAdapter.getNamespaceURI(t);i===l.TEMPLATE&&a===D.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function mx(e,t,r){let n=e.treeAdapter.getNamespaceURI(r.element),{token:i}=r,a=e.treeAdapter.createElement(i.tagName,n,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,a,i.tagID)}function ds(e,t){for(let r=0;r<sx;r++){let n=cx(e,t);if(!n)break;let i=dx(e,n);if(!i)break;e.activeFormattingElements.bookmark=n;let a=fx(e,i,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),o&&px(e,o,a),mx(e,i,n)}}function ls(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function gx(e,t){e._appendCommentNode(t,e.openElements.items[0])}function bx(e,t){e._appendCommentNode(t,e.document)}function fs(e,t){if(e.stopped=!0,t.location){let r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(n);if(i&&!i.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let a=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(a);o&&!o.endTag&&e._setEndLocation(a,t)}}}}function Ex(e,t){e._setDocumentType(t);let r=t.forceQuirks?Ge.QUIRKS:gf(t);mf(t)||e._err(t,L.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=x.BEFORE_HTML}function jn(e,t){e._err(t,L.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ge.QUIRKS),e.insertionMode=x.BEFORE_HTML,e._processToken(t)}function Tx(e,t){t.tagID===l.HTML?(e._insertElement(t,D.HTML),e.insertionMode=x.BEFORE_HEAD):Yn(e,t)}function xx(e,t){let r=t.tagID;(r===l.HTML||r===l.HEAD||r===l.BODY||r===l.BR)&&Yn(e,t)}function Yn(e,t){e._insertFakeRootElement(),e.insertionMode=x.BEFORE_HEAD,e._processToken(t)}function kx(e,t){switch(t.tagID){case l.HTML:{We(e,t);break}case l.HEAD:{e._insertElement(t,D.HTML),e.headElement=e.openElements.current,e.insertionMode=x.IN_HEAD;break}default:Vn(e,t)}}function Ax(e,t){let r=t.tagID;r===l.HEAD||r===l.BODY||r===l.HTML||r===l.BR?Vn(e,t):e._err(t,L.endTagWithoutMatchingOpenElement)}function Vn(e,t){e._insertFakeElement(S.HEAD,l.HEAD),e.headElement=e.openElements.current,e.insertionMode=x.IN_HEAD,e._processToken(t)}function It(e,t){switch(t.tagID){case l.HTML:{We(e,t);break}case l.BASE:case l.BASEFONT:case l.BGSOUND:case l.LINK:case l.META:{e._appendElement(t,D.HTML),t.ackSelfClosing=!0;break}case l.TITLE:{e._switchToTextParsing(t,ye.RCDATA);break}case l.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,ye.RAWTEXT):(e._insertElement(t,D.HTML),e.insertionMode=x.IN_HEAD_NO_SCRIPT);break}case l.NOFRAMES:case l.STYLE:{e._switchToTextParsing(t,ye.RAWTEXT);break}case l.SCRIPT:{e._switchToTextParsing(t,ye.SCRIPT_DATA);break}case l.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=x.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(x.IN_TEMPLATE);break}case l.HEAD:{e._err(t,L.misplacedStartTagForHeadElement);break}default:Gn(e,t)}}function yx(e,t){switch(t.tagID){case l.HEAD:{e.openElements.pop(),e.insertionMode=x.AFTER_HEAD;break}case l.BODY:case l.BR:case l.HTML:{Gn(e,t);break}case l.TEMPLATE:{Mr(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function Mr(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==l.TEMPLATE&&e._err(t,L.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(l.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,L.endTagWithoutMatchingOpenElement)}function Gn(e,t){e.openElements.pop(),e.insertionMode=x.AFTER_HEAD,e._processToken(t)}function Cx(e,t){switch(t.tagID){case l.HTML:{We(e,t);break}case l.BASEFONT:case l.BGSOUND:case l.HEAD:case l.LINK:case l.META:case l.NOFRAMES:case l.STYLE:{It(e,t);break}case l.NOSCRIPT:{e._err(t,L.nestedNoscriptInHead);break}default:Wn(e,t)}}function _x(e,t){switch(t.tagID){case l.NOSCRIPT:{e.openElements.pop(),e.insertionMode=x.IN_HEAD;break}case l.BR:{Wn(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function Wn(e,t){let r=t.type===se.EOF?L.openElementsLeftAfterEof:L.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=x.IN_HEAD,e._processToken(t)}function Sx(e,t){switch(t.tagID){case l.HTML:{We(e,t);break}case l.BODY:{e._insertElement(t,D.HTML),e.framesetOk=!1,e.insertionMode=x.IN_BODY;break}case l.FRAMESET:{e._insertElement(t,D.HTML),e.insertionMode=x.IN_FRAMESET;break}case l.BASE:case l.BASEFONT:case l.BGSOUND:case l.LINK:case l.META:case l.NOFRAMES:case l.SCRIPT:case l.STYLE:case l.TEMPLATE:case l.TITLE:{e._err(t,L.abandonedHeadElementChild),e.openElements.push(e.headElement,l.HEAD),It(e,t),e.openElements.remove(e.headElement);break}case l.HEAD:{e._err(t,L.misplacedStartTagForHeadElement);break}default:$n(e,t)}}function Ix(e,t){switch(t.tagID){case l.BODY:case l.HTML:case l.BR:{$n(e,t);break}case l.TEMPLATE:{Mr(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function $n(e,t){e._insertFakeElement(S.BODY,l.BODY),e.insertionMode=x.IN_BODY,ta(e,t)}function ta(e,t){switch(t.type){case se.CHARACTER:{wf(e,t);break}case se.WHITESPACE_CHARACTER:{If(e,t);break}case se.COMMENT:{ls(e,t);break}case se.START_TAG:{We(e,t);break}case se.END_TAG:{ra(e,t);break}case se.EOF:{Of(e,t);break}default:}}function If(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function wf(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function wx(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Nx(e,t){let r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function Lx(e,t){let r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,D.HTML),e.insertionMode=x.IN_FRAMESET)}function Rx(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,D.HTML)}function Ox(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&un.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,D.HTML)}function Dx(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,D.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Px(e,t){let r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,D.HTML),r||(e.formElement=e.openElements.current))}function Mx(e,t){e.framesetOk=!1;let r=t.tagID;for(let n=e.openElements.stackTop;n>=0;n--){let i=e.openElements.tagIDs[n];if(r===l.LI&&i===l.LI||(r===l.DD||r===l.DT)&&(i===l.DD||i===l.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==l.ADDRESS&&i!==l.DIV&&i!==l.P&&e._isSpecialElement(e.openElements.items[n],i))break}e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,D.HTML)}function vx(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,D.HTML),e.tokenizer.state=ye.PLAINTEXT}function Bx(e,t){e.openElements.hasInScope(l.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(l.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,D.HTML),e.framesetOk=!1}function Fx(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(S.A);r&&(ds(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,D.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Hx(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,D.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ux(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(l.NOBR)&&(ds(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,D.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function zx(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,D.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function jx(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ge.QUIRKS&&e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._insertElement(t,D.HTML),e.framesetOk=!1,e.insertionMode=x.IN_TABLE}function Nf(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,D.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Lf(e){let t=Fn(e,Ht.TYPE);return t!=null&&t.toLowerCase()===ox}function qx(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,D.HTML),Lf(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Yx(e,t){e._appendElement(t,D.HTML),t.ackSelfClosing=!0}function Vx(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._appendElement(t,D.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Gx(e,t){t.tagName=S.IMG,t.tagID=l.IMG,Nf(e,t)}function Wx(e,t){e._insertElement(t,D.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ye.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=x.TEXT}function $x(e,t){e.openElements.hasInButtonScope(l.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ye.RAWTEXT)}function Qx(e,t){e.framesetOk=!1,e._switchToTextParsing(t,ye.RAWTEXT)}function Cf(e,t){e._switchToTextParsing(t,ye.RAWTEXT)}function Xx(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,D.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===x.IN_TABLE||e.insertionMode===x.IN_CAPTION||e.insertionMode===x.IN_TABLE_BODY||e.insertionMode===x.IN_ROW||e.insertionMode===x.IN_CELL?x.IN_SELECT_IN_TABLE:x.IN_SELECT}function Kx(e,t){e.openElements.currentTagId===l.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,D.HTML)}function Zx(e,t){e.openElements.hasInScope(l.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,D.HTML)}function Jx(e,t){e.openElements.hasInScope(l.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(l.RTC),e._insertElement(t,D.HTML)}function ek(e,t){e._reconstructActiveFormattingElements(),as(t),Ki(t),t.selfClosing?e._appendElement(t,D.MATHML):e._insertElement(t,D.MATHML),t.ackSelfClosing=!0}function tk(e,t){e._reconstructActiveFormattingElements(),os(t),Ki(t),t.selfClosing?e._appendElement(t,D.SVG):e._insertElement(t,D.SVG),t.ackSelfClosing=!0}function _f(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,D.HTML)}function We(e,t){switch(t.tagID){case l.I:case l.S:case l.B:case l.U:case l.EM:case l.TT:case l.BIG:case l.CODE:case l.FONT:case l.SMALL:case l.STRIKE:case l.STRONG:{Hx(e,t);break}case l.A:{Fx(e,t);break}case l.H1:case l.H2:case l.H3:case l.H4:case l.H5:case l.H6:{Ox(e,t);break}case l.P:case l.DL:case l.OL:case l.UL:case l.DIV:case l.DIR:case l.NAV:case l.MAIN:case l.MENU:case l.ASIDE:case l.CENTER:case l.FIGURE:case l.FOOTER:case l.HEADER:case l.HGROUP:case l.DIALOG:case l.DETAILS:case l.ADDRESS:case l.ARTICLE:case l.SEARCH:case l.SECTION:case l.SUMMARY:case l.FIELDSET:case l.BLOCKQUOTE:case l.FIGCAPTION:{Rx(e,t);break}case l.LI:case l.DD:case l.DT:{Mx(e,t);break}case l.BR:case l.IMG:case l.WBR:case l.AREA:case l.EMBED:case l.KEYGEN:{Nf(e,t);break}case l.HR:{Vx(e,t);break}case l.RB:case l.RTC:{Zx(e,t);break}case l.RT:case l.RP:{Jx(e,t);break}case l.PRE:case l.LISTING:{Dx(e,t);break}case l.XMP:{$x(e,t);break}case l.SVG:{tk(e,t);break}case l.HTML:{wx(e,t);break}case l.BASE:case l.LINK:case l.META:case l.STYLE:case l.TITLE:case l.SCRIPT:case l.BGSOUND:case l.BASEFONT:case l.TEMPLATE:{It(e,t);break}case l.BODY:{Nx(e,t);break}case l.FORM:{Px(e,t);break}case l.NOBR:{Ux(e,t);break}case l.MATH:{ek(e,t);break}case l.TABLE:{jx(e,t);break}case l.INPUT:{qx(e,t);break}case l.PARAM:case l.TRACK:case l.SOURCE:{Yx(e,t);break}case l.IMAGE:{Gx(e,t);break}case l.BUTTON:{Bx(e,t);break}case l.APPLET:case l.OBJECT:case l.MARQUEE:{zx(e,t);break}case l.IFRAME:{Qx(e,t);break}case l.SELECT:{Xx(e,t);break}case l.OPTION:case l.OPTGROUP:{Kx(e,t);break}case l.NOEMBED:case l.NOFRAMES:{Cf(e,t);break}case l.FRAMESET:{Lx(e,t);break}case l.TEXTAREA:{Wx(e,t);break}case l.NOSCRIPT:{e.options.scriptingEnabled?Cf(e,t):_f(e,t);break}case l.PLAINTEXT:{vx(e,t);break}case l.COL:case l.TH:case l.TD:case l.TR:case l.HEAD:case l.FRAME:case l.TBODY:case l.TFOOT:case l.THEAD:case l.CAPTION:case l.COLGROUP:break;default:_f(e,t)}}function rk(e,t){if(e.openElements.hasInScope(l.BODY)&&(e.insertionMode=x.AFTER_BODY,e.options.sourceCodeLocationInfo)){let r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function nk(e,t){e.openElements.hasInScope(l.BODY)&&(e.insertionMode=x.AFTER_BODY,Uf(e,t))}function ik(e,t){let r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function ak(e){let t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(l.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(l.FORM):r&&e.openElements.remove(r))}function ok(e){e.openElements.hasInButtonScope(l.P)||e._insertFakeElement(S.P,l.P),e._closePElement()}function sk(e){e.openElements.hasInListItemScope(l.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(l.LI),e.openElements.popUntilTagNamePopped(l.LI))}function uk(e,t){let r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function lk(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function ck(e,t){let r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function dk(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(S.BR,l.BR),e.openElements.pop(),e.framesetOk=!1}function Rf(e,t){let r=t.tagName,n=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){let a=e.openElements.items[i],o=e.openElements.tagIDs[i];if(n===o&&(n!==l.UNKNOWN||e.treeAdapter.getTagName(a)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(a,o))break}}function ra(e,t){switch(t.tagID){case l.A:case l.B:case l.I:case l.S:case l.U:case l.EM:case l.TT:case l.BIG:case l.CODE:case l.FONT:case l.NOBR:case l.SMALL:case l.STRIKE:case l.STRONG:{ds(e,t);break}case l.P:{ok(e);break}case l.DL:case l.UL:case l.OL:case l.DIR:case l.DIV:case l.NAV:case l.PRE:case l.MAIN:case l.MENU:case l.ASIDE:case l.BUTTON:case l.CENTER:case l.FIGURE:case l.FOOTER:case l.HEADER:case l.HGROUP:case l.DIALOG:case l.ADDRESS:case l.ARTICLE:case l.DETAILS:case l.SEARCH:case l.SECTION:case l.SUMMARY:case l.LISTING:case l.FIELDSET:case l.BLOCKQUOTE:case l.FIGCAPTION:{ik(e,t);break}case l.LI:{sk(e);break}case l.DD:case l.DT:{uk(e,t);break}case l.H1:case l.H2:case l.H3:case l.H4:case l.H5:case l.H6:{lk(e);break}case l.BR:{dk(e);break}case l.BODY:{rk(e,t);break}case l.HTML:{nk(e,t);break}case l.FORM:{ak(e);break}case l.APPLET:case l.OBJECT:case l.MARQUEE:{ck(e,t);break}case l.TEMPLATE:{Mr(e,t);break}default:Rf(e,t)}}function Of(e,t){e.tmplInsertionModeStack.length>0?Hf(e,t):fs(e,t)}function fk(e,t){var r;t.tagID===l.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function hk(e,t){e._err(t,L.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function us(e,t){if(e.openElements.currentTagId!==void 0&&Sf.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=x.IN_TABLE_TEXT,t.type){case se.CHARACTER:{Pf(e,t);break}case se.WHITESPACE_CHARACTER:{Df(e,t);break}}else Xn(e,t)}function pk(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,D.HTML),e.insertionMode=x.IN_CAPTION}function mk(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,D.HTML),e.insertionMode=x.IN_COLUMN_GROUP}function gk(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(S.COLGROUP,l.COLGROUP),e.insertionMode=x.IN_COLUMN_GROUP,hs(e,t)}function bk(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,D.HTML),e.insertionMode=x.IN_TABLE_BODY}function Ek(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(S.TBODY,l.TBODY),e.insertionMode=x.IN_TABLE_BODY,na(e,t)}function Tk(e,t){e.openElements.hasInTableScope(l.TABLE)&&(e.openElements.popUntilTagNamePopped(l.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function xk(e,t){Lf(t)?e._appendElement(t,D.HTML):Xn(e,t),t.ackSelfClosing=!0}function kk(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,D.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function ln(e,t){switch(t.tagID){case l.TD:case l.TH:case l.TR:{Ek(e,t);break}case l.STYLE:case l.SCRIPT:case l.TEMPLATE:{It(e,t);break}case l.COL:{gk(e,t);break}case l.FORM:{kk(e,t);break}case l.TABLE:{Tk(e,t);break}case l.TBODY:case l.TFOOT:case l.THEAD:{bk(e,t);break}case l.INPUT:{xk(e,t);break}case l.CAPTION:{pk(e,t);break}case l.COLGROUP:{mk(e,t);break}default:Xn(e,t)}}function Qn(e,t){switch(t.tagID){case l.TABLE:{e.openElements.hasInTableScope(l.TABLE)&&(e.openElements.popUntilTagNamePopped(l.TABLE),e._resetInsertionMode());break}case l.TEMPLATE:{Mr(e,t);break}case l.BODY:case l.CAPTION:case l.COL:case l.COLGROUP:case l.HTML:case l.TBODY:case l.TD:case l.TFOOT:case l.TH:case l.THEAD:case l.TR:break;default:Xn(e,t)}}function Xn(e,t){let r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ta(e,t),e.fosterParentingEnabled=r}function Df(e,t){e.pendingCharacterTokens.push(t)}function Pf(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function qn(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)Xn(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function Ak(e,t){let r=t.tagID;Mf.has(r)?e.openElements.hasInTableScope(l.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(l.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=x.IN_TABLE,ln(e,t)):We(e,t)}function yk(e,t){let r=t.tagID;switch(r){case l.CAPTION:case l.TABLE:{e.openElements.hasInTableScope(l.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(l.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=x.IN_TABLE,r===l.TABLE&&Qn(e,t));break}case l.BODY:case l.COL:case l.COLGROUP:case l.HTML:case l.TBODY:case l.TD:case l.TFOOT:case l.TH:case l.THEAD:case l.TR:break;default:ra(e,t)}}function hs(e,t){switch(t.tagID){case l.HTML:{We(e,t);break}case l.COL:{e._appendElement(t,D.HTML),t.ackSelfClosing=!0;break}case l.TEMPLATE:{It(e,t);break}default:Ji(e,t)}}function Ck(e,t){switch(t.tagID){case l.COLGROUP:{e.openElements.currentTagId===l.COLGROUP&&(e.openElements.pop(),e.insertionMode=x.IN_TABLE);break}case l.TEMPLATE:{Mr(e,t);break}case l.COL:break;default:Ji(e,t)}}function Ji(e,t){e.openElements.currentTagId===l.COLGROUP&&(e.openElements.pop(),e.insertionMode=x.IN_TABLE,e._processToken(t))}function na(e,t){switch(t.tagID){case l.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,D.HTML),e.insertionMode=x.IN_ROW;break}case l.TH:case l.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(S.TR,l.TR),e.insertionMode=x.IN_ROW,ia(e,t);break}case l.CAPTION:case l.COL:case l.COLGROUP:case l.TBODY:case l.TFOOT:case l.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE,ln(e,t));break}default:ln(e,t)}}function cs(e,t){let r=t.tagID;switch(t.tagID){case l.TBODY:case l.TFOOT:case l.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE);break}case l.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE,Qn(e,t));break}case l.BODY:case l.CAPTION:case l.COL:case l.COLGROUP:case l.HTML:case l.TD:case l.TH:case l.TR:break;default:Qn(e,t)}}function ia(e,t){switch(t.tagID){case l.TH:case l.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,D.HTML),e.insertionMode=x.IN_CELL,e.activeFormattingElements.insertMarker();break}case l.CAPTION:case l.COL:case l.COLGROUP:case l.TBODY:case l.TFOOT:case l.THEAD:case l.TR:{e.openElements.hasInTableScope(l.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY,na(e,t));break}default:ln(e,t)}}function vf(e,t){switch(t.tagID){case l.TR:{e.openElements.hasInTableScope(l.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY);break}case l.TABLE:{e.openElements.hasInTableScope(l.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY,cs(e,t));break}case l.TBODY:case l.TFOOT:case l.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(l.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY,cs(e,t));break}case l.BODY:case l.CAPTION:case l.COL:case l.COLGROUP:case l.HTML:case l.TD:case l.TH:break;default:Qn(e,t)}}function _k(e,t){let r=t.tagID;Mf.has(r)?(e.openElements.hasInTableScope(l.TD)||e.openElements.hasInTableScope(l.TH))&&(e._closeTableCell(),ia(e,t)):We(e,t)}function Sk(e,t){let r=t.tagID;switch(r){case l.TD:case l.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=x.IN_ROW);break}case l.TABLE:case l.TBODY:case l.TFOOT:case l.THEAD:case l.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),vf(e,t));break}case l.BODY:case l.CAPTION:case l.COL:case l.COLGROUP:case l.HTML:break;default:ra(e,t)}}function Bf(e,t){switch(t.tagID){case l.HTML:{We(e,t);break}case l.OPTION:{e.openElements.currentTagId===l.OPTION&&e.openElements.pop(),e._insertElement(t,D.HTML);break}case l.OPTGROUP:{e.openElements.currentTagId===l.OPTION&&e.openElements.pop(),e.openElements.currentTagId===l.OPTGROUP&&e.openElements.pop(),e._insertElement(t,D.HTML);break}case l.HR:{e.openElements.currentTagId===l.OPTION&&e.openElements.pop(),e.openElements.currentTagId===l.OPTGROUP&&e.openElements.pop(),e._appendElement(t,D.HTML),t.ackSelfClosing=!0;break}case l.INPUT:case l.KEYGEN:case l.TEXTAREA:case l.SELECT:{e.openElements.hasInSelectScope(l.SELECT)&&(e.openElements.popUntilTagNamePopped(l.SELECT),e._resetInsertionMode(),t.tagID!==l.SELECT&&e._processStartTag(t));break}case l.SCRIPT:case l.TEMPLATE:{It(e,t);break}default:}}function Ff(e,t){switch(t.tagID){case l.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===l.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===l.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===l.OPTGROUP&&e.openElements.pop();break}case l.OPTION:{e.openElements.currentTagId===l.OPTION&&e.openElements.pop();break}case l.SELECT:{e.openElements.hasInSelectScope(l.SELECT)&&(e.openElements.popUntilTagNamePopped(l.SELECT),e._resetInsertionMode());break}case l.TEMPLATE:{Mr(e,t);break}default:}}function Ik(e,t){let r=t.tagID;r===l.CAPTION||r===l.TABLE||r===l.TBODY||r===l.TFOOT||r===l.THEAD||r===l.TR||r===l.TD||r===l.TH?(e.openElements.popUntilTagNamePopped(l.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Bf(e,t)}function wk(e,t){let r=t.tagID;r===l.CAPTION||r===l.TABLE||r===l.TBODY||r===l.TFOOT||r===l.THEAD||r===l.TR||r===l.TD||r===l.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(l.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Ff(e,t)}function Nk(e,t){switch(t.tagID){case l.BASE:case l.BASEFONT:case l.BGSOUND:case l.LINK:case l.META:case l.NOFRAMES:case l.SCRIPT:case l.STYLE:case l.TEMPLATE:case l.TITLE:{It(e,t);break}case l.CAPTION:case l.COLGROUP:case l.TBODY:case l.TFOOT:case l.THEAD:{e.tmplInsertionModeStack[0]=x.IN_TABLE,e.insertionMode=x.IN_TABLE,ln(e,t);break}case l.COL:{e.tmplInsertionModeStack[0]=x.IN_COLUMN_GROUP,e.insertionMode=x.IN_COLUMN_GROUP,hs(e,t);break}case l.TR:{e.tmplInsertionModeStack[0]=x.IN_TABLE_BODY,e.insertionMode=x.IN_TABLE_BODY,na(e,t);break}case l.TD:case l.TH:{e.tmplInsertionModeStack[0]=x.IN_ROW,e.insertionMode=x.IN_ROW,ia(e,t);break}default:e.tmplInsertionModeStack[0]=x.IN_BODY,e.insertionMode=x.IN_BODY,We(e,t)}}function Lk(e,t){t.tagID===l.TEMPLATE&&Mr(e,t)}function Hf(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(l.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):fs(e,t)}function Rk(e,t){t.tagID===l.HTML?We(e,t):ea(e,t)}function Uf(e,t){var r;if(t.tagID===l.HTML){if(e.fragmentContext||(e.insertionMode=x.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===l.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];n&&!(!((r=e.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&e._setEndLocation(n,t)}}else ea(e,t)}function ea(e,t){e.insertionMode=x.IN_BODY,ta(e,t)}function Ok(e,t){switch(t.tagID){case l.HTML:{We(e,t);break}case l.FRAMESET:{e._insertElement(t,D.HTML);break}case l.FRAME:{e._appendElement(t,D.HTML),t.ackSelfClosing=!0;break}case l.NOFRAMES:{It(e,t);break}default:}}function Dk(e,t){t.tagID===l.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==l.FRAMESET&&(e.insertionMode=x.AFTER_FRAMESET))}function Pk(e,t){switch(t.tagID){case l.HTML:{We(e,t);break}case l.NOFRAMES:{It(e,t);break}default:}}function Mk(e,t){t.tagID===l.HTML&&(e.insertionMode=x.AFTER_AFTER_FRAMESET)}function vk(e,t){t.tagID===l.HTML?We(e,t):Zi(e,t)}function Zi(e,t){e.insertionMode=x.IN_BODY,ta(e,t)}function Bk(e,t){switch(t.tagID){case l.HTML:{We(e,t);break}case l.NOFRAMES:{It(e,t);break}default:}}function Fk(e,t){t.chars=xe,e._insertCharacters(t)}function Hk(e,t){e._insertCharacters(t),e.framesetOk=!1}function zf(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==D.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Uk(e,t){if(Tf(t))zf(e),e._startTagOutsideForeignContent(t);else{let r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===D.MATHML?as(t):n===D.SVG&&(xf(t),os(t)),Ki(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function zk(e,t){if(t.tagID===l.P||t.tagID===l.BR){zf(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){let n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===D.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(n);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(r);break}}}var ox,sx,ux,x,lx,Sf,yf,Pr,Mf,ps=b(()=>{is();uf();cf();Xi();bf();ss();Bn();zi();tr();qi();ox="hidden",sx=8,ux=3;(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"})(x||(x={}));lx={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Sf=new Set([l.TABLE,l.TBODY,l.TFOOT,l.THEAD,l.TR]),yf={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:St,onParseError:null},Pr=class{constructor(t,r,n=null,i=null){this.fragmentContext=n,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=x.INITIAL,this.originalInsertionMode=x.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={...yf,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r??this.treeAdapter.createDocument(),this.tokenizer=new zn(this.options,this),this.activeFormattingElements=new Qi(this.treeAdapter),this.fragmentContextID=n?dr(this.treeAdapter.getTagName(n)):l.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new $i(this.document,this.treeAdapter,this)}static parse(t,r){let n=new this(r);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,r){let n={...yf,...r};t??(t=n.treeAdapter.createElement(S.TEMPLATE,D.HTML,[]));let i=n.treeAdapter.createElement("documentmock",D.HTML,[]),a=new this(n,i,t);return a.fragmentContextID===l.TEMPLATE&&a.tmplInsertionModeStack.unshift(x.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){let t=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,r),r}_err(t,r,n){var i;if(!this.onParseError)return;let a=(i=t.location)!==null&&i!==void 0?i:lx,o={code:r,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:n?a.startLine:a.endLine,endCol:n?a.startCol:a.endCol,endOffset:n?a.startOffset:a.endOffset};this.onParseError(o)}onItemPush(t,r,n){var i,a;(a=(i=this.treeAdapter).onItemPush)===null||a===void 0||a.call(i,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,r)}onItemPop(t,r){var n,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(n=this.treeAdapter).onItemPop)===null||i===void 0||i.call(n,t,this.openElements.current),r){let a,o;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,o=this.fragmentContextID):{current:a,currentTagId:o}=this.openElements,this._setContextModes(a,o)}}_setContextModes(t,r){let n=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===D.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,D.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=x.TEXT}switchToPlaintextParsing(){this.insertionMode=x.TEXT,this.originalInsertionMode=x.IN_BODY,this.tokenizer.state=ye.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)===S.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==D.HTML))switch(this.fragmentContextID){case l.TITLE:case l.TEXTAREA:{this.tokenizer.state=ye.RCDATA;break}case l.STYLE:case l.XMP:case l.IFRAME:case l.NOEMBED:case l.NOFRAMES:case l.NOSCRIPT:{this.tokenizer.state=ye.RAWTEXT;break}case l.SCRIPT:{this.tokenizer.state=ye.SCRIPT_DATA;break}case l.PLAINTEXT:{this.tokenizer.state=ye.PLAINTEXT;break}default:}}_setDocumentType(t){let r=t.name||"",n=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,i),t.location){let o=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){let n=r&&{...r,startTag:r};this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{let n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n??this.document,t)}}_appendElement(t,r){let n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,r){let n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,r){let n=this.treeAdapter.createElement(t,D.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){let r=this.treeAdapter.createElement(t.tagName,D.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let t=this.treeAdapter.createElement(S.HTML,D.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,l.HTML)}_appendCommentNode(t,r){let n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,t.chars,n):this.treeAdapter.insertText(r,t.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,t.chars)),!t.location)return;let i=this.treeAdapter.getChildNodes(r),a=n?i.lastIndexOf(n):i.length,o=i[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){let{endLine:u,endCol:c,endOffset:d}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:u,endCol:c,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,r){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(t,r){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&r.location){let n=r.location,i=this.treeAdapter.getTagName(t),a=r.type===se.END_TAG&&i===r.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,t.tagID===l.SVG&&this.treeAdapter.getTagName(r)===S.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===D.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===l.MGLYPH||t.tagID===l.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,D.HTML)}_processToken(t){switch(t.type){case se.CHARACTER:{this.onCharacter(t);break}case se.NULL_CHARACTER:{this.onNullCharacter(t);break}case se.COMMENT:{this.onComment(t);break}case se.DOCTYPE:{this.onDoctype(t);break}case se.START_TAG:{this._processStartTag(t);break}case se.END_TAG:{this.onEndTag(t);break}case se.EOF:{this.onEof(t);break}case se.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){let i=this.treeAdapter.getNamespaceURI(r),a=this.treeAdapter.getAttrList(r);return kf(t,i,a,n)}_reconstructActiveFormattingElements(){let t=this.activeFormattingElements.entries.length;if(t){let r=this.activeFormattingElements.entries.findIndex(i=>i.type===_t.Marker||this.openElements.contains(i.element)),n=r===-1?t-1:r-1;for(let i=n;i>=0;i--){let a=this.activeFormattingElements.entries[i];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=x.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(l.P),this.openElements.popUntilTagNamePopped(l.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case l.TR:{this.insertionMode=x.IN_ROW;return}case l.TBODY:case l.THEAD:case l.TFOOT:{this.insertionMode=x.IN_TABLE_BODY;return}case l.CAPTION:{this.insertionMode=x.IN_CAPTION;return}case l.COLGROUP:{this.insertionMode=x.IN_COLUMN_GROUP;return}case l.TABLE:{this.insertionMode=x.IN_TABLE;return}case l.BODY:{this.insertionMode=x.IN_BODY;return}case l.FRAMESET:{this.insertionMode=x.IN_FRAMESET;return}case l.SELECT:{this._resetInsertionModeForSelect(t);return}case l.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case l.HTML:{this.insertionMode=this.headElement?x.AFTER_HEAD:x.BEFORE_HEAD;return}case l.TD:case l.TH:{if(t>0){this.insertionMode=x.IN_CELL;return}break}case l.HEAD:{if(t>0){this.insertionMode=x.IN_HEAD;return}break}}this.insertionMode=x.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){let n=this.openElements.tagIDs[r];if(n===l.TEMPLATE)break;if(n===l.TABLE){this.insertionMode=x.IN_SELECT_IN_TABLE;return}}this.insertionMode=x.IN_SELECT}_isElementCausesFosterParenting(t){return Sf.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--){let r=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case l.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===D.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case l.TABLE:{let n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[t-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){let r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,t,r.beforeElement):this.treeAdapter.appendChild(r.parent,t)}_isSpecialElement(t,r){let n=this.treeAdapter.getNamespaceURI(t);return ns[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Hk(this,t);return}switch(this.insertionMode){case x.INITIAL:{jn(this,t);break}case x.BEFORE_HTML:{Yn(this,t);break}case x.BEFORE_HEAD:{Vn(this,t);break}case x.IN_HEAD:{Gn(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Wn(this,t);break}case x.AFTER_HEAD:{$n(this,t);break}case x.IN_BODY:case x.IN_CAPTION:case x.IN_CELL:case x.IN_TEMPLATE:{wf(this,t);break}case x.TEXT:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{us(this,t);break}case x.IN_TABLE_TEXT:{Pf(this,t);break}case x.IN_COLUMN_GROUP:{Ji(this,t);break}case x.AFTER_BODY:{ea(this,t);break}case x.AFTER_AFTER_BODY:{Zi(this,t);break}default:}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Fk(this,t);return}switch(this.insertionMode){case x.INITIAL:{jn(this,t);break}case x.BEFORE_HTML:{Yn(this,t);break}case x.BEFORE_HEAD:{Vn(this,t);break}case x.IN_HEAD:{Gn(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Wn(this,t);break}case x.AFTER_HEAD:{$n(this,t);break}case x.TEXT:{this._insertCharacters(t);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{us(this,t);break}case x.IN_COLUMN_GROUP:{Ji(this,t);break}case x.AFTER_BODY:{ea(this,t);break}case x.AFTER_AFTER_BODY:{Zi(this,t);break}default:}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){ls(this,t);return}switch(this.insertionMode){case x.INITIAL:case x.BEFORE_HTML:case x.BEFORE_HEAD:case x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:case x.IN_BODY:case x.IN_TABLE:case x.IN_CAPTION:case x.IN_COLUMN_GROUP:case x.IN_TABLE_BODY:case x.IN_ROW:case x.IN_CELL:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:case x.IN_TEMPLATE:case x.IN_FRAMESET:case x.AFTER_FRAMESET:{ls(this,t);break}case x.IN_TABLE_TEXT:{qn(this,t);break}case x.AFTER_BODY:{gx(this,t);break}case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{bx(this,t);break}default:}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case x.INITIAL:{Ex(this,t);break}case x.BEFORE_HEAD:case x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:{this._err(t,L.misplacedDoctype);break}case x.IN_TABLE_TEXT:{qn(this,t);break}default:}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,L.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Uk(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case x.INITIAL:{jn(this,t);break}case x.BEFORE_HTML:{Tx(this,t);break}case x.BEFORE_HEAD:{kx(this,t);break}case x.IN_HEAD:{It(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Cx(this,t);break}case x.AFTER_HEAD:{Sx(this,t);break}case x.IN_BODY:{We(this,t);break}case x.IN_TABLE:{ln(this,t);break}case x.IN_TABLE_TEXT:{qn(this,t);break}case x.IN_CAPTION:{Ak(this,t);break}case x.IN_COLUMN_GROUP:{hs(this,t);break}case x.IN_TABLE_BODY:{na(this,t);break}case x.IN_ROW:{ia(this,t);break}case x.IN_CELL:{_k(this,t);break}case x.IN_SELECT:{Bf(this,t);break}case x.IN_SELECT_IN_TABLE:{Ik(this,t);break}case x.IN_TEMPLATE:{Nk(this,t);break}case x.AFTER_BODY:{Rk(this,t);break}case x.IN_FRAMESET:{Ok(this,t);break}case x.AFTER_FRAMESET:{Pk(this,t);break}case x.AFTER_AFTER_BODY:{vk(this,t);break}case x.AFTER_AFTER_FRAMESET:{Bk(this,t);break}default:}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?zk(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case x.INITIAL:{jn(this,t);break}case x.BEFORE_HTML:{xx(this,t);break}case x.BEFORE_HEAD:{Ax(this,t);break}case x.IN_HEAD:{yx(this,t);break}case x.IN_HEAD_NO_SCRIPT:{_x(this,t);break}case x.AFTER_HEAD:{Ix(this,t);break}case x.IN_BODY:{ra(this,t);break}case x.TEXT:{fk(this,t);break}case x.IN_TABLE:{Qn(this,t);break}case x.IN_TABLE_TEXT:{qn(this,t);break}case x.IN_CAPTION:{yk(this,t);break}case x.IN_COLUMN_GROUP:{Ck(this,t);break}case x.IN_TABLE_BODY:{cs(this,t);break}case x.IN_ROW:{vf(this,t);break}case x.IN_CELL:{Sk(this,t);break}case x.IN_SELECT:{Ff(this,t);break}case x.IN_SELECT_IN_TABLE:{wk(this,t);break}case x.IN_TEMPLATE:{Lk(this,t);break}case x.AFTER_BODY:{Uf(this,t);break}case x.IN_FRAMESET:{Dk(this,t);break}case x.AFTER_FRAMESET:{Mk(this,t);break}case x.AFTER_AFTER_BODY:{Zi(this,t);break}default:}}onEof(t){switch(this.insertionMode){case x.INITIAL:{jn(this,t);break}case x.BEFORE_HTML:{Yn(this,t);break}case x.BEFORE_HEAD:{Vn(this,t);break}case x.IN_HEAD:{Gn(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Wn(this,t);break}case x.AFTER_HEAD:{$n(this,t);break}case x.IN_BODY:case x.IN_TABLE:case x.IN_CAPTION:case x.IN_COLUMN_GROUP:case x.IN_TABLE_BODY:case x.IN_ROW:case x.IN_CELL:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:{Of(this,t);break}case x.TEXT:{hk(this,t);break}case x.IN_TABLE_TEXT:{qn(this,t);break}case x.IN_TEMPLATE:{Hf(this,t);break}case x.AFTER_BODY:case x.IN_FRAMESET:case x.AFTER_FRAMESET:case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{fs(this,t);break}default:}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===g.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 x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:case x.TEXT:case x.IN_COLUMN_GROUP:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:case x.IN_FRAMESET:case x.AFTER_FRAMESET:{this._insertCharacters(t);break}case x.IN_BODY:case x.IN_CAPTION:case x.IN_CELL:case x.IN_TEMPLATE:case x.AFTER_BODY:case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{If(this,t);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{us(this,t);break}case x.IN_TABLE_TEXT:{Df(this,t);break}default:}}};Mf=new Set([l.CAPTION,l.COL,l.COLGROUP,l.TBODY,l.TD,l.TFOOT,l.TH,l.THEAD,l.TR])});var jL,jf=b(()=>{jL=String.prototype.codePointAt==null?(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t):(e,t)=>e.codePointAt(t)});var QL,qf=b(()=>{tr();jf();Xi();QL=new Set([S.AREA,S.BASE,S.BASEFONT,S.BGSOUND,S.BR,S.COL,S.EMBED,S.FRAME,S.HR,S.IMG,S.INPUT,S.KEYGEN,S.LINK,S.META,S.PARAM,S.SOURCE,S.TRACK,S.WBR])});var Yf=b(()=>{ps();Xi();ps();qf();Bn();ss();tr();qi();is()});function Vf(e){return t;function t(r){let n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function Kn(e){let t=dt(e),r=vr(e);if(t&&r)return{start:t,end:r}}var vr,dt,Gf=b(()=>{vr=Vf("end"),dt=Vf("start")});var cn=b(()=>{Gf()});function aa(e,t){let r=Jk(e),n=Bi("type",{handlers:{root:Yk,element:Vk,text:Gk,comment:Qf,doctype:Wk,raw:Qk},unknown:Xk}),i={parser:r?new Pr(Wf):Pr.getFragmentParser(void 0,Wf),handle(s){n(s,i)},stitches:!1,options:t||{}};n(e,i),dn(i,dt());let a=r?i.parser.document:i.parser.getFragment(),o=Go(a,{file:i.options.file});return i.stitches&&ze(o,"comment",function(s,u,c){let d=s;if(d.value.stitch&&c&&u!==void 0){let f=c.children;return f[u]=d.value.stitch,u}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function $f(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function Yk(e,t){$f(e.children,t)}function Vk(e,t){Kk(e,t),$f(e.children,t),Zk(e,t)}function Gk(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let r={type:lr.TokenType.CHARACTER,chars:e.value,location:Zn(e)};dn(t,dt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Wk(e,t){let r={type:lr.TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Zn(e)};dn(t,dt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function $k(e,t){t.stitches=!0;let r=e3(e);if("children"in e&&"children"in r){let n=aa({type:"root",children:e.children},t.options);r.children=n.children}Qf({type:"comment",value:{stitch:r}},t)}function Qf(e,t){let r=e.value,n={type:lr.TokenType.COMMENT,data:r,location:Zn(e)};dn(t,dt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Qk(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,Xf(t,dt(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(jk,"<$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;let r=t.parser.tokenizer._consume();t.parser.tokenizer._callState(r)}}function Xk(e,t){let r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))$k(r,t);else{let n="";throw qk.has(r.type)&&(n=". 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 `"+r.type+"` node"+n)}}function dn(e,t){Xf(e,t);let r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,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=ye.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function Xf(e,t){if(t&&t.offset!==void 0){let r={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=r}}function Kk(e,t){let r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ye.PLAINTEXT)return;dn(t,dt(e));let n=t.parser.openElements.current,i="namespaceURI"in n?n.namespaceURI:Bt.html;i===Bt.html&&r==="svg"&&(i=Bt.svg);let a=Qo({...e,children:[]},{space:i===Bt.svg?"svg":"html"}),o={type:lr.TokenType.START_TAG,tagName:r,tagID:Hn.getTagID(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:Zn(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function Zk(e,t){let r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Gd.includes(r)||t.parser.tokenizer.state===ye.PLAINTEXT)return;dn(t,vr(e));let n={type:lr.TokenType.END_TAG,tagName:r,tagID:Hn.getTagID(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Zn(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ye.RCDATA||t.parser.tokenizer.state===ye.RAWTEXT||t.parser.tokenizer.state===ye.SCRIPT_DATA)&&(t.parser.tokenizer.state=ye.DATA)}function Jk(e){let t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Zn(e){let t=dt(e)||{line:void 0,column:void 0,offset:void 0},r=vr(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function e3(e){return"children"in e?Ct({...e,children:[]}):Ct(e)}var jk,qk,Wf,Kf=b(()=>{Pn();zd();Vd();Wd();Yf();cn();Nr();Mi();$o();jk=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,qk=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Wf={sourceCodeLocationInfo:!0,scriptingEnabled:!1}});var Zf=b(()=>{Kf()});function fn(e){return function(t,r){return aa(t,{...e,file:r})}}var Jf=b(()=>{Zf()});var eh=b(()=>{Jf()});var Br,wt,ms=b(()=>{Br=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],wt={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Br,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Br],h2:[["className","sr-only"]],img:[...Br,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Br,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Br],table:[...Br],ul:[...Br,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]}});function gs(e,t){let r={type:"root",children:[]},n={schema:t?{...wt,...t}:wt,stack:[]},i=nh(n,e);return i&&(Array.isArray(i)?i.length===1?r=i[0]:r.children=i:r=i),r}function nh(e,t){if(t&&typeof t=="object"){let r=t;switch(typeof r.type=="string"?r.type:""){case"comment":return t3(e,r);case"doctype":return r3(e,r);case"element":return n3(e,r);case"root":return i3(e,r);case"text":return a3(e,r);default:}}}function t3(e,t){if(e.schema.allowComments){let r=typeof t.value=="string"?t.value:"",n=r.indexOf("-->"),a={type:"comment",value:n<0?r:r.slice(0,n)};return Jn(a,t),a}}function r3(e,t){if(e.schema.allowDoctypes){let r={type:"doctype"};return Jn(r,t),r}}function n3(e,t){let r=typeof t.tagName=="string"?t.tagName:"";e.stack.push(r);let n=ih(e,t.children),i=o3(e,t.properties);e.stack.pop();let a=!1;if(r&&r!=="*"&&(!e.schema.tagNames||e.schema.tagNames.includes(r))&&(a=!0,e.schema.ancestors&&hr.call(e.schema.ancestors,r))){let s=e.schema.ancestors[r],u=-1;for(a=!1;++u<s.length;)e.stack.includes(s[u])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(r)?n:void 0;let o={type:"element",tagName:r,properties:i,children:n};return Jn(o,t),o}function i3(e,t){let n={type:"root",children:ih(e,t.children)};return Jn(n,t),n}function a3(e,t){let n={type:"text",value:typeof t.value=="string"?t.value:""};return Jn(n,t),n}function ih(e,t){let r=[];if(Array.isArray(t)){let n=t,i=-1;for(;++i<n.length;){let a=nh(e,n[i]);a&&(Array.isArray(a)?r.push(...a):r.push(a))}}return r}function o3(e,t){let r=e.stack[e.stack.length-1],n=e.schema.attributes,i=e.schema.required,a=n&&hr.call(n,r)?n[r]:void 0,o=n&&hr.call(n,"*")?n["*"]:void 0,s=t&&typeof t=="object"?t:{},u={},c;for(c in s)if(hr.call(s,c)){let d=s[c],f=th(e,rh(a,c),c,d);f==null&&(f=th(e,rh(o,c),c,d)),f!=null&&(u[c]=f)}if(i&&hr.call(i,r)){let d=i[r];for(c in d)hr.call(d,c)&&!hr.call(u,c)&&(u[c]=d[c])}return u}function th(e,t,r,n){return t?Array.isArray(n)?s3(e,t,r,n):ah(e,t,r,n):void 0}function s3(e,t,r,n){let i=-1,a=[];for(;++i<n.length;){let o=ah(e,t,r,n[i]);(typeof o=="number"||typeof o=="string")&&a.push(o)}return a}function ah(e,t,r,n){if(!(typeof n!="boolean"&&typeof n!="number"&&typeof n!="string")&&u3(e,r,n)){if(typeof t=="object"&&t.length>1){let i=!1,a=0;for(;++a<t.length;){let o=t[a];if(o&&typeof o=="object"&&"flags"in o){if(o.test(String(n))){i=!0;break}}else if(o===n){i=!0;break}}if(!i)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(r)?e.schema.clobberPrefix+n:n}}function u3(e,t,r){let n=e.schema.protocols&&hr.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!n||n.length===0)return!0;let i=String(r),a=i.indexOf(":"),o=i.indexOf("?"),s=i.indexOf("#"),u=i.indexOf("/");if(a<0||u>-1&&a>u||o>-1&&a>o||s>-1&&a>s)return!0;let c=-1;for(;++c<n.length;){let d=n[c];if(a===d.length&&i.slice(0,d.length)===d)return!0}return!1}function Jn(e,t){let r=Kn(t);t.data&&(e.data=Ct(t.data)),r&&(e.position=r)}function rh(e,t){let r,n=-1;if(e)for(;++n<e.length;){let i=e[n],a=typeof i=="string"?i:i[0];if(a===t)return i;a==="data*"&&(r=i)}if(t.length>4&&t.slice(0,4).toLowerCase()==="data")return r}var hr,oh=b(()=>{Pn();cn();ms();hr={}.hasOwnProperty});var bs=b(()=>{oh();ms()});function ei(e){return function(t){return gs(t,e)}}var sh=b(()=>{bs()});var uh=b(()=>{bs();sh()});function Es(e,t){let r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,i=r.indexOf(t);for(;i!==-1;)n++,i=r.indexOf(t,i+t.length);return n}var lh=b(()=>{});function Ts(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ch=b(()=>{});function xs(e,t,r){let i=ur((r||{}).ignore||[]),a=l3(t),o=-1;for(;++o<a.length;)wr(e,"text",s);function s(c,d){let f=-1,h;for(;++f<d.length;){let p=d[f],m=h?h.children:void 0;if(i(p,m?m.indexOf(p):void 0,h))return;h=p}if(h)return u(c,d)}function u(c,d){let f=d[d.length-1],h=a[o][0],p=a[o][1],m=0,_=f.children.indexOf(c),A=!1,R=[];h.lastIndex=0;let N=h.exec(c.value);for(;N;){let F=N.index,M={index:N.index,input:N.input,stack:[...d,c]},I=p(...N,M);if(typeof I=="string"&&(I=I.length>0?{type:"text",value:I}:void 0),I===!1?h.lastIndex=F+1:(m!==F&&R.push({type:"text",value:c.value.slice(m,F)}),Array.isArray(I)?R.push(...I):I&&R.push(I),m=F+N[0].length,A=!0),!h.global)break;N=h.exec(c.value)}return A?(m<c.value.length&&R.push({type:"text",value:c.value.slice(m)}),f.children.splice(_,1,...R)):R=[c],_+R.length}}function l3(e){let t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");let r=!e[0]||Array.isArray(e[0])?e:[e],n=-1;for(;++n<r.length;){let i=r[n];t.push([c3(i[0]),d3(i[1])])}return t}function c3(e){return typeof e=="string"?new RegExp(Ts(e),"g"):e}function d3(e){return typeof e=="function"?e:function(){return e}}var dh=b(()=>{ch();On();Ci()});var fh=b(()=>{dh()});function Cs(){return{transforms:[b3],enter:{literalAutolink:f3,literalAutolinkEmail:ys,literalAutolinkHttp:ys,literalAutolinkWww:ys},exit:{literalAutolink:g3,literalAutolinkEmail:m3,literalAutolinkHttp:h3,literalAutolinkWww:p3}}}function _s(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ks,notInConstruct:As},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ks,notInConstruct:As},{character:":",before:"[ps]",after:"\\/",inConstruct:ks,notInConstruct:As}]}}function f3(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function ys(e){this.config.enter.autolinkProtocol.call(this,e)}function h3(e){this.config.exit.autolinkProtocol.call(this,e)}function p3(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function m3(e){this.config.exit.autolinkEmail.call(this,e)}function g3(e){this.exit(e)}function b3(e){xs(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,E3],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,T3]],{ignore:["link","linkReference"]})}function E3(e,t,r,n,i){let a="";if(!hh(i)||(/^w/i.test(t)&&(r=t+r,t="",a="http://"),!x3(r)))return!1;let o=k3(r+n);if(!o[0])return!1;let s={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[s,{type:"text",value:o[1]}]:s}function T3(e,t,r,n){return!hh(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function x3(e){let 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])))}function k3(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")"),i=Es(e,"("),a=Es(e,")");for(;n!==-1&&i>a;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),a++;return[e,r]}function hh(e,t){let r=e.input.charCodeAt(e.index-1);return(e.index===0||vt(r)||_r(r))&&(!t||r!==47)}var ks,As,ph=b(()=>{lh();ce();fh();ks="phrasing",As=["autolink","link","image","label"]});var mh=b(()=>{ph()});function $e(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var hn=b(()=>{});function A3(){this.buffer()}function y3(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function C3(){this.buffer()}function _3(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S3(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=$e(this.sliceSerialize(e)).toLowerCase(),r.label=t}function I3(e){this.exit(e)}function w3(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=$e(this.sliceSerialize(e)).toLowerCase(),r.label=t}function N3(e){this.exit(e)}function L3(){return"["}function gh(e,t,r,n){let i=r.createTracker(n),a=i.move("[^"),o=r.enter("footnoteReference"),s=r.enter("reference");return a+=i.move(r.safe(r.associationId(e),{after:"]",before:a})),s(),o(),a+=i.move("]"),a}function Ss(){return{enter:{gfmFootnoteCallString:A3,gfmFootnoteCall:y3,gfmFootnoteDefinitionLabelString:C3,gfmFootnoteDefinition:_3},exit:{gfmFootnoteCallString:S3,gfmFootnoteCall:I3,gfmFootnoteDefinitionLabelString:w3,gfmFootnoteDefinition:N3}}}function Is(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:gh},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,i,a,o){let s=a.createTracker(o),u=s.move("[^"),c=a.enter("footnoteDefinition"),d=a.enter("label");return u+=s.move(a.safe(a.associationId(n),{before:u,after:"]"})),d(),u+=s.move("]:"),n.children&&n.children.length>0&&(s.shift(4),u+=s.move((t?`
|
|
3
|
+
`:" ")+a.indentLines(a.containerFlow(n,s.current()),t?bh:R3))),c(),u}}function R3(e,t,r){return t===0?e:bh(e,t,r)}function bh(e,t,r){return(r?"":" ")+e}var Eh=b(()=>{hn();gh.peek=L3});var Th=b(()=>{Eh()});function ws(){return{canContainEols:["delete"],enter:{strikethrough:D3},exit:{strikethrough:P3}}}function Ns(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:O3}],handlers:{delete:xh}}}function D3(e){this.enter({type:"delete",children:[]},e)}function P3(e){this.exit(e)}function xh(e,t,r,n){let i=r.createTracker(n),a=r.enter("strikethrough"),o=i.move("~~");return o+=r.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function M3(){return"~"}var O3,kh=b(()=>{O3=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];xh.peek=M3});var Ah=b(()=>{kh()});function v3(e){return e.length}function Ch(e,t){let r=t||{},n=(r.align||[]).concat(),i=r.stringLength||v3,a=[],o=[],s=[],u=[],c=0,d=-1;for(;++d<e.length;){let k=[],_=[],A=-1;for(e[d].length>c&&(c=e[d].length);++A<e[d].length;){let R=B3(e[d][A]);if(r.alignDelimiters!==!1){let N=i(R);_[A]=N,(u[A]===void 0||N>u[A])&&(u[A]=N)}k.push(R)}o[d]=k,s[d]=_}let f=-1;if(typeof n=="object"&&"length"in n)for(;++f<c;)a[f]=yh(n[f]);else{let k=yh(n);for(;++f<c;)a[f]=k}f=-1;let h=[],p=[];for(;++f<c;){let k=a[f],_="",A="";k===99?(_=":",A=":"):k===108?_=":":k===114&&(A=":");let R=r.alignDelimiters===!1?1:Math.max(1,u[f]-_.length-A.length),N=_+"-".repeat(R)+A;r.alignDelimiters!==!1&&(R=_.length+R+A.length,R>u[f]&&(u[f]=R),p[f]=R),h[f]=N}o.splice(1,0,h),s.splice(1,0,p),d=-1;let m=[];for(;++d<o.length;){let k=o[d],_=s[d];f=-1;let A=[];for(;++f<c;){let R=k[f]||"",N="",F="";if(r.alignDelimiters!==!1){let M=u[f]-(_[f]||0),I=a[f];I===114?N=" ".repeat(M):I===99?M%2?(N=" ".repeat(M/2+.5),F=" ".repeat(M/2-.5)):(N=" ".repeat(M/2),F=N):F=" ".repeat(M)}r.delimiterStart!==!1&&!f&&A.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&R==="")&&(r.delimiterStart!==!1||f)&&A.push(" "),r.alignDelimiters!==!1&&A.push(N),A.push(R),r.alignDelimiters!==!1&&A.push(F),r.padding!==!1&&A.push(" "),(r.delimiterEnd!==!1||f!==c-1)&&A.push("|")}m.push(r.delimiterEnd===!1?A.join("").replace(/ +$/,""):A.join(""))}return m.join(`
|
|
4
|
+
`)}function B3(e){return e==null?"":String(e)}function yh(e){let 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}var _h=b(()=>{});function Sh(e,t,r,n){let i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);let o=r.indentLines(r.containerFlow(e,a.current()),F3);return i(),o}function F3(e,t,r){return">"+(r?"":" ")+e}var Ih=b(()=>{});function Nh(e,t){return wh(e,t.inConstruct,!0)&&!wh(e,t.notInConstruct,!1)}function wh(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}var Lh=b(()=>{});function Ls(e,t,r,n){let i=-1;for(;++i<r.unsafe.length;)if(r.unsafe[i].character===`
|
|
5
|
+
`&&Nh(r.stack,r.unsafe[i]))return/[ \t]/.test(n.before)?"":" ";return`\\
|
|
6
|
+
`}var Rh=b(()=>{Lh()});function Oh(e,t){let r=String(e),n=r.indexOf(t),i=n,a=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===i?++a>o&&(o=a):a=1,i=n+t.length,n=r.indexOf(t,i);return o}var Dh=b(()=>{});function Ph(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))}var Mh=b(()=>{});function vh(e){let t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}var Bh=b(()=>{});function Fh(e,t,r,n){let i=vh(r),a=e.value||"",o=i==="`"?"GraveAccent":"Tilde";if(Ph(e,r)){let f=r.enter("codeIndented"),h=r.indentLines(a,H3);return f(),h}let s=r.createTracker(n),u=i.repeat(Math.max(Oh(a,i)+1,3)),c=r.enter("codeFenced"),d=s.move(u);if(e.lang){let f=r.enter(`codeFencedLang${o}`);d+=s.move(r.safe(e.lang,{before:d,after:" ",encode:["`"],...s.current()})),f()}if(e.lang&&e.meta){let f=r.enter(`codeFencedMeta${o}`);d+=s.move(" "),d+=s.move(r.safe(e.meta,{before:d,after:`
|
|
7
|
+
`,encode:["`"],...s.current()})),f()}return d+=s.move(`
|
|
8
|
+
`),a&&(d+=s.move(a+`
|
|
9
|
+
`)),d+=s.move(u),c(),d}function H3(e,t,r){return(r?"":" ")+e}var Hh=b(()=>{Dh();Mh();Bh()});function pn(e){let t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}var oa=b(()=>{});function Uh(e,t,r,n){let i=pn(r),a=i==='"'?"Quote":"Apostrophe",o=r.enter("definition"),s=r.enter("label"),u=r.createTracker(n),c=u.move("[");return c+=u.move(r.safe(r.associationId(e),{before:c,after:"]",...u.current()})),c+=u.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(r.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(s=r.enter("destinationRaw"),c+=u.move(r.safe(e.url,{before:c,after:e.title?" ":`
|
|
10
|
+
`,...u.current()}))),s(),e.title&&(s=r.enter(`title${a}`),c+=u.move(" "+i),c+=u.move(r.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),s()),o(),c}var zh=b(()=>{oa()});function jh(e){let t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}var qh=b(()=>{});function pr(e){return"&#x"+e.toString(16).toUpperCase()+";"}var sa=b(()=>{});function rr(e){if(e===null||te(e)||vt(e))return 1;if(_r(e))return 2}var ua=b(()=>{ce()});function mn(e,t,r){let n=rr(e),i=rr(t);return n===void 0?i===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}var Rs=b(()=>{ua()});function Os(e,t,r,n){let i=jh(r),a=r.enter("emphasis"),o=r.createTracker(n),s=o.move(i),u=o.move(r.containerPhrasing(e,{after:i,before:s,...o.current()})),c=u.charCodeAt(0),d=mn(n.before.charCodeAt(n.before.length-1),c,i);d.inside&&(u=pr(c)+u.slice(1));let f=u.charCodeAt(u.length-1),h=mn(n.after.charCodeAt(0),f,i);h.inside&&(u=u.slice(0,-1)+pr(f));let p=o.move(i);return a(),r.attentionEncodeSurroundingInfo={after:h.outside,before:d.outside},s+u+p}function U3(e,t,r){return r.options.emphasis||"*"}var Yh=b(()=>{qh();sa();Rs();Os.peek=U3});function Fr(e,t){let r=t||z3,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Gh(e,n,i)}function Gh(e,t,r){if(j3(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Vh(e.children,t,r)}return Array.isArray(e)?Vh(e,t,r):""}function Vh(e,t,r){let n=[],i=-1;for(;++i<e.length;)n[i]=Gh(e[i],t,r);return n.join("")}function j3(e){return!!(e&&typeof e=="object")}var z3,Wh=b(()=>{z3={}});var la=b(()=>{Wh()});function $h(e,t){let r=!1;return ze(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,Ir}),!!((!e.depth||e.depth<3)&&Fr(e)&&(t.options.setext||r))}var Qh=b(()=>{Nr();la()});function Xh(e,t,r,n){let i=Math.max(Math.min(6,e.depth||1),1),a=r.createTracker(n);if($h(e,r)){let d=r.enter("headingSetext"),f=r.enter("phrasing"),h=r.containerPhrasing(e,{...a.current(),before:`
|
|
11
|
+
`,after:`
|
|
12
|
+
`});return f(),d(),h+`
|
|
13
|
+
`+(i===1?"=":"-").repeat(h.length-(Math.max(h.lastIndexOf("\r"),h.lastIndexOf(`
|
|
14
|
+
`))+1))}let o="#".repeat(i),s=r.enter("headingAtx"),u=r.enter("phrasing");a.move(o+" ");let c=r.containerPhrasing(e,{before:"# ",after:`
|
|
15
|
+
`,...a.current()});return/^[\t ]/.test(c)&&(c=pr(c.charCodeAt(0))+c.slice(1)),c=c?o+" "+c:o,r.options.closeAtx&&(c+=" "+o),u(),s(),c}var Kh=b(()=>{sa();Qh()});function Ds(e){return e.value||""}function q3(){return"<"}var Zh=b(()=>{Ds.peek=q3});function Ps(e,t,r,n){let i=pn(r),a=i==='"'?"Quote":"Apostrophe",o=r.enter("image"),s=r.enter("label"),u=r.createTracker(n),c=u.move("![");return c+=u.move(r.safe(e.alt,{before:c,after:"]",...u.current()})),c+=u.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(r.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(s=r.enter("destinationRaw"),c+=u.move(r.safe(e.url,{before:c,after:e.title?" ":")",...u.current()}))),s(),e.title&&(s=r.enter(`title${a}`),c+=u.move(" "+i),c+=u.move(r.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),s()),c+=u.move(")"),o(),c}function Y3(){return"!"}var Jh=b(()=>{oa();Ps.peek=Y3});function Ms(e,t,r,n){let i=e.referenceType,a=r.enter("imageReference"),o=r.enter("label"),s=r.createTracker(n),u=s.move("!["),c=r.safe(e.alt,{before:u,after:"]",...s.current()});u+=s.move(c+"]["),o();let d=r.stack;r.stack=[],o=r.enter("reference");let f=r.safe(r.associationId(e),{before:u,after:"]",...s.current()});return o(),r.stack=d,a(),i==="full"||!c||c!==f?u+=s.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=s.move("]"),u}function V3(){return"!"}var ep=b(()=>{Ms.peek=V3});function vs(e,t,r){let n=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++a<r.unsafe.length;){let o=r.unsafe[a],s=r.compilePattern(o),u;if(o.atBreak)for(;u=s.exec(n);){let c=u.index;n.charCodeAt(c)===10&&n.charCodeAt(c-1)===13&&c--,n=n.slice(0,c)+" "+n.slice(u.index+1)}}return i+n+i}function G3(){return"`"}var tp=b(()=>{vs.peek=G3});function Bs(e,t){let r=Fr(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}var rp=b(()=>{la()});function Fs(e,t,r,n){let i=pn(r),a=i==='"'?"Quote":"Apostrophe",o=r.createTracker(n),s,u;if(Bs(e,r)){let d=r.stack;r.stack=[],s=r.enter("autolink");let f=o.move("<");return f+=o.move(r.containerPhrasing(e,{before:f,after:">",...o.current()})),f+=o.move(">"),s(),r.stack=d,f}s=r.enter("link"),u=r.enter("label");let c=o.move("[");return c+=o.move(r.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(r.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(u=r.enter("destinationRaw"),c+=o.move(r.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),u(),e.title&&(u=r.enter(`title${a}`),c+=o.move(" "+i),c+=o.move(r.safe(e.title,{before:c,after:i,...o.current()})),c+=o.move(i),u()),c+=o.move(")"),s(),c}function W3(e,t,r){return Bs(e,r)?"<":"["}var np=b(()=>{oa();rp();Fs.peek=W3});function Hs(e,t,r,n){let i=e.referenceType,a=r.enter("linkReference"),o=r.enter("label"),s=r.createTracker(n),u=s.move("["),c=r.containerPhrasing(e,{before:u,after:"]",...s.current()});u+=s.move(c+"]["),o();let d=r.stack;r.stack=[],o=r.enter("reference");let f=r.safe(r.associationId(e),{before:u,after:"]",...s.current()});return o(),r.stack=d,a(),i==="full"||!c||c!==f?u+=s.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=s.move("]"),u}function $3(){return"["}var ip=b(()=>{Hs.peek=$3});function gn(e){let t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}var ca=b(()=>{});function ap(e){let t=gn(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}var op=b(()=>{ca()});function sp(e){let t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}var up=b(()=>{});function da(e){let t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}var Us=b(()=>{});function lp(e,t,r,n){let i=r.enter("list"),a=r.bulletCurrent,o=e.ordered?sp(r):gn(r),s=e.ordered?o==="."?")":".":ap(r),u=t&&r.bulletLastUsed?o===r.bulletLastUsed:!1;if(!e.ordered){let d=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&d&&(!d.children||!d.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(u=!0),da(r)===o&&d){let f=-1;for(;++f<e.children.length;){let h=e.children[f];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(o=s),r.bulletCurrent=o;let c=r.containerFlow(e,n);return r.bulletLastUsed=o,r.bulletCurrent=a,i(),c}var cp=b(()=>{ca();op();up();Us()});function dp(e){let t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}var fp=b(()=>{});function hp(e,t,r,n){let i=dp(r),a=r.bulletCurrent||gn(r);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=r.createTracker(n);s.move(a+" ".repeat(o-a.length)),s.shift(o);let u=r.enter("listItem"),c=r.indentLines(r.containerFlow(e,s.current()),d);return u(),c;function d(f,h,p){return h?(p?"":" ".repeat(o))+f:(p?a:a+" ".repeat(o-a.length))+f}}var pp=b(()=>{ca();fp()});function mp(e,t,r,n){let i=r.enter("paragraph"),a=r.enter("phrasing"),o=r.containerPhrasing(e,n);return a(),i(),o}var gp=b(()=>{});var zs,bp=b(()=>{Ci();zs=ur(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"])});var Ep=b(()=>{bp()});function Tp(e,t,r,n){return(e.children.some(function(o){return zs(o)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}var xp=b(()=>{Ep()});function kp(e){let t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}var Ap=b(()=>{});function js(e,t,r,n){let i=kp(r),a=r.enter("strong"),o=r.createTracker(n),s=o.move(i+i),u=o.move(r.containerPhrasing(e,{after:i,before:s,...o.current()})),c=u.charCodeAt(0),d=mn(n.before.charCodeAt(n.before.length-1),c,i);d.inside&&(u=pr(c)+u.slice(1));let f=u.charCodeAt(u.length-1),h=mn(n.after.charCodeAt(0),f,i);h.inside&&(u=u.slice(0,-1)+pr(f));let p=o.move(i+i);return a(),r.attentionEncodeSurroundingInfo={after:h.outside,before:d.outside},s+u+p}function Q3(e,t,r){return r.options.strong||"*"}var yp=b(()=>{Ap();sa();Rs();js.peek=Q3});function Cp(e,t,r,n){return r.safe(e.value,n)}var _p=b(()=>{});function Sp(e){let t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}var Ip=b(()=>{});function wp(e,t,r){let n=(da(r)+(r.options.ruleSpaces?" ":"")).repeat(Sp(r));return r.options.ruleSpaces?n.slice(0,-1):n}var Np=b(()=>{Ip();Us()});var ti,Lp=b(()=>{Ih();Rh();Hh();zh();Yh();Kh();Zh();Jh();ep();tp();np();ip();cp();pp();gp();xp();yp();_p();Np();ti={blockquote:Sh,break:Ls,code:Fh,definition:Uh,emphasis:Os,hardBreak:Ls,heading:Xh,html:Ds,image:Ps,imageReference:Ms,inlineCode:vs,link:Fs,linkReference:Hs,list:lp,listItem:hp,paragraph:mp,root:Tp,strong:js,text:Cp,thematicBreak:wp}});function bn(e){let t="&"+e+";";Rp.innerHTML=t;let r=Rp.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}var Rp,fa=b(()=>{Rp=document.createElement("i")});function ha(e,t){let r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"\uFFFD":String.fromCodePoint(r)}var qs=b(()=>{});function Op(e){return e.replace(X3,K3)}function K3(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){let i=r.charCodeAt(1),a=i===120||i===88;return ha(r.slice(a?2:1),a?16:10)}return bn(r)||e}var X3,Dp=b(()=>{fa();qs();X3=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi});var Ys=b(()=>{Lp()});function Gs(){return{enter:{table:Z3,tableData:Pp,tableHeader:Pp,tableRow:eA},exit:{codeText:tA,table:J3,tableData:Vs,tableHeader:Vs,tableRow:Vs}}}function Z3(e){let t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function J3(e){this.exit(e),this.data.inTable=void 0}function eA(e){this.enter({type:"tableRow",children:[]},e)}function Vs(e){this.exit(e)}function Pp(e){this.enter({type:"tableCell",children:[]},e)}function tA(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,rA));let r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function rA(e,t){return t==="|"?t:e}function Ws(e){let t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,i=t.stringLength,a=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
16
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:o,tableCell:u,tableRow:s}};function o(p,m,k,_){return c(d(p,k,_),p.align)}function s(p,m,k,_){let A=f(p,k,_),R=c([A]);return R.slice(0,R.indexOf(`
|
|
17
|
+
`))}function u(p,m,k,_){let A=k.enter("tableCell"),R=k.enter("phrasing"),N=k.containerPhrasing(p,{..._,before:a,after:a});return R(),A(),N}function c(p,m){return Ch(p,{align:m,alignDelimiters:n,padding:r,stringLength:i})}function d(p,m,k){let _=p.children,A=-1,R=[],N=m.enter("table");for(;++A<_.length;)R[A]=f(_[A],m,k);return N(),R}function f(p,m,k){let _=p.children,A=-1,R=[],N=m.enter("tableRow");for(;++A<_.length;)R[A]=u(_[A],p,m,k);return N(),R}function h(p,m,k){let _=ti.inlineCode(p,m,k);return k.stack.includes("tableCell")&&(_=_.replace(/\|/g,"\\$&")),_}}var Mp=b(()=>{_h();Ys()});var vp=b(()=>{Mp()});function $s(){return{exit:{taskListCheckValueChecked:Bp,taskListCheckValueUnchecked:Bp,paragraph:nA}}}function Qs(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:iA}}}function Bp(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function nA(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let r=this.stack[this.stack.length-1];r.type;let n=r.children[0];if(n&&n.type==="text"){let i=t.children,a=-1,o;for(;++a<i.length;){let s=i[a];if(s.type==="paragraph"){o=s;break}}o===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function iA(e,t,r,n){let i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",s=r.createTracker(n);a&&s.move(o);let u=ti.listItem(e,t,r,{...n,...s.current()});return a&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),u;function c(d){return d+o}}var Fp=b(()=>{Ys()});var Hp=b(()=>{Fp()});function Xs(){return[Cs(),Ss(),ws(),Gs(),$s()]}function Ks(e){return{extensions:[_s(),Is(e),Ns(),Ws(e),Qs()]}}var Up=b(()=>{mh();Th();Ah();vp();Hp()});var zp=b(()=>{Up()});function pa(e){let t={},r=-1;for(;++r<e.length;)aA(t,e[r]);return t}function aA(e,t){let r;for(r in t){let i=(jp.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r],o;if(a)for(o in a){jp.call(i,o)||(i[o]=[]);let s=a[o];oA(i[o],Array.isArray(s)?s:s?[s]:[])}}}function oA(e,t){let r=-1,n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);Ee(e,0,0,n)}var jp,Zs=b(()=>{At();jp={}.hasOwnProperty});function eu(){return{text:Ut}}function lA(e,t,r){let n=this,i,a;return o;function o(f){return!Js(f)||!Xp.call(n,n.previous)||tu(n.events)?r(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(f))}function s(f){return Js(f)?(e.consume(f),s):f===64?(e.consume(f),u):r(f)}function u(f){return f===46?e.check(uA,d,c)(f):f===45||f===95||we(f)?(a=!0,e.consume(f),u):d(f)}function c(f){return e.consume(f),i=!0,u}function d(f){return a&&i&&Be(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):r(f)}}function cA(e,t,r){let n=this;return i;function i(o){return o!==87&&o!==119||!$p.call(n,n.previous)||tu(n.events)?r(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(sA,e.attempt(qp,e.attempt(Yp,a),r),r)(o))}function a(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function dA(e,t,r){let n=this,i="",a=!1;return o;function o(f){return(f===72||f===104)&&Qp.call(n,n.previous)&&!tu(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),s):r(f)}function s(f){if(Be(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),s;if(f===58){let h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(f),u}return r(f)}function u(f){return f===47?(e.consume(f),a?c:(a=!0,u)):r(f)}function c(f){return f===null||Cr(f)||te(f)||vt(f)||_r(f)?r(f):e.attempt(qp,e.attempt(Yp,d),r)(f)}function d(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function fA(e,t,r){let n=0;return i;function i(o){return(o===87||o===119)&&n<3?(n++,e.consume(o),i):o===46&&n===3?(e.consume(o),a):r(o)}function a(o){return o===null?r(o):t(o)}}function hA(e,t,r){let n,i,a;return o;function o(c){return c===46||c===95?e.check(Vp,u,s)(c):c===null||te(c)||vt(c)||c!==45&&_r(c)?u(c):(a=!0,e.consume(c),o)}function s(c){return c===95?n=!0:(i=n,n=void 0),e.consume(c),o}function u(c){return i||n||!a?r(c):t(c)}}function pA(e,t){let r=0,n=0;return i;function i(o){return o===40?(r++,e.consume(o),i):o===41&&n<r?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(Vp,t,a)(o):o===null||te(o)||vt(o)?t(o):(e.consume(o),i)}function a(o){return o===41&&n++,e.consume(o),i}}function mA(e,t,r){return n;function n(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),n):s===38?(e.consume(s),a):s===93?(e.consume(s),i):s===60||s===null||te(s)||vt(s)?t(s):r(s)}function i(s){return s===null||s===40||s===91||te(s)||vt(s)?t(s):n(s)}function a(s){return Be(s)?o(s):r(s)}function o(s){return s===59?(e.consume(s),n):Be(s)?(e.consume(s),o):r(s)}}function gA(e,t,r){return n;function n(a){return e.consume(a),i}function i(a){return we(a)?r(a):t(a)}}function $p(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||te(e)}function Qp(e){return!Be(e)}function Xp(e){return!(e===47||Js(e))}function Js(e){return e===43||e===45||e===46||e===95||we(e)}function tu(e){let t=e.length,r=!1;for(;t--;){let n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}var sA,qp,Yp,Vp,uA,Gp,Wp,nr,Ut,Hr,Kp=b(()=>{ce();sA={tokenize:fA,partial:!0},qp={tokenize:hA,partial:!0},Yp={tokenize:pA,partial:!0},Vp={tokenize:mA,partial:!0},uA={tokenize:gA,partial:!0},Gp={name:"wwwAutolink",tokenize:cA,previous:$p},Wp={name:"protocolAutolink",tokenize:dA,previous:Qp},nr={name:"emailAutolink",tokenize:lA,previous:Xp},Ut={};Hr=48;for(;Hr<123;)Ut[Hr]=nr,Hr++,Hr===58?Hr=65:Hr===91&&(Hr=97);Ut[43]=nr;Ut[45]=nr;Ut[46]=nr;Ut[95]=nr;Ut[72]=[nr,Wp];Ut[104]=[nr,Wp];Ut[87]=[nr,Gp];Ut[119]=[nr,Gp]});function Et(e){let t=[],r=-1,n=0,i=0;for(;++r<e.length;){let a=e.charCodeAt(r),o="";if(a===37&&we(e.charCodeAt(r+1))&&we(e.charCodeAt(r+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let s=e.charCodeAt(r+1);a<56320&&s>56319&&s<57344?(o=String.fromCharCode(a,s),i=1):o="\uFFFD"}else o=String.fromCharCode(a);o&&(t.push(e.slice(n,r),encodeURIComponent(o)),n=r+i+1,o=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}var Ur=b(()=>{ce()});var Zp=b(()=>{Kp()});function bA(e,t){let r=-1,n,i,a,o,s,u,c,d;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;u=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;let f={...e[n][1].end},h={...e[r][1].start};Jp(f,-u),Jp(h,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:{...e[n][1].end}},s={type:u>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:h},a={type:u>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},i={type:u>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[n][1].end={...o.start},e[r][1].start={...s.end},c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=Oe(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=Oe(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),c=Oe(c,mt(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),c=Oe(c,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(d=2,c=Oe(c,[["enter",e[r][1],t],["exit",e[r][1],t]])):d=0,Ee(e,n-1,r-n+3,c),r=n+c.length-d-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function EA(e,t){let r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=rr(n),a;return o;function o(u){return a=u,e.enter("attentionSequence"),s(u)}function s(u){if(u===a)return e.consume(u),s;let c=e.exit("attentionSequence"),d=rr(u),f=!d||d===2&&i||r.includes(u),h=!i||i===2&&d||r.includes(n);return c._open=!!(a===42?f:f&&(i||!h)),c._close=!!(a===42?h:h&&(d||!f)),t(u)}}function Jp(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var ri,em=b(()=>{At();ua();Sr();ri={name:"attention",resolveAll:bA,tokenize:EA}});function TA(e,t,r){let n=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(p){return Be(p)?(e.consume(p),o):p===64?r(p):c(p)}function o(p){return p===43||p===45||p===46||we(p)?(n=1,s(p)):c(p)}function s(p){return p===58?(e.consume(p),n=0,u):(p===43||p===45||p===46||we(p))&&n++<32?(e.consume(p),s):(n=0,c(p))}function u(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||Cr(p)?r(p):(e.consume(p),u)}function c(p){return p===64?(e.consume(p),d):fc(p)?(e.consume(p),c):r(p)}function d(p){return we(p)?f(p):r(p)}function f(p){return p===46?(e.consume(p),n=0,d):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):h(p)}function h(p){if((p===45||we(p))&&n++<63){let m=p===45?h:f;return e.consume(p),m}return r(p)}}var ru,tm=b(()=>{ce();ru={name:"autolink",tokenize:TA}});function $(e,t,r,n){let i=n?n-1:Number.POSITIVE_INFINITY,a=0;return o;function o(u){return Q(u)?(e.enter(r),s(u)):t(u)}function s(u){return Q(u)&&a++<i?(e.consume(u),s):(e.exit(r),t(u))}}var De=b(()=>{ce()});function xA(e,t,r){return n;function n(a){return Q(a)?$(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||U(a)?t(a):r(a)}}var zt,ma=b(()=>{De();ce();zt={partial:!0,tokenize:xA}});function kA(e,t,r){let n=this;return i;function i(o){if(o===62){let s=n.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),a}return r(o)}function a(o){return Q(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function AA(e,t,r){let n=this;return i;function i(o){return Q(o)?$(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):a(o)}function a(o){return e.attempt(ga,t,r)(o)}}function yA(e){e.exit("blockQuote")}var ga,rm=b(()=>{De();ce();ga={continuation:{tokenize:AA},exit:yA,name:"blockQuote",tokenize:kA}});function CA(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return pc(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}var ba,nm=b(()=>{ce();ba={name:"characterEscape",tokenize:CA}});function _A(e,t,r){let n=this,i=0,a,o;return s;function s(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),u}function u(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),a=31,o=we,d(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,o=hc,d):(e.enter("characterReferenceValue"),a=7,o=Sn,d(f))}function d(f){if(f===59&&i){let h=e.exit("characterReferenceValue");return o===we&&!bn(n.sliceSerialize(h))?r(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(f)&&i++<a?(e.consume(f),d):r(f)}}var Ea,im=b(()=>{fa();ce();Ea={name:"characterReference",tokenize:_A}});function SA(e,t,r){let n=this,i={partial:!0,tokenize:M},a=0,o=0,s;return u;function u(I){return c(I)}function c(I){let V=n.events[n.events.length-1];return a=V&&V[1].type==="linePrefix"?V[2].sliceSerialize(V[1],!0).length:0,s=I,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(I)}function d(I){return I===s?(o++,e.consume(I),d):o<3?r(I):(e.exit("codeFencedFenceSequence"),Q(I)?$(e,f,"whitespace")(I):f(I))}function f(I){return I===null||U(I)?(e.exit("codeFencedFence"),n.interrupt?t(I):e.check(am,k,F)(I)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(I))}function h(I){return I===null||U(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(I)):Q(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),$(e,p,"whitespace")(I)):I===96&&I===s?r(I):(e.consume(I),h)}function p(I){return I===null||U(I)?f(I):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(I))}function m(I){return I===null||U(I)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(I)):I===96&&I===s?r(I):(e.consume(I),m)}function k(I){return e.attempt(i,F,_)(I)}function _(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),A}function A(I){return a>0&&Q(I)?$(e,R,"linePrefix",a+1)(I):R(I)}function R(I){return I===null||U(I)?e.check(am,k,F)(I):(e.enter("codeFlowValue"),N(I))}function N(I){return I===null||U(I)?(e.exit("codeFlowValue"),R(I)):(e.consume(I),N)}function F(I){return e.exit("codeFenced"),t(I)}function M(I,V,P){let G=0;return w;function w(W){return I.enter("lineEnding"),I.consume(W),I.exit("lineEnding"),ie}function ie(W){return I.enter("codeFencedFence"),Q(W)?$(I,Z,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W):Z(W)}function Z(W){return W===s?(I.enter("codeFencedFenceSequence"),Y(W)):P(W)}function Y(W){return W===s?(G++,I.consume(W),Y):G>=o?(I.exit("codeFencedFenceSequence"),Q(W)?$(I,X,"whitespace")(W):X(W)):P(W)}function X(W){return W===null||U(W)?(I.exit("codeFencedFence"),V(W)):P(W)}}}function IA(e,t,r){let n=this;return i;function i(o){return o===null?r(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a)}function a(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}var am,Ta,om=b(()=>{De();ce();am={partial:!0,tokenize:IA},Ta={concrete:!0,name:"codeFenced",tokenize:SA}});function NA(e,t,r){let n=this;return i;function i(c){return e.enter("codeIndented"),$(e,a,"linePrefix",5)(c)}function a(c){let d=n.events[n.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?o(c):r(c)}function o(c){return c===null?u(c):U(c)?e.attempt(wA,o,u)(c):(e.enter("codeFlowValue"),s(c))}function s(c){return c===null||U(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),s)}function u(c){return e.exit("codeIndented"),t(c)}}function LA(e,t,r){let n=this;return i;function i(o){return n.parser.lazy[n.now().line]?r(o):U(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):$(e,a,"linePrefix",5)(o)}function a(o){let s=n.events[n.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):U(o)?i(o):r(o)}}var ni,wA,sm=b(()=>{De();ce();ni={name:"codeIndented",tokenize:NA},wA={partial:!0,tokenize:LA}});function RA(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function OA(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function DA(e,t,r){let n=this,i=0,a,o;return s;function s(h){return e.enter("codeText"),e.enter("codeTextSequence"),u(h)}function u(h){return h===96?(e.consume(h),i++,u):(e.exit("codeTextSequence"),c(h))}function c(h){return h===null?r(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),c):h===96?(o=e.enter("codeTextSequence"),a=0,f(h)):U(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("codeTextData"),d(h))}function d(h){return h===null||h===32||h===96||U(h)?(e.exit("codeTextData"),c(h)):(e.consume(h),d)}function f(h){return h===96?(e.consume(h),a++,f):a===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(o.type="codeTextData",d(h))}}var nu,um=b(()=>{ce();nu={name:"codeText",previous:OA,resolve:RA,tokenize:DA}});function ii(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}var xa,lm=b(()=>{xa=class{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){let n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){let i=r||0;this.setCursor(Math.trunc(t));let a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&ii(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),ii(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),ii(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){let r=this.left.splice(t,Number.POSITIVE_INFINITY);ii(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);ii(this.left,r.reverse())}}}});function ka(e){let t={},r=-1,n,i,a,o,s,u,c,d=new xa(e);for(;++r<d.length;){for(;r in t;)r=t[r];if(n=d.get(r),r&&n[1].type==="chunkFlow"&&d.get(r-1)[1].type==="listItemPrefix"&&(u=n[1]._tokenizer.events,a=0,a<u.length&&u[a][1].type==="lineEndingBlank"&&(a+=2),a<u.length&&u[a][1].type==="content"))for(;++a<u.length&&u[a][1].type!=="content";)u[a][1].type==="chunkText"&&(u[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,PA(d,r)),r=t[r],c=!0);else if(n[1]._container){for(a=r,i=void 0;a--;)if(o=d.get(a),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(d.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=a);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(n[1].end={...d.get(i)[1].start},s=d.slice(i,r),s.unshift(n),d.splice(i,r-i+1,s))}}return Ee(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!c}function PA(e,t){let r=e.get(t)[1],n=e.get(t)[2],i=t-1,a=[],o=r._tokenizer;o||(o=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));let s=o.events,u=[],c={},d,f,h=-1,p=r,m=0,k=0,_=[k];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(d=n.sliceStream(p),p.next||d.push(null),f&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(d),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=r;++h<s.length;)s[h][0]==="exit"&&s[h-1][0]==="enter"&&s[h][1].type===s[h-1][1].type&&s[h][1].start.line!==s[h][1].end.line&&(k=h+1,_.push(k),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):_.pop(),h=_.length;h--;){let A=s.slice(_[h],_[h+1]),R=a.pop();u.push([R,R+A.length-1]),e.splice(R,2,A)}for(u.reverse(),h=-1;++h<u.length;)c[m+u[h][0]]=m+u[h][1],m+=u[h][1]-u[h][0]-1;return c}var iu=b(()=>{At();lm()});function vA(e){return ka(e),e}function BA(e,t){let r;return n;function n(s){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?a(s):U(s)?e.check(MA,o,a)(s):(e.consume(s),i)}function a(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function FA(e,t,r){let n=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),$(e,a,"linePrefix")}function a(o){if(o===null||U(o))return r(o);let s=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(n.parser.constructs.flow,r,t)(o)}}var au,MA,cm=b(()=>{De();ce();iu();au={resolve:vA,tokenize:BA},MA={partial:!0,tokenize:FA}});function Aa(e,t,r,n,i,a,o,s,u){let c=u||Number.POSITIVE_INFINITY,d=0;return f;function f(A){return A===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(A),e.exit(a),h):A===null||A===32||A===41||Cr(A)?r(A):(e.enter(n),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),k(A))}function h(A){return A===62?(e.enter(a),e.consume(A),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(A))}function p(A){return A===62?(e.exit("chunkString"),e.exit(s),h(A)):A===null||A===60||U(A)?r(A):(e.consume(A),A===92?m:p)}function m(A){return A===60||A===62||A===92?(e.consume(A),p):p(A)}function k(A){return!d&&(A===null||A===41||te(A))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(n),t(A)):d<c&&A===40?(e.consume(A),d++,k):A===41?(e.consume(A),d--,k):A===null||A===32||A===40||Cr(A)?r(A):(e.consume(A),A===92?_:k)}function _(A){return A===40||A===41||A===92?(e.consume(A),k):k(A)}}var ou=b(()=>{ce()});function ya(e,t,r,n,i,a){let o=this,s=0,u;return c;function c(p){return e.enter(n),e.enter(i),e.consume(p),e.exit(i),e.enter(a),d}function d(p){return s>999||p===null||p===91||p===93&&!u||p===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?r(p):p===93?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(n),t):U(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||U(p)||s++>999?(e.exit("chunkString"),d(p)):(e.consume(p),u||(u=!Q(p)),p===92?h:f)}function h(p){return p===91||p===92||p===93?(e.consume(p),s++,f):f(p)}}var su=b(()=>{ce()});function Ca(e,t,r,n,i,a){let o;return s;function s(h){return h===34||h===39||h===40?(e.enter(n),e.enter(i),e.consume(h),e.exit(i),o=h===40?41:h,u):r(h)}function u(h){return h===o?(e.enter(i),e.consume(h),e.exit(i),e.exit(n),t):(e.enter(a),c(h))}function c(h){return h===o?(e.exit(a),u(o)):h===null?r(h):U(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),$(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===o||h===null||U(h)?(e.exit("chunkString"),c(h)):(e.consume(h),h===92?f:d)}function f(h){return h===o||h===92?(e.consume(h),d):d(h)}}var uu=b(()=>{De();ce()});function zr(e,t){let r;return n;function n(i){return U(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):Q(i)?$(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}var lu=b(()=>{De();ce()});function UA(e,t,r){let n=this,i;return a;function a(p){return e.enter("definition"),o(p)}function o(p){return ya.call(n,e,s,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return i=$e(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),u):r(p)}function u(p){return te(p)?zr(e,c)(p):c(p)}function c(p){return Aa(e,d,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function d(p){return e.attempt(HA,f,f)(p)}function f(p){return Q(p)?$(e,h,"whitespace")(p):h(p)}function h(p){return p===null||U(p)?(e.exit("definition"),n.parser.defined.push(i),t(p)):r(p)}}function zA(e,t,r){return n;function n(s){return te(s)?zr(e,i)(s):r(s)}function i(s){return Ca(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return Q(s)?$(e,o,"whitespace")(s):o(s)}function o(s){return s===null||U(s)?t(s):r(s)}}var cu,HA,dm=b(()=>{ou();su();De();uu();lu();ce();hn();cu={name:"definition",tokenize:UA},HA={partial:!0,tokenize:zA}});function jA(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return U(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}var du,fm=b(()=>{ce();du={name:"hardBreakEscape",tokenize:jA}});function qA(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},Ee(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function YA(e,t,r){let n=0;return i;function i(d){return e.enter("atxHeading"),a(d)}function a(d){return e.enter("atxHeadingSequence"),o(d)}function o(d){return d===35&&n++<6?(e.consume(d),o):d===null||te(d)?(e.exit("atxHeadingSequence"),s(d)):r(d)}function s(d){return d===35?(e.enter("atxHeadingSequence"),u(d)):d===null||U(d)?(e.exit("atxHeading"),t(d)):Q(d)?$(e,s,"whitespace")(d):(e.enter("atxHeadingText"),c(d))}function u(d){return d===35?(e.consume(d),u):(e.exit("atxHeadingSequence"),s(d))}function c(d){return d===null||d===35||te(d)?(e.exit("atxHeadingText"),s(d)):(e.consume(d),c)}}var fu,hm=b(()=>{De();ce();At();fu={name:"headingAtx",resolve:qA,tokenize:YA}});var pm,hu,mm=b(()=>{pm=["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"],hu=["pre","script","style","textarea"]});function WA(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function $A(e,t,r){let n=this,i,a,o,s,u;return c;function c(y){return d(y)}function d(y){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(y),f}function f(y){return y===33?(e.consume(y),h):y===47?(e.consume(y),a=!0,k):y===63?(e.consume(y),i=3,n.interrupt?t:T):Be(y)?(e.consume(y),o=String.fromCharCode(y),_):r(y)}function h(y){return y===45?(e.consume(y),i=2,p):y===91?(e.consume(y),i=5,s=0,m):Be(y)?(e.consume(y),i=4,n.interrupt?t:T):r(y)}function p(y){return y===45?(e.consume(y),n.interrupt?t:T):r(y)}function m(y){let ve="CDATA[";return y===ve.charCodeAt(s++)?(e.consume(y),s===ve.length?n.interrupt?t:Z:m):r(y)}function k(y){return Be(y)?(e.consume(y),o=String.fromCharCode(y),_):r(y)}function _(y){if(y===null||y===47||y===62||te(y)){let ve=y===47,de=o.toLowerCase();return!ve&&!a&&hu.includes(de)?(i=1,n.interrupt?t(y):Z(y)):pm.includes(o.toLowerCase())?(i=6,ve?(e.consume(y),A):n.interrupt?t(y):Z(y)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(y):a?R(y):N(y))}return y===45||we(y)?(e.consume(y),o+=String.fromCharCode(y),_):r(y)}function A(y){return y===62?(e.consume(y),n.interrupt?t:Z):r(y)}function R(y){return Q(y)?(e.consume(y),R):w(y)}function N(y){return y===47?(e.consume(y),w):y===58||y===95||Be(y)?(e.consume(y),F):Q(y)?(e.consume(y),N):w(y)}function F(y){return y===45||y===46||y===58||y===95||we(y)?(e.consume(y),F):M(y)}function M(y){return y===61?(e.consume(y),I):Q(y)?(e.consume(y),M):N(y)}function I(y){return y===null||y===60||y===61||y===62||y===96?r(y):y===34||y===39?(e.consume(y),u=y,V):Q(y)?(e.consume(y),I):P(y)}function V(y){return y===u?(e.consume(y),u=null,G):y===null||U(y)?r(y):(e.consume(y),V)}function P(y){return y===null||y===34||y===39||y===47||y===60||y===61||y===62||y===96||te(y)?M(y):(e.consume(y),P)}function G(y){return y===47||y===62||Q(y)?N(y):r(y)}function w(y){return y===62?(e.consume(y),ie):r(y)}function ie(y){return y===null||U(y)?Z(y):Q(y)?(e.consume(y),ie):r(y)}function Z(y){return y===45&&i===2?(e.consume(y),z):y===60&&i===1?(e.consume(y),ee):y===62&&i===4?(e.consume(y),Me):y===63&&i===3?(e.consume(y),T):y===93&&i===5?(e.consume(y),He):U(y)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(VA,Ue,Y)(y)):y===null||U(y)?(e.exit("htmlFlowData"),Y(y)):(e.consume(y),Z)}function Y(y){return e.check(GA,X,Ue)(y)}function X(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),W}function W(y){return y===null||U(y)?Y(y):(e.enter("htmlFlowData"),Z(y))}function z(y){return y===45?(e.consume(y),T):Z(y)}function ee(y){return y===47?(e.consume(y),o="",Ce):Z(y)}function Ce(y){if(y===62){let ve=o.toLowerCase();return hu.includes(ve)?(e.consume(y),Me):Z(y)}return Be(y)&&o.length<8?(e.consume(y),o+=String.fromCharCode(y),Ce):Z(y)}function He(y){return y===93?(e.consume(y),T):Z(y)}function T(y){return y===62?(e.consume(y),Me):y===45&&i===2?(e.consume(y),T):Z(y)}function Me(y){return y===null||U(y)?(e.exit("htmlFlowData"),Ue(y)):(e.consume(y),Me)}function Ue(y){return e.exit("htmlFlow"),t(y)}}function QA(e,t,r){let n=this;return i;function i(o){return U(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):r(o)}function a(o){return n.parser.lazy[n.now().line]?r(o):t(o)}}function XA(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(zt,t,r)}}var pu,VA,GA,gm=b(()=>{ce();mm();ma();pu={concrete:!0,name:"htmlFlow",resolveTo:WA,tokenize:$A},VA={partial:!0,tokenize:XA},GA={partial:!0,tokenize:QA}});function KA(e,t,r){let n=this,i,a,o;return s;function s(T){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(T),u}function u(T){return T===33?(e.consume(T),c):T===47?(e.consume(T),M):T===63?(e.consume(T),N):Be(T)?(e.consume(T),P):r(T)}function c(T){return T===45?(e.consume(T),d):T===91?(e.consume(T),a=0,m):Be(T)?(e.consume(T),R):r(T)}function d(T){return T===45?(e.consume(T),p):r(T)}function f(T){return T===null?r(T):T===45?(e.consume(T),h):U(T)?(o=f,ee(T)):(e.consume(T),f)}function h(T){return T===45?(e.consume(T),p):f(T)}function p(T){return T===62?z(T):T===45?h(T):f(T)}function m(T){let Me="CDATA[";return T===Me.charCodeAt(a++)?(e.consume(T),a===Me.length?k:m):r(T)}function k(T){return T===null?r(T):T===93?(e.consume(T),_):U(T)?(o=k,ee(T)):(e.consume(T),k)}function _(T){return T===93?(e.consume(T),A):k(T)}function A(T){return T===62?z(T):T===93?(e.consume(T),A):k(T)}function R(T){return T===null||T===62?z(T):U(T)?(o=R,ee(T)):(e.consume(T),R)}function N(T){return T===null?r(T):T===63?(e.consume(T),F):U(T)?(o=N,ee(T)):(e.consume(T),N)}function F(T){return T===62?z(T):N(T)}function M(T){return Be(T)?(e.consume(T),I):r(T)}function I(T){return T===45||we(T)?(e.consume(T),I):V(T)}function V(T){return U(T)?(o=V,ee(T)):Q(T)?(e.consume(T),V):z(T)}function P(T){return T===45||we(T)?(e.consume(T),P):T===47||T===62||te(T)?G(T):r(T)}function G(T){return T===47?(e.consume(T),z):T===58||T===95||Be(T)?(e.consume(T),w):U(T)?(o=G,ee(T)):Q(T)?(e.consume(T),G):z(T)}function w(T){return T===45||T===46||T===58||T===95||we(T)?(e.consume(T),w):ie(T)}function ie(T){return T===61?(e.consume(T),Z):U(T)?(o=ie,ee(T)):Q(T)?(e.consume(T),ie):G(T)}function Z(T){return T===null||T===60||T===61||T===62||T===96?r(T):T===34||T===39?(e.consume(T),i=T,Y):U(T)?(o=Z,ee(T)):Q(T)?(e.consume(T),Z):(e.consume(T),X)}function Y(T){return T===i?(e.consume(T),i=void 0,W):T===null?r(T):U(T)?(o=Y,ee(T)):(e.consume(T),Y)}function X(T){return T===null||T===34||T===39||T===60||T===61||T===96?r(T):T===47||T===62||te(T)?G(T):(e.consume(T),X)}function W(T){return T===47||T===62||te(T)?G(T):r(T)}function z(T){return T===62?(e.consume(T),e.exit("htmlTextData"),e.exit("htmlText"),t):r(T)}function ee(T){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),Ce}function Ce(T){return Q(T)?$(e,He,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):He(T)}function He(T){return e.enter("htmlTextData"),o(T)}}var mu,bm=b(()=>{De();ce();mu={name:"htmlText",tokenize:KA}});function ty(e){let t=-1,r=[];for(;++t<e.length;){let n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){let i=n.type==="labelImage"?4:2;n.type="data",t+=i}}return e.length!==r.length&&Ee(e,0,e.length,r),e}function ry(e,t){let r=e.length,n=0,i,a,o,s;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(o=r);let u={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[a][1].start},end:{...e[o][1].end}},d={type:"labelText",start:{...e[a+n+2][1].end},end:{...e[o-2][1].start}};return s=[["enter",u,t],["enter",c,t]],s=Oe(s,e.slice(a+1,a+n+3)),s=Oe(s,[["enter",d,t]]),s=Oe(s,mt(t.parser.constructs.insideSpan.null,e.slice(a+n+4,o-3),t)),s=Oe(s,[["exit",d,t],e[o-2],e[o-1],["exit",c,t]]),s=Oe(s,e.slice(o+1)),s=Oe(s,[["exit",u,t]]),Ee(e,a,e.length,s),e}function ny(e,t,r){let n=this,i=n.events.length,a,o;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return s;function s(h){return a?a._inactive?f(h):(o=n.parser.defined.includes($e(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),u):r(h)}function u(h){return h===40?e.attempt(ZA,d,o?d:f)(h):h===91?e.attempt(JA,d,o?c:f)(h):o?d(h):f(h)}function c(h){return e.attempt(ey,d,f)(h)}function d(h){return t(h)}function f(h){return a._balanced=!0,r(h)}}function iy(e,t,r){return n;function n(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return te(f)?zr(e,a)(f):a(f)}function a(f){return f===41?d(f):Aa(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return te(f)?zr(e,u)(f):d(f)}function s(f){return r(f)}function u(f){return f===34||f===39||f===40?Ca(e,c,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):d(f)}function c(f){return te(f)?zr(e,d)(f):d(f)}function d(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):r(f)}}function ay(e,t,r){let n=this;return i;function i(s){return ya.call(n,e,a,o,"reference","referenceMarker","referenceString")(s)}function a(s){return n.parser.defined.includes($e(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(s):r(s)}function o(s){return r(s)}}function oy(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}var jr,ZA,JA,ey,_a=b(()=>{ou();su();uu();lu();ce();At();hn();Sr();jr={name:"labelEnd",resolveAll:ty,resolveTo:ry,tokenize:ny},ZA={tokenize:iy},JA={tokenize:ay},ey={tokenize:oy}});function sy(e,t,r){let n=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),a}function a(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):r(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}var gu,Em=b(()=>{_a();gu={name:"labelStartImage",resolveAll:jr.resolveAll,tokenize:sy}});function uy(e,t,r){let n=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),a}function a(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}var bu,Tm=b(()=>{_a();bu={name:"labelStartLink",resolveAll:jr.resolveAll,tokenize:uy}});function ly(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),$(e,t,"linePrefix")}}var ai,xm=b(()=>{De();ai={name:"lineEnding",tokenize:ly}});function cy(e,t,r){let n=0,i;return a;function a(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,s(c)}function s(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):n>=3&&(c===null||U(c))?(e.exit("thematicBreak"),t(c)):r(c)}function u(c){return c===i?(e.consume(c),n++,u):(e.exit("thematicBreakSequence"),Q(c)?$(e,s,"whitespace")(c):s(c))}}var qr,Eu=b(()=>{De();ce();qr={name:"thematicBreak",tokenize:cy}});function hy(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(p){let m=n.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!n.containerState.marker||p===n.containerState.marker:Sn(p)){if(n.containerState.type||(n.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(qr,r,c)(p):c(p);if(!n.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(p)}return r(p)}function u(p){return Sn(p)&&++o<10?(e.consume(p),u):(!n.interrupt||o<2)&&(n.containerState.marker?p===n.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):r(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||p,e.check(zt,n.interrupt?r:d,e.attempt(dy,h,f))}function d(p){return n.containerState.initialBlankLine=!0,a++,h(p)}function f(p){return Q(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),h):r(p)}function h(p){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function py(e,t,r){let n=this;return n.containerState._closeFlow=void 0,e.check(zt,i,a);function i(s){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,$(e,t,"listItemIndent",n.containerState.size+1)(s)}function a(s){return n.containerState.furtherBlankLines||!Q(s)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,o(s)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(fy,t,o)(s))}function o(s){return n.containerState._closeFlow=!0,n.interrupt=void 0,$(e,e.attempt(Qe,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function my(e,t,r){let n=this;return $(e,i,"listItemIndent",n.containerState.size+1);function i(a){let o=n.events[n.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===n.containerState.size?t(a):r(a)}}function gy(e){e.exit(this.containerState.type)}function by(e,t,r){let n=this;return $(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){let o=n.events[n.events.length-1];return!Q(a)&&o&&o[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}var Qe,dy,fy,km=b(()=>{De();ce();ma();Eu();Qe={continuation:{tokenize:py},exit:gy,name:"list",tokenize:hy},dy={partial:!0,tokenize:by},fy={partial:!0,tokenize:my}});function Ey(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);let o={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",o,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end={...e[a][1].end}):e[n][1]=o,e.push(["exit",o,t]),e}function Ty(e,t,r){let n=this,i;return a;function a(c){let d=n.events.length,f;for(;d--;)if(n.events[d][1].type!=="lineEnding"&&n.events[d][1].type!=="linePrefix"&&n.events[d][1].type!=="content"){f=n.events[d][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||f)?(e.enter("setextHeadingLine"),i=c,o(c)):r(c)}function o(c){return e.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===i?(e.consume(c),s):(e.exit("setextHeadingLineSequence"),Q(c)?$(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||U(c)?(e.exit("setextHeadingLine"),t(c)):r(c)}}var Sa,Am=b(()=>{De();ce();Sa={name:"setextUnderline",resolveTo:Ey,tokenize:Ty}});var Ia=b(()=>{em();tm();ma();rm();nm();im();om();sm();um();cm();dm();fm();hm();gm();bm();_a();Em();Tm();xm();km();Am();Eu()});function Tu(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Cy,continuation:{tokenize:_y},exit:Sy}},text:{91:{name:"gfmFootnoteCall",tokenize:yy},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ky,resolveTo:Ay}}}}function ky(e,t,r){let n=this,i=n.events.length,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),o;for(;i--;){let u=n.events[i][1];if(u.type==="labelImage"){o=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return s;function s(u){if(!o||!o._balanced)return r(u);let c=$e(n.sliceSerialize({start:o.end,end:n.now()}));return c.codePointAt(0)!==94||!a.includes(c.slice(1))?r(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function Ay(e,t){let r=e.length,n;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},u=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",o,t],["enter",s,t],["exit",s,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...u),e}function yy(e,t,r){let n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a=0,o;return s;function s(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?r(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(a>999||f===93&&!o||f===null||f===91||te(f))return r(f);if(f===93){e.exit("chunkString");let h=e.exit("gfmFootnoteCallString");return i.includes($e(n.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(f)}return te(f)||(o=!0),a++,e.consume(f),f===92?d:c}function d(f){return f===91||f===92||f===93?(e.consume(f),a++,c):c(f)}}function Cy(e,t,r){let n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a,o=0,s;return u;function u(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):r(m)}function d(m){if(o>999||m===93&&!s||m===null||m===91||te(m))return r(m);if(m===93){e.exit("chunkString");let k=e.exit("gfmFootnoteDefinitionLabelString");return a=$e(n.sliceSerialize(k)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return te(m)||(s=!0),o++,e.consume(m),m===92?f:d}function f(m){return m===91||m===92||m===93?(e.consume(m),o++,d):d(m)}function h(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(a)||i.push(a),$(e,p,"gfmFootnoteDefinitionWhitespace")):r(m)}function p(m){return t(m)}}function _y(e,t,r){return e.check(zt,t,e.attempt(xy,t,r))}function Sy(e){e.exit("gfmFootnoteDefinition")}function Iy(e,t,r){let n=this;return $(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){let o=n.events[n.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(a):r(a)}}var xy,ym=b(()=>{Ia();De();ce();hn();xy={tokenize:Iy,partial:!0}});var Cm=b(()=>{ym()});function xu(e){let r=(e||{}).singleTilde,n={name:"strikethrough",tokenize:a,resolveAll:i};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function i(o,s){let u=-1;for(;++u<o.length;)if(o[u][0]==="enter"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._close){let c=u;for(;c--;)if(o[c][0]==="exit"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._open&&o[u][1].end.offset-o[u][1].start.offset===o[c][1].end.offset-o[c][1].start.offset){o[u][1].type="strikethroughSequence",o[c][1].type="strikethroughSequence";let d={type:"strikethrough",start:Object.assign({},o[c][1].start),end:Object.assign({},o[u][1].end)},f={type:"strikethroughText",start:Object.assign({},o[c][1].end),end:Object.assign({},o[u][1].start)},h=[["enter",d,s],["enter",o[c][1],s],["exit",o[c][1],s],["enter",f,s]],p=s.parser.constructs.insideSpan.null;p&&Ee(h,h.length,0,mt(p,o.slice(c+1,u),s)),Ee(h,h.length,0,[["exit",f,s],["enter",o[u][1],s],["exit",o[u][1],s],["exit",d,s]]),Ee(o,c-1,u-c+3,h),u=c+h.length-2;break}}for(u=-1;++u<o.length;)o[u][1].type==="strikethroughSequenceTemporary"&&(o[u][1].type="data");return o}function a(o,s,u){let c=this.previous,d=this.events,f=0;return h;function h(m){return c===126&&d[d.length-1][1].type!=="characterEscape"?u(m):(o.enter("strikethroughSequenceTemporary"),p(m))}function p(m){let k=rr(c);if(m===126)return f>1?u(m):(o.consume(m),f++,p);if(f<2&&!r)return u(m);let _=o.exit("strikethroughSequenceTemporary"),A=rr(m);return _._open=!A||A===2&&!!k,_._close=!k||k===2&&!!A,s(m)}}}var _m=b(()=>{At();ua();Sr()});var Sm=b(()=>{_m()});function wy(e,t,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=r,e.map[i][2].push(...n);return}i+=1}e.map.push([t,r,n])}}var wa,Im=b(()=>{wa=class{constructor(){this.map=[]}add(t,r,n){wy(this,t,r,n)}consume(t){if(this.map.sort(function(a,o){return a[0]-o[0]}),this.map.length===0)return;let r=this.map.length,n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let i=n.pop();for(;i;){for(let a of i)t.push(a);i=n.pop()}this.map.length=0}}});function wm(e,t){let r=!1,n=[];for(;t<e.length;){let i=e[t];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){let a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}var Nm=b(()=>{});function ku(){return{flow:{null:{name:"table",tokenize:Ny,resolveAll:Ly}}}}function Ny(e,t,r){let n=this,i=0,a=0,o;return s;function s(w){let ie=n.events.length-1;for(;ie>-1;){let X=n.events[ie][1].type;if(X==="lineEnding"||X==="linePrefix")ie--;else break}let Z=ie>-1?n.events[ie][1].type:null,Y=Z==="tableHead"||Z==="tableRow"?I:u;return Y===I&&n.parser.lazy[n.now().line]?r(w):Y(w)}function u(w){return e.enter("tableHead"),e.enter("tableRow"),c(w)}function c(w){return w===124||(o=!0,a+=1),d(w)}function d(w){return w===null?r(w):U(w)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),p):r(w):Q(w)?$(e,d,"whitespace")(w):(a+=1,o&&(o=!1,i+=1),w===124?(e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),o=!0,d):(e.enter("data"),f(w)))}function f(w){return w===null||w===124||te(w)?(e.exit("data"),d(w)):(e.consume(w),w===92?h:f)}function h(w){return w===92||w===124?(e.consume(w),f):f(w)}function p(w){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(w):(e.enter("tableDelimiterRow"),o=!1,Q(w)?$(e,m,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):m(w))}function m(w){return w===45||w===58?_(w):w===124?(o=!0,e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),k):M(w)}function k(w){return Q(w)?$(e,_,"whitespace")(w):_(w)}function _(w){return w===58?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(w),e.exit("tableDelimiterMarker"),A):w===45?(a+=1,A(w)):w===null||U(w)?F(w):M(w)}function A(w){return w===45?(e.enter("tableDelimiterFiller"),R(w)):M(w)}function R(w){return w===45?(e.consume(w),R):w===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(w),e.exit("tableDelimiterMarker"),N):(e.exit("tableDelimiterFiller"),N(w))}function N(w){return Q(w)?$(e,F,"whitespace")(w):F(w)}function F(w){return w===124?m(w):w===null||U(w)?!o||i!==a?M(w):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(w)):M(w)}function M(w){return r(w)}function I(w){return e.enter("tableRow"),V(w)}function V(w){return w===124?(e.enter("tableCellDivider"),e.consume(w),e.exit("tableCellDivider"),V):w===null||U(w)?(e.exit("tableRow"),t(w)):Q(w)?$(e,V,"whitespace")(w):(e.enter("data"),P(w))}function P(w){return w===null||w===124||te(w)?(e.exit("data"),V(w)):(e.consume(w),w===92?G:P)}function G(w){return w===92||w===124?(e.consume(w),P):P(w)}}function Ly(e,t){let r=-1,n=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,u=0,c,d,f,h=new wa;for(;++r<e.length;){let p=e[r],m=p[1];p[0]==="enter"?m.type==="tableHead"?(s=!1,u!==0&&(Lm(h,t,u,c,d),d=void 0,u=0),c={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(r,0,[["enter",c,t]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(n=!0,f=void 0,a=[0,0,0,0],o=[0,r+1,0,0],s&&(s=!1,d={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(r,0,[["enter",d,t]])),i=m.type==="tableDelimiterRow"?2:d?3:1):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(n=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],f=Na(h,t,a,i,void 0,f),a=[0,0,0,0]),o[2]=r)):m.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(o[0]=o[1],f=Na(h,t,a,i,void 0,f)),a=o,o=[a[1],r,0,0])):m.type==="tableHead"?(s=!0,u=r):m.type==="tableRow"||m.type==="tableDelimiterRow"?(u=r,a[1]!==0?(o[0]=o[1],f=Na(h,t,a,i,r,f)):o[1]!==0&&(f=Na(h,t,o,i,r,f)),i=0):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(o[3]=r)}for(u!==0&&Lm(h,t,u,c,d),h.consume(t.events),r=-1;++r<t.events.length;){let p=t.events[r];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=wm(t.events,r))}return e}function Na(e,t,r,n,i,a){let o=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",s="tableContent";r[0]!==0&&(a.end=Object.assign({},En(t.events,r[0])),e.add(r[0],0,[["exit",a,t]]));let u=En(t.events,r[1]);if(a={type:o,start:Object.assign({},u),end:Object.assign({},u)},e.add(r[1],0,[["enter",a,t]]),r[2]!==0){let c=En(t.events,r[2]),d=En(t.events,r[3]),f={type:s,start:Object.assign({},c),end:Object.assign({},d)};if(e.add(r[2],0,[["enter",f,t]]),n!==2){let h=t.events[r[2]],p=t.events[r[3]];if(h[1].end=Object.assign({},p[1].end),h[1].type="chunkText",h[1].contentType="text",r[3]>r[2]+1){let m=r[2]+1,k=r[3]-r[2]-1;e.add(m,k,[])}}e.add(r[3]+1,0,[["exit",f,t]])}return i!==void 0&&(a.end=Object.assign({},En(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function Lm(e,t,r,n,i){let a=[],o=En(t.events,r);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),n.end=Object.assign({},o),a.push(["exit",n,t]),e.add(r+1,0,a)}function En(e,t){let r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}var Rm=b(()=>{De();ce();Im();Nm()});var Om=b(()=>{Rm()});function Au(){return{text:{91:Ry}}}function Oy(e,t,r){let n=this;return i;function i(u){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),a)}function a(u){return te(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),o):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),o):r(u)}function o(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):r(u)}function s(u){return U(u)?t(u):Q(u)?e.check({tokenize:Dy},t,r)(u):r(u)}}function Dy(e,t,r){return $(e,n,"whitespace");function n(i){return i===null?r(i):t(i)}}var Ry,Dm=b(()=>{De();ce();Ry={name:"tasklistCheck",tokenize:Oy}});var Pm=b(()=>{Dm()});function Mm(e){return pa([eu(),Tu(),xu(e),ku(),Au()])}var vm=b(()=>{Zs();Zp();Cm();Sm();Om();Pm()});function La(e){let t=this,r=e||Py,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(Mm(r)),a.push(Xs()),o.push(Ks(r))}var Py,Bm=b(()=>{zp();vm();Py={}});var Fm=b(()=>{Bm()});var My,vy,By,Hm,Fy,Hy,Um,Ym,Vm,nt,Uy,zy,mr,jy,qy,Yy,Vy,Gy,Wy,$y,Qy,Xy,Yr,Gm,Ky,Zy,Jy,eC,tC,zm,gr,rC,Wm,Ra,nC,$m,iC,Cu,aC,Qm,oC,sC,uC,_u,jm,lC,cC,dC,fC,hC,pC,Xm,mC,gC,bC,EC,TC,xC,kC,AC,yC,CC,_C,Km,SC,IC,wC,NC,LC,RC,qm,OC,Zm,DC,PC,MC,vC,BC,FC,HC,UC,yu,zC,rt,jC,qC,YC,Jm,e0=b(()=>{My=Object.defineProperty,vy=Object.defineProperties,By=Object.getOwnPropertyDescriptors,Hm=Object.getOwnPropertySymbols,Fy=Object.prototype.hasOwnProperty,Hy=Object.prototype.propertyIsEnumerable,Um=(e,t,r)=>t in e?My(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ym=(e,t)=>{for(var r in t||(t={}))Fy.call(t,r)&&Um(e,r,t[r]);if(Hm)for(var r of Hm(t))Hy.call(t,r)&&Um(e,r,t[r]);return e},Vm=(e,t)=>vy(e,By(t)),nt=(e,t)=>{let r=!1,n=!1;for(let i=0;i<t;i+=1){if(e[i]==="\\"&&i+1<e.length&&e[i+1]==="`"){i+=1;continue}if(e.substring(i,i+3)==="```"){n=!n,i+=2;continue}!n&&e[i]==="`"&&(r=!r)}return r||n},Uy=(e,t)=>{let r=e.substring(t,t+3)==="```",n=t>0&&e.substring(t-1,t+2)==="```",i=t>1&&e.substring(t-2,t+1)==="```";return r||n||i},zy=e=>{let t=0;for(let r=0;r<e.length;r+=1){if(e[r]==="\\"&&r+1<e.length&&e[r+1]==="`"){r+=1;continue}e[r]==="`"&&!Uy(e,r)&&(t+=1)}return t},mr=(e,t)=>{let r=!1,n=!1,i=-1;for(let a=0;a<e.length;a+=1){if(e[a]==="\\"&&a+1<e.length&&e[a+1]==="`"){a+=1;continue}if(e.substring(a,a+3)==="```"){n=!n,a+=2;continue}if(!n&&e[a]==="`")if(r){if(i<t&&t<a)return!0;r=!1,i=-1}else r=!0,i=a}return!1},jy=/^(\s*(?:[-*+]|\d+[.)]) +)>(=?\s*[$]?\d)/gm,qy=e=>!e||typeof e!="string"||!e.includes(">")?e:e.replace(jy,(t,r,n,i)=>nt(e,i)?t:`${r}\\>${n}`),Yy=/(\*\*)([^*]*\*?)$/,Vy=/(__)([^_]*?)$/,Gy=/(\*\*\*)([^*]*?)$/,Wy=/(\*)([^*]*?)$/,$y=/(_)([^_]*?)$/,Qy=/(`)([^`]*?)$/,Xy=/(~~)([^~]*?)$/,Yr=/^[\s_~*`]*$/,Gm=/^[\s]*[-*+][\s]+$/,Ky=/[\p{L}\p{N}_]/u,Zy=/^```[^`\n]*```?$/,Jy=/^\*{4,}$/,eC=/(__)([^_]+)_$/,tC=/(~~)([^~]+)~$/,zm=/~~/g,gr=e=>{if(!e)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===95?!0:Ky.test(e)},rC=(e,t)=>{let r=1;for(let n=t-1;n>=0;n-=1)if(e[n]==="]")r+=1;else if(e[n]==="["&&(r-=1,r===0))return n;return-1},Wm=(e,t)=>{let r=1;for(let n=t+1;n<e.length;n+=1)if(e[n]==="[")r+=1;else if(e[n]==="]"&&(r-=1,r===0))return n;return-1},Ra=(e,t)=>{let r=!1,n=!1;for(let i=0;i<e.length&&i<t;i+=1){if(e[i]==="\\"&&e[i+1]==="$"){i+=1;continue}e[i]==="$"&&(e[i+1]==="$"?(n=!n,i+=1,r=!1):n||(r=!r))}return r||n},nC=(e,t)=>{for(let r=t;r<e.length;r+=1){if(e[r]===")")return!0;if(e[r]===`
|
|
18
|
+
`)return!1}return!1},$m=(e,t)=>{for(let r=t-1;r>=0;r-=1){if(e[r]===")")return!1;if(e[r]==="(")return r>0&&e[r-1]==="]"?nC(e,t):!1;if(e[r]===`
|
|
19
|
+
`)return!1}return!1},iC=(e,t)=>{for(let r=t-1;r>=0;r-=1){if(e[r]===">")return!1;if(e[r]==="<"){let n=r+1<e.length?e[r+1]:"";return n>="a"&&n<="z"||n>="A"&&n<="Z"||n==="/"}if(e[r]===`
|
|
20
|
+
`)return!1}return!1},Cu=(e,t,r)=>{let n=0;for(let u=t-1;u>=0;u-=1)if(e[u]===`
|
|
21
|
+
`){n=u+1;break}let i=e.length;for(let u=t;u<e.length;u+=1)if(e[u]===`
|
|
22
|
+
`){i=u;break}let a=e.substring(n,i),o=0,s=!1;for(let u of a)if(u===r)o+=1;else if(u!==" "&&u!==" "){s=!0;break}return o>=3&&!s},aC=(e,t,r,n)=>r==="\\"||e.includes("$")&&Ra(e,t)?!0:r!=="*"&&n==="*"?(t<e.length-2?e[t+2]:"")!=="*":!!(r==="*"||r&&n&&gr(r)&&gr(n)||(!r||r===" "||r===" "||r===`
|
|
23
|
+
`)&&(!n||n===" "||n===" "||n===`
|
|
24
|
+
`)),Qm=e=>{let t=0,r=!1,n=e.length;for(let i=0;i<n;i+=1){if(e[i]==="`"&&i+2<n&&e[i+1]==="`"&&e[i+2]==="`"){r=!r,i+=2;continue}if(r||e[i]!=="*")continue;let a=i>0?e[i-1]:"",o=i<n-1?e[i+1]:"";aC(e,i,a,o)||(t+=1)}return t},oC=(e,t,r,n)=>!!(r==="\\"||e.includes("$")&&Ra(e,t)||$m(e,t)||iC(e,t)||r==="_"||n==="_"||r&&n&&gr(r)&&gr(n)),sC=e=>{let t=0,r=!1,n=e.length;for(let i=0;i<n;i+=1){if(e[i]==="`"&&i+2<n&&e[i+1]==="`"&&e[i+2]==="`"){r=!r,i+=2;continue}if(r||e[i]!=="_")continue;let a=i>0?e[i-1]:"",o=i<n-1?e[i+1]:"";oC(e,i,a,o)||(t+=1)}return t},uC=e=>{let t=0,r=0,n=!1;for(let i=0;i<e.length;i+=1){if(e[i]==="`"&&i+2<e.length&&e[i+1]==="`"&&e[i+2]==="`"){r>=3&&(t+=Math.floor(r/3)),r=0,n=!n,i+=2;continue}n||(e[i]==="*"?r+=1:(r>=3&&(t+=Math.floor(r/3)),r=0))}return r>=3&&(t+=Math.floor(r/3)),t},_u=e=>{let t=0,r=!1;for(let n=0;n<e.length;n+=1){if(e[n]==="`"&&n+2<e.length&&e[n+1]==="`"&&e[n+2]==="`"){r=!r,n+=2;continue}r||e[n]==="*"&&n+1<e.length&&e[n+1]==="*"&&(t+=1,n+=1)}return t},jm=e=>{let t=0,r=!1;for(let n=0;n<e.length;n+=1){if(e[n]==="`"&&n+2<e.length&&e[n+1]==="`"&&e[n+2]==="`"){r=!r,n+=2;continue}r||e[n]==="_"&&n+1<e.length&&e[n+1]==="_"&&(t+=1,n+=1)}return t},lC=(e,t,r)=>{if(!t||Yr.test(t))return!0;let n=e.substring(0,r).lastIndexOf(`
|
|
25
|
+
`),i=n===-1?0:n+1,a=e.substring(i,r);return Gm.test(a)&&t.includes(`
|
|
26
|
+
`)?!0:Cu(e,r,"*")},cC=e=>{let t=e.match(Yy);if(!t)return e;let r=t[2],n=e.lastIndexOf(t[1]);return nt(e,n)||mr(e,n)||lC(e,r,n)?e:_u(e)%2===1?r.endsWith("*")?`${e}*`:`${e}**`:e},dC=(e,t,r)=>{if(!t||Yr.test(t))return!0;let n=e.substring(0,r).lastIndexOf(`
|
|
27
|
+
`),i=n===-1?0:n+1,a=e.substring(i,r);return Gm.test(a)&&t.includes(`
|
|
28
|
+
`)?!0:Cu(e,r,"_")},fC=e=>{let t=e.match(Vy);if(!t){let i=e.match(eC);if(i){let a=e.lastIndexOf(i[1]);if(!(nt(e,a)||mr(e,a))&&jm(e)%2===1)return`${e}_`}return e}let r=t[2],n=e.lastIndexOf(t[1]);return nt(e,n)||mr(e,n)||dC(e,r,n)?e:jm(e)%2===1?`${e}__`:e},hC=e=>{let t=!1;for(let r=0;r<e.length;r+=1){if(e[r]==="`"&&r+2<e.length&&e[r+1]==="`"&&e[r+2]==="`"){t=!t,r+=2;continue}if(!t&&e[r]==="*"&&e[r-1]!=="*"&&e[r+1]!=="*"&&e[r-1]!=="\\"&&!Ra(e,r)){let n=r>0?e[r-1]:"",i=r<e.length-1?e[r+1]:"";if((!n||n===" "||n===" "||n===`
|
|
29
|
+
`)&&(!i||i===" "||i===" "||i===`
|
|
30
|
+
`)||n&&i&&gr(n)&&gr(i))continue;return r}}return-1},pC=e=>{if(!e.match(Wy))return e;let t=hC(e);if(t===-1||nt(e,t)||mr(e,t))return e;let r=e.substring(t+1);return!r||Yr.test(r)?e:Qm(e)%2===1?`${e}*`:e},Xm=e=>{let t=!1;for(let r=0;r<e.length;r+=1){if(e[r]==="`"&&r+2<e.length&&e[r+1]==="`"&&e[r+2]==="`"){t=!t,r+=2;continue}if(!t&&e[r]==="_"&&e[r-1]!=="_"&&e[r+1]!=="_"&&e[r-1]!=="\\"&&!Ra(e,r)&&!$m(e,r)){let n=r>0?e[r-1]:"",i=r<e.length-1?e[r+1]:"";if(n&&i&&gr(n)&&gr(i))continue;return r}}return-1},mC=e=>{let t=e.length;for(;t>0&&e[t-1]===`
|
|
31
|
+
`;)t-=1;if(t<e.length){let r=e.slice(0,t),n=e.slice(t);return`${r}_${n}`}return`${e}_`},gC=e=>{if(!e.endsWith("**"))return null;let t=e.slice(0,-2);if(_u(t)%2!==1)return null;let r=t.indexOf("**"),n=Xm(t);return r!==-1&&n!==-1&&r<n?`${t}_**`:null},bC=e=>{if(!e.match($y))return e;let t=Xm(e);if(t===-1)return e;let r=e.substring(t+1);if(!r||Yr.test(r)||nt(e,t)||mr(e,t))return e;if(sC(e)%2===1){let n=gC(e);return n!==null?n:mC(e)}return e},EC=e=>{let t=_u(e),r=Qm(e);return t%2===0&&r%2===0},TC=(e,t,r)=>!t||Yr.test(t)||nt(e,r)||mr(e,r)?!0:Cu(e,r,"*"),xC=e=>{if(Jy.test(e))return e;let t=e.match(Gy);if(!t)return e;let r=t[2],n=e.lastIndexOf(t[1]);return TC(e,r,n)?e:uC(e)%2===1?EC(e)?e:`${e}***`:e},kC=/<[a-zA-Z/][^>]*$/,AC=e=>{let t=e.match(kC);return!t||t.index===void 0||nt(e,t.index)?e:e.substring(0,t.index).trimEnd()},yC=e=>!e.match(Zy)||e.includes(`
|
|
32
|
+
`)?null:e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e,CC=e=>(e.match(/```/g)||[]).length%2===1,_C=e=>{let t=yC(e);if(t!==null)return t;let r=e.match(Qy);if(r&&!CC(e)){let n=r[2];if(!n||Yr.test(n))return e;if(zy(e)%2===1)return`${e}\``}return e},Km=(e,t)=>t>=2&&e.substring(t-2,t+1)==="```"||t>=1&&e.substring(t-1,t+2)==="```"||t<=e.length-3&&e.substring(t,t+3)==="```",SC=e=>{let t=0,r=!1;for(let n=0;n<e.length-1;n+=1)e[n]==="`"&&!Km(e,n)&&(r=!r),!r&&e[n]==="$"&&e[n+1]==="$"&&(t+=1,n+=1);return t},IC=e=>{let t=0,r=!1;for(let n=0;n<e.length;n+=1){if(e[n]==="\\"){n+=1;continue}if(e[n]==="`"&&!Km(e,n)){r=!r;continue}!r&&e[n]==="$"&&(n+1<e.length&&e[n+1]==="$"?n+=1:t+=1)}return t},wC=e=>{if(e.endsWith("$")&&!e.endsWith("$$"))return`${e}$`;let t=e.indexOf("$$");return t!==-1&&e.indexOf(`
|
|
33
|
+
`,t)!==-1&&!e.endsWith(`
|
|
34
|
+
`)?`${e}
|
|
35
|
+
$$`:`${e}$$`},NC=e=>SC(e)%2===0?e:wC(e),LC=e=>IC(e)%2===1?`${e}$`:e,RC=(e,t,r)=>{if(e.substring(t+2).includes(")"))return null;let n=rC(e,t);if(n===-1||nt(e,n))return null;let i=n>0&&e[n-1]==="!",a=i?n-1:n,o=e.substring(0,a);if(i)return o;let s=e.substring(n+1,t);return r==="text-only"?`${o}${s}`:`${o}[${s}](streamdown:incomplete-link)`},qm=(e,t)=>{for(let r=0;r<t;r++)if(e[r]==="["&&!nt(e,r)){if(r>0&&e[r-1]==="!")continue;let n=Wm(e,r);if(n===-1)return r;if(n+1<e.length&&e[n+1]==="("){let i=e.indexOf(")",n+2);i!==-1&&(r=i)}}return t},OC=(e,t,r)=>{let n=t>0&&e[t-1]==="!",i=n?t-1:t;if(!e.substring(t+1).includes("]")){let a=e.substring(0,i);if(n)return a;if(r==="text-only"){let o=qm(e,t);return e.substring(0,o)+e.substring(o+1)}return`${e}](streamdown:incomplete-link)`}if(Wm(e,t)===-1){let a=e.substring(0,i);if(n)return a;if(r==="text-only"){let o=qm(e,t);return e.substring(0,o)+e.substring(o+1)}return`${e}](streamdown:incomplete-link)`}return null},Zm=(e,t="protocol")=>{let r=e.lastIndexOf("](");if(r!==-1&&!nt(e,r)){let n=RC(e,r,t);if(n!==null)return n}for(let n=e.length-1;n>=0;n-=1)if(e[n]==="["&&!nt(e,n)){let i=OC(e,n,t);if(i!==null)return i}return e},DC=/^-{1,2}$/,PC=/^[\s]*-{1,2}[\s]+$/,MC=/^={1,2}$/,vC=/^[\s]*={1,2}[\s]+$/,BC=e=>{if(!e||typeof e!="string")return e;let t=e.lastIndexOf(`
|
|
36
|
+
`);if(t===-1)return e;let r=e.substring(t+1),n=e.substring(0,t),i=r.trim();if(DC.test(i)&&!r.match(PC)){let a=n.split(`
|
|
37
|
+
`).at(-1);if(a&&a.trim().length>0)return`${e}\u200B`}if(MC.test(i)&&!r.match(vC)){let a=n.split(`
|
|
38
|
+
`).at(-1);if(a&&a.trim().length>0)return`${e}\u200B`}return e},FC=new RegExp("(?<=[\\p{L}\\p{N}_])~(?!~)(?=[\\p{L}\\p{N}_])","gu"),HC=e=>!e||typeof e!="string"||!e.includes("~")?e:e.replace(FC,(t,r)=>nt(e,r)?t:"\\~"),UC=e=>{var t,r;let n=e.match(Xy);if(n){let i=n[2];if(!i||Yr.test(i))return e;let a=e.lastIndexOf(n[1]);if(nt(e,a)||mr(e,a))return e;if(((t=e.match(zm))==null?void 0:t.length)%2===1)return`${e}~~`}else{let i=e.match(tC);if(i){let a=e.lastIndexOf(i[0].slice(0,2));if(nt(e,a)||mr(e,a))return e;if(((r=e.match(zm))==null?void 0:r.length)%2===1)return`${e}~`}}return e},yu=e=>e!==!1,zC=e=>e===!0,rt={SINGLE_TILDE:0,COMPARISON_OPERATORS:5,HTML_TAGS:10,SETEXT_HEADINGS:15,LINKS:20,BOLD_ITALIC:30,BOLD:35,ITALIC_DOUBLE_UNDERSCORE:40,ITALIC_SINGLE_ASTERISK:41,ITALIC_SINGLE_UNDERSCORE:42,INLINE_CODE:50,STRIKETHROUGH:60,KATEX:70,INLINE_KATEX:75,DEFAULT:100},jC=[{handler:{name:"singleTilde",handle:HC,priority:rt.SINGLE_TILDE},optionKey:"singleTilde"},{handler:{name:"comparisonOperators",handle:qy,priority:rt.COMPARISON_OPERATORS},optionKey:"comparisonOperators"},{handler:{name:"htmlTags",handle:AC,priority:rt.HTML_TAGS},optionKey:"htmlTags"},{handler:{name:"setextHeadings",handle:BC,priority:rt.SETEXT_HEADINGS},optionKey:"setextHeadings"},{handler:{name:"links",handle:Zm,priority:rt.LINKS},optionKey:"links",earlyReturn:e=>e.endsWith("](streamdown:incomplete-link)")},{handler:{name:"boldItalic",handle:xC,priority:rt.BOLD_ITALIC},optionKey:"boldItalic"},{handler:{name:"bold",handle:cC,priority:rt.BOLD},optionKey:"bold"},{handler:{name:"italicDoubleUnderscore",handle:fC,priority:rt.ITALIC_DOUBLE_UNDERSCORE},optionKey:"italic"},{handler:{name:"italicSingleAsterisk",handle:pC,priority:rt.ITALIC_SINGLE_ASTERISK},optionKey:"italic"},{handler:{name:"italicSingleUnderscore",handle:bC,priority:rt.ITALIC_SINGLE_UNDERSCORE},optionKey:"italic"},{handler:{name:"inlineCode",handle:_C,priority:rt.INLINE_CODE},optionKey:"inlineCode"},{handler:{name:"strikethrough",handle:UC,priority:rt.STRIKETHROUGH},optionKey:"strikethrough"},{handler:{name:"katex",handle:NC,priority:rt.KATEX},optionKey:"katex"},{handler:{name:"inlineKatex",handle:LC,priority:rt.INLINE_KATEX},optionKey:"inlineKatex"}],qC=e=>{var t;let r=(t=e?.linkMode)!=null?t:"protocol";return jC.filter(({handler:n,optionKey:i})=>n.name==="links"?yu(e?.links)||yu(e?.images):n.name==="inlineKatex"?zC(e?.inlineKatex):yu(e?.[i])).map(({handler:n,earlyReturn:i})=>n.name==="links"?{handler:Vm(Ym({},n),{handle:a=>Zm(a,r)}),earlyReturn:r==="protocol"?i:void 0}:{handler:n,earlyReturn:i})},YC=(e,t)=>{var r;if(!e||typeof e!="string")return e;let n=e.endsWith(" ")&&!e.endsWith(" ")?e.slice(0,-1):e,i=qC(t),a=((r=t?.handlers)!=null?r:[]).map(s=>{var u;return{handler:Vm(Ym({},s),{priority:(u=s.priority)!=null?u:rt.DEFAULT}),earlyReturn:void 0}}),o=[...i,...a].sort((s,u)=>{var c,d;return((c=s.handler.priority)!=null?c:0)-((d=u.handler.priority)!=null?d:0)});for(let{handler:s,earlyReturn:u}of o)if(n=s.handle(n),u!=null&&u(n))return n;return n},Jm=YC});function t0(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=t0(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Su(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=t0(e))&&(n&&(n+=" "),n+=t);return n}var r0=b(()=>{});var VC,GC,u0,n0,WC,$C,l0,QC,XC,KC,wu,ZC,JC,e_,t_,c0,r_,n_,i_,i0,a_,o_,s_,u_,l_,c_,d_,d0,f_,h_,Fe,f0,h0,p_,m_,g_,b_,E_,T_,br,ne,jt,Iu,ir,p0,x_,Nu,k_,A_,y_,C_,__,j,Vr,a0,S_,I_,o0,w_,Oa,q,oi,N_,s0,L_,R_,Da,O_,Er,Gr,m0,g0,b0,E0,D_,T0,x0,k0,P_,Lu,A0=b(()=>{VC=(e,t)=>{let r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},GC=(e,t)=>({classGroupId:e,validator:t}),u0=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),n0=[],WC="arbitrary..",$C=e=>{let t=XC(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return QC(o);let s=o.split("-"),u=s[0]===""&&s.length>1?1:0;return l0(s,u,t)},getConflictingClassGroupIds:(o,s)=>{if(s){let u=n[o],c=r[o];return u?c?VC(c,u):u:c||n0}return r[o]||n0}}},l0=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;let i=e[t],a=r.nextPart.get(i);if(a){let c=l0(e,t+1,a);if(c)return c}let o=r.validators;if(o===null)return;let s=t===0?e.join("-"):e.slice(t).join("-"),u=o.length;for(let c=0;c<u;c++){let d=o[c];if(d.validator(s))return d.classGroupId}},QC=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?WC+n:void 0})(),XC=e=>{let{theme:t,classGroups:r}=e;return KC(r,t)},KC=(e,t)=>{let r=u0();for(let n in e){let i=e[n];wu(i,r,n,t)}return r},wu=(e,t,r,n)=>{let i=e.length;for(let a=0;a<i;a++){let o=e[a];ZC(o,t,r,n)}},ZC=(e,t,r,n)=>{if(typeof e=="string"){JC(e,t,r);return}if(typeof e=="function"){e_(e,t,r,n);return}t_(e,t,r,n)},JC=(e,t,r)=>{let n=e===""?t:c0(t,e);n.classGroupId=r},e_=(e,t,r,n)=>{if(r_(e)){wu(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(GC(r,e))},t_=(e,t,r,n)=>{let i=Object.entries(e),a=i.length;for(let o=0;o<a;o++){let[s,u]=i[o];wu(u,c0(t,s),r,n)}},c0=(e,t)=>{let r=e,n=t.split("-"),i=n.length;for(let a=0;a<i;a++){let o=n[a],s=r.nextPart.get(o);s||(s=u0(),r.nextPart.set(o,s)),r=s}return r},r_=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,n_=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),i=(a,o)=>{r[a]=o,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(a){let o=r[a];if(o!==void 0)return o;if((o=n[a])!==void 0)return i(a,o),o},set(a,o){a in r?r[a]=o:i(a,o)}}},i_=[],i0=(e,t,r,n,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:i}),a_=e=>{let{prefix:t,experimentalParseClassName:r}=e,n=i=>{let a=[],o=0,s=0,u=0,c,d=i.length;for(let k=0;k<d;k++){let _=i[k];if(o===0&&s===0){if(_===":"){a.push(i.slice(u,k)),u=k+1;continue}if(_==="/"){c=k;continue}}_==="["?o++:_==="]"?o--:_==="("?s++:_===")"&&s--}let f=a.length===0?i:i.slice(u),h=f,p=!1;f.endsWith("!")?(h=f.slice(0,-1),p=!0):f.startsWith("!")&&(h=f.slice(1),p=!0);let m=c&&c>u?c-u:void 0;return i0(a,p,h,m)};if(t){let i=t+":",a=n;n=o=>o.startsWith(i)?a(o.slice(i.length)):i0(i_,!1,o,void 0,!0)}if(r){let i=n;n=a=>r({className:a,parseClassName:i})}return n},o_=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{let n=[],i=[];for(let a=0;a<r.length;a++){let o=r[a],s=o[0]==="[",u=t.has(o);s||u?(i.length>0&&(i.sort(),n.push(...i),i=[]),n.push(o)):i.push(o)}return i.length>0&&(i.sort(),n.push(...i)),n}},s_=e=>({cache:n_(e.cacheSize),parseClassName:a_(e),sortModifiers:o_(e),postfixLookupClassGroupIds:u_(e),...$C(e)}),u_=e=>{let t=Object.create(null),r=e.postfixLookupClassGroups;if(r)for(let n=0;n<r.length;n++)t[r[n]]=!0;return t},l_=/\s+/,c_=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],u=e.trim().split(l_),c="";for(let d=u.length-1;d>=0;d-=1){let f=u[d],{isExternal:h,modifiers:p,hasImportantModifier:m,baseClassName:k,maybePostfixModifierPosition:_}=r(f);if(h){c=f+(c.length>0?" "+c:c);continue}let A=!!_,R;if(A){let V=k.substring(0,_);R=n(V);let P=R&&o[R]?n(k):void 0;P&&P!==R&&(R=P,A=!1)}else R=n(k);if(!R){if(!A){c=f+(c.length>0?" "+c:c);continue}if(R=n(k),!R){c=f+(c.length>0?" "+c:c);continue}A=!1}let N=p.length===0?"":p.length===1?p[0]:a(p).join(":"),F=m?N+"!":N,M=F+R;if(s.indexOf(M)>-1)continue;s.push(M);let I=i(R,A);for(let V=0;V<I.length;++V){let P=I[V];s.push(F+P)}c=f+(c.length>0?" "+c:c)}return c},d_=(...e)=>{let t=0,r,n,i="";for(;t<e.length;)(r=e[t++])&&(n=d0(r))&&(i&&(i+=" "),i+=n);return i},d0=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=d0(e[n]))&&(r&&(r+=" "),r+=t);return r},f_=(e,...t)=>{let r,n,i,a,o=u=>{let c=t.reduce((d,f)=>f(d),e());return r=s_(c),n=r.cache.get,i=r.cache.set,a=s,s(u)},s=u=>{let c=n(u);if(c)return c;let d=c_(u,r);return i(u,d),d};return a=o,(...u)=>a(d_(...u))},h_=[],Fe=e=>{let t=r=>r[e]||h_;return t.isThemeGetter=!0,t},f0=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,h0=/^\((?:(\w[\w-]*):)?(.+)\)$/i,p_=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,m_=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,g_=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,b_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,E_=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,T_=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,br=e=>p_.test(e),ne=e=>!!e&&!Number.isNaN(Number(e)),jt=e=>!!e&&Number.isInteger(Number(e)),Iu=e=>e.endsWith("%")&&ne(e.slice(0,-1)),ir=e=>m_.test(e),p0=()=>!0,x_=e=>g_.test(e)&&!b_.test(e),Nu=()=>!1,k_=e=>E_.test(e),A_=e=>T_.test(e),y_=e=>!j(e)&&!q(e),C_=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),__=e=>Er(e,b0,Nu),j=e=>f0.test(e),Vr=e=>Er(e,E0,x_),a0=e=>Er(e,D_,ne),S_=e=>Er(e,x0,p0),I_=e=>Er(e,T0,Nu),o0=e=>Er(e,m0,Nu),w_=e=>Er(e,g0,A_),Oa=e=>Er(e,k0,k_),q=e=>h0.test(e),oi=e=>Gr(e,E0),N_=e=>Gr(e,T0),s0=e=>Gr(e,m0),L_=e=>Gr(e,b0),R_=e=>Gr(e,g0),Da=e=>Gr(e,k0,!0),O_=e=>Gr(e,x0,!0),Er=(e,t,r)=>{let n=f0.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},Gr=(e,t,r=!1)=>{let n=h0.exec(e);return n?n[1]?t(n[1]):r:!1},m0=e=>e==="position"||e==="percentage",g0=e=>e==="image"||e==="url",b0=e=>e==="length"||e==="size"||e==="bg-size",E0=e=>e==="length",D_=e=>e==="number",T0=e=>e==="family-name",x0=e=>e==="number"||e==="weight",k0=e=>e==="shadow",P_=()=>{let e=Fe("color"),t=Fe("font"),r=Fe("text"),n=Fe("font-weight"),i=Fe("tracking"),a=Fe("leading"),o=Fe("breakpoint"),s=Fe("container"),u=Fe("spacing"),c=Fe("radius"),d=Fe("shadow"),f=Fe("inset-shadow"),h=Fe("text-shadow"),p=Fe("drop-shadow"),m=Fe("blur"),k=Fe("perspective"),_=Fe("aspect"),A=Fe("ease"),R=Fe("animate"),N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],M=()=>[...F(),q,j],I=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto","contain","none"],P=()=>[q,j,u],G=()=>[br,"full","auto",...P()],w=()=>[jt,"none","subgrid",q,j],ie=()=>["auto",{span:["full",jt,q,j]},jt,q,j],Z=()=>[jt,"auto",q,j],Y=()=>["auto","min","max","fr",q,j],X=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...P()],ee=()=>[br,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],Ce=()=>[br,"screen","full","dvw","lvw","svw","min","max","fit",...P()],He=()=>[br,"screen","full","lh","dvh","lvh","svh","min","max","fit",...P()],T=()=>[e,q,j],Me=()=>[...F(),s0,o0,{position:[q,j]}],Ue=()=>["no-repeat",{repeat:["","x","y","space","round"]}],y=()=>["auto","cover","contain",L_,__,{size:[q,j]}],ve=()=>[Iu,oi,Vr],de=()=>["","none","full",c,q,j],Ie=()=>["",ne,oi,Vr],Tt=()=>["solid","dashed","dotted","double"],Ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],he=()=>[ne,Iu,s0,o0],Ze=()=>["","none",m,q,j],st=()=>["none",ne,q,j],ut=()=>["none",ne,q,j],Ot=()=>[ne,q,j],Yt=()=>[br,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ir],breakpoint:[ir],color:[p0],container:[ir],"drop-shadow":[ir],ease:["in","out","in-out"],font:[y_],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ir],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ir],shadow:[ir],spacing:["px",ne],text:[ir],"text-shadow":[ir],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",br,j,q,_]}],container:["container"],"container-type":[{"@container":["","normal","size",q,j]}],"container-named":[C_],columns:[{columns:[ne,j,q,s]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:M()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:G()}],"inset-x":[{"inset-x":G()}],"inset-y":[{"inset-y":G()}],start:[{"inset-s":G(),start:G()}],end:[{"inset-e":G(),end:G()}],"inset-bs":[{"inset-bs":G()}],"inset-be":[{"inset-be":G()}],top:[{top:G()}],right:[{right:G()}],bottom:[{bottom:G()}],left:[{left:G()}],visibility:["visible","invisible","collapse"],z:[{z:[jt,"auto",q,j]}],basis:[{basis:[br,"full","auto",s,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ne,br,"auto","initial","none",j]}],grow:[{grow:["",ne,q,j]}],shrink:[{shrink:["",ne,q,j]}],order:[{order:[jt,"first","last","none",q,j]}],"grid-cols":[{"grid-cols":w()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":w()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Y()}],"auto-rows":[{"auto-rows":Y()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...X(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...X()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":X()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pbs:[{pbs:P()}],pbe:[{pbe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mbs:[{mbs:z()}],mbe:[{mbe:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:ee()}],"inline-size":[{inline:["auto",...Ce()]}],"min-inline-size":[{"min-inline":["auto",...Ce()]}],"max-inline-size":[{"max-inline":["none",...Ce()]}],"block-size":[{block:["auto",...He()]}],"min-block-size":[{"min-block":["auto",...He()]}],"max-block-size":[{"max-block":["none",...He()]}],w:[{w:[s,"screen",...ee()]}],"min-w":[{"min-w":[s,"screen","none",...ee()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...ee()]}],h:[{h:["screen","lh",...ee()]}],"min-h":[{"min-h":["screen","lh","none",...ee()]}],"max-h":[{"max-h":["screen","lh",...ee()]}],"font-size":[{text:["base",r,oi,Vr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,O_,S_]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Iu,j]}],"font-family":[{font:[N_,I_,t]}],"font-features":[{"font-features":[j]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,q,j]}],"line-clamp":[{"line-clamp":[ne,"none",q,a0]}],leading:[{leading:[a,...P()]}],"list-image":[{"list-image":["none",q,j]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",q,j]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Tt(),"wavy"]}],"text-decoration-thickness":[{decoration:[ne,"from-font","auto",q,Vr]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[ne,"auto",q,j]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"tab-size":[{tab:[jt,q,j]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q,j]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",q,j]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Me()}],"bg-repeat":[{bg:Ue()}],"bg-size":[{bg:y()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},jt,q,j],radial:["",q,j],conic:[jt,q,j]},R_,w_]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:ve()}],"gradient-via-pos":[{via:ve()}],"gradient-to-pos":[{to:ve()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:Ie()}],"border-w-x":[{"border-x":Ie()}],"border-w-y":[{"border-y":Ie()}],"border-w-s":[{"border-s":Ie()}],"border-w-e":[{"border-e":Ie()}],"border-w-bs":[{"border-bs":Ie()}],"border-w-be":[{"border-be":Ie()}],"border-w-t":[{"border-t":Ie()}],"border-w-r":[{"border-r":Ie()}],"border-w-b":[{"border-b":Ie()}],"border-w-l":[{"border-l":Ie()}],"divide-x":[{"divide-x":Ie()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Ie()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Tt(),"hidden","none"]}],"divide-style":[{divide:[...Tt(),"hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-bs":[{"border-bs":T()}],"border-color-be":[{"border-be":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:[...Tt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ne,q,j]}],"outline-w":[{outline:["",ne,oi,Vr]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",d,Da,Oa]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",f,Da,Oa]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:Ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[ne,Vr]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":Ie()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",h,Da,Oa]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[ne,q,j]}],"mix-blend":[{"mix-blend":[...Ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ne]}],"mask-image-linear-from-pos":[{"mask-linear-from":he()}],"mask-image-linear-to-pos":[{"mask-linear-to":he()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":he()}],"mask-image-t-to-pos":[{"mask-t-to":he()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":he()}],"mask-image-r-to-pos":[{"mask-r-to":he()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":he()}],"mask-image-b-to-pos":[{"mask-b-to":he()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":he()}],"mask-image-l-to-pos":[{"mask-l-to":he()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":he()}],"mask-image-x-to-pos":[{"mask-x-to":he()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":he()}],"mask-image-y-to-pos":[{"mask-y-to":he()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[q,j]}],"mask-image-radial-from-pos":[{"mask-radial-from":he()}],"mask-image-radial-to-pos":[{"mask-radial-to":he()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":F()}],"mask-image-conic-pos":[{"mask-conic":[ne]}],"mask-image-conic-from-pos":[{"mask-conic-from":he()}],"mask-image-conic-to-pos":[{"mask-conic-to":he()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Me()}],"mask-repeat":[{mask:Ue()}],"mask-size":[{mask:y()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",q,j]}],filter:[{filter:["","none",q,j]}],blur:[{blur:Ze()}],brightness:[{brightness:[ne,q,j]}],contrast:[{contrast:[ne,q,j]}],"drop-shadow":[{"drop-shadow":["","none",p,Da,Oa]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",ne,q,j]}],"hue-rotate":[{"hue-rotate":[ne,q,j]}],invert:[{invert:["",ne,q,j]}],saturate:[{saturate:[ne,q,j]}],sepia:[{sepia:["",ne,q,j]}],"backdrop-filter":[{"backdrop-filter":["","none",q,j]}],"backdrop-blur":[{"backdrop-blur":Ze()}],"backdrop-brightness":[{"backdrop-brightness":[ne,q,j]}],"backdrop-contrast":[{"backdrop-contrast":[ne,q,j]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ne,q,j]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ne,q,j]}],"backdrop-invert":[{"backdrop-invert":["",ne,q,j]}],"backdrop-opacity":[{"backdrop-opacity":[ne,q,j]}],"backdrop-saturate":[{"backdrop-saturate":[ne,q,j]}],"backdrop-sepia":[{"backdrop-sepia":["",ne,q,j]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",q,j]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ne,"initial",q,j]}],ease:[{ease:["linear","initial",A,q,j]}],delay:[{delay:[ne,q,j]}],animate:[{animate:["none",R,q,j]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,q,j]}],"perspective-origin":[{"perspective-origin":M()}],rotate:[{rotate:st()}],"rotate-x":[{"rotate-x":st()}],"rotate-y":[{"rotate-y":st()}],"rotate-z":[{"rotate-z":st()}],scale:[{scale:ut()}],"scale-x":[{"scale-x":ut()}],"scale-y":[{"scale-y":ut()}],"scale-z":[{"scale-z":ut()}],"scale-3d":["scale-3d"],skew:[{skew:Ot()}],"skew-x":[{"skew-x":Ot()}],"skew-y":[{"skew-y":Ot()}],transform:[{transform:[q,j,"","none","gpu","cpu"]}],"transform-origin":[{origin:M()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Yt()}],"translate-x":[{"translate-x":Yt()}],"translate-y":[{"translate-y":Yt()}],"translate-z":[{"translate-z":Yt()}],"translate-none":["translate-none"],zoom:[{zoom:[jt,q,j]}],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",q,j]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":T()}],"scrollbar-track-color":[{"scrollbar-track":T()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mbs":[{"scroll-mbs":P()}],"scroll-mbe":[{"scroll-mbe":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pbs":[{"scroll-pbs":P()}],"scroll-pbe":[{"scroll-pbe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",q,j]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[ne,oi,Vr,a0]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Lu=f_(P_)});function Pa(e,t){return((t||B_).jsx?v_:M_).test(e)}var M_,v_,B_,y0=b(()=>{M_=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,v_=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,B_={}});var C0=b(()=>{y0()});function Ru(e){return typeof e=="object"?e.type==="text"?_0(e.value):!1:_0(e)}function _0(e){return e.replace(F_,"")===""}var F_,S0=b(()=>{F_=/[ \t\n\f\r]/g});var I0=b(()=>{S0()});var D0=_n((B7,O0)=>{"use strict";var w0=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,H_=/\n/g,U_=/^\s*/,z_=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,j_=/^:\s*/,q_=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Y_=/^[;\s]*/,V_=/^\s+|\s+$/g,G_=`
|
|
39
|
+
`,N0="/",L0="*",Wr="",W_="comment",$_="declaration";function Q_(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,n=1;function i(m){var k=m.match(H_);k&&(r+=k.length);var _=m.lastIndexOf(G_);n=~_?m.length-_:n+m.length}function a(){var m={line:r,column:n};return function(k){return k.position=new o(m),c(),k}}function o(m){this.start=m,this.end={line:r,column:n},this.source=t.source}o.prototype.content=e;function s(m){var k=new Error(t.source+":"+r+":"+n+": "+m);if(k.reason=m,k.filename=t.source,k.line=r,k.column=n,k.source=e,!t.silent)throw k}function u(m){var k=m.exec(e);if(k){var _=k[0];return i(_),e=e.slice(_.length),k}}function c(){u(U_)}function d(m){var k;for(m=m||[];k=f();)k!==!1&&m.push(k);return m}function f(){var m=a();if(!(N0!=e.charAt(0)||L0!=e.charAt(1))){for(var k=2;Wr!=e.charAt(k)&&(L0!=e.charAt(k)||N0!=e.charAt(k+1));)++k;if(k+=2,Wr===e.charAt(k-1))return s("End of comment missing");var _=e.slice(2,k-2);return n+=2,i(_),e=e.slice(k),n+=2,m({type:W_,comment:_})}}function h(){var m=a(),k=u(z_);if(k){if(f(),!u(j_))return s("property missing ':'");var _=u(q_),A=m({type:$_,property:R0(k[0].replace(w0,Wr)),value:_?R0(_[0].replace(w0,Wr)):Wr});return u(Y_),A}}function p(){var m=[];d(m);for(var k;k=h();)k!==!1&&(m.push(k),d(m));return m}return c(),p()}function R0(e){return e?e.replace(V_,Wr):Wr}O0.exports=Q_});var P0=_n(si=>{"use strict";var X_=si&&si.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(si,"__esModule",{value:!0});si.default=Z_;var K_=X_(D0());function Z_(e,t){let r=null;if(!e||typeof e!="string")return r;let n=(0,K_.default)(e),i=typeof t=="function";return n.forEach(a=>{if(a.type!=="declaration")return;let{property:o,value:s}=a;i?t(o,s,a):s&&(r=r||{},r[o]=s)}),r}});var v0=_n(Ma=>{"use strict";Object.defineProperty(Ma,"__esModule",{value:!0});Ma.camelCase=void 0;var J_=/^--[a-zA-Z0-9_-]+$/,e6=/-([a-z])/g,t6=/^[^-]+$/,r6=/^-(webkit|moz|ms|o|khtml)-/,n6=/^-(ms)-/,i6=function(e){return!e||t6.test(e)||J_.test(e)},a6=function(e,t){return t.toUpperCase()},M0=function(e,t){return"".concat(t,"-")},o6=function(e,t){return t===void 0&&(t={}),i6(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(n6,M0):e=e.replace(r6,M0),e.replace(e6,a6))};Ma.camelCase=o6});var F0=_n((Du,B0)=>{"use strict";var s6=Du&&Du.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},u6=s6(P0()),l6=v0();function Ou(e,t){var r={};return!e||typeof e!="string"||(0,u6.default)(e,function(n,i){n&&i&&(r[(0,l6.camelCase)(n,t)]=i)}),r}Ou.default=Ou;B0.exports=Ou});function Tr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?H0(e.position):"start"in e||"end"in e?H0(e):"line"in e||"column"in e?Pu(e):""}function Pu(e){return U0(e&&e.line)+":"+U0(e&&e.column)}function H0(e){return Pu(e&&e.start)+"-"+Pu(e&&e.end)}function U0(e){return e&&typeof e=="number"?e:1}var z0=b(()=>{});var Mu=b(()=>{z0()});var Pe,j0=b(()=>{Mu();Pe=class extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},o=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof t=="string"?i=t:!a.cause&&t&&(o=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof n=="string"){let u=n.indexOf(":");u===-1?a.ruleId=n:(a.source=n.slice(0,u),a.ruleId=n.slice(u+1))}if(!a.place&&a.ancestors&&a.ancestors){let u=a.ancestors[a.ancestors.length-1];u&&(a.place=u.position)}let s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=Tr(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=o&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};Pe.prototype.file="";Pe.prototype.name="";Pe.prototype.reason="";Pe.prototype.message="";Pe.prototype.stack="";Pe.prototype.column=void 0;Pe.prototype.line=void 0;Pe.prototype.ancestors=void 0;Pe.prototype.cause=void 0;Pe.prototype.fatal=void 0;Pe.prototype.place=void 0;Pe.prototype.ruleId=void 0;Pe.prototype.source=void 0});var vu=b(()=>{j0()});function Fu(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let r=t.filePath||void 0,n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=k6(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=x6(r,t.jsx,t.jsxs)}let i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?bt:er,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=V0(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function V0(e,t,r){if(t.type==="element")return p6(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return m6(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return b6(e,t,r);if(t.type==="mdxjsEsm")return g6(e,t);if(t.type==="root")return E6(e,t,r);if(t.type==="text")return T6(e,t)}function p6(e,t,r){let n=e.schema,i=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(i=bt,e.schema=i),e.ancestors.push(t);let a=W0(e,t.tagName,!1),o=A6(e,t),s=Uu(e,t);return f6.has(t.tagName)&&(s=s.filter(function(u){return typeof u=="string"?!Ru(u):!0})),G0(e,o,a,t),Hu(o,s),e.ancestors.pop(),e.schema=n,e.create(t,a,o,r)}function m6(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}ui(e,t.position)}function g6(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ui(e,t.position)}function b6(e,t,r){let n=e.schema,i=n;t.name==="svg"&&n.space==="html"&&(i=bt,e.schema=i),e.ancestors.push(t);let a=t.name===null?e.Fragment:W0(e,t.name,!0),o=y6(e,t),s=Uu(e,t);return G0(e,o,a,t),Hu(o,s),e.ancestors.pop(),e.schema=n,e.create(t,a,o,r)}function E6(e,t,r){let n={};return Hu(n,Uu(e,t)),e.create(t,e.Fragment,n,r)}function T6(e,t){return t.value}function G0(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function Hu(e,t){if(t.length>0){let r=t.length>1?t:t[0];r&&(e.children=r)}}function x6(e,t,r){return n;function n(i,a,o,s){let c=Array.isArray(o.children)?r:t;return s?c(a,o,s):c(a,o)}}function k6(e,t){return r;function r(n,i,a,o){let s=Array.isArray(a.children),u=dt(n);return t(i,a,o,s,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function A6(e,t){let r={},n,i;for(i in t.properties)if(i!=="children"&&Bu.call(t.properties,i)){let a=C6(e,i,t.properties[i]);if(a){let[o,s]=a;e.tableCellAlignToStyle&&o==="align"&&typeof s=="string"&&h6.has(t.tagName)?n=s:r[o]=s}}if(n){let a=r.style||(r.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function y6(e,t){let r={};for(let n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){let a=n.data.estree.body[0];a.type;let o=a.expression;o.type;let s=o.properties[0];s.type,Object.assign(r,e.evaluater.evaluateExpression(s.argument))}else ui(e,t.position);else{let i=n.name,a;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){let s=n.value.data.estree.body[0];s.type,a=e.evaluater.evaluateExpression(s.expression)}else ui(e,t.position);else a=n.value===null?!0:n.value;r[i]=a}return r}function Uu(e,t){let r=[],n=-1,i=e.passKeys?new Map:c6;for(;++n<t.children.length;){let a=t.children[n],o;if(e.passKeys){let u=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(u){let c=i.get(u)||0;o=u+"-"+c,i.set(u,c+1)}}let s=V0(e,a,o);s!==void 0&&r.push(s)}return r}function C6(e,t,r){let n=Jt(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?Ri(r):Di(r)),n.property==="style"){let i=typeof r=="object"?r:_6(e,String(r));return e.stylePropertyNameCase==="css"&&(i=S6(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&n.space?Bo[n.property]||n.property:n.attribute,r]}}function _6(e,t){try{return(0,q0.default)(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};let n=r,i=new Pe("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Y0+"#cannot-parse-style-attribute",i}}function W0(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){let i=t.split("."),a=-1,o;for(;++a<i.length;){let s=Pa(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};o=o?{type:"MemberExpression",object:o,property:s,computed:!!(a&&s.type==="Literal"),optional:!1}:s}n=o}else n=Pa(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){let i=n.value;return Bu.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(n);ui(e)}function ui(e,t){let r=new Pe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Y0+"#cannot-handle-mdx-estrees-without-createevaluater",r}function S6(e){let t={},r;for(r in e)Bu.call(e,r)&&(t[I6(r)]=e[r]);return t}function I6(e){let t=e.replace(d6,w6);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function w6(e){return"-"+e.toLowerCase()}var q0,Bu,c6,d6,f6,h6,Y0,$0=b(()=>{Oi();C0();I0();an();Pi();q0=zl(F0(),1);cn();vu();Bu={}.hasOwnProperty,c6=new Map,d6=/[A-Z]/g,f6=new Set(["table","tbody","thead","tfoot","tr"]),h6=new Set(["td","th"]),Y0="https://github.com/syntax-tree/hast-util-to-jsx-runtime"});var Q0=b(()=>{$0()});var li,X0=b(()=>{li={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]}});var K0=b(()=>{X0()});function N6(e){let t=e.attempt(this.parser.constructs.contentInitial,n,i),r;return t;function n(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),$(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),a(s)}function a(s){let u=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=u),r=u,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return U(s)?(e.consume(s),e.exit("chunkText"),a):(e.consume(s),o)}}var Z0,J0=b(()=>{De();ce();Z0={tokenize:N6}});function L6(e){let t=this,r=[],n=0,i,a,o;return s;function s(N){if(n<r.length){let F=r[n];return t.containerState=F[1],e.attempt(F[0].continuation,u,c)(N)}return c(N)}function u(N){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&R();let F=t.events.length,M=F,I;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){I=t.events[M][1].end;break}A(n);let V=F;for(;V<t.events.length;)t.events[V][1].end={...I},V++;return Ee(t.events,M+1,0,t.events.slice(F)),t.events.length=V,c(N)}return s(N)}function c(N){if(n===r.length){if(!i)return h(N);if(i.currentConstruct&&i.currentConstruct.concrete)return m(N);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(e1,d,f)(N)}function d(N){return i&&R(),A(n),h(N)}function f(N){return t.parser.lazy[t.now().line]=n!==r.length,o=t.now().offset,m(N)}function h(N){return t.containerState={},e.attempt(e1,p,m)(N)}function p(N){return n++,r.push([t.currentConstruct,t.containerState]),h(N)}function m(N){if(N===null){i&&R(),A(0),e.consume(N);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),k(N)}function k(N){if(N===null){_(e.exit("chunkFlow"),!0),A(0),e.consume(N);return}return U(N)?(e.consume(N),_(e.exit("chunkFlow")),n=0,t.interrupt=void 0,s):(e.consume(N),k)}function _(N,F){let M=t.sliceStream(N);if(F&&M.push(null),N.previous=a,a&&(a.next=N),a=N,i.defineSkip(N.start),i.write(M),t.parser.lazy[N.start.line]){let I=i.events.length;for(;I--;)if(i.events[I][1].start.offset<o&&(!i.events[I][1].end||i.events[I][1].end.offset>o))return;let V=t.events.length,P=V,G,w;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){if(G){w=t.events[P][1].end;break}G=!0}for(A(n),I=V;I<t.events.length;)t.events[I][1].end={...w},I++;Ee(t.events,P+1,0,t.events.slice(V)),t.events.length=I}}function A(N){let F=r.length;for(;F-- >N;){let M=r[F];t.containerState=M[1],M[0].exit.call(t,e)}r.length=N}function R(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function R6(e,t,r){return $(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var t1,e1,r1=b(()=>{De();ce();At();t1={tokenize:L6},e1={tokenize:R6}});function O6(e){let t=this,r=e.attempt(zt,n,e.attempt(this.parser.constructs.flowInitial,i,$(e,e.attempt(this.parser.constructs.flow,i,e.attempt(au,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}var n1,i1=b(()=>{Ia();De();n1={tokenize:O6}});function u1(e){return{resolveAll:l1(e==="text"?D6:void 0),tokenize:t};function t(r){let n=this,i=this.parser.constructs[e],a=r.attempt(i,o,s);return o;function o(d){return c(d)?a(d):s(d)}function s(d){if(d===null){r.consume(d);return}return r.enter("data"),r.consume(d),u}function u(d){return c(d)?(r.exit("data"),a(d)):(r.consume(d),u)}function c(d){if(d===null)return!0;let f=i[d],h=-1;if(f)for(;++h<f.length;){let p=f[h];if(!p.previous||p.previous.call(n,n.previous))return!0}return!1}}}function l1(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function D6(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){let n=e[r-1][1],i=t.sliceStream(n),a=i.length,o=-1,s=0,u;for(;a--;){let c=i[a];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(c===-2)u=!0,s++;else if(c!==-1){a++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(s=0),s){let c={type:r===e.length||u||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?o:n.start._bufferIndex+o,_index:n.start._index+a,line:n.end.line,column:n.end.column-s,offset:n.end.offset-s},end:{...n.end}};n.end={...c.start},n.start.offset===n.end.offset?Object.assign(n,c):(e.splice(r,0,["enter",c,t],["exit",c,t]),r+=2)}r++}return e}var a1,o1,s1,zu=b(()=>{a1={resolveAll:l1()},o1=u1("string"),s1=u1("text")});var ju={};tn(ju,{attentionMarkers:()=>z6,contentInitial:()=>M6,disable:()=>j6,document:()=>P6,flow:()=>B6,flowInitial:()=>v6,insideSpan:()=>U6,string:()=>F6,text:()=>H6});var P6,M6,v6,B6,F6,H6,U6,z6,j6,c1=b(()=>{Ia();zu();P6={42:Qe,43:Qe,45:Qe,48:Qe,49:Qe,50:Qe,51:Qe,52:Qe,53:Qe,54:Qe,55:Qe,56:Qe,57:Qe,62:ga},M6={91:cu},v6={[-2]:ni,[-1]:ni,32:ni},B6={35:fu,42:qr,45:[Sa,qr],60:pu,61:Sa,95:qr,96:Ta,126:Ta},F6={38:Ea,92:ba},H6={[-5]:ai,[-4]:ai,[-3]:ai,33:gu,38:Ea,42:ri,60:[ru,mu],91:bu,92:[du,ba],93:jr,95:ri,96:nu},U6={null:[ri,a1]},z6={null:[42,95]},j6={null:[]}});function d1(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},i={},a=[],o=[],s=[],u=!0,c={attempt:G(V),check:G(P),consume:F,enter:M,exit:I,interrupt:G(P,{interrupt:!0})},d={code:null,containerState:{},defineSkip:A,events:[],now:_,parser:e,previous:null,sliceSerialize:m,sliceStream:k,write:p},f=t.tokenize.call(d,c),h;return t.resolveAll&&a.push(t),d;function p(Y){return o=Oe(o,Y),R(),o[o.length-1]!==null?[]:(w(t,0),d.events=mt(a,d.events,d),d.events)}function m(Y,X){return Y6(k(Y),X)}function k(Y){return q6(o,Y)}function _(){let{_bufferIndex:Y,_index:X,line:W,column:z,offset:ee}=n;return{_bufferIndex:Y,_index:X,line:W,column:z,offset:ee}}function A(Y){i[Y.line]=Y.column,Z()}function R(){let Y;for(;n._index<o.length;){let X=o[n._index];if(typeof X=="string")for(Y=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===Y&&n._bufferIndex<X.length;)N(X.charCodeAt(n._bufferIndex));else N(X)}}function N(Y){u=void 0,h=Y,f=f(Y)}function F(Y){U(Y)?(n.line++,n.column=1,n.offset+=Y===-3?2:1,Z()):Y!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===o[n._index].length&&(n._bufferIndex=-1,n._index++)),d.previous=Y,u=!0}function M(Y,X){let W=X||{};return W.type=Y,W.start=_(),d.events.push(["enter",W,d]),s.push(W),W}function I(Y){let X=s.pop();return X.end=_(),d.events.push(["exit",X,d]),X}function V(Y,X){w(Y,X.from)}function P(Y,X){X.restore()}function G(Y,X){return W;function W(z,ee,Ce){let He,T,Me,Ue;return Array.isArray(z)?ve(z):"tokenize"in z?ve([z]):y(z);function y(Ae){return he;function he(Ze){let st=Ze!==null&&Ae[Ze],ut=Ze!==null&&Ae.null,Ot=[...Array.isArray(st)?st:st?[st]:[],...Array.isArray(ut)?ut:ut?[ut]:[]];return ve(Ot)(Ze)}}function ve(Ae){return He=Ae,T=0,Ae.length===0?Ce:de(Ae[T])}function de(Ae){return he;function he(Ze){return Ue=ie(),Me=Ae,Ae.partial||(d.currentConstruct=Ae),Ae.name&&d.parser.constructs.disable.null.includes(Ae.name)?Tt(Ze):Ae.tokenize.call(X?Object.assign(Object.create(d),X):d,c,Ie,Tt)(Ze)}}function Ie(Ae){return u=!0,Y(Me,Ue),ee}function Tt(Ae){return u=!0,Ue.restore(),++T<He.length?de(He[T]):Ce}}}function w(Y,X){Y.resolveAll&&!a.includes(Y)&&a.push(Y),Y.resolve&&Ee(d.events,X,d.events.length-X,Y.resolve(d.events.slice(X),d)),Y.resolveTo&&(d.events=Y.resolveTo(d.events,d))}function ie(){let Y=_(),X=d.previous,W=d.currentConstruct,z=d.events.length,ee=Array.from(s);return{from:z,restore:Ce};function Ce(){n=Y,d.previous=X,d.currentConstruct=W,d.events.length=z,s=ee,Z()}}function Z(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function q6(e,t){let r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(r===i)o=[e[r].slice(n,a)];else{if(o=e.slice(r,i),n>-1){let s=o[0];typeof s=="string"?o[0]=s.slice(n):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function Y6(e,t){let r=-1,n=[],i;for(;++r<e.length;){let a=e[r],o;if(typeof a=="string")o=a;else switch(a){case-5:{o="\r";break}case-4:{o=`
|
|
40
|
+
`;break}case-3:{o=`\r
|
|
41
|
+
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(a)}i=a===-2,n.push(o)}return n.join("")}var f1=b(()=>{ce();At();Sr()});function qu(e){let n={constructs:pa([ju,...(e||{}).extensions||[]]),content:i(Z0),defined:[],document:i(t1),flow:i(n1),lazy:{},string:i(o1),text:i(s1)};return n;function i(a){return o;function o(s){return d1(n,a,s)}}}var h1=b(()=>{Zs();J0();r1();i1();zu();c1();f1()});function Yu(e){for(;!ka(e););return e}var p1=b(()=>{iu()});function Vu(){let e=1,t="",r=!0,n;return i;function i(a,o,s){let u=[],c,d,f,h,p;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(o||void 0).decode(a)),f=0,t="",r&&(a.charCodeAt(0)===65279&&f++,r=void 0);f<a.length;){if(m1.lastIndex=f,c=m1.exec(a),h=c&&c.index!==void 0?c.index:a.length,p=a.charCodeAt(h),!c){t=a.slice(f);break}if(p===10&&f===h&&n)u.push(-3),n=void 0;else switch(n&&(u.push(-5),n=void 0),f<h&&(u.push(a.slice(f,h)),e+=h-f),p){case 0:{u.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,u.push(-2);e++<d;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:n=!0,e=1}f=h+1}return s&&(n&&u.push(-5),t&&u.push(t),u.push(null)),u}}var m1,g1=b(()=>{m1=/[\0\t\n\r]/g});var b1=b(()=>{h1();p1();g1()});function Gu(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),V6(r)(Yu(qu(r).document().write(Vu()(e,t,!0))))}function V6(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Te),autolinkProtocol:G,autolinkEmail:G,atxHeading:a(An),blockQuote:a(Ze),characterEscape:G,characterReference:G,codeFenced:a(st),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(st,o),codeText:a(ut,o),codeTextData:G,data:G,codeFlowValue:G,definition:a(Ot),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(Yt),hardBreakEscape:a(Jr),hardBreakTrailing:a(Jr),htmlFlow:a(Ti,o),htmlFlowData:G,htmlText:a(Ti,o),htmlTextData:G,image:a(oe),label:o,link:a(Te),listItem:a(Dt),listItemValue:h,listOrdered:a(lt,f),listUnordered:a(lt),paragraph:a(kr),reference:y,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(An),strong:a(vE),thematicBreak:a(FE)},exit:{atxHeading:u(),atxHeadingSequence:M,autolink:u(),autolinkEmail:he,autolinkProtocol:Ae,blockQuote:u(),characterEscapeValue:w,characterReferenceMarkerHexadecimal:de,characterReferenceMarkerNumeric:de,characterReferenceValue:Ie,characterReference:Tt,codeFenced:u(_),codeFencedFence:k,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:w,codeIndented:u(A),codeText:u(W),codeTextData:w,data:w,definition:u(),definitionDestinationString:F,definitionLabelString:R,definitionTitleString:N,emphasis:u(),hardBreakEscape:u(Z),hardBreakTrailing:u(Z),htmlFlow:u(Y),htmlFlowData:w,htmlText:u(X),htmlTextData:w,image:u(ee),label:He,labelText:Ce,lineEnding:ie,link:u(z),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:ve,resourceDestinationString:T,resourceTitleString:Me,resource:Ue,setextHeading:u(P),setextHeadingLineSequence:V,setextHeadingText:I,strong:u(),thematicBreak:u()}};x1(t,(e||{}).mdastExtensions||[]);let r={};return n;function n(O){let H={type:"root",children:[]},J={stack:[H],tokenStack:[],config:t,enter:s,exit:c,buffer:o,resume:d,data:r},le=[],be=-1;for(;++be<O.length;)if(O[be][1].type==="listOrdered"||O[be][1].type==="listUnordered")if(O[be][0]==="enter")le.push(be);else{let xt=le.pop();be=i(O,xt,be)}for(be=-1;++be<O.length;){let xt=t[O[be][0]];T1.call(xt,O[be][1].type)&&xt[O[be][1].type].call(Object.assign({sliceSerialize:O[be][2].sliceSerialize},J),O[be][1])}if(J.tokenStack.length>0){let xt=J.tokenStack[J.tokenStack.length-1];(xt[1]||E1).call(J,void 0,xt[0])}for(H.position={start:xr(O.length>0?O[0][1].start:{line:1,column:1,offset:0}),end:xr(O.length>0?O[O.length-2][1].end:{line:1,column:1,offset:0})},be=-1;++be<t.transforms.length;)H=t.transforms[be](H)||H;return H}function i(O,H,J){let le=H-1,be=-1,xt=!1,Ar,Vt,yn,Cn;for(;++le<=J;){let ft=O[le];switch(ft[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ft[0]==="enter"?be++:be--,Cn=void 0;break}case"lineEndingBlank":{ft[0]==="enter"&&(Ar&&!Cn&&!be&&!yn&&(yn=le),Cn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Cn=void 0}if(!be&&ft[0]==="enter"&&ft[1].type==="listItemPrefix"||be===-1&&ft[0]==="exit"&&(ft[1].type==="listUnordered"||ft[1].type==="listOrdered")){if(Ar){let en=le;for(Vt=void 0;en--;){let Gt=O[en];if(Gt[1].type==="lineEnding"||Gt[1].type==="lineEndingBlank"){if(Gt[0]==="exit")continue;Vt&&(O[Vt][1].type="lineEndingBlank",xt=!0),Gt[1].type="lineEnding",Vt=en}else if(!(Gt[1].type==="linePrefix"||Gt[1].type==="blockQuotePrefix"||Gt[1].type==="blockQuotePrefixWhitespace"||Gt[1].type==="blockQuoteMarker"||Gt[1].type==="listItemIndent"))break}yn&&(!Vt||yn<Vt)&&(Ar._spread=!0),Ar.end=Object.assign({},Vt?O[Vt][1].start:ft[1].end),O.splice(Vt||le,0,["exit",Ar,ft[2]]),le++,J++}if(ft[1].type==="listItemPrefix"){let en={type:"listItem",_spread:!1,start:Object.assign({},ft[1].start),end:void 0};Ar=en,O.splice(le,0,["enter",en,ft[2]]),le++,J++,yn=void 0,Cn=!0}}}return O[H][1]._spread=xt,J}function a(O,H){return J;function J(le){s.call(this,O(le),le),H&&H.call(this,le)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(O,H,J){this.stack[this.stack.length-1].children.push(O),this.stack.push(O),this.tokenStack.push([H,J||void 0]),O.position={start:xr(H.start),end:void 0}}function u(O){return H;function H(J){O&&O.call(this,J),c.call(this,J)}}function c(O,H){let J=this.stack.pop(),le=this.tokenStack.pop();if(le)le[0].type!==O.type&&(H?H.call(this,O,le[0]):(le[1]||E1).call(this,O,le[0]));else throw new Error("Cannot close `"+O.type+"` ("+Tr({start:O.start,end:O.end})+"): it\u2019s not open");J.position.end=xr(O.end)}function d(){return Fr(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function h(O){if(this.data.expectingFirstListItemValue){let H=this.stack[this.stack.length-2];H.start=Number.parseInt(this.sliceSerialize(O),10),this.data.expectingFirstListItemValue=void 0}}function p(){let O=this.resume(),H=this.stack[this.stack.length-1];H.lang=O}function m(){let O=this.resume(),H=this.stack[this.stack.length-1];H.meta=O}function k(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function _(){let O=this.resume(),H=this.stack[this.stack.length-1];H.value=O.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){let O=this.resume(),H=this.stack[this.stack.length-1];H.value=O.replace(/(\r?\n|\r)$/g,"")}function R(O){let H=this.resume(),J=this.stack[this.stack.length-1];J.label=H,J.identifier=$e(this.sliceSerialize(O)).toLowerCase()}function N(){let O=this.resume(),H=this.stack[this.stack.length-1];H.title=O}function F(){let O=this.resume(),H=this.stack[this.stack.length-1];H.url=O}function M(O){let H=this.stack[this.stack.length-1];if(!H.depth){let J=this.sliceSerialize(O).length;H.depth=J}}function I(){this.data.setextHeadingSlurpLineEnding=!0}function V(O){let H=this.stack[this.stack.length-1];H.depth=this.sliceSerialize(O).codePointAt(0)===61?1:2}function P(){this.data.setextHeadingSlurpLineEnding=void 0}function G(O){let J=this.stack[this.stack.length-1].children,le=J[J.length-1];(!le||le.type!=="text")&&(le=BE(),le.position={start:xr(O.start),end:void 0},J.push(le)),this.stack.push(le)}function w(O){let H=this.stack.pop();H.value+=this.sliceSerialize(O),H.position.end=xr(O.end)}function ie(O){let H=this.stack[this.stack.length-1];if(this.data.atHardBreak){let J=H.children[H.children.length-1];J.position.end=xr(O.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(H.type)&&(G.call(this,O),w.call(this,O))}function Z(){this.data.atHardBreak=!0}function Y(){let O=this.resume(),H=this.stack[this.stack.length-1];H.value=O}function X(){let O=this.resume(),H=this.stack[this.stack.length-1];H.value=O}function W(){let O=this.resume(),H=this.stack[this.stack.length-1];H.value=O}function z(){let O=this.stack[this.stack.length-1];if(this.data.inReference){let H=this.data.referenceType||"shortcut";O.type+="Reference",O.referenceType=H,delete O.url,delete O.title}else delete O.identifier,delete O.label;this.data.referenceType=void 0}function ee(){let O=this.stack[this.stack.length-1];if(this.data.inReference){let H=this.data.referenceType||"shortcut";O.type+="Reference",O.referenceType=H,delete O.url,delete O.title}else delete O.identifier,delete O.label;this.data.referenceType=void 0}function Ce(O){let H=this.sliceSerialize(O),J=this.stack[this.stack.length-2];J.label=Op(H),J.identifier=$e(H).toLowerCase()}function He(){let O=this.stack[this.stack.length-1],H=this.resume(),J=this.stack[this.stack.length-1];if(this.data.inReference=!0,J.type==="link"){let le=O.children;J.children=le}else J.alt=H}function T(){let O=this.resume(),H=this.stack[this.stack.length-1];H.url=O}function Me(){let O=this.resume(),H=this.stack[this.stack.length-1];H.title=O}function Ue(){this.data.inReference=void 0}function y(){this.data.referenceType="collapsed"}function ve(O){let H=this.resume(),J=this.stack[this.stack.length-1];J.label=H,J.identifier=$e(this.sliceSerialize(O)).toLowerCase(),this.data.referenceType="full"}function de(O){this.data.characterReferenceType=O.type}function Ie(O){let H=this.sliceSerialize(O),J=this.data.characterReferenceType,le;J?(le=ha(H,J==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):le=bn(H);let be=this.stack[this.stack.length-1];be.value+=le}function Tt(O){let H=this.stack.pop();H.position.end=xr(O.end)}function Ae(O){w.call(this,O);let H=this.stack[this.stack.length-1];H.url=this.sliceSerialize(O)}function he(O){w.call(this,O);let H=this.stack[this.stack.length-1];H.url="mailto:"+this.sliceSerialize(O)}function Ze(){return{type:"blockquote",children:[]}}function st(){return{type:"code",lang:null,meta:null,value:""}}function ut(){return{type:"inlineCode",value:""}}function Ot(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Yt(){return{type:"emphasis",children:[]}}function An(){return{type:"heading",depth:0,children:[]}}function Jr(){return{type:"break"}}function Ti(){return{type:"html",value:""}}function oe(){return{type:"image",title:null,url:"",alt:null}}function Te(){return{type:"link",title:null,url:"",children:[]}}function lt(O){return{type:"list",ordered:O.type==="listOrdered",start:null,spread:O._spread,children:[]}}function Dt(O){return{type:"listItem",spread:O._spread,checked:null,children:[]}}function kr(){return{type:"paragraph",children:[]}}function vE(){return{type:"strong",children:[]}}function BE(){return{type:"text",value:""}}function FE(){return{type:"thematicBreak"}}}function xr(e){return{line:e.line,column:e.column,offset:e.offset}}function x1(e,t){let r=-1;for(;++r<t.length;){let n=t[r];Array.isArray(n)?x1(e,n):G6(e,n)}}function G6(e,t){let r;for(r in t)if(T1.call(t,r))switch(r){case"canContainEols":{let n=t[r];n&&e[r].push(...n);break}case"transforms":{let n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{let n=t[r];n&&Object.assign(e[r],n);break}}}function E1(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Tr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Tr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Tr({start:t.start,end:t.end})+") is still open")}var T1,k1=b(()=>{la();b1();qs();Dp();hn();fa();Mu();T1={}.hasOwnProperty});var A1=b(()=>{k1()});function va(e){let t=this;t.parser=r;function r(n){return Gu(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}var y1=b(()=>{A1()});var C1=b(()=>{y1()});function _1(e,t){let r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}var S1=b(()=>{});function I1(e,t){let r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
|
|
42
|
+
`}]}var w1=b(()=>{});function N1(e,t){let r=t.value?t.value+`
|
|
43
|
+
`:"",n={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(n.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}var L1=b(()=>{});function R1(e,t){let r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}var O1=b(()=>{});function D1(e,t){let r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}var P1=b(()=>{});function M1(e,t){let r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),i=Et(n.toLowerCase()),a=e.footnoteOrder.indexOf(n),o,s=e.footnoteCounts.get(n);s===void 0?(s=0,e.footnoteOrder.push(n),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(n,s);let u={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);let c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,c),e.applyData(t,c)}var v1=b(()=>{Ur()});function B1(e,t){let r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}var F1=b(()=>{});function H1(e,t){if(e.options.allowDangerousHtml){let r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}var U1=b(()=>{});function Ba(e,t){let r=t.referenceType,n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];let i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});let o=i[i.length-1];return o&&o.type==="text"?o.value+=n:i.push({type:"text",value:n}),i}var Wu=b(()=>{});function z1(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Ba(e,t);let i={src:Et(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(i.title=n.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}var j1=b(()=>{Ur();Wu()});function q1(e,t){let r={src:Et(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);let n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}var Y1=b(()=>{Ur()});function V1(e,t){let r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);let n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}var G1=b(()=>{});function W1(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Ba(e,t);let i={href:Et(n.url||"")};n.title!==null&&n.title!==void 0&&(i.title=n.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}var $1=b(()=>{Ur();Wu()});function Q1(e,t){let r={href:Et(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);let n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var X1=b(()=>{Ur()});function K1(e,t,r){let n=e.all(t),i=r?W6(r):Z1(t),a={},o=[];if(typeof t.checked=="boolean"){let d=n[0],f;d&&d.type==="element"&&d.tagName==="p"?f=d:(f={type:"element",tagName:"p",properties:{},children:[]},n.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s<n.length;){let d=n[s];(i||s!==0||d.type!=="element"||d.tagName!=="p")&&o.push({type:"text",value:`
|
|
44
|
+
`}),d.type==="element"&&d.tagName==="p"&&!i?o.push(...d.children):o.push(d)}let u=n[n.length-1];u&&(i||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:`
|
|
45
|
+
`});let c={type:"element",tagName:"li",properties:a,children:o};return e.patch(t,c),e.applyData(t,c)}function W6(e){let t=!1;if(e.type==="list"){t=e.spread||!1;let r=e.children,n=-1;for(;!t&&++n<r.length;)t=Z1(r[n])}return t}function Z1(e){let t=e.spread;return t??e.children.length>1}var J1=b(()=>{});function eg(e,t){let r={},n=e.all(t),i=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++i<n.length;){let o=n[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}let a={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,a),e.applyData(t,a)}var tg=b(()=>{});function rg(e,t){let r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}var ng=b(()=>{});function ig(e,t){let r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}var ag=b(()=>{});function og(e,t){let r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}var sg=b(()=>{});function ug(e,t){let r=e.all(t),n=r.shift(),i=[];if(n){let o={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],o),i.push(o)}if(r.length>0){let o={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},s=dt(t.children[1]),u=vr(t.children[t.children.length-1]);s&&u&&(o.position={start:s,end:u}),i.push(o)}let a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}var lg=b(()=>{cn()});function cg(e,t,r){let n=r?r.children:void 0,a=(n?n.indexOf(t):1)===0?"th":"td",o=r&&r.type==="table"?r.align:void 0,s=o?o.length:t.children.length,u=-1,c=[];for(;++u<s;){let f=t.children[u],h={},p=o?o[u]:void 0;p&&(h.align=p);let m={type:"element",tagName:a,properties:h,children:[]};f&&(m.children=e.all(f),e.patch(f,m),m=e.applyData(f,m)),c.push(m)}let d={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,d),e.applyData(t,d)}var dg=b(()=>{});function fg(e,t){let r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}var hg=b(()=>{});function mg(e){let t=String(e),r=/\r?\n|\r/g,n=r.exec(t),i=0,a=[];for(;n;)a.push(pg(t.slice(i,n.index),i>0,!0),n[0]),i=n.index+n[0].length,n=r.exec(t);return a.push(pg(t.slice(i),i>0,!1)),a.join("")}function pg(e,t,r){let n=0,i=e.length;if(t){let a=e.codePointAt(n);for(;a===9||a===32;)n++,a=e.codePointAt(n)}if(r){let a=e.codePointAt(i-1);for(;a===9||a===32;)i--,a=e.codePointAt(i-1)}return i>n?e.slice(n,i):""}var gg=b(()=>{});function bg(e,t){let r={type:"text",value:mg(String(t.value))};return e.patch(t,r),e.applyData(t,r)}var Eg=b(()=>{gg()});function Tg(e,t){let r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}var xg=b(()=>{});function Fa(){}var kg,Ag=b(()=>{S1();w1();L1();O1();P1();v1();F1();U1();j1();Y1();G1();$1();X1();J1();tg();ng();ag();sg();lg();dg();hg();Eg();xg();kg={blockquote:_1,break:I1,code:N1,delete:R1,emphasis:D1,footnoteReference:M1,heading:B1,html:H1,imageReference:z1,image:q1,inlineCode:V1,linkReference:W1,link:Q1,listItem:K1,list:eg,paragraph:rg,root:ig,strong:og,table:ug,tableCell:fg,tableRow:cg,text:bg,thematicBreak:Tg,toml:Fa,yaml:Fa,definition:Fa,footnoteDefinition:Fa}});function $6(e,t){let r=[{type:"text",value:"\u21A9"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function Q6(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function yg(e){let t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||$6,n=e.options.footnoteBackLabel||Q6,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],u=-1;for(;++u<e.footnoteOrder.length;){let c=e.footnoteById.get(e.footnoteOrder[u]);if(!c)continue;let d=e.all(c),f=String(c.identifier).toUpperCase(),h=Et(f.toLowerCase()),p=0,m=[],k=e.footnoteCounts.get(f);for(;k!==void 0&&++p<=k;){m.length>0&&m.push({type:"text",value:" "});let R=typeof r=="string"?r:r(u,p);typeof R=="string"&&(R={type:"text",value:R}),m.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(u,p),className:["data-footnote-backref"]},children:Array.isArray(R)?R:[R]})}let _=d[d.length-1];if(_&&_.type==="element"&&_.tagName==="p"){let R=_.children[_.children.length-1];R&&R.type==="text"?R.value+=" ":_.children.push({type:"text",value:" "}),_.children.push(...m)}else d.push(...m);let A={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(d,!0)};e.patch(c,A),s.push(A)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Ct(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
|
|
46
|
+
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:`
|
|
47
|
+
`}]}}var Cg=b(()=>{Pn();Ur()});function Sg(e,t){let r=t||X6,n=new Map,i=new Map,a=new Map,o={...kg,...r.handlers},s={all:c,applyData:Z6,definitionById:n,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:o,one:u,options:r,patch:K6,wrap:eS};return ze(e,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){let f=d.type==="definition"?n:i,h=String(d.identifier).toUpperCase();f.has(h)||f.set(h,d)}}),s;function u(d,f){let h=d.type,p=s.handlers[h];if($u.call(s.handlers,h)&&p)return p(s,d,f);if(s.options.passThrough&&s.options.passThrough.includes(h)){if("children"in d){let{children:k,..._}=d,A=Ct(_);return A.children=s.all(d),A}return Ct(d)}return(s.options.unknownHandler||J6)(s,d,f)}function c(d){let f=[];if("children"in d){let h=d.children,p=-1;for(;++p<h.length;){let m=s.one(h[p],d);if(m){if(p&&h[p-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=_g(m.value)),!Array.isArray(m)&&m.type==="element")){let k=m.children[0];k&&k.type==="text"&&(k.value=_g(k.value))}Array.isArray(m)?f.push(...m):f.push(m)}}}return f}}function K6(e,t){e.position&&(t.position=Kn(e))}function Z6(e,t){let r=t;if(e&&e.data){let n=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{let o="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:o}}r.type==="element"&&a&&Object.assign(r.properties,Ct(a)),"children"in r&&r.children&&i!==null&&i!==void 0&&(r.children=i)}return r}function J6(e,t){let r=t.data||{},n="value"in t&&!($u.call(r,"hProperties")||$u.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function eS(e,t){let r=[],n=-1;for(t&&r.push({type:"text",value:`
|
|
48
|
+
`});++n<e.length;)n&&r.push({type:"text",value:`
|
|
49
|
+
`}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
|
|
50
|
+
`}),r}function _g(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}var $u,X6,Ig=b(()=>{Pn();Nr();cn();Ag();$u={}.hasOwnProperty,X6={}});function Ha(e,t){let r=Sg(e,t),n=r.one(e,void 0),i=yg(r),a=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return i&&("children"in a,a.children.push({type:"text",value:`
|
|
51
|
+
`},i)),a}var wg=b(()=>{Cg();Ig()});var Ng=b(()=>{wg()});function Ua(e,t){return e&&"run"in e?async function(r,n){let i=Ha(r,{file:n,...t});await e.run(i,n)}:function(r,n){return Ha(r,{file:n,...e||t})}}var Lg=b(()=>{Ng()});var Rg=b(()=>{Lg()});function Qu(e){if(e)throw e}var Og=b(()=>{});var zg=_n((TB,Ug)=>{"use strict";var za=Object.prototype.hasOwnProperty,Hg=Object.prototype.toString,Dg=Object.defineProperty,Pg=Object.getOwnPropertyDescriptor,Mg=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Hg.call(t)==="[object Array]"},vg=function(t){if(!t||Hg.call(t)!=="[object Object]")return!1;var r=za.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&za.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var i;for(i in t);return typeof i>"u"||za.call(t,i)},Bg=function(t,r){Dg&&r.name==="__proto__"?Dg(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},Fg=function(t,r){if(r==="__proto__")if(za.call(t,r)){if(Pg)return Pg(t,r).value}else return;return t[r]};Ug.exports=function e(){var t,r,n,i,a,o,s=arguments[0],u=1,c=arguments.length,d=!1;for(typeof s=="boolean"&&(d=s,s=arguments[1]||{},u=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});u<c;++u)if(t=arguments[u],t!=null)for(r in t)n=Fg(s,r),i=Fg(t,r),s!==i&&(d&&i&&(vg(i)||(a=Mg(i)))?(a?(a=!1,o=n&&Mg(n)?n:[]):o=n&&vg(n)?n:{},Bg(s,{name:r,newValue:e(d,o,i)})):typeof i<"u"&&Bg(s,{name:r,newValue:i}));return s}});function ci(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var jg=b(()=>{});function Xu(){let e=[],t={run:r,use:n};return t;function r(...i){let a=-1,o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);s(null,...i);function s(u,...c){let d=e[++a],f=-1;if(u){o(u);return}for(;++f<i.length;)(c[f]===null||c[f]===void 0)&&(c[f]=i[f]);i=c,d?qg(d,s)(...c):o(null,...c)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function qg(e,t){let r;return n;function n(...o){let s=e.length>o.length,u;s&&o.push(i);try{u=e.apply(this,o)}catch(c){let d=c;if(s&&r)throw d;return i(d)}s||(u&&u.then&&typeof u.then=="function"?u.then(a,i):u instanceof Error?i(u):a(u))}function i(o,...s){r||(r=!0,t(o,...s))}function a(o){i(null,o)}}var Yg=b(()=>{});var Vg=b(()=>{Yg()});function tS(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');di(e);let r=0,n=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(n=i):(s=-1,n=o));return r===n?n=o:n<0&&(n=e.length),e.slice(r,n)}function rS(e){if(di(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function nS(e){di(e);let t=e.length,r=-1,n=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){n=t+1;break}continue}r<0&&(o=!0,r=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||r<0||a===0||a===1&&i===r-1&&i===n+1?"":e.slice(i,r)}function iS(...e){let t=-1,r;for(;++t<e.length;)di(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":aS(r)}function aS(e){di(e);let t=e.codePointAt(0)===47,r=oS(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function oS(e,t){let r="",n=0,i=-1,a=0,o=-1,s,u;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else{if(s===47)break;s=47}if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(u=r.lastIndexOf("/"),u!==r.length-1){u<0?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),i=o,a=0;continue}}else if(r.length>0){r="",n=0,i=o,a=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(i+1,o):r=e.slice(i+1,o),n=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return r}function di(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var Nt,Gg=b(()=>{Nt={basename:tS,dirname:rS,extname:nS,join:iS,sep:"/"}});function sS(){return"/"}var Wg,$g=b(()=>{Wg={cwd:sS}});function Tn(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}var Ku=b(()=>{});function Qg(e){if(typeof e=="string")e=new URL(e);else if(!Tn(e)){let t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return uS(e)}function uS(e){if(e.hostname!==""){let n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}let t=e.pathname,r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){let n=t.codePointAt(r+2);if(n===70||n===102){let i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}var Xg=b(()=>{Ku();Ku()});function Ju(e,t){if(e&&e.includes(Nt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Nt.sep+"`")}function el(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Kg(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function lS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var Zu,fi,Zg=b(()=>{vu();Gg();$g();Xg();Zu=["history","path","basename","stem","extname","dirname"],fi=class{constructor(t){let r;t?Tn(t)?r={path:t}:typeof t=="string"||lS(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":Wg.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Zu.length;){let a=Zu[n];a in r&&r[a]!==void 0&&r[a]!==null&&(this[a]=a==="history"?[...r[a]]:r[a])}let i;for(i in r)Zu.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?Nt.basename(this.path):void 0}set basename(t){el(t,"basename"),Ju(t,"basename"),this.path=Nt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Nt.dirname(this.path):void 0}set dirname(t){Kg(this.basename,"dirname"),this.path=Nt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Nt.extname(this.path):void 0}set extname(t){if(Ju(t,"extname"),Kg(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=Nt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Tn(t)&&(t=Qg(t)),el(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Nt.basename(this.path,this.extname):void 0}set stem(t){el(t,"stem"),Ju(t,"stem"),this.path=Nt.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){let i=this.message(t,r,n);throw i.fatal=!0,i}info(t,r,n){let i=this.message(t,r,n);return i.fatal=void 0,i}message(t,r,n){let i=new Pe(t,r,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}});var Jg=b(()=>{Zg()});var eb,tb=b(()=>{eb=(function(e){let n=this.constructor.prototype,i=n[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,n),a})});function tl(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function rl(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function nl(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function rb(e){if(!ci(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function nb(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ja(e){return dS(e)?e:new fi(e)}function dS(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function fS(e){return typeof e=="string"||hS(e)}function hS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var qa,cS,il,al,ib=b(()=>{Og();qa=zl(zg(),1);jg();Vg();Jg();tb();cS={}.hasOwnProperty,il=class e extends eb{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=Xu()}copy(){let t=new e,r=-1;for(;++r<this.attachers.length;){let n=this.attachers[r];t.use(...n)}return t.data((0,qa.default)(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(nl("data",this.frozen),this.namespace[t]=r,this):cS.call(this.namespace,t)&&this.namespace[t]||void 0:t?(nl("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;let t=this;for(;++this.freezeIndex<this.attachers.length;){let[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let i=r.call(t,...n);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();let r=ja(t),n=this.parser||this.Parser;return tl("parse",n),n(String(r),r)}process(t,r){let n=this;return this.freeze(),tl("process",this.parser||this.Parser),rl("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(a,o){let s=ja(t),u=n.parse(s);n.run(u,s,function(d,f,h){if(d||!f||!h)return c(d);let p=f,m=n.stringify(p,h);fS(m)?h.value=m:h.result=m,c(d,h)});function c(d,f){d||!f?o(d):a?a(f):r(void 0,f)}}}processSync(t){let r=!1,n;return this.freeze(),tl("processSync",this.parser||this.Parser),rl("processSync",this.compiler||this.Compiler),this.process(t,i),nb("processSync","process",r),n;function i(a,o){r=!0,Qu(a),n=o}}run(t,r,n){rb(t),this.freeze();let i=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?a(void 0,n):new Promise(a);function a(o,s){let u=ja(r);i.run(t,u,c);function c(d,f,h){let p=f||t;d?s(d):o?o(p):n(void 0,p,h)}}}runSync(t,r){let n=!1,i;return this.run(t,r,a),nb("runSync","run",n),i;function a(o,s){Qu(o),i=s,n=!0}}stringify(t,r){this.freeze();let n=ja(r),i=this.compiler||this.Compiler;return rl("stringify",i),rb(t),i(t,n)}use(t,...r){let n=this.attachers,i=this.namespace;if(nl("use",this.frozen),t!=null)if(typeof t=="function")u(t,r);else if(typeof t=="object")Array.isArray(t)?s(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(c){if(typeof c=="function")u(c,[]);else if(typeof c=="object")if(Array.isArray(c)){let[d,...f]=c;u(d,f)}else o(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function o(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(c.plugins),c.settings&&(i.settings=(0,qa.default)(!0,i.settings,c.settings))}function s(c){let d=-1;if(c!=null)if(Array.isArray(c))for(;++d<c.length;){let f=c[d];a(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function u(c,d){let f=-1,h=-1;for(;++f<n.length;)if(n[f][0]===c){h=f;break}if(h===-1)n.push([c,...d]);else if(d.length>0){let[p,...m]=d,k=n[h][1];ci(k)&&ci(p)&&(p=(0,qa.default)(!0,k,p)),n[h]=[c,p,...m]}}}},al=new il().freeze()});var ab=b(()=>{ib()});function ll(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function fb(e){Xr=e}function fe(e,t=""){let r=typeof e=="string"?e:e.source,n={replace:(i,a)=>{let o=typeof a=="string"?a:a.source;return o=o.replace(it.caret,"$1"),r=r.replace(i,o),n},getRegex:()=>new RegExp(r,t)};return n}function qt(e,t){if(t){if(it.escapeTest.test(e))return e.replace(it.escapeReplace,ub)}else if(it.escapeTestNoEncode.test(e))return e.replace(it.escapeReplaceNoEncode,ub);return e}function lb(e){try{e=encodeURI(e).replace(it.percentDecode,"%")}catch{return null}return e}function cb(e,t){let r=e.replace(it.findPipe,(a,o,s)=>{let u=!1,c=o;for(;--c>=0&&s[c]==="\\";)u=!u;return u?"|":" |"}),n=r.split(it.splitPipe),i=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(it.slashPipe,"|");return n}function pi(e,t,r){let n=e.length;if(n===0)return"";let i=0;for(;i<n;){let a=e.charAt(n-i-1);if(a===t&&!r)i++;else if(a!==t&&r)i++;else break}return e.slice(0,n-i)}function KS(e,t){if(e.indexOf(t[1])===-1)return-1;let r=0;for(let n=0;n<e.length;n++)if(e[n]==="\\")n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&(r--,r<0))return n;return r>0?-2:-1}function ZS(e,t=0){let r=t,n="";for(let i of e)if(i===" "){let a=4-r%4;n+=" ".repeat(a),r+=a}else n+=i,r++;return n}function db(e,t,r,n,i){let a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,"$1");n.state.inLink=!0;let u={type:e[0].charAt(0)==="!"?"image":"link",raw:r,href:a,title:o,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,u}function JS(e,t,r){let n=e.match(r.other.indentCodeCompensation);if(n===null)return t;let i=n[1];return t.split(`
|
|
52
|
+
`).map(a=>{let o=a.match(r.other.beginningSpace);if(o===null)return a;let[s]=o;return s.length>=i.length?a.slice(i.length):a}).join(`
|
|
53
|
+
`)}function me(e,t){return Qr.parse(e,t)}var Xr,$r,pS,it,mS,gS,bS,gi,ES,cl,hb,pb,TS,dl,xS,fl,kS,AS,$a,hl,yS,mb,CS,pl,ob,_S,SS,IS,wS,gb,NS,xn,Qa,ml,LS,bb,RS,OS,DS,Eb,PS,MS,Tb,vS,BS,FS,HS,US,zS,jS,qS,YS,VS,Va,GS,xb,kb,WS,sb,gl,$S,ol,QS,Ya,hi,XS,ub,Ga,pt,Wa,bl,Lt,mi,eI,Qr,GB,WB,$B,QB,XB,KB,ZB,Ab=b(()=>{Xr=ll();$r={exec:()=>null};pS=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),it={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}>`)},mS=/^(?:[ \t]*(?:\n|$))+/,gS=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,bS=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,gi=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ES=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,cl=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,hb=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,pb=fe(hb).replace(/bull/g,cl).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),TS=fe(hb).replace(/bull/g,cl).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),dl=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,xS=/^[^\n]+/,fl=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,kS=fe(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",fl).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),AS=fe(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,cl).getRegex(),$a="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",hl=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,yS=fe("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",hl).replace("tag",$a).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),mb=fe(dl).replace("hr",gi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$a).getRegex(),CS=fe(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",mb).getRegex(),pl={blockquote:CS,code:gS,def:kS,fences:bS,heading:ES,hr:gi,html:yS,lheading:pb,list:AS,newline:mS,paragraph:mb,table:$r,text:xS},ob=fe("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",gi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$a).getRegex(),_S={...pl,lheading:TS,table:ob,paragraph:fe(dl).replace("hr",gi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ob).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",$a).getRegex()},SS={...pl,html:fe(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",hl).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:$r,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:fe(dl).replace("hr",gi).replace("heading",` *#{1,6} *[^
|
|
54
|
+
]`).replace("lheading",pb).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},IS=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,wS=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,gb=/^( {2,}|\\)\n(?!\s*$)/,NS=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,xn=/[\p{P}\p{S}]/u,Qa=/[\s\p{P}\p{S}]/u,ml=/[^\s\p{P}\p{S}]/u,LS=fe(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Qa).getRegex(),bb=/(?!~)[\p{P}\p{S}]/u,RS=/(?!~)[\s\p{P}\p{S}]/u,OS=/(?:[^\s\p{P}\p{S}]|~)/u,DS=fe(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",pS?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Eb=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,PS=fe(Eb,"u").replace(/punct/g,xn).getRegex(),MS=fe(Eb,"u").replace(/punct/g,bb).getRegex(),Tb="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",vS=fe(Tb,"gu").replace(/notPunctSpace/g,ml).replace(/punctSpace/g,Qa).replace(/punct/g,xn).getRegex(),BS=fe(Tb,"gu").replace(/notPunctSpace/g,OS).replace(/punctSpace/g,RS).replace(/punct/g,bb).getRegex(),FS=fe("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,ml).replace(/punctSpace/g,Qa).replace(/punct/g,xn).getRegex(),HS=fe(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,xn).getRegex(),US="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",zS=fe(US,"gu").replace(/notPunctSpace/g,ml).replace(/punctSpace/g,Qa).replace(/punct/g,xn).getRegex(),jS=fe(/\\(punct)/,"gu").replace(/punct/g,xn).getRegex(),qS=fe(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),YS=fe(hl).replace("(?:-->|$)","-->").getRegex(),VS=fe("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",YS).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Va=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,GS=fe(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",Va).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),xb=fe(/^!?\[(label)\]\[(ref)\]/).replace("label",Va).replace("ref",fl).getRegex(),kb=fe(/^!?\[(ref)\](?:\[\])?/).replace("ref",fl).getRegex(),WS=fe("reflink|nolink(?!\\()","g").replace("reflink",xb).replace("nolink",kb).getRegex(),sb=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,gl={_backpedal:$r,anyPunctuation:jS,autolink:qS,blockSkip:DS,br:gb,code:wS,del:$r,delLDelim:$r,delRDelim:$r,emStrongLDelim:PS,emStrongRDelimAst:vS,emStrongRDelimUnd:FS,escape:IS,link:GS,nolink:kb,punctuation:LS,reflink:xb,reflinkSearch:WS,tag:VS,text:NS,url:$r},$S={...gl,link:fe(/^!?\[(label)\]\((.*?)\)/).replace("label",Va).getRegex(),reflink:fe(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Va).getRegex()},ol={...gl,emStrongRDelimAst:BS,emStrongLDelim:MS,delLDelim:HS,delRDelim:zS,url:fe(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",sb).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:fe(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",sb).getRegex()},QS={...ol,br:fe(gb).replace("{2,}","*").getRegex(),text:fe(ol.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Ya={normal:pl,gfm:_S,pedantic:SS},hi={normal:gl,gfm:ol,breaks:QS,pedantic:$S},XS={"&":"&","<":"<",">":">",'"':""","'":"'"},ub=e=>XS[e];Ga=class{options;rules;lexer;constructor(e){this.options=e||Xr}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let r=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:pi(r,`
|
|
55
|
+
`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let r=t[0],n=JS(r,t[3]||"",this.rules);return{type:"code",raw:r,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let r=t[2].trim();if(this.rules.other.endingHash.test(r)){let n=pi(r,"#");(this.options.pedantic||!n||this.rules.other.endingSpaceChar.test(n))&&(r=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:pi(t[0],`
|
|
56
|
+
`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let r=pi(t[0],`
|
|
57
|
+
`).split(`
|
|
58
|
+
`),n="",i="",a=[];for(;r.length>0;){let o=!1,s=[],u;for(u=0;u<r.length;u++)if(this.rules.other.blockquoteStart.test(r[u]))s.push(r[u]),o=!0;else if(!o)s.push(r[u]);else break;r=r.slice(u);let c=s.join(`
|
|
59
|
+
`),d=c.replace(this.rules.other.blockquoteSetextReplace,`
|
|
60
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}
|
|
61
|
+
${c}`:c,i=i?`${i}
|
|
62
|
+
${d}`:d;let f=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(d,a,!0),this.lexer.state.top=f,r.length===0)break;let h=a.at(-1);if(h?.type==="code")break;if(h?.type==="blockquote"){let p=h,m=p.raw+`
|
|
63
|
+
`+r.join(`
|
|
64
|
+
`),k=this.blockquote(m);a[a.length-1]=k,n=n.substring(0,n.length-p.raw.length)+k.raw,i=i.substring(0,i.length-p.text.length)+k.text;break}else if(h?.type==="list"){let p=h,m=p.raw+`
|
|
65
|
+
`+r.join(`
|
|
66
|
+
`),k=this.list(m);a[a.length-1]=k,n=n.substring(0,n.length-h.raw.length)+k.raw,i=i.substring(0,i.length-p.raw.length)+k.raw,r=m.substring(a.at(-1).raw.length).split(`
|
|
67
|
+
`);continue}}return{type:"blockquote",raw:n,tokens:a,text:i}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,i={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let a=this.rules.other.listItemRegex(r),o=!1;for(;e;){let u=!1,c="",d="";if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;c=t[0],e=e.substring(c.length);let f=ZS(t[2].split(`
|
|
68
|
+
`,1)[0],t[1].length),h=e.split(`
|
|
69
|
+
`,1)[0],p=!f.trim(),m=0;if(this.options.pedantic?(m=2,d=f.trimStart()):p?m=t[1].length+1:(m=f.search(this.rules.other.nonSpaceChar),m=m>4?1:m,d=f.slice(m),m+=t[1].length),p&&this.rules.other.blankLine.test(h)&&(c+=h+`
|
|
70
|
+
`,e=e.substring(h.length+1),u=!0),!u){let k=this.rules.other.nextBulletRegex(m),_=this.rules.other.hrRegex(m),A=this.rules.other.fencesBeginRegex(m),R=this.rules.other.headingBeginRegex(m),N=this.rules.other.htmlBeginRegex(m),F=this.rules.other.blockquoteBeginRegex(m);for(;e;){let M=e.split(`
|
|
71
|
+
`,1)[0],I;if(h=M,this.options.pedantic?(h=h.replace(this.rules.other.listReplaceNesting," "),I=h):I=h.replace(this.rules.other.tabCharGlobal," "),A.test(h)||R.test(h)||N.test(h)||F.test(h)||k.test(h)||_.test(h))break;if(I.search(this.rules.other.nonSpaceChar)>=m||!h.trim())d+=`
|
|
72
|
+
`+I.slice(m);else{if(p||f.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||A.test(f)||R.test(f)||_.test(f))break;d+=`
|
|
73
|
+
`+h}p=!h.trim(),c+=M+`
|
|
74
|
+
`,e=e.substring(M.length+1),f=I.slice(m)}}i.loose||(o?i.loose=!0:this.rules.other.doubleBlankLine.test(c)&&(o=!0)),i.items.push({type:"list_item",raw:c,task:!!this.options.gfm&&this.rules.other.listIsTask.test(d),loose:!1,text:d,tokens:[]}),i.raw+=c}let s=i.items.at(-1);if(s)s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let u of i.items){if(this.lexer.state.top=!1,u.tokens=this.lexer.blockTokens(u.text,[]),u.task){if(u.text=u.text.replace(this.rules.other.listReplaceTask,""),u.tokens[0]?.type==="text"||u.tokens[0]?.type==="paragraph"){u.tokens[0].raw=u.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),u.tokens[0].text=u.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let d=this.lexer.inlineQueue.length-1;d>=0;d--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[d].src)){this.lexer.inlineQueue[d].src=this.lexer.inlineQueue[d].src.replace(this.rules.other.listReplaceTask,"");break}}let c=this.rules.other.listTaskCheckbox.exec(u.raw);if(c){let d={type:"checkbox",raw:c[0]+" ",checked:c[0]!=="[ ]"};u.checked=d.checked,i.loose?u.tokens[0]&&["paragraph","text"].includes(u.tokens[0].type)&&"tokens"in u.tokens[0]&&u.tokens[0].tokens?(u.tokens[0].raw=d.raw+u.tokens[0].raw,u.tokens[0].text=d.raw+u.tokens[0].text,u.tokens[0].tokens.unshift(d)):u.tokens.unshift({type:"paragraph",raw:d.raw,text:d.raw,tokens:[d]}):u.tokens.unshift(d)}}if(!i.loose){let c=u.tokens.filter(f=>f.type==="space"),d=c.length>0&&c.some(f=>this.rules.other.anyLine.test(f.raw));i.loose=d}}if(i.loose)for(let u of i.items){u.loose=!0;for(let c of u.tokens)c.type==="text"&&(c.type="paragraph")}return i}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let r=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:r,raw:t[0],href:n,title:i}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let r=cb(t[1]),n=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
75
|
+
`):[],a={type:"table",raw:t[0],header:[],align:[],rows:[]};if(r.length===n.length){for(let o of n)this.rules.other.tableAlignRight.test(o)?a.align.push("right"):this.rules.other.tableAlignCenter.test(o)?a.align.push("center"):this.rules.other.tableAlignLeft.test(o)?a.align.push("left"):a.align.push(null);for(let o=0;o<r.length;o++)a.header.push({text:r[o],tokens:this.lexer.inline(r[o]),header:!0,align:a.align[o]});for(let o of i)a.rows.push(cb(o,a.header.length).map((s,u)=>({text:s,tokens:this.lexer.inline(s),header:!1,align:a.align[u]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let r=t[1].trim();return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:r,tokens:this.lexer.inline(r)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let r=t[1].charAt(t[1].length-1)===`
|
|
76
|
+
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:r,tokens:this.lexer.inline(r)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let r=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let a=pi(r.slice(0,-1),"\\");if((r.length-a.length)%2===0)return}else{let a=KS(t[2],"()");if(a===-2)return;if(a>-1){let o=(t[0].indexOf("!")===0?5:4)+t[1].length+a;t[2]=t[2].substring(0,a),t[0]=t[0].substring(0,o).trim(),t[3]=""}}let n=t[2],i="";if(this.options.pedantic){let a=this.rules.other.pedanticHrefTitle.exec(n);a&&(n=a[1],i=a[3])}else i=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?n=n.slice(1):n=n.slice(1,-1)),db(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let n=(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," "),i=t[n.toLowerCase()];if(!i){let a=r[0].charAt(0);return{type:"text",raw:a,text:a}}return db(r,i,r[0],this.lexer,this.rules)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||!n[1]&&!n[2]&&!n[3]&&!n[4]||n[4]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(n[1]||n[3])||!r||this.rules.inline.punctuation.exec(r))){let i=[...n[0]].length-1,a,o,s=i,u=0,c=n[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,t=t.slice(-1*e.length+i);(n=c.exec(t))!==null;){if(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!a)continue;if(o=[...a].length,n[3]||n[4]){s+=o;continue}else if((n[5]||n[6])&&i%3&&!((i+o)%3)){u+=o;continue}if(s-=o,s>0)continue;o=Math.min(o,o+s+u);let d=[...n[0]][0].length,f=e.slice(0,i+n.index+d+o);if(Math.min(i,o)%2){let p=f.slice(1,-1);return{type:"em",raw:f,text:p,tokens:this.lexer.inlineTokens(p)}}let h=f.slice(2,-2);return{type:"strong",raw:f,text:h,tokens:this.lexer.inlineTokens(h)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let r=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(r),i=this.rules.other.startingSpaceChar.test(r)&&this.rules.other.endingSpaceChar.test(r);return n&&i&&(r=r.substring(1,r.length-1)),{type:"codespan",raw:t[0],text:r}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t,r=""){let n=this.rules.inline.delLDelim.exec(e);if(n&&(!n[1]||!r||this.rules.inline.punctuation.exec(r))){let i=[...n[0]].length-1,a,o,s=i,u=this.rules.inline.delRDelim;for(u.lastIndex=0,t=t.slice(-1*e.length+i);(n=u.exec(t))!==null;){if(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!a||(o=[...a].length,o!==i))continue;if(n[3]||n[4]){s+=o;continue}if(s-=o,s>0)continue;o=Math.min(o,o+s);let c=[...n[0]][0].length,d=e.slice(0,i+n.index+c+o),f=d.slice(i,-i);return{type:"del",raw:d,text:f,tokens:this.lexer.inlineTokens(f)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let r,n;return t[2]==="@"?(r=t[1],n="mailto:"+r):(r=t[1],n=r),{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let r,n;if(t[2]==="@")r=t[0],n="mailto:"+r;else{let i;do i=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(i!==t[0]);r=t[0],t[1]==="www."?n="http://"+t[0]:n=t[0]}return{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let r=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:r}}}},pt=class sl{tokens;options;state;inlineQueue;tokenizer;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Xr,this.options.tokenizer=this.options.tokenizer||new Ga,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let r={other:it,block:Ya.normal,inline:hi.normal};this.options.pedantic?(r.block=Ya.pedantic,r.inline=hi.pedantic):this.options.gfm&&(r.block=Ya.gfm,this.options.breaks?r.inline=hi.breaks:r.inline=hi.gfm),this.tokenizer.rules=r}static get rules(){return{block:Ya,inline:hi}}static lex(t,r){return new sl(r).lex(t)}static lexInline(t,r){return new sl(r).inlineTokens(t)}lex(t){t=t.replace(it.carriageReturn,`
|
|
77
|
+
`),this.blockTokens(t,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){let n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,r=[],n=!1){for(this.tokenizer.lexer=this,this.options.pedantic&&(t=t.replace(it.tabCharGlobal," ").replace(it.spaceLine,""));t;){let i;if(this.options.extensions?.block?.some(o=>(i=o.call({lexer:this},t,r))?(t=t.substring(i.raw.length),r.push(i),!0):!1))continue;if(i=this.tokenizer.space(t)){t=t.substring(i.raw.length);let o=r.at(-1);i.raw.length===1&&o!==void 0?o.raw+=`
|
|
78
|
+
`:r.push(i);continue}if(i=this.tokenizer.code(t)){t=t.substring(i.raw.length);let o=r.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(`
|
|
79
|
+
`)?"":`
|
|
80
|
+
`)+i.raw,o.text+=`
|
|
81
|
+
`+i.text,this.inlineQueue.at(-1).src=o.text):r.push(i);continue}if(i=this.tokenizer.fences(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.heading(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.hr(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.blockquote(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.list(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.html(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.def(t)){t=t.substring(i.raw.length);let o=r.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(`
|
|
82
|
+
`)?"":`
|
|
83
|
+
`)+i.raw,o.text+=`
|
|
84
|
+
`+i.raw,this.inlineQueue.at(-1).src=o.text):this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title},r.push(i));continue}if(i=this.tokenizer.table(t)){t=t.substring(i.raw.length),r.push(i);continue}if(i=this.tokenizer.lheading(t)){t=t.substring(i.raw.length),r.push(i);continue}let a=t;if(this.options.extensions?.startBlock){let o=1/0,s=t.slice(1),u;this.options.extensions.startBlock.forEach(c=>{u=c.call({lexer:this},s),typeof u=="number"&&u>=0&&(o=Math.min(o,u))}),o<1/0&&o>=0&&(a=t.substring(0,o+1))}if(this.state.top&&(i=this.tokenizer.paragraph(a))){let o=r.at(-1);n&&o?.type==="paragraph"?(o.raw+=(o.raw.endsWith(`
|
|
85
|
+
`)?"":`
|
|
86
|
+
`)+i.raw,o.text+=`
|
|
87
|
+
`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):r.push(i),n=a.length!==t.length,t=t.substring(i.raw.length);continue}if(i=this.tokenizer.text(t)){t=t.substring(i.raw.length);let o=r.at(-1);o?.type==="text"?(o.raw+=(o.raw.endsWith(`
|
|
88
|
+
`)?"":`
|
|
89
|
+
`)+i.raw,o.text+=`
|
|
90
|
+
`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):r.push(i);continue}if(t){let o="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){this.tokenizer.lexer=this;let n=t,i=null;if(this.tokens.links){let u=Object.keys(this.tokens.links);if(u.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(n))!==null;)u.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(n))!==null;)n=n.slice(0,i.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let a;for(;(i=this.tokenizer.rules.inline.blockSkip.exec(n))!==null;)a=i[2]?i[2].length:0,n=n.slice(0,i.index+a)+"["+"a".repeat(i[0].length-a-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let o=!1,s="";for(;t;){o||(s=""),o=!1;let u;if(this.options.extensions?.inline?.some(d=>(u=d.call({lexer:this},t,r))?(t=t.substring(u.raw.length),r.push(u),!0):!1))continue;if(u=this.tokenizer.escape(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.tag(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.link(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(u.raw.length);let d=r.at(-1);u.type==="text"&&d?.type==="text"?(d.raw+=u.raw,d.text+=u.text):r.push(u);continue}if(u=this.tokenizer.emStrong(t,n,s)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.codespan(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.br(t)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.del(t,n,s)){t=t.substring(u.raw.length),r.push(u);continue}if(u=this.tokenizer.autolink(t)){t=t.substring(u.raw.length),r.push(u);continue}if(!this.state.inLink&&(u=this.tokenizer.url(t))){t=t.substring(u.raw.length),r.push(u);continue}let c=t;if(this.options.extensions?.startInline){let d=1/0,f=t.slice(1),h;this.options.extensions.startInline.forEach(p=>{h=p.call({lexer:this},f),typeof h=="number"&&h>=0&&(d=Math.min(d,h))}),d<1/0&&d>=0&&(c=t.substring(0,d+1))}if(u=this.tokenizer.inlineText(c)){t=t.substring(u.raw.length),u.raw.slice(-1)!=="_"&&(s=u.raw.slice(-1)),o=!0;let d=r.at(-1);d?.type==="text"?(d.raw+=u.raw,d.text+=u.text):r.push(u);continue}if(t){let d="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(d);break}else throw new Error(d)}}return r}},Wa=class{options;parser;constructor(e){this.options=e||Xr}space(e){return""}code({text:e,lang:t,escaped:r}){let n=(t||"").match(it.notSpaceStart)?.[0],i=e.replace(it.endingNewline,"")+`
|
|
91
|
+
`;return n?'<pre><code class="language-'+qt(n)+'">'+(r?i:qt(i,!0))+`</code></pre>
|
|
92
|
+
`:"<pre><code>"+(r?i:qt(i,!0))+`</code></pre>
|
|
93
|
+
`}blockquote({tokens:e}){return`<blockquote>
|
|
94
|
+
${this.parser.parse(e)}</blockquote>
|
|
95
|
+
`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
|
|
96
|
+
`}hr(e){return`<hr>
|
|
97
|
+
`}list(e){let t=e.ordered,r=e.start,n="";for(let o=0;o<e.items.length;o++){let s=e.items[o];n+=this.listitem(s)}let i=t?"ol":"ul",a=t&&r!==1?' start="'+r+'"':"";return"<"+i+a+`>
|
|
98
|
+
`+n+"</"+i+`>
|
|
99
|
+
`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
|
|
100
|
+
`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
|
|
101
|
+
`}table(e){let t="",r="";for(let i=0;i<e.header.length;i++)r+=this.tablecell(e.header[i]);t+=this.tablerow({text:r});let n="";for(let i=0;i<e.rows.length;i++){let a=e.rows[i];r="";for(let o=0;o<a.length;o++)r+=this.tablecell(a[o]);n+=this.tablerow({text:r})}return n&&(n=`<tbody>${n}</tbody>`),`<table>
|
|
102
|
+
<thead>
|
|
103
|
+
`+t+`</thead>
|
|
104
|
+
`+n+`</table>
|
|
105
|
+
`}tablerow({text:e}){return`<tr>
|
|
106
|
+
${e}</tr>
|
|
107
|
+
`}tablecell(e){let t=this.parser.parseInline(e.tokens),r=e.header?"th":"td";return(e.align?`<${r} align="${e.align}">`:`<${r}>`)+t+`</${r}>
|
|
108
|
+
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${qt(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:r}){let n=this.parser.parseInline(r),i=lb(e);if(i===null)return n;e=i;let a='<a href="'+e+'"';return t&&(a+=' title="'+qt(t)+'"'),a+=">"+n+"</a>",a}image({href:e,title:t,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let i=lb(e);if(i===null)return qt(r);e=i;let a=`<img src="${e}" alt="${qt(r)}"`;return t&&(a+=` title="${qt(t)}"`),a+=">",a}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:qt(e.text)}},bl=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},Lt=class ul{options;renderer;textRenderer;constructor(t){this.options=t||Xr,this.options.renderer=this.options.renderer||new Wa,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new bl}static parse(t,r){return new ul(r).parse(t)}static parseInline(t,r){return new ul(r).parseInline(t)}parse(t){this.renderer.parser=this;let r="";for(let n=0;n<t.length;n++){let i=t[n];if(this.options.extensions?.renderers?.[i.type]){let o=i,s=this.options.extensions.renderers[o.type].call({parser:this},o);if(s!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(o.type)){r+=s||"";continue}}let a=i;switch(a.type){case"space":{r+=this.renderer.space(a);break}case"hr":{r+=this.renderer.hr(a);break}case"heading":{r+=this.renderer.heading(a);break}case"code":{r+=this.renderer.code(a);break}case"table":{r+=this.renderer.table(a);break}case"blockquote":{r+=this.renderer.blockquote(a);break}case"list":{r+=this.renderer.list(a);break}case"checkbox":{r+=this.renderer.checkbox(a);break}case"html":{r+=this.renderer.html(a);break}case"def":{r+=this.renderer.def(a);break}case"paragraph":{r+=this.renderer.paragraph(a);break}case"text":{r+=this.renderer.text(a);break}default:{let o='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return r}parseInline(t,r=this.renderer){this.renderer.parser=this;let n="";for(let i=0;i<t.length;i++){let a=t[i];if(this.options.extensions?.renderers?.[a.type]){let s=this.options.extensions.renderers[a.type].call({parser:this},a);if(s!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){n+=s||"";continue}}let o=a;switch(o.type){case"escape":{n+=r.text(o);break}case"html":{n+=r.html(o);break}case"link":{n+=r.link(o);break}case"image":{n+=r.image(o);break}case"checkbox":{n+=r.checkbox(o);break}case"strong":{n+=r.strong(o);break}case"em":{n+=r.em(o);break}case"codespan":{n+=r.codespan(o);break}case"br":{n+=r.br(o);break}case"del":{n+=r.del(o);break}case"text":{n+=r.text(o);break}default:{let s='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(s),"";throw new Error(s)}}}return n}},mi=class{options;block;constructor(e){this.options=e||Xr}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?pt.lex:pt.lexInline}provideParser(e=this.block){return e?Lt.parse:Lt.parseInline}},eI=class{defaults=ll();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Lt;Renderer=Wa;TextRenderer=bl;Lexer=pt;Tokenizer=Ga;Hooks=mi;constructor(...e){this.use(...e)}walkTokens(e,t){let r=[];for(let n of e)switch(r=r.concat(t.call(this,n)),n.type){case"table":{let i=n;for(let a of i.header)r=r.concat(this.walkTokens(a.tokens,t));for(let a of i.rows)for(let o of a)r=r.concat(this.walkTokens(o.tokens,t));break}case"list":{let i=n;r=r.concat(this.walkTokens(i.items,t));break}default:{let i=n;this.defaults.extensions?.childTokens?.[i.type]?this.defaults.extensions.childTokens[i.type].forEach(a=>{let o=i[a].flat(1/0);r=r.concat(this.walkTokens(o,t))}):i.tokens&&(r=r.concat(this.walkTokens(i.tokens,t)))}}return r}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(r=>{let n={...r};if(n.async=this.defaults.async||n.async||!1,r.extensions&&(r.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){let a=t.renderers[i.name];a?t.renderers[i.name]=function(...o){let s=i.renderer.apply(this,o);return s===!1&&(s=a.apply(this,o)),s}:t.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let a=t[i.level];a?a.unshift(i.tokenizer):t[i.level]=[i.tokenizer],i.start&&(i.level==="block"?t.startBlock?t.startBlock.push(i.start):t.startBlock=[i.start]:i.level==="inline"&&(t.startInline?t.startInline.push(i.start):t.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(t.childTokens[i.name]=i.childTokens)}),n.extensions=t),r.renderer){let i=this.defaults.renderer||new Wa(this.defaults);for(let a in r.renderer){if(!(a in i))throw new Error(`renderer '${a}' does not exist`);if(["options","parser"].includes(a))continue;let o=a,s=r.renderer[o],u=i[o];i[o]=(...c)=>{let d=s.apply(i,c);return d===!1&&(d=u.apply(i,c)),d||""}}n.renderer=i}if(r.tokenizer){let i=this.defaults.tokenizer||new Ga(this.defaults);for(let a in r.tokenizer){if(!(a in i))throw new Error(`tokenizer '${a}' does not exist`);if(["options","rules","lexer"].includes(a))continue;let o=a,s=r.tokenizer[o],u=i[o];i[o]=(...c)=>{let d=s.apply(i,c);return d===!1&&(d=u.apply(i,c)),d}}n.tokenizer=i}if(r.hooks){let i=this.defaults.hooks||new mi;for(let a in r.hooks){if(!(a in i))throw new Error(`hook '${a}' does not exist`);if(["options","block"].includes(a))continue;let o=a,s=r.hooks[o],u=i[o];mi.passThroughHooks.has(a)?i[o]=c=>{if(this.defaults.async&&mi.passThroughHooksRespectAsync.has(a))return(async()=>{let f=await s.call(i,c);return u.call(i,f)})();let d=s.call(i,c);return u.call(i,d)}:i[o]=(...c)=>{if(this.defaults.async)return(async()=>{let f=await s.apply(i,c);return f===!1&&(f=await u.apply(i,c)),f})();let d=s.apply(i,c);return d===!1&&(d=u.apply(i,c)),d}}n.hooks=i}if(r.walkTokens){let i=this.defaults.walkTokens,a=r.walkTokens;n.walkTokens=function(o){let s=[];return s.push(a.call(this,o)),i&&(s=s.concat(i.call(this,o))),s}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return pt.lex(e,t??this.defaults)}parser(e,t){return Lt.parse(e,t??this.defaults)}parseMarkdown(e){return(t,r)=>{let n={...r},i={...this.defaults,...n},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&n.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let o=i.hooks?await i.hooks.preprocess(t):t,s=await(i.hooks?await i.hooks.provideLexer(e):e?pt.lex:pt.lexInline)(o,i),u=i.hooks?await i.hooks.processAllTokens(s):s;i.walkTokens&&await Promise.all(this.walkTokens(u,i.walkTokens));let c=await(i.hooks?await i.hooks.provideParser(e):e?Lt.parse:Lt.parseInline)(u,i);return i.hooks?await i.hooks.postprocess(c):c})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let o=(i.hooks?i.hooks.provideLexer(e):e?pt.lex:pt.lexInline)(t,i);i.hooks&&(o=i.hooks.processAllTokens(o)),i.walkTokens&&this.walkTokens(o,i.walkTokens);let s=(i.hooks?i.hooks.provideParser(e):e?Lt.parse:Lt.parseInline)(o,i);return i.hooks&&(s=i.hooks.postprocess(s)),s}catch(o){return a(o)}}}onError(e,t){return r=>{if(r.message+=`
|
|
109
|
+
Please report this to https://github.com/markedjs/marked.`,e){let n="<p>An error occurred:</p><pre>"+qt(r.message+"",!0)+"</pre>";return t?Promise.resolve(n):n}if(t)return Promise.reject(r);throw r}}},Qr=new eI;me.options=me.setOptions=function(e){return Qr.setOptions(e),me.defaults=Qr.defaults,fb(me.defaults),me};me.getDefaults=ll;me.defaults=Xr;me.use=function(...e){return Qr.use(...e),me.defaults=Qr.defaults,fb(me.defaults),me};me.walkTokens=function(e,t){return Qr.walkTokens(e,t)};me.parseInline=Qr.parseInline;me.Parser=Lt;me.parser=Lt.parse;me.Renderer=Wa;me.TextRenderer=bl;me.Lexer=pt;me.lexer=pt.lex;me.Tokenizer=Ga;me.Hooks=mi;me.parse=me;GB=me.options,WB=me.setOptions,$B=me.use,QB=me.walkTokens,XB=me.parseInline,KB=Lt.parse,ZB=pt.lex});var yb={};tn(yb,{HighlightedCodeBlockBody:()=>aI});import{useContext as tI,useState as rI,useEffect as nI}from"react";import{jsx as iI}from"react/jsx-runtime";var aI,Cb=b(()=>{"use client";Xa();aI=({code:e,language:t,raw:r,className:n,startLine:i,lineNumbers:a,...o})=>{let{shikiTheme:s}=tI(Xe),u=_b(),[c,d]=rI(r);return nI(()=>{if(!u){d(r);return}let f=u.highlight({code:e,language:t,themes:s},h=>{d(h)});f&&d(f)},[e,t,s,u,r]),iI(El,{className:n,language:t,lineNumbers:a,result:c,startLine:i,...o})}});var Sb={};tn(Sb,{Mermaid:()=>Tl});var Ib=b(()=>{"use client";Xa()});import{createContext as Zr,memo as ge,useContext as Ve,useMemo as _e,lazy as Vb,isValidElement as Kr,useId as oI,useTransition as sI,useRef as Ke,useEffect as ot,useState as Se,cloneElement as uI,createElement as wb,useCallback as at,Suspense as kl}from"react";import{jsx as C,jsxs as ue,Fragment as ar}from"react/jsx-runtime";import{createPortal as Gb}from"react-dom";function fI(e={}){let{immediate:t=!1,debounceDelay:r=lI,rootMargin:n=cI,idleTimeout:i=dI}=e,[a,o]=Se(!1),s=Ke(null),u=Ke(null),c=Ke(null),d=_e(()=>p=>{let m=Date.now();return window.setTimeout(()=>{p({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-m))})},1)},[]),f=_e(()=>typeof window<"u"&&window.requestIdleCallback?(p,m)=>window.requestIdleCallback(p,m):d,[d]),h=_e(()=>typeof window<"u"&&window.cancelIdleCallback?p=>window.cancelIdleCallback(p):p=>{clearTimeout(p)},[]);return ot(()=>{if(t){o(!0);return}let p=s.current;if(!p)return;u.current&&(clearTimeout(u.current),u.current=null),c.current&&(h(c.current),c.current=null);let m=()=>{u.current&&(clearTimeout(u.current),u.current=null),c.current&&(h(c.current),c.current=null)},k=N=>{c.current=f(F=>{F.timeRemaining()>0||F.didTimeout?(o(!0),N.disconnect()):c.current=f(()=>{o(!0),N.disconnect()},{timeout:i/2})},{timeout:i})},_=N=>{m(),u.current=window.setTimeout(()=>{var F,M;let I=N.takeRecords();(I.length===0||(M=(F=I.at(-1))==null?void 0:F.isIntersecting)!=null&&M)&&k(N)},r)},A=(N,F)=>{N.isIntersecting?_(F):m()},R=new IntersectionObserver(N=>{for(let F of N)A(F,R)},{rootMargin:n,threshold:0});return R.observe(p),()=>{u.current&&clearTimeout(u.current),c.current&&h(c.current),R.disconnect()}},[t,r,n,i,h,f]),{shouldRender:a,containerRef:s}}function to(e){var t,r,n,i,a;let o={animation:(t=e?.animation)!=null?t:"fadeIn",duration:(r=e?.duration)!=null?r:150,easing:(n=e?.easing)!=null?n:"ease",sep:(i=e?.sep)!=null?i:"word",stagger:(a=e?.stagger)!=null?a:40},s={prevContentLength:0,lastRenderCharCount:0},u=kI++,c=()=>d=>{let f={count:0,newIndex:0};wr(d,"text",(h,p)=>xI(h,p,o,s,f)),s.lastRenderCharCount=f.count,s.prevContentLength=0};return Object.defineProperty(c,"name",{value:`rehypeAnimate$${u}`}),{name:"animate",type:"animate",rehypePlugin:c,setPrevContentLength(d){s.prevContentLength=d},getLastRenderCharCount(){let d=s.lastRenderCharCount;return s.lastRenderCharCount=0,d}}}function io(e,t){if(!(e!=null&&e.position||t!=null&&t.position))return!0;if(!(e!=null&&e.position&&t!=null&&t.position))return!1;let r=e.position.start,n=t.position.start,i=e.position.end,a=t.position.end;return r?.line===n?.line&&r?.column===n?.column&&i?.line===a?.line&&i?.column===a?.column}function Le(e,t){return e.className===t.className&&io(e.node,t.node)}function wl(e){let t=e.replace(/^#{1,6}\s+/gm,"").replace(/(\*{1,3}|_{1,3})/g,"").replace(/`[^`]*`/g,"").replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/^[\s>*\-+\d.]+/gm,"");for(let r of t){if(tw.test(r))return"rtl";if(rw.test(r))return"ltr"}return"ltr"}var lI,cI,dI,Wb,hI,pI,mI,gI,bI,EI,TI,xI,kI,$b,Qb,Nl,AI,yI,kn,Al,ae,CI,_I,El,Xb,Kb,Zb,Jb,SI,II,eE,wI,NI,LI,RI,OI,DI,PI,MI,vI,BI,bi,tE,FI,Nb,Rt,Ll,yl,or,Cl,Lb,rE,_l,HI,UI,Ei,Rl,Ol,zI,Sl,Dl,_b,Pl,jI,qI,YI,VI,Ml,vl,nE,Ja,ro,Bl,Fl,GI,WI,$I,QI,XI,KI,Il,xl,Rb,Ka,Hl,iE,aE,oE,sE,ZI,uE,lE,cE,dE,fE,hE,pE,mE,gE,bE,EE,TE,xE,kE,AE,yE,CE,JI,_E,SE,IE,ew,tw,rw,nw,iw,Ob,aw,ow,Db,Pb,Za,sw,Mb,wE,uw,lw,cw,NE,dw,fw,hw,pw,mw,gw,bw,Ew,vb,Bb,Tw,xw,Fb,Hb,kw,LE,Aw,yw,Cw,_w,RE,Sw,Iw,ww,Nw,OE,Ub,zb,jb,qb,eo,no,DE,Yb,Lw,Rw,PE,ME,Ow,Xe,Ul,ao,Dw,Tl,Xa=b(()=>{"use client";nd();eh();uh();Fm();e0();On();r0();A0();Q0();K0();C1();Rg();ab();Nr();Ab();lI=300,cI="300px",dI=500;Wb=/\s/,hI=/^\s+$/,pI=new Set(["code","pre","svg","math","annotation"]),mI=e=>typeof e=="object"&&e!==null&&"type"in e&&e.type==="element",gI=e=>e.some(t=>mI(t)&&pI.has(t.tagName)),bI=e=>{let t=[],r="",n=!1;for(let i of e){let a=Wb.test(i);a!==n&&r&&(t.push(r),r=""),r+=i,n=a}return r&&t.push(r),t},EI=e=>{let t=[],r="";for(let n of e)Wb.test(n)?r+=n:(r&&(t.push(r),r=""),t.push(n));return r&&t.push(r),t},TI=(e,t,r,n,i,a)=>{let o=`--sd-animation:sd-${t};--sd-duration:${i?0:r}ms;--sd-easing:${n}`;return a&&(o+=`;--sd-delay:${a}ms`),{type:"element",tagName:"span",properties:{"data-sd-animate":!0,style:o},children:[{type:"text",value:e}]}},xI=(e,t,r,n,i)=>{let a=t.at(-1);if(!(a&&"children"in a))return;if(gI(t))return yt;let o=a,s=o.children.indexOf(e);if(s===-1)return;let u=e.value;if(!u.trim()){i.count+=u.length;return}let c=r.sep==="char"?EI(u):bI(u),d=n.prevContentLength,f=c.map(h=>{let p=i.count;if(i.count+=h.length,hI.test(h))return{type:"text",value:h};let m=d>0&&p<d,k=m?0:i.newIndex++*r.stagger;return TI(h,r.animation,r.duration,r.easing,m,k)});return o.children.splice(s,1,...f),s+f.length},kI=0;to();$b=Zr(!1),Qb=()=>Ve($b),Nl=(...e)=>Lu(Su(e)),AI=(e,t)=>{if(!e||!t)return t;let r=`${e}:`;return t.split(/\s+/).filter(Boolean).map(n=>n.startsWith(r)?n:`${e}:${n}`).join(" ")},yI=e=>e?(...t)=>AI(e,Lu(Su(t))):Nl,kn=(e,t,r)=>{let n=typeof t=="string"&&r.startsWith("text/csv")?"\uFEFF":"",i=typeof t=="string"?new Blob([n+t],{type:r}):t,a=URL.createObjectURL(i),o=document.createElement("a");o.href=a,o.download=e,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(a)},Al=Zr(Nl),ae=()=>Ve(Al),CI=Nl("block","before:content-[counter(line)]","before:inline-block","before:[counter-increment:line]","before:w-6","before:mr-4","before:text-[13px]","before:text-right","before:text-muted-foreground/50","before:font-mono","before:select-none"),_I=e=>{let t={};for(let r of e.split(";")){let n=r.indexOf(":");if(n>0){let i=r.slice(0,n).trim(),a=r.slice(n+1).trim();i&&a&&(t[i]=a)}}return t},El=ge(({children:e,result:t,language:r,className:n,startLine:i,lineNumbers:a=!0,...o})=>{let s=ae(),u=_e(()=>s(CI),[s]),c=_e(()=>{let d={};return t.bg&&(d["--sdm-bg"]=t.bg),t.fg&&(d["--sdm-fg"]=t.fg),t.rootStyle&&Object.assign(d,_I(t.rootStyle)),d},[t.bg,t.fg,t.rootStyle]);return C("div",{className:s(n,"overflow-x-auto rounded-md border border-border bg-background p-4 text-sm"),"data-language":r,"data-streamdown":"code-block-body",...o,children:C("pre",{className:s(n,"bg-[var(--sdm-bg,inherit]","dark:bg-[var(--shiki-dark-bg,var(--sdm-bg,inherit)]"),style:c,children:C("code",{className:a?s("[counter-increment:line_0] [counter-reset:line]"):void 0,style:a&&i&&i>1?{counterReset:`line ${i-1}`}:void 0,children:t.tokens.map((d,f)=>C("span",{className:a?u:void 0,children:d.length===0||d.length===1&&d[0].content===""?`
|
|
110
|
+
`:d.map((h,p)=>{let m={},k=!!h.bgColor;if(h.color&&(m["--sdm-c"]=h.color),h.bgColor&&(m["--sdm-tbg"]=h.bgColor),h.htmlStyle)for(let[_,A]of Object.entries(h.htmlStyle))_==="color"?m["--sdm-c"]=A:_==="background-color"?(m["--sdm-tbg"]=A,k=!0):m[_]=A;return C("span",{className:s("text-[var(--sdm-c,inherit)]","dark:text-[var(--shiki-dark,var(--sdm-c,inherit))]",k&&"bg-[var(--sdm-tbg)]",k&&"dark:bg-[var(--shiki-dark-bg,var(--sdm-tbg))]"),style:m,...h.htmlAttrs,children:h.content},p)})},f))})})})},(e,t)=>e.result===t.result&&e.language===t.language&&e.className===t.className&&e.startLine===t.startLine&&e.lineNumbers===t.lineNumbers),Xb=({className:e,language:t,style:r,isIncomplete:n,...i})=>{let a=ae();return C("div",{className:a("my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2",e),"data-incomplete":n||void 0,"data-language":t,"data-streamdown":"code-block",style:{contentVisibility:"auto",containIntrinsicSize:"auto 200px",...r},...i})},Kb=Zr({code:""}),Zb=()=>Ve(Kb),Jb=({language:e})=>{let t=ae();return C("div",{className:t("flex h-8 items-center text-muted-foreground text-xs"),"data-language":e,"data-streamdown":"code-block-header",children:C("span",{className:t("ml-1 font-mono lowercase"),children:e})})},SI=e=>{let t=e.length;for(;t>0&&e[t-1]===`
|
|
111
|
+
`;)t--;return e.slice(0,t)},II=Vb(()=>Promise.resolve().then(()=>(Cb(),yb)).then(e=>({default:e.HighlightedCodeBlockBody}))),eE=({code:e,language:t,className:r,children:n,isIncomplete:i=!1,startLine:a,lineNumbers:o,...s})=>{let u=ae(),c=_e(()=>SI(e),[e]),d=_e(()=>({bg:"transparent",fg:"inherit",tokens:c.split(`
|
|
112
|
+
`).map(f=>[{content:f,color:"inherit",bgColor:"transparent",htmlStyle:{},offset:0}])}),[c]);return C(Kb.Provider,{value:{code:e},children:ue(Xb,{isIncomplete:i,language:t,children:[C(Jb,{language:t}),n?C("div",{className:u("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:C("div",{className:u("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"),"data-streamdown":"code-block-actions",children:n})}):null,C(kl,{fallback:C(El,{className:r,language:t,lineNumbers:o,result:d,startLine:a,...s}),children:C(II,{className:r,code:c,language:t,lineNumbers:o,raw:d,startLine:a,...s})})]})})},wI=e=>C("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:C("path",{clipRule:"evenodd",d:"M15.5607 3.99999L15.0303 4.53032L6.23744 13.3232C5.55403 14.0066 4.44599 14.0066 3.76257 13.3232L4.2929 12.7929L3.76257 13.3232L0.969676 10.5303L0.439346 9.99999L1.50001 8.93933L2.03034 9.46966L4.82323 12.2626C4.92086 12.3602 5.07915 12.3602 5.17678 12.2626L13.9697 3.46966L14.5 2.93933L15.5607 3.99999Z",fill:"currentColor",fillRule:"evenodd"})}),NI=e=>C("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:C("path",{clipRule:"evenodd",d:"M2.75 0.5C1.7835 0.5 1 1.2835 1 2.25V9.75C1 10.7165 1.7835 11.5 2.75 11.5H3.75H4.5V10H3.75H2.75C2.61193 10 2.5 9.88807 2.5 9.75V2.25C2.5 2.11193 2.61193 2 2.75 2H8.25C8.38807 2 8.5 2.11193 8.5 2.25V3H10V2.25C10 1.2835 9.2165 0.5 8.25 0.5H2.75ZM7.75 4.5C6.7835 4.5 6 5.2835 6 6.25V13.75C6 14.7165 6.7835 15.5 7.75 15.5H13.25C14.2165 15.5 15 14.7165 15 13.75V6.25C15 5.2835 14.2165 4.5 13.25 4.5H7.75ZM7.5 6.25C7.5 6.11193 7.61193 6 7.75 6H13.25C13.3881 6 13.5 6.11193 13.5 6.25V13.75C13.5 13.8881 13.3881 14 13.25 14H7.75C7.61193 14 7.5 13.8881 7.5 13.75V6.25Z",fill:"currentColor",fillRule:"evenodd"})}),LI=e=>C("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:C("path",{clipRule:"evenodd",d:"M8.75 1V1.75V8.68934L10.7197 6.71967L11.25 6.18934L12.3107 7.25L11.7803 7.78033L8.70711 10.8536C8.31658 11.2441 7.68342 11.2441 7.29289 10.8536L4.21967 7.78033L3.68934 7.25L4.75 6.18934L5.28033 6.71967L7.25 8.68934V1.75V1H8.75ZM13.5 9.25V13.5H2.5V9.25V8.5H1V9.25V14C1 14.5523 1.44771 15 2 15H14C14.5523 15 15 14.5523 15 14V9.25V8.5H13.5V9.25Z",fill:"currentColor",fillRule:"evenodd"})}),RI=e=>ue("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:[C("path",{d:"M8 0V4",stroke:"currentColor",strokeWidth:"1.5"}),C("path",{d:"M8 16V12",opacity:"0.5",stroke:"currentColor",strokeWidth:"1.5"}),C("path",{d:"M3.29773 1.52783L5.64887 4.7639",opacity:"0.9",stroke:"currentColor",strokeWidth:"1.5"}),C("path",{d:"M12.7023 1.52783L10.3511 4.7639",opacity:"0.1",stroke:"currentColor",strokeWidth:"1.5"}),C("path",{d:"M12.7023 14.472L10.3511 11.236",opacity:"0.4",stroke:"currentColor",strokeWidth:"1.5"}),C("path",{d:"M3.29773 14.472L5.64887 11.236",opacity:"0.6",stroke:"currentColor",strokeWidth:"1.5"}),C("path",{d:"M15.6085 5.52783L11.8043 6.7639",opacity:"0.2",stroke:"currentColor",strokeWidth:"1.5"}),C("path",{d:"M0.391602 10.472L4.19583 9.23598",opacity:"0.7",stroke:"currentColor",strokeWidth:"1.5"}),C("path",{d:"M15.6085 10.4722L11.8043 9.2361",opacity:"0.3",stroke:"currentColor",strokeWidth:"1.5"}),C("path",{d:"M0.391602 5.52783L4.19583 6.7639",opacity:"0.8",stroke:"currentColor",strokeWidth:"1.5"})]}),OI=e=>C("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:C("path",{clipRule:"evenodd",d:"M1 5.25V6H2.5V5.25V2.5H5.25H6V1H5.25H2C1.44772 1 1 1.44772 1 2V5.25ZM5.25 14.9994H6V13.4994H5.25H2.5V10.7494V9.99939H1V10.7494V13.9994C1 14.5517 1.44772 14.9994 2 14.9994H5.25ZM15 10V10.75V14C15 14.5523 14.5523 15 14 15H10.75H10V13.5H10.75H13.5V10.75V10H15ZM10.75 1H10V2.5H10.75H13.5V5.25V6H15V5.25V2C15 1.44772 14.5523 1 14 1H10.75Z",fill:"currentColor",fillRule:"evenodd"})}),DI=e=>C("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:C("path",{clipRule:"evenodd",d:"M13.5 8C13.5 4.96643 11.0257 2.5 7.96452 2.5C5.42843 2.5 3.29365 4.19393 2.63724 6.5H5.25H6V8H5.25H0.75C0.335787 8 0 7.66421 0 7.25V2.75V2H1.5V2.75V5.23347C2.57851 2.74164 5.06835 1 7.96452 1C11.8461 1 15 4.13001 15 8C15 11.87 11.8461 15 7.96452 15C5.62368 15 3.54872 13.8617 2.27046 12.1122L1.828 11.5066L3.03915 10.6217L3.48161 11.2273C4.48831 12.6051 6.12055 13.5 7.96452 13.5C11.0257 13.5 13.5 11.0336 13.5 8Z",fill:"currentColor",fillRule:"evenodd"})}),PI=e=>C("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:C("path",{clipRule:"evenodd",d:"M12.4697 13.5303L13 14.0607L14.0607 13L13.5303 12.4697L9.06065 7.99999L13.5303 3.53032L14.0607 2.99999L13 1.93933L12.4697 2.46966L7.99999 6.93933L3.53032 2.46966L2.99999 1.93933L1.93933 2.99999L2.46966 3.53032L6.93933 7.99999L2.46966 12.4697L1.93933 13L2.99999 14.0607L3.53032 13.5303L7.99999 9.06065L12.4697 13.5303Z",fill:"currentColor",fillRule:"evenodd"})}),MI=e=>C("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:C("path",{clipRule:"evenodd",d:"M13.5 10.25V13.25C13.5 13.3881 13.3881 13.5 13.25 13.5H2.75C2.61193 13.5 2.5 13.3881 2.5 13.25L2.5 2.75C2.5 2.61193 2.61193 2.5 2.75 2.5H5.75H6.5V1H5.75H2.75C1.7835 1 1 1.7835 1 2.75V13.25C1 14.2165 1.7835 15 2.75 15H13.25C14.2165 15 15 14.2165 15 13.25V10.25V9.5H13.5V10.25ZM9 1H9.75H14.2495C14.6637 1 14.9995 1.33579 14.9995 1.75V6.25V7H13.4995V6.25V3.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L12.4388 2.5H9.75H9V1Z",fill:"currentColor",fillRule:"evenodd"})}),vI=e=>C("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:C("path",{clipRule:"evenodd",d:"M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H5.875V4.75V4.125H7.125V4.75V5.875H8.25H8.875V7.125H8.25H7.125V8.25V8.875H5.875V8.25V7.125H4.75H4.125V5.875Z",fill:"currentColor",fillRule:"evenodd"})}),BI=e=>C("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:C("path",{clipRule:"evenodd",d:"M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H8.25H8.875V7.125H8.25H4.75H4.125V5.875Z",fill:"currentColor",fillRule:"evenodd"})}),bi={CheckIcon:wI,CopyIcon:NI,DownloadIcon:LI,ExternalLinkIcon:MI,Loader2Icon:RI,Maximize2Icon:OI,RotateCcwIcon:DI,XIcon:PI,ZoomInIcon:vI,ZoomOutIcon:BI},tE=Zr(bi),FI=(e,t)=>{if(e===t)return!0;if(!(e&&t))return e===t;let r=Object.keys(e),n=Object.keys(t);return r.length!==n.length?!1:r.every(i=>e[i]===t[i])},Nb=({icons:e,children:t})=>{let r=Ke(e),n=Ke(e?{...bi,...e}:bi);FI(r.current,e)||(r.current=e,n.current=e?{...bi,...e}:bi);let i=n.current;return C(tE.Provider,{value:i,children:t})},Rt=()=>Ve(tE),Ll={copyCode:"Copy Code",downloadFile:"Download file",downloadDiagram:"Download diagram",downloadDiagramAsSvg:"Download diagram as SVG",downloadDiagramAsPng:"Download diagram as PNG",downloadDiagramAsMmd:"Download diagram as MMD",viewFullscreen:"View fullscreen",exitFullscreen:"Exit fullscreen",mermaidFormatSvg:"SVG",mermaidFormatPng:"PNG",mermaidFormatMmd:"MMD",copyTable:"Copy table",copyTableAsMarkdown:"Copy table as Markdown",copyTableAsCsv:"Copy table as CSV",copyTableAsTsv:"Copy table as TSV",downloadTable:"Download table",downloadTableAsCsv:"Download table as CSV",downloadTableAsMarkdown:"Download table as Markdown",tableFormatMarkdown:"Markdown",tableFormatCsv:"CSV",tableFormatTsv:"TSV",imageNotAvailable:"Image not available",downloadImage:"Download image",openExternalLink:"Open external link?",externalLinkWarning:"You're about to visit an external website.",close:"Close",copyLink:"Copy link",copied:"Copied",openLink:"Open link"},yl=Zr(Ll),or=()=>Ve(yl),Cl=({onCopy:e,onError:t,timeout:r=2e3,children:n,className:i,code:a,...o})=>{let s=ae(),[u,c]=Se(!1),d=Ke(0),{code:f}=Zb(),{isAnimating:h}=Ve(Xe),p=or(),m=a??f,k=async()=>{var R;if(typeof window>"u"||!((R=navigator?.clipboard)!=null&&R.writeText)){t?.(new Error("Clipboard API not available"));return}try{u||(await navigator.clipboard.writeText(m),c(!0),e?.(),d.current=window.setTimeout(()=>c(!1),r))}catch(N){t?.(N)}};ot(()=>()=>{window.clearTimeout(d.current)},[]);let _=Rt(),A=u?_.CheckIcon:_.CopyIcon;return C("button",{className:s("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",i),"data-streamdown":"code-block-copy-button",disabled:h,onClick:k,title:p.copyCode,type:"button",...o,children:n??C(A,{size:14})})},Lb={"1c":"1c","1c-query":"1cq",abap:"abap","actionscript-3":"as",ada:"ada",adoc:"adoc","angular-html":"html","angular-ts":"ts",apache:"conf",apex:"cls",apl:"apl",applescript:"applescript",ara:"ara",asciidoc:"adoc",asm:"asm",astro:"astro",awk:"awk",ballerina:"bal",bash:"sh",bat:"bat",batch:"bat",be:"be",beancount:"beancount",berry:"berry",bibtex:"bib",bicep:"bicep",blade:"blade.php",bsl:"bsl",c:"c","c#":"cs","c++":"cpp",cadence:"cdc",cairo:"cairo",cdc:"cdc",clarity:"clar",clj:"clj",clojure:"clj","closure-templates":"soy",cmake:"cmake",cmd:"cmd",cobol:"cob",codeowners:"CODEOWNERS",codeql:"ql",coffee:"coffee",coffeescript:"coffee","common-lisp":"lisp",console:"sh",coq:"v",cpp:"cpp",cql:"cql",crystal:"cr",cs:"cs",csharp:"cs",css:"css",csv:"csv",cue:"cue",cypher:"cql",d:"d",dart:"dart",dax:"dax",desktop:"desktop",diff:"diff",docker:"dockerfile",dockerfile:"dockerfile",dotenv:"env","dream-maker":"dm",edge:"edge",elisp:"el",elixir:"ex",elm:"elm","emacs-lisp":"el",erb:"erb",erl:"erl",erlang:"erl",f:"f","f#":"fs",f03:"f03",f08:"f08",f18:"f18",f77:"f77",f90:"f90",f95:"f95",fennel:"fnl",fish:"fish",fluent:"ftl",for:"for","fortran-fixed-form":"f","fortran-free-form":"f90",fs:"fs",fsharp:"fs",fsl:"fsl",ftl:"ftl",gdresource:"tres",gdscript:"gd",gdshader:"gdshader",genie:"gs",gherkin:"feature","git-commit":"gitcommit","git-rebase":"gitrebase",gjs:"js",gleam:"gleam","glimmer-js":"js","glimmer-ts":"ts",glsl:"glsl",gnuplot:"plt",go:"go",gql:"gql",graphql:"graphql",groovy:"groovy",gts:"gts",hack:"hack",haml:"haml",handlebars:"hbs",haskell:"hs",haxe:"hx",hbs:"hbs",hcl:"hcl",hjson:"hjson",hlsl:"hlsl",hs:"hs",html:"html","html-derivative":"html",http:"http",hxml:"hxml",hy:"hy",imba:"imba",ini:"ini",jade:"jade",java:"java",javascript:"js",jinja:"jinja",jison:"jison",jl:"jl",js:"js",json:"json",json5:"json5",jsonc:"jsonc",jsonl:"jsonl",jsonnet:"jsonnet",jssm:"jssm",jsx:"jsx",julia:"jl",kotlin:"kt",kql:"kql",kt:"kt",kts:"kts",kusto:"kql",latex:"tex",lean:"lean",lean4:"lean",less:"less",liquid:"liquid",lisp:"lisp",lit:"lit",llvm:"ll",log:"log",logo:"logo",lua:"lua",luau:"luau",make:"mak",makefile:"mak",markdown:"md",marko:"marko",matlab:"m",md:"md",mdc:"mdc",mdx:"mdx",mediawiki:"wiki",mermaid:"mmd",mips:"s",mipsasm:"s",mmd:"mmd",mojo:"mojo",move:"move",nar:"nar",narrat:"narrat",nextflow:"nf",nf:"nf",nginx:"conf",nim:"nim",nix:"nix",nu:"nu",nushell:"nu",objc:"m","objective-c":"m","objective-cpp":"mm",ocaml:"ml",pascal:"pas",perl:"pl",perl6:"p6",php:"php",plsql:"pls",po:"po",polar:"polar",postcss:"pcss",pot:"pot",potx:"potx",powerquery:"pq",powershell:"ps1",prisma:"prisma",prolog:"pl",properties:"properties",proto:"proto",protobuf:"proto",ps:"ps",ps1:"ps1",pug:"pug",puppet:"pp",purescript:"purs",py:"py",python:"py",ql:"ql",qml:"qml",qmldir:"qmldir",qss:"qss",r:"r",racket:"rkt",raku:"raku",razor:"cshtml",rb:"rb",reg:"reg",regex:"regex",regexp:"regexp",rel:"rel",riscv:"s",rs:"rs",rst:"rst",ruby:"rb",rust:"rs",sas:"sas",sass:"sass",scala:"scala",scheme:"scm",scss:"scss",sdbl:"sdbl",sh:"sh",shader:"shader",shaderlab:"shader",shell:"sh",shellscript:"sh",shellsession:"sh",smalltalk:"st",solidity:"sol",soy:"soy",sparql:"rq",spl:"spl",splunk:"spl",sql:"sql","ssh-config":"config",stata:"do",styl:"styl",stylus:"styl",svelte:"svelte",swift:"swift","system-verilog":"sv",systemd:"service",talon:"talon",talonscript:"talon",tasl:"tasl",tcl:"tcl",templ:"templ",terraform:"tf",tex:"tex",tf:"tf",tfvars:"tfvars",toml:"toml",ts:"ts","ts-tags":"ts",tsp:"tsp",tsv:"tsv",tsx:"tsx",turtle:"ttl",twig:"twig",typ:"typ",typescript:"ts",typespec:"tsp",typst:"typ",v:"v",vala:"vala",vb:"vb",verilog:"v",vhdl:"vhdl",vim:"vim",viml:"vim",vimscript:"vim",vue:"vue","vue-html":"html","vue-vine":"vine",vy:"vy",vyper:"vy",wasm:"wasm",wenyan:"wy",wgsl:"wgsl",wiki:"wiki",wikitext:"wiki",wit:"wit",wl:"wl",wolfram:"wl",xml:"xml",xsl:"xsl",yaml:"yaml",yml:"yml",zenscript:"zs",zig:"zig",zsh:"zsh",\u6587\u8A00:"wy"},rE=({onDownload:e,onError:t,language:r,children:n,className:i,code:a,...o})=>{let s=ae(),{code:u}=Zb(),{isAnimating:c}=Ve(Xe),d=or(),f=Rt(),h=a??u,p=`file.${r&&r in Lb?Lb[r]:"txt"}`,m="text/plain",k=()=>{try{kn(p,h,m),e?.()}catch(_){t?.(_)}};return C("button",{className:s("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",i),"data-streamdown":"code-block-download-button",disabled:c,onClick:k,title:d.downloadFile,type:"button",...o,children:n??C(f.DownloadIcon,{size:14})})},_l=()=>{let{Loader2Icon:e}=Rt(),t=ae();return ue("div",{className:t("w-full divide-y divide-border overflow-hidden rounded-xl border border-border"),children:[C("div",{className:t("h-[46px] w-full bg-muted/80")}),C("div",{className:t("flex w-full items-center justify-center p-4"),children:C(e,{className:t("size-4 animate-spin")})})]})},HI=/\.[^/.]+$/,UI=({node:e,className:t,src:r,alt:n,onLoad:i,onError:a,...o})=>{let{DownloadIcon:s}=Rt(),u=ae(),c=Ke(null),[d,f]=Se(!1),[h,p]=Se(!1),m=or(),k=o.width!=null||o.height!=null,_=(d||k)&&!h,A=h&&!k;ot(()=>{let M=c.current;if(M!=null&&M.complete){let I=M.naturalWidth>0;f(I),p(!I)}},[]);let R=at(M=>{f(!0),p(!1),i?.(M)},[i]),N=at(M=>{f(!1),p(!0),a?.(M)},[a]),F=async()=>{if(r)try{let M=await(await fetch(r)).blob(),I=new URL(r,window.location.origin).pathname.split("/").pop()||"",V=I.split(".").pop(),P=I.includes(".")&&V!==void 0&&V.length<=4,G="";if(P)G=I;else{let w=M.type,ie="png";w.includes("jpeg")||w.includes("jpg")?ie="jpg":w.includes("png")?ie="png":w.includes("svg")?ie="svg":w.includes("gif")?ie="gif":w.includes("webp")&&(ie="webp"),G=`${(n||I||"image").replace(HI,"")}.${ie}`}kn(G,M,M.type)}catch{window.open(r,"_blank")}};return r?ue("div",{className:u("group relative my-4 inline-block"),"data-streamdown":"image-wrapper",children:[C("img",{alt:n,className:u("max-w-full rounded-lg",A&&"hidden",t),"data-streamdown":"image",onError:N,onLoad:R,ref:c,src:r,...o}),A&&C("span",{className:u("text-muted-foreground text-xs italic"),"data-streamdown":"image-fallback",children:m.imageNotAvailable}),C("div",{className:u("pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block")}),_&&C("button",{className:u("absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background","opacity-0 group-hover:opacity-100"),onClick:F,title:m.downloadImage,type:"button",children:C(s,{size:14})})]}):null},Ei=0,Rl=()=>{Ei+=1,Ei===1&&(document.body.style.overflow="hidden")},Ol=()=>{Ei=Math.max(0,Ei-1),Ei===0&&(document.body.style.overflow="")},zI=({url:e,isOpen:t,onClose:r,onConfirm:n})=>{let{CheckIcon:i,CopyIcon:a,ExternalLinkIcon:o,XIcon:s}=Rt(),u=ae(),[c,d]=Se(!1),f=or(),h=at(async()=>{try{await navigator.clipboard.writeText(e),d(!0),setTimeout(()=>d(!1),2e3)}catch{}},[e]),p=at(()=>{n(),r()},[n,r]);return ot(()=>{if(t){Rl();let m=k=>{k.key==="Escape"&&r()};return document.addEventListener("keydown",m),()=>{document.removeEventListener("keydown",m),Ol()}}},[t,r]),t?C("div",{className:u("fixed inset-0 z-50 flex items-center justify-center bg-background/50 backdrop-blur-sm"),"data-streamdown":"link-safety-modal",onClick:r,onKeyDown:m=>{m.key==="Escape"&&r()},role:"button",tabIndex:0,children:ue("div",{className:u("relative mx-4 flex w-full max-w-md flex-col gap-4 rounded-xl border bg-background p-6 shadow-lg"),onClick:m=>m.stopPropagation(),onKeyDown:m=>m.stopPropagation(),role:"presentation",children:[C("button",{className:u("absolute top-4 right-4 rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:r,title:f.close,type:"button",children:C(s,{size:16})}),ue("div",{className:u("flex flex-col gap-2"),children:[ue("div",{className:u("flex items-center gap-2 font-semibold text-lg"),children:[C(o,{size:20}),C("span",{children:f.openExternalLink})]}),C("p",{className:u("text-muted-foreground text-sm"),children:f.externalLinkWarning})]}),C("div",{className:u("break-all rounded-md bg-muted p-3 font-mono text-sm",e.length>100&&"max-h-32 overflow-y-auto"),children:e}),ue("div",{className:u("flex gap-2"),children:[C("button",{className:u("flex flex-1 items-center justify-center gap-2 rounded-md border bg-background px-4 py-2 font-medium text-sm transition-all hover:bg-muted"),onClick:h,type:"button",children:c?ue(ar,{children:[C(i,{size:14}),C("span",{children:f.copied})]}):ue(ar,{children:[C(a,{size:14}),C("span",{children:f.copyLink})]})}),ue("button",{className:u("flex flex-1 items-center justify-center gap-2 rounded-md bg-primary px-4 py-2 font-medium text-primary-foreground text-sm transition-all hover:bg-primary/90"),onClick:p,type:"button",children:[C(o,{size:14}),C("span",{children:f.openLink})]})]})]})}):null},Sl=Zr(null),Dl=()=>Ve(Sl),_b=()=>{var e;let t=Dl();return(e=t?.code)!=null?e:null},Pl=()=>{var e;let t=Dl();return(e=t?.mermaid)!=null?e:null},jI=e=>{var t;let r=Dl();return r!=null&&r.renderers&&e&&(t=r.renderers.find(n=>Array.isArray(n.language)?n.language.includes(e):n.language===e))!=null?t:null},qI=(e,t)=>{var r;let n=(r=void 0)!=null?r:5;return new Promise((i,a)=>{let o="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(e))),s=new Image;s.crossOrigin="anonymous",s.onload=()=>{let u=document.createElement("canvas"),c=s.width*n,d=s.height*n;u.width=c,u.height=d;let f=u.getContext("2d");if(!f){a(new Error("Failed to create 2D canvas context for PNG export"));return}f.drawImage(s,0,0,c,d),u.toBlob(h=>{if(!h){a(new Error("Failed to create PNG blob"));return}i(h)},"image/png")},s.onerror=()=>a(new Error("Failed to load SVG image")),s.src=o})},YI=({chart:e,children:t,className:r,onDownload:n,config:i,onError:a})=>{let o=ae(),[s,u]=Se(!1),c=Ke(null),{isAnimating:d}=Ve(Xe),f=Rt(),h=Pl(),p=or(),m=async k=>{try{if(k==="mmd"){kn("diagram.mmd",e,"text/plain"),u(!1),n?.(k);return}if(!h){a?.(new Error("Mermaid plugin not available"));return}let _=h.getMermaid(i),A=e.split("").reduce((F,M)=>(F<<5)-F+M.charCodeAt(0)|0,0),R=`mermaid-${Math.abs(A)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:N}=await _.render(R,e);if(!N){a?.(new Error("SVG not found. Please wait for the diagram to render."));return}if(k==="svg"){kn("diagram.svg",N,"image/svg+xml"),u(!1),n?.(k);return}if(k==="png"){let F=await qI(N);kn("diagram.png",F,"image/png"),n?.(k),u(!1);return}}catch(_){a?.(_)}};return ot(()=>{let k=_=>{let A=_.composedPath();c.current&&!A.includes(c.current)&&u(!1)};return document.addEventListener("mousedown",k),()=>{document.removeEventListener("mousedown",k)}},[]),ue("div",{className:o("relative"),ref:c,children:[C("button",{className:o("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",r),disabled:d,onClick:()=>u(!s),title:p.downloadDiagram,type:"button",children:t??C(f.DownloadIcon,{size:14})}),s?ue("div",{className:o("absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[C("button",{className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("svg"),title:p.downloadDiagramAsSvg,type:"button",children:p.mermaidFormatSvg}),C("button",{className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("png"),title:p.downloadDiagramAsPng,type:"button",children:p.mermaidFormatPng}),C("button",{className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("mmd"),title:p.downloadDiagramAsMmd,type:"button",children:p.mermaidFormatMmd})]}):null]})},VI=({chart:e,config:t,onFullscreen:r,onExit:n,className:i,...a})=>{let{Maximize2Icon:o,XIcon:s}=Rt(),u=ae(),[c,d]=Se(!1),{isAnimating:f,controls:h}=Ve(Xe),p=or(),m=(()=>{if(typeof h=="boolean")return h;let _=h.mermaid;return _===!1?!1:_===!0||_===void 0?!0:_.panZoom!==!1})(),k=()=>{d(!c)};return ot(()=>{if(c){Rl();let _=A=>{A.key==="Escape"&&d(!1)};return document.addEventListener("keydown",_),()=>{document.removeEventListener("keydown",_),Ol()}}},[c]),ot(()=>{c?r?.():n&&n()},[c,r,n]),ue(ar,{children:[C("button",{className:u("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",i),disabled:f,onClick:k,title:p.viewFullscreen,type:"button",...a,children:C(o,{size:14})}),c?Gb(ue("div",{className:u("fixed inset-0 z-50 flex items-center justify-center bg-background/95 backdrop-blur-sm"),onClick:k,onKeyDown:_=>{_.key==="Escape"&&k()},role:"button",tabIndex:0,children:[C("button",{className:u("absolute top-4 right-4 z-10 rounded-md p-2 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:k,title:p.exitFullscreen,type:"button",children:C(s,{size:20})}),C("div",{className:u("flex size-full items-center justify-center p-4"),onClick:_=>_.stopPropagation(),onKeyDown:_=>_.stopPropagation(),role:"presentation",children:C(Tl,{chart:e,className:u("size-full [&_svg]:h-auto [&_svg]:w-auto"),config:t,fullscreen:!0,showControls:m})})]}),document.body):null]})},Ml=e=>{var t,r;let n=[],i=[],a=e.querySelectorAll("thead th");for(let s of a)n.push(((t=s.textContent)==null?void 0:t.trim())||"");let o=e.querySelectorAll("tbody tr");for(let s of o){let u=[],c=s.querySelectorAll("td");for(let d of c)u.push(((r=d.textContent)==null?void 0:r.trim())||"");i.push(u)}return{headers:n,rows:i}},vl=e=>{let{headers:t,rows:r}=e,n=s=>{let u=!1,c=!1;for(let d of s){if(d==='"'){u=!0,c=!0;break}(d===","||d===`
|
|
113
|
+
`)&&(u=!0)}return u?c?`"${s.replace(/"/g,'""')}"`:`"${s}"`:s},i=t.length>0?r.length+1:r.length,a=new Array(i),o=0;t.length>0&&(a[o]=t.map(n).join(","),o+=1);for(let s of r)a[o]=s.map(n).join(","),o+=1;return a.join(`
|
|
114
|
+
`)},nE=e=>{let{headers:t,rows:r}=e,n=s=>{let u=!1;for(let d of s)if(d===" "||d===`
|
|
115
|
+
`||d==="\r"){u=!0;break}if(!u)return s;let c=[];for(let d of s)d===" "?c.push("\\t"):d===`
|
|
116
|
+
`?c.push("\\n"):d==="\r"?c.push("\\r"):c.push(d);return c.join("")},i=t.length>0?r.length+1:r.length,a=new Array(i),o=0;t.length>0&&(a[o]=t.map(n).join(" "),o+=1);for(let s of r)a[o]=s.map(n).join(" "),o+=1;return a.join(`
|
|
117
|
+
`)},Ja=e=>{let t=!1;for(let n of e)if(n==="\\"||n==="|"){t=!0;break}if(!t)return e;let r=[];for(let n of e)n==="\\"?r.push("\\\\"):n==="|"?r.push("\\|"):r.push(n);return r.join("")},ro=e=>{let{headers:t,rows:r}=e;if(t.length===0)return"";let n=new Array(r.length+2),i=0,a=t.map(s=>Ja(s));n[i]=`| ${a.join(" | ")} |`,i+=1;let o=new Array(t.length);for(let s=0;s<t.length;s+=1)o[s]="---";n[i]=`| ${o.join(" | ")} |`,i+=1;for(let s of r)if(s.length<t.length){let u=new Array(t.length);for(let c=0;c<t.length;c+=1)u[c]=c<s.length?Ja(s[c]):"";n[i]=`| ${u.join(" | ")} |`,i+=1}else{let u=s.map(c=>Ja(c));n[i]=`| ${u.join(" | ")} |`,i+=1}return n.join(`
|
|
118
|
+
`)},Bl=({children:e,className:t,onCopy:r,onError:n,timeout:i=2e3})=>{let a=ae(),[o,s]=Se(!1),[u,c]=Se(!1),d=Ke(null),f=Ke(0),{isAnimating:h}=Ve(Xe),p=or(),m=async A=>{var R,N;if(typeof window>"u"||!((R=navigator?.clipboard)!=null&&R.write)){n?.(new Error("Clipboard API not available"));return}try{let F=(N=d.current)==null?void 0:N.closest('[data-streamdown="table-wrapper"]'),M=F?.querySelector("table");if(!M){n?.(new Error("Table not found"));return}let I=Ml(M),V=({csv:vl,tsv:nE,md:ro}[A]||ro)(I),P=new ClipboardItem({"text/plain":new Blob([V],{type:"text/plain"}),"text/html":new Blob([M.outerHTML],{type:"text/html"})});await navigator.clipboard.write([P]),c(!0),s(!1),r?.(A),f.current=window.setTimeout(()=>c(!1),i)}catch(F){n?.(F)}};ot(()=>{let A=R=>{let N=R.composedPath();d.current&&!N.includes(d.current)&&s(!1)};return document.addEventListener("mousedown",A),()=>{document.removeEventListener("mousedown",A),window.clearTimeout(f.current)}},[]);let k=Rt(),_=u?k.CheckIcon:k.CopyIcon;return ue("div",{className:a("relative"),ref:d,children:[C("button",{className:a("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:h,onClick:()=>s(!o),title:p.copyTable,type:"button",children:e??C(_,{height:14,width:14})}),o?ue("div",{className:a("absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[C("button",{className:a("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("md"),title:p.copyTableAsMarkdown,type:"button",children:p.tableFormatMarkdown}),C("button",{className:a("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("csv"),title:p.copyTableAsCsv,type:"button",children:p.tableFormatCsv}),C("button",{className:a("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("tsv"),title:p.copyTableAsTsv,type:"button",children:p.tableFormatTsv})]}):null]})},Fl=({children:e,className:t,onDownload:r,onError:n})=>{let i=ae(),[a,o]=Se(!1),s=Ke(null),{isAnimating:u}=Ve(Xe),c=or(),d=Rt(),f=h=>{var p;try{let m=(p=s.current)==null?void 0:p.closest('[data-streamdown="table-wrapper"]'),k=m?.querySelector("table");if(!k){n?.(new Error("Table not found"));return}let _=Ml(k),A=h==="csv"?vl(_):ro(_);kn(`table.${h==="csv"?"csv":"md"}`,A,h==="csv"?"text/csv":"text/markdown"),o(!1),r?.(h)}catch(m){n?.(m)}};return ot(()=>{let h=p=>{let m=p.composedPath();s.current&&!m.includes(s.current)&&o(!1)};return document.addEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}},[]),ue("div",{className:i("relative"),ref:s,children:[C("button",{className:i("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:u,onClick:()=>o(!a),title:c.downloadTable,type:"button",children:e??C(d.DownloadIcon,{size:14})}),a?ue("div",{className:i("absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[C("button",{className:i("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("csv"),title:c.downloadTableAsCsv,type:"button",children:c.tableFormatCsv}),C("button",{className:i("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("markdown"),title:c.downloadTableAsMarkdown,type:"button",children:c.tableFormatMarkdown})]}):null]})},GI=({children:e,className:t,showCopy:r=!0,showDownload:n=!0})=>{let{Maximize2Icon:i,XIcon:a}=Rt(),o=ae(),[s,u]=Se(!1),{isAnimating:c}=Ve(Xe),d=or(),f=()=>{u(!0)},h=()=>{u(!1)};return ot(()=>{if(s){Rl();let p=m=>{m.key==="Escape"&&u(!1)};return document.addEventListener("keydown",p),()=>{document.removeEventListener("keydown",p),Ol()}}},[s]),ue(ar,{children:[C("button",{className:o("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:c,onClick:f,title:d.viewFullscreen,type:"button",children:C(i,{size:14})}),s?Gb(C("div",{"aria-label":d.viewFullscreen,"aria-modal":"true",className:o("fixed inset-0 z-50 flex flex-col bg-background"),"data-streamdown":"table-fullscreen",onClick:h,onKeyDown:p=>{p.key==="Escape"&&h()},role:"dialog",children:ue("div",{className:o("flex h-full flex-col"),onClick:p=>p.stopPropagation(),onKeyDown:p=>p.stopPropagation(),role:"presentation",children:[ue("div",{className:o("flex items-center justify-end gap-1 p-4"),children:[r?C(Bl,{}):null,n?C(Fl,{}):null,C("button",{className:o("rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:h,title:d.exitFullscreen,type:"button",children:C(a,{size:20})})]}),C("div",{className:o("flex-1 overflow-auto p-4 pt-0 [&_thead]:sticky [&_thead]:top-0 [&_thead]:z-10"),children:C("table",{className:o("w-full border-collapse border border-border"),"data-streamdown":"table",children:e})})]})}),document.body):null]})},WI=({children:e,className:t,showControls:r,showCopy:n=!0,showDownload:i=!0,showFullscreen:a=!0,...o})=>{let s=ae(),u=r&&n,c=r&&i,d=r&&a,f=u||c||d;return ue("div",{className:s("my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2"),"data-streamdown":"table-wrapper",children:[f?ue("div",{className:s("flex items-center justify-end gap-1"),children:[u?C(Bl,{}):null,c?C(Fl,{}):null,d?C(GI,{showCopy:u,showDownload:c,children:e}):null]}):null,C("div",{className:s("border-collapse overflow-x-auto overflow-y-auto rounded-md border border-border bg-background"),children:C("table",{className:s("w-full divide-y divide-border",t),"data-streamdown":"table",...o,children:e})})]})},$I=/startLine=(\d+)/,QI=/\bnoLineNumbers\b/,XI=Vb(()=>Promise.resolve().then(()=>(Ib(),Sb)).then(e=>({default:e.Mermaid}))),KI=/language-([^\s]+)/;Il=(e,t)=>typeof e=="boolean"?e:e[t]!==!1,xl=(e,t)=>{if(typeof e=="boolean")return e;let r=e.table;return r===!1?!1:r===!0||r===void 0?!0:r[t]!==!1},Rb=(e,t)=>{if(typeof e=="boolean")return e;let r=e.code;return r===!1?!1:r===!0||r===void 0?!0:r[t]!==!1},Ka=(e,t)=>{if(typeof e=="boolean")return e;let r=e.mermaid;return r===!1?!1:r===!0||r===void 0?!0:r[t]!==!1},Hl=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("ol",{className:i("list-inside list-decimal whitespace-normal [li_&]:pl-6",t),"data-streamdown":"ordered-list",...n,children:e})},(e,t)=>Le(e,t));Hl.displayName="MarkdownOl";iE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("li",{className:i("py-1 [&>p]:inline",t),"data-streamdown":"list-item",...n,children:e})},(e,t)=>e.className===t.className&&io(e.node,t.node));iE.displayName="MarkdownLi";aE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("ul",{className:i("list-inside list-disc whitespace-normal [li_&]:pl-6",t),"data-streamdown":"unordered-list",...n,children:e})},(e,t)=>Le(e,t));aE.displayName="MarkdownUl";oE=ge(({className:e,node:t,...r})=>{let n=ae();return C("hr",{className:n("my-6 border-border",e),"data-streamdown":"horizontal-rule",...r})},(e,t)=>Le(e,t));oE.displayName="MarkdownHr";sE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("span",{className:i("font-semibold",t),"data-streamdown":"strong",...n,children:e})},(e,t)=>Le(e,t));sE.displayName="MarkdownStrong";ZI=({children:e,className:t,href:r,node:n,...i})=>{let a=ae(),{linkSafety:o}=Ve(Xe),[s,u]=Se(!1),c=r==="streamdown:incomplete-link",d=at(async m=>{if(!(!(o!=null&&o.enabled&&r)||c)){if(m.preventDefault(),o.onLinkCheck&&await o.onLinkCheck(r)){window.open(r,"_blank","noreferrer");return}u(!0)}},[o,r,c]),f=at(()=>{r&&window.open(r,"_blank","noreferrer")},[r]),h=at(()=>{u(!1)},[]),p={url:r??"",isOpen:s,onClose:h,onConfirm:f};return o!=null&&o.enabled&&r?ue(ar,{children:[C("button",{className:a("wrap-anywhere appearance-none text-left font-medium text-primary underline",t),"data-incomplete":c,"data-streamdown":"link",onClick:d,type:"button",children:e}),o.renderModal?o.renderModal(p):C(zI,{...p})]}):C("a",{className:a("wrap-anywhere font-medium text-primary underline",t),"data-incomplete":c,"data-streamdown":"link",href:r,rel:"noreferrer",target:"_blank",...i,children:e})},uE=ge(ZI,(e,t)=>Le(e,t)&&e.href===t.href);uE.displayName="MarkdownA";lE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("h1",{className:i("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...n,children:e})},(e,t)=>Le(e,t));lE.displayName="MarkdownH1";cE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("h2",{className:i("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...n,children:e})},(e,t)=>Le(e,t));cE.displayName="MarkdownH2";dE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("h3",{className:i("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...n,children:e})},(e,t)=>Le(e,t));dE.displayName="MarkdownH3";fE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("h4",{className:i("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...n,children:e})},(e,t)=>Le(e,t));fE.displayName="MarkdownH4";hE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("h5",{className:i("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...n,children:e})},(e,t)=>Le(e,t));hE.displayName="MarkdownH5";pE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("h6",{className:i("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...n,children:e})},(e,t)=>Le(e,t));pE.displayName="MarkdownH6";mE=ge(({children:e,className:t,node:r,...n})=>{let{controls:i}=Ve(Xe),a=Il(i,"table"),o=xl(i,"copy"),s=xl(i,"download"),u=xl(i,"fullscreen");return C(WI,{className:t,showControls:a,showCopy:o,showDownload:s,showFullscreen:u,...n,children:e})},(e,t)=>Le(e,t));mE.displayName="MarkdownTable";gE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("thead",{className:i("bg-muted/80",t),"data-streamdown":"table-header",...n,children:e})},(e,t)=>Le(e,t));gE.displayName="MarkdownThead";bE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("tbody",{className:i("divide-y divide-border",t),"data-streamdown":"table-body",...n,children:e})},(e,t)=>Le(e,t));bE.displayName="MarkdownTbody";EE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("tr",{className:i("border-border",t),"data-streamdown":"table-row",...n,children:e})},(e,t)=>Le(e,t));EE.displayName="MarkdownTr";TE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("th",{className:i("whitespace-nowrap px-4 py-2 text-left font-semibold text-sm",t),"data-streamdown":"table-header-cell",...n,children:e})},(e,t)=>Le(e,t));TE.displayName="MarkdownTh";xE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("td",{className:i("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...n,children:e})},(e,t)=>Le(e,t));xE.displayName="MarkdownTd";kE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("blockquote",{className:i("my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic",t),"data-streamdown":"blockquote",...n,children:e})},(e,t)=>Le(e,t));kE.displayName="MarkdownBlockquote";AE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("sup",{className:i("text-sm",t),"data-streamdown":"superscript",...n,children:e})},(e,t)=>Le(e,t));AE.displayName="MarkdownSup";yE=ge(({children:e,className:t,node:r,...n})=>{let i=ae();return C("sub",{className:i("text-sm",t),"data-streamdown":"subscript",...n,children:e})},(e,t)=>Le(e,t));yE.displayName="MarkdownSub";CE=ge(({children:e,className:t,node:r,...n})=>{if("data-footnotes"in n){let i=o=>{var s,u;if(!Kr(o))return!1;let c=Array.isArray(o.props.children)?o.props.children:[o.props.children],d=!1,f=!1;for(let h of c)if(h){if(typeof h=="string")h.trim()!==""&&(d=!0);else if(Kr(h))if(((s=h.props)==null?void 0:s["data-footnote-backref"])!==void 0)f=!0;else{let p=Array.isArray(h.props.children)?h.props.children:[h.props.children];for(let m of p){if(typeof m=="string"&&m.trim()!==""){d=!0;break}if(Kr(m)&&((u=m.props)==null?void 0:u["data-footnote-backref"])===void 0){d=!0;break}}}}return f&&!d},a=Array.isArray(e)?e.map(o=>{if(!Kr(o))return o;if(o.type===Hl){let s=(Array.isArray(o.props.children)?o.props.children:[o.props.children]).filter(u=>!i(u));return s.length===0?null:{...o,props:{...o.props,children:s}}}return o}):e;return(Array.isArray(a)?a.some(o=>o!==null):a!==null)?C("section",{className:t,...n,children:a}):null}return C("section",{className:t,...n,children:e})},(e,t)=>Le(e,t));CE.displayName="MarkdownSection";JI=({node:e,className:t,children:r,...n})=>{var i,a;let o=ae(),s=!("data-block"in n),{mermaid:u,controls:c,lineNumbers:d}=Ve(Xe),f=Pl(),h=Qb(),p=t?.match(KI),m=(i=p?.at(1))!=null?i:"",k=jI(m);if(s)return C("code",{className:o("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",t),"data-streamdown":"inline-code",...n,children:r});let _=(a=e?.properties)==null?void 0:a.metastring,A=_?.match($I),R=A?Number.parseInt(A[1],10):void 0,N=R!==void 0&&R>=1?R:void 0,F=!(_&&QI.test(_))&&d!==!1,M="";if(Kr(r)&&r.props&&typeof r.props=="object"&&"children"in r.props&&typeof r.props.children=="string"?M=r.props.children:typeof r=="string"&&(M=r),k){let G=k.component;return C(kl,{fallback:C(_l,{}),children:C(G,{code:M,isIncomplete:h,language:m,meta:_})})}if(m==="mermaid"&&f){let G=Il(c,"mermaid"),w=Ka(c,"download"),ie=Ka(c,"copy"),Z=Ka(c,"fullscreen"),Y=Ka(c,"panZoom"),X=G&&(w||ie||Z);return C(kl,{fallback:C(_l,{}),children:ue("div",{className:o("group relative my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2",t),"data-streamdown":"mermaid-block",children:[C("div",{className:o("flex h-8 items-center text-muted-foreground text-xs"),children:C("span",{className:o("ml-1 font-mono lowercase"),children:"mermaid"})}),X?C("div",{className:o("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:ue("div",{className:o("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"),"data-streamdown":"mermaid-block-actions",children:[w?C(YI,{chart:M,config:u?.config}):null,ie?C(Cl,{code:M}):null,Z?C(VI,{chart:M,config:u?.config}):null]})}):null,C("div",{className:o("rounded-md border border-border bg-background"),children:C(XI,{chart:M,config:u?.config,showControls:Y})})]})})}let I=Il(c,"code"),V=Rb(c,"download"),P=Rb(c,"copy");return C(eE,{className:t,code:M,isIncomplete:h,language:m,lineNumbers:F,startLine:N,children:I?ue(ar,{children:[V?C(rE,{code:M,language:m}):null,P?C(Cl,{}):null]}):null})},_E=ge(JI,(e,t)=>e.className===t.className&&io(e.node,t.node));_E.displayName="MarkdownCode";SE=ge(UI,(e,t)=>e.className===t.className&&io(e.node,t.node));SE.displayName="MarkdownImg";IE=ge(({children:e,node:t,...r})=>{let n=(Array.isArray(e)?e:[e]).filter(i=>i!=null&&i!=="");if(n.length===1&&Kr(n[0])){let i=n[0].props.node,a=i?.tagName;if(a==="img")return C(ar,{children:e});if(a==="code"&&"data-block"in n[0].props)return C(ar,{children:e})}return C("p",{...r,children:e})},(e,t)=>Le(e,t));IE.displayName="MarkdownParagraph";ew={ol:Hl,li:iE,ul:aE,hr:oE,strong:sE,a:uE,h1:lE,h2:cE,h3:dE,h4:fE,h5:hE,h6:pE,table:mE,thead:gE,tbody:bE,tr:EE,th:TE,td:xE,blockquote:kE,code:_E,img:SE,pre:({children:e})=>Kr(e)?uI(e,{"data-block":"true"}):e,sup:AE,sub:yE,p:IE,section:CE},tw=/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF]/,rw=/\p{L}/u;nw=/^[ \t]{0,3}(`{3,}|~{3,})/,iw=/^\|?[ \t]*:?-{1,}:?[ \t]*(\|[ \t]*:?-{1,}:?[ \t]*)*\|?$/,Ob=e=>{let t=e.split(`
|
|
119
|
+
`),r=null,n=0;for(let i of t){let a=nw.exec(i);if(r===null){if(a){let o=a[1];r=o[0],n=o.length}}else if(a){let o=a[1],s=o[0],u=o.length;s===r&&u>=n&&(r=null,n=0)}}return r!==null},aw=e=>{let t=e.split(`
|
|
120
|
+
`);for(let r of t){let n=r.trim();if(n.length>0&&n.includes("|")&&iw.test(n))return!0}return!1},ow=()=>e=>{ze(e,"html",(t,r,n)=>{!n||typeof r!="number"||(n.children[r]={type:"text",value:t.value})})},Db=[],Pb={allowDangerousHtml:!0},Za=new WeakMap,sw=class{constructor(){this.cache=new Map,this.keyCache=new WeakMap,this.maxSize=100}generateCacheKey(e){let t=this.keyCache.get(e);if(t)return t;let r=e.rehypePlugins,n=e.remarkPlugins,i=e.remarkRehypeOptions;if(!(r||n||i)){let d="default";return this.keyCache.set(e,d),d}let a=d=>{if(!d||d.length===0)return"";let f="";for(let h=0;h<d.length;h+=1){let p=d[h];if(h>0&&(f+=","),Array.isArray(p)){let[m,k]=p;if(typeof m=="function"){let _=Za.get(m);_||(_=m.name,Za.set(m,_)),f+=_}else f+=String(m);f+=":",f+=JSON.stringify(k)}else if(typeof p=="function"){let m=Za.get(p);m||(m=p.name,Za.set(p,m)),f+=m}else f+=String(p)}return f},o=a(r),s=a(n),u=i?JSON.stringify(i):"",c=`${s}::${o}::${u}`;return this.keyCache.set(e,c),c}get(e){let t=this.generateCacheKey(e),r=this.cache.get(t);return r&&(this.cache.delete(t),this.cache.set(t,r)),r}set(e,t){let r=this.generateCacheKey(e);if(this.cache.size>=this.maxSize){let n=this.cache.keys().next().value;n&&this.cache.delete(n)}this.cache.set(r,t)}clear(){this.cache.clear()}},Mb=new sw,wE=e=>{let t=uw(e),r=e.children||"",n=t.runSync(t.parse(r),r);return pw(n,e)},uw=e=>{let t=Mb.get(e);if(t)return t;let r=cw(e);return Mb.set(e,r),r},lw=e=>e.some(t=>Array.isArray(t)?t[0]===fn:t===fn),cw=e=>{let t=e.rehypePlugins||Db,r=e.remarkPlugins||Db,n=lw(t)?r:[...r,ow],i=e.remarkRehypeOptions?{...Pb,...e.remarkRehypeOptions}:Pb;return al().use(va).use(n).use(Ua,i).use(t)},NE=e=>e,dw=(e,t,r,n)=>{r?e.children.splice(t,1):e.children[t]={type:"text",value:n}},fw=(e,t)=>{var r;for(let n in li)if(Object.hasOwn(li,n)&&Object.hasOwn(e.properties,n)){let i=e.properties[n],a=li[n];(a===null||a.includes(e.tagName))&&(e.properties[n]=(r=t(String(i||""),n,e))!=null?r:void 0)}},hw=(e,t,r,n,i,a)=>{let o=!1;return n?o=!n.includes(e.tagName):i&&(o=i.includes(e.tagName)),!o&&a&&typeof t=="number"&&(o=!a(e,t,r)),o},pw=(e,t)=>{let{allowElement:r,allowedElements:n,disallowedElements:i,skipHtml:a,unwrapDisallowed:o,urlTransform:s}=t;if(r||n||i||a||s){let u=s||NE;ze(e,(c,d,f)=>{if(c.type==="raw"&&f&&typeof d=="number")return dw(f,d,a,c.value),d;if(c.type==="element"&&(fw(c,u),hw(c,d,f,n,i,r)&&f&&typeof d=="number"))return o&&c.children?f.children.splice(d,1,...c.children):f.children.splice(d,1),d})}return Fu(e,{Fragment:ar,components:t.components,ignoreInvalidStyle:!0,jsx:C,jsxs:ue,passKeys:!0,passNode:!0})},mw=/\[\^[\w-]{1,200}\](?!:)/,gw=/\[\^[\w-]{1,200}\]:/,bw=/<(\w+)[\s>]/,Ew=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),vb=new Map,Bb=new Map,Tw=e=>{let t=e.toLowerCase(),r=vb.get(t);if(r)return r;let n=new RegExp(`<${t}(?=[\\s>/])[^>]*>`,"gi");return vb.set(t,n),n},xw=e=>{let t=e.toLowerCase(),r=Bb.get(t);if(r)return r;let n=new RegExp(`</${t}(?=[\\s>])[^>]*>`,"gi");return Bb.set(t,n),n},Fb=(e,t)=>{if(Ew.has(t.toLowerCase()))return 0;let r=e.match(Tw(t));if(!r)return 0;let n=0;for(let i of r)i.trimEnd().endsWith("/>")||(n+=1);return n},Hb=(e,t)=>{let r=e.match(xw(t));return r?r.length:0},kw=e=>{let t=0;for(let r=0;r<e.length-1;r+=1)e[r]==="$"&&e[r+1]==="$"&&(t+=1,r+=1);return t},LE=e=>{let t=mw.test(e),r=gw.test(e);if(t||r)return[e];let n=pt.lex(e,{gfm:!0}),i=[],a=[],o=!1;for(let s of n){let u=s.raw,c=i.length;if(a.length>0){i[c-1]+=u;let d=a.at(-1),f=Fb(u,d),h=Hb(u,d);for(let p=0;p<f;p+=1)a.push(d);for(let p=0;p<h;p+=1)a.length>0&&a.at(-1)===d&&a.pop();continue}if(s.type==="html"&&s.block){let d=u.match(bw);if(d){let f=d[1],h=Fb(u,f),p=Hb(u,f);h>p&&a.push(f)}}if(c>0&&!o){let d=i[c-1];if(kw(d)%2===1){i[c-1]=d+u;continue}}i.push(u),s.type!=="space"&&(o=s.type==="code")}return i},Aw=(e,t)=>{if(!t.length)return e;let r=e;for(let n of t){let i=new RegExp(`(<${n}(?=[\\s>/])[^>]*>)([\\s\\S]*?)(</${n}\\s*>)`,"gi");r=r.replace(i,(a,o,s,u)=>{if(!s.includes(`
|
|
121
|
+
|
|
122
|
+
`))return o+s+u;let c=s.replace(/\n\n/g,`
|
|
123
|
+
<!---->
|
|
124
|
+
`),d=(c.startsWith(`
|
|
125
|
+
`)?"":`
|
|
126
|
+
`)+c+(c.endsWith(`
|
|
127
|
+
`)?"":`
|
|
128
|
+
`);return`${o}${d}${u}
|
|
129
|
+
|
|
130
|
+
`})}return r},yw=/([\\`*_~[\]|])/g,Cw=e=>e.replace(yw,"\\$1"),_w=(e,t)=>{if(!t.length)return e;let r=e;for(let n of t){let i=new RegExp(`(<${n}(?=[\\s>/])[^>]*>)([\\s\\S]*?)(</${n}\\s*>)`,"gi");r=r.replace(i,(a,o,s,u)=>{let c=Cw(s).replace(/\n\n/g," ");return o+c+u})}return r},RE=e=>e.type==="text"?e.value:"children"in e&&Array.isArray(e.children)?e.children.map(RE).join(""):"",Sw=e=>t=>{if(!e||e.length===0)return;let r=new Set(e.map(n=>n.toLowerCase()));ze(t,"element",n=>{if(r.has(n.tagName.toLowerCase())){let i=RE(n);n.children=i?[{type:"text",value:i}]:[]}})},Iw=()=>e=>{ze(e,"code",t=>{var r,n;t.meta&&(t.data=(r=t.data)!=null?r:{},t.data.hProperties={...(n=t.data.hProperties)!=null?n:{},metastring:t.meta})})},ww=/^[ \t]*<[\w!/?-]/,Nw=/(^|\n)[ \t]{4,}(?=<[\w!/?-])/g,OE=e=>typeof e!="string"||e.length===0||!ww.test(e)?e:e.replace(Nw,"$1"),eo={...wt,protocols:{...wt.protocols,href:[...(zb=(Ub=wt.protocols)==null?void 0:Ub.href)!=null?zb:[],"tel"]},attributes:{...wt.attributes,code:[...(qb=(jb=wt.attributes)==null?void 0:jb.code)!=null?qb:[],"metastring"]}},no={raw:fn,sanitize:[ei,eo],harden:[td,{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],allowedProtocols:["*"],defaultOrigin:void 0,allowDataImages:!0}]},DE={gfm:[La,{}],codeMeta:Iw},Yb=Object.values(no),Lw=Object.values(DE),Rw={block:" \u258B",circle:" \u25CF"},PE=["github-light","github-dark"],ME={enabled:!0},Ow={shikiTheme:PE,controls:!0,isAnimating:!1,lineNumbers:!0,mode:"streaming",mermaid:void 0,linkSafety:ME},Xe=Zr(Ow),Ul=ge(({content:e,shouldParseIncompleteMarkdown:t,shouldNormalizeHtmlIndentation:r,index:n,isIncomplete:i,dir:a,animatePlugin:o,...s})=>{if(o){let d=o.getLastRenderCharCount();o.setPrevContentLength(d)}let u=typeof e=="string"&&r?OE(e):e,c=C(wE,{...s,children:u});return C($b.Provider,{value:i,children:a?C("div",{dir:a,style:{display:"contents"},children:c}):c})},(e,t)=>{if(e.content!==t.content||e.shouldNormalizeHtmlIndentation!==t.shouldNormalizeHtmlIndentation||e.index!==t.index||e.isIncomplete!==t.isIncomplete||e.dir!==t.dir)return!1;if(e.components!==t.components){let r=Object.keys(e.components||{}),n=Object.keys(t.components||{});if(r.length!==n.length||r.some(i=>{var a,o;return((a=e.components)==null?void 0:a[i])!==((o=t.components)==null?void 0:o[i])}))return!1}return!(e.rehypePlugins!==t.rehypePlugins||e.remarkPlugins!==t.remarkPlugins)});Ul.displayName="Block";ao=ge(({children:e,mode:t="streaming",dir:r,parseIncompleteMarkdown:n=!0,normalizeHtmlIndentation:i=!1,components:a,rehypePlugins:o=Yb,remarkPlugins:s=Lw,className:u,shikiTheme:c=PE,mermaid:d,controls:f=!0,isAnimating:h=!1,animated:p,BlockComponent:m=Ul,parseMarkdownIntoBlocksFn:k=LE,caret:_,plugins:A,remend:R,linkSafety:N=ME,lineNumbers:F=!0,allowedTags:M,literalTagContent:I,translations:V,icons:P,prefix:G,onAnimationStart:w,onAnimationEnd:ie,...Z})=>{let Y=oI(),[X,W]=sI(),z=_e(()=>yI(G),[G]),ee=Ke(null),Ce=Ke(w),He=Ke(ie);Ce.current=w,He.current=ie,ot(()=>{var oe,Te,lt;if(t==="static")return;let Dt=ee.current;if(ee.current=h,Dt===null){h&&((oe=Ce.current)==null||oe.call(Ce));return}h&&!Dt?(Te=Ce.current)==null||Te.call(Ce):!h&&Dt&&((lt=He.current)==null||lt.call(He))},[h,t]);let T=_e(()=>M?Object.keys(M):[],[M]),Me=_e(()=>{if(typeof e!="string")return"";let oe=t==="streaming"&&n?Jm(e,R):e;return I&&I.length>0&&(oe=_w(oe,I)),T.length>0&&(oe=Aw(oe,T)),oe},[e,t,n,R,T,I]),Ue=_e(()=>k(Me),[Me,k]),[y,ve]=Se(Ue);ot(()=>{t==="streaming"&&!he?W(()=>{ve(Ue)}):ve(Ue)},[Ue,t]);let de=t==="streaming"?y:Ue,Ie=_e(()=>r==="auto"?de.map(wl):void 0,[de,r]),Tt=_e(()=>de.map((oe,Te)=>`${Y}-${Te}`),[de.length,Y]),Ae=_e(()=>p===!0?"true":p?JSON.stringify(p):"",[p]),he=_e(()=>Ae?Ae==="true"?to():to(p):null,[Ae]),Ze=_e(()=>{var oe,Te;return{shikiTheme:(Te=(oe=A?.code)==null?void 0:oe.getThemes())!=null?Te:c,controls:f,isAnimating:h,lineNumbers:F,mode:t,mermaid:d,linkSafety:N}},[c,f,h,F,t,d,N,A?.code]),st=_e(()=>V?JSON.stringify(V):"",[V]),ut=_e(()=>({...Ll,...V}),[st]),Ot=_e(()=>{let{inlineCode:oe,...Te}=a??{},lt={...ew,...Te};if(oe){let Dt=lt.code;lt.code=kr=>"data-block"in kr?Dt?wb(Dt,kr):null:wb(oe,kr)}return lt},[a]),Yt=_e(()=>{let oe=[];return A!=null&&A.cjk&&(oe=[...oe,...A.cjk.remarkPluginsBefore]),oe=[...oe,...s],A!=null&&A.cjk&&(oe=[...oe,...A.cjk.remarkPluginsAfter]),A!=null&&A.math&&(oe=[...oe,A.math.remarkPlugin]),oe},[s,A?.math,A?.cjk]),An=_e(()=>{var oe;let Te=o;if(M&&Object.keys(M).length>0&&o===Yb){let lt={...eo,tagNames:[...(oe=eo.tagNames)!=null?oe:[],...Object.keys(M)],attributes:{...eo.attributes,...M}};Te=[no.raw,[ei,lt],no.harden]}return I&&I.length>0&&(Te=[...Te,[Sw,I]]),A!=null&&A.math&&(Te=[...Te,A.math.rehypePlugin]),he&&h&&(Te=[...Te,he.rehypePlugin]),Te},[o,A?.math,he,h,M,I]),Jr=_e(()=>{if(!h||de.length===0)return!1;let oe=de.at(-1);return Ob(oe)||aw(oe)},[h,de]),Ti=_e(()=>_&&h&&!Jr?{"--streamdown-caret":`"${Rw[_]}"`}:void 0,[_,h,Jr]);return t==="static"?C(yl.Provider,{value:ut,children:C(Sl.Provider,{value:A??null,children:C(Xe.Provider,{value:Ze,children:C(Nb,{icons:P,children:C(Al.Provider,{value:z,children:C("div",{className:z("space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",u),dir:r==="auto"?wl(Me):r,children:C(wE,{components:Ot,rehypePlugins:An,remarkPlugins:Yt,...Z,children:Me})})})})})})}):C(yl.Provider,{value:ut,children:C(Sl.Provider,{value:A??null,children:C(Xe.Provider,{value:Ze,children:C(Nb,{icons:P,children:C(Al.Provider,{value:z,children:ue("div",{className:z("space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",_&&!Jr?"[&>*:last-child]:after:inline [&>*:last-child]:after:align-baseline [&>*:last-child]:after:content-[var(--streamdown-caret)]":null,u),style:Ti,children:[de.length===0&&_&&h&&C("span",{}),de.map((oe,Te)=>{var lt;let Dt=Te===de.length-1,kr=h&&Dt&&Ob(oe);return C(m,{animatePlugin:he,components:Ot,content:oe,dir:(lt=Ie?.[Te])!=null?lt:r!=="auto"?r:void 0,index:Te,isIncomplete:kr,rehypePlugins:An,remarkPlugins:Yt,shouldNormalizeHtmlIndentation:i,shouldParseIncompleteMarkdown:n,...Z},Tt[Te])})]})})})})})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating&&e.animated===t.animated&&e.mode===t.mode&&e.plugins===t.plugins&&e.className===t.className&&e.linkSafety===t.linkSafety&&e.lineNumbers===t.lineNumbers&&e.normalizeHtmlIndentation===t.normalizeHtmlIndentation&&e.literalTagContent===t.literalTagContent&&JSON.stringify(e.translations)===JSON.stringify(t.translations)&&e.prefix===t.prefix&&e.dir===t.dir);ao.displayName="Streamdown";Dw=({children:e,className:t,minZoom:r=.5,maxZoom:n=3,zoomStep:i=.1,showControls:a=!0,initialZoom:o=1,fullscreen:s=!1})=>{let{RotateCcwIcon:u,ZoomInIcon:c,ZoomOutIcon:d}=Rt(),f=ae(),h=Ke(null),p=Ke(null),[m,k]=Se(o),[_,A]=Se({x:0,y:0}),[R,N]=Se(!1),[F,M]=Se({x:0,y:0}),[I,V]=Se({x:0,y:0}),P=at(z=>{k(ee=>Math.max(r,Math.min(n,ee+z)))},[r,n]),G=at(()=>{P(i)},[P,i]),w=at(()=>{P(-i)},[P,i]),ie=at(()=>{k(o),A({x:0,y:0})},[o]),Z=at(z=>{z.preventDefault();let ee=z.deltaY>0?-i:i;P(ee)},[P,i]),Y=at(z=>{if(z.button!==0||z.isPrimary===!1)return;N(!0),M({x:z.clientX,y:z.clientY}),V(_);let ee=z.currentTarget;ee instanceof HTMLElement&&ee.setPointerCapture(z.pointerId)},[_]),X=at(z=>{if(!R)return;z.preventDefault();let ee=z.clientX-F.x,Ce=z.clientY-F.y;A({x:I.x+ee,y:I.y+Ce})},[R,F,I]),W=at(z=>{N(!1);let ee=z.currentTarget;ee instanceof HTMLElement&&ee.releasePointerCapture(z.pointerId)},[]);return ot(()=>{let z=h.current;if(z)return z.addEventListener("wheel",Z,{passive:!1}),()=>{z.removeEventListener("wheel",Z)}},[Z]),ot(()=>{let z=p.current;if(z&&R)return document.body.style.userSelect="none",z.addEventListener("pointermove",X,{passive:!1}),z.addEventListener("pointerup",W),z.addEventListener("pointercancel",W),()=>{document.body.style.userSelect="",z.removeEventListener("pointermove",X),z.removeEventListener("pointerup",W),z.removeEventListener("pointercancel",W)}},[R,X,W]),ue("div",{className:f("relative flex flex-col",s?"h-full w-full":"min-h-28 w-full",t),ref:h,style:{cursor:R?"grabbing":"grab"},children:[a?ue("div",{className:f("absolute z-10 flex flex-col gap-1 rounded-md border border-border bg-background/80 p-1 supports-[backdrop-filter]:bg-background/70 supports-[backdrop-filter]:backdrop-blur-sm",s?"bottom-4 left-4":"bottom-2 left-2"),children:[C("button",{className:f("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"),disabled:m>=n,onClick:G,title:"Zoom in",type:"button",children:C(c,{size:16})}),C("button",{className:f("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"),disabled:m<=r,onClick:w,title:"Zoom out",type:"button",children:C(d,{size:16})}),C("button",{className:f("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"),onClick:ie,title:"Reset zoom and pan",type:"button",children:C(u,{size:16})})]}):null,C("div",{className:f("flex-1 origin-center transition-transform duration-150 ease-out",s?"flex h-full w-full items-center justify-center":"flex w-full items-center justify-center"),onPointerDown:Y,ref:p,role:"application",style:{transform:`translate(${_.x}px, ${_.y}px) scale(${m})`,transformOrigin:"center center",touchAction:"none",willChange:"transform"},children:e})]})},Tl=({chart:e,className:t,config:r,fullscreen:n=!1,showControls:i=!0})=>{let a=ae(),[o,s]=Se(null),[u,c]=Se(!1),[d,f]=Se(""),[h,p]=Se(""),[m,k]=Se(0),{mermaid:_}=Ve(Xe),A=Pl(),R=_?.errorComponent,{shouldRender:N,containerRef:F}=fI({immediate:n});if(ot(()=>{if(N){if(!A){s("Mermaid plugin not available. Please add the mermaid plugin to enable diagram rendering.");return}(async()=>{try{s(null),c(!0);let I=A.getMermaid(r),V=e.split("").reduce((w,ie)=>(w<<5)-w+ie.charCodeAt(0)|0,0),P=`mermaid-${Math.abs(V)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:G}=await I.render(P,e);f(G),p(G)}catch(I){if(!(h||d)){let V=I instanceof Error?I.message:"Failed to render Mermaid chart";s(V)}}finally{c(!1)}})()}},[e,r,m,N,A]),!(N||d||h))return C("div",{className:a("my-4 min-h-[200px]",t),ref:F});if(u&&!d&&!h)return C("div",{className:a("my-4 flex justify-center p-4",t),ref:F,children:ue("div",{className:a("flex items-center space-x-2 text-muted-foreground"),children:[C("div",{className:a("h-4 w-4 animate-spin rounded-full border-current border-b-2")}),C("span",{className:a("text-sm"),children:"Loading diagram..."})]})});if(o&&!d&&!h)return R?C("div",{ref:F,children:C(R,{chart:e,error:o,retry:()=>k(V=>V+1)})}):ue("div",{className:a("rounded-md bg-red-50 p-4",t),ref:F,children:[ue("p",{className:a("font-mono text-red-700 text-sm"),children:["Mermaid Error: ",o]}),ue("details",{className:a("mt-2"),children:[C("summary",{className:a("cursor-pointer text-red-600 text-xs"),children:"Show Code"}),C("pre",{className:a("mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs"),children:e})]})]});let M=d||h;return C("div",{className:a("size-full",t),"data-streamdown":"mermaid",ref:F,children:C(Dw,{className:a(n?"size-full overflow-hidden":"overflow-hidden",t),fullscreen:n,maxZoom:3,minZoom:.5,showControls:i,zoomStep:.1,children:C("div",{"aria-label":"Mermaid chart",className:a("flex justify-center",n?"size-full items-center":null),dangerouslySetInnerHTML:{__html:M},role:"img"})})})}});var re={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533};var Pt={attentionSideAfter:2,attentionSideBefore:1,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:"content",contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4};var ht={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"};var jl=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],ql=12288,Yl=65510,Vl=[12288,12288,65281,65376,65504,65510],Gl=8361,Wl=65518,$l=[8361,8361,65377,65470,65474,65479,65482,65487,65490,65495,65498,65500,65512,65518],Ql=32,Xl=10630,Kl=[32,126,162,163,165,166,172,172,175,175,10214,10221,10629,10630],Zl=4352,Jl=262141,so=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141];var rn=(e,t)=>{let r=0,n=Math.floor(e.length/2)-1;for(;r<=n;){let i=Math.floor((r+n)/2),a=i*2;if(t<e[a])n=i-1;else if(t>e[a+1])r=i+1;else return!0}return!1};var ec=19968,[WE,$E]=QE(so);function QE(e){let t=e[0],r=e[1];for(let n=0;n<e.length;n+=2){let i=e[n],a=e[n+1];if(ec>=i&&ec<=a)return[i,a];a-i>r-t&&(t=i,r=a)}return[t,r]}var tc=e=>e<161||e>1114109?!1:rn(jl,e),rc=e=>e<ql||e>Yl?!1:rn(Vl,e),XE=e=>e<Gl||e>Wl?!1:rn($l,e),KE=e=>e<Ql||e>Xl?!1:rn(Kl,e),nc=e=>e>=WE&&e<=$E?!0:e<Zl||e>Jl?!1:rn(so,e);function ic(e){return tc(e)?"ambiguous":rc(e)?"fullwidth":XE(e)?"halfwidth":KE(e)?"narrow":nc(e)?"wide":"neutral"}function ZE(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function ac(e){return ZE(e),ic(e)}function JE(e){return/^\p{Emoji_Presentation}/u.test(String.fromCodePoint(e))}function oc(e){if(!e||e<4352)return!1;switch(ac(e)){case"fullwidth":case"halfwidth":return!0;case"wide":return!JE(e);case"narrow":return!1;case"ambiguous":return 917760<=e&&e<=917999?null:!1;case"neutral":return/^\p{sc=Hangul}/u.test(String.fromCodePoint(e))}}function sc(e,t){return t!==65025||!e||e<8216?!1:e===8216||e===8217||e===8220||e===8221}function uc(e){return e!==null&&e>=65024&&e<=65038}var lc=dc(/\p{P}|\p{S}/u),cc=dc(/\s/);function dc(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCodePoint(r))}}function ke(e){return!!(e&Pt.characterGroupWhitespace)}function Je(e){return(e&et.cjkPunctuation)===Pt.characterGroupPunctuation}function Mt(e){return!!(e&et.cjk)}function uo(e){return e===et.ivs}function kt(e){return!!(e&et.cjkOrIvs)}function Wt(e){return e===et.nonEmojiGeneralUseVS}function yr(e){return!!(e&et.spaceOrPunctuation)}ce();var et;(function(e){e.spaceOrPunctuation=3,e.cjk=4096,e.cjkPunctuation=4098,e.ivs=8192,e.cjkOrIvs=12288,e.nonEmojiGeneralUseVS=16384,e.variationSelector=24576,e.ivsToCjkRightShift=1})(et||(et={}));function Re(e){if(e===re.eof||te(e)||cc(e))return Pt.characterGroupWhitespace;let t=0;if(e>=4352){if(uc(e))return et.nonEmojiGeneralUseVS;switch(oc(e)){case null:return et.ivs;case!0:t|=et.cjk;break}}return lc(e)&&(t|=Pt.characterGroupPunctuation),t}function $t(e,t,r){if(!Wt(e))return e;let n=t(),i=Re(n);return!n||ke(i)?e:sc(n,r)?et.cjkPunctuation:eT(i)}function eT(e){return e&~et.ivs}function In(e){return!!(e&&e>=55296&&e<=56319)}function wn(e){return!!(e&&e>=56320&&e<=57343)}function Nn(e,t,r){if(t._bufferIndex<2)return e;let n=r({start:{...t,_bufferIndex:t._bufferIndex-2},end:t}).codePointAt(0);return n&&n>=65536?n:e}function mc(e,t,r){let n=e>=65536?2:1;if(t._bufferIndex<1+n)return null;let i=t._bufferIndex-n-2,a=r({start:{...t,_bufferIndex:i>=0?i:0},end:{...t,_bufferIndex:t._bufferIndex-n}}),o=a.charCodeAt(a.length-1);if(Number.isNaN(o))return null;if(a.length<2||o<56320||57343<o)return o;let s=a.codePointAt(0);return s&&s>=65536?s:o}var Ln=class{cachedValue=void 0;constructor(e,t,r){this.previousCode=e,this.nowPoint=t,this.sliceSerialize=r}value(){return this.cachedValue===void 0&&(this.cachedValue=mc(this.previousCode,this.nowPoint,this.sliceSerialize)),this.cachedValue}};function Rn(e,t,r){let n=r({start:t,end:{...t,_bufferIndex:t._bufferIndex+2}}).codePointAt(0);return n&&n>=65536?n:e}At();Sr();var xi={name:"attention",resolveAll:tT,tokenize:rT};function tT(e,t){let r=-1,n,i,a,o,s,u,c,d;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;u=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;let f={...e[n][1].end},h={...e[r][1].start};gc(f,-u),gc(h,u),o={type:u>1?ht.strongSequence:ht.emphasisSequence,start:f,end:{...e[n][1].end}},s={type:u>1?ht.strongSequence:ht.emphasisSequence,start:{...e[r][1].start},end:h},a={type:u>1?ht.strongText:ht.emphasisText,start:{...e[n][1].end},end:{...e[r][1].start}},i={type:u>1?ht.strong:ht.emphasis,start:{...o.start},end:{...s.end}},e[n][1].end={...o.start},e[r][1].start={...s.end},c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=Oe(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=Oe(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",a,t]]),t.parser.constructs.insideSpan.null,c=Oe(c,mt(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),c=Oe(c,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(d=2,c=Oe(c,[["enter",e[r][1],t],["exit",e[r][1],t]])):d=0,Ee(e,n-1,r-n+3,c),r=n+c.length-d-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function rT(e,t){let r=this.parser.constructs.attentionMarkers.null,{now:n,sliceSerialize:i,previous:a}=this,o=wn(a)?Nn(a,n(),i):a,s=Re(o),u=new Ln(o,n(),i),c=$t(s,u.value.bind(u),o),d;return f;function f(p){return p===re.asterisk||re.underscore,d=p,e.enter("attentionSequence"),h(p)}function h(p){if(p===d)return e.consume(p),h;let m=e.exit("attentionSequence"),k=Re(In(p)?Rn(p,n(),i):p);let _=Je(c),A=_||ke(c),R=Je(k),N=R||ke(k),F=kt(c),M=!N||R&&(A||F)||r.includes(p),I=!A||_&&(N||Mt(k))||r.includes(o);return m._open=!!(d===re.asterisk?M:M&&(yr(c)||!I)),m._close=!!(d===re.asterisk?I:I&&(yr(k)||!M)),t(p)}}function gc(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}function bc(){return{text:{[re.asterisk]:xi,[re.underscore]:xi},insideSpan:{null:[xi]}}}function Ec(){let e=this.data();(e.micromarkExtensions||(e.micromarkExtensions=[])).push(bc())}var nT=";".codePointAt(0)??re.eof,iT="&".codePointAt(0)??re.eof;function yc(){return{handlers:{emphasis:Cc,strong:_c,text:aT}}}Cc.peek=Sc;_c.peek=Ic;function Cc(e,t,r,n){return wc(e,t,r,n,Sc(e,t,r),1)}function _c(e,t,r,n){return wc(e,t,r,n,Ic(e,t,r),2)}function Sc(e,t,r){return r.options.emphasis||"*"}function Ic(e,t,r){return r.options.strong||"*"}function wc(e,t,r,n,i,a){let o=i.repeat(a),s=r.enter(a===1?"emphasis":"strong"),u=r.createTracker(n),c=u.move(o),d=u.move(r.containerPhrasing(e,{after:i,before:c,...u.current()})),f=uT(e,t,r,n.before),h=lT(e,t,r,n.after),p=Tc(f,ki(d),i,"open");p.inside&&d&&(d=pT(d));let m=Tc({current:fo(d),previous:co(d)},h,i,"close");m.inside&&d&&(d=mT(d));let k=u.move(o);s();let _=m.outside&&hT(t,r);return r.attentionEncodeSurroundingInfo={after:m.outside&&!_,before:p.outside},r.cjkFriendlyEncodeAfterSupplementaryText=_,c+d+k}function aT(e,t,r,n){let i=r;if(!i.cjkFriendlyEncodeAfterSupplementaryText)return r.safe(e.value,n);i.cjkFriendlyEncodeAfterSupplementaryText=!1;let[a=""]=[...e.value],o=e.value.slice(a.length);return`${po(a.codePointAt(0)??re.eof)}${r.safe(o,{...n,before:";"})}`}function Tc(e,t,r,n){let i=ho(e),a=Re(t);if(!kt(i)&&!kt(a))return n==="open"?xc(i,a,r):xc(a,i,r);let o={inside:!1,outside:!1},s={inside:!0,outside:!1},u={inside:!1,outside:!0},c={inside:!0,outside:!0};for(let d of[o,s,u,c]){let f=n==="open"?d.outside?kc:e:d.inside?kc:e,h=n==="open"?d.inside?Ac:t:d.outside?Ac:t;if(n==="open"?oT(r,f,h):sT(r,f,h))return d}return c}function xc(e,t,r){return lo(e)?lo(t)?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:ke(t)?{inside:!0,outside:!0}:{inside:!1,outside:!0}:ke(e)?lo(t)?{inside:!1,outside:!1}:ke(t)?{inside:!0,outside:!0}:{inside:!1,outside:!1}:ke(t)?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function oT(e,t,r){let n=ho(t),{close:i,open:a}=Nc(n,Re(r));return e==="_"?a&&(yr(n)||!i):a}function sT(e,t,r){let n=Re(r),{close:i,open:a}=Nc(ho(t),n);return e==="_"?i&&(yr(n)||!a):i}function Nc(e,t){let r=Je(e),n=r||ke(e),i=Je(t),a=i||ke(t);return{open:!a||i&&(n||kt(e)),close:!n||r&&(a||Mt(t))}}function lo(e){return!ke(e)&&!Je(e)}function ho(e){let t=Re(e.current);return e.current===null||!Wt(t)?t:$t(t,()=>e.previous,e.current)}function uT(e,t,r,n){let i=fo(n),a=co(n);if(cT(i)||fT(i,a)){let o=Lc(e,t,r,-1);o&&(i=fo(o),a=co(o))}return{current:i,previous:a}}function lT(e,t,r,n){let i=ki(n);if(!dT(i))return i;let a=Lc(e,t,r,1);return a?ki(a):i}function cT(e){return e!==null&&56320<=e&&e<=57343}function dT(e){return e!==null&&55296<=e&&e<=56319}function fT(e,t){return Wt(Re(e))&&(t===null||t===re.eof)}function Lc(e,t,r,n){if(!t)return;let i=r.indexStack.at(-1),a=t.children,o=typeof i=="number"?i:a.indexOf(e);if(o<0)return;let s=a[o+n];return Rc(s)||void 0}function hT(e,t){if(!e)return!1;let r=t.indexStack.at(-1);if(typeof r!="number")return!1;let n=e.children[r+1];return n?.type==="text"&&(ki(n.value)??0)>65535}function Rc(e){return!e||typeof e!="object"?"":"value"in e&&typeof e.value=="string"?e.value:"alt"in e&&typeof e.alt=="string"?e.alt:"children"in e&&Array.isArray(e.children)?e.children.map(Rc).join(""):""}function po(e){return`&#x${(e??0).toString(16).toUpperCase()};`}function pT(e){let[t=""]=[...e];return po(t.codePointAt(0)??re.eof)+e.slice(t.length)}function mT(e){let t=[...e],r=t.pop();return`${t.join("")}${po(r?.codePointAt(0)??re.eof)}`}function co(e){let t=[...e];return t.pop(),t.at(-1)?.codePointAt(0)??re.eof}function ki(e){return e.codePointAt(0)??re.eof}function fo(e){return[...e].at(-1)?.codePointAt(0)??re.eof}var kc={current:nT,previous:re.eof},Ac=iT;function Oc(){let e=this.data();(e.toMarkdownExtensions||(e.toMarkdownExtensions=[])).push(yc())}function Dc(){Ec.call(this),Oc.call(this)}var Pc=Dc;At();Sr();function mo(e){let t=(e||{}).singleTilde,r={name:"strikethrough",tokenize:i,resolveAll:n};return t==null&&(t=!0),{text:{[re.tilde]:r},insideSpan:{null:[r]},attentionMarkers:{null:[re.tilde]}};function n(a,o){let s=-1;for(;++s<a.length;)if(a[s][0]==="enter"&&a[s][1].type==="strikethroughSequenceTemporary"&&a[s][1]._close){let u=s;for(;u--;)if(a[u][0]==="exit"&&a[u][1].type==="strikethroughSequenceTemporary"&&a[u][1]._open&&a[s][1].end.offset-a[s][1].start.offset===a[u][1].end.offset-a[u][1].start.offset){a[s][1].type="strikethroughSequence",a[u][1].type="strikethroughSequence";let c={type:"strikethrough",start:Object.assign({},a[u][1].start),end:Object.assign({},a[s][1].end)},d={type:"strikethroughText",start:Object.assign({},a[u][1].end),end:Object.assign({},a[s][1].start)},f=[["enter",c,o],["enter",a[u][1],o],["exit",a[u][1],o],["enter",d,o]],h=o.parser.constructs.insideSpan.null;h&&Ee(f,f.length,0,mt(h,a.slice(u+1,s),o)),Ee(f,f.length,0,[["exit",d,o],["enter",a[s][1],o],["exit",a[s][1],o],["exit",c,o]]),Ee(a,u-1,s-u+3,f),s=u+f.length-2;break}}for(s=-1;++s<a.length;)a[s][1].type==="strikethroughSequenceTemporary"&&(a[s][1].type=ht.data);return a}function i(a,o,s){let{now:u,sliceSerialize:c,previous:d}=this,f=wn(d)?Nn(d,u(),c):d,h=Re(f),p=new Ln(f,u(),c),m=$t(h,p.value.bind(p),f),k=this.events,_=0;return A;function A(N){return re.tilde,f===re.tilde&&k[k.length-1][1].type!==ht.characterEscape?s(N):(a.enter("strikethroughSequenceTemporary"),R(N))}function R(N){let F=Re(f);if(N===re.tilde)return _>1?s(N):(a.consume(N),_++,R);if(_<2&&!t)return s(N);let M=a.exit("strikethroughSequenceTemporary"),I=Re(In(N)?Rn(N,u(),c):N),V=Je(m)||ke(m),P=Je(I)||ke(I),G=Mt(m)||uo(F);return M._open=!P||I===Pt.attentionSideAfter&&(V||G),M._close=!V||F===Pt.attentionSideAfter&&(P||Mt(I)),o(N)}}}function Mc(e){let t=this.data();(t.micromarkExtensions||(t.micromarkExtensions=[])).push(mo(e))}var gT=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],bT=";".codePointAt(0)??re.eof,ET="&".codePointAt(0)??re.eof;function Uc(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:gT}],handlers:{delete:zc,text:TT}}}zc.peek=xT;function zc(e,t,r,n){let a=r.enter("strikethrough"),o=r.createTracker(n),s=o.move("~~"),u=o.move(r.containerPhrasing(e,{after:"~",before:s,...o.current()})),c=yT(e,t,r,n.before),d=CT(e,t,r,n.after),f=vc(c,Ai(u),"open");f.inside&&u&&(u=NT(u));let h=vc({current:Eo(u),previous:bo(u)},d,"close");h.inside&&u&&(u=LT(u));let p=o.move("~~");a();let m=h.outside&&wT(t,r);return r.attentionEncodeSurroundingInfo={after:h.outside&&!m,before:f.outside},r.cjkFriendlyEncodeAfterSupplementaryText=m,s+u+p}function TT(e,t,r,n){let i=r;if(!i.cjkFriendlyEncodeAfterSupplementaryText)return r.safe(e.value,n);i.cjkFriendlyEncodeAfterSupplementaryText=!1;let[a=""]=[...e.value],o=e.value.slice(a.length);return`${xo(a.codePointAt(0)??re.eof)}${r.safe(o,{...n,before:";"})}`}function xT(){return"~"}function vc(e,t,r){let n=To(e),i=Re(t);if(!kt(n)&&!kt(i))return r==="open"?Bc(n,i):Bc(i,n);let a={inside:!1,outside:!1},o={inside:!0,outside:!1},s={inside:!1,outside:!0},u={inside:!0,outside:!0};for(let c of[a,o,s,u]){let d=r==="open"?c.outside?Fc:e:c.inside?Fc:e,f=r==="open"?c.inside?Hc:t:c.outside?Hc:t;if(r==="open"?kT(d,f):AT(d,f))return c}return u}function Bc(e,t){return go(e)?go(t)?{inside:!1,outside:!1}:ke(t)?{inside:!0,outside:!0}:{inside:!1,outside:!0}:ke(e)?go(t)?{inside:!1,outside:!1}:ke(t)?{inside:!0,outside:!0}:{inside:!1,outside:!1}:ke(t)?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function kT(e,t){let{open:r}=jc(To(e),Re(t));return r}function AT(e,t){let r=Re(t),{close:n}=jc(To(e),r);return n}function jc(e,t){let r=Je(e),n=r||ke(e),i=Je(t),a=i||ke(t);return{open:!a||i&&(n||kt(e)),close:!n||r&&(a||Mt(t))}}function go(e){return!ke(e)&&!Je(e)}function To(e){let t=Re(e.current);return e.current===null||!Wt(t)?t:$t(t,()=>e.previous,e.current)}function yT(e,t,r,n){let i=Eo(n),a=bo(n);if(_T(i)||IT(i,a)){let o=qc(e,t,r,-1);o&&(i=Eo(o),a=bo(o))}return{current:i,previous:a}}function CT(e,t,r,n){let i=Ai(n);if(!ST(i))return i;let a=qc(e,t,r,1);return a?Ai(a):i}function _T(e){return e!==null&&56320<=e&&e<=57343}function ST(e){return e!==null&&55296<=e&&e<=56319}function IT(e,t){return Wt(Re(e))&&(t===null||t===re.eof)}function qc(e,t,r,n){if(!t)return;let i=r.indexStack.at(-1),a=t.children,o=typeof i=="number"?i:a.indexOf(e);if(o<0)return;let s=a[o+n];return Yc(s)||void 0}function wT(e,t){if(!e)return!1;let r=t.indexStack.at(-1);if(typeof r!="number")return!1;let n=e.children[r+1];return n?.type==="text"&&(Ai(n.value)??0)>65535}function Yc(e){return!e||typeof e!="object"?"":"value"in e&&typeof e.value=="string"?e.value:"alt"in e&&typeof e.alt=="string"?e.alt:"children"in e&&Array.isArray(e.children)?e.children.map(Yc).join(""):""}function xo(e){return`&#x${(e??0).toString(16).toUpperCase()};`}function NT(e){let[t=""]=[...e];return xo(t.codePointAt(0)??re.eof)+e.slice(t.length)}function LT(e){let t=[...e],r=t.pop();return`${t.join("")}${xo(r?.codePointAt(0)??re.eof)}`}function bo(e){let t=[...e];return t.pop(),t.at(-1)?.codePointAt(0)??re.eof}function Ai(e){return e.codePointAt(0)??re.eof}function Eo(e){return[...e].at(-1)?.codePointAt(0)??re.eof}var Fc={current:bT,previous:re.eof},Hc=ET;function Vc(){let e=this.data();(e.toMarkdownExtensions||(e.toMarkdownExtensions=[])).push(Uc())}function Gc(e){Mc.call(this,e),Vc.call(this)}var Wc=Gc;Nr();var BT=new Set(["\u3002","\uFF0E","\uFF0C","\u3001","\uFF1F","\uFF01","\uFF1A","\uFF1B","\uFF08","\uFF09","\u3010","\u3011","\u300C","\u300D","\u300E","\u300F","\u3008","\u3009","\u300A","\u300B"]),FT=/^(https?:\/\/|mailto:|www\.)/i,HT=e=>{if(e.children.length!==1)return!1;let t=e.children[0];return t.type==="text"&&t.value===e.url},UT=e=>{let t=0;for(let r of e){if(BT.has(r))return t;t+=r.length}return null},zT=(e,t)=>({...t,url:e,children:[{type:"text",value:e}]}),jT=e=>({type:"text",value:e}),qT=()=>e=>{ze(e,"link",(t,r,n)=>{if(!n||typeof r!="number"||!HT(t)||!FT.test(t.url))return;let i=UT(t.url);if(i===null||i===0)return;let a=t.url.slice(0,i),o=t.url.slice(i),s=zT(a,t),u=jT(o);return n.children.splice(r,1,s,u),r+1})};function YT(){let e=[Pc],t=[qT,Wc],r=[...e,...t];return{name:"cjk",type:"cjk",remarkPluginsBefore:e,remarkPluginsAfter:t,remarkPlugins:r}}var Zc=YT();Xa();import{jsx as Bw}from"react/jsx-runtime";var Pw={cjk:Zc},Mw={code:{copy:!0,download:!1}};function vw(...e){return e.filter(Boolean).join(" ")}function PF({content:e,className:t}){return Bw(ao,{className:vw("pi-desk-ui-markdown space-y-0",t),controls:Mw,lineNumbers:!1,plugins:Pw,children:e})}export{PF as PluginMarkdown};
|