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 d(e){var t=e.match(i);t&&(n+=t.length);var r=e.lastIndexOf("\n");u=~r?e.length-r:u+e.length}function p(){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 d(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=p();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,d(r),e=e.slice(n),u+=2,t({type:"comment",comment:r})}}m.prototype.content=e,g(a);var k,A=[];for(E(A);k=function(){var e=p(),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!==k&&(A.push(k),E(A));return A}},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],d=1,p=arguments.length,m=!1;for("boolean"==typeof h&&(m=h,h=arguments[1]||{},d=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});d<p;++d)if(t=arguments[d],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}},484954,e=>{"use strict";var t=e.i(414409);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}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(d,"name",{value:"node ("+n.type+(e?"<"+e+">":"")+")"})}return d;function d(){var h;let d,p,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(p=(i?n.children.length:-1)+c,m=u.concat(n);p>-1&&p<n.children.length;){if(!1===(d=e(n.children[p],p,m)())[0])return d;p="number"==typeof d[1]?d[1]:p+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)}let c="indicator",u="text-only",h="remove";function d(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 p=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;
1if("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=d(e,n);if(!s||m.has(s.protocol)||!(p.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=d(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)=>{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)},k=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:A}={},{keys:_}=Object,b=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=A.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,isNaN(e.getTime())?"":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)?k(C(e,t)):structuredClone(e):(e,t)=>k(C(e,t));function S(){}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 R{constructor(e,t){this.attribute=t,this.property=e}}R.prototype.attribute="",R.prototype.booleanish=!1,R.prototype.boolean=!1,R.prototype.commaOrSpaceSeparated=!1,R.prototype.commaSeparated=!1,R.prototype.defined=!1,R.prototype.mustUseProperty=!1,R.prototype.number=!1,R.prototype.overloadedBoolean=!1,R.prototype.property="",R.prototype.spaceSeparated=!1,R.prototype.space=void 0;let O=0,L=H(),v=H(),w=H(),M=H(),P=H(),B=H(),F=H();function H(){return 2**++O}e.s(["boolean",0,L,"booleanish",0,v,"commaOrSpaceSeparated",0,F,"commaSeparated",0,B,"number",0,M,"overloadedBoolean",0,w,"spaceSeparated",0,P],535999);var U=e.i(535999);let G=Object.keys(U);
1class j extends R{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,ariaControls: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 $(e,t){return q(e,t.toLowerCase())}let V=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,alpha: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,closedBy:null,colorSpace:null,cols:M,colSpan:M,command:null,commandFor: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,playsInl
1ine: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,shadowRootCustomElementRegistry:L,shadowRootDelegatesFocus:L,shadowRootMode:null,shadowRootSerializable:L,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,credentialless:L,disablePictureInPicture:L,disableRemotePlayback:L,exportParts:B,part:P,prefix:null,property:null,results:M,security:null,unselectable:null},space:"html",transform:$}),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",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
1-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,colorRendering: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,
1k1: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,maskType: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:$}),X=z({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),Z=x([Y,V,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()}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=R;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(" ")):ed(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(ed(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 ed(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}let ep=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}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/"},eE={}.hasOwnProperty,eT=Object.prototype;function ek(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:eA(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(),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:ep)(t.tagName,i,eA(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=ek(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 eA(e,t){let n=-1,r=[];for(;++n<t.length;){let i=ek(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);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}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();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(n.start.offset),S(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 eR=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],eO=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]);(uf=uR||(uR={}))[uf.EOF=-1]="EOF",uf[uf.NULL=0]="NULL",uf[uf.TABULATION=9]="TABULATION",uf[uf.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",uf[uf.LINE_FEED=10]="LINE_FEED",uf[uf.FORM_FEED=12]="FORM_FEED",uf[uf.SPACE=32]="SPACE",uf[uf.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",uf[uf.QUOTATION_MARK=34]="QUOTATION_MARK",uf[uf.AMPERSAND=38]="AMPERSAND",uf[uf.APOSTROPHE=39]="APOSTROPHE",uf[uf.HYPHEN_MINUS=45]="HYPHEN_MINUS",uf[uf.SOLIDUS=47]="SOLIDUS",uf[uf.DIGIT_0=48]="DIGIT_0",uf[uf.DIGIT_9=57]="DIGIT_9",uf[uf.SEMICOLON=59]="SEMICOLON",uf[uf.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",uf[uf.EQUALS_SIGN=61]="EQUALS_SIGN",uf[uf.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",uf[uf.QUESTION_MARK=63]="QUESTION_MARK",uf[uf.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",uf[uf.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",uf[uf.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",uf[uf.GRAVE_ACCENT=96]="GRAVE_ACCENT",uf[uf.LATIN_SMALL_A=97]="LATIN_SMALL_A",uf[uf.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||eO.has(e)}(ug=uO||(uO={})).controlCharacterInInputStream="control-character-in-input-stream",ug.noncharacterInInputStream="noncharacter-in-input-stream",ug.surrogateInInputStream="surrogate-in-input-stream",ug.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",ug.endTagWithAttributes="end-tag-with-attributes",ug.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",ug.unexpectedSolidusInTag="unexpected-solidus-in-tag",ug.unexpectedNullCharacter="unexpected-null-character",ug.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",ug.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",ug.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",ug.missingEndTagName="missing-end-tag-name",ug.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",ug.unknownNamedCharacterReference="unknown-named-character-reference",ug.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",ug.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",ug.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",ug.eofBeforeTagName="eof-before-tag-name",ug.eofInTag="eof-in-tag",ug.missingAttributeValue="missing-attribute-value",ug.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",ug.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",ug.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",ug.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",ug.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",ug.missingQuoteBeforeDoctype
1SystemIdentifier="missing-quote-before-doctype-system-identifier",ug.missingDoctypePublicIdentifier="missing-doctype-public-identifier",ug.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",ug.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",ug.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",ug.cdataInHtmlContent="cdata-in-html-content",ug.incorrectlyOpenedComment="incorrectly-opened-comment",ug.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",ug.eofInDoctype="eof-in-doctype",ug.nestedComment="nested-comment",ug.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",ug.eofInComment="eof-in-comment",ug.incorrectlyClosedComment="incorrectly-closed-comment",ug.eofInCdata="eof-in-cdata",ug.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",ug.nullCharacterReference="null-character-reference",ug.surrogateCharacterReference="surrogate-character-reference",ug.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",ug.controlCharacterReference="control-character-reference",ug.noncharacterCharacterReference="noncharacter-character-reference",ug.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",ug.missingDoctypeName="missing-doctype-name",ug.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",ug.duplicateAttribute="duplicate-attribute",ug.nonConformingDoctype="non-conforming-doctype",ug.missingDoctype="missing-doctype",ug.misplacedDoctype="misplaced-doctype",ug.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",ug.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",ug.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",ug.openElementsLeftAfterEof="open-elements-left-after-eof",ug.abandonedHeadElementChild="abandoned-head-element-child",ug.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",ug.nestedNoscriptInHead="nested-noscript-in-head",ug.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,uR.EOF;return this._err(uO.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,uR.EOF;let n=this.html.charCodeAt(t);return n===uR.CARRIAGE_RETURN?uR.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,uR.EOF;let e=this.html.charCodeAt(this.pos);return e===uR.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,uR.LINE_FEED):e===uR.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===uR.LINE_FEED||e===uR.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){eP(e)?this._err(uO.controlCharacterInInputStream):eB(e)&&this._err(uO.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}(uE=uL||(uL={}))[uE.CHARACTER=0]="CHARACTER",uE[uE.NULL_CHARACTER=1]="NULL_CHARACTER",uE[uE.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",uE[uE.START_TAG=3]="START_TAG",uE[uE.END_TAG=4]="END_TAG",uE[uE.COMMENT=5]="COMMENT",uE[uE.DOCTYPE=6]="DOCTYPE",uE[uE.EOF=7]="EOF",uE[uE.HIBERNATION=8]="HIBERNATION",e.s(["TokenType",0,uL,"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>=uw.ZERO&&e<=uw.NINE}uv=String.fromCodePoint,(uT=uw||(uw={}))[uT.NUM=35]="NUM",uT[uT.SEMI=59]="SEMI",uT[uT.EQUALS=61]="EQUALS",uT[uT.ZERO=48]="ZERO",uT[uT.NINE=57]="NINE",uT[uT.LOWER_A=97]="LOWER_A",uT[uT.LOWER_F=102]="LOWER_F",uT[uT.LOWER_X=120]="LOWER_X",uT[uT.LOWER_Z=122]="LOWER_Z",uT[uT.UPPER_A=65]="UPPER_A",uT[uT.UPPER_F=70]="UPPER_F",uT[uT.UPPER_Z=90]="UPPER_Z",(uk=uM||(uM={}))[uk.VALUE_LENGTH=49152]="VALUE_LENGTH",uk[uk.BRANCH_LENGTH=16256]="BRANCH_LENGTH",uk[uk.JUMP_TABLE=127]="JUMP_TABLE",(uA=uP||(uP={}))[uA.EntityStart=0]="EntityStart",uA[uA.NumericStart=1]="NumericStart",uA[uA.NumericDecimal=2]="NumericDecimal",uA[uA.NumericHex=3]="NumericHex",uA[uA.NamedEntity=4]="NamedEntity",(u_=uB||(uB={}))[u_.Legacy=0]="Legacy",u_[u_.Strict=1]="Strict",u_[u_.Attribute=2]="Attribute";class ez{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=uP.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=uB.Strict}startEntity(e){this.decodeMode=e,this.state=uP.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case uP.EntityStart:if(e.charCodeAt(t)===uw.NUM)return this.state=uP.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=uP.NamedEntity,this.stateNamedEntity(e,t);case uP.NumericStart:return this.stateNumericStart(e,t);case uP.NumericDecimal:return this.stateNumericDecimal(e,t);case uP.NumericHex:return this.stateNumericHex(e,t);case uP.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===uw.LOWER_X?(this.state=uP.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=uP.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)>=uw.UPPER_A)||!(r<=uw.UPPER_F))&&(!(r>=uw.LOWER_A)||!(r<=uw.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===uw.SEMI)this.consumed+=1;else if(this.decodeMode===uB.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!==uw.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&uM.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&uM.BRANCH_LENGTH)>>7,a=t&uM.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===uB.Attribute&&(0===i||function(e){var t;return e===uw.EQUALS||(t=e)>=uw.UPPER_A&&t<=uw.UPPER_Z||t>
1=uw.LOWER_A&&t<=uw.LOWER_Z||ej(t)}(a))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&uM.VALUE_LENGTH)>>14)){if(a===uw.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==uB.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]&uM.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]&~uM.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case uP.NamedEntity:return 0!==this.result&&(this.decodeMode!==uB.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case uP.NumericDecimal:return this.emitNumericEntity(0,2);case uP.NumericHex:return this.emitNumericEntity(0,3);case uP.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case uP.EntityStart:return 0}}}(ub=uF||(uF={})).HTML="http://www.w3.org/1999/xhtml",ub.MATHML="http://www.w3.org/1998/Math/MathML",ub.SVG="http://www.w3.org/2000/svg",ub.XLINK="http://www.w3.org/1999/xlink",ub.XML="http://www.w3.org/XML/1998/namespace",ub.XMLNS="http://www.w3.org/2000/xmlns/",(uy=uH||(uH={})).TYPE="type",uy.ACTION="action",uy.ENCODING="encoding",uy.PROMPT="prompt",uy.NAME="name",uy.COLOR="color",uy.FACE="face",uy.SIZE="size",(uC=uU||(uU={})).NO_QUIRKS="no-quirks",uC.QUIRKS="quirks",uC.LIMITED_QUIRKS="limited-quirks",(uN=uG||(uG={})).A="a",uN.ADDRESS="address",uN.ANNOTATION_XML="annotation-xml",uN.APPLET="applet",uN.AREA="area",uN.ARTICLE="article",uN.ASIDE="aside",uN.B="b",uN.BASE="base",uN.BASEFONT="basefont",uN.BGSOUND="bgsound",uN.BIG="big",uN.BLOCKQUOTE="blockquote",uN.BODY="body",uN.BR="br",uN.BUTTON="button",uN.CAPTION="caption",uN.CENTER="center",uN.CODE="code",uN.COL="col",uN.COLGROUP="colgroup",uN.DD="dd",uN.DESC="desc",uN.DETAILS="details",uN.DIALOG="dialog",uN.DIR="dir",uN.DIV="div",uN.DL="dl",uN.DT="dt",uN.EM="em",uN.EMBED="embed",uN.FIELDSET="fieldset",uN.FIGCAPTION="figcaption",uN.FIGURE="figure",uN.FONT="font",uN.FOOTER="footer",uN.FOREIGN_OBJECT="foreignObject",uN.FORM="form",uN.FRAME="frame",uN.FRAMESET="frameset",uN.H1="h1",uN.H2="h2",uN.H3="h3",uN.H4="h4",uN.H5="h5",uN.H6="h6",uN.HEAD="head",uN.HEADER="header",uN.HGROUP="hgroup",uN.HR="hr",uN.HTML="html",uN.I="i",uN.IMG="img",uN.IMAGE="image",uN.INPUT="input",uN.IFRAME="iframe",uN.KEYGEN="keygen",uN.LABEL="label",uN.LI="li",uN.LINK="link",uN.LISTING="listing",uN.MAIN="main",uN.MALIGNMARK="malignmark",uN.MARQUEE="marquee",uN.MATH="math",uN.MENU="menu",uN.META="meta",uN.MGLYPH="mglyph",uN.MI="mi",uN.MO="mo",uN.MN="mn",uN.MS="ms",uN.MTEXT="mtext",uN.NAV="nav",uN.NOBR="nobr",uN.NOFRAMES="noframes",uN.NOEMBED="noembed",uN.NOSCRIPT="noscript",uN.OBJECT="object",uN.OL="ol",uN.OPTGROUP="optgroup",uN.OPTION="option",uN.P="p",uN.PARAM="param",uN.PLAINTEXT="plaintext",uN.PRE="pre",uN.RB="rb",uN.RP="rp",uN.RT="rt",uN.RTC="rtc",uN.RUBY="ruby",uN.S="s",uN.SCRIPT="script",uN.SEARCH="search",uN.SECTION="section",uN.SELECT="select",uN.SOURCE="source",uN.SMALL="small",uN.SPAN="span",uN.STRIKE="strike",uN.STRONG="strong",uN.STYLE="style",uN.SUB="sub",uN.SUMMARY="summary",uN.SUP="sup",uN.TABLE="table",uN.TBODY="tbody",uN.TEMPLATE="template",uN.TEXTAREA="textarea",uN.TFOOT="tfoot",uN.TD="td",uN.TH="th",uN.THEAD="thead",uN.TITLE="title",uN.TR="tr",uN.TRACK="track",uN.TT="tt",uN.U="u",uN.UL="ul",uN.SVG="svg",uN.VAR="var",uN.WBR="wbr",uN.XMP="xmp",(uS=uj||(uj={}))[uS.UNKNOWN=0]="UNKNOWN",uS[uS.A=1]="A",uS[uS.ADDRESS=2]="ADDRESS",uS[uS.ANNOTATION_XML=3]="ANNOTATION_XML",uS[uS.APPLET=4]="APPLET",uS[uS.AREA=5]="AREA",uS[uS.ARTICLE=6]="ARTICLE",uS[uS.ASIDE=7]="ASIDE",uS[uS.B=8]="B",uS[uS.BASE=9]="BASE",uS[uS.BASEFONT=10]="BASEFONT",uS[uS.BGSOUND=11]="BGSOUND",uS[uS.BIG=12]="BIG",uS[uS.BLOCKQUOTE=13]="BLOCKQUOTE",uS[uS.BODY=14]="BODY",uS[uS.BR=15]="BR",uS[uS.BUTTON=16]="BUTTON",uS[uS.CAPTION=17]="CAPTION",uS[uS.CENTER=18]="CENTER",uS[uS.CODE=19]="CODE",uS[uS.COL=20]="
1COL",uS[uS.COLGROUP=21]="COLGROUP",uS[uS.DD=22]="DD",uS[uS.DESC=23]="DESC",uS[uS.DETAILS=24]="DETAILS",uS[uS.DIALOG=25]="DIALOG",uS[uS.DIR=26]="DIR",uS[uS.DIV=27]="DIV",uS[uS.DL=28]="DL",uS[uS.DT=29]="DT",uS[uS.EM=30]="EM",uS[uS.EMBED=31]="EMBED",uS[uS.FIELDSET=32]="FIELDSET",uS[uS.FIGCAPTION=33]="FIGCAPTION",uS[uS.FIGURE=34]="FIGURE",uS[uS.FONT=35]="FONT",uS[uS.FOOTER=36]="FOOTER",uS[uS.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",uS[uS.FORM=38]="FORM",uS[uS.FRAME=39]="FRAME",uS[uS.FRAMESET=40]="FRAMESET",uS[uS.H1=41]="H1",uS[uS.H2=42]="H2",uS[uS.H3=43]="H3",uS[uS.H4=44]="H4",uS[uS.H5=45]="H5",uS[uS.H6=46]="H6",uS[uS.HEAD=47]="HEAD",uS[uS.HEADER=48]="HEADER",uS[uS.HGROUP=49]="HGROUP",uS[uS.HR=50]="HR",uS[uS.HTML=51]="HTML",uS[uS.I=52]="I",uS[uS.IMG=53]="IMG",uS[uS.IMAGE=54]="IMAGE",uS[uS.INPUT=55]="INPUT",uS[uS.IFRAME=56]="IFRAME",uS[uS.KEYGEN=57]="KEYGEN",uS[uS.LABEL=58]="LABEL",uS[uS.LI=59]="LI",uS[uS.LINK=60]="LINK",uS[uS.LISTING=61]="LISTING",uS[uS.MAIN=62]="MAIN",uS[uS.MALIGNMARK=63]="MALIGNMARK",uS[uS.MARQUEE=64]="MARQUEE",uS[uS.MATH=65]="MATH",uS[uS.MENU=66]="MENU",uS[uS.META=67]="META",uS[uS.MGLYPH=68]="MGLYPH",uS[uS.MI=69]="MI",uS[uS.MO=70]="MO",uS[uS.MN=71]="MN",uS[uS.MS=72]="MS",uS[uS.MTEXT=73]="MTEXT",uS[uS.NAV=74]="NAV",uS[uS.NOBR=75]="NOBR",uS[uS.NOFRAMES=76]="NOFRAMES",uS[uS.NOEMBED=77]="NOEMBED",uS[uS.NOSCRIPT=78]="NOSCRIPT",uS[uS.OBJECT=79]="OBJECT",uS[uS.OL=80]="OL",uS[uS.OPTGROUP=81]="OPTGROUP",uS[uS.OPTION=82]="OPTION",uS[uS.P=83]="P",uS[uS.PARAM=84]="PARAM",uS[uS.PLAINTEXT=85]="PLAINTEXT",uS[uS.PRE=86]="PRE",uS[uS.RB=87]="RB",uS[uS.RP=88]="RP",uS[uS.RT=89]="RT",uS[uS.RTC=90]="RTC",uS[uS.RUBY=91]="RUBY",uS[uS.S=92]="S",uS[uS.SCRIPT=93]="SCRIPT",uS[uS.SEARCH=94]="SEARCH",uS[uS.SECTION=95]="SECTION",uS[uS.SELECT=96]="SELECT",uS[uS.SOURCE=97]="SOURCE",uS[uS.SMALL=98]="SMALL",uS[uS.SPAN=99]="SPAN",uS[uS.STRIKE=100]="STRIKE",uS[uS.STRONG=101]="STRONG",uS[uS.STYLE=102]="STYLE",uS[uS.SUB=103]="SUB",uS[uS.SUMMARY=104]="SUMMARY",uS[uS.SUP=105]="SUP",uS[uS.TABLE=106]="TABLE",uS[uS.TBODY=107]="TBODY",uS[uS.TEMPLATE=108]="TEMPLATE",uS[uS.TEXTAREA=109]="TEXTAREA",uS[uS.TFOOT=110]="TFOOT",uS[uS.TD=111]="TD",uS[uS.TH=112]="TH",uS[uS.THEAD=113]="THEAD",uS[uS.TITLE=114]="TITLE",uS[uS.TR=115]="TR",uS[uS.TRACK=116]="TRACK",uS[uS.TT=117]="TT",uS[uS.U=118]="U",uS[uS.UL=119]="UL",uS[uS.SVG=120]="SVG",uS[uS.VAR=121]="VAR",uS[uS.WBR=122]="WBR",uS[uS.XMP=123]="XMP";let eY=new Map([[uG.A,uj.A],[uG.ADDRESS,uj.ADDRESS],[uG.ANNOTATION_XML,uj.ANNOTATION_XML],[uG.APPLET,uj.APPLET],[uG.AREA,uj.AREA],[uG.ARTICLE,uj.ARTICLE],[uG.ASIDE,uj.ASIDE],[uG.B,uj.B],[uG.BASE,uj.BASE],[uG.BASEFONT,uj.BASEFONT],[uG.BGSOUND,uj.BGSOUND],[uG.BIG,uj.BIG],[uG.BLOCKQUOTE,uj.BLOCKQUOTE],[uG.BODY,uj.BODY],[uG.BR,uj.BR],[uG.BUTTON,uj.BUTTON],[uG.CAPTION,uj.CAPTION],[uG.CENTER,uj.CENTER],[uG.CODE,uj.CODE],[uG.COL,uj.COL],[uG.COLGROUP,uj.COLGROUP],[uG.DD,uj.DD],[uG.DESC,uj.DESC],[uG.DETAILS,uj.DETAILS],[uG.DIALOG,uj.DIALOG],[uG.DIR,uj.DIR],[uG.DIV,uj.DIV],[uG.DL,uj.DL],[uG.DT,uj.DT],[uG.EM,uj.EM],[uG.EMBED,uj.EMBED],[uG.FIELDSET,uj.FIELDSET],[uG.FIGCAPTION,uj.FIGCAPTION],[uG.FIGURE,uj.FIGURE],[uG.FONT,uj.FONT],[uG.FOOTER,uj.FOOTER],[uG.FOREIGN_OBJECT,uj.FOREIGN_OBJECT],[uG.FORM,uj.FORM],[uG.FRAME,uj.FRAME],[uG.FRAMESET,uj.FRAMESET],[uG.H1,uj.H1],[uG.H2,uj.H2],[uG.H3,uj.H3],[uG.H4,uj.H4],[uG.H5,uj.H5],[uG.H6,uj.H6],[uG.HEAD,uj.HEAD],[uG.HEADER,uj.HEADER],[uG.HGROUP,uj.HGROUP],[uG.HR,uj.HR],[uG.HTML,uj.HTML],[uG.I,uj.I],[uG.IMG,uj.IMG],[uG.IMAGE,uj.IMAGE],[uG.INPUT,uj.INPUT],[uG.IFRAME,uj.IFRAME],[uG.KEYGEN,uj.KEYGEN],[uG.LABEL,uj.LABEL],[uG.LI,uj.LI],[uG.LINK,uj.LINK],[uG.LISTING,uj.LISTING],[uG.MAIN,uj.MAIN],[uG.MALIGNMARK,uj.MALIGNMARK],[uG.MARQUEE,uj.MARQUEE],[uG.MATH,uj.MATH],[uG.MENU,uj.MENU],[uG.META,uj.META],[uG.MGLYPH,uj.MGLYPH],[uG.MI,uj.MI],[uG.MO,uj.MO],[uG.MN,uj.MN],[uG.MS,uj.MS],[uG.MTEXT,uj.MTEXT],[uG.NAV,uj.NAV],[uG.NOBR,uj.NOBR],[uG.NOFRAMES,uj.NOFRAMES],[uG.NOEMBED,uj.NOEMBED],[uG.NOSCRIPT,uj.NOSCRIPT],[uG.OBJECT,uj.OBJECT],[uG.OL,uj.OL],[uG.OPTGROUP,uj.OPTGROUP],[uG.OPTION,uj.OPTION],[uG.P,uj.P],[uG.PARAM,uj.PARAM],[uG.PLAINTEXT,uj.PLAINTEXT],[uG.PRE,uj.PRE],[uG.RB,uj.RB],[uG.RP,uj.RP],[uG.RT,uj.RT],[uG.RTC,uj.RTC],[uG.RUBY,uj.RUBY],[uG.S,uj.S],[uG.SCRIPT,uj.SCRIPT],[uG.SEARCH,uj.SEARCH],[uG.SECTION,uj.SECTION],[uG.SELECT,uj.SELECT],[uG.SOURCE,uj.SOURCE],[uG.SMALL,uj.SMALL],[uG.SPAN,uj.SPAN],[uG.STRIKE,uj.STRIKE],[uG.STRONG,uj.STRONG],[uG.STYLE,uj.STYLE],[uG.SUB,uj.SUB],[uG.SUMMARY,uj.SUMMARY],[uG.SUP,uj.SUP],[uG.TABLE,uj.TABLE],[uG.TBODY,uj.TBODY],[uG.TEMPLATE,uj.TEMPLATE],[uG.TEXTAREA,uj.TEXTAREA],[uG.TFOOT,uj.TFOOT],[uG.TD,uj.TD],[uG.TH,uj.TH],[uG.THEAD,uj.THEAD],[uG.TITLE,uj.TITLE],[uG.TR,uj.TR],[uG.TRACK,uj.TRACK],[uG.TT,uj.TT],[uG.U,uj.U],[uG.UL,uj.UL],[uG.SVG,uj.SVG],[uG.VAR,uj.VAR],[uG.WBR,uj.WBR],[uG.XMP,uj.XMP]]);function eq(e){var t;return null!=(t=eY.get(e))?t:uj.UNKNOWN}let e$=uj,eV={[uF.HTML]:new Set([e$.ADDRESS,e$.APPLET,e$.AREA,e$.ARTICLE,e$.ASIDE,e$.BASE,e$.BASEFONT,e$.BGSOUND,e$.BLOCKQUOTE,e$.BODY,e$.BR,e$.BUTTON,e$.CAPTION,e$.CENT
1ER,e$.COL,e$.COLGROUP,e$.DD,e$.DETAILS,e$.DIR,e$.DIV,e$.DL,e$.DT,e$.EMBED,e$.FIELDSET,e$.FIGCAPTION,e$.FIGURE,e$.FOOTER,e$.FORM,e$.FRAME,e$.FRAMESET,e$.H1,e$.H2,e$.H3,e$.H4,e$.H5,e$.H6,e$.HEAD,e$.HEADER,e$.HGROUP,e$.HR,e$.HTML,e$.IFRAME,e$.IMG,e$.INPUT,e$.LI,e$.LINK,e$.LISTING,e$.MAIN,e$.MARQUEE,e$.MENU,e$.META,e$.NAV,e$.NOEMBED,e$.NOFRAMES,e$.NOSCRIPT,e$.OBJECT,e$.OL,e$.P,e$.PARAM,e$.PLAINTEXT,e$.PRE,e$.SCRIPT,e$.SECTION,e$.SELECT,e$.SOURCE,e$.STYLE,e$.SUMMARY,e$.TABLE,e$.TBODY,e$.TD,e$.TEMPLATE,e$.TEXTAREA,e$.TFOOT,e$.TH,e$.THEAD,e$.TITLE,e$.TR,e$.TRACK,e$.UL,e$.WBR,e$.XMP]),[uF.MATHML]:new Set([e$.MI,e$.MO,e$.MN,e$.MS,e$.MTEXT,e$.ANNOTATION_XML]),[uF.SVG]:new Set([e$.TITLE,e$.FOREIGN_OBJECT,e$.DESC]),[uF.XLINK]:new Set,[uF.XML]:new Set,[uF.XMLNS]:new Set},eW=new Set([e$.H1,e$.H2,e$.H3,e$.H4,e$.H5,e$.H6]),eQ=new Set([uG.STYLE,uG.SCRIPT,uG.XMP,uG.IFRAME,uG.NOEMBED,uG.NOFRAMES,uG.PLAINTEXT]);e.s(["ATTRS",0,uH,"DOCUMENT_MODE",0,uU,"NS",0,uF,"NUMBERED_HEADERS",0,eW,"SPECIAL_ELEMENTS",0,eV,"TAG_ID",0,uj,"TAG_NAMES",0,uG,"getTagID",0,eq,"hasUnescapedText",0,function(e,t){return eQ.has(e)||t&&e===uG.NOSCRIPT}],113515),(uI=uz||(uz={}))[uI.DATA=0]="DATA",uI[uI.RCDATA=1]="RCDATA",uI[uI.RAWTEXT=2]="RAWTEXT",uI[uI.SCRIPT_DATA=3]="SCRIPT_DATA",uI[uI.PLAINTEXT=4]="PLAINTEXT",uI[uI.TAG_OPEN=5]="TAG_OPEN",uI[uI.END_TAG_OPEN=6]="END_TAG_OPEN",uI[uI.TAG_NAME=7]="TAG_NAME",uI[uI.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",uI[uI.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",uI[uI.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",uI[uI.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",uI[uI.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",uI[uI.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",uI[uI.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",uI[uI.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",uI[uI.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",uI[uI.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",uI[uI.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",uI[uI.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",uI[uI.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",uI[uI.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",uI[uI.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",uI[uI.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",uI[uI.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",uI[uI.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",uI[uI.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",uI[uI.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",uI[uI.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",uI[uI.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",uI[uI.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",uI[uI.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",uI[uI.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",uI[uI.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",uI[uI.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",uI[uI.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",uI[uI.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",uI[uI.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",uI[uI.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",uI[uI.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",uI[uI.BOGUS_COMMENT=40]="BOGUS_COMMENT",uI[uI.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",uI[uI.COMMENT_START=42]="COMMENT_START",uI[uI.COMMENT_START_DASH=43]="COMMENT_START_DASH",uI[uI.COMMENT=44]="COMMENT",uI[uI.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",uI[uI.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",uI[uI.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",uI[uI.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",uI[uI.COMMENT_END_DASH=49]="COMMENT_END_DASH",uI[uI.COMMENT_END=50]="COMMENT_END",uI[uI.COMMENT_END_BANG=51]="COMMENT_END_BANG",uI[uI.DOCTYPE=52]="DOCTYPE",uI[uI.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",uI[uI.DOCTYPE_NAME=54]="DOCTYPE_NAME",uI[uI.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",uI[uI.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",uI[uI.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",uI[uI.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",uI[uI.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",uI[uI.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",uI[uI.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",uI[uI.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",uI[uI.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",uI[uI.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",uI[uI.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",uI[uI.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",uI[uI.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",uI[uI.CDATA_SECTION=68]="CDATA_SECTION",uI[uI.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",uI[uI.CDATA_SECTION_END=70]="CDATA_SECTION_END",uI[uI.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",uI[uI.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND";let eK={DATA:uz.DATA,RCDATA:uz.RCDATA,RAWTEXT:uz.RAWTEXT,SCRIPT_DATA:uz.SCRIPT_DATA,PLAINTEXT:uz.PLAINTEXT,CDATA_SECTION:uz.CDATA_SECTION};function eX(e){return e>=uR.LATIN_CAPITAL_A&&e<=uR.LATIN_CAPITAL_Z}function eZ(e){return e>=uR.LATIN_SMALL_A&&e<=uR.LATIN_SMALL_Z||eX(e)}function eJ(e){return eZ(e)||e>=uR.DIGIT_0&&e<=uR.DIGIT_9}function e0(e){return e===uR.SPACE||e===uR.LINE_FEED||e===uR.TABULATION||e===uR.FORM_FEED}function e1(e){return e0(e)||e===uR.SOLIDUS||e===uR.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=uz.DATA,this.returnState=uz.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(uO.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(uO.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){if(e===uR.NULL)return uO.nullCharacterReference;if(e>1114111)return uO.characterReferenceOutsideUnicodeRange;if(eM(e))return uO.surrogateCharacterReference;if(eB(e))return uO.noncharacterCharacterReference;if(eP(e)||e===uR.CARRIAGE_RETURN)return uO.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:uL.START_TAG,tagName:"",tagID:uj.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:uL.END_TAG,tagName:"",tagID:uj.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:uL.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:uL.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(uO.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===uL.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(uO.endTagWithAttributes),e.selfClosing&&this._err(uO.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 uL.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case uL.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case uL.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:uL.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)?uL.WHITESPACE_CHARACTER:e===uR.NULL?uL.NULL_CHARACTER:uL.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(uL.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=uz.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?uB.Attribute:uB.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===uz.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===uz.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===uz.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case uz.DATA:this._stateData(e);break;case uz.RCDATA:this._stateRcdata(e);break;case uz.RAWTEXT:this._stateRawtext(e);break;case uz.SCRIPT_DATA:this._stateScriptData(e);break;case uz.PLAINTEXT:this._statePlaintext(e);break;case uz.TAG_OPEN:this._stateTagOpen(e);break;case uz.END_TAG_OPEN:this._stateEndTagOpen(e);break;case uz.TAG_NAME:this._stateTagName(e);break;case uz.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case uz.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case uz.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case uz.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case uz.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case uz.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case uz.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case uz.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case uz.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case uz.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case uz.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case uz.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case uz.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case uz.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case uz.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case uz.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case uz.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case uz.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscape
vendor: 7,122 bytes, line 1
1Start(e);break;case uz.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case uz.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case uz.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case uz.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case uz.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case uz.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case uz.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case uz.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case uz.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case uz.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case uz.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case uz.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case uz.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case uz.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case uz.BOGUS_COMMENT:this._stateBogusComment(e);break;case uz.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case uz.COMMENT_START:this._stateCommentStart(e);break;case uz.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case uz.COMMENT:this._stateComment(e);break;case uz.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case uz.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case uz.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case uz.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case uz.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case uz.COMMENT_END:this._stateCommentEnd(e);break;case uz.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case uz.DOCTYPE:this._stateDoctype(e);break;case uz.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case uz.DOCTYPE_NAME:this._stateDoctypeName(e);break;case uz.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case uz.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case uz.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case uz.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case uz.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case uz.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case uz.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case uz.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case uz.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case uz.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case uz.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case uz.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case uz.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case uz.CDATA_SECTION:this._stateCdataSection(e);break;case uz.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case uz.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case uz.CHARACTER_REFERENCE:this._stateCharacterReference();break;case uz.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case uR.LESS_THAN_SIGN:this.state=uz.TAG_OPEN;break;case uR.AMPERSAND:this._startCharacterReference();break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this._emitCodePoint(e);break;case uR.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case uR.AMPERSAND:this._startCharacterReference();break;case uR.LESS_THAN_SIGN:this.state=uz.RCDATA_LESS_THAN_SIGN;break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this._emitChars("�");break;case uR.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case uR.LESS_THAN_SIGN:this.state=uz.RAWTEXT_LESS_THAN_SIGN;break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this._emitChars("�");break;case uR.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case uR.LESS_THAN_SIGN:this.state=uz.SCRIPT_DATA_LESS_THAN_SIGN;break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this._emitChars("�");break;case uR.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case uR.NULL:this._err(uO.unexpectedNullCharacter),this._emitChars("�");break;case uR.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eZ(e))this._createStartTagToken(),this.state=uz.TAG_NAME,this._stateTagName(e);else switch(e){case uR.EXCLAMATION_MARK:this.state=uz.MARKUP_DECLARATION_OPEN;break;case uR.SOLIDUS:this.state=uz.END_TAG_OPEN;break;case uR.QUESTION_MARK:this._err(uO.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=uz.BOGUS_COMMENT,this._stateBogusComment(e);break;case uR.EOF:this._err(uO.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(uO.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=uz.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eZ(e))this._createEndTagToken(),this.state=uz.TAG_NAME,this._stateTagName(e);else switch(e){case uR.GREATER_THAN_SIGN:this._err(uO.missingEndTagName),this.state=uz.DATA;break;case uR.EOF:this._err(uO.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(uO.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=uz.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:this.state=uz.BEFORE_ATTRIBUTE_NAME;break;case uR.SOLIDUS:this.state=uz.SELF_CLOSING_START_TAG;break;case uR.GREATER_THAN_SIGN:this.state=uz.DATA,this.emitCurrentTagToken();break;case uR.NULL:this._err(uO.unexpectedNullCharacter),t.tagName+="�";break;case uR.EOF:this._err(uO.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(eX(e)?e+32:e)}}_stateRcdataLessThanSign(e){e===uR.SOLIDUS?this.state=uz.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=uz.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){eZ(e)?(this.state=uz.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=uz.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 uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=uz.BEFORE_ATTRIBUTE_NAME,
vendor: 7,332 bytes, line 1
1!1;case uR.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=uz.SELF_CLOSING_START_TAG,!1;case uR.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=uz.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=uz.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===uR.SOLIDUS?this.state=uz.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=uz.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){eZ(e)?(this.state=uz.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=uz.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=uz.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case uR.SOLIDUS:this.state=uz.SCRIPT_DATA_END_TAG_OPEN;break;case uR.EXCLAMATION_MARK:this.state=uz.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=uz.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){eZ(e)?(this.state=uz.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=uz.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=uz.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===uR.HYPHEN_MINUS?(this.state=uz.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=uz.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===uR.HYPHEN_MINUS?(this.state=uz.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=uz.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case uR.HYPHEN_MINUS:this.state=uz.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case uR.LESS_THAN_SIGN:this.state=uz.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this._emitChars("�");break;case uR.EOF:this._err(uO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case uR.HYPHEN_MINUS:this.state=uz.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case uR.LESS_THAN_SIGN:this.state=uz.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this.state=uz.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case uR.EOF:this._err(uO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=uz.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case uR.HYPHEN_MINUS:this._emitChars("-");break;case uR.LESS_THAN_SIGN:this.state=uz.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case uR.GREATER_THAN_SIGN:this.state=uz.SCRIPT_DATA,this._emitChars(">");break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this.state=uz.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case uR.EOF:this._err(uO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=uz.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===uR.SOLIDUS?this.state=uz.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eZ(e)?(this._emitChars("<"),this.state=uz.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=uz.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eZ(e)?(this.state=uz.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=uz.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=uz.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=uz.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=uz.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case uR.HYPHEN_MINUS:this.state=uz.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case uR.LESS_THAN_SIGN:this.state=uz.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this._emitChars("�");break;case uR.EOF:this._err(uO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case uR.HYPHEN_MINUS:this.state=uz.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case uR.LESS_THAN_SIGN:this.state=uz.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this.state=uz.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case uR.EOF:this._err(uO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=uz.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case uR.HYPHEN_MINUS:this._emitChars("-");break;case uR.LESS_THAN_SIGN:this.state=uz.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case uR.GREATER_THAN_SIGN:this.state=uz.SCRIPT_DATA,this._emitChars(">");break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this.state=uz.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case uR.EOF:this._err(uO.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=uz.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===uR.SOLIDUS?(this.state=uz.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=uz.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=uz.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=uz.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:break;case uR.SOLIDUS:case uR.GREATER_THAN_SIGN:case uR.EOF:this.state=uz.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case uR.EQUALS_SIGN:this._err(uO.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=uz.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=uz.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:case uR.SOLIDUS:case uR.GREATER_THAN_SIGN:case uR.EOF:this._leaveAttrName(),this.state=uz.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case uR.EQUALS_SIGN:this._leaveAttrName(),this.state=uz.BEFORE_ATTRIBUTE_VALUE;break;case uR.QUOTATION_MARK:case uR.APOSTROPHE:case uR.LESS_THAN_SIGN:this._err(uO.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this.currentAttr.name+="
1�";break;default:this.currentAttr.name+=String.fromCodePoint(eX(e)?e+32:e)}}_stateAfterAttributeName(e){switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:break;case uR.SOLIDUS:this.state=uz.SELF_CLOSING_START_TAG;break;case uR.EQUALS_SIGN:this.state=uz.BEFORE_ATTRIBUTE_VALUE;break;case uR.GREATER_THAN_SIGN:this.state=uz.DATA,this.emitCurrentTagToken();break;case uR.EOF:this._err(uO.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=uz.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:break;case uR.QUOTATION_MARK:this.state=uz.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case uR.APOSTROPHE:this.state=uz.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case uR.GREATER_THAN_SIGN:this._err(uO.missingAttributeValue),this.state=uz.DATA,this.emitCurrentTagToken();break;default:this.state=uz.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case uR.QUOTATION_MARK:this.state=uz.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case uR.AMPERSAND:this._startCharacterReference();break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this.currentAttr.value+="�";break;case uR.EOF:this._err(uO.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case uR.APOSTROPHE:this.state=uz.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case uR.AMPERSAND:this._startCharacterReference();break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this.currentAttr.value+="�";break;case uR.EOF:this._err(uO.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:this._leaveAttrValue(),this.state=uz.BEFORE_ATTRIBUTE_NAME;break;case uR.AMPERSAND:this._startCharacterReference();break;case uR.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=uz.DATA,this.emitCurrentTagToken();break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this.currentAttr.value+="�";break;case uR.QUOTATION_MARK:case uR.APOSTROPHE:case uR.LESS_THAN_SIGN:case uR.EQUALS_SIGN:case uR.GRAVE_ACCENT:this._err(uO.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case uR.EOF:this._err(uO.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:this._leaveAttrValue(),this.state=uz.BEFORE_ATTRIBUTE_NAME;break;case uR.SOLIDUS:this._leaveAttrValue(),this.state=uz.SELF_CLOSING_START_TAG;break;case uR.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=uz.DATA,this.emitCurrentTagToken();break;case uR.EOF:this._err(uO.eofInTag),this._emitEOFToken();break;default:this._err(uO.missingWhitespaceBetweenAttributes),this.state=uz.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case uR.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=uz.DATA,this.emitCurrentTagToken();break;case uR.EOF:this._err(uO.eofInTag),this._emitEOFToken();break;default:this._err(uO.unexpectedSolidusInTag),this.state=uz.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case uR.GREATER_THAN_SIGN:this.state=uz.DATA,this.emitCurrentComment(t);break;case uR.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case uR.NULL:this._err(uO.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=uz.COMMENT_START):this._consumeSequenceIfMatch(ev,!1)?(this.currentLocation=this.getCurrentLocation(ev.length+1),this.state=uz.DOCTYPE):this._consumeSequenceIfMatch(eL,!0)?this.inForeignNode?this.state=uz.CDATA_SECTION:(this._err(uO.cdataInHtmlContent),this._createCommentToken(eL.length+1),this.currentToken.data="[CDATA[",this.state=uz.BOGUS_COMMENT):this._ensureHibernation()||(this._err(uO.incorrectlyOpenedComment),this._createCommentToken(2),this.state=uz.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case uR.HYPHEN_MINUS:this.state=uz.COMMENT_START_DASH;break;case uR.GREATER_THAN_SIGN:{this._err(uO.abruptClosingOfEmptyComment),this.state=uz.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=uz.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case uR.HYPHEN_MINUS:this.state=uz.COMMENT_END;break;case uR.GREATER_THAN_SIGN:this._err(uO.abruptClosingOfEmptyComment),this.state=uz.DATA,this.emitCurrentComment(t);break;case uR.EOF:this._err(uO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=uz.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case uR.HYPHEN_MINUS:this.state=uz.COMMENT_END_DASH;break;case uR.LESS_THAN_SIGN:t.data+="<",this.state=uz.COMMENT_LESS_THAN_SIGN;break;case uR.NULL:this._err(uO.unexpectedNullCharacter),t.data+="�";break;case uR.EOF:this._err(uO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case uR.EXCLAMATION_MARK:t.data+="!",this.state=uz.COMMENT_LESS_THAN_SIGN_BANG;break;case uR.LESS_THAN_SIGN:t.data+="<";break;default:this.state=uz.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===uR.HYPHEN_MINUS?this.state=uz.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=uz.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===uR.HYPHEN_MINUS?this.state=uz.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=uz.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==uR.GREATER_THAN_SIGN&&e!==uR.EOF&&this._err(uO.nestedComment),this.state=uz.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case uR.HYPHEN_MINUS:this.state=uz.COMMENT_END;break;case uR.EOF:this._err(uO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=uz.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case uR.GREATER_THAN_SIGN:this.state=uz.DATA,this.emitCurrentComment(t);break;case uR.EXCLAMATION_MARK:this.state=uz.COMMENT_END_BANG;break;case uR.HYPHEN_MINUS:t.data+="-";break;case uR.EOF:this._err(uO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=uz.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case uR.HYPHEN_MINUS:t.data+="--!",this.state=uz.COMMENT_END_DASH;break;case uR.GREATER_THAN_SIGN:this._err(uO.incorrectlyClosedComment),this.state=uz.DATA,this.emitCurrentComment(t);break;case uR.EOF:this._err(uO.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=uz.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:this.state=uz.BEFORE_DOCTYPE_NAME;break;case uR.GREATER_THAN_SIGN:this.state=uz.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case uR.EOF:{this._err(uO.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(uO.missingWhitespaceBeforeDoctypeName),this.state=uz.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(eX(e))this._createDoctypeToken(String.fromCharCode(e+32)),this.state=uz.DOCTYPE_NAME;else switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:break;case uR.NULL:this._err(uO.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=uz.DOCTYPE_NAME;break;case uR.GREATER_THAN_SIGN:{this._err(uO.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=uz.DATA;break}case uR.EOF:{this._err(uO.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=uz.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:this.state=uz.AFTER_DOCTYPE_NAME;break;case uR.GREATER_THAN_SIGN:this.state=uz.DATA,this.emitCurrentDoctype(t);break;
1case uR.NULL:this._err(uO.unexpectedNullCharacter),t.name+="�";break;case uR.EOF:this._err(uO.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 uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:break;case uR.GREATER_THAN_SIGN:this.state=uz.DATA,this.emitCurrentDoctype(t);break;case uR.EOF:this._err(uO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=uz.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=uz.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(uO.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=uz.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:this.state=uz.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case uR.QUOTATION_MARK:this._err(uO.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=uz.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case uR.APOSTROPHE:this._err(uO.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=uz.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case uR.GREATER_THAN_SIGN:this._err(uO.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=uz.DATA,this.emitCurrentDoctype(t);break;case uR.EOF:this._err(uO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(uO.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=uz.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:break;case uR.QUOTATION_MARK:t.publicId="",this.state=uz.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case uR.APOSTROPHE:t.publicId="",this.state=uz.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case uR.GREATER_THAN_SIGN:this._err(uO.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=uz.DATA,this.emitCurrentDoctype(t);break;case uR.EOF:this._err(uO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(uO.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=uz.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case uR.QUOTATION_MARK:this.state=uz.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case uR.NULL:this._err(uO.unexpectedNullCharacter),t.publicId+="�";break;case uR.GREATER_THAN_SIGN:this._err(uO.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=uz.DATA;break;case uR.EOF:this._err(uO.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 uR.APOSTROPHE:this.state=uz.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case uR.NULL:this._err(uO.unexpectedNullCharacter),t.publicId+="�";break;case uR.GREATER_THAN_SIGN:this._err(uO.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=uz.DATA;break;case uR.EOF:this._err(uO.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 uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:this.state=uz.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case uR.GREATER_THAN_SIGN:this.state=uz.DATA,this.emitCurrentDoctype(t);break;case uR.QUOTATION_MARK:this._err(uO.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=uz.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case uR.APOSTROPHE:this._err(uO.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=uz.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case uR.EOF:this._err(uO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;
vendor: 5,088 bytes, line 1
1default:this._err(uO.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=uz.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:break;case uR.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=uz.DATA;break;case uR.QUOTATION_MARK:t.systemId="",this.state=uz.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case uR.APOSTROPHE:t.systemId="",this.state=uz.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case uR.EOF:this._err(uO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(uO.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=uz.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:this.state=uz.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case uR.QUOTATION_MARK:this._err(uO.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=uz.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case uR.APOSTROPHE:this._err(uO.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=uz.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case uR.GREATER_THAN_SIGN:this._err(uO.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=uz.DATA,this.emitCurrentDoctype(t);break;case uR.EOF:this._err(uO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(uO.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=uz.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:break;case uR.QUOTATION_MARK:t.systemId="",this.state=uz.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case uR.APOSTROPHE:t.systemId="",this.state=uz.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case uR.GREATER_THAN_SIGN:this._err(uO.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=uz.DATA,this.emitCurrentDoctype(t);break;case uR.EOF:this._err(uO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(uO.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=uz.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case uR.QUOTATION_MARK:this.state=uz.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case uR.NULL:this._err(uO.unexpectedNullCharacter),t.systemId+="�";break;case uR.GREATER_THAN_SIGN:this._err(uO.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=uz.DATA;break;case uR.EOF:this._err(uO.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 uR.APOSTROPHE:this.state=uz.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case uR.NULL:this._err(uO.unexpectedNullCharacter),t.systemId+="�";break;case uR.GREATER_THAN_SIGN:this._err(uO.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=uz.DATA;break;case uR.EOF:this._err(uO.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 uR.SPACE:case uR.LINE_FEED:case uR.TABULATION:case uR.FORM_FEED:break;case uR.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=uz.DATA;break;case uR.EOF:this._err(uO.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(uO.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=uz.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case uR.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=uz.DATA;break;case uR.NULL:this._err(uO.unexpectedNullCharacter);break;case uR.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case uR.RIGHT_SQUARE_BRACKET:this.state=uz.CDATA_SECTION_BRACKET;break;case uR.EOF:this._err(uO.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===uR.RIGHT_SQUARE_BRACKET?this.state=uz.CDATA_SECTION_END:(this._emitChars("]"),this.state=uz.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case uR.GREATER_THAN_SIGN:this.state=uz.DATA;break;case uR.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=uz.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(uR.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&eJ(this.preprocessor.peek(1))?uz.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){eJ(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===uR.SEMICOLON&&this._err(uO.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}let e5=new Set([uj.DD,uj.DT,uj.LI,uj.OPTGROUP,uj.OPTION,uj.P,uj.RB,uj.RP,uj.RT,uj.RTC]),e3=new Set([...e5,uj.CAPTION,uj.COLGROUP,uj.TBODY,uj.TD,uj.TFOOT,uj.TH,uj.THEAD,uj.TR]),e4=new Set([uj.APPLET,uj.CAPTION,uj.HTML,uj.MARQUEE,uj.OBJECT,uj.TABLE,uj.TD,uj.TEMPLATE,uj.TH]),e9=new Set([...e4,uj.OL,uj.UL]),e6=new Set([...e4,uj.BUTTON]),e7=new Set([uj.ANNOTATION_XML,uj.MI,uj.MN,uj.MO,uj.MS,uj.MTEXT]),e8=new Set([uj.DESC,uj.FOREIGN_OBJECT,uj.TITLE]),te=new Set([uj.TR,uj.TEMPLATE,uj.HTML]),tt=new Set([uj.TBODY,uj.TFOOT,uj.THEAD,uj.TEMPLATE,uj.HTML]),tn=new Set([uj.TABLE,uj.TEMPLATE,uj.HTML]),tr=new Set([uj.TD,uj.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=uj.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===uj.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===uF.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])!==uF.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,uF.HTML)}popUntilTableCellPopped(){this.popUntilPopped(tr,uF.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,uF.HTML)}clearBackToTableBodyContext(){this.clearBackTo(tt,uF.HTML)}clearBackToTableRowContext(){this.clearBackTo(te,uF.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]===uj.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]===uj.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 uF.HTML:if(r===e)return!0;
1if(t.has(r))return!1;break;case uF.SVG:if(e8.has(r))return!1;break;case uF.MATHML:if(e7.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,e4)}hasInListItemScope(e){return this.hasInDynamicScope(e,e9)}hasInButtonScope(e){return this.hasInDynamicScope(e,e6)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case uF.HTML:if(eW.has(t))return!0;if(e4.has(t))return!1;break;case uF.SVG:if(e8.has(t))return!1;break;case uF.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])===uF.HTML)switch(this.tagIDs[t]){case e:return!0;case uj.TABLE:case uj.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===uF.HTML)switch(this.tagIDs[e]){case uj.TBODY:case uj.THEAD:case uj.TFOOT:return!0;case uj.TABLE:case uj.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===uF.HTML)switch(this.tagIDs[t]){case e:return!0;case uj.OPTION:case uj.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()}}(ux=uY||(uY={}))[ux.Marker=0]="Marker",ux[ux.Element=1]="Element";let ta={type:uY.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===uY.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:uY.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:uY.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===uY.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===uY.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===uY.Element&&t.element===e)}}let to={createDocument:()=>({nodeName:"#document",mode:uU.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"]),td=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],tp=[...td,"-//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:uF.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:uF.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:uF.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:uF.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:uF.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:uF.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:uF.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:uF.XML}],["xml:space",{prefix:"xml",name:"space",namespace:uF.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:uF.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:uF.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([uj.B,uj.BIG,uj.BLOCKQUOTE,uj.BODY,uj.BR,uj.CENTER,uj.CODE,uj.DD,uj.DIV,uj.DL,uj.DT,uj.EM,uj.EMBED,uj.H1,uj.H2,uj.H3,uj.H4,uj.H5,uj.H6,uj.HEAD,uj.HR,uj.I,uj.IMG,uj.LI,uj.LISTING,uj.MENU,uj.META,uj.NOBR,uj.OL,uj.P,uj.PRE,uj.RUBY,uj.S,uj.SMALL,uj.SPAN,uj.STRONG,uj.STRIKE,uj.SUB,uj.SUP,uj.TABLE,uj.TT,uj.U,uj.UL,uj.VAR]);function tk(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function tA(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)}}(uD=uq||(uq={}))[uD.INITIAL=0]="INITIAL",uD[uD.BEFORE_HTML=1]="BEFORE_HTML",uD[uD.BEFORE_HEAD=2]="BEFORE_HEAD",uD[uD.IN_HEAD=3]="IN_HEAD",uD[uD.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",uD[uD.AFTER_HEAD=5]="AFTER_HEAD",uD[uD.IN_BODY=6]="IN_BODY",uD[uD.TEXT=7]="TEXT",uD[uD.IN_TABLE=8]="IN_TABLE",uD[uD.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",uD[uD.IN_CAPTION=10]="IN_CAPTION",uD[uD.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",uD[uD.IN_TABLE_BODY=12]="IN_TABLE_BODY",uD[uD.IN_ROW=13]="IN_ROW",uD[uD.IN_CELL=14]="IN_CELL",uD[uD.IN_SELECT=15]="IN_SELECT",uD[uD.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",uD[uD.IN_TEMPLATE=17]="IN_TEMPLATE",uD[uD.AFTER_BODY=18]="AFTER_BODY",uD[uD.IN_FRAMESET=19]="IN_FRAMESET",uD[uD.AFTER_FRAMESET=20]="AFTER_FRAMESET",uD[uD.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",uD[uD.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";let tb={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},ty=new Set([uj.TABLE,uj.TBODY,uj.TFOOT,uj.THEAD,uj.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=uq.INITIAL,this.originalInsertionMode=uq.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)):uj.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(uG.TEMPLATE,uF.HTML,[]));let r=n.treeAdapter.createElement("documentmock",uF.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===uj.TEMPLATE&&i.tmplInsertionModeStack.unshift(uq.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)===uF.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,uF.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=uq.TEXT}switchToPlaintextParsing(){this.insertionMode=uq.TEXT,this.originalInsertionMode=uq.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)===uG.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===uF.HTML)switch(this.fragmentContextID){case uj.TITLE:case uj.TEXTAREA:this.tokenizer.state=eK.RCDATA;break;case uj.STYLE:case uj.XMP:case uj.IFRAME:case uj.NOEMBED:case uj.NOFRAMES:case uj.NOSCRIPT:this.tokenizer.state=eK.RAWTEXT;break;case uj.SCRIPT:this.tokenizer.state=eK.SCRIPT_DATA;break;case uj.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,uF.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,uF.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(uG.HTML,uF.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,uj.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===uL.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!==uj.SVG||this.treeAdapter.getTagName(t)!==uG.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==uF.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===uj.MGLYPH||e.tagID===uj.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,uF.HTML)))}_processToken(e){switch(e.type){case uL.CHARACTER:this.onCharacter(e);break;case uL.NULL_CHARACTER:this.onNullCharacter(e);break;case uL.COMMENT:this.onComment(e);break;case uL.DOCTYPE:this.onDoctype(e);break;case uL.START_TAG:this._processStartTag(e);break;case uL.END_TAG:this.onEndTag(e);break;case uL.EOF:this.onEof(e);break;case uL.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),i=this.treeAdapter.getAttrList(t);return(!n||n===uF.HTML)&&function(e,t,n){if(t===uF.MATHML&&e===uj.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===uH.ENCODING){let t=n[e].value.toLowerCase();return"text/html"===t||"application/xhtml+xml"===t}}return t===uF.SVG&&(e===uj.FOREIGN_OBJECT||e===uj.DESC||e===uj.TITLE)}(e,r,i)||(!n||n===uF.MATHML)&&r===uF.MATHML&&(e===uj.MI||e===uj.MO||e===uj.MN||e===uj.MS||e===uj.MTEXT)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===uY.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=uq.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(uj.P),this.openElements.popUntilTagNamePopped(uj.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case uj.TR:this.insertionMode=uq.IN_ROW;return;case uj.TBODY:case uj.THEAD:case uj.TFOOT:this.insertionMode=uq.IN_TABLE_BODY;return;case uj.CAPTION:this.insertionMode=uq.IN_CAPTION;return;case uj.COLGROUP:this.insertionMode=uq.IN_COLUMN_GROUP;return;case uj.TABLE:this.insertionMode=uq.IN_TABLE;return;case uj.BODY:this.insertionMode=uq.IN_BODY;return;case uj.FRAMESET:this.insertionMode=uq.IN_FRAMESET;return;case uj.SELECT:return void this._resetInsertionModeForSelect(e);case uj.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case uj.HTML:this.insertionMode=this.headElement?uq.AFTER_HEAD:uq.BEFORE_HEAD;return;case uj.TD:case uj.TH:if(e>0){this.insertionMode=uq.IN_CELL;return}break;case uj.HEAD:if(e>0){this.insertionMode=uq.IN_HEAD;return}}this.insertionMode=uq.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===uj.TEMPLATE)break;if(e===uj.TABLE){this.insertionMode=uq.IN_SELECT_IN_TABLE;return}}this.insertionMode=uq.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 uj.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===uF.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case uj.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 eV[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 uq.INITIAL:tD(this,e);break;case uq.BEFORE_HTML:tR(this,e);break;case uq.BEFORE_HEAD:tO(this,e);break;case uq.IN_HEAD:tw(this,e);break;case uq.IN_HEAD_NO_SCRIPT:tM(this,e);break;case uq.AFTER_HEAD:tP(this,e);break;case uq.IN_BODY:case uq.IN_CAPTION:case uq.IN_CELL:case uq.IN_TEMPLATE:tH(this,e);break;case uq.TEXT:case uq.IN_SELECT:case uq.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case uq.IN_TABLE:case uq.IN_TABLE_BODY:case uq.IN_ROW:tW(this,e);break;case uq.IN_TABLE_TEXT:tJ(this,e);break;case uq.IN_COLUMN_GROUP:t5(this,e);break;case uq.AFTER_BODY:nn(this,e);break;case uq.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 uq.INITIAL:tD(this,e);break;case uq.BEFORE_HTML:tR(this,e);break;case uq.BEFORE_HEAD:tO(this,e);break;case uq.IN_HEAD:tw(this,e);break;case uq.IN_HEAD_NO_SCRIPT:tM(this,e);break;case uq.AFTER_HEAD:tP(this,e);break;case uq.TEXT:this._insertCharacters(e);break;case uq.IN_TABLE:case uq.IN_TABLE_BODY:case uq.IN_ROW:tW(this,e);break;case uq.IN_COLUMN_GROUP:t5(this,e);break;case uq.AFTER_BODY:nn(this,e);break;case uq.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 uq.INITIAL:case uq.BEFORE_HTML:case uq.BEFORE_HEAD:case uq.IN_HEAD:case uq.IN_HEAD_NO_SCRIPT:case uq.AFTER_HEAD:case uq.IN_BODY:case uq.IN_TABLE:case uq.IN_CAPTION:case uq.IN_COLUMN_GROUP:case uq.IN_TABLE_BODY:case uq.IN_ROW:case uq.IN_CELL:case uq.IN_SELECT:case uq.IN_SELECT_IN_TABLE:case uq.IN_TEMPLATE:case uq.IN_FRAMESET:case uq.AFTER_FRAMESET:tI(this,e);break;case uq.IN_TABLE_TEXT:t0(this,e);break;case uq.AFTER_BODY:t=this,n=e,t._appendCommentNode(n,t.openElements.items[0]);break;case uq.AFTER_AFTER_BODY:case uq.AFTER_AFTER_FRAMESET:r=this,i=e,r._appendCommentNode(i,r.document)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case uq.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?uU.QUIRKS:function(e){if(e.name!==tl)return uU.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return uU.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),th.has(n))return uU.QUIRKS;let e=null===t?tu:tc;if(tm(n,e))return uU.QUIRKS;if(tm(n,e=null===t?td:tp))return uU.LIMITED_QUIRKS}return uU.NO_QUIRKS}(t);(t.name!==tl||null!==t.publicId||null!==t.systemId&&"about:legacy-compat"!==t.systemId)&&e._err(t,uO.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=uq.BEFORE_HTML}(this,e);break;case uq.BEFORE_HEAD:case uq.IN_HEAD:case uq.IN_HEAD_NO_SCRIPT:case uq.AFTER_HEAD:this._err(e,uO.misplacedDoctype);break;case uq.IN_TABLE_TEXT:t0(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,uO.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){let n;if((n=t.tagID)===uj.FONT&&t.attrs.some(({name:e})=>e===uH.COLOR||e===uH.SIZE||e===uH.FACE)||tT.has(n))ni(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);if(r===uF.MATHML)tk(t);else if(r===uF.SVG){let e;null!=(e=tE.get(t.tagName))&&(t.tagName=e,t.tagID=eq(t.tagName)),tA(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 uq.INITIAL:tD(this,e);break;case uq.BEFORE_HTML:t=this,(n=e).tagID===uj.HTML?(t._insertElement(n,uF.HTML),t.insertionMode=uq.BEFORE_HEAD):tR(t,n);break;case uq.BEFORE_HEAD:var t,n,r,i,a,s,o,l,c,u,h,d,p=this,m=e;switch(m.tagID){case uj.HTML:tY(p,m);break;case uj.HEAD:p._insertElement(m,uF.HTML),p.headElement=p.openElements.current,p.insertionMode=uq.IN_HEAD;break;default:tO(p,m)}break;case uq.IN_HEAD:tL(this,e);break;case uq.IN_HEAD_NO_SCRIPT:var f=this,g=e;switch(g.tagID){case uj.HTML:tY(f,g);break;case uj.BASEFONT:case uj.BGSOUND:case uj.HEAD:case uj.LINK:case uj.META:case uj.NOFRAMES:case uj.STYLE:tL(f,g);break;case uj.NOSCRIPT:f._err(g,uO.nestedNoscriptInHead);break;default:tM(f,g)}break;case uq.AFTER_HEAD:var E=this,T=e;switch(T.tagID){case uj.HTML:tY(E,T);break;case uj.BODY:E._insertElement(T,uF.HTML),E.framesetOk=!1,E.insertionMode=uq.IN_BODY;break;case uj.FRAMESET:E._insertElement(T,uF.HTML),E.insertionMode=uq.IN_FRAMESET;break;case uj.BASE:case uj.BASEFONT:case uj.BGSOUND:case uj.LINK:case uj.META:case uj.NOFRAMES:case uj.SCRIPT:case uj.STYLE:case uj.TEMPLATE:case uj.TITLE:E._err(T,uO.abandonedHeadElementChild),E.openElements.push(E.headElement,uj.HEAD),tL(E,T),E.openElements.remove(E.headElement);break;case uj.HEAD:E._err(T,uO.misplacedStartTagForHeadElement);break;default:tP(E,T)}break;case uq.IN_BODY:tY(this,e);break;case uq.IN_TABLE:tQ(this,e);break;case uq.IN_TABLE_TEXT:t0(this,e);break;case uq.IN_CAPTION:let k;r=this,k=(i=e).tagID,t1.has(k)?r.openElements.hasInTableScope(uj.CAPTION)&&(r.openElements.generateImpliedEndTags(),r.openElements.popUntilTagNamePopped(uj.CAPTION),r.activeFormattingElements.clearToLastMarker(),r.insertionMode=uq.IN_TABLE,tQ(r,i)):tY(r,i);break;case uq.IN_COLUMN_GROUP:t2(this,e);break;case uq.IN_TABLE_BODY:t3(this,e);break;case uq.IN_ROW:t9(this,e);break;case uq.IN_CELL:let A;a=this,A=(s=e).tagID,t1.has(A)?(a.openElements.hasInTableScope(uj.TD)||a.openElements.hasInTableScope(uj.TH))&&(a._closeTableCell(),t9(a,s)):tY(a,s);break;case uq.IN_SELECT:t7(this,e);break;case uq.IN_SELECT_IN_TABLE:let _;o=this,(_=(l=e).tagID)===uj.CAPTION||_===uj.TABLE||_===uj.TBODY||_===uj.TFOOT||_===uj.THEAD||_===uj.TR||_===uj.TD||_===uj.TH?(o.openElements.popUntilTagNamePopped(uj.SELECT),o._resetInsertionMode(),o._processStartTag(l)):t7(o,l);break;case uq.IN_TEMPLATE:var b=this,y=e;switch(y.tagID){case uj.BASE:case uj.BASEFONT:case uj.BGSOUND:case uj.LINK:case uj.META:case uj.NOFRAMES:case uj.SCRIPT:case uj.STYLE:case uj.TEMPLATE:case uj.TITLE:tL(b,y);break;case uj.CAPTION:case uj.COLGROUP:case uj.TBODY:case uj.TFOOT:case uj.THEAD:b.tmplInsertionModeStack[0]=uq.IN_TABLE,b.insertionMode=uq.IN_TABLE,tQ(b,y);break;case uj.COL:b.tmplInsertionModeStack[0]=uq.IN_COLUMN_GROUP,b.insertionMode=uq.IN_COLUMN_GROUP,t2(b,y);break;case uj.TR:b.tmplInsertionModeStack[0]=uq.IN_TABLE_BODY,b.insertionMode=uq.IN_TABLE_BODY,t3(b,y);break;case uj.TD:case uj.TH:b.tmplInsertionModeStack[0]=uq.IN_ROW,b.insertionMode=uq.IN_ROW,t9(b,y);break;default:b.tmplInsertionModeStack[0]=uq.IN_BODY,b.insertionMode=uq.IN_BODY,tY(b,y)}break;case uq.AFTER_BODY:c=this,(u=e).tagID===uj.HTML?tY(c,u):nn(c,u);break;case uq.IN_FRAMESET:var C=this,N=e;switch(N.tagID){case uj.HTML:tY(C,N);break;case uj.FRAMESET:C._insertElement(N,uF.HTML);break;case uj.FRAME:C._appendElement(N,uF.HTML),N.ackSelfClosing=!0;break;case uj.NOFRAMES:tL(C,N)}break;case uq.AFTER_FRAMESET:var S=this,I=e;switch(I.tagID){case uj.HTML:tY(S,I);break;case uj.NOFRAMES:tL(S,I)}break;case uq.AFTER_AFTER
1_BODY:h=this,(d=e).tagID===uj.HTML?tY(h,d):nr(h,d);break;case uq.AFTER_AFTER_FRAMESET:var x=this,D=e;switch(D.tagID){case uj.HTML:tY(x,D);break;case uj.NOFRAMES:tL(x,D)}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===uj.P||t.tagID===uj.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)===uF.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 uq.INITIAL:tD(this,e);break;case uq.BEFORE_HTML:let t;r=this,((t=(i=e).tagID)===uj.HTML||t===uj.HEAD||t===uj.BODY||t===uj.BR)&&tR(r,i);break;case uq.BEFORE_HEAD:let n;a=this,(n=(s=e).tagID)===uj.HEAD||n===uj.BODY||n===uj.HTML||n===uj.BR?tO(a,s):a._err(s,uO.endTagWithoutMatchingOpenElement);break;case uq.IN_HEAD:var r,i,a,s,o,l,c,u,h,d,p,m,f=this,g=e;switch(g.tagID){case uj.HEAD:f.openElements.pop(),f.insertionMode=uq.AFTER_HEAD;break;case uj.BODY:case uj.BR:case uj.HTML:tw(f,g);break;case uj.TEMPLATE:tv(f,g);break;default:f._err(g,uO.endTagWithoutMatchingOpenElement)}break;case uq.IN_HEAD_NO_SCRIPT:var E=this,T=e;switch(T.tagID){case uj.NOSCRIPT:E.openElements.pop(),E.insertionMode=uq.IN_HEAD;break;case uj.BR:tM(E,T);break;default:E._err(T,uO.endTagWithoutMatchingOpenElement)}break;case uq.AFTER_HEAD:var k=this,A=e;switch(A.tagID){case uj.BODY:case uj.HTML:case uj.BR:tP(k,A);break;case uj.TEMPLATE:tv(k,A);break;default:k._err(A,uO.endTagWithoutMatchingOpenElement)}break;case uq.IN_BODY:t$(this,e);break;case uq.TEXT:o=this,e.tagID===uj.SCRIPT&&(null==(l=o.scriptHandler)||l.call(o,o.openElements.current)),o.openElements.pop(),o.insertionMode=o.originalInsertionMode;break;case uq.IN_TABLE:tK(this,e);break;case uq.IN_TABLE_TEXT:t0(this,e);break;case uq.IN_CAPTION:var _=this,b=e;let y=b.tagID;switch(y){case uj.CAPTION:case uj.TABLE:_.openElements.hasInTableScope(uj.CAPTION)&&(_.openElements.generateImpliedEndTags(),_.openElements.popUntilTagNamePopped(uj.CAPTION),_.activeFormattingElements.clearToLastMarker(),_.insertionMode=uq.IN_TABLE,y===uj.TABLE&&tK(_,b));break;case uj.BODY:case uj.COL:case uj.COLGROUP:case uj.HTML:case uj.TBODY:case uj.TD:case uj.TFOOT:case uj.TH:case uj.THEAD:case uj.TR:break;default:t$(_,b)}break;case uq.IN_COLUMN_GROUP:var C=this,N=e;switch(N.tagID){case uj.COLGROUP:C.openElements.currentTagId===uj.COLGROUP&&(C.openElements.pop(),C.insertionMode=uq.IN_TABLE);break;case uj.TEMPLATE:tv(C,N);break;case uj.COL:break;default:t5(C,N)}break;case uq.IN_TABLE_BODY:t4(this,e);break;case uq.IN_ROW:t6(this,e);break;case uq.IN_CELL:var S=this,I=e;let x=I.tagID;switch(x){case uj.TD:case uj.TH:S.openElements.hasInTableScope(x)&&(S.openElements.generateImpliedEndTags(),S.openElements.popUntilTagNamePopped(x),S.activeFormattingElements.clearToLastMarker(),S.insertionMode=uq.IN_ROW);break;case uj.TABLE:case uj.TBODY:case uj.TFOOT:case uj.THEAD:case uj.TR:S.openElements.hasInTableScope(x)&&(S._closeTableCell(),t6(S,I));break;case uj.BODY:case uj.CAPTION:case uj.COL:case uj.COLGROUP:case uj.HTML:break;default:t$(S,I)}break;case uq.IN_SELECT:t8(this,e);break;case uq.IN_SELECT_IN_TABLE:let D;c=this,(D=(u=e).tagID)===uj.CAPTION||D===uj.TABLE||D===uj.TBODY||D===uj.TFOOT||D===uj.THEAD||D===uj.TR||D===uj.TD||D===uj.TH?c.openElements.hasInTableScope(D)&&(c.openElements.popUntilTagNamePopped(uj.SELECT),c._resetInsertionMode(),c.onEndTag(u)):t8(c,u);break;case uq.IN_TEMPLATE:h=this,(d=e).tagID===uj.TEMPLATE&&tv(h,d);break;case uq.AFTER_BODY:nt(this,e);break;case uq.IN_FRAMESET:p=this,e.tagID===uj.FRAMESET&&!p.openElements.isRootHtmlElementCurrent()&&(p.openElements.pop(),p.fragmentContext||p.openElements.currentTagId===uj.FRAMESET||(p.insertionMode=uq.AFTER_FRAMESET));break;case uq.AFTER_FRAMESET:m=this,e.tagID===uj.HTML&&(m.insertionMode=uq.AFTER_AFTER_FRAMESET);break;case uq.AFTER_AFTER_BODY:nr(this,e)}}onEof(e){switch(this.insertionMode){case uq.INITIAL:tD(this,e);break;case uq.BEFORE_HTML:tR(this,e);break;case uq.BEFORE_HEAD:tO(this,e);break;case uq.IN_HEAD:tw(this,e);break;case uq.IN_HEAD_NO_SCRIPT:tM(this,e);break;case uq.AFTER_HEAD:tP(this,e);break;case uq.IN_BODY:case uq.IN_TABLE:case uq.IN_CAPTION:case uq.IN_COLUMN_GROUP:case uq.IN_TABLE_BODY:case uq.IN_ROW:case uq.IN_CELL:case uq.IN_SELECT:case uq.IN_SELECT_IN_TABLE:tV(this,e);break;case uq.TEXT:var t,n;t=this,n=e,t._err(n,uO.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(n);break;case uq.IN_TABLE_TEXT:t0(this,e);break;case uq.IN_TEMPLATE:ne(this,e);break;case uq.AFTER_BODY:case uq.IN_FRAMESET:case uq.AFTER_FRAMESET:case uq.AFTER_AFTER_BODY:case uq.AFTER_AFTER_FRAMESET:tx(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCo
1deAt(0)===uR.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 uq.IN_HEAD:case uq.IN_HEAD_NO_SCRIPT:case uq.AFTER_HEAD:case uq.TEXT:case uq.IN_COLUMN_GROUP:case uq.IN_SELECT:case uq.IN_SELECT_IN_TABLE:case uq.IN_FRAMESET:case uq.AFTER_FRAMESET:this._insertCharacters(e);break;case uq.IN_BODY:case uq.IN_CAPTION:case uq.IN_CELL:case uq.IN_TEMPLATE:case uq.AFTER_BODY:case uq.AFTER_AFTER_BODY:case uq.AFTER_AFTER_FRAMESET:tF(this,e);break;case uq.IN_TABLE:case uq.IN_TABLE_BODY:case uq.IN_ROW:tW(this,e);break;case uq.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)}return 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===uj.TEMPLATE&&i===uF.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,uO.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,uU.QUIRKS),e.insertionMode=uq.BEFORE_HTML,e._processToken(t)}function tR(e,t){e._insertFakeRootElement(),e.insertionMode=uq.BEFORE_HEAD,e._processToken(t)}function tO(e,t){e._insertFakeElement(uG.HEAD,uj.HEAD),e.headElement=e.openElements.current,e.insertionMode=uq.IN_HEAD,e._processToken(t)}function tL(e,t){switch(t.tagID){case uj.HTML:tY(e,t);break;case uj.BASE:case uj.BASEFONT:case uj.BGSOUND:case uj.LINK:case uj.META:e._appendElement(t,uF.HTML),t.ackSelfClosing=!0;break;case uj.TITLE:e._switchToTextParsing(t,eK.RCDATA);break;case uj.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eK.RAWTEXT):(e._insertElement(t,uF.HTML),e.insertionMode=uq.IN_HEAD_NO_SCRIPT);break;case uj.NOFRAMES:case uj.STYLE:e._switchToTextParsing(t,eK.RAWTEXT);break;case uj.SCRIPT:e._switchToTextParsing(t,eK.SCRIPT_DATA);break;case uj.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=uq.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(uq.IN_TEMPLATE);break;case uj.HEAD:e._err(t,uO.misplacedStartTagForHeadElement);break;default:tw(e,t)}}function tv(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==uj.TEMPLATE&&e._err(t,uO.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(uj.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,uO.endTagWithoutMatchingOpenElement)}
1function tw(e,t){e.openElements.pop(),e.insertionMode=uq.AFTER_HEAD,e._processToken(t)}function tM(e,t){let n=t.type===uL.EOF?uO.openElementsLeftAfterEof:uO.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=uq.IN_HEAD,e._processToken(t)}function tP(e,t){e._insertFakeElement(uG.BODY,uj.BODY),e.insertionMode=uq.IN_BODY,tB(e,t)}function tB(e,t){switch(t.type){case uL.CHARACTER:tH(e,t);break;case uL.WHITESPACE_CHARACTER:tF(e,t);break;case uL.COMMENT:tI(e,t);break;case uL.START_TAG:tY(e,t);break;case uL.END_TAG:t$(e,t);break;case uL.EOF:tV(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,uF.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tG(e){let t=eH(e,uH.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,uF.HTML)}function tY(e,t){switch(t.tagID){case uj.I:case uj.S:case uj.B:case uj.U:case uj.EM:case uj.TT:case uj.BIG:case uj.CODE:case uj.FONT:case uj.SMALL:case uj.STRIKE:case uj.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,uF.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case uj.A:let n;(n=e.activeFormattingElements.getElementEntryInScopeWithTagName(uG.A))&&(tS(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,uF.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case uj.H1:case uj.H2:case uj.H3:case uj.H4:case uj.H5:case uj.H6:e.openElements.hasInButtonScope(uj.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&eW.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,uF.HTML);break;case uj.P:case uj.DL:case uj.OL:case uj.UL:case uj.DIV:case uj.DIR:case uj.NAV:case uj.MAIN:case uj.MENU:case uj.ASIDE:case uj.CENTER:case uj.FIGURE:case uj.FOOTER:case uj.HEADER:case uj.HGROUP:case uj.DIALOG:case uj.DETAILS:case uj.ADDRESS:case uj.ARTICLE:case uj.SEARCH:case uj.SECTION:case uj.SUMMARY:case uj.FIELDSET:case uj.BLOCKQUOTE:case uj.FIGCAPTION:e.openElements.hasInButtonScope(uj.P)&&e._closePElement(),e._insertElement(t,uF.HTML);break;case uj.LI:case uj.DD:case uj.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===uj.LI&&n===uj.LI||(r===uj.DD||r===uj.DT)&&(n===uj.DD||n===uj.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==uj.ADDRESS&&n!==uj.DIV&&n!==uj.P&&e._isSpecialElement(e.openElements.items[t],n))break}e.openElements.hasInButtonScope(uj.P)&&e._closePElement(),e._insertElement(t,uF.HTML);break;case uj.BR:case uj.IMG:case uj.WBR:case uj.AREA:case uj.EMBED:case uj.KEYGEN:tU(e,t);break;case uj.HR:e.openElements.hasInButtonScope(uj.P)&&e._closePElement(),e._appendElement(t,uF.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case uj.RB:case uj.RTC:e.openElements.hasInScope(uj.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,uF.HTML);break;case uj.RT:case uj.RP:e.openElements.hasInScope(uj.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(uj.RTC),e._insertElement(t,uF.HTML);break;case uj.PRE:case uj.LISTING:e.openElements.hasInButtonScope(uj.P)&&e._closePElement(),e._insertElement(t,uF.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case uj.XMP:e.openElements.hasInButtonScope(uj.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eK.RAWTEXT);break;case uj.SVG:e._reconstructActiveFormattingElements(),tA(t),t_(t),t.selfClosing?e._appendElement(t,uF.SVG):e._insertElement(t,uF.SVG),t.ackSelfClosing=!0;break;case uj.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case uj.BASE:case uj.LINK:case uj.META:case uj.STYLE:case uj.TITLE:case uj.SCRIPT:case uj.BGSOUND:case uj.BASEFONT:case uj.TEMPLATE:tL(e,t);break;case uj.BODY:let i;(i=e.openElements.tryPeekProperlyNestedBodyElement())&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(i,t.attrs));break;case uj.FORM:let a;a=e.openElements.tmplCount>0,(!e.formElement||a)&&(e.openElements.hasInButtonScope(uj.P)&&e._closePElement(),e._insertElement(t,uF.HTML),a||(e.formElement=e.openElements.current));break;case uj.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(uj.NOBR)&&(tS(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,uF.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case uj.MATH:e._reconstructActiveFormattingElements(),tk(t),t_(t),t.selfClosing?e._appendElement(t,uF.MATHML):e._insertElement(t,uF.MATHML),t.ackSelfClosing=!0;break;case uj.TABLE:e.treeAdapter.getDocumentMode(e.document)!==uU.QUIRKS&&e.openElements.hasInButtonScope(uj.P)&&e._closePElement(),e._insertElement(t,uF.HTML),e.framesetOk=!1,e.insertionMode=uq.IN_TABLE;break;case uj.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,uF.HTML),tG(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case uj.PARAM:case uj.TRACK:case uj.SOURCE:e._appendElement(t,uF.HTML),t.ackSelfClosing=!0;break;case uj.IMAGE:t.tagName=uG.IMG,t.tagID=uj.IMG,tU(e,t);break;case uj.BUTTON:e.openElements.hasInScope(uj.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(uj.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,uF.HTML),e.framesetOk=!1;break;case uj.APPLET:case uj.OBJECT:case uj.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,uF.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case uj.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eK.RAWTEXT);break;case uj.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,uF.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===uq.IN_TABLE||e.insertionMode===uq.IN_CAPTION||e.insertionMode===uq.IN_TABLE_BODY||e.insertionMode===uq.IN_ROW||e.insertionMode===uq.IN_CELL?uq.IN_SELECT_IN_TABLE:uq.IN_SELECT;break;case uj.OPTION:case uj.OPTGROUP:e.openElements.currentTagId===uj.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,uF.HTML);break;case uj.NOEMBED:case uj.NOFRAMES:tj(e,t);break;case uj.FRAMESET:let s;s=e.openElements.tryPeekProperlyNestedBodyElement(),e.framesetOk&&s&&(e.treeAdapter.detachNode(s),e.o
1penElements.popAllUpToHtmlElement(),e._insertElement(t,uF.HTML),e.insertionMode=uq.IN_FRAMESET);break;case uj.TEXTAREA:e._insertElement(t,uF.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eK.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=uq.TEXT;break;case uj.NOSCRIPT:e.options.scriptingEnabled?tj(e,t):tz(e,t);break;case uj.PLAINTEXT:e.openElements.hasInButtonScope(uj.P)&&e._closePElement(),e._insertElement(t,uF.HTML),e.tokenizer.state=eK.PLAINTEXT;break;case uj.COL:case uj.TH:case uj.TD:case uj.TR:case uj.HEAD:case uj.FRAME:case uj.TBODY:case uj.TFOOT:case uj.THEAD:case uj.CAPTION:case uj.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!==uj.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 t$(e,t){switch(t.tagID){case uj.A:case uj.B:case uj.I:case uj.S:case uj.U:case uj.EM:case uj.TT:case uj.BIG:case uj.CODE:case uj.FONT:case uj.NOBR:case uj.SMALL:case uj.STRIKE:case uj.STRONG:tS(e,t);break;case uj.P:e.openElements.hasInButtonScope(uj.P)||e._insertFakeElement(uG.P,uj.P),e._closePElement();break;case uj.DL:case uj.UL:case uj.OL:case uj.DIR:case uj.DIV:case uj.NAV:case uj.PRE:case uj.MAIN:case uj.MENU:case uj.ASIDE:case uj.BUTTON:case uj.CENTER:case uj.FIGURE:case uj.FOOTER:case uj.HEADER:case uj.HGROUP:case uj.DIALOG:case uj.ADDRESS:case uj.ARTICLE:case uj.DETAILS:case uj.SEARCH:case uj.SECTION:case uj.SUMMARY:case uj.LISTING:case uj.FIELDSET:case uj.BLOCKQUOTE:case uj.FIGCAPTION:let n;n=t.tagID,e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n));break;case uj.LI:e.openElements.hasInListItemScope(uj.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(uj.LI),e.openElements.popUntilTagNamePopped(uj.LI));break;case uj.DD:case uj.DT:let r;r=t.tagID,e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r));break;case uj.H1:case uj.H2:case uj.H3:case uj.H4:case uj.H5:case uj.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case uj.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(uG.BR,uj.BR),e.openElements.pop(),e.framesetOk=!1;break;case uj.BODY:if(e.openElements.hasInScope(uj.BODY)&&(e.insertionMode=uq.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}break;case uj.HTML:e.openElements.hasInScope(uj.BODY)&&(e.insertionMode=uq.AFTER_BODY,nt(e,t));break;case uj.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(uj.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(uj.FORM):n&&e.openElements.remove(n))}(e);break;case uj.APPLET:case uj.OBJECT:case uj.MARQUEE:let i;i=t.tagID,e.openElements.hasInScope(i)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(i),e.activeFormattingElements.clearToLastMarker());break;case uj.TEMPLATE:tv(e,t);break;default:tq(e,t)}}function tV(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=uq.IN_TABLE_TEXT,t.type){case uL.CHARACTER:tJ(e,t);break;case uL.WHITESPACE_CHARACTER:tZ(e,t)}else tX(e,t)}function tQ(e,t){switch(t.tagID){case uj.TD:case uj.TH:case uj.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(uG.TBODY,uj.TBODY),e.insertionMode=uq.IN_TABLE_BODY,t3(e,t);break;case uj.STYLE:case uj.SCRIPT:case uj.TEMPLATE:tL(e,t);break;case uj.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(uG.COLGROUP,uj.COLGROUP),e.insertionMode=uq.IN_COLUMN_GROUP,t2(e,t);break;case uj.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,uF.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case uj.TABLE:e.openElements.hasInTableScope(uj.TABLE)&&(e.openElements.popUntilTagNamePopped(uj.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case uj.TBODY:case uj.TFOOT:case uj.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,uF.HTML),e.insertionMode=uq.IN_TABLE_BODY;break;case uj.INPUT:tG(t)?e._appendElement(t,uF.HTML):tX(e,t),t.ackSelfClosing=!0;break;case uj.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,uF.HTML),e.insertionMode=uq.IN_CAPTION;break;case uj.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,uF.HTML),e.insertionMode=uq.IN_COLUMN_GROUP;break;default:tX(e,t)}}function tK(e,t){switch(t.tagID){case uj.TABLE:e.openElements.hasInTableScope(uj.TABLE)&&(e.openElements.popUntilTagNamePopped(uj.TABLE),e._resetInsertionMode());break;case uj.TEMPLATE:tv(e,t);break;case uj.BODY:case uj.CAPTION:case uj.COL:case uj.COLGROUP:case uj.HTML:case uj.TBODY:case uj.TD:case uj.TFOOT:case uj.TH:case uj.THEAD:case uj.TR:break;default:tX(e,t)}}function tX(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,tB(e,t),e.fosterParentingEnabled=n}
vendor: 4,740 bytes, line 1
1function 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([uj.CAPTION,uj.COL,uj.COLGROUP,uj.TBODY,uj.TD,uj.TFOOT,uj.TH,uj.THEAD,uj.TR]);function t2(e,t){switch(t.tagID){case uj.HTML:tY(e,t);break;case uj.COL:e._appendElement(t,uF.HTML),t.ackSelfClosing=!0;break;case uj.TEMPLATE:tL(e,t);break;default:t5(e,t)}}function t5(e,t){e.openElements.currentTagId===uj.COLGROUP&&(e.openElements.pop(),e.insertionMode=uq.IN_TABLE,e._processToken(t))}function t3(e,t){switch(t.tagID){case uj.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,uF.HTML),e.insertionMode=uq.IN_ROW;break;case uj.TH:case uj.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(uG.TR,uj.TR),e.insertionMode=uq.IN_ROW,t9(e,t);break;case uj.CAPTION:case uj.COL:case uj.COLGROUP:case uj.TBODY:case uj.TFOOT:case uj.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=uq.IN_TABLE,tQ(e,t));break;default:tQ(e,t)}}function t4(e,t){let n=t.tagID;switch(t.tagID){case uj.TBODY:case uj.TFOOT:case uj.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=uq.IN_TABLE);break;case uj.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=uq.IN_TABLE,tK(e,t));break;case uj.BODY:case uj.CAPTION:case uj.COL:case uj.COLGROUP:case uj.HTML:case uj.TD:case uj.TH:case uj.TR:break;default:tK(e,t)}}function t9(e,t){switch(t.tagID){case uj.TH:case uj.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,uF.HTML),e.insertionMode=uq.IN_CELL,e.activeFormattingElements.insertMarker();break;case uj.CAPTION:case uj.COL:case uj.COLGROUP:case uj.TBODY:case uj.TFOOT:case uj.THEAD:case uj.TR:e.openElements.hasInTableScope(uj.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=uq.IN_TABLE_BODY,t3(e,t));break;default:tQ(e,t)}}function t6(e,t){switch(t.tagID){case uj.TR:e.openElements.hasInTableScope(uj.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=uq.IN_TABLE_BODY);break;case uj.TABLE:e.openElements.hasInTableScope(uj.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=uq.IN_TABLE_BODY,t4(e,t));break;case uj.TBODY:case uj.TFOOT:case uj.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(uj.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=uq.IN_TABLE_BODY,t4(e,t));break;case uj.BODY:case uj.CAPTION:case uj.COL:case uj.COLGROUP:case uj.HTML:case uj.TD:case uj.TH:break;default:tK(e,t)}}function t7(e,t){switch(t.tagID){case uj.HTML:tY(e,t);break;case uj.OPTION:e.openElements.currentTagId===uj.OPTION&&e.openElements.pop(),e._insertElement(t,uF.HTML);break;case uj.OPTGROUP:e.openElements.currentTagId===uj.OPTION&&e.openElements.pop(),e.openElements.currentTagId===uj.OPTGROUP&&e.openElements.pop(),e._insertElement(t,uF.HTML);break;case uj.HR:e.openElements.currentTagId===uj.OPTION&&e.openElements.pop(),e.openElements.currentTagId===uj.OPTGROUP&&e.openElements.pop(),e._appendElement(t,uF.HTML),t.ackSelfClosing=!0;break;case uj.INPUT:case uj.KEYGEN:case uj.TEXTAREA:case uj.SELECT:e.openElements.hasInSelectScope(uj.SELECT)&&(e.openElements.popUntilTagNamePopped(uj.SELECT),e._resetInsertionMode(),t.tagID!==uj.SELECT&&e._processStartTag(t));break;case uj.SCRIPT:case uj.TEMPLATE:tL(e,t)}}function t8(e,t){switch(t.tagID){case uj.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===uj.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===uj.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===uj.OPTGROUP&&e.openElements.pop();break;case uj.OPTION:e.openElements.currentTagId===uj.OPTION&&e.openElements.pop();break;case uj.SELECT:e.openElements.hasInSelectScope(uj.SELECT)&&(e.openElements.popUntilTagNamePopped(uj.SELECT),e._resetInsertionMode());break;case uj.TEMPLATE:tv(e,t)}}function ne(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(uj.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):tx(e,t)}function nt(e,t){var n;if(t.tagID===uj.HTML){if(e.fragmentContext||(e.insertionMode=uq.AFT
1ER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===uj.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=uq.IN_BODY,tB(e,t)}function nr(e,t){e.insertionMode=uq.IN_BODY,tB(e,t)}function ni(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==uF.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}uG.AREA,uG.BASE,uG.BASEFONT,uG.BGSOUND,uG.BR,uG.COL,uG.EMBED,uG.FRAME,uG.HR,uG.IMG,uG.INPUT,uG.KEYGEN,uG.LINK,uG.META,uG.PARAM,uG.SOURCE,uG.TRACK,uG.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,nd=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),np={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:nA,doctype:nk,raw:n_},unknown:nb}),c={parser:s?new tN(np):tN.getFragmentParser(void 0,np),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(),ek({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&&eR.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 nk(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 nA(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),nA({type:"comment",value:{stitch:r}},t)}else{let t="";
1throw nd.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 nR(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=nO(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:nO(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 nO(e,t){let n=[];if(Array.isArray(t)){let r=-1;for(;++r<t.length;){let i=nR(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=nR({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}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 n$(e){return null!==e&&(e<0||32===e)}function nV(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))}}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(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;){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,n9],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,n6]],{ignore:["link","linkReference"]})}function n9(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 n6(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];
1S(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(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 rd(e){this.enter({type:"delete",children:[]},e)}function rp(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"~"};function rE(e){return null===e||n$(e)||nQ(e)?1:nW(e)?2:void 0}let rT={};function rk(e,t){let n=t||rT;return rA(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function rA(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]=rA(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(),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,rR));let n=this.stack[this.stack.length-1];S(n.type),n.value=t,this.exit(e)}function rR(e,t){return"|"===t?t:e}function rO(e){let t=this.stack[this.stack.length-2];S(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(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}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||n$(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||n$(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||n$(s)||nQ(s)?t(s):n(s)}function i(e){return null===e||40===e||91===e||n$(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)||n$(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},r$={},rV=48;for(;rV<123;)r$[rV]=rq,58==++rV?rV=65:91===rV&&(rV=97);function rW(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||n$(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 nV(r)?(e.enter(n),function r(s){return nV(s)&&a++<i?(e.consume(s),r):(e.exit(n),t(s))}(r)):t(r)}}r$[43]=rq,r$[45]=rq,r$[46]=rq,r$[95]=rq,r$[72]=[rq,rY],r$[104]=[rq,rY],r$[87]=[rq,rz],r$[119]=[rq,rz];let r0={partial:!0,tokenize:function(e,t,n){return function(t){return nV(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||n$(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 n$(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||n$(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 n$(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,d,"gfmFootnoteDefinitionWhitespace")):n(t)}function d(e){return t(e)}}function r9(e,t,n){return e.check(r0,t,e.attempt(r1,t,n))}function r6(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}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):nV(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||n$(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,nV(t))?rJ(e,d,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):d(t)}function d(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),p):n(t)}function p(t){return nV(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 nV(t)?rJ(e,E,"whitespace")(t):E(t)}function E(i){if(124===i)return d(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"),k(t)}function k(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),k):null===n||nq(n)?(e.exit("tableRow"),t(n)):nV(n)?rJ(e,k,"whitespace")(n):(e.enter("data"),A(n))}function A(t){return null===t||124===t||n$(t)?(e.exit("data"),k(t)):(e.consume(t),92===t?_:A)}function _(t){return 92===t||124===t?(e.consume(t),A):A(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,d=new r8;for(;++a<e.length;){let p=e[a],m=p[1];
1"enter"===p[0]?"tableHead"===m.type?(u=!1,0!==h&&(ii(d,t,h,n,r),r=void 0,h=0),n={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},d.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)},d.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(d,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(d,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(d,t,l,o,a,i)):0!==c[1]&&(i=ir(d,t,c,o,a,i)),o=0):o&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)&&(c[3]=a)}for(0!==h&&ii(d,t,h,n,r),d.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":"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 n$(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):nV(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,id=Object.getOwnPropertySymbols,ip=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={}))ip.call(t,n)&&ig(e,n,t[n]);if(id)for(var n of id(t))im.call(t,n)&&ig(e,n,t[n]);return e},iT=null,ik=(e,t)=>{let n=iT;return(null===n||n.text!==e)&&(iT=n={text:e,lookup:(e=>{let t=new Uint8Array(e.length+1),n=!1,r=!1,i=0;for(;i<e.length;){if("\\"===e[i]&&i+1<e.length&&"`"===e[i+1]){let e=n||r?1:0;t[i+1]=e,t[i+2]=e,i+=2;continue}if("```"===e.substring(i,i+3)){r=!r;let a=n||r?1:0,s=Math.min(i+3,e.length);for(let e=i+1;e<=s;e+=1)t[e]=a;i=s;continue}r||"`"!==e[i]||(n=!n),t[i+1]=n||r?1:0,i+=1}return t})(e)}),1===n.lookup[Math.min(t,e.length)]},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},i_=(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},ib=/^(\s*(?:[-*+]|\d+[.)]) +)>(=?\s*[$]?\d)/gm,iy=/(\*\*)([^*]*\*?)$/,iC=/(__)([^_]*?)$/,iN=/(\*\*\*)([^*]*?)$/,iS=/(\*)([^*]*?)$/,iI=/(_)([^_]*?)$/,ix=/(`)([^`]*?)$/,iD=/(~~)([^~]*?)$/,iR=/^[\s_~*`]*$/,iO=/^[\s]*[-*+][\s]+$/,iL=/[\p{L}\p{N}_]/u,iv=/^```[^`\n]*```?$/,iw=/^\*{4,}$/,iM=/(__)([^_]+)_$/,iP=/(~~)([^~]+)~$/,iB=/~~/g,iF=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||iL.test(e)},iH=(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},iU=e=>"inlineLatex"===e||"blockLatex"===e,iG=(e,t)=>
1"["===t&&"none"===e?"blockLatex":"]"===t&&"blockLatex"===e?"none":"("===t&&"none"===e?"inlineLatex":")"===t&&"inlineLatex"===e?"none":null,ij=(e,t)=>t?"blockDollar"===e?"none":"blockDollar":"blockDollar"===e?e:"inlineDollar"===e?"none":"inlineDollar",iz=(e,t)=>{let n="none";for(let r=0;r<e.length&&r<t;r+=1){if("\\"===e[r]&&"$"===e[r+1]){r+=1;continue}if("\\"===e[r]){let t=iG(n,e[r+1]);if(null!==t){n=t,r+=1;continue}}if("$"===e[r]&&!iU(n)){let t="$"===e[r+1];n=ij(n,t),t&&(r+=1)}}return"none"!==n},iY=(e,t)=>{for(let n=t;n<e.length;n+=1){if(")"===e[n])return!0;if(e[n]===` 2`)break}return!1},iq=(e,t)=>{for(let n=t-1;n>=0&&")"!==e[n];n-=1){if("("===e[n])return n>0&&"]"===e[n-1]&&iY(e,t);if(e[n]===` 3`)break}return!1},i$=(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},iV=e=>e.includes("$")||e.includes("\\(")||e.includes("\\["),iW=(e,t,n,r)=>!!("\\"===n||iV(e)&&iz(e,t))||("*"!==n&&"*"===r?(t<e.length-2?e[t+2]:"")!=="*":"*"===n||(!n||" "===n||" "===n||n===` 6`)&&(!r||" "===r||" "===r||r===` 7`)),iQ=e=>" "===e||" "===e||e===` 8`,iK=(e,t,n,r)=>{let i=!!(e&&t&&iF(e)&&iF(t)),a=!!t&&!iQ(t),s=!!e&&!iQ(e);return i&&n%2==0&&!r?{count:!1}:s&&n%2==1||a?{count:!0,inWordAsteriskChain:i}:{count:!1}},iX=e=>{let t=0,n=!1,r=!1,i=e.length;for(let a=0;a<i;a+=1){if("`"===e[a]&&a+2<i&&"`"===e[a+1]&&"`"===e[a+2]){n=!n,a+=2;continue}if(n)continue;if("*"!==e[a]){iF(e[a])||(r=!1);continue}let s=a>0?e[a-1]:"",o=a<i-1?e[a+1]:"";if(iW(e,a,s,o))continue;let l=iK(s,o,t,r);l.count&&(t+=1,r=l.inWordAsteriskChain)}return t},iZ=(e,t,n,r)=>!!("\\"===n||iV(e)&&iz(e,t)||iq(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]===` 9`)break}return!1})(e,t)||"_"===n||"_"===r||n&&r&&iF(n)&&iF(r)),iJ=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},i0=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},i1=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]&&!iz(e,n)&&!iq(e,n)){let t=n>0?e[n-1]:"",r=n<e.length-1?e[n+1]:"";if(t&&r&&iF(t)&&iF(r))continue;return n}}return -1},i2=/<[a-zA-Z/][^>]*$/,i5=(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),i3=(e,t,n)=>{let r=t>0&&"!"===e[t-1],i=r?t-1:t;if(!e.substring(t+1).includes("]")||-1===iH(e,t)){let a=e.substring(0,i);if(r)return a;
9if("text-only"===n){let n=((e,t)=>{for(let n=0;n<t;n++)if("["===e[n]&&!ik(e,n)){if(n>0&&"!"===e[n-1])continue;let t=iH(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},i4=(e,t="protocol")=>{let n=e.lastIndexOf("](");if(-1!==n&&!ik(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||ik(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]&&!ik(e,n)){let r=i3(e,n,t);if(null!==r)return r}return e},i9=/^-{1,2}$/,i6=/^[\s]*-{1,2}[\s]+$/,i7=/^={1,2}$/,i8=/^[\s]*={1,2}[\s]+$/,ae=/([\p{L}\p{N}_])~(?!~)(?=[\p{L}\p{N}_])/gu,at=[{handler:{name:"singleTilde",handle:e=>e&&"string"==typeof e&&e.includes("~")?e.replace(ae,(t,n,r)=>ik(e,r+n.length)?t:`${n}\\~`):e,priority:0},optionKey:"singleTilde"},{handler:{name:"comparisonOperators",handle:e=>e&&"string"==typeof e&&e.includes(">")?e.replace(ib,(t,n,r,i)=>ik(e,i)?t:`${n}\\>${r}`):e,priority:5},optionKey:"comparisonOperators"},{handler:{name:"htmlTags",handle:e=>{let t=e.match(i2);return!t||void 0===t.index||ik(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(` 10`);if(-1===t)return e;let n=e.substring(t+1),r=e.substring(0,t),i=n.trim();if(i9.test(i)&&!n.match(i6)){let t=r.split(` 11`).at(-1);if(t&&t.trim().length>0)return`${e}\u200B`}if(i7.test(i)&&!n.match(i8)){let t=r.split(` 12`).at(-1);if(t&&t.trim().length>0)return`${e}\u200B`}return e},priority:15},optionKey:"setextHeadings"},{handler:{name:"links",handle:i4,priority:20},optionKey:"links",earlyReturn:e=>e.endsWith("](streamdown:incomplete-link)")},{handler:{name:"boldItalic",handle:e=>{let t,n;if(iw.test(e))return e;let r=e.match(iN);if(!r)return e;let i=r[2],a=e.lastIndexOf(r[1]);return!i||iR.test(i)||ik(e,a)||i_(e,a)||i$(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=iJ(e),n=iX(e),t%2==0&&n%2==0)?e:`${e}***`:e},priority:30},optionKey:"boldItalic"},{handler:{name:"bold",handle:e=>{let t=e.match(iy);if(!t)return e;let n=t[2],r=e.lastIndexOf(t[1]);return ik(e,r)||i_(e,r)||((e,t,n)=>{if(!t||iR.test(t))return!0;let r=e.substring(0,n).lastIndexOf(` 13`),i=e.substring(-1===r?0:r+1,n);return!!(iO.test(i)&&t.includes(` 14`))||i$(e,n,"*")})(e,n,r)?e:iJ(e)%2==1?n.endsWith("*")?`${e}*`:`${e}**`:e},priority:35},optionKey:"bold"},{handler:{name:"italicDoubleUnderscore",handle:e=>{let t=e.match(iC);if(!t){let t=e.match(iM);if(t){let n=e.lastIndexOf(t[1]);if(!(ik(e,n)||i_(e,n))&&i0(e)%2==1)return`${e}_`}return e}let n=t[2],r=e.lastIndexOf(t[1]);return ik(e,r)||i_(e,r)||((e,t,n)=>{if(!t||iR.test(t))return!0;let r=e.substring(0,n).lastIndexOf(` 15`),i=e.substring(-1===r?0:r+1,n);return!!(iO.test(i)&&t.includes(` 16`))||i$(e,n,"_")})(e,n,r)?e:i0(e)%2==1?`${e}__`:e},priority:40},optionKey:"italic"},{handler:{name:"italicSingleAsterisk",handle:e=>{if(!e.match(iS))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]&&!iz(e,n)){let t=n>0?e[n-1]:"",r=n<e.length-1?e[n+1]:"",i=!t||iQ(t),a=!r||iQ(r);if(i&&a||t&&r&&iF(t)&&iF(r)||a)continue;return n}}return -1})(e);if(-1===t||ik(e,t)||i_(e,t))return e;let n=e.substring(t+1);return!n||iR.test(n)?e:iX(e)%2==1?`${e}*`:e},priority:41},optionKey:"italic"},{handler:{name:"italicSingleUnderscore",handle:e=>{if(!e.match(iI))return e;let t=i1(e);if(-1===t)return e;let n=e.substring(t+1);if(!n||iR.test(n)||ik(e,t)||i_(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]:"";iZ(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(iJ(t)%2!=1)return null;let n=t.indexOf("**"),r=i1(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]===` 17`;)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(iv)||e.includes(` 18`)?null:e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e;if(null!==t)return t;let n=e.match(ix);if(n&&(e.match(/```/g)||[]).length%2!=1){let t=n[2];if(!t||iR.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(iD);if(r){let n=r[2];if(!n||iR.test(n))return e;let i=e.lastIndexOf(r[1]);if(ik(e,i)||i_(e,i))return e;if((null==(t=e.match(iB))?void 0:t.length)%2==1)return`${e}~~`}else{let t=e.match(iP);if(t){let r=e.lastIndexOf(t[0].slice(0,2));if(ik(e,r)||i_(e,r))return e;if((null==(n=e.match(iB))?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]||i5(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(` 19`,t)||e.endsWith(` 20`)?`${e}$$`:`${e} 21$$`})(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]&&!i5(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"}],an=e.i(7284),ar=e.i(408311),ai=e.i(933755),aa=e.i(67934);let as=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ao=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,al={};function ac(e,t){return((t||al).jsx?ao:as).test(e)}let au=/[ \t\n\f\r]/g;function ah(e){return""===e.replace(au,"")}let ad={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 ap=e.i(763185);function am(e){return e&&"object"==typeof e?"position"in e||"type"in e?ag(e.position):"start"in e||"end"in e?ag(e):"line"in e||"column"in e?af(e):"":""}function af(e){return aE(e&&e.line)+":"+aE(e&&e.column)}function ag(e){return af(e&&e.start)+"-"+af(e&&e.end)}function aE(e){return e&&"number"==typeof e?e:1}
21class aT 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=am(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}}aT.prototype.file="",aT.prototype.name="",aT.prototype.reason="",aT.prototype.message="",aT.prototype.stack="",aT.prototype.column=void 0,aT.prototype.line=void 0,aT.prototype.ancestors=void 0,aT.prototype.cause=void 0,aT.prototype.fatal=void 0,aT.prototype.place=void 0,aT.prototype.ruleId=void 0,aT.prototype.source=void 0;let ak={}.hasOwnProperty,aA=new Map,a_=/[A-Z]/g,ab=new Set(["table","tbody","thead","tfoot","tr"]),ay=new Set(["td","th"]),aC="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function aN(e,t,n){var r,i,a,s,o,l,c,u,h;let d,p,m,f,g,E,T,k,A,_,b;return"element"===t.type?(r=e,i=t,a=n,p=d=r.schema,"svg"===i.tagName.toLowerCase()&&"html"===d.space&&(r.schema=J),r.ancestors.push(i),m=aD(r,i.tagName,!1),f=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&ak.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,ap.default)(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new aT("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=aC+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)ak.call(e,t)&&(n[function(e){let t=e.replace(a_,aO);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?ad[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&&ay.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=ax(r,i),ab.has(i.tagName)&&(g=g.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&ah(e.value):ah(e))})),aS(r,f,m,i),aI(f,g),r.ancestors.pop(),r.schema=d,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(n.type),e.evaluater.evaluateExpression(n.expression)}aR(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),k=null===o.name?s.Fragment:aD(s,o.name,!0),A=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(t.type);let i=t.expression;S(i.type);let a=i.properties[0];S(a.type),Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else aR(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(t.type),i=e.evaluater.evaluateExpression(t.expression)}else aR(e,t.position);else i=null===r.value||r.value;n[a]=i}return n}(s,o),_=ax(s,o),aS(s,A,k,o),aI(A,_),s.ancestors.pop(),s.schema=E,s.create(o,k,A,l)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);aR(e,t.position)}(e,t):"root"===t.type?(c=e,u=t,h=n,aI(b={},ax(c,u)),c.create(u,c.Fragment,b,h)):"text"===t.type?t.value:void 0}function aS(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function aI(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function ax(e,t){let n=[],r=-1,i=e.passKeys?new Map:aA;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=aN(e,s,a);void 0!==o&&n.push(o)}return n}
21function aD(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),i=-1;for(;++i<n.length;){let t=ac(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(),r=e}else r=ac(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 ak.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);aR(e)}function aR(e,t){let n=new aT("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=aC+"#cannot-handle-mdx-estrees-without-createevaluater",n}function aO(e){return"-"+e.toLowerCase()}let aL={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"]},av={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}},aw={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 d(n);if(t.currentConstruct&&t.currentConstruct.concrete)return m(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(aM,u,h)(n)}function u(e){return t&&E(),g(s),d(e)}function h(e){return i.parser.lazy[i.now().line]=s!==a.length,r=i.now().offset,m(e)}function d(t){return i.containerState={},e.attempt(aM,p,m)(t)}function p(e){return s++,a.push([i.currentConstruct,i.containerState]),d(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}}},aM={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 aP{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&&aB(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),aB(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),aB(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);aB(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);aB(this.left,t.reverse())}}}function aB(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 aF(e){let t,n,r,i,a,s,o,l={},c=-1,u=new aP(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={},d=-1,p=i,m=0,f=0,g=[0];for(;p;){for(;e.get(++s)[1]!==p;);o.push(s),!p._tokenizer&&(n=a.sliceStream(p),p.next||n.push(null),r&&l.defineSki
21p(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=i;++d<c.length;)"exit"===c[d][0]&&"enter"===c[d-1][0]&&c[d][1].type===c[d-1][1].type&&c[d][1].start.line!==c[d][1].end.line&&(f=d+1,g.push(f),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),d=g.length;d--;){let t=c.slice(g[d],g[d+1]),n=o.pop();u.push([n,n+t.length-1]),e.splice(n,2,t)}for(u.reverse(),d=-1;++d<u.length;)h[m+u[d][0]]=m+u[d][1],m+=u[d][1]-u[d][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;n&&(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 aH={resolve:function(e){return aF(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(aU,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}}},aU={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)}}},aG={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(aH,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)}}},aj={resolveAll:a$()},az=aq("string"),aY=aq("text");function aq(e){return{resolveAll:a$("text"===e?aV: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 a$(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 aV(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 aW={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[
21n][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},d={...e[u][1].start};aQ(h,-o),aQ(d,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:d},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 aQ(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let aK={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return nV(t)?rJ(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(aK,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 nV(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},aX={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)}}},aZ=document.createElement("i");function aJ(e){let t="&"+e+";";aZ.innerHTML=t;let n=aZ.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let a0={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||aJ(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)}}},a1={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)}}},a2={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 21
21function s(t){return e.enter("codeFencedFence"),nV(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"),nV(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"),nV(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(a1,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)):nV(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"),d}function d(t){return s>0&&nV(t)?rJ(e,p,"linePrefix",s+1)(t):p(t)}function p(t){return null===t||nq(t)?e.check(a1,u,m)(t):(e.enter("codeFlowValue"),function t(n){return null===n||nq(n)?(e.exit("codeFlowValue"),p(n)):(e.consume(n),t)}(t))}function m(n){return e.exit("codeFenced"),t(n)}}},a5={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(a3,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)}}},a3={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 a4(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"}),d(n))}function d(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?p:d)}function p(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function m(i){return!u&&(null===i||41===i||n$(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 a9(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=!nV(t)),92===t?h:u)}function h(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function a6(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 a7(e,t){let n;return function r(i){return nq(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):nV(i)?rJ(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}let a8={partial:!0,tokenize:function(e,t,n){return function(t){return n$(t)?a7(e,r)(t):n(t)};function r(t){return a6(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return nV(t)?rJ(e,a,"whitespace")(t):a(t)}function a(e){return null===e||nq(e)?t(e):n(e)}}},se=["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"],st=["pre","script","style","textarea"],sn={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)}}},sr={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)}}},si={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(sa,c,i?c:u)(t):91===t?e.attempt(ss,c,i?l:u)(t):i?c(t):u(t)}function l(t){return e.attempt(so,c,u)(t)}function c(e){return t(e)}function u(e){return r._balanced=!0,n(e)}}},sa={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 n$(t)?a7(e,i)(t):i(t)}function i(t){return 41===t?c(t):a4(e,a,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return n$(t)?a7(e,o)(t):c(t)}function s(e){return n(e)}function o(t){return 34===t||39===t||40===t?a6(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return n$(t)?a7(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)}}},ss={tokenize:function(e,t,n){let r=this;return function(t){return a9.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)}}},so={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)}}},sl={name:"labelStartImage",resolveAll:si.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)}}},sc={name:"labelStartLink",resolveAll:si.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)}}},su={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),rJ(e,t,"linePrefix")}}},sh={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"),nV(n)?rJ(e,a,"whitespace")(n):a(n))}(s)):i>=3&&(null===s||nq(s))?(e.exit("thematicBreak"),t(s)):n(s)}(s)}}},sd={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||!nV(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
21=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(sm,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,rJ(e,e.attempt(sd,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(sh,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(sp,u,c))}
21function l(e){return r.containerState.initialBlankLine=!0,a++,u(e)}function c(t){return nV(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)}}},sp={partial:!0,tokenize:function(e,t,n){let r=this;return rJ(e,function(e){let i=r.events[r.events.length-1];return!nV(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},sm={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)}},sf={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"),nV(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,a9.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 n$(t)?a7(e,o)(t):o(t)}function o(t){return a4(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(a8,c,c)(t)}function c(t){return nV(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:sd,43:sd,45:sd,48:sd,49:sd,50:sd,51:sd,52:sd,53:sd,54:sd,55:sd,56:sd,57:sd,62:aK},"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||n$(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)):nV(r)?rJ(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||n$(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(a)):n(a)}(a)}}},42:sh,45:[sf,sh],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,p):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,d):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 d(r){let i="CDATA[";return r===i.charCodeAt(s++)?(e.consume(r),s===i.length)?l.interrupt?t:C:d:n(r)}function p(t){return nF(t)?(e.consume(t),a=String.fromCharCode(t),m):n(t)}function m(s){if(null===s||47===s||62===s||n$(s)){let o=47===s,c=a.toLowerCase();return!o&&!i&&st.includes(c)?(r=1,l.interrupt?t(s):C(s)):se.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 nV(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):nV(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),k):nV(t)?(e.consume(t),T):g(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,A):nV(t)?(e.consume(t),k):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||n$(n)?T(n):(e.consume(n),t)}(t)}function A(t){return t===o?(e.consume(t),o=null,_):null===t||nq(t)?n(t):(e.consume(t),A)}function _(e){return 47===e||62===e||nV(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):nV(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),O):nq(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(sn,w,N)(t)):null===t||nq(t)?(e.exit("htmlFlowData"),N(t)):(e.consume(t),C)}function N(t){return e.check(sr,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="",R):C(t)}function R(t){if(62===t){let n=a.toLowerCase();return st.includes(n)?(e.consume(t),v):C(t)}return nF(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),R):C(t)}function O(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:sf,95:sh,96:a2,126:a2}
21,"flowInitial",0,{[-2]:a5,[-1]:a5,32:a5},"insideSpan",0,{null:[aW,aj]},"string",0,{38:a0,92:aX},"text",0,{[-5]:su,[-4]:su,[-3]:su,33:sl,38:a0,42:aW,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),A):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,p):nF(t)?(e.consume(t),E):n(t)}function c(t){return 45===t?(e.consume(t),d):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),h):nq(t)?(a=u,R(t)):(e.consume(t),u)}function h(t){return 45===t?(e.consume(t),d):u(t)}function d(e){return 62===e?D(e):45===e?h(e):u(e)}function p(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?m:p):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),f):nq(t)?(a=m,R(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,R(t)):(e.consume(t),E)}function T(t){return null===t?n(t):63===t?(e.consume(t),k):nq(t)?(a=T,R(t)):(e.consume(t),T)}function k(e){return 62===e?D(e):T(e)}function A(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,R(n)):nV(n)?(e.consume(n),t):D(n)}(t)}function b(t){return 45===t||nH(t)?(e.consume(t),b):47===t||62===t||n$(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,R(t)):nV(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,R(n)):nV(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,R(t)):nV(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,R(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||n$(t)?y(t):(e.consume(t),I)}function x(e){return 47===e||62===e||n$(e)?y(e):n(e)}function D(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),O}function O(t){return nV(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:sc,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)}}},aX],93:si,95:aW,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;
21return 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 sg=e.i(119210);let sE=/[\0\t\n\r]/g;function sT(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 sk=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function sA(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return sT(n.slice(t?2:1),t?16:10)}return aJ(n)||e}let s_={}.hasOwnProperty;function sb(e){return{line:e.line,column:e.column,offset:e.offset}}function sy(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+am({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+am({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+am({start:t.start,end:t.end})+") is still open")}function sC(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(p),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(p,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:d,characterReferenceMarkerNumeric:d,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=sT(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=aJ(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=sb(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(sk,sA),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=sb(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
21ype)&&(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(s_.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]];s_.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]||sy).call(s,void 0,e[0])}for(r.position={start:sb(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:sb(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:sb(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]||sy).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+am({start:e.start,end:e.end})+"): itâs not open");n.position.end=sb(e.end)}function l(){return rk(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:sb(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=sb(e.end)}function h(){this.data.atHardBreak=!0}function d(e){this.data.characterReferenceType=e.type}function p(){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(;!aF(e););return e}((function(e){let t={constructs:rB([sg,...(e||{}).extensions||[]]),content:n(av),defined:[],document:n(aw),flow:n(aG),lazy:{},string:n(az),text:n(aY)};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
21olumn: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(p),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=d(),c.events.push(["enter",n,c]),o.push(n),n},exit:function(e){let t=o.pop();return t.end=d(),c.events.push(["exit",t,c]),t},interrupt:m(p,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:d,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 d(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function p(e,t){t.restore()}function m(e,t){return function(n,i,a){var s;let u,h,p,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=d(),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()}},p=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?k(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,T,k)(n)}}function T(t){return e(p,m),i}function k(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,d=[];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(sE.lastIndex=c,u=(r=sE.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)d.push(-3),a=void 0;else switch(a&&(d.push(-5),a=void 0),c<u&&(d.push(e.slice(c,u)),s+=u-c),h){case 0:d.push(65533),s++;break;case 9:for(i=4*Math.ceil(s/4),d.push(-2);s++<i;)d.push(-1);break;case 10:d.push(-4),s=1;break;default:a=!0,s=1}c=u+1}return n&&(a&&d.push(-5),o&&d.push(o),d.push(null)),d})(n,r,!0))))}}function sN(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 sS(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 sI(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function sx(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 sD(e){let t=e.spread;return null==t?e.children.length>1:t}function sR(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 sO={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)}
21,footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=sN(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 sx(e,t);let i={src:sN(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:sN(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 sx(e,t);let i={href:sN(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:sN(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=sD(n[r])}return t}(n):sD(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:{}
21,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(sR(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(sR(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:sL,yaml:sL,definition:sL,footnoteDefinition:sL};function sL(){}let sv={}.hasOwnProperty,sw={};function sM(e,t){e.position&&(t.position=nu(e))}function sP(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 sB(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 sF(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function sH(e,t){let n,r,i,a,s=(n=t||sw,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=sF(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=sF(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:sP,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...sO,...n.handlers},one:function(e,t){let n=e.type,r=a.handlers[n];if(sv.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&&!(sv.call(n,"hProperties")||sv.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:sM,wrap:sB},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||sS,r=e.options.footnoteBackLabel||sI,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=sN(s.toLowerCase()),u=0,h=[],d=e.footnoteCounts.get(s);for(;void 0!==d&&++u<=d;){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 p=a[a.length-1];if(p&&"element"===p.type&&"p"===p.tagName){let e=p.children[p.children.length-1];e&&"text"===e.type?e.value+=" ":p.children.push({type:"text",value:" "}),p.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)}
21,{type:"text",value:"\n"}]}}(s),u=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return c&&(S(),u.children.push({type:"text",value:"\n"},c)),u}function sU(e,t){return e&&"run"in e?async function(n,r){let i=sH(n,{file:r,...t});await e.run(i,r)}:function(n,r){return sH(n,{file:r,...e||t})}}function sG(e){if(e)throw e}var sj=e.i(975609);function sz(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 sY=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');sW(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)},sq=function(e){let t;if(sW(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)},s$=function(e){let t;sW(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)},sV=function(...e){var t;let n,r,i,a=-1;for(;++a<e.length;)sW(e[a]),e[a]&&(i=void 0===i?e[a]:i+"/"+e[a]);return void 0===i?".":(sW(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 sW(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function sQ(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let sK=["history","path","basename","stem","extname","dirname"];class sX{constructor(e){let t,n;t=e?sQ(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<sK.length;){const e=sK[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)sK.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?sY(this.path):void 0}set basename(e){sJ(e,"basename"),sZ(e,"basename"),this.path=sV(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?sq(this.path):void 0}set dirname(e){s0(this.basename,"dirname"),this.path=sV(e||"",this.basename)}get extname(){return"string"==typeof this.path?s$(this.path):void 0}set extname(e){if(sZ(e,"extname"),s0(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=sV(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){sQ(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!sQ(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)),sJ(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?sY(this.path,this.extname):void 0}set stem(e){sJ(e,"stem"),sZ(e,"stem"),this.path=sV(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 aT(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 sZ(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function sJ(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function s0(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let s1=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},s2={}.hasOwnProperty,s5=new class e extends s1{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;
21s&&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 t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,sj.default)(!0,{},this.namespace)),t}data(e,t){return"string"==typeof e?2==arguments.length?(s9("data",this.frozen),this.namespace[e]=t,this):s2.call(this.namespace,e)&&this.namespace[e]||void 0:e?(s9("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=s8(e),n=this.parser||this.Parser;return s3("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),s3("process",this.parser||this.Parser),s4("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=s8(e),s=n.parse(a);function o(e,n){e||!n?i(e):r?r(n):(S(),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(),s3("processSync",this.parser||this.Parser),s4("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,sG(e),t=r}),s7("processSync","process",n),S(),t}run(e,t,n){s6(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();let s=s8(t);r.run(e,s,function(t,r,s){let o=r||e;t?a(t):i?i(o):(S(),n(void 0,o,s))})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){sG(e),n=t,r=!0}),s7("runSync","run",r),S(),n}stringify(e,t){this.freeze();let n=s8(t),r=this.compiler||this.Compiler;return s4("stringify",r),s6(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(s9("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,sj.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];sz(s)&&sz(r)&&(r=(0,sj.default)(!0,s,r)),n[i]=[e,r,...a]}}}}().freeze();function s3(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function s4(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function s9(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 s6(e){if(!sz(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}
21function s7(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function s8(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new sX(e)}function oe(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var ot=oe(),on={exec:()=>null};function or(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(oa.caret,"$1"),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var oi=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),oa={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)}}>`)},os=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,oo=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,ol=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,oc=or(ol).replace(/bull/g,oo).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(),ou=or(ol).replace(/bull/g,oo).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(),oh=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,od=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,op=or(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",od).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),om=or(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,oo).getRegex(),of="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",og=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,oE=or("^ {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|/?>
21)[\\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",og).replace("tag",of).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),oT=or(oh).replace("hr",os).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",of).getRegex(),ok={blockquote:or(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",oT).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:op,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:os,html:oE,lheading:oc,list:om,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:oT,table:on,text:/^[^\n]+/},oA=or("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",os).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",of).getRegex(),o_={...ok,lheading:ou,table:oA,paragraph:or(oh).replace("hr",os).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",oA).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",of).getRegex()},ob={...ok,html:or("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",og).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:on,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:or(oh).replace("hr",os).replace("heading",` *#{1,6} *[^ 22]`).replace("lheading",oc).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},oy=/^( {2,}|\\)\n(?!\s*$)/,oC=/[\p{P}\p{S}]/u,oN=/[\s\p{P}\p{S}]/u,oS=/[^\s\p{P}\p{S}]/u,oI=or(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,oN).getRegex(),ox=/(?!~)[\p{P}\p{S}]/u,oD=or(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",oi?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),oR=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,oO=or(oR,"u").replace(/punct/g,oC).getRegex(),oL=or(oR,"u").replace(/punct/g,ox).getRegex(),ov="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",ow=or(ov,"gu").replace(/notPunctSpace/g,oS).replace(/punctSpace/g,oN).replace(/punct/g,oC).getRegex(),oM=or(ov,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,ox).getRegex(),oP=or("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,oS).replace(/punctSpace/g,oN).replace(/punct/g,oC).getRegex(),oB=or(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,oC).getRegex(),oF=or("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,oS).replace(/punctSpace/g,oN).replace(/punct/g,oC).getRegex(),oH=or(/\\(punct)/,"gu").replace(/punct/g,oC).getRegex(),oU=or(/^<(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(),oG=or(og).replace("(?:-->|$)","-->").getRegex(),oj=or("^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",oG).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),oz=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,oY=or(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",oz).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),oq=or(/^!?\[(label)\]\[(ref)\]/).replace("label",oz).replace("ref",od).getRegex(),o$=or(/^!?\[(ref)\](?:\[\])?/).replace("ref",od).getRegex(),oV=or("reflink|nolink(?!\\()","g").replace("reflink",oq).replace("nolink",o$).getRegex(),oW=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,oQ={_backpedal:on,anyPunctuation:oH,autolink:oU,blockSkip:oD,br:oy,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:on,delLDelim:on,delRDelim:on,emStrongLDelim:oO,emStrongRDelimAst:ow,emStrongRDelimUnd:oP,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:oY,nolink:o$,punctuation:oI,reflink:oq,reflinkSearch:oV,tag:oj,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:on},oK={...oQ,link:or(/^!?\[(label)\]\((.*?)\)/).replace("label",oz).getRegex(),reflink:or(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",oz).getRegex()},oX={...oQ,emStrongRDelimAst:oM,emStrongLDelim:oL,delLDelim:oB,delRDelim:oF,url:or(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",oW).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:or(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",oW).getRegex()},oZ={...oX,br:or(oy).replace("{2,}","*").getRegex(),text:or(oX.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},oJ={normal:ok,gfm:o_,pedantic:ob},o0={normal:oQ,gfm:oX,breaks:oZ,pedantic:oK},o1={"&":"&","<":"<",">":">",'"':""","'":"'"},o2=e=>o1[e];function o5(e,t){if(t){if(oa.escapeTest.test(e))return e.replace(oa.escapeReplace,o2)}else if(oa.escapeTestNoEncode.test(e))return e.replace(oa.escapeReplaceNoEncode,o2);return e}function o3(e){try{e=encodeURI(e).replace(oa.percentDecode,"%")}catch{return null}return e}function o4(e,t){let n=e.replace(oa.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(oa.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(oa.slashPipe,"|");return n}function o9(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 o6(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 o7=class{options;rules;lexer;constructor(e){this.options=e||ot}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:o9(e,` 23`)}}}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(` 24`).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(` 25`)}(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();
25if(this.rules.other.endingHash.test(e)){let t=o9(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:o9(t[0],` 26`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=o9(t[0],` 27`).split(` 28`),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(` 29`),l=o.replace(this.rules.other.blockquoteSetextReplace,` 30 $1`).replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n} 31${o}`:o,r=r?`${r} 32${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+` 33`+e.join(` 34`),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+` 35`+e.join(` 36`),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(` 37`);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(` 38`,1)[0],t[1].length),c=e.split(` 39`,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+` 40`,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),d=this.rules.other.blockquoteBeginRegex(h);for(;e;){let p=e.split(` 41`,1)[0],m;if(c=p,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)||d.test(c)||t.test(c)||n.test(c))break;if(m.search(this.rules.other.nonSpaceChar)>=h||!c.trim())o+=` 42`+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+=` 43`+c}u=!c.trim(),r+=p+` 44`,e=e.substring(p.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=>
44"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=o4(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(` 45`):[],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(o4(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)===` 46`?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=o9(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)),o6(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 o6(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);
46if(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}}}},o8=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ot,this.options.tokenizer=this.options.tokenizer||new o7,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:oa,block:oJ.normal,inline:o0.normal};this.options.pedantic?(t.block=oJ.pedantic,t.inline=o0.pedantic):this.options.gfm&&(t.block=oJ.gfm,this.options.breaks?t.inline=o0.breaks:t.inline=o0.gfm),this.tokenizer.rules=t}static get rules(){return{block:oJ,inline:o0}}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(oa.carriageReturn,` 47`),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(oa.tabCharGlobal," ").replace(oa.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+=` 48`: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(` 49`)?"":` 50`)+r.raw,n.text+=` 51`+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(` 52`)?"":` 53`)+r.raw,n.text+=` 54`+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(` 55`)?"":` 56`)+r.raw,a.text+=` 57`+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(` 58`)?"":` 59`)+r.raw,n.text+=` 60`+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;
60this.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}},le=class{options;parser;constructor(e){this.options=e||ot}space(e){return""}code({text:e,lang:t,escaped:n}){let r=(t||"").match(oa.notSpaceStart)?.[0],i=e.replace(oa.endingNewline,"")+` 61`;return r?'<pre><code class="language-'+o5(r)+'">'+(n?i:o5(i,!0))+`</code></pre> 62`:"<pre><code>"+(n?i:o5(i,!0))+`</code></pre> 63`}blockquote({tokens:e}){return`<blockquote> 64${this.parser.parse(e)}</blockquote> 65`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}> 66`}hr(e){return`<hr> 67`}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+'"':"")+`> 68`+r+"</"+i+`> 69`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li> 70`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p> 71`}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> 72<thead> 73`+t+`</thead> 74`+r+`</table> 75`}tablerow({text:e}){return`<tr> 76${e}</tr> 77`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}> 78`}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>${o5(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=o3(e);if(null===i)return r;let a='<a href="'+(e=i)+'"';return t&&(a+=' title="'+o5(t)+'"'),a+=">"+r+"</a>"}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let i=o3(e);if(null===i)return o5(n);e=i;let a=`<img src="${e}" alt="${o5(n)}"`;return t&&(a+=` title="${o5(t)}"`),a+=">"}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:o5(e.text)}},lt=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}},ln=class e{options;renderer;textRenderer;constructor(e){this.options=e||ot,this.options.renderer=this.options.renderer||new le,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new lt}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}},lr=class{options;block;constructor(e){this.options=e||ot}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?o8.lex:o8.lexInline}provideParser(e=this.block){return e?ln.parse:ln.parseInline}},li=new class{defaults=oe();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=ln;Renderer=le;TextRenderer=lt;Lexer=o8;Tokenizer=o7;Hooks=lr;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:{}};
78return 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 le(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 o7(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 lr;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];lr.passThroughHooks.has(n)?t[n]=e=>{if(this.defaults.async&&lr.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 o8.lex(e,t??this.defaults)}parser(e,t){return ln.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?o8.lex:o8.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?ln.parse:ln.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?o8.lex:o8.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?ln.parse:ln.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+=` 79Please report this to https://github.com/markedjs/marked.`,e){let e="<p>An error occurred:</p><pre>"+o5(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function la(e,t){return li.parse(e,t)}la.options=la.setOptions=function(e){return li.setOptions(e),la.defaults=li.defaults,ot=la.defaults,la},la.getDefaults=oe,la.defaults=ot,la.use=function(...e){return li.use(...e),la.defaults=li.defaults,ot=la.defaults,la},la.walkTokens=function(e,t){return li.walkTokens(e,t)},la.parseInline=li.parseInline,la.Parser=ln,la.parser=ln.parse,la.Ren
79derer=le,la.TextRenderer=lt,la.Lexer=o8,la.lexer=o8.lex,la.Tokenizer=o7,la.Hooks=lr,la.parse=la,la.options,la.setOptions,la.use,la.walkTokens,la.parseInline,ln.parse,o8.lex;var ls=()=>"u"<typeof performance?Date.now():performance.now();function lo(e){var t,n;let r=null!=(t=null==e?void 0:e.now)?t:ls,i=null!=(n=null==e?void 0:e.maxBacklogMs)?n:320,a=0,s=0;return{now:r,beginPass(e){s=Math.min(Math.max(a,e),e+i)},mark:()=>s,rewind(e){s=e},take(e,t,n){if(e<=0)return{baseDelay:0,step:Math.max(0,t)};let r=Math.max(0,t),a=0===r?0:Math.min(r,4),o=Math.max(s,n),l=n+i,c=o+Math.max(0,e-1)*r,u=r;c>l&&e>1&&(u=o<l?Math.max(a,(l-o)/(e-1)):a);let h=Math.max(0,Math.round(o-n));return s=o+e*u,{baseDelay:h,step:u}},commitPass(){a=s}}}var ll=/\s/,lc=/^\s+$/,lu=new Set(["pre","svg","math","annotation"]),lh=new Set(["img","hr"]),ld=e=>"object"==typeof e&&null!==e&&"type"in e&&"element"===e.type,lp=e=>e.some(e=>ld(e)&&lu.has(e.tagName)),lm=new Set(["ul","ol","li"]),lf=e=>{for(let t of e.children)if(ld(t)){if("input"===t.tagName)return t;if(lm.has(t.tagName))continue;let e=lf(t);if(e)return e}},lg=(e,t,n,r)=>{null!=e.properties||(e.properties={}),e.properties["data-sd-animate"]=!0;let i="string"==typeof e.properties.style?`${e.properties.style};`:"";e.properties.style=`${i}--sd-animation:sd-${t.animation};--sd-duration:${n}ms;--sd-easing:${t.easing};--sd-delay:${Math.round(r)}ms`},lE=e=>{let t=[],n="",r=!1;for(let i of e){let e=ll.test(i);if(e!==r&&n){if(e){n+=i,r=!0;continue}t.push(n),n=""}n+=i,r=e}return n&&t.push(n),t},lT=e=>{let t=[],n="";for(let r of e)ll.test(r)?t.length>0&&!lc.test(t.at(-1))?t[t.length-1]+=r:n+=r:(n&&(t.push(n),n=""),t.push(r));return n&&(t.length>0?t[t.length-1]+=n:t.push(n)),t},lk=(e,t)=>!(e>0&&t<e),lA=e=>ld(e)&&lh.has(e.tagName),l_=0;function lb(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,timeline:null==e?void 0:e.timeline},c={committedCharCount:0,prevContentLength:0,lastRenderCharCount:0,pendingMark:null},u=l_++,h=()=>e=>{var t,n;let r,i,a={count:0,newIndex:0};c.prevContentLength=c.committedCharCount;let u=l.timeline,h=null!=(t=null==u?void 0:u.now())?t:ls();u&&(null===c.pendingMark?c.pendingMark=u.mark():u.rewind(c.pendingMark));let d=u?u.take((n=c.prevContentLength,r=0,i=0,o(e,e=>"text"===e.type||lA(e),(e,t)=>{if(lp(t))return s;if(lA(e)){lk(n,i)&&(r+=1),i+=1;return}let a=e.value;if(!a.trim()){i+=a.length;return}for(let e of"char"===l.sep?lT(a):lE(a)){let t=i;i+=e.length,!lc.test(e)&&lk(n,t)&&(r+=1)}}),r),l.stagger,h):{baseDelay:0,step:l.stagger};o(e,e=>"text"===e.type||lA(e),(e,t)=>{if("text"===e.type)return((e,t,n,r,i,a)=>{var o;let l=t.at(-1);if(!(l&&"children"in l))return;if(lp(t))return s;let c=l.children.indexOf(e);if(-1===c)return;let u=e.value;if(!u.trim()){i.count+=u.length;return}let h="char"===n.sep?lT(u):lE(u),d=r.prevContentLength,p=!1,m=(e=>{for(let t=e.length-1;t>=0;t--){let n=e[t];if(ld(n)&&"li"===n.tagName)return n}})(t),f=!!(m&&!(null!=(o=m.properties)&&o["data-sd-animate-marker"])),g=!1,E=h.map(e=>{var t,r,s,o;let l,c=i.count;if(i.count+=e.length,lc.test(e))return{type:"text",value:e};let u=d>0&&c<d,h=u?0:a.baseDelay+i.newIndex++*a.step;if(p=!0,m&&f&&!g){let e,r,i=u?0:n.duration;t=n.easing,null!=m.properties||(m.properties={}),m.properties["data-sd-animate-marker"]=!0,e="string"==typeof m.properties.style?`${m.properties.style};`:"",m.properties.style=`${e}--sd-marker-duration:${i}ms;--sd-marker-delay:${Math.round(h)}ms;--sd-marker-easing:${t}`,(r=lf(m))&&lg(r,n,i,h),g=!0}return r=n.animation,s=n.duration,o=n.easing,l=`--sd-animation:sd-${r};--sd-duration:${u?0:s}ms;--sd-easing:${o}`,h&&(l+=`;--sd-delay:${Math.round(h)}ms`),{type:"element",tagName:"span",properties:{"data-sd-animate":!0,style:l},children:[{type:"text",value:e}]}});return p&&(e=>{var t;for(let n=e.length-1;n>=0;n-=1){let r=e[n];if(ld(r)){if(null!=(t=r.properties)&&t["data-sd-animated"])break;r.properties={...r.properties,"data-sd-animated":!0}}}})(t),l.children.splice(c,1,...E),c+E.length})(e,t,l,c,a,d);((e,t,n,r,i,a)=>
79{if(lp(t))return;let s=r.prevContentLength,o=i.count;i.count+=1;let l=s>0&&o<s,c=l?0:a.baseDelay+i.newIndex++*a.step;lg(e,n,l?0:n.duration,c)})(e,t,l,c,a,d)}),c.lastRenderCharCount=a.count,c.prevContentLength=0};return Object.defineProperty(h,"name",{value:`rehypeAnimate$${u}`}),{name:"animate",type:"animate",rehypePlugin:h,setPrevContentLength(e){c.committedCharCount=e,c.prevContentLength=e},getLastRenderCharCount:()=>c.lastRenderCharCount,commit(){c.committedCharCount=c.lastRenderCharCount,c.pendingMark=null}}}lb();var ly=(0,t.createContext)(!1),lC=(...e)=>(0,ar.twMerge)((0,an.clsx)(e)),lN=(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)},lS=(0,t.createContext)(lC),lI=()=>(0,t.useContext)(lS),lx=e=>{if(void 0!==e&&0!==e&&e!==1/0){if("number"==typeof e)return Number.isFinite(e)&&e>0?`${e}px`:void 0;if("0"!==e&&"none"!==e&&"Infinity"!==e)return e}},lD=(e,n,r)=>{let i=(0,t.useRef)(null),a=(0,t.useRef)(!0),s=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{let e=i.current;if(!(e&&n))return;let t=()=>{a.current=e.scrollHeight-e.scrollTop-e.clientHeight<8};return e.addEventListener("scroll",t,{passive:!0}),()=>e.removeEventListener("scroll",t)},[n]),(0,t.useEffect)(()=>{e&&!s.current&&(a.current=!0),e||(a.current=!0),s.current=e},[e]),(0,t.useEffect)(()=>{let t=i.current;t&&n&&e&&a.current&&t.scrollTo({top:t.scrollHeight,behavior:"instant"})},[e,n,r]),i},lR=lC("block"),lO=lC("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"),lL=(0,t.memo)(({children:e,result:n,language:r,className:i,maxHeight:a,startLine:s,lineNumbers:o=!0,...l})=>{let c=lI(),{isAnimating:u}=(0,t.useContext)(u6),h=lx(a),d=lD(u,!!h,n),p=(0,t.useMemo)(()=>c(lO),[c]),m=(0,t.useMemo)(()=>c(lR),[c]),f=(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,ai.jsx)("div",{className:c(i,h?"overflow-y-auto":null,"overflow-x-auto rounded-md border border-border bg-background p-4 text-sm"),"data-language":r,"data-streamdown":"code-block-body",ref:d,style:h?{maxHeight:h}:void 0,...l,children:(0,ai.jsx)("pre",{className:c(i,"bg-[var(--sdm-bg,inherit)]","dark:bg-[var(--shiki-dark-bg,var(--sdm-bg,inherit))]"),style:f,children:(0,ai.jsx)("code",{className:o?c("[counter-increment:line_0] [counter-reset:line]"):void 0,style:o&&s&&s>1?{counterReset:`line ${s-1}`}:void 0,children:n.tokens.map((e,t)=>(0,ai.jsx)("span",{className:o?p:m,children:0===e.length||1===e.length&&""===e[0].content?` 80`: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,ai.jsx)("span",{className:c("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))})})})}),lv=({className:e,language:t,style:n,isIncomplete:r,...i})=>{let a=lI();return(0,ai.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})},lw=(0,t.createContext)({code:""}),lM=()=>(0,t.useContext)(lw),lP=({language:e})=>{let t=lI();return(0,ai.jsx)("div",{className:t("flex h-8 items-center text-muted-foreground text-xs"),"data-language":e,"data-streamdown":"code-block-header",children:(0,ai.jsx)("span",{className:t("ml-1 font-mono lowercase"),children:e})})},lB=(0,t.lazy)(()=>e.A(634591).then(e=>({default:e.HighlightedCodeBlockBody}))),lF=({code:e,language:n,className:r,children:i,isIncomplete:a=!1,startLine:s,lineNumbers:o,...l})=>{let c=lI(),{codeBlockMaxHeight:u}=(0,t.useContext)(u6),h=(0,t.useMemo)(()=>(e=>{let t=e.length;for(;t>0&&e[t-1]===` 81`;)t--;return e.slice(0,t)})(e),[e]),d=(0,t.useMemo)(()=>({bg:"transparent",fg:"inherit",tokens:h.split(` 82`).map(e=>[{content:e,color:"inherit",bgColor:"transparent",htmlStyle:{},offset:0}])}),[h]);return(0,ai.jsx)(lw.Provider,{value:{code:e},children:(0,ai.jsxs)(lv,{dir:"ltr",isIncomplete:a,language:n,children:[(0,ai.jsx)(lP,{language:n}),i?(0,ai.jsx)("div",{className:c("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:(0,ai.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,ai.jsx)(t.Suspense,{fallback:(0,ai.jsx)(lL,{className:r,language:n,lineNumbers:o,maxHeight:u,result:d,startLine:s,...l}),children:(0,ai.jsx)(lB,{className:r,code:h,language:n,lineNumbers:o,maxHeight:u,raw:d,startLine:s,...l})})]})})},lH={CheckIcon:e=>(0,ai.jsx)("svg",{"aria-hidden":"true",color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,ai.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,ai.jsx)("svg",{"aria-hidden":"true",color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,ai.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,ai.jsx)("svg",{"aria-hidden":"true",color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,ai.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.
8268342 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,ai.jsx)("svg",{"aria-hidden":"true",color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,ai.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,ai.jsxs)("svg",{"aria-hidden":"true",color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:[(0,ai.jsx)("path",{d:"M8 0V4",stroke:"currentColor",strokeWidth:"1.5"}),(0,ai.jsx)("path",{d:"M8 16V12",opacity:"0.5",stroke:"currentColor",strokeWidth:"1.5"}),(0,ai.jsx)("path",{d:"M3.29773 1.52783L5.64887 4.7639",opacity:"0.9",stroke:"currentColor",strokeWidth:"1.5"}),(0,ai.jsx)("path",{d:"M12.7023 1.52783L10.3511 4.7639",opacity:"0.1",stroke:"currentColor",strokeWidth:"1.5"}),(0,ai.jsx)("path",{d:"M12.7023 14.472L10.3511 11.236",opacity:"0.4",stroke:"currentColor",strokeWidth:"1.5"}),(0,ai.jsx)("path",{d:"M3.29773 14.472L5.64887 11.236",opacity:"0.6",stroke:"currentColor",strokeWidth:"1.5"}),(0,ai.jsx)("path",{d:"M15.6085 5.52783L11.8043 6.7639",opacity:"0.2",stroke:"currentColor",strokeWidth:"1.5"}),(0,ai.jsx)("path",{d:"M0.391602 10.472L4.19583 9.23598",opacity:"0.7",stroke:"currentColor",strokeWidth:"1.5"}),(0,ai.jsx)("path",{d:"M15.6085 10.4722L11.8043 9.2361",opacity:"0.3",stroke:"currentColor",strokeWidth:"1.5"}),(0,ai.jsx)("path",{d:"M0.391602 5.52783L4.19583 6.7639",opacity:"0.8",stroke:"currentColor",strokeWidth:"1.5"})]}),Maximize2Icon:e=>(0,ai.jsx)("svg",{"aria-hidden":"true",color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,ai.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,ai.jsx)("svg",{"aria-hidden":"true",color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,ai.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,ai.jsx)("svg",{"aria-hidden":"true",color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,ai.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,ai.jsx)("svg",{"aria-hidden":"true",color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,ai.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,ai.jsx)("svg",{"aria-hidden":"true",color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,ai.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"})})},lU=(0,t.createContext)(lH),lG=({icons:e,children:n})=>{let r=(0,t.useRef)(e),i=(0,t.useRef)(e?{...lH,...e}:lH);((e,t)=>
82{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?{...lH,...e}:lH);let a=i.current;return(0,ai.jsx)(lU.Provider,{value:a,children:n})},lj=()=>(0,t.useContext)(lU),lz={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",zoomIn:"Zoom in",zoomOut:"Zoom out",resetView:"Reset zoom and pan",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"},lY=(0,t.createContext)(lz),lq=()=>(0,t.useContext)(lY),l$=({onCopy:e,onError:n,timeout:r=2e3,children:i,className:a,code:s,...o})=>{let l=lI(),[c,u]=(0,t.useState)(!1),h=(0,t.useRef)(0),{code:d}=lM(),{isAnimating:p}=(0,t.useContext)(u6),m=lq(),f=null!=s?s:d,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=lj(),T=c?E.CheckIcon:E.CopyIcon;return(0,ai.jsxs)(ai.Fragment,{children:[(0,ai.jsx)("button",{"aria-label":m.copyCode,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:p,onClick:g,title:m.copyCode,type:"button",...o,children:null!=i?i:(0,ai.jsx)(T,{"aria-hidden":"true",size:14})}),c&&(0,ai.jsx)("output",{"aria-live":"polite",className:"sr-only",children:m.copied})]})},lV=(e,t,n)=>{if("boolean"==typeof e)return n;let r=e[t];if("object"!=typeof r)return n;let i=r.download;return"object"!=typeof i?n:i.filename||n},lW={"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"},lQ=({onDownload:e,onError:n,language:r,children:i,className:a,code:s,...o})=>{let l=lI(),{code:c}=lM(),{isAnimating:u,controls:h}=(0,t.useContext)(u6),d=lq(),p=lj(),m=null!=s?s:c,f=r&&r in lW?lW[r]:"txt",g=`${lV(h,"code","file")}.${f}`;return(0,ai.jsx)("button",{"aria-label":d.downloadFile,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{lN(g,m,"text/plain"),null==e||e()}catch(e){null==n||n(e)}},title:d.downloadFile,type:"button",...o,children:null!=i?i:(0,ai.jsx)(p.DownloadIcon,{size:14})})},lK=()=>{let{Loader2Icon:e}=lj(),t=lI();return(0,ai.jsxs)("div",{className:t("w-full divide-y divide-border overflow-hidden rounded-xl border border-border"),children:[(0,ai.jsx)("div",{className:t("h-[46px] w-full bg-muted/80")}),(0,ai.jsx)("div",{className:t("flex w-full items-center justify-center p-4"),children:(0,ai.jsx)(e,{className:t("size-4 animate-spin")})})]})},lX=/\.[^/.]+$/,lZ=({node:e,className:n,src:r,alt:i,onLoad:a,onError:s,showControls:o=!0,showDownloadControl:l=!0,...c})=>{let{DownloadIcon:u}=lj(),h=lI(),d=(0,t.useRef)(null),[p,m]=(0,t.useState)(!1),[f,g]=(0,t.useState)(!1),E=lq(),T=null!=c.width||null!=c.height,k=(p||T)&&!f&&o&&l,A=f&&!T;(0,t.useEffect)(()=>{let e=d.current;
82if(null!=e&&e.complete){let t=e.naturalWidth>0;m(t),g(!t)}},[]);let _=(0,t.useCallback)(e=>{m(!0),g(!1),null==a||a(e)},[a]),b=(0,t.useCallback)(e=>{m(!1),g(!0),null==s||s(e)},[s]),y=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(lX,"")}.${r}`}lN(s,e,e.type)}catch(e){window.open(r,"_blank")}};return r?(0,ai.jsxs)("div",{className:h("group relative my-4 inline-block"),"data-streamdown":"image-wrapper",children:[(0,ai.jsx)("img",{alt:i,className:h("max-w-full rounded-lg",A&&"hidden",n),"data-streamdown":"image",onError:b,onLoad:_,ref:d,src:r,...c}),A&&(0,ai.jsx)("span",{className:h("text-muted-foreground text-xs italic"),"data-streamdown":"image-fallback",children:E.imageNotAvailable}),o&&(0,ai.jsx)("div",{className:h("pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block"),"data-streamdown":"image-overlay"}),k&&(0,ai.jsx)("button",{className:h("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:y,title:E.downloadImage,type:"button",children:(0,ai.jsx)(u,{size:14})})]}):null},lJ=0,l0=()=>{1===(lJ+=1)&&(document.body.style.overflow="hidden")},l1=()=>{0===(lJ=Math.max(0,lJ-1))&&(document.body.style.overflow="")},l2=({url:e,isOpen:n,onClose:r,onConfirm:i})=>{let{CheckIcon:a,CopyIcon:s,ExternalLinkIcon:o,XIcon:l}=lj(),c=lI(),[u,h]=(0,t.useState)(!1),d=lq(),p=(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]);if((0,t.useEffect)(()=>{if(n){l0();let e=e=>{"Escape"===e.key&&r()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),l1()}}},[n,r]),!n||"u"<typeof document)return null;let f=(0,ai.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,ai.jsxs)("div",{className:c("relative mx-4 flex w-full max-w-md flex-col gap-4 roun
82ded-xl border bg-background p-6 shadow-lg"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:[(0,ai.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:d.close,type:"button",children:(0,ai.jsx)(l,{size:16})}),(0,ai.jsxs)("div",{className:c("flex flex-col gap-2"),children:[(0,ai.jsxs)("div",{className:c("flex items-center gap-2 font-semibold text-lg"),children:[(0,ai.jsx)(o,{size:20}),(0,ai.jsx)("span",{children:d.openExternalLink})]}),(0,ai.jsx)("p",{className:c("text-muted-foreground text-sm"),children:d.externalLinkWarning})]}),(0,ai.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,ai.jsxs)("div",{className:c("flex gap-2"),children:[(0,ai.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:p,type:"button",children:u?(0,ai.jsxs)(ai.Fragment,{children:[(0,ai.jsx)(a,{size:14}),(0,ai.jsx)("span",{children:d.copied})]}):(0,ai.jsxs)(ai.Fragment,{children:[(0,ai.jsx)(s,{size:14}),(0,ai.jsx)("span",{children:d.copyLink})]})}),(0,ai.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,ai.jsx)(o,{size:14}),(0,ai.jsx)("span",{children:d.openLink})]})]})]})});return(0,aa.createPortal)(f,document.body)},l5=(0,t.createContext)(null),l3=()=>(0,t.useContext)(l5),l4=()=>{var e;let t=l3();return null!=(e=null==t?void 0:t.mermaid)?e:null},l9=({chart:e,children:n,className:r,onDownload:i,config:a,onError:s})=>{let o=lI(),[l,c]=(0,t.useState)(!1),u=(0,t.useRef)(null),{isAnimating:h,controls:d}=(0,t.useContext)(u6),p=lj(),m=l4(),f=lq(),g=lV(d,"mermaid","diagram"),E=async t=>{try{if("mmd"===t){let n=`${g}.mmd`;lN(n,e,"text/plain"),c(!1),null==i||i(t);return}if(!m){null==s||s(Error("Mermaid plugin not available"));return}let r=m.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}let h=(e=>{if("u"<typeof DOMParser||"u"<typeof XMLSerializer)return e;let t=new DOMParser().parseFromString(e,"text/html").querySelector("svg");return t?new XMLSerializer().serializeToString(t):e})(u);if("svg"===t){let e=`${g}.svg`;lN(e,h,"image/svg+xml"),c(!1),null==i||i(t);return}if("png"===t){var n;let e=await (n=h,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}));lN(`${g}.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,ai.jsxs)("div",{className:o("relative"),ref:u,children:[(0,ai.jsx)("button",{"aria-label":f.downloadDiagram,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:f.downloadDiagram,type:"button",children:null!=n?n:(0,ai.jsx)(p.DownloadIcon,{"aria-hidden":"true",size:14})}),l?(0,ai.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,ai.jsx)("button",{"aria-label":f.downloadDiagramAsSvg,className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>E("svg"),title:f.downloadDiagramAsSvg,type:"button",children:f.mermaidFormatSvg}),(0,ai.jsx)("button",{"aria-label":f.downloadDiagramAsPng,className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>E("png"),title:f.downloadDiagramAsPng,type:"button",children:f.mermaidFormatPng}),(0,ai.jsx)("button",{"aria-label":f.downloadDiagramAsMmd,className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>E("mmd"),title:f.downloadDiagramAsMmd,type:"button",children:f.mermaidFormatMmd})]}):null]})},l6=({chart:e,config:n,onFullscreen:r,onExit:i,className:a,...s})=>{let{Maximize2Icon:o,XIcon:l}=lj(),c=lI(),[u,h]=(0,t.useState)(!1),{isAnimating:d,controls:p}=(0,t.useContext)(u6),m=lq(),f=(()=>
82{if("boolean"==typeof p)return p;let e=p.mermaid;return!1!==e&&(!0===e||void 0===e||!1!==e.panZoom)})(),g=(()=>{if("boolean"==typeof p)return p;let e=p.mermaid;return!1!==e&&(!0===e||void 0===e||!1!==e.download)})(),E=(()=>{if("boolean"==typeof p)return p;let e=p.mermaid;return!1!==e&&(!0===e||void 0===e||!1!==e.copy)})(),T=()=>{h(!u)};return(0,t.useEffect)(()=>{if(u){l0();let e=e=>{"Escape"===e.key&&h(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),l1()}}},[u]),(0,t.useEffect)(()=>{u?null==r||r():i&&i()},[u,r,i]),(0,ai.jsxs)(ai.Fragment,{children:[(0,ai.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:d,onClick:T,title:m.viewFullscreen,type:"button",...s,"aria-label":m.viewFullscreen,children:(0,ai.jsx)(o,{"aria-hidden":"true",size:14})}),u?(0,aa.createPortal)((0,ai.jsxs)("div",{"aria-label":m.viewFullscreen,"aria-modal":"true",className:c("fixed inset-0 z-50 flex items-center justify-center bg-background/95 backdrop-blur-sm"),"data-streamdown":"mermaid-fullscreen",onClick:T,onKeyDown:e=>{"Escape"===e.key&&T()},role:"dialog",children:[(0,ai.jsxs)("div",{className:c("absolute top-4 right-4 z-10 flex items-center gap-1"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:[g?(0,ai.jsx)(l9,{chart:e,config:n}):null,E?(0,ai.jsx)(l$,{code:e}):null,(0,ai.jsx)("button",{"aria-label":m.exitFullscreen,className:c("rounded-md p-2 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:T,title:m.exitFullscreen,type:"button",children:(0,ai.jsx)(l,{"aria-hidden":"true",size:20})})]}),(0,ai.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,ai.jsx)(ht,{chart:e,className:c("size-full [&_svg]:h-auto [&_svg]:w-auto"),config:n,fullscreen:!0,showControls:f})})]}),document.body):null]})};function l7(e){var t;return e.nodeType===Node.TEXT_NODE?null!=(t=e.textContent)?t:"":e.nodeType!==Node.ELEMENT_NODE?"":"BR"===e.tagName?` 83`:Array.from(e.childNodes).map(l7).join("")}var l8=e=>{let t=[],n=[];for(let n of e.querySelectorAll("thead th"))t.push(l7(n).trim());for(let t of e.querySelectorAll("tbody tr")){let e=[];
83for(let n of t.querySelectorAll("td"))e.push(l7(n).trim());n.push(e)}return{headers:t,rows:n}},ce=e=>{var t;if("object"!=typeof e)return",";let n=e.table;return"object"!=typeof n?",":null!=(t=n.csvSeparator)?t:","},ct=(e,t=",")=>{let n;n="auto"===t?Intl.NumberFormat().format(1.1).includes(",")?";":",":t;let{headers:r,rows:i}=e,a=e=>{let t=!1;for(let r of e)if(r===n||'"'===r||r===` 84`||"\r"===r){t=!0;break}return t?`"${e.replace(/"/g,'""')}"`:e},s=Array(r.length>0?i.length+1:i.length),o=0;for(let e of(r.length>0&&(s[o]=r.map(a).join(n),o+=1),i))s[o]=e.map(a).join(n),o+=1;return s.join(` 85`)},cn=e=>{let t=!1;for(let n of e)if("\\"===n||"|"===n||n===` 86`){t=!0;break}if(!t)return e;let n=[];for(let t of e)"\\"===t?n.push("\\\\"):"|"===t?n.push("\\|"):t===` 87`?n.push("<br>"):n.push(t);return n.join("")},cr=e=>{let{headers:t,rows:n}=e;if(0===t.length)return"";let r=Array(n.length+2),i=0,a=t.map(e=>cn(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?cn(e[r]):"";r[i]=`| ${n.join(" | ")} |`,i+=1}else{let t=e.map(e=>cn(e));r[i]=`| ${t.join(" | ")} |`,i+=1}return r.join(` 88`)},ci=({children:e,className:n,onCopy:r,onError:i,timeout:a=2e3})=>{let s=lI(),[o,l]=(0,t.useState)(!1),[c,u]=(0,t.useState)(!1),h=(0,t.useRef)(null),d=(0,t.useRef)(0),{isAnimating:p,controls:m}=(0,t.useContext)(u6),f=lq(),g=ce(m),E=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=l8(s),c="";c="csv"===e?ct(o,g):"tsv"===e?(e=>{let{headers:t,rows:n}=e,r=e=>{let t=!1;for(let n of e)if(" "===n||n===` 89`||"\r"===n){t=!0;break}if(!t)return e;let n=[];for(let t of e)" "===t?n.push("\\t"):t===` 90`?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(` 91`)})(o):cr(o);let p=new ClipboardItem({"text/plain":new Blob([c],{type:"text/plain"}),"text/html":new Blob([s.outerHTML],{type:"text/html"})});await navigator.clipboard.write([p]),u(!0),l(!1),null==r||r(e),d.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(d.current)}},[]);let T=lj(),k=c?T.CheckIcon:T.CopyIcon;return(0,ai.jsxs)("div",{className:s("relative"),ref:h,children:[(0,ai.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:p,onClick:()=>l(!o),title:f.copyTable,type:"button",children:null!=e?e:(0,ai.jsx)(k,{height:14,width:14})}),o?(0,ai.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,ai.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>E("md"),title:f.copyTableAsMarkdown,type:"button",children:f.tableFormatMarkdown}),(0,ai.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>E("csv"),title:f.copyTableAsCsv,type:"button",children:f.tableFormatCsv}),(0,ai.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>E("tsv"),title:f.copyTableAsTsv,type:"button",children:f.tableFormatTsv})]}):null]})},ca=({children:e,className:n,onDownload:r,onError:i})=>{let a=lI(),[s,o]=(0,t.useState)(!1),l=(0,t.useRef)(null),{isAnimating:c,controls:u}=(0,t.useContext)(u6),h=lq(),d=lj(),p=ce(u),m=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=l8(a),c="csv"===e?ct(s,p):cr(s),h=`${lV(u,"table","table")}.${"csv"===e?"csv":"md"}`;lN(h,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,ai.jsxs)("div",{className:a("relative"),ref:l,children:[(0,ai.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:h.downloadTable,type:"button",children:null!=e?e:(0,ai.jsx)(d.DownloadIcon,{size:14})}),s?(0,ai.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,ai.jsx)("button",{className:a("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("csv"),title:h.downloadTableAsCsv,type:"button",children:h.tableFormatCsv}),(0,ai.jsx)("button",{className:a("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>
91m("markdown"),title:h.downloadTableAsMarkdown,type:"button",children:h.tableFormatMarkdown})]}):null]})},cs=({children:e,className:n,showCopy:r=!0,showDownload:i=!0})=>{let{Maximize2Icon:a,XIcon:s}=lj(),o=lI(),[l,c]=(0,t.useState)(!1),{isAnimating:u}=(0,t.useContext)(u6),h=lq(),d=()=>{c(!1)};return(0,t.useEffect)(()=>{if(l){l0();let e=e=>{"Escape"===e.key&&c(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),l1()}}},[l]),(0,ai.jsxs)(ai.Fragment,{children:[(0,ai.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,ai.jsx)(a,{size:14})}),l?(0,aa.createPortal)((0,ai.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:d,onKeyDown:e=>{"Escape"===e.key&&d()},role:"dialog",children:(0,ai.jsxs)("div",{className:o("flex h-full flex-col"),"data-streamdown":"table-wrapper",onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:[(0,ai.jsxs)("div",{className:o("flex items-center justify-end gap-1 p-4"),children:[r?(0,ai.jsx)(ci,{}):null,i?(0,ai.jsx)(ca,{}):null,(0,ai.jsx)("button",{className:o("rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:d,title:h.exitFullscreen,type:"button",children:(0,ai.jsx)(s,{size:20})})]}),(0,ai.jsx)("div",{className:o("flex-1 overflow-auto p-4 pt-0 [&_thead]:sticky [&_thead]:top-0 [&_thead]:z-10"),children:(0,ai.jsx)("table",{className:o("w-full border-collapse border border-border"),"data-streamdown":"table",children:e})})]})}),document.body):null]})},co=({children:e,className:n,maxHeight:r,showControls:i,showCopy:a=!0,showDownload:s=!0,showFullscreen:o=!0,...l})=>{let c=lI(),{isAnimating:u}=(0,t.useContext)(u6),h=lx(r),d=lD(u,!!h,e),p=i&&a,m=i&&s,f=i&&o,g=p||m||f;return(0,ai.jsxs)("div",{className:c("my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2"),"data-streamdown":"table-wrapper",children:[g?(0,ai.jsxs)("div",{className:c("flex items-center justify-end gap-1"),children:[p?(0,ai.jsx)(ci,{}):null,m?(0,ai.jsx)(ca,{}):null,f?(0,ai.jsx)(cs,{showCopy:p,showDownload:m,children:e}):null]}):null,(0,ai.jsx)("div",{className:c("border-collapse overflow-x-auto overflow-y-auto rounded-md border border-border bg-background"),ref:d,style:h?{maxHeight:h}:void 0,children:(0,ai.jsx)("table",{className:c("w-full divide-y divide-border",n),"data-streamdown":"table",...l,children:e})})]})},cl=/startLine=(\d+)/,cc=/\bnoLineNumbers\b/,cu=(0,t.lazy)(()=>e.A(457106).then(e=>({default:e.Mermaid}))),ch=/language-([^\s]+)/;function cd(e,t){let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r of n)if("node"!==r&&!Object.is(e[r],t[r]))return!1;return!0}var cp=(e,t)=>"boolean"==typeof e?e:!1!==e[t],cm=(e,t)=>{if("boolean"==typeof e)return e;let n=e.table;return!1!==n&&(!0===n||void 0===n||!1!==n[t])},cf=(e,t)=>{if("boolean"==typeof e)return e;let n=e.code;return!1!==n&&(!0===n||void 0===n||!1!==n[t])},cg=(e,t)=>{if("boolean"==typeof e)return e;let n=e.mermaid;return!1!==n&&(!0===n||void 0===n||!1!==n[t])},cE=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("ol",{className:i("list-inside list-decimal whitespace-normal [li_&]:pl-6",t),"data-streamdown":"ordered-list",...r,children:e})},(e,t)=>cd(e,t));cE.displayName="MarkdownOl";var cT=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("li",{className:i("py-1 [&>p]:inline",t),"data-streamdown":"list-item",...r,children:e})},(e,t)=>cd(e,t));cT.displayName="MarkdownLi";var ck=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("ul",{className:i("list-inside list-disc whitespace-normal [li_&]:pl-6",t),"data-streamdown":"unordered-list",...r,children:e})},(e,t)=>cd(e,t));ck.displayName="MarkdownUl";var cA=(0,t.memo)(({className:e,node:t,...n})=>{let r=lI();return(0,ai.jsx)("hr",{className:r("my-6 border-border",e),"data-streamdown":"horizontal-rule",...n})},(e,t)=>cd(e,t));
91cA.displayName="MarkdownHr";var c_=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("span",{className:i("font-semibold",t),"data-streamdown":"strong",...r,children:e})},(e,t)=>cd(e,t));c_.displayName="MarkdownStrong";var cb=(0,t.memo)(({children:e,className:n,href:r,node:i,...a})=>{let s=lI(),{linkSafety:o}=(0,t.useContext)(u6),[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]),d=(0,t.useCallback)(()=>{r&&window.open(r,"_blank","noreferrer")},[r]),p={url:null!=r?r:"",isOpen:l,onClose:(0,t.useCallback)(()=>{c(!1)},[]),onConfirm:d};return null!=o&&o.enabled&&r?(0,ai.jsxs)(ai.Fragment,{children:[(0,ai.jsx)("button",{className:s("wrap-anywhere appearance-none text-left font-medium text-primary underline",n),"data-incomplete":u,"data-streamdown":"link",onClick:h,type:"button",children:e}),o.renderModal?o.renderModal(p):(0,ai.jsx)(l2,{...p})]}):(0,ai.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)=>cd(e,t));cb.displayName="MarkdownA";var cy=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("h1",{className:i("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...r,children:e})},(e,t)=>cd(e,t));cy.displayName="MarkdownH1";var cC=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("h2",{className:i("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...r,children:e})},(e,t)=>cd(e,t));cC.displayName="MarkdownH2";var cN=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("h3",{className:i("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...r,children:e})},(e,t)=>cd(e,t));cN.displayName="MarkdownH3";var cS=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("h4",{className:i("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...r,children:e})},(e,t)=>cd(e,t));cS.displayName="MarkdownH4";var cI=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("h5",{className:i("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...r,children:e})},(e,t)=>cd(e,t));cI.displayName="MarkdownH5";var cx=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("h6",{className:i("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...r,children:e})},(e,t)=>cd(e,t));cx.displayName="MarkdownH6";var cD=(0,t.memo)(({children:e,className:n,node:r,...i})=>{let{controls:a,tableMaxHeight:s}=(0,t.useContext)(u6),o=cp(a,"table"),l=cm(a,"copy"),c=cm(a,"download"),u=cm(a,"fullscreen");return(0,ai.jsx)(co,{className:n,maxHeight:s,showControls:o,showCopy:l,showDownload:c,show
91Fullscreen:u,...i,children:e})},(e,t)=>cd(e,t));cD.displayName="MarkdownTable";var cR=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("thead",{className:i("bg-muted/80",t),"data-streamdown":"table-header",...r,children:e})},(e,t)=>cd(e,t));cR.displayName="MarkdownThead";var cO=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("tbody",{className:i("divide-y divide-border",t),"data-streamdown":"table-body",...r,children:e})},(e,t)=>cd(e,t));cO.displayName="MarkdownTbody";var cL=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("tr",{className:i("border-border",t),"data-streamdown":"table-row",...r,children:e})},(e,t)=>cd(e,t));cL.displayName="MarkdownTr";var cv=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.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)=>cd(e,t));cv.displayName="MarkdownTh";var cw=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("td",{className:i("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...r,children:e})},(e,t)=>cd(e,t));cw.displayName="MarkdownTd";var cM=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.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)=>cd(e,t));cM.displayName="MarkdownBlockquote";var cP=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("sup",{className:i("text-sm",t),"data-streamdown":"superscript",...r,children:e})},(e,t)=>cd(e,t));cP.displayName="MarkdownSup";var cB=(0,t.memo)(({children:e,className:t,node:n,...r})=>{let i=lI();return(0,ai.jsx)("sub",{className:i("text-sm",t),"data-streamdown":"subscript",...r,children:e})},(e,t)=>cd(e,t));cB.displayName="MarkdownSub";var cF=(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===cE){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,ai.jsx)("section",{className:n,...i,children:r}):null}return(0,ai.jsx)("section",{className:n,...i,children:e})},(e,t)=>cd(e,t));cF.displayName="MarkdownSection";var cH=(0,t.memo)(({node:e,className:n,children:r,...i})=>{var a,s,o;let l,c=lI(),u=!("data-block"in i),{mermaid:h,controls:d,lineNumbers:p}=(0,t.useContext)(u6),m=l4(),f=(0,t.useContext)(ly),g=null==n?void 0:n.match(ch),E=null!=(a=null==g?void 0:g.at(1))?a:"",T=null!=(l=l3())&&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,ai.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 k=null==(s=null==e?void 0:e.properties)?void 0:s.metastring,A=null==k?void 0:k.match(cl),_=A?Number.parseInt(A[1],10):void 0,b=!(k&&cc.test(k))&&!1!==p,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,ai.jsx)(t.Suspense,{fallback:(0,ai.jsx)(lK,{}),children:(0,ai.jsx)(e,{code:y,isIncomplete:f,language:E,meta:k})})}if("mermaid"===E&&m){let e=cp(d,"mermaid"),r=cg(d,"download"),i=cg(d,"copy"),a=cg(d,"fullscreen"),s=cg(d,"panZoom");return(0,ai.jsx)(t.Suspense,{fallback:(0,ai.jsx)(lK,{}),children:(0,ai.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,ai.jsx)("div",{className:c("flex h-8 items-center text-muted-foreground text-xs"),children:(0,ai.jsx)("span",{className:c("ml-1 font-mono lowercase"),children:"mermaid"})}),e&&(r||i||a)?(0,ai.jsx)("div",{className:c("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:(0,ai.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,ai.jsx)(l9,{chart:y,config:null==h?void 0:h.config}):null,i?(0,ai.jsx)(l$,{code:y}):null,a?(0,ai.jsx)(l6,{chart:y,config:null==h?void 0:h.config}):null]})}):null,(0,ai.jsx)("div",{className:c("rounded-md border border-border bg-background"),children:(0,ai.jsx)(cu,{chart:y,config:null==h?void 0:h.config,showControls:s})})]})})}let C=cp(d,"code"),N=cf(d,"download"),S=cf(d,"copy"),{"data-block":I,...x}=i;return(0,ai.jsx)(lF,{className:n,code:y,isIncomplete:f,language:E,lineNumbers:b,startLine:void 0!==_&&_>=1?_:void 0,...x,children:C?(0,ai.jsxs)(ai.Fragment,{children:[N?(0,ai.jsx)(lQ,{code:y,language:E}):null,S?(0,ai.jsx)(l$,{}):null]}):null})},(e,t)=>{var n,r,i,a;return cd(e,t)&&(n=e.node,r=t.node,(null==(i=null==n?void 0:n.properties)?void 0:i.metastring)===(null==(a=null==r?void 0:r.properties)?void 0:a.metastring))});cH.displayName="MarkdownCode";var cU=(0,t.memo)(({node:e,className:n,...r})=>{let{controls:i}=(0,t.useContext)(u6),a=cp(i,"image"),s=a&&((e,t)=>{if("boolean"==typeof e)return e;let n=e.image;return!1!==n&&(!0===n||void 0===n||!1!==n[t])})(i,"download");return(0,ai.jsx)(lZ,{className:n,node:e,showControls:a,showDownloadControl:s,...r})},(e,t)=>cd(e,t));cU.displayName="MarkdownImg";var cG=(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,ai.jsx)(ai.Fragment,{children:e})}return(0,ai.jsx)("p",{...r,children:e})},(e,t)=>cd(e,t));cG.displayName="MarkdownParagraph";var cj={ol:cE,li:cT,ul:ck,hr:cA,strong:c_,a:cb,h1:cy,h2:cC,h3:cN,h4:cS,h5:cI,h6:cx,table:cD,thead:cR,tbody:cO,tr:cL,th:cv,td:cw,blockquote:cM,code:cH,img:cU,pre:({children:e})=>(0,t.isValidElement)(e)?(0,t.cloneElement)(e,{"data-block":"true"}):e,sup:cP,sub:cB,p:cG,section:cF},cz=/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF]/,cY=/\p{L}/u;function cq(e){let t=e.replace(/(```|~~~)[\s\S]*?\1/g,"").replace(/^#{1,6}\s+/gm,"").replace(/(\*{1,3}|_{1,3})/g,"").replace(/`[^`]*`/g,"").replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/^[\s>*\-+\d.]+/gm,""),n,r=0,i=0;for(let e of t){if(cz.test(e)){null!=n||(n="rtl"),i+=1;continue}cY.test(e)&&(null!=n||(n="ltr"),r+=1)}return i>r?"rtl":r>i?"ltr":null!=n?n:"ltr"}var c$=/^[ \t]{0,3}(`{3,}|~{3,})/,cV=/^\|?[ \t]*:?-{1,}:?[ \t]*(\|[ \t]*:?-{1,}:?[ \t]*)*\|?$/,cW=e=>{let t=e.split(` 92`),n=null,r=0;for(let e of t){let t=c$.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},cQ=()=>e=>{l(e,"html",(e,t,n)=>{n&&"number"==typeof t&&(n.children[t]={type:"text",value:e.value})})},cK=[],cX={allowDangerousHtml:!0},cZ=new WeakMap,cJ=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=cZ.get(e);n||(n=e.name,cZ.set(e,n)),t+=n}else t+=String(e);t+=":",t+=JSON.stringify(n)}else if("function"==typeof r){let e=cZ.get(r);e||(e=r.name,cZ.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()}},c0=e=>{let t=c1(e),n=e.children||"";return c3(t.runSync(t.parse(n),n),e)},c1=e=>{let t=cJ.get(e);if(t)return t;let n=c2(e);return cJ.set(e,n),n},c2=e=>{let t=e.rehypePlugins||cK,n=e.remarkPlugins||cK,r=t.some(e=>Array.isArray(e)?e[0]===nS:e===nS)?n:[...n,cQ],i=e.remarkRehypeOptions?{...cX,...e.remarkRehypeOptions}:cX;return s5().use(sC).use(r).use(sU,i).use(t)},c5=e=>e,c3=(e,t)=>{let{allowElement:n,allowedElements:r,disallowedElements:i,skipHtml:a,unwrapDisallowed:s,urlTransform:o}=t;
92if(n||r||i||a||o){let t=o||c5;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 aL)if(Object.hasOwn(aL,r)&&Object.hasOwn(e.properties,r)){let i=e.properties[r],a=aL[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");
92if("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=aN(l,e,void 0);return c&&"string"!=typeof c?c:l.create(e,l.Fragment,{children:c||void 0},void 0)}(e,{Fragment:ai.Fragment,components:t.components,ignoreInvalidStyle:!0,jsx:ai.jsx,jsxs:ai.jsxs,passKeys:!0,passNode:!0})},c4=/\[\^[\w-]{1,200}\](?!:)/,c9=/\[\^[\w-]{1,200}\]:/,c6=/<([A-Za-z][\w:-]*)[\s>/]/,c7=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),c8=new Map,ue=new Map,ut=(e,t)=>{if(c7.has(t.toLowerCase()))return 0;let n=e.match((e=>{let t=e.toLowerCase(),n=c8.get(t);if(n)return n;let r=RegExp(`<${t}(?=[\\s>/])[^>]*>`,"gi");return c8.set(t,r),r})(t));if(!n)return 0;let r=0;for(let e of n)e.trimEnd().endsWith("/>")||(r+=1);return r},un=(e,t)=>{let n=e.match((e=>{let t=e.toLowerCase(),n=ue.get(t);if(n)return n;let r=RegExp(`</${t}(?=[\\s>])[^>]*>`,"gi");return ue.set(t,r),r})(t));return n?n.length:0},ur=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},ui=e=>{let t=c4.test(e),n=c9.test(e);if(t||n)return[e];let r=o8.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=ut(t,e),s=un(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(c6);if(e){let n=e[1];ut(t,n)>un(t,n)&&a.push(n)}}if(n>0&&!s){let e=i[n-1];if(ur(e)%2==1){i[n-1]=e+t;continue}}i.push(t),"space"!==e.type&&(s="code"===e.type)}return i},ua=/^\n*/,us=/\n*$/,uo=/\n\n/g,ul=(e,t,n)=>{if(!t.includes(` 93`))return e+t+n;let r=t.replace(uo,` 94<!----> 95`).replace(ua,` 96 97`).replace(us,` 98 99`);return`${e}${r}${n} 100 101`},uc=(e,t)=>{let n=RegExp(`<(${t})(?=[\\s>/])([^>]*)>`,"gi"),r="",i=0,a=n.exec(e);for(;a;){let t=a[0],s=a[1],o=a.index+t.length,l=e.slice(o);if(RegExp(`</${s}\\s*>`,"i").test(l)){a=n.exec(e);continue}if(r+=e.slice(i,a.index),0===l.length){r+=t,i=o,a=n.exec(e);continue}if(l.startsWith(` 102 103`)){let n=l.slice(2).replace(uo,` 104<!----> 105`);r+=`${t} 106 107${n}`,i=e.length;break}if(!l.startsWith(` 108`)){r+=t,i=o,a=n.exec(e);continue}let c=l.slice(1);if(0===c.trim().length){r+=t,i=o,a=n.exec(e);continue}let u=c.replace(uo,` 109<!----> 110`);r+=`${t} 111 112${u}`,i=e.length;break}return 0===i?e:r+e.slice(i)},uu=/([\\`*_~[\]|])/g,uh=e=>e.replace(uu,"\\$1"),ud=new Set(["blockquote","dd","dt","figcaption","h1","h2","h3","h4","h5","h6","li","p","td","th"]),up=new Set(["code","kbd","pre","samp","var"]);function um(){return e=>{l(e,"element",e=>{if(up.has(e.tagName)){null!=e.properties||(e.properties={}),e.properties.dir="ltr";return}ud.has(e.tagName)&&(null!=e.properties||(e.properties={}),"string"!=typeof e.properties.dir&&(e.properties.dir=cq(function e(t){return t.children.map(t=>"text"===t.type?t.value:"element"!==t.type||up.has(t.tagName)?"":e(t)).join("")}(e))))})}}var uf,ug,uE,uT,uk,uA,u_,ub,uy,uC,uN,uS,uI,ux,uD,uR,uO,uL,uv,uw,uM,uP,uB,uF,uH,uU,uG,uj,uz,uY,uq,u$,uV,uW,uQ,uK=e=>"text"===e.type?e.value:"children"in e&&Array.isArray(e.children)?e.children.map(uK).join(""):"",uX=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}]:[]}})},uZ=/^[ \t]*<[\w!/?-]/,uJ=/(^|\n)[ \t]{4,}(?=<[\w!/?-])/g,u0={...nx,clobberPrefix:"",protocols:{...nx.protocols,href:[...null!=(uV=null==(u$=nx.protocols)?void 0:u$.href)?uV:[],"tel","streamdown"]},attributes:{...nx.attributes,code:[...null!=(uQ=null==(uW=nx.attributes)?void 0:uW.code)?uQ:[],"metastring"]}},u1={raw:nS,sanitize:[nP,u0],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:d=c,imageBlockPolicy:p=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,k,A,_,b,y,C;let N,S=(m=e,E=t,T=n,k=r,A=i,_=a,b=o,y=d,C=p,N=(e,t,n)=>{if("element"!==e.type||e[g])return!0;
112if("a"===e.tagName){let r=f(e.properties.href,E,m,!1,!1,A);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,k,!0,A);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}]},u2=Object.values(u1),u5=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:r$},{document:{91:{name:"gfmFootnoteDefinition",tokenize:r4,continuation:{tokenize:r9},exit:r6}},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}},{enter:{gfmFootnoteCallString:re,gfmFootnoteCall:rt,gfmFootnoteDefinitionLabelString:rn,gfmFootnoteDefinition:rr},exit:{gfmFootnoteCallString:ri,gfmFootnoteCall:ra,gfmFootnoteDefinitionLabelString:rs,gfmFootnoteDefinition:ro}},{canContainEols:["delete"],enter:{strikethrough:rd},exit:{strikethrough:rp}}
112,{enter:{table:rC,tableData:rx,tableHeader:rx,tableRow:rS},exit:{codeText:rD,table:rN,tableData:rI,tableHeader:rI,tableRow:rI}},{exit:{taskListCheckValueChecked:rO,taskListCheckValueUnchecked:rO,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 d=-1;if("object"==typeof r&&"length"in r)for(;++d<c;)a[d]=rg(r[d]);else{let e=rg(r);for(;++d<c;)a[d]=e}d=-1;let p=[],m=[];for(;++d<c;){let e=a[d],t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,l[d]-t.length-r.length),s=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&((i=t.length+i+r.length)>l[d]&&(l[d]=i),m[d]=i),p[d]=s}s.splice(1,0,p),o.splice(1,0,m),u=-1;let f=[];for(;++u<s.length;){let e=s[u],t=o[u];d=-1;let r=[];for(;++d<c;){let i=e[d]||"",s="",o="";if(!1!==n.alignDelimiters){let e=l[d]-(t[d]||0),n=a[d];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||d||r.push("|"),!1!==n.padding&&(!1!==n.alignDelimiters||""!==i)&&(!1!==n.delimiterStart||d)&&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||d!==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})})}}),u3={block:" â",circle:" â"},u4=["github-light","github-dark"],u9={enabled:!0},u6=(0,t.createContext)({codeBlockMaxHeight:400,shikiTheme:u4,controls:!0,isAnimating:!1,lineNumbers:!0,mode:"streaming",mermaid:void 0,linkSafety:u9,tableMaxHeight:300}),u7=(0,t.memo)(({content:e,shouldParseIncompleteMarkdown:n,shouldNormalizeHtmlIndentation:r,index:i,isIncomplete:a,dir:s,animatePlugin:o,...l})=>{(0,t.useLayoutEffect)(()=>{null==o||o.commit()});let c="string"==typeof e&&r&&"string"==typeof e&&0!==e.length&&uZ.test(e)?e.replace(uJ,"$1"):e,u=(0,ai.jsx)(c0,{...l,children:c});return(0,ai.jsx)(ly.Provider,{value:a,children:s?(0,ai.jsx)("div",{dir:s,style:{display:"contents"},children:u}):u})},(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&&!!e.animatePlugin==!!t.animatePlugin});u7.displayName="Block";var u8=(0,t.memo)(({children:e,mode:n="streaming",dir:r,parseIncompleteMarkdown:i=!0,normalizeHtmlIndentation:a=!1,components:s,rehypePlugins:o=u2,remarkPlugins:l=u5,className:c,shikiTheme:u,mermaid:h,codeBlockMaxHeight:d=400,controls:p=!0,isAnimating:m=!1,tableMaxHeight:f=300,animated:g,BlockComponent:E=u7,parseMarkdownIntoBlocksFn:T=ui,caret:k,plugins:A,remend:_,linkSafety:b=u9,lineNumbers:y=!0,allowedTags:C,literalTagContent:N,translations:S,icons:I,prefix:x,onAnimationStart:D,onAnimationEnd:R,...O})=>{let L=(0,t.useId)(),v=(0,t.useMemo)(()=>x?(...e)=>((e,t)=>{if(!e||!t)return t;let n=`${e}:`;
112return t.split(/\s+/).filter(Boolean).map(t=>t.startsWith(n)?t:`${e}:${t}`).join(" ")})(x,(0,ar.twMerge)((0,an.clsx)(e))):lC,[x]),w=(0,t.useRef)(null),M=(0,t.useRef)(D),P=(0,t.useRef)(R);M.current=D,P.current=R,(0,t.useEffect)(()=>{var e,t,r;if("static"===n)return;let i=w.current;if(w.current=m,null===i){m&&(null==(e=M.current)||e.call(M));return}m&&!i?null==(t=M.current)||t.call(M):!m&&i&&(null==(r=P.current)||r.call(P))},[m,n]);let B=(0,t.useMemo)(()=>C?Object.keys(C):[],[C]),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",at.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=>i4(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,_):e;return N&&N.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+uh(n).replace(/\n\n/g," ")+r)}return n})(t,N)),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=uc(n=n.replace(t,(e,t,n,r)=>ul(t,n,r)),e)}return n})(t,B)),t},[e,n,i,_,B,N]),H=(0,t.useMemo)(()=>T(F),[F,T]),U=(0,t.useMemo)(()=>"auto"===r?H.map(cq):void 0,[H,r]),G=(0,t.useMemo)(()=>H.map((e,t)=>`${L}-${t}`),[H.length,L]),j=(0,t.useMemo)(()=>!0===g?"true":g?JSON.stringify(g):"",[g]),z=(0,t.useRef)(null),Y=(0,t.useRef)([]),q=(0,t.useRef)([]),$=(0,t.useRef)(null),V=(0,t.useRef)("");j?(V.current!==j?(V.current=j,z.current=lo({maxBacklogMs:"true"!==j?g.maxBacklogMs:void 0}),Y.current=[],q.current=[]):z.current||(z.current=lo()),m&&z.current&&z.current.beginPass(z.current.now())):(z.current=null,Y.current=[],q.current=[],V.current=""),(0,t.useLayoutEffect)(()=>{var e;m&&(null==(e=z.current)||e.commitPass())});let W=(0,t.useMemo)(()=>{var e,t;return{codeBlockMaxHeight:d,shikiTheme:null!=(t=null!=u?u:null==(e=null==A?void 0:A.code)?void 0:e.getThemes())?t:u4,controls:p,isAnimating:m,lineNumbers:y,mode:n,mermaid:h,linkSafety:b,tableMaxHeight:f}},[d,u,p,m,y,n,h,b,null==A?void 0:A.code,f]),Q=(0,t.useMemo)(()=>S?JSON.stringify(S):"",[S]),K=(0,t.useMemo)(()=>({...lz,...S}),[Q]),X=(0,t.useMemo)(()=>{let{inlineCode:e,...n}=null!=s?s:{},r={...cj,...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]),Z=(0,t.useMemo)(()=>{let e=[];return null!=A&&A.cjk&&(e=[...e,...A.cjk.remarkPluginsBefore]),e=[...e,...l],null!=A&&A.cjk&&(e=[...e,...A.cjk.remarkPluginsAfter]),null!=A&&A.math&&(e=[...e,A.math.remarkPlugin]),e},[l,null==A?void 0:A.math,null==A?void 0:A.cjk]),J=(0,t.useMemo)(()=>{var e;let t=o;if(C&&Object.keys(C).length>0&&o===u2){let n={...u0,tagNames:[...null!=(e=u0.tagNames)?e:[],...Object.keys(C)],attributes:{...u0.attributes,...C}};t=[u1.raw,[nP,n],u1.harden]}return N&&N.length>0&&(t=[...t,[uX,N]]),null!=A&&A.math&&(t=[...t,A.math.rehypePlugin]),"auto"===r&&"static"===n&&(t=[...t,um]),t},[o,null==A?void 0:A.math,C,N,r,n]),ee=(0,t.useMemo)(()=>{if(!m||0===H.length)return!1;let e=H.at(-1);return cW(e)||(e=>{for(let t of e.split(` 113`)){let e=t.trim();if(e.length>0&&e.includes("|")&&cV.test(e))return!0}return!1})(e)},[m,H]),et=(0,t.useMemo)(()=>k&&m&&!ee?{"--streamdown-caret":`"${u3[k]}"`}:void 0,[k,m,ee]);return"static"===n?(0,ai.jsx)(lY.Provider,{value:K,children:(0,ai.jsx)(l5.Provider,{value:null!=A?A:null,children:(0,ai.jsx)(u6.Provider,{value:W,children:(0,ai.jsx)(lG,{icons:I,children:(0,ai.jsx)(lS.Provider,{value:v,children:(0,ai.jsx)("div",{className:v("space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",c),dir:"auto"===r?void 0:r,children:(0,ai.jsx)(c0,{components:X,rehypePlugins:J,remarkPlugins:Z,...O,children:F})})})})})})}):(0,ai.jsx)(lY.Provider,{value:K,children:(0,ai.jsx)(l5.Provider,{value:null!=A?A:null,children:(0,ai.jsx)(u6.Provider,{value:W,children:(0,ai.jsx)(lG,{icons:I,children:(0,ai.jsx)(lS.Provider,{value:v,children:(0,ai.jsxs)("div",{className:v("space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",k&&!ee?"[&>*:last-child]:after:inline [&>*:last-child]:after:align-baseline [&>*:last-child]:after:content-[var(--streamdown-caret)]":null,c),style:et,children:[0===H.length&&k&&m&&(0,ai.jsx)("span",{}),H.map((e,t)=>{var n;let s=t===H.length-1,o=m&&s&&cW(e),{blockAnimatePlugin:l,blockRehypePlugins:c}=(e=>{let t=null;if(z.current&&m){if(!Y.current[e]){let{maxBacklogMs:t,...n}=j&&"true"!==j?g:{};Y.current[e]=lb({...n,timeline:z.current})}t=Y.current[e]}$.current!==J&&(q.current=[],$.current=J),t&&!q.current[e]&&(q.current[e]=[...J,t.rehypePlugin]);let n=t&&q.current[e]?q.current[e]:J;return{blockAnimatePlugin:t,blockRehypePlugins:n}})(t);return(0,ai.jsx)(E,{animatePlugin:l,components:X,content:e,dir:null!=(n=null==U?void 0:U[t])?n:"auto"!==r?r:void 0,index:t,isIncomplete:o,rehypePlugins:c,remarkPlugins:Z,shouldNormalizeHtmlIndentation:a,shouldParseIncompleteMarkdown:i,...O},G[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.codeBlockMaxHeight===t.codeBlockMaxHeight&&e.tableMaxHeight===t.tableMaxHeight&&e.normalizeHtmlIndentation===t.normalizeHtmlIndentation&&e.literalTagContent===t.literalTagContent&&JSON.stringify(e.translations)===JSON.stringify(t.translations)&&e.prefix===t.prefix&&e.dir===t.dir);u8.displayName="Streamdown";var he=({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}=lj(),d=lI(),p=lq(),m=(0,t.useRef)(null),f=(0,t.useRef)(null),[g,E]=(0,t.useState)(o),[T,k]=(0,t.useState)({x:0,y:0}),[A,_]=(0,t.useState)(!1),[b,y]=(0,t.useState)({x:0,y:0}),[C,N]=(0,t.useState)({x:0,y:0}),S=(0,t.useCallback)(e=>{E(t=>Math.max(r,Math.min(i,t+e)))},[r,i]),I=(0,t.useCallback)(()=>{S(a)},[S,a]),x=(0,t.useCallback)(()=>{S(-a)},[S,a]),D=(0,t.useCallback)(()=>{E(o),k({x:0,y:0})}
113,[o]),R=(0,t.useCallback)(e=>{e.preventDefault(),S(e.deltaY>0?-a:a)},[S,a]),O=(0,t.useCallback)(e=>{if(0!==e.button||!1===e.isPrimary)return;_(!0),y({x:e.clientX,y:e.clientY}),N(T);let t=e.currentTarget;t instanceof HTMLElement&&t.setPointerCapture(e.pointerId)},[T]),L=(0,t.useCallback)(e=>{if(!A)return;e.preventDefault();let t=e.clientX-b.x,n=e.clientY-b.y;k({x:C.x+t,y:C.y+n})},[A,b,C]),v=(0,t.useCallback)(e=>{_(!1);let t=e.currentTarget;t instanceof HTMLElement&&t.releasePointerCapture(e.pointerId)},[]);return(0,t.useEffect)(()=>{let e=m.current;if(e)return e.addEventListener("wheel",R,{passive:!1}),()=>{e.removeEventListener("wheel",R)}},[R]),(0,t.useEffect)(()=>{let e=f.current;if(e&&A)return document.body.style.userSelect="none",e.addEventListener("pointermove",L,{passive:!1}),e.addEventListener("pointerup",v),e.addEventListener("pointercancel",v),()=>{document.body.style.userSelect="",e.removeEventListener("pointermove",L),e.removeEventListener("pointerup",v),e.removeEventListener("pointercancel",v)}},[A,L,v]),(0,ai.jsxs)("div",{className:d("relative flex flex-col",l?"h-full w-full":"min-h-28 w-full",n),ref:m,style:{cursor:A?"grabbing":"grab"},children:[s?(0,ai.jsxs)("div",{className:d("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,ai.jsx)("button",{"aria-label":p.zoomIn,className:d("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:g>=i,onClick:I,title:p.zoomIn,type:"button",children:(0,ai.jsx)(u,{"aria-hidden":"true",size:16})}),(0,ai.jsx)("button",{"aria-label":p.zoomOut,className:d("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:g<=r,onClick:x,title:p.zoomOut,type:"button",children:(0,ai.jsx)(h,{"aria-hidden":"true",size:16})}),(0,ai.jsx)("button",{"aria-label":p.resetView,className:d("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"),onClick:D,title:p.resetView,type:"button",children:(0,ai.jsx)(c,{"aria-hidden":"true",size:16})})]}):null,(0,ai.jsx)("div",{className:d("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:f,role:"application",style:{transform:`translate(${T.x}px, ${T.y}px) scale(${g})`,transformOrigin:"center center",touchAction:"none",willChange:"transform"},children:e})]})},ht=({chart:e,className:n,config:r,fullscreen:i=!1,showControls:a=!0})=>{let s=lI(),[o,l]=(0,t.useState)(null),[c,u]=(0,t.useState)(!1),[h,d]=(0,t.useState)(""),[p,m]=(0,t.useState)(""),[f,g]=(0,t.useState)(0),{mermaid:E}=(0,t.useContext)(u6),T=l4(),k=null==E?void 0:E.errorComponent,{shouldRender:A,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)},[]),d=(0,t.useMemo)(()=>"u">typeof window&&window.requestIdleCallback?(e,t)=>window.requestIdleCallback(e,t):h,[h]),p=(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&&(p(u.current),u.current=null);let t=()=>{c.current&&(clearTimeout(c.current),c.current=null),u.current&&(p(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=d(e=>{e.timeRemaining()>0||e.didTimeout?(o(!0),n.disconnect()):u.current=d(()=>{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&&p(u.current),h.disconnect()}},[n,r,i,a,p,d]),{shouldRender:s,containerRef:l}}({immediate:i});return((0,t.useEffect)(()=>
113{if(A){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);d(a),m(a)}catch(e){p||h||l(e instanceof Error?e.message:"Failed to render Mermaid chart")}finally{u(!1)}})()}},[e,r,f,A,T]),A||h||p)?!c||h||p?!o||h||p?(0,ai.jsx)("div",{className:s("size-full",n),"data-streamdown":"mermaid",ref:_,children:(0,ai.jsx)(he,{className:s(i?"size-full overflow-hidden":"overflow-hidden",n),fullscreen:i,maxZoom:3,minZoom:.5,showControls:a,zoomStep:.1,children:(0,ai.jsx)("div",{"aria-label":"Mermaid chart",className:s("flex justify-center",i?"size-full items-center":null),dangerouslySetInnerHTML:{__html:h||p},role:"img"})})}):k?(0,ai.jsx)("div",{ref:_,children:(0,ai.jsx)(k,{chart:e,error:o,retry:()=>g(e=>e+1)})}):(0,ai.jsxs)("div",{className:s("rounded-md bg-red-50 p-4",n),ref:_,children:[(0,ai.jsxs)("p",{className:s("font-mono text-red-700 text-sm"),children:["Mermaid Error: ",o]}),(0,ai.jsxs)("details",{className:s("mt-2"),children:[(0,ai.jsx)("summary",{className:s("cursor-pointer text-red-600 text-xs"),children:"Show Code"}),(0,ai.jsx)("pre",{className:s("mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs"),children:e})]})]}):(0,ai.jsx)("div",{className:s("my-4 flex justify-center p-4",n),ref:_,children:(0,ai.jsxs)("div",{className:s("flex items-center space-x-2 text-muted-foreground"),children:[(0,ai.jsx)("div",{className:s("h-4 w-4 animate-spin rounded-full border-current border-b-2")}),(0,ai.jsx)("span",{className:s("text-sm"),children:"Loading diagram..."})]})}):(0,ai.jsx)("div",{className:s("my-4 min-h-[200px]",n),ref:_})};e.s(["A",0,u6,"C",0,u8,"c",0,lL,"f",0,()=>{var e;let t=l3();return null!=(e=null==t?void 0:t.code)?e:null},"l",0,ht],484954)}]); 114 115//# sourceMappingURL=2g3g_we55v1k1.js.map
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.