1import{c as sr,O as ti,s as tt,aC as or,Z as Et,aD as lr,r as ht,j as x,C as qn,M as ss,a7 as ni,a9 as ri,U as cr,B as xe,L as an,e as en,a8 as os,au as ui,aE as De,Y as ls,v as cs,b6 as sn,b7 as ii,a5 as fs,b8 as hs,b4 as ds,u as ms,t as Ke,am as Hr,R as ps,d as Es,A as Ts}from"./index-C6--jTPa.js";import{B as Ur}from"./badge-BpH-XLTX.js";import{T as ai}from"./textarea-CMbBoEE6.js";import{R as gs}from"./reply-DodsINzI.js";import{T as bs}from"./trash-2-C35Irn9n.js";import _s from"./purify.es-BYftNTi7.js";import{C as As}from"./calendar-BwhCPqqo.js";import{C as xs}from"./clock-CNf17kMS.js";import{B as Cs}from"./bookmark-BVIbKBaF.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const Is=sr("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/** 7 * @license lucide-react v0.462.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const Ns=sr("ThumbsDown",[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}]]);/** 12 * @license lucide-react v0.462.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const Ss=sr("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]]),ks=e=>ti({queryKey:["blog-comments",e],queryFn:async()=>{const{data:t,error:n}=await tt.from("blog_comments").select("*").eq("post_id",e).order("created_at",{ascending:!0});if(n)throw n;const r=[...new Set(t.map(c=>c.user_id))],{data:u}=await tt.rpc("get_profiles_display_info",{_user_ids:r}),i=new Map((u==null?void 0:u.map(c=>[c.id,c]))||[]),a=t.map(c=>({...c,author:i.get(c.user_id)})),o=[],l=new Map;return a.forEach(c=>{l.set(c.id,{...c,replies:[]})}),a.forEach(c=>{const h=l.get(c.id);if(c.parent_id){const f=l.get(c.parent_id);f&&(f.replies=f.replies||[],f.replies.push(h))}else o.push(h)}),o},enabled:!!e}),si=()=>{const e=or(),{user:t}=Et();return lr({mutationFn:async({postId:n,content:r,parentId:u})=>
16{if(!t)throw new Error("Must be logged in to comment");const{data:i,error:a}=await tt.from("blog_comments").insert({post_id:n,user_id:t.id,content:r,parent_id:u||null}).select("*").single();if(a)throw a;return i},onSuccess:(n,r)=>{e.invalidateQueries({queryKey:["blog-comments",r.postId]})}})},ys=()=>{const e=or();return lr({mutationFn:async({id:t,postId:n})=>{const{error:r}=await tt.from("blog_comments").delete().eq("id",t);if(r)throw r},onSuccess:(t,n)=>{e.invalidateQueries({queryKey:["blog-comments",n.postId]})}})},Ls=e=>ti({queryKey:["blog-likes",e],queryFn:async()=>{const{data:t,error:n}=await tt.from("blog_likes").select("*").eq("post_id",e);if(n)throw n;return t},enabled:!!e}),Os=()=>{const e=or(),{user:t}=Et();return lr({mutationFn:async({postId:n,isLiked:r})=>{if(!t)throw new Error("Must be logged in to like");if(r){const{error:u}=await tt.from("blog_likes").delete().eq("post_id",n).eq("user_id",t.id);if(u)throw u}else{const{error:u}=await tt.from("blog_likes").insert({post_id:n,user_id:t.id});if(u)throw u}},onSuccess:(n,r)=>{e.invalidateQueries({queryKey:["blog-likes",r.postId]})}})},Re=2e3,oi=({comment:e,postId:t,depth:n=0})=>{var E,m;const{user:r}=Et(),[u,i]=ht.useState(!1),[a,o]=ht.useState(""),l=si(),c=ys(),h=async()=>{const b=a.trim();if(b){if(b.length>Re){De.error(`Replies are limited to ${Re} characters.`);return}if(!l.isPending)try{await l.mutateAsync({postId:t,content:b,parentId:e.id}),o(""),i(!1),De.success("Reply posted!")}catch{De.error("Failed to post reply")}}},f=async()=>{try{await c.mutateAsync({id:e.id,postId:t}),De.success("Comment deleted")}catch{De.error("Failed to delete comment")}};return x.jsxs("div",{className:`${n>0?"ml-8 border-l-2 border-border pl-4":""}`,children:[x.jsxs("div",{className:"flex gap-3 py-4",children:[x.jsxs(ni,{className:"h-10 w-10",children:[x.jsx(os,{src:((E=e.author)==null?void 0:E.avatar_url)||""}),x.jsx(ri,{children:x.jsx(cr,{className:"h-4 w-4"})})]}),x.jsxs("div",{className:"flex-1",children:[x.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[x.jsx("span",{className:"font-semibold text-sm",children:((m=e.author)==null?void 0:m.full_name)||"Anonymous"}),x.jsx("span",{className:"text-xs text-muted-foreground",children:ui(new Date(e.created_at),"MMM d, yyyy 'at' h:mm a")})]}),x.jsx("p",{className:"text-sm text-foreground/90 whitespace-pre-wrap",children:e.content}),x.jsxs("div",{className:"flex items-center gap-2 mt-2",children:[r&&n<2&&x.jsxs(xe,{variant:"ghost",size:"sm",onClick:()=>i(!u),className:"h-7 text-xs",children:[x.jsx(gs,{className:"h-3 w-3 mr-1"}),"Reply"]}),(r==null?void 0:r.id)===e.user_id&&x.jsxs(xe,{variant:"ghost",size:"sm",onClick:f,className:"h-7 text-xs text-destructive hover:text-destructive",disabled:c.isPending,children:[x.jsx(bs,{className:"h-3 w-3 mr-1"}),"Delete"]})]}),u&&x.jsxs("div",{className:"mt-3 space-y-2",children:[x.jsx(ai,{placeholder:"Write a reply...",value:a,onChange:b=>o(b.target.value),maxLength:Re,className:"min-h-[80px] text-sm"}),a.length>Re*.8&&x.jsxs("p",{className:"text-xs text-muted-foreground text-right",children:[a.length," / ",Re]}),x.jsxs("div",{className:"flex gap-2",children:[x.jsxs(xe,{size:"sm",onClick:h,disabled:l.isPending||!a.trim(),children:[l.isPending&&x.jsx(an,{className:"h-3 w-3 mr-1 animate-spin"}),"Reply"]}),x.jsx(xe,{variant:"ghost",size:"sm",onClick:()=>i(!1),children:"Cancel"})]})]})]})]}),e.replies&&e.replies.length>0&&x.jsx("div",{children:e.replies.map(b=>x.jsx(oi,{comment:b,postId:t,depth:n+1},b.id))})]})},Ds=({postId:e})=>{const{user:t}=Et(),{data:n,isLoading:r}=ks(e),u=si(),[i,a]=ht.useState(""),o=async()=>{const l=i.trim();if(l){if(l.length>Re){De.error(`Comments are limited to ${Re} characters.`);return}if(!u.isPending)try{await u.mutateAsync({postId:e,content:l}),a(""),De.success("Comment posted!")}catch{De.error("Failed to post comment")}}};return x.jsxs(qn,{className:"p-6",children:[x.jsxs("div",{className:"flex items-center gap-2 mb-6",children:[x.jsx(ss,{className:"h-5 w-5"}),x.jsxs("h3",{className:"text-lg font-semibold",children:["Comments ",n&&n.length>0&&`(${n.length})`]})]}),t?x.jsxs("div",{className:"mb-6 space-y-3",children:[x.jsxs("div",{className:"flex gap-3",children:[x.jsx(ni,{className:"h-10 w-10",children:x.jsx(ri,{children:x.jsx(cr,{className:"h-4 w-4"})})}),x.jsxs("div",{className:"flex-1",children:[x.jsx(ai,{placeholder:"Write a comment...",value:i,onChange:l=>a(l.target.value),maxLength:Re,className:"min-h-[100px]"}),i.length>Re*.8&&x.jsxs("p",{className:"text-xs text-muted-foreground text-right mt-1",children:[i.length," / ",Re]})]})]}),x.jsx("div",{className:"flex justify-end",children:x.jsxs(xe,{onClick:o,disabled:u.isPending||!i.trim(),children:[u.isPending&&x.jsx(an,{className:"h-4 w-4 mr-2 animate-spin"}),"Post Comment"]})})]}
16):x.jsx(qn,{className:"p-4 mb-6 bg-muted/50",children:x.jsxs("p",{className:"text-sm text-muted-foreground text-center",children:[x.jsx(en,{to:"/login",className:"text-primary hover:underline",children:"Sign in"})," to leave a comment"]})}),x.jsx("div",{className:"divide-y",children:r?x.jsx("div",{className:"flex items-center justify-center py-8",children:x.jsx(an,{className:"h-6 w-6 animate-spin text-muted-foreground"})}):n&&n.length>0?n.map(l=>x.jsx(oi,{comment:l,postId:e},l.id)):x.jsx("p",{className:"text-center text-muted-foreground py-8",children:"No comments yet. Be the first to comment!"})})]})},Rs=({postId:e})=>{const[t,n]=ht.useState(!1),[r,u]=ht.useState(null),{user:i}=Et(),a=async o=>{u(o),n(!0),fetch("https://.supabase.co/functions/v1/blog-seo?action=feedback",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({post_id:e,is_helpful:o,user_id:(i==null?void 0:i.id)||null})}).catch(()=>{})};return t?x.jsx("div",{className:"flex items-center justify-center gap-2 py-8 border-t border-b border-border",children:x.jsx("span",{className:"text-muted-foreground",children:r?"Glad you found it helpful! ð":"Thanks for your feedback. We'll improve! ðª"})}):x.jsxs("div",{className:"flex flex-col items-center gap-3 py-8 border-t border-b border-border",children:[x.jsx("p",{className:"text-sm font-medium text-muted-foreground",children:"Was this article helpful?"}),x.jsxs("div",{className:"flex gap-3",children:[x.jsxs(xe,{variant:"outline",size:"sm",onClick:()=>a(!0),className:"gap-2",children:[x.jsx(Ss,{className:"h-4 w-4"}),"Yes"]}),x.jsxs(xe,{variant:"outline",size:"sm",onClick:()=>a(!1),className:"gap-2",children:[x.jsx(Ns,{className:"h-4 w-4"}),"No"]})]})]})},Ps=({postId:e,variant:t="ghost",showCount:n=!0})=>{const{user:r}=Et(),u=ls(),{data:i,isLoading:a}=Ls(e),o=Os(),l=(i==null?void 0:i.some(f=>f.user_id===(r==null?void 0:r.id)))||!1,c=(i==null?void 0:i.length)||0,h=async()=>{if(!r){De.info("Please sign in to like posts"),u("/login");return}try{await o.mutateAsync({postId:e,isLiked:l})}catch{De.error("Failed to update like")}};return x.jsxs(xe,{variant:t,size:"sm",onClick:h,disabled:o.isPending||a,className:`gap-1.5 ${l?"text-red-500 hover:text-red-600":""}`,children:[o.isPending?x.jsx(an,{className:"h-4 w-4 animate-spin"}):x.jsx(cs,{className:`h-4 w-4 ${l?"fill-current":""}`}),n&&c>0&&x.jsx("span",{children:c})]})};function vr(e){const t=[],n=String(e||"");let r=n.indexOf(","),u=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const a=n.slice(u,r).trim();(a||!i)&&t.push(a),u=r+1,r=n.indexOf(",",u)}return t}function li(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const ws=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ms=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Bs={};function zr(e,t){return(Bs.jsx?Ms:ws).test(e)}const Fs=/[ \t\n\f\r]/g;function Hs(e){return typeof e=="object"?e.type==="text"?Yr(e.value):!1:Yr(e)}function Yr(e){return e.replace(Fs,"")===""}class Yt{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Yt.prototype.normal={};Yt.prototype.property={};Yt.prototype.space=void 0;function ci(e,t){const n={},r={};for(const u of e)Object.assign(n,u.property),Object.assign(r,u.normal);return new Yt(n,r,t)}function Ht(e){return e.toLowerCase()}class Ee{constructor(t,n){this.attribute=n,this.property=t}}Ee.prototype.attribute="";Ee.prototype.booleanish=!1;Ee.prototype.boolean=!1;Ee.prototype.commaOrSpaceSeparated=!1;Ee.prototype.commaSeparated=!1;Ee.prototype.defined=!1;Ee.prototype.mustUseProperty=!1;Ee.prototype.number=!1;Ee.prototype.overloadedBoolean=!1;Ee.prototype.property="";Ee.prototype.spaceSeparated=!1;Ee.prototype.space=void 0;let Us=0;const z=rt(),ue=rt(),Vn=rt(),D=rt(),Z=rt(),ft=rt(),ge=rt();function rt(){return 2**++Us}const Wn=Object.freeze(Object.defineProperty({__proto__:null,boolean:z,booleanish:ue,commaOrSpaceSeparated:ge,commaSeparated:ft,number:D,overloadedBoolean:Vn,spaceSeparated:Z},Symbol.toStringTag,{value:"Module"})),kn=Object.keys(Wn);
vendor: 4,252 bytes, line 16
16class fr extends Ee{constructor(t,n,r,u){let i=-1;if(super(t,n),jr(this,"space",u),typeof r=="number")for(;++i<kn.length;){const a=kn[i];jr(this,kn[i],(r&Wn[a])===Wn[a])}}}fr.prototype.defined=!0;function jr(e,t,n){n&&(e[t]=n)}function Tt(e){const t={},n={};for(const[r,u]of Object.entries(e.properties)){const i=new fr(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Ht(r)]=r,n[Ht(i.attribute)]=r}return new Yt(t,n,e.space)}const fi=Tt({properties:{ariaActiveDescendant:null,ariaAtomic:ue,ariaAutoComplete:null,ariaBusy:ue,ariaChecked:ue,ariaColCount:D,ariaColIndex:D,ariaColSpan:D,ariaControls:Z,ariaCurrent:null,ariaDescribedBy:Z,ariaDetails:null,ariaDisabled:ue,ariaDropEffect:Z,ariaErrorMessage:null,ariaExpanded:ue,ariaFlowTo:Z,ariaGrabbed:ue,ariaHasPopup:null,ariaHidden:ue,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Z,ariaLevel:D,ariaLive:null,ariaModal:ue,ariaMultiLine:ue,ariaMultiSelectable:ue,ariaOrientation:null,ariaOwns:Z,ariaPlaceholder:null,ariaPosInSet:D,ariaPressed:ue,ariaReadOnly:ue,ariaRelevant:null,ariaRequired:ue,ariaRoleDescription:Z,ariaRowCount:D,ariaRowIndex:D,ariaRowSpan:D,ariaSelected:ue,ariaSetSize:D,ariaSort:null,ariaValueMax:D,ariaValueMin:D,ariaValueNow:D,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function hi(e,t){return t in e?e[t]:t}function di(e,t){return hi(e,t.toLowerCase())}const vs=Tt({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ft,acceptCharset:Z,accessKey:Z,action:null,allow:null,allowFullScreen:z,allowPaymentRequest:z,allowUserMedia:z,alt:null,as:null,async:z,autoCapitalize:null,autoComplete:Z,autoFocus:z,autoPlay:z,blocking:Z,capture:null,charSet:null,checked:z,cite:null,className:Z,cols:D,colSpan:null,content:null,contentEditable:ue,controls:z,controlsList:Z,coords:D|ft,crossOrigin:null,data:null,dateTime:null,decoding:null,default:z,defer:z,dir:null,dirName:null,disabled:z,download:Vn,draggable:ue,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:z,formTarget:null,headers:Z,height:D,hidden:Vn,high:D,href:null,hrefLang:null,htmlFor:Z,httpEquiv:Z,id:null,imageSizes:null,imageSrcSet:null,inert:z,inputMode:null,integrity:null,is:null,isMap:z,itemId:null,itemProp:Z,itemRef:Z,itemScope:z,itemType:Z,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:z,low:D,manifest:null,max:null,maxLength:D,media:null,method:null,min:null,minLength:D,multiple:z,muted:z,name:null,nonce:null,noModule:z,noValidate:z,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:z,optimum:D,pattern:null,ping:Z,placeholder:null,playsInl
16ine:z,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:z,referrerPolicy:null,rel:Z,required:z,reversed:z,rows:D,rowSpan:D,sandbox:Z,scope:null,scoped:z,seamless:z,selected:z,shadowRootClonable:z,shadowRootDelegatesFocus:z,shadowRootMode:null,shape:null,size:D,sizes:null,slot:null,span:D,spellCheck:ue,src:null,srcDoc:null,srcLang:null,srcSet:null,start:D,step:null,style:null,tabIndex:D,target:null,title:null,translate:null,type:null,typeMustMatch:z,useMap:null,value:ue,width:D,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Z,axis:null,background:null,bgColor:null,border:D,borderColor:null,bottomMargin:D,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:z,declare:z,event:null,face:null,frame:null,frameBorder:null,hSpace:D,leftMargin:D,link:null,longDesc:null,lowSrc:null,marginHeight:D,marginWidth:D,noResize:z,noHref:z,noShade:z,noWrap:z,object:null,profile:null,prompt:null,rev:null,rightMargin:D,rules:null,scheme:null,scrolling:ue,standby:null,summary:null,text:null,topMargin:D,valueType:null,version:null,vAlign:null,vLink:null,vSpace:D,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:z,disableRemotePlayback:z,prefix:null,property:null,results:D,security:null,unselectable:null},space:"html",transform:di}),zs=Tt({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
16-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:ge,accentHeight:D,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:D,amplitude:D,arabicForm:null,ascent:D,attributeName:null,attributeType:null,azimuth:D,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:D,by:null,calcMode:null,capHeight:D,className:Z,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:D,diffuseConstant:D,direction:null,display:null,dur:null,divisor:D,dominantBaseline:null,download:z,dx:null,dy:null,edgeMode:null,editable:null,elevation:D,enableBackground:null,end:null,event:null,exponent:D,externalResourcesRequired:null,fill:null,fillOpacity:D,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:ft,g2:ft,glyphName:ft,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:D,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:D,horizOriginX:D,horizOriginY:D,id:null,ideographic:D,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:D,k:D,k1:D,k2:D,k3:D,k4:D,kernelMatrix:ge,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:D,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:D,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,on
vendor: 5,355 bytes, lines 16-17
16Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:D,overlineThickness:D,paintOrder:null,panose1:null,path:null,pathLength:D,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Z,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:D,pointsAtY:D,pointsAtZ:D,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ge,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ge,rev:ge,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ge,requiredFeatures:ge,requiredFonts:ge,requiredFormats:ge,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:D,specularExponent:D,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:D,strikethroughThickness:D,string:null,stroke:null,strokeDashArray:ge,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:D,strokeOpacity:D,strokeWidth:null,style:null,surfaceScale:D,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ge,tabIndex:D,tableValues:null,target:null,targetX:D,targetY:D,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ge,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:D,underlineThickness:D,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:D,values:null,vAlphabetic:D,vMathematical:D,vectorEffect:null,vHanging:D,vIdeographic:D,version:null,vertAdvY:D,vertOriginX:D,vertOriginY:D,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:D,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:hi}),mi=Tt({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()}}),pi=Tt({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:di}),Ei=Tt({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Ys={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"},js=/[A-Z]/g,qr=/-[a-z]/g,qs=/^data[-\w.:]+$/i;function mn(e,t){const n=Ht(t);let r=t,u=Ee;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&qs.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(qr,Ws);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!qr.test(i)){let a=i.replace(js,Vs);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}u=fr}return new u(r,t)}function Vs(e){return"-"+e.toLowerCase()}function Ws(e){return e.charAt(1).toUpperCase()}const jt=ci([fi,vs,mi,pi,Ei],"html"),We=ci([fi,zs,mi,pi,Ei],"svg");function Vr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ti(e){return e.join(" ").trim()}var hr={},Wr=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Qs=/\n/g,Gs=/^\s*/,Xs=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Ks=/^:\s*/,$s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Js=/^[;\s]*/,Zs=/^\s+|\s+$/g,eo=` 17`,Qr="/",Gr="*",Je="",to="comment",no="declaration";function ro(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function u(b){var N=b.match(Qs);N&&(n+=N.length);var R=b.lastIndexOf(eo);r=~R?b.length-R:r+b.length}function i(){var b={line:n,column:r};return function(N){return N.position=new a(b),c(),N}}function a(b){this.start=b,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function o(b){var N=new Error(t.source+":"+n+":"+r+": "+b);if(N.reason=b,N.filename=t.source,N.line=n,N.column=r,N.source=e,!t.silent)throw N}function l(b){var N=b.exec(e);if(N){var R=N[0];return u(R),e=e.slice(R.length),N}}function c(){l(Gs)}function h(b){var N;for(b=b||[];N=f();)N!==!1&&b.push(N);return b}function f(){var b=i();if(!(Qr!=e.charAt(0)||Gr!=e.charAt(1))){for(var N=2;Je!=e.charAt(N)&&(Gr!=e.charAt(N)||Qr!=e.charAt(N+1));)++N;if(N+=2,Je===e.charAt(N-1))return o("End of comment missing");var R=e.slice(2,N-2);return r+=2,u(R),e=e.slice(N),r+=2,b({type:to,comment:R})}}function E(){var b=i(),N=l(Xs);if(N){if(f(),!l(Ks))return o("property missing ':'");var R=l($s),I=b({type:no,property:Xr(N[0].replace(Wr,Je)),value:R?Xr(R[0].replace(Wr,Je)):Je});return l(Js),I}}function m(){var b=[];h(b);for(var N;N=E();)N!==!1&&(b.push(N),h(b));return b}return c(),m()}function Xr(e){return e?e.replace(Zs,Je):Je}var uo=ro,io=sn&&sn.__importDefault||function(e){return e&&e.__esMo
17dule?e:{default:e}};Object.defineProperty(hr,"__esModule",{value:!0});hr.default=so;const ao=io(uo);function so(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,ao.default)(e),u=typeof t=="function";return r.forEach(i=>{if(i.type!=="declaration")return;const{property:a,value:o}=i;u?t(a,o,i):o&&(n=n||{},n[a]=o)}),n}var pn={};Object.defineProperty(pn,"__esModule",{value:!0});pn.camelCase=void 0;var oo=/^--[a-zA-Z0-9_-]+$/,lo=/-([a-z])/g,co=/^[^-]+$/,fo=/^-(webkit|moz|ms|o|khtml)-/,ho=/^-(ms)-/,mo=function(e){return!e||co.test(e)||oo.test(e)},po=function(e,t){return t.toUpperCase()},Kr=function(e,t){return"".concat(t,"-")},Eo=function(e,t){return t===void 0&&(t={}),mo(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(ho,Kr):e=e.replace(fo,Kr),e.replace(lo,po))};pn.camelCase=Eo;var To=sn&&sn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},go=To(hr),bo=pn;function Qn(e,t){var n={};return!e||typeof e!="string"||(0,go.default)(e,function(r,u){r&&u&&(n[(0,bo.camelCase)(r,t)]=u)}),n}Qn.default=Qn;var _o=Qn;const Ao=ii(_o),En=gi("end"),Pe=gi("start");function gi(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function xo(e){const t=Pe(e),n=En(e);if(t&&n)return{start:t,end:n}}function Ot(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?$r(e.position):"start"in e||"end"in e?$r(e):"line"in e||"column"in e?Gn(e):""}function Gn(e){return Jr(e&&e.line)+":"+Jr(e&&e.column)}function $r(e){return Gn(e&&e.start)+"-"+Gn(e&&e.end)}function Jr(e){return e&&typeof e=="number"?e:1}class fe extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let u="",i={},a=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof t=="string"?u=t:!i.cause&&t&&(a=!0,u=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?i.ruleId=r:(i.source=r.slice(0,l),i.ruleId=r.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=u,this.line=o?o.line:void 0,this.name=Ot(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}fe.prototype.file="";fe.prototype.name="";fe.prototype.reason="";fe.prototype.message="";fe.prototype.stack="";fe.prototype.column=void 0;fe.prototype.line=void 0;fe.prototype.ancestors=void 0;fe.prototype.cause=void 0;fe.prototype.fatal=void 0;fe.prototype.place=void 0;fe.prototype.ruleId=void 0;fe.prototype.source=void 0;const dr={}.hasOwnProperty,Co=new Map,Io=/[A-Z]/g,No=new Set(["table","tbody","thead","tfoot","tr"]),So=new Set(["td","th"]),bi="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ko(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Mo(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 17,171 bytes, line 17
17if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=wo(n,t.jsx,t.jsxs)}const u={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?We:jt,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=_i(u,e,void 0);return i&&typeof i!="string"?i:u.create(e,u.Fragment,{children:i||void 0},void 0)}function _i(e,t,n){if(t.type==="element")return yo(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Lo(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Do(e,t,n);if(t.type==="mdxjsEsm")return Oo(e,t);if(t.type==="root")return Ro(e,t,n);if(t.type==="text")return Po(e,t)}function yo(e,t,n){const r=e.schema;let u=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(u=We,e.schema=u),e.ancestors.push(t);const i=xi(e,t.tagName,!1),a=Bo(e,t);let o=pr(e,t);return No.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!Hs(l):!0})),Ai(e,a,i,t),mr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function Lo(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Ut(e,t.position)}function Oo(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ut(e,t.position)}function Do(e,t,n){const r=e.schema;let u=r;t.name==="svg"&&r.space==="html"&&(u=We,e.schema=u),e.ancestors.push(t);const i=t.name===null?e.Fragment:xi(e,t.name,!0),a=Fo(e,t),o=pr(e,t);return Ai(e,a,i,t),mr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function Ro(e,t,n){const r={};return mr(r,pr(e,t)),e.create(t,e.Fragment,r,n)}function Po(e,t){return t.value}function Ai(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function mr(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function wo(e,t,n){return r;function r(u,i,a,o){const c=Array.isArray(a.children)?n:t;return o?c(i,a,o):c(i,a)}}function Mo(e,t){return n;function n(r,u,i,a){const o=Array.isArray(i.children),l=Pe(r);return t(u,i,a,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function Bo(e,t){const n={};let r,u;for(u in t.properties)if(u!=="children"&&dr.call(t.properties,u)){const i=Ho(e,u,t.properties[u]);if(i){const[a,o]=i;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&So.has(t.tagName)?r=o:n[a]=o}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Fo(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const a=i.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else Ut(e,t.position);else{const u=r.name;let i;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,i=e.evaluater.evaluateExpression(o.expression)}else Ut(e,t.position);else i=r.value===null?!0:r.value;n[u]=i}return n}function pr(e,t){const n=[];let r=-1;const u=e.passKeys?new Map:Co;for(;++r<t.children.length;){const i=t.children[r];let a;if(e.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const c=u.get(l)||0;a=l+"-"+c,u.set(l,c+1)}}const o=_i(e,i,a);o!==void 0&&n.push(o)}return n}function Ho(e,t,n){const r=mn(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?li(n):Ti(n)),r.property==="style"){let u=typeof n=="object"?n:Uo(e,String(n));return e.stylePropertyNameCase==="css"&&(u=vo(u)),["style",u]}return[e.elementAttributeNameCase==="react"&&r.space?Ys[r.property]||r.property:r.attribute,n]}}function Uo(e,t){try{return Ao(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,u=new fe("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=e.filePath||void 0,u.url=bi+"#cannot-parse-style-attribute",u}}function xi(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const u=t.split(".");let i=-1,a;for(;++i<u.length;){const o=zr(u[i])?{type:"Identifier",name:u[i]}:{type:"Literal",value:u[i]};a=a?{type:"MemberExpression",object:a,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}r=a}else r=zr(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const u=r.value;return dr.call(e.components,u)?e.components[u]:u}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ut(e)}function Ut(e,t){const n=new fe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=bi+"#cannot-handle-mdx-estrees-without-createevaluater",n}function vo(e){const t={};let n;for(n in e)dr.call(e,n)&&(t[zo(n)]=e[n]);return t}function zo(e){let t=e.replace(Io,Yo);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Yo(e){return"-"+e.toLowerCase()}const yn={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"]},jo={};function Er(e,t){const n=jo,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Ci(e,r,u)}function Ci(e,t,n){if(qo(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Zr(e.children,t,n)}return Array.isArray(e)?Zr(e,t,n):""}function Zr(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=Ci(e[u],t,n);return r.join("")}function qo(e){return!!(e&&typeof e=="object")}const eu=document.createElement("i");function Tr(e){const t="&"+e+";";eu.innerHTML=t;const n=eu.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function be(e,t,n,r){const u=e.length;let i=0,a;if(t<0?t=-t>u?0:u+t:t=t>u?u:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i<r.length;)a=r.slice(i,i+1e4),a.unshift(t,0),e.splice(...a),i+=1e4,t+=1e4}function _e(e,t){return e.length>0?(be(e,e.length,0,t),e):t}const tu={}.hasOwnProperty;function Ii(e){const t={};let n=-1;for(;++n<e.length;)Vo(t,e[n]);return t}function Vo(e,t){let n;for(n in t){const u=(tu.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){tu.call(u,a)||(u[a]=[]);const o=i[a];Wo(u[a],Array.isArray(o)?o:o?[o]:[])}}}function Wo(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);be(e,0,0,r)}function Ni(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function ke(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const de=Qe(/[A-Za-z]/),ce=Qe(/[\dA-Za-z]/),Qo=Qe(/[#-'*+\--9=?A-Z^-~]/);function on(e){return e!==null&&(e<32||e===127)}const Xn=Qe(/\d/),Go=Qe(/[\dA-Fa-f]/),Xo=Qe(/[!-/:-@[-`{-~]/);function H(e){return e!==null&&e<-2}function J(e){return e!==null&&(e<0||e===32)}function q(e){return e===-2||e===-1||e===32}const Tn=Qe(new RegExp("\\p{P}|\\p{S}","u")),nt=Qe(/\s/);function Qe(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function gt(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&ce(e.charCodeAt(n+1))&&ce(e.charCodeAt(n+2)))u=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const o=e.charCodeAt(n+1);i<56320&&o>56319&&o<57344?(a=String.fromCharCode(i,o),u=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+u+1,a=""),u&&(n+=u,u=0)}return t.join("")+e.slice(r)}function W(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(l){return q(l)?(e.enter(n),o(l)):t(l)}function o(l){return q(l)&&i++<u?(e.consume(l),o):(e.exit(n),t(l))}}const Ko={tokenize:$o};function $o(e){const t=e.attempt(this.parser.constructs.contentInitial,r,u);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),W(e,t,"linePrefix")}function u(o){return e.enter("paragraph"),i(o)}function i(o){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(o)}function a(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return H(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),a)}}const Jo={tokenize:Zo},nu={tokenize:el};function Zo(e){const t=this,n=[];let r=0,u,i,a;return o;function o(P){if(r<n.length){const v=n[r];return t.containerState=v[1],e.attempt(v[0].continuation,l,c)(P)}return c(P)}function l(P){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,u&&w();const v=t.events.length;let Y=v,y;for(;Y--;)if(t.events[Y][0]==="exit"&&t.events[Y][1].type==="chunkFlow"){y=t.events[Y][1].end;break}I(r);let Q=v;for(;Q<t.events.length;)t.events[Q][1].end={...y},Q++;return be(t.events,Y+1,0,t.events.slice(v)),t.events.length=Q,c(P)}return o(P)}function c(P){if(r===n.length){if(!u)return E(P);if(u.currentConstruct&&u.currentConstruct.concrete)return b(P);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(nu,h,f)(P)}function h(P){return u&&w(),I(r),E(P)}function f(P){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,b(P)}function E(P){return t.containerState={},e.attempt(nu,m,b)(P)}function m(P){return r++,n.push([t.currentConstruct,t.containerState]),E(P)}function b(P){if(P===null){u&&w(),I(0),e.consume(P);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:u,contentType:"flow",previous:i}),N(P)}function N(P){if(P===null){R(e.exit("chunkFlow"),!0),I(0),e.consume(P);return}return H(P)?(e.consume(P),R(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(P),N)}function R(P,v){const Y=t.sliceStream(P);if(v&&Y.push(null),P.previous=i,i&&(i.next=P),i=P,u.defineSkip(P.start),u.write(Y),t.parser.lazy[P.start.line]){let y=u.events.length;for(;y--;)if(u.events[y][1].start.offset<a&&(!u.events[y][1].end||u.events[y][1].end.offset>a))return;const Q=t.events.length;let ee=Q,X,S;for(;ee--;)if(t.events[ee][0]==="exit"&&t.events[ee][1].type==="chunkFlow"){if(X){S=t.events[ee][1].end;break}X=!0}for(I(r),y=Q;y<t.events.length;)t.events[y][1].end={...S},y++;be(t.events,ee+1,0,t.events.slice(Q)),t.events.length=y}}function I(P){let v=n.length;for(;v-- >P;){const Y=n[v];t.containerState=Y[1],Y[0].exit.call(t,e)}n.length=P}function w(){u.write([null]),i=void 0,u=void 0,t.containerState._closeFlow=void 0}}function el(e,t,n){return W(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function dt(e){if(e===null||J(e)||nt(e))return 1;if(Tn(e))return 2}function gn(e,t,n){const r=[];let u=-1;for(;++u<e.length;){const i=e[u].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const Kn={name:"attention",resolveAll:tl,tokenize:nl};function tl(e,t){let n=-1,r,u,i,a,o,l,c,h;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},E={...e[n][1].start};ru(f,-l),ru(E,l),a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:E},i={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},u={type:l>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[r][1].end={...a.start},e[n][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=_e(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=_e(c,[["enter",u,t],["enter",a,t],["exit",a,t],["enter",i,t]]),c=_e(c,gn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=_e(c,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",u,t]]),e[n][1].end.offset-e[n][1].start.offset?(h=2,c=_e(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):h=0,be(e,r-1,n-r+3,c),n=r+c.length-h-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function nl(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,u=dt(r);let i;return a;function a(l){return i=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===i)return e.consume(l),o;const c=e.exit("attentionSequence"),h=dt(l),f=!h||h===2&&u||n.includes(l),E=!u||u===2&&h||n.includes(r);return c._open=!!(i===42?f:f&&(u||!E)),c._close=!!(i===42?E:E&&(h||!f)),t(l)}}function ru(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const rl={name:"autolink",tokenize:ul};function ul(e,t,n){let r=0;return u;function u(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(m){return de(m)?(e.consume(m),a):m===64?n(m):c(m)}function a(m){return m===43||m===45||m===46||ce(m)?(r=1,o(m)):c(m)}function o(m){return m===58?(e.consume(m),r=0,l):(m===43||m===45||m===46||ce(m))&&r++<32?(e.consume(m),o):(r=0,c(m))}function l(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||on(m)?n(m):(e.consume(m),l)}function c(m){return m===64?(e.consume(m),h):Qo(m)?(e.consume(m),c):n(m)}function h(m){return ce(m)?f(m):n(m)}function f(m){return m===46?(e.consume(m),r=0,h):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):E(m)}function E(m){if((m===45||ce(m))&&r++<63){const b=m===45?E:f;return e.consume(m),b}return n(m)}}const qt={partial:!0,tokenize:il};function il(e,t,n){return r;function r(i){return q(i)?W(e,u,"linePrefix")(i):u(i)}function u(i){return i===null||H(i)?t(i):n(i)}}const Si={continuation:{tokenize:sl},exit:ol,name:"blockQuote",tokenize:al};function al(e,t,n){const r=this;return u;function u(a){if(a===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),i}return n(a)}function i(a){return q(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function sl(e,t,n){const r=this;return u;function u(a){return q(a)?W(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(Si,t,n)(a)}}function ol(e){e.exit("blockQuote")}const ki={name:"characterEscape",tokenize:ll};function ll(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),u}function u(i){return Xo(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const yi={name:"characterReference",tokenize:cl};function cl(e,t,n){const r=this;let u=0,i,a;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,a=ce,h(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=Go,h):(e.enter("characterReferenceValue"),i=7,a=Xn,h(f))}function h(f){if(f===59&&u){const E=e.exit("characterReferenceValue");return a===ce&&!Tr(r.sliceSerialize(E))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(f)&&u++<i?(e.consume(f),h):n(f)}}const uu={partial:!0,tokenize:hl},iu={concrete:!0,name:"codeFenced",tokenize:fl};function fl(e,t,n){const r=this,u={partial:!0,tokenize:Y};let i=0,a=0,o;return l;function l(y){return c(y)}function c(y){const Q=r.events[r.events.length-1];return i=Q&&Q[1].type==="linePrefix"?Q[2].sliceSerialize(Q[1],!0).length:0,o=y,e.enter("co
17deFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(y)}function h(y){return y===o?(a++,e.consume(y),h):a<3?n(y):(e.exit("codeFencedFenceSequence"),q(y)?W(e,f,"whitespace")(y):f(y))}function f(y){return y===null||H(y)?(e.exit("codeFencedFence"),r.interrupt?t(y):e.check(uu,N,v)(y)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),E(y))}function E(y){return y===null||H(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(y)):q(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),W(e,m,"whitespace")(y)):y===96&&y===o?n(y):(e.consume(y),E)}function m(y){return y===null||H(y)?f(y):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(y))}function b(y){return y===null||H(y)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(y)):y===96&&y===o?n(y):(e.consume(y),b)}function N(y){return e.attempt(u,v,R)(y)}function R(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),I}function I(y){return i>0&&q(y)?W(e,w,"linePrefix",i+1)(y):w(y)}function w(y){return y===null||H(y)?e.check(uu,N,v)(y):(e.enter("codeFlowValue"),P(y))}function P(y){return y===null||H(y)?(e.exit("codeFlowValue"),w(y)):(e.consume(y),P)}function v(y){return e.exit("codeFenced"),t(y)}function Y(y,Q,ee){let X=0;return S;function S(G){return y.enter("lineEnding"),y.consume(G),y.exit("lineEnding"),B}function B(G){return y.enter("codeFencedFence"),q(G)?W(y,F,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(G):F(G)}function F(G){return G===o?(y.enter("codeFencedFenceSequence"),K(G)):ee(G)}function K(G){return G===o?(X++,y.consume(G),K):X>=a?(y.exit("codeFencedFenceSequence"),q(G)?W(y,ne,"whitespace")(G):ne(G)):ee(G)}function ne(G){return G===null||H(G)?(y.exit("codeFencedFence"),Q(G)):ee(G)}}}function hl(e,t,n){const r=this;return u;function u(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const Ln={name:"codeIndented",tokenize:ml},dl={partial:!0,tokenize:pl};function ml(e,t,n){const r=this;return u;function u(c){return e.enter("codeIndented"),W(e,i,"linePrefix",5)(c)}function i(c){const h=r.events[r.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):H(c)?e.attempt(dl,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||H(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function pl(e,t,n){const r=this;return u;function u(a){return r.parser.lazy[r.now().line]?n(a):H(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):W(e,i,"linePrefix",5)(a)}function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):H(a)?u(a):n(a)}}const El={name:"codeText",previous:gl,resolve:Tl,tokenize:bl};function Tl(e){let t=e.length-4,n=3,r,u;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)u===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(u=r):(r===t||e[r][1].type==="lineEnding")&&(e[u][1].type="codeTextData",r!==u+2&&(e[u][1].end=e[r-1][1].end,e.splice(u+2,r-u-2),t-=r-u-2,r=u+2),u=void 0);return e}function gl(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function bl(e,t,n){let r=0,u,i;return a;function a(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),r++,o):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(i=e.enter("codeTextSequence"),u=0,h(f)):H(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||H(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),c)}function h(f){return f===96?(e.consume(f),u++,h):u===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(i.type="codeTextData",c(f))}}class _l{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const u=n||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return r&&Nt(this.left,r),i.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),Nt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Nt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Nt(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Nt(this.left,n.reverse())}}}function Nt(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Li(e){const t={};let n=-1,r,u,i,a,o,l,c;const h=new _l(e);for(;++n<h.length;){for(;n in t;)n=t[n];if(r=h.get(n),n&&r[1].type==="chunkFlow"&&h.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Al(h,n)),n=t[n],c=!0);else if(r[1]._container){for(i=n,u=void 0;i--;)if(a=h.get(i),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank")a[0]==="enter"&&(u&&(h.get(u)[1].type="lineEndingBlank"),a[1].type="lineEnding",u=i);else if(!(a[1].type==="linePrefix"||a[1].type==="listItemIndent"))break;u&&(r[1].end={...h.get(u)[1].start},o=h.slice(u,n),o.unshift(r),h.splice(u,n-u+1,o))}}return be(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!c}function Al(e,t){const n=e.get(t)[1],r=e.get(t)[2];let u=t-1;const i=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const o=a.events,l=[],c={};let h,f,E=-1,m=n,b=0,N=0;const R=[N];for(;m;){for(;e.get(++u)[1]!==m;);i.push(u),m._tokenizer||(h=r.sliceStream(m),m.next||h.push(null),f&&a.defineSki
vendor: 109,464 bytes, lines 17-44
17p(m.start),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(h),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=n;++E<o.length;)o[E][0]==="exit"&&o[E-1][0]==="enter"&&o[E][1].type===o[E-1][1].type&&o[E][1].start.line!==o[E][1].end.line&&(N=E+1,R.push(N),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(a.events=[],m?(m._tokenizer=void 0,m.previous=void 0):R.pop(),E=R.length;E--;){const I=o.slice(R[E],R[E+1]),w=i.pop();l.push([w,w+I.length-1]),e.splice(w,2,I)}for(l.reverse(),E=-1;++E<l.length;)c[b+l[E][0]]=b+l[E][1],b+=l[E][1]-l[E][0]-1;return c}const xl={resolve:Il,tokenize:Nl},Cl={partial:!0,tokenize:Sl};function Il(e){return Li(e),e}function Nl(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),u(o)}function u(o){return o===null?i(o):H(o)?e.check(Cl,a,i)(o):(e.consume(o),u)}function i(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function a(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,u}}function Sl(e,t,n){const r=this;return u;function u(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),W(e,i,"linePrefix")}function i(a){if(a===null||H(a))return n(a);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function Oi(e,t,n,r,u,i,a,o,l){const c=l||Number.POSITIVE_INFINITY;let h=0;return f;function f(I){return I===60?(e.enter(r),e.enter(u),e.enter(i),e.consume(I),e.exit(i),E):I===null||I===32||I===41||on(I)?n(I):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),N(I))}function E(I){return I===62?(e.enter(i),e.consume(I),e.exit(i),e.exit(u),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),m(I))}function m(I){return I===62?(e.exit("chunkString"),e.exit(o),E(I)):I===null||I===60||H(I)?n(I):(e.consume(I),I===92?b:m)}function b(I){return I===60||I===62||I===92?(e.consume(I),m):m(I)}function N(I){return!h&&(I===null||I===41||J(I))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(I)):h<c&&I===40?(e.consume(I),h++,N):I===41?(e.consume(I),h--,N):I===null||I===32||I===40||on(I)?n(I):(e.consume(I),I===92?R:N)}function R(I){return I===40||I===41||I===92?(e.consume(I),N):N(I)}}function Di(e,t,n,r,u,i){const a=this;let o=0,l;return c;function c(m){return e.enter(r),e.enter(u),e.consume(m),e.exit(u),e.enter(i),h}function h(m){return o>999||m===null||m===91||m===93&&!l||m===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(m):m===93?(e.exit(i),e.enter(u),e.consume(m),e.exit(u),e.exit(r),t):H(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||H(m)||o++>999?(e.exit("chunkString"),h(m)):(e.consume(m),l||(l=!q(m)),m===92?E:f)}function E(m){return m===91||m===92||m===93?(e.consume(m),o++,f):f(m)}}function Ri(e,t,n,r,u,i){let a;return o;function o(E){return E===34||E===39||E===40?(e.enter(r),e.enter(u),e.consume(E),e.exit(u),a=E===40?41:E,l):n(E)}function l(E){return E===a?(e.enter(u),e.consume(E),e.exit(u),e.exit(r),t):(e.enter(i),c(E))}function c(E){return E===a?(e.exit(i),l(a)):E===null?n(E):H(E)?(e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),W(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(E))}function h(E){return E===a||E===null||H(E)?(e.exit("chunkString"),c(E)):(e.consume(E),E===92?f:h)}function f(E){return E===a||E===92?(e.consume(E),h):h(E)}}function Dt(e,t){let n;return r;function r(u){return H(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):q(u)?W(e,r,n?"linePrefix":"lineSuffix")(u):t(u)}}const kl={name:"definition",tokenize:Ll},yl={partial:!0,tokenize:Ol};function Ll(e,t,n){const r=this;let u;return i;function i(m){return e.enter("definition"),a(m)}function a(m){return Di.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function o(m){return u=ke(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):n(m)}function l(m){return J(m)?Dt(e,c)(m):c(m)}function c(m){return Oi(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function h(m){return e.attempt(yl,f,f)(m)}function f(m){return q(m)?W(e,E,"whitespace")(m):E(m)}function E(m){return m===null||H(m)?(e.exit("definition"),r.parser.defined.push(u),t(m)):n(m)}}function Ol(e,t,n){return r;function r(o){return J(o)?Dt(e,u)(o):n(o)}function u(o){return Ri(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return q(o)?W(e,a,"whitespace")(o):a(o)}function a(o){return o===null||H(o)?t(o):n(o)}}const Dl={name:"hardBreakEscape",tokenize:Rl};function Rl(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),u}function u(i){return H(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const Pl={name:"headingAtx",resolve:wl,tokenize:Ml};function wl(e,t){let n=e.length-2,r=3,u,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(u={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},be(e,r,n-r+1,[["enter",u,t],["enter",i,t],["exit",i,t],["exit",u,t]])),e}function Ml(e,t,n){let r=0;return u;function u(h){return e.enter("atxHeading"),i(h)}function i(h){return e.enter("atxHeadingSequence"),a(h)}function a(h){return h===35&&r++<6?(e.consume(h),a):h===null||J(h)?(e.exit("atxHeadingSequence"),o(h)):n(h)}function o(h){return h===35?(e.enter("atxHeadingSequence"),l(h)):h===null||H(h)?(e.exit("atxHeading"),t(h)):q(h)?W(e,o,"whitespace")(h):(e.enter("atxHeadingText"),c(h))}function l(h){return h===35?(e.consume(h),l):(e.exit("atxHeadingSequence"),o(h))}function c(h){return h===null||h===35||J(h)?(e.exit("atxHeadingText"),o(h)):(e.consume(h),c)}}const Bl=["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"],au=["pre","script","style","textarea"],Fl={concrete:!0,name:"htmlFlow",resolveTo:vl,tokenize:zl},Hl={partial:!0,tokenize:jl},Ul={partial:!0,tokenize:Yl};function vl(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 zl(e,t,n){const r=this;let u,i,a,o,l;return c;function c(_){return h(_)}function h(_){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(_),f}function f(_){return _===33?(e.consume(_),E):_===47?(e.consume(_),i=!0,N):_===63?(e.consume(_),u=3,r.interrupt?t:g):de(_)?(e.consume(_),a=String.fromCharCode(_),R):n(_)}function E(_){return _===45?(e.consume(_),u=2,m):_===91?(e.consume(_),u=5,o=0,b):de(_)?(e.consume(_),u=4,r.interrupt?t:g):n(_)}function m(_){return _===45?(e.consume(_),r.interrupt?t:g):n(_)}function b(_){const Ne="CDATA[";return _===Ne.charCodeAt(o++)?(e.consume(_),o===Ne.length?r.interrupt?t:F:b):n(_)}function N(_){return de(_)?(e.consume(_),a=String.fromCharCode(_),R):n(_)}function R(_){if(_===null||_===47||_===62||J(_)){const Ne=_===47,Ge=a.toLowerCase();return!Ne&&!i&&au.includes(Ge)?(u=1,r.interrupt?t(_):F(_)):Bl.includes(a.toLowerCase())?(u=6,Ne?(e.consume(_),I):r.interrupt?t(_):F(_)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(_):i?w(_):P(_))}return _===45||ce(_)?(e.consume(_),a+=String.fromCharCode(_),R):n(_)}function I(_){return _===62?(e.consume(_),r.interrupt?t:F):n(_)}function w(_){return q(_)?(e.consume(_),w):S(_)}function P(_){return _===47?(e.consume(_),S):_===58||_===95||de(_)?(e.consume(_),v):q(_)?(e.consume(_),P):S(_)}function v(_){return _===45||_===46||_===58||_===95||ce(_)?(e.consume(_),v):Y(_)}function Y(_){return _===61?(e.consume(_),y):q(_)?(e.consume(_),Y):P(_)}function y(_){return _===null||_===60||_===61||_===62||_===96?n(_):_===34||_===39?(e.consume(_),l=_,Q):q(_)?(e.consume(_),y):ee(_)}function Q(_){return _===l?(e.consume(_),l=null,X):_===null||H(_)?n(_):(e.consume(_),Q)}function ee(_){return _===null||_===34||_===39||_===47||_===60||_===61||_===62||_===96||J(_)?Y(_):(e.consume(_),ee)}function X(_){return _===47||_===62||q(_)?P(_):n(_)}function S(_){return _===62?(e.consume(_),B):n(_)}function B(_){return _===null||H(_)?F(_):q(_)?(e.consume(_),B):n(_)}function F(_){return _===45&&u===2?(e.consume(_),le):_===60&&u===1?(e.consume(_),se):_===62&&u===4?(e.consume(_),Ie):_===63&&u===3?(e.consume(_),g):_===93&&u===5?(e.consume(_),Me):H(_)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(Hl,Be,K)(_)):_===null||H(_)?(e.exit("htmlFlowData"),K(_)):(e.consume(_),F)}function K(_){return e.check(Ul,ne,Be)(_)}function ne(_){return e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),G}function G(_){return _===null||H(_)?K(_):(e.enter("htmlFlowData"),F(_))}function le(_){return _===45?(e.consume(_),g):F(_)}function se(_){return _===47?(e.consume(_),a="",Ce):F(_)}function Ce(_){if(_===62){const Ne=a.toLowerCase();return au.includes(Ne)?(e.consume(_),Ie):F(_)}return de(_)&&a.length<8?(e.consume(_),a+=String.fromCharCode(_),Ce):F(_)}function Me(_){return _===93?(e.consume(_),g):F(_)}function g(_){return _===62?(e.consume(_),Ie):_===45&&u===2?(e.consume(_),g):F(_)}function Ie(_){return _===null||H(_)?(e.exit("htmlFlowData"),Be(_)):(e.consume(_),Ie)}function Be(_){return e.exit("htmlFlow"),t(_)}}function Yl(e,t,n){const r=this;return u;function u(a){return H(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):n(a)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function jl(e,t,n){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt(qt,t,n)}}const ql={name:"htmlText",tokenize:Vl};function Vl(e,t,n){const r=this;let u,i,a;return o;function o(g){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(g),l}function l(g){return g===33?(e.consume(g),c):g===47?(e.consume(g),Y):g===63?(e.consume(g),P):de(g)?(e.consume(g),ee):n(g)}function c(g){return g===45?(e.consume(g),h):g===91?(e.consume(g),i=0,b):de(g)?(e.consume(g),w):n(g)}function h(g){return g===45?(e.consume(g),m):n(g)}function f(g){return g===null?n(g):g===45?(e.consume(g),E):H(g)?(a=f,se(g)):(e.consume(g),f)}function E(g){return g===45?(e.consume(g),m):f(g)}function m(g){return g===62?le(g):g===45?E(g):f(g)}function b(g){const Ie="CDATA[";return g===Ie.charCodeAt(i++)?(e.consume(g),i===Ie.length?N:b):n(g)}function N(g){return g===null?n(g):g===93?(e.consume(g),R):H(g)?(a=N,se(g)):(e.consume(g),N)}function R(g){return g===93?(e.consume(g),I):N(g)}function I(g){return g===62?le(g):g===93?(e.consume(g),I):N(g)}function w(g){return g===null||g===62?le(g):H(g)?(a=w,se(g)):(e.consume(g),w)}function P(g){return g===null?n(g):g===63?(e.consume(g),v):H(g)?(a=P,se(g)):(e.consume(g),P)}function v(g){return g===62?le(g):P(g)}function Y(g){return de(g)?(e.consume(g),y):n(g)}function y(g){return g===45||ce(g)?(e.consume(g),y):Q(g)}function Q(g){return H(g)?(a=Q,se(g)):q(g)?(e.consume(g),Q):le(g)}function ee(g){return g===45||ce(g)?(e.consume(g),ee):g===47||g===62||J(g)?X(g):n(g)}function X(g){return g===47?(e.consume(g),le):g===58||g===95||de(g)?(e.consume(g),S):H(g)?(a=X,se(g)):q(g)?(e.consume(g),X):le(g)}function S(g){return g===45||g===46||g===58||g===95||ce(g)?(e.consume(g),S):B(g)}function B(g){return g===61?(e.consume(g),F):H(g)?(a=B,se(g)):q(g)?(e.consume(g),B):X(g)}function F(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),u=g,K):H(g)?(a=F,se(g)):q(g)?(e.consume(g),F):(e.consume(g),ne)}function K(g){return g===u?(e.consume(g),u=void 0,G):g===null?n(g):H(g)?(a=K,se(g)):(e.consume(g),K)}function ne(g){return g===null||g===34||g===39||g===60||g===61||g===96?n(g):g===47||g===62||J(g)?X(g):(e.consume(g),ne)}function G(g){return g===47||g===62||J(g)?X(g):n(g)}function le(g){return g===62?(e.consume(g),e.exit("htmlTextData"),e.exit("htmlText"),t):n(g)}function se(g){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),Ce}function Ce(g){return q(g)?W(e,Me,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):Me(g)}function Me(g){return e.enter("htmlTextData"),a(g)}}const gr={name:"labelEnd",resolveAll:Xl,resolveTo:Kl,tokenize:$l},Wl={tokenize:Jl},Ql={tokenize:Zl},Gl={tokenize:ec};function Xl(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const u=r.type==="labelImage"?4:2;r.type="data",t+=u}}return e.length!==n.length&&be(e,0,e.length,n),e}function Kl(e,t){let n=e.length,r=0,u,i,a,o;for(;n--;)if(u=e[n][1],i){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;e[n][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(i=n,u.type!=="labelLink")){r=2;break}}else u.type==="labelEnd"&&(a=n);const l={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[i][1].start},end:{...e[a][1].end}},h={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[a-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=_e(o,e.slice(i+1,i+r+3)),o=_e(o,[["enter",h,t]]),o=_e(o,gn(t.parser.constructs.insideSpan.null,e.slice(i+r+4,a-3),t)),o=_e(o,[["exit",h,t],e[a-2],e[a-1],["exit",c,t]]),o=_e(o,e.slice(a+1)),o=_e(o,[["exit",l,t]]),be(e,i,e.length,o),e}function $l(e,t,n){const r=this;let u=r.events.length,i,a;for(;u--;)if((r.events[u][1].type==="labelImage"||r.events[u][1].type==="labelLink")&&!r.events[u][1]._balanced){i=r.events[u][1];break}return o;function o(E){return i?i._inactive?f(E):(a=r.parser.defined.includes(ke(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(E),e.exit("labelMarker"),e.exit("labelEnd"),l):n(E)}function l(E){return E===40?e.attempt(Wl,h,a?h:f)(E):E===91?e.attempt(Ql,h,a?c:f)(E):a?h(E):f(E)}function c(E){return e.attempt(Gl,h,f)(E)}function h(E){return t(E)}function f(E){return i._balanced=!0,n(E)}}function Jl(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),u}function u(f){return J(f)?Dt(e,i)(f):i(f)}function i(f){return f===41?h(f):Oi(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return J(f)?Dt(e,l)(f):h(f)}function o(f){return n(f)}function l(f){return f===34||f===39||f===40?Ri(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function c(f){return J(f)?Dt(e,h)(f):h(f)}function h(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function Zl(e,t,n){const r=this;return u;function u(o){return Di.call(r,e,i,a,"reference","referenceMarker","referenceString")(o)}function i(o){return r.parser.defined.includes(ke(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function a(o){return n(o)}}function ec(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),u}function u(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const tc={name:"labelStartImage",resolveAll:gr.resolveAll,tokenize:nc};function nc(e,t,n){const r=this;return u;function u(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),i}function i(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),a):n(o)}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const rc={name:"labelStartLink",resolveAll:gr.resolveAll,tokenize:uc};function uc(e,t,n){const r=this;return u;function u(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),i}function i(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const On={name:"lineEnding",tokenize:ic};function ic(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),W(e,t,"linePrefix")}}const tn={name:"thematicBreak",tokenize:ac};function ac(e,t,n){let r=0,u;return i;function i(c){return e.enter("thematicBreak"),a(c)}function a(c){return u=c,o(c)}function o(c){return c===u?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||H(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===u?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),q(c)?W(e,o,"whitespace")(c):o(c))}}const pe={continuation:{tokenize:cc},exit:hc,name:"list",tokenize:lc},sc={partial:!0,tokenize:dc},oc={partial:!0,tokenize:fc};function lc(e,t,n){const r=this,u=r.events[r.events.length-1];let i=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,a=0;return o;function o(m){const b=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:Xn(m)){if(r.containerState.type||(r.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(tn,n,c)(m):c(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return n(m)}function l(m){return Xn(m)&&++a<10?(e.consume(m),l):(!r.interrupt||a<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),c(m)):n(m)}function c(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(qt,r.interrupt?n:h,e.attempt(sc,E,f))}function h(m){return r.containerState.initialBlankLine=!0,i++,E(m)}function f(m){return q(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),E):n(m)}function E(m){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function cc(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(qt,u,i);function u(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,W(e,t,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!q(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(oc,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,W(e,e.attempt(pe,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function fc(e,t,n){const r=this;return W(e,u,"listItemIndent",r.containerState.size+1);function u(i){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(i):n(i)}}function hc(e){e.exit(this.containerState.type)}function dc(e,t,n){const r=this;return W(e,u,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function u(i){const a=r.events[r.events.length-1];return!q(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const su={name:"setextUnderline",resolveTo:mc,tokenize:pc};function mc(e,t){let n=e.length,r,u,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(u=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const a={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[u][1].type="setextHeadingText",i?(e.splice(u,0,["enter",a,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end={...e[i][1].end}):e[r][1]=a,e.push(["exit",a,t]),e}function pc(e,t,n){const r=this;let u;return i;function i(c){let h=r.events.length,f;for(;h--;)if(r.events[h][1].type!=="lineEnding"&&r.events[h][1].type!=="linePrefix"&&r.events[h][1].type!=="content"){f=r.events[h][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),u=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===u?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),q(c)?W(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||H(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Ec={tokenize:Tc};function Tc(e){const t=this,n=e.attempt(qt,r,e.attempt(this.parser.constructs.flowInitial,u,W(e,e.attempt(this.parser.constructs.flow,u,e.attempt(xl,u)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function u(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const gc={resolveAll:wi()},bc=Pi("string"),_c=Pi("text");function Pi(e){return{resolveAll:wi(e==="text"?Ac:void 0),tokenize:t};function t(n){const r=this,u=this.parser.constructs[e],i=n.attempt(u,a,o);return a;function a(h){return c(h)?i(h):o(h)}function o(h){if(h===null){n.consume(h);return}return n.enter("data"),n.consume(h),l}function l(h){return c(h)?(n.exit("data"),i(h)):(n.consume(h),l)}function c(h){if(h===null)return!0;const f=u[h];let E=-1;if(f)for(;++E<f.length;){const m=f[E];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function wi(e){return t;function t(n,r){let u=-1,i;for(;++u<=n.length;)i===void 0?n[u]&&n[u][1].type==="data"&&(i=u,u++):(!n[u]||n[u][1].type!=="data")&&(u!==i+2&&(n[i][1].end=n[u-1][1].end,n.splice(i+2,u-i-2),u=i+2),i=void 0);return e?e(n,r):n}}function Ac(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],u=t.sliceStream(r);let i=u.length,a=-1,o=0,l;for(;i--;){const c=u[i];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)o++,a--;if(a)break;a=-1}else if(c===-2)l=!0,o++;else if(c!==-1){i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(o=0),o){const c={type:n===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?a:r.start._bufferIndex+a,_index:r.start._index+i,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const xc={42:pe,43:pe,45:pe,48:pe,49:pe,50:pe,51:pe,52:pe,53:pe,54:pe,55:pe,56:pe,57:pe,62:Si},Cc={91:kl},Ic={[-2]:Ln,[-1]:Ln,32:Ln},Nc={35:Pl,42:tn,45:[su,tn],60:Fl,61:su,95:tn,96:iu,126:iu},Sc={38:yi,92:ki},kc={[-5]:On,[-4]:On,[-3]:On,33:tc,38:yi,42:Kn,60:[rl,ql],91:rc,92:[Dl,ki],93:gr,95:Kn,96:El},yc={null:[Kn,gc]},Lc={null:[42,95]},Oc={null:[]},Dc=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Lc,contentInitial:Cc,disable:Oc,document:xc,flow:Nc,flowInitial:Ic,insideSpan:yc,string:Sc,text:kc},Symbol.toStringTag,{value:"Module"}));function Rc(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const u={},i=[];let a=[],o=[];const l={attempt:Q(Y),check:Q(y),consume:w,enter:P,exit:v,interrupt:Q(y,{interrupt:!0})},c={code:null,containerState:{},defineSkip:N,events:[],now:b,parser:e,previous:null,sliceSerialize:E,sliceStream:m,write:f};let h=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function f(B){return a=_e(a,B),R(),a[a.length-1]!==null?[]:(ee(t,0),c.events=gn(i,c.events,c),c.events)}function E(B,F){return wc(m(B),F)}function m(B){return Pc(a,B)}function b(){const{_bufferIndex:B,_index:F,line:K,column:ne,offset:G}=r;return{_bufferIndex:B,_index:F,line:K,column:ne,offset:G}}function N(B){u[B.line]=B.column,S()}function R(){let B;for(;r._index<a.length;){const F=a[r._index];if(typeof F=="string")for(B=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===B&&r._bufferIndex<F.length;)I(F.charCodeAt(r._bufferIndex));else I(F)}}function I(B){h=h(B)}function w(B){H(B)?(r.line++,r.column=1,r.offset+=B===-3?2:1,S()):B!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=B}function P(B,F){const K=F||{};return K.type=B,K.start=b(),c.events.push(["enter",K,c]),o.push(K),K}function v(B){const F=o.pop();return F.end=b(),c.events.push(["exit",F,c]),F}function Y(B,F){ee(B,F.from)}function y(B,F){F.restore()}function Q(B,F){return K;function K(ne,G,le){let se,Ce,Me,g;return Array.isArray(ne)?Be(ne):"tokenize"in ne?Be([ne]):Ie(ne);function Ie(oe){return xt;function xt(ze){const it=ze!==null&&oe[ze],at=ze!==null&&oe.null,Gt=[...Array.isArray(it)?it:it?[it]:[],...Array.isArray(at)?at:at?[at]:[]];return Be(Gt)(ze)}}function Be(oe){return se=oe,Ce=0,oe.length===0?le:_(oe[Ce])}function _(oe){return xt;function xt(ze){return g=X(),Me=oe,oe.partial||(c.currentConstruct=oe),oe.name&&c.parser.constructs.disable.null.includes(oe.name)?Ge():oe.tokenize.call(F?Object.assign(Object.create(c),F):c,l,Ne,Ge)(ze)}}function Ne(oe){return B(Me,g),G}function Ge(oe){return g.restore(),++Ce<se.length?_(se[Ce]):le}}}function ee(B,F){B.resolveAll&&!i.includes(B)&&i.push(B),B.resolve&&be(c.events,F,c.events.length-F,B.resolve(c.events.slice(F),c)),B.resolveTo&&(c.events=B.resolveTo(c.events,c))}function X(){const B=b(),F=c.previous,K=c.currentConstruct,ne=c.events.length,G=Array.from(o);return{from:ne,restore:le};function le(){r=B,c.previous=F,c.currentConstruct=K,c.events.length=ne,o=G,S()}}function S(){r.line in u&&r.column<2&&(r.column=u[r.line],r.offset+=u[r.line]-1)}}function Pc(e,t){const n=t.start._index,r=t.start._bufferIndex,u=t.end._index,i=t.end._bufferIndex;let a;if(n===u)a=[e[n].slice(r,i)];else{if(a=e.slice(n,u),r>-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}i>0&&a.push(e[u].slice(0,i))}return a}function wc(e,t){let n=-1;const r=[];let u;for(;++n<e.length;){const i=e[n];let a;if(typeof i=="string")a=i;else switch(i){case-5:{a="\r";break}case-4:{a=` 18`;break}case-3:{a=`\r 19`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&u)continue;a=" ";break}default:a=String.fromCharCode(i)}u=i===-2,r.push(a)}return r.join("")}function Mc(e){const r={constructs:Ii([Dc,...(e||{}).extensions||[]]),content:u(Ko),defined:[],document:u(Jo),flow:u(Ec),lazy:{},string:u(bc),text:u(_c)};return r;function u(i){return a;function a(o){return Rc(r,i,o)}}}function Bc(e){for(;!Li(e););return e}const ou=/[\0\t\n\r]/g;function Fc(){let e=1,t="",n=!0,r;return u;function u(i,a,o){const l=[];let c,h,f,E,m;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(a||void 0).decode(i)),f=0,t="",n&&(i.charCodeAt(0)===65279&&f++,n=void 0);f<i.length;){if(ou.lastIndex=f,c=ou.exec(i),E=c&&c.index!==void 0?c.index:i.length,m=i.charCodeAt(E),!c){t=i.slice(f);break}if(m===10&&f===E&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<E&&(l.push(i.slice(f,E)),e+=E-f),m){case 0:{l.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,l.push(-2);e++<h;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}f=E+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const Hc=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Uc(e){return e.replace(Hc,vc)}function vc(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),i=u===120||u===88;return Ni(n.slice(i?2:1),i?16:10)}return Tr(n)||e}const Mi={}.hasOwnProperty;function zc(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),Yc(n)(Bc(Mc(n).document().write(Fc()(e,t,!0))))}function Yc(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Br),autolinkProtocol:X,autolinkEmail:X,atxHeading:i(Pr),blockQuote:i(at),characterEscape:X,characterReference:X,codeFenced:i(Gt),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(Gt,a),codeText:i(Ja,a),codeTextData:X,data:X,codeFlowValue:X,definition:i(Za),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(es),hardBreakEscape:i(wr),hardBreakTrailing:i(wr),htmlFlow:i(Mr,a),htmlFlowData:X,htmlText:i(Mr,a),htmlTextData:X,image:i(ts),label:a,link:i(Br),listItem:i(ns),listItemValue:E,listOrdered:i(Fr,f),listUnordered:i(Fr),paragraph:i(rs),reference:_,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(Pr),strong:i(us),thematicBreak:i(as)},exit:{atxHeading:l(),atxHeadingSequence:Y,autolink:l(),autolinkEmail:it,autolinkProtocol:ze,blockQuote:l(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:Ge,characterReferenceMarkerNumeric:Ge,characterReferenceValue:oe,characterReference:xt,codeFenced:l(R),codeFencedFence:N,codeFencedFenceInfo:m,codeFencedFenceMeta:b,codeFlowValue:S,codeIndented:l(I),codeText:l(G),codeTextData:S,data:S,definition:l(),definitionDestinationString:v,definitionLabelString:w,definitionTitleString:P,emphasis:l(),hardBreakEscape:l(F),hardBreakTrailing:l(F),htmlFlow:l(K),htmlFlowData:S,htmlText:l(ne),htmlTextData:S,image:l(se),label:Me,labelText:Ce,lineEnding:B,link:l(le),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Ne,resourceDestinationString:g,resourceTitleString:Ie,resource:Be,setextHeading:l(ee),setextHeadingLineSequence:Q,setextHeadingText:y,strong:l(),thematicBreak:l()}};Bi(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(k){let M={type:"root",children:[]};const U={stack:[M],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:h,data:n},V=[];let $=-1;for(;++$<k.length;)if(k[$][1].type==="listOrdered"||k[$][1].type==="listUnordered")if(k[$][0]==="enter")V.push($);else{const Se=V.pop();$=u(k,Se,$)}for($=-1;++$<k.length;){const Se=t[k[$][0]];Mi.call(Se,k[$][1].type)&&Se[k[$][1].type].call(Object.assign({sliceSerialize:k[$][2].sliceSerialize},U),k[$][1])}if(U.tokenStack.length>0){const Se=U.tokenStack[U.tokenStack.length-1];(Se[1]||lu).call(U,void 0,Se[0])}for(M.position={start:Ye(k.length>0?k[0][1].start:{line:1,column:1,offset:0}),end:Ye(k.length>0?k[k.length-2][1].end:{line:1,column:1,offset:0})},$=-1;++$<t.transforms.length;)M=t.transforms[$](M)||M;return M}function u(k,M,U){let V=M-1,$=-1,Se=!1,Xe,Fe,Ct,It;for(;++V<=U;){const Te=k[V];switch(Te[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Te[0]==="enter"?$++:$--,It=void 0;break}case"lineEndingBlank":{Te[0]==="enter"&&(Xe&&!It&&!$&&!Ct&&(Ct=V),It=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:It=void 0}if(!$&&Te[0]==="enter"&&Te[1].type==="listItemPrefix"||$===-1&&Te[0]==="exit"&&(Te[1].type==="listUnordered"||Te[1].type==="listOrdered")){if(Xe){let st=V;for(Fe=void 0;st--;){const He=k[st];if(He[1].type==="lineEnding"||He[1].type==="lineEndingBlank"){if(He[0]==="exit")continue;Fe&&(k[Fe][1].type="lineEndingBlank",Se=!0),He[1].type="lineEnding",Fe=st}else if(!(He[1].type==="linePrefix"||He[1].type==="blockQuotePrefix"||He[1].type==="blockQuotePrefixWhitespace"||He[1].type==="blockQuoteMarker"||He[1].type==="listItemIndent"))break}Ct&&(!Fe||Ct<Fe)&&(Xe._spread=!0),Xe.end=Object.assign({},Fe?k[Fe][1].start:Te[1].end),k.splice(Fe||V,0,["exit",Xe,Te[2]]),V++,U++}if(Te[1].type==="listItemPrefix"){const st={type:"listItem",_spread:!1,start:Object.assign({},Te[1].start),end:void 0};Xe=st,k.splice(V,0,["enter",st,Te[2]]),V++,U++,Ct=void 0,It=!0}}}return k[M][1]._spread=Se,U}function i(k,M){return U;function U(V){o.call(this,k(V),V),M&&M.call(this,V)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(k,M,U){this.stack[this.stack.length-1].children.push(k),this.stack.push(k),this.tokenStack.push([M,U||void 0]),k.position={start:Ye(M.start),end:void 0}}function l(k){return M;function M(U){k&&k.call(this,U),c.call(this,U)}}function c(k,M){const U=this.stack.pop(),V=this.tokenStack.pop();if(V)V[0].type!==k.type&&(M?M.call(this,k,V[0]):(V[1]||lu).call(this,k,V[0]));else throw new Error("Cannot close `"+k.type+"` ("+Ot({start:k.start,end:k.end})+"): itâs not open");U.position.end=Ye(k.end)}function h(){return Er(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function E(k){if(this.data.expectingFirstListItemValue){const M=this.stack[this.stack.length-2];M.start=Number.parseInt(this.sliceSerialize(k),10),this.data.expectingFirstListItemValue=void 0}}function m(){const k=this.resume(),M=this.stack[this.stack.length-1];M.lang=k}function b(){const k=this.resume(),M=this.stack[this.stack.length-1];M.meta=k}function N(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function R(){const k=this.resume(),M=this.stack[this.stack.length-1];M.value=k.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function I(){const k=this.resume(),M=this.stack[this.stack.length-1];M.value=k.replace(/(\r?\n|\r)$/g,"")}function w(k){const M=this.resume(),U=this.stack[this.stack.length-1];U.label=M,U.identifier=ke(this.sliceSerialize(k)).toLowerCase()}function P(){const k=this.resume(),M=this.stack[this.stack.length-1];M.title=k}function v(){const k=this.resume(),M=this.stack[this.stack.length-1];M.url=k}function Y(k){const M=this.stack[this.stack.length-1];if(!M.depth){const U=this.sliceSerialize(k).length;M.depth=U}}function y(){this.data.setextHeadingSlurpLineEnding=!0}function Q(k){const M=this.stack[this.stack.length-1];M.depth=this.sliceSerialize(k).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function X(k){const U=this.stack[this.stack.length-1].children;let V=U[U.length-1];(!V||V.type!=="text")&&(V=is(),V.position={start:Ye(k.start),end:void 0},U.push(V)),this.stack.push(V)}function S(k){const M=this.stack.pop();M.value+=this.sliceSerialize(k),M.position.end=Ye(k.end)}function B(k){const M=this.stack[this.stack.length-1];if(this.data.atHardBreak){const U=M.children[M.children.length-1];U.position.end=Ye(k.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(M.type)&&(X.call(this,k),S.call(this,k))}function F(){this.data.atHardBreak=!0}function K(){const k=this.resume(),M=this.stack[this.stack.length-1];M.value=k}function ne(){const k=this.resume(),M=this.stack[this.stack.length-1];M.value=k}function G(){const k=this.resume(),M=this.stack[this.stack.length-1];M.value=k}function le(){const k=this.stack[this.stack.length-1];if(this.data.inReference){const M=this.data.referenceType||"shortcut";k.type+="Reference",k.referenceType=M,delete k.url,delete k.title}else delete k.identifier,delete k.label;this.data.referenceType=void 0}function se(){const k=this.stack[this.stack.length-1];if(this.data.inReference){const M=this.data.referenceType||"shortcut";k.type+="Reference",k.referenceType=M,delete k.url,delete k.title}else delete k.identifier,delete k.label;this.data.referenceType=void 0}function Ce(k){const M=this.sliceSerialize(k),U=this.stack[this.stack.length-2];U.label=Uc(M),U.identifier=ke(M).toLowerCase()}function Me(){const k=this.stack[this.stack.length-1],M=this.resume(),U=this.stack[this.stack.length-1];if(this.data.inReference=!0,U.type==="link"){const V=k.children;U.children=V}else U.alt=M}function g(){const k=this.resume(),M=this.stack[this.stack.length-1];M.url=k}function Ie(){const k=this.resume(),M=this.stack[this.stack.length-1];M.title=k}function Be(){this.data.inReference=void 0}function _(){this.data.referenceType="collapsed"}function Ne(k){const M=this.resume(),U=this.stack[this.stack.length-1];U.label=M,U.identifier=ke(this.sliceSerialize(k)).toLowerCase(),this.data.referenceType="full"}function Ge(k){this.data.characterReferenceType=k.type}function oe(k){const M=this.sliceSerialize(k),U=this.data.characterReferenceType;let V;U?(V=Ni(M,U==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):V=Tr(M);const $=this.stack[this.stack.length-1];$.value+=V}function xt(k){const M=this.stack.pop();M.position.end=Ye(k.end)}function ze(k){S.call(this,k);const M=this.stack[this.stack.length-1];M.url=this.sliceSerialize(k)}function it(k){S.call(this,k);const M=this.stack[this.stack.length-1];M.url="mailto:"+this.sliceSerialize(k)}function at(){return{type:"blockquote",children:[]}}function Gt(){return{type:"code",lang:null,meta:null,value:""}}function Ja(){return{type:"inlineCode",value:""}}function Za(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function es(){return{type:"emphasis",children:[]}}function Pr(){return{type:"heading",depth:0,children:[]}}function wr(){return{type:"break"}}function Mr(){return{type:"html",value:""}}function ts(){return{type:"image",title:null,url:"",alt:null}}function Br(){return{type:"link",title:null,url:"",children:[]}}function Fr(k){return{type:"list",ordered:k.type==="listOrdered",start:null,spread:k._spread,children:[]}}function ns(k){return{type:"listItem",spread:k._spread,checked:null,children:[]}}function rs(){return{type:"paragraph",children:[]}}function us(){return{type:"strong",children:[]}}function is(){return{type:"text",value:""}}function as(){return{type:"thematicBreak"}}}function Ye(e){return{line:e.line,column:e.column,offset:e.offset}}function Bi(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Bi(e,r):jc(e,r)}}function jc(e,t){let n;for(n in t)if(Mi.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function lu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ot({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ot({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ot({start:t.start,end:t.end})+") is still open")}function qc(e){const t=this;t.parser=n;function n(r){return zc(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Vc(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Wc(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` 20`}]}function Qc(e,t){const n=t.value?t.value+` 21`:"",r={},u=t.lang?t.lang.split(/\s+/):[];u.length>0&&(r.className=["language-"+u[0]]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function Gc(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Xc(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Kc(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),u=gt(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,o=e.footnoteCounts.get(r);o===void 0?(o=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,o+=1,e.footnoteCounts.set(r,o);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+u,id:n+"fnref-"+u+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function $c(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Jc(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Fi(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const u=e.all(t),i=u[0];i&&i.type==="text"?i.value="["+i.value:u.unshift({type:"text",value:"["});const a=u[u.length-1];return a&&a.type==="text"?a.value+=r:u.push({type:"text",value:r}),u}function Zc(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Fi(e,t);const u={src:gt(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(u.title=r.title);const i={type:"element",tagName:"img",properties:u,children:[]};return e.patch(t,i),e.applyData(t,i)}function e0(e,t){const n={src:gt(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function t0(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function n0(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Fi(e,t);const u={href:gt(r.url||"")};r.title!==null&&r.title!==void 0&&(u.title=r.title);const i={type:"element",tagName:"a",properties:u,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function r0(e,t){const n={href:gt(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function u0(e,t,n){const r=e.all(t),u=n?i0(n):Hi(t),i={},a=[];if(typeof t.checked=="boolean"){const h=r[0];let f;h&&h.type==="element"&&h.tagName==="p"?f=h:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const h=r[o];(u||o!==0||h.type!=="element"||h.tagName!=="p")&&a.push({type:"text",value:` 22`}),h.type==="element"&&h.tagName==="p"&&!u?a.push(...h.children):a.push(h)}const l=r[r.length-1];l&&(u||l.type!=="element"||l.tagName!=="p")&&a.push({type:"text",value:` 23`});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)}function i0(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Hi(n[r])}return t}function Hi(e){const t=e.spread;return t??e.children.length>1}function a0(e,t){const n={},r=e.all(t);let u=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++u<r.length;){const a=r[u];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function s0(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function o0(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function l0(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function c0(e,t){const n=e.all(t),r=n.shift(),u=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),u.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Pe(t.children[1]),l=En(t.children[t.children.length-1]);o&&l&&(a.position={start:o,end:l}),u.push(a)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(u,!0)};return e.patch(t,i),e.applyData(t,i)}function f0(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:t.children.length;let l=-1;const c=[];for(;++l<o;){const f=t.children[l],E={},m=a?a[l]:void 0;m&&(E.align=m);let b={type:"element",tagName:i,properties:E,children:[]};f&&(b.children=e.all(f),e.patch(f,b),b=e.applyData(f,b)),c.push(b)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,h),e.applyData(t,h)}function h0(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const cu=9,fu=32;function d0(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),u=0;const i=[];for(;r;)i.push(hu(t.slice(u,r.index),u>0,!0),r[0]),u=r.index+r[0].length,r=n.exec(t);return i.push(hu(t.slice(u),u>0,!1)),i.join("")}function hu(e,t,n){let r=0,u=e.length;if(t){let i=e.codePointAt(r);for(;i===cu||i===fu;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(u-1);for(;i===cu||i===fu;)u--,i=e.codePointAt(u-1)}return u>r?e.slice(r,u):""}function m0(e,t){const n={type:"text",value:d0(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function p0(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const E0={blockquote:Vc,break:Wc,code:Qc,delete:Gc,emphasis:Xc,footnoteReference:Kc,heading:$c,html:Jc,imageReference:Zc,image:e0,inlineCode:t0,linkReference:n0,link:r0,listItem:u0,list:a0,paragraph:s0,root:o0,strong:l0,table:c0,tableCell:h0,tableRow:f0,text:m0,thematicBreak:p0,toml:Xt,yaml:Xt,definition:Xt,footnoteDefinition:Xt};function Xt(){}const Ui=-1,bn=0,Rt=1,ln=2,br=3,_r=4,Ar=5,xr=6,vi=7,zi=8,du=typeof self=="object"?self:globalThis,T0=(e,t)=>{const n=(u,i)=>(e.set(i,u),u),r=u=>{if(e.has(u))return e.get(u);const[i,a]=t[u];switch(i){case bn:case Ui:return n(a,u);case Rt:{const o=n([],u);for(const l of a)o.push(r(l));return o}case ln:{const o=n({},u);for(const[l,c]of a)o[r(l)]=r(c);return o}case br:return n(new Date(a),u);case _r:{const{source:o,flags:l}=a;return n(new RegExp(o,l),u)}case Ar:{const o=n(new Map,u);for(const[l,c]of a)o.set(r(l),r(c));return o}case xr:{const o=n(new Set,u);for(const l of a)o.add(r(l));return o}case vi:{const{name:o,message:l}=a;return n(new du[o](l),u)}case zi:return n(BigInt(a),u);case"BigInt":return n(Object(BigInt(a)),u);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:o}=new Uint8Array(a);return n(new DataView(o),a)}}return n(new du[i](a),u)};return r},mu=e=>T0(new Map,e)(0),ot="",{toString:g0}={},{keys:b0}=Object,St=e=>{const t=typeof e;if(t!=="object"||!e)return[bn,t];const n=g0.call(e).slice(8,-1);switch(n){case"Array":return[Rt,ot];case"Object":return[ln,ot];case"Date":return[br,ot];case"RegExp":return[_r,ot];case"Map":return[Ar,ot];case"Set":return[xr,ot];case"DataView":return[Rt,n]}return n.includes("Array")?[Rt,n]:n.includes("Error")?[vi,n]:[ln,n]},Kt=([e,t])=>e===bn&&(t==="function"||t==="symbol"),_0=(e,t,n,r)=>{const u=(a,o)=>{const l=r.push(a)-1;return n.set(o,l),l},i=a=>{if(n.has(a))return n.get(a);let[o,l]=St(a);switch(o){case bn:{let h=a;switch(l){case"bigint":o=zi,h=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);h=null;break;case"undefined":return u([Ui],a)}return u([o,h],a)}case Rt:{if(l){let E=a;return l==="DataView"?E=new Uint8Array(a.buffer):l==="ArrayBuffer"&&(E=new Uint8Array(a)),u([l,[...E]],a)}const h=[],f=u([o,h],a);for(const E of a)h.push(i(E));return f}case ln:{if(l)switch(l){case"BigInt":return u([l,a.toString()],a);case"Boolean":case"Number":case"String":return u([l,a.valueOf()],a)}if(t&&"toJSON"in a)return i(a.toJSON());const h=[],f=u([o,h],a);for(const E of b0(a))(e||!Kt(St(a[E])))&&h.push([i(E),i(a[E])]);return f}case br:return u([o,a.toISOString()],a);case _r:{const{source:h,flags:f}=a;return u([o,{source:h,flags:f}],a)}case Ar:{const h=[],f=u([o,h],a);for(const[E,m]of a)(e||!(Kt(St(E))||Kt(St(m))))&&h.push([i(E),i(m)]);return f}case xr:{const h=[],f=u([o,h],a);for(const E of a)(e||!Kt(St(E)))&&h.push(i(E));return f}}const{message:c}=a;return u([o,{name:l,message:c}],a)};return i},pu=(e,{json:t,lossy:n}={})=>{const r=[];return _0(!(t||n),!!t,new Map,r)(e),r},mt=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?mu(pu(e,t)):structuredClone(e):(e,t)=>mu(pu(e,t));function A0(e,t){const n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function x0(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function C0(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||A0,r=e.options.footnoteBackLabel||x0,u=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const h=e.all(c),f=String(c.identifier).toUpperCase(),E=gt(f.toLowerCase());let m=0;const b=[],N=e.footnoteCounts.get(f);for(;N!==void 0&&++m<=N;){b.length>0&&b.push({type:"text",value:" "});let w=typeof n=="string"?n:n(l,m);typeof w=="string"&&(w={type:"text",value:w}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+E+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,m),className:["data-footnote-backref"]},children:Array.isArray(w)?w:[w]})}const R=h[h.length-1];if(R&&R.type==="element"&&R.tagName==="p"){const w=R.children[R.children.length-1];w&&w.type==="text"?w.value+=" ":R.children.push({type:"text",value:" "}),R.children.push(...b)}else h.push(...b);const I={type:"element",tagName:"li",properties:{id:t+"fn-"+E},children:e.wrap(h,!0)};e.patch(c,I),o.push(I)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...mt(a),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:` 24`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:` 25`}]}}const _n=function(e){if(e==null)return k0;if(typeof e=="function")return An(e);if(typeof e=="object")return Array.isArray(e)?I0(e):N0(e);if(typeof e=="string")return S0(e);throw new Error("Expected function, string, or object as test")};function I0(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=_n(e[n]);return An(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function N0(e){const t=e;return An(n);function n(r){const u=r;let i;for(i in e)if(u[i]!==t[i])return!1;return!0}}function S0(e){return An(t);function t(n){return n&&n.type===e}}function An(e){return t;function t(n,r,u){return!!(y0(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function k0(){return!0}function y0(e){return e!==null&&typeof e=="object"&&"type"in e}const Yi=[],L0=!0,$n=!1,O0="skip";function ji(e,t,n,r){let u;typeof t=="function"&&typeof n!="function"?(r=n,n=t):u=t;const i=_n(u),a=r?-1:1;o(e,void 0,[])();function o(l,c,h){const f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){const m=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(E,"name",{value:"node ("+(l.type+(m?"<"+m+">":""))+")"})}return E;function E(){let m=Yi,b,N,R;if((!t||i(l,c,h[h.length-1]||void 0))&&(m=D0(n(l,h)),m[0]===$n))return m;if("children"in l&&l.children){const I=l;if(I.children&&m[0]!==O0)for(N=(r?I.children.length:-1)+a,R=h.concat(I);N>-1&&N<I.children.length;){const w=I.children[N];if(b=o(w,N,R)(),b[0]===$n)return b;N=typeof b[1]=="number"?b[1]:N+a}}return m}}}function D0(e){return Array.isArray(e)?e:typeof e=="number"?[L0,e]:e==null?Yi:[e]}function xn(e,t,n,r){let u,i,a;typeof t=="function"&&typeof n!="function"?(i=void 0,a=t,u=n):(i=t,a=n,u=r),ji(e,i,o,u);function o(l,c){const h=c[c.length-1],f=h?h.children.indexOf(l):void 0;return a(l,f,h)}}const Jn={}.hasOwnProperty,R0={};function P0(e,t){const n=t||R0,r=new Map,u=new Map,i=new Map,a={...E0,...n.handlers},o={all:c,applyData:M0,definitionById:r,footnoteById:u,footnoteCounts:i,footnoteOrder:[],handlers:a,one:l,options:n,patch:w0,wrap:F0};return xn(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const f=h.type==="definition"?r:u,E=String(h.identifier).toUpperCase();f.has(E)||f.set(E,h)}}),o;function l(h,f){const E=h.type,m=o.handlers[E];if(Jn.call(o.handlers,E)&&m)return m(o,h,f);if(o.options.passThrough&&o.options.passThrough.includes(E)){if("children"in h){const{children:N,...R}=h,I=mt(R);return I.children=o.all(h),I}return mt(h)}return(o.options.unknownHandler||B0)(o,h,f)}function c(h){const f=[];if("children"in h){const E=h.children;let m=-1;for(;++m<E.length;){const b=o.one(E[m],h);if(b){if(m&&E[m-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=Eu(b.value)),!Array.isArray(b)&&b.type==="element")){const N=b.children[0];N&&N.type==="text"&&(N.value=Eu(N.value))}Array.isArray(b)?f.push(...b):f.push(b)}}}return f}}function w0(e,t){e.position&&(t.position=xo(e))}function M0(e,t){let n=t;if(e&&e.data){const r=e.data.hName,u=e.data.hChildren,i=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const a="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:a}}n.type==="element"&&i&&Object.assign(n.properties,mt(i)),"children"in n&&n.children&&u!==null&&u!==void 0&&(n.children=u)}return n}function B0(e,t){const n=t.data||{},r="value"in t&&!(Jn.call(n,"hProperties")||Jn.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function F0(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:` 26`});++r<e.length;)r&&n.push({type:"text",value:` 27`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:` 28`}),n}function Eu(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Tu(e,t){const n=P0(e,t),r=n.one(e,void 0),u=C0(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return u&&i.children.push({type:"text",value:` 29`},u),i}function H0(e,t){return e&&"run"in e?async function(n,r){const u=Tu(n,{file:r,...t});await e.run(u,r)}:function(n,r){return Tu(n,{file:r,...e||t})}}function gu(e){if(e)throw e}var nn=Object.prototype.hasOwnProperty,qi=Object.prototype.toString,bu=Object.defineProperty,_u=Object.getOwnPropertyDescriptor,Au=function(t){return typeof Array.isArray=="function"?Array.isArray(t):qi.call(t)==="[object Array]"},xu=function(t){if(!t||qi.call(t)!=="[object Object]")return!1;var n=nn.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&nn.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var u;for(u in t);return typeof u>"u"||nn.call(t,u)},Cu=function(t,n){bu&&n.name==="__proto__"?bu(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Iu=function(t,n){if(n==="__proto__")if(nn.call(t,n)){if(_u)return _u(t,n).value}else return;return t[n]},U0=function e(){var t,n,r,u,i,a,o=arguments[0],l=1,c=arguments.length,h=!1;for(typeof o=="boolean"&&(h=o,o=arguments[1]||{},l=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});l<c;++l)if(t=arguments[l],t!=null)for(n in t)r=Iu(o,n),u=Iu(t,n),o!==u&&(h&&u&&(xu(u)||(i=Au(u)))?(i?(i=!1,a=r&&Au(r)?r:[]):a=r&&xu(r)?r:{},Cu(o,{name:n,newValue:e(h,a,u)})):typeof u<"u"&&Cu(o,{name:n,newValue:u}));return o};const Dn=ii(U0);function Zn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function v0(){const e=[],t={run:n,use:r};return t;function n(...u){let i=-1;const a=u.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);o(null,...u);function o(l,...c){const h=e[++i];let f=-1;if(l){a(l);return}for(;++f<u.length;)(c[f]===null||c[f]===void 0)&&(c[f]=u[f]);u=c,h?z0(h,o)(...c):a(null,...c)}}function r(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return e.push(u),t}}function z0(e,t){let n;return r;function r(...a){const o=e.length>a.length;let l;o&&a.push(u);try{l=e.apply(this,a)}catch(c){const h=c;if(o&&n)throw h;return u(h)}o||(l&&l.then&&typeof l.then=="function"?l.then(i,u):l instanceof Error?u(l):i(l))}function u(a,...o){n||(n=!0,t(a,...o))}function i(a){u(null,a)}}const Le={basename:Y0,dirname:j0,extname:q0,join:V0,sep:"/"};function Y0(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Vt(e);let n=0,r=-1,u=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;u--;)if(e.codePointAt(u)===47){if(i){n=u+1;break}}else r<0&&(i=!0,r=u+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,o=t.length-1;for(;u--;)if(e.codePointAt(u)===47){if(i){n=u+1;break}}else a<0&&(i=!0,a=u+1),o>-1&&(e.codePointAt(u)===t.codePointAt(o--)?o<0&&(r=u):(o=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function j0(e){if(Vt(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function q0(e){Vt(e);let t=e.length,n=-1,r=0,u=-1,i=0,a;for(;t--;){const o=e.codePointAt(t);if(o===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?u<0?u=t:i!==1&&(i=1):u>-1&&(i=-1)}return u<0||n<0||i===0||i===1&&u===n-1&&u===r+1?"":e.slice(u,n)}function V0(...e){let t=-1,n;for(;++t<e.length;)Vt(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":W0(n)}function W0(e){Vt(e);const t=e.codePointAt(0)===47;let n=Q0(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Q0(e,t){let n="",r=0,u=-1,i=0,a=-1,o,l;for(;++a<=e.length;){if(a<e.length)o=e.codePointAt(a);else{if(o===47)break;o=47}if(o===47){if(!(u===a-1||i===1))if(u!==a-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),u=a,i=0;continue}}else if(n.length>0){n="",r=0,u=a,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(u+1,a):n=e.slice(u+1,a),r=a-u-1;u=a,i=0}else o===46&&i>-1?i++:i=-1}return n}function Vt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const G0={cwd:X0};function X0(){return"/"}function er(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function K0(e){if(typeof e=="string")e=new URL(e);else if(!er(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return $0(e)}function $0(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(t)}const Rn=["history","path","basename","stem","extname","dirname"];class Vi{constructor(t){let n;t?er(t)?n={path:t}:typeof t=="string"||J0(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":G0.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Rn.length;){const i=Rn[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let u;for(u in n)Rn.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?Le.basename(this.path):void 0}set basename(t){wn(t,"basename"),Pn(t,"basename"),this.path=Le.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Le.dirname(this.path):void 0}set dirname(t){Nu(this.basename,"dirname"),this.path=Le.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Le.extname(this.path):void 0}set extname(t){if(Pn(t,"extname"),Nu(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=Le.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){er(t)&&(t=K0(t)),wn(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Le.basename(this.path,this.extname):void 0}set stem(t){wn(t,"stem"),Pn(t,"stem"),this.path=Le.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const u=this.message(t,n,r);throw u.fatal=!0,u}info(t,n,r){const u=this.message(t,n,r);return u.fatal=void 0,u}message(t,n,r){const u=new fe(t,n,r);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Pn(e,t){if(e&&e.includes(Le.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Le.sep+"`")}function wn(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Nu(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function J0(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Z0=function(e){const r=this.constructor.prototype,u=r[e],i=function(){return u.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},ef={}.hasOwnProperty;class Cr extends Z0{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=v0()}copy(){const t=new Cr;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Dn(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Fn("data",this.frozen),this.namespace[t]=n,this):ef.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Fn("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const u=n.call(t,...r);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=$t(t),r=this.parser||this.Parser;return Mn("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Mn("process",this.parser||this.Parser),Bn("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(i,a){const o=$t(t),l=r.parse(o);r.run(l,o,function(h,f,E){if(h||!f||!E)return c(h);const m=f,b=r.stringify(m,E);rf(b)?E.value=b:E.result=b,c(h,E)});function c(h,f){h||!f?a(h):i?i(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),Mn("processSync",this.parser||this.Parser),Bn("processSync",this.compiler||this.Compiler),this.process(t,u),ku("processSync","process",n),r;function u(i,a){n=!0,gu(i),r=a}}run(t,n,r){Su(t),this.freeze();const u=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(a,o){const l=$t(n);u.run(t,l,c);function c(h,f,E){const m=f||t;h?o(h):a?a(m):r(void 0,m,E)}}}runSync(t,n){let r=!1,u;return this.run(t,n,i),ku("runSync","run",r),u;function i(a,o){gu(a),u=o,r=!0}}stringify(t,n){this.freeze();const r=$t(n),u=this.compiler||this.Compiler;return Bn("stringify",u),Su(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(Fn("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[h,...f]=c;l(h,f)}else a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(c.plugins),c.settings&&(u.settings=Dn(!0,u.settings,c.settings))}function o(c){let h=-1;if(c!=null)if(Array.isArray(c))for(;++h<c.length;){const f=c[h];i(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,h){let f=-1,E=-1;for(;++f<r.length;)if(r[f][0]===c){E=f;break}if(E===-1)r.push([c,...h]);else if(h.length>0){let[m,...b]=h;const N=r[E][1];Zn(N)&&Zn(m)&&(m=Dn(!0,N,m)),r[E]=[c,m,...b]}}}}const tf=new Cr().freeze();function Mn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Bn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Fn(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 Su(e){if(!Zn(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ku(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function $t(e){return nf(e)?e:new Vi(e)}function nf(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function rf(e){return typeof e=="string"||uf(e)}function uf(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const af="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",yu=[],Lu={allowDangerousHtml:!0},sf=/^(https?|ircs?|mailto|xmpp)$/i,of=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function lf(e){const t=cf(e),n=ff(e);return hf(t.runSync(t.parse(n),n),e)}function cf(e){const t=e.rehypePlugins||yu,n=e.remarkPlugins||yu,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Lu}:Lu;return tf().use(qc).use(n).use(H0,r).use(t)}function ff(e){const t=e.children||"",n=new Vi;return typeof t=="string"&&(n.value=t),n}function hf(e,t){const n=t.allowedElements,r=t.allowElement,u=t.components,i=t.disallowedElements,a=t.skipHtml,o=t.unwrapDisallowed,l=t.urlTransform||df;for(const h of of)Object.hasOwn(t,h.from)&&(""+h.from+(h.to?"use `"+h.to+"` instead":"remove it")+af+h.id,void 0);return xn(e,c),ko(e,{Fragment:x.Fragment,components:u,ignoreInvalidStyle:!0,jsx:x.jsx,jsxs:x.jsxs,passKeys:!0,passNode:!0});function c(h,f,E){if(h.type==="raw"&&E&&typeof f=="number")return a?E.children.splice(f,1):E.children[f]={type:"text",value:h.value},f;if(h.type==="element"){let m;for(m in yn)if(Object.hasOwn(yn,m)&&Object.hasOwn(h.properties,m)){const b=h.properties[m],N=yn[m];(N===null||N.includes(h.tagName))&&(h.properties[m]=l(String(b||""),m,h))}}if(h.type==="element"){let m=n?!n.includes(h.tagName):i?i.includes(h.tagName):!1;if(!m&&r&&typeof f=="number"&&(m=!r(h,f,E)),m&&E&&typeof f=="number")return o&&h.children?E.children.splice(f,1,...h.children):E.children.splice(f,1),f}}}function df(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),u=e.indexOf("/");return t===-1||u!==-1&&t>u||n!==-1&&t>n||r!==-1&&t>r||sf.test(e.slice(0,t))?e:""}function Ou(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,u=n.indexOf(t);for(;u!==-1;)r++,u=n.indexOf(t,u+t.length);return r}function mf(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Wi(e,t,n){const u=_n((n||{}).ignore||[]),i=pf(t);let a=-1;for(;++a<i.length;)ji(e,"text",o);function o(c,h){let f=-1,E;for(;++f<h.length;){const m=h[f],b=E?E.children:void 0;if(u(m,b?b.indexOf(m):void 0,E))return;E=m}if(E)return l(c,h)}function l(c,h){const f=h[h.length-1],E=i[a][0],m=i[a][1];let b=0;const R=f.children.indexOf(c);let I=!1,w=[];E.lastIndex=0;let P=E.exec(c.value);for(;P;){const v=P.index,Y={index:P.index,input:P.input,stack:[...h,c]};let y=m(...P,Y);if(typeof y=="string"&&(y=y.length>0?{type:"text",value:y}:void 0),y===!1?E.lastIndex=v+1:(b!==v&&w.push({type:"text",value:c.value.slice(b,v)}),Array.isArray(y)?w.push(...y):y&&w.push(y),b=v+P[0].length,I=!0),!E.global)break;P=E.exec(c.value)}return I?(b<c.value.length&&w.push({type:"text",value:c.value.slice(b)}),f.children.splice(R,1,...w)):w=[c],R+w.length}}function pf(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const u=n[r];t.push([Ef(u[0]),Tf(u[1])])}return t}function Ef(e){return typeof e=="string"?new RegExp(mf(e),"g"):e}function Tf(e){return typeof e=="function"?e:function(){return e}}const Hn="phrasing",Un=["autolink","link","image","label"];function gf(){return{transforms:[Nf],enter:{literalAutolink:_f,literalAutolinkEmail:vn,literalAutolinkHttp:vn,literalAutolinkWww:vn},exit:{literalAutolink:If,literalAutolinkEmail:Cf,literalAutolinkHttp:Af,literalAutolinkWww:xf}}}function bf(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Hn,notInConstruct:Un},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Hn,notInConstruct:Un},{character:":",before:"[ps]",after:"\\/",inConstruct:Hn,notInConstruct:Un}]}}function _f(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function vn(e){this.config.enter.autolinkProtocol.call(this,e)}function Af(e){this.config.exit.autolinkProtocol.call(this,e)}function xf(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Cf(e){this.config.exit.autolinkEmail.call(this,e)}function If(e){this.exit(e)}function Nf(e){Wi(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Sf],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),kf]],{ignore:["link","linkReference"]})}function Sf(e,t,n,r,u){let i="";if(!Qi(u)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!yf(n)))return!1;const a=Lf(n+r);if(!a[0])return!1;const o={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[o,{type:"text",value:a[1]}]:o}function kf(e,t,n,r){return!Qi(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function yf(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Lf(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const u=Ou(e,"(");let i=Ou(e,")");for(;r!==-1&&u>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function Qi(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||nt(n)||Tn(n))&&(!t||n!==47)}Gi.peek=Hf;function Of(){this.buffer()}function Df(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Rf(){this.buffer()}function Pf(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function wf(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ke(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Mf(e){this.exit(e)}function Bf(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ke(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Ff(e){this.exit(e)}function Hf(){return"["}function Gi(e,t,n,r){const u=n.createTracker(r);let i=u.move("[^");const a=n.enter("footnoteReference"),o=n.enter("reference");return i+=u.move(n.safe(n.associationId(e),{after:"]",before:i})),o(),a(),i+=u.move("]"),i}function Uf(){return{enter:{gfmFootnoteCallString:Of,gfmFootnoteCall:Df,gfmFootnoteDefinitionLabelString:Rf,gfmFootnoteDefinition:Pf},exit:{gfmFootnoteCallString:wf,gfmFootnoteCall:Mf,gfmFootnoteDefinitionLabelString:Bf,gfmFootnoteDefinition:Ff}}}function vf(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Gi},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,u,i,a){const o=i.createTracker(a);let l=o.move("[^");const c=i.enter("footnoteDefinition"),h=i.enter("label");return l+=o.move(i.safe(i.associationId(r),{before:l,after:"]"})),h(),l+=o.move("]:"),r.children&&r.children.length>0&&(o.shift(4),l+=o.move((t?` 30`:" ")+i.indentLines(i.containerFlow(r,o.current()),t?Xi:zf))),c(),l}}function zf(e,t,n){return t===0?e:Xi(e,t,n)}function Xi(e,t,n){return(n?"":" ")+e}const Yf=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Ki.peek=Qf;function jf(){return{canContainEols:["delete"],enter:{strikethrough:Vf},exit:{strikethrough:Wf}}}function qf(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Yf}],handlers:{delete:Ki}}}function Vf(e){this.enter({type:"delete",children:[]},e)}function Wf(e){this.exit(e)}function Ki(e,t,n,r){const u=n.createTracker(r),i=n.enter("strikethrough");let a=u.move("~~");return a+=n.containerPhrasing(e,{...u.current(),before:a,after:"~"}),a+=u.move("~~"),i(),a}function Qf(){return"~"}function Gf(e){return e.length}function Xf(e,t){const n=t||{},r=(n.align||[]).concat(),u=n.stringLength||Gf,i=[],a=[],o=[],l=[];let c=0,h=-1;for(;++h<e.length;){const N=[],R=[];let I=-1;for(e[h].length>c&&(c=e[h].length);++I<e[h].length;){const w=Kf(e[h][I]);if(n.alignDelimiters!==!1){const P=u(w);R[I]=P,(l[I]===void 0||P>l[I])&&(l[I]=P)}N.push(w)}a[h]=N,o[h]=R}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)i[f]=Du(r[f]);else{const N=Du(r);for(;++f<c;)i[f]=N}f=-1;const E=[],m=[];for(;++f<c;){const N=i[f];let R="",I="";N===99?(R=":",I=":"):N===108?R=":":N===114&&(I=":");let w=n.alignDelimiters===!1?1:Math.max(1,l[f]-R.length-I.length);const P=R+"-".repeat(w)+I;n.alignDelimiters!==!1&&(w=R.length+w+I.length,w>l[f]&&(l[f]=w),m[f]=w),E[f]=P}a.splice(1,0,E),o.splice(1,0,m),h=-1;const b=[];for(;++h<a.length;){const N=a[h],R=o[h];f=-1;const I=[];for(;++f<c;){const w=N[f]||"";let P="",v="";if(n.alignDelimiters!==!1){const Y=l[f]-(R[f]||0),y=i[f];y===114?P=" ".repeat(Y):y===99?Y%2?(P=" ".repeat(Y/2+.5),v=" ".repeat(Y/2-.5)):(P=" ".repeat(Y/2),v=P):v=" ".repeat(Y)}n.delimiterStart!==!1&&!f&&I.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&w==="")&&(n.delimiterStart!==!1||f)&&I.push(" "),n.alignDelimiters!==!1&&I.push(P),I.push(w),n.alignDelimiters!==!1&&I.push(v),n.padding!==!1&&I.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&I.push("|")}b.push(n.delimiterEnd===!1?I.join("").replace(/ +$/,""):I.join(""))}return b.join(` 31`)}function Kf(e){return e==null?"":String(e)}function Du(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}const Ru={}.hasOwnProperty;function $i(e,t){const n=t||{};function r(u,...i){let a=r.invalid;const o=r.handlers;if(u&&Ru.call(u,e)){const l=String(u[e]);a=Ru.call(o,l)?o[l]:r.unknown}if(a)return a.call(this,u,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function $f(e,t,n,r){const u=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const a=n.indentLines(n.containerFlow(e,i.current()),Jf);return u(),a}function Jf(e,t,n){return">"+(n?"":" ")+e}function Zf(e,t){return Pu(e,t.inConstruct,!0)&&!Pu(e,t.notInConstruct,!1)}function Pu(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function wu(e,t,n,r){let u=-1;for(;++u<n.unsafe.length;)if(n.unsafe[u].character===` 32`&&Zf(n.stack,n.unsafe[u]))return/[ \t]/.test(r.before)?"":" ";return`\\ 33`}function eh(e,t){const n=String(e);let r=n.indexOf(t),u=r,i=0,a=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===u?++i>a&&(a=i):i=1,u=r+t.length,r=n.indexOf(t,u);return a}function th(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))}function nh(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function rh(e,t,n,r){const u=nh(n),i=e.value||"",a=u==="`"?"GraveAccent":"Tilde";if(th(e,n)){const f=n.enter("codeIndented"),E=n.indentLines(i,uh);return f(),E}const o=n.createTracker(r),l=u.repeat(Math.max(eh(i,u)+1,3)),c=n.enter("codeFenced");let h=o.move(l);if(e.lang){const f=n.enter(`codeFencedLang${a}`);h+=o.move(n.safe(e.lang,{before:h,after:" ",encode:["`"],...o.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${a}`);h+=o.move(" "),h+=o.move(n.safe(e.meta,{before:h,after:` 34`,encode:["`"],...o.current()})),f()}return h+=o.move(` 35`),i&&(h+=o.move(i+` 36`)),h+=o.move(l),c(),h}function uh(e,t,n){return(n?"":" ")+e}function Ir(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function ih(e,t,n,r){const u=Ir(n),i=u==='"'?"Quote":"Apostrophe",a=n.enter("definition");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":` 37`,...l.current()}))),o(),e.title&&(o=n.enter(`title${i}`),c+=l.move(" "+u),c+=l.move(n.safe(e.title,{before:c,after:u,...l.current()})),c+=l.move(u),o()),a(),c}function ah(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function vt(e){return"&#x"+e.toString(16).toUpperCase()+";"}function cn(e,t,n){const r=dt(e),u=dt(t);return r===void 0?u===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Ji.peek=sh;function Ji(e,t,n,r){const u=ah(n),i=n.enter("emphasis"),a=n.createTracker(r),o=a.move(u);let l=a.move(n.containerPhrasing(e,{after:u,before:o,...a.current()}));const c=l.charCodeAt(0),h=cn(r.before.charCodeAt(r.before.length-1),c,u);h.inside&&(l=vt(c)+l.slice(1));const f=l.charCodeAt(l.length-1),E=cn(r.after.charCodeAt(0),f,u);E.inside&&(l=l.slice(0,-1)+vt(f));const m=a.move(u);return i(),n.attentionEncodeSurroundingInfo={after:E.outside,before:h.outside},o+l+m}function sh(e,t,n){return n.options.emphasis||"*"}function oh(e,t){let n=!1;return xn(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,$n}),!!((!e.depth||e.depth<3)&&Er(e)&&(t.options.setext||n))}function lh(e,t,n,r){const u=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(oh(e,n)){const h=n.enter("headingSetext"),f=n.enter("phrasing"),E=n.containerPhrasing(e,{...i.current(),before:` 38`,after:` 39`});return f(),h(),E+` 40`+(u===1?"=":"-").repeat(E.length-(Math.max(E.lastIndexOf("\r"),E.lastIndexOf(` 41`))+1))}const a="#".repeat(u),o=n.enter("headingAtx"),l=n.enter("phrasing");i.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:` 42`,...i.current()});return/^[\t ]/.test(c)&&(c=vt(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}Zi.peek=ch;function Zi(e){return e.value||""}function ch(){return"<"}ea.peek=fh;function ea(e,t,n,r){const u=Ir(n),i=u==='"'?"Quote":"Apostrophe",a=n.enter("image");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=n.enter(`title${i}`),c+=l.move(" "+u),c+=l.move(n.safe(e.title,{before:c,after:u,...l.current()})),c+=l.move(u),o()),c+=l.move(")"),a(),c}function fh(){return"!"}ta.peek=hh;function ta(e,t,n,r){const u=e.referenceType,i=n.enter("imageReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("![");const c=n.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const h=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=h,i(),u==="full"||!c||c!==f?l+=o.move(f+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function hh(){return"!"}na.peek=dh;function na(e,t,n){let r=e.value||"",u="`",i=-1;for(;new RegExp("(^|[^`])"+u+"([^`]|$)").test(r);)u+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const a=n.unsafe[i],o=n.compilePattern(a);let l;if(a.atBreak)for(;l=o.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return u+r+u}function dh(){return"`"}function ra(e,t){const n=Er(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}ua.peek=mh;function ua(e,t,n,r){const u=Ir(n),i=u==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(ra(e,n)){const h=n.stack;n.stack=[],o=n.enter("autolink");let f=a.move("<");return f+=a.move(n.containerPhrasing(e,{before:f,after:">",...a.current()})),f+=a.move(">"),o(),n.stack=h,f}o=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${i}`),c+=a.move(" "+u),c+=a.move(n.safe(e.title,{before:c,after:u,...a.current()})),c+=a.move(u),l()),c+=a.move(")"),o(),c}function mh(e,t,n){return ra(e,n)?"<":"["}ia.peek=ph;function ia(e,t,n,r){const u=e.referenceType,i=n.enter("linkReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const h=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=h,i(),u==="full"||!c||c!==f?l+=o.move(f+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function ph(){return"["}function Nr(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Eh(e){const t=Nr(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Th(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function aa(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function gh(e,t,n,r){const u=n.enter("list"),i=n.bulletCurrent;let a=e.ordered?Th(n):Nr(n);const o=e.ordered?a==="."?")":".":Eh(n);let l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&h&&(!h.children||!h.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),aa(n)===a&&h){let f=-1;for(;++f<e.children.length;){const E=e.children[f];if(E&&E.type==="listItem"&&E.children&&E.children[0]&&E.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(a=o),n.bulletCurrent=a;const c=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=i,u(),c}function bh(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function _h(e,t,n,r){const u=bh(n);let i=n.bulletCurrent||Nr(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let a=i.length+1;(u==="tab"||u==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const o=n.createTracker(r);o.move(i+" ".repeat(a-i.length)),o.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),h);return l(),c;function h(f,E,m){return E?(m?"":" ".repeat(a))+f:(m?i:i+" ".repeat(a-i.length))+f}}function Ah(e,t,n,r){const u=n.enter("paragraph"),i=n.enter("phrasing"),a=n.containerPhrasing(e,r);return i(),u(),a}const xh=_n(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Ch(e,t,n,r){return(e.children.some(function(a){return xh(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Ih(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}sa.peek=Nh;function sa(e,t,n,r){const u=Ih(n),i=n.enter("strong"),a=n.createTracker(r),o=a.move(u+u);let l=a.move(n.containerPhrasing(e,{after:u,before:o,...a.current()}));const c=l.charCodeAt(0),h=cn(r.before.charCodeAt(r.before.length-1),c,u);h.inside&&(l=vt(c)+l.slice(1));const f=l.charCodeAt(l.length-1),E=cn(r.after.charCodeAt(0),f,u);E.inside&&(l=l.slice(0,-1)+vt(f));const m=a.move(u+u);return i(),n.attentionEncodeSurroundingInfo={after:E.outside,before:h.outside},o+l+m}function Nh(e,t,n){return n.options.strong||"*"}function Sh(e,t,n,r){return n.safe(e.value,r)}function kh(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function yh(e,t,n){const r=(aa(n)+(n.options.ruleSpaces?" ":"")).repeat(kh(n));return n.options.ruleSpaces?r.slice(0,-1):r}const oa={blockquote:$f,break:wu,code:rh,definition:ih,emphasis:Ji,hardBreak:wu,heading:lh,html:Zi,image:ea,imageReference:ta,inlineCode:na,link:ua,linkReference:ia,list:gh,listItem:_h,paragraph:Ah,root:Ch,strong:sa,text:Sh,thematicBreak:yh};function Lh(){return{enter:{table:Oh,tableData:Mu,tableHeader:Mu,tableRow:Rh},exit:{codeText:Ph,table:Dh,tableData:zn,tableHeader:zn,tableRow:zn}}}function Oh(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Dh(e){this.exit(e),this.data.inTable=void 0}function Rh(e){this.enter({type:"tableRow",children:[]},e)}function zn(e){this.exit(e)}function Mu(e){this.enter({type:"tableCell",children:[]},e)}function Ph(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,wh));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function wh(e,t){return t==="|"?t:e}function Mh(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,u=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` 43`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:E,table:a,tableCell:l,tableRow:o}};function a(m,b,N,R){return c(h(m,N,R),m.align)}function o(m,b,N,R){const I=f(m,N,R),w=c([I]);return w.slice(0,w.indexOf(` 44`))}function l(m,b,N,R){const I=N.enter("tableCell"),w=N.enter("phrasing"),P=N.containerPhrasing(m,{...R,before:i,after:i});return w(),I(),P}function c(m,b){return Xf(m,{align:b,alignDelimiters:r,padding:n,stringLength:u})}function h(m,b,N){const R=m.children;let I=-1;const w=[],P=b.enter("table");for(;++I<R.length;)w[I]=f(R[I],b,N);return P(),w}function f(m,b,N){const R=m.children;let I=-1;const w=[],P=b.enter("tableRow");for(;++I<R.length;)w[I]=l(R[I],m,b,N);return P(),w}function E(m,b,N){let R=oa.inlineCode(m,b,N);return N.stack.includes("tableCell")&&(R=R.replace(/\|/g,"\\$&")),R}}function Bh(){return{exit:{taskListCheckValueChecked:Bu,taskListCheckValueUnchecked:Bu,paragraph:Hh}}}function Fh(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Uh}}}function Bu(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Hh(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const u=t.children;let i=-1,a;for(;++i<u.length;){const o=u[i];if(o.type==="paragraph"){a=o;break}}a===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function Uh(e,t,n,r){const u=e.children[0],i=typeof e.checked=="boolean"&&u&&u.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);i&&o.move(a);let l=oa.listItem(e,t,n,{...r,...o.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(h){return h+a}}function vh(){return[gf(),Uf(),jf(),Lh(),Bh()]}function zh(e){return{extensions:[bf(),vf(e),qf(),Mh(e),Fh()]}}const Yh={tokenize:Gh,partial:!0},la={tokenize:Xh,partial:!0},ca={tokenize:Kh,partial:!0},fa={tokenize:$h,partial:!0},jh={tokenize:Jh,partial:!0},ha={name:"wwwAutolink",tokenize:Wh,previous:ma},da={name:"protocolAutolink",tokenize:Qh,previous:pa},ve={name:"emailAutolink",tokenize:Vh,previous:Ea},we={};function qh(){return{text:we}}let $e=48;for(;$e<123;)we[$e]=ve,$e++,$e===58?$e=65:$e===91&&($e=97);we[43]=ve;we[45]=ve;we[46]=ve;we[95]=ve;we[72]=[ve,da];we[104]=[ve,da];we[87]=[ve,ha];we[119]=[ve,ha];function Vh(e,t,n){const r=this;let u,i;return a;function a(f){return!tr(f)||!Ea.call(r,r.previous)||Sr(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return tr(f)?(e.consume(f),o):f===64?(e.consume(f),l):n(f)}function l(f){return f===46?e.check(jh,h,c)(f):f===45||f===95||ce(f)?(i=!0,e.consume(f),l):h(f)}function c(f){return e.consume(f),u=!0,l}function h(f){return i&&u&&de(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function Wh(e,t,n){const r=this;return u;function u(a){return a!==87&&a!==119||!ma.call(r,r.previous)||Sr(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Yh,e.attempt(la,e.attempt(ca,i),n),n)(a))}function i(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function Qh(e,t,n){const r=this;let u="",i=!1;return a;function a(f){return(f===72||f===104)&&pa.call(r,r.previous)&&!Sr(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),u+=String.fromCodePoint(f),e.consume(f),o):n(f)}function o(f){if(de(f)&&u.length<5)return u+=String.fromCodePoint(f),e.consume(f),o;if(f===58){const E=u.toLowerCase();if(E==="http"||E==="https")return e.consume(f),l}return n(f)}function l(f){return f===47?(e.consume(f),i?c:(i=!0,l)):n(f)}function c(f){return f===null||on(f)||J(f)||nt(f)||Tn(f)?n(f):e.attempt(la,e.attempt(ca,h),n)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function Gh(e,t,n){let r=0;return u;function u(a){return(a===87||a===119)&&r<3?(r++,e.consume(a),u):a===46&&r===3?(e.consume(a),i):n(a)}function i(a){return a===null?n(a):t(a)}}function Xh(e,t,n){let r,u,i;return a;function a(c){return c===46||c===95?e.check(fa,l,o)(c):c===null||J(c)||nt(c)||c!==45&&Tn(c)?l(c):(i=!0,e.consume(c),a)}function o(c){return c===95?r=!0:(u=r,r=void 0),e.consume(c),a}function l(c){return u||r||!i?n(c):t(c)}}function Kh(e,t){let n=0,r=0;return u;function u(a){return a===40?(n++,e.consume(a),u):a===41&&r<n?i(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(fa,t,i)(a):a===null||J(a)||nt(a)?t(a):(e.consume(a),u)}function i(a){return a===41&&r++,e.consume(a),u}}function $h(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),i):o===93?(e.consume(o),u):o===60||o===null||J(o)||nt(o)?t(o):n(o)}function u(o){return o===null||o===40||o===91||J(o)||nt(o)?t(o):r(o)}function i(o){return de(o)?a(o):n(o)}function a(o){return o===59?(e.consume(o),r):de(o)?(e.consume(o),a):n(o)}}function Jh(e,t,n){return r;function r(i){return e.consume(i),u}function u(i){return ce(i)?n(i):t(i)}}function ma(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||J(e)}function pa(e){return!de(e)}function Ea(e){return!(e===47||tr(e))}function tr(e){return e===43||e===45||e===46||e===95||ce(e)}function Sr(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const Zh={tokenize:sd,partial:!0};function ed(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:ud,continuation:{tokenize:id},exit:ad}},text:{91:{name:"gfmFootnoteCall",tokenize:rd},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:td,resolveTo:nd}}}}function td(e,t,n){const r=this;let u=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;u--;){const l=r.events[u][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=ke(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!i.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function nd(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};u.end.column++,u.end.offset++,u.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},u.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",u,t],["exit",u,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function rd(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,a;return o;function o(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(i>999||f===93&&!a||f===null||f===91||J(f))return n(f);if(f===93){e.exit("chunkString");const E=e.exit("gfmFootnoteCallString");return u.includes(ke(r.sliceSerialize(E)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return J(f)||(a=!0),i++,e.consume(f),f===92?h:c}function h(f){return f===91||f===92||f===93?(e.consume(f),i++,c):c(f)}}function ud(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0,o;return l;function l(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(b)}function h(b){if(a>999||b===93&&!o||b===null||b===91||J(b))return n(b);if(b===93){e.exit("chunkString");const N=e.exit("gfmFootnoteDefinitionLabelString");return i=ke(r.sliceSerialize(N)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),E}return J(b)||(o=!0),a++,e.consume(b),b===92?f:h}function f(b){return b===91||b===92||b===93?(e.consume(b),a++,h):h(b)}function E(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),u.includes(i)||u.push(i),W(e,m,"gfmFootnoteDefinitionWhitespace")):n(b)}function m(b){return t(b)}}function id(e,t,n){return e.check(qt,t,e.attempt(Zh,t,n))}function ad(e){e.exit("gfmFootnoteDefinition")}function sd(e,t,n){const r=this;return W(e,u,"gfmFootnoteDefinitionIndent",5);function u(i){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(i):n(i)}}function od(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:i,resolveAll:u};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function u(a,o){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},f={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},E=[["enter",h,o],["enter",a[c][1],o],["exit",a[c][1],o],["enter",f,o]],m=o.parser.constructs.insideSpan.null;m&&be(E,E.length,0,gn(m,a.slice(c+1,l),o)),be(E,E.length,0,[["exit",f,o],["enter",a[l][1],o],["exit",a[l][1],o],["exit",h,o]]),be(a,c-1,l-c+3,E),l=c+E.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function i(a,o,l){const c=this.previous,h=this.events;let f=0;return E;function E(b){return c===126&&h[h.length-1][1].type!=="characterEscape"?l(b):(a.enter("strikethroughSequenceTemporary"),m(b))}function m(b){const N=dt(c);if(b===126)return f>1?l(b):(a.consume(b),f++,m);if(f<2&&!n)return l(b);const R=a.exit("strikethroughSequenceTemporary"),I=dt(b);return R._open=!I||I===2&&!!N,R._close=!N||N===2&&!!I,o(b)}}}class ld{constructor(){this.map=[],this.index=new Map}add(t,n,r){cd(this,t,n,r)}consume(t){if(this.map.sort(function(i,a){return i[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let u=r.pop();for(;u;){for(const i of u)t.push(i);u=r.pop()}this.map.length=0,this.index.clear()}}function cd(e,t,n,r){if(n===0&&r.length===0)return;const u=e.index.get(t);if(u){u[1]+=n,u[2].push(...r);return}const i=[t,n,r];e.map.push(i),e.index.set(t,i)}function fd(e,t){let n=!1;const r=[];for(;t<e.length;){const u=e[t];if(n){if(u[0]==="enter")u[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(u[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(u[1].type==="tableDelimiterRow")break}else u[0]==="enter"&&u[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function hd(){return{flow:{null:{name:"table",tokenize:dd,resolveAll:md}}}}function dd(e,t,n){const r=this;let u=0,i=0,a;return o;function o(S){let B=r.events.length-1;for(;B>-1;){const{type:ne}=r.events[B][1];if(ne==="lineEnding"||ne==="linePrefix")B--;else break}const F=B>-1?r.events[B][1].type:null,K=F==="tableHead"||F==="tableRow"?y:l;return K===y&&r.parser.lazy[r.now().line]?n(S):K(S)}function l(S){return e.enter("tableHead"),e.enter("tableRow"),c(S)}function c(S){return S===124||(a=!0,i+=1),h(S)}function h(S){return S===null?n(S):H(S)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),m):n(S):q(S)?W(e,h,"whitespace")(S):(i+=1,a&&(a=!1,u+=1),S===124?(e.enter("tableCellDivider"),e.consume(S),e.exit("tableCellDivider"),a=!0,h):(e.enter("data"),f(S)))}function f(S){return S===null||S===124||J(S)?(e.exit("data"),h(S)):(e.consume(S),S===92?E:f)}function E(S){return S===92||S===124?(e.consume(S),f):f(S)}function m(S){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(S):(e.enter("tableDelimiterRow"),a=!1,q(S)?W(e,b,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):b(S))}function b(S){return S===45||S===58?R(S):S===124?(a=!0,e.enter("tableCellDivider"),e.consume(S),e.exit("tableCellDivider"),N):Y(S)}function N(S){return q(S)?W(e,R,"whitespace")(S):R(S)}function R(S){return S===58?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(S),e.exit("tableDelimiterMarker"),I):S===45?(i+=1,I(S)):S===null||H(S)?v(S):Y(S)}function I(S){return S===45?(e.enter("tableDelimiterFiller"),w(S)):Y(S)}function w(S){return S===45?(e.consume(S),w):S===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(S),e.exit("tableDelimiterMarker"),P):(e.exit("tableDelimiterFiller"),P(S))}function P(S){return q(S)?W(e,v,"whitespace")(S):v(S)}function v(S){return S===124?b(S):S===null||H(S)?!a||u!==i?Y(S):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(S)):Y(S)}function Y(S){return n(S)}function y(S){return e.enter("tableRow"),Q(S)}function Q(S){return S===124?(e.enter("tableCellDivider"),e.consume(S),e.exit("tableCellDivider"),Q):S===null||H(S)?(e.exit("tableRow"),t(S)):q(S)?W(e,Q,"whitespace")(S):(e.enter("data"),ee(S))}function ee(S){return S===null||S===124||J(S)?(e.exit("data"),Q(S)):(e.consume(S),S===92?X:ee)}function X(S){return S===92||S===124?(e.consume(S),ee):ee(S)}}function md(e,t){let n=-1,r=!0,u=0,i=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,h,f;const E=new ld;for(;++n<e.length;){const m=e[n],b=m[1];m[0]==="enter"?b.type==="tableHead"?(o=!1,l!==0&&(Fu(E,t,l,c,h),h=void 0,l=0),c={type:"table",start:Object.assign({},b.start),end:Object.assign({},b.end)},E.add(n,0,[["enter",c,t]])):b.type==="tableRow"||b.type==="tableDelimiterRow"?(r=!0,f=void 0,i=[0,0,0,0],a=[0,n+1,0,0],o&&(o=!1,h={type:"tableBody",start:Object.assign({},b.start),end:Object.assign({},b.end)},E.add(n,0,[["enter",h,t]])),u=b.type==="tableDelimiterRow"?2:h?3:1):u&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(i[1]!==0&&(a[0]=a[1],f=Jt(E,t,i,u,void 0,f),i=[0,0,0,0]),a[2]=n)):b.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(a[0]=a[1],f=Jt(E,t,i,u,void 0,f)),i=a,a=[i[1],n,0,0])):b.type==="tableHead"?(o=!0,l=n):b.type==="tableRow"||b.type==="tableDelimiterRow"?(l=n,i[1]!==0?(a[0]=a[1],f=Jt(E,t,i,u,n,f)):a[1]!==0&&(f=Jt(E,t,a,u,n,f)),u=0):u&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&Fu(E,t,l,c,h),E.consume(t.events),n=-1;++n<t.events.length;){const m=t.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=fd(t.events,n))}return e}function Jt(e,t,n,r,u,i){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(i.end=Object.assign({},lt(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=lt(t.events,n[1]);if(i={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const c=lt(t.events,n[2]),h=lt(t.events,n[3]),f={type:o,start:Object.assign({},c),end:Object.assign({},h)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const E=t.events[n[2]],m=t.events[n[3]];if(E[1].end=Object.assign({},m[1].end),E[1].type="chunkText",E[1].contentType="text",n[3]>n[2]+1){const b=n[2]+1,N=n[3]-n[2]-1;e.add(b,N,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return u!==void 0&&(i.end=Object.assign({},lt(t.events,u)),e.add(u,0,[["exit",i,t]]),i=void 0),i}function Fu(e,t,n,r,u){const i=[],a=lt(t.events,n);u&&(u.end=Object.assign({},a),i.push(["exit",u,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function lt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const pd={name:"tasklistCheck",tokenize:Td};function Ed(){return{text:{91:pd}}}function Td(e,t,n){const r=this;return u;function u(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return J(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return H(l)?t(l):q(l)?e.check({tokenize:gd},t,n)(l):n(l)}}function gd(e,t,n){return W(e,r,"whitespace");function r(u){return u===null?n(u):t(u)}}function bd(e){return Ii([qh(),ed(),od(e),hd(),Ed()])}const _d={};function Ad(e){const t=this,n=e||_d,r=t.data(),u=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);u.push(bd(n)),i.push(vh()),a.push(zh(n))}function xd(e){Wi(e,[/\r?\n|\r/g,Cd])}function Cd(){return{type:"break"}}function Id(){return function(e){xd(e)}}const Hu=/[#.]/g;function Nd(e,t){const n=e||"",r={};let u=0,i,a;for(;u<n.length;){Hu.lastIndex=u;const o=Hu.exec(n),l=n.slice(u,o?o.index:n.length);l&&(i?i==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:a=l,u+=l.length),o&&(i=o[0],u++)}return{type:"element",tagName:a||t||"div",properties:r,children:[]}}function Ta(e,t,n){const r=n?Ld(n):void 0;function u(i,a,...o){let l;if(i==null){l={type:"root",children:[]};const c=a;o.unshift(c)}else{l=Nd(i,t);const c=l.tagName.toLowerCase(),h=r?r.get(c):void 0;if(l.tagName=h||c,Sd(a))o.unshift(a);else for(const[f,E]of Object.entries(a))kd(e,l.properties,f,E)}for(const c of o)nr(l.children,c);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return u}function Sd(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;
44if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const u=t[r];if(u&&typeof u=="object"){if(!Array.isArray(u))return!0;const i=u;for(const a of i)if(typeof a!="number"&&typeof a!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function kd(e,t,n,r){const u=mn(e,n);let i;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;i=r}else typeof r=="boolean"?i=r:typeof r=="string"?u.spaceSeparated?i=Vr(r):u.commaSeparated?i=vr(r):u.commaOrSpaceSeparated?i=Vr(vr(r).join(" ")):i=Uu(u,u.property,r):Array.isArray(r)?i=[...r]:i=u.property==="style"?yd(r):String(r);if(Array.isArray(i)){const a=[];for(const o of i)a.push(Uu(u,u.property,o));i=a}u.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[u.property]=i}}function nr(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)nr(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?nr(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Uu(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||Ht(n)===Ht(t)))return!0}return n}function yd(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function Ld(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const Od=["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"],Dd=Ta(jt,"div"),Rd=Ta(We,"g",Od);function Pd(e){const t=String(e),n=[];return{toOffset:u,toPoint:r};function r(i){if(typeof i=="number"&&i>-1&&i<=t.length){let a=0;for(;;){let o=n[a];if(o===void 0){const l=vu(t,n[a-1]);o=l===-1?t.length+1:l+1,n[a]=o}if(o>i)return{line:a+1,column:i-(a>0?n[a-1]:0)+1,offset:i};a++}}}function u(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length<i.line;){const o=n[n.length-1],l=vu(t,o),c=l===-1?t.length+1:l+1;if(o===c)break;n.push(c)}const a=(i.line>1?n[i.line-2]:0)+i.column-1;if(a<n[i.line-1])return a}}}function vu(e,t){const n=e.indexOf("\r",t),r=e.indexOf(` 45`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const Ze={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/"},ga={}.hasOwnProperty,wd=Object.prototype;function Md(e,t){const n=t||{};return kr({file:n.file||void 0,location:!1,schema:n.space==="svg"?We:jt,verbose:n.verbose||!1},e)}function kr(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},rn(e,r,n),n}case"#document":case"#document-fragment":{const r=t,u="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:ba(e,t.childNodes),data:{quirksMode:u}},e.file&&e.location){const i=String(e.file),a=Pd(i),o=a.toPoint(0),l=a.toPoint(i.length);n.position={start:o,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},rn(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},rn(e,r,n),n}default:return n=Bd(e,t),n}}function ba(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=kr(e,t[n]);r.push(u)}return r}function Bd(e,t){const n=e.schema;e.schema=t.namespaceURI===Ze.svg?We:jt;let r=-1;const u={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;ga.call(wd,l)||(u[l]=o.value)}const a=(e.schema.space==="svg"?Rd:Dd)(t.tagName,u,ba(e,t.childNodes));if(rn(e,t,a),a.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&ct(l.startTag),h=l&&l.endTag&&ct(l.endTag),f=kr(e,o.content);c&&h&&e.file&&(f.position={start:c.end,end:h.start}),a.content=f}return e.schema=n,a}function rn(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=Fd(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}
45function Fd(e,t,n){const r=ct(n);if(t.type==="element"){const u=t.children[t.children.length-1];if(r&&!n.endTag&&u&&u.position&&u.position.end&&(r.end=Object.assign({},u.position.end)),e.verbose){const i={};let a;if(n.attrs)for(a in n.attrs)ga.call(n.attrs,a)&&(i[mn(e.schema,a).property]=ct(n.attrs[a]));n.startTag;const o=ct(n.startTag),l=n.endTag?ct(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=i,t.data={position:c}}}return r}function ct(e){const t=zu({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=zu({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function zu(e){return e.line&&e.column?e:void 0}const Hd={},Ud={}.hasOwnProperty,_a=$i("type",{handlers:{root:zd,element:Wd,text:qd,comment:Vd,doctype:jd}});function vd(e,t){const r=(t||Hd).space;return _a(e,r==="svg"?We:jt)}function zd(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=yr(e.children,n,t),bt(e,n),n}function Yd(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=yr(e.children,n,t),bt(e,n),n}function jd(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return bt(e,t),t}function qd(e){const t={nodeName:"#text",value:e.value,parentNode:null};return bt(e,t),t}function Vd(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return bt(e,t),t}function Wd(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=We);const u=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&Ud.call(e.properties,i)){const l=Qd(r,i,e.properties[i]);l&&u.push(l)}}const a=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:u,namespaceURI:Ze[a],childNodes:[],parentNode:null};return o.childNodes=yr(e.children,o,r),bt(e,o),e.tagName==="template"&&e.content&&(o.content=Yd(e.content,r)),o}function Qd(e,t,n){const r=mn(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?li(n):Ti(n));const u={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const i=u.name.indexOf(":");i<0?u.prefix="":(u.name=u.name.slice(i+1),u.prefix=r.attribute.slice(0,i)),u.namespace=Ze[r.space]}return u}function yr(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const i=_a(e[r],n);i.parentNode=t,u.push(i)}return u}function bt(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Gd=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Xd=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]),te="�";var d;(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"})(d||(d={}));const me={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Aa(e){return e>=55296&&e<=57343}function Kd(e){return e>=56320&&e<=57343}function $d(e,t){return(e-55296)*1024+9216+t}function xa(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Ca(e){return e>=64976&&e<=65007||Xd.has(e)}var C;(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.invali
vendor: 5,869 bytes, line 45
45dFirstCharacterOfTagName="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"})(C||(C={}));const Jd=65536;class Zd{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=Jd,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:u,offset:i}=this,a=u+n,o=i+n;return{code:t,startLine:r,endLine:r,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(Kd(n))return this.pos++,this._addGap(),$d(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,d.EOF;return this._err(C.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,d.EOF;const r=this.html.charCodeAt(n);return r===d.CARRIAGE_RETURN?d.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,d.EOF;let t=this.html.charCodeAt(this.pos);return t===d.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,d.LINE_FEED):t===d.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Aa(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>
4531&&t<127||t===d.LINE_FEED||t===d.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){xa(t)?this._err(C.controlCharacterInInputStream):Ca(t)&&this._err(C.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var j;(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"})(j||(j={}));function Ia(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const em
vendor: 16,147 bytes, line 45
45=new Uint16Array('áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms�¦³¹ÃÃligè»ÃäPè»&ä¦cuteè»Ãäreve;äÄiyx}rcè»Ãä;är;ìðraveè»Ãäpha;äacr;äd;æ©Ägp¡on;äf;ìð¸plyFunction;æ¡ingè»Ã
ä
Äcs¾Ãr;ìðign;æildeè»Ãämlè»ÃäÐaceforsuåûþÄÄĢħĪÄcrêòkslash;æÅ¶Ã¶Ã¸;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ìð
pf;ìð¹eve;äcòÄmpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»Â©ä©ÆcpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»Ãärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·Ã²Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ìðpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ìðÄaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ìð»Æ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegraìȹoɴ͹\0\0ͻ»ÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æeÃ¥ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ìðrok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»Ãäcuteè»ÃäÆaiyÓÓÓron;ärcè»Ãä;äot;är;ìðraveè»Ãäement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ìð¼silon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»ÃäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ìðlledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ìð½All;æriertrf;æ±cÃ²×ØJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ìð;æpf;ìð¾eaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ìð¢;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
òکrok;ä¦mpÅÛÛownHumðįqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»ÃäÄiyÜÜrcè»Ãä;äot;ä°r;æraveè»ÃäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lieóÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ìða;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»ÃäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ìðpf;ìðÇ£ß\0ßr;ìð¥rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ìðpf;ìðcr;ìð¦ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ightáÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ìðÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ightáοightáÏf;ìðerÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©Ã²à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ìðnusPlus;æpf;ìðcò੶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«Ã«à«eryThiîà«tedÄGL૸à¬reaterGreateòٳessLesóà©Line;är;ìðÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ìð©ildeè»Ãä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»ÃäÄiyà·à·rcè»Ãä;äblac;ä
r;ìðraveè»ÃäÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ìðenCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ìðªashè»ÃäiŬื฼deè»Ãäes;樷mlè»ÃäerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ìði;ä¦;ä usMinus;ä±ÄipຢàºncareplanÃ¥Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ìð«;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ìðpf;æcr;ìð¬ØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»Â®ä®Æcnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r»ཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ìðortÈDLRUáªá´á¾á
ownArrow»ÐeftArrow»à¢ightArrow»à¿pArrow;ægma;ä£allCircle;æpf;ìðɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ìð®ar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Tháà¾;æÆ;esááá£ærsetÄ;Eááæqual;æet»áÖHRSacfhiorsá¾ááááá±á¶ááááORNè»ÃäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ìðÄeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ìðipleDot;æÄctáár;ìð¯rok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»ÃärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»Ãä;ä£blac;ä
°r;ìðraveè»Ãäacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ìðÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥ownáϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ìð°ilde;ä
¨mlè»ÃäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ìðpf;ìðcr;ìð±dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ìðpf;ìðcr;ìð²Èfiosáááár;ìð;äpf;ìðcr;ìð³ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»ÃäÄiyáárc;ä
¶;ä«r;ìðpf;ìðcr;ìð´ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidtèà«a;är;æ¨pf;æ¤cr;ìðµà¯¡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»Ã¡ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»Ã¢ä¢teè»Â´Ì;ä°ligè»Ã¦ä¦Ä;r²áº;ìðraveè»Ã ä ÄepááÄfpáásym;æµÃ¨áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e»ásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢Â»Â¹arr;æ¼Ägpá£á§on;ä
f;ìðÎ;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eááñáingè»Ã¥ä¥Æctyá¡á¦á¨r;ìð¶;äªmpÄ;eáá¯Ã±Êildeè»Ã£ä£mlè»Ã¤ä¤Äciááoninôɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e»árkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰séánoÃµÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ìðgÎcostuvwááá³ááááÆaiuáááÃ°Ý rc;æ¯pÂ»á±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨eÃ¥áÃ¥áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ìðÄ;táá¡£om»átie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»Â¦ä¦Èceioá¥á¥á¥á¥ r;ìð·mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t»᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æÃ®ÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;ädilè»Ã§ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»Â¸Æptyv;榲tè¢;eá¨á¨®ä¢räƲr;ìð Æceiᨽá©á©y;äckÄ;má©á©æark»á©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáªÂ»à½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it»᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;qÃÃÉá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æÃ®á
eÄmx᫱᫶ent»᫩eóÉǧ᫾\0á¬Ä;dá»á¬ot;æ©nÃ´ÉÆfryá¬á¬á¬;ìðoäÉè©;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ìð¸ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯reãá³uãáµee;æedge;æenè»Â¤ä¤earrowÄlrᯮ᯳eft»á®ight»ᮽeäá¯Äciá°á°oninôǷnt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·ròÎar;楥Èglrsá±á±á±á±ger;æ eth;æ¸Ã²á³hÄ;vá±á±æÂ»à¤Å«á±¡á±§arow;æ¤aãÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»Â°ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ìð¡arÄlrᲳᲵ»à£Â»áÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè÷;oá³§á³°ntimes;ænø᳷cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ìðÊ;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedgåúnÆadhá®áµáµ§ownarrowóá²arpoonÄlrᵲᵶefôᲴighôᲶŢᵿá¶
karo÷à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ìð¹;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·ròЩaòྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´oôá²Äcsá¸á¸uteè»Ã©ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»Ãªäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ìð¢Æ;rsá¹á¹á¹æªaveè»Ã¨ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et»áºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ìðÆalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon»á»;äµÈcsuvỪỳá¼á¼£Äioữḱrc»Ḯɩỹ\0\0á»»ÃÕantÄglá¼á¼tr»á¹ess»ṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯oôÍÄahá½á½;ä·è»Ã°ä°Ämrá½á½lè»Ã«ä«o;æ¬Æcipὡὤὧl;ä¡sôծÄeoὬὴctatioîÕnentialåչৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotseñá¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ìð£lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ìðÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»Â½ä½;æ
è»Â¼ä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»Â¾ä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ìð»à¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlanô٥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ìð¤Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox»â¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ìðÄciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âproøâr;楸qÄlqØ¿âlesóâiÃÙ«Äenâ£ârtneqq;ìâ©ï¸Ã
âªÔAabcefkosyâââ±âµâºâââ¯â¨â½ròΠÈilmrâââârsðáf»â¤ilôکÄdrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it»âlip;æ¦con;æ¹r;ìð¥sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ìðbar;æÆcltâ¯â´â¸r;ìð½asèâ´rok;ä§Äbpââull;æhen»á±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»ÃäÆ;iyݱâ°âµrcè»Ã®ä®;ä¸Äcxâ¼â¿y;äµclè»Â¡ä¡ÄfrÎâ;ìð¦raveè»Ã¬ä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââinÃ¥ÞarÃ´Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§doôâÊ;celpÝââââ¡al;æºÄgrââeróá£Ã£âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ìða;ä¹uestè»Â¿ä¿Äciââr;ìð¾nÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»Ã¯ä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ìð§ath;ä·pf;ìðÇ£â¬\0â±r;ìð¿rcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ìð¨reen;ä¸cy;ä
cy;äpf;ìðcr;ìðà®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼ròà§Ã²Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴raîà¡bda;ä»gÆ;dlà¢ââ;æ¦Ã¥à¢;æª
uoè»Â«ä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤Ã«âp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼Ã¬à¢°Ã¢â©;
vendor: 10,541 bytes, line 45
45ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡aéâ¶arpoonÄduâ¯â´own»Ñp»०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoonóà¾quigarro÷â°hreetimes;æÆ;qsâà¦âºlanôবÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââpproøâot;æqÄgqââ
ôà¦gtòâôà¦iÃলÆilrâ࣡âsht;楼;ìð©Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââròâorneòá´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che»âÈEaesâ»â½ââ;æ¨pÄ;pââæªrox»âÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½rëà£gÆlmrâ¿ââeftÄar০âightá৲apsto;æ¼ightá৽parrowÄlrâ¥â©efôâight;æ¬Æaflâ¶â¹â½r;æ¦
;ìðus;æ¨imes;樴šââst;æÃ¡áÆ;efââá ænge»âarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âròࢨorneòá¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ìðmÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹reÃ¥â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸Ã
â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»Â¯ä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se»â¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»owîÒefôà¤Ã°áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle»á¦r;ìðªo;æ§Æcdn⢯⢴â£roè»ÂµäµÈ;acdá¤â¢½â£â£sôá§ir;æ«°otè»Â·ÆµusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«Ã²âðàªÄdp⣩⣮els;æ§f;ìðÄct⣸⣽r;ìðpos»áÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la»Ëute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
roøà¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»Â ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸uiöà£Äeiâ©â©ar;椨Ãà®istÄ;sà® à®r;ìð«ÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lanô௢iÃ௪Ä;rà®¶âªÂ»à®·ÆAapâªâªâªrò⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹rò⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro÷â«ightarroÃ·âªÆ;qs఻⪺⫪lanôà±Ä;sà±â«´Â»à°¶iÃà±Ä;rవ⫾iÄ;eà°à°¥iäà¶Äptâ¬â¬f;ìðè¬;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlleìà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³uåಥÄ;cà²â¸Ä;eà²â½Ã±à²ÈAaitâ®â®â®â®§ròâ¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow»â®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯uÃ¥àµ
;ìðortÉâ¬
\0\0â¯aráâmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯Ã¥à³¸Ã¥à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°Ã±à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±Ã¬à¯ldeè»Ã±ä±Ã§à±iangleÄlrâ±â±eftÄ;eà°â±Ã±à°¦ightÄ;eà³â±¥Ã±à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»Ã³ä³Äiyâ´¼âµ
rÄ;cáªâµè»Ã´ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ìð¬Í¯âµ¹\0\0âµ¼\0â¶n;äaveè»Ã²ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨ròáªÄirâ¶â¶ r;榾oss;榻nÃ¥à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ìð Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨ròáªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f»ⷿè»Âªäªè»Âºäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§Ã²â¸ashè»Ã¸ä¸l;æiŬⸯ⸴deè»ÃµäµesÄ;aÇ⸺s;樶mlè»Ã¶ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;astÐâ¹§â¹²àº
è¶;lâ¹â¹®ä¶leìÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ìðÆimo⺨⺰⺴Ä;vâºâº®ä;ämaô੶ne;æÆ;tv⺿â»â»ächfork»´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æÃ¶â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»Â±àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ìð¡ndè»Â£ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷uÃ¥à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾pproøâ½urlyeñà»Ã±à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨iÃà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½ºÃ°â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴ï໻rel;æ°Äciâ¿â¿
r;ìð
;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ìð®pf;ìð¢rime;æcr;ìðÆaeo⿸ããtÄei⿾ã
rnionóڰnt;æ¨stÄ;eããä¿Ã±á¼Ã´à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããròá³Ã²Ïail;æ¤aròᱥar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
iãá
®mptyv;榳gÈ;delà¿ããã;æ¦;榥åà¿uoè»Â»ä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤Ã«âðâ®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶alÃ³à¼Æabrã§ãªã®ròá¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
ì࿲âãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
ánÃ¥á»arôྩt;æÆilrã
©á£ã
®sht;楽;ìð¯Äaoã
·ãrÄduã
½ã
¿Â»Ñ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãaéãarpoonÄduã»ã¿owîã
¾p»áeftÄahããrrowó࿪arpoonóÕightarrows;æquigarro÷ãhreetimes;æg;äingdotseñἲÆahmãããrò࿪aòÕ;æoustÄ;aããæ±che»ãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾rëáÆaflãããr;æ¦;ìð£us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨aròã£Èachqã»ãá¼ã
quo;æºr;ìðÄbuã»ãoÄ;rÈÈÆhirããã reÃ¥ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
quïâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡uÃ¥á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨iÃá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrããëâ¨Ä;oਸ਼਴tè»Â§ä§i;ä»war;椩mÄinã©Ã°nuóñt;æ¶rÄ;oã¶âìð°Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãiäá¤araì⹯è»ÂäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲aròá½Èaeitã¸ãããÄlsã½ãlsetméãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ìð¤aÄdrãÐesÄ;uããæ it»ãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáãñáÆ;esá¨áãetÄ;eá¨ãÃ±á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±Â»á
¼aròá
Ècemtã¹ã¾ãã
r;ìðtmîñiìãaræá¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsiloîỠhé⺯s»â¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦pproøãºurlyeñá¾Ã±á³Æaesãããpproøãqñãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»Â¹ä¹è»Â²ä²è»Â³ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨Ã«â®Ä;oਫ਩war;椪ligè»Ãä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;ärÃ«à¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ìð±Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®pproøáim»á¬sðáÄasãºã®Ã°árnè»Ã¾ä¾Ç¬Ìãâ§esèÃ;bdãããäÄ;aá¤ãr;樱;樰Æepsã¡ã£ãáâ©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ìð¥rk;æ«Ã¡ã¢rime;æ´Æaipããã¤dÃ¥áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown»ᶻeftÄ;eâ ã¾Ã±à¤®;æightÄ;eãªãñáot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ìð;äcy;ärok;ä
§Äioããxôá·headÄlrãã eftarro÷à¡ightarrow»à½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶ròÏar;楣Äcrãã¢uteè»ÃºäºÃ²á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»Ã»ä»;äÆabhã ã ã ròálac;ä
±aòáÄirã ã sht;楾;ìð²raveè»Ã¹ä¹Å¡ã §ã ±rÄlr㠬㠮»à¥Â»álk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær»ã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»Â¨ÍÄgp㡢㡦on;ä
³f;ìð¦Ìadhlsuá
㡸㡽á²ã¢ã¢ ownáá³arpoonÄlrã¢ã¢efôã ighô㠯iÆ;hlã¢ã¢ã¢ä
»áºon»ã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær»㢽op;æng;ä
¯ri;æ¹cr;ìðÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨Â»á Äam㣯㣲rò㢨lè»Ã¼ä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ ròϷarÄ;v㤦㤧櫨;æ«©asèϡÄnr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦appáâothinÃ§áºÆhirã«â»ã¥opô⾵Ä;há·ã¥¢Ã¯ãÄiu㥩ã¥gmáã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦etáãiangleÄlr㦪㦯eft»थight»áy;ä²ashÂ»á¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨aòá©r;ìð³tré㦮suÄbp㧯㧱»à´Â»àµpf;ìð§roð໻tré㦴Äcuã¨ã¨r;ìðÄbpã¨ã¨nÄEeã¦ã¨Â»ã¥¾nÄEeã¦ã¨Â»ã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ìð´pf;ìð¨Ä;eá¹ã©¦atèá¹cr;ìðà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátréár;ìðµÄAaãªãªròÏrò৶;ä¾ÄAa㪡㪤ròθrò৫aðâis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ìð©imÃ¥á²ÄAaã«ã«ròÏròà¨Äcqã«á¸r;ìðÄptáã«réáÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»Ã½ä½;äÄiyã¬ã¬rc;ä
·;änè»Â¥ä¥r;ìð¶cy;äpf;ìðªcr;ìðÄcm㬦㬩y;älè»Ã¿ä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡træáa;ä¶r;ìð·cy;ä¶grarr;æpf;ìð«cr;ìðÄjnã®
ã®;æj;æ'.split("").map(e=>e.charCodeAt(0))),
45tm=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function nm(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=tm.get(e))!==null&&t!==void 0?t:e}var ae;(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"})(ae||(ae={}));const rm=32;var Ve;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Ve||(Ve={}));function rr(e){return e>=ae.ZERO&&e<=ae.NINE}function um(e){return e>=ae.UPPER_A&&e<=ae.UPPER_F||e>=ae.LOWER_A&&e<=ae.LOWER_F}function im(e){return e>=ae.UPPER_A&&e<=ae.UPPER_Z||e>=ae.LOWER_A&&e<=ae.LOWER_Z||rr(e)}function am(e){return e===ae.EQUALS||im(e)}var ie;(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"})(ie||(ie={}));var Ue;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ue||(Ue={}));class sm{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=ie.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ue.Strict}startEntity(t){this.decodeMode=t,this.state=ie.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case ie.EntityStart:return t.charCodeAt(n)===ae.NUM?(this.state=ie.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=ie.NamedEntity,this.stateNamedEntity(t,n));case ie.NumericStart:return this.stateNumericStart(t,n);case ie.NumericDecimal:return this.stateNumericDecimal(t,n);case ie.NumericHex:return this.stateNumericHex(t,n);case ie.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|rm)===ae.LOWER_X?(this.state=ie.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=ie.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,u){if(n!==r){const i=r-n;this.result=this.result*Math.pow(u,i)+Number.parseInt(t.substr(n,i),u),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(rr(u)||um(u))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(u,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(rr(u))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(u,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ae.SEMI)this.consumed+=1;else if(this.decodeMode===Ue.Strict)return 0;return this.emitCodePoint(nm(this.result),this.consumed),this.errors&&(t!==ae.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let u=r[this.treeIndex],i=(u&Ve.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=om(r,u,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Ue.Attribute&&(i===0||am(a))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],i=(u&Ve.VALUE_LENGTH)>>14,i!==0){if(a===ae.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Ue.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,u=(r[n]&Ve.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,u,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:u}=this;return this.emitCodePoint(n===1?u[t]&~Ve.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case ie.NamedEntity:return this.result!==0&&(this.decodeMode!==Ue.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ie.NumericDecimal:return this.emitNumericEntity(0,2);case ie.NumericHex:return this.emitNumericEntity(0,3);case ie.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ie.EntityStart:return 0}}}function om(e,t,n,r){const u=(t&Ve.BRANCH_LENGTH)>>7,i=t&Ve.JUMP_TABLE;if(u===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=u?-1:e[n+l]-1}let a=n,o=a+u-1;for(;a<=o;){const l=a+o>>>1,c=e[l];
45if(c<r)a=l+1;else if(c>r)o=l-1;else return e[l+u]}return-1}var L;(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/"})(L||(L={}));var et;(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"})(et||(et={}));var Ae;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Ae||(Ae={}));var A;(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"})(A||(A={}));var 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"})(s||(s={}));const lm=new Map([[A.A,s.A],[A.ADDRESS,s.ADDRESS],[A.ANNOTATION_XML,s.ANNOTATION_XML],[A.APPLET,s.APPLET],[A.AREA,s.AREA],[A.ARTICLE,s.ARTICLE],[A.ASIDE,s.ASIDE],[A.B,s.B],[A.BASE,s.BASE],[A.BASEFONT,s.BASEFONT],[A.BGSOUND,s.BGSOUND],[A.BIG,s.BIG],[A.BLOCKQUOTE,s.BLOCKQUOTE],[A.BODY,s.BODY],[A.BR,s.BR],[A.BUTTON,s.BUTTON],[A.CAPTION,s.CAPTION],[A.CENTER,s.CENTER],[A.CODE,s.CODE],[A.COL,s.COL],[A.COLGROUP,s.COLGROUP],[A.DD,s.DD],[A.DESC,s.DESC],[A.DETAILS,s.DETAILS
vendor: 8,539 bytes, line 45
45],[A.DIALOG,s.DIALOG],[A.DIR,s.DIR],[A.DIV,s.DIV],[A.DL,s.DL],[A.DT,s.DT],[A.EM,s.EM],[A.EMBED,s.EMBED],[A.FIELDSET,s.FIELDSET],[A.FIGCAPTION,s.FIGCAPTION],[A.FIGURE,s.FIGURE],[A.FONT,s.FONT],[A.FOOTER,s.FOOTER],[A.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[A.FORM,s.FORM],[A.FRAME,s.FRAME],[A.FRAMESET,s.FRAMESET],[A.H1,s.H1],[A.H2,s.H2],[A.H3,s.H3],[A.H4,s.H4],[A.H5,s.H5],[A.H6,s.H6],[A.HEAD,s.HEAD],[A.HEADER,s.HEADER],[A.HGROUP,s.HGROUP],[A.HR,s.HR],[A.HTML,s.HTML],[A.I,s.I],[A.IMG,s.IMG],[A.IMAGE,s.IMAGE],[A.INPUT,s.INPUT],[A.IFRAME,s.IFRAME],[A.KEYGEN,s.KEYGEN],[A.LABEL,s.LABEL],[A.LI,s.LI],[A.LINK,s.LINK],[A.LISTING,s.LISTING],[A.MAIN,s.MAIN],[A.MALIGNMARK,s.MALIGNMARK],[A.MARQUEE,s.MARQUEE],[A.MATH,s.MATH],[A.MENU,s.MENU],[A.META,s.META],[A.MGLYPH,s.MGLYPH],[A.MI,s.MI],[A.MO,s.MO],[A.MN,s.MN],[A.MS,s.MS],[A.MTEXT,s.MTEXT],[A.NAV,s.NAV],[A.NOBR,s.NOBR],[A.NOFRAMES,s.NOFRAMES],[A.NOEMBED,s.NOEMBED],[A.NOSCRIPT,s.NOSCRIPT],[A.OBJECT,s.OBJECT],[A.OL,s.OL],[A.OPTGROUP,s.OPTGROUP],[A.OPTION,s.OPTION],[A.P,s.P],[A.PARAM,s.PARAM],[A.PLAINTEXT,s.PLAINTEXT],[A.PRE,s.PRE],[A.RB,s.RB],[A.RP,s.RP],[A.RT,s.RT],[A.RTC,s.RTC],[A.RUBY,s.RUBY],[A.S,s.S],[A.SCRIPT,s.SCRIPT],[A.SEARCH,s.SEARCH],[A.SECTION,s.SECTION],[A.SELECT,s.SELECT],[A.SOURCE,s.SOURCE],[A.SMALL,s.SMALL],[A.SPAN,s.SPAN],[A.STRIKE,s.STRIKE],[A.STRONG,s.STRONG],[A.STYLE,s.STYLE],[A.SUB,s.SUB],[A.SUMMARY,s.SUMMARY],[A.SUP,s.SUP],[A.TABLE,s.TABLE],[A.TBODY,s.TBODY],[A.TEMPLATE,s.TEMPLATE],[A.TEXTAREA,s.TEXTAREA],[A.TFOOT,s.TFOOT],[A.TD,s.TD],[A.TH,s.TH],[A.THEAD,s.THEAD],[A.TITLE,s.TITLE],[A.TR,s.TR],[A.TRACK,s.TRACK],[A.TT,s.TT],[A.U,s.U],[A.UL,s.UL],[A.SVG,s.SVG],[A.VAR,s.VAR],[A.WBR,s.WBR],[A.XMP,s.XMP]]);function _t(e){var t;return(t=lm.get(e))!==null&&t!==void 0?t:s.UNKNOWN}const O=s,cm={[L.HTML]:new Set([O.ADDRESS,O.APPLET,O.AREA,O.ARTICLE,O.ASIDE,O.BASE,O.BASEFONT,O.BGSOUND,O.BLOCKQUOTE,O.BODY,O.BR,O.BUTTON,O.CAPTION,O.CENTER,O.COL,O.COLGROUP,O.DD,O.DETAILS,O.DIR,O.DIV,O.DL,O.DT,O.EMBED,O.FIELDSET,O.FIGCAPTION,O.FIGURE,O.FOOTER,O.FORM,O.FRAME,O.FRAMESET,O.H1,O.H2,O.H3,O.H4,O.H5,O.H6,O.HEAD,O.HEADER,O.HGROUP,O.HR,O.HTML,O.IFRAME,O.IMG,O.INPUT,O.LI,O.LINK,O.LISTING,O.MAIN,O.MARQUEE,O.MENU,O.META,O.NAV,O.NOEMBED,O.NOFRAMES,O.NOSCRIPT,O.OBJECT,O.OL,O.P,O.PARAM,O.PLAINTEXT,O.PRE,O.SCRIPT,O.SECTION,O.SELECT,O.SOURCE,O.STYLE,O.SUMMARY,O.TABLE,O.TBODY,O.TD,O.TEMPLATE,O.TEXTAREA,O.TFOOT,O.TH,O.THEAD,O.TITLE,O.TR,O.TRACK,O.UL,O.WBR,O.XMP]),[L.MATHML]:new Set([O.MI,O.MO,O.MN,O.MS,O.MTEXT,O.ANNOTATION_XML]),[L.SVG]:new Set([O.TITLE,O.FOREIGN_OBJECT,O.DESC]),[L.XLINK]:new Set,[L.XML]:new Set,[L.XMLNS]:new Set},ur=new Set([O.H1,O.H2,O.H3,O.H4,O.H5,O.H6]);A.STYLE,A.SCRIPT,A.XMP,A.IFRAME,A.NOEMBED,A.NOFRAMES,A.PLAINTEXT;var p;(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"})(p||(p={}));const re={DATA:p.DATA,RCDATA:p.RCDATA,RAWTEXT:p.RAWTEXT,SCRIPT_DATA:p.SCRIPT_DATA,PLAINTEXT:p.PLAINTEXT,CDATA_SECTION:p.CDATA_SECTION};function fm(e){return e>=d.DIGIT_0&&e<=d.DIGIT_9}function Lt(e){return e>=d.LATIN_CAPITAL_A&&e<=d.LATIN_CAPITAL_Z}function hm(e){return e>=d.LATIN_SMALL_A&&e<=d.LATIN_SMALL_Z}function je(e){return hm(e)||Lt(e)}function Yu(e){return je(e)||fm(e)}function Zt(e){return e+32}function Na(e){return e===d.SPACE||e===d.LINE_FEED||e===d.TABULATION||e===d.FORM_FEED}function ju(e){return Na(e)||e===d.SOLIDUS||e===d.GREATER_THAN_SIGN}function dm(e){return e===d.NULL?C.nullCharacterReference:e>1114111?C.characterReferenceOutsideUnicodeRange:Aa(e)?C.surrogateCharacterReference:Ca(e)?C.noncharacterCharacterReference:xa(e)||e===d.CARRIAGE_RETURN?C.controlCharacterReference:null}class mm{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=p.DATA,this.returnState=p.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Zd(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new sm(em,(r,u)=>{this.preprocessor.pos=this.entityStartPos+u-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(C.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(C.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)}
vendor: 7,291 bytes, line 45
45,validateNumericCharacterReference:r=>{const u=dm(r);u&&this._err(u,1)}}:void 0)}_err(t,n=0){var r,u;(u=(r=this.handler).onParseError)===null||u===void 0||u.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:j.START_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:j.END_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:j.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:j.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Ia(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const u=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);u[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(C.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=_t(t.tagName),t.type===j.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(C.endTagWithAttributes),t.selfClosing&&this._err(C.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 j.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case j.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case j.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:j.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Na(t)?j.WHITESPACE_CHARACTER:t===d.NULL?j.NULL_CHARACTER:j.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(j.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=p.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Ue.Attribute:Ue.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===p.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===p.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===p.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case p.DATA:{this._stateData(t);break}case p.RCDATA:{this._stateRcdata(t);break}case p.RAWTEXT:{this._stateRawtext(t);break}case p.SCRIPT_DATA:{this._stateScriptData(t);break}case p.PLAINTEXT:{this._statePlaintext(t);break}case p.TAG_OPEN:{this._stateTagOpen(t);break}case p.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case p.TAG_NAME:{this._stateTagName(t);break}case p.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case p.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case p.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case p.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case p.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case p.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case p.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case p.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case p.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case p.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case p.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case p.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case p.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case p.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case p.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case p.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscape
45Start(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case p.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case p.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case p.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case p.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case p.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case p.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case p.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case p.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case p.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case p.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case p.BOGUS_COMMENT:{this._stateBogusComment(t);break}case p.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case p.COMMENT_START:{this._stateCommentStart(t);break}case p.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case p.COMMENT:{this._stateComment(t);break}case p.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case p.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case p.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case p.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case p.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case p.COMMENT_END:{this._stateCommentEnd(t);break}case p.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case p.DOCTYPE:{this._stateDoctype(t);break}case p.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case p.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case p.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case p.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case p.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case p.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case p.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case p.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case p.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case p.CDATA_SECTION:{this._stateCdataSection(t);break}case p.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case p.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case p.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case p.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case d.LESS_THAN_SIGN:{this.state=p.TAG_OPEN;break}case d.AMPERSAND:{this._startCharacterReference();break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitCodePoint(t);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case d.AMPERSAND:{this._startCharacterReference();break}case d.LESS_THAN_SIGN:{this.state=p.RCDATA_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(te);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case d.LESS_THAN_SIGN:{this.state=p.RAWTEXT_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(te);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(te);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(te);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(je(t))this._createStartTagToken(),this.state=p.TAG_NAME,this._stateTagName(t);else switch(t){case d.EXCLAMATION_MARK:{this.state=p.MARKUP_DECLARATION_OPEN;break}case d.SOLIDUS:{this.state=p.END_TAG_OPEN;break}case d.QUESTION_MARK:{this._err(C.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=p.BOGUS_COMMENT,this._stateBogusComment(t);break}case d.EOF:{this._err(C.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(C.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=p.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(je(t))this._createEndTagToken(),this.state=p.TAG_NAME,this._stateTagName(t);else switch(t){case d.GREATER_THAN_SIGN:{this._err(C.missingEndTagName),this.state=p.DATA;break}case d.EOF:{this._err(C.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(C.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=p.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BEFORE_ATTRIBUTE_NAME;break}case d.SOLIDUS:{this.state=p.SELF_CLOSING_START_TAG;break}case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentTagToken();break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.tagName+=te;break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Lt(t)?Zt(t):t)}}_stateRcdataLessThanSign(t){t===d.SOLIDUS?this.state=p.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=p.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){je(t)?(this.state=p.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=p.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=p.BEFORE_ATTRIBUTE_NAME,
45!1;case d.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=p.SELF_CLOSING_START_TAG,!1;case d.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=p.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=p.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===d.SOLIDUS?this.state=p.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=p.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){je(t)?(this.state=p.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=p.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=p.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case d.SOLIDUS:{this.state=p.SCRIPT_DATA_END_TAG_OPEN;break}case d.EXCLAMATION_MARK:{this.state=p.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=p.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){je(t)?(this.state=p.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=p.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=p.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===d.HYPHEN_MINUS?(this.state=p.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=p.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===d.HYPHEN_MINUS?(this.state=p.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=p.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(te);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.state=p.SCRIPT_DATA_ESCAPED,this._emitChars(te);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=p.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case d.HYPHEN_MINUS:{this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case d.GREATER_THAN_SIGN:{this.state=p.SCRIPT_DATA,this._emitChars(">");break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.state=p.SCRIPT_DATA_ESCAPED,this._emitChars(te);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=p.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===d.SOLIDUS?this.state=p.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:je(t)?(this._emitChars("<"),this.state=p.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=p.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){je(t)?(this.state=p.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=p.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=p.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(me.SCRIPT,!1)&&ju(this.preprocessor.peek(me.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<me.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=p.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(te);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(te);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case d.HYPHEN_MINUS:{this._emitChars("-");break}case d.LESS_THAN_SIGN:{this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case d.GREATER_THAN_SIGN:{this.state=p.SCRIPT_DATA,this._emitChars(">");break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(te);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===d.SOLIDUS?(this.state=p.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(me.SCRIPT,!1)&&ju(this.preprocessor.peek(me.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<me.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=p.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=p.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.SOLIDUS:case d.GREATER_THAN_SIGN:case d.EOF:{this.state=p.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case d.EQUALS_SIGN:{this._err(C.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=p.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=p.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:case d.SOLIDUS:case d.GREATER_THAN_SIGN:case d.EOF:{this._leaveAttrName(),this.state=p.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case d.EQUALS_SIGN:{this._leaveAttrName(),this.state=p.BEFORE_ATTRIBUTE_VALUE;break}case d.QUOTATION_MARK:case d.APOSTROPHE:case d.LESS_THAN_SIGN:{this._err(C.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.currentAttr.name+=te;break}default:this.currentAttr.name+=String.fromCodePoint(Lt(t)?Zt(t):t)}}_stateAfterAttributeName(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.SOLIDUS:{this.state=p.SELF_CLOSING_START_TAG;break}case d.EQUALS_SIGN:{this.state=p.BEFORE_ATTRIBUTE_VALUE;break}case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentTagToken();break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=p.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.QUOTATION_MARK:{this.state=p.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case d.APOSTROPHE:{this.state=p.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(C.missingAttributeValue),this.state=p.DATA,this.emitCurrentTagToken();break}default:this.state=p.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case d.QUOTATION_MARK:{this.state=p.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case d.AMPERSAND:{this._startCharacterReference();break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.currentAttr.value+=te;break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case d.APOSTROPHE:{this.state=p.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case d.AMPERSAND:{this._startCharacterReference();break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.currentAttr.value+=te;break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this._leaveAttrValue(),this.state=p.BEFORE_ATTRIBUTE_NAME;break}case d.AMPERSAND:{this._startCharacterReference();break}case d.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=p.DATA,this.emitCurrentTagToken();break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.currentAttr.value+=te;break}case d.QUOTATION_MARK:case d.APOSTROPHE:case d.LESS_THAN_SIGN:case d.EQUALS_SIGN:case d.GRAVE_ACCENT:{this._err(C.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this._leaveAttrValue(),this.state=p.BEFORE_ATTRIBUTE_NAME;break}case d.SOLIDUS:{this._leaveAttrValue(),this.state=p.SELF_CLOSING_START_TAG;break}case d.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=p.DATA,this.emitCurrentTagToken();break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:this._err(C.missingWhitespaceBetweenAttributes),this.state=p.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case d.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=p.DATA,this.emitCurrentTagToken();break}case d.EOF:{this._err(C.eofInTag),this._emitEOFToken();break}default:this._err(C.unexpectedSolidusInTag),this.state=p.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentComment(n);break}case d.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.data+=te;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(me.DASH_DASH,!0)?(this._createCommentToken(me.DASH_DASH.length+1),this.state=p.COMMENT_START):this._consumeSequenceIfMatch(me.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(me.DOCTYPE.length+1),this.state=p.DOCTYPE):this._consumeSequenceIfMatch(me.CDATA_START,!0)?this.inForeignNode?this.state=p.CDATA_SECTION:(this._err(C.cdataInHtmlContent),this._createCommentToken(me.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=p.BOGUS_COMMENT):this._ensureHibernation()||(this._err(C.incorrectlyOpenedComment),this._createCommentToken(2),this.state=p.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case d.HYPHEN_MINUS:{this.state=p.COMMENT_START_DASH;break}case d.GREATER_THAN_SIGN:{this._err(C.abruptClosingOfEmptyComment),this.state=p.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=p.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case d.HYPHEN_MINUS:{this.state=p.COMMENT_END;break}case d.GREATER_THAN_SIGN:{this._err(C.abruptClosingOfEmptyComment),this.state=p.DATA,this.emitCurrentComment(n);break}case d.EOF:{this._err(C.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=p.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case d.HYPHEN_MINUS:{this.state=p.COMMENT_END_DASH;break}case d.LESS_THAN_SIGN:{n.data+="<",this.state=p.COMMENT_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.data+=te;break}case d.EOF:{this._err(C.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case d.EXCLAMATION_MARK:{n.data+="!",this.state=p.COMMENT_LESS_THAN_SIGN_BANG;break}case d.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=p.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===d.HYPHEN_MINUS?this.state=p.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=p.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===d.HYPHEN_MINUS?this.state=p.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=p.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==d.GREATER_THAN_SIGN&&t!==d.EOF&&this._err(C.nestedComment),this.state=p.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case d.HYPHEN_MINUS:{this.state=p.COMMENT_END;break}case d.EOF:{this._err(C.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=p.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentComment(n);break}case d.EXCLAMATION_MARK:{this.state=p.COMMENT_END_BANG;break}case d.HYPHEN_MINUS:{n.data+="-";break}case d.EOF:{this._err(C.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=p.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case d.HYPHEN_MINUS:{n.data+="--!",this.state=p.COMMENT_END_DASH;break}case d.GREATER_THAN_SIGN:{this._err(C.incorrectlyClosedComment),this.state=p.DATA,this.emitCurrentComment(n);break}case d.EOF:{this._err(C.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=p.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BEFORE_DOCTYPE_NAME;break}case d.GREATER_THAN_SIGN:{this.state=p.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case d.EOF:{this._err(C.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.missingWhitespaceBeforeDoctypeName),this.state=p.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Lt(t))this._createDoctypeToken(String.fromCharCode(Zt(t))),this.state=p.DOCTYPE_NAME;else switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.NULL:{this._err(C.unexpectedNullCharacter),this._createDoctypeToken(te),this.state=p.DOCTYPE_NAME;break}case d.GREATER_THAN_SIGN:{this._err(C.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(C.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=p.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.AFTER_DOCTYPE_NAME;break}case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.name+=te;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Lt(t)?Zt(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(C.eo
45fInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(me.PUBLIC,!1)?this.state=p.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(me.SYSTEM,!1)?this.state=p.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(C.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case d.QUOTATION_MARK:{this._err(C.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{this._err(C.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(C.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.QUOTATION_MARK:{n.publicId="",this.state=p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{n.publicId="",this.state=p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(C.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case d.QUOTATION_MARK:{this.state=p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.publicId+=te;break}case d.GREATER_THAN_SIGN:{this._err(C.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case d.APOSTROPHE:{this.state=p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.publicId+=te;break}case d.GREATER_THAN_SIGN:{this._err(C.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case d.GREATER_THAN_SIGN:{this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.QUOTATION_MARK:{this._err(C.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{this._err(C.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.QUOTATION_MARK:{n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}
45default:this._err(C.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:{this.state=p.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case d.QUOTATION_MARK:{this._err(C.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{this._err(C.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(C.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.QUOTATION_MARK:{n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case d.APOSTROPHE:{n.systemId="",this.state=p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case d.GREATER_THAN_SIGN:{this._err(C.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.DATA,this.emitCurrentDoctype(n);break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case d.QUOTATION_MARK:{this.state=p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.systemId+=te;break}case d.GREATER_THAN_SIGN:{this._err(C.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case d.APOSTROPHE:{this.state=p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case d.NULL:{this._err(C.unexpectedNullCharacter),n.systemId+=te;break}case d.GREATER_THAN_SIGN:{this._err(C.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case d.SPACE:case d.LINE_FEED:case d.TABULATION:case d.FORM_FEED:break;case d.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.EOF:{this._err(C.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(C.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=p.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case d.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=p.DATA;break}case d.NULL:{this._err(C.unexpectedNullCharacter);break}case d.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case d.RIGHT_SQUARE_BRACKET:{this.state=p.CDATA_SECTION_BRACKET;break}case d.EOF:{this._err(C.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===d.RIGHT_SQUARE_BRACKET?this.state=p.CDATA_SECTION_END:(this._emitChars("]"),this.state=p.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case d.GREATER_THAN_SIGN:{this.state=p.DATA;break}case d.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=p.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(d.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Yu(this.preprocessor.peek(1))?p.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Yu(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===d.SEMICOLON&&this._err(C.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Sa=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),qu=new Set([...Sa,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),fn=new Set([s.APPLET,s.CAPTION,s.HTML,s.MARQUEE,s.OBJECT,s.TABLE,s.TD,s.TEMPLATE,s.TH]),pm=new Set([...fn,s.OL,s.UL]),Em=new Set([...fn,s.BUTTON]),Vu=new Set([s.ANNOTATION_XML,s.MI,s.MN,s.MO,s.MS,s.MTEXT]),Wu=new Set([s.DESC,s.FOREIGN_OBJECT,s.TITLE]),Tm=new Set([s.TR,s.TEMPLATE,s.HTML]),gm=ne
vendor: 4,981 bytes, line 45
45w Set([s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML]),bm=new Set([s.TABLE,s.TEMPLATE,s.HTML]),_m=new Set([s.TD,s.TH]);class Am{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=s.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===s.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===L.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const u=this._indexOf(t)+1;this.items.splice(u,0,n),this.tagIDs.splice(u,0,r),this.stackTop++,u===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,u===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==L.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(ur,L.HTML)}popUntilTableCellPopped(){this.popUntilPopped(_m,L.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(bm,L.HTML)}clearBackToTableBodyContext(){this.clearBackTo(gm,L.HTML)}clearBackToTableRowContext(){this.clearBackTo(Tm,L.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===s.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===s.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const u=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case L.HTML:{if(u===t)return!0;if(n.has(u))return!1;break}case L.SVG:{if(Wu.has(u))return!1;break}case L.MATHML:{if(Vu.has(u))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,fn)}hasInListItemScope(t){return this.hasInDynamicScope(t,pm)}hasInButtonScope(t){return this.hasInDynamicScope(t,Em)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case L.HTML:{if(ur.has(n))return!0;if(fn.has(n))return!1;break}case L.SVG:{if(Wu.has(n))return!1;break}case L.MATHML:{if(Vu.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===L.HTML)switch(this.tagIDs[n]){case t:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===L.HTML)switch(this.tagIDs[t]){case s.TBODY:case s.THEAD:case s.TFOOT:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===L.HTML)switch(this.tagIDs[n]){case t:return!0;case s.OPTION:case s.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Sa.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&qu.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&qu.has(this.currentTagId);)this.pop()}}const Yn=3;var Oe;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Oe||(Oe={}));const Qu={type:Oe.Marker};class xm{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}
vendor: 14,647 bytes, line 45
45_getNoahArkConditionCandidates(t,n){const r=[],u=n.length,i=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===Oe.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===i&&this.treeAdapter.getNamespaceURI(c)===a){const h=this.treeAdapter.getAttrList(c);h.length===u&&r.push({idx:o,attrs:h})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Yn)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Yn)return;const u=new Map(n.map(a=>[a.name,a.value]));let i=0;for(let a=0;a<r.length;a++){const o=r[a];o.attrs.every(l=>u.get(l.name)===l.value)&&(i+=1,i>=Yn&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Qu)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Oe.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Oe.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Qu);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Oe.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Oe.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Oe.Element&&n.element===t)}}const qe={createDocument(){return{nodeName:"#document",mode:Ae.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const u=e.childNodes.find(i=>i.nodeName==="#documentType");if(u)u.name=t,u.publicId=n,u.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};qe.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(qe.isTextNode(n)){n.value+=t;return}}qe.appendChild(e,qe.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&qe.isTextNode(r)?r.value+=t:qe.insertBefore(e,qe.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ka="html",Cm="about:legacy-compat",Im="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",ya=["+//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//"],Nm=[...ya,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Sm=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),La=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],km=[...La,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Gu(e,t){return t.some(n=>e.startsWith(n))}function ym(e){return e.name===ka&&e.publicId===null&&(e.systemId===null||e.systemId===Cm)}function Lm(e){if(e.name!==ka)return Ae.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Im)return Ae.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),Sm.has(n))return Ae.QUIRKS;let r=t===null?Nm:ya;if(Gu(n,r))return Ae.QUIRKS;if(r=t===null?La:km,Gu(n,r))return Ae.LIMITED_QUIRKS}return Ae.NO_QUIRKS}const Xu={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Om="definitionurl",Dm="definitionURL",Rm=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])),Pm=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:L.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:L.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:L.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:L.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:L.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:L.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:L.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:L.XML}],["xml:space",{prefix:"xml",name:"space",namespace:L.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:L.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:L.XMLNS}]]),wm=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])),Mm=new Set([s.B,s.BIG,s.BLOCKQUOTE,s.BODY,s.BR,s.CENTER,s.CODE,s.DD,s.DIV,s.DL,s.DT,s.EM,s.EMBED,s.H1,s.H2,s.H3,s.H4,s.H5,s.H6,s.HEAD,s.HR,s.I,s.IMG,s.LI,s.LISTING,s.MENU,s.META,s.NOBR,s.OL,s.P,s.PRE,s.RUBY,s.S,s.SMALL,s.SPAN,s.STRONG,s.STRIKE,s.SUB,s.SUP,s.TABLE,s.TT,s.U,s.UL,s.VAR]);function Bm(e){const t=e.tagID;return t===s.FONT&&e.attrs.some(({name:r})=>r===et.COLOR||r===et.SIZE||r===et.FACE)||Mm.has(t)}function Oa(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Om){e.attrs[t].name=Dm;break}}function Da(e){for(let t=0;t<e.attrs.length;t++){const n=Rm.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Lr(e){for(let t=0;t<e.attrs.length;t++){const n=Pm.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function Fm(e){const t=wm.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=_t(e.tagName))}function Hm(e,t){return t===L.MATHML&&(e===s.MI||e===s.MO||e===s.MN||e===s.MS||e===s.MTEXT)}function Um(e,t,n){if(t===L.MATHML&&e===s.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===et.ENCODING){const u=n[r].value.toLowerCase();return u===Xu.TEXT_HTML||u===Xu.APPLICATION_XML}}return t===L.SVG&&(e===s.FOREIGN_OBJECT||e===s.DESC||e===s.TITLE)}function vm(e,t,n,r){return(!r||r===L.HTML)&&Um(e,t,n)||(!r||r===L.MATHML)&&Hm(e,t)}const zm="hidden",Ym=8,jm=3;var T;(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"})(T||(T={}));const qm={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Ra=new Set([s.TABLE,s.TBODY,s.TFOOT,s.THEAD,s.TR]),Ku={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:qe,onParseError:null};class $u{constructor(t,n,r=null,u=null){this.fragmentContext=r,this.scriptHandler=u,this.currentToken=null,this.stopped=!1,this.insertionMode=T.INITIAL,this.originalInsertionMode=T.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={...Ku,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new mm(this.options,this),this.activeFormattingElements=new xm(this.treeAdapter),this.fragmentContextID=r?_t(this.treeAdapter.getTagName(r)):s.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new Am(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...Ku,...n};t??(t=r.treeAdapter.createElement(A.TEMPLATE,L.HTML,[]));const u=r.treeAdapter.createElement("documentmock",L.HTML,[]),i=new this(r,u,t);return i.fragmentContextID===s.TEMPLATE&&i.tmplInsertionModeStack.unshift(T.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var u;if(!this.onParseError)return;const i=(u=t.location)!==null&&u!==void 0?u:qm,a={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(a)}onItemPush(t,n,r){var u,i;(i=(u=this.treeAdapter).onItemPush)===null||i===void 0||i.call(u,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,u;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(u=(r=this.treeAdapter).onItemPop)===null||u===void 0||u.call(r,t,this.openElements.current),n){let i,a;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,a=this.fragmentContextID):{current:i,currentTagId:a}=this.openElements,this._setContextModes(i,a)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===L.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,L.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=T.TEXT}switchToPlaintextParsing(){this.insertionMode=T.TEXT,this.originalInsertionMode=T.IN_BODY,this.tokenizer.state=re.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;
45for(;t;){if(this.treeAdapter.getTagName(t)===A.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==L.HTML))switch(this.fragmentContextID){case s.TITLE:case s.TEXTAREA:{this.tokenizer.state=re.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=re.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=re.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=re.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",u=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,u),t.location){const a=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));a&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,L.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,L.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(A.HTML,L.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,s.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const u=this.treeAdapter.getChildNodes(n),i=r?u.lastIndexOf(r):u.length,a=u[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:l,endCol:c,endOffset:h}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:h})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,u=this.treeAdapter.getTagName(t),i=n.type===j.END_TAG&&u===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===s.SVG&&this.treeAdapter.getTagName(n)===A.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===L.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===s.MGLYPH||t.tagID===s.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,L.HTML)}_processToken(t){switch(t.type){case j.CHARACTER:{this.onCharacter(t);break}case j.NULL_CHARACTER:{this.onNullCharacter(t);break}case j.COMMENT:{this.onComment(t);break}case j.DOCTYPE:{this.onDoctype(t);break}case j.START_TAG:{this._processStartTag(t);break}case j.END_TAG:{this.onEndTag(t);break}case j.EOF:{this.onEof(t);break}case j.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const u=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return vm(t,u,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(u=>u.type===Oe.Marker||this.openElements.contains(u.element)),r=n===-1?t-1:n-1;for(let u=r;u>=0;u--){const i=this.activeFormattingElements.entries[u];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=T.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(s.P),this.openElements.popUntilTagNamePopped(s.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case s.TR:{this.insertionMode=T.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=T.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=T.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=T.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=T.IN_TABLE;return}case s.BODY:{this.insertionMode=T.IN_BODY;return}case s.FRAMESET:{this.insertionMode=T.IN_FRAMESET;return}case s.SELECT:{this._resetInsertionModeForSelect(t);return}case s.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}
45case s.HTML:{this.insertionMode=this.headElement?T.AFTER_HEAD:T.BEFORE_HEAD;return}case s.TD:case s.TH:{if(t>0){this.insertionMode=T.IN_CELL;return}break}case s.HEAD:{if(t>0){this.insertionMode=T.IN_HEAD;return}break}}this.insertionMode=T.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===s.TEMPLATE)break;if(r===s.TABLE){this.insertionMode=T.IN_SELECT_IN_TABLE;return}}this.insertionMode=T.IN_SELECT}_isElementCausesFosterParenting(t){return Ra.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case s.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===L.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case s.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return cm[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){_p(this,t);return}switch(this.insertionMode){case T.INITIAL:{kt(this,t);break}case T.BEFORE_HTML:{Pt(this,t);break}case T.BEFORE_HEAD:{wt(this,t);break}case T.IN_HEAD:{Mt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Bt(this,t);break}case T.AFTER_HEAD:{Ft(this,t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:{wa(this,t);break}case T.TEXT:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{jn(this,t);break}case T.IN_TABLE_TEXT:{va(this,t);break}case T.IN_COLUMN_GROUP:{hn(this,t);break}case T.AFTER_BODY:{dn(this,t);break}case T.AFTER_AFTER_BODY:{un(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){bp(this,t);return}switch(this.insertionMode){case T.INITIAL:{kt(this,t);break}case T.BEFORE_HTML:{Pt(this,t);break}case T.BEFORE_HEAD:{wt(this,t);break}case T.IN_HEAD:{Mt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Bt(this,t);break}case T.AFTER_HEAD:{Ft(this,t);break}case T.TEXT:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{jn(this,t);break}case T.IN_COLUMN_GROUP:{hn(this,t);break}case T.AFTER_BODY:{dn(this,t);break}case T.AFTER_AFTER_BODY:{un(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){ir(this,t);return}switch(this.insertionMode){case T.INITIAL:case T.BEFORE_HTML:case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_TEMPLATE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{ir(this,t);break}case T.IN_TABLE_TEXT:{yt(this,t);break}case T.AFTER_BODY:{$m(this,t);break}case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{Jm(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case T.INITIAL:{Zm(this,t);break}case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:{this._err(t,C.misplacedDoctype);break}case T.IN_TABLE_TEXT:{yt(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,C.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Ap(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{kt(this,t);break}case T.BEFORE_HTML:{e1(this,t);break}case T.BEFORE_HEAD:{n1(this,t);break}case T.IN_HEAD:{ye(this,t);break}case T.IN_HEAD_NO_SCRIPT:{i1(this,t);break}case T.AFTER_HEAD:{s1(this,t);break}case T.IN_BODY:{he(this,t);break}case T.IN_TABLE:{pt(this,t);break}case T.IN_TABLE_TEXT:{yt(this,t);break}case T.IN_CAPTION:{rp(this,t);break}case T.IN_COLUMN_GROUP:{Rr(this,t);break}case T.IN_TABLE_BODY:{Nn(this,t);break}case T.IN_ROW:{Sn(this,t);break}case T.IN_CELL:{ap(this,t);break}case T.IN_SELECT:{ja(this,t);break}case T.IN_SELECT_IN_TABLE:{op(this,t);break}case T.IN_TEMPLATE:{cp(this,t);break}case T.AFTER_BODY:{hp(this,t);break}case T.IN_FRAMESET:{dp(this,t);break}case T.AFTER_FRAMESET:{pp(this,t);break}case T.AFTER_AFTER_BODY:{Tp(this,t);break}case T.AFTER_AFTER_FRAMESET:{gp(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?xp(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{kt(this,t);break}case T.BEFORE_HTML:{t1(this,t);break}case T.BEFORE_HEAD:{r1(this,t);break}case T.IN_HEAD:{u1(this,t);break}case T.IN_HEAD_NO_SCRIPT:{a1(this,t);break}case T.AFTER_HEAD:{o1(this,t);break}case T.IN_BODY:{In(this,t);break}case T.TEXT:{Q1(this,t);break}case T.IN_TABLE:{zt(this,t);break}case T.IN_TABLE_TEXT:{yt(this,t);break}case T.IN_CAPTION:{up(this,t);break}case T.IN_COLUMN_GROUP:{ip(this,t);break}case T.IN_TABLE_BODY:{ar(this,t);break}case T.IN_ROW:{Ya(this,t);break}case T.IN_CELL:{sp(this,t);break}case T.IN_SELECT:{qa(this,t);break}case T.IN_SELECT_IN_TABLE:{lp(this,t);break}case T.IN_TEMPLATE:{fp(this,t);break}case T.AFTER_BODY:{Wa(this,t);break}case T.IN_FRAMESET:{mp(this,t);break}case T.AFTER_FRAMESET:{Ep(this,t);break}case T.AFTER_AFTER_BODY:{un(this,t);break}}}onEof(t){switch(this.insertionMode){case T.INITIAL:{kt(this,t);break}case T.BEFORE_HTML:{Pt(this,t);break}case T.BEFORE_HEAD:{wt(this,t);break}case T.IN_HEAD:{Mt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Bt(this,t);break}case T.AFTER_HEAD:{Ft(this,t);break}case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{Ha(this,t);break}case T.TEXT:{G1(this,t);break}case T.IN_TABLE_TEXT:{yt(this,t);break}case T.IN_TEMPLATE:{Va(this,t);break}case T.AFTER_BODY:case T.IN_FRAMESET:case T.AFTER_FRAMESET:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{Dr(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCo
45deAt(0)===d.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 T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.TEXT:case T.IN_COLUMN_GROUP:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{this._insertCharacters(t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:case T.AFTER_BODY:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{Pa(this,t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{jn(this,t);break}case T.IN_TABLE_TEXT:{Ua(this,t);break}}}}function Vm(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Fa(e,t),n}function Wm(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const u=e.openElements.items[r];if(u===t.element)break;e._isSpecialElement(u,e.openElements.tagIDs[r])&&(n=u)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function Qm(e,t,n){let r=t,u=e.openElements.getCommonAncestor(t);for(let i=0,a=u;a!==n;i++,a=u){u=e.openElements.getCommonAncestor(a);const o=e.activeFormattingElements.getElementEntry(a),l=o&&i>=jm;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=Gm(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function Gm(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Xm(e,t,n){const r=e.treeAdapter.getTagName(t),u=_t(r);if(e._isElementCausesFosterParenting(u))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);u===s.TEMPLATE&&i===L.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Km(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:u}=n,i=e.treeAdapter.createElement(u.tagName,r,u.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,u),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,u.tagID)}function Or(e,t){for(let n=0;n<Ym;n++){const r=Vm(e,t);if(!r)break;const u=Wm(e,r);if(!u)break;e.activeFormattingElements.bookmark=r;const i=Qm(e,u,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),a&&Xm(e,a,i),Km(e,u,r)}}function ir(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function $m(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Jm(e,t){e._appendCommentNode(t,e.document)}function Dr(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],u=e.treeAdapter.getNodeSourceCodeLocation(r);if(u&&!u.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(i);a&&!a.endTag&&e._setEndLocation(i,t)}}}}function Zm(e,t){e._setDocumentType(t);const n=t.forceQuirks?Ae.QUIRKS:Lm(t);ym(t)||e._err(t,C.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=T.BEFORE_HTML}function kt(e,t){e._err(t,C.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ae.QUIRKS),e.insertionMode=T.BEFORE_HTML,e._processToken(t)}function e1(e,t){t.tagID===s.HTML?(e._insertElement(t,L.HTML),e.insertionMode=T.BEFORE_HEAD):Pt(e,t)}function t1(e,t){const n=t.tagID;(n===s.HTML||n===s.HEAD||n===s.BODY||n===s.BR)&&Pt(e,t)}function Pt(e,t){e._insertFakeRootElement(),e.insertionMode=T.BEFORE_HEAD,e._processToken(t)}function n1(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.HEAD:{e._insertElement(t,L.HTML),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD;break}default:wt(e,t)}}function r1(e,t){const n=t.tagID;n===s.HEAD||n===s.BODY||n===s.HTML||n===s.BR?wt(e,t):e._err(t,C.endTagWithoutMatchingOpenElement)}function wt(e,t){e._insertFakeElement(A.HEAD,s.HEAD),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD,e._processToken(t)}function ye(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{e._appendElement(t,L.HTML),t.ackSelfClosing=!0;break}case s.TITLE:{e._switchToTextParsing(t,re.RCDATA);break}case s.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,re.RAWTEXT):(e._insertElement(t,L.HTML),e.insertionMode=T.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{e._switchToTextParsing(t,re.RAWTEXT);break}case s.SCRIPT:{e._switchToTextParsing(t,re.SCRIPT_DATA);break}case s.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=T.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(T.IN_TEMPLATE);break}case s.HEAD:{e._err(t,C.misplacedStartTagForHeadElement);break}default:Mt(e,t)}}function u1(e,t){switch(t.tagID){case s.HEAD:{e.openElements.pop(),e.insertionMode=T.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{Mt(e,t);break}case s.TEMPLATE:{ut(e,t);break}default:e._err(t,C.endTagWithoutMatchingOpenElement)}}function ut(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==s.TEMPLATE&&e._err(t,C.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,C.endTagWithoutMatchingOpenElement)}function Mt(e,t){e.openElements.pop(),e.insertionMode=T.AFTER_HEAD,e._processToken(t)}function i1(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{ye(e,t);break}case s.NOSCRIPT:{e._err(t,C.nestedNoscriptInHead);break}default:Bt(e,t)}}function a1(e,t){switch(t.tagID){case s.NOSCRIPT:{e.openElements.pop(),e.insertionMode=T.IN_HEAD;break}case s.BR:{Bt(e,t);break}default:e._err(t,C.endTagWithoutMatchingOpenElement)}}function Bt(e,t){const n=t.type===j.EOF?C.openElementsLeftAfterEof:C.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=T.IN_HEAD,e._processToken(t)}function s1(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.BODY:{e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=T.IN_BODY;break}case s.FRAMESET:{e._insertElement(t,L.HTML),e.insertionMode=T.IN_FRAMESET;break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{e._err(t,C.abandonedHeadElementChild),e.openElements.push(e.headElement,s.HEAD),ye(e,t),e.openElements.remove(e.headElement);break}case s.HEAD:{e._err(t,C.misplacedStartTagForHeadElement);break}default:Ft(e,t)}}function o1(e,t){switch(t.tagID){case s.BODY:case s.HTML:case s.BR:{Ft(e,t);break}case s.TEMPLATE:{ut(e,t);break}default:e._err(t,C.endTagWithoutMatchingOpenElement)}}function Ft(e,t){e._insertFakeElement(A.BODY,s.BODY),e.insertionMode=T.IN_BODY,Cn(e,t)}function Cn(e,t){switch(t.type){case j.CHARACTER:{wa(e,t);break}case j.WHITESPACE_CHARACTER:{Pa(e,t);break}case j.COMMENT:{ir(e,t);break}case j.START_TAG:{he(e,t);break}case j.END_TAG:{In(e,t);break}case j.EOF:{Ha(e,t);break}}}function Pa(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function wa(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function l1(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function c1(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function f1(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();
vendor: 5,620 bytes, line 45
45e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,L.HTML),e.insertionMode=T.IN_FRAMESET)}function h1(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,L.HTML)}function d1(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&ur.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,L.HTML)}function m1(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function p1(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,L.HTML),n||(e.formElement=e.openElements.current))}function E1(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const u=e.openElements.tagIDs[r];if(n===s.LI&&u===s.LI||(n===s.DD||n===s.DT)&&(u===s.DD||u===s.DT)){e.openElements.generateImpliedEndTagsWithExclusion(u),e.openElements.popUntilTagNamePopped(u);break}if(u!==s.ADDRESS&&u!==s.DIV&&u!==s.P&&e._isSpecialElement(e.openElements.items[r],u))break}e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,L.HTML)}function T1(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.tokenizer.state=re.PLAINTEXT}function g1(e,t){e.openElements.hasInScope(s.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.framesetOk=!1}function b1(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(A.A);n&&(Or(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function _1(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function A1(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(s.NOBR)&&(Or(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function x1(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function C1(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ae.QUIRKS&&e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=T.IN_TABLE}function Ma(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Ba(e){const t=Ia(e,et.TYPE);return t!=null&&t.toLowerCase()===zm}function I1(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML),Ba(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function N1(e,t){e._appendElement(t,L.HTML),t.ackSelfClosing=!0}function S1(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function k1(e,t){t.tagName=A.IMG,t.tagID=s.IMG,Ma(e,t)}function y1(e,t){e._insertElement(t,L.HTML),e.skipNextNewLine=!0,e.tokenizer.state=re.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=T.TEXT}function L1(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,re.RAWTEXT)}function O1(e,t){e.framesetOk=!1,e._switchToTextParsing(t,re.RAWTEXT)}function Ju(e,t){e._switchToTextParsing(t,re.RAWTEXT)}function D1(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===T.IN_TABLE||e.insertionMode===T.IN_CAPTION||e.insertionMode===T.IN_TABLE_BODY||e.insertionMode===T.IN_ROW||e.insertionMode===T.IN_CELL?T.IN_SELECT_IN_TABLE:T.IN_SELECT}function R1(e,t){e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML)}function P1(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,L.HTML)}function w1(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(s.RTC),e._insertElement(t,L.HTML)}function M1(e,t){e._reconstructActiveFormattingElements(),Oa(t),Lr(t),t.selfClosing?e._appendElement(t,L.MATHML):e._insertElement(t,L.MATHML),t.ackSelfClosing=!0}function B1(e,t){e._reconstructActiveFormattingElements(),Da(t),Lr(t),t.selfClosing?e._appendElement(t,L.SVG):e._insertElement(t,L.SVG),t.ackSelfClosing=!0}function Zu(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML)}function he(e,t){switch(t.tagID){case s.I:case s.S:case s.B:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.SMALL:case s.STRIKE:case s.STRONG:{_1(e,t);break}case s.A:{b1(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{d1(e,t);break}case s.P:case s.DL:case s.OL:case s.UL:case s.DIV:case s.DIR:case s.NAV:case s.MAIN:case s.MENU:case s.ASIDE:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.DETAILS:case s.ADDRESS:case s.ARTICLE:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{h1(e,t);break}case s.LI:case s.DD:case s.DT:{E1(e,t);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{Ma(e,t);break}case s.HR:{S1(e,t);break}case s.RB:case s.RTC:{P1(e,t);break}
45case s.RT:case s.RP:{w1(e,t);break}case s.PRE:case s.LISTING:{m1(e,t);break}case s.XMP:{L1(e,t);break}case s.SVG:{B1(e,t);break}case s.HTML:{l1(e,t);break}case s.BASE:case s.LINK:case s.META:case s.STYLE:case s.TITLE:case s.SCRIPT:case s.BGSOUND:case s.BASEFONT:case s.TEMPLATE:{ye(e,t);break}case s.BODY:{c1(e,t);break}case s.FORM:{p1(e,t);break}case s.NOBR:{A1(e,t);break}case s.MATH:{M1(e,t);break}case s.TABLE:{C1(e,t);break}case s.INPUT:{I1(e,t);break}case s.PARAM:case s.TRACK:case s.SOURCE:{N1(e,t);break}case s.IMAGE:{k1(e,t);break}case s.BUTTON:{g1(e,t);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{x1(e,t);break}case s.IFRAME:{O1(e,t);break}case s.SELECT:{D1(e,t);break}case s.OPTION:case s.OPTGROUP:{R1(e,t);break}case s.NOEMBED:case s.NOFRAMES:{Ju(e,t);break}case s.FRAMESET:{f1(e,t);break}case s.TEXTAREA:{y1(e,t);break}case s.NOSCRIPT:{e.options.scriptingEnabled?Ju(e,t):Zu(e,t);break}case s.PLAINTEXT:{T1(e,t);break}case s.COL:case s.TH:case s.TD:case s.TR:case s.HEAD:case s.FRAME:case s.TBODY:case s.TFOOT:case s.THEAD:case s.CAPTION:case s.COLGROUP:break;default:Zu(e,t)}}function F1(e,t){if(e.openElements.hasInScope(s.BODY)&&(e.insertionMode=T.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function H1(e,t){e.openElements.hasInScope(s.BODY)&&(e.insertionMode=T.AFTER_BODY,Wa(e,t))}function U1(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function v1(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(s.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(s.FORM):n&&e.openElements.remove(n))}function z1(e){e.openElements.hasInButtonScope(s.P)||e._insertFakeElement(A.P,s.P),e._closePElement()}function Y1(e){e.openElements.hasInListItemScope(s.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(s.LI),e.openElements.popUntilTagNamePopped(s.LI))}function j1(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function q1(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function V1(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function W1(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(A.BR,s.BR),e.openElements.pop(),e.framesetOk=!1}function Fa(e,t){const n=t.tagName,r=t.tagID;for(let u=e.openElements.stackTop;u>0;u--){const i=e.openElements.items[u],a=e.openElements.tagIDs[u];if(r===a&&(r!==s.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=u&&e.openElements.shortenToLength(u);break}if(e._isSpecialElement(i,a))break}}function In(e,t){switch(t.tagID){case s.A:case s.B:case s.I:case s.S:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.NOBR:case s.SMALL:case s.STRIKE:case s.STRONG:{Or(e,t);break}case s.P:{z1(e);break}case s.DL:case s.UL:case s.OL:case s.DIR:case s.DIV:case s.NAV:case s.PRE:case s.MAIN:case s.MENU:case s.ASIDE:case s.BUTTON:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.ADDRESS:case s.ARTICLE:case s.DETAILS:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.LISTING:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{U1(e,t);break}case s.LI:{Y1(e);break}case s.DD:case s.DT:{j1(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{q1(e);break}case s.BR:{W1(e);break}case s.BODY:{F1(e,t);break}case s.HTML:{H1(e,t);break}case s.FORM:{v1(e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{V1(e,t);break}case s.TEMPLATE:{ut(e,t);break}default:Fa(e,t)}}function Ha(e,t){e.tmplInsertionModeStack.length>0?Va(e,t):Dr(e,t)}function Q1(e,t){var n;t.tagID===s.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function G1(e,t){e._err(t,C.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function jn(e,t){if(e.openElements.currentTagId!==void 0&&Ra.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=T.IN_TABLE_TEXT,t.type){case j.CHARACTER:{va(e,t);break}case j.WHITESPACE_CHARACTER:{Ua(e,t);break}}else Wt(e,t)}function X1(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,L.HTML),e.insertionMode=T.IN_CAPTION}function K1(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=T.IN_COLUMN_GROUP}function $1(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(A.COLGROUP,s.COLGROUP),e.insertionMode=T.IN_COLUMN_GROUP,Rr(e,t)}function J1(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=T.IN_TABLE_BODY}function Z1(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(A.TBODY,s.TBODY),e.insertionMode=T.IN_TABLE_BODY,Nn(e,t)}function ep(e,t){e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function tp(e,t){Ba(t)?e._appendElement(t,L.HTML):Wt(e,t),t.ackSelfClosing=!0}function np(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,L.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function pt(e,t){switch(t.tagID){case s.TD:case s.TH:case s.TR:{Z1(e,t);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{ye(e,t);break}case s.COL:{$1(e,t);break}case s.FORM:{np(e,t);break}case s.TABLE:{ep(e,t);break}case s.TBODY:case s.TFOOT:case s.THEAD:{J1(e,t);break}case s.INPUT:{tp(e,t);break}case s.CAPTION:{X1(e,t);break}case s.COLGROUP:{K1(e,t);break}default:Wt(e,t)}}function zt(e,t){switch(t.tagID){case s.TABLE:{e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode());break}case s.TEMPLATE:{ut(e,t);break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:Wt(e,t)}}function Wt(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Cn(e,t),e.fosterParentingEnabled=n}
45function Ua(e,t){e.pendingCharacterTokens.push(t)}function va(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function yt(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Wt(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const za=new Set([s.CAPTION,s.COL,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]);function rp(e,t){const n=t.tagID;za.has(n)?e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,pt(e,t)):he(e,t)}function up(e,t){const n=t.tagID;switch(n){case s.CAPTION:case s.TABLE:{e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,n===s.TABLE&&zt(e,t));break}case s.BODY:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:In(e,t)}}function Rr(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.COL:{e._appendElement(t,L.HTML),t.ackSelfClosing=!0;break}case s.TEMPLATE:{ye(e,t);break}default:hn(e,t)}}function ip(e,t){switch(t.tagID){case s.COLGROUP:{e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE);break}case s.TEMPLATE:{ut(e,t);break}case s.COL:break;default:hn(e,t)}}function hn(e,t){e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE,e._processToken(t))}function Nn(e,t){switch(t.tagID){case s.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,L.HTML),e.insertionMode=T.IN_ROW;break}case s.TH:case s.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(A.TR,s.TR),e.insertionMode=T.IN_ROW,Sn(e,t);break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE,pt(e,t));break}default:pt(e,t)}}function ar(e,t){const n=t.tagID;switch(t.tagID){case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE);break}case s.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE,zt(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:case s.TR:break;default:zt(e,t)}}function Sn(e,t){switch(t.tagID){case s.TH:case s.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,L.HTML),e.insertionMode=T.IN_CELL,e.activeFormattingElements.insertMarker();break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,Nn(e,t));break}default:pt(e,t)}}function Ya(e,t){switch(t.tagID){case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY);break}case s.TABLE:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,ar(e,t));break}case s.TBODY:case s.TFOOT:case s.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(s.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,ar(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:break;default:zt(e,t)}}function ap(e,t){const n=t.tagID;za.has(n)?(e.openElements.hasInTableScope(s.TD)||e.openElements.hasInTableScope(s.TH))&&(e._closeTableCell(),Sn(e,t)):he(e,t)}function sp(e,t){const n=t.tagID;switch(n){case s.TD:case s.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_ROW);break}case s.TABLE:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Ya(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:break;default:In(e,t)}}function ja(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._insertElement(t,L.HTML);break}case s.OPTGROUP:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._insertElement(t,L.HTML);break}case s.HR:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._appendElement(t,L.HTML),t.ackSelfClosing=!0;break}case s.INPUT:case s.KEYGEN:case s.TEXTAREA:case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),t.tagID!==s.SELECT&&e._processStartTag(t));break}case s.SCRIPT:case s.TEMPLATE:{ye(e,t);break}}}function qa(e,t){switch(t.tagID){case s.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===s.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===s.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop();break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop();break}case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode());break}case s.TEMPLATE:{ut(e,t);break}}}function op(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e._processStartTag(t)):ja(e,t)}function lp(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e.onEndTag(t)):qa(e,t)}function cp(e,t){switch(t.tagID){case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{ye(e,t);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.tmplInsertionModeStack[0]=T.IN_TABLE,e.insertionMode=T.IN_TABLE,pt(e,t);break}case s.COL:{e.tmplInsertionModeStack[0]=T.IN_COLUMN_GROUP,e.insertionMode=T.IN_COLUMN_GROUP,Rr(e,t);break}case s.TR:{e.tmplInsertionModeStack[0]=T.IN_TABLE_BODY,e.insertionMode=T.IN_TABLE_BODY,Nn(e,t);break}case s.TD:case s.TH:{e.tmplInsertionModeStack[0]=T.IN_ROW,e.insertionMode=T.IN_ROW,Sn(e,t);break}default:e.tmplInsertionModeStack[0]=T.IN_BODY,e.insertionMode=T.IN_BODY,he(e,t)}}function fp(e,t){t.tagID===s.TEMPLATE&&ut(e,t)}function Va(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Dr(e,t)}function hp(e,t){t.tagID===s.HTML?he(e,t):dn(e,t)}function Wa(e,t){var n;if(t.tagID===s.HTML){if(e.fragmentContext||(e.insertionMode=T.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===s.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else dn(e,t)}function dn(e,t){e.insertionMode=T.IN_BODY,Cn(e,t)}function dp(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.FRAMESET:{e._insertElement(t,L.HTML);break}case s.FRAME:{e._appendElement(t,L.HTML),t.ackSelfClosing=!0;break}case s.NOFRAMES:{ye(e,t);break}}}function mp(e,t){t.tagID===s.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==s.FRAMESET&&(e.insertionMode=T.AFTER_FRAMESET))}function pp(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.NOFRAMES:{ye(e,t);break}}}function Ep(e,t){t.tagID===s.HTML&&(e.insertionMode=T.AFTER_AFTER_FRAMESET)}function Tp(e,t){t.tagID===s.HTML?he(e,t):un(e,t)}function un(e,t){e.insertionMode=T.IN_BODY,Cn(e,t)}function gp(e,t){switch(t.tagID){case s.HTML:{he(e,t);break}case s.NOFRAMES:{ye(e,t);break}}}function bp(e,t){t.chars=te,e._insertCharacters(t)}function _p(e,t){e._insertCharacters(t),e.framesetOk=!1}function Qa(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==L.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.o
45penElements.current);)e.openElements.pop()}function Ap(e,t){if(Bm(t))Qa(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===L.MATHML?Oa(t):r===L.SVG&&(Fm(t),Da(t)),Lr(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function xp(e,t){if(t.tagID===s.P||t.tagID===s.BR){Qa(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===L.HTML){e._endTagOutsideForeignContent(t);break}const u=e.treeAdapter.getTagName(r);if(u.toLowerCase()===t.tagName){t.tagName=u,e.openElements.shortenToLength(n);break}}}A.AREA,A.BASE,A.BASEFONT,A.BGSOUND,A.BR,A.COL,A.EMBED,A.FRAME,A.HR,A.IMG,A.INPUT,A.KEYGEN,A.LINK,A.META,A.PARAM,A.SOURCE,A.TRACK,A.WBR;const Cp=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Ip=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),ei={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Ga(e,t){const n=wp(e),r=$i("type",{handlers:{root:Np,element:Sp,text:kp,comment:Ka,doctype:yp,raw:Op},unknown:Dp}),u={parser:n?new $u(ei):$u.getFragmentParser(void 0,ei),handle(o){r(o,u)},stitches:!1,options:t||{}};r(e,u),At(u,Pe());const i=n?u.parser.document:u.parser.getFragment(),a=Md(i,{file:u.options.file});return u.stitches&&xn(a,"comment",function(o,l,c){const h=o;if(h.value.stitch&&c&&l!==void 0){const f=c.children;return f[l]=h.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function Xa(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Np(e,t){Xa(e.children,t)}function Sp(e,t){Rp(e,t),Xa(e.children,t),Pp(e,t)}function kp(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:j.CHARACTER,chars:e.value,location:Qt(e)};At(t,Pe(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function yp(e,t){const n={type:j.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Qt(e)};At(t,Pe(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Lp(e,t){t.stitches=!0;const n=Mp(e);if("children"in e&&"children"in n){const r=Ga({type:"root",children:e.children},t.options);n.children=r.children}Ka({type:"comment",value:{stitch:n}},t)}function Ka(e,t){const n=e.value,r={type:j.COMMENT,data:n,location:Qt(e)};At(t,Pe(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Op(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,$a(t,Pe(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Cp,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function Dp(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))Lp(n,t);else{let r="";throw Ip.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function At(e,t){$a(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=re.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 $a(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function Rp(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===re.PLAINTEXT)return;At(t,Pe(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:Ze.html;u===Ze.html&&n==="svg"&&(u=Ze.svg);const i=vd({...e,children:[]},{space:u===Ze.svg?"svg":"html"}),a={type:j.START_TAG,tagName:n,tagID:_t(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:Qt(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function Pp(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Gd.includes(n)||t.parser.tokenizer.state===re.PLAINTEXT)return;At(t,En(e));const r={type:j.END_TAG,tagName:n,tagID:_t(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Qt(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===re.RCDATA||t.parser.tokenizer.state===re.RAWTEXT||t.parser.tokenizer.state===re.SCRIPT_DATA)&&(t.parser.tokenizer.state=re.DATA)}function wp(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Qt(e){const t=Pe(e)||{line:void 0,column:void 0,offset:void 0},n=En(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function Mp(e){return"children"in e?mt({...e,children:[]}):mt(e)}function Bp(e){return function(t,n){return Ga(t,{...e,file:n})}}const Wp=()=>{var f,E,m,b,N,R,I;const{slug:e}=fs(),{data:t,isLoading:n}=hs(e||""),{data:r}=ds((f=t==null?void 0:t.category)==null?void 0:f.slug),u=((E=t==null?void 0:t.author)==null?void 0:E.full_name)||"SkilliHire Team",i=`${window.location.origin}/blog/${e}`,a=(m=t==null?void 0:t.content)==null?void 0:m.match(/<!--FAQ_SCHEMA:([\s\S]*?)-->/);let o=null;if(a)try{o=JSON.parse(a[1])}catch{o=null}if(ms({title:t?`${t.title} | SkilliHire Blog`:"Loading... | SkilliHire Blog",description:(t==null?void 0:t.excerpt)||"Read expert insights on AI, technology, and innovation on the SkilliHire Blog.",canonical:i,ogTitle:t==null?void 0:t.t
45itle,ogDescription:(t==null?void 0:t.excerpt)||void 0,ogUrl:i,ogType:"article",jsonLd:t?[{"@context":"https://schema.org","@type":"Article",headline:t.title,description:t.excerpt,image:t.featured_image,datePublished:t.published_at,dateModified:t.updated_at,url:i,author:{"@type":"Person",name:u},publisher:{"@type":"Organization",name:"SkilliHire",url:"https://www.skillihire.com"}},...o?[o]:[]]:void 0}),ht.useEffect(()=>{if(!t)return;fetch("https://.supabase.co/functions/v1/blog-seo?action=view",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({post_id:t.id,referrer:document.referrer})}).catch(()=>{})},[t]),n)return x.jsx("div",{className:"min-h-screen py-12",children:x.jsxs("div",{className:"container mx-auto px-4 lg:px-8 max-w-4xl",children:[x.jsx(Ke,{className:"h-8 w-32 mb-8"}),x.jsx(Ke,{className:"h-12 w-full mb-4"}),x.jsx(Ke,{className:"h-6 w-2/3 mb-8"}),x.jsx(Ke,{className:"h-96 w-full mb-8"}),x.jsxs("div",{className:"space-y-4",children:[x.jsx(Ke,{className:"h-4 w-full"}),x.jsx(Ke,{className:"h-4 w-full"}),x.jsx(Ke,{className:"h-4 w-3/4"})]})]})});if(!t)return x.jsx("div",{className:"min-h-screen pt-24 md:pt-28 py-12",children:x.jsxs("div",{className:"container mx-auto px-4 lg:px-8 text-center",children:[x.jsx("h1",{className:"text-2xl font-bold mb-4",children:"Post not found"}),x.jsx("p",{className:"text-muted-foreground mb-6",children:"The blog post you're looking for doesn't exist or has been unpublished."}),x.jsx(xe,{asChild:!0,children:x.jsxs(en,{to:"/blog",children:[x.jsx(Hr,{className:"mr-2 h-4 w-4"}),"Back to Blog"]})})]})});const l=r==null?void 0:r.filter(w=>w.id!==t.id).slice(0,3),c=(t.content||"").replace(/<!--FAQ_SCHEMA:[\s\S]*?-->/g,"").trim().replace(/^#\s+.*\n+/,""),h=_s.sanitize(c,{ADD_ATTR:["target","rel"]});return x.jsxs("div",{className:"min-h-screen pt-20 md:pt-24",children:[x.jsx("div",{className:"bg-gradient-to-b from-muted/50 to-background py-12",children:x.jsxs("div",{className:"container mx-auto px-4 lg:px-8 max-w-4xl",children:[x.jsx(xe,{variant:"ghost",asChild:!0,className:"mb-6",children:x.jsxs(en,{to:"/blog",children:[x.jsx(Hr,{className:"mr-2 h-4 w-4"}),"Back to Blog"]})}),x.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[t.category&&x.jsx(Ur,{className:"bg-[hsl(var(--brand-blue))] text-white",children:t.category.name}),t.is_featured&&x.jsx(Ur,{variant:"outline",className:"border-[hsl(var(--brand-orange))] text-[hsl(var(--brand-orange))]",children:"Featured"})]}),x.jsx("h1",{className:"text-3xl lg:text-4xl font-bold mb-4",children:t.title}),t.excerpt&&x.jsx("p",{className:"text-lg text-muted-foreground mb-6",children:t.excerpt}),x.jsxs("div",{className:"flex items-center justify-between flex-wrap gap-4",children:[x.jsxs("div",{className:"flex items-center gap-4",children:[(b=t.author)!=null&&b.avatar_url?x.jsx("img",{src:t.author.avatar_url,alt:`${t.author.full_name||"Author"} - SkilliHire Expert`,className:"w-12 h-12 rounded-full object-cover"}):x.jsx("div",{className:"w-12 h-12 rounded-full bg-muted flex items-center justify-center",children:x.jsx(cr,{className:"h-6 w-6 text-muted-foreground"})}),x.jsxs("div",{children:[x.jsxs("div",{className:"flex items-center gap-2",children:[x.jsx("span",{className:"font-semibold",children:u}),((N=t.author)==null?void 0:N.linkedin_url)&&x.jsx("a",{href:t.author.linkedin_url,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:text-primary/80 transition-colors","aria-label":`View ${(R=t.author)==null?void 0:R.full_name}'s LinkedIn profile`,children:x.jsx(ps,{className:"h-4 w-4"})})]}),((I=t.author)==null?void 0:I.bio)&&x.jsx("p",{className:"text-xs text-muted-foreground max-w-xs line-clamp-1",children:t.author.bio}),x.jsxs("div",{className:"flex items-center gap-4 text-sm text-muted-foreground",children:[t.published_at&&x.jsxs("span",{className:"flex items-center gap-1",children:[x.jsx(As,{className:"h-4 w-4"}),ui(new Date(t.published_at),"MMM d, yyyy")]}),x.jsxs("span",{className:"flex items-center gap-1",children:[x.jsx(xs,{className:"h-4 w-4"}),t.read_time_minutes," min read"]})]})]})]}),x.jsxs("div",{className:"flex items-center gap-2",children:[x.jsx(Ps,{postId:t.id}),x.jsx(xe,{variant:"ghost",size:"icon",children:x.jsx(Is,{className:"h-5 w-5"})}),x.jsx(xe,{variant:"ghost",size:"icon",children:x.jsx(Cs,{className:"h-5 w-5"})})]})]})]})}),t.featured_image&&x.jsx("div",{className:"container mx-auto px-4 lg:px-8 max-w-4xl -mt-4 mb-8",children:x.jsx("img",{src:t.featured_image,alt:t.title,className:"w-full h-[400px] object-cover rounded-xl shadow-lg",loading:"lazy"})}),x.jsxs("div",{className:"container mx-auto px-4 lg:px-8 max-w-4xl py-8 space-y-12",children:[x.jsx("article",{className:`prose prose-lg dark:prose-invert max-w-none break-words 46 prose-headings:font-bold prose-headings:tracking-tight prose-headings:scroll-mt-28 47 prose-h1:text-3xl md:prose-h1:text-4xl prose-h1:mb-6 prose-h1:leading-tight 48 prose-h2:text-2xl md:prose-h2:text-3xl prose-h2:mt-12 prose-h2:mb-4 prose-h2:pb-2 prose-h2:border-b prose-h2:border-border 49 prose-h3:text-xl md:prose-h3:text-2xl prose-h3:mt-8 prose-h3:mb-3 50 prose-h4:text-lg prose-h4:mt-6 prose-h4:mb-2 51 prose-p:my-5 prose-p:leading-8 prose-p:text-foreground
51/90 52 prose-strong:text-foreground 53 prose-ul:my-5 prose-ol:my-5 prose-li:my-2 prose-li:leading-8 prose-li:marker:text-primary 54 prose-blockquote:border-l-4 prose-blockquote:border-primary prose-blockquote:bg-muted/40 prose-blockquote:rounded-r-lg prose-blockquote:py-2 prose-blockquote:px-5 prose-blockquote:not-italic prose-blockquote:font-medium 55 prose-table:block prose-table:overflow-x-auto prose-thead:bg-muted/60 prose-th:px-4 prose-th:py-2 prose-td:px-4 prose-td:py-2 prose-td:align-top 56 prose-code:rounded prose-code:bg-muted prose-code:px-1.5 prose-code:py-0.5 prose-code:font-normal prose-code:before:content-none prose-code:after:content-none 57 prose-pre:rounded-xl prose-pre:border prose-pre:border-border 58 prose-hr:my-12 59 prose-a:text-primary prose-a:font-medium prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-primary/80`,children:x.jsx(lf,{remarkPlugins:[Ad,Id],rehypePlugins:[Bp],components:{a:({href:w,children:P,...v})=>x.jsx("a",{...v,href:w,target:"_blank",rel:"noopener noreferrer",children:P}),img:({src:w,alt:P,...v})=>x.jsx("img",{...v,src:w,alt:P||t.title,className:"w-full rounded-xl border border-border my-6",loading:"lazy"})},children:h})}),x.jsx(Rs,{postId:t.id}),x.jsx(Ds,{postId:t.id})]}),l&&l.length>0&&x.jsx("div",{className:"bg-muted/30 py-16",children:x.jsxs("div",{className:"container mx-auto px-4 lg:px-8 max-w-6xl",children:[x.jsx("h2",{className:"text-2xl font-bold mb-8",children:"Related Articles"}),x.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:l.map(w=>x.jsxs(qn,{className:"glass-card-hover overflow-hidden group",children:[w.featured_image&&x.jsx("div",{className:"h-40 overflow-hidden",children:x.jsx("img",{src:w.featured_image,alt:w.title,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110",loading:"lazy"})}),x.jsxs(Es,{className:"p-4",children:[x.jsx("h3",{className:"font-semibold line-clamp-2 group-hover:text-primary transition-colors",children:w.title}),x.jsx("p",{className:"text-sm text-muted-foreground mt-2 line-clamp-2",children:w.excerpt}),x.jsxs(en,{to:`/blog/${w.slug}`,className:"inline-flex items-center text-sm text-primary mt-3 hover:underline",children:["Read More ",x.jsx(Ts,{className:"ml-1 h-3 w-3"})]})]})]},w.id))})]})})]})};export{Wp as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.