1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,369090,(e,t,n)=>{"use strict";var r=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,a=/^\s*/,s=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,u=/^\s+|\s+$/g;function h(e){return e?e.replace(u,""):""}t.exports=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,u=1;function p(e){var t=e.match(i);t&&(n+=t.length);var r=e.lastIndexOf("\n");u=~r?e.length-r:u+e.length}function d(){var e={line:n,column:u};return function(t){return t.position=new m(e),g(a),t}}function m(e){this.start=e,this.end={line:n,column:u},this.source=t.source}function f(r){var i=Error(t.source+":"+n+":"+u+": "+r);if(i.reason=r,i.filename=t.source,i.line=n,i.column=u,i.source=e,t.silent);else throw i}function g(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function E(e){var t;for(e=e||[];t=T();)!1!==t&&e.push(t);return e}function T(){var t=d();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return f("End of comment missing");var r=e.slice(2,n-2);return u+=2,p(r),e=e.slice(n),u+=2,t({type:"comment",comment:r})}}m.prototype.content=e,g(a);var A,k=[];for(E(k);A=function(){var e=d(),t=g(s);if(t){if(T(),!g(o))return f("property missing ':'");var n=g(l),i=e({type:"declaration",property:h(t[0].replace(r,"")),value:n?h(n[0].replace(r,"")):""});return g(c),i}}();)!1!==A&&(k.push(A),E(k));return k}},559596,(e,t,n)=>{"use strict";var r=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;let r=(0,i.default)(e),a="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:i}=e;a?t(r,i,e):i&&((n=n||{})[r]=i)}),n};let i=r(e.r(369090))},851521,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,a=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,l=function(e,t){return t.toUpperCase()},c=function(e,t){return"".concat(t,"-")};n.camelCase=function(e,t){var n;return(void 0===t&&(t={}),!(n=e)||a.test(n)||r.test(n))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,c):e.replace(s,c)).replace(i,l))}},763185,(e,t,n)=>{"use strict";var r=(e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(e.r(559596)),i=e.r(851521);function a(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}a.default=a,t.exports=a},975609,(e,t,n)=>{"use strict";var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},l=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,n=r.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!a)return!1;for(t in e);return void 0===t||r.call(e,t)},c=function(e,t){a&&"__proto__"===t.name?a(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!r.call(e,t))return;else if(s)return s(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,s,h=arguments[0],p=1,d=arguments.length,m=!1;for("boolean"==typeof h&&(m=h,h=arguments[1]||{},p=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});p<d;++p)if(t=arguments[p],null!=t)for(n in t)r=u(h,n),h!==(i=u(t,n))&&(m&&i&&(l(i)||(a=o(i)))?(a?(a=!1,s=r&&o(r)?r:[]):s=r&&l(r)?r:{},c(h,{name:n,newValue:e(m,s,i)})):void 0!==i&&c(h,{name:n,newValue:i}));return h}},566710,173119,402652,216920,897802,61634,816220,273638,722365,784251,565864,79694,600577,470284,455470,907714,559245,133220,705568,158206,e=>{"use strict";var t=e.i(794175);let n=function(e){var t,a;if(null==e)return i;if("function"==typeof e)return r(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],i=-1;for(;++i<e.length;)t[i]=n(e[i]);return r(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,r(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return a=e,r(function(e){return e&&e.type===a})}throw Error("Expected function, string, or object as test")};function r(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function i(){return!0}e.s(["convert",0,n],173119);let a=[],s="skip";function o(e,t,r,i){let o;"function"==typeof t&&"function"!=typeof r?(i=r,r=t):o=t;let l=n(o),c=i?-1:1;(function e(n,o,u){let h=n&&"object"==typeof n?n:{};if("string"==typeof h.type){let e="string"==typeof h.tagName?h.tagName:"string"==typeof h.name?h.name:void 0;Object.defineProperty(p,"name",{value:"node ("+n.type+(e?"<"+e+">":"")+")"})}return p;function p(){var h;
1let p,d,m,f=a;if((!t||l(n,o,u[u.length-1]||void 0))&&!1===(f=Array.isArray(h=r(n,u))?h:"number"==typeof h?[!0,h]:null==h?a:[h])[0])return f;if("children"in n&&n.children&&n.children&&f[0]!==s)for(d=(i?n.children.length:-1)+c,m=u.concat(n);d>-1&&d<n.children.length;){if(!1===(p=e(n.children[d],d,m)())[0])return p;d="number"==typeof p[1]?p[1]:d+c}return f}})(e,void 0,[])()}function l(e,t,n,r){let i,a,s;"function"==typeof t&&"function"!=typeof n?(a=void 0,s=t,i=n):(a=t,s=n,i=r),o(e,a,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)},i)}e.s(["CONTINUE",0,!0,"EXIT",0,!1,"SKIP",0,s,"visitParents",0,o],402652),e.s(["visit",0,l],216920);let c="indicator",u="text-only",h="remove";function p(e,t){if("string"!=typeof e)return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}if(e.startsWith("/")||e.startsWith("./")||e.startsWith("../"))try{return new URL(e,"http://example.com")}catch{}return null}}let d=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:","blob:"]),m=new Set(["javascript:","data:","file:","vbscript:"]);function f(e,t,n,r=!1,i=!1,a=[]){if(!e)return null;if("string"==typeof e&&e.startsWith("#")&&!i)try{if(new URL(e,"http://example.com").hash===e)return e}catch{}if("string"==typeof e&&e.startsWith("data:"))return i&&r&&e.startsWith("data:image/")?e:null;if("string"==typeof e&&e.startsWith("blob:")){try{let t=new URL(e);if("blob:"===t.protocol&&e.length>5){let t=e.substring(5);if(t&&t.length>0&&"invalid"!==t)return e}}catch{}return null}let s=p(e,n);if(!s||m.has(s.protocol)||!(d.has(s.protocol)||a.includes(s.protocol)||a.includes("*")))return null;if("mailto:"===s.protocol||!s.protocol.match(/^https?:$/))return s.href;let o="string"==typeof e&&(e.startsWith("/")||e.startsWith("./")||e.startsWith("../"));return s&&t.some(e=>{let t=p(e,n);return!!t&&t.origin===s.origin&&s.href.startsWith(t.href)})?o?s.pathname+s.search+s.hash:s.href:t.includes("*")?"https:"!==s.protocol&&"http:"!==s.protocol?null:o?s.pathname+s.search+s.hash:s.href:null}let g=Symbol("node-seen"),E="object"==typeof self?self:globalThis,T=(e,t)=>
1{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new E[e](t)},A=e=>{var t;let n,r;return(t=new Map,n=(e,n)=>(t.set(n,e),e),r=i=>{if(t.has(i))return t.get(i);let[a,s]=e[i];switch(a){case 0:case -1:return n(s,i);case 1:{let e=n([],i);for(let t of s)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of s)e[r(t)]=r(n);return e}case 3:return n(new Date(s),i);case 4:{let{source:e,flags:t}=s;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of s)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of s)e.add(r(t));return e}case 7:{let{name:e,message:t}=s;return n(T(e,t),i)}case 8:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i);case"ArrayBuffer":return n(new Uint8Array(s).buffer,s);case"DataView":{let{buffer:e}=new Uint8Array(s);return n(new DataView(e),s)}}return n(T(a,s),i)})(0)},{toString:k}={},{keys:_}=Object,b=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=k.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},y=([e,t])=>0===e&&("function"===t||"symbol"===t),C=(e,{json:t,lossy:n}={})=>{var r,i,a;let s,o,l=[];return(r=!(t||n),i=!!t,a=new Map,s=(e,t)=>{let n=l.push(e)-1;return a.set(t,n),n},o=e=>{if(a.has(e))return a.get(e);let[t,n]=b(e);switch(t){case 0:{let i=e;switch(n){case"bigint":t=8,i=e.toString();break;case"function":case"symbol":if(r)throw TypeError("unable to serialize "+n);i=null;break;case"undefined":return s([-1],e)}return s([t,i],e)}case 1:{if(n){let t=e;return"DataView"===n?t=new Uint8Array(e.buffer):"ArrayBuffer"===n&&(t=new Uint8Array(e)),s([n,[...t]],e)}let r=[],i=s([t,r],e);for(let t of e)r.push(o(t));return i}case 2:{if(n)switch(n){case"BigInt":return s([n,e.toString()],e);case"Boolean":case"Number":case"String":return s([n,e.valueOf()],e)}if(i&&"toJSON"in e)return o(e.toJSON());let a=[],l=s([t,a],e);for(let t of _(e))(r||!y(b(e[t])))&&a.push([o(t),o(e[t])]);return l}case 3:return s([t,e.toISOString()],e);case 4:{let{source:n,flags:r}=e;return s([t,{source:n,flags:r}],e)}case 5:{let n=[],i=s([t,n],e);for(let[t,i]of e)(r||!(y(b(t))||y(b(i))))&&n.push([o(t),o(i)]);return i}case 6:{let n=[],i=s([t,n],e);for(let t of e)(r||!y(b(t)))&&n.push(o(t));return i}}let{message:l}=e;return s([t,{name:n,message:l}],e)})(e),l},N="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?A(C(e,t)):structuredClone(e):(e,t)=>A(C(e,t));function S(){}e.s(["ok",0,S],897802);class I{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function x(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new I(n,r,t)}function D(e){return e.toLowerCase()}I.prototype.normal={},I.prototype.property={},I.prototype.space=void 0;class O{constructor(e,t){this.attribute=t,this.property=e}}O.prototype.attribute="",O.prototype.booleanish=!1,O.prototype.boolean=!1,O.prototype.commaOrSpaceSeparated=!1,O.prototype.commaSeparated=!1,O.prototype.defined=!1,O.prototype.mustUseProperty=!1,O.prototype.number=!1,O.prototype.overloadedBoolean=!1,O.prototype.property="",O.prototype.spaceSeparated=!1,O.prototype.space=void 0;let R=0,L=H(),v=H(),w=H(),M=H(),P=H(),B=H(),F=H();function H(){return 2**++R}e.s(["boolean",0,L,"booleanish",0,v,"commaOrSpaceSeparated",0,F,"commaSeparated",0,B,"number",0,M,"overloadedBoolean",0,w,"spaceSeparated",0,P],383954);var U=e.i(383954);let G=Object.keys(U);class j extends O{constructor(e,t,n,r){let i=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++i<G.length;){const e=G[i];!function(e,t,n){n&&(e[t]=n)}(this,G[i],(n&U[e])===U[e])}}}function z(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new j(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[D(r)]=r,n[D(a.attribute)]=r}return new I(t,n,e.space)}j.prototype.defined=!0;let Y=z({properties:{ariaActiveDescendant:null,ariaAtomic:v,ariaAutoComplete:null,ariaBusy:v,ariaChecked:v,ariaColCount:M,ariaColIndex:M,ariaColSpan:M,ariaControl
1s:P,ariaCurrent:null,ariaDescribedBy:P,ariaDetails:null,ariaDisabled:v,ariaDropEffect:P,ariaErrorMessage:null,ariaExpanded:v,ariaFlowTo:P,ariaGrabbed:v,ariaHasPopup:null,ariaHidden:v,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:P,ariaLevel:M,ariaLive:null,ariaModal:v,ariaMultiLine:v,ariaMultiSelectable:v,ariaOrientation:null,ariaOwns:P,ariaPlaceholder:null,ariaPosInSet:M,ariaPressed:v,ariaReadOnly:v,ariaRelevant:null,ariaRequired:v,ariaRoleDescription:P,ariaRowCount:M,ariaRowIndex:M,ariaRowSpan:M,ariaSelected:v,ariaSetSize:M,ariaSort:null,ariaValueMax:M,ariaValueMin:M,ariaValueNow:M,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function q(e,t){return t in e?e[t]:t}function V(e,t){return q(e,t.toLowerCase())}let $=z({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:B,acceptCharset:P,accessKey:P,action:null,allow:null,allowFullScreen:L,allowPaymentRequest:L,allowUserMedia:L,alt:null,as:null,async:L,autoCapitalize:null,autoComplete:P,autoFocus:L,autoPlay:L,blocking:P,capture:null,charSet:null,checked:L,cite:null,className:P,cols:M,colSpan:null,content:null,contentEditable:v,controls:L,controlsList:P,coords:M|B,crossOrigin:null,data:null,dateTime:null,decoding:null,default:L,defer:L,dir:null,dirName:null,disabled:L,download:w,draggable:v,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:L,formTarget:null,headers:P,height:M,hidden:w,high:M,href:null,hrefLang:null,htmlFor:P,httpEquiv:P,id:null,imageSizes:null,imageSrcSet:null,inert:L,inputMode:null,integrity:null,is:null,isMap:L,itemId:null,itemProp:P,itemRef:P,itemScope:L,itemType:P,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:L,low:M,manifest:null,max:null,maxLength:M,media:null,method:null,min:null,minLength:M,multiple:L,muted:L,name:null,nonce:null,noModule:L,noValidate:L,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:L,optimum:M,pattern:null,ping:P,placeholder:null,playsInline:L,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:L,referrerPolicy:null,rel:P,required:L,reversed:L,rows:M,rowSpan:M,sandbox:P,scope:null,scoped:L,seamless:L,selected:L,shadowRootClonable:L,shadowRootDelegatesFocus:L,shadowRootMode:null,shape:null,size:M,sizes:null,slot:null,span:M,spellCheck:v,src:null,srcDoc:null,srcLang:null,srcSet:null,start:M,step:null,style:null,tabIndex:M,target:null,title:null,translate:null,type:null,typeMustMatch:L,useMap:null,value:v,width:M,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:P,axis:null,background:null,bgColor:null,border:M,borderColor:null,bottomMargin:M,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:L,declare:L,event:null,face:null,frame:null,frameBorder:null,hSpace:M,leftMargin:M,link:null,longDesc:null,lowSrc:null,marginHeight:M,marginWidth:M,noResize:L,noHref:L,noShade:L,noWrap:L,object:null,profile:null,prompt:null,rev:null,rightMargin:M,rules:null,scheme:null,scrolling:v,standby:null,summary:null,text:null,topMargin:M,valueType:null,version:null,vAlign:null,vLink:null,vSpace:M,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:L,disableRemotePlayback:L,prefix:null,property:null,results:M,security:null,unselectable:null},space:"html",transform:V}),W=z({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",colorRen
1dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:F,accentHeight:M,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:M,amplitude:M,arabicForm:null,ascent:M,attributeName:null,attributeType:null,azimuth:M,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:M,by:null,calcMode:null,capHeight:M,className:P,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
1dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:M,diffuseConstant:M,direction:null,display:null,dur:null,divisor:M,dominantBaseline:null,download:L,dx:null,dy:null,edgeMode:null,editable:null,elevation:M,enableBackground:null,end:null,event:null,exponent:M,externalResourcesRequired:null,fill:null,fillOpacity:M,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:B,g2:B,glyphName:B,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:M,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:M,horizOriginX:M,horizOriginY:M,id:null,ideographic:M,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:M,k:M,k1:M,k2:M,k3:M,k4:M,kernelMatrix:F,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:M,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:M,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:M,overlineThickness:M,paintOrder:null,panose1:null,path:null,pathLength:M,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:P,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:M,pointsAtY:M,pointsAtZ:M,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:F,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:F,rev:F,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:F,requiredFeatures:F,requiredFonts:F,requiredFormats:F,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:M,specularExponent:M,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:M,strikethroughThickness:M,string:null,stroke:null,strokeDashArray:F,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:M,strokeOpacity:M,strokeWidth:null,style:null,surfaceScale:M,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:F,tabIndex:M,tableValues:null,target:null,targetX:M,targetY:M,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:F,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:M,underlineThickness:M,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:M,values:null,vAlphabetic:M,vMathematical:M,vectorEffect:null,vHanging:M,vIdeographic:M,version:null,vertAdvY:M,vertOriginX:M,vertOriginY:M,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:M,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:q}),Q=z({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>
1"xlink:"+t.slice(5).toLowerCase()}),K=z({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:V}),X=z({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),Z=x([Y,$,Q,K,X],"html"),J=x([Y,W,Q,K,X],"svg");function ee(e){let t=[],n=String(e||""),r=n.indexOf(","),i=0,a=!1;for(;!a;){-1===r&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(",",i)}return t}function et(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}e.s(["html",0,Z,"svg",0,J],61634),e.s(["parse",0,ee,"stringify",0,et],816220);let en=/[#.]/g,er=/[A-Z]/g,ei=/-[a-z]/g,ea=/^data[-\w.:]+$/i;function es(e,t){let n=D(t),r=t,i=O;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&ea.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(ei,el);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!ei.test(e)){let n=e.replace(er,eo);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=j}return new i(r,t)}function eo(e){return"-"+e.toLowerCase()}function el(e){return e.charAt(1).toUpperCase()}function ec(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function eu(e){return e.join(" ").trim()}function eh(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,i,...a){let s;if(null==n)s={type:"root",children:[]},a.unshift(i);else{let o=(s=function(e,t){let n,r,i=e||"",a={},s=0;for(;s<i.length;){en.lastIndex=s;let e=en.exec(i),t=i.slice(s,e?e.index:i.length);t&&(n?"#"===n?a.id=t:Array.isArray(a.className)?a.className.push(t):a.className=[t]:r=t,s+=t.length),e&&(n=e[0],s++)}return{type:"element",tagName:r||t||"div",properties:a,children:[]}}(n,t)).tagName.toLowerCase(),l=r?r.get(o):void 0;if(s.tagName=l||o,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;for(let t of Object.keys(e)){let n=e[t];if(n&&"object"==typeof n){if(!Array.isArray(n))return!0;for(let e of n)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(i))a.unshift(i);else for(let[t,n]of Object.entries(i))!function(e,t,n,r){let i,a=es(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;i=r}else i="boolean"==typeof r?r:"string"==typeof r?a.spaceSeparated?ec(r):a.commaSeparated?ee(r):a.commaOrSpaceSeparated?ec(ee(r).join(" ")):ep(a,a.property,r):Array.isArray(r)?[...r]:"style"===a.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(i)){let e=[];for(let t of i)e.push(ep(a,a.property,t));i=e}"className"===a.property&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}(e,s.properties,t,n)}for(let e of a)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(s.children,e);return"element"===s.type&&"template"===s.tagName&&(s.content={type:"root",children:s.children},s.children=[]),s}}function ep(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||D(n)===D(t)))return!0}return n}e.s(["find",0,es],273638),e.s(["parse",0,ec,"stringify",0,eu],722365);let ed=eh(Z,"div"),em=eh(J,"g",["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"]);function ef(e,t){let n=e.indexOf("\r",t),r=e.indexOf("\n",t);return -1===r?n:-1===n||n+1===r?r:n<r?n:r}e.s(["h",0,ed,"s",0,em],784251);let eg={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/"};e.s(["webNamespaces",0,eg],565864);let eE={}.hasOwnProperty,eT=Object.prototype;function eA(e,t){let n;switch(t.nodeName){case"#comment":return n={type:"comment",value:t.data},e_(e,t,n),n;case"#document":case"#document-fragment":{let r="mode"in t&&("quirks"===t.mode||"limited-quirks"===t.mode);if(n={type:"root",children:ek(e,t.childNodes),data:{quirksMode:r}},e.file&&e.location){let t,r,i=String(e.file),a=(t=String(i),r=[],{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;r.length<e.line;){let e=r[r.length-1],n=ef(t,e),i=-1===n?t.length+1:n+1;if(e===i)break;r.push(i)}let n=(e.line>1?r[e.line-2]:0)+e.column-1;if(n<r[e.line-1])return n}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){let n=0;for(;;){let i=r[n];if(void 0===i){let e=ef(t,r[n-1]);i=-1===e?t.length+1:e+1,r[n]=i}if(i>e)return{line:n+1,column:e-(n>0?r[n-1]:0)+1,offset:e};n++}}}}),s=a.toPoint(0),o=a.toPoint(i.length);S(s,"expected `start`"),S(o,"expected `end`"),n.position={start:s,end:o}}return n}case"#documentType":return e_(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},e_(e,t,n),n;
1default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===eg.svg?J:Z;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;eE.call(eT,n)||(i[n]=e.value)}let a=("svg"===e.schema.space?em:ed)(t.tagName,i,ek(e,t.childNodes));if(e_(e,t,a),"template"===a.tagName){let n=t.sourceCodeLocation,r=n&&n.startTag&&eb(n.startTag),i=n&&n.endTag&&eb(n.endTag),s=eA(e,t.content);r&&i&&e.file&&(s.position={start:r.end,end:i.start}),a.content=s}return e.schema=n,a}(e,t)}}function ek(e,t){let n=-1,r=[];for(;++n<t.length;){let i=eA(e,t[n]);r.push(i)}return r}function e_(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let r=function(e,t,n){let r=eb(n);if("element"===t.type){let i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){let r,i={};if(n.attrs)for(r in n.attrs)eE.call(n.attrs,r)&&(i[es(e.schema,r).property]=eb(n.attrs[r]));S(n.startTag,"a start tag should exist");let a=eb(n.startTag),s=n.endTag?eb(n.endTag):void 0,o={opening:a};s&&(o.closing=s),o.properties=i,t.data={position:o}}}return r}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function eb(e){let t=ey({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=ey({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function ey(e){return e.line&&e.column?e:void 0}let eC={}.hasOwnProperty;function eN(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&eC.call(t,e)){let n=String(t[e]);i=eC.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}e.s(["zwitch",0,eN],79694);let eS={}.hasOwnProperty,eI=eN("type",{handlers:{root:function(e,t){let n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=ex(e.children,n,t),eD(e,n),n},element:function(e,t){var n,r;let i,a,s=t;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===t.space&&(s=J);let o=[];if(e.properties){for(i in e.properties)if("children"!==i&&eS.call(e.properties,i)){let t=function(e,t,n){let r=es(e,t);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?et(n):eu(n));let i={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){let e=i.name.indexOf(":");e<0?i.prefix="":(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=eg[r.space]}return i}(s,i,e.properties[i]);t&&o.push(t)}}let l=s.space;S(l);let c={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:eg[l],childNodes:[],parentNode:null};return c.childNodes=ex(e.children,c,s),eD(e,c),"template"===e.tagName&&e.content&&(n=e.content,r=s,(a={nodeName:"#document-fragment",childNodes:[]}).childNodes=ex(n.children,a,r),eD(n,a),c.content=a),c},text:function(e){let t={nodeName:"#text",value:e.value,parentNode:null};return eD(e,t),t},comment:function(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return eD(e,t),t},doctype:function(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return eD(e,t),t}}});function ex(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let a=eI(e[r],n);a.parentNode=t,i.push(a)}return i}function eD(e,t){let n=e.position;n&&n.start&&n.end&&(S("number"==typeof n.start.offset),S("number"==typeof 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})}let eO=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];e.s(["htmlVoidElements",0,eO],600577);let eR=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]);(cC=cH||(cH={}))[cC.EOF=-1]="EOF",cC[cC.NULL=0]="NULL",cC[cC.TABULATION=9]="TABULATION",cC[cC.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",cC[cC.LINE_FEED=10]="LINE_FEED",cC[cC.FORM_FEED=12]="FORM_FEED",cC[cC.SPACE=32]="SPACE",cC[cC.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",cC[cC.QUOTATION_MARK=34]="QUOTATION_MARK",cC[cC.AMPERSAND=38]="AMPERSAND",cC[cC.APOSTROPHE=39]="APOSTROPHE",cC[cC.HYPHEN_MINUS=45]="HYPHEN_MINUS",cC[cC.SOLIDUS=47]="SOLIDUS",cC[cC.DIGIT_0=48]="DIGIT_0",cC[cC.DIGIT_9=57]="DIGIT_9",cC[cC.SEMICOLON=59]="SEMICOLON",cC[cC.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",cC[cC.EQUALS_SIGN=61]="EQUALS_SIGN",cC[cC.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",cC[cC.QUESTION_MARK=63]="QUESTION_MARK",cC[cC.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",cC[cC.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",cC[cC.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",cC[cC.GRAVE_ACCENT=96]="GRAVE_ACCENT",cC[cC.LATIN_SMALL_A=97]="LATIN_SMALL_A",cC[cC.LATIN_SMALL_Z=122]="LATIN_SMALL_Z";let eL="[CDATA[",ev="doctype",ew="script";function eM(e){return e>=55296&&e<=57343}function eP(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eB(e){return e>=64976&&e<=65007||eR.has(e)}(cN=cU||(cU={})).controlCharacterInInputStream="control-character-in-input-stream",cN.noncharacterInInputStream="noncharacter-in-input-stream",cN.surrogateInInputStream="surrogate-in-input-stream",cN.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",cN.endTagWithAttributes="end-tag-with-attributes",cN.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",cN.unexpectedSolidusInTag="unexpected-solidus-in-tag",cN.unexpectedNullCharacter="unexpected-null-character",cN.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",cN.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",cN.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",cN.missingEndTagName="missing-end-tag-name",cN.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",cN.unknownNamedCharacterReference="unknown-named-character-reference",cN.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",cN.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",cN.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",cN.eofBeforeTagName="eof-before-tag-name",cN.eofInTag="eof-in-tag",cN.missingAttributeValue="missing-attribute-value",cN.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",cN.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",cN.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",cN.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",cN.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",cN.missingQuoteBeforeDoctype
1SystemIdentifier="missing-quote-before-doctype-system-identifier",cN.missingDoctypePublicIdentifier="missing-doctype-public-identifier",cN.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",cN.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",cN.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",cN.cdataInHtmlContent="cdata-in-html-content",cN.incorrectlyOpenedComment="incorrectly-opened-comment",cN.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",cN.eofInDoctype="eof-in-doctype",cN.nestedComment="nested-comment",cN.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",cN.eofInComment="eof-in-comment",cN.incorrectlyClosedComment="incorrectly-closed-comment",cN.eofInCdata="eof-in-cdata",cN.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",cN.nullCharacterReference="null-character-reference",cN.surrogateCharacterReference="surrogate-character-reference",cN.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",cN.controlCharacterReference="control-character-reference",cN.noncharacterCharacterReference="noncharacter-character-reference",cN.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",cN.missingDoctypeName="missing-doctype-name",cN.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",cN.duplicateAttribute="duplicate-attribute",cN.nonConformingDoctype="non-conforming-doctype",cN.missingDoctype="missing-doctype",cN.misplacedDoctype="misplaced-doctype",cN.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",cN.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",cN.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",cN.openElementsLeftAfterEof="open-elements-left-after-eof",cN.abandonedHeadElementChild="abandoned-head-element-child",cN.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",cN.nestedNoscriptInHead="nested-noscript-in-head",cN.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class eF{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,s=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:s,endOffset:s}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,cH.EOF;return this._err(cU.surrogateInInputStream),e}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(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,cH.EOF;let n=this.html.charCodeAt(t);return n===cH.CARRIAGE_RETURN?cH.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,cH.EOF;let e=this.html.charCodeAt(this.pos);return e===cH.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,cH.LINE_FEED):e===cH.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,eM(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===cH.LINE_FEED||e===cH.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){eP(e)?this._err(cU.controlCharacterInInputStream):eB(e)&&this._err(cU.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function eH(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}(cS=cG||(cG={}))[cS.CHARACTER=0]="CHARACTER",cS[cS.NULL_CHARACTER=1]="NULL_CHARACTER",cS[cS.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",cS[cS.START_TAG=3]="START_TAG",cS[cS.END_TAG=4]="END_TAG",cS[cS.COMMENT=5]="COMMENT",cS[cS.DOCTYPE=6]="DOCTYPE",cS[cS.EOF=7]="EOF",cS[cS.HIBERNATION=8]="HIBERNATION",e.s(["TokenType",0,cG,"getTokenAttr",0,eH],743820);let eU=new Uint16Array('
vendor: 16,129 bytes, line 1
1áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\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: 4,294 bytes, line 1
1ä»È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È;
vendor: 6,210 bytes, line 1
1astÐâ¹§â¹²àº
è¶;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;æ
1'.split("").map(e=>e.charCodeAt(0))),eG=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 ej(e){return e>=cz.ZERO&&e<=cz.NINE}cj=String.fromCodePoint,(cI=cz||(cz={}))[cI.NUM=35]="NUM",cI[cI.SEMI=59]="SEMI",cI[cI.EQUALS=61]="EQUALS",cI[cI.ZERO=48]="ZERO",cI[cI.NINE=57]="NINE",cI[cI.LOWER_A=97]="LOWER_A",cI[cI.LOWER_F=102]="LOWER_F",cI[cI.LOWER_X=120]="LOWER_X",cI[cI.LOWER_Z=122]="LOWER_Z",cI[cI.UPPER_A=65]="UPPER_A",cI[cI.UPPER_F=70]="UPPER_F",cI[cI.UPPER_Z=90]="UPPER_Z",(cx=cY||(cY={}))[cx.VALUE_LENGTH=49152]="VALUE_LENGTH",cx[cx.BRANCH_LENGTH=16256]="BRANCH_LENGTH",cx[cx.JUMP_TABLE=127]="JUMP_TABLE",(cD=cq||(cq={}))[cD.EntityStart=0]="EntityStart",cD[cD.NumericStart=1]="NumericStart",cD[cD.NumericDecimal=2]="NumericDecimal",cD[cD.NumericHex=3]="NumericHex",cD[cD.NamedEntity=4]="NamedEntity",(cO=cV||(cV={}))[cO.Legacy=0]="Legacy",cO[cO.Strict=1]="Strict",cO[cO.Attribute=2]="Attribute";class ez{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=cq.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=cV.Strict}startEntity(e){this.decodeMode=e,this.state=cq.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case cq.EntityStart:if(e.charCodeAt(t)===cz.NUM)return this.state=cq.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=cq.NamedEntity,this.stateNamedEntity(e,t);case cq.NumericStart:return this.stateNumericStart(e,t);case cq.NumericDecimal:return this.stateNumericDecimal(e,t);case cq.NumericHex:return this.stateNumericHex(e,t);case cq.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===cz.LOWER_X?(this.state=cq.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=cq.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*Math.pow(r,i)+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){var r;let i=e.charCodeAt(t);if(!ej(i)&&(!((r=i)>=cz.UPPER_A)||!(r<=cz.UPPER_F))&&(!(r>=cz.LOWER_A)||!(r<=cz.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(!ej(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n,r,i;if(this.consumed<=t)return null==(n=this.errors)||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===cz.SEMI)this.consumed+=1;else if(this.decodeMode===cV.Strict)return 0;return this.emitCodePoint((r=this.result)>=55296&&r<=57343||r>1114111?65533:null!=(i=eG.get(r))?i:r,this.consumed),this.errors&&(e!==cz.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&cY.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=function(e,t,n,r){let i=(t&cY.BRANCH_LENGTH)>>7,a=t&cY.JUMP_TABLE;if(0===i)return 0!==a&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let s=n,o=s+i-1;for(;s<=o;){let t=s+o>>>1,n=e[t];if(n<r)s=t+1;else{if(!(n>r))return e[t+i];o=t-1}}return -1}(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return 0===this.result||this.decodeMode===cV.Attribute&&(0===i||function(e){var t;return e===cz.EQUALS||(t=e)>=cz.UPPER_A&&t<=cz.UPPER_Z||t>=cz.LOWER_A&&t<=cz.LOWER_Z||ej(t)}(a))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&cY.VALUE_LENGTH)>>14)){if(a===cz.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==cV.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&cY.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~cY.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case cq.NamedEntity:return 0!==this.result&&(this.decodeMode!==cV.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case cq.NumericDecimal:return this.emitNumericEntity(0,2);case cq.NumericHex:return this.emitNumericEntity(0,3);case cq.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case cq.EntityStart:return 0}}}(cR=c$||(c$={})).HTML="http://www.w3.org/1999/xhtml",cR.MATHML="http://www.w3.org/1998/Math/MathML",cR.SVG="http://www.w3.org/2000/svg",cR.XLINK="http://www.w3.org/1999/xlink",cR.XML="http://www.w3.org/XML/1998/namespace",cR.XMLNS="http://www.w3.org/2000/xmlns/",(cL=cW||(cW={})).TYPE="type",cL.ACTION="action",cL.ENCODING="encoding",cL.PROMPT="prompt",cL.NAME="name",cL.COLOR="color",cL.FACE="face",cL.SIZE="size",(cv=cQ||(cQ={})).NO_QUIRKS="no-quirks",cv.QUIRKS="quirks",cv.LIMITED_QUIRKS="limited-quirks",(cw=cK||(cK={})).A="a",cw.ADDRESS="address",cw.ANNOTATION_XML="annotation-xml",cw.APPLET="applet",cw.AREA="area",cw.ARTICLE="article",cw.ASIDE="aside",cw.B="b",cw.BASE="base",cw.BASEFONT="basefont",cw.BGSOUND="bgsound",cw.BIG="big",cw.BLOCKQUOTE="blockquote",cw.BODY="body",cw.BR="br",cw.BUTTON="button",cw.CAPTION="caption",cw.CENTER="center",cw.CODE="code",cw.COL="col",cw.COLGROUP="colgroup",cw.DD="dd",cw.DESC="desc",cw.DETAILS="details",cw.DIALOG="dialog",cw.DIR="dir",cw.DIV="div",cw.DL="dl",cw.DT="dt",cw.EM="em",cw.EMBED="embed",cw.FIELDSET="fieldset",cw.FIGCAPTION="figcaption",cw.FIGURE="figure",cw.FONT="font",cw.FOOTER="footer",cw.FOREIGN_OBJECT="foreignObject",cw.FORM="form",cw.FRAME="frame",cw.FRAMESET="frameset",cw.H1="h1",cw.H2="h2",cw.H3="h3",cw.H4="h4",cw.H5="h5",cw.H6="h6",cw.HEAD="head",cw.HEADER="header",cw.HGROUP="hgroup",cw.HR="hr",cw.HTML="html",cw.I="i",cw.IMG="img",cw.IMAGE="image",cw.INPUT="input",cw.IFRAME="iframe",cw.KEYGEN="keygen",cw.LABEL="label",cw.LI="li",cw.LINK="link",cw.LISTING="listing",cw.MAIN="main",cw.MALIGNMARK="malignmark",cw.MARQUEE="marquee",cw.MATH="math",cw.MENU="menu",cw.META="meta",cw.MGLYPH="mglyph",cw.MI="mi",cw.MO="mo",cw.MN="mn",cw.MS="ms",cw.MTEXT="mtext",cw.NAV="nav",cw.NOBR="nobr",cw.NOFRAMES="noframes",cw.NOEMBED="noembed",cw.NOSCRIPT="noscript",cw.OBJ
1ECT="object",cw.OL="ol",cw.OPTGROUP="optgroup",cw.OPTION="option",cw.P="p",cw.PARAM="param",cw.PLAINTEXT="plaintext",cw.PRE="pre",cw.RB="rb",cw.RP="rp",cw.RT="rt",cw.RTC="rtc",cw.RUBY="ruby",cw.S="s",cw.SCRIPT="script",cw.SEARCH="search",cw.SECTION="section",cw.SELECT="select",cw.SOURCE="source",cw.SMALL="small",cw.SPAN="span",cw.STRIKE="strike",cw.STRONG="strong",cw.STYLE="style",cw.SUB="sub",cw.SUMMARY="summary",cw.SUP="sup",cw.TABLE="table",cw.TBODY="tbody",cw.TEMPLATE="template",cw.TEXTAREA="textarea",cw.TFOOT="tfoot",cw.TD="td",cw.TH="th",cw.THEAD="thead",cw.TITLE="title",cw.TR="tr",cw.TRACK="track",cw.TT="tt",cw.U="u",cw.UL="ul",cw.SVG="svg",cw.VAR="var",cw.WBR="wbr",cw.XMP="xmp",(cM=cX||(cX={}))[cM.UNKNOWN=0]="UNKNOWN",cM[cM.A=1]="A",cM[cM.ADDRESS=2]="ADDRESS",cM[cM.ANNOTATION_XML=3]="ANNOTATION_XML",cM[cM.APPLET=4]="APPLET",cM[cM.AREA=5]="AREA",cM[cM.ARTICLE=6]="ARTICLE",cM[cM.ASIDE=7]="ASIDE",cM[cM.B=8]="B",cM[cM.BASE=9]="BASE",cM[cM.BASEFONT=10]="BASEFONT",cM[cM.BGSOUND=11]="BGSOUND",cM[cM.BIG=12]="BIG",cM[cM.BLOCKQUOTE=13]="BLOCKQUOTE",cM[cM.BODY=14]="BODY",cM[cM.BR=15]="BR",cM[cM.BUTTON=16]="BUTTON",cM[cM.CAPTION=17]="CAPTION",cM[cM.CENTER=18]="CENTER",cM[cM.CODE=19]="CODE",cM[cM.COL=20]="COL",cM[cM.COLGROUP=21]="COLGROUP",cM[cM.DD=22]="DD",cM[cM.DESC=23]="DESC",cM[cM.DETAILS=24]="DETAILS",cM[cM.DIALOG=25]="DIALOG",cM[cM.DIR=26]="DIR",cM[cM.DIV=27]="DIV",cM[cM.DL=28]="DL",cM[cM.DT=29]="DT",cM[cM.EM=30]="EM",cM[cM.EMBED=31]="EMBED",cM[cM.FIELDSET=32]="FIELDSET",cM[cM.FIGCAPTION=33]="FIGCAPTION",cM[cM.FIGURE=34]="FIGURE",cM[cM.FONT=35]="FONT",cM[cM.FOOTER=36]="FOOTER",cM[cM.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",cM[cM.FORM=38]="FORM",cM[cM.FRAME=39]="FRAME",cM[cM.FRAMESET=40]="FRAMESET",cM[cM.H1=41]="H1",cM[cM.H2=42]="H2",cM[cM.H3=43]="H3",cM[cM.H4=44]="H4",cM[cM.H5=45]="H5",cM[cM.H6=46]="H6",cM[cM.HEAD=47]="HEAD",cM[cM.HEADER=48]="HEADER",cM[cM.HGROUP=49]="HGROUP",cM[cM.HR=50]="HR",cM[cM.HTML=51]="HTML",cM[cM.I=52]="I",cM[cM.IMG=53]="IMG",cM[cM.IMAGE=54]="IMAGE",cM[cM.INPUT=55]="INPUT",cM[cM.IFRAME=56]="IFRAME",cM[cM.KEYGEN=57]="KEYGEN",cM[cM.LABEL=58]="LABEL",cM[cM.LI=59]="LI",cM[cM.LINK=60]="LINK",cM[cM.LISTING=61]="LISTING",cM[cM.MAIN=62]="MAIN",cM[cM.MALIGNMARK=63]="MALIGNMARK",cM[cM.MARQUEE=64]="MARQUEE",cM[cM.MATH=65]="MATH",cM[cM.MENU=66]="MENU",cM[cM.META=67]="META",cM[cM.MGLYPH=68]="MGLYPH",cM[cM.MI=69]="MI",cM[cM.MO=70]="MO",cM[cM.MN=71]="MN",cM[cM.MS=72]="MS",cM[cM.MTEXT=73]="MTEXT",cM[cM.NAV=74]="NAV",cM[cM.NOBR=75]="NOBR",cM[cM.NOFRAMES=76]="NOFRAMES",cM[cM.NOEMBED=77]="NOEMBED",cM[cM.NOSCRIPT=78]="NOSCRIPT",cM[cM.OBJECT=79]="OBJECT",cM[cM.OL=80]="OL",cM[cM.OPTGROUP=81]="OPTGROUP",cM[cM.OPTION=82]="OPTION",cM[cM.P=83]="P",cM[cM.PARAM=84]="PARAM",cM[cM.PLAINTEXT=85]="PLAINTEXT",cM[cM.PRE=86]="PRE",cM[cM.RB=87]="RB",cM[cM.RP=88]="RP",cM[cM.RT=89]="RT",cM[cM.RTC=90]="RTC",cM[cM.RUBY=91]="RUBY",cM[cM.S=92]="S",cM[cM.SCRIPT=93]="SCRIPT",cM[cM.SEARCH=94]="SEARCH",cM[cM.SECTION=95]="SECTION",cM[cM.SELECT=96]="SELECT",cM[cM.SOURCE=97]="SOURCE",cM[cM.SMALL=98]="SMALL",cM[cM.SPAN=99]="SPAN",cM[cM.STRIKE=100]="STRIKE",cM[cM.STRONG=101]="STRONG",cM[cM.STYLE=102]="STYLE",cM[cM.SUB=103]="SUB",cM[cM.SUMMARY=104]="SUMMARY",cM[cM.SUP=105]="SUP",cM[cM.TABLE=106]="TABLE",cM[cM.TBODY=107]="TBODY",cM[cM.TEMPLATE=108]="TEMPLATE",cM[cM.TEXTAREA=109]="TEXTAREA",cM[cM.TFOOT=110]="TFOOT",cM[cM.TD=111]="TD",cM[cM.TH=112]="TH",cM[cM.THEAD=113]="THEAD",cM[cM.TITLE=114]="TITLE",cM[cM.TR=115]="TR",cM[cM.TRACK=116]="TRACK",cM[cM.TT=117]="TT",cM[cM.U=118]="U",cM[cM.UL=119]="UL",cM[cM.SVG=120]="SVG",cM[cM.VAR=121]="VAR",cM[cM.WBR=122]="WBR",cM[cM.XMP=123]="XMP";let eY=new Map([[cK.A,cX.A],[cK.ADDRESS,cX.ADDRESS],[cK.ANNOTATION_XML,cX.ANNOTATION_XML],[cK.APPLET,cX.APPLET],[cK.AREA,cX.AREA],[cK.ARTICLE,cX.ARTICLE],[cK.ASIDE,cX.ASIDE],[cK.B,cX.B],[cK.BASE,cX.BASE],[cK.BASEFONT,cX.BASEFONT],[cK.BGSOUND,cX.BGSOUND],[cK.BIG,cX.BIG],[cK.BLOCKQUOTE,cX.BLOCKQUOTE],[cK.BODY,cX.BODY],[cK.BR,cX.BR],[cK.BUTTON,cX.BUTTON],[cK.CAPTION,cX.CAPTION],[cK.CENTER,cX.CENTER],[cK.CODE,cX.CODE],[cK.COL,cX.COL],[cK.COLGROUP,cX.COLGROUP],[cK.DD,cX.DD],[cK.DESC,cX.DESC],[cK.DETAILS,cX.DETAILS
1],[cK.DIALOG,cX.DIALOG],[cK.DIR,cX.DIR],[cK.DIV,cX.DIV],[cK.DL,cX.DL],[cK.DT,cX.DT],[cK.EM,cX.EM],[cK.EMBED,cX.EMBED],[cK.FIELDSET,cX.FIELDSET],[cK.FIGCAPTION,cX.FIGCAPTION],[cK.FIGURE,cX.FIGURE],[cK.FONT,cX.FONT],[cK.FOOTER,cX.FOOTER],[cK.FOREIGN_OBJECT,cX.FOREIGN_OBJECT],[cK.FORM,cX.FORM],[cK.FRAME,cX.FRAME],[cK.FRAMESET,cX.FRAMESET],[cK.H1,cX.H1],[cK.H2,cX.H2],[cK.H3,cX.H3],[cK.H4,cX.H4],[cK.H5,cX.H5],[cK.H6,cX.H6],[cK.HEAD,cX.HEAD],[cK.HEADER,cX.HEADER],[cK.HGROUP,cX.HGROUP],[cK.HR,cX.HR],[cK.HTML,cX.HTML],[cK.I,cX.I],[cK.IMG,cX.IMG],[cK.IMAGE,cX.IMAGE],[cK.INPUT,cX.INPUT],[cK.IFRAME,cX.IFRAME],[cK.KEYGEN,cX.KEYGEN],[cK.LABEL,cX.LABEL],[cK.LI,cX.LI],[cK.LINK,cX.LINK],[cK.LISTING,cX.LISTING],[cK.MAIN,cX.MAIN],[cK.MALIGNMARK,cX.MALIGNMARK],[cK.MARQUEE,cX.MARQUEE],[cK.MATH,cX.MATH],[cK.MENU,cX.MENU],[cK.META,cX.META],[cK.MGLYPH,cX.MGLYPH],[cK.MI,cX.MI],[cK.MO,cX.MO],[cK.MN,cX.MN],[cK.MS,cX.MS],[cK.MTEXT,cX.MTEXT],[cK.NAV,cX.NAV],[cK.NOBR,cX.NOBR],[cK.NOFRAMES,cX.NOFRAMES],[cK.NOEMBED,cX.NOEMBED],[cK.NOSCRIPT,cX.NOSCRIPT],[cK.OBJECT,cX.OBJECT],[cK.OL,cX.OL],[cK.OPTGROUP,cX.OPTGROUP],[cK.OPTION,cX.OPTION],[cK.P,cX.P],[cK.PARAM,cX.PARAM],[cK.PLAINTEXT,cX.PLAINTEXT],[cK.PRE,cX.PRE],[cK.RB,cX.RB],[cK.RP,cX.RP],[cK.RT,cX.RT],[cK.RTC,cX.RTC],[cK.RUBY,cX.RUBY],[cK.S,cX.S],[cK.SCRIPT,cX.SCRIPT],[cK.SEARCH,cX.SEARCH],[cK.SECTION,cX.SECTION],[cK.SELECT,cX.SELECT],[cK.SOURCE,cX.SOURCE],[cK.SMALL,cX.SMALL],[cK.SPAN,cX.SPAN],[cK.STRIKE,cX.STRIKE],[cK.STRONG,cX.STRONG],[cK.STYLE,cX.STYLE],[cK.SUB,cX.SUB],[cK.SUMMARY,cX.SUMMARY],[cK.SUP,cX.SUP],[cK.TABLE,cX.TABLE],[cK.TBODY,cX.TBODY],[cK.TEMPLATE,cX.TEMPLATE],[cK.TEXTAREA,cX.TEXTAREA],[cK.TFOOT,cX.TFOOT],[cK.TD,cX.TD],[cK.TH,cX.TH],[cK.THEAD,cX.THEAD],[cK.TITLE,cX.TITLE],[cK.TR,cX.TR],[cK.TRACK,cX.TRACK],[cK.TT,cX.TT],[cK.U,cX.U],[cK.UL,cX.UL],[cK.SVG,cX.SVG],[cK.VAR,cX.VAR],[cK.WBR,cX.WBR],[cK.XMP,cX.XMP]]);function eq(e){var t;return null!=(t=eY.get(e))?t:cX.UNKNOWN}let eV=cX,e$={[c$.HTML]:new Set([eV.ADDRESS,eV.APPLET,eV.AREA,eV.ARTICLE,eV.ASIDE,eV.BASE,eV.BASEFONT,eV.BGSOUND,eV.BLOCKQUOTE,eV.BODY,eV.BR,eV.BUTTON,eV.CAPTION,eV.CENTER,eV.COL,eV.COLGROUP,eV.DD,eV.DETAILS,eV.DIR,eV.DIV,eV.DL,eV.DT,eV.EMBED,eV.FIELDSET,eV.FIGCAPTION,eV.FIGURE,eV.FOOTER,eV.FORM,eV.FRAME,eV.FRAMESET,eV.H1,eV.H2,eV.H3,eV.H4,eV.H5,eV.H6,eV.HEAD,eV.HEADER,eV.HGROUP,eV.HR,eV.HTML,eV.IFRAME,eV.IMG,eV.INPUT,eV.LI,eV.LINK,eV.LISTING,eV.MAIN,eV.MARQUEE,eV.MENU,eV.META,eV.NAV,eV.NOEMBED,eV.NOFRAMES,eV.NOSCRIPT,eV.OBJECT,eV.OL,eV.P,eV.PARAM,eV.PLAINTEXT,eV.PRE,eV.SCRIPT,eV.SECTION,eV.SELECT,eV.SOURCE,eV.STYLE,eV.SUMMARY,eV.TABLE,eV.TBODY,eV.TD,eV.TEMPLATE,eV.TEXTAREA,eV.TFOOT,eV.TH,eV.THEAD,eV.TITLE,eV.TR,eV.TRACK,eV.UL,eV.WBR,eV.XMP]),[c$.MATHML]:new Set([eV.MI,eV.MO,eV.MN,eV.MS,eV.MTEXT,eV.ANNOTATION_XML]),[c$.SVG]:new Set([eV.TITLE,eV.FOREIGN_OBJECT,eV.DESC]),[c$.XLINK]:new Set,[c$.XML]:new Set,[c$.XMLNS]:new Set},eW=new Set([eV.H1,eV.H2,eV.H3,eV.H4,eV.H5,eV.H6]),eQ=new Set([cK.STYLE,cK.SCRIPT,cK.XMP,cK.IFRAME,cK.NOEMBED,cK.NOFRAMES,cK.PLAINTEXT]);e.s(["ATTRS",0,cW,"DOCUMENT_MODE",0,cQ,"NS",0,c$,"NUMBERED_HEADERS",0,eW,"SPECIAL_ELEMENTS",0,e$,"TAG_ID",0,cX,"TAG_NAMES",0,cK,"getTagID",0,eq,"hasUnescapedText",0,function(e,t){return eQ.has(e)||t&&e===cK.NOSCRIPT}],113515),(cP=cZ||(cZ={}))[cP.DATA=0]="DATA",cP[cP.RCDATA=1]="RCDATA",cP[cP.RAWTEXT=2]="RAWTEXT",cP[cP.SCRIPT_DATA=3]="SCRIPT_DATA",cP[cP.PLAINTEXT=4]="PLAINTEXT",cP[cP.TAG_OPEN=5]="TAG_OPEN",cP[cP.END_TAG_OPEN=6]="END_TAG_OPEN",cP[cP.TAG_NAME=7]="TAG_NAME",cP[cP.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",cP[cP.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",cP[cP.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",cP[cP.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",cP[cP.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",cP[cP.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",cP[cP.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",cP[cP.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",cP[cP.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",cP[cP.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",cP[cP.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",cP[cP.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",cP[cP.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",cP[cP.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",cP[cP.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",cP[cP.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",cP[cP.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",cP[cP.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",cP[cP.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",cP[cP.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",cP[cP.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",cP[cP.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",cP[cP.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",cP[cP.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",cP[cP.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",cP[cP.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",cP[cP.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",cP[cP.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",cP[cP.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",cP[cP.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",cP[cP.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",cP[cP.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",cP[cP.BOGUS_COMMENT=40]="BOGUS_COMMENT",cP[cP.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",cP[cP.COMMENT_START=42]="COMMENT_START",cP[cP.COMMENT_START_DASH=43]="COMMENT_START_DASH",cP[cP.COMMENT=44]="COMMENT",cP[cP.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",cP[cP.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",cP[cP.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",cP[cP.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",cP[cP.COMMENT_END_DASH=49]="COMMENT_END_DASH",cP[cP.COMMENT_END=50]="COMMENT_END",cP[cP.COMMENT_END_BANG=51]="COMMENT_END_BANG",cP[cP.DOCTYPE=52]="DOCTYPE",cP[cP.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",cP[cP.DOCTYPE_NAME=54]="DOCTYPE_NAME",cP[cP.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",cP[cP.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",cP[cP.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",cP[cP.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",cP[cP.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",cP[cP.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",cP[cP.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",cP[cP.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",cP[cP.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",cP[cP.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",cP[cP.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",cP[cP.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",cP[cP.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",cP[cP.CDATA_SECTION=68]="CDATA_SECTION",cP[cP.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",cP[cP.CDATA_SECTION_END=70]="CDATA_SECTION_END",cP[cP.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",cP[cP.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND";let eK={DATA:cZ.DATA,RCDATA:cZ.RCDATA,RAWTEXT:cZ.RAWTEXT,SCRIPT_DATA:cZ.SCRIPT_DATA,PLAINTEXT:cZ.PLAINTEXT,CDATA_SECTION:cZ.CDATA_SECTION};function eX(e){return e>=cH.LATIN_CAPITAL_A&&e<=cH.LATIN_CAPITAL_Z}function eZ(e){return e>=cH.LATIN_SMALL_A&&e<=cH.LATIN_SMALL_Z||eX(e)}function eJ(e){return eZ(e)||e>=cH.DIGIT_0&&e<=cH.DIGIT_9}function e0(e){return e===cH.SPACE||e===cH.LINE_FEED||e===cH.TABULATION||e===cH.FORM_FEED}function e1(e){return e0(e)||e===cH.SOLIDUS||e===cH.GREATER_THAN_SIGN}class e2{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=cZ.DATA,this.returnState=cZ.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new eF(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new ez(eU,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(cU.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(cU.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){if(e===cH.NULL)return cU.nullCharacterReference;if(e>1114111)return cU.characterReferenceOutsideUnicodeRange;if(eM(e))return cU.surrogateCharacterReference;if(eB(e))return cU.noncharacterCharacterReference;if(eP(e)||e===cH.CARRIAGE_RETURN)return cU.controlCharacterReference;return null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;null==(r=(n=this.handler).onParseError)||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:cG.START_TAG,tagName:"",tagID:cX.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:cG.END_TAG,tagName:"",tagID:cX.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:cG.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:cG.DOCTYPE,name:e,forceQuirks:!1,publicId:null,
1systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;let n=this.currentToken;null===eH(n,this.currentAttr.name)?(n.attrs.push(this.currentAttr),n.location&&this.currentLocation&&((null!=(e=(t=n.location).attrs)?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(cU.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=eq(e.tagName),e.type===cG.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(cU.endTagWithAttributes),e.selfClosing&&this._err(cU.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case cG.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case cG.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case cG.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:cG.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=e0(e)?cG.WHITESPACE_CHARACTER:e===cH.NULL?cG.NULL_CHARACTER:cG.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(cG.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=cZ.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?cV.Attribute:cV.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===cZ.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===cZ.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===cZ.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case cZ.DATA:this._stateData(e);break;case cZ.RCDATA:this._stateRcdata(e);break;case cZ.RAWTEXT:this._stateRawtext(e);break;case cZ.SCRIPT_DATA:this._stateScriptData(e);break;case cZ.PLAINTEXT:this._statePlaintext(e);break;case cZ.TAG_OPEN:this._stateTagOpen(e);break;case cZ.END_TAG_OPEN:this._stateEndTagOpen(e);break;case cZ.TAG_NAME:this._stateTagName(e);break;case cZ.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case cZ.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case cZ.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case cZ.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case cZ.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case cZ.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case cZ.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case cZ.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case cZ.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case cZ.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case cZ.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case cZ.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case cZ.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case cZ.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case cZ.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case cZ.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case cZ.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case cZ.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscape
vendor: 7,122 bytes, line 1
1Start(e);break;case cZ.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case cZ.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case cZ.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case cZ.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case cZ.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case cZ.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case cZ.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case cZ.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case cZ.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case cZ.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case cZ.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case cZ.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case cZ.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case cZ.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case cZ.BOGUS_COMMENT:this._stateBogusComment(e);break;case cZ.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case cZ.COMMENT_START:this._stateCommentStart(e);break;case cZ.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case cZ.COMMENT:this._stateComment(e);break;case cZ.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case cZ.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case cZ.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case cZ.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case cZ.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case cZ.COMMENT_END:this._stateCommentEnd(e);break;case cZ.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case cZ.DOCTYPE:this._stateDoctype(e);break;case cZ.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case cZ.DOCTYPE_NAME:this._stateDoctypeName(e);break;case cZ.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case cZ.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case cZ.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case cZ.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case cZ.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case cZ.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case cZ.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case cZ.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case cZ.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case cZ.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case cZ.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case cZ.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case cZ.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case cZ.CDATA_SECTION:this._stateCdataSection(e);break;case cZ.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case cZ.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case cZ.CHARACTER_REFERENCE:this._stateCharacterReference();break;case cZ.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case cH.LESS_THAN_SIGN:this.state=cZ.TAG_OPEN;break;case cH.AMPERSAND:this._startCharacterReference();break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this._emitCodePoint(e);break;case cH.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case cH.AMPERSAND:this._startCharacterReference();break;case cH.LESS_THAN_SIGN:this.state=cZ.RCDATA_LESS_THAN_SIGN;break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this._emitChars("�");break;case cH.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case cH.LESS_THAN_SIGN:this.state=cZ.RAWTEXT_LESS_THAN_SIGN;break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this._emitChars("�");break;case cH.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case cH.LESS_THAN_SIGN:this.state=cZ.SCRIPT_DATA_LESS_THAN_SIGN;break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this._emitChars("�");break;case cH.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case cH.NULL:this._err(cU.unexpectedNullCharacter),this._emitChars("�");break;case cH.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eZ(e))this._createStartTagToken(),this.state=cZ.TAG_NAME,this._stateTagName(e);else switch(e){case cH.EXCLAMATION_MARK:this.state=cZ.MARKUP_DECLARATION_OPEN;break;case cH.SOLIDUS:this.state=cZ.END_TAG_OPEN;break;case cH.QUESTION_MARK:this._err(cU.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=cZ.BOGUS_COMMENT,this._stateBogusComment(e);break;case cH.EOF:this._err(cU.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(cU.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=cZ.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eZ(e))this._createEndTagToken(),this.state=cZ.TAG_NAME,this._stateTagName(e);else switch(e){case cH.GREATER_THAN_SIGN:this._err(cU.missingEndTagName),this.state=cZ.DATA;break;case cH.EOF:this._err(cU.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(cU.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=cZ.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:this.state=cZ.BEFORE_ATTRIBUTE_NAME;break;case cH.SOLIDUS:this.state=cZ.SELF_CLOSING_START_TAG;break;case cH.GREATER_THAN_SIGN:this.state=cZ.DATA,this.emitCurrentTagToken();break;case cH.NULL:this._err(cU.unexpectedNullCharacter),t.tagName+="�";break;case cH.EOF:this._err(cU.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(eX(e)?e+32:e)}}_stateRcdataLessThanSign(e){e===cH.SOLIDUS?this.state=cZ.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=cZ.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){eZ(e)?(this.state=cZ.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=cZ.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=cZ.BEFORE_ATTRIBUTE_NAME,
vendor: 7,332 bytes, line 1
1!1;case cH.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=cZ.SELF_CLOSING_START_TAG,!1;case cH.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=cZ.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=cZ.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===cH.SOLIDUS?this.state=cZ.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=cZ.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){eZ(e)?(this.state=cZ.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=cZ.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=cZ.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case cH.SOLIDUS:this.state=cZ.SCRIPT_DATA_END_TAG_OPEN;break;case cH.EXCLAMATION_MARK:this.state=cZ.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=cZ.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){eZ(e)?(this.state=cZ.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=cZ.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=cZ.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===cH.HYPHEN_MINUS?(this.state=cZ.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=cZ.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===cH.HYPHEN_MINUS?(this.state=cZ.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=cZ.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case cH.HYPHEN_MINUS:this.state=cZ.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case cH.LESS_THAN_SIGN:this.state=cZ.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this._emitChars("�");break;case cH.EOF:this._err(cU.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case cH.HYPHEN_MINUS:this.state=cZ.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case cH.LESS_THAN_SIGN:this.state=cZ.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this.state=cZ.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case cH.EOF:this._err(cU.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=cZ.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case cH.HYPHEN_MINUS:this._emitChars("-");break;case cH.LESS_THAN_SIGN:this.state=cZ.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case cH.GREATER_THAN_SIGN:this.state=cZ.SCRIPT_DATA,this._emitChars(">");break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this.state=cZ.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case cH.EOF:this._err(cU.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=cZ.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===cH.SOLIDUS?this.state=cZ.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eZ(e)?(this._emitChars("<"),this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=cZ.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eZ(e)?(this.state=cZ.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=cZ.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=cZ.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(ew,!1)&&e1(this.preprocessor.peek(ew.length))){this._emitCodePoint(e);for(let e=0;e<ew.length;e++)this._emitCodePoint(this._consume());this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=cZ.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case cH.HYPHEN_MINUS:this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case cH.LESS_THAN_SIGN:this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this._emitChars("�");break;case cH.EOF:this._err(cU.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case cH.HYPHEN_MINUS:this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case cH.LESS_THAN_SIGN:this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case cH.EOF:this._err(cU.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case cH.HYPHEN_MINUS:this._emitChars("-");break;case cH.LESS_THAN_SIGN:this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case cH.GREATER_THAN_SIGN:this.state=cZ.SCRIPT_DATA,this._emitChars(">");break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case cH.EOF:this._err(cU.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===cH.SOLIDUS?(this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(ew,!1)&&e1(this.preprocessor.peek(ew.length))){this._emitCodePoint(e);for(let e=0;e<ew.length;e++)this._emitCodePoint(this._consume());this.state=cZ.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=cZ.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:break;case cH.SOLIDUS:case cH.GREATER_THAN_SIGN:case cH.EOF:this.state=cZ.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case cH.EQUALS_SIGN:this._err(cU.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=cZ.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=cZ.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:case cH.SOLIDUS:case cH.GREATER_THAN_SIGN:case cH.EOF:this._leaveAttrName(),this.state=cZ.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case cH.EQUALS_SIGN:this._leaveAttrName(),this.state=cZ.BEFORE_ATTRIBUTE_VALUE;break;case cH.QUOTATION_MARK:case cH.APOSTROPHE:case cH.LESS_THAN_SIGN:this._err(cU.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this.currentAttr.name+="
1�";break;default:this.currentAttr.name+=String.fromCodePoint(eX(e)?e+32:e)}}_stateAfterAttributeName(e){switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:break;case cH.SOLIDUS:this.state=cZ.SELF_CLOSING_START_TAG;break;case cH.EQUALS_SIGN:this.state=cZ.BEFORE_ATTRIBUTE_VALUE;break;case cH.GREATER_THAN_SIGN:this.state=cZ.DATA,this.emitCurrentTagToken();break;case cH.EOF:this._err(cU.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=cZ.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:break;case cH.QUOTATION_MARK:this.state=cZ.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case cH.APOSTROPHE:this.state=cZ.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case cH.GREATER_THAN_SIGN:this._err(cU.missingAttributeValue),this.state=cZ.DATA,this.emitCurrentTagToken();break;default:this.state=cZ.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case cH.QUOTATION_MARK:this.state=cZ.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case cH.AMPERSAND:this._startCharacterReference();break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this.currentAttr.value+="�";break;case cH.EOF:this._err(cU.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case cH.APOSTROPHE:this.state=cZ.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case cH.AMPERSAND:this._startCharacterReference();break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this.currentAttr.value+="�";break;case cH.EOF:this._err(cU.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:this._leaveAttrValue(),this.state=cZ.BEFORE_ATTRIBUTE_NAME;break;case cH.AMPERSAND:this._startCharacterReference();break;case cH.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=cZ.DATA,this.emitCurrentTagToken();break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this.currentAttr.value+="�";break;case cH.QUOTATION_MARK:case cH.APOSTROPHE:case cH.LESS_THAN_SIGN:case cH.EQUALS_SIGN:case cH.GRAVE_ACCENT:this._err(cU.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case cH.EOF:this._err(cU.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:this._leaveAttrValue(),this.state=cZ.BEFORE_ATTRIBUTE_NAME;break;case cH.SOLIDUS:this._leaveAttrValue(),this.state=cZ.SELF_CLOSING_START_TAG;break;case cH.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=cZ.DATA,this.emitCurrentTagToken();break;case cH.EOF:this._err(cU.eofInTag),this._emitEOFToken();break;default:this._err(cU.missingWhitespaceBetweenAttributes),this.state=cZ.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case cH.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=cZ.DATA,this.emitCurrentTagToken();break;case cH.EOF:this._err(cU.eofInTag),this._emitEOFToken();break;default:this._err(cU.unexpectedSolidusInTag),this.state=cZ.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case cH.GREATER_THAN_SIGN:this.state=cZ.DATA,this.emitCurrentComment(t);break;case cH.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case cH.NULL:this._err(cU.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=cZ.COMMENT_START):this._consumeSequenceIfMatch(ev,!1)?(this.currentLocation=this.getCurrentLocation(ev.length+1),this.state=cZ.DOCTYPE):this._consumeSequenceIfMatch(eL,!0)?this.inForeignNode?this.state=cZ.CDATA_SECTION:(this._err(cU.cdataInHtmlContent),this._createCommentToken(eL.length+1),this.currentToken.data="[CDATA[",this.state=cZ.BOGUS_COMMENT):this._ensureHibernation()||(this._err(cU.incorrectlyOpenedComment),this._createCommentToken(2),this.state=cZ.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case cH.HYPHEN_MINUS:this.state=cZ.COMMENT_START_DASH;break;case cH.GREATER_THAN_SIGN:{this._err(cU.abruptClosingOfEmptyComment),this.state=cZ.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=cZ.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case cH.HYPHEN_MINUS:this.state=cZ.COMMENT_END;break;case cH.GREATER_THAN_SIGN:this._err(cU.abruptClosingOfEmptyComment),this.state=cZ.DATA,this.emitCurrentComment(t);break;case cH.EOF:this._err(cU.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=cZ.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case cH.HYPHEN_MINUS:this.state=cZ.COMMENT_END_DASH;break;case cH.LESS_THAN_SIGN:t.data+="<",this.state=cZ.COMMENT_LESS_THAN_SIGN;break;case cH.NULL:this._err(cU.unexpectedNullCharacter),t.data+="�";break;case cH.EOF:this._err(cU.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case cH.EXCLAMATION_MARK:t.data+="!",this.state=cZ.COMMENT_LESS_THAN_SIGN_BANG;break;case cH.LESS_THAN_SIGN:t.data+="<";break;default:this.state=cZ.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===cH.HYPHEN_MINUS?this.state=cZ.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=cZ.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===cH.HYPHEN_MINUS?this.state=cZ.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=cZ.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==cH.GREATER_THAN_SIGN&&e!==cH.EOF&&this._err(cU.nestedComment),this.state=cZ.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case cH.HYPHEN_MINUS:this.state=cZ.COMMENT_END;break;case cH.EOF:this._err(cU.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=cZ.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case cH.GREATER_THAN_SIGN:this.state=cZ.DATA,this.emitCurrentComment(t);break;case cH.EXCLAMATION_MARK:this.state=cZ.COMMENT_END_BANG;break;case cH.HYPHEN_MINUS:t.data+="-";break;case cH.EOF:this._err(cU.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=cZ.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case cH.HYPHEN_MINUS:t.data+="--!",this.state=cZ.COMMENT_END_DASH;break;case cH.GREATER_THAN_SIGN:this._err(cU.incorrectlyClosedComment),this.state=cZ.DATA,this.emitCurrentComment(t);break;case cH.EOF:this._err(cU.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=cZ.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:this.state=cZ.BEFORE_DOCTYPE_NAME;break;case cH.GREATER_THAN_SIGN:this.state=cZ.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case cH.EOF:{this._err(cU.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(cU.missingWhitespaceBeforeDoctypeName),this.state=cZ.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(eX(e))this._createDoctypeToken(String.fromCharCode(e+32)),this.state=cZ.DOCTYPE_NAME;else switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:break;case cH.NULL:this._err(cU.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=cZ.DOCTYPE_NAME;break;case cH.GREATER_THAN_SIGN:{this._err(cU.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=cZ.DATA;break}case cH.EOF:{this._err(cU.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=cZ.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:this.state=cZ.AFTER_DOCTYPE_NAME;break;case cH.GREATER_THAN_SIGN:this.state=cZ.DATA,this.emitCurrentDoctype(t);break;
1case cH.NULL:this._err(cU.unexpectedNullCharacter),t.name+="�";break;case cH.EOF:this._err(cU.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(eX(e)?e+32:e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:break;case cH.GREATER_THAN_SIGN:this.state=cZ.DATA,this.emitCurrentDoctype(t);break;case cH.EOF:this._err(cU.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=cZ.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=cZ.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(cU.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=cZ.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:this.state=cZ.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case cH.QUOTATION_MARK:this._err(cU.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=cZ.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case cH.APOSTROPHE:this._err(cU.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=cZ.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case cH.GREATER_THAN_SIGN:this._err(cU.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=cZ.DATA,this.emitCurrentDoctype(t);break;case cH.EOF:this._err(cU.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(cU.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=cZ.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:break;case cH.QUOTATION_MARK:t.publicId="",this.state=cZ.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case cH.APOSTROPHE:t.publicId="",this.state=cZ.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case cH.GREATER_THAN_SIGN:this._err(cU.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=cZ.DATA,this.emitCurrentDoctype(t);break;case cH.EOF:this._err(cU.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(cU.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=cZ.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case cH.QUOTATION_MARK:this.state=cZ.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case cH.NULL:this._err(cU.unexpectedNullCharacter),t.publicId+="�";break;case cH.GREATER_THAN_SIGN:this._err(cU.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=cZ.DATA;break;case cH.EOF:this._err(cU.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case cH.APOSTROPHE:this.state=cZ.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case cH.NULL:this._err(cU.unexpectedNullCharacter),t.publicId+="�";break;case cH.GREATER_THAN_SIGN:this._err(cU.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=cZ.DATA;break;case cH.EOF:this._err(cU.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:this.state=cZ.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case cH.GREATER_THAN_SIGN:this.state=cZ.DATA,this.emitCurrentDoctype(t);break;case cH.QUOTATION_MARK:this._err(cU.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=cZ.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case cH.APOSTROPHE:this._err(cU.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=cZ.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case cH.EOF:this._err(cU.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;
vendor: 5,088 bytes, line 1
1default:this._err(cU.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=cZ.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:break;case cH.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=cZ.DATA;break;case cH.QUOTATION_MARK:t.systemId="",this.state=cZ.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case cH.APOSTROPHE:t.systemId="",this.state=cZ.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case cH.EOF:this._err(cU.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(cU.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=cZ.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:this.state=cZ.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case cH.QUOTATION_MARK:this._err(cU.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=cZ.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case cH.APOSTROPHE:this._err(cU.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=cZ.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case cH.GREATER_THAN_SIGN:this._err(cU.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=cZ.DATA,this.emitCurrentDoctype(t);break;case cH.EOF:this._err(cU.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(cU.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=cZ.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:break;case cH.QUOTATION_MARK:t.systemId="",this.state=cZ.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case cH.APOSTROPHE:t.systemId="",this.state=cZ.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case cH.GREATER_THAN_SIGN:this._err(cU.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=cZ.DATA,this.emitCurrentDoctype(t);break;case cH.EOF:this._err(cU.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(cU.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=cZ.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case cH.QUOTATION_MARK:this.state=cZ.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case cH.NULL:this._err(cU.unexpectedNullCharacter),t.systemId+="�";break;case cH.GREATER_THAN_SIGN:this._err(cU.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=cZ.DATA;break;case cH.EOF:this._err(cU.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case cH.APOSTROPHE:this.state=cZ.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case cH.NULL:this._err(cU.unexpectedNullCharacter),t.systemId+="�";break;case cH.GREATER_THAN_SIGN:this._err(cU.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=cZ.DATA;break;case cH.EOF:this._err(cU.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case cH.SPACE:case cH.LINE_FEED:case cH.TABULATION:case cH.FORM_FEED:break;case cH.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=cZ.DATA;break;case cH.EOF:this._err(cU.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(cU.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=cZ.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case cH.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=cZ.DATA;break;case cH.NULL:this._err(cU.unexpectedNullCharacter);break;case cH.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case cH.RIGHT_SQUARE_BRACKET:this.state=cZ.CDATA_SECTION_BRACKET;break;case cH.EOF:this._err(cU.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===cH.RIGHT_SQUARE_BRACKET?this.state=cZ.CDATA_SECTION_END:(this._emitChars("]"),this.state=cZ.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case cH.GREATER_THAN_SIGN:this.state=cZ.DATA;break;case cH.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=cZ.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}
vendor: 4,174 bytes, line 1
10===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(cH.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&eJ(this.preprocessor.peek(1))?cZ.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){eJ(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===cH.SEMICOLON&&this._err(cU.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}let e5=new Set([cX.DD,cX.DT,cX.LI,cX.OPTGROUP,cX.OPTION,cX.P,cX.RB,cX.RP,cX.RT,cX.RTC]),e3=new Set([...e5,cX.CAPTION,cX.COLGROUP,cX.TBODY,cX.TD,cX.TFOOT,cX.TH,cX.THEAD,cX.TR]),e4=new Set([cX.APPLET,cX.CAPTION,cX.HTML,cX.MARQUEE,cX.OBJECT,cX.TABLE,cX.TD,cX.TEMPLATE,cX.TH]),e6=new Set([...e4,cX.OL,cX.UL]),e9=new Set([...e4,cX.BUTTON]),e7=new Set([cX.ANNOTATION_XML,cX.MI,cX.MN,cX.MO,cX.MS,cX.MTEXT]),e8=new Set([cX.DESC,cX.FOREIGN_OBJECT,cX.TITLE]),te=new Set([cX.TR,cX.TEMPLATE,cX.HTML]),tt=new Set([cX.TBODY,cX.TFOOT,cX.THEAD,cX.TEMPLATE,cX.HTML]),tn=new Set([cX.TABLE,cX.TEMPLATE,cX.HTML]),tr=new Set([cX.TD,cX.TH]);class ti{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=cX.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===cX.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===c$.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==c$.HTML)this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(eW,c$.HTML)}popUntilTableCellPopped(){this.popUntilPopped(tr,c$.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(tn,c$.HTML)}clearBackToTableBodyContext(){this.clearBackTo(tt,c$.HTML)}clearBackToTableRowContext(){this.clearBackTo(te,c$.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===cX.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===cX.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case c$.HTML:if(r===e)return!0;
1if(t.has(r))return!1;break;case c$.SVG:if(e8.has(r))return!1;break;case c$.MATHML:if(e7.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,e4)}hasInListItemScope(e){return this.hasInDynamicScope(e,e6)}hasInButtonScope(e){return this.hasInDynamicScope(e,e9)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case c$.HTML:if(eW.has(t))return!0;if(e4.has(t))return!1;break;case c$.SVG:if(e8.has(t))return!1;break;case c$.MATHML:if(e7.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===c$.HTML)switch(this.tagIDs[t]){case e:return!0;case cX.TABLE:case cX.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===c$.HTML)switch(this.tagIDs[e]){case cX.TBODY:case cX.THEAD:case cX.TFOOT:return!0;case cX.TABLE:case cX.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===c$.HTML)switch(this.tagIDs[t]){case e:return!0;case cX.OPTION:case cX.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&e5.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&e3.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&e3.has(this.currentTagId);)this.pop()}}(cB=cJ||(cJ={}))[cB.Marker=0]="Marker",cB[cB.Element=1]="Element";let ta={type:cJ.Marker};class ts{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===cJ.Marker)break;let{element:s}=t;if(this.treeAdapter.getTagName(s)===i&&this.treeAdapter.getNamespaceURI(s)===a){let t=this.treeAdapter.getAttrList(s);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<3)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(ta)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:cJ.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:cJ.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(ta);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===cJ.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===cJ.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===cJ.Element&&t.element===e)}}let to={createDocument:()=>({nodeName:"#document",mode:cQ.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>"#documentType"===e.nodeName);i?(i.name=t,i.publicId=n,i.systemId=r):to.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(to.isTextNode(n)){n.value+=t;return}}to.appendChild(e,to.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&to.isTextNode(r)?r.value+=t:to.insertBefore(e,to.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},tl="html",tc=["+//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//"],tu=[...tc,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],th=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),tp=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],td=[...tp,"-
1//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function tm(e,t){return t.some(t=>e.startsWith(t))}let tf=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])),tg=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:c$.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:c$.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:c$.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:c$.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:c$.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:c$.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:c$.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:c$.XML}],["xml:space",{prefix:"xml",name:"space",namespace:c$.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:c$.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:c$.XMLNS}]]),tE=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])),tT=new Set([cX.B,cX.BIG,cX.BLOCKQUOTE,cX.BODY,cX.BR,cX.CENTER,cX.CODE,cX.DD,cX.DIV,cX.DL,cX.DT,cX.EM,cX.EMBED,cX.H1,cX.H2,cX.H3,cX.H4,cX.H5,cX.H6,cX.HEAD,cX.HR,cX.I,cX.IMG,cX.LI,cX.LISTING,cX.MENU,cX.META,cX.NOBR,cX.OL,cX.P,cX.PRE,cX.RUBY,cX.S,cX.SMALL,cX.SPAN,cX.STRONG,cX.STRIKE,cX.SUB,cX.SUP,cX.TABLE,cX.TT,cX.U,cX.UL,cX.VAR]);function tA(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function tk(e){for(let t=0;t<e.attrs.length;t++){let n=tf.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function t_(e){for(let t=0;t<e.attrs.length;t++){let n=tg.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}(cF=c0||(c0={}))[cF.INITIAL=0]="INITIAL",cF[cF.BEFORE_HTML=1]="BEFORE_HTML",cF[cF.BEFORE_HEAD=2]="BEFORE_HEAD",cF[cF.IN_HEAD=3]="IN_HEAD",cF[cF.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",cF[cF.AFTER_HEAD=5]="AFTER_HEAD",cF[cF.IN_BODY=6]="IN_BODY",cF[cF.TEXT=7]="TEXT",cF[cF.IN_TABLE=8]="IN_TABLE",cF[cF.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",cF[cF.IN_CAPTION=10]="IN_CAPTION",cF[cF.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",cF[cF.IN_TABLE_BODY=12]="IN_TABLE_BODY",cF[cF.IN_ROW=13]="IN_ROW",cF[cF.IN_CELL=14]="IN_CELL",cF[cF.IN_SELECT=15]="IN_SELECT",cF[cF.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",cF[cF.IN_TEMPLATE=17]="IN_TEMPLATE",cF[cF.AFTER_BODY=18]="AFTER_BODY",cF[cF.IN_FRAMESET=19]="IN_FRAMESET",cF[cF.AFTER_FRAMESET=20]="AFTER_FRAMESET",cF[cF.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",cF[cF.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";let tb={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},ty=new Set([cX.TABLE,cX.TBODY,cX.TFOOT,cX.THEAD,cX.TR]),tC={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:to,onParseError:null};class tN{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=c0.INITIAL,this.originalInsertionMode=c0.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={...tC,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new e2(this.options,this),this.activeFormattingElements=new ts(this.treeAdapter),this.fragmentContextID=n?eq(this.treeAdapter.getTagName(n)):cX.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new ti(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...tC,...t};null!=e||(e=n.treeAdapter.createElement(cK.TEMPLATE,c$.HTML,[]));let r=n.treeAdapter.createElement("documentmock",c$.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===cX.TEMPLATE&&i.tmplInsertionModeStack.unshift(c0.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return;let i=null!=(r=e.location)?r:tb,a={code:t,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(a)}
1onItemPush(e,t,n){var r,i;null==(i=(r=this.treeAdapter).onItemPush)||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null==(r=(n=this.treeAdapter).onItemPop)||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===c$.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,c$.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=c0.TEXT}switchToPlaintextParsing(){this.insertionMode=c0.TEXT,this.originalInsertionMode=c0.IN_BODY,this.tokenizer.state=eK.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===cK.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===c$.HTML)switch(this.fragmentContextID){case cX.TITLE:case cX.TEXTAREA:this.tokenizer.state=eK.RCDATA;break;case cX.STYLE:case cX.XMP:case cX.IFRAME:case cX.NOEMBED:case cX.NOFRAMES:case cX.NOSCRIPT:this.tokenizer.state=eK.RAWTEXT;break;case cX.SCRIPT:this.tokenizer.state=eK.SCRIPT_DATA;break;case cX.PLAINTEXT:this.tokenizer.state=eK.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,c$.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,c$.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(cK.HTML,c$.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,cX.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=n?r.lastIndexOf(n):r.length,a=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===cG.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==cX.SVG||this.treeAdapter.getTagName(t)!==cK.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==c$.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===cX.MGLYPH||e.tagID===cX.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,c$.HTML)))}_processToken(e){switch(e.type){case cG.CHARACTER:this.onCharacter(e);break;case cG.NULL_CHARACTER:this.onNullCharacter(e);break;case cG.COMMENT:this.onComment(e);break;case cG.DOCTYPE:this.onDoctype(e);break;case cG.START_TAG:this._processStartTag(e);break;case cG.END_TAG:this.onEndTag(e);break;case cG.EOF:this.onEof(e);break;case cG.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),i=this.treeAdapter.getAttrList(t);return(!n||n===c$.HTML)&&function(e,t,n){if(t===c$.MATHML&&e===cX.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===cW.ENCODING){let t=n[e].value.toLowerCase();return"text/html"===t||"application/xhtml+xml"===t}}return t===c$.SVG&&(e===cX.FOREIGN_OBJECT||e===cX.DESC||e===cX.TITLE)}(e,r,i)||(!n||n===c$.MATHML)&&r===c$.MATHML&&(e===cX.MI||e===cX.MO||e===cX.MN||e===cX.MS||e===cX.MTEXT)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===cJ.Marker||this.openElements.contains(e.element)),n=-1===t?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=c0.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(cX.P),this.openElements.popUntilTagNamePopped(cX.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case cX.TR:this.insertionMode=c0.IN_ROW;return;case cX.TBODY:case cX.THEAD:case cX.TFOOT:this.insertionMode=c0.IN_TABLE_BODY;return;case cX.CAPTION:this.insertionMode=c0.IN_CAPTION;return;case cX.COLGROUP:this.insertionMode=c0.IN_COLUMN_GROUP;return;case cX.TABLE:this.insertionMode=c0.IN_TABLE;return;case cX.BODY:this.insertionMode=c0.IN_BODY;return;case cX.FRAMESET:this.insertionMode=c0.IN_FRAMESET;return;case cX.SELECT:return void this._resetInsertionModeForSelect(e);case cX.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case cX.HTML:this.insertionMode=this.headElement?c0.AFTER_HEAD:c0.BEFORE_HEAD;return;case cX.TD:case cX.TH:if(e>0){this.insertionMode=c0.IN_CELL;return}break;case cX.HEAD:if(e>0){this.insertionMode=c0.IN_HEAD;return}}this.insertionMode=c0.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===cX.TEMPLATE)break;if(e===cX.TABLE){this.insertionMode=c0.IN_SELECT_IN_TABLE;return}}this.insertionMode=c0.IN_SELECT}_isElementCausesFosterParenting(e){return ty.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case cX.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===c$.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case cX.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return e$[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,n=e,t._insertCharacters(n),t.framesetOk=!1)}switch(this.insertionMode){case c0.INITIAL:tD(this,e);break;case c0.BEFORE_HTML:tO(this,e);break;case c0.BEFORE_HEAD:tR(this,e);break;case c0.IN_HEAD:tw(this,e);break;case c0.IN_HEAD_NO_SCRIPT:tM(this,e);break;case c0.AFTER_HEAD:tP(this,e);break;case c0.IN_BODY:case c0.IN_CAPTION:case c0.IN_CELL:case c0.IN_TEMPLATE:tH(this,e);break;case c0.TEXT:case c0.IN_SELECT:case c0.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case c0.IN_TABLE:case c0.IN_TABLE_BODY:case c0.IN_ROW:tW(this,e);break;case c0.IN_TABLE_TEXT:tJ(this,e);break;case c0.IN_COLUMN_GROUP:t5(this,e);break;case c0.AFTER_BODY:nn(this,e);break;case c0.AFTER_AFTER_BODY:nr(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,(n=e).chars="�",t._insertCharacters(n))}switch(this.insertionMode){case c0.INITIAL:tD(this,e);break;case c0.BEFORE_HTML:tO(this,e);break;case c0.BEFORE_HEAD:tR(this,e);break;case c0.IN_HEAD:tw(this,e);break;case c0.IN_HEAD_NO_SCRIPT:tM(this,e);break;case c0.AFTER_HEAD:tP(this,e);break;case c0.TEXT:this._insertCharacters(e);break;case c0.IN_TABLE:case c0.IN_TABLE_BODY:case c0.IN_ROW:tW(this,e);break;case c0.IN_COLUMN_GROUP:t5(this,e);break;case c0.AFTER_BODY:nn(this,e);break;case c0.AFTER_AFTER_BODY:nr(this,e)}}onComment(e){var t,n,r,i;if(this.skipNextNewLine=!1,this.currentNotInHTML)return void tI(this,e);switch(this.insertionMode){case c0.INITIAL:case c0.BEFORE_HTML:case c0.BEFORE_HEAD:case c0.IN_HEAD:case c0.IN_HEAD_NO_SCRIPT:case c0.AFTER_HEAD:case c0.IN_BODY:case c0.IN_TABLE:case c0.IN_CAPTION:case c0.IN_COLUMN_GROUP:case c0.IN_TABLE_BODY:case c0.IN_ROW:case c0.IN_CELL:case c0.IN_SELECT:case c0.IN_SELECT_IN_TABLE:case c0.IN_TEMPLATE:case c0.IN_FRAMESET:case c0.AFTER_FRAMESET:tI(this,e);break;case c0.IN_TABLE_TEXT:t0(this,e);break;case c0.AFTER_BODY:t=this,n=e,t._appendCommentNode(n,t.openElements.items[0]);break;case c0.AFTER_AFTER_BODY:case c0.AFTER_AFTER_FRAMESET:r=this,i=e,r._appendCommentNode(i,r.document)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case c0.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?cQ.QUIRKS:function(e){if(e.name!==tl)return cQ.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return cQ.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),th.has(n))return cQ.QUIRKS;let e=null===t?tu:tc;if(tm(n,e))return cQ.QUIRKS;if(tm(n,e=null===t?tp:td))return cQ.LIMITED_QUIRKS}return cQ.NO_QUIRKS}(t);(t.name!==tl||null!==t.publicId||null!==t.systemId&&"about:legacy-compat"!==t.systemId)&&e._err(t,cU.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=c0.BEFORE_HTML}(this,e);break;case c0.BEFORE_HEAD:case c0.IN_HEAD:case c0.IN_HEAD_NO_SCRIPT:case c0.AFTER_HEAD:this._err(e,cU.misplacedDoctype);break;case c0.IN_TABLE_TEXT:t0(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,cU.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){let n;if((n=t.tagID)===cX.FONT&&t.attrs.some(({name:e})=>e===cW.COLOR||e===cW.SIZE||e===cW.FACE)||tT.has(n))ni(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);if(r===c$.MATHML)tA(t);else if(r===c$.SVG){let e;null!=(e=tE.get(t.tagName))&&(t.tagName=e,t.tagID=eq(t.tagName)),tk(t)}t_(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case c0.INITIAL:tD(this,e);break;case c0.BEFORE_HTML:t=this,(n=e).tagID===cX.HTML?(t._insertElement(n,c$.HTML),t.insertionMode=c0.BEFORE_HEAD):tO(t,n);break;case c0.BEFORE_HEAD:var t,n,r,i,a,s,o,l,c,u,h,p,d=this,m=e;switch(m.tagID){case cX.HTML:tY(d,m);break;case cX.HEAD:d._insertElement(m,c$.HTML),d.headElement=d.openElements.current,d.insertionMode=c0.IN_HEAD;break;default:tR(d,m)}break;case c0.IN_HEAD:tL(this,e);break;case c0.IN_HEAD_NO_SCRIPT:var f=this,g=e;switch(g.tagID){case cX.HTML:tY(f,g);break;case cX.BASEFONT:case cX.BGSOUND:case cX.HEAD:case cX.LINK:case cX.META:case cX.NOFRAMES:case cX.STYLE:tL(f,g);break;case cX.NOSCRIPT:f._err(g,cU.nestedNoscriptInHead);break;default:tM(f,g)}break;case c0.AFTER_HEAD:var E=this,T=e;switch(T.tagID){case cX.HTML:tY(E,T);break;case cX.BODY:E._insertElement(T,c$.HTML),E.framesetOk=!1,E.insertionMode=c0.IN_BODY;break;case cX.FRAMESET:E._insertElement(T,c$.HTML),E.insertionMode=c0.IN_FRAMESET;break;case cX.BASE:case cX.BASEFONT:case cX.BGSOUND:case cX.LINK:case cX.META:case cX.NOFRAMES:case cX.SCRIPT:case cX.STYLE:case cX.TEMPLATE:case cX.TITLE:E._err(T,cU.abandonedHeadElementChild),E.openElements.push(E.headElement,cX.HEAD),tL(E,T),E.openElements.remove(E.headElement);break;case cX.HEAD:E._err(T,cU.misplacedStartTagForHeadElement);break;default:tP(E,T)}break;case c0.IN_BODY:tY(this,e);break;case c0.IN_TABLE:tQ(this,e);break;case c0.IN_TABLE_TEXT:t0(this,e);break;case c0.IN_CAPTION:let A;r=this,A=(i=e).tagID,t1.has(A)?r.openElements.hasInTableScope(cX.CAPTION)&&(r.openElements.generateImpliedEndTags(),r.openElements.popUntilTagNamePopped(cX.CAPTION),r.activeFormattingElements.clearToLastMarker(),r.insertionMode=c0.IN_TABLE,tQ(r,i)):tY(r,i);break;case c0.IN_COLUMN_GROUP:t2(this,e);break;case c0.IN_TABLE_BODY:t3(this,e);break;case c0.IN_ROW:t6(this,e);break;case c0.IN_CELL:let k;a=this,k=(s=e).tagID,t1.has(k)?(a.openElements.hasInTableScope(cX.TD)||a.openElements.hasInTableScope(cX.TH))&&(a._closeTableCell(),t6(a,s)
1):tY(a,s);break;case c0.IN_SELECT:t7(this,e);break;case c0.IN_SELECT_IN_TABLE:let _;o=this,(_=(l=e).tagID)===cX.CAPTION||_===cX.TABLE||_===cX.TBODY||_===cX.TFOOT||_===cX.THEAD||_===cX.TR||_===cX.TD||_===cX.TH?(o.openElements.popUntilTagNamePopped(cX.SELECT),o._resetInsertionMode(),o._processStartTag(l)):t7(o,l);break;case c0.IN_TEMPLATE:var b=this,y=e;switch(y.tagID){case cX.BASE:case cX.BASEFONT:case cX.BGSOUND:case cX.LINK:case cX.META:case cX.NOFRAMES:case cX.SCRIPT:case cX.STYLE:case cX.TEMPLATE:case cX.TITLE:tL(b,y);break;case cX.CAPTION:case cX.COLGROUP:case cX.TBODY:case cX.TFOOT:case cX.THEAD:b.tmplInsertionModeStack[0]=c0.IN_TABLE,b.insertionMode=c0.IN_TABLE,tQ(b,y);break;case cX.COL:b.tmplInsertionModeStack[0]=c0.IN_COLUMN_GROUP,b.insertionMode=c0.IN_COLUMN_GROUP,t2(b,y);break;case cX.TR:b.tmplInsertionModeStack[0]=c0.IN_TABLE_BODY,b.insertionMode=c0.IN_TABLE_BODY,t3(b,y);break;case cX.TD:case cX.TH:b.tmplInsertionModeStack[0]=c0.IN_ROW,b.insertionMode=c0.IN_ROW,t6(b,y);break;default:b.tmplInsertionModeStack[0]=c0.IN_BODY,b.insertionMode=c0.IN_BODY,tY(b,y)}break;case c0.AFTER_BODY:c=this,(u=e).tagID===cX.HTML?tY(c,u):nn(c,u);break;case c0.IN_FRAMESET:var C=this,N=e;switch(N.tagID){case cX.HTML:tY(C,N);break;case cX.FRAMESET:C._insertElement(N,c$.HTML);break;case cX.FRAME:C._appendElement(N,c$.HTML),N.ackSelfClosing=!0;break;case cX.NOFRAMES:tL(C,N)}break;case c0.AFTER_FRAMESET:var S=this,I=e;switch(I.tagID){case cX.HTML:tY(S,I);break;case cX.NOFRAMES:tL(S,I)}break;case c0.AFTER_AFTER_BODY:h=this,(p=e).tagID===cX.HTML?tY(h,p):nr(h,p);break;case c0.AFTER_AFTER_FRAMESET:var x=this,D=e;switch(D.tagID){case cX.HTML:tY(x,D);break;case cX.NOFRAMES:tL(x,D)}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===cX.P||t.tagID===cX.BR){ni(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===c$.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case c0.INITIAL:tD(this,e);break;case c0.BEFORE_HTML:let t;r=this,((t=(i=e).tagID)===cX.HTML||t===cX.HEAD||t===cX.BODY||t===cX.BR)&&tO(r,i);break;case c0.BEFORE_HEAD:let n;a=this,(n=(s=e).tagID)===cX.HEAD||n===cX.BODY||n===cX.HTML||n===cX.BR?tR(a,s):a._err(s,cU.endTagWithoutMatchingOpenElement);break;
1case c0.IN_HEAD:var r,i,a,s,o,l,c,u,h,p,d,m,f=this,g=e;switch(g.tagID){case cX.HEAD:f.openElements.pop(),f.insertionMode=c0.AFTER_HEAD;break;case cX.BODY:case cX.BR:case cX.HTML:tw(f,g);break;case cX.TEMPLATE:tv(f,g);break;default:f._err(g,cU.endTagWithoutMatchingOpenElement)}break;case c0.IN_HEAD_NO_SCRIPT:var E=this,T=e;switch(T.tagID){case cX.NOSCRIPT:E.openElements.pop(),E.insertionMode=c0.IN_HEAD;break;case cX.BR:tM(E,T);break;default:E._err(T,cU.endTagWithoutMatchingOpenElement)}break;case c0.AFTER_HEAD:var A=this,k=e;switch(k.tagID){case cX.BODY:case cX.HTML:case cX.BR:tP(A,k);break;case cX.TEMPLATE:tv(A,k);break;default:A._err(k,cU.endTagWithoutMatchingOpenElement)}break;case c0.IN_BODY:tV(this,e);break;case c0.TEXT:o=this,e.tagID===cX.SCRIPT&&(null==(l=o.scriptHandler)||l.call(o,o.openElements.current)),o.openElements.pop(),o.insertionMode=o.originalInsertionMode;break;case c0.IN_TABLE:tK(this,e);break;case c0.IN_TABLE_TEXT:t0(this,e);break;case c0.IN_CAPTION:var _=this,b=e;let y=b.tagID;switch(y){case cX.CAPTION:case cX.TABLE:_.openElements.hasInTableScope(cX.CAPTION)&&(_.openElements.generateImpliedEndTags(),_.openElements.popUntilTagNamePopped(cX.CAPTION),_.activeFormattingElements.clearToLastMarker(),_.insertionMode=c0.IN_TABLE,y===cX.TABLE&&tK(_,b));break;case cX.BODY:case cX.COL:case cX.COLGROUP:case cX.HTML:case cX.TBODY:case cX.TD:case cX.TFOOT:case cX.TH:case cX.THEAD:case cX.TR:break;default:tV(_,b)}break;case c0.IN_COLUMN_GROUP:var C=this,N=e;switch(N.tagID){case cX.COLGROUP:C.openElements.currentTagId===cX.COLGROUP&&(C.openElements.pop(),C.insertionMode=c0.IN_TABLE);break;case cX.TEMPLATE:tv(C,N);break;case cX.COL:break;default:t5(C,N)}break;case c0.IN_TABLE_BODY:t4(this,e);break;case c0.IN_ROW:t9(this,e);break;case c0.IN_CELL:var S=this,I=e;let x=I.tagID;switch(x){case cX.TD:case cX.TH:S.openElements.hasInTableScope(x)&&(S.openElements.generateImpliedEndTags(),S.openElements.popUntilTagNamePopped(x),S.activeFormattingElements.clearToLastMarker(),S.insertionMode=c0.IN_ROW);break;case cX.TABLE:case cX.TBODY:case cX.TFOOT:case cX.THEAD:case cX.TR:S.openElements.hasInTableScope(x)&&(S._closeTableCell(),t9(S,I));break;case cX.BODY:case cX.CAPTION:case cX.COL:case cX.COLGROUP:case cX.HTML:break;default:tV(S,I)}break;case c0.IN_SELECT:t8(this,e);break;case c0.IN_SELECT_IN_TABLE:let D;c=this,(D=(u=e).tagID)===cX.CAPTION||D===cX.TABLE||D===cX.TBODY||D===cX.TFOOT||D===cX.THEAD||D===cX.TR||D===cX.TD||D===cX.TH?c.openElements.hasInTableScope(D)&&(c.openElements.popUntilTagNamePopped(cX.SELECT),c._resetInsertionMode(),c.onEndTag(u)):t8(c,u);break;case c0.IN_TEMPLATE:h=this,(p=e).tagID===cX.TEMPLATE&&tv(h,p);break;case c0.AFTER_BODY:nt(this,e);break;case c0.IN_FRAMESET:d=this,e.tagID===cX.FRAMESET&&!d.openElements.isRootHtmlElementCurrent()&&(d.openElements.pop(),d.fragmentContext||d.openElements.currentTagId===cX.FRAMESET||(d.insertionMode=c0.AFTER_FRAMESET));break;case c0.AFTER_FRAMESET:m=this,e.tagID===cX.HTML&&(m.insertionMode=c0.AFTER_AFTER_FRAMESET);break;case c0.AFTER_AFTER_BODY:nr(this,e)}}onEof(e){switch(this.insertionMode){case c0.INITIAL:tD(this,e);break;case c0.BEFORE_HTML:tO(this,e);break;case c0.BEFORE_HEAD:tR(this,e);break;case c0.IN_HEAD:tw(this,e);break;case c0.IN_HEAD_NO_SCRIPT:tM(this,e);break;case c0.AFTER_HEAD:tP(this,e);break;case c0.IN_BODY:case c0.IN_TABLE:case c0.IN_CAPTION:case c0.IN_COLUMN_GROUP:case c0.IN_TABLE_BODY:case c0.IN_ROW:case c0.IN_CELL:case c0.IN_SELECT:case c0.IN_SELECT_IN_TABLE:t$(this,e);break;case c0.TEXT:var t,n;t=this,n=e,t._err(n,cU.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(n);break;case c0.IN_TABLE_TEXT:t0(this,e);break;case c0.IN_TEMPLATE:ne(this,e);break;case c0.AFTER_BODY:case c0.IN_FRAMESET:case c0.AFTER_FRAMESET:case c0.AFTER_AFTER_BODY:case c0.AFTER_AFTER_FRAMESET:tx(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===cH.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(e);switch(this.insertionMode){case c0.IN_HEAD:case c0.IN_HEAD_NO_SCRIPT:case c0.AFTER_HEAD:case c0.TEXT:case c0.IN_COLUMN_GROUP:case c0.IN_SELECT:case c0.IN_SELECT_IN_TABLE:case c0.IN_FRAMESET:case c0.AFTER_FRAMESET:this._insertCharacters(e);break;case c0.IN_BODY:case c0.IN_CAPTION:case c0.IN_CELL:case c0.IN_TEMPLATE:case c0.AFTER_BODY:case c0.AFTER_AFTER_BODY:case c0.AFTER_AFTER_FRAMESET:tF(this,e);break;case c0.IN_TABLE:case c0.IN_TABLE_BODY:case c0.IN_ROW:tW(this,e);break;case c0.IN_TABLE_TEXT:tZ(this,e)}}}function tS(e,t){for(let n=0;n<8;n++){let n=function(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):tq(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}
1return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=function(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,s=i;s!==n;a++,s=i){i=e.openElements.getCommonAncestor(s);let n=e.activeFormattingElements.getElementEntry(s),o=n&&a>=3;!n||o?(o&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(s)):(s=function(e,t){let 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}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&function(e,t,n){let r=eq(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===cX.TEMPLATE&&i===c$.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,a,i),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}(e,r,n)}}function tI(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function tx(e,t){if(e.stopped=!0,t.location){let n=2*!e.fragmentContext;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function tD(e,t){e._err(t,cU.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,cQ.QUIRKS),e.insertionMode=c0.BEFORE_HTML,e._processToken(t)}function tO(e,t){e._insertFakeRootElement(),e.insertionMode=c0.BEFORE_HEAD,e._processToken(t)}function tR(e,t){e._insertFakeElement(cK.HEAD,cX.HEAD),e.headElement=e.openElements.current,e.insertionMode=c0.IN_HEAD,e._processToken(t)}function tL(e,t){switch(t.tagID){case cX.HTML:tY(e,t);break;case cX.BASE:case cX.BASEFONT:case cX.BGSOUND:case cX.LINK:case cX.META:e._appendElement(t,c$.HTML),t.ackSelfClosing=!0;break;case cX.TITLE:e._switchToTextParsing(t,eK.RCDATA);break;case cX.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eK.RAWTEXT):(e._insertElement(t,c$.HTML),e.insertionMode=c0.IN_HEAD_NO_SCRIPT);break;case cX.NOFRAMES:case cX.STYLE:e._switchToTextParsing(t,eK.RAWTEXT);break;case cX.SCRIPT:e._switchToTextParsing(t,eK.SCRIPT_DATA);break;case cX.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=c0.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(c0.IN_TEMPLATE);break;case cX.HEAD:e._err(t,cU.misplacedStartTagForHeadElement);break;default:tw(e,t)}}function tv(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==cX.TEMPLATE&&e._err(t,cU.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(cX.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,cU.endTagWithoutMatchingOpenElement)}function tw(e,t){e.openElements.pop(),e.insertionMode=c0.AFTER_HEAD,e._processToken(t)}function tM(e,t){let n=t.type===cG.EOF?cU.openElementsLeftAfterEof:cU.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=c0.IN_HEAD,e._processToken(t)}function tP(e,t){e._insertFakeElement(cK.BODY,cX.BODY),e.insertionMode=c0.IN_BODY,tB(e,t)}function tB(e,t){switch(t.type){case cG.CHARACTER:tH(e,t);break;case cG.WHITESPACE_CHARACTER:tF(e,t);break;case cG.COMMENT:tI(e,t);break;case cG.START_TAG:tY(e,t);break;case cG.END_TAG:tV(e,t);break;case cG.EOF:t$(e,t)}}function tF(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function tH(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tU(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,c$.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tG(e){let t=eH(e,cW.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tj(e,t){e._switchToTextParsing(t,eK.RAWTEXT)}function tz(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,c$.HTML)}function tY(e,t){switch(t.tagID){case cX.I:case cX.S:case cX.B:case cX.U:case cX.EM:case cX.TT:case cX.BIG:case cX.CODE:case cX.FONT:case cX.SMALL:case cX.STRIKE:case cX.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,c$.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case cX.A:let n;(n=e.activeFormattingElements.getElementEntryInScopeWithTagName(cK.A))&&(tS(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,c$.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case cX.H1:case cX.H2:case cX.H3:case cX.H4:case cX.H5:case cX.H6:e.openElements.hasInButtonScope(cX.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&eW.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,c$.HTML);break;case cX.P:case cX.DL:case cX.OL:case cX.UL:case cX.DIV:case cX.DIR:case cX.NAV:case cX.MAIN:case cX.MENU:case cX.ASIDE:case cX.CENTER:case cX.FIGURE:case cX.FOOTER:case cX.HEADER:case cX.HGROUP:case cX.DIALOG:case cX.DETAILS:case cX.ADDRESS:case cX.ARTICLE:case cX.SEARCH:case cX.SECTION:case cX.SUMMARY:case cX.FIELDSET:case cX.BLOCKQUOTE:case cX.FIGCAPTION:e.openElements.hasInButtonScope(cX.P)&&e._closePElement(),e._insertElement(t,c$.HTML);break;
1case cX.LI:case cX.DD:case cX.DT:e.framesetOk=!1;let r=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let n=e.openElements.tagIDs[t];if(r===cX.LI&&n===cX.LI||(r===cX.DD||r===cX.DT)&&(n===cX.DD||n===cX.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==cX.ADDRESS&&n!==cX.DIV&&n!==cX.P&&e._isSpecialElement(e.openElements.items[t],n))break}e.openElements.hasInButtonScope(cX.P)&&e._closePElement(),e._insertElement(t,c$.HTML);break;case cX.BR:case cX.IMG:case cX.WBR:case cX.AREA:case cX.EMBED:case cX.KEYGEN:tU(e,t);break;case cX.HR:e.openElements.hasInButtonScope(cX.P)&&e._closePElement(),e._appendElement(t,c$.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case cX.RB:case cX.RTC:e.openElements.hasInScope(cX.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,c$.HTML);break;case cX.RT:case cX.RP:e.openElements.hasInScope(cX.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(cX.RTC),e._insertElement(t,c$.HTML);break;case cX.PRE:case cX.LISTING:e.openElements.hasInButtonScope(cX.P)&&e._closePElement(),e._insertElement(t,c$.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case cX.XMP:e.openElements.hasInButtonScope(cX.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eK.RAWTEXT);break;case cX.SVG:e._reconstructActiveFormattingElements(),tk(t),t_(t),t.selfClosing?e._appendElement(t,c$.SVG):e._insertElement(t,c$.SVG),t.ackSelfClosing=!0;break;case cX.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case cX.BASE:case cX.LINK:case cX.META:case cX.STYLE:case cX.TITLE:case cX.SCRIPT:case cX.BGSOUND:case cX.BASEFONT:case cX.TEMPLATE:tL(e,t);break;case cX.BODY:let i;(i=e.openElements.tryPeekProperlyNestedBodyElement())&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(i,t.attrs));break;case cX.FORM:let a;a=e.openElements.tmplCount>0,(!e.formElement||a)&&(e.openElements.hasInButtonScope(cX.P)&&e._closePElement(),e._insertElement(t,c$.HTML),a||(e.formElement=e.openElements.current));break;case cX.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(cX.NOBR)&&(tS(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,c$.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case cX.MATH:e._reconstructActiveFormattingElements(),tA(t),t_(t),t.selfClosing?e._appendElement(t,c$.MATHML):e._insertElement(t,c$.MATHML),t.ackSelfClosing=!0;break;case cX.TABLE:e.treeAdapter.getDocumentMode(e.document)!==cQ.QUIRKS&&e.openElements.hasInButtonScope(cX.P)&&e._closePElement(),e._insertElement(t,c$.HTML),e.framesetOk=!1,e.insertionMode=c0.IN_TABLE;break;case cX.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,c$.HTML),tG(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case cX.PARAM:case cX.TRACK:case cX.SOURCE:e._appendElement(t,c$.HTML),t.ackSelfClosing=!0;break;case cX.IMAGE:t.tagName=cK.IMG,t.tagID=cX.IMG,tU(e,t);break;case cX.BUTTON:e.openElements.hasInScope(cX.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(cX.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,c$.HTML),e.framesetOk=!1;break;case cX.APPLET:case cX.OBJECT:case cX.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,c$.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case cX.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eK.RAWTEXT);break;case cX.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,c$.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===c0.IN_TABLE||e.insertionMode===c0.IN_CAPTION||e.insertionMode===c0.IN_TABLE_BODY||e.insertionMode===c0.IN_ROW||e.insertionMode===c0.IN_CELL?c0.IN_SELECT_IN_TABLE:c0.IN_SELECT;break;case cX.OPTION:case cX.OPTGROUP:e.openElements.currentTagId===cX.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,c$.HTML);break;case cX.NOEMBED:case cX.NOFRAMES:tj(e,t);break;case cX.FRAMESET:let s;s=e.openElements.tryPeekProperlyNestedBodyElement(),e.framesetOk&&s&&(e.treeAdapter.detachNode(s),e.o
1penElements.popAllUpToHtmlElement(),e._insertElement(t,c$.HTML),e.insertionMode=c0.IN_FRAMESET);break;case cX.TEXTAREA:e._insertElement(t,c$.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eK.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=c0.TEXT;break;case cX.NOSCRIPT:e.options.scriptingEnabled?tj(e,t):tz(e,t);break;case cX.PLAINTEXT:e.openElements.hasInButtonScope(cX.P)&&e._closePElement(),e._insertElement(t,c$.HTML),e.tokenizer.state=eK.PLAINTEXT;break;case cX.COL:case cX.TH:case cX.TD:case cX.TR:case cX.HEAD:case cX.FRAME:case cX.TBODY:case cX.TFOOT:case cX.THEAD:case cX.CAPTION:case cX.COLGROUP:break;default:tz(e,t)}}function tq(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==cX.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function tV(e,t){switch(t.tagID){case cX.A:case cX.B:case cX.I:case cX.S:case cX.U:case cX.EM:case cX.TT:case cX.BIG:case cX.CODE:case cX.FONT:case cX.NOBR:case cX.SMALL:case cX.STRIKE:case cX.STRONG:tS(e,t);break;case cX.P:e.openElements.hasInButtonScope(cX.P)||e._insertFakeElement(cK.P,cX.P),e._closePElement();break;case cX.DL:case cX.UL:case cX.OL:case cX.DIR:case cX.DIV:case cX.NAV:case cX.PRE:case cX.MAIN:case cX.MENU:case cX.ASIDE:case cX.BUTTON:case cX.CENTER:case cX.FIGURE:case cX.FOOTER:case cX.HEADER:case cX.HGROUP:case cX.DIALOG:case cX.ADDRESS:case cX.ARTICLE:case cX.DETAILS:case cX.SEARCH:case cX.SECTION:case cX.SUMMARY:case cX.LISTING:case cX.FIELDSET:case cX.BLOCKQUOTE:case cX.FIGCAPTION:let n;n=t.tagID,e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n));break;case cX.LI:e.openElements.hasInListItemScope(cX.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(cX.LI),e.openElements.popUntilTagNamePopped(cX.LI));break;
1case cX.DD:case cX.DT:let r;r=t.tagID,e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r));break;case cX.H1:case cX.H2:case cX.H3:case cX.H4:case cX.H5:case cX.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case cX.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(cK.BR,cX.BR),e.openElements.pop(),e.framesetOk=!1;break;case cX.BODY:if(e.openElements.hasInScope(cX.BODY)&&(e.insertionMode=c0.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}break;case cX.HTML:e.openElements.hasInScope(cX.BODY)&&(e.insertionMode=c0.AFTER_BODY,nt(e,t));break;case cX.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(cX.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(cX.FORM):n&&e.openElements.remove(n))}(e);break;case cX.APPLET:case cX.OBJECT:case cX.MARQUEE:let i;i=t.tagID,e.openElements.hasInScope(i)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(i),e.activeFormattingElements.clearToLastMarker());break;case cX.TEMPLATE:tv(e,t);break;default:tq(e,t)}}function t$(e,t){e.tmplInsertionModeStack.length>0?ne(e,t):tx(e,t)}function tW(e,t){if(void 0!==e.openElements.currentTagId&&ty.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=c0.IN_TABLE_TEXT,t.type){case cG.CHARACTER:tJ(e,t);break;case cG.WHITESPACE_CHARACTER:tZ(e,t)}else tX(e,t)}function tQ(e,t){switch(t.tagID){case cX.TD:case cX.TH:case cX.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(cK.TBODY,cX.TBODY),e.insertionMode=c0.IN_TABLE_BODY,t3(e,t);break;case cX.STYLE:case cX.SCRIPT:case cX.TEMPLATE:tL(e,t);break;case cX.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(cK.COLGROUP,cX.COLGROUP),e.insertionMode=c0.IN_COLUMN_GROUP,t2(e,t);break;case cX.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,c$.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case cX.TABLE:e.openElements.hasInTableScope(cX.TABLE)&&(e.openElements.popUntilTagNamePopped(cX.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case cX.TBODY:case cX.TFOOT:case cX.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,c$.HTML),e.insertionMode=c0.IN_TABLE_BODY;break;case cX.INPUT:tG(t)?e._appendElement(t,c$.HTML):tX(e,t),t.ackSelfClosing=!0;break;case cX.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,c$.HTML),e.insertionMode=c0.IN_CAPTION;break;case cX.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,c$.HTML),e.insertionMode=c0.IN_COLUMN_GROUP;break;default:tX(e,t)}}function tK(e,t){switch(t.tagID){case cX.TABLE:e.openElements.hasInTableScope(cX.TABLE)&&(e.openElements.popUntilTagNamePopped(cX.TABLE),e._resetInsertionMode());break;case cX.TEMPLATE:tv(e,t);break;case cX.BODY:case cX.CAPTION:case cX.COL:case cX.COLGROUP:case cX.HTML:case cX.TBODY:case cX.TD:case cX.TFOOT:case cX.TH:case cX.THEAD:case cX.TR:break;default:tX(e,t)}}function tX(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,tB(e,t),e.fosterParentingEnabled=n}function tZ(e,t){e.pendingCharacterTokens.push(t)}function tJ(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function t0(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)tX(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}let t1=new Set([cX.CAPTION,cX.COL,cX.COLGROUP,cX.TBODY,cX.TD,cX.TFOOT,cX.TH,cX.THEAD,cX.TR]);function t2(e,t){switch(t.tagID){case cX.HTML:tY(e,t);break;case cX.COL:e._appendElement(t,c$.HTML),t.ackSelfClosing=!0;break;case cX.TEMPLATE:tL(e,t);break;default:t5(e,t)}}function t5(e,t){e.openElements.currentTagId===cX.COLGROUP&&(e.openElements.pop(),e.insertionMode=c0.IN_TABLE,e._processToken(t))}function t3(e,t){switch(t.tagID){case cX.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,c$.HTML),e.insertionMode=c0.IN_ROW;break;case cX.TH:case cX.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(cK.TR,cX.TR),e.insertionMode=c0.IN_ROW,t6(e,t);break;case cX.CAPTION:case cX.COL:case cX.COLGROUP:case cX.TBODY:case cX.TFOOT:case cX.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=c0.IN_TABLE,tQ(e,t));break;default:tQ(e,t)}}function t4(e,t){let n=t.tagID;switch(t.tagID){case cX.TBODY:case cX.TFOOT:case cX.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=c0.IN_TABLE);break;case cX.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=c0.IN_TABLE,tK(e,t));break;case cX.BODY:case cX.CAPTION:case cX.COL:case cX.COLGROUP:case cX.HTML:case cX.TD:case cX.TH:case cX.TR:break;default:tK(e,t)}}function t6(e,t){switch(t.tagID){case cX.TH:case cX.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,c$.HTML),e.insertionMode=c0.IN_CELL,e.activeFormattingElements.insertMarker();break;case cX.CAPTION:case cX.COL:case cX.COLGROUP:case cX.TBODY:case cX.TFOOT:case cX.THEAD:case cX.TR:e.openElements.hasInTableScope(cX.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=c0.IN_TABLE_BODY,t3(e,t));break;default:tQ(e,t)}}function t9(e,t){switch(t.tagID){case cX.TR:e.openElements.hasInTableScope(cX.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=c0.IN_TABLE_BODY);break;case cX.TABLE:e.openElements.hasInTableScope(cX.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=c0.IN_TABLE_BODY,t4(e,t));break;case cX.TBODY:case cX.TFOOT:case cX.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(cX.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=c0.IN_TABLE_BODY,t4(e,t));break;case cX.BODY:case cX.CAPTION:case cX.COL:case cX.COLGROUP:case cX.HTML:case cX.TD:case cX.TH:break;default:tK(e,t)}}function t7(e,t){switch(t.tagID){case cX.HTML:tY(e,t);break;case cX.OPTION:e.openElements.currentTagId===cX.OPTION&&e.openElements.pop(),e._insertElement(t,c$.HTML);break;case cX.OPTGROUP:e.openElements.currentTagId===cX.OPTION&&e.openElements.pop(),e.openElements.currentTagId===cX.OPTGROUP&&e.openElements.pop(),e._insertElement(t,c$.HTML);break;case cX.HR:e.openElements.currentTagId===cX.OPTION&&e.openElements.pop(),e.openElements.currentTagId===cX.OPTGROUP&&e.openElements.pop(),e._appendElement(t,c$.HTML),t.ackSelfClosing=!0;break;case cX.INPUT:case cX.KEYGEN:case cX.TEXTAREA:case cX.SELECT:e.openElements.hasInSelectScope(cX.SELECT)&&(e.openElements.popUntilTagNamePopped(cX.SELECT),e._resetInsertionMode(),t.tagID!==cX.SELECT&&e._processStartTag(t));break;case cX.SCRIPT:case cX.TEMPLATE:tL(e,t)}}function t8(e,t){switch(t.tagID){case cX.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===cX.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===cX.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===cX.OPTGROUP&&e.openElements.pop();break;case cX.OPTION:e.openElements.currentTagId===cX.OPTION&&e.openElements.pop();break;case cX.SELECT:e.openElements.hasInSelectScope(cX.SELECT)&&(e.openElements.popUntilTagNamePopped(cX.SELECT),e._resetInsertionMode());break;case cX.TEMPLATE:tv(e,t)}}function ne(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(cX.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):tx(e,t)}function nt(e,t){var n;if(t.tagID===cX.HTML){if(e.fragmentContext||(e.insertionMode=c0.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===cX.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null==(n=e.treeAdapter.getNodeSourceCodeLocation(r))?void 0:n.endTag)||e._setEndLocation(r,t)}}else nn(e,t)}function nn(e,t){e.insertionMode=c0.IN_BODY,tB(e,t)}function nr(e,t){e.insertionMode=c0.IN_BODY,tB(e,t)}function ni(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==c$.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.o
1penElements.current);)e.openElements.pop()}cK.AREA,cK.BASE,cK.BASEFONT,cK.BGSOUND,cK.BR,cK.COL,cK.EMBED,cK.FRAME,cK.HR,cK.IMG,cK.INPUT,cK.KEYGEN,cK.LINK,cK.META,cK.PARAM,cK.SOURCE,cK.TRACK,cK.WBR;var na=e.i(743820),na=na,ns=e.i(113515),ns=ns;let no=nc("end"),nl=nc("start");function nc(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function nu(e){let t=nl(e),n=no(e);if(t&&n)return{start:t,end:n}}let nh=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,np=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),nd={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function nm(e,t){var n,r;let i,a,s=!!((i="root"===(r=e).type?r.children[0]:r)&&("doctype"===i.type||"element"===i.type&&"html"===i.tagName.toLowerCase())),o=eN("type",{handlers:{root:ng,element:nE,text:nT,comment:nk,doctype:nA,raw:n_},unknown:nb}),c={parser:s?new tN(nd):tN.getFragmentParser(void 0,nd),handle(e){o(e,c)},stitches:!1,options:t||{}};o(e,c),ny(c,nl());let u=(n=s?c.parser.document:c.parser.getFragment(),eA({file:(a={file:c.options.file}).file||void 0,location:!1,schema:"svg"===a.space?J:Z,verbose:a.verbose||!1},n));return(c.stitches&&l(u,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t)return n.children[t]=e.value.stitch,t}),"root"===u.type&&1===u.children.length&&u.children[0].type===e.type)?u.children[0]:u}function nf(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function ng(e,t){nf(e.children,t)}function nE(e,t){(function(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===eK.PLAINTEXT)return;ny(t,nl(e));let r=t.parser.openElements.current,i="namespaceURI"in r?r.namespaceURI:eg.html;i===eg.html&&"svg"===n&&(i=eg.svg);let a=eI({...e,children:[]},"svg"===({space:i===eg.svg?"svg":"html"}).space?J:Z),s={type:na.TokenType.START_TAG,tagName:n,tagID:ns.getTagID(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:nN(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n})(e,t),nf(e.children,t),function(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&eO.includes(n)||t.parser.tokenizer.state===eK.PLAINTEXT)return;ny(t,no(e));let r={type:na.TokenType.END_TAG,tagName:n,tagID:ns.getTagID(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:nN(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===eK.RCDATA||t.parser.tokenizer.state===eK.RAWTEXT||t.parser.tokenizer.state===eK.SCRIPT_DATA)&&(t.parser.tokenizer.state=eK.DATA)}(e,t)}function nT(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let n={type:na.TokenType.CHARACTER,chars:e.value,location:nN(e)};ny(t,nl(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function nA(e,t){let n={type:na.TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:nN(e)};ny(t,nl(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function nk(e,t){let n=e.value,r={type:na.TokenType.COMMENT,data:n,location:nN(e)};ny(t,nl(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function n_(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,nC(t,nl(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(nh,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function nb(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type)){var n;let r;t.stitches=!0,r="children"in(n=e)?N({...n,children:[]}):N(n),"children"in e&&"children"in r&&(r.children=nm({type:"root",children:e.children},t.options).children),nk({type:"comment",value:{stitch:r}},t)}else{let t="";
1throw np.has(e.type)&&(t=". 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"),Error("Cannot compile `"+e.type+"` node"+t)}}function ny(e,t){nC(e,t);let 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=eK.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 nC(e,t){if(t&&void 0!==t.offset){let 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 nN(e){let t=nl(e)||{line:void 0,column:void 0,offset:void 0},n=no(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 nS(e){return function(t,n){return nm(t,{...e,file:n})}}let nI=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],nx={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...nI,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...nI],h2:[["className","sr-only"]],img:[...nI,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...nI,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...nI],table:[...nI],ul:[...nI,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},nD={}.hasOwnProperty;function nO(e,t){if(t&&"object"==typeof t)switch("string"==typeof t.type?t.type:""){case"comment":var n,r,i=e,a=t;if(i.schema.allowComments){let e="string"==typeof a.value?a.value:"",t=e.indexOf("-->"),n={type:"comment",value:t<0?e:e.slice(0,t)};return nw(n,a),n}return;case"doctype":var s=e,o=t;if(s.schema.allowDoctypes){let e={type:"doctype"};return nw(e,o),e}return;case"element":return function(e,t){let n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n);let r=nR(e,t.children),i=function(e,t){let n,r=e.stack[e.stack.length-1],i=e.schema.attributes,a=e.schema.required,s=i&&nD.call(i,r)?i[r]:void 0,o=i&&nD.call(i,"*")?i["*"]:void 0,l=t&&"object"==typeof t?t:{},c={};
1for(n in l)if(nD.call(l,n)){let t=l[n],r=nL(e,nM(s,n),n,t);null==r&&(r=nL(e,nM(o,n),n,t)),null!=r&&(c[n]=r)}if(a&&nD.call(a,r)){let e=a[r];for(n in e)nD.call(e,n)&&!nD.call(c,n)&&(c[n]=e[n])}return c}(e,t.properties);e.stack.pop();let a=!1;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(a=!0,e.schema.ancestors&&nD.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(a=!1;++r<t.length;)e.stack.includes(t[r])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;let s={type:"element",tagName:n,properties:i,children:r};return nw(s,t),s}(e,t);case"root":let l;return nw(l={type:"root",children:nR(e,(n=t).children)},n),l;case"text":let c;return nw(c={type:"text",value:"string"==typeof(r=t).value?r.value:""},r),c}}function nR(e,t){let n=[];if(Array.isArray(t)){let r=-1;for(;++r<t.length;){let i=nO(e,t[r]);i&&(Array.isArray(i)?n.push(...i):n.push(i))}}return n}function nL(e,t,n,r){return t?Array.isArray(r)?function(e,t,n,r){let i=-1,a=[];for(;++i<r.length;){let s=nv(e,t,n,r[i]);("number"==typeof s||"string"==typeof s)&&a.push(s)}return a}(e,t,n,r):nv(e,t,n,r):void 0}function nv(e,t,n,r){if(("boolean"==typeof r||"number"==typeof r||"string"==typeof r)&&function(e,t,n){let r=e.schema.protocols&&nD.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||0===r.length)return!0;let i=String(n),a=i.indexOf(":"),s=i.indexOf("?"),o=i.indexOf("#"),l=i.indexOf("/");if(a<0||l>-1&&a>l||s>-1&&a>s||o>-1&&a>o)return!0;let c=-1;for(;++c<r.length;){let e=r[c];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}(e,n,r)){if("object"==typeof t&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let i=t[n];if(i&&"object"==typeof i&&"flags"in i){if(i.test(String(r))){e=!0;break}}else if(i===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function nw(e,t){let n=nu(t);t.data&&(e.data=N(t.data)),n&&(e.position=n)}function nM(e,t){let n,r=-1;if(e)for(;++r<e.length;){let i=e[r],a="string"==typeof i?i:i[0];if(a===t)return i;"data*"===a&&(n=i)}if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return n}function nP(e){return function(t){let n,r;return n={type:"root",children:[]},(r=nO({schema:e?{...nx,...e}:nx,stack:[]},t))&&(Array.isArray(r)?1===r.length?n=r[0]:n.children=r:n=r),n}}function nB(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}e.s(["ccount",0,nB],470284);let nF=nK(/[A-Za-z]/),nH=nK(/[\dA-Za-z]/),nU=nK(/[#-'*+\--9=?A-Z^-~]/);function nG(e){return null!==e&&(e<32||127===e)}let nj=nK(/\d/),nz=nK(/[\dA-Fa-f]/),nY=nK(/[!-/:-@[-`{-~]/);function nq(e){return null!==e&&e<-2}function nV(e){return null!==e&&(e<0||32===e)}function n$(e){return -2===e||-1===e||32===e}let nW=nK(/\p{P}|\p{S}/u),nQ=nK(/\s/);function nK(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}e.s(["asciiAlpha",0,nF,"asciiAlphanumeric",0,nH,"asciiAtext",0,nU,"asciiControl",0,nG,"asciiDigit",0,nj,"asciiHexDigit",0,nz,"asciiPunctuation",0,nY,"markdownLineEnding",0,nq,"markdownLineEndingOrSpace",0,nV,"markdownSpace",0,n$,"unicodePunctuation",0,nW,"unicodeWhitespace",0,nQ],455470);let nX="phrasing",nZ=["autolink","link","image","label"];function nJ(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function n0(e){this.config.enter.autolinkProtocol.call(this,e)}function n1(e){this.config.exit.autolinkProtocol.call(this,e)}function n2(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];S("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function n5(e){this.config.exit.autolinkEmail.call(this,e)}function n3(e){this.exit(e)}function n4(e){!function(e,t,r){let i=n((r||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var i;let e=n[r];t.push(["string"==typeof(i=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(i),"g"):i,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),s=-1;for(;++s<a.length;)o(e,"text",l);function l(e,t){let n,r=-1;for(;++r<t.length;
1){let e=t[r],a=n?n.children:void 0;if(i(e,a?a.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=a[s][0],i=a[s][1],o=0,l=n.children.indexOf(e),c=!1,u=[];r.lastIndex=0;let h=r.exec(e.value);for(;h;){let n=h.index,a={index:h.index,input:h.input,stack:[...t,e]},s=i(...h,a);if("string"==typeof s&&(s=s.length>0?{type:"text",value:s}:void 0),!1===s?r.lastIndex=n+1:(o!==n&&u.push({type:"text",value:e.value.slice(o,n)}),Array.isArray(s)?u.push(...s):s&&u.push(s),o=n+h[0].length,c=!0),!r.global)break;h=r.exec(e.value)}return c?(o<e.value.length&&u.push({type:"text",value:e.value.slice(o)}),n.children.splice(l,1,...u)):u=[e],l+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,n6],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,n9]],{ignore:["link","linkReference"]})}function n6(e,t,n,r,i){let a,s="";if(!n7(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",s="http://"),(a=n.split(".")).length<2||a[a.length-1]&&(/_/.test(a[a.length-1])||!/[a-zA-Z\d]/.test(a[a.length-1]))||a[a.length-2]&&(/_/.test(a[a.length-2])||!/[a-zA-Z\d]/.test(a[a.length-2])))return!1;let o=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),i=nB(e,"("),a=nB(e,")");for(;-1!==r&&i>a;)e+=n.slice(0,r+1),r=(n=n.slice(r+1)).indexOf(")"),a++;return[e,n]}(n+r);if(!o[0])return!1;let l={type:"link",title:null,url:s+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[l,{type:"text",value:o[1]}]:l}function n9(e,t,n,r){return!(!n7(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function n7(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||nQ(n)||nW(n))&&(!t||47!==n)}function n8(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}function re(){this.buffer()}function rt(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function rn(){this.buffer()}function rr(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function ri(e){let t=this.resume(),n=this.stack[this.stack.length-1];S("footnoteReference"===n.type),n.identifier=n8(this.sliceSerialize(e)).toLowerCase(),n.label=t}function ra(e){this.exit(e)}function rs(e){let t=this.resume(),n=this.stack[this.stack.length-1];S("footnoteDefinition"===n.type),n.identifier=n8(this.sliceSerialize(e)).toLowerCase(),n.label=t}function ro(e){this.exit(e)}function rl(e,t,n,r){let i=n.createTracker(r),a=i.move("[^"),s=n.enter("footnoteReference"),o=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),o(),s(),a+=i.move("]")}function rc(e,t,n){return 0===t?e:ru(e,t,n)}function ru(e,t,n){return(n?"":" ")+e}rl.peek=function(){return"["};let rh=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function rp(e){this.enter({type:"delete",children:[]},e)}function rd(e){this.exit(e)}function rm(e,t,n,r){let i=n.createTracker(r),a=n.enter("strikethrough"),s=i.move("~~");return s+=n.containerPhrasing(e,{...i.current(),before:s,after:"~"}),s+=i.move("~~"),a(),s}function rf(e){return e.length}function rg(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}rm.peek=function(){return"~"};e.s(["longestStreak",0,function(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,s=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===i?++a>s&&(s=a):a=1,i=r+t.length,r=n.indexOf(t,i);return s}],907714);function rE(e){return null===e||nV(e)||nQ(e)?1:nW(e)?2:void 0}let rT={};function rA(e,t){let n=t||rT;return rk(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function rk(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return r_(e.children,t,n)}return Array.isArray(e)?r_(e,t,n):""}function r_(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=rk(e[i],t,n);return r.join("")}function rb(e,t,n){let r=e.value||"",i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){let e,t=n.unsafe[a],i=n.compilePattern(t);if(t.atBreak)for(;e=i.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return i+r+i}rb.peek=function(){return"`"};n(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);let ry=function(e,t,n,r){let i=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),a=n.bulletCurrent||function(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(a=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a);let s=a.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(s=4*Math.ceil(s/4));let o=n.createTracker(r);o.move(a+" ".repeat(s-a.length)),o.shift(s);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),function(e,t,n){return t?(n?"":" ".repeat(s))+e:(n?a:a+" ".repeat(s-a.length))+e});return l(),c};function rC(e){let t=e._align;S(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function rN(e){this.exit(e),this.data.inTable=void 0}function rS(e){this.enter({type:"tableRow",children:[]},e)}function rI(e){this.exit(e)}function rx(e){this.enter({type:"tableCell",children:[]},e)}function rD(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,rO));let n=this.stack[this.stack.length-1];S("inlineCode"===n.type),n.value=t,this.exit(e)}function rO(e,t){return"|"===t?t:e}function rR(e){let t=this.stack[this.stack.length-2];S("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function rL(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];S("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r,i=t.children,a=-1;for(;++a<i.length;){let e=i[a];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function rv(e,t,n,r){let i=e.children[0],a="boolean"==typeof e.checked&&i&&"paragraph"===i.type,s="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);a&&o.move(s);let l=ry(e,t,n,{...r,...o.current()});return a&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+s})),l}function rw(e,t,n,r){let i,a=e.length,s=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)(i=r.slice(s,s+1e4)).unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function rM(e,t){return e.length>0?(rw(e,e.length,0,t),e):t}e.s(["push",0,rM,"splice",0,rw],559245);let rP={}.hasOwnProperty;function rB(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(rP.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];if(a)for(r in a){rP.call(i,r)||(i[r]=[]);let e=a[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);rw(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}let rF={tokenize:function(e,t,n){let r=0;return function t(a){return(87===a||119===a)&&r<3?(r++,e.consume(a),t):46===a&&3===r?(e.consume(a),i):n(a)};function i(e){return null===e?n(e):t(e)}},partial:!0},rH={tokenize:function(e,t,n){let r,i,a;return s;function s(t){return 46===t||95===t?e.check(rG,l,o)(t):null===t||nV(t)||nQ(t)||45!==t&&nW(t)?l(t):(a=!0,e.consume(t),s)}function o(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),s}function l(e){return i||r||!a?n(e):t(e)}},partial:!0},rU={tokenize:function(e,t){let n=0,r=0;return i;function i(s){return 40===s?(n++,e.consume(s),i):41===s&&r<n?a(s):33===s||34===s||38===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||60===s||63===s||93===s||95===s||126===s?e.check(rG,t,a)(s):null===s||nV(s)||nQ(s)?t(s):(e.consume(s),i)}function a(t){return 41===t&&r++,e.consume(t),i}},partial:!0},rG={tokenize:function(e,t,n){return r;function r(s){return 33===s||34===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||63===s||95===s||126===s?(e.consume(s),r):38===s?(e.consume(s),a):93===s?(e.consume(s),i):60===s||null===s||nV(s)||nQ(s)?t(s):n(s)}function i(e){return null===e||40===e||91===e||nV(e)||nQ(e)?t(e):r(e)}function a(t){return nF(t)?function t(i){return 59===i?(e.consume(i),r):nF(i)?(e.consume(i),t):n(i)}(t):n(t)}},partial:!0},rj={tokenize:function(e,t,n){return function(t){return e.consume(t),r};
1function r(e){return nH(e)?n(e):t(e)}},partial:!0},rz={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!rW.call(r,r.previous)||rZ(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(rF,e.attempt(rH,e.attempt(rU,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:rW},rY={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,i="",a=!1;return function(t){return(72===t||104===t)&&rQ.call(r,r.previous)&&!rZ(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),s):n(t)};function s(t){if(nF(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(58===t){let n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),o}return n(t)}function o(t){return 47===t?(e.consume(t),a)?l:(a=!0,o):n(t)}function l(t){return null===t||nG(t)||nV(t)||nQ(t)||nW(t)?n(t):e.attempt(rH,e.attempt(rU,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:rQ},rq={name:"emailAutolink",tokenize:function(e,t,n){let r,i,a=this;return function(t){return!rX(t)||!rK.call(a,a.previous)||rZ(a.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return rX(r)?(e.consume(r),t):64===r?(e.consume(r),s):n(r)}(t))};function s(t){return 46===t?e.check(rj,l,o)(t):45===t||95===t||nH(t)?(i=!0,e.consume(t),s):l(t)}function o(t){return e.consume(t),r=!0,s}function l(s){return i&&r&&nF(a.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(s)):n(s)}},previous:rK},rV={},r$=48;for(;r$<123;)rV[r$]=rq,58==++r$?r$=65:91===r$&&(r$=97);function rW(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||nV(e)}function rQ(e){return!nF(e)}function rK(e){return!(47===e||rX(e))}function rX(e){return 43===e||45===e||46===e||95===e||nH(e)}function rZ(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function rJ(e,t,n,r){let i=r?r-1:1/0,a=0;return function(r){return n$(r)?(e.enter(n),function r(s){return n$(s)&&a++<i?(e.consume(s),r):(e.exit(n),t(s))}(r)):t(r)}}rV[43]=rq,rV[45]=rq,rV[46]=rq,rV[95]=rq,rV[72]=[rq,rY],rV[104]=[rq,rY],rV[87]=[rq,rz],rV[119]=[rq,rz],e.s(["factorySpace",0,rJ],133220);let r0={partial:!0,tokenize:function(e,t,n){return function(t){return n$(t)?rJ(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||nq(e)?t(e):n(e)}}},r1={tokenize:function(e,t,n){let r=this;return rJ(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function r2(e,t,n){let r,i=this,a=i.events.length,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;a--;){let e=i.events[a][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(a){if(!r||!r._balanced)return n(a);let o=n8(i.sliceSerialize({start:r.end,end:i.now()}));return 94===o.codePointAt(0)&&s.includes(o.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)):n(a)}}function r5(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function r3(e,t,n){let r,i=this,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),o};function o(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}
1function l(o){if(s>999||93===o&&!r||null===o||91===o||nV(o))return n(o);if(93===o){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return a.includes(n8(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(o)}return nV(o)||(r=!0),s++,e.consume(o),92===o?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),s++,l):l(t)}}function r4(e,t,n){let r,i,a=this,s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),o=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(o>999||93===t&&!i||null===t||91===t||nV(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=n8(a.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return nV(t)||(i=!0),o++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),o++,c):c(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),rJ(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function r6(e,t,n){return e.check(r0,t,e.attempt(r1,t,n))}function r9(e){e.exit("gfmFootnoteDefinition")}function r7(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}e.s(["resolveAll",0,r7],705568);class r8{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function ie(e,t,n){let r,i=this,a=0,s=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,a="tableHead"===r||"tableRow"===r?T:o;return a===T&&i.parser.lazy[i.now().line]?n(e):a(e)};function o(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,s+=1),l(n)}function l(t){return null===t?n(t):nq(t)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):n$(t)?rJ(e,l,"whitespace")(t):(s+=1,r&&(r=!1,a+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,l):(e.enter("data"),c(t))}function c(t){return null===t||124===t||nV(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function h(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,n$(t))?rJ(e,p,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t)}function p(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):n(t)}function d(t){return n$(t)?rJ(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),f):45===t?(s+=1,f(t)):null===t||nq(t)?E(t):n(t)}function f(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(n))}(t)):n(t)}function g(t){return n$(t)?rJ(e,E,"whitespace")(t):E(t)}function E(i){if(124===i)return p(i);if(null===i||nq(i))return r&&a===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function T(t){return e.enter("tableRow"),A(t)}function A(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),A):null===n||nq(n)?(e.exit("tableRow"),t(n)):n$(n)?rJ(e,A,"whitespace")(n):(e.enter("data"),k(n))}function k(t){return null===t||124===t||nV(t)?(e.exit("data"),A(t)):(e.consume(t),92===t?_:k)}function _(t){return 92===t||124===t?(e.consume(t),k):k(t)}}function it(e,t){let n,r,i,a=-1,s=!0,o=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,h=0,p=new r8;for(;++a<e.length;){let d=e[a],m=d[1];"enter"===d[0]?"tableHead"===m.type?(u=!1,0!==h&&(ii(p,t,h,n,r),r=void 0,h=0),n={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(a,0,[["enter",n,t]])):"tableRow"===m.type||"tableDelimiterRow"===m.type?(s=!0,i=void 0,l=[0,0,0,0],c=[0,a+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(a,0,[["enter",r,t]])),o="tableDelimiterRow"===m.type?2:r?3:1):o&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)?(s=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=ir(p,t,l,o,void 0,i),l=[0,0,0,0]),c[2]=a)):"tableCellDivider"===m.type&&(s?s=!1:(0!==l[1]&&(c[0]=c[1],i=ir(p,t,l,o,void 0,i)),c=[(l=c)[1],a,0,0])):"tableHead"===m.type?(u=!0,h=a):"tableRow"===m.type||"tableDelimiterRow"===m.type?(h=a,0!==l[1]?(c[0]=c[1],i=ir(p,t,l,o,a,i)):0!==c[1]&&(i=ir(p,t,c,o,a,i)),o=0):o&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)&&(c[3]=a)}for(0!==h&&ii(p,t,h,n,r),p.consume(t.events),a=-1;++a<t.events.length;){let e=t.events[a];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left"
1:"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}(t.events,a))}return e}function ir(e,t,n,r,i,a){0!==n[0]&&(a.end=Object.assign({},ia(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));let s=ia(t.events,n[1]);if(a={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",a,t]]),0!==n[2]){let i=ia(t.events,n[2]),a=ia(t.events,n[3]),s={type:"tableContent",start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[["enter",s,t]]),2!==r){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",s,t]])}return void 0!==i&&(a.end=Object.assign({},ia(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function ii(e,t,n,r,i){let a=[],s=ia(t.events,n);i&&(i.end=Object.assign({},s),a.push(["exit",i,t])),r.end=Object.assign({},s),a.push(["exit",r,t]),e.add(n+1,0,a)}function ia(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let is={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return nV(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):n(t)}function a(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return nq(r)?t(r):n$(r)?e.check({tokenize:io},t,n)(r):n(r)}}};function io(e,t,n){return rJ(e,function(e){return null===e?n(e):t(e)},"whitespace")}let il={};var ic=Object.defineProperty,iu=Object.defineProperties,ih=Object.getOwnPropertyDescriptors,ip=Object.getOwnPropertySymbols,id=Object.prototype.hasOwnProperty,im=Object.prototype.propertyIsEnumerable,ig=(e,t,n)=>t in e?ic(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iE=(e,t)=>{for(var n in t||(t={}))id.call(t,n)&&ig(e,n,t[n]);if(ip)for(var n of ip(t))im.call(t,n)&&ig(e,n,t[n]);return e},iT=(e,t)=>{let n=!1,r=!1;for(let i=0;i<t;i+=1){if("\\"===e[i]&&i+1<e.length&&"`"===e[i+1]){i+=1;continue}if("```"===e.substring(i,i+3)){r=!r,i+=2;continue}r||"`"!==e[i]||(n=!n)}return n||r},iA=(e,t)=>{let n="```"===e.substring(t,t+3),r=t>0&&"```"===e.substring(t-1,t+2),i=t>1&&"```"===e.substring(t-2,t+1);return n||r||i},ik=(e,t)=>{let n=!1,r=!1,i=-1;for(let a=0;a<e.length;a+=1){if("\\"===e[a]&&a+1<e.length&&"`"===e[a+1]){a+=1;continue}if("```"===e.substring(a,a+3)){r=!r,a+=2;continue}if(!r&&"`"===e[a])if(n){if(i<t&&t<a)return!0;n=!1,i=-1}else n=!0,i=a}return!1},i_=/^(\s*(?:[-*+]|\d+[.)]) +)>(=?\s*[$]?\d)/gm,ib=/(\*\*)([^*]*\*?)$/,iy=/(__)([^_]*?)$/,iC=/(\*\*\*)([^*]*?)$/,iN=/(\*)([^*]*?)$/,iS=/(_)([^_]*?)$/,iI=/(`)([^`]*?)$/,ix=/(~~)([^~]*?)$/,iD=/^[\s_~*`]*$/,iO=/^[\s]*[-*+][\s]+$/,iR=/[\p{L}\p{N}_]/u,iL=/^```[^`\n]*```?$/,iv=/^\*{4,}$/,iw=/(__)([^_]+)_$/,iM=/(~~)([^~]+)~$/,iP=/~~/g,iB=e=>{if(!e)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||95===t||iR.test(e)},iF=(e,t)=>{let n=1;for(let r=t+1;r<e.length;r+=1)if("["===e[r])n+=1;else if("]"===e[r]&&0==(n-=1))return r;return -1},iH=(e,t)=>{let n=!1,r=!1;for(let i=0;i<e.length&&i<t;i+=1){if("\\"===e[i]&&"$"===e[i+1]){i+=1;continue}"$"===e[i]&&("$"===e[i+1]?(r=!r,i+=1,n=!1):r||(n=!n))}return n||r},iU=(e,t)=>{for(let n=t;n<e.length;n+=1){if(")"===e[n])return!0;if(e[n]===` 2`)break}return!1},iG=(e,t)=>{for(let n=t-1;n>=0&&")"!==e[n];n-=1){if("("===e[n])return n>0&&"]"===e[n-1]&&iU(e,t);if(e[n]===` 3`)break}return!1},ij=(e,t,n)=>{let r=0;for(let n=t-1;n>=0;n-=1)if(e[n]===` 4`){r=n+1;break}let i=e.length;for(let n=t;n<e.length;n+=1)if(e[n]===` 5`){i=n;break}let a=e.substring(r,i),s=0,o=!1;for(let e of a)if(e===n)s+=1;else if(" "!==e&&" "!==e){o=!0;break}return s>=3&&!o},iz=(e,t,n,r)=>!!("\\"===n||e.includes("$")&&iH(e,t))||("*"!==n&&"*"===r?(t<e.length-2?e[t+2]:"")!=="*":!!("*"===n||n&&r&&iB(n)&&iB(r)||(!n||" "===n||" "===n||n===` 6`)&&(!r||" "===r||" "===r||r===` 7`))),iY=e=>{let t=0,n=!1,r=e.length;for(let i=0;i<r;i+=1){if("`"===e[i]&&i+2<r&&"`"===e[i+1]&&"`"===e[i+2]){n=!n,i+=2;continue}if(n||"*"!==e[i])continue;let a=i>0?e[i-1]:"",s=i<r-1?e[i+1]:"";iz(e,i,a,s)||(t+=1)}return t},iq=(e,t,n,r)=>!!("\\"===n||e.includes("$")&&iH(e,t)||iG(e,t)||((e,t)=>{for(let n=t-1;n>=0&&">"!==e[n];n-=1){if("<"===e[n]){let t=n+1<e.length?e[n+1]:"";return t>="a"&&t<="z"||t>="A"&&t<="Z"||"/"===t}if(e[n]===` 8`)break}return!1})(e,t)||"_"===n||"_"===r||n&&r&&iB(n)&&iB(r)),iV=e=>{let t=0,n=!1;for(let r=0;r<e.length;r+=1){if("`"===e[r]&&r+2<e.length&&"`"===e[r+1]&&"`"===e[r+2]){n=!n,r+=2;continue}n||"*"===e[r]&&r+1<e.length&&"*"===e[r+1]&&(t+=1,r+=1)}return t},i$=e=>{let t=0,n=!1;for(let r=0;r<e.length;r+=1){if("`"===e[r]&&r+2<e.length&&"`"===e[r+1]&&"`"===e[r+2]){n=!n,r+=2;continue}n||"_"===e[r]&&r+1<e.length&&"_"===e[r+1]&&(t+=1,r+=1)}return t},iW=e=>{let t=!1;for(let n=0;n<e.length;n+=1){if("`"===e[n]&&n+2<e.length&&"`"===e[n+1]&&"`"===e[n+2]){t=!t,n+=2;continue}if(!t&&"_"===e[n]&&"_"!==e[n-1]&&"_"!==e[n+1]&&"\\"!==e[n-1]&&!iH(e,n)&&!iG(e,n)){let t=n>0?e[n-1]:"",r=n<e.length-1?e[n+1]:"";if(t&&r&&iB(t)&&iB(r))continue;return n}}return -1},iQ=/<[a-zA-Z/][^>]*$/,iK=(e,t)=>t>=2&&"```"===e.substring(t-2,t+1)||t>=1&&"```"===e.substring(t-1,t+2)||t<=e.length-3&&"```"===e.substring(t,t+3),iX=(e,t,n)=>{let r=t>0&&"!"===e[t-1],i=r?t-1:t;if(!e.substring(t+1).includes("]")||-1===iF(e,t)){let a=e.substring(0,i);if(r)return a;
8if("text-only"===n){let n=((e,t)=>{for(let n=0;n<t;n++)if("["===e[n]&&!iT(e,n)){if(n>0&&"!"===e[n-1])continue;let t=iF(e,n);if(-1===t)return n;if(t+1<e.length&&"("===e[t+1]){let r=e.indexOf(")",t+2);-1!==r&&(n=r)}}return t})(e,t);return e.substring(0,n)+e.substring(n+1)}return`${e}](streamdown:incomplete-link)`}return null},iZ=(e,t="protocol")=>{let n=e.lastIndexOf("](");if(-1!==n&&!iT(e,n)){let r=((e,t,n)=>{if(e.substring(t+2).includes(")"))return null;let r=((e,t)=>{let n=1;for(let r=t-1;r>=0;r-=1)if("]"===e[r])n+=1;else if("["===e[r]&&0==(n-=1))return r;return -1})(e,t);if(-1===r||iT(e,r))return null;let i=r>0&&"!"===e[r-1],a=e.substring(0,i?r-1:r);if(i)return a;let s=e.substring(r+1,t);return"text-only"===n?`${a}${s}`:`${a}[${s}](streamdown:incomplete-link)`})(e,n,t);if(null!==r)return r}for(let n=e.length-1;n>=0;n-=1)if("["===e[n]&&!iT(e,n)){let r=iX(e,n,t);if(null!==r)return r}return e},iJ=/^-{1,2}$/,i0=/^[\s]*-{1,2}[\s]+$/,i1=/^={1,2}$/,i2=/^[\s]*={1,2}[\s]+$/,i5=RegExp("(?<=[\\p{L}\\p{N}_])~(?!~)(?=[\\p{L}\\p{N}_])","gu"),i3=[{handler:{name:"singleTilde",handle:e=>e&&"string"==typeof e&&e.includes("~")?e.replace(i5,(t,n)=>iT(e,n)?t:"\\~"):e,priority:0},optionKey:"singleTilde"},{handler:{name:"comparisonOperators",handle:e=>e&&"string"==typeof e&&e.includes(">")?e.replace(i_,(t,n,r,i)=>iT(e,i)?t:`${n}\\>${r}`):e,priority:5},optionKey:"comparisonOperators"},{handler:{name:"htmlTags",handle:e=>{let t=e.match(iQ);return!t||void 0===t.index||iT(e,t.index)?e:e.substring(0,t.index).trimEnd()},priority:10},optionKey:"htmlTags"},{handler:{name:"setextHeadings",handle:e=>{if(!e||"string"!=typeof e)return e;let t=e.lastIndexOf(` 9`);if(-1===t)return e;let n=e.substring(t+1),r=e.substring(0,t),i=n.trim();if(iJ.test(i)&&!n.match(i0)){let t=r.split(` 10`).at(-1);if(t&&t.trim().length>0)return`${e}\u200B`}if(i1.test(i)&&!n.match(i2)){let t=r.split(` 11`).at(-1);if(t&&t.trim().length>0)return`${e}\u200B`}return e},priority:15},optionKey:"setextHeadings"},{handler:{name:"links",handle:iZ,priority:20},optionKey:"links",earlyReturn:e=>e.endsWith("](streamdown:incomplete-link)")},{handler:{name:"boldItalic",handle:e=>{let t,n;if(iv.test(e))return e;let r=e.match(iC);if(!r)return e;let i=r[2],a=e.lastIndexOf(r[1]);return!i||iD.test(i)||iT(e,a)||ik(e,a)||ij(e,a,"*")?e:(e=>{let t=0,n=0,r=!1;for(let i=0;i<e.length;i+=1){if("`"===e[i]&&i+2<e.length&&"`"===e[i+1]&&"`"===e[i+2]){n>=3&&(t+=Math.floor(n/3)),n=0,r=!r,i+=2;continue}r||("*"===e[i]?n+=1:(n>=3&&(t+=Math.floor(n/3)),n=0))}return n>=3&&(t+=Math.floor(n/3)),t})(e)%2==1?(t=iV(e),n=iY(e),t%2==0&&n%2==0)?e:`${e}***`:e},priority:30},optionKey:"boldItalic"},{handler:{name:"bold",handle:e=>{let t=e.match(ib);if(!t)return e;let n=t[2],r=e.lastIndexOf(t[1]);return iT(e,r)||ik(e,r)||((e,t,n)=>{if(!t||iD.test(t))return!0;let r=e.substring(0,n).lastIndexOf(` 12`),i=e.substring(-1===r?0:r+1,n);return!!(iO.test(i)&&t.includes(` 13`))||ij(e,n,"*")})(e,n,r)?e:iV(e)%2==1?n.endsWith("*")?`${e}*`:`${e}**`:e},priority:35},optionKey:"bold"},{handler:{name:"italicDoubleUnderscore",handle:e=>{let t=e.match(iy);if(!t){let t=e.match(iw);if(t){let n=e.lastIndexOf(t[1]);if(!(iT(e,n)||ik(e,n))&&i$(e)%2==1)return`${e}_`}return e}let n=t[2],r=e.lastIndexOf(t[1]);return iT(e,r)||ik(e,r)||((e,t,n)=>{if(!t||iD.test(t))return!0;let r=e.substring(0,n).lastIndexOf(` 14`),i=e.substring(-1===r?0:r+1,n);return!!(iO.test(i)&&t.includes(` 15`))||ij(e,n,"_")})(e,n,r)?e:i$(e)%2==1?`${e}__`:e},priority:40},optionKey:"italic"},{handler:{name:"italicSingleAsterisk",handle:e=>{if(!e.match(iN))return e;let t=(e=>{let t=!1;for(let n=0;n<e.length;n+=1){if("`"===e[n]&&n+2<e.length&&"`"===e[n+1]&&"`"===e[n+2]){t=!t,n+=2;continue}if(!t&&"*"===e[n]&&"*"!==e[n-1]&&"*"!==e[n+1]&&"\\"!==e[n-1]&&!iH(e,n)){let t=n>0?e[n-1]:"",r=n<e.length-1?e[n+1]:"";if((!t||" "===t||" "===t||t===` 16`)&&(!r||" "===r||" "===r||r===` 17`)||t&&r&&iB(t)&&iB(r))continue;return n}}return -1})(e);if(-1===t||iT(e,t)||ik(e,t))return e;let n=e.substring(t+1);return!n||iD.test(n)?e:iY(e)%2==1?`${e}*`:e},priority:41},optionKey:"italic"},{handler:{name:"italicSingleUnderscore",handle:e=>{if(!e.match(iS))return e;let t=iW(e);if(-1===t)return e;let n=e.substring(t+1);if(!n||iD.test(n)||iT(e,t)||ik(e,t))return e;if((e=>{let t=0,n=!1,r=e.length;for(let i=0;i<r;i+=1){if("`"===e[i]&&i+2<r&&"`"===e[i+1]&&"`"===e[i+2]){n=!n,i+=2;continue}if(n||"_"!==e[i])continue;let a=i>0?e[i-1]:"",s=i<r-1?e[i+1]:"";iq(e,i,a,s)||(t+=1)}return t})(e)%2==1){let t=(e=>{if(!e.endsWith("**"))return null;let t=e.slice(0,-2);if(iV(t)%2!=1)return null;let n=t.indexOf("**"),r=iW(t);return -1!==n&&-1!==r&&n<r?`${t}_**`:null})(e);return null!==t?t:(e=>{let t=e.length;for(;t>0&&e[t-1]===` 18`;)t-=1;if(t<e.length){let n=e.slice(0,t),r=e.slice(t);return`${n}_${r}`}return`${e}_`})(e)}return e},priority:42},optionKey:"italic"},{handler:{name:"inlineCode",handle:e=>{let t=!e.match(iL)||e.includes(` 19`)?null:e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e;if(null!==t)return t;let n=e.match(iI);if(n&&(e.match(/```/g)||[]).length%2!=1){let t=n[2];if(!t||iD.test(t))return e;if((e=>{let t=0;for(let n=0;n<e.length;n+=1){if("\\"===e[n]&&n+1<e.length&&"`"===e[n+1]){n+=1;continue}"`"!==e[n]||iA(e,n)||(t+=1)}return t})(e)%2==1)return`${e}\``}return e},priority:50},optionKey:"inlineCode"},{handler:{name:"strikethrough",handle:e=>{var t,n;let r=e.match(ix);if(r){let n=r[2];if(!n||iD.test(n))return e;let i=e.lastIndexOf(r[1]);if(iT(e,i)||ik(e,i))return e;if((null==(t=e.match(iP))?void 0:t.length)%2==1)return`${e}~~`}else{let t=e.match(iM);if(t){let r=e.lastIndexOf(t[0].slice(0,2));if(iT(e,r)||ik(e,r))return e;if((null==(n=e.match(iP))?void 0:n.length)%2==1)return`${e}~`}}return e},priority:60},optionKey:"strikethrough"},{handler:{name:"katex",handle:e=>(e=>{let t=0,n=!1;for(let r=0;r<e.length-1;r+=1)"`"!==e[r]||iK(e,r)||(n=!n),n||"$"!==e[r]||"$"!==e[r+1]||(t+=1,r+=1);return t})(e)%2==0?e:(e=>{if(e.endsWith("$")&&!e.endsWith("$$"))return`${e}$`;let t=e.indexOf("$$");return -1===t||-1===e.indexOf(` 20`,t)||e.endsWith(` 21`)?`${e}$$`:`${e} 22$$`})(e),priority:70},optionKey:"katex"},{handler:{name:"inlineKatex",handle:e=>(e=>{let t=0,n=!1;for(let r=0;r<e.length;r+=1){if("\\"===e[r]){r+=1;continue}if("`"===e[r]&&!iK(e,r)){n=!n;continue}n||"$"!==e[r]||(r+1<e.length&&"$"===e[r+1]?r+=1:t+=1)}return t})(e)%2==1?`${e}$`:e,priority:75},optionKey:"inlineKatex"}],i4=e.i(7284),i6=e.i(479656),i9=e.i(481647),i7=e.i(256948);let i8=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ae=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,at={};function an(e,t){return((t||at).jsx?ae:i8).test(e)}let ar=/[ \t\n\f\r]/g;function ai(e){return"object"==typeof e?"text"===e.type&&aa(e.value):aa(e)}function aa(e){return""===e.replace(ar,"")}e.s(["whitespace",0,ai],158206);let as={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"};var ao=e.i(763185);function al(e){return e&&"object"==typeof e?"position"in e||"type"in e?au(e.position):"start"in e||"end"in e?au(e):"line"in e||"column"in e?ac(e):"":""}function ac(e){return ah(e&&e.line)+":"+ah(e&&e.column)}function au(e){return ac(e&&e.start)+"-"+ac(e&&e.end)}function ah(e){return e&&"number"==typeof e?e:1}
22class ap extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},a=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const s=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=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=s?s.line:void 0,this.name=al(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&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ap.prototype.file="",ap.prototype.name="",ap.prototype.reason="",ap.prototype.message="",ap.prototype.stack="",ap.prototype.column=void 0,ap.prototype.line=void 0,ap.prototype.ancestors=void 0,ap.prototype.cause=void 0,ap.prototype.fatal=void 0,ap.prototype.place=void 0,ap.prototype.ruleId=void 0,ap.prototype.source=void 0;let ad={}.hasOwnProperty,am=new Map,af=/[A-Z]/g,ag=new Set(["table","tbody","thead","tfoot","tr"]),aE=new Set(["td","th"]),aT="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function aA(e,t,n){var r,i,a,s,o,l,c,u,h;let p,d,m,f,g,E,T,A,k,_,b;return"element"===t.type?(r=e,i=t,a=n,d=p=r.schema,"svg"===i.tagName.toLowerCase()&&"html"===p.space&&(r.schema=J),r.ancestors.push(i),m=ay(r,i.tagName,!1),f=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&ad.call(t.properties,r)){let a=function(e,t,n){let r=es(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?et(n):eu(n)),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return(0,ao.default)(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new ap("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=aT+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)ad.call(e,t)&&(n[function(e){let t=e.replace(af,aN);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?as[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(a){let[r,s]=a;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof s&&aE.has(t.tagName)?n=s:i[r]=s}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(r,i),g=ab(r,i),ag.has(i.tagName)&&(g=g.filter(function(e){return"string"!=typeof e||!ai(e)})),ak(r,f,m,i),a_(f,g),r.ancestors.pop(),r.schema=p,r.create(i,m,f,a)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return S("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}aC(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(s=e,o=t,l=n,T=E=s.schema,"svg"===o.name&&"html"===E.space&&(s.schema=J),s.ancestors.push(o),A=null===o.name?s.Fragment:ay(s,o.name,!0),k=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];S("ExpressionStatement"===t.type);let i=t.expression;S("ObjectExpression"===i.type);let a=i.properties[0];S("SpreadElement"===a.type),Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else aC(e,t.position);else{let i,a=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];S("ExpressionStatement"===t.type),i=e.evaluater.evaluateExpression(t.expression)}else aC(e,t.position);else i=null===r.value||r.value;n[a]=i}return n}(s,o),_=ab(s,o),ak(s,k,A,o),a_(k,_),s.ancestors.pop(),s.schema=E,s.create(o,A,k,l)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);aC(e,t.position)}(e,t):"root"===t.type?(c=e,u=t,h=n,a_(b={},ab(c,u)),c.create(u,c.Fragment,b,h)):"text"===t.type?t.value:void 0}function ak(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function a_(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function ab(e,t){let n=[],r=-1,i=e.passKeys?new Map:am;for(;++r<t.children.length;){let a,s=t.children[r];if(e.passKeys){let e="element"===s.type?s.tagName:"mdxJsxFlowElement"===s.type||"mdxJsxTextElement"===s.type?s.name:void 0;if(e){let t=i.get(e)||0;a=e+"-"+t,i.set(e,t+1)}}let o=aA(e,s,a);void 0!==o&&n.push(o)}return n}function ay(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),i=-1;for(;++i<n.length;){let t=an(n[i])?{type:"Identifier",name:n[i]}:{type:"Literal",value:n[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}S(e,"always a result"),r=e}else r=an(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return ad.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);aC(e)}function aC(e,t){let n=new ap("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=aT+"#cannot-handle-mdx-estrees-without-createevaluater",n}function aN(e){return"-"+e.toLowerCase()}let aS={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"]},aI={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),rJ(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return nq(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},ax={tokenize:function(e){let t,n,r,i=this,a=[],s=0;return o;function o(t){if(s<a.length){let n=a[s];return i.containerState=n[1],e.attempt(n[0].continuation,l,c)(t)}return c(t)}function l(e){if(s++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&E();let r=i.events.length,a=r;for(;a--;)if("exit"===i.events[a][0]&&"chunkFlow"===i.events[a][1].type){n=i.events[a][1].end;break}g(s);let o=r;for(;o<i.events.length;)i.events[o][1].end={...n},o++;return rw(i.events,a+1,0,i.events.slice(r)),i.events.length=o,c(e)}return o(e)}function c(n){if(s===a.length){if(!t)return p(n);if(t.currentConstruct&&t.currentConstruct.concrete)return m(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(aD,u,h)(n)}function u(e){return t&&E(),g(s),p(e)}function h(e){return i.parser.lazy[i.now().line]=s!==a.length,r=i.now().offset,m
22(e)}function p(t){return i.containerState={},e.attempt(aD,d,m)(t)}function d(e){return s++,a.push([i.currentConstruct,i.containerState]),p(e)}function m(r){if(null===r){t&&E(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){f(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return nq(n)?(e.consume(n),f(e.exit("chunkFlow")),s=0,i.interrupt=void 0,o):(e.consume(n),t)}(r)}function f(e,a){let o=i.sliceStream(e);if(a&&o.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(o),i.parser.lazy[e.start.line]){let e,n,a=t.events.length;for(;a--;)if(t.events[a][1].start.offset<r&&(!t.events[a][1].end||t.events[a][1].end.offset>r))return;let o=i.events.length,l=o;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){n=i.events[l][1].end;break}e=!0}for(g(s),a=o;a<i.events.length;)i.events[a][1].end={...n},a++;rw(i.events,l+1,0,i.events.slice(o)),i.events.length=a}}function g(t){let n=a.length;for(;n-- >t;){let t=a[n];i.containerState=t[1],t[0].exit.call(i,e)}a.length=t}function E(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},aD={tokenize:function(e,t,n){return rJ(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};class aO{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&aR(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),aR(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),aR(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);aR(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);aR(this.left,t.reverse())}}}function aR(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 aL(e){let t,n,r,i,a,s,o,l={},c=-1,u=new aO(e);for(;++c<u.length;){for(;c in l;)c=l[c];if(t=u.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&((r=0)<(s=t[1]._tokenizer.events).length&&"lineEndingBlank"===s[r][1].type&&(r+=2),r<s.length&&"content"===s[r][1].type))for(;++r<s.length&&"content"!==s[r][1].type;)"chunkText"===s[r][1].type&&(s[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let n,r,i=e.get(t)[1],a=e.get(t)[2],s=t-1,o=[],l=i._tokenizer;!l&&(l=a.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let c=l.events,u=[],h={},p=-1,d=i,m=0,f=0,g=[0];for(;d;){for(;e.get(++s)[1]!==d;);o.push(s),!d._tokenizer&&(n=a.sliceStream(d),d.next||n.push(null),r&&l.defineSkip(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=d,d=d.next}for(d=i;++p<c.length;)"exit"===c[p][0]&&"enter"===c[p-1][0]&&c[p][1].type===c[p-1][1].type&&c[p][1].start.line!==c[p][1].end.line&&(f=p+1,g.push(f),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):g.pop(),p=g.length;p--;){let t=c.slice(g[p],g[p+1]),n=o.pop();u.push([n,n+t.length-1]),e.splice(n,2,t)}for(u.reverse(),p=-1;++p<u.length;)h[m+u[p][0]]=m+u[p][1],m+=u[p][1]-u[p][0]-1;return h}(u,c)),c=l[c],o=!0);else if(t[1]._container){for(r=c,n=void 0;r--;)if("lineEnding"===(i=u.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(u.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;
22n&&(t[1].end={...u.get(n)[1].start},(a=u.slice(n,c)).unshift(t),u.splice(n,c-n+1,a))}}return rw(e,0,1/0,u.slice(0)),!o}let av={resolve:function(e){return aL(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):nq(t)?e.check(aw,a,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},aw={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),rJ(e,i,"linePrefix")};function i(i){if(null===i||nq(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},aM={tokenize:function(e){let t=this,n=e.attempt(r0,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,rJ(e,e.attempt(this.parser.constructs.flow,r,e.attempt(av,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},aP={resolveAll:aU()},aB=aH("string"),aF=aH("text");function aH(e){return{resolveAll:aU("text"===e?aG:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,s);return a;function a(e){return l(e)?i(e):s(e)}function s(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),o)}function o(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),o)}function l(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function aU(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function aG(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],a=t.sliceStream(i),s=a.length,o=-1,l=0;for(;s--;){let e=a[s];if("string"==typeof e){for(o=e.length;32===e.charCodeAt(o-1);)l++,o--;if(o)break;o=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){let a={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?o:i.start._bufferIndex+o,_index:i.start._index+s,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...a.start},i.start.offset===i.end.offset?Object.assign(i,a):(e.splice(n,0,["enter",a,t],["exit",a,t]),n+=2)}n++}return e}let aj={name:"attention",resolveAll:function(e,t){let n,r,i,a,s,o,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close){for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;o=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let h={...e[n][1].end},p={...e[u][1].start};az(h,-o),az(p,o),a={type:o>1?"strongSequence":"emphasisSequence",start:h,end:{...e[n][1].end}},s={type:o>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:p},i={type:o>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[u][1].start}},r={type:o>1?"strong":"emphasis",start:{...a.start},end:{...s.end}},e[n][1].end={...a.start},e[u][1].start={...s.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=rM(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=rM(l,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",i,t]]),l=rM(l,r7(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=rM(l,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=rM(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,rw(e,n-1,u-n+3,l),u=n+l.length-c-2;break}}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,a=rE(i);return function(s){return n=s,e.enter("attentionSequence"),function s(o){if(o===n)return e.consume(o),s;let l=e.exit("attentionSequence"),c=rE(o),u=!c||2===c&&a||r.includes(o),h=!a||2===a&&c||r.includes(i);return l._open=!!(42===n?u:u&&(a||!h)),l._close=!!(42===n?h:h&&(c||!u)),t(o)}(s)}}};function az(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let aY={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return n$(t)?rJ(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(aY,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return n$(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},aq={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return nY(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},aV=document.createElement("i");function a$(e){let t="&"+e+";";aV.innerHTML=t;let n=aV.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let aW={name:"characterReference",tokenize:function(e,t,n){let r,i,a=this,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),o};function o(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=nH,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=nz,c):(e.enter("characterReferenceValue"),r=7,i=nj,c(t))}function c(o){if(59===o&&s){let r=e.exit("characterReferenceValue");return i!==nH||a$(a.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o)}return i(o)&&s++<r?(e.consume(o),c):n(o)}}},aQ={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},aK={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,a={partial:!0,tokenize:function(e,t,n){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s};
vendor: 10,933 bytes, line 22
22function s(t){return e.enter("codeFencedFence"),n$(t)?rJ(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a>=o?(e.exit("codeFencedFenceSequence"),n$(i)?rJ(e,c,"whitespace")(i):c(i)):n(i)}(t)):n(t)}function c(r){return null===r||nq(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},s=0,o=0;return function(t){var a;let c;return a=t,s=(c=i.events[i.events.length-1])&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,r=a,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o<3?n(i):(e.exit("codeFencedFenceSequence"),n$(i)?rJ(e,l,"whitespace")(i):l(i))}(a)};function l(a){return null===a||nq(a)?(e.exit("codeFencedFence"),i.interrupt?t(a):e.check(aQ,u,m)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||nq(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):n$(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),rJ(e,c,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(a))}function c(t){return null===t||nq(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||nq(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function u(t){return e.attempt(a,m,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return s>0&&n$(t)?rJ(e,d,"linePrefix",s+1)(t):d(t)}function d(t){return null===t||nq(t)?e.check(aQ,u,m)(t):(e.enter("codeFlowValue"),function t(n){return null===n||nq(n)?(e.exit("codeFlowValue"),d(n)):(e.consume(n),t)}(t))}function m(n){return e.exit("codeFenced"),t(n)}}},aX={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),rJ(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?a(n):nq(n)?e.attempt(aZ,t,a)(n):(e.enter("codeFlowValue"),function n(r){return null===r||nq(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function a(n){return e.exit("codeIndented"),t(n)}}},aZ={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):nq(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):rJ(e,a,"linePrefix",5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):nq(e)?i(e):n(e)}}};function aJ(e,t,n,r,i,a,s,o,l){let c=l||1/0,u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),h):null===t||32===t||41===t||nG(t)?n(t):(e.enter(r),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),m(t))};function h(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(o),h(t)):null===t||60===t||nq(t)?n(t):(e.consume(t),92===t?d:p)}function d(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function m(i){return!u&&(null===i||41===i||nV(i))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(r),t(i)):u<c&&40===i?(e.consume(i),u++,m):41===i?(e.consume(i),u--,m):null===i||32===i||40===i||nG(i)?n(i):(e.consume(i),92===i?f:m)}function f(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function a0(e,t,n,r,i,a){let s,o=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),c};function c(h){return l>999||null===h||91===h||93===h&&!s||94===h&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs?n(h):93===h?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):nq(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(h))}function u(t){return null===t||91===t||93===t||nq(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!n$(t)),92===t?h:u)}function h(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function a1(e,t,n,r,i,a){let s;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),s=40===t?41:t,o):n(t)};function o(n){return n===s?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===s?(e.exit(a),o(s)):null===t?n(t):nq(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),rJ(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===s||null===t||nq(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===s||92===t?(e.consume(t),c):c(t)}}function a2(e,t){let n;return function r(i){return nq(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):n$(i)?rJ(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}let a5={partial:!0,tokenize:function(e,t,n){return function(t){return nV(t)?a2(e,r)(t):n(t)};function r(t){return a1(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return n$(t)?rJ(e,a,"whitespace")(t):a(t)}function a(e){return null===e||nq(e)?t(e):n(e)}}},a3=["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"],a4=["pre","script","style","textarea"],a6={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(r0,t,n)}}},a9={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return nq(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},a7={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&rw(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,a,s=e.length,o=0;for(;s--;)if(n=e[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){o=2;break}}else"labelEnd"===n.type&&(i=s);let l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},u={type:"labelText",start:{...e[r+o+2][1].end},end:{...e[i-2][1].start}};return a=rM(a=[["enter",l,t],["enter",c,t]],e.slice(r+1,r+o+3)),a=rM(a,[["enter",u,t]]),a=rM(a,r7(t.parser.constructs.insideSpan.null,e.slice(r+o+4,i-3),t)),a=rM(a,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),a=rM(a,e.slice(i+1)),a=rM(a,[["exit",l,t]]),rw(e,r,e.length,a),e},tokenize:function(e,t,n){let r,i,a=this,s=a.events.length;for(;s--;)if(("labelImage"===a.events[s][1].type||"labelLink"===a.events[s][1].type)&&!a.events[s][1]._balanced){r=a.events[s][1];break}return function(t){return r?r._inactive?u(t):(i=a.parser.defined.includes(n8(a.sliceSerialize({start:r.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),o):n(t)};function o(t){return 40===t?e.attempt(a8,c,i?c:u)(t):91===t?e.attempt(se,c,i?l:u)(t):i?c(t):u(t)}function l(t){return e.attempt(st,c,u)(t)}function c(e){return t(e)}function u(e){return r._balanced=!0,n(e)}}},a8={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return nV(t)?a2(e,i)(t):i(t)}function i(t){return 41===t?c(t):aJ(e,a,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return nV(t)?a2(e,o)(t):c(t)}function s(e){return n(e)}function o(t){return 34===t||39===t||40===t?a1(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return nV(t)?a2(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},se={tokenize:function(e,t,n){let r=this;return function(t){return a0.call(r,e,i,a,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(n8(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function a(e){return n(e)}}},st={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},sn={name:"labelStartImage",resolveAll:a7.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},sr={name:"labelStartLink",resolveAll:a7.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},si={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),rJ(e,t,"linePrefix")}}},sa={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(a){var s;return e.enter("thematicBreak"),r=s=a,function a(s){return s===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),n$(n)?rJ(e,a,"whitespace")(n):a(n))}(s)):i>=3&&(null===s||nq(s))?(e.exit("thematicBreak"),t(s)):n(s)}(s)}}},ss={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(r0,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,rJ(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!n$(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
22=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(sl,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,rJ(e,e.attempt(ss,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:nj(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(sa,n,o)(t):o(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return nj(i)&&++s<10?(e.consume(i),t):(!r.interrupt||s<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),o(i)):n(i)}(t)}return n(t)};function o(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(r0,r.interrupt?n:l,e.attempt(so,u,c))}
22function l(e){return r.containerState.initialBlankLine=!0,a++,u(e)}function c(t){return n$(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},so={partial:!0,tokenize:function(e,t,n){let r=this;return rJ(e,function(e){let i=r.events[r.events.length-1];return!n$(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},sl={partial:!0,tokenize:function(e,t,n){let r=this;return rJ(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},sc={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);let s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=s,e.push(["exit",s,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var s;let o,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){o="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||o)?(e.enter("setextHeadingLine"),r=t,s=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),n$(n)?rJ(e,a,"lineSuffix")(n):a(n))}(s)):n(t)};function a(r){return null===r||nq(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}};e.s(["attentionMarkers",0,{null:[42,95]},"contentInitial",0,{91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,a0.call(i,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function a(t){return(r=n8(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return nV(t)?a2(e,o)(t):o(t)}function o(t){return aJ(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(a5,c,c)(t)}function c(t){return n$(t)?rJ(e,u,"whitespace")(t):u(t)}function u(a){return null===a||nq(a)?(e.exit("definition"),i.parser.defined.push(r),t(a)):n(a)}}}},"disable",0,{null:[]},"document",0,{42:ss,43:ss,45:ss,48:ss,49:ss,50:ss,51:ss,52:ss,53:ss,54:ss,55:ss,56:ss,57:ss,62:aY},"flow",0,{35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,a=3;return"whitespace"===e[3][1].type&&(a+=2),i-2>a&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4),i>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},r={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},rw(e,a,i-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var a;return e.enter("atxHeading"),a=i,e.enter("atxHeadingSequence"),function i(a){return 35===a&&r++<6?(e.consume(a),i):null===a||nV(a)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||nq(r)?(e.exit("atxHeading"),t(r)):n$(r)?rJ(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||nV(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(a)):n(a)}(a)}}},42:sa,45:[sc,sa],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(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},tokenize:function(e,t,n){let r,i,a,s,o,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),i=!0,d):63===s?(e.consume(s),r=3,l.interrupt?t:L):nF(s)?(e.consume(s),a=String.fromCharCode(s),m):n(s)}function u(i){return 45===i?(e.consume(i),r=2,h):91===i?(e.consume(i),r=5,s=0,p):nF(i)?(e.consume(i),r=4,l.interrupt?t:L):n(i)}function h(r){return 45===r?(e.consume(r),l.interrupt?t:L):n(r)}function p(r){let i="CDATA[";return r===i.charCodeAt(s++)?(e.consume(r),s===i.length)?l.interrupt?t:C:p:n(r)}function d(t){return nF(t)?(e.consume(t),a=String.fromCharCode(t),m):n(t)}function m(s){if(null===s||47===s||62===s||nV(s)){let o=47===s,c=a.toLowerCase();return!o&&!i&&a4.includes(c)?(r=1,l.interrupt?t(s):C(s)):a3.includes(a.toLowerCase())?(r=6,o)?(e.consume(s),f):l.interrupt?t(s):C(s):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(s):i?function t(n){return n$(n)?(e.consume(n),t):b(n)}(s):g(s))}return 45===s||nH(s)?(e.consume(s),a+=String.fromCharCode(s),m):n(s)}function f(r){return 62===r?(e.consume(r),l.interrupt?t:C):n(r)}function g(t){return 47===t?(e.consume(t),b):58===t||95===t||nF(t)?(e.consume(t),E):n$(t)?(e.consume(t),g):b(t)}function E(t){return 45===t||46===t||58===t||95===t||nH(t)?(e.consume(t),E):T(t)}function T(t){return 61===t?(e.consume(t),A):n$(t)?(e.consume(t),T):g(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,k):n$(t)?(e.consume(t),A):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||nV(n)?T(n):(e.consume(n),t)}(t)}function k(t){return t===o?(e.consume(t),o=null,_):null===t||nq(t)?n(t):(e.consume(t),k)}function _(e){return 47===e||62===e||n$(e)?g(e):n(e)}function b(t){return 62===t?(e.consume(t),y):n(t)}function y(t){return null===t||nq(t)?C(t):n$(t)?(e.consume(t),y):n(t)}function C(t){return 45===t&&2===r?(e.consume(t),x):60===t&&1===r?(e.consume(t),D):62===t&&4===r?(e.consume(t),v):63===t&&3===r?(e.consume(t),L):93===t&&5===r?(e.consume(t),R):nq(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(a6,w,N)(t)):null===t||nq(t)?(e.exit("htmlFlowData"),N(t)):(e.consume(t),C)}function N(t){return e.check(a9,S,w)(t)}function S(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||nq(t)?N(t):(e.enter("htmlFlowData"),C(t))}function x(t){return 45===t?(e.consume(t),L):C(t)}function D(t){return 47===t?(e.consume(t),a="",O):C(t)}function O(t){if(62===t){let n=a.toLowerCase();return a4.includes(n)?(e.consume(t),v):C(t)}return nF(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),O):C(t)}function R(t){return 93===t?(e.consume(t),L):C(t)}function L(t){return 62===t?(e.consume(t),v):45===t&&2===r?(e.consume(t),L):C(t)}function v(t){return null===t||nq(t)?(e.exit("htmlFlowData"),w(t)):(e.consume(t),v)}function w(n){return e.exit("htmlFlow"),t(n)}}},61:sc,95:sa,96:aK,126:aK},"flowInitial",0,{[-2]:aX,[-1]:aX,32:aX},"insideSpan",0,{null:[aj,aP]},"string",0,{38:aW,92:aq},"text",0,{[-5]:si,[-4]:si,[-3]:si,33:sn,38:aW,42:aj,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return nF(t)?(e.consume(t),a):64===t?n(t):o(t)}function a(t){return 43===t||45===t||46===t||nH(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,s):(43===n||45===n||46===n||nH(n))&&r++<32?(e.consume(n),t):(r=0,o(n))}(t)):o(t)}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||nG(r)?n(r):(e.consume(r),s)}function o(t){return 64===t?(e.consume(t),l):nU(t)?(e.consume(t),o):n(t)}function l(i){return nH(i)?function i(a){return 46===a?(e.consume(a),r=0,l):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(a){if((45===a||nH(a))&&r++<63){let n=45===a?t:i;return e.consume(a),n}return n(a)}(a)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,a,s=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),o};function o(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),k):63===t?(e.consume(t),T):nF(t)?(e.consume(t),b):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,d):nF(t)?(e.consume(t),E):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),h):nq(t)?(a=u,O(t)):(e.consume(t),u)}function h(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?D(e):45===e?h(e):u(e)}function d(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?m:d):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),f):nq(t)?(a=m,O(t)):(e.consume(t),m)}function f(t){return 93===t?(e.consume(t),g):m(t)}function g(t){return 62===t?D(t):93===t?(e.consume(t),g):m(t)}function E(t){return null===t||62===t?D(t):nq(t)?(a=E,O(t)):(e.consume(t),E)}function T(t){return null===t?n(t):63===t?(e.consume(t),A):nq(t)?(a=T,O(t)):(e.consume(t),T)}function A(e){return 62===e?D(e):T(e)}function k(t){return nF(t)?(e.consume(t),_):n(t)}function _(t){return 45===t||nH(t)?(e.consume(t),_):function t(n){return nq(n)?(a=t,O(n)):n$(n)?(e.consume(n),t):D(n)}(t)}function b(t){return 45===t||nH(t)?(e.consume(t),b):47===t||62===t||nV(t)?y(t):n(t)}function y(t){return 47===t?(e.consume(t),D):58===t||95===t||nF(t)?(e.consume(t),C):nq(t)?(a=y,O(t)):n$(t)?(e.consume(t),y):D(t)}function C(t){return 45===t||46===t||58===t||95===t||nH(t)?(e.consume(t),C):function t(n){return 61===n?(e.consume(n),N):nq(n)?(a=t,O(n)):n$(n)?(e.consume(n),t):y(n)}(t)}function N(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,S):nq(t)?(a=N,O(t)):n$(t)?(e.consume(t),N):(e.consume(t),I)}function S(t){return t===r?(e.consume(t),r=void 0,x):null===t?n(t):nq(t)?(a=S,O(t)):(e.consume(t),S)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||nV(t)?y(t):(e.consume(t),I)}function x(e){return 47===e||62===e||nV(e)?y(e):n(e)}function D(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function O(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),R}function R(t){return n$(t)?rJ(e,L,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):L(t)}function L(t){return e.enter("htmlTextData"),a(t)}}}],91:sr,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return nq(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},aq],93:a7,95:aj,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,a=0;
22return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),a++,t):(e.exit("codeTextSequence"),s(n))}(t)};function s(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),s):96===l?(i=e.enter("codeTextSequence"),r=0,function n(s){return 96===s?(e.consume(s),r++,n):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(s)):(i.type="codeTextData",o(s))}(l)):nq(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s):(e.enter("codeTextData"),o(l))}function o(t){return null===t||32===t||96===t||nq(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),o)}}}}],119210);var su=e.i(119210);let sh=/[\0\t\n\r]/g;function sp(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let sd=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function sm(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return sp(n.slice(t?2:1),t?16:10)}return a$(n)||e}let sf={}.hasOwnProperty;function sg(e){return{line:e.line,column:e.column,offset:e.offset}}function sE(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+al({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+al({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+al({start:t.start,end:t.end})+") is still open")}function sT(e){let t=this;t.parser=function(n){var r,i;let a,s,o,l;return"object"==typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(E),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(d),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(d,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(f),hardBreakTrailing:r(f),htmlFlow:r(g,i),htmlFlowData:c,htmlText:r(g,i),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(E),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(T,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(T),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(m),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:s(),autolinkEmail:function(e){u.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=sp(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=a$(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=sg(e.end)},codeFenced:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:u,codeIndented:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:u,data:u,definition:s(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=n8(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(h),hardBreakTrailing:s(h),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:u,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:u,image:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(sd,sm),n.identifier=n8(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=sg(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
22ype)&&(c.call(this,e),u.call(this,e))},link:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=n8(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:s(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(sf.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},s={stack:[r],tokenStack:[],config:t,enter:a,exit:o,buffer:i,resume:l,data:n},c=[],u=-1;for(;++u<e.length;)("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)&&("enter"===e[u][0]?c.push(u):u=function(e,t,n){let r,i,a,s,o=t-1,l=-1,c=!1;for(;++o<=n;){let t=e[o];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||l||a||(a=o),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=o;for(i=void 0;s--;){let t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=s}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}a&&(!i||a<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||o,0,["exit",r,t[2]]),o++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(o,0,["enter",i,t[2]]),o++,n++,a=void 0,s=!0}}}return e[t][1]._spread=c,n}(e,c.pop(),u));for(u=-1;++u<e.length;){let n=t[e[u][0]];sf.call(n,e[u][1].type)&&n[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},s),e[u][1])}if(s.tokenStack.length>0){let e=s.tokenStack[s.tokenStack.length-1];(e[1]||sE).call(s,void 0,e[0])}for(r.position={start:sg(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:sg(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r};function r(e,t){return function(n){a.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function a(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:sg(t.start),end:void 0}}function s(e){return function(t){e&&e.call(this,t),o.call(this,t)}}function o(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||sE).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+al({start:e.start,end:e.end})+"): itâs not open");n.position.end=sg(e.end)}function l(){return rA(this.stack.pop())}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:sg(e.start),end:void 0},t.push(n)),this.stack.push(n)}function u(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=sg(e.end)}function h(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function d(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function f(){return{type:"break"}}function g(){return{type:"html",value:""}}function E(){return{type:"link",title:null,url:"",children:[]}}function T(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(i)(function(e){for(;!aL(e););return e}((function(e){let t={constructs:rB([su,...(e||{}).extensions||[]]),content:n(aI),defined:[],document:n(ax),flow:n(aM),lazy:{},string:n(aB),text:n(aF)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
22olumn:n&&n.column||1,offset:n&&n.offset||0},i={},a=[],s=[],o=[],l={attempt:m(function(e,t){f(e,t.from)}),check:m(d),consume:function(e){nq(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=p(),c.events.push(["enter",n,c]),o.push(n),n},exit:function(e){let t=o.pop();return t.end=p(),c.events.push(["exit",t,c]),t},interrupt:m(d,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:p,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let a,s=e[r];if("string"==typeof s)a=s;else switch(s){case -5:a="\r";break;case -4:a="\n";break;case -3:a="\r\n";break;case -2:a=t?" ":" ";break;case -1:if(!t&&n)continue;a=" ";break;default:a=String.fromCharCode(s)}n=-2===s,i.push(a)}return i.join("")}(h(e),t)},sliceStream:h,write:function(e){return(s=rM(s,e),function(){let e;for(;r._index<s.length;){let n=s[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),u=u(t)}else u=u(n)}}(),null!==s[s.length-1])?[]:(f(t,0),c.events=r7(a,c.events,c),c.events)}},u=t.tokenize.call(c,l);return t.resolveAll&&a.push(t),c;function h(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;if(r===a)n=[e[r].slice(i,s)];else{if(n=e.slice(r,a),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}s>0&&n.push(e[a].slice(0,s))}return n}(s,e)}function p(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function d(e,t){t.restore()}function m(e,t){return function(n,i,a){var s;let u,h,d,m;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):(s=n,function(e){let t=null!==e&&s[e],n=null!==e&&s.null;return f([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function f(e){return(u=e,h=0,0===e.length)?a:E(e[h])}function E(e){return function(n){let i,a,s,u,h;return(i=p(),a=c.previous,s=c.currentConstruct,u=c.events.length,h=Array.from(o),m={from:u,restore:function(){r=i,c.previous=a,c.currentConstruct=s,c.events.length=u,o=h,g()}},d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?A(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,T,A)(n)}}function T(t){return e(d,m),i}function A(e){return(m.restore(),++h<u.length)?E(u[h]):a}}}function f(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&rw(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(i).document().write((s=1,o="",l=!0,function(e,t,n){let r,i,c,u,h,p=[];for(e=o+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),c=0,o="",l&&(65279===e.charCodeAt(0)&&c++,l=void 0);c<e.length;){if(sh.lastIndex=c,u=(r=sh.exec(e))&&void 0!==r.index?r.index:e.length,h=e.charCodeAt(u),!r){o=e.slice(c);break}if(10===h&&c===u&&a)p.push(-3),a=void 0;else switch(a&&(p.push(-5),a=void 0),c<u&&(p.push(e.slice(c,u)),s+=u-c),h){case 0:p.push(65533),s++;break;case 9:for(i=4*Math.ceil(s/4),p.push(-2);s++<i;)p.push(-1);break;case 10:p.push(-4),s=1;break;default:a=!0,s=1}c=u+1}return n&&(a&&p.push(-5),o&&p.push(o),p.push(null)),p})(n,r,!0))))}}function sA(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),s="";if(37===a&&nH(e.charCodeAt(n+1))&&nH(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(s=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(s=String.fromCharCode(a,t),i=1):s="�"}else s=String.fromCharCode(a);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function sk(e,t){let n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function s_(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}
22function sb(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),a=i[0];a&&"text"===a.type?a.value="["+a.value:i.unshift({type:"text",value:"["});let s=i[i.length-1];return s&&"text"===s.type?s.value+=r:i.push({type:"text",value:r}),i}function sy(e){let t=e.spread;return null==t?e.children.length>1:t}function sC(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let sN={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=sA(i.toLowerCase()),s=e.footnoteOrder.indexOf(i),o=e.footnoteCounts.get(i);void 0===o?(o=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=s+1,o+=1,e.footnoteCounts.set(i,o);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return sb(e,t);let i={src:sA(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let n={src:sA(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return sb(e,t);let i={href:sA(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let n={href:sA(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=sy(n[r])}return t}(n):sy(t),a={},s=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let o=-1;for(;++o<r.length;){let e=r[o];(i||0!==o||"element"!==e.type||"p"!==e.tagName)&&s.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?s.push(e):s.push(...e.children)}let l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&s.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:a,children:s};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=nl(t.children[1]),s=no(t.children[t.children.length-1]);a&&s&&(r.position={start:a,end:s}),i.push(r)}let a={type:"element",tagName:"table",properties:{}
22,children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,s=a?a.length:t.children.length,o=-1,l=[];for(;++o<s;){let n=t.children[o],r={},s=a?a[o]:void 0;s&&(r.align=s);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(sC(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(sC(t.slice(i),i>0,!1)),a.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:sS,yaml:sS,definition:sS,footnoteDefinition:sS};function sS(){}let sI={}.hasOwnProperty,sx={};function sD(e,t){e.position&&(t.position=nu(e))}function sO(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,N(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function sR(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function sL(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function sv(e,t){let n,r,i,a,s=(n=t||sx,r=new Map,i=new Map,a={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=sL(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=sL(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:sO,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...sN,...n.handlers},one:function(e,t){let n=e.type,r=a.handlers[n];if(sI.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=N(n);return r.children=a.all(e),r}return N(e)}return(a.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(sI.call(n,"hProperties")||sI.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)})(a,e,t)},options:n,patch:sD,wrap:sR},l(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a),o=s.one(e,void 0),c=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||sk,r=e.options.footnoteBackLabel||s_,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[],l=-1;for(;++l<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[l]);if(!i)continue;let a=e.all(i),s=String(i.identifier).toUpperCase(),c=sA(s.toLowerCase()),u=0,h=[],p=e.footnoteCounts.get(s);for(;void 0!==p&&++u<=p;){h.length>0&&h.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),h.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let d=a[a.length-1];if(d&&"element"===d.type&&"p"===d.tagName){let e=d.children[d.children.length-1];e&&"text"===e.type?e.value+=" ":d.children.push({type:"text",value:" "}),d.children.push(...h)}else a.push(...h);let m={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(a,!0)};e.patch(i,m),o.push(m)}if(0!==o.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...N(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)}
22,{type:"text",value:"\n"}]}}(s),u=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return c&&(S("children"in u),u.children.push({type:"text",value:"\n"},c)),u}function sw(e,t){return e&&"run"in e?async function(n,r){let i=sv(n,{file:r,...t});await e.run(i,r)}:function(n,r){return sv(n,{file:r,...e||t})}}function sM(e){if(e)throw e}var sP=e.i(975609);function sB(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let sF=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');sj(e);let r=0,i=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let s=-1,o=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else s<0&&(n=!0,s=a+1),o>-1&&(e.codePointAt(a)===t.codePointAt(o--)?o<0&&(i=a):(o=-1,i=s));return r===i?i=s:i<0&&(i=e.length),e.slice(r,i)},sH=function(e){let t;if(sj(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},sU=function(e){let t;sj(e);let n=e.length,r=-1,i=0,a=-1,s=0;for(;n--;){let o=e.codePointAt(n);if(47===o){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===o?a<0?a=n:1!==s&&(s=1):a>-1&&(s=-1)}return a<0||r<0||0===s||1===s&&a===r-1&&a===i+1?"":e.slice(a,r)},sG=function(...e){var t;let n,r,i,a=-1;for(;++a<e.length;)sj(e[a]),e[a]&&(i=void 0===i?e[a]:i+"/"+e[a]);return void 0===i?".":(sj(t=i),n=47===t.codePointAt(0),0!==(r=function(e,t){let n,r,i="",a=0,s=-1,o=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(s===l-1||1===o);else if(s!==l-1&&2===o){if(i.length<2||2!==a||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",a=0):a=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),s=l,o=0;continue}}else if(i.length>0){i="",a=0,s=l,o=0;continue}}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(s+1,l):i=e.slice(s+1,l),a=l-s-1;s=l,o=0}else 46===n&&o>-1?o++:o=-1}return i}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function sj(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function sz(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let sY=["history","path","basename","stem","extname","dirname"];class sq{constructor(e){let t,n;t=e?sz(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<sY.length;){const e=sY[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)sY.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?sF(this.path):void 0}set basename(e){s$(e,"basename"),sV(e,"basename"),this.path=sG(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?sH(this.path):void 0}set dirname(e){sW(this.basename,"dirname"),this.path=sG(e||"",this.basename)}get extname(){return"string"==typeof this.path?sU(this.path):void 0}set extname(e){if(sV(e,"extname"),sW(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=sG(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){sz(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!sz(e)){let t=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("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),s$(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?sF(this.path,this.extname):void 0}set stem(e){s$(e,"stem"),sV(e,"stem"),this.path=sG(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new ap(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function sV(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function s$(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function sW(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let sQ=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},sK={}.hasOwnProperty;class sX extends sQ{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=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(a,...s){let o=e[++n],l=-1;if(a)return void r(a);for(;++l<t.length;)(null===s[l]||void 0===s[l])&&(s[l]=t[l]);t=s,o?(function(e,t){let n;return function(...t){let a,s=e.length>t.length;
22s&&t.push(r);try{a=e.apply(this,t)}catch(e){if(s&&n)throw e;return r(e)}s||(a&&a.then&&"function"==typeof a.then?a.then(i,r):a instanceof Error?r(a):i(a))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(o,i)(...s):r(null,...s)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new sX,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data((0,sP.default)(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(s1("data",this.frozen),this.namespace[e]=t,this):sK.call(this.namespace,e)&&this.namespace[e]||void 0:e?(s1("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=s3(e),n=this.parser||this.Parser;return sJ("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),sJ("process",this.parser||this.Parser),s0("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=s3(e),s=n.parse(a);function o(e,n){e||!n?i(e):r?r(n):(S(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(s,a,function(e,t,r){var i,a;if(e||!t||!r)return o(e);let s=n.stringify(t,r);"string"==typeof(i=s)||(a=i)&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a?r.value=s:r.result=s,o(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),sJ("processSync",this.parser||this.Parser),s0("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,sM(e),t=r}),s5("processSync","process",n),S(t,"we either bailed on an error or have a tree"),t}run(e,t,n){s2(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){S("function"!=typeof t,"`file` canât be a `done` anymore, we checked");let s=s3(t);r.run(e,s,function(t,r,s){let o=r||e;t?a(t):i?i(o):(S(n,"`done` is defined if `resolve` is not"),n(void 0,o,s))})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){sM(e),n=t,r=!0}),s5("runSync","run",r),S(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=s3(t),r=this.compiler||this.Compiler;return s0("stringify",r),s2(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(s1("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else if("object"==typeof e)Array.isArray(e)?a(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw 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");a(e.plugins),e.settings&&(r.settings=(0,sP.default)(!0,r.settings,e.settings))}function a(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)s(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else i(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,s=n[i][1];sB(s)&&sB(r)&&(r=(0,sP.default)(!0,s,r)),n[i]=[e,r,...a]}}}}let sZ=new sX().freeze();function sJ(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function s0(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function s1(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function s2(e){if(!sB(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}
22function s5(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function s3(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new sq(e)}function s4(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var s6=s4(),s9={exec:()=>null};function s7(e,t=""){let n="string"==typeof e?e:e.source,r={replace:(e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(oe.caret,"$1"),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var s8=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),oe={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}>`)},ot=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,on=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,or=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,oi=s7(or).replace(/bull/g,on).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),oa=s7(or).replace(/bull/g,on).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),os=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,oo=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,ol=s7(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",oo).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),oc=s7(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,on).getRegex(),ou="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",oh=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,op=s7("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>
22)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",oh).replace("tag",ou).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),od=s7(os).replace("hr",ot).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ou).getRegex(),om={blockquote:s7(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",od).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:ol,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:ot,html:op,lheading:oi,list:oc,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:od,table:s9,text:/^[^\n]+/},of=s7("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",ot).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ou).getRegex(),og={...om,lheading:oa,table:of,paragraph:s7(os).replace("hr",ot).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",of).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ou).getRegex()},oE={...om,html:s7("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",oh).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:s9,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:s7(os).replace("hr",ot).replace("heading",` *#{1,6} *[^ 23]`).replace("lheading",oi).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},oT=/^( {2,}|\\)\n(?!\s*$)/,oA=/[\p{P}\p{S}]/u,ok=/[\s\p{P}\p{S}]/u,o_=/[^\s\p{P}\p{S}]/u,ob=s7(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,ok).getRegex(),oy=/(?!~)[\p{P}\p{S}]/u,oC=s7(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",s8?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),oN=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,oS=s7(oN,"u").replace(/punct/g,oA).getRegex(),oI=s7(oN,"u").replace(/punct/g,oy).getRegex(),ox="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",oD=s7(ox,"gu").replace(/notPunctSpace/g,o_).replace(/punctSpace/g,ok).replace(/punct/g,oA).getRegex(),oO=s7(ox,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,oy).getRegex(),oR=s7("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,o_).replace(/punctSpace/g,ok).replace(/punct/g,oA).getRegex(),oL=s7(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,oA).getRegex(),ov=s7("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,o_).replace(/punctSpace/g,ok).replace(/punct/g,oA).getRegex(),ow=s7(/\\(punct)/,"gu").replace(/punct/g,oA).getRegex(),oM=s7(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),oP=s7(oh).replace("(?:-->|$)","-->").getRegex(),oB=s7("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",oP).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),oF=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,oH=s7(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",oF).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),oU=s7(/^!?\[(label)\]\[(ref)\]/).replace("label",oF).replace("ref",oo).getRegex(),oG=s7(/^!?\[(ref)\](?:\[\])?/).replace("ref",oo).getRegex(),oj=s7("reflink|nolink(?!\\()","g").replace("reflink",oU).replace("nolink",oG).getRegex(),oz=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,oY={_backpedal:s9,anyPunctuation:ow,autolink:oM,blockSkip:oC,br:oT,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:s9,delLDelim:s9,delRDelim:s9,emStrongLDelim:oS,emStrongRDelimAst:oD,emStrongRDelimUnd:oR,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:oH,nolink:oG,punctuation:ob,reflink:oU,reflinkSearch:oj,tag:oB,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:s9},oq={...oY,link:s7(/^!?\[(label)\]\((.*?)\)/).replace("label",oF).getRegex(),reflink:s7(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",oF).getRegex()},oV={...oY,emStrongRDelimAst:oO,emStrongLDelim:oI,delLDelim:oL,delRDelim:ov,url:s7(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",oz).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:s7(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",oz).getRegex()},o$={...oV,br:s7(oT).replace("{2,}","*").getRegex(),text:s7(oV.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},oW={normal:om,gfm:og,pedantic:oE},oQ={normal:oY,gfm:oV,breaks:o$,pedantic:oq},oK={"&":"&","<":"<",">":">",'"':""","'":"'"},oX=e=>oK[e];function oZ(e,t){if(t){if(oe.escapeTest.test(e))return e.replace(oe.escapeReplace,oX)}else if(oe.escapeTestNoEncode.test(e))return e.replace(oe.escapeReplaceNoEncode,oX);return e}function oJ(e){try{e=encodeURI(e).replace(oe.percentDecode,"%")}catch{return null}return e}function o0(e,t){let n=e.replace(oe.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(oe.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(oe.slashPipe,"|");return n}function o1(e,t,n){let r=e.length;if(0===r)return"";let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a!==t||n)if(a!==t&&n)i++;else break;else i++}return e.slice(0,r-i)}function o2(e,t,n,r,i){let a=t.href,s=t.title||null,o=e[1].replace(i.other.outputLinkReplace,"$1");r.state.inLink=!0;let l={type:"!"===e[0].charAt(0)?"image":"link",raw:n,href:a,title:s,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,l}var o5=class{options;rules;lexer;constructor(e){this.options=e||s6}
23space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:o1(e,` 24`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(null===r)return t;let i=r[1];return t.split(` 25`).map(e=>{let t=e.match(n.other.beginningSpace);if(null===t)return e;let[r]=t;return r.length>=i.length?e.slice(i.length):e}).join(` 26`)}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=o1(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:o1(t[0],` 27`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=o1(t[0],` 28`).split(` 29`),n="",r="",i=[];for(;e.length>0;){let t=!1,a=[],s;for(s=0;s<e.length;s++)if(this.rules.other.blockquoteStart.test(e[s]))a.push(e[s]),t=!0;else if(t)break;else a.push(e[s]);e=e.slice(s);let o=a.join(` 30`),l=o.replace(this.rules.other.blockquoteSetextReplace,` 31 $1`).replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n} 32${o}`:o,r=r?`${r} 33${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,i,!0),this.lexer.state.top=c,0===e.length)break;let u=i.at(-1);if(u?.type==="code")break;if(u?.type==="blockquote"){let t=u.raw+` 34`+e.join(` 35`),a=this.blockquote(t);i[i.length-1]=a,n=n.substring(0,n.length-u.raw.length)+a.raw,r=r.substring(0,r.length-u.text.length)+a.text;break}if(u?.type==="list"){let t=u.raw+` 36`+e.join(` 37`),a=this.list(t);i[i.length-1]=a,n=n.substring(0,n.length-u.raw.length)+a.raw,r=r.substring(0,r.length-u.raw.length)+a.raw,e=t.substring(i.at(-1).raw.length).split(` 38`);continue}}return{type:"blockquote",raw:n,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,i={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");let a=this.rules.other.listItemRegex(n),s=!1;for(;e;){let n=!1,r="",o="";if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let l=function(e,t=0){let n=t,r="";for(let t of e)if(" "===t){let e=4-n%4;r+=" ".repeat(e),n+=e}else r+=t,n++;return r}(t[2].split(` 39`,1)[0],t[1].length),c=e.split(` 40`,1)[0],u=!l.trim(),h=0;if(this.options.pedantic?(h=2,o=l.trimStart()):u?h=t[1].length+1:(h=(h=l.search(this.rules.other.nonSpaceChar))>4?1:h,o=l.slice(h),h+=t[1].length),u&&this.rules.other.blankLine.test(c)&&(r+=c+` 41`,e=e.substring(c.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(h),n=this.rules.other.hrRegex(h),i=this.rules.other.fencesBeginRegex(h),a=this.rules.other.headingBeginRegex(h),s=this.rules.other.htmlBeginRegex(h),p=this.rules.other.blockquoteBeginRegex(h);for(;e;){let d=e.split(` 42`,1)[0],m;if(c=d,m=this.options.pedantic?c=c.replace(this.rules.other.listReplaceNesting," "):c.replace(this.rules.other.tabCharGlobal," "),i.test(c)||a.test(c)||s.test(c)||p.test(c)||t.test(c)||n.test(c))break;if(m.search(this.rules.other.nonSpaceChar)>=h||!c.trim())o+=` 43`+m.slice(h);else{if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||i.test(l)||a.test(l)||n.test(l))break;o+=` 44`+c}u=!c.trim(),r+=d+` 45`,e=e.substring(d.length+1),l=m.slice(h)}}i.loose||(s?i.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(s=!0)),i.items.push({type:"list_item",raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(o),loose:!1,text:o,tokens:[]}),i.raw+=r}let o=i.items.at(-1);if(!o)return;for(let e of(o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd(),i.raw=i.raw.trimEnd(),i.items)){if(this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]),e.task){if(e.text=e.text.replace(this.rules.other.listReplaceTask,""),e.tokens[0]?.type==="text"||e.tokens[0]?.type==="paragraph"){e.tokens[0].raw=e.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),e.tokens[0].text=e.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,"");break}}let t=this.rules.other.listTaskCheckbox.exec(e.raw);if(t){let n={type:"checkbox",raw:t[0]+" ",checked:"[ ]"!==t[0]};e.checked=n.checked,i.loose?e.tokens[0]&&["paragraph","text"].includes(e.tokens[0].type)&&"tokens"in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=n.raw+e.tokens[0].raw,e.tokens[0].text=n.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(n)):e.tokens.unshift({type:"paragraph",raw:n.raw,text:n.raw,tokens:[n]}):e.tokens.unshift(n)}}if(!i.loose){let t=e.tokens.filter(e=>
45"space"===e.type);i.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}}if(i.loose)for(let e of i.items)for(let t of(e.loose=!0,e.tokens))"text"===t.type&&(t.type="paragraph");return i}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=o0(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(` 46`):[],a={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let e of r)this.rules.other.tableAlignRight.test(e)?a.align.push("right"):this.rules.other.tableAlignCenter.test(e)?a.align.push("center"):this.rules.other.tableAlignLeft.test(e)?a.align.push("left"):a.align.push(null);for(let e=0;e<n.length;e++)a.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:a.align[e]});for(let e of i)a.rows.push(o0(e,a.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e=t[1].trim();return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===` 47`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=o1(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e){if(-1===e.indexOf(")"))return -1;let t=0;for(let n=0;n<e.length;n++)if("\\"===e[n])n++;else if("("===e[n])t++;else if(")"===e[n]&&--t<0)return n;return t>0?-2:-1}(t[2]);if(-2===e)return;if(e>-1){let n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),o2(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return o2(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,s=n,o=0,l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!==(r=l.exec(t));){if(!(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6]))continue;if(a=[...i].length,r[3]||r[4]){s+=a;continue}if((r[5]||r[6])&&n%3&&!((n+a)%3)){o+=a;continue}if((s-=a)>0)continue;a=Math.min(a,a+s+o);let t=[...r[0]][0].length,l=e.slice(0,n+r.index+t+a);if(Math.min(n,a)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t,n=""){let r=this.rules.inline.delLDelim.exec(e);
47if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,s=n,o=this.rules.inline.delRDelim;for(o.lastIndex=0,t=t.slice(-1*e.length+n);null!==(r=o.exec(t));){if(!(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])||(a=[...i].length)!==n)continue;if(r[3]||r[4]){s+=a;continue}if((s-=a)>0)continue;a=Math.min(a,a+s);let t=[...r[0]][0].length,o=e.slice(0,n+r.index+t+a),l=o.slice(n,-n);return{type:"del",raw:o,text:l,tokens:this.lexer.inlineTokens(l)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return n="@"===t[2]?"mailto:"+(e=t[1]):e=t[1],{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])n="mailto:"+(e=t[0]);else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(r!==t[0])e=t[0],n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},o3=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||s6,this.options.tokenizer=this.options.tokenizer||new o5,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:oe,block:oW.normal,inline:oQ.normal};this.options.pedantic?(t.block=oW.pedantic,t.inline=oQ.pedantic):this.options.gfm&&(t.block=oW.gfm,this.options.breaks?t.inline=oQ.breaks:t.inline=oQ.gfm),this.tokenizer.rules=t}static get rules(){return{block:oW,inline:oQ}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(oe.carriageReturn,` 48`),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){for(this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(oe.tabCharGlobal," ").replace(oe.spaceLine,""));e;){let r;if(this.options.extensions?.block?.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))continue;if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length);let n=t.at(-1);1===r.raw.length&&void 0!==n?n.raw+=` 49`:t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type==="paragraph"||n?.type==="text"?(n.raw+=(n.raw.endsWith(` 50`)?"":` 51`)+r.raw,n.text+=` 52`+r.text,this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if((r=this.tokenizer.fences(e))||(r=this.tokenizer.heading(e))||(r=this.tokenizer.hr(e))||(r=this.tokenizer.blockquote(e))||(r=this.tokenizer.list(e))||(r=this.tokenizer.html(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type==="paragraph"||n?.type==="text"?(n.raw+=(n.raw.endsWith(` 53`)?"":` 54`)+r.raw,n.text+=` 55`+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title},t.push(r));continue}if((r=this.tokenizer.table(e))||(r=this.tokenizer.lheading(e))){e=e.substring(r.raw.length),t.push(r);continue}let i=e;if(this.options.extensions?.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){let a=t.at(-1);n&&a?.type==="paragraph"?(a.raw+=(a.raw.endsWith(` 56`)?"":` 57`)+r.raw,a.text+=` 58`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.push(r),n=i.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type==="text"?(n.raw+=(n.raw.endsWith(` 59`)?"":` 60`)+r.raw,n.text+=` 61`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n;this.tokenizer.lexer=this;let r=e,i=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!==(i=this.tokenizer.rules.inline.reflinkSearch.exec(r));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!==(i=this.tokenizer.rules.inline.anyPunctuation.exec(r));)r=r.slice(0,i.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!==(i=this.tokenizer.rules.inline.blockSkip.exec(r));)n=i[2]?i[2].length:0,r=r.slice(0,i.index+n)+"["+"a".repeat(i[0].length-n-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let a=!1,s="";for(;e;){let n;if(a||(s=""),a=!1,this.options.extensions?.inline?.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))continue;if((n=this.tokenizer.escape(e))||(n=this.tokenizer.tag(e))||(n=this.tokenizer.link(e))){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length);let r=t.at(-1);"text"===n.type&&r?.type==="text"?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if((n=this.tokenizer.emStrong(e,r,s))||(n=this.tokenizer.codespan(e))||(n=this.tokenizer.br(e))||(n=this.tokenizer.del(e,r,s))||(n=this.tokenizer.autolink(e))||!this.state.inLink&&(n=this.tokenizer.url(e))){e=e.substring(n.raw.length),t.push(n);continue}let i=e;if(this.options.extensions?.startInline){let t=1/0,n=e.slice(1),r;
61this.options.extensions.startInline.forEach(e=>{"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(i)){e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(s=n.raw.slice(-1)),a=!0;let r=t.at(-1);r?.type==="text"?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}},o4=class{options;parser;constructor(e){this.options=e||s6}space(e){return""}code({text:e,lang:t,escaped:n}){let r=(t||"").match(oe.notSpaceStart)?.[0],i=e.replace(oe.endingNewline,"")+` 62`;return r?'<pre><code class="language-'+oZ(r)+'">'+(n?i:oZ(i,!0))+`</code></pre> 63`:"<pre><code>"+(n?i:oZ(i,!0))+`</code></pre> 64`}blockquote({tokens:e}){return`<blockquote> 65${this.parser.parse(e)}</blockquote> 66`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}> 67`}hr(e){return`<hr> 68`}list(e){let t=e.ordered,n=e.start,r="";for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+`> 69`+r+"</"+i+`> 70`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li> 71`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p> 72`}table(e){let t="",n="";for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r="";for(let t=0;t<e.rows.length;t++){let i=e.rows[t];n="";for(let e=0;e<i.length;e++)n+=this.tablecell(i[e]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),`<table> 73<thead> 74`+t+`</thead> 75`+r+`</table> 76`}tablerow({text:e}){return`<tr> 77${e}</tr> 78`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}> 79`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${oZ(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),i=oJ(e);if(null===i)return r;let a='<a href="'+(e=i)+'"';return t&&(a+=' title="'+oZ(t)+'"'),a+=">"+r+"</a>"}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let i=oJ(e);if(null===i)return oZ(n);e=i;let a=`<img src="${e}" alt="${oZ(n)}"`;return t&&(a+=` title="${oZ(t)}"`),a+=">"}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:oZ(e.text)}},o6=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},o9=class e{options;renderer;textRenderer;constructor(e){this.options=e||s6,this.options.renderer=this.options.renderer||new o4,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new o6}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e){this.renderer.parser=this;let t="";for(let n=0;n<e.length;n++){let r=e[n];if(this.options.extensions?.renderers?.[r.type]){let e=this.options.extensions.renderers[r.type].call({parser:this},r);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(r.type)){t+=e||"";continue}}switch(r.type){case"space":t+=this.renderer.space(r);break;case"hr":t+=this.renderer.hr(r);break;case"heading":t+=this.renderer.heading(r);break;case"code":t+=this.renderer.code(r);break;case"table":t+=this.renderer.table(r);break;case"blockquote":t+=this.renderer.blockquote(r);break;case"list":t+=this.renderer.list(r);break;case"checkbox":t+=this.renderer.checkbox(r);break;case"html":t+=this.renderer.html(r);break;case"def":t+=this.renderer.def(r);break;case"paragraph":t+=this.renderer.paragraph(r);break;case"text":t+=this.renderer.text(r);break;default:{let e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let n="";for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=e||"";continue}}switch(i.type){case"escape":case"text":n+=t.text(i);break;case"html":n+=t.html(i);break;case"link":n+=t.link(i);break;case"image":n+=t.image(i);break;case"checkbox":n+=t.checkbox(i);break;case"strong":n+=t.strong(i);break;case"em":n+=t.em(i);break;case"codespan":n+=t.codespan(i);break;case"br":n+=t.br(i);break;case"del":n+=t.del(i);break;default:{let e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return n}},o7=class{options;block;constructor(e){this.options=e||s6}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?o3.lex:o3.lexInline}provideParser(e=this.block){return e?o9.parse:o9.parseInline}},o8=new class{defaults=s4();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=o9;Renderer=o4;TextRenderer=o6;Lexer=o3;Tokenizer=o5;Hooks=o7;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case"table":for(let e of r.header)n=n.concat(this.walkTokens(e.tokens,t));for(let e of r.rows)for(let r of e)n=n.concat(this.walkTokens(r.tokens,t));break;case"list":n=n.concat(this.walkTokens(r.items,t));break;default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{let i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};
79return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let r=e.renderer.apply(this,t);return!1===r&&(r=n.apply(this,t)),r}:t.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new o4(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;let r=e.renderer[n],i=t[n];t[n]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new o5(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let r=e.tokenizer[n],i=t[n];t[n]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new o7;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;let r=e.hooks[n],i=t[n];o7.passThroughHooks.has(n)?t[n]=e=>{if(this.defaults.async&&o7.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await r.call(t,e);return i.call(t,n)})();let a=r.call(t,e);return i.call(t,a)}:t[n]=(...e)=>{if(this.defaults.async)return(async()=>{let n=await r.apply(t,e);return!1===n&&(n=await i.apply(t,e)),n})();let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return o3.lex(e,t??this.defaults)}parser(e,t){return o9.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(!0===this.defaults.async&&!1===r.async)return a(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return a(Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return a(Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let n=i.hooks?await i.hooks.preprocess(t):t,r=await (i.hooks?await i.hooks.provideLexer(e):e?o3.lex:o3.lexInline)(n,i),a=i.hooks?await i.hooks.processAllTokens(r):r;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let s=await (i.hooks?await i.hooks.provideParser(e):e?o9.parse:o9.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(s):s})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let n=(i.hooks?i.hooks.provideLexer(e):e?o3.lex:o3.lexInline)(t,i);i.hooks&&(n=i.hooks.processAllTokens(n)),i.walkTokens&&this.walkTokens(n,i.walkTokens);let r=(i.hooks?i.hooks.provideParser(e):e?o9.parse:o9.parseInline)(n,i);return i.hooks&&(r=i.hooks.postprocess(r)),r}catch(e){return a(e)}}}onError(e,t){return n=>{if(n.message+=` 80Please report this to https://github.com/markedjs/marked.`,e){let e="<p>An error occurred:</p><pre>"+oZ(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function le(e,t){return o8.parse(e,t)}le.options=le.setOptions=function(e){return o8.setOptions(e),le.defaults=o8.defaults,s6=le.defaults,le},le.getDefaults=s4,le.defaults=s6,le.use=function(...e){return o8.use(...e),le.defaults=o8.defaults,s6=le.defaults,le},le.walkTokens=function(e,t){return o8.walkTokens(e,t)},le.parseInline=o8.parseInline,le.Parser=o9,le.parser=o9.parse,le.Renderer=o4,le.TextRenderer=o6,le.Lexer=o3,le.lexer=o3.lex,le.Tokenizer=o5,le.Hooks=o7,le.parse=le,le.options,le.setOptions,le.use,le.walkTokens,le.parseInline,o9.parse,o3.lex;var lt=/\s/,ln=/^\s+$/,lr=new Set(["code","pre","svg","math","annotation"]),li=0;function la(e){var t,n,r,i,a;let l={animation:null!=(t=null==e?void 0:e.animation)?t:"fadeIn",duration:null!=(n=null==e?void 0:e.duration)?n:150,easing:null!=(r=null==e?void 0:e.easing)?r:"ease",sep:null!=(i=null==e?void 0:e.sep)?i:"word",stagger:null!=(a=null==e?void 0:e.stagger)?a:40},c={prevContentLength:0,lastRenderCharCount:0},u=li++,h=()=>e=>{let t={count:0,newIndex:0};o(e,"text",(e,n)=>((e,t,n,r,i)=>{let a=t.at(-1);if(!(a&&"children"in a))return;if(t.some(e=>"object"==typeof e&&null!==e&&"type"in e&&"element"===e.type&&lr.has(e.tagName)))return s;let o=a.children.indexOf(e);if(-1===o)return;let l=e.value;if(!l.trim()){i.count+=l.length;return}let c="char"===n.sep?(e=>{let t=[],n="";
80for(let r of e)lt.test(r)?n+=r:(n&&(t.push(n),n=""),t.push(r));return n&&t.push(n),t})(l):(e=>{let t=[],n="",r=!1;for(let i of e){let e=lt.test(i);e!==r&&n&&(t.push(n),n=""),n+=i,r=e}return n&&t.push(n),t})(l),u=r.prevContentLength,h=c.map(e=>{var t,r,a;let s,o=i.count;if(i.count+=e.length,ln.test(e))return{type:"text",value:e};let l=u>0&&o<u,c=l?0:i.newIndex++*n.stagger;return t=n.animation,r=n.duration,a=n.easing,s=`--sd-animation:sd-${t};--sd-duration:${l?0:r}ms;--sd-easing:${a}`,c&&(s+=`;--sd-delay:${c}ms`),{type:"element",tagName:"span",properties:{"data-sd-animate":!0,style:s},children:[{type:"text",value:e}]}});return a.children.splice(o,1,...h),o+h.length})(e,n,l,c,t)),c.lastRenderCharCount=t.count,c.prevContentLength=0};return Object.defineProperty(h,"name",{value:`rehypeAnimate$${u}`}),{name:"animate",type:"animate",rehypePlugin:h,setPrevContentLength(e){c.prevContentLength=e},getLastRenderCharCount(){let e=c.lastRenderCharCount;return c.lastRenderCharCount=0,e}}}la();var ls=(0,t.createContext)(!1),lo=(...e)=>(0,i6.twMerge)((0,i4.clsx)(e)),ll=(e,t,n)=>{let r="string"==typeof t&&n.startsWith("text/csv")?"\uFEFF":"",i="string"==typeof t?new Blob([r+t],{type:n}):t,a=URL.createObjectURL(i),s=document.createElement("a");s.href=a,s.download=e,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(a)},lc=(0,t.createContext)(lo),lu=()=>(0,t.useContext)(lc),lh=lo("block","before:content-[counter(line)]","before:inline-block","before:[counter-increment:line]","before:w-6","before:mr-4","before:text-[13px]","before:text-right","before:text-muted-foreground/50","before:font-mono","before:select-none"),lp=(0,t.memo)(({children:e,result:n,language:r,className:i,startLine:a,lineNumbers:s=!0,...o})=>{let l=lu(),c=(0,t.useMemo)(()=>l(lh),[l]),u=(0,t.useMemo)(()=>{let e={};return n.bg&&(e["--sdm-bg"]=n.bg),n.fg&&(e["--sdm-fg"]=n.fg),n.rootStyle&&Object.assign(e,(e=>{let t={};for(let n of e.split(";")){let e=n.indexOf(":");if(e>0){let r=n.slice(0,e).trim(),i=n.slice(e+1).trim();r&&i&&(t[r]=i)}}return t})(n.rootStyle)),e},[n.bg,n.fg,n.rootStyle]);return(0,i9.jsx)("div",{className:l(i,"overflow-x-auto rounded-md border border-border bg-background p-4 text-sm"),"data-language":r,"data-streamdown":"code-block-body",...o,children:(0,i9.jsx)("pre",{className:l(i,"bg-[var(--sdm-bg,inherit]","dark:bg-[var(--shiki-dark-bg,var(--sdm-bg,inherit)]"),style:u,children:(0,i9.jsx)("code",{className:s?l("[counter-increment:line_0] [counter-reset:line]"):void 0,style:s&&a&&a>1?{counterReset:`line ${a-1}`}:void 0,children:n.tokens.map((e,t)=>(0,i9.jsx)("span",{className:s?c:void 0,children:0===e.length||1===e.length&&""===e[0].content?` 81`:e.map((e,t)=>{let n={},r=!!e.bgColor;if(e.color&&(n["--sdm-c"]=e.color),e.bgColor&&(n["--sdm-tbg"]=e.bgColor),e.htmlStyle)for(let[t,i]of Object.entries(e.htmlStyle))"color"===t?n["--sdm-c"]=i:"background-color"===t?(n["--sdm-tbg"]=i,r=!0):n[t]=i;return(0,i9.jsx)("span",{className:l("text-[var(--sdm-c,inherit)]","dark:text-[var(--shiki-dark,var(--sdm-c,inherit))]",r&&"bg-[var(--sdm-tbg)]",r&&"dark:bg-[var(--shiki-dark-bg,var(--sdm-tbg))]"),style:n,...e.htmlAttrs,children:e.content},t)})},t))})})})},(e,t)=>e.result===t.result&&e.language===t.language&&e.className===t.className&&e.startLine===t.startLine&&e.lineNumbers===t.lineNumbers),ld=({className:e,language:t,style:n,isIncomplete:r,...i})=>{let a=lu();return(0,i9.jsx)("div",{className:a("my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2",e),"data-incomplete":r||void 0,"data-language":t,"data-streamdown":"code-block",style:{contentVisibility:"auto",containIntrinsicSize:"auto 200px",...n},...i})},lm=(0,t.createContext)({code:""}),lf=()=>(0,t.useContext)(lm),lg=({language:e})=>{let t=lu();return(0,i9.jsx)("div",{className:t("flex h-8 items-center text-muted-foreground text-xs"),"data-language":e,"data-streamdown":"code-block-header",children:(0,i9.jsx)("span",{className:t("ml-1 font-mono lowercase"),children:e})})},lE=(0,t.lazy)(()=>e.A(380112).then(e=>({default:e.HighlightedCodeBlockBody}))),lT=({code:e,language:n,className:r,children:i,isIncomplete:a=!1,startLine:s,lineNumbers:o,...l})=>{let c=lu(),u=(0,t.useMemo)(()=>(e=>{let t=e.length;for(;t>0&&e[t-1]===` 82`;)t--;return e.slice(0,t)})(e),[e]),h=(0,t.useMemo)(()=>({bg:"transparent",fg:"inherit",tokens:u.split(` 83`).map(e=>[{content:e,color:"inherit",bgColor:"transparent",htmlStyle:{},offset:0}])}),[u]);return(0,i9.jsx)(lm.Provider,{value:{code:e},children:(0,i9.jsxs)(ld,{isIncomplete:a,language:n,children:[(0,i9.jsx)(lg,{language:n}),i?(0,i9.jsx)("div",{className:c("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:(0,i9.jsx)("div",{className:c("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"),"data-streamdown":"code-block-actions",children:i})}):null,(0,i9.jsx)(t.Suspense,{fallback:(0,i9.jsx)(lp,{className:r,language:n,lineNumbers:o,result:h,startLine:s,...l}),children:(0,i9.jsx)(lE,{className:r,code:u,language:n,lineNumbers:o,raw:h,startLine:s,...l})})]})})},lA={CheckIcon:e=>(0,i9.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,i9.jsx)("path",{clipRule:"evenodd",d:"M15.5607 3.99999L15.0303 4.53032L6.23744 13.3232C5.55403 14.0066 4.44599 14.0066 3.76257 13.3232L4.2929 12.7929L3.76257 13.3232L0.969676 10.5303L0.439346 9.99999L1.50001 8.93933L2.03034 9.46966L4.82323 12.2626C4.92086 12.3602 5.07915 12.3602 5.17678 12.2626L13.9697 3.46966L14.5 2.93933L15.5607 3.99999Z",fill:"currentColor",fillRule:"evenodd"})}),CopyIcon:e=>(0,i9.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,i9.jsx)("path",{clipRule:"evenodd",d:"M2.75 0.5C1.7835 0.5 1 1.2835 1 2.25V9.75C1 10.7165 1.7835 11.5 2.75 11.5H3.75H4.5V10H3.75H2.75C2.61193 10 2.5 9.88807 2.5 9.75V2.25C2.5 2.11193 2.61193 2 2.75 2H8.25C8.38807 2 8.5 2.11193 8.5 2.25V3H10V2.25C10 1.2835 9.2165 0.5 8.25 0.5H2.75ZM7.75 4.5C6.7835 4.5 6 5.2835 6 6.25V13.75C6 14.7165 6.7835 15.5 7.75 15.5H13.25C14.2165 15.5 15 14.7165 15 13.75V6.25C15 5.2835 14.2165 4.5 13.25 4.5H7.75ZM7.5 6.25C7.5 6.11193 7.61193 6 7.75 6H13.25C13.3881 6 13.5 6.11193 13.5 6.25V13.75C13.5 13.8881 13.3881 14 13.25 14H7.75C7.61193 14 7.5 13.8881 7.5 13.75V6.25Z",fill:"currentColor",fillRule:"evenodd"})}),DownloadIcon:e=>(0,i9.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,i9.jsx)("path",{clipRule:"evenodd",d:"M8.75 1V1.75V8.68934L10.7197 6.71967L11.25 6.18934L12.3107 7.25L11.7803 7.78033L8.70711 10.8536C8.31658 11.2441 7.
8368342 11.2441 7.29289 10.8536L4.21967 7.78033L3.68934 7.25L4.75 6.18934L5.28033 6.71967L7.25 8.68934V1.75V1H8.75ZM13.5 9.25V13.5H2.5V9.25V8.5H1V9.25V14C1 14.5523 1.44771 15 2 15H14C14.5523 15 15 14.5523 15 14V9.25V8.5H13.5V9.25Z",fill:"currentColor",fillRule:"evenodd"})}),ExternalLinkIcon:e=>(0,i9.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,i9.jsx)("path",{clipRule:"evenodd",d:"M13.5 10.25V13.25C13.5 13.3881 13.3881 13.5 13.25 13.5H2.75C2.61193 13.5 2.5 13.3881 2.5 13.25L2.5 2.75C2.5 2.61193 2.61193 2.5 2.75 2.5H5.75H6.5V1H5.75H2.75C1.7835 1 1 1.7835 1 2.75V13.25C1 14.2165 1.7835 15 2.75 15H13.25C14.2165 15 15 14.2165 15 13.25V10.25V9.5H13.5V10.25ZM9 1H9.75H14.2495C14.6637 1 14.9995 1.33579 14.9995 1.75V6.25V7H13.4995V6.25V3.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L12.4388 2.5H9.75H9V1Z",fill:"currentColor",fillRule:"evenodd"})}),Loader2Icon:e=>(0,i9.jsxs)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:[(0,i9.jsx)("path",{d:"M8 0V4",stroke:"currentColor",strokeWidth:"1.5"}),(0,i9.jsx)("path",{d:"M8 16V12",opacity:"0.5",stroke:"currentColor",strokeWidth:"1.5"}),(0,i9.jsx)("path",{d:"M3.29773 1.52783L5.64887 4.7639",opacity:"0.9",stroke:"currentColor",strokeWidth:"1.5"}),(0,i9.jsx)("path",{d:"M12.7023 1.52783L10.3511 4.7639",opacity:"0.1",stroke:"currentColor",strokeWidth:"1.5"}),(0,i9.jsx)("path",{d:"M12.7023 14.472L10.3511 11.236",opacity:"0.4",stroke:"currentColor",strokeWidth:"1.5"}),(0,i9.jsx)("path",{d:"M3.29773 14.472L5.64887 11.236",opacity:"0.6",stroke:"currentColor",strokeWidth:"1.5"}),(0,i9.jsx)("path",{d:"M15.6085 5.52783L11.8043 6.7639",opacity:"0.2",stroke:"currentColor",strokeWidth:"1.5"}),(0,i9.jsx)("path",{d:"M0.391602 10.472L4.19583 9.23598",opacity:"0.7",stroke:"currentColor",strokeWidth:"1.5"}),(0,i9.jsx)("path",{d:"M15.6085 10.4722L11.8043 9.2361",opacity:"0.3",stroke:"currentColor",strokeWidth:"1.5"}),(0,i9.jsx)("path",{d:"M0.391602 5.52783L4.19583 6.7639",opacity:"0.8",stroke:"currentColor",strokeWidth:"1.5"})]}),Maximize2Icon:e=>(0,i9.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,i9.jsx)("path",{clipRule:"evenodd",d:"M1 5.25V6H2.5V5.25V2.5H5.25H6V1H5.25H2C1.44772 1 1 1.44772 1 2V5.25ZM5.25 14.9994H6V13.4994H5.25H2.5V10.7494V9.99939H1V10.7494V13.9994C1 14.5517 1.44772 14.9994 2 14.9994H5.25ZM15 10V10.75V14C15 14.5523 14.5523 15 14 15H10.75H10V13.5H10.75H13.5V10.75V10H15ZM10.75 1H10V2.5H10.75H13.5V5.25V6H15V5.25V2C15 1.44772 14.5523 1 14 1H10.75Z",fill:"currentColor",fillRule:"evenodd"})}),RotateCcwIcon:e=>(0,i9.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,i9.jsx)("path",{clipRule:"evenodd",d:"M13.5 8C13.5 4.96643 11.0257 2.5 7.96452 2.5C5.42843 2.5 3.29365 4.19393 2.63724 6.5H5.25H6V8H5.25H0.75C0.335787 8 0 7.66421 0 7.25V2.75V2H1.5V2.75V5.23347C2.57851 2.74164 5.06835 1 7.96452 1C11.8461 1 15 4.13001 15 8C15 11.87 11.8461 15 7.96452 15C5.62368 15 3.54872 13.8617 2.27046 12.1122L1.828 11.5066L3.03915 10.6217L3.48161 11.2273C4.48831 12.6051 6.12055 13.5 7.96452 13.5C11.0257 13.5 13.5 11.0336 13.5 8Z",fill:"currentColor",fillRule:"evenodd"})}),XIcon:e=>(0,i9.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,i9.jsx)("path",{clipRule:"evenodd",d:"M12.4697 13.5303L13 14.0607L14.0607 13L13.5303 12.4697L9.06065 7.99999L13.5303 3.53032L14.0607 2.99999L13 1.93933L12.4697 2.46966L7.99999 6.93933L3.53032 2.46966L2.99999 1.93933L1.93933 2.99999L2.46966 3.53032L6.93933 7.99999L2.46966 12.4697L1.93933 13L2.99999 14.0607L3.53032 13.5303L7.99999 9.06065L12.4697 13.5303Z",fill:"currentColor",fillRule:"evenodd"})}),ZoomInIcon:e=>(0,i9.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,i9.jsx)("path",{clipRule:"evenodd",d:"M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H5.875V4.75V4.125H7.125V4.75V5.875H8.25H8.875V7.125H8.25H7.125V8.25V8.875H5.875V8.25V7.125H4.75H4.125V5.875Z",fill:"currentColor",fillRule:"evenodd"})}),ZoomOutIcon:e=>(0,i9.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,i9.jsx)("path",{clipRule:"evenodd",d:"M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H8.25H8.875V7.125H8.25H4.75H4.125V5.875Z",fill:"currentColor",fillRule:"evenodd"})})},lk=(0,t.createContext)(lA),l_=({icons:e,children:n})=>{let r=(0,t.useRef)(e),i=(0,t.useRef)(e?{...lA,...e}:lA);((e,t)=>
83{if(e===t)return!0;if(!(e&&t))return e===t;let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>e[n]===t[n])})(r.current,e)||(r.current=e,i.current=e?{...lA,...e}:lA);let a=i.current;return(0,i9.jsx)(lk.Provider,{value:a,children:n})},lb=()=>(0,t.useContext)(lk),ly={copyCode:"Copy Code",downloadFile:"Download file",downloadDiagram:"Download diagram",downloadDiagramAsSvg:"Download diagram as SVG",downloadDiagramAsPng:"Download diagram as PNG",downloadDiagramAsMmd:"Download diagram as MMD",viewFullscreen:"View fullscreen",exitFullscreen:"Exit fullscreen",mermaidFormatSvg:"SVG",mermaidFormatPng:"PNG",mermaidFormatMmd:"MMD",copyTable:"Copy table",copyTableAsMarkdown:"Copy table as Markdown",copyTableAsCsv:"Copy table as CSV",copyTableAsTsv:"Copy table as TSV",downloadTable:"Download table",downloadTableAsCsv:"Download table as CSV",downloadTableAsMarkdown:"Download table as Markdown",tableFormatMarkdown:"Markdown",tableFormatCsv:"CSV",tableFormatTsv:"TSV",imageNotAvailable:"Image not available",downloadImage:"Download image",openExternalLink:"Open external link?",externalLinkWarning:"You're about to visit an external website.",close:"Close",copyLink:"Copy link",copied:"Copied",openLink:"Open link"},lC=(0,t.createContext)(ly),lN=()=>(0,t.useContext)(lC),lS=({onCopy:e,onError:n,timeout:r=2e3,children:i,className:a,code:s,...o})=>{let l=lu(),[c,u]=(0,t.useState)(!1),h=(0,t.useRef)(0),{code:p}=lf(),{isAnimating:d}=(0,t.useContext)(uR),m=lN(),f=null!=s?s:p,g=async()=>{var t;if("u"<typeof window||!(null!=(t=null==navigator?void 0:navigator.clipboard)&&t.writeText)){null==n||n(Error("Clipboard API not available"));return}try{c||(await navigator.clipboard.writeText(f),u(!0),null==e||e(),h.current=window.setTimeout(()=>u(!1),r))}catch(e){null==n||n(e)}};(0,t.useEffect)(()=>()=>{window.clearTimeout(h.current)},[]);let E=lb(),T=c?E.CheckIcon:E.CopyIcon;return(0,i9.jsx)("button",{className:l("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),"data-streamdown":"code-block-copy-button",disabled:d,onClick:g,title:m.copyCode,type:"button",...o,children:null!=i?i:(0,i9.jsx)(T,{size:14})})},lI={"1c":"1c","1c-query":"1cq",abap:"abap","actionscript-3":"as",ada:"ada",adoc:"adoc","angular-html":"html","angular-ts":"ts",apache:"conf",apex:"cls",apl:"apl",applescript:"applescript",ara:"ara",asciidoc:"adoc",asm:"asm",astro:"astro",awk:"awk",ballerina:"bal",bash:"sh",bat:"bat",batch:"bat",be:"be",beancount:"beancount",berry:"berry",bibtex:"bib",bicep:"bicep",blade:"blade.php",bsl:"bsl",c:"c","c#":"cs","c++":"cpp",cadence:"cdc",cairo:"cairo",cdc:"cdc",clarity:"clar",clj:"clj",clojure:"clj","closure-templates":"soy",cmake:"cmake",cmd:"cmd",cobol:"cob",codeowners:"CODEOWNERS",codeql:"ql",coffee:"coffee",coffeescript:"coffee","common-lisp":"lisp",console:"sh",coq:"v",cpp:"cpp",cql:"cql",crystal:"cr",cs:"cs",csharp:"cs",css:"css",csv:"csv",cue:"cue",cypher:"cql",d:"d",dart:"dart",dax:"dax",desktop:"desktop",diff:"diff",docker:"dockerfile",dockerfile:"dockerfile",dotenv:"env","dream-maker":"dm",edge:"edge",elisp:"el",elixir:"ex",elm:"elm","emacs-lisp":"el",erb:"erb",erl:"erl",erlang:"erl",f:"f","f#":"fs",f03:"f03",f08:"f08",f18:"f18",f77:"f77",f90:"f90",f95:"f95",fennel:"fnl",fish:"fish",fluent:"ftl",for:"for","fortran-fixed-form":"f","fortran-free-form":"f90",fs:"fs",fsharp:"fs",fsl:"fsl",ftl:"ftl",gdresource:"tres",gdscript:"gd",gdshader:"gdshader",genie:"gs",gherkin:"feature","git-commit":"gitcommit","git-rebase":"gitrebase",gjs:"js",gleam:"gleam","glimmer-js":"js","glimmer-ts":"ts",glsl:"glsl",gnuplot:"plt",go:"go",gql:"gql",graphql:"graphql",groovy:"groovy",gts:"gts",hack:"hack",haml:"haml",handlebars:"hbs",haskell:"hs",haxe:"hx",hbs:"hbs",hcl:"hcl",hjson:"hjson",hlsl:"hlsl",hs:"hs",html:"html","html-derivative":"html",http:"http",hxml:"hxml",hy:"hy",imba:"imba",ini:"ini",jade:"jade",java:"java",javascript:"js",jinja:"jinja",jison:"jison",jl:"jl",js:"js",json:"json",json5:"json5",jsonc:"jsonc",jsonl:"jsonl",jsonnet:"jsonnet",jssm:"jssm",jsx:"jsx",julia:"jl",kotlin:"kt",kql:"kql",kt:"kt",kts:"kts",kusto:"kql",latex:"tex",lean:"lean",lean4:"lean",less:"less",liquid:"liquid",lisp:"lisp",lit:"lit",llvm:"ll",log:"log",logo:"logo",lua:"lua",luau:"luau",make:"mak",makefile:"mak",markdown:"md",marko:"marko",matlab:"m",md:"md",mdc:"mdc",mdx:"mdx",mediawiki:"wiki",mermaid:"mmd",mips:"s",mipsasm:"s",mmd:"mmd",mojo:"mojo",move:"move",nar:"nar",narrat:"narrat",nextflow:"nf",nf:"nf",nginx:"conf",nim:"nim",nix:"nix",nu:"nu",nushell:"nu",objc:"m","objective-c":"m","objective-cpp":"mm",ocaml:"ml",pascal:"pas",perl:"pl",perl6:"p6",php:"php",plsql:"pls",po:"po",polar:"polar",postcss:"pcss",pot:"pot",potx:"potx",powerquery:"pq",powershell:"ps1",prisma:"prisma",prolog:"pl",properties:"properties",proto:"proto",protobuf:"proto",ps:"ps",ps1:"ps1",pug:"pug",puppet:"pp",purescript:"purs",py:"py",python:"py",ql:"ql",qml:"qml",qmldir:"qmldir",qss:"qss",r:"r",racket:"rkt",raku:"raku",razor:"cshtml",rb:"rb",reg:"reg",regex:"regex",regexp:"regexp",rel:"rel",riscv:"s",rs:"rs",rst:"rst",ruby:"rb",rust:"rs",sas:"sas",sass:"sass",scala:"scala",scheme:"scm",scss:"scss",sdbl:"sdbl",sh:"sh",shader:"shader",shaderlab:"shader",shell:"sh",shellscript:"sh",shellsession:"sh",smalltalk:"st",solidity:"sol",soy:"soy",sparql:"rq",spl:"spl",splunk:"spl",sql:"sql","ssh-config":"config",stata:"do",styl:"styl",stylus:"styl",svelte:"svelte",swift:"swift","system-verilog":"sv",systemd:"service",talon:"talon",talonscript:"talon",tasl:"tasl",tcl:"tcl",templ:"templ",terraform:"tf",tex:"tex",tf:"tf",tfvars:"tfvars",toml:"toml",ts:"ts","ts-tags":"ts",tsp:"tsp",tsv:"tsv",tsx:"tsx",turtle:"ttl",twig:"twig",typ:"typ",typescript:"ts",typespec:"tsp",typst:"typ",v:"v",vala:"vala",vb:"vb",verilog:"v",vhdl:"vhdl",vim:"vim",viml:"vim",vimscript:"vim",vue:"vue","vue-html":"html","vue-vine":"vine",vy:"vy",vyper:"vy",wasm:"wasm",wenyan:"wy",wgsl:"wgsl",wiki:"wiki",wikitext:"wiki",wit:"wit",wl:"wl",wolfram:"wl",xml:"xml",xsl:"xsl",yaml:"yaml",yml:"yml",zenscript:"zs",zig:"zig",zsh:"zsh",æè¨:"wy"},lx=({onDownload:e,onError:n,language:r,children:i,className:a,code:s,...o})=>{let l=lu(),{code:c}=lf(),{isAnimating:u}=(0,t.useContext)(uR),h=lN(),p=lb(),d=null!=s?s:c,m=`file.${r&&r in lI?lI[r]:"txt"}`;return(0,i9.jsx)("button",{className:l("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),"data-streamdown":"code-block-download-button",disabled:u,onClick:()=>{try{ll(m,d,"text/plain"),null==e||e()}catch(e){null==n||n(e)}},title:h.downloadFile,type:"button",...o,children:null!=i?i:(0,i9.jsx)(p.DownloadIcon,{size:14})})},lD=()=>{let{Loader2Icon:e}=lb(),t=lu();return(0,i9.jsxs)("div",{className:t("w-full divide-y divide-border overflow-hidden rounded-xl border border-border"),children:[(0,i9.jsx)("div",{className:t("h-[46px] w-full bg-muted/80")}),(0,i9.jsx)("div",{className:t("flex w-full items-center justify-center p-4"),children:(0,i9.jsx)(e,{className:t("size-4 animate-spin")})})]})},lO=/\.[^/.]+$/,lR=0,lL=()=>{1===(lR+=1)&&(document.body.style.overflow="hidden")},lv=()=>{0===(lR=Math.max(0,lR-1))&&(document.body.style.overflow="")},lw=({url:e,isOpen:n,onClose:r,onConfirm:i})=>{let{CheckIcon:a,CopyIcon:s,ExternalLinkIcon:o,XIcon:l}=lb(),c=lu(),[u,h]=(0,t.useState)(!1),p=lN(),d=(0,t.useCallback)(async()=>{try{await navigator.clipboard.writeText(e),h(!0),setTimeout(()=>h(!1),2e3)}catch(e){}},[e]),m=(0,t.useCallback)(()=>{i(),r()},[i,r]);return(0,t.useEffect)(()=>
83{if(n){lL();let e=e=>{"Escape"===e.key&&r()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),lv()}}},[n,r]),n?(0,i9.jsx)("div",{className:c("fixed inset-0 z-50 flex items-center justify-center bg-background/50 backdrop-blur-sm"),"data-streamdown":"link-safety-modal",onClick:r,onKeyDown:e=>{"Escape"===e.key&&r()},role:"button",tabIndex:0,children:(0,i9.jsxs)("div",{className:c("relative mx-4 flex w-full max-w-md flex-col gap-4 rounded-xl border bg-background p-6 shadow-lg"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:[(0,i9.jsx)("button",{className:c("absolute top-4 right-4 rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:r,title:p.close,type:"button",children:(0,i9.jsx)(l,{size:16})}),(0,i9.jsxs)("div",{className:c("flex flex-col gap-2"),children:[(0,i9.jsxs)("div",{className:c("flex items-center gap-2 font-semibold text-lg"),children:[(0,i9.jsx)(o,{size:20}),(0,i9.jsx)("span",{children:p.openExternalLink})]}),(0,i9.jsx)("p",{className:c("text-muted-foreground text-sm"),children:p.externalLinkWarning})]}),(0,i9.jsx)("div",{className:c("break-all rounded-md bg-muted p-3 font-mono text-sm",e.length>100&&"max-h-32 overflow-y-auto"),children:e}),(0,i9.jsxs)("div",{className:c("flex gap-2"),children:[(0,i9.jsx)("button",{className:c("flex flex-1 items-center justify-center gap-2 rounded-md border bg-background px-4 py-2 font-medium text-sm transition-all hover:bg-muted"),onClick:d,type:"button",children:u?(0,i9.jsxs)(i9.Fragment,{children:[(0,i9.jsx)(a,{size:14}),(0,i9.jsx)("span",{children:p.copied})]}):(0,i9.jsxs)(i9.Fragment,{children:[(0,i9.jsx)(s,{size:14}),(0,i9.jsx)("span",{children:p.copyLink})]})}),(0,i9.jsxs)("button",{className:c("flex flex-1 items-center justify-center gap-2 rounded-md bg-primary px-4 py-2 font-medium text-primary-foreground text-sm transition-all hover:bg-primary/90"),onClick:m,type:"button",children:[(0,i9.jsx)(o,{size:14}),(0,i9.jsx)("span",{children:p.openLink})]})]})]})}):null},lM=(0,t.createContext)(null),lP=()=>(0,t.useContext)(lM),lB=()=>{var e;let t=lP();return null!=(e=null==t?void 0:t.mermaid)?e:null},lF=({chart:e,children:n,className:r,onDownload:i,config:a,onError:s})=>{let o=lu(),[l,c]=(0,t.useState)(!1),u=(0,t.useRef)(null),{isAnimating:h}=(0,t.useContext)(uR),p=lb(),d=lB(),m=lN(),f=async t=>{try{if("mmd"===t){ll("diagram.mmd",e,"text/plain"),c(!1),null==i||i(t);return}if(!d){null==s||s(Error("Mermaid plugin not available"));return}let r=d.getMermaid(a),o=e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0),l=`mermaid-${Math.abs(o)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:u}=await r.render(l,e);if(!u){null==s||s(Error("SVG not found. Please wait for the diagram to render."));return}if("svg"===t){ll("diagram.svg",u,"image/svg+xml"),c(!1),null==i||i(t);return}if("png"===t){var n;let e=await (n=u,new Promise((e,t)=>{let r="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(n))),i=new Image;i.crossOrigin="anonymous",i.onload=()=>{let n=document.createElement("canvas"),r=5*i.width,a=5*i.height;n.width=r,n.height=a;let s=n.getContext("2d");s?(s.drawImage(i,0,0,r,a),n.toBlob(n=>{n?e(n):t(Error("Failed to create PNG blob"))},"image/png")):t(Error("Failed to create 2D canvas context for PNG export"))},i.onerror=()=>t(Error("Failed to load SVG image")),i.src=r}));ll("diagram.png",e,"image/png"),null==i||i(t),c(!1);return}}catch(e){null==s||s(e)}};return(0,t.useEffect)(()=>{let e=e=>{let t=e.composedPath();u.current&&!t.includes(u.current)&&c(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,i9.jsxs)("div",{className:o("relative"),ref:u,children:[(0,i9.jsx)("button",{className:o("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",r),disabled:h,onClick:()=>c(!l),title:m.downloadDiagram,type:"button",children:null!=n?n:(0,i9.jsx)(p.DownloadIcon,{size:14})}),l?(0,i9.jsxs)("div",{className:o("absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[(0,i9.jsx)("button",{className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("svg"),title:m.downloadDiagramAsSvg,type:"button",children:m.mermaidFormatSvg}),(0,i9.jsx)("button",{className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("png"),title:m.downloadDiagramAsPng,type:"button",children:m.mermaidFormatPng}),(0,i9.jsx)("button",{className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("mmd"),title:m.downloadDiagramAsMmd,type:"button",children:m.mermaidFormatMmd})]}):null]})},lH=({chart:e,config:n,onFullscreen:r,onExit:i,className:a,...s})=>{let{Maximize2Icon:o,XIcon:l}=lb(),c=lu(),[u,h]=(0,t.useState)(!1),{isAnimating:p,controls:d}=(0,t.useContext)(uR),m=lN(),f=(()=>
83{if("boolean"==typeof d)return d;let e=d.mermaid;return!1!==e&&(!0===e||void 0===e||!1!==e.panZoom)})(),g=()=>{h(!u)};return(0,t.useEffect)(()=>{if(u){lL();let e=e=>{"Escape"===e.key&&h(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),lv()}}},[u]),(0,t.useEffect)(()=>{u?null==r||r():i&&i()},[u,r,i]),(0,i9.jsxs)(i9.Fragment,{children:[(0,i9.jsx)("button",{className:c("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:p,onClick:g,title:m.viewFullscreen,type:"button",...s,children:(0,i9.jsx)(o,{size:14})}),u?(0,i7.createPortal)((0,i9.jsxs)("div",{className:c("fixed inset-0 z-50 flex items-center justify-center bg-background/95 backdrop-blur-sm"),onClick:g,onKeyDown:e=>{"Escape"===e.key&&g()},role:"button",tabIndex:0,children:[(0,i9.jsx)("button",{className:c("absolute top-4 right-4 z-10 rounded-md p-2 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:g,title:m.exitFullscreen,type:"button",children:(0,i9.jsx)(l,{size:20})}),(0,i9.jsx)("div",{className:c("flex size-full items-center justify-center p-4"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:(0,i9.jsx)(uM,{chart:e,className:c("size-full [&_svg]:h-auto [&_svg]:w-auto"),config:n,fullscreen:!0,showControls:f})})]}),document.body):null]})},lU=e=>{var t,n;let r=[],i=[];for(let n of e.querySelectorAll("thead th"))r.push((null==(t=n.textContent)?void 0:t.trim())||"");for(let t of e.querySelectorAll("tbody tr")){let e=[];
83for(let r of t.querySelectorAll("td"))e.push((null==(n=r.textContent)?void 0:n.trim())||"");i.push(e)}return{headers:r,rows:i}},lG=e=>{let{headers:t,rows:n}=e,r=e=>{let t=!1,n=!1;for(let r of e){if('"'===r){t=!0,n=!0;break}(","===r||r===` 84`)&&(t=!0)}return t?n?`"${e.replace(/"/g,'""')}"`:`"${e}"`:e},i=Array(t.length>0?n.length+1:n.length),a=0;for(let e of(t.length>0&&(i[a]=t.map(r).join(","),a+=1),n))i[a]=e.map(r).join(","),a+=1;return i.join(` 85`)},lj=e=>{let{headers:t,rows:n}=e,r=e=>{let t=!1;for(let n of e)if(" "===n||n===` 86`||"\r"===n){t=!0;break}if(!t)return e;let n=[];for(let t of e)" "===t?n.push("\\t"):t===` 87`?n.push("\\n"):"\r"===t?n.push("\\r"):n.push(t);return n.join("")},i=Array(t.length>0?n.length+1:n.length),a=0;for(let e of(t.length>0&&(i[a]=t.map(r).join(" "),a+=1),n))i[a]=e.map(r).join(" "),a+=1;return i.join(` 88`)},lz=e=>{let t=!1;for(let n of e)if("\\"===n||"|"===n){t=!0;break}if(!t)return e;let n=[];for(let t of e)"\\"===t?n.push("\\\\"):"|"===t?n.push("\\|"):n.push(t);return n.join("")},lY=e=>{let{headers:t,rows:n}=e;if(0===t.length)return"";let r=Array(n.length+2),i=0,a=t.map(e=>lz(e));r[i]=`| ${a.join(" | ")} |`,i+=1;let s=Array(t.length);for(let e=0;e<t.length;e+=1)s[e]="---";for(let e of(r[i]=`| ${s.join(" | ")} |`,i+=1,n))if(e.length<t.length){let n=Array(t.length);for(let r=0;r<t.length;r+=1)n[r]=r<e.length?lz(e[r]):"";r[i]=`| ${n.join(" | ")} |`,i+=1}else{let t=e.map(e=>lz(e));r[i]=`| ${t.join(" | ")} |`,i+=1}return r.join(` 89`)},lq=({children:e,className:n,onCopy:r,onError:i,timeout:a=2e3})=>{let s=lu(),[o,l]=(0,t.useState)(!1),[c,u]=(0,t.useState)(!1),h=(0,t.useRef)(null),p=(0,t.useRef)(0),{isAnimating:d}=(0,t.useContext)(uR),m=lN(),f=async e=>{var t,n;if("u"<typeof window||!(null!=(t=null==navigator?void 0:navigator.clipboard)&&t.write)){null==i||i(Error("Clipboard API not available"));return}try{let t=null==(n=h.current)?void 0:n.closest('[data-streamdown="table-wrapper"]'),s=null==t?void 0:t.querySelector("table");if(!s){null==i||i(Error("Table not found"));return}let o=lU(s),c=(({csv:lG,tsv:lj,md:lY})[e]||lY)(o),d=new ClipboardItem({"text/plain":new Blob([c],{type:"text/plain"}),"text/html":new Blob([s.outerHTML],{type:"text/html"})});await navigator.clipboard.write([d]),u(!0),l(!1),null==r||r(e),p.current=window.setTimeout(()=>u(!1),a)}catch(e){null==i||i(e)}};(0,t.useEffect)(()=>{let e=e=>{let t=e.composedPath();h.current&&!t.includes(h.current)&&l(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e),window.clearTimeout(p.current)}},[]);let g=lb(),E=c?g.CheckIcon:g.CopyIcon;return(0,i9.jsxs)("div",{className:s("relative"),ref:h,children:[(0,i9.jsx)("button",{className:s("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",n),disabled:d,onClick:()=>l(!o),title:m.copyTable,type:"button",children:null!=e?e:(0,i9.jsx)(E,{height:14,width:14})}),o?(0,i9.jsxs)("div",{className:s("absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[(0,i9.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("md"),title:m.copyTableAsMarkdown,type:"button",children:m.tableFormatMarkdown}),(0,i9.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("csv"),title:m.copyTableAsCsv,type:"button",children:m.tableFormatCsv}),(0,i9.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("tsv"),title:m.copyTableAsTsv,type:"button",children:m.tableFormatTsv})]}):null]})},lV=({children:e,className:n,onDownload:r,onError:i})=>{let a=lu(),[s,o]=(0,t.useState)(!1),l=(0,t.useRef)(null),{isAnimating:c}=(0,t.useContext)(uR),u=lN(),h=lb(),p=e=>{var t;try{let n=null==(t=l.current)?void 0:t.closest('[data-streamdown="table-wrapper"]'),a=null==n?void 0:n.querySelector("table");if(!a){null==i||i(Error("Table not found"));return}let s=lU(a),c="csv"===e?lG(s):lY(s);ll(`table.${"csv"===e?"csv":"md"}`,c,"csv"===e?"text/csv":"text/markdown"),o(!1),null==r||r(e)}catch(e){null==i||i(e)}};return(0,t.useEffect)(()=>{let e=e=>{let t=e.composedPath();l.current&&!t.includes(l.current)&&o(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,i9.jsxs)("div",{className:a("relative"),ref:l,children:[(0,i9.jsx)("button",{className:a("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",n),disabled:c,onClick:()=>o(!s),title:u.downloadTable,type:"button",children:null!=e?e:(0,i9.jsx)(h.DownloadIcon,{size:14})}),s?(0,i9.jsxs)("div",{className:a("absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[(0,i9.jsx)("button",{className:a("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>p("csv"),title:u.downloadTableAsCsv,type:"button",children:u.tableFormatCsv}),(0,i9.jsx)("button",{className:a("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>
89p("markdown"),title:u.downloadTableAsMarkdown,type:"button",children:u.tableFormatMarkdown})]}):null]})},l$=({children:e,className:n,showCopy:r=!0,showDownload:i=!0})=>{let{Maximize2Icon:a,XIcon:s}=lb(),o=lu(),[l,c]=(0,t.useState)(!1),{isAnimating:u}=(0,t.useContext)(uR),h=lN(),p=()=>{c(!1)};return(0,t.useEffect)(()=>{if(l){lL();let e=e=>{"Escape"===e.key&&c(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),lv()}}},[l]),(0,i9.jsxs)(i9.Fragment,{children:[(0,i9.jsx)("button",{className:o("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",n),disabled:u,onClick:()=>{c(!0)},title:h.viewFullscreen,type:"button",children:(0,i9.jsx)(a,{size:14})}),l?(0,i7.createPortal)((0,i9.jsx)("div",{"aria-label":h.viewFullscreen,"aria-modal":"true",className:o("fixed inset-0 z-50 flex flex-col bg-background"),"data-streamdown":"table-fullscreen",onClick:p,onKeyDown:e=>{"Escape"===e.key&&p()},role:"dialog",children:(0,i9.jsxs)("div",{className:o("flex h-full flex-col"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:[(0,i9.jsxs)("div",{className:o("flex items-center justify-end gap-1 p-4"),children:[r?(0,i9.jsx)(lq,{}):null,i?(0,i9.jsx)(lV,{}):null,(0,i9.jsx)("button",{className:o("rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:p,title:h.exitFullscreen,type:"button",children:(0,i9.jsx)(s,{size:20})})]}),(0,i9.jsx)("div",{className:o("flex-1 overflow-auto p-4 pt-0 [&_thead]:sticky [&_thead]:top-0 [&_thead]:z-10"),children:(0,i9.jsx)("table",{className:o("w-full border-collapse border border-border"),"data-streamdown":"table",children:e})})]})}),document.body):null]})},lW=({children:e,className:t,showControls:n,showCopy:r=!0,showDownload:i=!0,showFullscreen:a=!0,...s})=>{let o=lu(),l=n&&r,c=n&&i,u=n&&a,h=l||c||u;return(0,i9.jsxs)("div",{className:o("my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2"),"data-streamdown":"table-wrapper",children:[h?(0,i9.jsxs)("div",{className:o("flex items-center justify-end gap-1"),children:[l?(0,i9.jsx)(lq,{}):null,c?(0,i9.jsx)(lV,{}):null,u?(0,i9.jsx)(l$,{showCopy:l,showDownload:c,children:e}):null]}):null,(0,i9.jsx)("div",{className:o("border-collapse overflow-x-auto overflow-y-auto rounded-md border border-border bg-background"),children:(0,i9.jsx)("table",{className:o("w-full divide-y divide-border",t),"data-streamdown":"table",...s,children:e})})]})},lQ=/startLine=(\d+)/,lK=/\bnoLineNumbers\b/,lX=(0,t.lazy)(()=>e.A(885568).then(e=>({default:e.Mermaid}))),lZ=/language-([^\s]+)/;function lJ(e,t){if(!(null!=e&&e.position||null!=t&&t.position))return!0;if(!(null!=e&&e.position&&null!=t&&t.position))return!1;let n=e.position.start,r=t.position.start,i=e.position.end,a=t.position.end;return(null==n?void 0:n.line)===(null==r?void 0:r.line)&&(null==n?void 0:n.column)===(null==r?void 0:r.column)&&(null==i?void 0:i.line)===(null==a?void 0:a.line)&&(null==i?void 0:i.column)===(null==a?void 0:a.column)}function l0(e,t){return e.className===t.className&&lJ(e.node,t.node)}var l1=(e,t)=>"boolean"==typeof e?e:!1!==e[t],l2=(e,t)=>{if("boolean"==typeof e)return e;let n=e.table;return!1!==n&&(!0===n||void 0===n||!1!==n[t])},l5=(e,t)=>{if("boolean"==typeof e)return e;let n=e.code;return!1!==n&&(!0===n||void 0===n||!1!==n[t])},l3=(e,t)=>{if("boolean"==typeof e)return e;let n=e.mermaid;return!1!==n&&(!0===n||void 0===n||!1!==n[t])},l4=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("ol",{className:i("list-inside list-decimal whitespace-normal [li_&]:pl-6",t),"data-streamdown":"ordered-list",...r,children:e})},(e,t)=>l0(e,t));l4.displayName="MarkdownOl";var l6=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("li",{className:i("py-1 [&>p]:inline",t),"data-streamdown":"list-item",...r,children:e})},(e,t)=>e.className===t.className&&lJ(e.node,t.node));l6.displayName="MarkdownLi";var l9=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("ul",{className:i("list-inside list-disc whitespace-normal [li_&]:pl-6",t),"data-streamdown":"unordered-list",...r,children:e})},(e,t)=>l0(e,t));l9.displayName="MarkdownUl";var l7=(0,t.memo)(({className:e,node:t,...n})=>{let r=lu();return(0,i9.jsx)("hr",{className:r("my-6 border-border",e),"data-streamdown":"horizontal-rule",...n})},(e,t)=>l0(e,t));l7.displayName="MarkdownHr";var l8=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("span",{className:i("font-semibold",t),"data-streamdown":"strong",...r,children:e})},(e,t)=>l0(e,t));l8.displayName="MarkdownStrong";var ce=(0,t.memo)(({children:e,className:n,href:r,node:i,...a})=>{let s=lu(),{linkSafety:o}=(0,t.useContext)(uR),[l,c]=(0,t.useState)(!1),u="streamdown:incomplete-link"===r,h=(0,t.useCallback)(async e=>{if(!(!(null!=o&&o.enabled&&r)||u)){if(e.preventDefault(),o.onLinkCheck&&await o.onLinkCheck(r))return void window.open(r,"_blank","noreferrer");c(!0)}},[o,r,u]),p=(0,t.useCallback)(()=>{r&&window.open(r,"_blank","noreferrer")},[r]),d={url:null!=r?r:"",isOpen:l,onClose:(0,t.useCallback)(()=>{c(!1)},[]),onConfirm:p};return null!=o&&o.enabled&&r?(0,i9.jsxs)(i9.Fragment,{children:[(0,i9.jsx)("button",{className:s("wrap-anywhere appearance-none text-left font-medium text-primary underline",n
89),"data-incomplete":u,"data-streamdown":"link",onClick:h,type:"button",children:e}),o.renderModal?o.renderModal(d):(0,i9.jsx)(lw,{...d})]}):(0,i9.jsx)("a",{className:s("wrap-anywhere font-medium text-primary underline",n),"data-incomplete":u,"data-streamdown":"link",href:r,rel:"noreferrer",target:"_blank",...a,children:e})},(e,t)=>l0(e,t)&&e.href===t.href);ce.displayName="MarkdownA";var ct=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("h1",{className:i("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...r,children:e})},(e,t)=>l0(e,t));ct.displayName="MarkdownH1";var cn=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("h2",{className:i("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...r,children:e})},(e,t)=>l0(e,t));cn.displayName="MarkdownH2";var cr=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("h3",{className:i("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...r,children:e})},(e,t)=>l0(e,t));cr.displayName="MarkdownH3";var ci=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("h4",{className:i("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...r,children:e})},(e,t)=>l0(e,t));ci.displayName="MarkdownH4";var ca=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("h5",{className:i("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...r,children:e})},(e,t)=>l0(e,t));ca.displayName="MarkdownH5";var cs=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("h6",{className:i("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...r,children:e})},(e,t)=>l0(e,t));cs.displayName="MarkdownH6";var co=(0,t.memo)(({children:e,className:n,node:r,...i})=>{let{controls:a}=(0,t.useContext)(uR),s=l1(a,"table"),o=l2(a,"copy"),l=l2(a,"download"),c=l2(a,"fullscreen");return(0,i9.jsx)(lW,{className:n,showControls:s,showCopy:o,showDownload:l,showFullscreen:c,...i,children:e})},(e,t)=>l0(e,t));co.displayName="MarkdownTable";var cl=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("thead",{className:i("bg-muted/80",t),"data-streamdown":"table-header",...r,children:e})},(e,t)=>l0(e,t));cl.displayName="MarkdownThead";var cc=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("tbody",{className:i("divide-y divide-border",t),"data-streamdown":"table-body",...r,children:e})},(e,t)=>l0(e,t));cc.displayName="MarkdownTbody";var cu=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("tr",{className:i("border-border",t),"data-streamdown":"table-row",...r,children:e})},(e,t)=>l0(e,t));cu.displayName="MarkdownTr";var ch=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("th",{className:i("whitespace-nowrap px-4 py-2 text-left font-semibold text-sm",t),"data-streamdown":"table-header-cell",...r,children:e})},(e,t)=>l0(e,t));ch.displayName="MarkdownTh";var cp=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("td",{className:i("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...r,children:e})},(e,t)=>l0(e,t));cp.displayName="MarkdownTd";var cd=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("blockquote",{className:i("my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic",t),"data-streamdown":"blockquote",...r,children:e})},(e,t)=>l0(e,t));cd.displayName="MarkdownBlockquote";var cm=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("sup",{className:i("text-sm",t),"data-streamdown":"superscript",...r,children:e})},(e,t)=>l0(e,t));cm.displayName="MarkdownSup";var cf=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lu();return(0,i9.jsx)("sub",{className:i("text-sm",t),"data-streamdown":"subscript",...r,children:e})},(e,t)=>l0(e,t));cf.displayName="MarkdownSub";var cg=(0,t.memo)(({children:e,className:n,node:r,...i})=>{if("data-footnotes"in i){let r=Array.isArray(e)?e.map(e=>{if(!(0,t.isValidElement)(e))return e;if(e.type===l4){let n=(Array.isArray(e.props.children)?e.props.children:[e.props.children]).filter(e=>!(e=>{var n,r;if(!(0,t.isValidElement)(e))return!1;let i=Array.isArray(e.props.children)?e.props.children:[e.props.children],a=!1,s=!1;for(let e of i)if(e){if("string"==typeof e)""!==e.trim()&&(a=!0);else if((0,t.isValidElement)(e)){if((null==(n=e.props)?void 0:n["data-footnote-backref"])!==void 0)s=!0;else for(let n of Array.isArray(e.props.children)?e.props.children:[e.props.children])if("string"==typeof n&&""!==n.trim()||(0,t.isValidElement)(n)&&(null==(r=n.props)?void 0:r["data-footnote-backref"])===void 0){a=!0;break}}}return s&&!a})(e));return 0===n.length?null:{...e,props:{...e.props,children:n}}}return e}):e;return(Array.isArray(r)?r.some(e=>null!==e):null!==r)?(0,i9.jsx)("section",{className:n,...i,children:r}):null}return(0,i9.jsx)("section",{className:n,...i,children:e})},(e,t)=>l0(e,t));cg.displayName="MarkdownSection";var cE=(0,t.memo)(({node:e,className:n,children:r,...i})=>{var a,s,o;let l,c=lu(),u=!("data-block"in i),{mermaid:h,controls:p,lineNumbers:d}=(0,t.useContext)(uR),m=lB(),f=(0,t.useContext)(ls),g=null==n?void 0:n.match(lZ),E=null!=(a=null==g?void 0:g.at(1))?a:"",T=null!=(l=lP())&&l.renderers&&E&&null!=(o=l.renderers.find(e=>Array.isArray(e.language)?e.language.includes(E):e.language===E))?o:null;if(u)return(0,i9.jsx)("code",{className:c("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",n),"data-streamdown":"inline-code",...i,children:r});let A=null==(s=null==e?void 0:e.properties)?void 0:s.metastring,k=null==A?void 0:A.match(lQ),_=k?Number.parseInt(k[1],10):void 0,b=!(A&&lK.test(A))&&!1!==d,y="";if((0,t.isValidElement)(r)&&r.props&&"object"==typeof r.props&&"children"in r.props&&"string"==typeof r.props.children?y=r.props.children:"string"==typeof r&&(y=r),T){let e=T.component;return(0,i9.jsx)(t.Suspense,{fallback:(0,i9.jsx)(lD,{}),children:(0,i9.jsx)(e,{code:y,isIncomplete:f,language:E,meta:A})})}if("mermaid"===E&&m){let e=l1(p,"mermaid"),r=l3(p,"download"),i=l3(p,"copy"),a=l3(p,"fullscreen"),s=l3(p,"panZoom");return(0,i9.jsx)(t.Suspense,{fallback:(0,i9.jsx)(lD,{}),children:(0,i9.jsxs)("div",{className:c("group relative my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2",n),"data-streamdown":"mermaid-block",children:[(0,i9.jsx)("div",{className:c("flex h-8 items-center text-muted-foreground text-xs"),children:(0,i9.jsx)("span",{className:c("ml-1 font-mono lowercase"),children:"mermaid"})}),e&&(r||i||a)?(0,i9.jsx)("div",{className:c("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:(0,i9.jsxs)("div",{className:c("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"),"data-streamdown":"mermaid-block-actions",children:[r?(0,i9.jsx)(lF,{chart:y,config:null==h?void 0:h.config}):null,i?(0,i9.jsx)(lS,{code:y}):null,a?(0,i9.jsx)(lH,{chart:y,config:null==h?void 0:h.config}):null]})}):null,(0,i9.jsx)("div",{className:c("rounded-md border border-border bg-background"),children:(0,i9.jsx)(lX,{chart:y,config:null==h?void 0:h.config,showControls:s})})]})})}let C=l1(p,"code"),N=l5(p,"download"),S=l5(p,"copy");return(0,i9.jsx)(lT,{className:n,code:y,isIncomplete:f,language:E,lineNumbers:b,startLine:void 0!==_&&_>=1?_:void 0,children:C?(0,i9.jsxs)(i9.Fragment,{children:[N?(0,i9.jsx)(lx,{code:y,language:E}):null,S?(0,i9.jsx)(lS,{}):null]}):null})},(e,t)=>e.className===t.className&&lJ(e.node,t.node));cE.displayName="MarkdownCode";var cT=(0,t.memo)(({node:e,className:n,src:r,alt:i,onLoad:a,onError:s,...o})=>{let{DownloadIcon:l}=lb(),c=lu(),u=(0,t.useRef)(null),[h,p]=(0,t.useState)(!1),[d,m]=(0,t.useState)(!1),f=lN(),g=null!=o.width||null!=o.height,E=(h||g)&&!d,T=d&&!g;(0,t.useEffect)(()=>{let e=u.current;
89if(null!=e&&e.complete){let t=e.naturalWidth>0;p(t),m(!t)}},[]);let A=(0,t.useCallback)(e=>{p(!0),m(!1),null==a||a(e)},[a]),k=(0,t.useCallback)(e=>{p(!1),m(!0),null==s||s(e)},[s]),_=async()=>{if(r)try{let e=await (await fetch(r)).blob(),t=new URL(r,window.location.origin).pathname.split("/").pop()||"",n=t.split(".").pop(),a=t.includes(".")&&void 0!==n&&n.length<=4,s="";if(a)s=t;else{let n=e.type,r="png";n.includes("jpeg")||n.includes("jpg")?r="jpg":n.includes("png")?r="png":n.includes("svg")?r="svg":n.includes("gif")?r="gif":n.includes("webp")&&(r="webp"),s=`${(i||t||"image").replace(lO,"")}.${r}`}ll(s,e,e.type)}catch(e){window.open(r,"_blank")}};return r?(0,i9.jsxs)("div",{className:c("group relative my-4 inline-block"),"data-streamdown":"image-wrapper",children:[(0,i9.jsx)("img",{alt:i,className:c("max-w-full rounded-lg",T&&"hidden",n),"data-streamdown":"image",onError:k,onLoad:A,ref:u,src:r,...o}),T&&(0,i9.jsx)("span",{className:c("text-muted-foreground text-xs italic"),"data-streamdown":"image-fallback",children:f.imageNotAvailable}),(0,i9.jsx)("div",{className:c("pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block")}),E&&(0,i9.jsx)("button",{className:c("absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background","opacity-0 group-hover:opacity-100"),onClick:_,title:f.downloadImage,type:"button",children:(0,i9.jsx)(l,{size:14})})]}):null},(e,t)=>e.className===t.className&&lJ(e.node,t.node));cT.displayName="MarkdownImg";var cA=(0,t.memo)(({children:e,node:n,...r})=>{let i=(Array.isArray(e)?e:[e]).filter(e=>null!=e&&""!==e);if(1===i.length&&(0,t.isValidElement)(i[0])){let t=i[0].props.node,n=null==t?void 0:t.tagName;if("img"===n||"code"===n&&"data-block"in i[0].props)return(0,i9.jsx)(i9.Fragment,{children:e})}return(0,i9.jsx)("p",{...r,children:e})},(e,t)=>l0(e,t));cA.displayName="MarkdownParagraph";var ck={ol:l4,li:l6,ul:l9,hr:l7,strong:l8,a:ce,h1:ct,h2:cn,h3:cr,h4:ci,h5:ca,h6:cs,table:co,thead:cl,tbody:cc,tr:cu,th:ch,td:cp,blockquote:cd,code:cE,img:cT,pre:({children:e})=>(0,t.isValidElement)(e)?(0,t.cloneElement)(e,{"data-block":"true"}):e,sup:cm,sub:cf,p:cA,section:cg},c_=/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF]/,cb=/\p{L}/u;function cy(e){for(let t of e.replace(/^#{1,6}\s+/gm,"").replace(/(\*{1,3}|_{1,3})/g,"").replace(/`[^`]*`/g,"").replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/^[\s>*\-+\d.]+/gm,"")){if(c_.test(t))return"rtl";if(cb.test(t))break}return"ltr"}var cC,cN,cS,cI,cx,cD,cO,cR,cL,cv,cw,cM,cP,cB,cF,cH,cU,cG,cj,cz,cY,cq,cV,c$,cW,cQ,cK,cX,cZ,cJ,c0,c1,c2,c5,c3,c4=/^[ \t]{0,3}(`{3,}|~{3,})/,c6=/^\|?[ \t]*:?-{1,}:?[ \t]*(\|[ \t]*:?-{1,}:?[ \t]*)*\|?$/,c9=e=>{let t=e.split(` 90`),n=null,r=0;for(let e of t){let t=c4.exec(e);if(null===n){if(t){let e=t[1];n=e[0],r=e.length}}else if(t){let e=t[1],i=e[0],a=e.length;i===n&&a>=r&&(n=null,r=0)}}return null!==n},c7=()=>e=>{l(e,"html",(e,t,n)=>{n&&"number"==typeof t&&(n.children[t]={type:"text",value:e.value})})},c8=[],ue={allowDangerousHtml:!0},ut=new WeakMap,un=new class{constructor(){this.cache=new Map,this.keyCache=new WeakMap,this.maxSize=100}generateCacheKey(e){let t=this.keyCache.get(e);if(t)return t;let n=e.rehypePlugins,r=e.remarkPlugins,i=e.remarkRehypeOptions;if(!(n||r||i)){let t="default";return this.keyCache.set(e,t),t}let a=e=>{if(!e||0===e.length)return"";let t="";for(let n=0;n<e.length;n+=1){let r=e[n];if(n>0&&(t+=","),Array.isArray(r)){let[e,n]=r;if("function"==typeof e){let n=ut.get(e);n||(n=e.name,ut.set(e,n)),t+=n}else t+=String(e);t+=":",t+=JSON.stringify(n)}else if("function"==typeof r){let e=ut.get(r);e||(e=r.name,ut.set(r,e)),t+=e}else t+=String(r)}return t},s=a(n),o=a(r),l=i?JSON.stringify(i):"",c=`${o}::${s}::${l}`;return this.keyCache.set(e,c),c}get(e){let t=this.generateCacheKey(e),n=this.cache.get(t);return n&&(this.cache.delete(t),this.cache.set(t,n)),n}set(e,t){let n=this.generateCacheKey(e);if(this.cache.size>=this.maxSize){let e=this.cache.keys().next().value;e&&this.cache.delete(e)}this.cache.set(n,t)}clear(){this.cache.clear()}},ur=e=>{let t=ui(e),n=e.children||"";return uo(t.runSync(t.parse(n),n),e)},ui=e=>{let t=un.get(e);if(t)return t;let n=ua(e);return un.set(e,n),n},ua=e=>{let t=e.rehypePlugins||c8,n=e.remarkPlugins||c8,r=t.some(e=>Array.isArray(e)?e[0]===nS:e===nS)?n:[...n,c7],i=e.remarkRehypeOptions?{...ue,...e.remarkRehypeOptions}:ue;return sZ().use(sT).use(r).use(sw,i).use(t)},us=e=>e,uo=(e,t)=>{let{allowElement:n,allowedElements:r,disallowedElements:i,skipHtml:a,unwrapDisallowed:s,urlTransform:o}=t;
90if(n||r||i||a||o){let t=o||us;l(e,(e,o,l)=>{var c;let u;return"raw"===e.type&&l&&"number"==typeof o?(c=e.value,a?l.children.splice(o,1):l.children[o]={type:"text",value:c},o):"element"===e.type&&(((e,t)=>{var n;for(let r in aS)if(Object.hasOwn(aS,r)&&Object.hasOwn(e.properties,r)){let i=e.properties[r],a=aS[r];(null===a||a.includes(e.tagName))&&(e.properties[r]=null!=(n=t(String(i||""),r,e))?n:void 0)}})(e,t),u=!1,r?u=!r.includes(e.tagName):i&&(u=i.includes(e.tagName)),!u&&n&&"number"==typeof o&&(u=!n(e,o,l)),u&&l&&"number"==typeof o)?(s&&e.children?l.children.splice(o,1,...e.children):l.children.splice(o,1),o):void 0})}return function(e,t){var n,r,i,a;let s;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let o=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=o,r=t.jsxDEV,s=function(e,t,i,a){let s=Array.isArray(i.children),o=nl(e);return r(t,i,a,s,{columnNumber:o?o.column-1:void 0,fileName:n,lineNumber:o?o.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
90if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,a=t.jsxs,s=function(e,t,n,r){let s=Array.isArray(n.children)?a:i;return r?s(t,n,r):s(t,n)}}let l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:s,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?J:Z,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},c=aA(l,e,void 0);return c&&"string"!=typeof c?c:l.create(e,l.Fragment,{children:c||void 0},void 0)}(e,{Fragment:i9.Fragment,components:t.components,ignoreInvalidStyle:!0,jsx:i9.jsx,jsxs:i9.jsxs,passKeys:!0,passNode:!0})},ul=/\[\^[\w-]{1,200}\](?!:)/,uc=/\[\^[\w-]{1,200}\]:/,uu=/<(\w+)[\s>]/,uh=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),up=new Map,ud=new Map,um=(e,t)=>{if(uh.has(t.toLowerCase()))return 0;let n=e.match((e=>{let t=e.toLowerCase(),n=up.get(t);if(n)return n;let r=RegExp(`<${t}(?=[\\s>/])[^>]*>`,"gi");return up.set(t,r),r})(t));if(!n)return 0;let r=0;for(let e of n)e.trimEnd().endsWith("/>")||(r+=1);return r},uf=(e,t)=>{let n=e.match((e=>{let t=e.toLowerCase(),n=ud.get(t);if(n)return n;let r=RegExp(`</${t}(?=[\\s>])[^>]*>`,"gi");return ud.set(t,r),r})(t));return n?n.length:0},ug=e=>{let t=0;for(let n=0;n<e.length-1;n+=1)"$"===e[n]&&"$"===e[n+1]&&(t+=1,n+=1);return t},uE=e=>{let t=ul.test(e),n=uc.test(e);if(t||n)return[e];let r=o3.lex(e,{gfm:!0}),i=[],a=[],s=!1;for(let e of r){let t=e.raw,n=i.length;if(a.length>0){i[n-1]+=t;let e=a.at(-1),r=um(t,e),s=uf(t,e);for(let t=0;t<r;t+=1)a.push(e);for(let t=0;t<s;t+=1)a.length>0&&a.at(-1)===e&&a.pop();continue}if("html"===e.type&&e.block){let e=t.match(uu);if(e){let n=e[1];um(t,n)>uf(t,n)&&a.push(n)}}if(n>0&&!s){let e=i[n-1];if(ug(e)%2==1){i[n-1]=e+t;continue}}i.push(t),"space"!==e.type&&(s="code"===e.type)}return i},uT=/([\\`*_~[\]|])/g,uA=e=>e.replace(uT,"\\$1"),uk=e=>"text"===e.type?e.value:"children"in e&&Array.isArray(e.children)?e.children.map(uk).join(""):"",u_=e=>t=>{if(!e||0===e.length)return;let n=new Set(e.map(e=>e.toLowerCase()));l(t,"element",e=>{if(n.has(e.tagName.toLowerCase())){let t=uk(e);e.children=t?[{type:"text",value:t}]:[]}})},ub=/^[ \t]*<[\w!/?-]/,uy=/(^|\n)[ \t]{4,}(?=<[\w!/?-])/g,uC={...nx,protocols:{...nx.protocols,href:[...null!=(c2=null==(c1=nx.protocols)?void 0:c1.href)?c2:[],"tel"]},attributes:{...nx.attributes,code:[...null!=(c3=null==(c5=nx.attributes)?void 0:c5.code)?c3:[],"metastring"]}},uN={raw:nS,sanitize:[nP,uC],harden:[function({defaultOrigin:e="",allowedLinkPrefixes:t=[],allowedImagePrefixes:n=[],allowDataImages:r=!1,allowedProtocols:i=[],blockedImageClass:a="inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",blockedLinkClass:o="text-gray-500",linkBlockPolicy:p=c,imageBlockPolicy:d=c}){let m=t.length&&!t.every(e=>"*"===e),E=n.length&&!n.every(e=>"*"===e);if(!e&&(m||E))throw Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return c=>{var m,E,T,A,k,_,b,y,C;let N,S=(m=e,E=t,T=n,A=r,k=i,_=a,b=o,y=p,C=d,N=(e,t,n)=>{if("element"!==e.type||e[g])return!0;if("a"===e.tagName){let r=f(e.properties.href,E,m,!1,!1,k);if(null!==r)return e.properties.href=r,e.properties.target="_blank",e.properties.rel="noopener noreferrer",!0;if(e[g]=!0,l(e,N),n&&"number"==typeof t){let r=y===h?{type:"remove"}:y===u?{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[...e.children]}}:{type:"replace",element:{type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(e.properties.href),class:b},children:[...e.children,{type:"text",value:" [blocked]"}]}};if("remove"===r.type)return n.children.splice(t,1),[s,t];n.children[t]=r.element}return s}if("img"===e.tagName){let r=f(e.properties.src,T,m,A,!0,k);if(null===r){if(e[g]=!0,l(e,N),n&&"number"==typeof t){let r=function(e,t,n){if(t===h)return{type:"remove"};if(t===u){let t=String(e.properties.alt||"");return t?{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[{type:"text",value:t}]}}:{type:"remove"}}return{type:"replace",element:{type:"element",tagName:"span",properties:{class:n},children:[{type:"text",value:"[Image blocked: "+String(e.properties.alt||"No description")+"]"}]}}}(e,C,_);if("remove"===r.type)return n.children.splice(t,1),[s,t];n.children[t]=r.element}return s}e.properties.src=r}return!0});(function e(t){if("children"in t&&Array.isArray(t.children))for(let n of(t.children=t.children.filter(e=>null!=e),t.children))e(n)})(c),l(c,S)}},{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],allowedProtocols:["*"],defaultOrigin:void 0,allowDataImages:!0}]},uS=Object.values(uN),uI=Object.values({gfm:[function(e){let t,n,r,i=e||il,a=this.data(),s=a.micromarkExtensions||(a.micromarkExtensions=[]),o=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),l=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);s.push(rB([{text:rV},{document:{91:{name:"gfmFootnoteDefinition",tokenize:r4,continuation:{tokenize:r6},exit:r9}},text:{91:{name:"gfmFootnoteCall",tokenize:r3},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:r2,resolveTo:r5}}},(t=(i||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let i=this.previous,a=this.events,s=0;return function(o){return 126===i&&"characterEscape"!==a[a.length-1][1].type?r(o):(e.enter("strikethroughSequenceTemporary"),function a(o){let l=rE(i);if(126===o)return s>1?r(o):(e.consume(o),s++,a);if(s<2&&!t)return r(o);let c=e.exit("strikethroughSequenceTemporary"),u=rE(o);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(o)}(o))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},s=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",a,t]],o=t.parser.constructs.insideSpan.null;o&&rw(s,s.length,0,r7(o,e.slice(r+1,n),t)),rw(s,s.length,0,[["exit",a,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),rw(e,r-1,n-r+3,s),n=r+s.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}},null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}),{flow:{null:{name:"table",tokenize:ie,resolveAll:it}}},{text:{91:is}}])),o.push([{transforms:[n4],enter:{literalAutolink:nJ,literalAutolinkEmail:n0,literalAutolinkHttp:n0,literalAutolinkWww:n0},exit:{literalAutolink:n3,literalAutolinkEmail:n5,literalAutolinkHttp:n1,literalAutolinkWww:n2}}
90,{enter:{gfmFootnoteCallString:re,gfmFootnoteCall:rt,gfmFootnoteDefinitionLabelString:rn,gfmFootnoteDefinition:rr},exit:{gfmFootnoteCallString:ri,gfmFootnoteCall:ra,gfmFootnoteDefinitionLabelString:rs,gfmFootnoteDefinition:ro}},{canContainEols:["delete"],enter:{strikethrough:rp},exit:{strikethrough:rd}},{enter:{table:rC,tableData:rx,tableHeader:rx,tableRow:rS},exit:{codeText:rD,table:rN,tableData:rI,tableHeader:rI,tableRow:rI}},{exit:{taskListCheckValueChecked:rR,taskListCheckValueUnchecked:rR,paragraph:rL}}]),l.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:nX,notInConstruct:nZ},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:nX,notInConstruct:nZ},{character:":",before:"[ps]",after:"\\/",inConstruct:nX,notInConstruct:nZ}]},(r=!1,i&&i.firstLineBlank&&(r=!0),{handlers:{footnoteDefinition:function(e,t,n,i){let a=n.createTracker(i),s=a.move("[^"),o=n.enter("footnoteDefinition"),l=n.enter("label");return s+=a.move(n.safe(n.associationId(e),{before:s,after:"]"})),l(),s+=a.move("]:"),e.children&&e.children.length>0&&(a.shift(4),s+=a.move((r?"\n":" ")+n.indentLines(n.containerFlow(e,a.current()),r?ru:rc))),o(),s},footnoteReference:rl},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:rh}],handlers:{delete:rm}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=rb(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return o(function(e,t,n){let r=e.children,i=-1,a=[],s=t.enter("table");for(;++i<r.length;)a[i]=l(r[i],t,n);return s(),a}(e,n,r),e.align)},tableCell:s,tableRow:function(e,t,n,r){let i=o([l(e,n,r)]);return i.slice(0,i.indexOf("\n"))}}};function s(e,t,n,r){let i=n.enter("tableCell"),s=n.enter("phrasing"),o=n.containerPhrasing(e,{...r,before:a,after:a});return s(),i(),o}function o(e,t){return function(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||rf,a=[],s=[],o=[],l=[],c=0,u=-1;for(;++u<e.length;){let t=[],r=[],a=-1;for(e[u].length>c&&(c=e[u].length);++a<e[u].length;){var h;let s=null==(h=e[u][a])?"":String(h);if(!1!==n.alignDelimiters){let e=i(s);r[a]=e,(void 0===l[a]||e>l[a])&&(l[a]=e)}t.push(s)}s[u]=t,o[u]=r}let p=-1;if("object"==typeof r&&"length"in r)for(;++p<c;)a[p]=rg(r[p]);else{let e=rg(r);for(;++p<c;)a[p]=e}p=-1;let d=[],m=[];for(;++p<c;){let e=a[p],t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,l[p]-t.length-r.length),s=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&((i=t.length+i+r.length)>l[p]&&(l[p]=i),m[p]=i),d[p]=s}s.splice(1,0,d),o.splice(1,0,m),u=-1;let f=[];for(;++u<s.length;){let e=s[u],t=o[u];p=-1;let r=[];for(;++p<c;){let i=e[p]||"",s="",o="";if(!1!==n.alignDelimiters){let e=l[p]-(t[p]||0),n=a[p];114===n?s=" ".repeat(e):99===n?e%2?(s=" ".repeat(e/2+.5),o=" ".repeat(e/2-.5)):o=s=" ".repeat(e/2):o=" ".repeat(e)}!1===n.delimiterStart||p||r.push("|"),!1!==n.padding&&(!1!==n.alignDelimiters||""!==i)&&(!1!==n.delimiterStart||p)&&r.push(" "),!1!==n.alignDelimiters&&r.push(s),r.push(i),!1!==n.alignDelimiters&&r.push(o),!1!==n.padding&&r.push(" "),(!1!==n.delimiterEnd||p!==c-1)&&r.push("|")}f.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return f.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function l(e,t,n){let r=e.children,i=-1,a=[],o=t.enter("tableRow");for(;++i<r.length;)a[i]=s(r[i],e,t,n);return o(),a}}(i),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:rv}}]})},{}],codeMeta:()=>e=>{l(e,"code",e=>{var t,n;e.meta&&(e.data=null!=(t=e.data)?t:{},e.data.hProperties={...null!=(n=e.data.hProperties)?n:{},metastring:e.meta})})}}),ux={block:" â",circle:" â"},uD=["github-light","github-dark"],uO={enabled:!0},uR=(0,t.createContext)({shikiTheme:uD,controls:!0,isAnimating:!1,lineNumbers:!0,mode:"streaming",mermaid:void 0,linkSafety:uO}),uL=(0,t.memo)(({content:e,shouldParseIncompleteMarkdown:t,shouldNormalizeHtmlIndentation:n,index:r,isIncomplete:i,dir:a,animatePlugin:s,...o})=>{if(s){let e=s.getLastRenderCharCount();s.setPrevContentLength(e)}let l="string"==typeof e&&n&&"string"==typeof e&&0!==e.length&&ub.test(e)?e.replace(uy,"$1"):e,c=(0,i9.jsx)(ur,{...o,children:l});return(0,i9.jsx)(ls.Provider,{value:i,children:a?(0,i9.jsx)("div",{dir:a,style:{display:"contents"},children:c}):c})},(e,t)=>{if(e.content!==t.content||e.shouldNormalizeHtmlIndentation!==t.shouldNormalizeHtmlIndentation||e.index!==t.index||e.isIncomplete!==t.isIncomplete||e.dir!==t.dir)return!1;if(e.components!==t.components){let n=Object.keys(e.components||{}),r=Object.keys(t.components||{});if(n.length!==r.length||n.some(n=>{var r,i;return(null==(r=e.components)?void 0:r[n])!==(null==(i=t.components)?void 0:i[n])}))return!1}return e.rehypePlugins===t.rehypePlugins&&e.remarkPlugins===t.remarkPlugins});uL.displayName="Block";var uv=(0,t.memo)(({children:e,mode:n="streaming",dir:r,parseIncompleteMarkdown:i=!0,normalizeHtmlIndentation:a=!1,components:s,rehypePlugins:o=uS,remarkPlugins:l=uI,className:c,shikiTheme:u=uD,mermaid:h,controls:p=!0,isAnimating:d=!1,animated:m,BlockComponent:f=uL,parseMarkdownIntoBlocksFn:g=uE,caret:E,plugins:T,remend:A,linkSafety:k=uO,lineNumbers:_=!0,allowedTags:b,literalTagContent:y,translations:C,icons:N,prefix:S,onAnimationStart:I,onAnimationEnd:x,...D})=>{let O=(0,t.useId)(),[R,L]=(0,t.useTransition)(),v=(0,t.useMemo)(()=>S?(...e)=>((e,t)=>{if(!e||!t)return t;let n=`${e}:`;
90return t.split(/\s+/).filter(Boolean).map(t=>t.startsWith(n)?t:`${e}:${t}`).join(" ")})(S,(0,i6.twMerge)((0,i4.clsx)(e))):lo,[S]),w=(0,t.useRef)(null),M=(0,t.useRef)(I),P=(0,t.useRef)(x);M.current=I,P.current=x,(0,t.useEffect)(()=>{var e,t,r;if("static"===n)return;let i=w.current;if(w.current=d,null===i){d&&(null==(e=M.current)||e.call(M));return}d&&!i?null==(t=M.current)||t.call(M):!d&&i&&(null==(r=P.current)||r.call(P))},[d,n]);let B=(0,t.useMemo)(()=>b?Object.keys(b):[],[b]),F=(0,t.useMemo)(()=>{if("string"!=typeof e)return"";let t="streaming"===n&&i?((e,t)=>{var n,r;let i;if(!e||"string"!=typeof e)return e;let a=e.endsWith(" ")&&!e.endsWith(" ")?e.slice(0,-1):e;for(let{handler:e,earlyReturn:s}of[...(i=null!=(r=null==t?void 0:t.linkMode)?r:"protocol",i3.filter(({handler:e,optionKey:n})=>"links"===e.name?!1!==(null==t?void 0:t.links)||!1!==(null==t?void 0:t.images):"inlineKatex"===e.name?!0===(null==t?void 0:t.inlineKatex):!1!==(null==t?void 0:t[n])).map(({handler:e,earlyReturn:t})=>"links"===e.name?{handler:iu(iE({},e),ih({handle:e=>iZ(e,i)})),earlyReturn:"protocol"===i?t:void 0}:{handler:e,earlyReturn:t})),...(null!=(n=null==t?void 0:t.handlers)?n:[]).map(e=>{var t;return{handler:iu(iE({},e),ih({priority:null!=(t=e.priority)?t:100})),earlyReturn:void 0}})].sort((e,t)=>{var n,r;return(null!=(n=e.handler.priority)?n:0)-(null!=(r=t.handler.priority)?r:0)}))if(a=e.handle(a),null!=s&&s(a))break;return a})(e,A):e;return y&&y.length>0&&(t=((e,t)=>{if(!t.length)return e;let n=e;for(let e of t){let t=RegExp(`(<${e}(?=[\\s>/])[^>]*>)([\\s\\S]*?)(</${e}\\s*>)`,"gi");n=n.replace(t,(e,t,n,r)=>t+uA(n).replace(/\n\n/g," ")+r)}return n})(t,y)),B.length>0&&(t=((e,t)=>{if(!t.length)return e;let n=e;for(let e of t){let t=RegExp(`(<${e}(?=[\\s>/])[^>]*>)([\\s\\S]*?)(</${e}\\s*>)`,"gi");n=n.replace(t,(e,t,n,r)=>{if(!n.includes(` 91 92`))return t+n+r;let i=n.replace(/\n\n/g,` 93<!----> 94`),a=(i.startsWith(` 95`)?"":` 96`)+i+(i.endsWith(` 97`)?"":` 98`);return`${t}${a}${r} 99 100`})}return n})(t,B)),t},[e,n,i,A,B,y]),H=(0,t.useMemo)(()=>g(F),[F,g]),[U,G]=(0,t.useState)(H);(0,t.useEffect)(()=>{"streaming"!==n||V?G(H):L(()=>{G(H)})},[H,n]);let j="streaming"===n?U:H,z=(0,t.useMemo)(()=>"auto"===r?j.map(cy):void 0,[j,r]),Y=(0,t.useMemo)(()=>j.map((e,t)=>`${O}-${t}`),[j.length,O]),q=(0,t.useMemo)(()=>!0===m?"true":m?JSON.stringify(m):"",[m]),V=(0,t.useMemo)(()=>q?"true"===q?la():la(m):null,[q]),$=(0,t.useMemo)(()=>{var e,t;return{shikiTheme:null!=(t=null==(e=null==T?void 0:T.code)?void 0:e.getThemes())?t:u,controls:p,isAnimating:d,lineNumbers:_,mode:n,mermaid:h,linkSafety:k}},[u,p,d,_,n,h,k,null==T?void 0:T.code]),W=(0,t.useMemo)(()=>C?JSON.stringify(C):"",[C]),Q=(0,t.useMemo)(()=>({...ly,...C}),[W]),K=(0,t.useMemo)(()=>{let{inlineCode:e,...n}=null!=s?s:{},r={...ck,...n};if(e){let n=r.code;r.code=r=>"data-block"in r?n?(0,t.createElement)(n,r):null:(0,t.createElement)(e,r)}return r},[s]),X=(0,t.useMemo)(()=>{let e=[];return null!=T&&T.cjk&&(e=[...e,...T.cjk.remarkPluginsBefore]),e=[...e,...l],null!=T&&T.cjk&&(e=[...e,...T.cjk.remarkPluginsAfter]),null!=T&&T.math&&(e=[...e,T.math.remarkPlugin]),e},[l,null==T?void 0:T.math,null==T?void 0:T.cjk]),Z=(0,t.useMemo)(()=>{var e;let t=o;if(b&&Object.keys(b).length>0&&o===uS){let n={...uC,tagNames:[...null!=(e=uC.tagNames)?e:[],...Object.keys(b)],attributes:{...uC.attributes,...b}};t=[uN.raw,[nP,n],uN.harden]}return y&&y.length>0&&(t=[...t,[u_,y]]),null!=T&&T.math&&(t=[...t,T.math.rehypePlugin]),V&&d&&(t=[...t,V.rehypePlugin]),t},[o,null==T?void 0:T.math,V,d,b,y]),J=(0,t.useMemo)(()=>{if(!d||0===j.length)return!1;let e=j.at(-1);return c9(e)||(e=>{for(let t of e.split(` 101`)){let e=t.trim();if(e.length>0&&e.includes("|")&&c6.test(e))return!0}return!1})(e)},[d,j]),ee=(0,t.useMemo)(()=>E&&d&&!J?{"--streamdown-caret":`"${ux[E]}"`}:void 0,[E,d,J]);return"static"===n?(0,i9.jsx)(lC.Provider,{value:Q,children:(0,i9.jsx)(lM.Provider,{value:null!=T?T:null,children:(0,i9.jsx)(uR.Provider,{value:$,children:(0,i9.jsx)(l_,{icons:N,children:(0,i9.jsx)(lc.Provider,{value:v,children:(0,i9.jsx)("div",{className:v("space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",c),dir:"auto"===r?cy(F):r,children:(0,i9.jsx)(ur,{components:K,rehypePlugins:Z,remarkPlugins:X,...D,children:F})})})})})})}):(0,i9.jsx)(lC.Provider,{value:Q,children:(0,i9.jsx)(lM.Provider,{value:null!=T?T:null,children:(0,i9.jsx)(uR.Provider,{value:$,children:(0,i9.jsx)(l_,{icons:N,children:(0,i9.jsx)(lc.Provider,{value:v,children:(0,i9.jsxs)("div",{className:v("space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",E&&!J?"[&>*:last-child]:after:inline [&>*:last-child]:after:align-baseline [&>*:last-child]:after:content-[var(--streamdown-caret)]":null,c),style:ee,children:[0===j.length&&E&&d&&(0,i9.jsx)("span",{}),j.map((e,t)=>{var n;let s=t===j.length-1,o=d&&s&&c9(e);return(0,i9.jsx)(f,{animatePlugin:V,components:K,content:e,dir:null!=(n=null==z?void 0:z[t])?n:"auto"!==r?r:void 0,index:t,isIncomplete:o,rehypePlugins:Z,remarkPlugins:X,shouldNormalizeHtmlIndentation:a,shouldParseIncompleteMarkdown:i,...D},Y[t])})]})})})})})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating&&e.animated===t.animated&&e.mode===t.mode&&e.plugins===t.plugins&&e.className===t.className&&e.linkSafety===t.linkSafety&&e.lineNumbers===t.lineNumbers&&e.normalizeHtmlIndentation===t.normalizeHtmlIndentation&&e.literalTagContent===t.literalTagContent&&JSON.stringify(e.translations)===JSON.stringify(t.translations)&&e.prefix===t.prefix&&e.dir===t.dir);uv.displayName="Streamdown";var uw=({children:e,className:n,minZoom:r=.5,maxZoom:i=3,zoomStep:a=.1,showControls:s=!0,initialZoom:o=1,fullscreen:l=!1})=>{let{RotateCcwIcon:c,ZoomInIcon:u,ZoomOutIcon:h}=lb(),p=lu(),d=(0,t.useRef)(null),m=(0,t.useRef)(null),[f,g]=(0,t.useState)(o),[E,T]=(0,t.useState)({x:0,y:0}),[A,k]=(0,t.useState)(!1),[_,b]=(0,t.useState)({x:0,y:0}),[y,C]=(0,t.useState)({x:0,y:0}),N=(0,t.useCallback)(e=>{g(t=>Math.max(r,Math.min(i,t+e)))},[r,i]),S=(0,t.useCallback)(()=>{N(a)},[N,a]),I=(0,t.useCallback)(()=>{N(-a)},[N,a]),x=(0,t.useCallback)(()=>{g(o),T({x:0,y:0})}
101,[o]),D=(0,t.useCallback)(e=>{e.preventDefault(),N(e.deltaY>0?-a:a)},[N,a]),O=(0,t.useCallback)(e=>{if(0!==e.button||!1===e.isPrimary)return;k(!0),b({x:e.clientX,y:e.clientY}),C(E);let t=e.currentTarget;t instanceof HTMLElement&&t.setPointerCapture(e.pointerId)},[E]),R=(0,t.useCallback)(e=>{if(!A)return;e.preventDefault();let t=e.clientX-_.x,n=e.clientY-_.y;T({x:y.x+t,y:y.y+n})},[A,_,y]),L=(0,t.useCallback)(e=>{k(!1);let t=e.currentTarget;t instanceof HTMLElement&&t.releasePointerCapture(e.pointerId)},[]);return(0,t.useEffect)(()=>{let e=d.current;if(e)return e.addEventListener("wheel",D,{passive:!1}),()=>{e.removeEventListener("wheel",D)}},[D]),(0,t.useEffect)(()=>{let e=m.current;if(e&&A)return document.body.style.userSelect="none",e.addEventListener("pointermove",R,{passive:!1}),e.addEventListener("pointerup",L),e.addEventListener("pointercancel",L),()=>{document.body.style.userSelect="",e.removeEventListener("pointermove",R),e.removeEventListener("pointerup",L),e.removeEventListener("pointercancel",L)}},[A,R,L]),(0,i9.jsxs)("div",{className:p("relative flex flex-col",l?"h-full w-full":"min-h-28 w-full",n),ref:d,style:{cursor:A?"grabbing":"grab"},children:[s?(0,i9.jsxs)("div",{className:p("absolute z-10 flex flex-col gap-1 rounded-md border border-border bg-background/80 p-1 supports-[backdrop-filter]:bg-background/70 supports-[backdrop-filter]:backdrop-blur-sm",l?"bottom-4 left-4":"bottom-2 left-2"),children:[(0,i9.jsx)("button",{className:p("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"),disabled:f>=i,onClick:S,title:"Zoom in",type:"button",children:(0,i9.jsx)(u,{size:16})}),(0,i9.jsx)("button",{className:p("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"),disabled:f<=r,onClick:I,title:"Zoom out",type:"button",children:(0,i9.jsx)(h,{size:16})}),(0,i9.jsx)("button",{className:p("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"),onClick:x,title:"Reset zoom and pan",type:"button",children:(0,i9.jsx)(c,{size:16})})]}):null,(0,i9.jsx)("div",{className:p("flex-1 origin-center transition-transform duration-150 ease-out",l?"flex h-full w-full items-center justify-center":"flex w-full items-center justify-center"),onPointerDown:O,ref:m,role:"application",style:{transform:`translate(${E.x}px, ${E.y}px) scale(${f})`,transformOrigin:"center center",touchAction:"none",willChange:"transform"},children:e})]})},uM=({chart:e,className:n,config:r,fullscreen:i=!1,showControls:a=!0})=>{let s=lu(),[o,l]=(0,t.useState)(null),[c,u]=(0,t.useState)(!1),[h,p]=(0,t.useState)(""),[d,m]=(0,t.useState)(""),[f,g]=(0,t.useState)(0),{mermaid:E}=(0,t.useContext)(uR),T=lB(),A=null==E?void 0:E.errorComponent,{shouldRender:k,containerRef:_}=function(e={}){let{immediate:n=!1,debounceDelay:r=300,rootMargin:i="300px",idleTimeout:a=500}=e,[s,o]=(0,t.useState)(!1),l=(0,t.useRef)(null),c=(0,t.useRef)(null),u=(0,t.useRef)(null),h=(0,t.useMemo)(()=>e=>{let t=Date.now();return window.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},1)},[]),p=(0,t.useMemo)(()=>"u">typeof window&&window.requestIdleCallback?(e,t)=>window.requestIdleCallback(e,t):h,[h]),d=(0,t.useMemo)(()=>"u">typeof window&&window.cancelIdleCallback?e=>window.cancelIdleCallback(e):e=>{clearTimeout(e)},[]);return(0,t.useEffect)(()=>{if(n)return void o(!0);let e=l.current;if(!e)return;c.current&&(clearTimeout(c.current),c.current=null),u.current&&(d(u.current),u.current=null);let t=()=>{c.current&&(clearTimeout(c.current),c.current=null),u.current&&(d(u.current),u.current=null)},s=(e,n)=>{e.isIntersecting?(t(),c.current=window.setTimeout(()=>{var e,t;let r=n.takeRecords();(0===r.length||null!=(t=null==(e=r.at(-1))?void 0:e.isIntersecting)&&t)&&(u.current=p(e=>{e.timeRemaining()>0||e.didTimeout?(o(!0),n.disconnect()):u.current=p(()=>{o(!0),n.disconnect()},{timeout:a/2})},{timeout:a}))},r)):t()},h=new IntersectionObserver(e=>{for(let t of e)s(t,h)},{rootMargin:i,threshold:0});return h.observe(e),()=>{c.current&&clearTimeout(c.current),u.current&&d(u.current),h.disconnect()}},[n,r,i,a,d,p]),{shouldRender:s,containerRef:l}}({immediate:i});return((0,t.useEffect)(()=>
101{if(k){if(!T)return void l("Mermaid plugin not available. Please add the mermaid plugin to enable diagram rendering.");(async()=>{try{l(null),u(!0);let t=T.getMermaid(r),n=e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0),i=`mermaid-${Math.abs(n)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:a}=await t.render(i,e);p(a),m(a)}catch(e){d||h||l(e instanceof Error?e.message:"Failed to render Mermaid chart")}finally{u(!1)}})()}},[e,r,f,k,T]),k||h||d)?!c||h||d?!o||h||d?(0,i9.jsx)("div",{className:s("size-full",n),"data-streamdown":"mermaid",ref:_,children:(0,i9.jsx)(uw,{className:s(i?"size-full overflow-hidden":"overflow-hidden",n),fullscreen:i,maxZoom:3,minZoom:.5,showControls:a,zoomStep:.1,children:(0,i9.jsx)("div",{"aria-label":"Mermaid chart",className:s("flex justify-center",i?"size-full items-center":null),dangerouslySetInnerHTML:{__html:h||d},role:"img"})})}):A?(0,i9.jsx)("div",{ref:_,children:(0,i9.jsx)(A,{chart:e,error:o,retry:()=>g(e=>e+1)})}):(0,i9.jsxs)("div",{className:s("rounded-md bg-red-50 p-4",n),ref:_,children:[(0,i9.jsxs)("p",{className:s("font-mono text-red-700 text-sm"),children:["Mermaid Error: ",o]}),(0,i9.jsxs)("details",{className:s("mt-2"),children:[(0,i9.jsx)("summary",{className:s("cursor-pointer text-red-600 text-xs"),children:"Show Code"}),(0,i9.jsx)("pre",{className:s("mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs"),children:e})]})]}):(0,i9.jsx)("div",{className:s("my-4 flex justify-center p-4",n),ref:_,children:(0,i9.jsxs)("div",{className:s("flex items-center space-x-2 text-muted-foreground"),children:[(0,i9.jsx)("div",{className:s("h-4 w-4 animate-spin rounded-full border-current border-b-2")}),(0,i9.jsx)("span",{className:s("text-sm"),children:"Loading diagram..."})]})}):(0,i9.jsx)("div",{className:s("my-4 min-h-[200px]",n),ref:_})};e.s(["A",0,uR,"C",0,uv,"c",0,lp,"f",0,()=>{var e;let t=lP();return null!=(e=null==t?void 0:t.code)?e:null},"l",0,uM],566710)}]);
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.