dash-core-components 4.5.3 → 4.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dash_core_components/async-datepicker.js +1 -1
  2. package/dash_core_components/async-datepicker.js.map +1 -1
  3. package/dash_core_components/async-dropdown.js +1 -1
  4. package/dash_core_components/async-dropdown.js.map +1 -1
  5. package/dash_core_components/async-graph.js +1 -1
  6. package/dash_core_components/async-graph.js.map +1 -1
  7. package/dash_core_components/async-highlight.js +1 -1
  8. package/dash_core_components/async-highlight.js.map +1 -1
  9. package/dash_core_components/async-markdown.js +1 -2
  10. package/dash_core_components/async-markdown.js.map +1 -1
  11. package/dash_core_components/async-slider.js +1 -1
  12. package/dash_core_components/async-slider.js.map +1 -1
  13. package/dash_core_components/async-upload.js +1 -1
  14. package/dash_core_components/async-upload.js.map +1 -1
  15. package/dash_core_components/dash_core_components-shared.js +1 -1
  16. package/dash_core_components/dash_core_components-shared.js.map +1 -1
  17. package/dash_core_components/dash_core_components.js +1 -1
  18. package/dash_core_components/dash_core_components.js.map +1 -1
  19. package/dash_core_components/proptypes.js +1 -1
  20. package/lib/components/Clipboard.react.js +4 -3
  21. package/lib/components/ConfirmDialog.react.js +1 -1
  22. package/lib/components/ConfirmDialogProvider.react.js +1 -1
  23. package/lib/components/Download.react.js +1 -1
  24. package/lib/components/Geolocation.react.js +2 -2
  25. package/lib/components/Graph.react.js +3 -2
  26. package/lib/components/Input.tsx +2 -2
  27. package/lib/components/Interval.react.js +3 -2
  28. package/lib/components/Location.react.js +1 -1
  29. package/lib/components/Store.react.js +1 -1
  30. package/lib/components/Upload.react.js +5 -3
  31. package/lib/components/css/dropdown.css +2 -0
  32. package/lib/fragments/Graph.react.js +245 -30
  33. package/lib/fragments/Markdown.tsx +16 -2
  34. package/lib/fragments/Upload.react.js +4 -3
  35. package/lib/types.ts +1 -0
  36. package/lib/utils/LoadingElement.js +1 -1
  37. package/lib/utils/ResizeDetector.js +2 -2
  38. package/lib/utils/markdown/components/Code.tsx +2 -2
  39. package/lib/utils/markdown/components/types.ts +1 -2
  40. package/lib/utils/markdown/plugins/index.ts +8 -0
  41. package/lib/utils/markdown/plugins/rehypeBlockCode.ts +25 -0
  42. package/lib/utils/markdown/plugins/rehypeDashMath.ts +15 -2
  43. package/lib/utils/markdown/plugins/rehypeLinkTarget.ts +15 -0
  44. package/lib/utils/markdown/polyfills.ts +24 -0
  45. package/package.json +6 -6
@@ -1,3 +1,2 @@
1
- /*! For license information please see async-markdown.js.LICENSE.txt */
2
- (self.webpackChunkdash_core_components=self.webpackChunkdash_core_components||[]).push([[641],{7661:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return hs}});var r=n.cw(function(e,t){var n,r=Symbol.for("react.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen");function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case a:case s:case p:case f:return e;default:switch(e=e&&e.$$typeof){case u:case c:case h:case d:case m:case l:return e;default:return t}}case i:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=h,t.Fragment=o,t.Lazy=d,t.Memo=m,t.Portal=i,t.Profiler=a,t.StrictMode=s,t.Suspense=p,t.SuspenseList=f,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===h},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===d},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===a},t.isStrictMode=function(e){return E(e)===s},t.isSuspense=function(e){return E(e)===p},t.isSuspenseList=function(e){return E(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===s||e===p||e===f||e===T||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=E}),i=n.cw(function(e,t){e.exports=r()}),o=n.cw(function(e,t){var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t,i=n.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(t in e);return void 0===t||n.call(e,t)},l=function(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(o)return o(e,t).value}return e[t]};e.exports=function e(){var t,n,r,i,o,u,h=arguments[0],p=1,f=arguments.length,m=!1;for("boolean"==typeof h&&(m=h,h=arguments[1]||{},p=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)r=c(h,n),h!==(i=c(t,n))&&(m&&i&&(a(i)||(o=s(i)))?(o?(o=!1,u=r&&s(r)?r:[]):u=r&&a(r)?r:{},l(h,{name:n,newValue:e(m,u,i)})):void 0!==i&&l(h,{name:n,newValue:i}));return h}}),s=n.cw(function(e,t){const{DOCUMENT_MODE:n}=c(),r="html",i=["+//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//"],o=i.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),s=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],a=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],l=a.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function u(e,t){for(let n=0;n<t.length;n++)if(0===e.indexOf(t[n]))return!0;return!1}t.isConforming=function(e){return e.name===r&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)},t.getDocumentMode=function(e){if(e.name!==r)return n.QUIRKS;const t=e.systemId;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return n.QUIRKS;let c=e.publicId;if(null!==c){if(c=c.toLowerCase(),s.indexOf(c)>-1)return n.QUIRKS;let e=null===t?o:i;if(u(c,e))return n.QUIRKS;if(e=null===t?a:l,u(c,e))return n.LIMITED_QUIRKS}return n.NO_QUIRKS}}),a=n.cw(function(e,t){e.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}}),l=n.cw(function(e,t){const n=C(),r=c(),i=r.TAG_NAMES,o=r.NAMESPACES,s=r.ATTRS,a={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},l={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:o.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:o.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:o.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:o.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:o.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:o.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:o.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:o.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:o.XML},"xml:space":{prefix:"xml",name:"space",namespace:o.XML},xmlns:{prefix:"",name:"xmlns",namespace:o.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:o.XMLNS}},u={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},h={[i.B]:!0,[i.BIG]:!0,[i.BLOCKQUOTE]:!0,[i.BODY]:!0,[i.BR]:!0,[i.CENTER]:!0,[i.CODE]:!0,[i.DD]:!0,[i.DIV]:!0,[i.DL]:!0,[i.DT]:!0,[i.EM]:!0,[i.EMBED]:!0,[i.H1]:!0,[i.H2]:!0,[i.H3]:!0,[i.H4]:!0,[i.H5]:!0,[i.H6]:!0,[i.HEAD]:!0,[i.HR]:!0,[i.I]:!0,[i.IMG]:!0,[i.LI]:!0,[i.LISTING]:!0,[i.MENU]:!0,[i.META]:!0,[i.NOBR]:!0,[i.OL]:!0,[i.P]:!0,[i.PRE]:!0,[i.RUBY]:!0,[i.S]:!0,[i.SMALL]:!0,[i.SPAN]:!0,[i.STRONG]:!0,[i.STRIKE]:!0,[i.SUB]:!0,[i.SUP]:!0,[i.TABLE]:!0,[i.TT]:!0,[i.U]:!0,[i.UL]:!0,[i.VAR]:!0};t.causesExit=function(e){const t=e.tagName;return!(t!==i.FONT||null===n.getTokenAttr(e,s.COLOR)&&null===n.getTokenAttr(e,s.SIZE)&&null===n.getTokenAttr(e,s.FACE))||h[t]},t.adjustTokenMathMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}},t.adjustTokenSVGAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=a[e.attrs[t].name];n&&(e.attrs[t].name=n)}},t.adjustTokenXMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=l[e.attrs[t].name];n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}},t.adjustTokenSVGTagName=function(e){const t=u[e.tagName];t&&(e.tagName=t)},t.isIntegrationPoint=function(e,t,n,r){return!(r&&r!==o.HTML||!function(e,t,n){if(t===o.MATHML&&e===i.ANNOTATION_XML)for(let e=0;e<n.length;e++)if(n[e].name===s.ENCODING){const t=n[e].value.toLowerCase();return"text/html"===t||"application/xhtml+xml"===t}return t===o.SVG&&(e===i.FOREIGN_OBJECT||e===i.DESC||e===i.TITLE)}(e,t,n))||!(r&&r!==o.MATHML||!function(e,t){return t===o.MATHML&&(e===i.MI||e===i.MO||e===i.MN||e===i.MS||e===i.MTEXT)}(e,t))}}),c=n.cw(function(e,t){const n=t.NAMESPACES={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/"};t.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"},t.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const r=t.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};t.SPECIAL_ELEMENTS={[n.HTML]:{[r.ADDRESS]:!0,[r.APPLET]:!0,[r.AREA]:!0,[r.ARTICLE]:!0,[r.ASIDE]:!0,[r.BASE]:!0,[r.BASEFONT]:!0,[r.BGSOUND]:!0,[r.BLOCKQUOTE]:!0,[r.BODY]:!0,[r.BR]:!0,[r.BUTTON]:!0,[r.CAPTION]:!0,[r.CENTER]:!0,[r.COL]:!0,[r.COLGROUP]:!0,[r.DD]:!0,[r.DETAILS]:!0,[r.DIR]:!0,[r.DIV]:!0,[r.DL]:!0,[r.DT]:!0,[r.EMBED]:!0,[r.FIELDSET]:!0,[r.FIGCAPTION]:!0,[r.FIGURE]:!0,[r.FOOTER]:!0,[r.FORM]:!0,[r.FRAME]:!0,[r.FRAMESET]:!0,[r.H1]:!0,[r.H2]:!0,[r.H3]:!0,[r.H4]:!0,[r.H5]:!0,[r.H6]:!0,[r.HEAD]:!0,[r.HEADER]:!0,[r.HGROUP]:!0,[r.HR]:!0,[r.HTML]:!0,[r.IFRAME]:!0,[r.IMG]:!0,[r.INPUT]:!0,[r.LI]:!0,[r.LINK]:!0,[r.LISTING]:!0,[r.MAIN]:!0,[r.MARQUEE]:!0,[r.MENU]:!0,[r.META]:!0,[r.NAV]:!0,[r.NOEMBED]:!0,[r.NOFRAMES]:!0,[r.NOSCRIPT]:!0,[r.OBJECT]:!0,[r.OL]:!0,[r.P]:!0,[r.PARAM]:!0,[r.PLAINTEXT]:!0,[r.PRE]:!0,[r.SCRIPT]:!0,[r.SECTION]:!0,[r.SELECT]:!0,[r.SOURCE]:!0,[r.STYLE]:!0,[r.SUMMARY]:!0,[r.TABLE]:!0,[r.TBODY]:!0,[r.TD]:!0,[r.TEMPLATE]:!0,[r.TEXTAREA]:!0,[r.TFOOT]:!0,[r.TH]:!0,[r.THEAD]:!0,[r.TITLE]:!0,[r.TR]:!0,[r.TRACK]:!0,[r.UL]:!0,[r.WBR]:!0,[r.XMP]:!0},[n.MATHML]:{[r.MI]:!0,[r.MO]:!0,[r.MN]:!0,[r.MS]:!0,[r.MTEXT]:!0,[r.ANNOTATION_XML]:!0},[n.SVG]:{[r.TITLE]:!0,[r.FOREIGN_OBJECT]:!0,[r.DESC]:!0}}}),u=n.cw(function(e,t){const n=[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];t.REPLACEMENT_CHARACTER="�",t.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533},t.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]},t.isSurrogate=function(e){return e>=55296&&e<=57343},t.isSurrogatePair=function(e){return e>=56320&&e<=57343},t.getSurrogatePairCodePoint=function(e,t){return 1024*(e-55296)+9216+t},t.isControlCodePoint=function(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159},t.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||n.indexOf(e)>-1}}),h=n.cw(function(e,t){const n=y();e.exports=class extends n{constructor(e,t){super(e),this.posTracker=null,this.onParseError=t.onParseError}_setErrorLocation(e){e.startLine=e.endLine=this.posTracker.line,e.startCol=e.endCol=this.posTracker.col,e.startOffset=e.endOffset=this.posTracker.offset}_reportError(e){const t={code:e,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(t),this.onParseError(t)}_getOverriddenMethods(e){return{_err(t){e._reportError(t)}}}}}),p=n.cw(function(e,t){const n=h(),r=m(),i=E(),o=y();e.exports=class extends n{constructor(e,t){super(e,t),this.opts=t,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(e){this.ctLoc&&(e.startLine=this.ctLoc.startLine,e.startCol=this.ctLoc.startCol,e.startOffset=this.ctLoc.startOffset,e.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,e.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,e.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(e,t){return{_bootstrap(n,s){t._bootstrap.call(this,n,s),o.install(this.tokenizer,r,e.opts),o.install(this.tokenizer,i)},_processInputToken(n){e.ctLoc=n.location,t._processInputToken.call(this,n)},_err(t,n){e.locBeforeToken=n&&n.beforeToken,e._reportError(t)}}}}}),f=n.cw(function(e,t){const n=h(),r=g(),i=y();e.exports=class extends n{constructor(e,t){super(e,t),this.posTracker=i.install(e,r),this.lastErrOffset=-1}_reportError(e){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(e))}}}),m=n.cw(function(e,t){const n=h(),r=f(),i=y();e.exports=class extends n{constructor(e,t){super(e,t);const n=i.install(e.preprocessor,r,t);this.posTracker=n.posTracker}}}),d=n.cw(function(e,t){const n=y();e.exports=class extends n{constructor(e,t){super(e),this.onItemPop=t.onItemPop}_getOverriddenMethods(e,t){return{pop(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement(){for(let t=this.stackTop;t>0;t--)e.onItemPop(this.items[t]);t.popAllUpToHtmlElement.call(this)},remove(n){e.onItemPop(this.current),t.remove.call(this,n)}}}}}),T=n.cw(function(e,t){const n=y(),r=C(),i=E(),o=d(),s=c().TAG_NAMES;e.exports=class extends n{constructor(e){super(e),this.parser=e,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(e){let t=null;this.lastStartTagToken&&(t=Object.assign({},this.lastStartTagToken.location),t.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(e,t)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,i=this.treeAdapter.getTagName(e),o={};t.type===r.END_TAG_TOKEN&&i===t.tagName?(o.endTag=Object.assign({},n),o.endLine=n.endLine,o.endCol=n.endCol,o.endOffset=n.endOffset):(o.endLine=n.startLine,o.endCol=n.startCol,o.endOffset=n.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}_getOverriddenMethods(e,t){return{_bootstrap(r,s){t._bootstrap.call(this,r,s),e.lastStartTagToken=null,e.lastFosterParentingLocation=null,e.currentToken=null;const a=n.install(this.tokenizer,i);e.posTracker=a.posTracker,n.install(this.openElements,o,{onItemPop:function(t){e._setEndLocation(t,e.currentToken)}})},_runParsingLoop(n){t._runParsingLoop.call(this,n);for(let t=this.openElements.stackTop;t>=0;t--)e._setEndLocation(this.openElements.items[t],e.currentToken)},_processTokenInForeignContent(n){e.currentToken=n,t._processTokenInForeignContent.call(this,n)},_processToken(n){if(e.currentToken=n,t._processToken.call(this,n),n.type===r.END_TAG_TOKEN&&(n.tagName===s.HTML||n.tagName===s.BODY&&this.openElements.hasInScope(s.BODY)))for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];if(this.treeAdapter.getTagName(r)===n.tagName){e._setEndLocation(r,n);break}}},_setDocumentType(e){t._setDocumentType.call(this,e);const n=this.treeAdapter.getChildNodes(this.document),r=n.length;for(let t=0;t<r;t++){const r=n[t];if(this.treeAdapter.isDocumentTypeNode(r)){this.treeAdapter.setNodeSourceCodeLocation(r,e.location);break}}},_attachElementToTree(n){e._setStartLocation(n),e.lastStartTagToken=null,t._attachElementToTree.call(this,n)},_appendElement(n,r){e.lastStartTagToken=n,t._appendElement.call(this,n,r)},_insertElement(n,r){e.lastStartTagToken=n,t._insertElement.call(this,n,r)},_insertTemplate(n){e.lastStartTagToken=n,t._insertTemplate.call(this,n);const r=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(r,null)},_insertFakeRootElement(){t._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(e,n){t._appendCommentNode.call(this,e,n);const r=this.treeAdapter.getChildNodes(n),i=r[r.length-1];this.treeAdapter.setNodeSourceCodeLocation(i,e.location)},_findFosterParentingLocation(){return e.lastFosterParentingLocation=t._findFosterParentingLocation.call(this),e.lastFosterParentingLocation},_insertCharacters(n){t._insertCharacters.call(this,n);const r=this._shouldFosterParentOnInsertion(),i=r&&e.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,o=this.treeAdapter.getChildNodes(i),s=r&&e.lastFosterParentingLocation.beforeElement?o.indexOf(e.lastFosterParentingLocation.beforeElement)-1:o.length-1,a=o[s];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:e,endCol:t,endOffset:r}=n.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:e,endCol:t,endOffset:r})}else this.treeAdapter.setNodeSourceCodeLocation(a,n.location)}}}}}),E=n.cw(function(e,t){const n=y(),r=C(),i=g();e.exports=class extends n{constructor(e){super(e),this.tokenizer=e,this.posTracker=n.install(e.preprocessor,i),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const e=this.tokenizer.currentToken,t=this.tokenizer.currentAttr;e.location.attrs||(e.location.attrs=Object.create(null)),e.location.attrs[t.name]=this.currentAttrLocation}_getOverriddenMethods(e,t){const n={_createStartTagToken(){t._createStartTagToken.call(this),this.currentToken.location=e.ctLoc},_createEndTagToken(){t._createEndTagToken.call(this),this.currentToken.location=e.ctLoc},_createCommentToken(){t._createCommentToken.call(this),this.currentToken.location=e.ctLoc},_createDoctypeToken(n){t._createDoctypeToken.call(this,n),this.currentToken.location=e.ctLoc},_createCharacterToken(n,r){t._createCharacterToken.call(this,n,r),this.currentCharacterToken.location=e.ctLoc},_createEOFToken(){t._createEOFToken.call(this),this.currentToken.location=e._getCurrentLocation()},_createAttr(n){t._createAttr.call(this,n),e.currentAttrLocation=e._getCurrentLocation()},_leaveAttrName(n){t._leaveAttrName.call(this,n),e._attachCurrentAttrLocationInfo()},_leaveAttrValue(n){t._leaveAttrValue.call(this,n),e._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const n=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=n.startLine,this.currentCharacterToken.location.endCol=n.startCol,this.currentCharacterToken.location.endOffset=n.startOffset),this.currentToken.type===r.EOF_TOKEN?(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset):(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col+1,n.endOffset=e.posTracker.offset+1),t._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const n=this.currentCharacterToken&&this.currentCharacterToken.location;n&&-1===n.endOffset&&(n.endLine=e.posTracker.line,n.endCol=e.posTracker.col,n.endOffset=e.posTracker.offset),t._emitCurrentCharacterToken.call(this)}};return Object.keys(r.MODE).forEach(i=>{const o=r.MODE[i];n[o]=function(n){e.ctLoc=e._getCurrentLocation(),t[o].call(this,n)}}),n}}}),g=n.cw(function(e,t){const n=y();e.exports=class extends n{constructor(e){super(e),this.preprocessor=e,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(e,t){return{advance(){const n=this.pos+1,r=this.html[n];return e.isEol&&(e.isEol=!1,e.line++,e.lineStartPos=n),("\n"===r||"\r"===r&&"\n"!==this.html[n+1])&&(e.isEol=!0),e.col=n-e.lineStartPos+1,e.offset=e.droppedBufferSize+n,t.advance.call(this)},retreat(){t.retreat.call(this),e.isEol=!1,e.col=this.pos-e.lineStartPos+1},dropParsedChunk(){const n=this.pos;t.dropParsedChunk.call(this);const r=n-this.pos;e.lineStartPos-=r,e.droppedBufferSize+=r,e.offset=e.droppedBufferSize+this.pos}}}}}),_=n.cw(function(e,t){const r=C(),i=A(),o=n(7232),h=T(),f=p(),m=y(),d=S(),E=O(),g=s(),_=l(),k=a(),N=u(),I=c(),R=I.TAG_NAMES,L=I.NAMESPACES,x=I.ATTRS,b={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:d},M="hidden",v="INITIAL_MODE",P="BEFORE_HTML_MODE",D="BEFORE_HEAD_MODE",F="IN_HEAD_MODE",w="IN_HEAD_NO_SCRIPT_MODE",H="AFTER_HEAD_MODE",B="IN_BODY_MODE",U="TEXT_MODE",G="IN_TABLE_MODE",K="IN_TABLE_TEXT_MODE",j="IN_CAPTION_MODE",z="IN_COLUMN_GROUP_MODE",Y="IN_TABLE_BODY_MODE",Q="IN_ROW_MODE",W="IN_CELL_MODE",V="IN_SELECT_MODE",q="IN_SELECT_IN_TABLE_MODE",X="IN_TEMPLATE_MODE",$="AFTER_BODY_MODE",Z="IN_FRAMESET_MODE",J="AFTER_FRAMESET_MODE",ee="AFTER_AFTER_BODY_MODE",te="AFTER_AFTER_FRAMESET_MODE",ne={[R.TR]:Q,[R.TBODY]:Y,[R.THEAD]:Y,[R.TFOOT]:Y,[R.CAPTION]:j,[R.COLGROUP]:z,[R.TABLE]:G,[R.BODY]:B,[R.FRAMESET]:Z},re={[R.CAPTION]:G,[R.COLGROUP]:G,[R.TBODY]:G,[R.TFOOT]:G,[R.THEAD]:G,[R.COL]:z,[R.TR]:Y,[R.TD]:Q,[R.TH]:Q},ie={[v]:{[r.CHARACTER_TOKEN]:ge,[r.NULL_CHARACTER_TOKEN]:ge,[r.WHITESPACE_CHARACTER_TOKEN]:pe,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:function(e,t){e._setDocumentType(t);const n=t.forceQuirks?I.DOCUMENT_MODE.QUIRKS:g.getDocumentMode(t);g.isConforming(t)||e._err(k.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=P},[r.START_TAG_TOKEN]:ge,[r.END_TAG_TOKEN]:ge,[r.EOF_TOKEN]:ge},[P]:{[r.CHARACTER_TOKEN]:_e,[r.NULL_CHARACTER_TOKEN]:_e,[r.WHITESPACE_CHARACTER_TOKEN]:pe,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:function(e,t){t.tagName===R.HTML?(e._insertElement(t,L.HTML),e.insertionMode=D):_e(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n!==R.HTML&&n!==R.HEAD&&n!==R.BODY&&n!==R.BR||_e(e,t)},[r.EOF_TOKEN]:_e},[D]:{[r.CHARACTER_TOKEN]:Ae,[r.NULL_CHARACTER_TOKEN]:Ae,[r.WHITESPACE_CHARACTER_TOKEN]:pe,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:fe,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.HTML?He(e,t):n===R.HEAD?(e._insertElement(t,L.HTML),e.headElement=e.openElements.current,e.insertionMode=F):Ae(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.HEAD||n===R.BODY||n===R.HTML||n===R.BR?Ae(e,t):e._err(k.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:Ae},[F]:{[r.CHARACTER_TOKEN]:Ne,[r.NULL_CHARACTER_TOKEN]:Ne,[r.WHITESPACE_CHARACTER_TOKEN]:Te,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:fe,[r.START_TAG_TOKEN]:Ce,[r.END_TAG_TOKEN]:ke,[r.EOF_TOKEN]:Ne},[w]:{[r.CHARACTER_TOKEN]:Se,[r.NULL_CHARACTER_TOKEN]:Se,[r.WHITESPACE_CHARACTER_TOKEN]:Te,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:fe,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.HTML?He(e,t):n===R.BASEFONT||n===R.BGSOUND||n===R.HEAD||n===R.LINK||n===R.META||n===R.NOFRAMES||n===R.STYLE?Ce(e,t):n===R.NOSCRIPT?e._err(k.nestedNoscriptInHead):Se(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.NOSCRIPT?(e.openElements.pop(),e.insertionMode=F):n===R.BR?Se(e,t):e._err(k.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:Se},[H]:{[r.CHARACTER_TOKEN]:Oe,[r.NULL_CHARACTER_TOKEN]:Oe,[r.WHITESPACE_CHARACTER_TOKEN]:Te,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:fe,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.HTML?He(e,t):n===R.BODY?(e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=B):n===R.FRAMESET?(e._insertElement(t,L.HTML),e.insertionMode=Z):n===R.BASE||n===R.BASEFONT||n===R.BGSOUND||n===R.LINK||n===R.META||n===R.NOFRAMES||n===R.SCRIPT||n===R.STYLE||n===R.TEMPLATE||n===R.TITLE?(e._err(k.abandonedHeadElementChild),e.openElements.push(e.headElement),Ce(e,t),e.openElements.remove(e.headElement)):n===R.HEAD?e._err(k.misplacedStartTagForHeadElement):Oe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.BODY||n===R.HTML||n===R.BR?Oe(e,t):n===R.TEMPLATE?ke(e,t):e._err(k.endTagWithoutMatchingOpenElement)},[r.EOF_TOKEN]:Oe},[B]:{[r.CHARACTER_TOKEN]:Ie,[r.NULL_CHARACTER_TOKEN]:pe,[r.WHITESPACE_CHARACTER_TOKEN]:ye,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:He,[r.END_TAG_TOKEN]:Ke,[r.EOF_TOKEN]:je},[U]:{[r.CHARACTER_TOKEN]:Te,[r.NULL_CHARACTER_TOKEN]:Te,[r.WHITESPACE_CHARACTER_TOKEN]:Te,[r.COMMENT_TOKEN]:pe,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:pe,[r.END_TAG_TOKEN]:function(e,t){t.tagName===R.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode},[r.EOF_TOKEN]:function(e,t){e._err(k.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}},[G]:{[r.CHARACTER_TOKEN]:ze,[r.NULL_CHARACTER_TOKEN]:ze,[r.WHITESPACE_CHARACTER_TOKEN]:ze,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:Ye,[r.END_TAG_TOKEN]:Qe,[r.EOF_TOKEN]:je},[K]:{[r.CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0},[r.NULL_CHARACTER_TOKEN]:pe,[r.WHITESPACE_CHARACTER_TOKEN]:function(e,t){e.pendingCharacterTokens.push(t)},[r.COMMENT_TOKEN]:Ve,[r.DOCTYPE_TOKEN]:Ve,[r.START_TAG_TOKEN]:Ve,[r.END_TAG_TOKEN]:Ve,[r.EOF_TOKEN]:Ve},[j]:{[r.CHARACTER_TOKEN]:Ie,[r.NULL_CHARACTER_TOKEN]:pe,[r.WHITESPACE_CHARACTER_TOKEN]:ye,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.CAPTION||n===R.COL||n===R.COLGROUP||n===R.TBODY||n===R.TD||n===R.TFOOT||n===R.TH||n===R.THEAD||n===R.TR?e.openElements.hasInTableScope(R.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(R.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=G,e._processToken(t)):He(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.CAPTION||n===R.TABLE?e.openElements.hasInTableScope(R.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(R.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=G,n===R.TABLE&&e._processToken(t)):n!==R.BODY&&n!==R.COL&&n!==R.COLGROUP&&n!==R.HTML&&n!==R.TBODY&&n!==R.TD&&n!==R.TFOOT&&n!==R.TH&&n!==R.THEAD&&n!==R.TR&&Ke(e,t)},[r.EOF_TOKEN]:je},[z]:{[r.CHARACTER_TOKEN]:qe,[r.NULL_CHARACTER_TOKEN]:qe,[r.WHITESPACE_CHARACTER_TOKEN]:Te,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.HTML?He(e,t):n===R.COL?(e._appendElement(t,L.HTML),t.ackSelfClosing=!0):n===R.TEMPLATE?Ce(e,t):qe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.COLGROUP?e.openElements.currentTagName===R.COLGROUP&&(e.openElements.pop(),e.insertionMode=G):n===R.TEMPLATE?ke(e,t):n!==R.COL&&qe(e,t)},[r.EOF_TOKEN]:je},[Y]:{[r.CHARACTER_TOKEN]:ze,[r.NULL_CHARACTER_TOKEN]:ze,[r.WHITESPACE_CHARACTER_TOKEN]:ze,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,L.HTML),e.insertionMode=Q):n===R.TH||n===R.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(R.TR),e.insertionMode=Q,e._processToken(t)):n===R.CAPTION||n===R.COL||n===R.COLGROUP||n===R.TBODY||n===R.TFOOT||n===R.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=G,e._processToken(t)):Ye(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.TBODY||n===R.TFOOT||n===R.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=G):n===R.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=G,e._processToken(t)):(n!==R.BODY&&n!==R.CAPTION&&n!==R.COL&&n!==R.COLGROUP||n!==R.HTML&&n!==R.TD&&n!==R.TH&&n!==R.TR)&&Qe(e,t)},[r.EOF_TOKEN]:je},[Q]:{[r.CHARACTER_TOKEN]:ze,[r.NULL_CHARACTER_TOKEN]:ze,[r.WHITESPACE_CHARACTER_TOKEN]:ze,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.TH||n===R.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,L.HTML),e.insertionMode=W,e.activeFormattingElements.insertMarker()):n===R.CAPTION||n===R.COL||n===R.COLGROUP||n===R.TBODY||n===R.TFOOT||n===R.THEAD||n===R.TR?e.openElements.hasInTableScope(R.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Y,e._processToken(t)):Ye(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.TR?e.openElements.hasInTableScope(R.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Y):n===R.TABLE?e.openElements.hasInTableScope(R.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Y,e._processToken(t)):n===R.TBODY||n===R.TFOOT||n===R.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(R.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Y,e._processToken(t)):(n!==R.BODY&&n!==R.CAPTION&&n!==R.COL&&n!==R.COLGROUP||n!==R.HTML&&n!==R.TD&&n!==R.TH)&&Qe(e,t)},[r.EOF_TOKEN]:je},[W]:{[r.CHARACTER_TOKEN]:Ie,[r.NULL_CHARACTER_TOKEN]:pe,[r.WHITESPACE_CHARACTER_TOKEN]:ye,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.CAPTION||n===R.COL||n===R.COLGROUP||n===R.TBODY||n===R.TD||n===R.TFOOT||n===R.TH||n===R.THEAD||n===R.TR?(e.openElements.hasInTableScope(R.TD)||e.openElements.hasInTableScope(R.TH))&&(e._closeTableCell(),e._processToken(t)):He(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.TD||n===R.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q):n===R.TABLE||n===R.TBODY||n===R.TFOOT||n===R.THEAD||n===R.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==R.BODY&&n!==R.CAPTION&&n!==R.COL&&n!==R.COLGROUP&&n!==R.HTML&&Ke(e,t)},[r.EOF_TOKEN]:je},[V]:{[r.CHARACTER_TOKEN]:Te,[r.NULL_CHARACTER_TOKEN]:pe,[r.WHITESPACE_CHARACTER_TOKEN]:Te,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:Xe,[r.END_TAG_TOKEN]:$e,[r.EOF_TOKEN]:je},[q]:{[r.CHARACTER_TOKEN]:Te,[r.NULL_CHARACTER_TOKEN]:pe,[r.WHITESPACE_CHARACTER_TOKEN]:Te,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.CAPTION||n===R.TABLE||n===R.TBODY||n===R.TFOOT||n===R.THEAD||n===R.TR||n===R.TD||n===R.TH?(e.openElements.popUntilTagNamePopped(R.SELECT),e._resetInsertionMode(),e._processToken(t)):Xe(e,t)},[r.END_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.CAPTION||n===R.TABLE||n===R.TBODY||n===R.TFOOT||n===R.THEAD||n===R.TR||n===R.TD||n===R.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(R.SELECT),e._resetInsertionMode(),e._processToken(t)):$e(e,t)},[r.EOF_TOKEN]:je},[X]:{[r.CHARACTER_TOKEN]:Ie,[r.NULL_CHARACTER_TOKEN]:pe,[r.WHITESPACE_CHARACTER_TOKEN]:ye,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;if(n===R.BASE||n===R.BASEFONT||n===R.BGSOUND||n===R.LINK||n===R.META||n===R.NOFRAMES||n===R.SCRIPT||n===R.STYLE||n===R.TEMPLATE||n===R.TITLE)Ce(e,t);else{const r=re[n]||B;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}},[r.END_TAG_TOKEN]:function(e,t){t.tagName===R.TEMPLATE&&ke(e,t)},[r.EOF_TOKEN]:Ze},[$]:{[r.CHARACTER_TOKEN]:Je,[r.NULL_CHARACTER_TOKEN]:Je,[r.WHITESPACE_CHARACTER_TOKEN]:ye,[r.COMMENT_TOKEN]:function(e,t){e._appendCommentNode(t,e.openElements.items[0])},[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:function(e,t){t.tagName===R.HTML?He(e,t):Je(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===R.HTML?e.fragmentContext||(e.insertionMode=ee):Je(e,t)},[r.EOF_TOKEN]:Ee},[Z]:{[r.CHARACTER_TOKEN]:pe,[r.NULL_CHARACTER_TOKEN]:pe,[r.WHITESPACE_CHARACTER_TOKEN]:Te,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.HTML?He(e,t):n===R.FRAMESET?e._insertElement(t,L.HTML):n===R.FRAME?(e._appendElement(t,L.HTML),t.ackSelfClosing=!0):n===R.NOFRAMES&&Ce(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName!==R.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagName===R.FRAMESET||(e.insertionMode=J))},[r.EOF_TOKEN]:Ee},[J]:{[r.CHARACTER_TOKEN]:pe,[r.NULL_CHARACTER_TOKEN]:pe,[r.WHITESPACE_CHARACTER_TOKEN]:Te,[r.COMMENT_TOKEN]:me,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.HTML?He(e,t):n===R.NOFRAMES&&Ce(e,t)},[r.END_TAG_TOKEN]:function(e,t){t.tagName===R.HTML&&(e.insertionMode=te)},[r.EOF_TOKEN]:Ee},[ee]:{[r.CHARACTER_TOKEN]:et,[r.NULL_CHARACTER_TOKEN]:et,[r.WHITESPACE_CHARACTER_TOKEN]:ye,[r.COMMENT_TOKEN]:de,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:function(e,t){t.tagName===R.HTML?He(e,t):et(e,t)},[r.END_TAG_TOKEN]:et,[r.EOF_TOKEN]:Ee},[te]:{[r.CHARACTER_TOKEN]:pe,[r.NULL_CHARACTER_TOKEN]:pe,[r.WHITESPACE_CHARACTER_TOKEN]:ye,[r.COMMENT_TOKEN]:de,[r.DOCTYPE_TOKEN]:pe,[r.START_TAG_TOKEN]:function(e,t){const n=t.tagName;n===R.HTML?He(e,t):n===R.NOFRAMES&&Ce(e,t)},[r.END_TAG_TOKEN]:pe,[r.EOF_TOKEN]:Ee}};function oe(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Ge(e,t),n}function se(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function ae(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let o=0,s=i;s!==n;o++,s=i){i=e.openElements.getCommonAncestor(s);const n=e.activeFormattingElements.getElementEntry(s),a=n&&o>=3;!n||a?(a&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(s)):(s=le(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}function le(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function ce(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===R.TEMPLATE&&i===L.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function ue(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o)}function he(e,t){let n;for(let r=0;r<8&&(n=oe(e,t),n);r++){const t=se(e,n);if(!t)break;e.activeFormattingElements.bookmark=n;const r=ae(e,t,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(r),ce(e,i,r),ue(e,t,n)}}function pe(){}function fe(e){e._err(k.misplacedDoctype)}function me(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function de(e,t){e._appendCommentNode(t,e.document)}function Te(e,t){e._insertCharacters(t)}function Ee(e){e.stopped=!0}function ge(e,t){e._err(k.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,I.DOCUMENT_MODE.QUIRKS),e.insertionMode=P,e._processToken(t)}function _e(e,t){e._insertFakeRootElement(),e.insertionMode=D,e._processToken(t)}function Ae(e,t){e._insertFakeElement(R.HEAD),e.headElement=e.openElements.current,e.insertionMode=F,e._processToken(t)}function Ce(e,t){const n=t.tagName;n===R.HTML?He(e,t):n===R.BASE||n===R.BASEFONT||n===R.BGSOUND||n===R.LINK||n===R.META?(e._appendElement(t,L.HTML),t.ackSelfClosing=!0):n===R.TITLE?e._switchToTextParsing(t,r.MODE.RCDATA):n===R.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,r.MODE.RAWTEXT):(e._insertElement(t,L.HTML),e.insertionMode=w):n===R.NOFRAMES||n===R.STYLE?e._switchToTextParsing(t,r.MODE.RAWTEXT):n===R.SCRIPT?e._switchToTextParsing(t,r.MODE.SCRIPT_DATA):n===R.TEMPLATE?(e._insertTemplate(t,L.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=X,e._pushTmplInsertionMode(X)):n===R.HEAD?e._err(k.misplacedStartTagForHeadElement):Ne(e,t)}function ke(e,t){const n=t.tagName;n===R.HEAD?(e.openElements.pop(),e.insertionMode=H):n===R.BODY||n===R.BR||n===R.HTML?Ne(e,t):n===R.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==R.TEMPLATE&&e._err(k.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(R.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(k.endTagWithoutMatchingOpenElement)}function Ne(e,t){e.openElements.pop(),e.insertionMode=H,e._processToken(t)}function Se(e,t){const n=t.type===r.EOF_TOKEN?k.openElementsLeftAfterEof:k.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=F,e._processToken(t)}function Oe(e,t){e._insertFakeElement(R.BODY),e.insertionMode=B,e._processToken(t)}function ye(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Ie(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Re(e,t){e.openElements.hasInButtonScope(R.P)&&e._closePElement(),e._insertElement(t,L.HTML)}function Le(e,t){e.openElements.hasInButtonScope(R.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function xe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function be(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Me(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ve(e,t){e._appendElement(t,L.HTML),t.ackSelfClosing=!0}function Pe(e,t){e._switchToTextParsing(t,r.MODE.RAWTEXT)}function De(e,t){e.openElements.currentTagName===R.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML)}function Fe(e,t){e.openElements.hasInScope(R.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,L.HTML)}function we(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML)}function He(e,t){const n=t.tagName;switch(n.length){case 1:n===R.I||n===R.S||n===R.B||n===R.U?xe(e,t):n===R.P?Re(e,t):n===R.A?function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(R.A);n&&(he(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):we(e,t);break;case 2:n===R.DL||n===R.OL||n===R.UL?Re(e,t):n===R.H1||n===R.H2||n===R.H3||n===R.H4||n===R.H5||n===R.H6?function(e,t){e.openElements.hasInButtonScope(R.P)&&e._closePElement();const n=e.openElements.currentTagName;n!==R.H1&&n!==R.H2&&n!==R.H3&&n!==R.H4&&n!==R.H5&&n!==R.H6||e.openElements.pop(),e._insertElement(t,L.HTML)}(e,t):n===R.LI||n===R.DD||n===R.DT?function(e,t){e.framesetOk=!1;const n=t.tagName;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.items[t],i=e.treeAdapter.getTagName(r);let o=null;if(n===R.LI&&i===R.LI?o=R.LI:n!==R.DD&&n!==R.DT||i!==R.DD&&i!==R.DT||(o=i),o){e.openElements.generateImpliedEndTagsWithExclusion(o),e.openElements.popUntilTagNamePopped(o);break}if(i!==R.ADDRESS&&i!==R.DIV&&i!==R.P&&e._isSpecialElement(r))break}e.openElements.hasInButtonScope(R.P)&&e._closePElement(),e._insertElement(t,L.HTML)}(e,t):n===R.EM||n===R.TT?xe(e,t):n===R.BR?Me(e,t):n===R.HR?function(e,t){e.openElements.hasInButtonScope(R.P)&&e._closePElement(),e._appendElement(t,L.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t):n===R.RB?Fe(e,t):n===R.RT||n===R.RP?function(e,t){e.openElements.hasInScope(R.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(R.RTC),e._insertElement(t,L.HTML)}(e,t):n!==R.TH&&n!==R.TD&&n!==R.TR&&we(e,t);break;case 3:n===R.DIV||n===R.DIR||n===R.NAV?Re(e,t):n===R.PRE?Le(e,t):n===R.BIG?xe(e,t):n===R.IMG||n===R.WBR?Me(e,t):n===R.XMP?function(e,t){e.openElements.hasInButtonScope(R.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}(e,t):n===R.SVG?function(e,t){e._reconstructActiveFormattingElements(),_.adjustTokenSVGAttrs(t),_.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,L.SVG):e._insertElement(t,L.SVG),t.ackSelfClosing=!0}(e,t):n===R.RTC?Fe(e,t):n!==R.COL&&we(e,t);break;case 4:n===R.HTML?function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t):n===R.BASE||n===R.LINK||n===R.META?Ce(e,t):n===R.BODY?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t):n===R.MAIN||n===R.MENU?Re(e,t):n===R.FORM?function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(R.P)&&e._closePElement(),e._insertElement(t,L.HTML),n||(e.formElement=e.openElements.current))}(e,t):n===R.CODE||n===R.FONT?xe(e,t):n===R.NOBR?function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(R.NOBR)&&(he(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,L.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t):n===R.AREA?Me(e,t):n===R.MATH?function(e,t){e._reconstructActiveFormattingElements(),_.adjustTokenMathMLAttrs(t),_.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,L.MATHML):e._insertElement(t,L.MATHML),t.ackSelfClosing=!0}(e,t):n===R.MENU?function(e,t){e.openElements.hasInButtonScope(R.P)&&e._closePElement(),e._insertElement(t,L.HTML)}(e,t):n!==R.HEAD&&we(e,t);break;case 5:n===R.STYLE||n===R.TITLE?Ce(e,t):n===R.ASIDE?Re(e,t):n===R.SMALL?xe(e,t):n===R.TABLE?function(e,t){e.treeAdapter.getDocumentMode(e.document)!==I.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(R.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode=G}(e,t):n===R.EMBED?Me(e,t):n===R.INPUT?function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,L.HTML);const n=r.getTokenAttr(t,x.TYPE);n&&n.toLowerCase()===M||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t):n===R.PARAM||n===R.TRACK?ve(e,t):n===R.IMAGE?function(e,t){t.tagName=R.IMG,Me(e,t)}(e,t):n!==R.FRAME&&n!==R.TBODY&&n!==R.TFOOT&&n!==R.THEAD&&we(e,t);break;case 6:n===R.SCRIPT?Ce(e,t):n===R.CENTER||n===R.FIGURE||n===R.FOOTER||n===R.HEADER||n===R.HGROUP||n===R.DIALOG?Re(e,t):n===R.BUTTON?function(e,t){e.openElements.hasInScope(R.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(R.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.framesetOk=!1}(e,t):n===R.STRIKE||n===R.STRONG?xe(e,t):n===R.APPLET||n===R.OBJECT?be(e,t):n===R.KEYGEN?Me(e,t):n===R.SOURCE?ve(e,t):n===R.IFRAME?function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,r.MODE.RAWTEXT)}(e,t):n===R.SELECT?function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,L.HTML),e.framesetOk=!1,e.insertionMode===G||e.insertionMode===j||e.insertionMode===Y||e.insertionMode===Q||e.insertionMode===W?e.insertionMode=q:e.insertionMode=V}(e,t):n===R.OPTION?De(e,t):we(e,t);break;case 7:n===R.BGSOUND?Ce(e,t):n===R.DETAILS||n===R.ADDRESS||n===R.ARTICLE||n===R.SECTION||n===R.SUMMARY?Re(e,t):n===R.LISTING?Le(e,t):n===R.MARQUEE?be(e,t):n===R.NOEMBED?Pe(e,t):n!==R.CAPTION&&we(e,t);break;case 8:n===R.BASEFONT?Ce(e,t):n===R.FRAMESET?function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,L.HTML),e.insertionMode=Z)}(e,t):n===R.FIELDSET?Re(e,t):n===R.TEXTAREA?function(e,t){e._insertElement(t,L.HTML),e.skipNextNewLine=!0,e.tokenizer.state=r.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=U}(e,t):n===R.TEMPLATE?Ce(e,t):n===R.NOSCRIPT?e.options.scriptingEnabled?Pe(e,t):we(e,t):n===R.OPTGROUP?De(e,t):n!==R.COLGROUP&&we(e,t);break;case 9:n===R.PLAINTEXT?function(e,t){e.openElements.hasInButtonScope(R.P)&&e._closePElement(),e._insertElement(t,L.HTML),e.tokenizer.state=r.MODE.PLAINTEXT}(e,t):we(e,t);break;case 10:n===R.BLOCKQUOTE||n===R.FIGCAPTION?Re(e,t):we(e,t);break;default:we(e,t)}}function Be(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Ue(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Ge(e,t){const n=t.tagName;for(let t=e.openElements.stackTop;t>0;t--){const r=e.openElements.items[t];if(e.treeAdapter.getTagName(r)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(r);break}if(e._isSpecialElement(r))break}}function Ke(e,t){const n=t.tagName;switch(n.length){case 1:n===R.A||n===R.B||n===R.I||n===R.S||n===R.U?he(e,t):n===R.P?function(e){e.openElements.hasInButtonScope(R.P)||e._insertFakeElement(R.P),e._closePElement()}(e):Ge(e,t);break;case 2:n===R.DL||n===R.UL||n===R.OL?Be(e,t):n===R.LI?function(e){e.openElements.hasInListItemScope(R.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(R.LI),e.openElements.popUntilTagNamePopped(R.LI))}(e):n===R.DD||n===R.DT?function(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t):n===R.H1||n===R.H2||n===R.H3||n===R.H4||n===R.H5||n===R.H6?function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e):n===R.BR?function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(R.BR),e.openElements.pop(),e.framesetOk=!1}(e):n===R.EM||n===R.TT?he(e,t):Ge(e,t);break;case 3:n===R.BIG?he(e,t):n===R.DIR||n===R.DIV||n===R.NAV||n===R.PRE?Be(e,t):Ge(e,t);break;case 4:n===R.BODY?function(e){e.openElements.hasInScope(R.BODY)&&(e.insertionMode=$)}(e):n===R.HTML?function(e,t){e.openElements.hasInScope(R.BODY)&&(e.insertionMode=$,e._processToken(t))}(e,t):n===R.FORM?function(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(R.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(R.FORM):e.openElements.remove(n))}(e):n===R.CODE||n===R.FONT||n===R.NOBR?he(e,t):n===R.MAIN||n===R.MENU?Be(e,t):Ge(e,t);break;case 5:n===R.ASIDE?Be(e,t):n===R.SMALL?he(e,t):Ge(e,t);break;case 6:n===R.CENTER||n===R.FIGURE||n===R.FOOTER||n===R.HEADER||n===R.HGROUP||n===R.DIALOG?Be(e,t):n===R.APPLET||n===R.OBJECT?Ue(e,t):n===R.STRIKE||n===R.STRONG?he(e,t):Ge(e,t);break;case 7:n===R.ADDRESS||n===R.ARTICLE||n===R.DETAILS||n===R.SECTION||n===R.SUMMARY||n===R.LISTING?Be(e,t):n===R.MARQUEE?Ue(e,t):Ge(e,t);break;case 8:n===R.FIELDSET?Be(e,t):n===R.TEMPLATE?ke(e,t):Ge(e,t);break;case 10:n===R.BLOCKQUOTE||n===R.FIGCAPTION?Be(e,t):Ge(e,t);break;default:Ge(e,t)}}function je(e,t){e.tmplInsertionModeStackTop>-1?Ze(e,t):e.stopped=!0}function ze(e,t){const n=e.openElements.currentTagName;n===R.TABLE||n===R.TBODY||n===R.TFOOT||n===R.THEAD||n===R.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=K,e._processToken(t)):We(e,t)}function Ye(e,t){const n=t.tagName;switch(n.length){case 2:n===R.TD||n===R.TH||n===R.TR?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(R.TBODY),e.insertionMode=Y,e._processToken(t)}(e,t):We(e,t);break;case 3:n===R.COL?function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(R.COLGROUP),e.insertionMode=z,e._processToken(t)}(e,t):We(e,t);break;case 4:n===R.FORM?function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,L.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t):We(e,t);break;case 5:n===R.TABLE?function(e,t){e.openElements.hasInTableScope(R.TABLE)&&(e.openElements.popUntilTagNamePopped(R.TABLE),e._resetInsertionMode(),e._processToken(t))}(e,t):n===R.STYLE?Ce(e,t):n===R.TBODY||n===R.TFOOT||n===R.THEAD?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=Y}(e,t):n===R.INPUT?function(e,t){const n=r.getTokenAttr(t,x.TYPE);n&&n.toLowerCase()===M?e._appendElement(t,L.HTML):We(e,t),t.ackSelfClosing=!0}(e,t):We(e,t);break;case 6:n===R.SCRIPT?Ce(e,t):We(e,t);break;case 7:n===R.CAPTION?function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,L.HTML),e.insertionMode=j}(e,t):We(e,t);break;case 8:n===R.COLGROUP?function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,L.HTML),e.insertionMode=z}(e,t):n===R.TEMPLATE?Ce(e,t):We(e,t);break;default:We(e,t)}}function Qe(e,t){const n=t.tagName;n===R.TABLE?e.openElements.hasInTableScope(R.TABLE)&&(e.openElements.popUntilTagNamePopped(R.TABLE),e._resetInsertionMode()):n===R.TEMPLATE?ke(e,t):n!==R.BODY&&n!==R.CAPTION&&n!==R.COL&&n!==R.COLGROUP&&n!==R.HTML&&n!==R.TBODY&&n!==R.TD&&n!==R.TFOOT&&n!==R.TH&&n!==R.THEAD&&n!==R.TR&&We(e,t)}function We(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function Ve(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)We(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function qe(e,t){e.openElements.currentTagName===R.COLGROUP&&(e.openElements.pop(),e.insertionMode=G,e._processToken(t))}function Xe(e,t){const n=t.tagName;n===R.HTML?He(e,t):n===R.OPTION?(e.openElements.currentTagName===R.OPTION&&e.openElements.pop(),e._insertElement(t,L.HTML)):n===R.OPTGROUP?(e.openElements.currentTagName===R.OPTION&&e.openElements.pop(),e.openElements.currentTagName===R.OPTGROUP&&e.openElements.pop(),e._insertElement(t,L.HTML)):n===R.INPUT||n===R.KEYGEN||n===R.TEXTAREA||n===R.SELECT?e.openElements.hasInSelectScope(R.SELECT)&&(e.openElements.popUntilTagNamePopped(R.SELECT),e._resetInsertionMode(),n!==R.SELECT&&e._processToken(t)):n!==R.SCRIPT&&n!==R.TEMPLATE||Ce(e,t)}function $e(e,t){const n=t.tagName;if(n===R.OPTGROUP){const t=e.openElements.items[e.openElements.stackTop-1],n=t&&e.treeAdapter.getTagName(t);e.openElements.currentTagName===R.OPTION&&n===R.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagName===R.OPTGROUP&&e.openElements.pop()}else n===R.OPTION?e.openElements.currentTagName===R.OPTION&&e.openElements.pop():n===R.SELECT&&e.openElements.hasInSelectScope(R.SELECT)?(e.openElements.popUntilTagNamePopped(R.SELECT),e._resetInsertionMode()):n===R.TEMPLATE&&ke(e,t)}function Ze(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(R.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function Je(e,t){e.insertionMode=B,e._processToken(t)}function et(e,t){e.insertionMode=B,e._processToken(t)}e.exports=class{constructor(e){this.options=E(b,e),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&m.install(this,h),this.options.onParseError&&m.install(this,f,{onParseError:this.options.onParseError})}parse(e){const t=this.treeAdapter.createDocument();return this._bootstrap(t,null),this.tokenizer.write(e,!0),this._runParsingLoop(null),t}parseFragment(e,t){t||(t=this.treeAdapter.createElement(R.TEMPLATE,L.HTML,[]));const n=this.treeAdapter.createElement("documentmock",L.HTML,[]);this._bootstrap(n,t),this.treeAdapter.getTagName(t)===R.TEMPLATE&&this._pushTmplInsertionMode(X),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(e,!0),this._runParsingLoop(null);const r=this.treeAdapter.getFirstChild(n),i=this.treeAdapter.createDocumentFragment();return this._adoptNodes(r,i),i}_bootstrap(e,t){this.tokenizer=new r(this.options),this.stopped=!1,this.insertionMode=v,this.originalInsertionMode="",this.document=e,this.fragmentContext=t,this.headElement=null,this.formElement=null,this.openElements=new i(this.document,this.treeAdapter),this.activeFormattingElements=new o(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(e){for(;!this.stopped;){this._setupTokenizerCDATAMode();const t=this.tokenizer.getNextToken();if(t.type===r.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.type===r.WHITESPACE_CHARACTER_TOKEN&&"\n"===t.chars[0])){if(1===t.chars.length)continue;t.chars=t.chars.substr(1)}if(this._processInputToken(t),e&&this.pendingScript)break}}runParsingLoopForCurrentChunk(e,t){if(this._runParsingLoop(t),t&&this.pendingScript){const e=this.pendingScript;return this.pendingScript=null,void t(e)}e&&e()}_setupTokenizerCDATAMode(){const e=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=e&&e!==this.document&&this.treeAdapter.getNamespaceURI(e)!==L.HTML&&!this._isIntegrationPoint(e)}_switchToTextParsing(e,t){this._insertElement(e,L.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=U}switchToPlaintextParsing(){this.insertionMode=U,this.originalInsertionMode=B,this.tokenizer.state=r.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;do{if(this.treeAdapter.getTagName(e)===R.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}while(e)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===L.HTML){const e=this.treeAdapter.getTagName(this.fragmentContext);e===R.TITLE||e===R.TEXTAREA?this.tokenizer.state=r.MODE.RCDATA:e===R.STYLE||e===R.XMP||e===R.IFRAME||e===R.NOEMBED||e===R.NOFRAMES||e===R.NOSCRIPT?this.tokenizer.state=r.MODE.RAWTEXT:e===R.SCRIPT?this.tokenizer.state=r.MODE.SCRIPT_DATA:e===R.PLAINTEXT&&(this.tokenizer.state=r.MODE.PLAINTEXT)}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";this.treeAdapter.setDocumentType(this.document,t,n,r)}_attachElementToTree(e){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n),this.openElements.push(n)}_insertFakeElement(e){const t=this.treeAdapter.createElement(e,L.HTML,[]);this._attachElementToTree(t),this.openElements.push(t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,L.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t),this.openElements.push(t)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(R.HTML,L.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n)}_insertCharacters(e){if(this._shouldFosterParentOnInsertion())this._fosterParentText(e.chars);else{const t=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(t,e.chars)}}_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)}_shouldProcessTokenInForeignContent(e){const t=this._getAdjustedCurrentElement();if(!t||t===this.document)return!1;const n=this.treeAdapter.getNamespaceURI(t);if(n===L.HTML)return!1;if(this.treeAdapter.getTagName(t)===R.ANNOTATION_XML&&n===L.MATHML&&e.type===r.START_TAG_TOKEN&&e.tagName===R.SVG)return!1;const i=e.type===r.CHARACTER_TOKEN||e.type===r.NULL_CHARACTER_TOKEN||e.type===r.WHITESPACE_CHARACTER_TOKEN;return!((e.type===r.START_TAG_TOKEN&&e.tagName!==R.MGLYPH&&e.tagName!==R.MALIGNMARK||i)&&this._isIntegrationPoint(t,L.MATHML)||(e.type===r.START_TAG_TOKEN||i)&&this._isIntegrationPoint(t,L.HTML)||e.type===r.EOF_TOKEN)}_processToken(e){ie[this.insertionMode][e.type](this,e)}_processTokenInBodyMode(e){ie[B][e.type](this,e)}_processTokenInForeignContent(e){e.type===r.CHARACTER_TOKEN?function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e):e.type===r.NULL_CHARACTER_TOKEN?function(e,t){t.chars=N.REPLACEMENT_CHARACTER,e._insertCharacters(t)}(this,e):e.type===r.WHITESPACE_CHARACTER_TOKEN?Te(this,e):e.type===r.COMMENT_TOKEN?me(this,e):e.type===r.START_TAG_TOKEN?function(e,t){if(_.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==L.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===L.MATHML?_.adjustTokenMathMLAttrs(t):r===L.SVG&&(_.adjustTokenSVGTagName(t),_.adjustTokenSVGAttrs(t)),_.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):e.type===r.END_TAG_TOKEN&&function(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===L.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}(this,e)}_processInputToken(e){this._shouldProcessTokenInForeignContent(e)?this._processTokenInForeignContent(e):this._processToken(e),e.type===r.START_TAG_TOKEN&&e.selfClosing&&!e.ackSelfClosing&&this._err(k.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(e,t){const n=this.treeAdapter.getTagName(e),r=this.treeAdapter.getNamespaceURI(e),i=this.treeAdapter.getAttrList(e);return _.isIntegrationPoint(n,r,i,t)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.length;if(e){let t=e,n=null;do{if(t--,n=this.activeFormattingElements.entries[t],n.type===o.MARKER_ENTRY||this.openElements.contains(n.element)){t++;break}}while(t>0);for(let r=t;r<e;r++)n=this.activeFormattingElements.entries[r],this._insertElement(n.token,this.treeAdapter.getNamespaceURI(n.element)),n.element=this.openElements.current}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Q}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(R.P),this.openElements.popUntilTagNamePopped(R.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop,t=!1;e>=0;e--){let n=this.openElements.items[e];0===e&&(t=!0,this.fragmentContext&&(n=this.fragmentContext));const r=this.treeAdapter.getTagName(n),i=ne[r];if(i){this.insertionMode=i;break}if(!(t||r!==R.TD&&r!==R.TH)){this.insertionMode=W;break}if(!t&&r===R.HEAD){this.insertionMode=F;break}if(r===R.SELECT){this._resetInsertionModeForSelect(e);break}if(r===R.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}if(r===R.HTML){this.insertionMode=this.headElement?H:D;break}if(t){this.insertionMode=B;break}}}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.items[t],n=this.treeAdapter.getTagName(e);if(n===R.TEMPLATE)break;if(n===R.TABLE)return void(this.insertionMode=q)}this.insertionMode=V}_pushTmplInsertionMode(e){this.tmplInsertionModeStack.push(e),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=e}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(e){const t=this.treeAdapter.getTagName(e);return t===R.TABLE||t===R.TBODY||t===R.TFOOT||t===R.THEAD||t===R.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const e={parent:null,beforeElement:null};for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t],r=this.treeAdapter.getTagName(n),i=this.treeAdapter.getNamespaceURI(n);if(r===R.TEMPLATE&&i===L.HTML){e.parent=this.treeAdapter.getTemplateContent(n);break}if(r===R.TABLE){e.parent=this.treeAdapter.getParentNode(n),e.parent?e.beforeElement=n:e.parent=this.openElements.items[t-1];break}}return e.parent||(e.parent=this.openElements.items[0]),e}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_fosterParentText(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertTextBefore(t.parent,e,t.beforeElement):this.treeAdapter.insertText(t.parent,e)}_isSpecialElement(e){const t=this.treeAdapter.getTagName(e),n=this.treeAdapter.getNamespaceURI(e);return I.SPECIAL_ELEMENTS[n][t]}}}),A=n.cw(function(e,t){const n=c(),r=n.TAG_NAMES,i=n.NAMESPACES;function o(e){switch(e.length){case 1:return e===r.P;case 2:return e===r.RB||e===r.RP||e===r.RT||e===r.DD||e===r.DT||e===r.LI;case 3:return e===r.RTC;case 6:return e===r.OPTION;case 8:return e===r.OPTGROUP}return!1}function s(e){switch(e.length){case 1:return e===r.P;case 2:return e===r.RB||e===r.RP||e===r.RT||e===r.DD||e===r.DT||e===r.LI||e===r.TD||e===r.TH||e===r.TR;case 3:return e===r.RTC;case 5:return e===r.TBODY||e===r.TFOOT||e===r.THEAD;case 6:return e===r.OPTION;case 7:return e===r.CAPTION;case 8:return e===r.OPTGROUP||e===r.COLGROUP}return!1}function a(e,t){switch(e.length){case 2:if(e===r.TD||e===r.TH)return t===i.HTML;if(e===r.MI||e===r.MO||e===r.MN||e===r.MS)return t===i.MATHML;break;case 4:if(e===r.HTML)return t===i.HTML;if(e===r.DESC)return t===i.SVG;break;case 5:if(e===r.TABLE)return t===i.HTML;if(e===r.MTEXT)return t===i.MATHML;if(e===r.TITLE)return t===i.SVG;break;case 6:return(e===r.APPLET||e===r.OBJECT)&&t===i.HTML;case 7:return(e===r.CAPTION||e===r.MARQUEE)&&t===i.HTML;case 8:return e===r.TEMPLATE&&t===i.HTML;case 13:return e===r.FOREIGN_OBJECT&&t===i.SVG;case 14:return e===r.ANNOTATION_XML&&t===i.MATHML}return!1}e.exports=class{constructor(e,t){this.stackTop=-1,this.items=[],this.current=e,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=t}_indexOf(e){let t=-1;for(let n=this.stackTop;n>=0;n--)if(this.items[n]===e){t=n;break}return t}_isInTemplate(){return this.currentTagName===r.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===i.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(e){this.items[++this.stackTop]=e,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&this._updateCurrentElement()}insertAfter(e,t){const n=this._indexOf(e)+1;this.items.splice(n,0,t),n===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(e){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===e&&n===i.HTML)break}}popUntilElementPopped(e){for(;this.stackTop>-1;){const t=this.current;if(this.pop(),t===e)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===r.H1||e===r.H2||e===r.H3||e===r.H4||e===r.H5||e===r.H6&&t===i.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const e=this.currentTagName,t=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),e===r.TD||e===r.TH&&t===i.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==r.TABLE&&this.currentTagName!==r.TEMPLATE&&this.currentTagName!==r.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==r.TBODY&&this.currentTagName!==r.TFOOT&&this.currentTagName!==r.THEAD&&this.currentTagName!==r.TEMPLATE&&this.currentTagName!==r.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==r.TR&&this.currentTagName!==r.TEMPLATE&&this.currentTagName!==r.HTML||this.treeAdapter.getNamespaceURI(this.current)!==i.HTML;)this.pop()}remove(e){for(let t=this.stackTop;t>=0;t--)if(this.items[t]===e){this.items.splice(t,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const e=this.items[1];return e&&this.treeAdapter.getTagName(e)===r.BODY?e:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e);return--t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.currentTagName===r.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===i.HTML)return!0;if(a(n,r))return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]),n=this.treeAdapter.getNamespaceURI(this.items[e]);if((t===r.H1||t===r.H2||t===r.H3||t===r.H4||t===r.H5||t===r.H6)&&n===i.HTML)return!0;if(a(t,n))return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),o=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&o===i.HTML)return!0;if((n===r.UL||n===r.OL)&&o===i.HTML||a(n,o))return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),o=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&o===i.HTML)return!0;if(n===r.BUTTON&&o===i.HTML||a(n,o))return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===i.HTML){if(n===e)return!0;if(n===r.TABLE||n===r.TEMPLATE||n===r.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.treeAdapter.getTagName(this.items[e]);if(this.treeAdapter.getNamespaceURI(this.items[e])===i.HTML){if(t===r.TBODY||t===r.THEAD||t===r.TFOOT)return!0;if(t===r.TABLE||t===r.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===i.HTML){if(n===e)return!0;if(n!==r.OPTION&&n!==r.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;o(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;s(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;o(this.currentTagName)&&this.currentTagName!==e;)this.pop()}}}),C=n.cw(function(e,t){const n=N(),r=u(),i=k(),o=a(),s=r.CODE_POINTS,l=r.CODE_POINT_SEQUENCES,c={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},h="DATA_STATE",p="RCDATA_STATE",f="RAWTEXT_STATE",m="SCRIPT_DATA_STATE",d="PLAINTEXT_STATE",T="TAG_OPEN_STATE",E="END_TAG_OPEN_STATE",g="TAG_NAME_STATE",_="RCDATA_LESS_THAN_SIGN_STATE",A="RCDATA_END_TAG_OPEN_STATE",C="RCDATA_END_TAG_NAME_STATE",S="RAWTEXT_LESS_THAN_SIGN_STATE",O="RAWTEXT_END_TAG_OPEN_STATE",y="RAWTEXT_END_TAG_NAME_STATE",I="SCRIPT_DATA_LESS_THAN_SIGN_STATE",R="SCRIPT_DATA_END_TAG_OPEN_STATE",L="SCRIPT_DATA_END_TAG_NAME_STATE",x="SCRIPT_DATA_ESCAPE_START_STATE",b="SCRIPT_DATA_ESCAPE_START_DASH_STATE",M="SCRIPT_DATA_ESCAPED_STATE",v="SCRIPT_DATA_ESCAPED_DASH_STATE",P="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",D="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",F="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",w="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",H="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",B="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",U="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",G="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",K="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",j="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",z="BEFORE_ATTRIBUTE_NAME_STATE",Y="ATTRIBUTE_NAME_STATE",Q="AFTER_ATTRIBUTE_NAME_STATE",W="BEFORE_ATTRIBUTE_VALUE_STATE",V="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",q="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",X="ATTRIBUTE_VALUE_UNQUOTED_STATE",$="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",Z="SELF_CLOSING_START_TAG_STATE",J="BOGUS_COMMENT_STATE",ee="MARKUP_DECLARATION_OPEN_STATE",te="COMMENT_START_STATE",ne="COMMENT_START_DASH_STATE",re="COMMENT_STATE",ie="COMMENT_LESS_THAN_SIGN_STATE",oe="COMMENT_LESS_THAN_SIGN_BANG_STATE",se="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",ae="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",le="COMMENT_END_DASH_STATE",ce="COMMENT_END_STATE",ue="COMMENT_END_BANG_STATE",he="DOCTYPE_STATE",pe="BEFORE_DOCTYPE_NAME_STATE",fe="DOCTYPE_NAME_STATE",me="AFTER_DOCTYPE_NAME_STATE",de="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",Te="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",Ee="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",ge="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",_e="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",Ae="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",Ce="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",ke="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Ne="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",Se="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",Oe="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",ye="BOGUS_DOCTYPE_STATE",Ie="CDATA_SECTION_STATE",Re="CDATA_SECTION_BRACKET_STATE",Le="CDATA_SECTION_END_STATE",xe="CHARACTER_REFERENCE_STATE",be="NAMED_CHARACTER_REFERENCE_STATE",Me="AMBIGUOS_AMPERSAND_STATE",ve="NUMERIC_CHARACTER_REFERENCE_STATE",Pe="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",De="DECIMAL_CHARACTER_REFERENCE_START_STATE",Fe="HEXADEMICAL_CHARACTER_REFERENCE_STATE",we="DECIMAL_CHARACTER_REFERENCE_STATE",He="NUMERIC_CHARACTER_REFERENCE_END_STATE";function Be(e){return e===s.SPACE||e===s.LINE_FEED||e===s.TABULATION||e===s.FORM_FEED}function Ue(e){return e>=s.DIGIT_0&&e<=s.DIGIT_9}function Ge(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_Z}function Ke(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_Z}function je(e){return Ke(e)||Ge(e)}function ze(e){return je(e)||Ue(e)}function Ye(e){return e>=s.LATIN_CAPITAL_A&&e<=s.LATIN_CAPITAL_F}function Qe(e){return e>=s.LATIN_SMALL_A&&e<=s.LATIN_SMALL_F}function We(e){return e+32}function Ve(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|1023&e))}function qe(e){return String.fromCharCode(We(e))}function Xe(e,t){const n=i[++e];let r=++e,o=r+n-1;for(;r<=o;){const e=r+o>>>1,s=i[e];if(s<t)r=e+1;else{if(!(s>t))return i[e+n];o=e-1}}return-1}class $e{constructor(){this.preprocessor=new n,this.tokenQueue=[],this.allowCDATA=!1,this.state=h,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(e){this._consume(),this._err(e),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this[this.state](e)}return this.tokenQueue.shift()}write(e,t){this.active=!0,this.preprocessor.write(e,t)}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:$e.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(e){this.state=e,this._unconsume()}_consumeSequenceIfMatch(e,t,n){let r=0,i=!0;const o=e.length;let a,l=0,c=t;for(;l<o;l++){if(l>0&&(c=this._consume(),r++),c===s.EOF){i=!1;break}if(a=e[l],c!==a&&(n||c!==We(a))){i=!1;break}}if(!i)for(;r--;)this._unconsume();return i}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==l.SCRIPT_STRING.length)return!1;for(let e=0;e<this.tempBuff.length;e++)if(this.tempBuff[e]!==l.SCRIPT_STRING[e])return!1;return!0}_createStartTagToken(){this.currentToken={type:$e.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:$e.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:$e.COMMENT_TOKEN,data:""}}_createDoctypeToken(e){this.currentToken={type:$e.DOCTYPE_TOKEN,name:e,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t}}_createEOFToken(){this.currentToken={type:$e.EOF_TOKEN}}_createAttr(e){this.currentAttr={name:e,value:""}}_leaveAttrName(e){null===$e.getTokenAttr(this.currentToken,this.currentAttr.name)?this.currentToken.attrs.push(this.currentAttr):this._err(o.duplicateAttribute),this.state=e}_leaveAttrValue(e){this.state=e}_emitCurrentToken(){this._emitCurrentCharacterToken();const e=this.currentToken;this.currentToken=null,e.type===$e.START_TAG_TOKEN?this.lastStartTagName=e.tagName:e.type===$e.END_TAG_TOKEN&&(e.attrs.length>0&&this._err(o.endTagWithAttributes),e.selfClosing&&this._err(o.endTagWithTrailingSolidus)),this.tokenQueue.push(e)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(e,t){this.currentCharacterToken&&this.currentCharacterToken.type!==e&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=t:this._createCharacterToken(e,t)}_emitCodePoint(e){let t=$e.CHARACTER_TOKEN;Be(e)?t=$e.WHITESPACE_CHARACTER_TOKEN:e===s.NULL&&(t=$e.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(t,Ve(e))}_emitSeveralCodePoints(e){for(let t=0;t<e.length;t++)this._emitCodePoint(e[t])}_emitChars(e){this._appendCharToCurrentCharacterToken($e.CHARACTER_TOKEN,e)}_matchNamedCharacterReference(e){let t=null,n=1,r=Xe(0,e);for(this.tempBuff.push(e);r>-1;){const e=i[r],o=e<7;o&&1&e&&(t=2&e?[i[++r],i[++r]]:[i[++r]],n=0);const a=this._consume();if(this.tempBuff.push(a),n++,a===s.EOF)break;r=o?4&e?Xe(r,a):-1:a===e?++r:-1}for(;n--;)this.tempBuff.pop(),this._unconsume();return t}_isCharacterReferenceInAttribute(){return this.returnState===V||this.returnState===q||this.returnState===X}_isCharacterReferenceAttributeQuirk(e){if(!e&&this._isCharacterReferenceInAttribute()){const e=this._consume();return this._unconsume(),e===s.EQUALS_SIGN||ze(e)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let e=0;e<this.tempBuff.length;e++)this.currentAttr.value+=Ve(this.tempBuff[e]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}[h](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=T:e===s.AMPERSAND?(this.returnState=h,this.state=xe):e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitCodePoint(e)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[p](e){this.preprocessor.dropParsedChunk(),e===s.AMPERSAND?(this.returnState=p,this.state=xe):e===s.LESS_THAN_SIGN?this.state=_:e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitChars(r.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[f](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=S:e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitChars(r.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[m](e){this.preprocessor.dropParsedChunk(),e===s.LESS_THAN_SIGN?this.state=I:e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitChars(r.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[d](e){this.preprocessor.dropParsedChunk(),e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitChars(r.REPLACEMENT_CHARACTER)):e===s.EOF?this._emitEOFToken():this._emitCodePoint(e)}[T](e){e===s.EXCLAMATION_MARK?this.state=ee:e===s.SOLIDUS?this.state=E:je(e)?(this._createStartTagToken(),this._reconsumeInState(g)):e===s.QUESTION_MARK?(this._err(o.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState(J)):e===s.EOF?(this._err(o.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(o.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(h))}[E](e){je(e)?(this._createEndTagToken(),this._reconsumeInState(g)):e===s.GREATER_THAN_SIGN?(this._err(o.missingEndTagName),this.state=h):e===s.EOF?(this._err(o.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(o.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState(J))}[g](e){Be(e)?this.state=z:e===s.SOLIDUS?this.state=Z:e===s.GREATER_THAN_SIGN?(this.state=h,this._emitCurrentToken()):Ge(e)?this.currentToken.tagName+=qe(e):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.tagName+=r.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=Ve(e)}[_](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=A):(this._emitChars("<"),this._reconsumeInState(p))}[A](e){je(e)?(this._createEndTagToken(),this._reconsumeInState(C)):(this._emitChars("</"),this._reconsumeInState(p))}[C](e){if(Ge(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(Ke(e))this.currentToken.tagName+=Ve(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Be(e))return void(this.state=z);if(e===s.SOLIDUS)return void(this.state=Z);if(e===s.GREATER_THAN_SIGN)return this.state=h,void this._emitCurrentToken()}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(p)}}[S](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=O):(this._emitChars("<"),this._reconsumeInState(f))}[O](e){je(e)?(this._createEndTagToken(),this._reconsumeInState(y)):(this._emitChars("</"),this._reconsumeInState(f))}[y](e){if(Ge(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(Ke(e))this.currentToken.tagName+=Ve(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Be(e))return void(this.state=z);if(e===s.SOLIDUS)return void(this.state=Z);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=h)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(f)}}[I](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=R):e===s.EXCLAMATION_MARK?(this.state=x,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(m))}[R](e){je(e)?(this._createEndTagToken(),this._reconsumeInState(L)):(this._emitChars("</"),this._reconsumeInState(m))}[L](e){if(Ge(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(Ke(e))this.currentToken.tagName+=Ve(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Be(e))return void(this.state=z);if(e===s.SOLIDUS)return void(this.state=Z);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=h)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(m)}}[x](e){e===s.HYPHEN_MINUS?(this.state=b,this._emitChars("-")):this._reconsumeInState(m)}[b](e){e===s.HYPHEN_MINUS?(this.state=P,this._emitChars("-")):this._reconsumeInState(m)}[M](e){e===s.HYPHEN_MINUS?(this.state=v,this._emitChars("-")):e===s.LESS_THAN_SIGN?this.state=D:e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitChars(r.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[v](e){e===s.HYPHEN_MINUS?(this.state=P,this._emitChars("-")):e===s.LESS_THAN_SIGN?this.state=D:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.state=M,this._emitChars(r.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=M,this._emitCodePoint(e))}[P](e){e===s.HYPHEN_MINUS?this._emitChars("-"):e===s.LESS_THAN_SIGN?this.state=D:e===s.GREATER_THAN_SIGN?(this.state=m,this._emitChars(">")):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.state=M,this._emitChars(r.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=M,this._emitCodePoint(e))}[D](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=F):je(e)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(H)):(this._emitChars("<"),this._reconsumeInState(M))}[F](e){je(e)?(this._createEndTagToken(),this._reconsumeInState(w)):(this._emitChars("</"),this._reconsumeInState(M))}[w](e){if(Ge(e))this.currentToken.tagName+=qe(e),this.tempBuff.push(e);else if(Ke(e))this.currentToken.tagName+=Ve(e),this.tempBuff.push(e);else{if(this.lastStartTagName===this.currentToken.tagName){if(Be(e))return void(this.state=z);if(e===s.SOLIDUS)return void(this.state=Z);if(e===s.GREATER_THAN_SIGN)return this._emitCurrentToken(),void(this.state=h)}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(M)}}[H](e){Be(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?B:M,this._emitCodePoint(e)):Ge(e)?(this.tempBuff.push(We(e)),this._emitCodePoint(e)):Ke(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(M)}[B](e){e===s.HYPHEN_MINUS?(this.state=U,this._emitChars("-")):e===s.LESS_THAN_SIGN?(this.state=K,this._emitChars("<")):e===s.NULL?(this._err(o.unexpectedNullCharacter),this._emitChars(r.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(e)}[U](e){e===s.HYPHEN_MINUS?(this.state=G,this._emitChars("-")):e===s.LESS_THAN_SIGN?(this.state=K,this._emitChars("<")):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.state=B,this._emitChars(r.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=B,this._emitCodePoint(e))}[G](e){e===s.HYPHEN_MINUS?this._emitChars("-"):e===s.LESS_THAN_SIGN?(this.state=K,this._emitChars("<")):e===s.GREATER_THAN_SIGN?(this.state=m,this._emitChars(">")):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.state=B,this._emitChars(r.REPLACEMENT_CHARACTER)):e===s.EOF?(this._err(o.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=B,this._emitCodePoint(e))}[K](e){e===s.SOLIDUS?(this.tempBuff=[],this.state=j,this._emitChars("/")):this._reconsumeInState(B)}[j](e){Be(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?M:B,this._emitCodePoint(e)):Ge(e)?(this.tempBuff.push(We(e)),this._emitCodePoint(e)):Ke(e)?(this.tempBuff.push(e),this._emitCodePoint(e)):this._reconsumeInState(B)}[z](e){Be(e)||(e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?this._reconsumeInState(Q):e===s.EQUALS_SIGN?(this._err(o.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Y):(this._createAttr(""),this._reconsumeInState(Y)))}[Y](e){Be(e)||e===s.SOLIDUS||e===s.GREATER_THAN_SIGN||e===s.EOF?(this._leaveAttrName(Q),this._unconsume()):e===s.EQUALS_SIGN?this._leaveAttrName(W):Ge(e)?this.currentAttr.name+=qe(e):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN?(this._err(o.unexpectedCharacterInAttributeName),this.currentAttr.name+=Ve(e)):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentAttr.name+=r.REPLACEMENT_CHARACTER):this.currentAttr.name+=Ve(e)}[Q](e){Be(e)||(e===s.SOLIDUS?this.state=Z:e===s.EQUALS_SIGN?this.state=W:e===s.GREATER_THAN_SIGN?(this.state=h,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(Y)))}[W](e){Be(e)||(e===s.QUOTATION_MARK?this.state=V:e===s.APOSTROPHE?this.state=q:e===s.GREATER_THAN_SIGN?(this._err(o.missingAttributeValue),this.state=h,this._emitCurrentToken()):this._reconsumeInState(X))}[V](e){e===s.QUOTATION_MARK?this.state=$:e===s.AMPERSAND?(this.returnState=V,this.state=xe):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentAttr.value+=r.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Ve(e)}[q](e){e===s.APOSTROPHE?this.state=$:e===s.AMPERSAND?(this.returnState=q,this.state=xe):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentAttr.value+=r.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Ve(e)}[X](e){Be(e)?this._leaveAttrValue(z):e===s.AMPERSAND?(this.returnState=X,this.state=xe):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(h),this._emitCurrentToken()):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentAttr.value+=r.REPLACEMENT_CHARACTER):e===s.QUOTATION_MARK||e===s.APOSTROPHE||e===s.LESS_THAN_SIGN||e===s.EQUALS_SIGN||e===s.GRAVE_ACCENT?(this._err(o.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=Ve(e)):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Ve(e)}[$](e){Be(e)?this._leaveAttrValue(z):e===s.SOLIDUS?this._leaveAttrValue(Z):e===s.GREATER_THAN_SIGN?(this._leaveAttrValue(h),this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):(this._err(o.missingWhitespaceBetweenAttributes),this._reconsumeInState(z))}[Z](e){e===s.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=h,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInTag),this._emitEOFToken()):(this._err(o.unexpectedSolidusInTag),this._reconsumeInState(z))}[J](e){e===s.GREATER_THAN_SIGN?(this.state=h,this._emitCurrentToken()):e===s.EOF?(this._emitCurrentToken(),this._emitEOFToken()):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.data+=r.REPLACEMENT_CHARACTER):this.currentToken.data+=Ve(e)}[ee](e){this._consumeSequenceIfMatch(l.DASH_DASH_STRING,e,!0)?(this._createCommentToken(),this.state=te):this._consumeSequenceIfMatch(l.DOCTYPE_STRING,e,!1)?this.state=he:this._consumeSequenceIfMatch(l.CDATA_START_STRING,e,!0)?this.allowCDATA?this.state=Ie:(this._err(o.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=J):this._ensureHibernation()||(this._err(o.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(J))}[te](e){e===s.HYPHEN_MINUS?this.state=ne:e===s.GREATER_THAN_SIGN?(this._err(o.abruptClosingOfEmptyComment),this.state=h,this._emitCurrentToken()):this._reconsumeInState(re)}[ne](e){e===s.HYPHEN_MINUS?this.state=ce:e===s.GREATER_THAN_SIGN?(this._err(o.abruptClosingOfEmptyComment),this.state=h,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(re))}[re](e){e===s.HYPHEN_MINUS?this.state=le:e===s.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=ie):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.data+=r.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=Ve(e)}[ie](e){e===s.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=oe):e===s.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(re)}[oe](e){e===s.HYPHEN_MINUS?this.state=se:this._reconsumeInState(re)}[se](e){e===s.HYPHEN_MINUS?this.state=ae:this._reconsumeInState(le)}[ae](e){e!==s.GREATER_THAN_SIGN&&e!==s.EOF&&this._err(o.nestedComment),this._reconsumeInState(ce)}[le](e){e===s.HYPHEN_MINUS?this.state=ce:e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(re))}[ce](e){e===s.GREATER_THAN_SIGN?(this.state=h,this._emitCurrentToken()):e===s.EXCLAMATION_MARK?this.state=ue:e===s.HYPHEN_MINUS?this.currentToken.data+="-":e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(re))}[ue](e){e===s.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=le):e===s.GREATER_THAN_SIGN?(this._err(o.incorrectlyClosedComment),this.state=h,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(re))}[he](e){Be(e)?this.state=pe:e===s.GREATER_THAN_SIGN?this._reconsumeInState(pe):e===s.EOF?(this._err(o.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(pe))}[pe](e){Be(e)||(Ge(e)?(this._createDoctypeToken(qe(e)),this.state=fe):e===s.NULL?(this._err(o.unexpectedNullCharacter),this._createDoctypeToken(r.REPLACEMENT_CHARACTER),this.state=fe):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=h):e===s.EOF?(this._err(o.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(Ve(e)),this.state=fe))}[fe](e){Be(e)?this.state=me:e===s.GREATER_THAN_SIGN?(this.state=h,this._emitCurrentToken()):Ge(e)?this.currentToken.name+=qe(e):e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.name+=r.REPLACEMENT_CHARACTER):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=Ve(e)}[me](e){Be(e)||(e===s.GREATER_THAN_SIGN?(this.state=h,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(l.PUBLIC_STRING,e,!1)?this.state=de:this._consumeSequenceIfMatch(l.SYSTEM_STRING,e,!1)?this.state=Ce:this._ensureHibernation()||(this._err(o.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye)))}[de](e){Be(e)?this.state=Te:e===s.QUOTATION_MARK?(this._err(o.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=Ee):e===s.APOSTROPHE?(this._err(o.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=ge):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=h,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye))}[Te](e){Be(e)||(e===s.QUOTATION_MARK?(this.currentToken.publicId="",this.state=Ee):e===s.APOSTROPHE?(this.currentToken.publicId="",this.state=ge):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=h,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye)))}[Ee](e){e===s.QUOTATION_MARK?this.state=_e:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.publicId+=r.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(o.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=h):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=Ve(e)}[ge](e){e===s.APOSTROPHE?this.state=_e:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.publicId+=r.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(o.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=h):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=Ve(e)}[_e](e){Be(e)?this.state=Ae:e===s.GREATER_THAN_SIGN?(this.state=h,this._emitCurrentToken()):e===s.QUOTATION_MARK?(this._err(o.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Ne):e===s.APOSTROPHE?(this._err(o.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Se):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye))}[Ae](e){Be(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=h):e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Ne):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=Se):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye)))}[Ce](e){Be(e)?this.state=ke:e===s.QUOTATION_MARK?(this._err(o.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Ne):e===s.APOSTROPHE?(this._err(o.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Se):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=h,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye))}[ke](e){Be(e)||(e===s.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Ne):e===s.APOSTROPHE?(this.currentToken.systemId="",this.state=Se):e===s.GREATER_THAN_SIGN?(this._err(o.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=h,this._emitCurrentToken()):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(ye)))}[Ne](e){e===s.QUOTATION_MARK?this.state=Oe:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.systemId+=r.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(o.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=h):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=Ve(e)}[Se](e){e===s.APOSTROPHE?this.state=Oe:e===s.NULL?(this._err(o.unexpectedNullCharacter),this.currentToken.systemId+=r.REPLACEMENT_CHARACTER):e===s.GREATER_THAN_SIGN?(this._err(o.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=h):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=Ve(e)}[Oe](e){Be(e)||(e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=h):e===s.EOF?(this._err(o.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(o.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(ye)))}[ye](e){e===s.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=h):e===s.NULL?this._err(o.unexpectedNullCharacter):e===s.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[Ie](e){e===s.RIGHT_SQUARE_BRACKET?this.state=Re:e===s.EOF?(this._err(o.eofInCdata),this._emitEOFToken()):this._emitCodePoint(e)}[Re](e){e===s.RIGHT_SQUARE_BRACKET?this.state=Le:(this._emitChars("]"),this._reconsumeInState(Ie))}[Le](e){e===s.GREATER_THAN_SIGN?this.state=h:e===s.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(Ie))}[xe](e){this.tempBuff=[s.AMPERSAND],e===s.NUMBER_SIGN?(this.tempBuff.push(e),this.state=ve):ze(e)?this._reconsumeInState(be):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[be](e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation())this.tempBuff=[s.AMPERSAND];else if(t){const e=this.tempBuff[this.tempBuff.length-1]===s.SEMICOLON;this._isCharacterReferenceAttributeQuirk(e)||(e||this._errOnNextCodePoint(o.missingSemicolonAfterCharacterReference),this.tempBuff=t),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=Me}[Me](e){ze(e)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=Ve(e):this._emitCodePoint(e):(e===s.SEMICOLON&&this._err(o.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[ve](e){this.charRefCode=0,e===s.LATIN_SMALL_X||e===s.LATIN_CAPITAL_X?(this.tempBuff.push(e),this.state=Pe):this._reconsumeInState(De)}[Pe](e){!function(e){return Ue(e)||Ye(e)||Qe(e)}(e)?(this._err(o.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)):this._reconsumeInState(Fe)}[De](e){Ue(e)?this._reconsumeInState(we):(this._err(o.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[Fe](e){Ye(e)?this.charRefCode=16*this.charRefCode+e-55:Qe(e)?this.charRefCode=16*this.charRefCode+e-87:Ue(e)?this.charRefCode=16*this.charRefCode+e-48:e===s.SEMICOLON?this.state=He:(this._err(o.missingSemicolonAfterCharacterReference),this._reconsumeInState(He))}[we](e){Ue(e)?this.charRefCode=10*this.charRefCode+e-48:e===s.SEMICOLON?this.state=He:(this._err(o.missingSemicolonAfterCharacterReference),this._reconsumeInState(He))}[He](){if(this.charRefCode===s.NULL)this._err(o.nullCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(o.characterReferenceOutsideUnicodeRange),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(r.isSurrogate(this.charRefCode))this._err(o.surrogateCharacterReference),this.charRefCode=s.REPLACEMENT_CHARACTER;else if(r.isUndefinedCodePoint(this.charRefCode))this._err(o.noncharacterCharacterReference);else if(r.isControlCodePoint(this.charRefCode)||this.charRefCode===s.CARRIAGE_RETURN){this._err(o.controlCharacterReference);const e=c[this.charRefCode];e&&(this.charRefCode=e)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}$e.CHARACTER_TOKEN="CHARACTER_TOKEN",$e.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN",$e.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN",$e.START_TAG_TOKEN="START_TAG_TOKEN",$e.END_TAG_TOKEN="END_TAG_TOKEN",$e.COMMENT_TOKEN="COMMENT_TOKEN",$e.DOCTYPE_TOKEN="DOCTYPE_TOKEN",$e.EOF_TOKEN="EOF_TOKEN",$e.HIBERNATION_TOKEN="HIBERNATION_TOKEN",$e.MODE={DATA:h,RCDATA:p,RAWTEXT:f,SCRIPT_DATA:m,PLAINTEXT:d},$e.getTokenAttr=function(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},e.exports=$e}),k=function(){return n(4993)},N=n.cw(function(e,t){const n=u(),r=a(),i=n.CODE_POINTS;e.exports=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.lastCharPos){const t=this.html.charCodeAt(this.pos+1);if(n.isSurrogatePair(t))return this.pos++,this._addGap(),n.getSurrogatePairCodePoint(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,i.EOF;return this._err(r.surrogateInInputStream),e}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(e,t){this.html?this.html+=e:this.html=e,this.lastCharPos=this.html.length-1,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.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,i.EOF;let e=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&e===i.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):e===i.CARRIAGE_RETURN?(this.skipNextNewLine=!0,i.LINE_FEED):(this.skipNextNewLine=!1,n.isSurrogate(e)&&(e=this._processSurrogate(e)),e>31&&e<127||e===i.LINE_FEED||e===i.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){n.isControlCodePoint(e)?this._err(r.controlCharacterInInputStream):n.isUndefinedCodePoint(e)&&this._err(r.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}}}),S=n.cw(function(e,t){const{DOCUMENT_MODE:n}=c();t.createDocument=function(){return{nodeName:"#document",mode:n.NO_QUIRKS,childNodes:[]}},t.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}},t.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},t.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};const r=function(e){return{nodeName:"#text",value:e,parentNode:null}},i=t.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},o=t.insertBefore=function(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};t.setTemplateContent=function(e,t){e.content=t},t.getTemplateContent=function(e){return e.content},t.setDocumentType=function(e,t,n,r){let o=null;for(let t=0;t<e.childNodes.length;t++)if("#documentType"===e.childNodes[t].nodeName){o=e.childNodes[t];break}o?(o.name=t,o.publicId=n,o.systemId=r):i(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r})},t.setDocumentMode=function(e,t){e.mode=t},t.getDocumentMode=function(e){return e.mode},t.detachNode=function(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},t.insertText=function(e,t){if(e.childNodes.length){const n=e.childNodes[e.childNodes.length-1];if("#text"===n.nodeName)return void(n.value+=t)}i(e,r(t))},t.insertTextBefore=function(e,t,n){const i=e.childNodes[e.childNodes.indexOf(n)-1];i&&"#text"===i.nodeName?i.value+=t:o(e,r(t),n)},t.adoptAttributes=function(e,t){const n=[];for(let t=0;t<e.attrs.length;t++)n.push(e.attrs[t].name);for(let r=0;r<t.length;r++)-1===n.indexOf(t[r].name)&&e.attrs.push(t[r])},t.getFirstChild=function(e){return e.childNodes[0]},t.getChildNodes=function(e){return e.childNodes},t.getParentNode=function(e){return e.parentNode},t.getAttrList=function(e){return e.attrs},t.getTagName=function(e){return e.tagName},t.getNamespaceURI=function(e){return e.namespaceURI},t.getTextNodeContent=function(e){return e.value},t.getCommentNodeContent=function(e){return e.data},t.getDocumentTypeNodeName=function(e){return e.name},t.getDocumentTypeNodePublicId=function(e){return e.publicId},t.getDocumentTypeNodeSystemId=function(e){return e.systemId},t.isTextNode=function(e){return"#text"===e.nodeName},t.isCommentNode=function(e){return"#comment"===e.nodeName},t.isDocumentTypeNode=function(e){return"#documentType"===e.nodeName},t.isElementNode=function(e){return!!e.tagName},t.setNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=t},t.getNodeSourceCodeLocation=function(e){return e.sourceCodeLocation},t.updateNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=Object.assign(e.sourceCodeLocation,t)}}),O=function(){return n(6272)},y=n.cw(function(e,t){class n{constructor(e){const t={},n=this._getOverriddenMethods(this,t);for(const r of Object.keys(n))"function"==typeof n[r]&&(t[r]=e[r],e[r]=n[r])}_getOverriddenMethods(){throw new Error("Not implemented")}}n.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let n=0;n<e.__mixins.length;n++)if(e.__mixins[n].constructor===t)return e.__mixins[n];const r=new t(e,n);return e.__mixins.push(r),r},e.exports=n}),I={};n.r(I),n.d(I,{attentionMarkers:function(){return Gt},contentInitial:function(){return Dt},disable:function(){return Kt},document:function(){return Pt},flow:function(){return wt},flowInitial:function(){return Ft},insideSpan:function(){return Ut},string:function(){return Ht},text:function(){return Bt}});var R={};n.r(R),n.d(R,{boolean:function(){return Dn},booleanish:function(){return Fn},commaOrSpaceSeparated:function(){return Gn},commaSeparated:function(){return Un},number:function(){return Hn},overloadedBoolean:function(){return wn},spaceSeparated:function(){return Bn}});var L=n(1609),x=n.n(L),b=n(7206);function M(e){return e&&"object"==typeof e?"position"in e||"type"in e?P(e.position):"start"in e||"end"in e?P(e):"line"in e||"column"in e?v(e):"":""}function v(e){return D(e&&e.line)+":"+D(e&&e.column)}function P(e){return v(e&&e.start)+"-"+v(e&&e.end)}function D(e){return e&&"number"==typeof e?e:1}class F extends Error{constructor(e,t,n){const r=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=M(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}F.prototype.file="",F.prototype.name="",F.prototype.reason="",F.prototype.message="",F.prototype.stack="",F.prototype.fatal=null,F.prototype.column=null,F.prototype.line=null,F.prototype.source=null,F.prototype.ruleId=null,F.prototype.position=null;const w=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');K(e);let n,r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let s=-1,a=t.length-1;for(;o--;)if(47===e.charCodeAt(o)){if(n){r=o+1;break}}else s<0&&(n=!0,s=o+1),a>-1&&(e.charCodeAt(o)===t.charCodeAt(a--)?a<0&&(i=o):(a=-1,i=s));return r===i?i=s:i<0&&(i=e.length),e.slice(r,i)},H=function(e){if(K(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},B=function(e){K(e);let t,n=e.length,r=-1,i=0,o=-1,s=0;for(;n--;){const a=e.charCodeAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?o<0?o=n:1!==s&&(s=1):o>-1&&(s=-1);else if(t){i=n+1;break}}return o<0||r<0||0===s||1===s&&o===r-1&&o===i+1?"":e.slice(o,r)},U=function(...e){let t,n=-1;for(;++n<e.length;)K(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){K(e);const t=47===e.charCodeAt(0);let n=function(e,t){let n,r,i="",o=0,s=-1,a=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.charCodeAt(l);else{if(47===n)break;n=47}if(47===n){if(s===l-1||1===a);else if(s!==l-1&&2===a){if(i.length<2||2!==o||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",o=0):(i=i.slice(0,r),o=i.length-1-i.lastIndexOf("/")),s=l,a=0;continue}}else if(i.length>0){i="",o=0,s=l,a=0;continue}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(s+1,l):i=e.slice(s+1,l),o=l-s-1;s=l,a=0}else 46===n&&a>-1?a++:a=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},G="/";function K(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const j=function(){return"/"};function z(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}const Y=["history","path","basename","stem","extname","dirname"];class Q{constructor(e){let t;t=e?"string"==typeof e||function(e){return b(e)}(e)?{value:e}:z(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=j(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++r<Y.length;){const e=Y[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)Y.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){z(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!z(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){const e=t.charCodeAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),V(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?H(this.path):void 0}set dirname(e){q(this.basename,"dirname"),this.path=U(e||"",this.basename)}get basename(){return"string"==typeof this.path?w(this.path):void 0}set basename(e){V(e,"basename"),W(e,"basename"),this.path=U(this.dirname||"",e)}get extname(){return"string"==typeof this.path?B(this.path):void 0}set extname(e){if(W(e,"extname"),q(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=U(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?w(this.path,this.extname):void 0}set stem(e){V(e,"stem"),W(e,"stem"),this.path=U(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){const r=new F(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}}function W(e,t){if(e&&e.includes(G))throw new Error("`"+t+"` cannot be a path: did not expect `"+G+"`")}function V(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function q(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function X(e){if(e)throw e}function $(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}o();const Z=function e(){const t=function(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function i(o,...s){const a=e[++n];let l=-1;if(o)r(o);else{for(;++l<t.length;)null!==s[l]&&void 0!==s[l]||(s[l]=t[l]);t=s,a?function(e,t){let n;return function(...t){const o=e.length>t.length;let s;o&&t.push(r);try{s=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(s&&s.then&&"function"==typeof s.then?s.then(i,r):s instanceof Error?r(s):i(s))};function r(e,...r){n||(n=!0,t(e,...r))}function i(e){r(null,e)}}(a,i)(...s):r(null,...s)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),n=[];let r,i={},s=-1;return a.data=function(e,t){return"string"==typeof e?2===arguments.length?(re("data",r),i[e]=t,a):J.call(i,e)&&i[e]||null:e?(re("data",r),i=e,a):i},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(r)return a;for(;++s<n.length;){const[e,...r]=n[s];if(!1===r[0])continue;!0===r[0]&&(r[0]=void 0);const i=e.call(a,...r);"function"==typeof i&&t.use(i)}return r=!0,s=Number.POSITIVE_INFINITY,a},a.attachers=n,a.use=function(e,...t){let s;if(re("use",r),null==e);else if("function"==typeof e)h(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?u(e):c(e)}return s&&(i.settings=Object.assign(i.settings||{},s)),a;function l(e){if("function"==typeof e)h(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;h(t,...n)}else c(e)}}function c(e){u(e.plugins),e.settings&&(s=Object.assign(s||{},e.settings))}function u(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)l(e[t])}}function h(e,t){let r,i=-1;for(;++i<n.length;)if(n[i][0]===e){r=n[i];break}r?($(r[1])&&$(t)&&(t=o()(!0,r[1],t)),r[1]=t):n.push([...arguments])}},a.parse=function(e){a.freeze();const t=se(e),n=a.Parser;return te("parse",n),ee(n,"parse")?new n(String(t),t).parse():n(String(t),t)},a.stringify=function(e,t){a.freeze();const n=se(t),r=a.Compiler;return ne("stringify",r),ie(e),ee(r,"compile")?new r(e,n).compile():r(e,n)},a.run=function(e,n,r){if(ie(e),a.freeze(),r||"function"!=typeof n||(r=n,n=void 0),!r)return new Promise(i);function i(i,o){t.run(e,se(n),function(t,n,s){n=n||e,t?o(t):i?i(n):r(null,n,s)})}i(null,r)},a.runSync=function(e,t){let n,r;return a.run(e,t,function(e,t){X(e),n=t,r=!0}),oe("runSync","run",r),n},a.process=function(e,t){if(a.freeze(),te("process",a.Parser),ne("process",a.Compiler),!t)return new Promise(n);function n(n,r){const i=se(e);function o(e,i){e||!i?r(e):n?n(i):t(null,i)}a.run(a.parse(i),i,(e,t,n)=>{if(!e&&t&&n){const i=a.stringify(t,n);null==i||("string"==typeof(r=i)||b(r)?n.value=i:n.result=i),o(e,n)}else o(e);var r})}n(null,t)},a.processSync=function(e){let t;a.freeze(),te("processSync",a.Parser),ne("processSync",a.Compiler);const n=se(e);return a.process(n,function(e){t=!0,X(e)}),oe("processSync","process",t),n},a;function a(){const t=e();let r=-1;for(;++r<n.length;)t.use(...n[r]);return t.data(o()(!0,{},i)),t}}().freeze(),J={}.hasOwnProperty;function ee(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(J.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function te(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function ne(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function re(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ie(e){if(!$(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function oe(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function se(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new Q(e)}const ae={};function le(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){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 ce(e.children,t,n)}return Array.isArray(e)?ce(e,t,n):""}function ce(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=le(e[i],t,n);return r.join("")}function ue(e,t,n,r){const i=e.length;let o,s=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);s<r.length;)o=r.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}function he(e,t){return e.length>0?(ue(e,e.length,0,t),e):t}const pe={}.hasOwnProperty;function fe(e){const t={};let n=-1;for(;++n<e.length;)me(t,e[n]);return t}function me(e,t){let n;for(n in t){const r=(pe.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){pe.call(r,o)||(r[o]=[]);const e=i[o];de(r[o],Array.isArray(e)?e:e?[e]:[])}}}function de(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);ue(e,0,0,r)}const Te=Re(/[A-Za-z]/),Ee=Re(/[\dA-Za-z]/),ge=Re(/[#-'*+\--9=?A-Z^-~]/);function _e(e){return null!==e&&(e<32||127===e)}const Ae=Re(/\d/),Ce=Re(/[\dA-Fa-f]/),ke=Re(/[!-/:-@[-`{-~]/);function Ne(e){return null!==e&&e<-2}function Se(e){return null!==e&&(e<0||32===e)}function Oe(e){return-2===e||-1===e||32===e}const ye=Re(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),Ie=Re(/\s/);function Re(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function Le(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return function(r){return Oe(r)?(e.enter(n),s(r)):t(r)};function s(r){return Oe(r)&&o++<i?(e.consume(r),s):(e.exit(n),t(r))}}const xe={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,function(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Le(e,t,"linePrefix");e.consume(n)},function(t){return e.enter("paragraph"),r(t)});let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Ne(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}},be={tokenize:function(e){const t=this,n=[];let r,i,o,s=0;return a;function a(r){if(s<n.length){const i=n[s];return t.containerState=i[1],e.attempt(i[0].continuation,l,c)(r)}return c(r)}function l(e){if(s++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&g();const n=t.events.length;let i,o=n;for(;o--;)if("exit"===t.events[o][0]&&"chunkFlow"===t.events[o][1].type){i=t.events[o][1].end;break}E(s);let a=n;for(;a<t.events.length;)t.events[a][1].end=Object.assign({},i),a++;return ue(t.events,o+1,0,t.events.slice(n)),t.events.length=a,c(e)}return a(e)}function c(i){if(s===n.length){if(!r)return p(i);if(r.currentConstruct&&r.currentConstruct.concrete)return m(i);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Me,u,h)(i)}function u(e){return r&&g(),E(s),p(e)}function h(e){return t.parser.lazy[t.now().line]=s!==n.length,o=t.now().offset,m(e)}function p(n){return t.containerState={},e.attempt(Me,f,m)(n)}function f(e){return s++,n.push([t.currentConstruct,t.containerState]),p(e)}function m(n){return null===n?(r&&g(),E(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:r}),d(n))}function d(n){return null===n?(T(e.exit("chunkFlow"),!0),E(0),void e.consume(n)):Ne(n)?(e.consume(n),T(e.exit("chunkFlow")),s=0,t.interrupt=void 0,a):(e.consume(n),d)}function T(e,n){const a=t.sliceStream(e);if(n&&a.push(null),e.previous=i,i&&(i.next=e),i=e,r.defineSkip(e.start),r.write(a),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<o&&(!r.events[e][1].end||r.events[e][1].end.offset>o))return;const n=t.events.length;let i,a,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(i){a=t.events[l][1].end;break}i=!0}for(E(s),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},a),e++;ue(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function E(r){let i=n.length;for(;i-- >r;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function g(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Me={tokenize:function(e,t,n){return Le(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},ve={tokenize:function(e,t,n){return function(t){return Oe(t)?Le(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Ne(e)?t(e):n(e)}},partial:!0};function Pe(e){const t={};let n,r,i,o,s,a,l,c=-1;for(;++c<e.length;){for(;c in t;)c=t[c];if(n=e[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[c-1][1].type&&(a=n[1]._tokenizer.events,i=0,i<a.length&&"lineEndingBlank"===a[i][1].type&&(i+=2),i<a.length&&"content"===a[i][1].type))for(;++i<a.length&&"content"!==a[i][1].type;)"chunkText"===a[i][1].type&&(a[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,De(e,c)),c=t[c],l=!0);else if(n[1]._container){for(i=c,r=void 0;i--&&(o=e[i],"lineEnding"===o[1].type||"lineEndingBlank"===o[1].type);)"enter"===o[0]&&(r&&(e[r][1].type="lineEndingBlank"),o[1].type="lineEnding",r=i);r&&(n[1].end=Object.assign({},e[r][1].start),s=e.slice(r,c),s.unshift(n),ue(e,r,c-r+1,s))}}return!l}function De(e,t){const n=e[t][1],r=e[t][2];let i=t-1;const o=[],s=n._tokenizer||r.parser[n.contentType](n.start),a=s.events,l=[],c={};let u,h,p=-1,f=n,m=0,d=0;const T=[d];for(;f;){for(;e[++i][1]!==f;);o.push(i),f._tokenizer||(u=r.sliceStream(f),f.next||u.push(null),h&&s.defineSkip(f.start),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(u),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),h=f,f=f.next}for(f=n;++p<a.length;)"exit"===a[p][0]&&"enter"===a[p-1][0]&&a[p][1].type===a[p-1][1].type&&a[p][1].start.line!==a[p][1].end.line&&(d=p+1,T.push(d),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(s.events=[],f?(f._tokenizer=void 0,f.previous=void 0):T.pop(),p=T.length;p--;){const t=a.slice(T[p],T[p+1]),n=o.pop();l.unshift([n,n+t.length-1]),ue(e,n,2,t)}for(p=-1;++p<l.length;)c[m+l[p][0]]=m+l[p][1],m+=l[p][1]-l[p][0]-1;return c}const Fe={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):Ne(t)?e.check(we,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return Pe(e),e}},we={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Le(e,i,"linePrefix")};function i(i){if(null===i||Ne(i))return n(i);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0},He={tokenize:function(e){const t=this,n=e.attempt(ve,function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)},e.attempt(this.parser.constructs.flowInitial,r,Le(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Fe,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},Be={resolveAll:je()},Ue=Ke("string"),Ge=Ke("text");function Ke(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,o,s);return o;function o(e){return l(e)?i(e):s(e)}function s(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function l(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:je("text"===e?ze:void 0)}}function je(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 ze(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],i=t.sliceStream(r);let o,s=i.length,a=-1,l=0;for(;s--;){const e=i[s];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)l++,a--;if(a)break;a=-1}else if(-2===e)o=!0,l++;else if(-1!==e){s++;break}}if(l){const i={type:n===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+s,_bufferIndex:s?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,["enter",i,t],["exit",i,t]),n+=2)}n++}return e}function Ye(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}function Qe(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},o=[];let s=[],a=[],l=!0;const c={consume:function(e){Ne(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,_()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e,l=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=m(),u.events.push(["enter",n,u]),a.push(n),n},exit:function(e){const t=a.pop();return t.end=m(),u.events.push(["exit",t,u]),t},attempt:E(function(e,t){g(e,t.from)}),check:E(T),interrupt:E(T,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:f,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let s;if("string"==typeof o)s=o;else switch(o){case-5:s="\r";break;case-4:s="\n";break;case-3:s="\r\n";break;case-2:s=t?" ":"\t";break;case-1:if(!t&&i)continue;s=" ";break;default:s=String.fromCharCode(o)}i=-2===o,r.push(s)}return r.join("")}(f(e),t)},now:m,defineSkip:function(e){i[e.line]=e.column,_()},write:function(e){return s=he(s,e),function(){let e;for(;r._index<s.length;){const t=s[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)d(t.charCodeAt(r._bufferIndex));else d(t)}}(),null!==s[s.length-1]?[]:(g(t,0),u.events=Ye(o,u.events,u),u.events)}};let h,p=t.tokenize.call(u,c);return t.resolveAll&&o.push(t),u;function f(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(r,o)];else{if(s=e.slice(n,i),r>-1){const e=s[0];"string"==typeof e?s[0]=e.slice(r):s.shift()}o>0&&s.push(e[i].slice(0,o))}return s}(s,e)}function m(){const{line:e,column:t,offset:n,_index:i,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:o}}function d(e){l=void 0,h=e,p=p(e)}function T(e,t){t.restore()}function E(e,t){return function(n,i,o){let s,h,p,f;return Array.isArray(n)?T(n):"tokenize"in n?T([n]):(d=n,function(e){const t=null!==e&&d[e],n=null!==e&&d.null;return T([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});var d;function T(e){return s=e,h=0,0===e.length?o:E(e[h])}function E(e){return function(n){return f=function(){const e=m(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(a);return{restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,a=o,_()},from:i}}(),p=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name)?A():e.tokenize.call(t?Object.assign(Object.create(u),t):u,c,g,A)(n)}}function g(t){return l=!0,e(p,f),i}function A(e){return l=!0,f.restore(),++h<s.length?E(s[h]):o}}}function g(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&ue(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function _(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const We={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,o(e)}(t)};function o(o){return o===r?(e.enter("thematicBreakSequence"),s(o)):i>=3&&(null===o||Ne(o))?(e.exit("thematicBreak"),t(o)):n(o)}function s(t){return t===r?(e.consume(t),i++,s):(e.exit("thematicBreakSequence"),Oe(t)?Le(e,o,"whitespace")(t):o(t))}}},Ve={name:"list",tokenize:function(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=0;return function(t){const i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:Ae(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(We,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return Ae(t)&&++s<10?(e.consume(t),a):(!r.interrupt||s<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ve,r.interrupt?n:c,e.attempt(qe,h,u))}function c(e){return r.containerState.initialBlankLine=!0,o++,h(e)}function u(t){return Oe(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),h):n(t)}function h(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ve,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Le(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!Oe(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Xe,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,Le(e,e.attempt(Ve,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},qe={tokenize:function(e,t,n){const r=this;return Le(e,function(e){const i=r.events[r.events.length-1];return!Oe(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Xe={tokenize:function(e,t,n){const r=this;return Le(e,function(e){const 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)},partial:!0},$e={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const 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 Oe(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){return Oe(t)?Le(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt($e,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function Ze(e,t,n,r,i,o,s,a,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),h):null===t||32===t||41===t||_e(t)?n(t):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),m(t))};function h(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(a),h(t)):null===t||60===t||Ne(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function m(i){return u||null!==i&&41!==i&&!Se(i)?u<c&&40===i?(e.consume(i),u++,m):41===i?(e.consume(i),u--,m):null===i||32===i||40===i||_e(i)?n(i):(e.consume(i),92===i?d:m):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(i))}function d(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function Je(e,t,n,r,i,o){const s=this;let a,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),c};function c(h){return l>999||null===h||91===h||93===h&&!a||94===h&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(h):93===h?(e.exit(o),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):Ne(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||Ne(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),a||(a=!Oe(t)),92===t?h:u)}function h(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function et(e,t,n,r,i,o){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,a):n(t)};function a(n){return n===s?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===s?(e.exit(o),a(s)):null===t?n(t):Ne(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Le(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===s||null===t||Ne(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 tt(e,t){let n;return function r(i){return Ne(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Oe(i)?Le(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function nt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const rt={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),function(t){return Je.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return i=nt(r.sliceSerialize(r.events[r.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 Se(t)?tt(e,a)(t):a(t)}function a(t){return Ze(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(it,c,c)(t)}function c(t){return Oe(t)?Le(e,u,"whitespace")(t):u(t)}function u(o){return null===o||Ne(o)?(e.exit("definition"),r.parser.defined.push(i),t(o)):n(o)}}},it={tokenize:function(e,t,n){return function(t){return Se(t)?tt(e,r)(t):n(t)};function r(t){return et(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return Oe(t)?Le(e,o,"whitespace")(t):o(t)}function o(e){return null===e||Ne(e)?t(e):n(e)}},partial:!0},ot={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),Le(e,i,"linePrefix",5)(t)};function i(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?a(t):Ne(t)?e.attempt(st,o,a)(t):(e.enter("codeFlowValue"),s(t))}function s(t){return null===t||Ne(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),s)}function a(n){return e.exit("codeIndented"),t(n)}}},st={tokenize:function(e,t,n){const r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):Ne(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):Le(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):Ne(e)?i(e):n(e)}},partial:!0},at={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),i(t)}(t)};function i(t){return 35===t&&r++<6?(e.consume(t),i):null===t||Se(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||Ne(n)?(e.exit("atxHeading"),t(n)):Oe(n)?Le(e,o,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),o(t))}function a(t){return null===t||35===t||Se(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),a)}},resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[o][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},ue(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},lt={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let i;return function(t){let s,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){s="paragraph"===r.events[a][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!s?n(t):(e.enter("setextHeadingLine"),i=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t))};function o(t){return t===i?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),Oe(t)?Le(e,s,"lineSuffix")(t):s(t))}function s(r){return null===r||Ne(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);const s={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},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=Object.assign({},e[i][1].end)):e[n][1]=s,e.push(["exit",s,t]),e}},ct=["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"],ut=["pre","script","style","textarea"],ht={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let i,o,s,a,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(a){return 33===a?(e.consume(a),u):47===a?(e.consume(a),o=!0,f):63===a?(e.consume(a),i=3,r.interrupt?t:P):Te(a)?(e.consume(a),s=String.fromCharCode(a),m):n(a)}function u(o){return 45===o?(e.consume(o),i=2,h):91===o?(e.consume(o),i=5,a=0,p):Te(o)?(e.consume(o),i=4,r.interrupt?t:P):n(o)}function h(i){return 45===i?(e.consume(i),r.interrupt?t:P):n(i)}function p(i){return i==="CDATA[".charCodeAt(a++)?(e.consume(i),6===a?r.interrupt?t:y:p):n(i)}function f(t){return Te(t)?(e.consume(t),s=String.fromCharCode(t),m):n(t)}function m(a){if(null===a||47===a||62===a||Se(a)){const l=47===a,c=s.toLowerCase();return l||o||!ut.includes(c)?ct.includes(s.toLowerCase())?(i=6,l?(e.consume(a),d):r.interrupt?t(a):y(a)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):o?T(a):E(a)):(i=1,r.interrupt?t(a):y(a))}return 45===a||Ee(a)?(e.consume(a),s+=String.fromCharCode(a),m):n(a)}function d(i){return 62===i?(e.consume(i),r.interrupt?t:y):n(i)}function T(t){return Oe(t)?(e.consume(t),T):S(t)}function E(t){return 47===t?(e.consume(t),S):58===t||95===t||Te(t)?(e.consume(t),g):Oe(t)?(e.consume(t),E):S(t)}function g(t){return 45===t||46===t||58===t||95===t||Ee(t)?(e.consume(t),g):_(t)}function _(t){return 61===t?(e.consume(t),A):Oe(t)?(e.consume(t),_):E(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,C):Oe(t)?(e.consume(t),A):k(t)}function C(t){return t===l?(e.consume(t),l=null,N):null===t||Ne(t)?n(t):(e.consume(t),C)}function k(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Se(t)?_(t):(e.consume(t),k)}function N(e){return 47===e||62===e||Oe(e)?E(e):n(e)}function S(t){return 62===t?(e.consume(t),O):n(t)}function O(t){return null===t||Ne(t)?y(t):Oe(t)?(e.consume(t),O):n(t)}function y(t){return 45===t&&2===i?(e.consume(t),x):60===t&&1===i?(e.consume(t),b):62===t&&4===i?(e.consume(t),D):63===t&&3===i?(e.consume(t),P):93===t&&5===i?(e.consume(t),v):!Ne(t)||6!==i&&7!==i?null===t||Ne(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),y):(e.exit("htmlFlowData"),e.check(pt,F,I)(t))}function I(t){return e.check(ft,R,F)(t)}function R(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return null===t||Ne(t)?I(t):(e.enter("htmlFlowData"),y(t))}function x(t){return 45===t?(e.consume(t),P):y(t)}function b(t){return 47===t?(e.consume(t),s="",M):y(t)}function M(t){if(62===t){const n=s.toLowerCase();return ut.includes(n)?(e.consume(t),D):y(t)}return Te(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),M):y(t)}function v(t){return 93===t?(e.consume(t),P):y(t)}function P(t){return 62===t?(e.consume(t),D):45===t&&2===i?(e.consume(t),P):y(t)}function D(t){return null===t||Ne(t)?(e.exit("htmlFlowData"),F(t)):(e.consume(t),D)}function F(n){return e.exit("htmlFlow"),t(n)}},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},concrete:!0},pt={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ve,t,n)}},partial:!0},ft={tokenize:function(e,t,n){const r=this;return function(t){return Ne(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)}},partial:!0},mt={tokenize:function(e,t,n){const 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)}},partial:!0},dt={name:"codeFenced",tokenize:function(e,t,n){const r=this,i={tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s};function s(t){return e.enter("codeFencedFence"),Oe(t)?Le(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===o?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===o?(i++,e.consume(t),c):i>=a?(e.exit("codeFencedFenceSequence"),Oe(t)?Le(e,u,"whitespace")(t):u(t)):n(t)}function u(r){return null===r||Ne(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let o,s=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return s=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===o?(a++,e.consume(t),l):a<3?n(t):(e.exit("codeFencedFenceSequence"),Oe(t)?Le(e,c,"whitespace")(t):c(t))}function c(n){return null===n||Ne(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(mt,f,g)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||Ne(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):Oe(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Le(e,h,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),u)}function h(t){return null===t||Ne(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||Ne(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===o?n(t):(e.consume(t),p)}function f(t){return e.attempt(i,g,m)(t)}function m(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d}function d(t){return s>0&&Oe(t)?Le(e,T,"linePrefix",s+1)(t):T(t)}function T(t){return null===t||Ne(t)?e.check(mt,f,g)(t):(e.enter("codeFlowValue"),E(t))}function E(t){return null===t||Ne(t)?(e.exit("codeFlowValue"),T(t)):(e.consume(t),E)}function g(n){return e.exit("codeFenced"),t(n)}},concrete:!0},Tt=document.createElement("i");function Et(e){const t="&"+e+";";Tt.innerHTML=t;const n=Tt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}const gt={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,o,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,o=Ee,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=Ce,c):(e.enter("characterReferenceValue"),i=7,o=Ae,c(t))}function c(a){if(59===a&&s){const i=e.exit("characterReferenceValue");return o!==Ee||Et(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return o(a)&&s++<i?(e.consume(a),c):n(a)}}},_t={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 ke(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},At={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Le(e,t,"linePrefix")}}},Ct={name:"labelEnd",tokenize:function(e,t,n){const r=this;let i,o,s=r.events.length;for(;s--;)if(("labelImage"===r.events[s][1].type||"labelLink"===r.events[s][1].type)&&!r.events[s][1]._balanced){i=r.events[s][1];break}return function(t){return i?i._inactive?u(t):(o=r.parser.defined.includes(nt(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(t){return 40===t?e.attempt(kt,c,o?c:u)(t):91===t?e.attempt(Nt,c,o?l:u)(t):o?c(t):u(t)}function l(t){return e.attempt(St,c,u)(t)}function c(e){return t(e)}function u(e){return i._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,i,o,s=e.length,a=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)){a=2;break}}else"labelEnd"===n.type&&(i=s);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},u={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[i-2][1].start)};return o=[["enter",l,t],["enter",c,t]],o=he(o,e.slice(r+1,r+a+3)),o=he(o,[["enter",u,t]]),o=he(o,Ye(t.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),t)),o=he(o,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),o=he(o,e.slice(i+1)),o=he(o,[["exit",l,t]]),ue(e,r,e.length,o),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},kt={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 Se(t)?tt(e,i)(t):i(t)}function i(t){return 41===t?c(t):Ze(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return Se(t)?tt(e,a)(t):c(t)}function s(e){return n(e)}function a(t){return 34===t||39===t||40===t?et(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return Se(t)?tt(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)}}},Nt={tokenize:function(e,t,n){const r=this;return function(t){return Je.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(nt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},St={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},Ot={name:"labelStartImage",tokenize:function(e,t,n){const 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"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:Ct.resolveAll};function yt(e){return null===e||Se(e)||Ie(e)?1:ye(e)?2:void 0}const It={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=yt(r);let o;return function(t){return o=t,e.enter("attentionSequence"),s(t)};function s(a){if(a===o)return e.consume(a),s;const l=e.exit("attentionSequence"),c=yt(a),u=!c||2===c&&i||n.includes(a),h=!i||2===i&&c||n.includes(r);return l._open=Boolean(42===o?u:u&&(i||!h)),l._close=Boolean(42===o?h:h&&(c||!u)),t(a)}},resolveAll:function(e,t){let n,r,i,o,s,a,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const h=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);Rt(h,-a),Rt(p,a),o={type:a>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[n][1].end)},s={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},i={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},s.end)},e[n][1].end=Object.assign({},o.start),e[u][1].start=Object.assign({},s.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=he(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=he(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=he(l,Ye(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=he(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=he(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,ue(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}};function Rt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Lt={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 Te(t)?(e.consume(t),o):l(t)}function o(e){return 43===e||45===e||46===e||Ee(e)?(r=1,s(e)):l(e)}function s(t){return 58===t?(e.consume(t),r=0,a):(43===t||45===t||46===t||Ee(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function a(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||_e(r)?n(r):(e.consume(r),a)}function l(t){return 64===t?(e.consume(t),c):ge(t)?(e.consume(t),l):n(t)}function c(e){return Ee(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):h(n)}function h(t){if((45===t||Ee(t))&&r++<63){const n=45===t?h:u;return e.consume(t),n}return n(t)}}},xt={name:"htmlText",tokenize:function(e,t,n){const r=this;let i,o,s;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),A):63===t?(e.consume(t),g):Te(t)?(e.consume(t),N):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),o=0,f):Te(t)?(e.consume(t),E):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),h):Ne(t)?(s=u,M(t)):(e.consume(t),u)}function h(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?b(e):45===e?h(e):u(e)}function f(t){return t==="CDATA[".charCodeAt(o++)?(e.consume(t),6===o?m:f):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),d):Ne(t)?(s=m,M(t)):(e.consume(t),m)}function d(t){return 93===t?(e.consume(t),T):m(t)}function T(t){return 62===t?b(t):93===t?(e.consume(t),T):m(t)}function E(t){return null===t||62===t?b(t):Ne(t)?(s=E,M(t)):(e.consume(t),E)}function g(t){return null===t?n(t):63===t?(e.consume(t),_):Ne(t)?(s=g,M(t)):(e.consume(t),g)}function _(e){return 62===e?b(e):g(e)}function A(t){return Te(t)?(e.consume(t),C):n(t)}function C(t){return 45===t||Ee(t)?(e.consume(t),C):k(t)}function k(t){return Ne(t)?(s=k,M(t)):Oe(t)?(e.consume(t),k):b(t)}function N(t){return 45===t||Ee(t)?(e.consume(t),N):47===t||62===t||Se(t)?S(t):n(t)}function S(t){return 47===t?(e.consume(t),b):58===t||95===t||Te(t)?(e.consume(t),O):Ne(t)?(s=S,M(t)):Oe(t)?(e.consume(t),S):b(t)}function O(t){return 45===t||46===t||58===t||95===t||Ee(t)?(e.consume(t),O):y(t)}function y(t){return 61===t?(e.consume(t),I):Ne(t)?(s=y,M(t)):Oe(t)?(e.consume(t),y):S(t)}function I(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),i=t,R):Ne(t)?(s=I,M(t)):Oe(t)?(e.consume(t),I):(e.consume(t),L)}function R(t){return t===i?(e.consume(t),i=void 0,x):null===t?n(t):Ne(t)?(s=R,M(t)):(e.consume(t),R)}function L(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||Se(t)?S(t):(e.consume(t),L)}function x(e){return 47===e||62===e||Se(e)?S(e):n(e)}function b(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function M(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),v}function v(t){return Oe(t)?Le(e,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):P(t)}function P(t){return e.enter("htmlTextData"),s(t)}}},bt={name:"labelStartLink",tokenize:function(e,t,n){const 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)}},resolveAll:Ct.resolveAll},Mt={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return Ne(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},vt={name:"codeText",tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),o++,s):(e.exit("codeTextSequence"),a(t))}function a(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),a):96===t?(i=e.enter("codeTextSequence"),r=0,c(t)):Ne(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||Ne(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),l)}function c(n){return 96===n?(e.consume(n),r++,c):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",l(n))}},resolve:function(e){let t,n,r=e.length-4,i=3;if(!("lineEnding"!==e[i][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},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}},Pt={42:Ve,43:Ve,45:Ve,48:Ve,49:Ve,50:Ve,51:Ve,52:Ve,53:Ve,54:Ve,55:Ve,56:Ve,57:Ve,62:$e},Dt={91:rt},Ft={[-2]:ot,[-1]:ot,32:ot},wt={35:at,42:We,45:[lt,We],60:ht,61:lt,95:We,96:dt,126:dt},Ht={38:gt,92:_t},Bt={[-5]:At,[-4]:At,[-3]:At,33:Ot,38:gt,42:It,60:[Lt,xt],91:bt,92:[Mt,_t],93:Ct,95:It,96:vt},Ut={null:[It,Be]},Gt={null:[42,95]},Kt={null:[]},jt=/[\0\t\n\r]/g;function zt(e,t){const 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)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}const Yt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Qt(e){return e.replace(Yt,Wt)}function Wt(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return zt(n.slice(t?2:1),t?16:10)}return Et(n)||e}const Vt={}.hasOwnProperty,qt=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(A),autolinkProtocol:p,autolinkEmail:p,atxHeading:s(E),blockQuote:s(function(){return{type:"blockquote",children:[]}}),characterEscape:p,characterReference:p,codeFenced:s(T),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:s(T,a),codeText:s(function(){return{type:"inlineCode",value:""}},a),codeTextData:p,data:p,codeFlowValue:p,definition:s(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:s(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:s(g),hardBreakTrailing:s(g),htmlFlow:s(_,a),htmlFlowData:p,htmlText:s(_,a),htmlTextData:p,image:s(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:s(A),listItem:s(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){o("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),i("expectingFirstListItemValue"))},listOrdered:s(C,function(){i("expectingFirstListItemValue",!0)}),listUnordered:s(C),paragraph:s(function(){return{type:"paragraph",children:[]}}),reference:function(){i("referenceType","collapsed")},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:s(E),strong:s(function(){return{type:"strong",children:[]}}),thematicBreak:s(function(){return{type:"thematicBreak"}})},exit:{atxHeading:c(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:c(),autolinkEmail:function(e){f.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){f.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:c(),characterEscapeValue:f,characterReferenceMarkerHexadecimal:d,characterReferenceMarkerNumeric:d,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=o("characterReferenceType");let r;n?(r=zt(t,"characterReferenceMarkerNumeric"===n?10:16),i("characterReferenceType")):r=Et(t);const s=this.stack.pop();s.value+=r,s.position.end=Xt(e.end)},codeFenced:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")}),codeFencedFence:function(){o("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:f,codeIndented:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:f,data:f,definition:c(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nt(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:c(),hardBreakEscape:c(m),hardBreakTrailing:c(m),htmlFlow:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:f,htmlText:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:f,image:c(function(){const e=this.stack[this.stack.length-1];if(o("inReference")){const t=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")}),label:function(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(i("inReference",!0),"link"===n.type){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=Qt(t),n.identifier=nt(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(o("atHardBreak"))return n.children[n.children.length-1].position.end=Xt(e.end),void i("atHardBreak");!o("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(p.call(this,e),f.call(this,e))},link:c(function(){const e=this.stack[this.stack.length-1];if(o("inReference")){const t=o("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")}),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nt(this.sliceSerialize(e)).toLowerCase(),i("referenceType","full")},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){i("inReference")},setextHeading:c(function(){i("setextHeadingSlurpLineEnding")}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){i("setextHeadingSlurpLineEnding",!0)},strong:c(),thematicBreak:c()}};$t(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let n={type:"root",children:[]};const s={stack:[n],tokenStack:[],config:t,enter:l,exit:u,buffer:a,resume:h,setData:i,getData:o},c=[];let p=-1;for(;++p<e.length;)"listOrdered"!==e[p][1].type&&"listUnordered"!==e[p][1].type||("enter"===e[p][0]?c.push(p):p=r(e,c.pop(),p));for(p=-1;++p<e.length;){const n=t[e[p][0]];Vt.call(n,e[p][1].type)&&n[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},s),e[p][1])}if(s.tokenStack.length>0){const e=s.tokenStack[s.tokenStack.length-1];(e[1]||Jt).call(s,void 0,e[0])}for(n.position={start:Xt(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Xt(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)n=t.transforms[p](n)||n;return n};function r(e,t,n){let r,i,o,s,a=t-1,l=-1,c=!1;for(;++a<=n;){const t=e[a];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?l++:l--,s=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!r||s||l||o||(o=a),s=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(s=void 0),!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=a;for(i=void 0;s--;){const 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)break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||a,0,["exit",r,t[2]]),a++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0},e.splice(a,0,["enter",r,t[2]]),a++,n++,o=void 0,s=!0)}}return e[t][1]._spread=c,n}function i(e,t){n[e]=t}function o(e){return n[e]}function s(e,t){return function(n){l.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function l(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:Xt(t.start)},e}function c(e){return function(t){e&&e.call(this,t),u.call(this,t)}}function u(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+M({start:e.start,end:e.end})+"): it’s not open");return r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||Jt).call(this,e,r[0])),n.position.end=Xt(e.end),n}function h(){return function(e){return le(e,"boolean"!=typeof ae.includeImageAlt||ae.includeImageAlt,"boolean"!=typeof ae.includeHtml||ae.includeHtml)}(this.stack.pop())}function p(e){const t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:Xt(e.start)},t.children.push(n)),this.stack.push(n)}function f(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=Xt(e.end)}function m(){i("atHardBreak",!0)}function d(e){i("characterReferenceType",e.type)}function T(){return{type:"code",lang:null,meta:null,value:""}}function E(){return{type:"heading",depth:void 0,children:[]}}function g(){return{type:"break"}}function _(){return{type:"html",value:""}}function A(){return{type:"link",title:null,url:"",children:[]}}function C(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}(n)(function(e){for(;!Pe(e););return e}(function(e){const t={defined:[],lazy:{},constructs:fe([I,...(e||{}).extensions||[]]),content:n(xe),document:n(be),flow:n(He),string:n(Ue),text:n(Ge)};return t;function n(e){return function(n){return Qe(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(i,o,s){const a=[];let l,c,u,h,p;for(i=n+i.toString(o),u=0,n="",r&&(65279===i.charCodeAt(0)&&u++,r=void 0);u<i.length;){if(jt.lastIndex=u,l=jt.exec(i),h=l&&void 0!==l.index?l.index:i.length,p=i.charCodeAt(h),!l){n=i.slice(u);break}if(10===p&&u===h&&e)a.push(-3),e=void 0;else switch(e&&(a.push(-5),e=void 0),u<h&&(a.push(i.slice(u,h)),t+=h-u),p){case 0:a.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),a.push(-2);t++<c;)a.push(-1);break;case 10:a.push(-4),t=1;break;default:e=!0,t=1}u=h+1}return s&&(e&&a.push(-5),n&&a.push(n),a.push(null)),a}}()(e,t,!0))))};function Xt(e){return{line:e.line,column:e.column,offset:e.offset}}function $t(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?$t(e,r):Zt(e,r)}}function Zt(e,t){let n;for(n in t)if(Vt.call(t,n))if("canContainEols"===n){const r=t[n];r&&e[n].push(...r)}else if("transforms"===n){const r=t[n];r&&e[n].push(...r)}else if("enter"===n||"exit"===n){const r=t[n];r&&Object.assign(e[n],r)}}function Jt(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+M({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+M({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+M({start:t.start,end:t.end})+") is still open")}function en(e){Object.assign(this,{Parser:t=>{const n=this.data("settings");return qt(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function tn(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let s="";if(37===o&&Ee(e.charCodeAt(n+1))&&Ee(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(s=String.fromCharCode(o,t),i=1):s="�"}else s=String.fromCharCode(o);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)}const nn=function(e){if(null==e)return on;if("string"==typeof e)return t=e,rn(function(e){return e&&e.type===t});var t;if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=nn(e[n]);return rn(function(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1})}(e):function(e){return rn(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0})}(e);if("function"==typeof e)return rn(e);throw new Error("Expected function, string, or object as test")};function rn(e){return function(t,...n){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...n)))}}function on(){return!0}const sn=!1,an=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);const i=nn(t),o=r?-1:1;!function e(s,a,l){const c=s&&"object"==typeof s?s:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+s.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,h,p=[];if((!t||i(s,a,l[l.length-1]||null))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[true,e]:[e]}(n(s,l)),p[0]===sn))return p;if(s.children&&"skip"!==p[0])for(u=(r?s.children.length:-1)+o,h=l.concat(s);u>-1&&u<s.children.length;){if(c=e(s.children[u],u,h)(),c[0]===sn)return c;u="number"==typeof c[1]?c[1]:u+o}return p}}(e,void 0,[])()},ln=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),an(e,t,function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)},r)},cn=hn("start"),un=hn("end");function hn(e){return function(t){const n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const pn={}.hasOwnProperty;function fn(e){return String(e||"").toUpperCase()}function mn(e,t){const n=String(t.identifier).toUpperCase(),r=tn(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let o;-1===i?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=i+1);const s=e.footnoteCounts[n],a={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,a);const l={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,l),e.applyData(t,l)}function dn(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};const i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&"text"===s.type?s.value+=r:i.push({type:"text",value:r}),i}function Tn(e){const t=e.spread;return null==t?e.children.length>1:t}function En(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(gn(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(gn(t.slice(i),i>0,!1)),o.join("")}function gn(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):""}const _n={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let o={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:mn,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},mn(e,{type:"footnoteReference",identifier:i,position:t.position})},heading:function(e,t){const 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.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return dn(e,t);const r={src:tn(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:tn(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return dn(e,t);const r={href:tn(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:tn(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Tn(n[r])}return t}(n):Tn(t),o={},s=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const e=r[a];(i||0!==a||"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)}const l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&s.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:o,children:s};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){const 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}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=cn(t.children[1]),s=un(t.children[t.children.length-1]);o.line&&s.line&&(r.position={start:o,end:s}),i.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,s=o?o.length:t.children.length;let a=-1;const l=[];for(;++a<s;){const n=t.children[a],r={},s=o?o[a]: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(t,c)),l.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:En(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:An,yaml:An,definition:An,footnoteDefinition:An};function An(){return null}const Cn={}.hasOwnProperty;function kn(e,t){var n;e.position&&(t.position={start:cn(n=e),end:un(n)})}function Nn(e,t){let n=t;if(e&&e.data){const 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:[]}),"element"===n.type&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function Sn(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return Cn.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:On(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){const n=t.data||{},r=!("value"in t)||Cn.call(n,"hProperties")||Cn.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:On(e,t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}(e,t)}function On(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i<r.length;){const o=Sn(e,r[i],t);if(o){if(i&&"break"===r[i-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(o)?n.push(...o):n.push(o)}}}return n}function yn(e,t){const n=[];let 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 In(e,t){const n=function(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return s.dangerous=r,s.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,s.footnoteLabel=n.footnoteLabel||"Footnotes",s.footnoteLabelTagName=n.footnoteLabelTagName||"h2",s.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},s.footnoteBackLabel=n.footnoteBackLabel||"Back to content",s.unknownHandler=n.unknownHandler,s.passThrough=n.passThrough,s.handlers={..._n,...n.handlers},s.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return ln(e,"definition",e=>{const n=fn(e.identifier);n&&!pn.call(t,n)&&(t[n]=e)}),function(e){const n=fn(e);return n&&pn.call(t,n)?t[n]:null}}(e),s.footnoteById=i,s.footnoteOrder=[],s.footnoteCounts={},s.patch=kn,s.applyData=Nn,s.one=function(e,t){return Sn(s,e,t)},s.all=function(e){return On(s,e)},s.wrap=yn,s.augment=o,ln(e,"footnoteDefinition",e=>{const t=String(e.identifier).toUpperCase();Cn.call(i,t)||(i[t]=e)}),s;function o(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const r="type"in e?e:{position:e};(n=r)&&n.position&&n.position.start&&n.position.start.line&&n.position.start.column&&n.position.end&&n.position.end.line&&n.position.end.column&&(t.position={start:cn(r),end:un(r)})}var n;return t}function s(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),o(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),i=function(e){const t=[];let n=-1;for(;++n<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;const i=e.all(r),o=String(r.identifier).toUpperCase(),s=tn(o.toLowerCase());let a=0;const l=[];for(;++a<=e.footnoteCounts[o];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+s+(a>1?"-"+a:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};a>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(a)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const c=i[i.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else i.push(...l);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+s},children:e.wrap(i,!0)};e.patch(r,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return i&&r.children.push({type:"text",value:"\n"},i),Array.isArray(r)?{type:"root",children:r}:r}var Rn=function(e,t){return e&&"run"in e?function(e,t){return(n,r,i)=>{e.run(In(n,t),r,e=>{i(e)})}}(e,t):function(e){return t=>In(t,e)}(e||t)},Ln=n(6120);class xn{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function bn(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new xn(n,r,t)}function Mn(e){return e.toLowerCase()}xn.prototype.property={},xn.prototype.normal={},xn.prototype.space=null;class vn{constructor(e,t){this.property=e,this.attribute=t}}vn.prototype.space=null,vn.prototype.boolean=!1,vn.prototype.booleanish=!1,vn.prototype.overloadedBoolean=!1,vn.prototype.number=!1,vn.prototype.commaSeparated=!1,vn.prototype.spaceSeparated=!1,vn.prototype.commaOrSpaceSeparated=!1,vn.prototype.mustUseProperty=!1,vn.prototype.defined=!1;let Pn=0;const Dn=Kn(),Fn=Kn(),wn=Kn(),Hn=Kn(),Bn=Kn(),Un=Kn(),Gn=Kn();function Kn(){return 2**++Pn}const jn=Object.keys(R);class zn extends vn{constructor(e,t,n,r){let i=-1;if(super(e,t),Yn(this,"space",r),"number"==typeof n)for(;++i<jn.length;){const e=jn[i];Yn(this,jn[i],(n&R[e])===R[e])}}}function Yn(e,t,n){n&&(e[t]=n)}zn.prototype.defined=!0;const Qn={}.hasOwnProperty;function Wn(e){const t={},n={};let r;for(r in e.properties)if(Qn.call(e.properties,r)){const i=e.properties[r],o=new zn(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Mn(r)]=r,n[Mn(o.attribute)]=r}return new xn(t,n,e.space)}const Vn=Wn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),qn=Wn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Xn(e,t){return t in e?e[t]:t}function $n(e,t){return Xn(e,t.toLowerCase())}const Zn=Wn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:$n,properties:{xmlns:null,xmlnsXLink:null}}),Jn=Wn({transform(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Fn,ariaAutoComplete:null,ariaBusy:Fn,ariaChecked:Fn,ariaColCount:Hn,ariaColIndex:Hn,ariaColSpan:Hn,ariaControls:Bn,ariaCurrent:null,ariaDescribedBy:Bn,ariaDetails:null,ariaDisabled:Fn,ariaDropEffect:Bn,ariaErrorMessage:null,ariaExpanded:Fn,ariaFlowTo:Bn,ariaGrabbed:Fn,ariaHasPopup:null,ariaHidden:Fn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Bn,ariaLevel:Hn,ariaLive:null,ariaModal:Fn,ariaMultiLine:Fn,ariaMultiSelectable:Fn,ariaOrientation:null,ariaOwns:Bn,ariaPlaceholder:null,ariaPosInSet:Hn,ariaPressed:Fn,ariaReadOnly:Fn,ariaRelevant:null,ariaRequired:Fn,ariaRoleDescription:Bn,ariaRowCount:Hn,ariaRowIndex:Hn,ariaRowSpan:Hn,ariaSelected:Fn,ariaSetSize:Hn,ariaSort:null,ariaValueMax:Hn,ariaValueMin:Hn,ariaValueNow:Hn,ariaValueText:null,role:null}}),er=Wn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:$n,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Un,acceptCharset:Bn,accessKey:Bn,action:null,allow:null,allowFullScreen:Dn,allowPaymentRequest:Dn,allowUserMedia:Dn,alt:null,as:null,async:Dn,autoCapitalize:null,autoComplete:Bn,autoFocus:Dn,autoPlay:Dn,blocking:Bn,capture:null,charSet:null,checked:Dn,cite:null,className:Bn,cols:Hn,colSpan:null,content:null,contentEditable:Fn,controls:Dn,controlsList:Bn,coords:Hn|Un,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Dn,defer:Dn,dir:null,dirName:null,disabled:Dn,download:wn,draggable:Fn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Dn,formTarget:null,headers:Bn,height:Hn,hidden:Dn,high:Hn,href:null,hrefLang:null,htmlFor:Bn,httpEquiv:Bn,id:null,imageSizes:null,imageSrcSet:null,inert:Dn,inputMode:null,integrity:null,is:null,isMap:Dn,itemId:null,itemProp:Bn,itemRef:Bn,itemScope:Dn,itemType:Bn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Dn,low:Hn,manifest:null,max:null,maxLength:Hn,media:null,method:null,min:null,minLength:Hn,multiple:Dn,muted:Dn,name:null,nonce:null,noModule:Dn,noValidate:Dn,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:Dn,optimum:Hn,pattern:null,ping:Bn,placeholder:null,playsInline:Dn,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Dn,referrerPolicy:null,rel:Bn,required:Dn,reversed:Dn,rows:Hn,rowSpan:Hn,sandbox:Bn,scope:null,scoped:Dn,seamless:Dn,selected:Dn,shadowRootClonable:Dn,shadowRootDelegatesFocus:Dn,shadowRootMode:null,shape:null,size:Hn,sizes:null,slot:null,span:Hn,spellCheck:Fn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Hn,step:null,style:null,tabIndex:Hn,target:null,title:null,translate:null,type:null,typeMustMatch:Dn,useMap:null,value:Fn,width:Hn,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Bn,axis:null,background:null,bgColor:null,border:Hn,borderColor:null,bottomMargin:Hn,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Dn,declare:Dn,event:null,face:null,frame:null,frameBorder:null,hSpace:Hn,leftMargin:Hn,link:null,longDesc:null,lowSrc:null,marginHeight:Hn,marginWidth:Hn,noResize:Dn,noHref:Dn,noShade:Dn,noWrap:Dn,object:null,profile:null,prompt:null,rev:null,rightMargin:Hn,rules:null,scheme:null,scrolling:Fn,standby:null,summary:null,text:null,topMargin:Hn,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Hn,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Dn,disableRemotePlayback:Dn,prefix:null,property:null,results:Hn,security:null,unselectable:null}}),tr=Wn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Xn,properties:{about:Gn,accentHeight:Hn,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Hn,amplitude:Hn,arabicForm:null,ascent:Hn,attributeName:null,attributeType:null,azimuth:Hn,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Hn,by:null,calcMode:null,capHeight:Hn,className:Bn,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:Hn,diffuseConstant:Hn,direction:null,display:null,dur:null,divisor:Hn,dominantBaseline:null,download:Dn,dx:null,dy:null,edgeMode:null,editable:null,elevation:Hn,enableBackground:null,end:null,event:null,exponent:Hn,externalResourcesRequired:null,fill:null,fillOpacity:Hn,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:Un,g2:Un,glyphName:Un,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Hn,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Hn,horizOriginX:Hn,horizOriginY:Hn,id:null,ideographic:Hn,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Hn,k:Hn,k1:Hn,k2:Hn,k3:Hn,k4:Hn,kernelMatrix:Gn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Hn,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Hn,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:Hn,overlineThickness:Hn,paintOrder:null,panose1:null,path:null,pathLength:Hn,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Bn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Hn,pointsAtY:Hn,pointsAtZ:Hn,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Gn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Gn,rev:Gn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Gn,requiredFeatures:Gn,requiredFonts:Gn,requiredFormats:Gn,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:Hn,specularExponent:Hn,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Hn,strikethroughThickness:Hn,string:null,stroke:null,strokeDashArray:Gn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Hn,strokeOpacity:Hn,strokeWidth:null,style:null,surfaceScale:Hn,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Gn,tabIndex:Hn,tableValues:null,target:null,targetX:Hn,targetY:Hn,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Gn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Hn,underlineThickness:Hn,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Hn,values:null,vAlphabetic:Hn,vMathematical:Hn,vectorEffect:null,vHanging:Hn,vIdeographic:Hn,version:null,vertAdvY:Hn,vertOriginX:Hn,vertOriginY:Hn,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Hn,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),nr=bn([qn,Vn,Zn,Jn,er],"html"),rr=bn([qn,Vn,Zn,Jn,tr],"svg");function ir(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{ln(t,"element",(t,n,r)=>{var i,o=r;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"==typeof n&&(i=!e.allowElement(t,n,o)),i&&"number"==typeof n)return e.unwrapDisallowed&&t.children?o.children.splice(n,1,...t.children):o.children.splice(n,1),n})}}function or(e){const t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}i();const sr=/^data[-\w.:]+$/i,ar=/-[a-z]/g,lr=/[A-Z]/g;function cr(e,t){const n=Mn(t);let r=t,i=vn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&sr.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(ar,hr);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!ar.test(e)){let n=e.replace(lr,ur);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=zn}return new i(r,t)}function ur(e){return"-"+e.toLowerCase()}function hr(e){return e.charAt(1).toUpperCase()}const pr={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function fr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function mr(e){return e.join(" ").trim()}function dr(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);const e=n.slice(i,r).trim();!e&&o||t.push(e),i=r+1,r=n.indexOf(",",i)}return t}function Tr(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}var Er=n(9108),gr=["http","https","mailto","tel"];function _r(e){var t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;var r=t.indexOf(":");if(-1===r)return t;for(var i=-1;++i<gr.length;){var o=gr[i];if(r===o.length&&t.slice(0,o.length).toLowerCase()===o)return t}return-1!==(i=t.indexOf("?"))&&r>i||-1!==(i=t.indexOf("#"))&&r>i?t:"javascript:void(0)"}var Ar={}.hasOwnProperty,Cr=new Set(["table","thead","tbody","tfoot","tr"]);function kr(e,t){for(var n,r=[],i=-1;++i<t.children.length;)"element"===(n=t.children[i]).type?r.push(Nr(e,n,i,t)):"text"===n.type?"element"===t.type&&Cr.has(t.tagName)&&or(n)||r.push(n.value):"raw"!==n.type||e.options.skipHtml||r.push(n.value);return r}function Nr(e,t,n,i){var o,s=e.options,a=void 0===s.transformLinkUri?_r:s.transformLinkUri,l=e.schema,c=t.tagName,u={},h=l;if("html"===l.space&&"svg"===c&&(h=rr,e.schema=h),t.properties)for(o in t.properties)Ar.call(t.properties,o)&&Or(u,o,t.properties[o],e);"ol"!==c&&"ul"!==c||e.listDepth++;var p=kr(e,t);"ol"!==c&&"ul"!==c||e.listDepth--,e.schema=l;var f,m=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},d=s.components&&Ar.call(s.components,c)?s.components[c]:c,T="string"==typeof d||d===L.Fragment;if(!r().isValidElementType(d))throw new TypeError("Component for name `".concat(c,"` not defined or is not renderable"));if(u.key=n,"a"===c&&s.linkTarget&&(u.target="function"==typeof s.linkTarget?s.linkTarget(String(u.href||""),t.children,"string"==typeof u.title?u.title:null):s.linkTarget),"a"===c&&a&&(u.href=a(String(u.href||""),t.children,"string"==typeof u.title?u.title:null)),T||"code"!==c||"element"!==i.type||"pre"===i.tagName||(u.inline=!0),T||"h1"!==c&&"h2"!==c&&"h3"!==c&&"h4"!==c&&"h5"!==c&&"h6"!==c||(u.level=Number.parseInt(c.charAt(1),10)),"img"===c&&s.transformImageUri&&(u.src=s.transformImageUri(String(u.src||""),String(u.alt||""),"string"==typeof u.title?u.title:null)),!T&&"li"===c&&"element"===i.type){var E=function(e){for(var t=-1;++t<e.children.length;){var n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(t);u.checked=E&&E.properties?Boolean(E.properties.checked):null,u.index=Sr(i,t),u.ordered="ol"===i.tagName}return T||"ol"!==c&&"ul"!==c||(u.ordered="ol"===c,u.depth=e.listDepth),"td"!==c&&"th"!==c||(u.align&&(u.style||(u.style={}),u.style.textAlign=u.align,delete u.align),T||(u.isHeader="th"===c)),T||"tr"!==c||"element"!==i.type||(u.isHeader=Boolean("thead"===i.tagName)),s.sourcePos&&(u["data-sourcepos"]=[(f=m).start.line,":",f.start.column,"-",f.end.line,":",f.end.column].map(String).join("")),!T&&s.rawSourcePos&&(u.sourcePosition=t.position),!T&&s.includeElementIndex&&(u.index=Sr(i,t),u.siblingCount=Sr(i)),T||(u.node=t),p.length>0?L.createElement(d,u,p):L.createElement(d,u)}function Sr(e,t){for(var n=-1,r=0;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function Or(e,t,n,r){var i=cr(r.schema,t),o=n;null!=o&&o==o&&(Array.isArray(o)&&(o=i.commaSeparated?Tr(o):mr(o)),"style"===i.property&&"string"==typeof o&&(o=function(e){var t={};try{Er(e,function(e,n){var r="-ms-"===e.slice(0,4)?"ms-".concat(e.slice(4)):e;t[r.replace(/-([a-z])/g,yr)]=n})}catch(e){}return t}(o)),i.space&&i.property?e[Ar.call(pr,i.property)?pr[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function yr(e,t){return t.toUpperCase()}var Ir=n(6763);function Rr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Lr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rr(Object(n),!0).forEach(function(t){xr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xr(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var br={}.hasOwnProperty,Mr={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function vr(e){for(var t in Mr)if(br.call(Mr,t)&&br.call(e,t)){var n=Mr[t];Ir.warn("[react-markdown] Warning: please ".concat(n.to?"use `".concat(n.to,"` instead of"):"remove"," `").concat(t,"` (see <").concat("https://github.com/remarkjs/react-markdown/blob/main/changelog.md","#").concat(n.id,"> for more info)")),delete Mr[t]}var r=Z().use(en).use(e.remarkPlugins||[]).use(Rn,Lr(Lr({},e.remarkRehypeOptions),{},{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(ir,e),i=new Q;"string"==typeof e.children?i.value=e.children:void 0!==e.children&&null!==e.children&&Ir.warn("[react-markdown] Warning: please pass a string as `children` (not: `".concat(e.children,"`)"));var o=r.runSync(r.parse(i),i);if("root"!==o.type)throw new TypeError("Expected a `root` node");var s=L.createElement(L.Fragment,{},kr({options:e,schema:nr,listDepth:0},o));return e.className&&(s=L.createElement("div",{className:e.className},s)),s}vr.propTypes={children:Ln.string,className:Ln.string,allowElement:Ln.func,allowedElements:Ln.arrayOf(Ln.string),disallowedElements:Ln.arrayOf(Ln.string),unwrapDisallowed:Ln.bool,remarkPlugins:Ln.arrayOf(Ln.oneOfType([Ln.object,Ln.func,Ln.arrayOf(Ln.oneOfType([Ln.bool,Ln.string,Ln.object,Ln.func,Ln.arrayOf(Ln.any)]))])),rehypePlugins:Ln.arrayOf(Ln.oneOfType([Ln.object,Ln.func,Ln.arrayOf(Ln.oneOfType([Ln.bool,Ln.string,Ln.object,Ln.func,Ln.arrayOf(Ln.any)]))])),sourcePos:Ln.bool,rawSourcePos:Ln.bool,skipHtml:Ln.bool,includeElementIndex:Ln.bool,transformLinkUri:Ln.oneOfType([Ln.func,Ln.bool]),linkTarget:Ln.oneOfType([Ln.func,Ln.string]),transformImageUri:Ln.func,components:Ln.object};var Pr=n(2057);function Dr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Fr(e){return e?e.map(function(e){return"text"===e.type?e.value:"element"===e.type?Fr(e.children):""}).join(""):""}function wr(e){if(null==e||"boolean"==typeof e)return"";if("string"==typeof e||"number"==typeof e)return String(e);if(Array.isArray(e))return e.map(wr).join("");var t=e;return t.props?wr(t.props.children):""}function Hr(e){var t=e.className,r=e.children,i=(0,L.useRef)(null),o=wr(r);return(0,L.useEffect)(function(){var e,t=i.current;t&&(t.textContent=o,Promise.resolve(null!==(e=window.hljs)&&void 0!==e?e:n.e(254).then(n.bind(n,2827)).then(function(e){return e.default})).then(function(e){t.removeAttribute("data-highlighted"),e.highlightElement(t)}))},[o,t]),x().createElement("code",{ref:i,className:t})}var Br=n(2391),Ur=(0,L.createContext)(void 0),Gr=n(3140),Kr={dcclink:function(e){var t,n=e.node,r=e.children,i=null!==(t=null==n?void 0:n.properties)&&void 0!==t?t:{},o=n&&n.children.length?r:i.children;return x().createElement(Br.A,{href:i.href,target:i.target,title:i.title},o)},dccmarkdown:function(e){var t,n,r=e.node,i=function(){var e=(0,L.useContext)(Ur);if(!e)throw new Error("MarkdownContext used outside of its provider");return e}().renderMarkdown,o=String(null!==(t=null==r||null===(n=r.properties)||void 0===n?void 0:n.children)&&void 0!==t?t:Fr(null==r?void 0:r.children));return x().createElement(x().Fragment,null,i(o))},dashmathjax:function(e){var t,n=e.node,r=Fr(null==n?void 0:n.children),i="false"!==(null==n||null===(t=n.properties)||void 0===t?void 0:t.inline),o=(0,L.useRef)(null);return(0,L.useEffect)(function(){var e=o.current;(0,Gr.A)().then(function(t){null==t||t.typeset([e])})},[r,i]),x().createElement("span",{ref:o},i?"\\(":"\\[",r,i?"\\)":"\\]")},code:function(e){var t=e.inline,n=e.className,r=e.children;return t?x().createElement("code",{className:n},r):x().createElement(Hr,{className:n},r)}};const jr={tokenize:function(e,t,n){let r=0;return function t(o){return(87===o||119===o)&&r<3?(r++,e.consume(o),t):46===o&&3===r?(e.consume(o),i):n(o)};function i(e){return null===e?n(e):t(e)}},partial:!0},zr={tokenize:function(e,t,n){let r,i,o;return s;function s(t){return 46===t||95===t?e.check(Qr,l,a)(t):null===t||Se(t)||Ie(t)||45!==t&&ye(t)?l(t):(o=!0,e.consume(t),s)}function a(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),s}function l(e){return i||r||!o?n(e):t(e)}},partial:!0},Yr={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?o(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(Qr,t,o)(s):null===s||Se(s)||Ie(s)?t(s):(e.consume(s),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},Qr={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),o):93===s?(e.consume(s),i):60===s||null===s||Se(s)||Ie(s)?t(s):n(s)}function i(e){return null===e||40===e||91===e||Se(e)||Ie(e)?t(e):r(e)}function o(e){return Te(e)?s(e):n(e)}function s(t){return 59===t?(e.consume(t),r):Te(t)?(e.consume(t),s):n(t)}},partial:!0},Wr={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return Ee(e)?n(e):t(e)}},partial:!0},Vr={tokenize:function(e,t,n){const r=this;return function(t){return 87!==t&&119!==t||!ei.call(r,r.previous)||ii(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(jr,e.attempt(zr,e.attempt(Yr,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:ei},qr={tokenize:function(e,t,n){const r=this;let i="",o=!1;return function(t){return 72!==t&&104!==t||!ti.call(r,r.previous)||ii(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),s)};function s(t){if(Te(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(58===t){const n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),a}return n(t)}function a(t){return 47===t?(e.consume(t),o?l:(o=!0,a)):n(t)}function l(t){return null===t||_e(t)||Se(t)||Ie(t)||ye(t)?n(t):e.attempt(zr,e.attempt(Yr,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:ti},Xr={tokenize:function(e,t,n){const r=this;let i,o;return function(t){return ri(t)&&ni.call(r,r.previous)&&!ii(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(t)):n(t)};function s(t){return ri(t)?(e.consume(t),s):64===t?(e.consume(t),a):n(t)}function a(t){return 46===t?e.check(Wr,c,l)(t):45===t||95===t||Ee(t)?(o=!0,e.consume(t),a):c(t)}function l(t){return e.consume(t),i=!0,a}function c(s){return o&&i&&Te(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(s)):n(s)}},previous:ni},$r={},Zr={text:$r};let Jr=48;for(;Jr<123;)$r[Jr]=Xr,Jr++,58===Jr?Jr=65:91===Jr&&(Jr=97);function ei(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||Se(e)}function ti(e){return!Te(e)}function ni(e){return!(47===e||ri(e))}function ri(e){return 43===e||45===e||46===e||95===e||Ee(e)}function ii(e){let t=e.length,n=!1;for(;t--;){const 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}$r[43]=Xr,$r[45]=Xr,$r[46]=Xr,$r[95]=Xr,$r[72]=[Xr,qr],$r[104]=[Xr,qr],$r[87]=[Xr,Vr],$r[119]=[Xr,Vr];const oi={tokenize:function(e,t,n){const r=this;return Le(e,function(e){const 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 si(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s;for(;i--;){const e=r.events[i][1];if("labelImage"===e.type){s=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!s||!s._balanced)return n(i);const a=nt(r.sliceSerialize({start:s.end,end:r.now()}));return 94===a.codePointAt(0)&&o.includes(a.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function ai(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},l=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",o,t],["exit",o,t],["enter",s,t],["enter",a,t],["exit",a,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...l),e}function li(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),a};function a(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(a){if(s>999||93===a&&!o||null===a||91===a||Se(a))return n(a);if(93===a){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString");return i.includes(nt(r.sliceSerialize(o)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return Se(a)||(o=!0),s++,e.consume(a),92===a?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),s++,l):l(t)}}function ci(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,s,a=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(a>999||93===t&&!s||null===t||91===t||Se(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return o=nt(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return Se(t)||(s=!0),a++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,c):c(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i.includes(o)||i.push(o),Le(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function ui(e,t,n){return e.check(ve,t,e.attempt(oi,t,n))}function hi(e){e.exit("gfmFootnoteDefinition")}function pi(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const i=this.previous,o=this.events;let s=0;return function(t){return 126===i&&"characterEscape"!==o[o.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),a(t))};function a(o){const l=yt(i);if(126===o)return s>1?r(o):(e.consume(o),s++,a);if(s<2&&!t)return r(o);const c=e.exit("strikethroughSequenceTemporary"),u=yt(o);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(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";const i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={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",o,t]],a=t.parser.constructs.insideSpan.null;a&&ue(s,s.length,0,Ye(a,e.slice(r+1,n),t)),ue(s,s.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),ue(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}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class fi{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)return e.map[i][1]+=n,void e.map[i][2].push(...r);i+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort((e,t)=>e[0]-t[0]),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function mi(e,t){let n=!1;const r=[];for(;t<e.length;){const 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){const 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}const di={flow:{null:{tokenize:function(e,t,n){const r=this;let i,o=0,s=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const i=t>-1?r.events[t][1].type:null,o="tableHead"===i||"tableRow"===i?A:a;return o===A&&r.parser.lazy[r.now().line]?n(e):o(e)};function a(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(i=!0,s+=1),l(e)}(t)}function l(t){return null===t?n(t):Ne(t)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):Oe(t)?Le(e,l,"whitespace")(t):(s+=1,i&&(i=!1,o+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),i=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||Se(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 r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),i=!1,Oe(t)?Le(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?m(t):124===t?(i=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):_(t)}function f(t){return Oe(t)?Le(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),d):45===t?(s+=1,d(t)):null===t||Ne(t)?g(t):_(t)}function d(t){return 45===t?(e.enter("tableDelimiterFiller"),T(t)):_(t)}function T(t){return 45===t?(e.consume(t),T):58===t?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),E):(e.exit("tableDelimiterFiller"),E(t))}function E(t){return Oe(t)?Le(e,g,"whitespace")(t):g(t)}function g(n){return 124===n?p(n):(null===n||Ne(n))&&i&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):_(n)}function _(e){return n(e)}function A(t){return e.enter("tableRow"),C(t)}function C(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),C):null===n||Ne(n)?(e.exit("tableRow"),t(n)):Oe(n)?Le(e,C,"whitespace")(n):(e.enter("data"),k(n))}function k(t){return null===t||124===t||Se(t)?(e.exit("data"),C(t)):(e.consume(t),92===t?N:k)}function N(t){return 92===t||124===t?(e.consume(t),k):k(t)}},resolveAll:function(e,t){let n,r,i,o=-1,s=!0,a=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,h=0;const p=new fi;for(;++o<e.length;){const f=e[o],m=f[1];"enter"===f[0]?"tableHead"===m.type?(u=!1,0!==h&&(Ei(p,t,h,n,r),r=void 0,h=0),n={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(o,0,[["enter",n,t]])):"tableRow"===m.type||"tableDelimiterRow"===m.type?(s=!0,i=void 0,l=[0,0,0,0],c=[0,o+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(o,0,[["enter",r,t]])),a="tableDelimiterRow"===m.type?2:r?3:1):!a||"data"!==m.type&&"tableDelimiterMarker"!==m.type&&"tableDelimiterFiller"!==m.type?"tableCellDivider"===m.type&&(s?s=!1:(0!==l[1]&&(c[0]=c[1],i=Ti(p,t,l,a,void 0,i)),l=c,c=[l[1],o,0,0])):(s=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=Ti(p,t,l,a,void 0,i),l=[0,0,0,0]),c[2]=o)):"tableHead"===m.type?(u=!0,h=o):"tableRow"===m.type||"tableDelimiterRow"===m.type?(h=o,0!==l[1]?(c[0]=c[1],i=Ti(p,t,l,a,o,i)):0!==c[1]&&(i=Ti(p,t,c,a,o,i)),a=0):!a||"data"!==m.type&&"tableDelimiterMarker"!==m.type&&"tableDelimiterFiller"!==m.type||(c[3]=o)}for(0!==h&&Ei(p,t,h,n,r),p.consume(t.events),o=-1;++o<t.events.length;){const e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=mi(t.events,o))}return e}}}};function Ti(e,t,n,r,i,o){const s=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(o.end=Object.assign({},gi(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const a=gi(t.events,n[1]);if(o={type:s,start:Object.assign({},a),end:Object.assign({},a)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){const i=gi(t.events,n[2]),o=gi(t.events,n[3]),s={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",s,t]]),2!==r){const 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){const 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&&(o.end=Object.assign({},gi(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function Ei(e,t,n,r,i){const o=[],s=gi(t.events,n);i&&(i.end=Object.assign({},s),o.push(["exit",i,t])),r.end=Object.assign({},s),o.push(["exit",r,t]),e.add(n+1,0,o)}function gi(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const _i={tokenize:function(e,t,n){const 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 Se(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return Ne(r)?t(r):Oe(r)?e.check({tokenize:Ci},t,n)(r):n(r)}}},Ai={text:{91:_i}};function Ci(e,t,n){return Le(e,function(e){return null===e?n(e):t(e)},"whitespace")}function ki(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}const Ni={}.hasOwnProperty;function Si(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Oi(e){return"function"==typeof e?e:()=>e}const yi="phrasing",Ii=["autolink","link","image","label"],Ri={transforms:[function(e){!function(e,t,n,r){let i,o;"string"==typeof t||t instanceof RegExp?(o=[[t,n]],i=r):(o=t,i=n),i||(i={});const s=nn(i.ignore||[]),a=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([Si(e[n][0]),Oi(e[n][1])])}else{let n;for(n in e)Ni.call(e,n)&&t.push([Si(n),Oi(e[n])])}return t}(o);let l=-1;for(;++l<a.length;)an(e,"text",c);return e;function c(e,t){let n,r=-1;for(;++r<t.length;){const e=t[r];if(s(e,n?n.children.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=a[l][0],i=a[l][1];let o=0;const s=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let h=r.exec(e.value);for(;h;){const n=h.index,s={index:h.index,input:h.input,stack:[...t,e]};let a=i(...h,s);if("string"==typeof a&&(a=a.length>0?{type:"text",value:a}:void 0),!1!==a&&(o!==n&&u.push({type:"text",value:e.value.slice(o,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),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(s,1,...u)):u=[e],s+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,bi],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Mi]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:xi,literalAutolinkHttp:xi,literalAutolinkWww:xi},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e),this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},Li={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:yi,notInConstruct:Ii},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:yi,notInConstruct:Ii},{character:":",before:"[ps]",after:"\\/",inConstruct:yi,notInConstruct:Ii}]};function xi(e){this.config.enter.autolinkProtocol.call(this,e)}function bi(e,t,n,r,i){let o="";if(!vi(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n))return!1;const s=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=ki(e,"(");let o=ki(e,")");for(;-1!==r&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}(n+r);if(!s[0])return!1;const a={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function Mi(e,t,n,r){return!(!vi(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function vi(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||Ie(n)||ye(n))&&(!t||47!==n)}function Pi(e){return e.label||!e.identifier?e.label||"":Qt(e.identifier)}function Di(e,t,n,r){let i=r.join.length;for(;i--;){const o=r.join[i](e,t,n,r);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const Fi=/\r?\n|\r/g;function wi(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Hi(e,t){return Bi(e,t.inConstruct,!0)&&!Bi(e,t.notInConstruct,!1)}function Bi(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Ui(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),i=[],o=[],s={};let a=-1;for(;++a<e.unsafe.length;){const t=e.unsafe[a];if(!Hi(e.stack,t))continue;const n=wi(t);let o;for(;o=n.exec(r);){const e="before"in t||Boolean(t.atBreak),n="after"in t,r=o.index+(e?o[1].length:0);i.includes(r)?(s[r].before&&!e&&(s[r].before=!1),s[r].after&&!n&&(s[r].after=!1)):(i.push(r),s[r]={before:e,after:n})}}i.sort(Gi);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(a=-1;++a<i.length;){const e=i[a];e<l||e>=c||e+1<c&&i[a+1]===e+1&&s[e].after&&!s[e+1].before&&!s[e+1].after||i[a-1]===e-1&&s[e].before&&!s[e-1].before&&!s[e-1].after||(l!==e&&o.push(Ki(r.slice(l,e),"\\")),l=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(o.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),l++):o.push("\\"))}return o.push(Ki(r.slice(l,c),n.after)),o.join("")}function Gi(e,t){return e-t}function Ki(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],o=e+t;let s,a=-1,l=0;for(;s=n.exec(o);)r.push(s.index);for(;++a<r.length;)l!==r[a]&&i.push(e.slice(l,r[a])),i.push("\\"),l=r[a];return i.push(e.slice(l)),i.join("")}function ji(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,i=n.line||1,o=n.column||1;return{move:function(e){const t=e||"",n=t.split(/\r?\n|\r/g),s=n[n.length-1];return i+=n.length-1,o=1===n.length?o+s.length:1+s.length+r,t},current:function(){return{now:{line:i,column:o},lineShift:r}},shift:function(e){r+=e}}}function zi(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Yi(){this.buffer()}function Qi(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nt(this.sliceSerialize(e)).toLowerCase()}function Wi(e){this.exit(e)}function Vi(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function qi(){this.buffer()}function Xi(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nt(this.sliceSerialize(e)).toLowerCase()}function $i(e){this.exit(e)}function Zi(e,t,n,r){const i=ji(r);let o=i.move("[^");const s=n.enter("footnoteReference"),a=n.enter("reference");return o+=i.move(Ui(n,Pi(e),{...i.current(),before:o,after:"]"})),a(),s(),o+=i.move("]"),o}function Ji(e,t,n,r){const i=ji(r);let o=i.move("[^");const s=n.enter("footnoteDefinition"),a=n.enter("label");return o+=i.move(Ui(n,Pi(e),{...i.current(),before:o,after:"]"})),a(),o+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),o+=i.move(function(e,t){const n=[];let r,i=0,o=0;for(;r=Fi.exec(e);)s(e.slice(i,r.index)),n.push(r[0]),i=r.index+r[0].length,o++;return s(e.slice(i)),n.join("");function s(e){n.push(t(e,o,!e))}}(function(e,t,n){const r=t.indexStack,i=e.children||[],o=t.createTracker(n),s=[];let a=-1;for(r.push(-1);++a<i.length;){const n=i[a];r[r.length-1]=a,s.push(o.move(t.handle(n,e,t,{before:"\n",after:"\n",...o.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),a<i.length-1&&s.push(o.move(Di(n,i[a+1],e,t)))}return r.pop(),s.join("")}(e,n,i.current()),eo)),s(),o}function eo(e,t,n){return 0===t?e:(n?"":" ")+e}function to(e,t,n){const r=t.indexStack,i=e.children||[],o=[];let s=-1,a=n.before;r.push(-1);let l=t.createTracker(n);for(;++s<i.length;){const c=i[s];let u;if(r[r.length-1]=s,s+1<i.length){let n=t.handle.handlers[i[s+1].type];n&&n.peek&&(n=n.peek),u=n?n(i[s+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else u=n.after;o.length>0&&("\r"===a||"\n"===a)&&"html"===c.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),a=" ",l=t.createTracker(n),l.move(o.join(""))),o.push(l.move(t.handle(c,e,t,{...l.current(),before:a,after:u}))),a=o[o.length-1].slice(-1)}return r.pop(),o.join("")}Zi.peek=function(){return"["},io.peek=function(){return"~"};const no={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},ro={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:io}};function io(e,t,n,r){const i=ji(r),o=n.enter("strikethrough");let s=i.move("~~");return s+=to(e,n,{...i.current(),before:s,after:"~"}),s+=i.move("~~"),o(),s}function oo(e,t,n){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){const e=n.unsafe[o],t=wi(e);let i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(i.index+1)}}return i+r+i}function so(e){return e.length}function ao(e){return null==e?"":String(e)}function lo(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}oo.peek=function(){return"`"};const co={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map(e=>"none"===e?null:e),children:[]},e),this.setData("inTable",!0)},tableData:ho,tableHeader:ho,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,po)),this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:uo,tableHeader:uo,tableRow:uo}};function uo(e){this.exit(e)}function ho(e){this.enter({type:"tableCell",children:[]},e)}function po(e,t){return"|"===t?t:e}function fo(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return a(function(e,t,n){const r=e.children;let i=-1;const o=[],s=t.enter("table");for(;++i<r.length;)o[i]=l(r[i],t,n);return s(),o}(e,n,r),e.align)},tableRow:function(e,t,n,r){const i=a([l(e,n,r)]);return i.slice(0,i.indexOf("\n"))},tableCell:s,inlineCode:function(e,t,n){let r=oo(e,0,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r}}};function s(e,t,n,r){const i=n.enter("tableCell"),s=n.enter("phrasing"),a=to(e,n,{...r,before:o,after:o});return s(),i(),a}function a(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||so,o=[],s=[],a=[],l=[];let c=0,u=-1;for(;++u<e.length;){const t=[],r=[];let o=-1;for(e[u].length>c&&(c=e[u].length);++o<e[u].length;){const s=ao(e[u][o]);if(!1!==n.alignDelimiters){const e=i(s);r[o]=e,(void 0===l[o]||e>l[o])&&(l[o]=e)}t.push(s)}s[u]=t,a[u]=r}let h=-1;if("object"==typeof r&&"length"in r)for(;++h<c;)o[h]=lo(r[h]);else{const e=lo(r);for(;++h<c;)o[h]=e}h=-1;const p=[],f=[];for(;++h<c;){const e=o[h];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,l[h]-t.length-r.length);const s=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&(i=t.length+i+r.length,i>l[h]&&(l[h]=i),f[h]=i),p[h]=s}s.splice(1,0,p),a.splice(1,0,f),u=-1;const m=[];for(;++u<s.length;){const e=s[u],t=a[u];h=-1;const r=[];for(;++h<c;){const i=e[h]||"";let s="",a="";if(!1!==n.alignDelimiters){const e=l[h]-(t[h]||0),n=o[h];114===n?s=" ".repeat(e):99===n?e%2?(s=" ".repeat(e/2+.5),a=" ".repeat(e/2-.5)):(s=" ".repeat(e/2),a=s):a=" ".repeat(e)}!1===n.delimiterStart||h||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===i||!1===n.delimiterStart&&!h||r.push(" "),!1!==n.alignDelimiters&&r.push(s),r.push(i),!1!==n.alignDelimiters&&r.push(a),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&h===c-1||r.push("|")}m.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return m.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function l(e,t,n){const r=e.children;let i=-1;const o=[],a=t.enter("tableRow");for(;++i<r.length;)o[i]=s(r[i],0,t,n);return a(),o}}const mo={exit:{taskListCheckValueChecked:Eo,taskListCheckValueUnchecked:Eo,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let i,o=-1;for(;++o<r.length;){const e=r[o];if("paragraph"===e.type){i=e;break}}i===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)}}},To={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){const i=e.children[0],o="boolean"==typeof e.checked&&i&&"paragraph"===i.type,s="["+(e.checked?"x":" ")+"] ",a=ji(r);o&&a.move(s);let l=function(e,t,n,r){const i=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let o=n.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let s=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(s=4*Math.ceil(s/4));const a=n.createTracker(r);a.move(o+" ".repeat(s-o.length)),a.shift(s);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,a.current()),function(e,t,n){return t?(n?"":" ".repeat(s))+e:(n?o:o+" ".repeat(s-o.length))+e});return l(),c}(e,t,n,{...r,...a.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+s})),l}}};function Eo(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}const go={tokenize:function(e,t,n){const r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0;let s=0;return function(t){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),a(t)};function a(t){return 36===t?(e.consume(t),s++,a):s<2?n(t):(e.exit("mathFlowFenceSequence"),Le(e,l,"whitespace")(t))}function l(t){return null===t||Ne(t)?u(t):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return null===t||Ne(t)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),u(t)):36===t?n(t):(e.consume(t),c)}function u(n){return e.exit("mathFlowFence"),r.interrupt?t(n):e.attempt(_o,h,d)(n)}function h(t){return e.attempt({tokenize:T,partial:!0},d,p)(t)}function p(t){return(o?Le(e,f,"linePrefix",o+1):f)(t)}function f(t){return null===t?d(t):Ne(t)?e.attempt(_o,h,d)(t):(e.enter("mathFlowValue"),m(t))}function m(t){return null===t||Ne(t)?(e.exit("mathFlowValue"),f(t)):(e.consume(t),m)}function d(n){return e.exit("mathFlow"),t(n)}function T(e,t,n){let i=0;return Le(e,function(t){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),o(t)},"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(t){return 36===t?(i++,e.consume(t),o):i<s?n(t):(e.exit("mathFlowFenceSequence"),Le(e,a,"whitespace")(t))}function a(r){return null===r||Ne(r)?(e.exit("mathFlowFence"),t(r)):n(r)}}},concrete:!0},_o={tokenize:function(e,t,n){const r=this;return function(n){return null===n?t(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};function Ao(e){let t=(e||{}).singleDollarTextMath;return null==t&&(t=!0),{tokenize:function(e,n,r){let i,o,s=0;return function(t){return e.enter("mathText"),e.enter("mathTextSequence"),a(t)};function a(n){return 36===n?(e.consume(n),s++,a):s<2&&!t?r(n):(e.exit("mathTextSequence"),l(n))}function l(t){return null===t?r(t):36===t?(o=e.enter("mathTextSequence"),i=0,u(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):Ne(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("mathTextData"),c(t))}function c(t){return null===t||32===t||36===t||Ne(t)?(e.exit("mathTextData"),l(t)):(e.consume(t),c)}function u(t){return 36===t?(e.consume(t),i++,u):i===s?(e.exit("mathTextSequence"),e.exit("mathText"),n(t)):(o.type="mathTextData",c(t))}},resolve:Co,previous:ko}}function Co(e){let t,n,r=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=i;++t<r;)if("mathTextData"===e[t][1].type){e[r][1].type="mathTextPadding",e[i][1].type="mathTextPadding",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="mathTextData",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}function ko(e){return 36!==e||"characterEscape"===this.events[this.events.length-1][1].type}_();const No=/[#.]/g,So=new Set(["menu","submit","reset","button"]),Oo={}.hasOwnProperty;function yo(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}(n);return function(n,i,...o){let s,a=-1;if(null==n)s={type:"root",children:[]},o.unshift(i);else if(s=function(e,t){const n=e||"",r={};let i,o,s=0;for(;s<n.length;){No.lastIndex=s;const e=No.exec(n),t=n.slice(s,e?e.index:n.length);t&&(i?"#"===i?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,s+=t.length),e&&(i=e[0],s++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}(n,t),s.tagName=s.tagName.toLowerCase(),r&&Oo.call(r,s.tagName)&&(s.tagName=r[s.tagName]),l=i,c=s.tagName,null==l||"object"!=typeof l||Array.isArray(l)||"input"!==c&&l.type&&"string"==typeof l.type&&("children"in l&&Array.isArray(l.children)||("button"===c?!So.has(l.type.toLowerCase()):"value"in l)))o.unshift(i);else{let t;for(t in i)Oo.call(i,t)&&Io(e,s.properties,t,i[t])}for(var l,c;++a<o.length;)Ro(s.children,o[a]);return"element"===s.type&&"template"===s.tagName&&(s.content={type:"root",children:s.children},s.children=[]),s}}function Io(e,t,n,r){const i=cr(e,n);let o,s=-1;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;o=r}else o="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?fr(r):i.commaSeparated?dr(r):i.commaOrSpaceSeparated?fr(dr(r).join(" ")):Lo(i,i.property,r):Array.isArray(r)?r.concat():"style"===i.property?function(e){const t=[];let n;for(n in e)Oo.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(o)){const e=[];for(;++s<o.length;)e[s]=Lo(i,i.property,o[s]);o=e}"className"===i.property&&Array.isArray(t.className)&&(o=t.className.concat(o)),t[i.property]=o}}function Ro(e,t){let n=-1;if(null==t);else if("string"==typeof t||"number"==typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)Ro(e,t[n]);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?Ro(e,t.children):e.push(t)}}function Lo(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||Mn(n)===Mn(t)))return!0}return n}const xo=yo(rr,"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"]),bo=yo(nr,"div"),Mo={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/"},vo={}.hasOwnProperty,Po=Object.prototype;function Do(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},wo(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={type:"root",children:Fo(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const t=String(e.file),r=function(e){const t=String(e),n=[],r=/\r?\n|\r/g;for(;r.test(t);)n.push(r.lastIndex);return n.push(t.length+1),{toPoint:function(e){let t=-1;if("number"==typeof e&&e>-1&&e<n[n.length-1])for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e};return{line:void 0,column:void 0,offset:void 0}},toOffset:function(e){const t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}return-1}}}(t),i=r.toPoint(0),o=r.toPoint(t.length);n.position={start:i,end:o}}return n}case"#documentType":return n={type:"doctype"},wo(e,t,n),n;case"#text":{const r=t;return n={type:"text",value:r.value},wo(e,r,n),n}default:return n=function(e,t){const n=e.schema;e.schema=t.namespaceURI===Mo.svg?rr:nr;let r=-1;const i={};for(;++r<t.attrs.length;){const e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;vo.call(Po,n)||(i[n]=e.value)}const o=("svg"===e.schema.space?xo:bo)(t.tagName,i,Fo(e,t.childNodes));if(wo(e,t,o),"template"===o.tagName){const n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&Ho(r.startTag),s=r&&r.endTag&&Ho(r.endTag),a=Do(e,n.content);i&&s&&e.file&&(a.position={start:i.end,end:s.start}),o.content=a}return e.schema=n,o}(e,t),n}}function Fo(e,t){let n=-1;const r=[];for(;++n<t.length;)r[n]=Do(e,t[n]);return r}function wo(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=function(e,t,n){const r=Ho(n);if("element"===t.type){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const r={};let i;if(n.attrs)for(i in n.attrs)vo.call(n.attrs,i)&&(r[cr(e.schema,i).property]=Ho(n.attrs[i]));t.data={position:{opening:Ho(n.startTag),closing:n.endTag?Ho(n.endTag):null,properties:r}}}}return r}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Ho(e){const t=Bo({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Bo({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Bo(e){return e.line&&e.column?e:void 0}const Uo={}.hasOwnProperty;function Go(e,t){const n=t||{};function r(t,...n){let i=r.invalid;const o=r.handlers;if(t&&Uo.call(t,e)){const n=String(t[e]);i=Uo.call(o,n)?o[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}const Ko={}.hasOwnProperty,jo=Go("type",{handlers:{root:function(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Yo(e.children,n,t),Qo(e,n),n},element:function(e,t){const n=t;let r=n;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=rr);const i=[];let o;if(e.properties)for(o in e.properties)if("children"!==o&&Ko.call(e.properties,o)){const t=zo(r,o,e.properties[o]);t&&i.push(t)}const s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Mo[r.space],childNodes:[],parentNode:void 0};return s.childNodes=Yo(e.children,s,r),Qo(e,s),"template"===e.tagName&&e.content&&(s.content=function(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Yo(e.children,n,t),Qo(e,n),n}(e.content,r)),s},text:function(e){const t={nodeName:"#text",value:e.value,parentNode:void 0};return Qo(e,t),t},comment:function(e){const t={nodeName:"#comment",data:e.value,parentNode:void 0};return Qo(e,t),t},doctype:function(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0};return Qo(e,t),t}}});function zo(e,t,n){const r=cr(e,t);if(null==n||!1===n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Tr(n):mr(n));const i={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){const e=i.name.indexOf(":");e<0?i.prefix="":(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=Mo[r.space]}return i}function Yo(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const o=jo(e[r],n);o.parentNode=t,i.push(o)}return i}function Qo(e,t){const n=e.position;n&&n.start&&n.end&&(t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Wo=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"],Vo={sourceCodeLocationInfo:!0,scriptingEnabled:!1},qo=function(e,t,n){let r=-1;const i=new(_())(Vo),o=Go("type",{handlers:{root:function(e){f(e.children)},element:function(e){T(),i._processInputToken(function(e){const t=Object.assign(Zo(e));return t.startTag=Object.assign({},t),{type:"START_TAG_TOKEN",tagName:e.tagName,selfClosing:!1,attrs:Xo(e),location:t}}(e)),f(e.children),Wo.includes(e.tagName)||(T(),i._processInputToken(function(e){const t=Object.assign(Zo(e));return t.startTag=Object.assign({},t),{type:"END_TAG_TOKEN",tagName:e.tagName,attrs:[],location:t}}(e)))},text:function(e){T(),i._processInputToken({type:"CHARACTER_TOKEN",chars:e.value,location:Zo(e)})},comment:m,doctype:function(e){T(),i._processInputToken({type:"DOCTYPE_TOKEN",name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Zo(e)})},raw:function(e){const t=cn(e),n=t.line||1,r=t.column||1,o=t.offset||0;if(!l)throw new Error("Expected `preprocessor`");if(!a)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");if(!u)throw new Error("Expected `locationTracker`");l.html=void 0,l.pos=-1,l.lastGapPos=-1,l.lastCharPos=-1,l.gapStack=[],l.skipNextNewLine=!1,l.lastChunkWritten=!1,l.endOfChunkHit=!1,c.isEol=!1,c.lineStartPos=1-r,c.droppedBufferSize=o,c.offset=0,c.col=1,c.line=n,u.currentAttrLocation=void 0,u.ctLoc=Zo(e),a.write(e.value),i._runParsingLoop(null),("NAMED_CHARACTER_REFERENCE_STATE"===a.state||"NUMERIC_CHARACTER_REFERENCE_END_STATE"===a.state)&&(l.lastChunkWritten=!0,a[a.state](a._consume()))}},unknown:$o});let s,a,l,c,u;var h;if(h=t,Boolean(h&&!("message"in h&&"messages"in h))&&(n=t,t=void 0),n&&n.passThrough)for(;++r<n.passThrough.length;)o.handlers[n.passThrough[r]]=d;const p=function(e,t){const n=t||{};let r,i;return"messages"in n?(i=n,r={}):(i=n.file||void 0,r=n),Do({schema:"svg"===r.space?rr:nr,file:i,verbose:r.verbose,location:!1},e)}(function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName))}(e)?function(){const t=i.treeAdapter.createDocument();if(i._bootstrap(t,void 0),a=i.tokenizer,!a)throw new Error("Expected `tokenizer`");return l=a.preprocessor,u=a.__mixins[0],c=u.posTracker,o(e),T(),t}():function(){const t={nodeName:"template",tagName:"template",attrs:[],namespaceURI:Mo.html,childNodes:[]},n={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:Mo.html,childNodes:[]},r={nodeName:"#document-fragment",childNodes:[]};if(i._bootstrap(n,t),i._pushTmplInsertionMode("IN_TEMPLATE_MODE"),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),a=i.tokenizer,!a)throw new Error("Expected `tokenizer`");return l=a.preprocessor,u=a.__mixins[0],c=u.posTracker,o(e),T(),i._adoptNodes(n.childNodes[0],r),r}(),t);return s&&ln(p,"comment",(e,t,n)=>{const r=e;if(r.value.stitch&&null!==n&&null!==t)return n.children[t]=r.value.stitch,t}),"root"!==e.type&&"root"===p.type&&1===p.children.length?p.children[0]:p;function f(e){let t=-1;if(e)for(;++t<e.length;)o(e[t])}function m(e){T(),i._processInputToken({type:"COMMENT_TOKEN",data:e.value,location:Zo(e)})}function d(e){let r;s=!0,r="children"in e?{...e,children:qo({type:"root",children:e.children},t,n).children}:{...e},m({type:"comment",value:{stitch:r}})}function T(){if(!a)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");const e=a.currentCharacterToken;e&&(e.location.endLine=c.line,e.location.endCol=c.col+1,e.location.endOffset=c.offset+1,i._processInputToken(e)),a.tokenQueue=[],a.state="DATA_STATE",a.returnState="",a.charRefCode=-1,a.tempBuff=[],a.lastStartTagName="",a.consumedAfterSnapshot=-1,a.active=!1,a.currentCharacterToken=void 0,a.currentToken=void 0,a.currentAttr=void 0}};function Xo(e){return(t={tagName:e.tagName,type:"element",properties:e.properties,children:[]},jo(t,nr)).attrs;var t}function $o(e){throw new Error("Cannot compile `"+e.type+"` node")}function Zo(e){const t=cn(e),n=un(e);return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}var Jo=/(\${1,2})((?:\\.|[^$])+)\1/g;function es(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ts=["dcclink","dccmarkdown"],ns=["script","style"],rs=[function(e={}){const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return fe([Zr,{document:{91:{tokenize:ci,continuation:{tokenize:ui},exit:hi}},text:{91:{tokenize:li},93:{add:"after",tokenize:si,resolveTo:ai}}},pi(e),di,Ai])}(e)),n("fromMarkdownExtensions",[Ri,{enter:{gfmFootnoteDefinition:zi,gfmFootnoteDefinitionLabelString:Yi,gfmFootnoteCall:Vi,gfmFootnoteCallString:qi},exit:{gfmFootnoteDefinition:Wi,gfmFootnoteDefinitionLabelString:Qi,gfmFootnoteCall:$i,gfmFootnoteCallString:Xi}},no,co,mo]),n("toMarkdownExtensions",function(e){return{extensions:[Li,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Ji,footnoteReference:Zi}},ro,fo(e),To]}}(e))}],is=[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return{flow:{36:go},text:{36:Ao(e)}}}(e)),n("fromMarkdownExtensions",function(){return{enter:{mathFlow:function(e){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},e)},mathFlowFenceMeta:function(){this.buffer()},mathText:function(e){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},e),this.buffer()}},exit:{mathFlow:function(e){const t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n=this.exit(e);n.value=t,n.data.hChildren[0].value=t,this.setData("mathFlowInside")},mathFlowFence:function(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))},mathFlowFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},mathFlowValue:e,mathText:function(e){const t=this.resume(),n=this.exit(e);n.value=t,n.data.hChildren[0].value=t},mathTextData:e}};function e(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}()),n("toMarkdownExtensions",function(e){let t=(e||{}).singleDollarTextMath;return null==t&&(t=!0),n.peek=function(){return"$"},{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:"\n",inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:function(e,t,n,r){const i=e.value||"",o=ji(r),s="$".repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),i=r,o=0,s=0;for(;-1!==r;)r===i?++o>s&&(s=o):o=1,i=r+1,r=n.indexOf(t,i);return s}(i,"$")+1,2)),a=n.enter("mathFlow");let l=o.move(s);if(e.meta){const t=n.enter("mathFlowMeta");l+=o.move(Ui(n,e.meta,{before:l,after:"\n",encode:["$"],...o.current()})),t()}return l+=o.move("\n"),i&&(l+=o.move(i+"\n")),l+=o.move(s),a(),l},inlineMath:n}};function n(e,n,r){let i=e.value||"",o=1;for(t||o++;new RegExp("(^|[^$])"+"\\$".repeat(o)+"([^$]|$)").test(i);)o++;const s="$".repeat(o);/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^\$|\$$/.test(i))&&(i=" "+i+" ");let a=-1;for(;++a<r.unsafe.length;){const e=r.unsafe[a],t=wi(e);let n;if(e.atBreak)for(;n=t.exec(i);){let e=n.index;10===i.codePointAt(e)&&13===i.codePointAt(e-1)&&e--,i=i.slice(0,e)+" "+i.slice(n.index+1)}}return s+i+s}}(e))}],os=[function(){return function(e){ln(e,function(e){if("raw"!==e.type){if("element"===e.type){var t=function(e){var t,n=null===(t=e.properties)||void 0===t?void 0:t.className;if(Array.isArray(n)){if(n.includes("math-inline"))return"inline";if(n.includes("math-display"))return"display"}return null}(e);t&&(e.tagName="dashmathjax",e.properties={inline:"inline"===t?"true":"false"})}}else{var n=e;n.value=n.value.replace(Jo,function(e,t,n){var r=1===t.length||-1===n.indexOf("\n");return'<dashmathjax inline="'.concat(r,'">').concat(n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"</dashmathjax>")})}})}}],ss=[function(e={}){return(t,n)=>qo(t,n,e)},function(){return function(e){ln(e,"element",function(e,t,n){if(ns.includes(e.tagName)&&n&&"number"==typeof t)return n.children.splice(t,1),["skip",t]})}},function(){return function(e){ln(e,"element",function(e,t,n){var r,i,o;if(n&&"number"==typeof t){var s=ts.includes(e.tagName),a=void 0!==(null===(r=e.properties)||void 0===r?void 0:r.children);s&&a&&((i=n.children).splice.apply(i,[t+1,0].concat(function(e){if(Array.isArray(e))return es(e)}(o=e.children)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(o)||function(e,t){if(e){if("string"==typeof e)return es(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?es(e,t):void 0}}(o)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),e.children=[])}})}}];function as(){return as=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},as.apply(null,arguments)}function ls(e){return function(e){if(Array.isArray(e))return cs(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return cs(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cs(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var us=x().memo(function(e){var t=e.children,n=e.dedent,r=e.dangerously_allow_html,i=e.mathjax,o=e.link_target,s=n&&t?function(e){var t,n=e.split(/\r\n|\r|\n/),r=null,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Dr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}(n);try{for(i.s();!(t=i.n()).done;){var o=t.value,s=o&&o.match(/^\s*(?=\S)/);if(s){var a=s[0];if(null!==r){for(var l=0;l<r.length;l++)if(a[l]!==r[l]){r=r.substr(0,l);break}}else r=a;if(!r)break}}}catch(e){i.e(e)}finally{i.f()}var c=r?r.length:0;return n.map(function(e){return e.match(/\S/)?e.substr(c):""}).join("\n")}(t):t,a=ls(rs),l=[];return i&&(a.push.apply(a,ls(is)),l.push.apply(l,ls(os))),r&&l.push.apply(l,ls(ss)),x().createElement(vr,{linkTarget:o,remarkPlugins:a,rehypePlugins:l,components:Kr},s)}),hs=function(e){var t=e.id,n=e.style,r=e.className,i=e.highlight_config,o=e.dangerously_allow_html,s=e.link_target,a=e.mathjax,l=e.children,c=e.dedent,u=Array.isArray(l)?l.join("\n"):l,h=[r,"dark"===(null==i?void 0:i.theme)?"hljs-dark":""].filter(Boolean),p=(0,L.useCallback)(function(e){return x().createElement(us,{dedent:c,dangerously_allow_html:o,mathjax:a,link_target:s},e)},[c,o,a,s]),f=(0,L.useMemo)(function(){return{renderMarkdown:p}},[p]);return x().createElement(Pr.A,null,function(e){return x().createElement("div",as({id:t,style:n,className:h.join(" ")},e),x().createElement(Ur.Provider,{value:f},p(null!=u?u:"")))})}},7232:function(e){"use strict";class t{constructor(e){this.length=0,this.entries=[],this.treeAdapter=e,this.bookmark=null}_getNoahArkConditionCandidates(e){const n=[];if(this.length>=3){const r=this.treeAdapter.getAttrList(e).length,i=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let e=this.length-1;e>=0;e--){const s=this.entries[e];if(s.type===t.MARKER_ENTRY)break;const a=s.element,l=this.treeAdapter.getAttrList(a);this.treeAdapter.getTagName(a)===i&&this.treeAdapter.getNamespaceURI(a)===o&&l.length===r&&n.push({idx:e,attrs:l})}}return n.length<3?[]:n}_ensureNoahArkCondition(e){const t=this._getNoahArkConditionCandidates(e);let n=t.length;if(n){const r=this.treeAdapter.getAttrList(e),i=r.length,o=Object.create(null);for(let e=0;e<i;e++){const t=r[e];o[t.name]=t.value}for(let e=0;e<i;e++)for(let r=0;r<n;r++){const i=t[r].attrs[e];if(o[i.name]!==i.value&&(t.splice(r,1),n--),t.length<3)return}for(let e=n-1;e>=2;e--)this.entries.splice(t[e].idx,1),this.length--}}insertMarker(){this.entries.push({type:t.MARKER_ENTRY}),this.length++}pushElement(e,n){this._ensureNoahArkCondition(e),this.entries.push({type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}insertElementAfterBookmark(e,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:t.ELEMENT_ENTRY,element:e,token:n}),this.length++}removeEntry(e){for(let t=this.length-1;t>=0;t--)if(this.entries[t]===e){this.entries.splice(t,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const e=this.entries.pop();if(this.length--,e.type===t.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(e){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===t.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===e)return r}return null}getElementEntry(e){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===t.ELEMENT_ENTRY&&r.element===e)return r}return null}}t.MARKER_ENTRY="MARKER_ENTRY",t.ELEMENT_ENTRY="ELEMENT_ENTRY",e.exports=t},4993:function(e){"use strict";e.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])},6272:function(e){"use strict";e.exports=function(e,t){return[e,t=t||Object.create(null)].reduce((e,t)=>(Object.keys(t).forEach(n=>{e[n]=t[n]}),e),Object.create(null))}},9788:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var h=1,p=1;function f(e){var t=e.match(n);t&&(h+=t.length);var r=e.lastIndexOf("\n");p=~r?e.length-r:p+e.length}function m(){var e={line:h,column:p};return function(t){return t.position=new d(e),_(),t}}function d(e){this.start=e,this.end={line:h,column:p},this.source=l.source}d.prototype.content=e;var T=[];function E(t){var n=new Error(l.source+":"+h+":"+p+": "+t);if(n.reason=t,n.filename=l.source,n.line=h,n.column=p,n.source=e,!l.silent)throw n;T.push(n)}function g(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function _(){g(r)}function A(e){var t;for(e=e||[];t=C();)!1!==t&&e.push(t);return e}function C(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return E("End of comment missing");var r=e.slice(2,n-2);return p+=2,f(r),e=e.slice(n),p+=2,t({type:"comment",comment:r})}}function k(){var e=m(),n=g(i);if(n){if(C(),!g(o))return E("property missing ':'");var r=g(s),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return g(a),l}}return _(),function(){var e,t=[];for(A(t);e=k();)!1!==e&&(t.push(e),A(t));return t}()}},7206:function(e){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},9108:function(e,t,n){var r=n(9788);function i(e,t){var n,i=null;if(!e||"string"!=typeof e)return i;for(var o,s,a=r(e),l="function"==typeof t,c=0,u=a.length;c<u;c++)o=(n=a[c]).property,s=n.value,l?t(o,s,n):s&&(i||(i={}),i[o]=s);return i}e.exports=i,e.exports.default=i}}]);
1
+ "use strict";(self.webpackChunkdash_core_components=self.webpackChunkdash_core_components||[]).push([[641],{8866:function(e,t,n){n.r(t),n.d(t,{default:function(){return Ru}});var r=n.cw(function(e){var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),s=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!s)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,l,u,h=arguments[0],p=1,f=arguments.length,d=!1;for("boolean"==typeof h&&(d=h,h=arguments[1]||{},p=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)r=c(h,n),h!==(i=c(t,n))&&(d&&i&&(o(i)||(l=s(i)))?(l?(l=!1,u=r&&s(r)?r:[]):u=r&&o(r)?r:{},a(h,{name:n,newValue:e(d,u,i)})):void 0!==i&&a(h,{name:n,newValue:i}));return h}}),i={};n.r(i),n.d(i,{boolean:function(){return C},booleanish:function(){return N},commaOrSpaceSeparated:function(){return R},commaSeparated:function(){return O},number:function(){return D},overloadedBoolean:function(){return y},spaceSeparated:function(){return b}});var s={};n.r(s),n.d(s,{attentionMarkers:function(){return _n},contentInitial:function(){return dn},disable:function(){return kn},document:function(){return fn},flow:function(){return En},flowInitial:function(){return mn},insideSpan:function(){return An},string:function(){return Tn},text:function(){return gn}});var o=Object;o.hasOwn||(o.hasOwn=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}),"at"in Array.prototype||Object.defineProperty(Array.prototype,"at",{configurable:!0,writable:!0,value:function(e){var t=Math.trunc(e)||0;return this[t<0?this.length+t:t]}});var a=n(1609),c=n.n(a);function l(){}function u(){}function h(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,s=!1;for(;!s;){-1===r&&(r=n.length,s=!0);const e=n.slice(i,r).trim();!e&&s||t.push(e),i=r+1,r=n.indexOf(",",i)}return t}function p(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}const f=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,d=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,m={};function E(e,t){return((t||m).jsx?d:f).test(e)}const T=/[ \t\n\f\r]/g;function g(e){return""===e.replace(T,"")}class A{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function _(e,t){const n={},r={};for(const t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new A(n,r,t)}function k(e){return e.toLowerCase()}A.prototype.normal={},A.prototype.property={},A.prototype.space=void 0;class I{constructor(e,t){this.attribute=t,this.property=e}}I.prototype.attribute="",I.prototype.booleanish=!1,I.prototype.boolean=!1,I.prototype.commaOrSpaceSeparated=!1,I.prototype.commaSeparated=!1,I.prototype.defined=!1,I.prototype.mustUseProperty=!1,I.prototype.number=!1,I.prototype.overloadedBoolean=!1,I.prototype.property="",I.prototype.spaceSeparated=!1,I.prototype.space=void 0;let S=0;const C=L(),N=L(),y=L(),D=L(),b=L(),O=L(),R=L();function L(){return 2**++S}const v=Object.keys(i);class P extends I{constructor(e,t,n,r){let s=-1;if(super(e,t),x(this,"space",r),"number"==typeof n)for(;++s<v.length;){const e=v[s];x(this,v[s],(n&i[e])===i[e])}}}function x(e,t,n){n&&(e[t]=n)}function M(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const s=new P(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[k(r)]=r,n[k(s.attribute)]=r}return new A(t,n,e.space)}P.prototype.defined=!0;const w=M({properties:{ariaActiveDescendant:null,ariaAtomic:N,ariaAutoComplete:null,ariaBusy:N,ariaChecked:N,ariaColCount:D,ariaColIndex:D,ariaColSpan:D,ariaControls:b,ariaCurrent:null,ariaDescribedBy:b,ariaDetails:null,ariaDisabled:N,ariaDropEffect:b,ariaErrorMessage:null,ariaExpanded:N,ariaFlowTo:b,ariaGrabbed:N,ariaHasPopup:null,ariaHidden:N,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:b,ariaLevel:D,ariaLive:null,ariaModal:N,ariaMultiLine:N,ariaMultiSelectable:N,ariaOrientation:null,ariaOwns:b,ariaPlaceholder:null,ariaPosInSet:D,ariaPressed:N,ariaReadOnly:N,ariaRelevant:null,ariaRequired:N,ariaRoleDescription:b,ariaRowCount:D,ariaRowIndex:D,ariaRowSpan:D,ariaSelected:N,ariaSetSize:D,ariaSort:null,ariaValueMax:D,ariaValueMin:D,ariaValueNow:D,ariaValueText:null,role:null},transform(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()}});function F(e,t){return t in e?e[t]:t}function $(e,t){return F(e,t.toLowerCase())}const B=M({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:O,acceptCharset:b,accessKey:b,action:null,allow:null,allowFullScreen:C,allowPaymentRequest:C,allowUserMedia:C,alpha:C,alt:null,as:null,async:C,autoCapitalize:null,autoComplete:b,autoFocus:C,autoPlay:C,blocking:b,capture:null,charSet:null,checked:C,cite:null,className:b,closedBy:null,colorSpace:null,cols:D,colSpan:D,command:null,commandFor:null,content:null,contentEditable:N,controls:C,controlsList:b,coords:D|O,crossOrigin:null,data:null,dateTime:null,decoding:null,default:C,defer:C,dir:null,dirName:null,disabled:C,download:y,draggable:N,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:C,formTarget:null,headers:b,height:D,hidden:y,high:D,href:null,hrefLang:null,htmlFor:b,httpEquiv:b,id:null,imageSizes:null,imageSrcSet:null,inert:C,inputMode:null,integrity:null,is:null,isMap:C,itemId:null,itemProp:b,itemRef:b,itemScope:C,itemType:b,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:C,low:D,manifest:null,max:null,maxLength:D,media:null,method:null,min:null,minLength:D,multiple:C,muted:C,name:null,nonce:null,noModule:C,noValidate:C,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:C,optimum:D,pattern:null,ping:b,placeholder:null,playsInline:C,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:C,referrerPolicy:null,rel:b,required:C,reversed:C,rows:D,rowSpan:D,sandbox:b,scope:null,scoped:C,seamless:C,selected:C,shadowRootClonable:C,shadowRootCustomElementRegistry:C,shadowRootDelegatesFocus:C,shadowRootMode:null,shadowRootSerializable:C,shape:null,size:D,sizes:null,slot:null,span:D,spellCheck:N,src:null,srcDoc:null,srcLang:null,srcSet:null,start:D,step:null,style:null,tabIndex:D,target:null,title:null,translate:null,type:null,typeMustMatch:C,useMap:null,value:N,width:D,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:b,axis:null,background:null,bgColor:null,border:D,borderColor:null,bottomMargin:D,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:C,declare:C,event:null,face:null,frame:null,frameBorder:null,hSpace:D,leftMargin:D,link:null,longDesc:null,lowSrc:null,marginHeight:D,marginWidth:D,noResize:C,noHref:C,noShade:C,noWrap:C,object:null,profile:null,prompt:null,rev:null,rightMargin:D,rules:null,scheme:null,scrolling:N,standby:null,summary:null,text:null,topMargin:D,valueType:null,version:null,vAlign:null,vLink:null,vSpace:D,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:C,disablePictureInPicture:C,disableRemotePlayback:C,exportParts:O,part:b,prefix:null,property:null,results:D,security:null,unselectable:null},space:"html",transform:$}),H=M({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:R,accentHeight:D,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:D,amplitude:D,arabicForm:null,ascent:D,attributeName:null,attributeType:null,azimuth:D,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:D,by:null,calcMode:null,capHeight:D,className:b,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:D,diffuseConstant:D,direction:null,display:null,dur:null,divisor:D,dominantBaseline:null,download:C,dx:null,dy:null,edgeMode:null,editable:null,elevation:D,enableBackground:null,end:null,event:null,exponent:D,externalResourcesRequired:null,fill:null,fillOpacity:D,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:O,g2:O,glyphName:O,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:D,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:D,horizOriginX:D,horizOriginY:D,id:null,ideographic:D,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:D,k:D,k1:D,k2:D,k3:D,k4:D,kernelMatrix:R,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:D,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:D,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:D,overlineThickness:D,paintOrder:null,panose1:null,path:null,pathLength:D,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:b,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:D,pointsAtY:D,pointsAtZ:D,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:R,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:R,rev:R,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:R,requiredFeatures:R,requiredFonts:R,requiredFormats:R,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:D,specularExponent:D,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:D,strikethroughThickness:D,string:null,stroke:null,strokeDashArray:R,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:D,strokeOpacity:D,strokeWidth:null,style:null,surfaceScale:D,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:R,tabIndex:D,tableValues:null,target:null,targetX:D,targetY:D,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:R,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:D,underlineThickness:D,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:D,values:null,vAlphabetic:D,vMathematical:D,vectorEffect:null,vHanging:D,vIdeographic:D,version:null,vertAdvY:D,vertOriginX:D,vertOriginY:D,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:D,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:F}),U=M({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),G=M({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:$}),Y=M({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),z=_([w,B,U,G,Y],"html"),q=_([w,H,U,G,Y],"svg"),j=/[A-Z]/g,W=/-[a-z]/g,V=/^data[-\w.:]+$/i;function Q(e,t){const n=k(t);let r=t,i=I;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&V.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(W,X);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!W.test(e)){let n=e.replace(j,K);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=P}return new i(r,t)}function K(e){return"-"+e.toLowerCase()}function X(e){return e.charAt(1).toUpperCase()}const J={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function Z(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function ee(e){return e.join(" ").trim()}var te=/\/\*(?:[^*]|\*(?!\/))*\*\//g,ne=/\n/g,re=/^\s*/,ie=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,se=/^:\s*/,oe=/^((?:'(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"|url\((?:'(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"|[^)]*)\)|[^};])+)/,ae=/^[;\s]*/;const ce=ue("end"),le=ue("start");function ue(e){return function(t){const 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 he(e){return e&&"object"==typeof e?"position"in e||"type"in e?fe(e.position):"start"in e||"end"in e?fe(e):"line"in e||"column"in e?pe(e):"":""}function pe(e){return de(e&&e.line)+":"+de(e&&e.column)}function fe(e){return pe(e&&e.start)+"-"+pe(e&&e.end)}function de(e){return e&&"number"==typeof e?e:1}class me extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},s=!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&&(s=!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){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=o?o.line:void 0,this.name=he(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=s&&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}}Object.defineProperties(me.prototype,{file:{configurable:!0,enumerable:!0,value:"",writable:!0},name:{configurable:!0,enumerable:!0,value:"",writable:!0},reason:{configurable:!0,enumerable:!0,value:"",writable:!0},message:{configurable:!0,enumerable:!0,value:"",writable:!0},stack:{configurable:!0,enumerable:!0,value:"",writable:!0},column:{configurable:!0,enumerable:!0,writable:!0},line:{configurable:!0,enumerable:!0,writable:!0},ancestors:{configurable:!0,enumerable:!0,writable:!0},cause:{configurable:!0,enumerable:!0,writable:!0},fatal:{configurable:!0,enumerable:!0,writable:!0},place:{configurable:!0,enumerable:!0,writable:!0},ruleId:{configurable:!0,enumerable:!0,writable:!0},source:{configurable:!0,enumerable:!0,writable:!0}});const Ee={}.hasOwnProperty,Te=new Map,ge=/[A-Z]/g,Ae=/-([a-z])/g,_e=new Set(["table","tbody","thead","tfoot","tr"]),ke=new Set(["td","th"]),Ie="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Se(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let i=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(i=q,e.schema=i),e.ancestors.push(t);const s=be(e,t.tagName,!1),o=function(e,t){const n={};let r,i;for(i in t.properties)if("children"!==i&&Ee.call(t.properties,i)){const s=De(e,i,t.properties[i]);if(s){const[i,o]=s;e.tableCellAlignToStyle&&"align"===i&&"string"==typeof o&&ke.has(t.tagName)?r=o:n[i]=o}}return r&&((n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),n}(e,t);let a=ye(e,t);return _e.has(t.tagName)&&(a=a.filter(function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&g(t.value):g(t));var t})),Ce(e,o,s,t),Ne(o,a),e.ancestors.pop(),e.schema=r,e.create(t,s,o,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}Oe(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let i=r;"svg"===t.name&&"html"===r.space&&(i=q,e.schema=i),e.ancestors.push(t);const s=null===t.name?e.Fragment:be(e,t.name,!0),o=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];l(t.type);const i=t.expression;l(i.type);const s=i.properties[0];l(s.type),Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else Oe(e,t.position);else{const{name:i}=r;let s;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];l(t.type),s=e.evaluater.evaluateExpression(t.expression)}else Oe(e,t.position);else s=null===r.value||r.value;n[i]=s}return n}(e,t),a=ye(e,t);return Ce(e,o,s,t),Ne(o,a),e.ancestors.pop(),e.schema=r,e.create(t,s,o,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Oe(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return Ne(r,ye(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function Ce(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Ne(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function ye(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:Te;for(;++r<t.children.length;){const s=t.children[r];let o;if(e.passKeys){const e="element"===s.type?s.tagName:"mdxJsxFlowElement"===s.type||"mdxJsxTextElement"===s.type?s.name:void 0;if(e){const t=i.get(e)||0;o=e+"-"+t,i.set(e,t+1)}}const a=Se(e,s,o);void 0!==a&&n.push(a)}return n}function De(e,t,n){if(null==n||"number"==typeof n&&Number.isNaN(n))return;const r=Q(e.schema,t);if(Array.isArray(n)&&(n=r.commaSeparated?p(n):ee(n)),"style"===r.property){const t="object"==typeof n?"dom"===e.stylePropertyNameCase?n:function(e){const t={};let n;for(n in e)Ee.call(e,n)&&(t[Re(n)]=e[n]);return t}(n):function(e,t){const n={};try{!function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(e){var t=e.match(ne);t&&(n+=t.length);var i=e.lastIndexOf("\n");r=~i?e.length-i:r+e.length}function s(){var e={line:n,column:r};return function(t){return t.position=new o(e),l(),t}}function o(e){this.start=e,this.end={line:n,column:r},this.source=t.source}function a(i){var s=new Error(t.source+":"+n+":"+r+": "+i);if(s.reason=i,s.filename=t.source,s.line=n,s.column=r,s.source=e,!t.silent)throw s}function c(t){var n=t.exec(e);if(n){var r=n[0];return i(r),e=e.slice(r.length),n}}function l(){c(re)}function u(e){for(var t;t=h();)e.push(t);return e}function h(){var t=s();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 a("End of comment missing");var o=e.slice(2,n-2);return r+=2,i(o),e=e.slice(n),r+=2,t({type:"comment",comment:o})}}function p(){var e=s(),t=c(ie);if(t){if(h(),!c(se))return a("property missing ':'");var n=c(oe),r=e({type:"declaration",property:t[0].replace(te,"").trim(),value:n?n[0].replace(te,"").trim():""});return c(ae),r}}return o.prototype.content=e,l(),function(){var e,t=[];for(u(t);e=p();)t.push(e),u(t);return t}()}(e),i="function"==typeof t;r.forEach(e=>{if("declaration"===e.type){var r=e.property,s=e.value;i?t(r,s,e):s&&((n=null!=n?n:{})[r]=s)}})}(t,function(t,r){if(t&&r){let i=t;"--"!==i.slice(0,2)&&(i=i.toLowerCase(),"dom"===e.stylePropertyNameCase&&("-ms-"===i.slice(0,4)&&(i=i.slice(1)),i=i.replace(Ae,ve))),n[i]=r}})}catch(t){if(e.ignoreInvalidStyle)return{};const n=t,r=new me("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Ie+"#cannot-parse-style-attribute",r}return n}(e,String(n));return["style",t]}return["react"===e.elementAttributeNameCase&&r.space?J[r.property]||r.property:r.attribute,n]}function be(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,i=-1;for(;++i<e.length;){const t=E(e[i])?{type:"Identifier",name:e[i]}:{type:"Literal",value:e[i]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(i&&"Literal"===t.type),optional:!1}:t}r=n}else r=E(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return Ee.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);Oe(e)}function Oe(e,t){const n=new me("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=Ie+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Re(e){if("--"===e.slice(0,2))return e;let t=e.replace(ge,Le);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function Le(e){return"-"+e.toLowerCase()}function ve(e,t){return t.toUpperCase()}const Pe={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var xe=n(9969);const Me={};function we(e,t){const n=t||Me;return Fe(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function Fe(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){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 $e(e.children,t,n)}return Array.isArray(e)?$e(e,t,n):""}function $e(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Fe(e[i],t,n);return r.join("")}function Be(e,t,n,r){const i=e.length;let s,o=0;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);o<r.length;)s=r.slice(o,o+1e4),s.unshift(t,0),e.splice(...s),o+=1e4,t+=1e4}function He(e,t){return e.length>0?(Be(e,e.length,0,t),e):t}class Ue{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new 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){const n=null==t?Number.POSITIVE_INFINITY: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){const r=t||0;this.setCursor(Math.trunc(e));const i=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&Ge(this.left,n),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),Ge(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Ge(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){const t=this.left.splice(e,Number.POSITIVE_INFINITY);Ge(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);Ge(this.left,t.reverse())}}}function Ge(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 Ye(e){const t={};let n,r,i,s,o,a,c,l=-1;const u=new Ue(e);for(;++l<u.length;){for(;l in t;)l=t[l];if(n=u.get(l),l&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(l-1)[1].type&&(a=n[1]._tokenizer.events,i=0,i<a.length&&"lineEndingBlank"===a[i][1].type&&(i+=2),i<a.length&&"content"===a[i][1].type))for(;++i<a.length&&"content"!==a[i][1].type;)"chunkText"===a[i][1].type&&(a[i][1]._isInFirstContentOfListItem=!0,i++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,ze(u,l)),l=t[l],c=!0);else if(n[1]._container){for(i=l,r=void 0;i--;)if(s=u.get(i),"lineEnding"===s[1].type||"lineEndingBlank"===s[1].type)"enter"===s[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),s[1].type="lineEnding",r=i);else if("linePrefix"!==s[1].type&&"listItemIndent"!==s[1].type)break;r&&(n[1].end={...u.get(r)[1].start},o=u.slice(r,l),o.unshift(n),u.splice(r,l-r+1,o))}}return Be(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!c}function ze(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const s=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const a=o.events,c=[],l={};let u,h,p=-1,f=n,d=0,m=0;const E=[m];for(;f;){for(;e.get(++i)[1]!==f;);s.push(i),f._tokenizer||(u=r.sliceStream(f),f.next||u.push(null),h&&o.defineSkip(f.start),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),h=f,f=f.next}for(f=n;++p<a.length;)"exit"===a[p][0]&&"enter"===a[p-1][0]&&a[p][1].type===a[p-1][1].type&&a[p][1].start.line!==a[p][1].end.line&&(m=p+1,E.push(m),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(o.events=[],f?(f._tokenizer=void 0,f.previous=void 0):E.pop(),p=E.length;p--;){const t=a.slice(E[p],E[p+1]),n=s.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),p=-1;++p<c.length;)l[d+c[p][0]]=d+c[p][1],d+=c[p][1]-c[p][0]-1;return l}const qe={}.hasOwnProperty;function je(e){const t={};let n=-1;for(;++n<e.length;)We(t,e[n]);return t}function We(e,t){let n;for(n in t){const r=(qe.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let s;if(i)for(s in i){qe.call(r,s)||(r[s]=[]);const e=i[s];Ve(r[s],Array.isArray(e)?e:e?[e]:[])}}}function Ve(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Be(e,0,0,r)}const Qe=at(/[A-Za-z]/),Ke=at(/[\dA-Za-z]/),Xe=at(/[#-'*+\--9=?A-Z^-~]/);function Je(e){return null!==e&&(e<32||127===e)}const Ze=at(/\d/),et=at(/[\dA-Fa-f]/),tt=at(/[!-/:-@[-`{-~]/);function nt(e){return null!==e&&e<-2}function rt(e){return null!==e&&(e<0||32===e)}function it(e){return-2===e||-1===e||32===e}const st=at(/\p{P}|\p{S}/u),ot=at(/\s/);function at(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function ct(e,t,n,r){const i=r?r-1:1/0;let s=0;return function(r){return it(r)?(e.enter(n),o(r)):t(r)};function o(r){return it(r)&&s++<i?(e.consume(r),o):(e.exit(n),t(r))}}function lt(e,t,n,r,i,s){let o=0;return function(t){return s>0&&it(t)?(e.enter(r),a(t)):c(t)};function a(t){return it(t)&&o<s?(e.consume(t),o++,a):(e.exit(r),c(t))}function c(e){return o>=i?t(e):n(e)}}const ut={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,function(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ct(e,t,"linePrefix");e.consume(n)},function(t){return e.enter("paragraph"),r(t)});let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,i(t)}function i(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):nt(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),i)}}};class ht{constructor(){this.index=new Map,this.map=[]}add(e,t,n){pt(this,e,t,n,!1)}addBefore(e,t,n){pt(this,e,t,n,!0)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length;const 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(const t of r)e.push(t);r=n.pop()}this.map.length=0,this.index.clear()}}function pt(e,t,n,r,i){if(0===n&&0===r.length)return;const s=e.index.get(t);if(s)return s[1]+=n,void(i?(r.push(...s[2]),s[2]=r):s[2].push(...r));const o=[t,n,r];e.map.push(o),e.index.set(t,o)}const ft={tokenize:function(e){const t=this,n=[];let r,i,s,o=0;return a;function a(r){if(o<n.length){const i=n[o];return t.containerState=i[1],e.attempt(i[0].continuation,c,l)(r)}return l(r)}function c(e){if(o++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&g();const n=t.events.length;let i,s=n;for(;s--;)if("exit"===t.events[s][0]&&"chunkFlow"===t.events[s][1].type){i=t.events[s][1].end;break}T(o);let a=n;for(;a<t.events.length;)t.events[a][1].end={...i},a++;const c=new ht;return c.add(s+1,0,t.events.slice(n)),c.add(n,a-n,[]),c.consume(t.events),l(e)}return a(e)}function l(i){if(o===n.length){if(!r)return p(i);if(r.currentConstruct&&r.currentConstruct.concrete)return d(i);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(dt,u,h)(i)}function u(e){return r&&g(),T(o),p(e)}function h(e){return t.parser.lazy[t.now().line]=o!==n.length,s=t.now().offset,d(e)}function p(n){return t.containerState={},e.attempt(dt,f,d)(n)}function f(e){return o++,n.push([t.currentConstruct,t.containerState]),p(e)}function d(n){return null===n?(r&&g(),T(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:i}),m(n))}function m(n){return null===n?(E(e.exit("chunkFlow"),!0),T(0),void e.consume(n)):nt(n)?(e.consume(n),E(e.exit("chunkFlow")),o=0,t.interrupt=void 0,a):(e.consume(n),m)}function E(e,n){const a=t.sliceStream(e);if(n&&a.push(null),e.previous=i,i&&(i.next=e),i=e,r.defineSkip(e.start),r.write(a),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<s&&(!r.events[e][1].end||r.events[e][1].end.offset>s))return;const n=t.events.length;let i,a,c=n;for(;c--;)if("exit"===t.events[c][0]&&"chunkFlow"===t.events[c][1].type){if(i){a=t.events[c][1].end;break}i=!0}for(T(o),e=n;e<t.events.length;)t.events[e][1].end={...a},e++;const l=new ht;l.add(c+1,0,t.events.slice(n)),l.add(n,e-n,[]),l.consume(t.events)}}function T(r){let i=n.length;for(;i-- >r;){const r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function g(){r.write([null]),i=void 0,r=void 0,t.containerState._closeFlow=void 0}}},dt={tokenize:function(e,t,n){return ct(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},mt={partial:!0,tokenize:function(e,t,n){return function(t){return it(t)?ct(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||nt(e)?t(e):n(e)}}},Et={resolve:function(e){return Ye(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):nt(t)?e.check(Tt,s,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function s(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},Tt={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ct(e,i,"linePrefix")};function i(i){if(null===i||nt(i))return n(i);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&"linePrefix"===s[1].type&&s[2].sliceSerialize(s[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},gt={tokenize:function(e){const t=this,n=e.attempt(mt,function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)},e.attempt(this.parser.constructs.flowInitial,r,ct(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Et,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},At={resolveAll:St()},_t=It("string"),kt=It("text");function It(e){return{resolveAll:St("text"===e?Ct:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],i=t.attempt(r,s,o);return s;function s(e){return c(e)?i(e):o(e)}function o(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return c(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function c(e){if(null===e)return!0;const t=r[e];let i=-1;if(t)for(;++i<t.length;){const e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function St(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 Ct(e,t){const n=new ht;let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){const i=e[r-1][1],s=t.sliceStream(i);let o,a=s.length,c=-1,l=0;for(;a--;){const e=s[a];if("string"==typeof e){for(c=e.length;32===e.charCodeAt(c-1);)l++,c--;if(c)break;c=-1}else if(-2===e)o=!0,l++;else if(-1!==e){a++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(l=0),l){const s={type:r===e.length||o||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?c:i.start._bufferIndex+c,_index:i.start._index+a,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...s.start},i.start.offset===i.end.offset?Object.assign(i,s):n.add(r,0,[["enter",s,t],["exit",s,t]])}r++}return n.consume(e),e}const Nt={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,s(e)}(t)};function s(s){return s===r?(e.enter("thematicBreakSequence"),o(s)):i>=3&&(null===s||nt(s))?(e.exit("thematicBreak"),t(s)):n(s)}function o(t){return t===r?(e.consume(t),i++,o):(e.exit("thematicBreakSequence"),it(t)?ct(e,s,"whitespace")(t):s(t))}}},yt={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(mt,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ct(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!it(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(bt,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,ct(e,e.attempt(yt,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){const r=this,i=r.events[r.events.length-1];let s=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(t){const i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:Ze(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(Nt,n,c)(t):c(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return Ze(t)&&++o<10?(e.consume(t),a):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),c(t)):n(t)}function c(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(mt,r.interrupt?n:l,e.attempt(Dt,h,u))}function l(e){return r.containerState.initialBlankLine=!0,s++,h(e)}function u(t){return it(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),h):n(t)}function h(n){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},Dt={partial:!0,tokenize:function(e,t,n){const r=this;return ct(e,function(e){const i=r.events[r.events.length-1];return!it(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},bt={partial:!0,tokenize:function(e,t,n){const r=this;return ct(e,function(e){const 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)}},Ot={continuation:{tokenize:function(e,t,n){const r=this;return function(t){return it(t)?ct(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(Ot,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const 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 it(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function Rt(e,t,n,r,i,s,o,a,c){const l=c||Number.POSITIVE_INFINITY;let u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(s),e.consume(t),e.exit(s),h):null===t||32===t||41===t||Je(t)?n(t):(e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),d(t))};function h(n){return 62===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(a),h(t)):null===t||60===t||nt(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function d(i){return u||null!==i&&41!==i&&!rt(i)?u<l&&40===i?(e.consume(i),u++,d):41===i?(e.consume(i),u--,d):null===i||32===i||40===i||Je(i)?n(i):(e.consume(i),92===i?m:d):(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),t(i))}function m(t){return 40===t||41===t||92===t?(e.consume(t),d):d(t)}}function Lt(e,t,n,r,i,s){const o=this;let a,c=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(s),l};function l(h){return c>999||null===h||91===h||93===h&&!a||94===h&&!c&&"_hiddenFootnoteSupport"in o.parser.constructs?n(h):93===h?(e.exit(s),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):nt(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),u(h))}function u(t){return null===t||91===t||93===t||nt(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),a||(a=!it(t)),92===t?h:u)}function h(t){return 91===t||92===t||93===t?(e.consume(t),c++,u):u(t)}}function vt(e,t,n,r,i,s){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,a):n(t)};function a(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(s),c(n))}function c(t){return t===o?(e.exit(s),a(o)):null===t?n(t):nt(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ct(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(t))}function l(t){return t===o||null===t||nt(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?u:l)}function u(t){return t===o||92===t?(e.consume(t),l):l(t)}}function Pt(e,t){let n;return function r(i){return nt(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):it(i)?ct(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function xt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Mt={name:"definition",tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("definition"),function(t){return Lt.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function s(t){return i=xt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return rt(t)?Pt(e,a)(t):a(t)}function a(t){return Rt(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function c(t){return e.attempt(wt,l,l)(t)}function l(t){return it(t)?ct(e,u,"whitespace")(t):u(t)}function u(s){return null===s||nt(s)?(e.exit("definition"),r.parser.defined.push(i),t(s)):n(s)}}},wt={partial:!0,tokenize:function(e,t,n){return function(t){return rt(t)?Pt(e,r)(t):n(t)};function r(t){return vt(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return it(t)?ct(e,s,"whitespace")(t):s(t)}function s(e){return null===e||nt(e)?t(e):n(e)}}},Ft={name:"codeIndented",tokenize:function(e,t,n){return function(t){return e.enter("codeIndented"),lt(e,r,n,"linePrefix",4,4)(t)};function r(t){return null===t?s(t):nt(t)?e.attempt($t,r,s)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||nt(t)?(e.exit("codeFlowValue"),r(t)):(e.consume(t),i)}function s(n){return e.exit("codeIndented"),t(n)}}},$t={partial:!0,tokenize:function(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):nt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):lt(e,t,s,"linePrefix",4,4)(o)}function s(e){return nt(e)?i(e):n(e)}}},Bt={name:"headingAtx",resolve:function(e,t){let n=e.length-2,r=3;if("whitespace"===e[r][1].type&&(r+=2),n-2>r&&"whitespace"===e[n][1].type&&(n-=2),"atxHeadingSequence"===e[n][1].type&&(r===n-1||n-4>r&&"whitespace"===e[n-2][1].type)&&(n-=r+1===n?2:4),n>r){const i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"};Be(e,r,n-r+1,[["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t]])}return e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),i(t)}(t)};function i(t){return 35===t&&r++<6?(e.consume(t),i):null===t||rt(t)?(e.exit("atxHeadingSequence"),s(t)):n(t)}function s(n){return 35===n?(e.enter("atxHeadingSequence"),o(n)):null===n||nt(n)?(e.exit("atxHeading"),t(n)):it(n)?ct(e,s,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function o(t){return 35===t?(e.consume(t),o):(e.exit("atxHeadingSequence"),s(t))}function a(t){return null===t||35===t||rt(t)?(e.exit("atxHeadingText"),s(t)):(e.consume(t),a)}}},Ht={name:"setextUnderline",resolveTo:function(e,t){const n=new ht;let r,i,s,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){r=o;break}"paragraph"===e[o][1].type&&(i=o)}else"content"===e[o][1].type&&n.add(o,1,[]),s||"definition"!==e[o][1].type||(s=o);const a={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",s?(n.add(i,0,[["enter",a,t]]),n.add(s+1,0,[["exit",e[r][1],t]]),e[r][1].end={...e[s][1].end}):e[r][1]=a,n.add(e.length,0,[["exit",a,t]]),n.consume(e),e},tokenize:function(e,t,n){const r=this;let i;return function(t){let o,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){o="paragraph"===r.events[a][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!o?n(t):(e.enter("setextHeadingLine"),i=t,function(t){return e.enter("setextHeadingLineSequence"),s(t)}(t))};function s(t){return t===i?(e.consume(t),s):(e.exit("setextHeadingLineSequence"),it(t)?ct(e,o,"lineSuffix")(t):o(t))}function o(r){return null===r||nt(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},Ut=["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"],Gt=["pre","script","style","textarea"],Yt={partial:!0,tokenize:function(e,t,n){const 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)}}},zt={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){const r=this;let i,s,o,a,c;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),l}(t)};function l(a){return 33===a?(e.consume(a),u):47===a?(e.consume(a),s=!0,f):63===a?(e.consume(a),i=3,r.interrupt?t:x):Qe(a)?(e.consume(a),o=String.fromCharCode(a),d):n(a)}function u(s){return 45===s?(e.consume(s),i=2,h):91===s?(e.consume(s),i=5,a=0,p):Qe(s)?(e.consume(s),i=4,r.interrupt?t:x):n(s)}function h(i){return 45===i?(e.consume(i),r.interrupt?t:x):n(i)}function p(i){return i==="CDATA[".charCodeAt(a++)?(e.consume(i),6===a?r.interrupt?t:y:p):n(i)}function f(t){return Qe(t)?(e.consume(t),o=String.fromCharCode(t),d):n(t)}function d(a){if(null===a||47===a||62===a||rt(a)){const c=47===a,l=o.toLowerCase();return c||s||!Gt.includes(l)?Ut.includes(o.toLowerCase())?(i=6,c?(e.consume(a),m):r.interrupt?t(a):y(a)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):s?E(a):T(a)):(i=1,r.interrupt?t(a):y(a))}return 45===a||Ke(a)?(e.consume(a),o+=String.fromCharCode(a),d):n(a)}function m(i){return 62===i?(e.consume(i),r.interrupt?t:y):n(i)}function E(t){return it(t)?(e.consume(t),E):C(t)}function T(t){return 47===t?(e.consume(t),C):58===t||95===t||Qe(t)?(e.consume(t),g):it(t)?(e.consume(t),T):C(t)}function g(t){return 45===t||46===t||58===t||95===t||Ke(t)?(e.consume(t),g):A(t)}function A(t){return 61===t?(e.consume(t),_):it(t)?(e.consume(t),A):T(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),c=t,k):it(t)?(e.consume(t),_):I(t)}function k(t){return t===c?(e.consume(t),c=null,S):null===t||nt(t)?n(t):(e.consume(t),k)}function I(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||rt(t)?A(t):(e.consume(t),I)}function S(e){return 47===e||62===e||it(e)?T(e):n(e)}function C(t){return 62===t?(e.consume(t),N):n(t)}function N(t){return null===t||nt(t)?y(t):it(t)?(e.consume(t),N):n(t)}function y(t){return 45===t&&2===i?(e.consume(t),R):60===t&&1===i?(e.consume(t),L):62===t&&4===i?(e.consume(t),M):63===t&&3===i?(e.consume(t),x):93===t&&5===i?(e.consume(t),P):!nt(t)||6!==i&&7!==i?null===t||nt(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),y):(e.exit("htmlFlowData"),e.check(qt,w,D)(t))}function D(t){return e.check(Yt,b,w)(t)}function b(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),O}function O(t){return null===t||nt(t)?D(t):(e.enter("htmlFlowData"),y(t))}function R(t){return 45===t?(e.consume(t),x):y(t)}function L(t){return 47===t?(e.consume(t),o="",v):y(t)}function v(t){if(62===t){const n=o.toLowerCase();return Gt.includes(n)?(e.consume(t),M):y(t)}return Qe(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),v):y(t)}function P(t){return 93===t?(e.consume(t),x):y(t)}function x(t){return 62===t?(e.consume(t),M):45===t&&2===i?(e.consume(t),x):y(t)}function M(t){return null===t||nt(t)?(e.exit("htmlFlowData"),w(t)):(e.consume(t),M)}function w(n){return e.exit("htmlFlow"),t(n)}}},qt={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(mt,t,n)}}},jt={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,i={partial:!0,tokenize:function(e,t,n){let i=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),it(t)?ct(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===s?(e.enter("codeFencedFenceSequence"),l(t)):n(t)}function l(t){return t===s?(i++,e.consume(t),l):i>=a?(e.exit("codeFencedFenceSequence"),it(t)?ct(e,u,"whitespace")(t):u(t)):n(t)}function u(r){return null===r||nt(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let s,o=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return o=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(t)}(t)};function c(t){return t===s?(a++,e.consume(t),c):a<3?n(t):(e.exit("codeFencedFenceSequence"),it(t)?ct(e,l,"whitespace")(t):l(t))}function l(n){return null===n||nt(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Yt,f,g)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||nt(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(t)):it(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ct(e,h,"whitespace")(t)):96===t&&t===s?n(t):(e.consume(t),u)}function h(t){return null===t||nt(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||nt(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(t)):96===t&&t===s?n(t):(e.consume(t),p)}function f(t){return e.attempt(i,g,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return o>0&&it(t)?ct(e,E,"linePrefix",o+1)(t):E(t)}function E(t){return null===t||nt(t)?e.check(Yt,f,g)(t):(e.enter("codeFlowValue"),T(t))}function T(t){return null===t||nt(t)?(e.exit("codeFlowValue"),E(t)):(e.consume(t),T)}function g(n){return e.exit("codeFenced"),t(n)}}},Wt=document.createElement("i");function Vt(e){const t="&"+e+";";Wt.innerHTML=t;const n=Wt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}const Qt={name:"characterReference",tokenize:function(e,t,n){const r=this;let i,s,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,s=Ke,l(t))}function c(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,s=et,l):(e.enter("characterReferenceValue"),i=7,s=Ze,l(t))}function l(a){if(59===a&&o){const i=e.exit("characterReferenceValue");return s!==Ke||Vt(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return s(a)&&o++<i?(e.consume(a),l):n(a)}}},Kt={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 tt(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},Xt={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ct(e,t,"linePrefix")}}};function Jt(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const s=e[i].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}const Zt={name:"labelEnd",resolveAll:function(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){const e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&Be(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,s=e.length,o=0;for(;s--;){const t=e[s][1];if(n){if("link"===t.type||"labelLink"===t.type&&t._inactive)break;"enter"===e[s][0]&&"labelLink"===t.type&&(t._inactive=!0)}else if(r){if("enter"===e[s][0]&&("labelImage"===t.type||"labelLink"===t.type)&&!t._balanced&&(n=s,"labelLink"!==t.type)){o=2;break}}else"labelEnd"===t.type&&(r=s)}const a={type:"labelLink"===e[n][1].type?"link":"image",start:{...e[n][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[n][1].start},end:{...e[r][1].end}},l={type:"labelText",start:{...e[n+o+2][1].end},end:{...e[r-2][1].start}};return i=[["enter",a,t],["enter",c,t]],i=He(i,e.slice(n+1,n+o+3)),i=He(i,[["enter",l,t]]),i=He(i,Jt(t.parser.constructs.insideSpan.null,e.slice(n+o+4,r-3),t)),i=He(i,[["exit",l,t],e[r-2],e[r-1],["exit",c,t]]),i=He(i,e.slice(r+1)),i=He(i,[["exit",a,t]]),Be(e,n,e.length,i),e},tokenize:function(e,t,n){const r=this,i=r._labelStarts;let s,o;if(i){for(;i.length>0&&i[i.length-1]._balanced;)i.pop();s=i[i.length-1]}return function(t){return s?s._inactive?u(t):(o=r.parser.defined.includes(xt(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(t){return 40===t?e.attempt(en,l,o?l:u)(t):91===t?e.attempt(tn,l,o?c:u)(t):o?l(t):u(t)}function c(t){return e.attempt(nn,l,u)(t)}function l(e){return i.pop(),t(e)}function u(e){return s._balanced=!0,n(e)}}},en={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 rt(t)?Pt(e,i)(t):i(t)}function i(t){return 41===t?l(t):Rt(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function s(t){return rt(t)?Pt(e,a)(t):l(t)}function o(e){return n(e)}function a(t){return 34===t||39===t||40===t?vt(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function c(t){return rt(t)?Pt(e,l)(t):l(t)}function l(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},tn={tokenize:function(e,t,n){const r=this;return function(t){return Lt.call(r,e,i,s,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(xt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function s(e){return n(e)}}},nn={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)}}},rn={name:"labelStartImage",resolveAll:Zt.resolveAll,tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),s};function s(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),i=e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):(r._labelStarts=r._labelStarts||[],r._labelStarts.push(i),t(e))}}};function sn(e){return null===e||rt(e)||ot(e)?1:st(e)?2:void 0}const on={name:"attention",resolveAll:function(e,t){let n,r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._close){let i=r;for(;i--;)if("exit"===e[i][0]&&"attentionSequence"===e[i][1].type&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[i][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;const s=e[i][1].end.offset-e[i][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1,o={...e[i][1].end},a={...e[r][1].start};an(o,-s),an(a,s);const c={type:s>1?"strongSequence":"emphasisSequence",start:o,end:{...e[i][1].end}},l={type:s>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:a},u={type:s>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[r][1].start}},h={type:s>1?"strong":"emphasis",start:{...c.start},end:{...l.end}};e[i][1].end={...c.start},e[r][1].start={...l.end},n=[],e[i][1].end.offset-e[i][1].start.offset&&(n=He(n,[["enter",e[i][1],t],["exit",e[i][1],t]])),n=He(n,[["enter",h,t],["enter",c,t],["exit",c,t],["enter",u,t]]),n=He(n,Jt(t.parser.constructs.insideSpan.null,e.slice(i+1,r),t)),n=He(n,[["exit",u,t],["enter",l,t],["exit",l,t],["exit",h,t]]);let p=0;e[r][1].end.offset-e[r][1].start.offset&&(p=2,n=He(n,[["enter",e[r][1],t],["exit",e[r][1],t]])),Be(e,i-1,r-i+3,n),r=i+n.length-p-2;break}}for(r=-1;++r<e.length;)"attentionSequence"===e[r][1].type&&(e[r][1].type="data");return e},tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=sn(r);let s;return function(t){return s=t,e.enter("attentionSequence"),o(t)};function o(a){if(a===s)return e.consume(a),o;const c=e.exit("attentionSequence"),l=sn(a),u=!l||2===l&&i||n.includes(a)&&42!==a&&95!==a,h=!i||2===i&&l||n.includes(r)&&42!==r&&95!==r;return c._open=Boolean(42===s?u:u&&(i||!h)),c._close=Boolean(42===s?h:h&&(l||!u)),t(a)}}};function an(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const cn={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 Qe(t)?(e.consume(t),s):64===t?n(t):c(t)}function s(e){return 43===e||45===e||46===e||Ke(e)?(r=1,o(e)):c(e)}function o(t){return 58===t?(e.consume(t),r=0,a):(43===t||45===t||46===t||Ke(t))&&r++<32?(e.consume(t),o):(r=0,c(t))}function a(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||Je(r)?n(r):(e.consume(r),a)}function c(t){return 64===t?(e.consume(t),l):Xe(t)?(e.consume(t),c):n(t)}function l(e){return Ke(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,l):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):h(n)}function h(t){if((45===t||Ke(t))&&r++<63){const n=45===t?h:u;return e.consume(t),n}return n(t)}}},ln={name:"htmlText",tokenize:function(e,t,n){const r=this;let i,s,o;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),_):63===t?(e.consume(t),g):Qe(t)?(e.consume(t),S):n(t)}function c(t){return 45===t?(e.consume(t),l):91===t?(e.consume(t),s=0,f):Qe(t)?(e.consume(t),T):n(t)}function l(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),h):nt(t)?(o=u,v(t)):(e.consume(t),u)}function h(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?L(e):45===e?h(e):u(e)}function f(t){return t==="CDATA[".charCodeAt(s++)?(e.consume(t),6===s?d:f):n(t)}function d(t){return null===t?n(t):93===t?(e.consume(t),m):nt(t)?(o=d,v(t)):(e.consume(t),d)}function m(t){return 93===t?(e.consume(t),E):d(t)}function E(t){return 62===t?L(t):93===t?(e.consume(t),E):d(t)}function T(t){return null===t||62===t?L(t):nt(t)?(o=T,v(t)):(e.consume(t),T)}function g(t){return null===t?n(t):63===t?(e.consume(t),A):nt(t)?(o=g,v(t)):(e.consume(t),g)}function A(e){return 62===e?L(e):g(e)}function _(t){return Qe(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||Ke(t)?(e.consume(t),k):I(t)}function I(t){return nt(t)?(o=I,v(t)):it(t)?(e.consume(t),I):L(t)}function S(t){return 45===t||Ke(t)?(e.consume(t),S):47===t||62===t||rt(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),L):58===t||95===t||Qe(t)?(e.consume(t),N):nt(t)?(o=C,v(t)):it(t)?(e.consume(t),C):L(t)}function N(t){return 45===t||46===t||58===t||95===t||Ke(t)?(e.consume(t),N):y(t)}function y(t){return 61===t?(e.consume(t),D):nt(t)?(o=y,v(t)):it(t)?(e.consume(t),y):C(t)}function D(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),i=t,b):nt(t)?(o=D,v(t)):it(t)?(e.consume(t),D):(e.consume(t),O)}function b(t){return t===i?(e.consume(t),i=void 0,R):null===t?n(t):nt(t)?(o=b,v(t)):(e.consume(t),b)}function O(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||rt(t)?C(t):(e.consume(t),O)}function R(e){return 47===e||62===e||rt(e)?C(e):n(e)}function L(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function v(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return it(t)?ct(e,x,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):x(t)}function x(t){return e.enter("htmlTextData"),o(t)}}},un={name:"labelStartLink",resolveAll:Zt.resolveAll,tokenize:function(e,t,n){const r=this;let i;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),i=e.exit("labelLink"),s};function s(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):(r._labelStarts=r._labelStarts||[],r._labelStarts.push(i),t(e))}}},hn={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return nt(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},pn={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[i][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,s=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),o(t)};function o(t){return 96===t?(e.consume(t),s++,o):(e.exit("codeTextSequence"),a(t))}function a(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),a):96===t?(i=e.enter("codeTextSequence"),r=0,l(t)):nt(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||nt(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),c)}function l(n){return 96===n?(e.consume(n),r++,l):r===s?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(i.type="codeTextData",c(n))}}},fn={42:yt,43:yt,45:yt,48:yt,49:yt,50:yt,51:yt,52:yt,53:yt,54:yt,55:yt,56:yt,57:yt,62:Ot},dn={91:Mt},mn={[-2]:Ft,[-1]:Ft,32:Ft},En={35:Bt,42:Nt,45:[Ht,Nt],60:zt,61:Ht,95:Nt,96:jt,126:jt},Tn={38:Qt,92:Kt},gn={[-5]:Xt,[-4]:Xt,[-3]:Xt,33:rn,38:Qt,42:on,60:[cn,ln],91:un,92:[hn,Kt],93:Zt,95:on,96:pn},An={null:[on,At]},_n={null:[42,95]},kn={null:[]};function In(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},s=[];let o=[],a=[],c=!0;const l={attempt:T(function(e,t){g(e,t.from)}),check:T(E),consume:function(e){nt(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,A()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e,c=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=d(),u.events.push(["enter",n,u]),a.push(n),n},exit:function(e){const t=a.pop();return t.end=d(),u.events.push(["exit",t,u]),t},interrupt:T(E,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,A()},events:[],now:d,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const s=e[n];let o;if("string"==typeof s)o=s;else switch(s){case-5:o="\r";break;case-4:o="\n";break;case-3:o="\r\n";break;case-2:o=t?" ":"\t";break;case-1:if(!t&&i)continue;o=" ";break;default:o=String.fromCharCode(s)}i=-2===s,r.push(o)}return r.join("")}(f(e),t)},sliceStream:f,write:function(e){return o=He(o,e),function(){for(;r._index<o.length;){const e=o[r._index];if("string"==typeof e){const t=r._index;for(r._bufferIndex<0&&(r._bufferIndex=0);r._index===t&&r._bufferIndex<e.length;)m(e.charCodeAt(r._bufferIndex))}else m(e)}}(),null!==o[o.length-1]?[]:(g(t,0),u.events=Jt(s,u.events,u),u.events)}};let h,p=t.tokenize.call(u,l);return t.resolveAll&&s.push(t),u;function f(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,s=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,s)];else{if(o=e.slice(n,i),r>-1){const e=o[0];"string"==typeof e?o[0]=e.slice(r):o.shift()}s>0&&o.push(e[i].slice(0,s))}return o}(o,e)}function d(){const{_bufferIndex:e,_index:t,line:n,column:i,offset:s}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:s}}function m(e){c=void 0,h=e,p=p(e)}function E(e,t){t.restore()}function T(e,t){return function(n,i,s){let o,h,p,f;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return function(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return o=e,h=0,0===e.length?s:E(e[h])}function E(e){return function(n){return f=function(){const e=d(),t=u.previous,n=u.currentConstruct,i=u.events.length,s=Array.from(a);return{from:i,restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,a=s,A()}}}(),p=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name)?g():e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,T,g)(n)}}function T(t){return c=!0,e(p,f),i}function g(e){return c=!0,f.restore(),++h<o.length?E(o[h]):s}}}function g(e,t){e.resolveAll&&!s.includes(e)&&s.push(e),e.resolve&&Be(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function A(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}const Sn=/[\0\t\n\r]/g;function Cn(e,t){const 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)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}const Nn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function yn(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return Cn(n.slice(t?2:1),t?16:10)}return Vt(n)||e}const Dn={}.hasOwnProperty;function bn(e,t,n){return t&&"object"==typeof t&&(n=t,t=void 0),function(e){const t={afterExit:[],beforeEnter:[],transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(A),autolinkProtocol:h,autolinkEmail:h,atxHeading:s(E),blockQuote:s(function(){return{type:"blockquote",children:[],position:void 0}}),characterEscape:h,characterReference:h,codeFenced:s(m),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(m,o),codeText:s(function(){return{type:"inlineCode",value:"",position:void 0}},o),codeTextData:h,data:h,codeFlowValue:h,definition:s(function(){return{type:"definition",identifier:"",label:null,title:null,url:"",position:void 0}}),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(function(){return{type:"emphasis",children:[],position:void 0}}),hardBreakEscape:s(T),hardBreakTrailing:s(T),htmlFlow:s(g,o),htmlFlowData:h,htmlText:s(g,o),htmlTextData:h,image:s(function(){return{type:"image",title:null,url:"",alt:null,position:void 0}}),label:o,link:s(A),listItem:s(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[],position:void 0}}),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:s(_,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:s(_),paragraph:s(function(){return{type:"paragraph",children:[],position:void 0}}),reference:function(){this.data.referenceType="collapsed"},referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s(E),strong:s(function(){return{type:"strong",children:[],position:void 0}}),thematicBreak:s(function(){return{type:"thematicBreak",position:void 0}})},exit:{atxHeading:c(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:c(),autolinkEmail:function(e){p.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){p.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:c(),characterEscapeValue:p,characterReferenceMarkerHexadecimal:d,characterReferenceMarkerNumeric:d,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;n?(r=Cn(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):r=Vt(t);this.stack[this.stack.length-1].value+=r},characterReference:function(e){this.stack.pop().position.end=On(e.end)},codeFenced:c(function(){const 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(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:p,codeIndented:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:p,data:p,definition:c(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=xt(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:c(),hardBreakEscape:c(f),hardBreakTrailing:c(f),htmlFlow:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:p,htmlText:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:p,image:c(function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const 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(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(Nn,yn)}(t),n.identifier=xt(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak)return n.children[n.children.length-1].position.end=On(e.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(h.call(this,e),p.call(this,e))},link:c(function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const 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:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=xt(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:c(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:c(),thematicBreak:c()}};Rn(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let s={type:"root",children:[],position:void 0};const c={stack:[s],tokenStack:[],config:t,enter:a,exit:l,buffer:o,resume:u,data:n},h=[],p=[];let f=-1;for(;++f<e.length;)p.push(e[f]),("listOrdered"===e[f][1].type||"listUnordered"===e[f][1].type)&&("enter"===e[f][0]?h.push(p.length-1):i(p,h.pop()));for(e=p,f=-1;++f<e.length;){const n=t[e[f][0]];"enter"===e[f][0]&&t.beforeEnter.length>0&&r(t.beforeEnter,{...c,sliceSerialize:e[f][2].sliceSerialize},e[f][1]),Dn.call(n,e[f][1].type)&&n[e[f][1].type].call({...c,sliceSerialize:e[f][2].sliceSerialize},e[f][1]),"exit"===e[f][0]&&t.afterExit.length>0&&r(t.afterExit,{...c,sliceSerialize:e[f][2].sliceSerialize},e[f][1])}if(c.tokenStack.length>0){const e=c.tokenStack[c.tokenStack.length-1];(e[1]||vn).call(c,void 0,e[0])}for(s.position={start:On(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:On(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f<t.transforms.length;)s=t.transforms[f](s)||s;return s};function r(e,t,n){let r=-1;for(;++r<e.length;)e[r].call(t,n)}function i(e,t){const n=e.length-1;let r,i,s,o,a=t-1,c=-1,l=!1;const u=[];for(;++a<=n;){const t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?c++:c--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||o||c||s||(s=a),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!c&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===c&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let n=a;for(i=void 0;n--;){const t=e[n];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",l=!0),t[1].type="lineEnding",i=n}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}s&&(!i||s<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),u.push({at:i||a,event:["exit",r,t[2]]})}if("listItemPrefix"===t[1].type){const e={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=e,u.push({at:a,event:["enter",e,t[2]]}),s=void 0,o=!0}}}const h=e.splice(t);let p=0;for(a=-1;++a<h.length;){for(;p<u.length&&u[p].at===t+a;)e.push(u[p++].event);e.push(h[a])}e[t][1]._spread=l}function s(e,t){return function(n){a.call(this,e(n),n),t&&t.call(this,n)}}function o(){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:On(t.start),end:void 0}}function c(e){return function(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+he({start:e.start,end:e.end})+"): it’s not open");r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||vn).call(this,e,r[0])),n.position.end=On(e.end)}function u(){return we(this.stack.pop())}function h(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n={type:"text",value:"",position:void 0},n.position={start:On(e.start),end:void 0},t.push(n)),this.stack.push(n)}function p(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=On(e.end)}function f(){this.data.atHardBreak=!0}function d(e){this.data.characterReferenceType=e.type}function m(){return{type:"code",lang:null,meta:null,value:"",position:void 0}}function E(){return{type:"heading",depth:0,children:[],position:void 0}}function T(){return{type:"break",position:void 0}}function g(){return{type:"html",value:"",position:void 0}}function A(){return{type:"link",title:null,url:"",children:[],position:void 0}}function _(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[],position:void 0}}}(n)(function(e){for(;!Ye(e););return e}(function(e){const t={constructs:je([s,...(e||{}).extensions||[]]),content:n(ut),defined:[],document:n(ft),flow:n(gt),lazy:{},string:n(_t),text:n(kt)};return t;function n(e){return function(n){return In(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(i,s,o){i=n+("string"==typeof i?i.toString():new TextDecoder(s||void 0).decode(i));const a=[];let c=0;for(n="",r&&(65279===i.charCodeAt(0)&&c++,r=void 0);c<i.length;){Sn.lastIndex=c;const r=Sn.exec(i),s=r&&void 0!==r.index?r.index:i.length,o=i.charCodeAt(s);if(!r){n=i.slice(c);break}if(10===o&&c===s&&e)a.push(-3),e=void 0;else switch(e&&(a.push(-5),e=void 0),c<s&&(a.push(i.slice(c,s)),t+=s-c),o){case 0:a.push(65533),t++;break;case 9:{const e=4*Math.ceil(t/4);for(a.push(-2);t++<e;)a.push(-1);break}case 10:a.push(-4),t=1;break;default:e=!0,t=1}c=s+1}return o&&(e&&a.push(-5),n&&a.push(n),a.push(null)),a}}()(e,t,!0))))}function On(e){return{line:e.line,column:e.column,offset:e.offset}}function Rn(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Rn(e,r):Ln(e,r)}}function Ln(e,t){let n;for(n in t)if(Dn.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"afterExit":case"beforeEnter":{const r=t[n];r&&e[n].push(r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function vn(e,t){if(e)throw new Error("Cannot close `"+e.type+"` ("+he({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+he({start:t.start,end:t.end})+") is open");throw new Error("Cannot close document, a token (`"+t.type+"`, "+he({start:t.start,end:t.end})+") is still open")}function Pn(e){const t=this;t.parser=function(n){return bn(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const{defineProperty:xn}=Object,Mn="object"==typeof self?self:globalThis,wn=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new Mn[e](t)},Fn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);const[s,o]=t[i];switch(s){case 0:case-1:return n(o,i);case 1:{const e=n([],i);for(const t of o)e.push(r(t));return e}case 2:{const e=n({},i);for(const[t,n]of o){const i=r(t),s=r(n);"__proto__"===i?xn(e,i,{value:s,configurable:!0,enumerable:!0,writable:!0}):e[i]=s}return e}case 3:return n(new Date(o),i);case 4:{const{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{const e=n(new Map,i);for(const[t,n]of o)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,i);for(const t of o)e.add(r(t));return e}case 7:{const{name:e,message:t}=o;return n("function"==typeof Mn[e]?wn(e,t):new Error(t),i)}case 8:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}case"-0":return-0}return n(wn(s,o),i)};return r})(new Map,e)(0),$n="",{toString:Bn}={},{keys:Hn,is:Un}=Object,Gn=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Bn.call(e).slice(8,-1);switch(n){case"Array":return[1,$n];case"Object":return[2,$n];case"Date":return[3,$n];case"RegExp":return[4,$n];case"Map":return[5,$n];case"Set":return[6,$n];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:e instanceof Error?[7,e.name||"Error"]:[2,n]},Yn=([e,t])=>0===e&&("function"===t||"symbol"===t),zn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const i=(e,t)=>{const i=r.push(e)-1;return n.set(t,i),i},s=o=>{if(n.has(o))return n.get(o);let[a,c]=Gn(o);switch(a){case 0:{let t=o;switch(c){case"bigint":a=8,t=o.toString();break;case"number":if(!o&&Un(o,-0))return r.push(["-0"])-1;break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);t=null;break;case"undefined":return i([-1],o)}return i([a,t],o)}case 1:{if(c){let e=o;return"DataView"===c?e=new Uint8Array(o.buffer):"ArrayBuffer"===c&&(e=new Uint8Array(o)),i([c,[...e]],o)}const e=[],t=i([a,e],o);for(const t of o)e.push(s(t));return t}case 2:{if(c)switch(c){case"BigInt":return i([c,o.toString()],o);case"Boolean":case"Number":case"String":return i([c,o.valueOf()],o)}if(t&&"toJSON"in o)return s(o.toJSON());const n=[],r=i([a,n],o);for(const t of Hn(o))!e&&Yn(Gn(o[t]))||n.push([s(t),s(o[t])]);return r}case 3:return i([a,isNaN(o.getTime())?$n:o.toISOString()],o);case 4:{const{source:e,flags:t}=o;return i([a,{source:e,flags:t}],o)}case 5:{const t=[],n=i([a,t],o);for(const[n,r]of o)(e||!Yn(Gn(n))&&!Yn(Gn(r)))&&t.push([s(n),s(r)]);return n}case 6:{const t=[],n=i([a,t],o);for(const n of o)!e&&Yn(Gn(n))||t.push(s(n));return n}}const{message:l}=o;return i([a,{name:c,message:l}],o)};return s})(!(t||n),!!t,new Map,r)(e),r};var qn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Fn(zn(e,t)):structuredClone(e):(e,t)=>Fn(zn(e,t));function jn(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const s=e.charCodeAt(n);let o="";if(37===s&&Ke(e.charCodeAt(n+1))&&Ke(e.charCodeAt(n+2)))i=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(o=String.fromCharCode(s));else if(s>55295&&s<57344){const t=e.charCodeAt(n+1);s<56320&&t>56319&&t<57344?(o=String.fromCharCode(s,t),i=1):o="�"}else o=String.fromCharCode(s);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Wn(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Vn(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Qn=function(e){if(null==e)return Xn;if("function"==typeof e)return Kn(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Qn(e[n]);return Kn(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):function(e){const t=e;return Kn(function(n){const r=n;let i;for(i in e)if(r[i]!==t[i])return!1;return!0})}(e);if("string"==typeof e)return function(e){return Kn(function(t){return t&&t.type===e})}(e);throw new Error("Expected function, string, or object as test")};function Kn(e){return function(t,n,r){return Boolean(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 Xn(){return!0}const Jn=[],Zn=!1,er="skip";function tr(e,t,n,r){if(!e||"object"!=typeof e)throw new Error("Unexpected value `"+e+"` for `tree`, expected node");let i,s,o,a,c=!0;if("function"==typeof n||n&&"object"==typeof n?(i=t,s=n,r&&(c=!1)):(s=t,n&&(c=!1)),"function"==typeof s)o=s;else{if(!s||"object"!=typeof s)throw new Error("Unexpected value `"+s+"` for `enter` or `visitors`, expected visitor or object with visitors");if(null===s.enter||void 0===s.enter);else{if("function"!=typeof s.enter)throw new Error("Unexpected value `"+s.enter+"` for `visitors.enter`, expected optional visitor");o=s.enter}if("function"!=typeof s.exit)throw new Error("Unexpected value `"+s.exit+"` for `visitors.exit`, expected visitor (pass a visitor directly if you only want an enter visitor)");a=s.exit}const l=Qn(i),u=c?1:-1;!function e(t,n,r){const s=t&&"object"==typeof t?t:{};if("string"==typeof s.type){const e="string"==typeof s.tagName?s.tagName:"string"==typeof s.name?s.name:void 0;Object.defineProperty(h,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return h;function h(){const s=!i||l(t,n,r[r.length-1]||void 0);let h=Jn;if(o&&s&&(h=nr(o(t,r,n)),h[0]===Zn))return h;if("children"in t&&t.children){const n=t;if(n.children&&h[0]!==er){let t=(c?-1:n.children.length)+u;const i=[...r,n];for(;t>-1&&t<n.children.length;){const r=n.children[t],s=e(r,t,i)();if(s[0]===Zn)return s;t="number"==typeof s[1]?s[1]:t+u}}}if(a&&s){const e=nr(a(t,r,n));if(e[0]===er)throw new Error("Unexpected value `"+e[0]+"` from `exit`, expected `CONTINUE`, `EXIT`, index, or nothing");if(e[0]===Zn||"number"==typeof e[1])return e}return h}}(e,void 0,[])()}function nr(e){return Array.isArray(e)?e:"number"==typeof e?[!0,e]:null==e?Jn:[e]}function rr(e,t,n,r){let i,s,o;"function"==typeof n||n&&"object"==typeof n?(i=t,s=n,o=r):(s=t,o=n),tr(e,i,"function"==typeof s?ir(s):function(e){return e&&"object"==typeof e?{enter:"function"==typeof e.enter?ir(e.enter):e.enter,exit:"function"==typeof e.exit?ir(e.exit):e.exit}:e}(s),o)}function ir(e){return function(t,n,r){return e(t,r,n[n.length-1])}}function sr(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),s=i[0];s&&"text"===s.type?s.value="["+s.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&"text"===o.type?o.value+=r:i.push({type:"text",value:r}),i}function or(e){const{spread:t}=e;return null==t?e.children.length>1:t}function ar(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const s=[];for(;r;)s.push(cr(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return s.push(cr(t.slice(i),i>0,!1)),s.join("")}function cr(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):""}const lr={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let s={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=jn(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let o,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=s+1,a+=1,e.footnoteCounts.set(r,a);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,c);const l={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)},heading:function(e,t){const 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){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return sr(e,t);const i={src:jn(r.url||"")};null!==t.alt&&void 0!==t.alt&&(i.alt=t.alt),null!==r.title&&void 0!==r.title&&(i.title=r.title);const s={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,s),e.applyData(t,s)},image:function(e,t){const n={src:jn(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return sr(e,t);const i={href:jn(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);const s={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)},link:function(e,t){const n={href:jn(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const{children:n}=e;let r=-1;for(;!t&&++r<n.length;)t=or(n[r])}return t}(n):or(t),s={},o=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const e=r[a];(i||0!==a||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?o.push(e):o.push(...e.children)}const c=r[r.length-1];c&&(i||"element"!==c.type||"p"!==c.tagName)&&o.push({type:"text",value:"\n"});const l={type:"element",tagName:"li",properties:s,children:o};return e.patch(t,l),e.applyData(t,l)},list:function(e,t){const n={},r=e.all(t);let i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){const 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}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=le(t.children[1]),o=ce(t.children[t.children.length-1]);s&&o&&(r.position={start:s,end:o}),i.push(r)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,s),e.applyData(t,s)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",s=n&&"table"===n.type?n.align:void 0,o=s?s.length:t.children.length;let a=-1;const c=[];for(;++a<o;){const n=t.children[a],r={},o=s?s[a]:void 0;o&&(r.align=o);let l={type:"element",tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}const l={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)},text:function(e,t){const n={type:"text",value:ar(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:ur,yaml:ur,definition:ur,footnoteDefinition:ur};function ur(){}const hr={}.hasOwnProperty,pr={};function fr(e,t){e.position&&(t.position=function(e){const t=le(e),n=ce(e);if(t&&n)return{start:t,end:n}}(e))}function dr(e,t){let n=t;if(e&&e.data){const{hChildren:t,hName:r,hProperties:i}=e.data;"string"==typeof r&&("element"===n.type?n.tagName=r:n={type:"element",tagName:r,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,qn(i)),"children"in n&&n.children&&null!=t&&(n.children=t)}return n}function mr(e,t){const n=t.data||{},r=!("value"in t)||hr.call(n,"hProperties")||hr.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Er(e,t){const n=[];let 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 Tr(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function gr(e,t){const n=function(e,t){const n=t||pr,r=new Map,i=new Map,s=new Map,o={...lr,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const i=a.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=Tr(i.value)),!Array.isArray(i)&&"element"===i.type)){const e=i.children[0];e&&"text"===e.type&&(e.value=Tr(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:dr,definitionById:r,footnoteById:i,footnoteCounts:s,footnoteOrder:[],handlers:o,one:function(e,t){const{type:n}=e,r=a.handlers[n];if(hr.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e;return{...qn(n),children:a.all(e)}}return qn(e)}return(a.options.unknownHandler||mr)(a,e,t)},options:n,patch:fr,wrap:Er};return rr(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t=String(e.identifier).toUpperCase();"definition"===e.type?r.has(t)||r.set(t,e):i.has(t)||i.set(t,e)}}),a}(e,t),r=n.one(e,void 0),i=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Wn,r=e.options.footnoteBackLabel||Vn,i=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[],c=[];let l=-1;for(;++l<e.footnoteOrder.length;){const t=e.footnoteById.get(e.footnoteOrder[l]);t&&(a[l]=e.all(t))}for(l=-1;++l<e.footnoteOrder.length;){const i=e.footnoteById.get(e.footnoteOrder[l]);if(!i)continue;const s=a[l],o=String(i.identifier).toUpperCase(),u=jn(o.toLowerCase());let h=0;const p=[],f=e.footnoteCounts.get(o);for(;void 0!==f&&++h<=f;){p.length>0&&p.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,h);"string"==typeof e&&(e={type:"text",value:e}),p.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(h>1?"-"+h:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,h),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const d=s[s.length-1];if(d&&"element"===d.type&&"p"===d.tagName){const e=d.children[d.children.length-1];e&&"text"===e.type?e.value+=" ":d.children.push({type:"text",value:" "}),d.children.push(...p)}else s.push(...p);const m={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(s,!0)};e.patch(i,m),c.push(m)}if(0!==c.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...qn(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:"\n"}]}}(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&s.children.push({type:"text",value:"\n"},i),s}function Ar(e,t){return e&&"run"in e?async function(n,r){const i=gr(n,{file:r,...t});await e.run(i,r)}:function(n,r){return gr(n,{file:r,...e||t})}}function _r(e){if(e)throw e}function kr(e){if("object"!=typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}r();const Ir=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Dr(e);let n,r=0,i=-1,s=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;s--;)if(47===e.codePointAt(s)){if(n){r=s+1;break}}else i<0&&(n=!0,i=s+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let o=-1,a=t.length-1;for(;s--;)if(47===e.codePointAt(s)){if(n){r=s+1;break}}else o<0&&(n=!0,o=s+1),a>-1&&(e.codePointAt(s)===t.codePointAt(a--)?a<0&&(i=s):(a=-1,i=o));return r===i?i=o:i<0&&(i=e.length),e.slice(r,i)},Sr=function(e){if(Dr(e),0===e.length)return".";let t,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)},Cr=function(e){Dr(e);let t,n=e.length,r=-1,i=0,s=-1,o=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?s<0?s=n:1!==o&&(o=1):s>-1&&(o=-1);else if(t){i=n+1;break}}return s<0||r<0||0===o||1===o&&s===r-1&&s===i+1?"":e.slice(s,r)},Nr=function(...e){let t,n=-1;for(;++n<e.length;)Dr(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){Dr(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,i="",s=0,o=-1,a=0,c=-1;for(;++c<=e.length;){if(c<e.length)n=e.codePointAt(c);else{if(47===n)break;n=47}if(47===n){if(o===c-1||1===a);else if(o!==c-1&&2===a){if(i.length<2||2!==s||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2))if(i.length>2){if(r=i.lastIndexOf("/"),r!==i.length-1){r<0?(i="",s=0):(i=i.slice(0,r),s=i.length-1-i.lastIndexOf("/")),o=c,a=0;continue}}else if(i.length>0){i="",s=0,o=c,a=0;continue}t&&(i=i.length>0?i+"/..":"..",s=2)}else i.length>0?i+="/"+e.slice(o+1,c):i=e.slice(o+1,c),s=c-o-1;o=c,a=0}else 46===n&&a>-1?a++:a=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},yr="/";function Dr(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const br=function(){return"/"};function Or(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}const Rr=["history","path","basename","stem","extname","dirname"];class Lr{constructor(e){let t;t=e?Or(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":br(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<Rr.length;){const e=Rr[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)Rr.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?Ir(this.path):void 0}set basename(e){Pr(e,"basename"),vr(e,"basename"),this.path=Nr(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?Sr(this.path):void 0}set dirname(e){xr(this.basename,"dirname"),this.path=Nr(e||"",this.basename)}get extname(){return"string"==typeof this.path?Cr(this.path):void 0}set extname(e){if(vr(e,"extname"),xr(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Nr(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Or(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!Or(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),Pr(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?Ir(this.path,this.extname):void 0}set stem(e){Pr(e,"stem"),vr(e,"stem"),this.path=Nr(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new me(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 vr(e,t){if(e&&e.includes(yr))throw new Error("`"+t+"` cannot be a path: did not expect `"+yr+"`")}function Pr(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function xr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const Mr=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},wr={}.hasOwnProperty;class Fr extends Mr{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(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function i(s,...o){const a=e[++n];let c=-1;if(s)r(s);else{for(;++c<t.length;)null!==o[c]&&void 0!==o[c]||(o[c]=t[c]);t=o,a?function(e,t){let n;return function(...t){const s=e.length>t.length;let o;s&&t.push(r);try{o=e.apply(this,t)}catch(e){if(s&&n)throw e;return r(e)}s||(o&&o.then&&"function"==typeof o.then?o.then(i,r):o instanceof Error?r(o):i(o))};function r(e,...r){n||(n=!0,t(e,...r))}function i(e){r(null,e)}}(a,i)(...o):r(null,...o)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){const e=new Fr;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(r()(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(Ur("data",this.frozen),this.namespace[e]=t,this):wr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Ur("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=zr(e),n=this.parser||this.Parser;return Br("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),Br("process",this.parser||this.Parser),Hr("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){const s=zr(e),o=n.parse(s);function a(e,n){e||!n?i(e):r?r(n):t(void 0,n)}n.run(o,s,function(e,t,r){if(e||!t||!r)return a(e);const i=t,s=n.stringify(i,r);var o;"string"==typeof(o=s)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(o)?r.value=s:r.result=s,a(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),Br("processSync",this.parser||this.Parser),Hr("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,_r(e),t=r}),Yr("processSync","process",n),t}run(e,t,n){Gr(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,s){const o=zr(t);r.run(e,o,function(t,r,o){const a=r||e;t?s(t):i?i(a):n(void 0,a,o)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){_r(e),n=t,r=!0}),Yr("runSync","run",r),n}stringify(e,t){this.freeze();const n=zr(t),r=this.compiler||this.Compiler;return Hr("stringify",r),Gr(e),r(e,n)}use(e,...t){const n=this.attachers,i=this.namespace;if(Ur("use",this.frozen),null==e);else if("function"==typeof e)c(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?a(e):o(e)}return this;function s(e){if("function"==typeof e)c(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;c(t,n)}else o(e)}}function o(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(e.plugins),e.settings&&(i.settings=r()(!0,i.settings,e.settings))}function a(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)s(e[t])}}function c(e,t){let i=-1,s=-1;for(;++i<n.length;)if(n[i][0]===e){s=i;break}if(-1===s)n.push([e,...t]);else if(t.length>0){let[i,...o]=t;const a=n[s][1];kr(a)&&kr(i)&&(i=r()(!0,a,i)),n[s]=[e,i,...o]}}}}const $r=(new Fr).freeze();function Br(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Hr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ur(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Gr(e){if(!kr(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Yr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function zr(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new Lr(e)}function qr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qr(Object(n),!0).forEach(function(t){Wr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qr(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Wr(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t;if("undefined"!=typeof Symbol&&void 0!==(t=e[Symbol.toPrimitive])){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Qr=[],Kr={allowDangerousHtml:!0},Xr=/^(https?|ircs?|mailto|xmpp)$/i,Jr=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Zr(e){var t=function(e){var t=e.rehypePlugins||Qr,n=e.remarkPlugins||Qr,r=e.remarkRehypeOptions?jr(jr({},e.remarkRehypeOptions),Kr):Kr;return $r().use(Pn).use(n).use(Ar,r).use(t)}(e),n=function(e){var t=e.children||"",n=new Lr;return"string"==typeof t&&(n.value=t),n}(e);return function(e,t){var n,r=t.allowedElements,i=t.allowElement,s=t.components,o=t.disallowedElements,a=t.skipHtml,c=t.unwrapDisallowed,l=t.urlTransform||ei,h=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Vr(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,s=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw s}}}}(Jr);try{for(h.s();!(n=h.n()).done;){var p=n.value;Object.hasOwn(t,p.from)&&u((p.from,p.to&&p.to,p.id))}}catch(e){h.e(e)}finally{h.f()}return rr(e,function(e,t,n){if("raw"===e.type&&n&&"number"==typeof t)return a?n.children.splice(t,1):n.children[t]={type:"text",value:e.value},t;var s;if("element"===e.type)for(s in Pe)if(Object.hasOwn(Pe,s)&&Object.hasOwn(e.properties,s)){var u=e.properties[s],h=Pe[s];(null===h||h.includes(e.tagName))&&(e.properties[s]=l(String(u||""),s,e))}if("element"===e.type){var p=r?!r.includes(e.tagName):!!o&&o.includes(e.tagName);if(!p&&i&&"number"==typeof t&&(p=!i(e,t,n)),p&&n&&"number"==typeof t)return c&&e.children?n.children.splice(t,1,...e.children):n.children.splice(t,1),t}}),function(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return function(n,r,i,s){const o=Array.isArray(i.children),a=le(n);return t(r,i,s,o,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");i=t.jsx,s=t.jsxs,r=function(e,t,n,r){const o=Array.isArray(n.children)?s:i;return r?o(t,n,r):o(t,n)}}var i,s;const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?q:z,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},a=Se(o,e,void 0);return a&&"string"!=typeof a?a:o.create(e,o.Fragment,{children:a||void 0},void 0)}(e,{Fragment:xe.Fragment,components:s,ignoreInvalidStyle:!0,jsx:xe.jsx,jsxs:xe.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function ei(e){var t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return-1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||Xr.test(e.slice(0,t))?e:""}var ti=n(2057);function ni(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ri(e){return e?e.map(function(e){return"text"===e.type?e.value:"element"===e.type?ri(e.children):""}).join(""):""}function ii(e){if(null==e||"boolean"==typeof e)return"";if("string"==typeof e||"number"==typeof e)return String(e);if(Array.isArray(e))return e.map(ii).join("");var t=e;return t.props?ii(t.props.children):""}function si(e){var t=e.className,r=e.children,i=(0,a.useRef)(null),s=ii(r);return(0,a.useEffect)(function(){var e,t=i.current;t&&(t.textContent=s,Promise.resolve(null!==(e=window.hljs)&&void 0!==e?e:n.e(254).then(n.bind(n,2827)).then(function(e){return e.default})).then(function(e){t.removeAttribute("data-highlighted"),e.highlightElement(t)}))},[s,t]),c().createElement("code",{ref:i,className:t})}var oi=n(2391),ai=(0,a.createContext)(void 0),ci=n(3140),li={dcclink:function(e){var t,n=e.node,r=e.children,i=null!==(t=null==n?void 0:n.properties)&&void 0!==t?t:{},s=n&&n.children.length?r:i.children;return c().createElement(oi.A,{href:i.href,target:i.target,title:i.title},s)},dccmarkdown:function(e){var t,n,r=e.node,i=function(){var e=(0,a.useContext)(ai);if(!e)throw new Error("MarkdownContext used outside of its provider");return e}().renderMarkdown,s=String(null!==(t=null==r||null===(n=r.properties)||void 0===n?void 0:n.children)&&void 0!==t?t:ri(null==r?void 0:r.children));return c().createElement(c().Fragment,null,i(s))},dashmathjax:function(e){var t,n=e.node,r=ri(null==n?void 0:n.children),i="false"!==(null==n||null===(t=n.properties)||void 0===t?void 0:t.inline),s=(0,a.useRef)(null);return(0,a.useEffect)(function(){var e=s.current;(0,ci.A)().then(function(t){null==t||t.typeset([e])})},[r,i]),c().createElement("span",{ref:s},i?"\\(":"\\[",r,i?"\\)":"\\]")},code:function(e){var t,n=e.node,r=e.className,i=e.children;return null!=n&&null!==(t=n.data)&&void 0!==t&&t.block?c().createElement(si,{className:r},i):c().createElement("code",{className:r},i)}};function ui(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}function hi(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function pi(e){return"function"==typeof e?e:function(){return e}}const fi="phrasing",di=["autolink","link","image","label"];function mi(e){this.enter({type:"link",title:null,url:"",children:[],position:void 0},e)}function Ei(e){this.config.enter.autolinkProtocol.call(this,e)}function Ti(e){this.config.exit.autolinkProtocol.call(this,e)}function gi(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Ai(e){this.config.exit.autolinkEmail.call(this,e)}function _i(e){this.exit(e)}function ki(e){!function(e,t,n){const r=Qn((n||{}).ignore||[]),i=function(e){if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const t=[],n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const e=n[r];t.push([hi(e[0]),pi(e[1])])}return t}(t);let s=-1;for(;++s<i.length;)tr(e,o);function o(e,t,n){return"text"===e.type&&"number"==typeof n?function(e,t,n){const r=t[t.length-1],o=i[s][0],a=i[s][1];let c=0,l=!1,u=[];o.lastIndex=0;let h=o.exec(e.value);for(;h;){const n=h.index,r={index:h.index,input:h.input,stack:[...t,e]};let i=a(...h,r);if("string"==typeof i&&(i=i.length>0?{type:"text",value:i}:void 0),!1!==i){if(c!==n&&p({type:"text",value:e.value.slice(c,n)}),Array.isArray(i))for(const e of i)p(e);else i&&p(i);c=n+h[0].length,l=!0}if(!1===i||0===h[0].length){const t=e.value.codePointAt(n)||0;o.lastIndex=n+(/[uv]/.test(o.flags)&&t>65535?2:1)}if(!o.global)break;h=o.exec(e.value)}return l?(c<e.value.length&&p({type:"text",value:e.value.slice(c)}),r.children.splice(n,1,...u)):u=[e],n+u.length;function p(e){const t=u[u.length-1];t&&"text"===t.type&&"text"===e.type?t.value+=e.value:u.push(e)}}(e,t,n):r(e,n,t[t.length-1])?"skip":void 0}}(e,[[/(?<![\da-z])(https?:\/\/|www(?=\.))([\w-]*\.[\w\-.]*)([^\t\n\r ]*)/gi,Ii],[/(?<![\w+\-.@])xmpp:([\w+\-.]+)@([\w-]+(?:\.[\w-]+)+)(\/(?:[\w\-/]|\.(?=[\dA-Za-z]))*)?/g,Ni],[/(?<![\w+\-.@])mailto:([\w+\-.]+)@([\w-]+(?:\.[\w-]+)+)/g,Ci],[/(?<![\w+\-.]|(?:^|[^\d@A-Za-z])(?:mailto|xmpp):)([\w+\-.]+)@([\w-]+(?:\.[\w-]+)+)/g,Si]],{ignore:["link","linkReference"]})}function Ii(e,t,n,r,i){if(!function(e){const t=e.input.charCodeAt(e.index-1);return 0===e.index||ot(t)||st(t)}(i))return!1;let s="";if(/^w/i.test(t)&&(n=t+n,t="",s="http://"),st(n.charCodeAt(0))||!function(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[\dA-Za-z]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[\dA-Za-z]/.test(t[t.length-2])))}(n))return!1;const o=function(e){let t=e.length;for(;t>0;){const n=e.charCodeAt(t-1);if(33!==n&&34!==n&&38!==n&&39!==n&&41!==n&&44!==n&&46!==n&&58!==n&&59!==n&&60!==n&&62!==n&&63!==n&&93!==n&&125!==n)break;t--}if(t===e.length)return[e,void 0];let n=e.slice(t);e=e.slice(0,t);let r=n.indexOf(")");const i=ui(e,"(");let s=ui(e,")");for(;-1!==r&&i>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}(n+r),a={type:"link",title:null,url:s+t+o[0],children:[{type:"text",value:t+o[0],position:void 0}],position:void 0};return o[1]?[a,{type:"text",value:o[1],position:void 0}]:a}function Si(e,t,n){return!/[\d\-_]$/.test(n)&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n,position:void 0}],position:void 0}}function Ci(e,t,n){if(/[\d\-_]$/.test(n))return!1;const r="mailto:"+t+"@"+n;return{type:"link",title:null,url:r,children:[{type:"text",value:r,position:void 0}],position:void 0}}function Ni(e,t,n,r,i){if(/[\d\-_]$/.test(n)||r&&(!/[A-Za-z]$/.test(r)||"@"===i.input.charAt(i.index+e.length)))return!1;const s="xmpp:"+t+"@"+n+(r||"");return{type:"link",title:null,url:s,children:[{type:"text",value:s,position:void 0}],position:void 0}}function yi(){this.buffer()}function Di(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function bi(){this.buffer()}function Oi(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Ri(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=xt(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Li(e){this.exit(e)}function vi(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=xt(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Pi(e){this.exit(e)}function xi(e,t,n,r){const i=n.createTracker(r);let s=i.move("[^");const o=n.enter("footnoteReference"),a=n.enter("reference");return s+=i.move(n.safe(n.associationId(e),{after:"]",before:s})),a(),o(),s+=i.move("]"),s}function Mi(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,i){const s=r.createTracker(i);let o=s.move("[^");const a=r.enter("footnoteDefinition"),c=r.enter("label");return o+=s.move(r.safe(r.associationId(e),{before:o,after:"]"})),c(),o+=s.move("]:"),e.children&&e.children.length>0&&(s.shift(4),o+=s.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,s.current()),t?Fi:wi))),a(),o},footnoteReference:xi},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}}function wi(e,t,n){return 0===t?e:Fi(e,0,n)}function Fi(e,t,n){return(n?"":" ")+e}xi.peek=function(){return"["};const $i=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Bi(e){this.enter({type:"delete",children:[],position:void 0},e)}function Hi(e){this.exit(e)}function Ui(e,t,n,r){const i=n.createTracker(r),s=n.stack.includes("strikethrough")?"~":"~~",o=n.enter("strikethrough");let a=i.move(s);return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move(s),o(),a}function Gi(e){return e.length}function Yi(e){return null==e?"":String(e)}function zi(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function qi(e,t,n){return">"+(n?"":" ")+e}function ji(e,t){return Wi(e,t.inConstruct,!0)&&!Wi(e,t.notInConstruct,!1)}function Wi(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function Vi(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;){const e=n.unsafe[i];if("\n"===e.character&&!e.before&&!e.after&&ji(n.stack,e))return/[\t ]/.test(r.before)?"":" "}return"\\\n"}function Qi(e,t){const n=String(e);let r=n.indexOf(t),i=r,s=0,o=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===i?++s>o&&(o=s):s=1,i=r+t.length,r=n.indexOf(t,i);return o}function Ki(e,t,n){return(n?"":" ")+e}function Xi(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Ji(e){const t=e.codePointAt(0);return void 0===t?"":String.fromCodePoint(t)}function Zi(e){const t=e.codePointAt(e.length-2);return void 0!==t&&t>65535?e.slice(-2):e.slice(-1)}function es(e){return"&#x"+e.toString(16).toUpperCase()+";"}function ts(e,t,n){const r=sn(e),i=sn(t);return void 0===r?void 0===i?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function ns(e){if(60!==e.charCodeAt(0))return;const t=e.charCodeAt(1);if(33===t){const t=e.charCodeAt(2);return 45===t?2:91===t?5:Qe(t)?4:void 0}if(63===t)return 3;const n=47===t,r=n?2:1;let i=r,s=e.charCodeAt(i);if(!Qe(s))return;for(;45===s||Ke(s);)s=e.charCodeAt(++i);const o=e.slice(r,i).toLowerCase();return!n&&47!==s&&Gt.includes(o)?1:Ut.includes(o)?6:7}Ui.attention=function(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}},Ui.peek=function(){return"~"};const rs=new Map([["*",!1],["_",!0]]);function is(e,t,n){const r=new Set;for(const i of e){const e=n.get(i);if(e&&i.attention&&t.some(e=>e.attention===i.attention))for(const t of e.tokens)r.add(t.attention)}const i=[];for(const t of e)t.attention&&r.delete(t.attention)&&i.push(t.attention);return i.reverse(),i}function ss(e,t,n){const r=[],i=new Map,s=new Map;let o=0;for(;o<e.length;){if(!e[o].attention){o++;continue}const a=e[o].value.charAt(0),c=rs.get(a);let l=o+1;for(;l<e.length&&e[l].attention&&e[l].value.charAt(0)===a;)l++;const u=o?e[o-1].value:t,h=sn(u.charCodeAt(u.length-1)),p=sn((l<e.length?e[l].value:n).charCodeAt(0)),f=!p||2===p&&Boolean(h),d=!h||2===h&&Boolean(p),m={tokens:e.slice(o,l),markers:[],start:0,end:0,open:c?f&&(Boolean(h)||!d):f,close:c?d&&(Boolean(p)||!f):d,split:void 0!==c};for(const e of m.tokens){i.set(e,[...m.tokens]),s.set(e,m);let t=e.value.length;for(;t--;)m.markers.push(e)}m.end=m.markers.length,r.push(m),o=l}for(function(e,t){const n=new Map;for(const r of e){const e=r.tokens[0].value.charAt(0);let i=n.get(e);i||(i=[],n.set(e,i));let s=r.close?i.length:0;for(;s--&&r.start<r.end;){const e=i[s],n=e.end-e.start,o=r.end-r.start;if(r.split?(e.close||r.open)&&o%3&&!((n+o)%3):n!==e.markers.length||n!==o)continue;const a=r.split?n>1&&o>1?2:1:o,c=e.markers.slice(e.end-a,e.end),l=r.markers.slice(r.start,r.start+a),u=c[0],h=l[0];if(u===c[a-1]&&u.value.length===a&&h===l[a-1]&&h.value.length===a&&u.attention===h.attention)t.delete(u),t.delete(h);else{const e=[...new Set([...c,...l])];for(const n of e){const r=t.get(n);r&&r.push(...e)}}e.end-=a,r.start+=a,e.start===e.end&&i.splice(s,1),s=i.length}r.open&&r.start<r.end&&i.push(r)}}(r,i),o=-1;++o<e.length;){const t=i.get(e[o]);if(t)return{attention:is(e,t,s),index:o}}}function os(e,t){const n=e[t?0:e.length-1];if(!n||n.attention)return;const r=t?Ji(n.value):Zi(n.value),i=es(r.codePointAt(0));if(t)n.value=i+n.value.slice(r.length);else{let e=n.value.slice(0,n.value.length-r.length),t=0;for(;92===e.charCodeAt(e.length-1-t);)t++;t%2&&(e+="\\"),n.value=e+i}}function as(e,t,n,r,i){for(const s of n.attention){const o=t.get(s)||s.sequences[0];for(const a of s.sequences){if(a===o)continue;const c=new Map(t);c.set(s,a);const l=hs(e,c,r,i),u=ss(l,r,i);if(!u||u.index>n.index)return{chosen:c,mistake:u,tokens:l}}}}function cs(e,t,n,r){const{construct:i,markers:s,sizes:o}=t(e,n),a=function(e,t,n){if(0===t.length)throw new Error("Cannot serialize `"+e+"` as attention without markers, expected one or more markers");if(0===n.length)throw new Error("Cannot serialize `"+e+"` as attention without sizes, expected one or more sizes");for(const t of n)if(!Number.isSafeInteger(t)||t<1)throw new Error("Cannot serialize `"+e+"` as attention with `"+t+"` as size, expected positive integer");const r=[];for(const i of t){if(1!==i.length)throw new Error("Cannot serialize `"+e+"` as attention with `"+i+"` as marker, expected a single ascii character");if(!tt(i.charCodeAt(0)))throw new Error("Cannot serialize `"+e+"` as attention with `"+i+"` as marker, expected ascii punctuation");for(const e of n)r.push(i.repeat(e))}return r}(e.type,s,o),c=a[0],l=n.enter(i),u=n.createTracker(r.current());u.move(c);const h=function(e,t,n){const r=t.indexStack,i=e.children||[],s=[];let o=-1,a=n.before;r.push(-1);let c=t.createTracker(n);for(;++o<i.length;){const l=i[o];let u;if(r[r.length-1]=o,o+1<i.length){let n=t.handle.handlers[i[o+1].type];n&&n.peek&&(n=n.peek),u=n?Ji(n(i[o+1],e,t,{before:"",after:"",...c.current()})):""}else u=n.after;const h=s[s.length-1];"string"!=typeof h||"\r"!==a&&"\n"!==a||"html"!==l.type||7===ns(l.value)||(s[s.length-1]=h.replace(/(\r?\n|\r)$/," "),a=" ",c=t.createTracker(n),c.move(ps(s,n.before,n.after)));const p=t.handle.handlers[l.type];if(p&&p.attention){const e=cs(l,p.attention,t,c);if(!e)continue;s.push(e),a=Zi(e.sequences[0])}else{const n=t.handle(l,e,t,{...c.current(),after:u,before:a});if(!n)continue;c.move(n),s.push(n),a=Zi(n)}}return r.pop(),s}(e,n,{...u.current(),before:c,after:c});if(l(),0!==h.length)return r.move(c),r.move(ps(h,c,c)),r.move(c),{children:h,sequences:a}}function ls(e,t,n,r){let i=hs(e,t,n,r),s=ss(i,n,r);for(;s;){const o=as(e,t,s,n,r);if(!o)return;t=o.chosen,i=o.tokens,s=o.mistake}return i}function us(e,t,n,r){let i=n,s=-1;for(;++s<e.length;){const o=e[s];if("string"==typeof o){i="";continue}const a=s===e.length-1?r:"",c=o.sequences.find(function(t){const r=t.charAt(0);return r!==i.charAt(0)&&r!==a.charAt(0)||1===e.length&&rs.has(r)&&t.length>n.length})||o.sequences[0];c!==o.sequences[0]&&t.set(o,c),us(o.children,t,c,c),i=c}}function hs(e,t,n,r){const i=[];let s,o=Zi(n),a=-1;for(;++a<e.length;){const n=e[a];if("string"==typeof n){const e={value:n,attention:void 0};s&&s===Ji(n)&&os([e],!0),s=void 0,i.push(e),e.value&&(o=Zi(e.value));continue}const c=t.get(n)||n.sequences[0],l=c.charAt(0),u=e[a+1],h=o,p=Ji(void 0===u?r:"string"==typeof u?u:t.get(u)||u.sequences[0]),f=hs(n.children,t,c,c),d=f[0].value,m=ts(h.charCodeAt(h.length-1),d.charCodeAt(0),l);m.inside&&os(f,!0);const E=Zi(f[f.length-1].value),T=ts(p.charCodeAt(0),E.charCodeAt(E.length-1),l);T.inside&&os(f,!1),m.outside&&"\n"!==h&&"\r"!==h&&os(i,!1),T.outside&&(s=p),i.push({value:c,attention:n},...f,{value:c,attention:n}),o=c.charAt(c.length-1)}return i}function ps(e,t,n){const r=new Map;us(e,r,t,n);const i=(r.size>0?ls(e,r,t,n):void 0)||ls(e,new Map,t,n)||hs(e,new Map,t,n);let s="";for(const e of i)s+=e.value;return s}function fs(e,t,n,r){const i=n.enter("phrasing"),s=cs(e,ds,n,n.createTracker(r)),o=s?ps([s],r.before,r.after):"";return i(),o}function ds(e,t){const n=function(e){const t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(t);return{construct:"emphasis",markers:"*"===n?["*","_"]:["_","*"],sizes:[1]}}function ms(e){return e.value||""}function Es(e,t,n,r){const i=Xi(n),s='"'===i?"Quote":"Apostrophe",o=n.enter("image");let a=n.enter("label");const c=n.createTracker(r);let l=c.move("![");return l+=c.move(n.safe(e.alt,{before:l,after:"]",...c.current()})),l+=c.move("]("),a(),!e.url&&e.title||/^<|[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(n.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(e.url,{before:l,after:e.title?" ":")",...c.current()}))),a(),e.title&&(a=n.enter(`title${s}`),l+=c.move(" "+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),a()),l+=c.move(")"),o(),l}function Ts(e,t,n,r){const i=e.referenceType,s=n.enter("imageReference");let o=n.enter("label");const a=n.createTracker(r);let c=a.move("![");const l=n.safe(e.alt,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),o();const u=n.stack;n.stack=u.filter(function(e){return"phrasing"!==e}),o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return o(),n.stack=u,s(),"full"!==i&&l&&l===h?"shortcut"===i?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function gs(e,t,n){let r=e.value||"",i="`",s=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^\n\r ]/.test(r)&&(/^[\n\r ]/.test(r)&&/[\n\r ]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s<n.unsafe.length;){const e=n.unsafe[s],t=n.compilePattern(e);if(!e.atBreak)continue;let i;for(;i=t.exec(r);){let e=i.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(i.index+1)}}return i+r+i}function As(e,t){const n=we(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][+\-.a-z]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function _s(e,t,n,r){const i=Xi(n),s='"'===i?"Quote":"Apostrophe",o=n.createTracker(r);if(As(e,n)){const t=n.stack;n.stack=t.filter(function(e){return"phrasing"!==e});const r=n.enter("autolink");let i=o.move("<");return i+=o.move(n.containerPhrasing(e,{before:i,after:">",...o.current()})),i+=o.move(">"),r(),n.stack=t,i}const a=n.enter("link");let c=n.enter("label"),l=o.move("[");const u=n.containerPhrasing(e,{before:l,after:"](",...o.current()});l+=o.move(u),c(),l+=o.move("](");const h=/^<|[\0- \u007F]/.test(e.url),p=r.before.charAt(r.before.length-1);let f=e.title||void 0;if(!(f||h||"\n"!==p&&"\r"!==p)){let e=0;for(;e<u.length&&93!==u.charCodeAt(e);)e+=92===u.charCodeAt(e)?2:1;58===u.charCodeAt(e+1)&&(f="")}return!e.url&&"string"==typeof f||h?(c=n.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(n.safe(e.url,{before:l,after:">",...o.current()})),l+=o.move(">")):(c=n.enter("destinationRaw"),l+=o.move(n.safe(e.url,{before:l,after:"string"==typeof f?" ":")",...o.current()}))),c(),"string"==typeof f&&(c=n.enter(`title${s}`),l+=o.move(" "+i),l+=o.move(n.safe(f,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(")"),a(),l}function ks(e,t,n,r){const i=e.referenceType,s=n.enter("linkReference");let o=n.enter("label");const a=n.createTracker(r);let c=a.move("[");const l=n.containerPhrasing(e,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),o();const u=n.stack;n.stack=u.filter(function(e){return"phrasing"!==e}),o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return o(),n.stack=u,s(),"full"!==i&&l&&l===h?"shortcut"===i?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function Is(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Ss(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}fs.attention=ds,fs.peek=function(e,t,n){return n.options.emphasis||"*"},ms.peek=function(){return"<"},Es.peek=function(){return"!"},Ts.peek=function(){return"!"},gs.peek=function(){return"`"},_s.peek=function(e,t,n){return As(e,n)?"<":"["},ks.peek=function(){return"["};const Cs=Qn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Ns(e,t,n,r){const i=n.enter("phrasing"),s=cs(e,ys,n,n.createTracker(r)),o=s?ps([s],r.before,r.after):"";return i(),o}function ys(e,t){const n=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(t);return{construct:"strong",markers:"*"===n?["*","_"]:["_","*"],sizes:[2]}}Ns.attention=ys,Ns.peek=function(e,t,n){return n.options.strong||"*"};const Ds={blockquote:function(e,t,n,r){const i=n.enter("blockquote"),s=n.createTracker(r);s.move("> "),s.shift(2);const o=n.indentLines(n.containerFlow(e,s.current()),qi);return i(),o},break:Vi,code:function(e,t,n,r){const i=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),s=e.value||"";if(function(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^\n\r ]/.test(e.value)&&!/^[\t ]*(?:[\n\r]|$)|(?:^|[\n\r])[\t ]*$/.test(e.value))}(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(s,Ki);return e(),t}const o=n.createTracker(r),a=i.repeat(Math.max(Qi(s,i)+1,3)),c=n.enter("codeFenced"),l="`"===i?"GraveAccent":"Tilde";let u=o.move(a);if(e.lang){const t=n.enter(`codeFencedLang${l}`);u+=o.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...o.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${l}`);u+=o.move(" "),u+=o.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...o.current()})),t()}return u+=o.move("\n"),s&&(u+=o.move(s+"\n")),u+=o.move(a),c(),u},definition:function(e,t,n,r){const i=Xi(n),s='"'===i?"Quote":"Apostrophe",o=n.enter("definition");let a=n.enter("label");const c=n.createTracker(r);let l=c.move("[");return l+=c.move(n.safe(n.associationId(e),{before:l,after:"]",...c.current()})),l+=c.move("]: "),a(),!e.url||/^<|[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(n.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(e.url,{before:l,after:e.title?" ":"\n",...c.current()}))),a(),e.title&&(a=n.enter(`title${s}`),l+=c.move(" "+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),a()),o(),l},emphasis:fs,hardBreak:Vi,heading:function(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(function(e,t){let n=!1;return rr(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,!1}),Boolean((!e.depth||e.depth<3)&&we(e)&&(t.options.setext||n))}(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),o=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),o+"\n"+(1===i?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const o="#".repeat(i),a=n.enter("headingAtx"),c=n.enter("phrasing");s.move(o+" ");let l=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});const u=l.charCodeAt(0);return 9!==u&&32!==u||(l=es(u)+l.slice(1)),l=l?o+" "+l:o,n.options.closeAtx&&(l+=" "+o),c(),a(),l},html:ms,image:Es,imageReference:Ts,inlineCode:gs,link:_s,linkReference:ks,list:function(e,t,n,r){const i=n.enter("list"),s=n.bulletCurrent;let o=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):Is(n);const a=e.ordered?"."===o?")":".":function(e){const t=Is(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let c=!(!t||!n.bulletLastUsed)&&o===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(c=!0),Ss(n)===o&&t){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){c=!0;break}}}}c&&(o=a),n.bulletCurrent=o;const l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=s,i(),l},listItem:function(e,t,n,r){const i=function(e){const t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let s=n.bulletCurrent||Is(n);t&&"list"===t.type&&t.ordered&&(s=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+s);let o=s.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));const a=n.createTracker(r);a.move(s+" ".repeat(o-s.length)),a.shift(o);const c=n.enter("listItem"),l=n.indentLines(n.containerFlow(e,a.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?s:s+" ".repeat(o-s.length))+e});return c(),l},paragraph:function(e,t,n,r){const i=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(e,r);return s(),i(),o},root:function(e,t,n,r){if(!e.children.some(function(e){return Cs(e)}))return n.containerFlow(e,r);const i=n.enter("phrasing"),s=n.containerPhrasing(e,r);return i(),s},strong:Ns,text:function(e,t,n,r){const i=t?t.children:[],s=n.indexStack[n.indexStack.length-1];return n.safe(e.value,{...r,afterNode:i[s+1],beforeNode:i[s-1]})},thematicBreak:function(e,t,n){const r=(Ss(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function bs(e){const t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[],position:void 0},e),this.data.inTable=!0}function Os(e){this.exit(e),this.data.inTable=void 0}function Rs(e){this.enter({type:"tableRow",children:[],position:void 0},e)}function Ls(e){this.exit(e)}function vs(e){this.enter({type:"tableCell",children:[],position:void 0},e)}function Ps(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,xs));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function xs(e,t){return"|"===t?t:e}function Ms(e){const t=e||{},{tableCellPadding:n,tablePipeAlign:r,stringLength:i}=t,s=n?" ":"|";return{handlers:{inlineCode:function(e,t,n){const r=Ds.inlineCode(e,t,n);if(!n.stack.includes("tableCell"))return r;const i=[];let s=0,o=r.indexOf("|");for(;-1!==o;){let e=o;for(;e>s&&92===r.charCodeAt(e-1);)e--;i.push(r.slice(s,o)),(o-e)%2==0&&i.push("\\"),s=o,o=r.indexOf("|",o+1)}return i.push(r.slice(s)),i.join("")},table:function(e,t,n,r){const i=function(e,t,n){const{children:r}=e;let i=-1;const s=[],o=t.enter("table");for(;++i<r.length;)s[i]=c(r[i],t,n);return o(),s}(e,n,r),s=i[0];if(s){let t=e.align?e.align.length:0,n=-1;if(!t)for(;++n<i.length;)i[n].length>t&&(t=i[n].length);for(;s.length<t;)s.push("")}return a(i,e.align)},tableCell:o,tableRow:function(e,t,n,r){const i=a([c(e,n,r)]);return i.slice(0,i.indexOf("\n"))}},join:[ws],unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}]};function o(e,t,n,r){const i=n.enter("tableCell"),o=n.enter("phrasing"),a=n.containerPhrasing(e,{...r,before:s,after:s});return o(),i(),a}function a(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||Gi,s=[],o=[],a=[],c=[];let l=0,u=-1;for(;++u<e.length;){const t=[],r=[];let s=-1;for(e[u].length>l&&(l=e[u].length);++s<e[u].length;){const o=Yi(e[u][s]);if(!1!==n.alignDelimiters){const e=i(o);r[s]=e,(void 0===c[s]||e>c[s])&&(c[s]=e)}t.push(o)}o[u]=t,a[u]=r}let h=-1;if("object"==typeof r&&"length"in r)for(;++h<l;)s[h]=zi(r[h]);else{const e=zi(r);for(;++h<l;)s[h]=e}h=-1;const p=[],f=[];for(;++h<l;){const e=s[h];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,c[h]-t.length-r.length);const o=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&(i=t.length+i+r.length,i>c[h]&&(c[h]=i),f[h]=i),p[h]=o}o.splice(1,0,p),a.splice(1,0,f),u=-1;const d=[];for(;++u<o.length;){const e=o[u],t=a[u],r=!1===n.fillRows?Math.max(1,o[1===u?0:u].length):l;h=-1;const i=[];for(;++h<r;){const o=e[h]||"";let a="",l="";if(!1!==n.alignDelimiters){const e=c[h]-(t[h]||0),n=s[h];if(114===n)a=" ".repeat(e);else if(99===n){const t=e/2;e%2?(a=" ".repeat(t+.5),l=" ".repeat(t-.5)):(a=" ".repeat(t),l=a)}else l=" ".repeat(e)}!1===n.delimiterStart||h||i.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===o||!1===n.delimiterStart&&!h||i.push(" "),!1!==n.alignDelimiters&&i.push(a),i.push(o),!1!==n.alignDelimiters&&i.push(l),!1!==n.padding&&i.push(" "),!1===n.delimiterEnd&&h===r-1||i.push("|")}d.push(!1===n.delimiterEnd?i.join("").replace(/ +$/,""):i.join(""))}return d.join("\n")}(e,{align:t,alignDelimiters:r,fillRows:!1,padding:n,stringLength:i})}function c(e,t,n){const{children:r}=e;let i=-1;const s=[],a=t.enter("tableRow");for(;++i<r.length;)s[i]=o(r[i],0,t,n);return a(),s}}function ws(e,t,n,r){if("table"===e.type&&"listItem"===n.type&&!1===n.spread&&("definition"===t.type||"heading"===t.type&&function(e,t){let n=!1;return rr(e,function(e){if("break"===e.type||"value"in e&&/\r?\n|\r/.test(e.value))return n=!0,!1}),Boolean((!e.depth||e.depth<3)&&we(e)&&(t.options.setext||n))}(t,r)||"paragraph"===t.type||"table"===t.type))return 1}function Fs(e){const t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function $s(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1];e.type;const n=e.children[0];if(n&&"text"===n.type){const r=t.children;let i,s=-1;for(;++s<r.length;){const e=r[s];if("paragraph"===e.type){i=e;break}}i===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={...n.position.start}))}}this.exit(e)}function Bs(e,t,n,r){if(!t||"listItem"!==t.type||Us(t)!==e)return Ds.paragraph(e,t,n,r);const i="["+(t.checked?"x":" ")+"] ",s=n.createTracker(r);return s.move(i),i+Ds.paragraph(e.children.length>0?e:{type:"paragraph",children:[{type:"text",value:" "}]},t,n,{...r,...s.current()})}function Hs(e,t,n){if("definition"!==e.type||"listItem"!==n.type)return;const r=Us(n);return r&&n.children.indexOf(e)<n.children.indexOf(r)?0:void 0}function Us(e){if("boolean"==typeof e.checked)for(const t of e.children){if("paragraph"===t.type)return t;if("definition"!==t.type)return}}const Gs={tokenize:function(e,t,n){let r=0;return function t(s){return(87===s||119===s)&&r<3?(r++,e.consume(s),t):46===s&&3===r?(e.consume(s),i):n(s)};function i(e){return null===e?n(e):t(e)}},partial:!0},Ys={tokenize:function(e,t,n){let r,i,s;return o;function o(t){return 46===t||95===t?e.check(qs,c,a)(t):null===t||rt(t)||ot(t)||45!==t&&st(t)?c(t):(s=!0,e.consume(t),o)}function a(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!s?n(e):t(e)}},partial:!0},zs={tokenize:function(e,t){let n=0,r=0;return i;function i(o){return 40===o?(n++,e.consume(o),i):41===o&&r<n?s(o):33===o||34===o||38===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||60===o||63===o||93===o||95===o||126===o?e.check(qs,t,s)(o):null===o||rt(o)||ot(o)?t(o):(e.consume(o),i)}function s(t){return 41===t&&r++,e.consume(t),i}},partial:!0},qs={tokenize:function(e,t,n){return r;function r(o){return 33===o||34===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||63===o||95===o||126===o?(e.consume(o),r):38===o?(e.consume(o),s):93===o?(e.consume(o),i):60===o||null===o||rt(o)||ot(o)?t(o):n(o)}function i(e){return null===e||40===e||91===e||rt(e)||ot(e)?t(e):r(e)}function s(e){return Qe(e)?o(e):n(e)}function o(t){return 59===t?(e.consume(t),r):Qe(t)?(e.consume(t),o):n(t)}},partial:!0},js={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return Ke(e)?n(e):t(e)}},partial:!0},Ws={name:"wwwAutolink",tokenize:function(e,t,n){const r=this;return function(t){return 87!==t&&119!==t||!Js.call(r,r.previous)||no(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Gs,e.attempt(Ys,e.attempt(zs,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Js},Vs={name:"protocolAutolink",tokenize:function(e,t,n){const r=this;let i="",s=!1;return function(t){return 72!==t&&104!==t||!Zs.call(r,r.previous)||no(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),o)};function o(t){if(Qe(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),o;if(58===t){const n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),a}return n(t)}function a(t){return 47===t?(e.consume(t),s?c:(s=!0,a)):n(t)}function c(t){return null===t||Je(t)||rt(t)||ot(t)||st(t)?n(t):e.attempt(Ys,e.attempt(zs,l),n)(t)}function l(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:Zs},Qs={name:"emailAutolink",tokenize:function(e,t,n){const r=this;let i,s;return function(t){return to(t)&&eo.call(r,r.previous)&&!no(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(t)):n(t)};function o(t){return to(t)?(e.consume(t),o):64===t?(e.consume(t),a):n(t)}function a(t){return 46===t?e.check(js,l,c)(t):45===t||95===t||Ke(t)?(s=!0,e.consume(t),a):l(t)}function c(t){return e.consume(t),i=!0,a}function l(o){return s&&i&&Qe(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(o)):n(o)}},previous:eo},Ks={};let Xs=48;for(;Xs<123;)Ks[Xs]=Qs,Xs++,58===Xs?Xs=65:91===Xs&&(Xs=97);function Js(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||rt(e)}function Zs(e){return!Qe(e)}function eo(e){return!(47===e||to(e))}function to(e){return 43===e||45===e||46===e||95===e||Ke(e)}function no(e){let t=e.length,n=!1;for(;t--;){const 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}Ks[43]=Qs,Ks[45]=Qs,Ks[46]=Qs,Ks[95]=Qs,Ks[72]=[Qs,Vs],Ks[104]=[Qs,Vs],Ks[87]=[Qs,Ws],Ks[119]=[Qs,Ws];const ro={tokenize:function(e,t,n){const r=this;return ct(e,function(e){const 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 io(e,t,n){const r=this;let i=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const e=r.events[i][1];if("labelImage"===e.type){o=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!o||!o._balanced)return n(i);const a=xt(r.sliceSerialize({start:o.end,end:r.now()}));return 94===a.codePointAt(0)&&s.includes(a.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function so(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},c=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",s,t],["exit",s,t],["enter",o,t],["enter",a,t],["exit",a,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...c),e}function oo(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,o=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),a};function a(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(a){if(o>999||93===a&&!s||null===a||91===a||rt(a))return n(a);if(93===a){e.exit("chunkString");const s=e.exit("gfmFootnoteCallString");return i.includes(xt(r.sliceSerialize(s)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return rt(a)||(s=!0),o++,e.consume(a),92===a?l:c}function l(t){return 91===t||92===t||93===t?(e.consume(t),o++,c):c(t)}}function ao(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,o,a=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",l):n(t)}function l(t){if(a>999||93===t&&!o||null===t||91===t||rt(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return s=xt(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return rt(t)||(o=!0),a++,e.consume(t),92===t?u:l}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i.includes(s)||i.push(s),ct(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function co(e,t,n){return e.check(mt,t,e.attempt(ro,t,n))}function lo(e){e.exit("gfmFootnoteDefinition")}function uo(e){let t=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:function(e,n,r){const i=this.previous,s=this.events;let o=0;return function(t){return 126===i&&"characterEscape"!==s[s.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),a(t))};function a(s){const c=sn(i);if(126===s)return o>1?r(s):(e.consume(s),o++,a);if(o<2&&!t)return r(s);const l=e.exit("strikethroughSequenceTemporary"),u=sn(s);return l._open=!u||2===u&&Boolean(c),l._close=!c||2===c&&Boolean(u),n(s)}},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";const i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},s={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",s,t]],a=t.parser.constructs.insideSpan.null;a&&Be(o,o.length,0,Jt(a,e.slice(r+1,n),t)),Be(o,o.length,0,[["exit",s,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),Be(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class ho{constructor(){this.map=[],this.index=new Map}add(e,t,n){!function(e,t,n,r){if(0===n&&0===r.length)return;const i=e.index.get(t);if(i)return i[1]+=n,void i[2].push(...r);const s=[t,n,r];e.map.push(s),e.index.set(t,s)}(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;const 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(const t of r)e.push(t);r=n.pop()}this.map.length=0,this.index.clear()}}function po(e,t){let n=!1;const r=[];for(;t<e.length;){const 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){const 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}function fo(e,t,n){const r=this;let i,s=0,o=0;return function(e){let t=r.events.length-1;for(;t>-1;){const{type:e}=r.events[t][1];if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const i=t>-1?r.events[t][1].type:null,s="tableHead"===i||"tableRow"===i?_:a;return s===_&&r.parser.lazy[r.now().line]?n(e):s(e)};function a(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(i=!0,o+=1),c(e)}(t)}function c(t){return null===t?n(t):nt(t)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):it(t)?ct(e,c,"whitespace")(t):(o+=1,i&&(i=!1,s+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),i=!0,c):(e.enter("data"),l(t)))}function l(t){return null===t||124===t||rt(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?u:l)}function u(t){return 92===t||124===t?(e.consume(t),l):l(t)}function h(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),i=!1,it(t)?ct(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?d(t):124===t?(i=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):A(t)}function f(t){return it(t)?ct(e,d,"whitespace")(t):d(t)}function d(t){return 58===t?(o+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(o+=1,m(t)):null===t||nt(t)?g(t):A(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),E(t)):A(t)}function E(t){return 45===t?(e.consume(t),E):58===t?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(t))}function T(t){return it(t)?ct(e,g,"whitespace")(t):g(t)}function g(n){return 124===n?p(n):(null===n||nt(n))&&i&&s===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):A(n)}function A(e){return n(e)}function _(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||nt(n)?(e.exit("tableRow"),t(n)):it(n)?ct(e,k,"whitespace")(n):(e.enter("data"),I(n))}function I(t){return null===t||124===t||rt(t)?(e.exit("data"),k(t)):(e.consume(t),92===t?S:I)}function S(t){return 92===t||124===t?(e.consume(t),I):I(t)}}function mo(e,t){let n,r,i,s=-1,o=!0,a=0,c=[0,0,0,0],l=[0,0,0,0],u=!1,h=0;const p=new ho;for(;++s<e.length;){const f=e[s],d=f[1];"enter"===f[0]?"tableHead"===d.type?(u=!1,0!==h&&(To(p,t,h,n,r),r=void 0,h=0),n={type:"table",start:Object.assign({},d.start),end:Object.assign({},d.end)},p.add(s,0,[["enter",n,t]])):"tableRow"===d.type||"tableDelimiterRow"===d.type?(o=!0,i=void 0,c=[0,0,0,0],l=[0,s+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},d.start),end:Object.assign({},d.end)},p.add(s,0,[["enter",r,t]])),a="tableDelimiterRow"===d.type?2:r?3:1):!a||"data"!==d.type&&"tableDelimiterMarker"!==d.type&&"tableDelimiterFiller"!==d.type?"tableCellDivider"===d.type&&(o?o=!1:(0!==c[1]&&(l[0]=l[1],i=Eo(p,t,c,a,void 0,i)),c=l,l=[c[1],s,0,0])):(o=!1,0===l[2]&&(0!==c[1]&&(l[0]=l[1],i=Eo(p,t,c,a,void 0,i),c=[0,0,0,0]),l[2]=s)):"tableHead"===d.type?(u=!0,h=s):"tableRow"===d.type||"tableDelimiterRow"===d.type?(h=s,0!==c[1]?(l[0]=l[1],i=Eo(p,t,c,a,s,i)):0!==l[1]&&(i=Eo(p,t,l,a,s,i)),a=0):!a||"data"!==d.type&&"tableDelimiterMarker"!==d.type&&"tableDelimiterFiller"!==d.type||(l[3]=s)}for(0!==h&&To(p,t,h,n,r),p.consume(t.events),s=-1;++s<t.events.length;){const e=t.events[s];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=po(t.events,s))}return e}function Eo(e,t,n,r,i,s){const o=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(s.end=Object.assign({},go(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const a=go(t.events,n[1]);if(s={type:o,start:Object.assign({},a),end:Object.assign({},a)},e.add(n[1],0,[["enter",s,t]]),0!==n[2]){const i=go(t.events,n[2]),s=go(t.events,n[3]),o={type:"tableContent",start:Object.assign({},i),end:Object.assign({},s)};if(e.add(n[2],0,[["enter",o,t]]),2!==r){const 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){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==i&&(s.end=Object.assign({},go(t.events,i)),e.add(i,0,[["exit",s,t]]),s=void 0),s}function To(e,t,n,r,i){const s=[],o=go(t.events,n);i&&(i.end=Object.assign({},o),s.push(["exit",i,t])),r.end=Object.assign({},o),s.push(["exit",r,t]),e.add(n+1,0,s)}function go(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const Ao={name:"tasklistCheck",tokenize:function(e,t,n){const 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 rt(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),s):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),s):n(t)}function s(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(t)}function o(r){return nt(r)?t(r):it(r)?e.check({tokenize:_o},t,n)(r):n(r)}}};function _o(e,t,n){return ct(e,function(e){return null===e?n(e):t(e)},"whitespace")}const ko={},Io={tokenize:function(e,t,n){const r=this,i=r.events[r.events.length-1],s=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0;let o=0;return function(t){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),a(t)};function a(t){return 36===t?(e.consume(t),o++,a):o<2?n(t):(e.exit("mathFlowFenceSequence"),ct(e,c,"whitespace")(t))}function c(t){return null===t||nt(t)?u(t):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),l(t))}function l(t){return null===t||nt(t)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),u(t)):36===t?n(t):(e.consume(t),l)}function u(n){return e.exit("mathFlowFence"),r.interrupt?t(n):e.attempt(So,h,m)(n)}function h(t){return e.attempt({tokenize:E,partial:!0},m,p)(t)}function p(t){return(s?ct(e,f,"linePrefix",s+1):f)(t)}function f(t){return null===t?m(t):nt(t)?e.attempt(So,h,m)(t):(e.enter("mathFlowValue"),d(t))}function d(t){return null===t||nt(t)?(e.exit("mathFlowValue"),f(t)):(e.consume(t),d)}function m(n){return e.exit("mathFlow"),t(n)}function E(e,t,n){let i=0;return ct(e,function(t){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),s(t)},"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function s(t){return 36===t?(i++,e.consume(t),s):i<o?n(t):(e.exit("mathFlowFenceSequence"),ct(e,a,"whitespace")(t))}function a(r){return null===r||nt(r)?(e.exit("mathFlowFence"),t(r)):n(r)}}},concrete:!0,name:"mathFlow"},So={tokenize:function(e,t,n){const r=this;return function(n){return null===n?t(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};function Co(e){let t=(e||{}).singleDollarTextMath;return null==t&&(t=!0),{tokenize:function(e,n,r){let i,s,o=0;return function(t){return e.enter("mathText"),e.enter("mathTextSequence"),a(t)};function a(n){return 36===n?(e.consume(n),o++,a):o<2&&!t?r(n):(e.exit("mathTextSequence"),c(n))}function c(t){return null===t?r(t):36===t?(s=e.enter("mathTextSequence"),i=0,u(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),c):nt(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),c):(e.enter("mathTextData"),l(t))}function l(t){return null===t||32===t||36===t||nt(t)?(e.exit("mathTextData"),c(t)):(e.consume(t),l)}function u(t){return 36===t?(e.consume(t),i++,u):i===o?(e.exit("mathTextSequence"),e.exit("mathText"),n(t)):(s.type="mathTextData",l(t))}},resolve:No,previous:yo,name:"mathText"}}function No(e){let t,n,r=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=i;++t<r;)if("mathTextData"===e[t][1].type){e[r][1].type="mathTextPadding",e[i][1].type="mathTextPadding",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="mathTextData",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}function yo(e){return 36!==e||"characterEscape"===this.events[this.events.length-1][1].type}var Do={};const bo=/[#.]/g;function Oo(e,t,n){const r=n?function(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,i,...s){let o;if(null==n){o={type:"root",children:[]};const e=i;s.unshift(e)}else{o=function(e,t){const n=e||"",r={};let i,s,o=0;for(;o<n.length;){bo.lastIndex=o;const e=bo.exec(n),t=n.slice(o,e?e.index:n.length);t&&(i?"#"===i?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:s=t,o+=t.length),e&&(i=e[0],o++)}return{type:"element",tagName:s||t||"div",properties:r,children:[]}}(n,t);const a=o.tagName.toLowerCase(),c=r?r.get(a):void 0;if(o.tagName=c||a,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;const t=e,n=Object.keys(e);for(const e of n){const n=t[e];if(n&&"object"==typeof n){if(!Array.isArray(n))return!0;const e=n;for(const t of e)if("number"!=typeof t&&"string"!=typeof t)return!0}}return!(!("children"in e)||!Array.isArray(e.children))}(i))s.unshift(i);else for(const[t,n]of Object.entries(i))Ro(e,o.properties,t,n)}for(const e of s)Lo(o.children,e);return"element"===o.type&&"template"===o.tagName&&"html"===e.space&&(o.content={type:"root",children:o.children},o.children=[]),o}}function Ro(e,t,n,r){if(null==r)return;const i=Q(e,n);let s;if("number"==typeof r){if(Number.isNaN(r))return;s=r}else s="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?Z(r):i.commaSeparated?h(r):i.commaOrSpaceSeparated?Z(h(r).join(" ")):vo(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(s)){const e=[];for(const t of s)e.push(vo(i,i.property,t));s=e}if("className"===i.property&&Array.isArray(t.className)){const e=s;s=[...t.className,...Array.isArray(e)?e:[e]]}t[i.property]=s}function Lo(e,t){if(null==t);else if("number"==typeof t||"string"==typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)Lo(e,n);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?Lo(e,t.children):e.push(t)}}function vo(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||k(n)===k(t)))return!0}return n}const Po=Oo(z,"div"),xo=Oo(q,"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"]),Mo={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/"},wo={}.hasOwnProperty,Fo=Object.prototype;function $o(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Ho(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={type:"root",children:Bo(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const t=String(e.file),r=function(e){var t=String(e),n=[],r=-1,i=-1;return{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&e.column>0){for(;n.length<e.line&&(null!==(r=n.at(-1))&&void 0!==r?r:0)<=t.length;){var r;s()}var i=(e.line>1?n[e.line-2]:0)+e.column-1;if(i<n[e.line-1])return i}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){for(;(null!==(r=n.at(-1))&&void 0!==r?r:0)<=e;){var r;s()}for(var i=0,o=n.length-1;i<o;){var a=Math.floor((i+o)/2);n[a]>e?o=a:i=a+1}return{line:i+1,column:e-(i>0?n[i-1]:0)+1,offset:e}}}};function s(){var e,s=null!==(e=n.at(-1))&&void 0!==e?e:0;r<s&&-1===(r=t.indexOf("\r",s))&&(r=1/0),i<s&&-1===(i=t.indexOf("\n",s))&&(i=1/0);var o=r+1===i?i:Math.min(r,i);n.push((o===1/0?t.length:o)+1)}}(t),i=r.toPoint(0),s=r.toPoint(t.length);n.position={start:i,end:s}}return n}case"#documentType":return n={type:"doctype"},Ho(e,t,n),n;case"#text":{const r=t;return n={type:"text",value:r.value},Ho(e,r,n),n}default:return n=function(e,t){const{schema:n}=e;e.schema=t.namespaceURI===Mo.svg?q:z;let r=-1;const i={};for(;++r<t.attrs.length;){const e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;wo.call(Fo,n)||(i[n]=e.value)}const s=("svg"===e.schema.space?xo:Po)(t.tagName,i,Bo(e,t.childNodes));if(Ho(e,t,s),"template"===s.tagName)if(t.namespaceURI===Mo.html){const n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&Uo(r.startTag),o=r&&r.endTag&&Uo(r.endTag),a=$o(e,n.content);i&&o&&e.file&&(a.position={start:i.end,end:o.start}),s.content=a}else s.content&&(s.children=s.content.children,delete s.content);return e.schema=n,s}(e,t),n}}function Bo(e,t){let n=-1;const r=[];for(;++n<t.length;){const i=$o(e,t[n]);r.push(i)}return r}function Ho(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=function(e,t,n){const r=Uo(n);if("element"===t.type){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const r={};let i;if(n.attrs)for(i in n.attrs)wo.call(n.attrs,i)&&(r[Q(e.schema,i).property]=Uo(n.attrs[i]));n.startTag;const s=Uo(n.startTag),o=n.endTag?Uo(n.endTag):void 0,a={opening:s};o&&(a.closing=o),a.properties=r,t.data={position:a}}}return r}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Uo(e){const t=Go({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Go({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Go(e){return e.line&&e.column?e:void 0}const Yo={}.hasOwnProperty;function zo(e,t){const n=t||{};function r(t,...n){let i=r.invalid;const s=r.handlers;if(t&&Yo.call(t,e)){const n=String(t[e]);i=Yo.call(s,n)?s[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}const qo={},jo={}.hasOwnProperty,Wo=zo("type",{handlers:{root:function(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Qo(e.children,n,t),Ko(e,n),n},element:function(e,t){const n=t;let r=n;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=q);const i=[];let s;if(e.properties)for(s in e.properties)if("children"!==s&&jo.call(e.properties,s)){const t=Vo(r,s,e.properties[s]);t&&i.push(t)}const o=r.space,a={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:Mo[o],childNodes:[],parentNode:null};return a.childNodes=Qo(e.children,a,r),Ko(e,a),"template"===e.tagName&&e.content&&(a.content=function(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Qo(e.children,n,t),Ko(e,n),n}(e.content,r)),a},text:function(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Ko(e,t),t},comment:function(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Ko(e,t),t},doctype:function(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Ko(e,t),t}}});function Vo(e,t,n){const r=Q(e,t);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?p(n):ee(n));const i={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){const e=i.name.indexOf(":");e<0?i.prefix="":(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=Mo[r.space]}return i}function Qo(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const s=Wo(e[r],n);s.parentNode=t,i.push(s)}return i}function Ko(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Xo=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Jo=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]);var Zo;!function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"}(Zo||(Zo={}));const ea="[CDATA[",ta="doctype",na="script";function ra(e){return e>=55296&&e<=57343}function ia(e){return e>=56320&&e<=57343}function sa(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function oa(e){return e>=64976&&e<=65007||Jo.has(e)}var aa,ca;!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(aa||(aa={}));class la{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 codePointStart(){return this.pos-Number(this.lastGapPos===this.pos)}get offset(){return this.droppedBufferSize+this.codePointStart}getError(e,t){const{line:n,col:r,offset:i}=this,s=r+t,o=i+t;return{code:e,startLine:n,endLine:n,startCol:s,endCol:s,startOffset:o,endOffset:o}}_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){const t=this.html.charCodeAt(this.pos+1);if(!ia(e)&&ia(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Zo.EOF;return this._err(aa.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(e=0){if(this.willDropParsedChunk()){const t=this.offset-this.droppedBufferSize-e;this.html=this.html.substring(t),this.lineStartPos-=t,this.droppedBufferSize+=t,this.pos-=t,this.lastGapPos=-2,this.gapStack.length=0,this.pos>e&&this._addGap()}}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){const t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Zo.EOF;const n=this.html.charCodeAt(t);return n===Zo.CARRIAGE_RETURN?Zo.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,Zo.EOF;let e=this.html.charCodeAt(this.pos);return e===Zo.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Zo.LINE_FEED):e===Zo.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ra(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===Zo.LINE_FEED||e===Zo.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){sa(e)?this._err(aa.controlCharacterInInputStream):oa(e)&&this._err(aa.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function ua(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}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(ca||(ca={}));var ha=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function pa(e){return function(e){return 0===e||e>=55296&&e<=57343||e>1114111}(e)?65533:e>=128&&e<=159&&ha[e-128]||e}var fa=["Q=¨`p0AEligMPacutebrevecircyfrgravelphamacrndogonpfpplyFunctionringscrsigntildeumlBackslashrvwedcyecausernoullistafropfrevescrumpeqCHcyOPYacutepitalDifferentialDyleyscaronedilirconintdotedillanterDotfrhiircleDotMinusPlusTimeslockwiseContourIntegralseCurlyDoubleQuoteQuoteolonengruentinttourIntegralpfroductunterClockwiseContourIntegralrossscrupCapDDotrahdJcyScyZcyaggerrrshvcaronyeltafriacriticalAcuteDotubleAcuteGraveTildemondfferentialDopftDotEqualubleContourIntegralDotwnArrowLeftArrowRightArrowTeeongLeftArrowRightArrowRightArrowRightArrowTeeUpArrowDownArrowVerticalBarwnArrowBarUpArrowBreveLeftRightVectorTeeVectorVectorBarRightTeeVectorVectorBarTeeArrowarrowscrtrokENGTHacutecaronircydotfrgravelementmacrptySmallSquareVerySmallSquareogonpfpsilonqualTildeilibriumscrimtaumlxistsponentialEFcyfrilledSmallSquareVerySmallSquareopfrAlluriertrfscrGJcyTammadbrevecedilircydotfrgopfreaterEqualLessFullEqualGreaterLessSlantEqualTildescrtHARDcyacektcircfrilbertSpaceopfrizontalLinescrtrokumpDownHumpEqualIEcyJligOcyacutecircydotfrgravemacrginaryIpliesntegralrsectionvisibleCommaTimesogonpftascrtildeukcymlJcircyfropfscrercyukcyKHcyJcyappacedilyfropfscrLJcyTacutembdangplacetrfrrcaronedilyeftAngleBracketrrowBarRightArrowCeilingDoubleBracketwnTeeVectorVectorBarFloorRightArrowVectorTeeArrowVectorriangleBarEqualUpDownVectorTeeVectorVectorBarVectorBararrowrightarrowssEqualGreaterFullEqualGreaterLessSlantEqualTildefrleftarrowmidotongLeftArrowRightArrowRightArrowleftarrowrightarrowrightarrowpfwerLeftArrowRightArrowscrhtroktMapcyediumSpacellintrffrinusPlusopfscruNJcyacutecaronedilyegativeMediumSpaceThickSpacenSpaceVeryThinSpacestedGreaterGreaterLessLesswLinefroBreaknBreakingSpacepftCongruentupCapDoubleVerticalBarElementqualTildexistsGreaterEqualFullEqualGreaterLessSlantEqualTildeHumpDownHumpEqualLeftTriangleBarEqualssEqualGreaterLessSlantEqualTildeNestedGreaterGreaterLessLessPrecedesEqualSlantEqualReverseElementightTriangleBarEqualSquareSubsetEqualpersetEqualubsetEqualcceedsEqualSlantEqualTildepersetEqualTildeEqualFullEqualTildeVerticalBarscrtildeuOEligacutecircydblacfrgravemacregaicronopfpenCurlyDoubleQuoteQuoterscrlashtildemesumlverBarraceketParenthesisPartialDcyfrhiilusMinusoincareplanepfrecedesEqualSlantEqualTildeimeoductportionalscriQUOTfropfscrRBarrEGacutengrrtlcaronedilyeverseElementquilibriumUpEquilibriumfrhoightAngleBracketrrowBarLeftArrowCeilingDoubleBracketwnTeeVectorVectorBarFloorTeeArrowVectorriangleBarEqualUpDownVectorTeeVectorVectorBarVectorBararrowopfundImpliesrightarrowscrhuleDelayedSHCHcycyOFTcyacutecaronedilircyfrhortDownArrowLeftArrowRightArrowUpArrowigmamallCircleopfqrtuareIntersectionSubsetEqualpersetEqualUnionscrtarubsetEqualcceedsEqualSlantEqualTildehThatmpersetEqualsetTHORNRADESHcycyabucaronedilyfrhereforetaickSpacenSpaceildeEqualFullEqualTildeopfripleDotscrtrokUacuterrocirbrcyevecircydblacfrgravemacrnderBarraceketParenthesisionPlusogonpfpArrowBarDownArrowDownArrowEquilibriumTeeArrowarrowdownarrowperLeftArrowRightArrowsilonringscrtildeumlVDashbarcydashleerbarticalBarLineSeparatorTildeyThinSpacefropfscrvdashWcircedgefropfscrXfriopfscrYAcyIcyUcyacutecircyfropfscrumlZHcyacutecaronydoteroWidthSpacetafropfscraacutebrevecEdircuteyeligfrgravelefsymphphamacrlgpndanddslopevgelemsdaabcdefghrtvbdsphtzarrogonpfpEacireidosproxeqringscrtympeqtildeumlwconintintbNotackcongepsilonprimesimeqrveewedgebrktbrkcongydquoecausemptyvpsirnoutahweenfrigcapircupodotplustimessqcuptartriangledownupuplusveewedgekarowlacklozengesquaretriangledownleftrightnkk12434ocknequivotopfttomwtiexDLRlrHDUduULRlrVHLRhlrboxdLRlrhDUduminusplustimesuLRlrvHLRhlrprimerevevbarscremiimeolbhsubulletmpEeqcacutepandbrcupcapupdotsretoncapsronedilircupssmdotedilmptyvnterdotfrhcyeckmarkiirEceqlearrowleftrightdRSastcircdashefnintmidscirlubsuitoloneqmmatpfnlementxesngdotintpfrodysrrarrossscrubepetdotudarrlreprsclarrppbrcapcapupdotorsrarrmlyeqprecsuccveewedgerenvearrowleftrightveewedwconintintylctydArrHaraggerlethrrshvbkarowlaccaronydaggerrrotseqegltamptyvfishtrharlriamondsuitsegammasinvideontimesonxjcylcornropollarpfteqdotminusplussquareublebarwedgewnarrowdownarrowsharpoonleftrightrbkarowcornropscryoltroktdotrifuarrharwanglezcyigrarreDDototacutestercaronircolonydotefDotrgravesdotlinterslsdotmacrptysetvsp134ngspogonpfparsllussilonvqcircolonsimlantgtrlessualsestivDDvparslrDotarrscrdotimtahumlroxclistpectationonentialefallingdotseqcyemalefiligligligriligjliglatligtnsnofopfrallkvpartintrac123456823534584556878slownscrgElacutemmadpbrevecircydotelqqslantsccdotollesfrggimeljcylEajnEapproxeqqsimopfravescrimeltccirdotlParquestrapproxrrdoteqlessqlesslesssimvertneqqnEhArrairsplfmiltrdcyrcirwbarcirceartsuitlliprconfrksearowwarowoarrmthtokleftarrowrightarrowpfrbarscrlashtrokybullpheniacutecircyecyxclffrgraveiiintntnfinotajligmacrgelinepartthofpedncarefintieodottcalegersrcallarhkprodocygonpftaprodquestscrinEdotsvvtildeukcymljcircyfrmathopfscrercyukcykappavcedilyfrgreenhcyjcyopfscrlAarrrrtailBarrEgHaracuteemptyvgranmbdangdlepquorrbfsfshklpplsimtltailesbarrbrkracekkeslducaronedililubydcaquorrdharusharsheftarrowtailharpoondownupleftarrowsrightarrowsharpoonssquigarrowthreetimesgqqslantsccdotorgessapproxdoteqgtrqgtrgtrsimfishtloorrgEhardulblkjcylarrcornerhardtrimidotoustachenEapproxeqqsimoangrrbrkngleftarrowrightarrowmapstorightarrowoparrowleftrightparflustimeswastbarzengefparltrarrcornerhardmtrisaquocrhimegqbuortroktccirdothreeimeslarrquestrPariefurdsharuharvertneqqnEmDDotacrletesepstodownleftuprkercommaydasheasuredanglefrhoicrodastcirdotnusbdulcpdrnplusodelspfpscrtposultimapmapnGgtvLeftarrowrightarrowltvRightarrowVDashdashablacutengpEidosproxturalsbspumpecapronedilongdotupydasheArrarhkrowdotquivsearimxistsfrgEeqqslantssimtrhArrarrparisdvjcylArrEarrdreftarrowrightarrowqqslantsssimtriemidopftinEdotvabcnivabcparallelsltolintrcueeceqrArrarrcwightarrowtriesccueerhortmidparallelimeqmidparqsubepeubEeseteqqcceqpEeseteqqtglildelgrianglelefteqrightequmerospvDashHarrapdashgetinfinlArretrierArrtriesimwArrarhkrownearoSacutestcircydashblacivotsoldeligfcirrgonravethbarmintlarrcirrossinetmacregaicrondnusopfparerplusrarrderoffmigoforslopevscrlasholtildemesasumlvbarparallelsimltcyercntiodmilptenkfrhivmmatoneitchforkvlanckhkvusacirbcirdouemnsimtwomointintpfundrEapcueecapproxcurlyeqeqnapproxeqqsimsimimesnEapsimodfalarlinesurfptosimurelscriuncspqfrintopfprimescruaternionsintesteqotrAarrrrtailBarrHaraceutedicemptyvngdelequorrapbfscfshklpplsimtlwtailionalsbarrbrkracekkeslducaronedililubydcaldharquorshealinepartsctgfishtloorrhardulovightarrowtailharpoondownupleftarrowsharpoonsrightarrowssquigarrowthreetimesngsingdotseqlarrharmmoustachenmidoangrrbrkparflustimespargtpolintrarrsaquocrhqbuorthreeimesriefltriuluharxsacutebquocEaproncueedilircnEapsimpolintsimydotbeeArrarhkrowctmiswartminusnxtfrownharpchcyyortmidparallelyigmafvmdoteqgElEneplusrarrlarrmallsetminusshpeparslidletesoftcylbarpfpadesuitrqcapsupssubeseteqpesetequareffrarrscretmnmiletarftarfraightepsilonphinsubEdotedotmultnEeplusrarrseteqqneqqimubpccapproxcurlyeqeqnapproxeqqsimsimmngp123EdotsubedothsolublarrmultnEeplusseteqqneqqimubpwArrarhkrownwarzligtargetubrkcaronedilydotelrecfrhere4foretasymvickapproxsimnspkapsimornildemesbardntoeapbotcirforksaprimeradeiangledownlefteqqrighteqdoteminusplussbtimepeziumscryhcytrokwixtoheadleftarrowrightarrowuArrHaracuterrbrcyevecircydarrblacharfishtrgraveharlrblklcornerroptrimacrlogonpfparrowdownarrowharpoonleftrightlussihlonuparrowsrcornerropingtriscrtdotilderifuarrmlwanglevArrBarvDashangrtrepsilonkappanothingphiiroptorhosigmaubsetneqqpsetneqqthetariangleleftrightcydasheebareqlliprbartfrltrinsubpopfproprtriscrubnEepnEezigzagwcircedbargeqierpfropfpreathscrxcapircupdtrifrhArrarrilArrarrmapnisodotpflustimerArrarrscrqcupuplustriveewedgeyacuteycircyenfricyopfscrucymlzacutecaronydoteetrftafrhcyigrarropfscrwjnjC(D%D($(D'%$$ED($'$'$%$'%E$/D'$F%'D(D&#,%%&&$%$)%+%%$E$F$'$&$(#'D&$(%$&4%($(E'%&%($&$)%*$%$%$+)()')($:&5-($'($%*&&&/%%&)%@$'$F$%&&#%%)$&$&$&$(%%%&$(%$$%&%$E$2.&0,.(.(&'%.$F%$&&&(%6)&+*),---&*/1---)-.&)*+,).%*,&,*'('2+,+)1&'1,)2&'&*('($F%'#&D%D($(E&%$$&$ED($)$'%1(2$'%E$)$'((&+$&%%$%D&$(%-#&$E$3)2$F%'%+$&#'D$$'($$($(%&%$$&$E$$$F$./'*,***'*-*($F$$#)$'%$$'$%$.$&%/$&%'$.'(#'$'$&D(D'%$$&$%D($$%&&*%($%&('+%/,($'%E%%$&$($'E%#(%$$E$F$F%'$'#'$&$'$(%$$E$F$F#'D$$(%'%%%+%%$(%'%$$2(',&,-'*'0).+)1&'('-,)'&*(*)(*/&/('/),))/&')-&'('-%1','*'''-'($E$$%+$($/+-'-',+-'-%E%/(-$&%$%'$$#&$%$-%*$E$+$F$&$$#'$($(%'%$$5+-.)+0%5)+%($E$)%1%%%$&,'(&4&*''+H'(&*-(-L-J-'-M-(&O*H&/2F2((%*(***G*M*(&W,K&+.H.-&1'/3F3(&O2(.I4('H,(().H.-.H(I.(&(+(+,+(&.$FD($$#(D(D'%$$($ED($'%&%($F$6,($$$FE'D(&&D&$)('+&'.#+$%$E$%$$$+$/%%$$%)+(+-+(%&%(&*-%$F%$C'$E$&$F#(D%$(%%%%'%$(%'%$$$%/+-*0$%$%$3)'-&-,(*(0*.,)2&(((&+(+))*0&0((/*,*)0&().&(($&%-$-$&%$$-#)%%$($($$%'%'%&%$$E$0(,(-(*$'$-$F$&%')/))/(+)1()($F$&$%&&)(%)+(+-+(&(%$%$&(+(&&C($'$'%%$%%$$(%'%$$E$+&%%K&)$'(((,(($F$+$F%'C)%%''$'&&D'%$$($ED($'$*)',&(.%&('$'%E$)*&*,%,%.%&((%(%,%/(-%%'&$'$F$(D&#($&$%$'($$%%'&$'*+'+,+(&-$E$F$F$(#($'$E$F$F#F$$$F$F#'$&$&D($'%$$E$F$F$&#'$($(%$$&$0%%$%$&$FC)$($$%D%$E&E&%$D'$$%DD($)&%%&$'&%E$$%&&&$&(&$%$&$&%&&)%*$*$*$*$*$*$*$&%(%*$&&'$&'$'%E$$%$%'%$%%%%%')%D'$F%$%&(%D(D&$*%&#'$*'*'('&*%%'&&)%$&''$'%$$'$()$%(%&%'%%&$&'$E$('&'%&''''(&('&&/.%&(&&&($($.()(+0'0'0(&%%&'$&%%&$E&G%%$F%$&&%'%&'$'$'$&$'$'$'$'$&%'$'$'$&$'$'$'$'$'$'$&&&%'$'$'$&$'$'$'$'$&(&'&(&%'$'$'$&$'$'$'$'$'$'$$($'E'$F%&%%'$%%'$''$&'%%%'$'$($#)%$&&&(&&'%&&&D%&&%$'&&E'%&%&(%$&D'%(E%'($E$&%&('%$$%&$&$'%'..()%*$*&*'*'&$&(&&&'$'(&$'($)$%&($&$'%'))&%%'&&&%E&&F$'%$'%&$F%%'$&$'$$'$))$%&&%%')$%$&(&&'%&&&%&D%')$&+*'(&((F&&.-(%&%&$*%&$(#'$&$(%'%%%%'$$)%&$(%$$$%(&%%(D%%&%($(%D$''$$&'&*''$%$%(%&%$F&)*&&$&$(&&$(%E%$&%(&&(&'&)%/%*'-'..($*%'&&$F&$%%%'$'%%'$$'%&$)$&%)#(%%D(%'$(%%G$%'%$$&$$$'%D$$E'%$&&$$%)%$%$&&$'%&(&($%%'%($$%%%$'%E$&'%%&%%'&'$$(&'%&&**'%'&&&%(%%)$'%&$&%&%%$%E$D&%%$&%&%,&,#0$%$($(%&&&%D$'$G$&%&%&$&$F%'&$'$$*D(($H$($($($'%($G%($($'%'%($'%&%%&$F#%%$$(%&($%$$($'%$$&$$%$%$&$&(%$&%&&)$*$&D'%$E$$%$$'$&$$%$%$%$$%%%''%$&$'$%&$F$'$&%%'$'$D$%%&%%&%'%(%*'%&&&)((&'&&$K%E#'$(%%%'%'&$'&'$$&$'$()&%'%'$E$*&($'%'%.'-%E%'$F%'%'$(%'C)$$E&%$$&E&$%%DD($$%'&%%'%&$'$'&%''''&%%%%&$$%'%&(&%'%$&&&(''&(&'$&%&%E%%$'D($F%%'$'&'$($'$$$%'$'E%#(%$$E$'$F$F%'$'#(($$(%$$E$($&$&$F$F#(%%%'$'$$%$$&$(%)%'%'%%'$'%%$E&%%'$(%'%'%'%'%'&'%%$&&&$'D$'%&%'($&%'&)$$(%'&%%%%$$&%&($%(&(%%$$%*,''..%'-'-1$,+,-'-%$%$&$&(%$&%&&)$*$&D'%&*'&'()''&'&$(%'%D$$%$$''$($%&$&$$%&%)%'%&$(%')'$%%%''%$&$'$%&$'&%%&%.+-')'-%.,(%&&D&&%(%'&&%$&'&$$&'%$'%)%&($%$%&$(%E%$%%'$'$%%&%($%'D$%%&%%&%'%'%'%(%'&$'$'$$*&'$K%E#(D&%%&$'&%$&&)')')%%'$(%$$'$/$E$%D'%$&&&&F&%&($($)$$&%%$($(%E$$$F%'$$%)%&#F%D&D$,(-%D%D&D$-$(%'$'%'%E%$&D&E&%&'%&(%*$D&%F(D$&&&%'%&(F%%%$$'$$%&%''$(%%F%'%'&E%')$$E$E%$&$'D'H&D%&%$&$$'%&%&$$%$&$%$$&$'%D%&%%%$&*(-&$'D'H&D'$%&%$&%($$&$FE$&%(D(F(%)$)$&%(%)$)$$&'('E'D%(%$&&&D'$(E$'%&(D(D%,%&($$%&&&D&D%*)+%%'$($%&%&%((%%%'D'$'F*%,D&%(E&$'D'$'F*%,D$&E'%%%.0%,(1%$$%$&&&%$(%'%E%'%E&D%(%'&D&D'F%'&G%F$'%''$(%%'#%D(%%$&G$%$$'%'%%%%%'$'$'%D$&E'%$$'%$$&$'%&&'%&%$$'%&%(&$&&$F$&%&%&$$%&%$&%(%F$F$%'%%%(%$$&E'%%D(&&)%D&$'#&F$''&&'$&$$%$(&&&&&$&'$E$%&$%'%&$$%*%$$()$'%%%'''$'&'%($'$G%'&'&$$$*%EE&$$%$%%%&%$&$')'*'%'*(&(&'&%&($%%&%&&%%&(''''&$'%%&%'$F%$$(#F$&$F$($F$-'&%&(%E%#(%%%'$'$&$F&&%&%)%%'$'$'%E&%%'%'$(%'$'%'%'%'%'&'%'$%'&%('$'%&%'($&%'&)$$(%'&%%%%$$&%(%&($%%$&'&'''$%%E$$(%'%D$''$($%$&$$,-'(./%(-,+(.(-(-%%%-$'%&%$$()'$'$'&%%&%&&D&&%($&'%%)$'$(%E%$%%&%($$(%'%%'$'$''$)$$#)$'$$%$%%&&%&%$&&%&%%&%&&%)%&%$$&'$'$$'%''$(%E%%%%'%)'$%%$E&&$'%'&$%)(+E$$'($($%$&&&$'$&$'$&$'$&%&'&'$'$/&&%)%%&%%$&$'D$(%$&$'%%E$()&&$$'(D&%(D%&($(&+%'$($(&+%%$&&($&$$'$F%'%'%'$&'$%0+&&%$%&$&&&$'&&'&%'$&'&'&&)%+$)&,$'%'%($%%')'*'%'*(&(&'&%$%%%$F$F$F$&$&&'&&$'&&'(%&'&'&%'$&'&&)%+$)&,$'%'%($$'%''$(%%'D'#)%$$&$(%'%$$&$($E$(('&%(&($%,(&&&%&&&E&$'E&($)%($%%$&%$&&&&&D'&%%$($'%)+'+'/%+$+(0%&&&$&(&'&%&'%)$F&$%&%'$'%1*-#'$&D(%%$'&&D'%$$'%'%&$(%DD($''$%&$()%&&%&$'E$$'%E$)%,%.,(%&%%'$'&%+$()%&&%&%&$F$'%'%%'$$'E%$)#'$&'$$'$(%+&(&*&&'$'(&$'%&('K/D(J/D&('..($%$'$%&&&%%'%'&$$E$'$G'D$F$'$'$F%G(D&F(D$)#($(&%($%'$E$F$$$$%'$F#'%&%%$'$E$'%&$$$'%&$&$&$'%E&&%'$'%&$F%'$(%&$&$(C)&$$'%$D%$E$&$F$F$&E%#)$(%$$&$(%%$E$&$)$F$F$%%%0@0000H8H40H000047P00P@001000@0B0HP@:H9T8P000LB8d@800@I0<110000QQ8400P10030005940@410020000Q02000@0200000@P0101@8000440400000000808000000000@00000000P`0000000040400@0004<000000000008000030000000000P020T400020@0@00000000000000000000000000P0000000400400000400220080000100000000000000000P000000000000P000000@00402000000000@00000000000000000000040000000000000",'Æ&ÁĂÂА𝔄ÀΑĀ⩓Ą𝔸⁡Å𝒜≔ÃÄ∖⫧⌆Б∵ℬΒ𝔅𝔹˘ℬ≎Ч©Ć⋒ⅅℭČÇĈ∰Ċ¸·ℭΧ⊙⊖⊕⊗∲”’∷⩴≡∯∮ℂ∐∳⨯𝒞⋓≍ⅅ⤑ЂЅЏ‡↡⫤ĎД∇Δ𝔇´˙˝`˜⋄ⅆ𝔻¨⃜≐∯¨⇓⇐⇔⫤⟸⟺⟹⇒⊨⇑⇕∥↓⤓⇵̑⥐⥞↽⥖⥟⇁⥗⊤↧⇓𝒟ĐŊÐÉĚÊЭĖ𝔈È∈Ē◻▫Ę𝔼Ε⩵≂⇌ℰ⩳ΗË∃ⅇФ𝔉◼▪𝔽∀ℱℱЃ>ΓϜĞĢĜГĠ𝔊⋙𝔾≥⋛≧⪢≷⩾≳𝒢≫Ъˇ^Ĥℌℋℍ─ℋĦ≎≏ЕIJЁÍÎИİℑÌℑĪⅈ⇒∬∫⋂⁣⁢Į𝕀ΙℐĨІÏĴЙ𝔍𝕁𝒥ЈЄХЌΚĶК𝔎𝕂𝒦Љ<ĹΛ⟪ℒ↞ĽĻЛ⟨←⇤⇆⌈⟦⥡⇃⥙⌊↔⥎⊣↤⥚⊲⧏⊴⥑⥠↿⥘↼⥒⇐⇔⋚≦≶⪡⩽≲𝔏⋘⇚Ŀ⟵⟷⟶⟸⟺⟹𝕃↙↘ℒ↰Ł≪⤅М ℳ𝔐∓𝕄ℳΜЊŃŇŅН​​​​≫≪\n𝔑⁠ ℕ⫬≢≭∦∉≠≂̸∄≯≱≧̸≫̸≹⩾̸≵≎̸≏̸⋪⧏̸⋬≮≰≸≪̸⩽̸≴⪢̸⪡̸⊀⪯̸⋠∌⋫⧐̸⋭⊏̸⋢⊐̸⋣⊂⃒⊈⊁⪰̸⋡≿̸⊃⃒⊉≁≄≇≉∤𝒩ÑΝŒÓÔОŐ𝔒ÒŌΩΟ𝕆“‘⩔𝒪ØÕ⨷Ö‾⏞⎴⏜∂П𝔓ΦΠ±ℌℙ⪻≺⪯≼≾″∏∷∝𝒫Ψ"𝔔ℚ𝒬⤐®Ŕ⟫↠⤖ŘŖРℜ∋⇋⥯ℜΡ⟩→⇥⇄⌉⟧⥝⇂⥕⌋⊢↦⥛⊳⧐⊵⥏⥜↾⥔⇀⥓⇒ℝ⥰⇛ℛ↱⧴ЩШЬŚ⪼ŠŞŜС𝔖↓←→↑Σ∘𝕊√□⊓⊏⊑⊐⊒⊔𝒮⋆⋐⋐⊆≻⪰≽≿∋∑⋑⊃⊇⋑Þ™ЋЦ\tΤŤŢТ𝔗∴Θ   ∼≃≅≈𝕋⃛𝒯ŦÚ↟⥉ЎŬÛУŰ𝔘ÙŪ_⏟⎵⏝⋃⊎Ų𝕌↑⤒⇅↕⥮⊥↥⇑⇕↖↗ϒΥŮ𝒰ŨÜ⊫⫫В⊩⫦⋁‖‖∣|❘≀ 𝔙𝕍𝒱⊪Ŵ⋀𝔚𝕎𝒲𝔛Ξ𝕏𝒳ЯЇЮÝŶЫ𝔜𝕐𝒴ŸЖŹŽЗŻ​Ζℨℤ𝒵áă∾∾̳∿â´аæ⁡𝔞àℵℵαā⨿&∧⩕⩜⩘⩚∠⦤∠∡⦨⦩⦪⦫⦬⦭⦮⦯∟⊾⦝∢Å⍼ą𝕒≈⩰⩯≊≋\'≈≊å𝒶*≈≍ãä∳⨑⫭≌϶‵∽⋍⊽⌅⌅⎵⎶≌б„∵∵⦰϶ℬβℶ≬𝔟⋂◯⋃⨀⨁⨂⨆★▽△⨄⋁⋀⤍⧫▪▴▾◂▸␣▒░▓█=⃥≡⃥⌐𝕓⊥⊥⋈╗╔╖╓═╦╩╤╧╝╚╜╙║╬╣╠╫╢╟⧉╕╒┐┌─╥╨┬┴⊟⊞⊠╛╘┘└│╪╡╞┼┤├‵˘¦𝒷⁏∽⋍\\⧅⟈••≎⪮≏≏ć∩⩄⩉⩋⩇⩀∩︀⁁ˇ⩍čçĉ⩌⩐ċ¸⦲¢·𝔠ч✓✓χ○⧃ˆ≗↺↻®Ⓢ⊛⊚⊝≗⨐⫯⧂♣♣:≔≔,@∁∘∁ℂ≅⩭∮𝕔∐©℗↵✗𝒸⫏⫑⫐⫒⋯⤸⤵⋞⋟↶⤽∪⩈⩆⩊⊍⩅∪︀↷⤼⋞⋟⋎⋏¤↶↷⋎⋏∲∱⌭⇓⥥†ℸ↓‐⊣⤏˝ďдⅆ‡⇊⩷°δ⦱⥿𝔡⇃⇂⋄⋄♦♦¨ϝ⋲÷÷⋇⋇ђ⌞⌍$𝕕˙≐≑∸∔⊡⌆↓⇊⇃⇂⤐⌟⌌𝒹ѕ⧶đ⋱▿▾⇵⥯⦦џ⟿⩷≑é⩮ě≖ê≕эėⅇ≒𝔢⪚è⪖⪘⪙⏧ℓ⪕⪗ē∅∅∅   ŋ ę𝕖⋕⧣⩱εεϵ≖≕≂⪖⪕=≟≡⩸⧥≓⥱ℯ≐≂ηðë€!∃ℰⅇ≒ф♀ffiffffl𝔣fifj♭fl▱ƒ𝕗∀⋔⫙⨍½⅓¼⅕⅙⅛⅔⅖¾⅗⅜⅘⅚⅝⅞⁄⌢𝒻≧⪌ǵγϝ⪆ğĝгġ≥⋛≥≧⩾⩾⪩⪀⪂⪄⋛︀⪔𝔤≫⋙ℷѓ≷⪒⪥⪤≩⪊⪊⪈⪈≩⋧𝕘`ℊ≳⪎⪐>⪧⩺⋗⦕⩼⪆⥸⋗⋛⪌≷≳≩︀≩︀⇔ ½ℋъ↔⥈↭ℏĥ♥♥…⊹𝔥⤥⤦⇿∻↩↪𝕙―𝒽ℏħ⁃‐í⁣îие¡⇔𝔦ìⅈ⨌∭⧜℩ijīℑℐℑı⊷Ƶ∈℅∞⧝ı∫⊺ℤ⊺⨗⨼ёį𝕚ι⨼¿𝒾∈⋹⋵⋴⋳∈⁢ĩіïĵй𝔧ȷ𝕛𝒿јєκϰķк𝔨ĸхќ𝕜𝓀⇚⇐⤛⤎≦⪋⥢ĺ⦴ℒλ⟨⦑⟨⪅«←⇤⤟⤝↩↫⤹⥳↢⪫⤙⪭⪭︀⤌❲{[⦋⦏⦍ľļ⌈{л⤶“„⥧⥋↲≤←↢↽↼⇇↔⇆⇋↭⋋⋚≤≦⩽⩽⪨⩿⪁⪃⋚︀⪓⪅⋖⋚⪋≶≲⥼⌊𝔩≶⪑↽↼⥪▄љ≪⇇⌞⥫◺ŀ⎰⎰≨⪉⪉⪇⪇≨⋦⟬⇽⟦⟵⟷⟼⟶↫↬⦅𝕝⨭⨴∗_◊◊⧫(⦓⇆⌟⇋⥭‎⊿‹𝓁↰≲⪍⪏[‘‚ł<⪦⩹⋖⋋⋉⥶⩻⦖◃⊴◂⥊⥦≨︀≨︀∺¯♂✠✠↦↦↧↤↥▮⨩м—∡𝔪℧µ∣*⫰·−⊟∸⨪⫛…∓⊧𝕞∓𝓂∾μ⊸⊸⋙̸≫⃒≫̸⇍⇎⋘̸≪⃒≪̸⇏⊯⊮∇ń∠⃒≉⩰̸≋̸ʼn≉♮♮ℕ ≎̸≏̸⩃ňņ≇⩭̸⩂н–≠⇗⤤↗↗≐̸≢⤨≂̸∄∄𝔫≧̸≱≱≧̸⩾̸⩾̸≵≯≯⇎↮⫲∋⋼⋺∋њ⇍≦̸↚‥≰↚↮≰≦̸⩽̸⩽̸≮≴≮⋪⋬∤𝕟¬∉⋹̸⋵̸∉⋷⋶∌∌⋾⋽∦∦⫽⃥∂̸⨔⊀⋠⪯̸⊀⪯̸⇏↛⤳̸↝̸↛⋫⋭⊁⋡⪰̸𝓃∤∦≁≄≄∤∦⋢⋣⊄⫅̸⊈⊂⃒⊈⫅̸⊁⪰̸⊅⫆̸⊉⊃⃒⊉⫆̸≹ñ≸⋪⋬⋫⋭ν#№ ⊭⤄≍⃒⊬≥⃒>⃒⧞⤂≤⃒<⃒⊴⃒⤃⊵⃒∼⃒⇖⤣↖↖⤧Ⓢó⊛⊚ôо⊝ő⨸⊙⦼œ⦿𝔬˛ò⧁⦵Ω∮↺⦾⦻‾⧀ōωο⦶⊖𝕠⦷⦹⊕∨↻⩝ℴℴªº⊶⩖⩗⩛ℴø⊘õ⊗⨶ö⌽∥¶∥⫳⫽∂п%.‰⊥‱𝔭φϕℳ☎π⋔ϖℏℎℏ+⨣⊞⨢∔⨥⩲±⨦⨧±⨕𝕡£≺⪳⪷≼⪯≺⪷≼⪯⪹⪵⋨≾′ℙ⪵⪹⋨∏⌮⌒⌓∝∝≾⊰𝓅ψ 𝔮⨌𝕢⁗𝓆ℍ⨖?≟"⇛⇒⤜⤏⥤∽̱ŕ√⦳⟩⦒⦥⟩»→⥵⇥⤠⤳⤞↪↬⥅⥴↣↝⤚∶ℚ⤍❳}]⦌⦎⦐řŗ⌉}р⤷⥩””↳ℜℛℜℝ▭®⥽⌋𝔯⇁⇀⥬ρϱ→↣⇁⇀⇄⇌⇉↝⋌˚≓⇄⇌‏⎱⎱⫮⟭⇾⟧⦆𝕣⨮⨵)⦔⨒⇉›𝓇↱]’’⋌⋊▹⊵▸⧎⥨℞ś‚≻⪴⪸š≽⪰şŝ⪶⪺⋩⨓≿с⋅⊡⩦⇘⤥↘↘§;⤩∖∖✶𝔰⌢♯щш∣∥­σςς∼⩪≃≃⪞⪠⪝⪟≆⨤⥲←∖⨳⧤∣⌣⪪⪬⪬︀ь/⧄⌿𝕤♠♠∥⊓⊓︀⊔⊔︀⊏⊑⊏⊑⊐⊒⊐⊒□□▪▪→𝓈∖⌣⋆☆★ϵϕ¯⊂⫅⪽⊆⫃⫁⫋⊊⪿⥹⊂⊆⫅⊊⫋⫇⫕⫓≻⪸≽⪰⪺⪶⋩≿∑♪⊃¹²³⫆⪾⫘⊇⫄⟉⫗⥻⫂⫌⊋⫀⊃⊇⫆⊋⫌⫈⫔⫖⇙⤦↙↙⤪ß⌖τ⎴ťţт⃛⌕𝔱∴∴θϑϑ≈∼ ≈∼þ˜×⊠⨱⨰∭⤨⊤⌶⫱𝕥⫚⤩‴™▵▿◃⊴≜▹⊵◬≜⨺⨹⧍⨻⏢𝓉цћŧ≬↞↠⇑⥣ú↑ўŭûу⇅ű⥮⥾𝔲ù↿↾▀⌜⌜⌏◸ū¨ų𝕦↑↕↿↾⊎υϒυ⇈⌝⌝⌎ů◹𝓊⋰ũ▵▴⇈ü⦧⇕⫨⫩⊨⦜ϵϰ∅ϕϖ∝↕ϱς⊊︀⫋︀⊋︀⫌︀ϑ⊲⊳в⊢∨⊻≚⋮||𝔳⊲⊂⃒⊃⃒𝕧∝⊳𝓋⫋︀⊊︀⫌︀⊋︀⦚ŵ⩟∧≙℘𝔴𝕨℘≀≀𝓌⋂◯⋃▽𝔵⟺⟷ξ⟸⟵⟼⋻⨀𝕩⨁⨂⟹⟶𝓍⨆⨄△⋁⋀ýяŷы¥𝔶ї𝕪𝓎юÿźžзżℨζ𝔷ж⇝𝕫𝓏‍‌'];function da(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ma=48,Ea=2654435761,Ta=2246822507,ga=(()=>{for(var e=new Uint8Array(128),t=48;t<=57;t++)e[t]=t-47;for(var n=65;n<=90;n++)e[n]=n-54;for(var r=97;r<=122;r++)e[r]=r-60;return e})();function Aa(e,t,n){return e.charCodeAt(t)<<25|e.charCodeAt(t+1)<<18|e.charCodeAt(t+n-2)<<11|ga[e.charCodeAt(t+n-1)]<<5|n}function _a(e,t){return 1023&(3*e<<3^t)}function ka(e,t){return(Math.imul(e,Ea)>>>16)*t>>>16}function Ia(e,t){return(Math.imul(e,Ta)>>>16)*t>>>16}function Sa(e){for(var t=(v=2,function(e){if(Array.isArray(e))return e}(L=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,s,o,a=[],c=!0,l=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return a}}(L,v)||function(e,t){if(e){if("string"==typeof e)return da(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?da(e,t):void 0}}(L,v)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=t[0],r=t[1],i=n.charCodeAt(0)-ma<<6|n.charCodeAt(1)-ma,s=n.charCodeAt(2)-ma<<6|n.charCodeAt(3)-ma,o=n.charCodeAt(4)-ma<<6|n.charCodeAt(5)-ma,a=6+s,c=a+2*i,l=2*o,u=new Int32Array(l),h=new Uint16Array(l),p=new Uint16Array(l),f=new Uint32Array(1024),d=new Map,m=[],E="",T=6,g=0,A=0;A<i;A++){var _=n.charCodeAt(a+2*A)-35,k=n.charCodeAt(a+2*A+1)-35,I=31&_,S=I+(31&k),C=1+(k>>5);E=E.slice(0,I)+n.slice(T,T+S-I),T+=S-I;var N=Aa(E,0,S),y=2*(n.charCodeAt(c+Math.floor(A/6))-ma&1<<A%6?Ia:ka)(N,o);if(0!==u[y]&&(y+=1),u[y]=N,S>4){var D=E.slice(2,S-2),b=d.get(D);if(void 0===b){d.set(D,m.length),h[y]=m.length;for(var O=0;O<D.length;O+=2)m.push(D.charCodeAt(O)|D.charCodeAt(O+1)<<16)}else h[y]=b}var R=_a(E.charCodeAt(0),E.charCodeAt(1));f[R]|=S<=16?1<<S-2:32768,32&_&&(f[R]|=1<<S-2+16),p[y]=g<<2|C-1|(32&_)>>4,g+=C}var L,v;return{keys:u,buckets:o,slotMidOff:h,slotValue:p,values:r,lengthBits:f,middles:new Uint32Array(m)}}function Ca(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t;if("undefined"!=typeof Symbol&&void 0!==(t=e[Symbol.toPrimitive])){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Na;function ya(e){return function(e){return e-48>>>0<=9}(e)||(32|e)-97>>>0<=25}function Da(e){return 61===e||ya(e)}!function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(Na||(Na={}));var ba=Sa(fa),Oa=(()=>ba.keys)(),Ra=(()=>ba.buckets)(),La=(()=>ba.slotMidOff)(),va=(()=>ba.lengthBits)(),Pa=(()=>ba.middles)(),xa=(()=>ba.slotValue)(),Ma=(()=>ba.values)();function wa(e,t,n){var r=e.charCodeAt(t),i=e.charCodeAt(t+1),s=e.charCodeAt(t+n-2),o=e.charCodeAt(t+n-1);if((r|i|s|o)>127)return-1;for(var a=r<<25|i<<18|s<<11|ga[o]<<5|n,c=2*((Math.imul(a,Ea)>>>16)*Ra>>>16),l=0;;l++){if(Oa[c]===a&&(n<=4||Fa(c,e,t,n)))return c;if(Oa[c+1]===a&&(n<=4||Fa(c+1,e,t,n)))return c+1;if(1===l)return-1;c=2*((Math.imul(a,Ta)>>>16)*Ra>>>16)}}function Fa(e,t,n,r){for(var i=La[e],s=n+2,o=n+r-2;s+1<o;){if((t.charCodeAt(s)|t.charCodeAt(s+1)<<16)!==Pa[i++])return!1;s+=2}return s===o||t.charCodeAt(s)===(65535&Pa[i])}var $a,Ba,Ha,Ua,Ga,Ya=(()=>{for(var e=new Uint8Array(128).fill(255),t=0;t<10;t++)e[48+t]=t;for(var n=0;n<6;n++)e[65+n]=n+10,e[97+n]=n+10;return e})();function za(e,t,n){for(var r=va[_a(e.charCodeAt(t),e.charCodeAt(t+1))]>>>16&31;0!==r;){var i=31-Math.clz32(r);if(r^=1<<i,!(i+2>n)){var s=wa(e,t,i+2);if(s>=0&&2&xa[s])return s<<3|i+2}}return-1}class qa{constructor(e,t){Ca(this,"emitCodePoint",void 0),Ca(this,"errors",void 0),Ca(this,"state",0),Ca(this,"consumed",1),Ca(this,"result",0),Ca(this,"decodeMode",Na.Strict),Ca(this,"replaceNumericCodePoint",pa),this.emitCodePoint=e,this.errors=t}stateNumericStart(e,t){return t>=e.length?-1:120==(32|e.charCodeAt(t))?(this.state=3,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=2,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(var n=e.length,r=this.result,i=this.consumed,s=t;s<n;){var o=e.charCodeAt(s),a=Ya[o];if(!(a<=15))return this.result=r,this.consumed=i,this.emitNumericEntity(o,3);r=16*r+a,i+=1,s+=1}return this.result=r,this.consumed=i,-1}stateNumericDecimal(e,t){for(var n=e.length,r=this.result,i=this.consumed,s=t;s<n;){var o=e.charCodeAt(s)-48;if(o>>>0>9)return this.result=r,this.consumed=i,this.emitNumericEntity(o+48,2);r=10*r+o,i+=1,s+=1}return this.result=r,this.consumed=i,-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(59===e)this.consumed+=1;else if(this.decodeMode===Na.Strict)return 0;return this.emitCodePoint(this.replaceNumericCodePoint(this.result),this.consumed),this.errors&&(59!==e&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}startEntity(e){this.decodeMode=e,this.state=0,this.result=0,this.consumed=1}write(e,t){switch(this.state){case 0:return 35===e.charCodeAt(t)?(this.state=1,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=4,this.stateNamedEntity(e,t));case 1:return this.stateNumericStart(e,t);case 2:return this.stateNumericDecimal(e,t);case 3:return this.stateNumericHex(e,t);default:return this.stateNamedEntity(e,t)}}end(){switch(this.state){case 4:return this.endNamedEntity();case 2:return this.emitNumericEntity(0,2);case 3:return this.emitNumericEntity(0,3);case 1:var e;return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;default:return 0}}}class ja extends qa{constructor(){super(...arguments),Ca(this,"runLength",0),Ca(this,"nameBuffer",new Uint8Array(32))}emitSlot(e){var t=xa[e],n=t>>2;this.emitCodePoint(Ma.charCodeAt(n),this.consumed),1&t&&this.emitCodePoint(Ma.charCodeAt(n+1),this.consumed)}startEntity(e){super.startEntity(e),this.runLength=0}stateNamedEntity(e,t){var n=e.length;if(0===this.runLength&&t+17<=n){var r=_a(e.charCodeAt(t),e.charCodeAt(t+1)),i=va[r];if(32768&i&&t+32<=n){var s=function(e,t,n){var r=e.slice(t,t+32).indexOf(";");if(r-2>>>0<=29){var i=wa(e,t,r);if(i>=0)return i<<6|r+1}if(n!==Na.Strict){var s=za(e,t,Math.min(31,e.length-t));if(s>=0){var o=7&s;if(n!==Na.Attribute||t+o>=e.length||!Da(e.charCodeAt(t+o)))return s>>3<<6|o}}return-1}(e,t,this.decodeMode);if(s>=0){var o,a=63&s;return this.consumed=a+1,this.emitSlot(s>>6),59!==e.charCodeAt(t+a-1)&&(null===(o=this.errors)||void 0===o||o.missingSemicolonAfterCharacterReference()),this.consumed}return 0}for(var c=32767&i;0!==c;){var l=c&-c;c^=l;var u=33-Math.clz32(l);if(59===e.charCodeAt(t+u)){var h=wa(e,t,u);if(h>=0)return this.consumed=u+2,this.emitSlot(h),this.consumed}}if(!(32768&i)){if(this.decodeMode!==Na.Strict){var p=za(e,t,31);if(p>=0){var f,d=7&p,m=e.charCodeAt(t+d);return this.decodeMode===Na.Attribute&&Da(m)?0:(this.consumed=d+1,this.emitSlot(p>>3),null===(f=this.errors)||void 0===f||f.missingSemicolonAfterCharacterReference(),this.consumed)}}return 0}}for(var E=t,T=this.runLength,g=-1,A=Math.min(n,t+32-T);E<A;){var _=e.charCodeAt(E);if(!ya(_)){g=_;break}this.nameBuffer[T++]=_,E++}if(g<0&&T<32)return this.runLength=T,-1;if(59===g&&T-2>>>0<=29){var k=Wa(this.nameBuffer,T);if(k>=0)return this.consumed=T+2,this.emitSlot(k),this.consumed}if(this.decodeMode!==Na.Strict&&T>=2){var I=Qa(this.nameBuffer,T);if(I>=0){var S,C=7&I,N=C<T?this.nameBuffer[C]:g;return this.decodeMode===Na.Attribute&&Da(N)?0:(this.consumed=C+1,this.emitSlot(I>>3),null===(S=this.errors)||void 0===S||S.missingSemicolonAfterCharacterReference(),this.consumed)}}return 0}endNamedEntity(){var e;if(this.decodeMode===Na.Strict||this.runLength<2)return 0;var t=Qa(this.nameBuffer,this.runLength);return t<0||this.decodeMode===Na.Attribute&&(7&t)<this.runLength?0:(this.consumed=1+(7&t),this.emitSlot(t>>3),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed)}}function Wa(e,t){for(var n=e[0]<<25|e[1]<<18|e[t-2]<<11|ga[e[t-1]]<<5|t,r=2*((Math.imul(n,Ea)>>>16)*Ra>>>16),i=0;;i++){if(Oa[r]===n&&(t<=4||Va(r,e,t)))return r;if(Oa[r+1]===n&&(t<=4||Va(r+1,e,t)))return r+1;if(1===i)return-1;r=2*((Math.imul(n,Ta)>>>16)*Ra>>>16)}}function Va(e,t,n){for(var r=La[e],i=2,s=n-2;i+1<s;){if((t[i]|t[i+1]<<16)!==Pa[r++])return!1;i+=2}return i===s||t[i]===(65535&Pa[r])}function Qa(e,t){for(var n=va[_a(e[0],e[1])]>>>16&31;0!==n;){var r=31-Math.clz32(n);if(n^=1<<r,!(r+2>t)){var i=Wa(e,r+2);if(i>=0&&2&xa[i])return i<<3|r+2}}return-1}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}($a||($a={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(Ba||(Ba={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(Ha||(Ha={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(Ua||(Ua={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"}(Ga||(Ga={}));const Ka=new Map([[Ua.A,Ga.A],[Ua.ADDRESS,Ga.ADDRESS],[Ua.ANNOTATION_XML,Ga.ANNOTATION_XML],[Ua.APPLET,Ga.APPLET],[Ua.AREA,Ga.AREA],[Ua.ARTICLE,Ga.ARTICLE],[Ua.ASIDE,Ga.ASIDE],[Ua.B,Ga.B],[Ua.BASE,Ga.BASE],[Ua.BASEFONT,Ga.BASEFONT],[Ua.BGSOUND,Ga.BGSOUND],[Ua.BIG,Ga.BIG],[Ua.BLOCKQUOTE,Ga.BLOCKQUOTE],[Ua.BODY,Ga.BODY],[Ua.BR,Ga.BR],[Ua.BUTTON,Ga.BUTTON],[Ua.CAPTION,Ga.CAPTION],[Ua.CENTER,Ga.CENTER],[Ua.CODE,Ga.CODE],[Ua.COL,Ga.COL],[Ua.COLGROUP,Ga.COLGROUP],[Ua.DD,Ga.DD],[Ua.DESC,Ga.DESC],[Ua.DETAILS,Ga.DETAILS],[Ua.DIALOG,Ga.DIALOG],[Ua.DIR,Ga.DIR],[Ua.DIV,Ga.DIV],[Ua.DL,Ga.DL],[Ua.DT,Ga.DT],[Ua.EM,Ga.EM],[Ua.EMBED,Ga.EMBED],[Ua.FIELDSET,Ga.FIELDSET],[Ua.FIGCAPTION,Ga.FIGCAPTION],[Ua.FIGURE,Ga.FIGURE],[Ua.FONT,Ga.FONT],[Ua.FOOTER,Ga.FOOTER],[Ua.FOREIGN_OBJECT,Ga.FOREIGN_OBJECT],[Ua.FORM,Ga.FORM],[Ua.FRAME,Ga.FRAME],[Ua.FRAMESET,Ga.FRAMESET],[Ua.H1,Ga.H1],[Ua.H2,Ga.H2],[Ua.H3,Ga.H3],[Ua.H4,Ga.H4],[Ua.H5,Ga.H5],[Ua.H6,Ga.H6],[Ua.HEAD,Ga.HEAD],[Ua.HEADER,Ga.HEADER],[Ua.HGROUP,Ga.HGROUP],[Ua.HR,Ga.HR],[Ua.HTML,Ga.HTML],[Ua.I,Ga.I],[Ua.IMG,Ga.IMG],[Ua.IMAGE,Ga.IMAGE],[Ua.INPUT,Ga.INPUT],[Ua.IFRAME,Ga.IFRAME],[Ua.KEYGEN,Ga.KEYGEN],[Ua.LABEL,Ga.LABEL],[Ua.LI,Ga.LI],[Ua.LINK,Ga.LINK],[Ua.LISTING,Ga.LISTING],[Ua.MAIN,Ga.MAIN],[Ua.MALIGNMARK,Ga.MALIGNMARK],[Ua.MARQUEE,Ga.MARQUEE],[Ua.MATH,Ga.MATH],[Ua.MENU,Ga.MENU],[Ua.META,Ga.META],[Ua.MGLYPH,Ga.MGLYPH],[Ua.MI,Ga.MI],[Ua.MO,Ga.MO],[Ua.MN,Ga.MN],[Ua.MS,Ga.MS],[Ua.MTEXT,Ga.MTEXT],[Ua.NAV,Ga.NAV],[Ua.NOBR,Ga.NOBR],[Ua.NOFRAMES,Ga.NOFRAMES],[Ua.NOEMBED,Ga.NOEMBED],[Ua.NOSCRIPT,Ga.NOSCRIPT],[Ua.OBJECT,Ga.OBJECT],[Ua.OL,Ga.OL],[Ua.OPTGROUP,Ga.OPTGROUP],[Ua.OPTION,Ga.OPTION],[Ua.P,Ga.P],[Ua.PARAM,Ga.PARAM],[Ua.PLAINTEXT,Ga.PLAINTEXT],[Ua.PRE,Ga.PRE],[Ua.RB,Ga.RB],[Ua.RP,Ga.RP],[Ua.RT,Ga.RT],[Ua.RTC,Ga.RTC],[Ua.RUBY,Ga.RUBY],[Ua.S,Ga.S],[Ua.SCRIPT,Ga.SCRIPT],[Ua.SEARCH,Ga.SEARCH],[Ua.SECTION,Ga.SECTION],[Ua.SELECT,Ga.SELECT],[Ua.SOURCE,Ga.SOURCE],[Ua.SMALL,Ga.SMALL],[Ua.SPAN,Ga.SPAN],[Ua.STRIKE,Ga.STRIKE],[Ua.STRONG,Ga.STRONG],[Ua.STYLE,Ga.STYLE],[Ua.SUB,Ga.SUB],[Ua.SUMMARY,Ga.SUMMARY],[Ua.SUP,Ga.SUP],[Ua.TABLE,Ga.TABLE],[Ua.TBODY,Ga.TBODY],[Ua.TEMPLATE,Ga.TEMPLATE],[Ua.TEXTAREA,Ga.TEXTAREA],[Ua.TFOOT,Ga.TFOOT],[Ua.TD,Ga.TD],[Ua.TH,Ga.TH],[Ua.THEAD,Ga.THEAD],[Ua.TITLE,Ga.TITLE],[Ua.TR,Ga.TR],[Ua.TRACK,Ga.TRACK],[Ua.TT,Ga.TT],[Ua.U,Ga.U],[Ua.UL,Ga.UL],[Ua.SVG,Ga.SVG],[Ua.VAR,Ga.VAR],[Ua.WBR,Ga.WBR],[Ua.XMP,Ga.XMP]]);function Xa(e){var t;return null!==(t=Ka.get(e))&&void 0!==t?t:Ga.UNKNOWN}const Ja=Ga,Za={[$a.HTML]:new Set([Ja.ADDRESS,Ja.APPLET,Ja.AREA,Ja.ARTICLE,Ja.ASIDE,Ja.BASE,Ja.BASEFONT,Ja.BGSOUND,Ja.BLOCKQUOTE,Ja.BODY,Ja.BR,Ja.BUTTON,Ja.CAPTION,Ja.CENTER,Ja.COL,Ja.COLGROUP,Ja.DD,Ja.DETAILS,Ja.DIR,Ja.DIV,Ja.DL,Ja.DT,Ja.EMBED,Ja.FIELDSET,Ja.FIGCAPTION,Ja.FIGURE,Ja.FOOTER,Ja.FORM,Ja.FRAME,Ja.FRAMESET,Ja.H1,Ja.H2,Ja.H3,Ja.H4,Ja.H5,Ja.H6,Ja.HEAD,Ja.HEADER,Ja.HGROUP,Ja.HR,Ja.HTML,Ja.IFRAME,Ja.IMG,Ja.INPUT,Ja.LI,Ja.LINK,Ja.LISTING,Ja.MAIN,Ja.MARQUEE,Ja.MENU,Ja.META,Ja.NAV,Ja.NOEMBED,Ja.NOFRAMES,Ja.NOSCRIPT,Ja.OBJECT,Ja.OL,Ja.P,Ja.PARAM,Ja.PLAINTEXT,Ja.PRE,Ja.SCRIPT,Ja.SECTION,Ja.SELECT,Ja.SOURCE,Ja.STYLE,Ja.SUMMARY,Ja.TABLE,Ja.TBODY,Ja.TD,Ja.TEMPLATE,Ja.TEXTAREA,Ja.TFOOT,Ja.TH,Ja.THEAD,Ja.TITLE,Ja.TR,Ja.TRACK,Ja.UL,Ja.WBR,Ja.XMP]),[$a.MATHML]:new Set([Ja.MI,Ja.MO,Ja.MN,Ja.MS,Ja.MTEXT,Ja.ANNOTATION_XML]),[$a.SVG]:new Set([Ja.TITLE,Ja.FOREIGN_OBJECT,Ja.DESC]),[$a.XLINK]:new Set,[$a.XML]:new Set,[$a.XMLNS]:new Set},ec=new Set([Ja.H1,Ja.H2,Ja.H3,Ja.H4,Ja.H5,Ja.H6]);var tc;new Set([Ua.STYLE,Ua.SCRIPT,Ua.XMP,Ua.IFRAME,Ua.NOEMBED,Ua.NOFRAMES,Ua.PLAINTEXT]),function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"}(tc||(tc={}));const nc={DATA:tc.DATA,RCDATA:tc.RCDATA,RAWTEXT:tc.RAWTEXT,SCRIPT_DATA:tc.SCRIPT_DATA,PLAINTEXT:tc.PLAINTEXT,CDATA_SECTION:tc.CDATA_SECTION};function rc(e){return e>=Zo.LATIN_CAPITAL_A&&e<=Zo.LATIN_CAPITAL_Z}function ic(e){return function(e){return e>=Zo.LATIN_SMALL_A&&e<=Zo.LATIN_SMALL_Z}(e)||rc(e)}function sc(e){return ic(e)||function(e){return e>=Zo.DIGIT_0&&e<=Zo.DIGIT_9}(e)}function oc(e){return e+32}function ac(e){return e===Zo.SPACE||e===Zo.LINE_FEED||e===Zo.TABULATION||e===Zo.FORM_FEED||e===Zo.CARRIAGE_RETURN}function cc(e){return ac(e)||e===Zo.SOLIDUS||e===Zo.GREATER_THAN_SIGN}class lc{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=tc.DATA,this.returnState=tc.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.currentAttrLocation=null,this.currentAttrNames=null,this.runStart=0,this.runEnd=0,this.preprocessor=new la(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new ja((e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._isCharacterReferenceInAttribute()||this._ensureCharacterToken(ac(e)?ca.WHITESPACE_CHARACTER:e===Zo.NULL?ca.NULL_CHARACTER:ca.CHARACTER),this._extendRunWith(String.fromCodePoint(e),0),this.entityStartPos=this.preprocessor.pos-t+1},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(aa.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(aa.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{const t=function(e){return e===Zo.NULL?aa.nullCharacterReference:e>1114111?aa.characterReferenceOutsideUnicodeRange:ra(e)?aa.surrogateCharacterReference:oa(e)?aa.noncharacterCharacterReference:sa(e)||e===Zo.CARRIAGE_RETURN?aa.controlCharacterReference:null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;null===(r=(n=this.handler).onParseError)||void 0===r||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;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}flushCharacters(){var e;if(this.inLoop)throw new Error("Cannot flush characters from a tokenizer callback");const t=null===(e=this.currentCharacterToken)||void 0===e?void 0:e.location;let n=null;t&&(n=this.getCharacterTokenEndLocation(t),this.currentLocation=n),this.inLoop=!0;try{this._emitCurrentCharacterToken(n)}finally{this.inLoop=!1}this._runParsingLoop()}getCharacterTokenEndLocation(e){const t=this.getCharacterTokenEndOffset(),n=this.preprocessor.html.slice(e.startOffset-this.preprocessor.droppedBufferSize,t-this.preprocessor.droppedBufferSize);let r=e.startLine,i=-1;for(let e=n.indexOf("\n");-1!==e;e=n.indexOf("\n",e+1))r++,i=e;for(let e=n.indexOf("\r");-1!==e;e=n.indexOf("\r",e+1))n.charCodeAt(e+1)!==Zo.LINE_FEED&&(r++,i=Math.max(i,e));return{startLine:r,startCol:-1===i?e.startCol+n.length:n.length-i,startOffset:t,endLine:-1,endCol:-1,endOffset:-1}}getCharacterTokenEndOffset(){var e;const t=this.preprocessor.droppedBufferSize+this.preprocessor.pos+1,n=null===(e=this.currentToken)||void 0===e?void 0:e.location;switch(this.state){case tc.TAG_OPEN:case tc.RCDATA_LESS_THAN_SIGN:case tc.RAWTEXT_LESS_THAN_SIGN:case tc.SCRIPT_DATA_LESS_THAN_SIGN:case tc.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:case tc.CDATA_SECTION_BRACKET:return t-1;case tc.END_TAG_OPEN:case tc.MARKUP_DECLARATION_OPEN:case tc.RCDATA_END_TAG_OPEN:case tc.RCDATA_END_TAG_NAME:case tc.RAWTEXT_END_TAG_OPEN:case tc.RAWTEXT_END_TAG_NAME:case tc.SCRIPT_DATA_END_TAG_OPEN:case tc.SCRIPT_DATA_END_TAG_NAME:case tc.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:case tc.SCRIPT_DATA_ESCAPED_END_TAG_NAME:case tc.CDATA_SECTION_END:return t-2;case tc.CHARACTER_REFERENCE:return this._isCharacterReferenceInAttribute()&&n?n.startOffset:this.preprocessor.droppedBufferSize+this.entityStartPos;case tc.DOCTYPE:case tc.BEFORE_DOCTYPE_NAME:return this.currentLocation.startOffset;default:return n&&(this.state===tc.TAG_NAME||this.state>=tc.BEFORE_ATTRIBUTE_NAME&&this.state<=tc.BOGUS_COMMENT||this.state>=tc.COMMENT_START&&this.state<=tc.BOGUS_DOCTYPE)?n.startOffset:t}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new 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()}flushCurrentCharacterToken(){if(this.paused||this.active||!this.currentCharacterToken||this.currentToken||this.state===tc.DOCTYPE||this.state===tc.BEFORE_DOCTYPE_NAME||!this.preprocessor.willDropParsedChunk())return;const e=this.preprocessor.droppedBufferSize+this.preprocessor.pos+1-this.getCharacterTokenEndOffset();this.preprocessor.advance(),this.currentLocation=this.getCurrentLocation(e),this.preprocessor.retreat(1),this._emitCurrentCharacterToken(this.currentLocation),this._createCharacterToken(ca.CHARACTER),this.preprocessor.dropParsedChunk(Math.max(e-1,0)),this.entityStartPos=this.preprocessor.pos+1-e}_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._flushRun(""),this.currentToken={type:ca.START_TAG,tagName:"",tagID:Ga.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this._flushRun(""),this.currentToken={type:ca.END_TAG,tagName:"",tagID:Ga.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this._flushRun(""),this.currentToken={type:ca.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this._flushRun(""),this.currentToken={type:ca.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e){if(this.currentLocation){const e=this.currentLocation.startOffset-this.preprocessor.droppedBufferSize;"\n"===this.preprocessor.html[e]&&"\r"===this.preprocessor.html[e-1]&&this.currentLocation.startOffset++}this.currentCharacterToken={type:e,chars:"",location:this.currentLocation}}_createAttr(e){this._flushRun(""),this.currentAttr={name:e,value:""},this.currentAttrLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;const n=this.currentToken,{name:r}=this.currentAttr,i=this.currentAttrNames;let s;null===i?(s=null!==ua(n,r),s||64!==n.attrs.length||(this.currentAttrNames=new Set(n.attrs.map(e=>e.name)).add(r))):(s=i.has(r),s||i.add(r)),s?this._err(aa.duplicateAttribute):(n.attrs.push(this.currentAttr),n.location&&this.currentAttrLocation&&((null!==(e=(t=n.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentAttrLocation,this._leaveAttrValue()))}_leaveAttrValue(){this.currentAttrLocation&&(this.currentAttrLocation.endLine=this.preprocessor.line,this.currentAttrLocation.endCol=this.preprocessor.col,this.currentAttrLocation.endOffset=this.preprocessor.offset)}_flushRun(e){if(this.runEnd===this.runStart&&0===e.length)return;const t=this.preprocessor.html.slice(this.runStart,this.runEnd),n=(t.length<13?t:` ${t}`.slice(1))+e,r=this.currentToken;this.runStart=this.runEnd,null===r?this.currentCharacterToken.chars+=n:r.type===ca.COMMENT?r.data+=n:this.currentAttr.value+=n}_extendRun(e){const{preprocessor:t}=this;if(e===Zo.LINE_FEED&&t.html.charCodeAt(t.pos)!==Zo.LINE_FEED)this._flushRun("\n"),this.runStart=t.pos+1;else{const n=t.pos-Number(e>65535);n!==this.runEnd&&(this._flushRun(""),this.runStart=n)}this.runEnd=t.pos+1}_extendRunWith(e,t){const{preprocessor:n}=this,r=n.codePointStart+1+t-e.length;r>=0&&n.html.startsWith(e,r)?r!==this.runEnd&&(this._flushRun(""),this.runStart=r):(this._flushRun(e),this.runStart=r+e.length),this.runEnd=r+e.length}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(){const e=this.currentToken;this.currentAttrNames=null,this.prepareToken(e),e.tagID=Xa(e.tagName),e.type===ca.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(aa.endTagWithAttributes),e.selfClosing&&this._err(aa.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._flushRun(""),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 ca.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case ca.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case ca.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){var e,t;const n=this.getCurrentLocation(0);n&&(n.endLine=n.startLine,n.endCol=n.startCol,n.endOffset=n.startOffset),this._emitCurrentCharacterToken(null!==(t=null===(e=this.currentToken)||void 0===e?void 0:e.location)&&void 0!==t?t:n),this.handler.onEof({type:ca.EOF,location:n}),this.active=!1}_ensureCharacterToken(e){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return;this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e)}_emitCodePoint(e){const t=ac(e)?ca.WHITESPACE_CHARACTER:e===Zo.NULL?ca.NULL_CHARACTER:ca.CHARACTER,n=this.currentCharacterToken;null!==n&&n.type===t||this._ensureCharacterToken(t),this._extendRun(e)}_emitChars(e,t=0){this.options.sourceCodeLocationInfo&&0!==t&&this.currentCharacterToken&&this.currentCharacterToken.type!==ca.CHARACTER?(this.currentLocation=this.getCurrentLocation(e.length-1-t),this._emitCurrentCharacterToken(this.currentLocation),this._createCharacterToken(ca.CHARACTER)):this._ensureCharacterToken(ca.CHARACTER),this._extendRunWith(e,t)}_startCharacterReference(){this.returnState=this.state,this.state=tc.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Na.Attribute:Na.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===tc.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===tc.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===tc.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this._extendRun(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case tc.DATA:this._stateData(e);break;case tc.RCDATA:this._stateRcdata(e);break;case tc.RAWTEXT:this._stateRawtext(e);break;case tc.SCRIPT_DATA:this._stateScriptData(e);break;case tc.PLAINTEXT:this._statePlaintext(e);break;case tc.TAG_OPEN:this._stateTagOpen(e);break;case tc.END_TAG_OPEN:this._stateEndTagOpen(e);break;case tc.TAG_NAME:this._stateTagName(e);break;case tc.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case tc.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case tc.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case tc.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case tc.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case tc.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case tc.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case tc.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case tc.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case tc.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case tc.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case tc.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case tc.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case tc.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case tc.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case tc.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case tc.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case tc.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case tc.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case tc.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case tc.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case tc.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case tc.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case tc.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case tc.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case tc.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case tc.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case tc.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case tc.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case tc.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case tc.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case tc.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case tc.BOGUS_COMMENT:this._stateBogusComment(e);break;case tc.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case tc.COMMENT_START:this._stateCommentStart(e);break;case tc.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case tc.COMMENT:this._stateComment(e);break;case tc.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case tc.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case tc.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case tc.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case tc.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case tc.COMMENT_END:this._stateCommentEnd(e);break;case tc.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case tc.DOCTYPE:this._stateDoctype(e);break;case tc.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case tc.DOCTYPE_NAME:this._stateDoctypeName(e);break;case tc.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case tc.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case tc.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case tc.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case tc.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case tc.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case tc.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case tc.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case tc.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case tc.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case tc.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case tc.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case tc.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case tc.CDATA_SECTION:this._stateCdataSection(e);break;case tc.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case tc.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case tc.CHARACTER_REFERENCE:this._stateCharacterReference();break;case tc.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case Zo.LESS_THAN_SIGN:this.state=tc.TAG_OPEN;break;case Zo.AMPERSAND:this._startCharacterReference();break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this._emitCodePoint(e);break;case Zo.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case Zo.AMPERSAND:this._startCharacterReference();break;case Zo.LESS_THAN_SIGN:this.state=tc.RCDATA_LESS_THAN_SIGN;break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this._emitChars("�");break;case Zo.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case Zo.LESS_THAN_SIGN:this.state=tc.RAWTEXT_LESS_THAN_SIGN;break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this._emitChars("�");break;case Zo.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case Zo.LESS_THAN_SIGN:this.state=tc.SCRIPT_DATA_LESS_THAN_SIGN;break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this._emitChars("�");break;case Zo.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case Zo.NULL:this._err(aa.unexpectedNullCharacter),this._emitChars("�");break;case Zo.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(ic(e))this._createStartTagToken(),this.state=tc.TAG_NAME,this._stateTagName(e);else switch(e){case Zo.EXCLAMATION_MARK:this.state=tc.MARKUP_DECLARATION_OPEN;break;case Zo.SOLIDUS:this.state=tc.END_TAG_OPEN;break;case Zo.QUESTION_MARK:this._err(aa.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=tc.BOGUS_COMMENT,this._stateBogusComment(e);break;case Zo.EOF:this._err(aa.eofBeforeTagName),this._emitChars("<",-1),this._emitEOFToken();break;default:this._err(aa.invalidFirstCharacterOfTagName),this._emitChars("<",-1),this.state=tc.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(ic(e))this._createEndTagToken(),this.state=tc.TAG_NAME,this._stateTagName(e);else switch(e){case Zo.GREATER_THAN_SIGN:this._err(aa.missingEndTagName),this.state=tc.DATA;break;case Zo.EOF:this._err(aa.eofBeforeTagName),this._emitChars("</",-1),this._emitEOFToken();break;default:this._err(aa.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=tc.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:this.state=tc.BEFORE_ATTRIBUTE_NAME;break;case Zo.SOLIDUS:this.state=tc.SELF_CLOSING_START_TAG;break;case Zo.GREATER_THAN_SIGN:this.state=tc.DATA,this.emitCurrentTagToken();break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),t.tagName+="�";break;case Zo.EOF:this._err(aa.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(rc(e)?oc(e):e)}}_stateRcdataLessThanSign(e){e===Zo.SOLIDUS?this.state=tc.RCDATA_END_TAG_OPEN:(this._emitChars("<",-1),this.state=tc.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){ic(e)?(this.state=tc.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</",-1),this.state=tc.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 Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=tc.BEFORE_ATTRIBUTE_NAME,!1;case Zo.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=tc.SELF_CLOSING_START_TAG,!1;case Zo.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=tc.DATA,!1;default:return this.currentToken=null,!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</",-1),this.state=tc.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===Zo.SOLIDUS?this.state=tc.RAWTEXT_END_TAG_OPEN:(this._emitChars("<",-1),this.state=tc.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){ic(e)?(this.state=tc.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</",-1),this.state=tc.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</",-1),this.state=tc.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case Zo.SOLIDUS:this.state=tc.SCRIPT_DATA_END_TAG_OPEN;break;case Zo.EXCLAMATION_MARK:this.state=tc.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<",-1),this.state=tc.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){ic(e)?(this.state=tc.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</",-1),this.state=tc.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</",-1),this.state=tc.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===Zo.HYPHEN_MINUS?(this.state=tc.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=tc.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===Zo.HYPHEN_MINUS?(this.state=tc.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=tc.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case Zo.HYPHEN_MINUS:this.state=tc.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case Zo.LESS_THAN_SIGN:this.state=tc.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this._emitChars("�");break;case Zo.EOF:this._err(aa.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case Zo.HYPHEN_MINUS:this.state=tc.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case Zo.LESS_THAN_SIGN:this.state=tc.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this.state=tc.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case Zo.EOF:this._err(aa.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=tc.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case Zo.HYPHEN_MINUS:this._emitChars("-");break;case Zo.LESS_THAN_SIGN:this.state=tc.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case Zo.GREATER_THAN_SIGN:this.state=tc.SCRIPT_DATA,this._emitChars(">");break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this.state=tc.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case Zo.EOF:this._err(aa.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=tc.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===Zo.SOLIDUS?this.state=tc.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ic(e)?(this._emitChars("<",-1),this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<",-1),this.state=tc.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){ic(e)?(this.state=tc.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</",-1),this.state=tc.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</",-1),this.state=tc.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(na,!1)&&cc(this.preprocessor.peek(6))){this._emitCodePoint(e);for(let e=0;e<6;e++)this._emitCodePoint(this._consume());this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=tc.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case Zo.HYPHEN_MINUS:this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case Zo.LESS_THAN_SIGN:this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this._emitChars("�");break;case Zo.EOF:this._err(aa.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case Zo.HYPHEN_MINUS:this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case Zo.LESS_THAN_SIGN:this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case Zo.EOF:this._err(aa.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case Zo.HYPHEN_MINUS:this._emitChars("-");break;case Zo.LESS_THAN_SIGN:this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case Zo.GREATER_THAN_SIGN:this.state=tc.SCRIPT_DATA,this._emitChars(">");break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case Zo.EOF:this._err(aa.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===Zo.SOLIDUS?(this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(na,!1)&&cc(this.preprocessor.peek(6))){this._emitCodePoint(e);for(let e=0;e<6;e++)this._emitCodePoint(this._consume());this.state=tc.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=tc.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:break;case Zo.SOLIDUS:case Zo.GREATER_THAN_SIGN:case Zo.EOF:this.state=tc.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case Zo.EQUALS_SIGN:this._err(aa.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=tc.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=tc.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:case Zo.SOLIDUS:case Zo.GREATER_THAN_SIGN:case Zo.EOF:this._leaveAttrName(),this.state=tc.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case Zo.EQUALS_SIGN:this._leaveAttrName(),this.state=tc.BEFORE_ATTRIBUTE_VALUE;break;case Zo.QUOTATION_MARK:case Zo.APOSTROPHE:case Zo.LESS_THAN_SIGN:this._err(aa.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(rc(e)?oc(e):e)}}_stateAfterAttributeName(e){switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:break;case Zo.SOLIDUS:this.state=tc.SELF_CLOSING_START_TAG;break;case Zo.EQUALS_SIGN:this.state=tc.BEFORE_ATTRIBUTE_VALUE;break;case Zo.GREATER_THAN_SIGN:this.state=tc.DATA,this.emitCurrentTagToken();break;case Zo.EOF:this._err(aa.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=tc.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:break;case Zo.QUOTATION_MARK:this.state=tc.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case Zo.APOSTROPHE:this.state=tc.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case Zo.GREATER_THAN_SIGN:this._err(aa.missingAttributeValue),this.state=tc.DATA,this.emitCurrentTagToken();break;default:this.state=tc.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case Zo.QUOTATION_MARK:this.state=tc.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case Zo.AMPERSAND:this._startCharacterReference();break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this._extendRunWith("�",0);break;case Zo.EOF:this._err(aa.eofInTag),this._emitEOFToken();break;default:this._extendRun(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case Zo.APOSTROPHE:this.state=tc.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case Zo.AMPERSAND:this._startCharacterReference();break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this._extendRunWith("�",0);break;case Zo.EOF:this._err(aa.eofInTag),this._emitEOFToken();break;default:this._extendRun(e)}}_stateAttributeValueUnquoted(e){switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:this._leaveAttrValue(),this.state=tc.BEFORE_ATTRIBUTE_NAME;break;case Zo.AMPERSAND:this._startCharacterReference();break;case Zo.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=tc.DATA,this.emitCurrentTagToken();break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this._extendRunWith("�",0);break;case Zo.QUOTATION_MARK:case Zo.APOSTROPHE:case Zo.LESS_THAN_SIGN:case Zo.EQUALS_SIGN:case Zo.GRAVE_ACCENT:this._err(aa.unexpectedCharacterInUnquotedAttributeValue),this._extendRun(e);break;case Zo.EOF:this._err(aa.eofInTag),this._emitEOFToken();break;default:this._extendRun(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:this._leaveAttrValue(),this.state=tc.BEFORE_ATTRIBUTE_NAME;break;case Zo.SOLIDUS:this._leaveAttrValue(),this.state=tc.SELF_CLOSING_START_TAG;break;case Zo.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=tc.DATA,this.emitCurrentTagToken();break;case Zo.EOF:this._err(aa.eofInTag),this._emitEOFToken();break;default:this._err(aa.missingWhitespaceBetweenAttributes),this._leaveAttrValue(),this.state=tc.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case Zo.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=tc.DATA,this.emitCurrentTagToken();break;case Zo.EOF:this._err(aa.eofInTag),this._emitEOFToken();break;default:this._err(aa.unexpectedSolidusInTag),this.state=tc.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case Zo.GREATER_THAN_SIGN:this.state=tc.DATA,this.emitCurrentComment(t);break;case Zo.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this._extendRunWith("�",0);break;default:this._extendRun(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=tc.COMMENT_START):this._consumeSequenceIfMatch(ta,!1)?(this.currentLocation=this.getCurrentLocation(8),this.state=tc.DOCTYPE):this._consumeSequenceIfMatch(ea,!0)?this.inForeignNode?this.state=tc.CDATA_SECTION:(this._err(aa.cdataInHtmlContent),this._createCommentToken(8),this.currentToken.data="[CDATA[",this.state=tc.BOGUS_COMMENT):this._ensureHibernation()||(this._err(aa.incorrectlyOpenedComment),this._createCommentToken(2),this.state=tc.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case Zo.HYPHEN_MINUS:this.state=tc.COMMENT_START_DASH;break;case Zo.GREATER_THAN_SIGN:{this._err(aa.abruptClosingOfEmptyComment),this.state=tc.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=tc.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case Zo.HYPHEN_MINUS:this.state=tc.COMMENT_END;break;case Zo.GREATER_THAN_SIGN:this._err(aa.abruptClosingOfEmptyComment),this.state=tc.DATA,this.emitCurrentComment(t);break;case Zo.EOF:this._err(aa.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:this._extendRunWith("-",-1),this.state=tc.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case Zo.HYPHEN_MINUS:this.state=tc.COMMENT_END_DASH;break;case Zo.LESS_THAN_SIGN:this._extendRunWith("<",0),this.state=tc.COMMENT_LESS_THAN_SIGN;break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this._extendRunWith("�",0);break;case Zo.EOF:this._err(aa.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:this._extendRun(e)}}_stateCommentLessThanSign(e){switch(e){case Zo.EXCLAMATION_MARK:this._extendRunWith("!",0),this.state=tc.COMMENT_LESS_THAN_SIGN_BANG;break;case Zo.LESS_THAN_SIGN:this._extendRunWith("<",0);break;default:this.state=tc.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===Zo.HYPHEN_MINUS?this.state=tc.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=tc.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===Zo.HYPHEN_MINUS?this.state=tc.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=tc.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==Zo.GREATER_THAN_SIGN&&e!==Zo.EOF&&this._err(aa.nestedComment),this.state=tc.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case Zo.HYPHEN_MINUS:this.state=tc.COMMENT_END;break;case Zo.EOF:this._err(aa.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:this._extendRunWith("-",-1),this.state=tc.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case Zo.GREATER_THAN_SIGN:this.state=tc.DATA,this.emitCurrentComment(t);break;case Zo.EXCLAMATION_MARK:this.state=tc.COMMENT_END_BANG;break;case Zo.HYPHEN_MINUS:this._extendRunWith("-",-2);break;case Zo.EOF:this._err(aa.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:this._extendRunWith("--",-1),this.state=tc.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case Zo.HYPHEN_MINUS:this._extendRunWith("--!",-1),this.state=tc.COMMENT_END_DASH;break;case Zo.GREATER_THAN_SIGN:this._err(aa.incorrectlyClosedComment),this.state=tc.DATA,this.emitCurrentComment(t);break;case Zo.EOF:this._err(aa.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:this._extendRunWith("--!",-1),this.state=tc.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:this.state=tc.BEFORE_DOCTYPE_NAME;break;case Zo.GREATER_THAN_SIGN:this.state=tc.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case Zo.EOF:{this._err(aa.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(aa.missingWhitespaceBeforeDoctypeName),this.state=tc.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(rc(e))this._createDoctypeToken(String.fromCharCode(oc(e))),this.state=tc.DOCTYPE_NAME;else switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=tc.DOCTYPE_NAME;break;case Zo.GREATER_THAN_SIGN:{this._err(aa.missingDoctypeName),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=tc.DATA;break}case Zo.EOF:{this._err(aa.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=tc.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:this.state=tc.AFTER_DOCTYPE_NAME;break;case Zo.GREATER_THAN_SIGN:this.state=tc.DATA,this.emitCurrentDoctype(t);break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),t.name+="�";break;case Zo.EOF:this._err(aa.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(rc(e)?oc(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:break;case Zo.GREATER_THAN_SIGN:this.state=tc.DATA,this.emitCurrentDoctype(t);break;case Zo.EOF:this._err(aa.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=tc.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=tc.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(aa.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=tc.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:this.state=tc.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case Zo.QUOTATION_MARK:this._err(aa.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=tc.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case Zo.APOSTROPHE:this._err(aa.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=tc.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case Zo.GREATER_THAN_SIGN:this._err(aa.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=tc.DATA,this.emitCurrentDoctype(t);break;case Zo.EOF:this._err(aa.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(aa.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=tc.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:break;case Zo.QUOTATION_MARK:t.publicId="",this.state=tc.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case Zo.APOSTROPHE:t.publicId="",this.state=tc.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case Zo.GREATER_THAN_SIGN:this._err(aa.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=tc.DATA,this.emitCurrentDoctype(t);break;case Zo.EOF:this._err(aa.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(aa.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=tc.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case Zo.QUOTATION_MARK:this.state=tc.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),t.publicId+="�";break;case Zo.GREATER_THAN_SIGN:this._err(aa.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=tc.DATA;break;case Zo.EOF:this._err(aa.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case Zo.APOSTROPHE:this.state=tc.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),t.publicId+="�";break;case Zo.GREATER_THAN_SIGN:this._err(aa.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=tc.DATA;break;case Zo.EOF:this._err(aa.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:this.state=tc.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case Zo.GREATER_THAN_SIGN:this.state=tc.DATA,this.emitCurrentDoctype(t);break;case Zo.QUOTATION_MARK:this._err(aa.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=tc.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Zo.APOSTROPHE:this._err(aa.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=tc.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Zo.EOF:this._err(aa.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(aa.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=tc.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:break;case Zo.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=tc.DATA;break;case Zo.QUOTATION_MARK:t.systemId="",this.state=tc.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Zo.APOSTROPHE:t.systemId="",this.state=tc.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Zo.EOF:this._err(aa.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(aa.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=tc.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:this.state=tc.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case Zo.QUOTATION_MARK:this._err(aa.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=tc.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Zo.APOSTROPHE:this._err(aa.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=tc.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Zo.GREATER_THAN_SIGN:this._err(aa.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=tc.DATA,this.emitCurrentDoctype(t);break;case Zo.EOF:this._err(aa.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(aa.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=tc.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:break;case Zo.QUOTATION_MARK:t.systemId="",this.state=tc.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case Zo.APOSTROPHE:t.systemId="",this.state=tc.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case Zo.GREATER_THAN_SIGN:this._err(aa.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=tc.DATA,this.emitCurrentDoctype(t);break;case Zo.EOF:this._err(aa.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(aa.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=tc.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case Zo.QUOTATION_MARK:this.state=tc.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),t.systemId+="�";break;case Zo.GREATER_THAN_SIGN:this._err(aa.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=tc.DATA;break;case Zo.EOF:this._err(aa.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case Zo.APOSTROPHE:this.state=tc.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case Zo.NULL:this._err(aa.unexpectedNullCharacter),t.systemId+="�";break;case Zo.GREATER_THAN_SIGN:this._err(aa.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=tc.DATA;break;case Zo.EOF:this._err(aa.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case Zo.SPACE:case Zo.LINE_FEED:case Zo.TABULATION:case Zo.FORM_FEED:break;case Zo.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=tc.DATA;break;case Zo.EOF:this._err(aa.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(aa.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=tc.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case Zo.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=tc.DATA;break;case Zo.NULL:this._err(aa.unexpectedNullCharacter);break;case Zo.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case Zo.RIGHT_SQUARE_BRACKET:this.state=tc.CDATA_SECTION_BRACKET;break;case Zo.EOF:this._err(aa.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===Zo.RIGHT_SQUARE_BRACKET?this.state=tc.CDATA_SECTION_END:(this._emitChars("]",-1),this.state=tc.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case Zo.GREATER_THAN_SIGN:this.state=tc.DATA;break;case Zo.RIGHT_SQUARE_BRACKET:this._emitChars("]",-2);break;default:this._emitChars("]]",-1),this.state=tc.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0){if(!this.preprocessor.lastChunkWritten)return this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,void(this.preprocessor.endOfChunkHit=!0);e=this.entityDecoder.end()}0===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(Zo.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&sc(this.preprocessor.peek(1))?tc.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){sc(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===Zo.SEMICOLON&&this._err(aa.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}const uc=new Set([Ga.DD,Ga.DT,Ga.LI,Ga.OPTGROUP,Ga.OPTION,Ga.P,Ga.RB,Ga.RP,Ga.RT,Ga.RTC]),hc=new Set([...uc,Ga.CAPTION,Ga.COLGROUP,Ga.TBODY,Ga.TD,Ga.TFOOT,Ga.TH,Ga.THEAD,Ga.TR]),pc=256,fc=512,dc=768,mc=[Ga.H1,Ga.H2,Ga.H3,Ga.H4,Ga.H5,Ga.H6],Ec=[Ga.TBODY,Ga.TFOOT,Ga.THEAD],Tc=[Ga.TR,Ga.TEMPLATE,Ga.HTML],gc=[...Ec,Ga.TEMPLATE,Ga.HTML],Ac=[Ga.TABLE,Ga.TEMPLATE,Ga.HTML],_c=[Ga.TD,Ga.TH],kc=32,Ic=new Uint8Array(dc);for(const[e,t]of[[$a.HTML,0],[$a.SVG,pc],[$a.MATHML,fc]])for(const n of Za[e])Ic[t+n]=e!==$a.HTML||n!==Ga.ADDRESS&&n!==Ga.DIV&&n!==Ga.P?3:1;for(const e of[Ga.APPLET,Ga.CAPTION,Ga.HTML,Ga.MARQUEE,Ga.OBJECT,Ga.TABLE,Ga.TD,Ga.TEMPLATE,Ga.TH,pc+Ga.DESC,pc+Ga.FOREIGN_OBJECT,pc+Ga.TITLE,fc+Ga.ANNOTATION_XML,fc+Ga.MI,fc+Ga.MN,fc+Ga.MO,fc+Ga.MS,fc+Ga.MTEXT])Ic[e]|=28;Ic[Ga.OL]|=8,Ic[Ga.UL]|=8,Ic[Ga.BUTTON]|=16,Ic[Ga.TABLE]|=kc,Ic[Ga.HTML]|=kc;const Sc=new Uint8Array(dc);for(const e of[Ga.A,Ga.B,Ga.BIG,Ga.CODE,Ga.EM,Ga.FONT,Ga.I,Ga.NOBR,Ga.S,Ga.SMALL,Ga.STRIKE,Ga.STRONG,Ga.TT,Ga.U])Sc[e]=1;function Cc(e,t){if(t===Ga.UNKNOWN)return-1;switch(e){case $a.HTML:return t;case $a.SVG:return pc+t;case $a.MATHML:return fc+t;default:return-1}}class Nc{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.depth=0,this.tmplCount=0,this.currentTagId=Ga.UNKNOWN,this.indexed=!1,this.below=[],this.above=[],this.keys=[],this.keyPrev=[],this.keyNext=[],this.keyTops=new Int32Array(0),this.specials=[],this.listItemBoundaries=[],this.scopeBoundaries=[],this.htmlSlots=[],this.formattingSlots=new Map,this.current=e}_indexOf(e){if(this.indexed){const t=this.formattingSlots.get(e);if(void 0!==t)return t;if(Sc[Xa(this.treeAdapter.getTagName(e))])return-1}return this.items.lastIndexOf(e,this.stackTop)}slotBelow(e){return this.indexed?this.below[e]:e-1}slotAbove(e){return this.indexed?this.above[e]:e===this.stackTop?-1:e+1}_isInTemplate(){return this.currentTagId===Ga.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===$a.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}_nameKey(e,t,n){var r,i;const s=`${e} ${t}`;let o=null===(r=this.nameKeys)||void 0===r?void 0:r.get(s);if(void 0===o&&n&&(null!==(i=this.nameKeys)&&void 0!==i||(this.nameKeys=new Map),o=dc+this.nameKeys.size,this.nameKeys.set(s,o),o===this.keyTops.length)){const e=new Int32Array(2*o).fill(-1);e.set(this.keyTops),this.keyTops=e}return null!=o?o:-1}_indexAll(){this.indexed=!0,this.keyTops=new Int32Array(dc).fill(-1);for(let e=0;e<=this.stackTop;e++)this._index(e,e-1)}_index(e,t){const n=this.items[e],r=this.tagIDs[e],i=this.treeAdapter.getNamespaceURI(n);let s=Cc(i,r);-1===s&&(s=this._nameKey(i,this.treeAdapter.getTagName(n),!0));const o=this.keyTops[s];this.keys[e]=s,this.keyPrev[e]=o,this.keyNext[e]=-1,-1!==o&&(this.keyNext[o]=e),this.keyTops[s]=e,this.above[e]=-1,this._link(e,t,i===$a.HTML),Sc[r]&&this.formattingSlots.set(n,e)}_link(e,t,n){const r=this.keys[e],i=r<dc?Ic[r]:0;this.below[e]=t,-1===t?(this.specials[e]=1&i,this.listItemBoundaries[e]=(2&i)>>1,this.scopeBoundaries[e]=(4&i)>>2,this.htmlSlots[e]=n?e:-1):(this.above[t]=e,this.specials[e]=this.specials[t]+(1&i),this.listItemBoundaries[e]=this.listItemBoundaries[t]+((2&i)>>1),this.scopeBoundaries[e]=this.scopeBoundaries[t]+((4&i)>>2),this.htmlSlots[e]=n?e:this.htmlSlots[t])}_unindex(e){const t=this.keys[e],n=this.keyPrev[e],r=this.keyNext[e];-1!==n&&(this.keyNext[n]=r),-1===r?this.keyTops[t]=n:this.keyPrev[r]=n,Sc[this.tagIDs[e]]&&this.formattingSlots.delete(this.items[e])}_move(e,t){const n=this.items[e],r=this.keys[e],i=this.keyPrev[e],s=this.keyNext[e];this.items[t]=n,this.tagIDs[t]=this.tagIDs[e],this.keys[t]=r,this.keyPrev[t]=i,this.keyNext[t]=s,-1!==i&&(this.keyNext[i]=t),-1===s?this.keyTops[r]=t:this.keyPrev[s]=t,Sc[this.tagIDs[t]]&&this.formattingSlots.set(n,t)}indexOfTopmost(e){if(this.indexed)return this.keyTops[e];for(let t=this.stackTop;t>=0;t--)if(this.tagIDs[t]===e&&this.treeAdapter.getNamespaceURI(this.items[t])===$a.HTML)return t;return-1}indexOfTopmostOf(e){if(this.indexed){let t=-1;for(const n of e)this.keyTops[n]>t&&(t=this.keyTops[n]);return t}for(let t=this.stackTop;t>=0;t--)if(e.includes(this.tagIDs[t])&&this.treeAdapter.getNamespaceURI(this.items[t])===$a.HTML)return t;return-1}indexOfTopmostByName(e,t){if(this.indexed){let n=Cc(e,Xa(t));return-1===n&&(n=this._nameKey(e,t,!1)),-1===n?-1:this.keyTops[n]}for(let n=this.stackTop;n>=0;n--){const r=this.items[n];if(this.treeAdapter.getTagName(r)===t&&this.treeAdapter.getNamespaceURI(r)===e)return n}return-1}indexOfTopmostHtmlElement(){if(this.indexed)return-1===this.stackTop?-1:this.htmlSlots[this.stackTop];let e=this.stackTop;for(;e>=0&&this.treeAdapter.getNamespaceURI(this.items[e])!==$a.HTML;)e--;return e}_hasAbove(e,t){for(let n=this.stackTop;n>e;n--){const e=Cc(this.treeAdapter.getNamespaceURI(this.items[n]),this.tagIDs[n]);if(-1!==e&&Ic[e]&t)return!0}return!1}hasSpecialElementAbove(e){return this.indexed?this.specials[this.stackTop]!==this.specials[e]:this._hasAbove(e,1)}hasListItemBoundaryAbove(e){return this.indexed?this.listItemBoundaries[this.stackTop]!==this.listItemBoundaries[e]:this._hasAbove(e,2)}push(e,t){const n=this.stackTop;this.stackTop++,this.depth++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this.indexed?this._index(this.stackTop,n):64===this.depth&&this._indexAll(),this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}_popCurrent(){this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.indexed?(this._unindex(this.stackTop),this.stackTop=this.below[this.stackTop],-1!==this.stackTop&&(this.above[this.stackTop]=-1)):this.stackTop--,this.depth--,this._updateCurrentElement()}pop(){const e=this.current;this._popCurrent(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,this.indexed&&Sc[this.tagIDs[n]]&&(this.formattingSlots.delete(e),this.formattingSlots.set(t,n)),n===this.stackTop&&(this.current=t)}replaceFormattingElement(e,t,n,r){const i=this.items[e];if(!this.indexed)return this.items.splice(e,1),this.tagIDs.splice(e,1),this.handler.onItemPop(i,!1),this.items.splice(t,0,n),this.tagIDs.splice(t,0,r),t===this.stackTop&&this._updateCurrentElement(),void(this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,t===this.stackTop));const s=this.keys[e],o=this.below[e],a=this.above[t],c=[];for(let n=this.above[e];n!==t;n=this.above[n])c.push(n);const l=this.keyNext[e];this._unindex(e),this.items[e]=void 0,this.handler.onItemPop(i,!1);let u=t-1;for(;c.length>0&&c[c.length-1]===u;)c.pop(),u--;for(let e=u+1;e<=t;e++)this._move(e,e-1);const h=-1===l?this.keyTops[s]:this.keyPrev[l];this.items[t]=n,this.tagIDs[t]=r,this.keys[t]=s,this.keyPrev[t]=h,this.keyNext[t]=l,-1!==h&&(this.keyNext[h]=t),-1===l?this.keyTops[s]=t:this.keyPrev[l]=t,Sc[r]&&this.formattingSlots.set(n,t);let p=o;for(const e of c)this._link(e,p,!0),p=e;for(let e=u;e<t;e++)this._link(e,p,!0),p=e;this._link(t,p,!0),-1===a&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,-1===a)}popUntilTagNamePopped(e){this.shortenToLength(Math.max(this.indexOfTopmost(e),0))}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this._popCurrent(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){const t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilNumberedHeaderPopped(){this.shortenToLength(Math.max(this.indexOfTopmostOf(mc),0))}popUntilTableCellPopped(){this.shortenToLength(Math.max(this.indexOfTopmostOf(_c),0))}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}clearBackToTableContext(){this.shortenToLength(this.indexOfTopmostOf(Ac)+1)}clearBackToTableBodyContext(){this.shortenToLength(this.indexOfTopmostOf(gc)+1)}clearBackToTableRowContext(){this.shortenToLength(this.indexOfTopmostOf(Tc)+1)}remove(e){const t=this._indexOf(e);-1!==t&&this.removeAt(t)}removeAt(e){if(e===this.stackTop)return void this.pop();const t=this.items[e];if(this.depth--,this.indexed){const t=this.keys[e]<dc?Ic[this.keys[e]]:0,n=this.below[e],r=this.above[e];if(this._unindex(e),this.items[e]=void 0,this.below[r]=n,-1!==n&&(this.above[n]=r),0!==t)for(let e=r;-1!==e;e=this.above[e])this.specials[e]-=1&t,this.listItemBoundaries[e]-=(2&t)>>1,this.scopeBoundaries[e]-=(4&t)>>2;const i=-1===n?-1:this.htmlSlots[n];for(let t=r;-1!==t&&this.htmlSlots[t]===e;t=this.above[t])this.htmlSlots[t]=i}else this.items.splice(e,1),this.tagIDs.splice(e,1),this.stackTop--,this._updateCurrentElement();this.handler.onItemPop(t,!1)}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===Ga.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e),n=-1===t?-1:this.slotBelow(t);return-1===n?null:this.items[n]}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===Ga.HTML}_isInScope(e,t){let n=-1;switch(t){case 8:n=Math.max(this.keyTops[Ga.OL],this.keyTops[Ga.UL]);break;case 16:n=this.keyTops[Ga.BUTTON];break;case kc:return n=Math.max(this.keyTops[Ga.TABLE],this.keyTops[Ga.HTML]),-1===e?-1===n:e>=n}return-1===e?-1===n&&(-1===this.stackTop||0===this.scopeBoundaries[this.stackTop]):e>=n&&this.scopeBoundaries[this.stackTop]===this.scopeBoundaries[e]}_scanScope(e,t,n,r){for(let i=this.stackTop;i>=0;i--){const s=Cc(this.treeAdapter.getNamespaceURI(this.items[i]),this.tagIDs[i]);if(-1!==s){if((t?t.includes(s):s===e)&&(!r||this.items[i]===r))return!0;if(Ic[s]&n)return!1}}return!0}hasInScope(e,t){return this.indexed?this._isInScope(t?this._indexOf(t):this.keyTops[e],4):this._scanScope(e,null,4,t)}hasInListItemScope(e){return this.indexed?this._isInScope(this.keyTops[e],8):this._scanScope(e,null,8)}hasInButtonScope(e){return this.indexed?this._isInScope(this.keyTops[e],16):this._scanScope(e,null,16)}hasNumberedHeaderInScope(){return this.indexed?this._isInScope(this.indexOfTopmostOf(mc),4):this._scanScope(Ga.UNKNOWN,mc,4)}hasInTableScope(e){return this.indexed?this._isInScope(this.keyTops[e],kc):this._scanScope(e,null,kc)}hasTableBodyContextInTableScope(){return this.indexed?this._isInScope(this.indexOfTopmostOf(Ec),kc):this._scanScope(Ga.UNKNOWN,Ec,kc)}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t=this.slotBelow(t))if(this.treeAdapter.getNamespaceURI(this.items[t])===$a.HTML)switch(this.tagIDs[t]){case e:return!0;case Ga.OPTION:case Ga.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&uc.has(this.currentTagId)&&this.treeAdapter.getNamespaceURI(this.current)===$a.HTML;)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&hc.has(this.currentTagId)&&this.treeAdapter.getNamespaceURI(this.current)===$a.HTML;)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&hc.has(this.currentTagId)&&this.treeAdapter.getNamespaceURI(this.current)===$a.HTML;)this.pop()}}var yc;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(yc||(yc={}));class Dc{constructor(){this.newest=null,this.bookmark=null,this.index=null,this.elementEntries=new Map}_insertElementEntry(e,t,n){const r=null===n?null:n.newer,i={type:yc.Element,element:e,token:t,older:n,newer:r,ark:null,olderSameTag:null,newerSameTag:null};return null===r?this.newest=i:r.older=i,null!==n&&(n.newer=i),null===this.index?null:this._addToIndex(this.index,i)}_addToIndex(e,t){const{tagName:n,attrs:r}=t.token,i=n+r.map(({name:e,value:t})=>`\0${e}\0${t}`).sort().join("");let s=e.arks.get(i);void 0===s&&(s={entries:[],key:i},e.arks.set(i,s)),s.entries.push(t),t.ark=s,this.elementEntries.set(t.element,t);let o=e.tagNames.get(n);return void 0===o&&(o={olderSameTag:null},e.tagNames.set(n,o)),t.olderSameTag=o.olderSameTag,t.newerSameTag=o,null!==o.olderSameTag&&(o.olderSameTag.newerSameTag=t),o.olderSameTag=t,s}insertMarker(){if(null===this.index)for(let e=this.newest;null!==e&&e.type===yc.Element;e=e.older)this.elementEntries.set(e.element,e);const e={type:yc.Marker,older:this.newest,newer:null,outerIndex:this.index};null!==this.newest&&(this.newest.newer=e),this.newest=e,this.index=null}pushElement(e,t){if(null===this.index){let e=null,t=0;for(let n=this.newest;null!==n&&n.type===yc.Element;n=n.older)e=n,t++;if(t>=3){this.index={arks:new Map,tagNames:new Map};for(let t=e;null!==t&&t.type===yc.Element;t=t.newer)this._addToIndex(this.index,t)}}const n=this._insertElementEntry(e,t,this.newest);null!==n&&n.entries.length>3&&this.removeEntry(n.entries[0])}insertElementAfterBookmark(e,t){const{bookmark:n}=this;this.bookmark=null,this._insertElementEntry(e,t,n)}removeEntry(e){var t;if(null===e.newer?this.newest===e:e.newer.older===e){if(this.elementEntries.delete(e.element),null===e.newer?this.newest=e.older:e.newer.older=e.older,null!==e.older&&(e.older.newer=e.newer),null!==e.ark){const{entries:n,key:r}=e.ark;n.splice(n.indexOf(e),1),0===n.length&&(null===(t=this.index)||void 0===t||t.arks.delete(r))}null!==e.newerSameTag&&(e.newerSameTag.olderSameTag=e.olderSameTag,null!==e.olderSameTag&&(e.olderSameTag.newerSameTag=e.newerSameTag))}}replaceElement(e,t){this.elementEntries.delete(e.element)&&this.elementEntries.set(t,e),e.element=t}clearToLastMarker(){let e=this.newest;for(;null!==e&&e.type===yc.Element;e=e.older)this.elementEntries.delete(e.element);this.newest=null===e?null:e.older,this.index=null===e?null:e.outerIndex,null!==this.newest&&(this.newest.newer=null)}getElementEntryInScopeWithTagName(e){var t,n;if(null!==this.index)return null!==(n=null===(t=this.index.tagNames.get(e))||void 0===t?void 0:t.olderSameTag)&&void 0!==n?n:null;for(let t=this.newest;null!==t&&t.type===yc.Element;t=t.older)if(t.token.tagName===e)return t;return null}getElementEntry(e){if(null===this.index)for(let t=this.newest;null!==t&&t.type===yc.Element;t=t.older)if(t.element===e)return t;return this.elementEntries.get(e)}}const bc=new WeakMap,Oc={createDocument(){return{nodeName:"#document",mode:Ha.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const{childNodes:r}=e,i=r[r.length-1]===n?r.length-1:r.indexOf(n);r.splice(i,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(e=>"#documentType"===e.nodeName);if(i)i.name=t,i.publicId=n,i.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Oc.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const{childNodes:t}=e.parentNode,n=t[t.length-1]===e?t.length-1:t.indexOf(e);t.splice(n,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Oc.isTextNode(n))return void(n.value+=t)}Oc.appendChild(e,Oc.createTextNode(t))},insertTextBefore(e,t,n){const{childNodes:r}=e,i=r[r.length-1]===n?r.length-1:r.indexOf(n),s=r[i-1];s&&Oc.isTextNode(s)?s.value+=t:Oc.insertBefore(e,Oc.createTextNode(t),n)},adoptAttributes(e,t){if(0===t.length||t===e.attrs)return;const n=bc.get(e.attrs),r=(null==n?void 0:n.size)===e.attrs.length&&t.every(({name:t})=>{var r;const i=n.get(t);return void 0===i||(null===(r=e.attrs[i])||void 0===r?void 0:r.name)===t}),i=r?n:new Map;if(!r){for(let t=0;t<e.attrs.length;t++){const n=e.attrs[t];void 0!==n&&i.set(n.name,t)}bc.set(e.attrs,i)}const s=e.attrs.length;for(let n=0;n<t.length;n++)i.has(t[n].name)||e.attrs.push(t[n]);for(let t=s;t<e.attrs.length;t++)i.set(e.attrs[t].name,t);i.size!==e.attrs.length&&bc.delete(e.attrs)},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return"#text"===e.nodeName},isCommentNode(e){return"#comment"===e.nodeName},isDocumentTypeNode(e){return"#documentType"===e.nodeName},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Rc="html",Lc=["+//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//"],vc=[...Lc,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Pc=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),xc=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Mc=[...xc,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function wc(e,t){return t.some(t=>e.startsWith(t))}const Fc=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])),$c=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:$a.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:$a.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:$a.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:$a.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:$a.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:$a.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:$a.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:$a.XML}],["xml:space",{prefix:"xml",name:"space",namespace:$a.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:$a.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:$a.XMLNS}]]),Bc=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])),Hc=new Set([Ga.B,Ga.BIG,Ga.BLOCKQUOTE,Ga.BODY,Ga.BR,Ga.CENTER,Ga.CODE,Ga.DD,Ga.DIV,Ga.DL,Ga.DT,Ga.EM,Ga.EMBED,Ga.H1,Ga.H2,Ga.H3,Ga.H4,Ga.H5,Ga.H6,Ga.HEAD,Ga.HR,Ga.I,Ga.IMG,Ga.LI,Ga.LISTING,Ga.MENU,Ga.META,Ga.NOBR,Ga.OL,Ga.P,Ga.PRE,Ga.RUBY,Ga.S,Ga.SMALL,Ga.SPAN,Ga.STRONG,Ga.STRIKE,Ga.SUB,Ga.SUP,Ga.TABLE,Ga.TT,Ga.U,Ga.UL,Ga.VAR]);function Uc(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function Gc(e){for(let t=0;t<e.attrs.length;t++){const n=Fc.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function Yc(e){for(let t=0;t<e.attrs.length;t++){const n=$c.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function zc(e,t,n,r){return(!r||r===$a.HTML)&&function(e,t,n){if(t===$a.MATHML&&e===Ga.ANNOTATION_XML)for(let e=0;e<n.length;e++)if(n[e].name===Ba.ENCODING){const t=n[e].value.toLowerCase();return"text/html"===t||"application/xhtml+xml"===t}return t===$a.SVG&&(e===Ga.FOREIGN_OBJECT||e===Ga.DESC||e===Ga.TITLE)}(e,t,n)||(!r||r===$a.MATHML)&&function(e,t){return t===$a.MATHML&&(e===Ga.MI||e===Ga.MO||e===Ga.MN||e===Ga.MS||e===Ga.MTEXT)}(e,t)}const qc=[Ga.TR,Ga.TBODY,Ga.THEAD,Ga.TFOOT,Ga.CAPTION,Ga.COLGROUP,Ga.TABLE,Ga.FRAMESET,Ga.SELECT,Ga.TEMPLATE,Ga.TD,Ga.TH,Ga.HEAD,Ga.BODY,Ga.HTML],jc=[];var Wc;!function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(Wc||(Wc={}));const Vc={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Qc=new Set([Ga.TABLE,Ga.TBODY,Ga.TFOOT,Ga.THEAD,Ga.TR]),Kc={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Oc,onParseError:null};class Xc{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=Wc.INITIAL,this.originalInsertionMode=Wc.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={...Kc,...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 lc(this.options,this),this.activeFormattingElements=new Dc,this.fragmentContextID=n?Xa(this.treeAdapter.getTagName(n)):Ga.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new Nc(this.document,this.treeAdapter,this)}static parse(e,t){const n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){const n={...Kc,...t};null!=e||(e=n.treeAdapter.createElement(Ua.TEMPLATE,$a.HTML,[]));const r=n.treeAdapter.createElement("documentmock",$a.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===Ga.TEMPLATE&&i.tmplInsertionModeStack.push(Wc.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const 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;const i=null!==(r=e.location)&&void 0!==r?r:Vc,s={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(s)}onItemPush(e,t,n){var r,i;null===(i=(r=this.treeAdapter).onItemPush)||void 0===i||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),null===(i=this.annotationXmlIntegrationPoints)||void 0===i||i.delete(e),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){const n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===$a.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,$a.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Wc.TEXT}switchToPlaintextParsing(){this.insertionMode=Wc.TEXT,this.originalInsertionMode=Wc.IN_BODY,this.tokenizer.state=nc.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)===Ua.FORM&&this.treeAdapter.getNamespaceURI(e)===$a.HTML){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===$a.HTML)switch(this.fragmentContextID){case Ga.TITLE:case Ga.TEXTAREA:this.tokenizer.state=nc.RCDATA;break;case Ga.STYLE:case Ga.XMP:case Ga.IFRAME:case Ga.NOEMBED:case Ga.NOFRAMES:case Ga.NOSCRIPT:this.tokenizer.state=nc.RAWTEXT;break;case Ga.SCRIPT:this.tokenizer.state=nc.SCRIPT_DATA;break;case Ga.PLAINTEXT:this.tokenizer.state=nc.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){const t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t,n){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}n.beforeElement?this.treeAdapter.insertBefore(n.parent,e,n.beforeElement):this.treeAdapter.appendChild(n.parent,e)}_getInsertionLocation(){var e;return this._shouldFosterParentOnInsertion()?this._findFosterParentingLocation():{parent:null!==(e=this.openElements.currentTmplContentOrNode)&&void 0!==e?e:this.document,beforeElement:null}}_createElement(e,t,n,r){var i,s;const o=this.treeAdapter.createElement(e,t,n);return null===(s=(i=this.treeAdapter).onElementCreated)||void 0===s||s.call(i,o,{intendedParent:r,formElement:this.formElement,isInTemplate:this.openElements.tmplCount>0}),o}_appendElement(e,t){const n=this._getInsertionLocation(),r=this._createElement(e.tagName,t,e.attrs,n.parent);this._attachElementToTree(r,e.location,n)}_insertElement(e,t){const n=this._getInsertionLocation(),r=this._createElement(e.tagName,t,e.attrs,n.parent);this._attachElementToTree(r,e.location,n),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){const n=this._getInsertionLocation(),r=this._createElement(e,$a.HTML,[],n.parent);this._attachElementToTree(r,null,n),this.openElements.push(r,t)}_insertTemplate(e){const t=this._getInsertionLocation(),n=this._createElement(e.tagName,$a.HTML,e.attrs,t.parent),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,e.location,t),this.openElements.push(n,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const e=this._createElement(Ua.HTML,$a.HTML,[],this.document);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.document,e),this.openElements.push(e,Ga.HTML)}_appendCommentNode(e,t){const 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;const r=this.treeAdapter.getChildNodes(t),i=n?r.lastIndexOf(n):r.length,s=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,e.location)}_adoptNodes(e,t){const n=[...this.treeAdapter.getChildNodes(e)];for(let e=n.length-1;e>=0;e--)this.treeAdapter.detachNode(n[e]);for(const e of n)this.treeAdapter.appendChild(t,e)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===ca.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){if(!this.currentNotInHTML)return!1;let t,n;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),(e.tagID!==Ga.SVG||this.treeAdapter.getTagName(t)!==Ua.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==$a.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===Ga.MGLYPH||e.tagID===Ga.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,$a.HTML))}_processToken(e){switch(e.type){case ca.CHARACTER:this.onCharacter(e);break;case ca.NULL_CHARACTER:this.onNullCharacter(e);break;case ca.COMMENT:this.onComment(e);break;case ca.DOCTYPE:this.onDoctype(e);break;case ca.START_TAG:this._processStartTag(e);break;case ca.END_TAG:this.onEndTag(e);break;case ca.EOF:this.onEof(e);break;case ca.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){var r;const i=this.treeAdapter.getNamespaceURI(t);if(e===Ga.ANNOTATION_XML&&i===$a.MATHML&&n!==$a.MATHML){const n=null!==(r=this.annotationXmlIntegrationPoints)&&void 0!==r?r:this.annotationXmlIntegrationPoints=new Map;let s=n.get(t);return void 0===s&&(s=zc(e,i,this.treeAdapter.getAttrList(t)),n.set(t,s)),s}return zc(e,i,jc,n)}_reconstructActiveFormattingElements(){let e=null;for(let t=this.activeFormattingElements.newest;null!==t&&t.type===yc.Element&&!this.openElements.contains(t.element);t=t.older)e=t;for(let t=e;null!==t&&t.type===yc.Element;t=t.newer)this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),this.activeFormattingElements.replaceElement(t,this.openElements.current)}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Wc.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(Ga.P),this.openElements.popUntilTagNamePopped(Ga.P)}_resetInsertionMode(){const e=this.openElements.indexOfTopmostOf(qc),t=0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e],n=0===e&&this.fragmentContext?this.fragmentContext:this.openElements.items[e];if(void 0!==n&&this.treeAdapter.getNamespaceURI(n)===$a.HTML)switch(t){case Ga.TR:return void(this.insertionMode=Wc.IN_ROW);case Ga.TBODY:case Ga.THEAD:case Ga.TFOOT:return void(this.insertionMode=Wc.IN_TABLE_BODY);case Ga.CAPTION:return void(this.insertionMode=Wc.IN_CAPTION);case Ga.COLGROUP:return void(this.insertionMode=Wc.IN_COLUMN_GROUP);case Ga.TABLE:return void(this.insertionMode=Wc.IN_TABLE);case Ga.BODY:return void(this.insertionMode=Wc.IN_BODY);case Ga.FRAMESET:return void(this.insertionMode=Wc.IN_FRAMESET);case Ga.SELECT:return void this._resetInsertionModeForSelect(e);case Ga.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStack.length-1]);case Ga.HTML:return void(this.insertionMode=this.headElement?Wc.AFTER_HEAD:Wc.BEFORE_HEAD);case Ga.TD:case Ga.TH:if(e>0)return void(this.insertionMode=Wc.IN_CELL);break;case Ga.HEAD:if(e>0)return void(this.insertionMode=Wc.IN_HEAD)}this.insertionMode=Wc.IN_BODY}_resetInsertionModeForSelect(e){if(e>0){const e=this.openElements.indexOfTopmost(Ga.TABLE);if(e>0&&e>this.openElements.indexOfTopmost(Ga.TEMPLATE))return void(this.insertionMode=Wc.IN_SELECT_IN_TABLE)}this.insertionMode=Wc.IN_SELECT}_isElementCausesFosterParenting(e){return Qc.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){const{openElements:e}=this,t=e.indexOfTopmost(Ga.TABLE),n=e.indexOfTopmost(Ga.TEMPLATE);if(n>t)return{parent:this.treeAdapter.getTemplateContent(e.items[n]),beforeElement:null};if(-1!==t){const n=e.items[t],r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:e.items[e.slotBelow(t)],beforeElement:null}}return{parent:e.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return Za[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case Wc.INITIAL:al(this,e);break;case Wc.BEFORE_HTML:cl(this,e);break;case Wc.BEFORE_HEAD:ll(this,e);break;case Wc.IN_HEAD:pl(this,e);break;case Wc.IN_HEAD_NO_SCRIPT:fl(this,e);break;case Wc.AFTER_HEAD:dl(this,e);break;case Wc.IN_BODY:case Wc.IN_CAPTION:case Wc.IN_CELL:case Wc.IN_TEMPLATE:Tl(this,e);break;case Wc.TEXT:case Wc.IN_SELECT:case Wc.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Wc.IN_TABLE:case Wc.IN_TABLE_BODY:case Wc.IN_ROW:yl(this,e);break;case Wc.IN_TABLE_TEXT:Ll(this,e);break;case Wc.IN_COLUMN_GROUP:Ml(this,e);break;case Wc.AFTER_BODY:zl(this,e);break;case Wc.AFTER_AFTER_BODY:ql(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars="�",e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case Wc.INITIAL:al(this,e);break;case Wc.BEFORE_HTML:cl(this,e);break;case Wc.BEFORE_HEAD:ll(this,e);break;case Wc.IN_HEAD:pl(this,e);break;case Wc.IN_HEAD_NO_SCRIPT:fl(this,e);break;case Wc.AFTER_HEAD:dl(this,e);break;case Wc.TEXT:this._insertCharacters(e);break;case Wc.IN_TABLE:case Wc.IN_TABLE_BODY:case Wc.IN_ROW:yl(this,e);break;case Wc.IN_COLUMN_GROUP:Ml(this,e);break;case Wc.AFTER_BODY:zl(this,e);break;case Wc.AFTER_AFTER_BODY:ql(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)sl(this,e);else switch(this.insertionMode){case Wc.INITIAL:case Wc.BEFORE_HTML:case Wc.BEFORE_HEAD:case Wc.IN_HEAD:case Wc.IN_HEAD_NO_SCRIPT:case Wc.AFTER_HEAD:case Wc.IN_BODY:case Wc.IN_TABLE:case Wc.IN_CAPTION:case Wc.IN_COLUMN_GROUP:case Wc.IN_TABLE_BODY:case Wc.IN_ROW:case Wc.IN_CELL:case Wc.IN_SELECT:case Wc.IN_SELECT_IN_TABLE:case Wc.IN_TEMPLATE:case Wc.IN_FRAMESET:case Wc.AFTER_FRAMESET:sl(this,e);break;case Wc.IN_TABLE_TEXT:vl(this,e);break;case Wc.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case Wc.AFTER_AFTER_BODY:case Wc.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Wc.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?Ha.QUIRKS:function(e){if(e.name!==Rc)return Ha.QUIRKS;const{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return Ha.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),Pc.has(n))return Ha.QUIRKS;let e=null===t?vc:Lc;if(wc(n,e))return Ha.QUIRKS;if(e=null===t?xc:Mc,wc(n,e))return Ha.LIMITED_QUIRKS}return Ha.NO_QUIRKS}(t);(function(e){return e.name===Rc&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)})(t)||e._err(t,aa.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Wc.BEFORE_HTML}(this,e);break;case Wc.BEFORE_HEAD:case Wc.IN_HEAD:case Wc.IN_HEAD_NO_SCRIPT:case Wc.AFTER_HEAD:this._err(e,aa.misplacedDoctype);break;case Wc.IN_TABLE_TEXT:vl(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,aa.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID;return t===Ga.FONT&&e.attrs.some(({name:e})=>e===Ba.COLOR||e===Ba.SIZE||e===Ba.FACE)||Hc.has(t)}(t))jl(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===$a.MATHML?Uc(t):r===$a.SVG&&(function(e){const t=Bc.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=Xa(e.tagName))}(t),Gc(t)),Yc(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 Wc.INITIAL:al(this,e);break;case Wc.BEFORE_HTML:!function(e,t){t.tagID===Ga.HTML?(e._insertElement(t,$a.HTML),e.insertionMode=Wc.BEFORE_HEAD):cl(e,t)}(this,e);break;case Wc.BEFORE_HEAD:!function(e,t){switch(t.tagID){case Ga.HTML:Il(e,t);break;case Ga.HEAD:e._insertElement(t,$a.HTML),e.headElement=e.openElements.current,e.insertionMode=Wc.IN_HEAD;break;default:ll(e,t)}}(this,e);break;case Wc.IN_HEAD:ul(this,e);break;case Wc.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Ga.HTML:Il(e,t);break;case Ga.BASEFONT:case Ga.BGSOUND:case Ga.HEAD:case Ga.LINK:case Ga.META:case Ga.NOFRAMES:case Ga.STYLE:ul(e,t);break;case Ga.NOSCRIPT:e._err(t,aa.nestedNoscriptInHead);break;default:fl(e,t)}}(this,e);break;case Wc.AFTER_HEAD:!function(e,t){switch(t.tagID){case Ga.HTML:Il(e,t);break;case Ga.BODY:e._insertElement(t,$a.HTML),e.framesetOk=!1,e.insertionMode=Wc.IN_BODY;break;case Ga.FRAMESET:e._insertElement(t,$a.HTML),e.insertionMode=Wc.IN_FRAMESET;break;case Ga.BASE:case Ga.BASEFONT:case Ga.BGSOUND:case Ga.LINK:case Ga.META:case Ga.NOFRAMES:case Ga.SCRIPT:case Ga.STYLE:case Ga.TEMPLATE:case Ga.TITLE:e._err(t,aa.abandonedHeadElementChild),e.openElements.push(e.headElement,Ga.HEAD),ul(e,t),e.openElements.remove(e.headElement);break;case Ga.HEAD:e._err(t,aa.misplacedStartTagForHeadElement);break;default:dl(e,t)}}(this,e);break;case Wc.IN_BODY:Il(this,e);break;case Wc.IN_TABLE:Dl(this,e);break;case Wc.IN_TABLE_TEXT:vl(this,e);break;case Wc.IN_CAPTION:!function(e,t){const n=t.tagID;Pl.has(n)?e.openElements.hasInTableScope(Ga.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ga.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Wc.IN_TABLE,Dl(e,t)):Il(e,t)}(this,e);break;case Wc.IN_COLUMN_GROUP:xl(this,e);break;case Wc.IN_TABLE_BODY:wl(this,e);break;case Wc.IN_ROW:$l(this,e);break;case Wc.IN_CELL:!function(e,t){const n=t.tagID;Pl.has(n)?(e.openElements.hasInTableScope(Ga.TD)||e.openElements.hasInTableScope(Ga.TH))&&(e._closeTableCell(),$l(e,t)):Il(e,t)}(this,e);break;case Wc.IN_SELECT:Hl(this,e);break;case Wc.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Ga.CAPTION||n===Ga.TABLE||n===Ga.TBODY||n===Ga.TFOOT||n===Ga.THEAD||n===Ga.TR||n===Ga.TD||n===Ga.TH?(e.openElements.popUntilTagNamePopped(Ga.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Hl(e,t)}(this,e);break;case Wc.IN_TEMPLATE:!function(e,t){switch(t.tagID){case Ga.BASE:case Ga.BASEFONT:case Ga.BGSOUND:case Ga.LINK:case Ga.META:case Ga.NOFRAMES:case Ga.SCRIPT:case Ga.STYLE:case Ga.TEMPLATE:case Ga.TITLE:ul(e,t);break;case Ga.CAPTION:case Ga.COLGROUP:case Ga.TBODY:case Ga.TFOOT:case Ga.THEAD:e.tmplInsertionModeStack[e.tmplInsertionModeStack.length-1]=Wc.IN_TABLE,e.insertionMode=Wc.IN_TABLE,Dl(e,t);break;case Ga.COL:e.tmplInsertionModeStack[e.tmplInsertionModeStack.length-1]=Wc.IN_COLUMN_GROUP,e.insertionMode=Wc.IN_COLUMN_GROUP,xl(e,t);break;case Ga.TR:e.tmplInsertionModeStack[e.tmplInsertionModeStack.length-1]=Wc.IN_TABLE_BODY,e.insertionMode=Wc.IN_TABLE_BODY,wl(e,t);break;case Ga.TD:case Ga.TH:e.tmplInsertionModeStack[e.tmplInsertionModeStack.length-1]=Wc.IN_ROW,e.insertionMode=Wc.IN_ROW,$l(e,t);break;default:e.tmplInsertionModeStack[e.tmplInsertionModeStack.length-1]=Wc.IN_BODY,e.insertionMode=Wc.IN_BODY,Il(e,t)}}(this,e);break;case Wc.AFTER_BODY:!function(e,t){t.tagID===Ga.HTML?Il(e,t):zl(e,t)}(this,e);break;case Wc.IN_FRAMESET:!function(e,t){switch(t.tagID){case Ga.HTML:Il(e,t);break;case Ga.FRAMESET:e._insertElement(t,$a.HTML);break;case Ga.FRAME:e._appendElement(t,$a.HTML),t.ackSelfClosing=!0;break;case Ga.NOFRAMES:ul(e,t)}}(this,e);break;case Wc.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Ga.HTML:Il(e,t);break;case Ga.NOFRAMES:ul(e,t)}}(this,e);break;case Wc.AFTER_AFTER_BODY:!function(e,t){t.tagID===Ga.HTML?Il(e,t):ql(e,t)}(this,e);break;case Wc.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Ga.HTML:Il(e,t);break;case Ga.NOFRAMES:ul(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===Ga.P||t.tagID===Ga.BR)return jl(e),void e._endTagOutsideForeignContent(t);if(0===e.openElements.stackTop)return;const{tagName:n}=t,r=Bc.get(n),i=e.fragmentContext?e.treeAdapter.getNamespaceURI(e.fragmentContext):$a.HTML,s=Math.max(e.openElements.indexOfTopmostByName($a.SVG,n),e.openElements.indexOfTopmostByName($a.MATHML,n),void 0===r?-1:e.openElements.indexOfTopmostByName($a.SVG,r),i===$a.HTML||i===$a.SVG||i===$a.MATHML?-1:e.openElements.indexOfTopmostByName(i,n));s>e.openElements.indexOfTopmostHtmlElement()?(t.tagName=e.treeAdapter.getTagName(e.openElements.items[s]),e.openElements.shortenToLength(s)):e._endTagOutsideForeignContent(t)}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Wc.INITIAL:al(this,e);break;case Wc.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==Ga.HTML&&n!==Ga.HEAD&&n!==Ga.BODY&&n!==Ga.BR||cl(e,t)}(this,e);break;case Wc.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===Ga.HEAD||n===Ga.BODY||n===Ga.HTML||n===Ga.BR?ll(e,t):e._err(t,aa.endTagWithoutMatchingOpenElement)}(this,e);break;case Wc.IN_HEAD:!function(e,t){switch(t.tagID){case Ga.HEAD:e.openElements.pop(),e.insertionMode=Wc.AFTER_HEAD;break;case Ga.BODY:case Ga.BR:case Ga.HTML:pl(e,t);break;case Ga.TEMPLATE:hl(e,t);break;default:e._err(t,aa.endTagWithoutMatchingOpenElement)}}(this,e);break;case Wc.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Ga.NOSCRIPT:e.openElements.pop(),e.insertionMode=Wc.IN_HEAD;break;case Ga.BR:fl(e,t);break;default:e._err(t,aa.endTagWithoutMatchingOpenElement)}}(this,e);break;case Wc.AFTER_HEAD:!function(e,t){switch(t.tagID){case Ga.BODY:case Ga.HTML:case Ga.BR:dl(e,t);break;case Ga.TEMPLATE:hl(e,t);break;default:e._err(t,aa.endTagWithoutMatchingOpenElement)}}(this,e);break;case Wc.IN_BODY:Cl(this,e);break;case Wc.TEXT:!function(e,t){var n;t.tagID===Ga.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case Wc.IN_TABLE:bl(this,e);break;case Wc.IN_TABLE_TEXT:vl(this,e);break;case Wc.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case Ga.CAPTION:case Ga.TABLE:e.openElements.hasInTableScope(Ga.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ga.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Wc.IN_TABLE,n===Ga.TABLE&&bl(e,t));break;case Ga.BODY:case Ga.COL:case Ga.COLGROUP:case Ga.HTML:case Ga.TBODY:case Ga.TD:case Ga.TFOOT:case Ga.TH:case Ga.THEAD:case Ga.TR:break;default:Cl(e,t)}}(this,e);break;case Wc.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case Ga.COLGROUP:e.openElements.currentTagId===Ga.COLGROUP&&(e.openElements.pop(),e.insertionMode=Wc.IN_TABLE);break;case Ga.TEMPLATE:hl(e,t);break;case Ga.COL:break;default:Ml(e,t)}}(this,e);break;case Wc.IN_TABLE_BODY:Fl(this,e);break;case Wc.IN_ROW:Bl(this,e);break;case Wc.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case Ga.TD:case Ga.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Wc.IN_ROW);break;case Ga.TABLE:case Ga.TBODY:case Ga.TFOOT:case Ga.THEAD:case Ga.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Bl(e,t));break;case Ga.BODY:case Ga.CAPTION:case Ga.COL:case Ga.COLGROUP:case Ga.HTML:break;default:Cl(e,t)}}(this,e);break;case Wc.IN_SELECT:Ul(this,e);break;case Wc.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Ga.CAPTION||n===Ga.TABLE||n===Ga.TBODY||n===Ga.TFOOT||n===Ga.THEAD||n===Ga.TR||n===Ga.TD||n===Ga.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(Ga.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Ul(e,t)}(this,e);break;case Wc.IN_TEMPLATE:!function(e,t){t.tagID===Ga.TEMPLATE&&hl(e,t)}(this,e);break;case Wc.AFTER_BODY:Yl(this,e);break;case Wc.IN_FRAMESET:!function(e,t){t.tagID!==Ga.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===Ga.FRAMESET||(e.insertionMode=Wc.AFTER_FRAMESET))}(this,e);break;case Wc.AFTER_FRAMESET:!function(e,t){t.tagID===Ga.HTML&&(e.insertionMode=Wc.AFTER_AFTER_FRAMESET)}(this,e);break;case Wc.AFTER_AFTER_BODY:ql(this,e)}}onEof(e){switch(this.insertionMode){case Wc.INITIAL:al(this,e);break;case Wc.BEFORE_HTML:cl(this,e);break;case Wc.BEFORE_HEAD:ll(this,e);break;case Wc.IN_HEAD:pl(this,e);break;case Wc.IN_HEAD_NO_SCRIPT:fl(this,e);break;case Wc.AFTER_HEAD:dl(this,e);break;case Wc.IN_BODY:case Wc.IN_TABLE:case Wc.IN_CAPTION:case Wc.IN_COLUMN_GROUP:case Wc.IN_TABLE_BODY:case Wc.IN_ROW:case Wc.IN_CELL:case Wc.IN_SELECT:case Wc.IN_SELECT_IN_TABLE:Nl(this,e);break;case Wc.TEXT:!function(e,t){e._err(t,aa.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case Wc.IN_TABLE_TEXT:vl(this,e);break;case Wc.IN_TEMPLATE:Gl(this,e);break;case Wc.AFTER_BODY:case Wc.IN_FRAMESET:case Wc.AFTER_FRAMESET:case Wc.AFTER_AFTER_BODY:case Wc.AFTER_AFTER_FRAMESET:ol(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===Zo.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case Wc.IN_HEAD:case Wc.IN_HEAD_NO_SCRIPT:case Wc.AFTER_HEAD:case Wc.TEXT:case Wc.IN_COLUMN_GROUP:case Wc.IN_SELECT:case Wc.IN_SELECT_IN_TABLE:case Wc.IN_FRAMESET:case Wc.AFTER_FRAMESET:this._insertCharacters(e);break;case Wc.IN_BODY:case Wc.IN_CAPTION:case Wc.IN_CELL:case Wc.IN_TEMPLATE:case Wc.AFTER_BODY:case Wc.AFTER_AFTER_BODY:case Wc.AFTER_AFTER_FRAMESET:El(this,e);break;case Wc.IN_TABLE:case Wc.IN_TABLE_BODY:case Wc.IN_ROW:yl(this,e);break;case Wc.IN_TABLE_TEXT:Rl(this,e)}}}function Jc(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID,n.element)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Sl(e,t),n}function Zc(e,t){const{openElements:n}=e,r=n._indexOf(t.element);for(let t=n.slotAbove(r);-1!==t;t=n.slotAbove(t))if(e._isSpecialElement(n.items[t],n.tagIDs[t]))return t;return n.shortenToLength(r),e.activeFormattingElements.removeEntry(t),-1}function el(e,t,n){const r=e.openElements.items[t];let i=r,s=e.openElements.slotBelow(t);const o=e.openElements.getCommonAncestor(n);for(let t=0,a=s;e.openElements.items[a]!==n;t++,a=s){let n=e.openElements.items[a];s=e.openElements.slotBelow(a);const c=e.activeFormattingElements.getElementEntry(n),l=c&&t>=3;!c||l?(l&&e.activeFormattingElements.removeEntry(c),e.openElements.removeAt(a)):(n=tl(e,c,o),i===r&&(e.activeFormattingElements.bookmark=c),e.treeAdapter.detachNode(i),e.treeAdapter.appendChild(n,i),i=n)}return i}function tl(e,t,n){const r=e.treeAdapter.getNamespaceURI(t.element),i=e._createElement(t.token.tagName,r,t.token.attrs,n);return e.openElements.replace(t.element,i),e.activeFormattingElements.replaceElement(t,i),i}function nl(e,t,n){const r=Xa(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);r===Ga.TEMPLATE&&i===$a.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function rl(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,s=e._createElement(i.tagName,r,i.attrs,t);e._adoptNodes(t,s),e.treeAdapter.appendChild(t,s),e.activeFormattingElements.insertElementAfterBookmark(s,i),e.activeFormattingElements.removeEntry(n);const o=e.openElements._indexOf(n.element);let a=e.openElements.slotAbove(o);for(;e.openElements.items[a]!==t;)a=e.openElements.slotAbove(a);e.openElements.replaceFormattingElement(o,a,s,i.tagID)}function il(e,t){const{current:n,currentTagId:r}=e.openElements;if(r!==t.tagID||e.treeAdapter.getNamespaceURI(n)!==$a.HTML||e.activeFormattingElements.getElementEntry(n))for(let n=0;n<8;n++){const n=Jc(e,t);if(!n)break;const r=Zc(e,n);if(-1===r)break;const i=e.openElements.items[r];e.activeFormattingElements.bookmark=n;const s=el(e,r,n.element),o=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(s),o&&nl(e,o,s),rl(e,i,n)}else e.openElements.pop()}function sl(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function ol(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r=e.openElements.slotBelow(r))e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function al(e,t){e._err(t,aa.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ha.QUIRKS),e.insertionMode=Wc.BEFORE_HTML,e._processToken(t)}function cl(e,t){e._insertFakeRootElement(),e.insertionMode=Wc.BEFORE_HEAD,e._processToken(t)}function ll(e,t){e._insertFakeElement(Ua.HEAD,Ga.HEAD),e.headElement=e.openElements.current,e.insertionMode=Wc.IN_HEAD,e._processToken(t)}function ul(e,t){switch(t.tagID){case Ga.HTML:Il(e,t);break;case Ga.BASE:case Ga.BASEFONT:case Ga.BGSOUND:case Ga.LINK:case Ga.META:e._appendElement(t,$a.HTML),t.ackSelfClosing=!0;break;case Ga.TITLE:e._switchToTextParsing(t,nc.RCDATA);break;case Ga.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,nc.RAWTEXT):(e._insertElement(t,$a.HTML),e.insertionMode=Wc.IN_HEAD_NO_SCRIPT);break;case Ga.NOFRAMES:case Ga.STYLE:e._switchToTextParsing(t,nc.RAWTEXT);break;case Ga.SCRIPT:e._switchToTextParsing(t,nc.SCRIPT_DATA);break;case Ga.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Wc.IN_TEMPLATE,e.tmplInsertionModeStack.push(Wc.IN_TEMPLATE);break;case Ga.HEAD:e._err(t,aa.misplacedStartTagForHeadElement);break;default:pl(e,t)}}function hl(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==Ga.TEMPLATE&&e._err(t,aa.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(Ga.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.pop(),e._resetInsertionMode()):e._err(t,aa.endTagWithoutMatchingOpenElement)}function pl(e,t){e.openElements.pop(),e.insertionMode=Wc.AFTER_HEAD,e._processToken(t)}function fl(e,t){const n=t.type===ca.EOF?aa.openElementsLeftAfterEof:aa.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Wc.IN_HEAD,e._processToken(t)}function dl(e,t){e._insertFakeElement(Ua.BODY,Ga.BODY),e.insertionMode=Wc.IN_BODY,ml(e,t)}function ml(e,t){switch(t.type){case ca.CHARACTER:Tl(e,t);break;case ca.WHITESPACE_CHARACTER:El(e,t);break;case ca.COMMENT:sl(e,t);break;case ca.START_TAG:Il(e,t);break;case ca.END_TAG:Cl(e,t);break;case ca.EOF:Nl(e,t)}}function El(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Tl(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function gl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,$a.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Al(e){const t=ua(e,Ba.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function _l(e,t){e._switchToTextParsing(t,nc.RAWTEXT)}function kl(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$a.HTML)}function Il(e,t){switch(t.tagID){case Ga.I:case Ga.S:case Ga.B:case Ga.U:case Ga.EM:case Ga.TT:case Ga.BIG:case Ga.CODE:case Ga.FONT:case Ga.SMALL:case Ga.STRIKE:case Ga.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$a.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ga.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(Ua.A);n&&(il(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,$a.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ga.H1:case Ga.H2:case Ga.H3:case Ga.H4:case Ga.H5:case Ga.H6:!function(e,t){e.openElements.hasInButtonScope(Ga.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&ec.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,$a.HTML)}(e,t);break;case Ga.P:case Ga.DL:case Ga.OL:case Ga.UL:case Ga.DIV:case Ga.DIR:case Ga.NAV:case Ga.MAIN:case Ga.MENU:case Ga.ASIDE:case Ga.CENTER:case Ga.FIGURE:case Ga.FOOTER:case Ga.HEADER:case Ga.HGROUP:case Ga.DIALOG:case Ga.DETAILS:case Ga.ADDRESS:case Ga.ARTICLE:case Ga.SEARCH:case Ga.SECTION:case Ga.SUMMARY:case Ga.FIELDSET:case Ga.BLOCKQUOTE:case Ga.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(Ga.P)&&e._closePElement(),e._insertElement(t,$a.HTML)}(e,t);break;case Ga.LI:case Ga.DD:case Ga.DT:!function(e,t){e.framesetOk=!1;const n=t.tagID===Ga.LI?e.openElements.indexOfTopmost(Ga.LI):Math.max(e.openElements.indexOfTopmost(Ga.DD),e.openElements.indexOfTopmost(Ga.DT));if(-1!==n&&!e.openElements.hasListItemBoundaryAbove(n)){const t=e.openElements.tagIDs[n];e.openElements.generateImpliedEndTagsWithExclusion(t),e.openElements.popUntilTagNamePopped(t)}e.openElements.hasInButtonScope(Ga.P)&&e._closePElement(),e._insertElement(t,$a.HTML)}(e,t);break;case Ga.BR:case Ga.IMG:case Ga.WBR:case Ga.AREA:case Ga.EMBED:case Ga.KEYGEN:gl(e,t);break;case Ga.HR:!function(e,t){e.openElements.hasInButtonScope(Ga.P)&&e._closePElement(),e._appendElement(t,$a.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case Ga.RB:case Ga.RTC:!function(e,t){e.openElements.hasInScope(Ga.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,$a.HTML)}(e,t);break;case Ga.RT:case Ga.RP:!function(e,t){e.openElements.hasInScope(Ga.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Ga.RTC),e._insertElement(t,$a.HTML)}(e,t);break;case Ga.PRE:case Ga.LISTING:!function(e,t){e.openElements.hasInButtonScope(Ga.P)&&e._closePElement(),e._insertElement(t,$a.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case Ga.XMP:!function(e,t){e.openElements.hasInButtonScope(Ga.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,nc.RAWTEXT)}(e,t);break;case Ga.SVG:!function(e,t){e._reconstructActiveFormattingElements(),Gc(t),Yc(t),t.selfClosing?e._appendElement(t,$a.SVG):e._insertElement(t,$a.SVG),t.ackSelfClosing=!0}(e,t);break;case Ga.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case Ga.BASE:case Ga.LINK:case Ga.META:case Ga.STYLE:case Ga.TITLE:case Ga.SCRIPT:case Ga.BGSOUND:case Ga.BASEFONT:case Ga.TEMPLATE:ul(e,t);break;case Ga.BODY:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case Ga.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(Ga.P)&&e._closePElement(),e._insertElement(t,$a.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case Ga.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Ga.NOBR)&&(il(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,$a.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ga.MATH:!function(e,t){e._reconstructActiveFormattingElements(),Uc(t),Yc(t),t.selfClosing?e._appendElement(t,$a.MATHML):e._insertElement(t,$a.MATHML),t.ackSelfClosing=!0}(e,t);break;case Ga.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ha.QUIRKS&&e.openElements.hasInButtonScope(Ga.P)&&e._closePElement(),e._insertElement(t,$a.HTML),e.framesetOk=!1,e.insertionMode=Wc.IN_TABLE}(e,t);break;case Ga.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,$a.HTML),Al(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case Ga.PARAM:case Ga.TRACK:case Ga.SOURCE:!function(e,t){e._appendElement(t,$a.HTML),t.ackSelfClosing=!0}(e,t);break;case Ga.IMAGE:!function(e,t){t.tagName=Ua.IMG,t.tagID=Ga.IMG,gl(e,t)}(e,t);break;case Ga.BUTTON:!function(e,t){e.openElements.hasInScope(Ga.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ga.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,$a.HTML),e.framesetOk=!1}(e,t);break;case Ga.APPLET:case Ga.OBJECT:case Ga.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$a.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case Ga.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,nc.RAWTEXT)}(e,t);break;case Ga.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$a.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Wc.IN_TABLE||e.insertionMode===Wc.IN_CAPTION||e.insertionMode===Wc.IN_TABLE_BODY||e.insertionMode===Wc.IN_ROW||e.insertionMode===Wc.IN_CELL?Wc.IN_SELECT_IN_TABLE:Wc.IN_SELECT}(e,t);break;case Ga.OPTION:case Ga.OPTGROUP:!function(e,t){e.openElements.currentTagId===Ga.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,$a.HTML)}(e,t);break;case Ga.NOEMBED:case Ga.NOFRAMES:_l(e,t);break;case Ga.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,$a.HTML),e.insertionMode=Wc.IN_FRAMESET)}(e,t);break;case Ga.TEXTAREA:!function(e,t){e._insertElement(t,$a.HTML),e.skipNextNewLine=!0,e.tokenizer.state=nc.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Wc.TEXT}(e,t);break;case Ga.NOSCRIPT:e.options.scriptingEnabled?_l(e,t):kl(e,t);break;case Ga.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(Ga.P)&&e._closePElement(),e._insertElement(t,$a.HTML),e.tokenizer.state=nc.PLAINTEXT}(e,t);break;case Ga.COL:case Ga.TH:case Ga.TD:case Ga.TR:case Ga.HEAD:case Ga.FRAME:case Ga.TBODY:case Ga.TFOOT:case Ga.THEAD:case Ga.CAPTION:case Ga.COLGROUP:break;default:kl(e,t)}}function Sl(e,t){const n=t.tagID,r=n===Ga.UNKNOWN?e.openElements.indexOfTopmostByName($a.HTML,t.tagName):e.openElements.indexOfTopmost(n);r>0&&!e.openElements.hasSpecialElementAbove(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=r&&e.openElements.shortenToLength(r))}function Cl(e,t){switch(t.tagID){case Ga.A:case Ga.B:case Ga.I:case Ga.S:case Ga.U:case Ga.EM:case Ga.TT:case Ga.BIG:case Ga.CODE:case Ga.FONT:case Ga.NOBR:case Ga.SMALL:case Ga.STRIKE:case Ga.STRONG:il(e,t);break;case Ga.P:!function(e){e.openElements.hasInButtonScope(Ga.P)||e._insertFakeElement(Ua.P,Ga.P),e._closePElement()}(e);break;case Ga.DL:case Ga.UL:case Ga.OL:case Ga.DIR:case Ga.DIV:case Ga.NAV:case Ga.PRE:case Ga.MAIN:case Ga.MENU:case Ga.ASIDE:case Ga.BUTTON:case Ga.CENTER:case Ga.FIGURE:case Ga.FOOTER:case Ga.HEADER:case Ga.HGROUP:case Ga.DIALOG:case Ga.ADDRESS:case Ga.ARTICLE:case Ga.DETAILS:case Ga.SEARCH:case Ga.SECTION:case Ga.SUMMARY:case Ga.LISTING:case Ga.FIELDSET:case Ga.BLOCKQUOTE:case Ga.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Ga.LI:!function(e){e.openElements.hasInListItemScope(Ga.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Ga.LI),e.openElements.popUntilTagNamePopped(Ga.LI))}(e);break;case Ga.DD:case Ga.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Ga.H1:case Ga.H2:case Ga.H3:case Ga.H4:case Ga.H5:case Ga.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case Ga.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(Ua.BR,Ga.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case Ga.BODY:!function(e,t){if(e.openElements.hasInScope(Ga.BODY)&&(e.insertionMode=Wc.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case Ga.HTML:!function(e,t){e.openElements.hasInScope(Ga.BODY)&&(e.insertionMode=Wc.AFTER_BODY,Yl(e,t))}(e,t);break;case Ga.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(Ga.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(Ga.FORM):n&&e.openElements.remove(n))}(e);break;case Ga.APPLET:case Ga.OBJECT:case Ga.MARQUEE:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case Ga.TEMPLATE:hl(e,t);break;default:Sl(e,t)}}function Nl(e,t){e.tmplInsertionModeStack.length>0?Gl(e,t):ol(e,t)}function yl(e,t){if(void 0!==e.openElements.currentTagId&&Qc.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Wc.IN_TABLE_TEXT,t.type){case ca.CHARACTER:Ll(e,t);break;case ca.WHITESPACE_CHARACTER:Rl(e,t)}else Ol(e,t)}function Dl(e,t){switch(t.tagID){case Ga.TD:case Ga.TH:case Ga.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Ua.TBODY,Ga.TBODY),e.insertionMode=Wc.IN_TABLE_BODY,wl(e,t)}(e,t);break;case Ga.STYLE:case Ga.SCRIPT:case Ga.TEMPLATE:ul(e,t);break;case Ga.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Ua.COLGROUP,Ga.COLGROUP),e.insertionMode=Wc.IN_COLUMN_GROUP,xl(e,t)}(e,t);break;case Ga.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,$a.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case Ga.TABLE:!function(e,t){e.openElements.hasInTableScope(Ga.TABLE)&&(e.openElements.popUntilTagNamePopped(Ga.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case Ga.TBODY:case Ga.TFOOT:case Ga.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,$a.HTML),e.insertionMode=Wc.IN_TABLE_BODY}(e,t);break;case Ga.INPUT:!function(e,t){Al(t)?e._appendElement(t,$a.HTML):Ol(e,t),t.ackSelfClosing=!0}(e,t);break;case Ga.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,$a.HTML),e.insertionMode=Wc.IN_CAPTION}(e,t);break;case Ga.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,$a.HTML),e.insertionMode=Wc.IN_COLUMN_GROUP}(e,t);break;default:Ol(e,t)}}function bl(e,t){switch(t.tagID){case Ga.TABLE:e.openElements.hasInTableScope(Ga.TABLE)&&(e.openElements.popUntilTagNamePopped(Ga.TABLE),e._resetInsertionMode());break;case Ga.TEMPLATE:hl(e,t);break;case Ga.BODY:case Ga.CAPTION:case Ga.COL:case Ga.COLGROUP:case Ga.HTML:case Ga.TBODY:case Ga.TD:case Ga.TFOOT:case Ga.TH:case Ga.THEAD:case Ga.TR:break;default:Ol(e,t)}}function Ol(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ml(e,t),e.fosterParentingEnabled=n}function Rl(e,t){e.pendingCharacterTokens.push(t)}function Ll(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function vl(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Ol(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Pl=new Set([Ga.CAPTION,Ga.COL,Ga.COLGROUP,Ga.TBODY,Ga.TD,Ga.TFOOT,Ga.TH,Ga.THEAD,Ga.TR]);function xl(e,t){switch(t.tagID){case Ga.HTML:Il(e,t);break;case Ga.COL:e._appendElement(t,$a.HTML),t.ackSelfClosing=!0;break;case Ga.TEMPLATE:ul(e,t);break;default:Ml(e,t)}}function Ml(e,t){e.openElements.currentTagId===Ga.COLGROUP&&(e.openElements.pop(),e.insertionMode=Wc.IN_TABLE,e._processToken(t))}function wl(e,t){switch(t.tagID){case Ga.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,$a.HTML),e.insertionMode=Wc.IN_ROW;break;case Ga.TH:case Ga.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(Ua.TR,Ga.TR),e.insertionMode=Wc.IN_ROW,$l(e,t);break;case Ga.CAPTION:case Ga.COL:case Ga.COLGROUP:case Ga.TBODY:case Ga.TFOOT:case Ga.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Wc.IN_TABLE,Dl(e,t));break;default:Dl(e,t)}}function Fl(e,t){const n=t.tagID;switch(t.tagID){case Ga.TBODY:case Ga.TFOOT:case Ga.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Wc.IN_TABLE);break;case Ga.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Wc.IN_TABLE,bl(e,t));break;case Ga.BODY:case Ga.CAPTION:case Ga.COL:case Ga.COLGROUP:case Ga.HTML:case Ga.TD:case Ga.TH:case Ga.TR:break;default:bl(e,t)}}function $l(e,t){switch(t.tagID){case Ga.TH:case Ga.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,$a.HTML),e.insertionMode=Wc.IN_CELL,e.activeFormattingElements.insertMarker();break;case Ga.CAPTION:case Ga.COL:case Ga.COLGROUP:case Ga.TBODY:case Ga.TFOOT:case Ga.THEAD:case Ga.TR:e.openElements.hasInTableScope(Ga.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Wc.IN_TABLE_BODY,wl(e,t));break;default:Dl(e,t)}}function Bl(e,t){switch(t.tagID){case Ga.TR:e.openElements.hasInTableScope(Ga.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Wc.IN_TABLE_BODY);break;case Ga.TABLE:e.openElements.hasInTableScope(Ga.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Wc.IN_TABLE_BODY,Fl(e,t));break;case Ga.TBODY:case Ga.TFOOT:case Ga.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(Ga.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Wc.IN_TABLE_BODY,Fl(e,t));break;case Ga.BODY:case Ga.CAPTION:case Ga.COL:case Ga.COLGROUP:case Ga.HTML:case Ga.TD:case Ga.TH:break;default:bl(e,t)}}function Hl(e,t){switch(t.tagID){case Ga.HTML:Il(e,t);break;case Ga.OPTION:e.openElements.currentTagId===Ga.OPTION&&e.openElements.pop(),e._insertElement(t,$a.HTML);break;case Ga.OPTGROUP:e.openElements.currentTagId===Ga.OPTION&&e.openElements.pop(),e.openElements.currentTagId===Ga.OPTGROUP&&e.openElements.pop(),e._insertElement(t,$a.HTML);break;case Ga.HR:e.openElements.currentTagId===Ga.OPTION&&e.openElements.pop(),e.openElements.currentTagId===Ga.OPTGROUP&&e.openElements.pop(),e._appendElement(t,$a.HTML),t.ackSelfClosing=!0;break;case Ga.INPUT:case Ga.KEYGEN:case Ga.TEXTAREA:case Ga.SELECT:e.openElements.hasInSelectScope(Ga.SELECT)&&(e.openElements.popUntilTagNamePopped(Ga.SELECT),e._resetInsertionMode(),t.tagID!==Ga.SELECT&&e._processStartTag(t));break;case Ga.SCRIPT:case Ga.TEMPLATE:ul(e,t)}}function Ul(e,t){switch(t.tagID){case Ga.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===Ga.OPTION&&e.openElements.tagIDs[e.openElements.slotBelow(e.openElements.stackTop)]===Ga.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===Ga.OPTGROUP&&e.openElements.pop();break;case Ga.OPTION:e.openElements.currentTagId===Ga.OPTION&&e.openElements.pop();break;case Ga.SELECT:e.openElements.hasInSelectScope(Ga.SELECT)&&(e.openElements.popUntilTagNamePopped(Ga.SELECT),e._resetInsertionMode());break;case Ga.TEMPLATE:hl(e,t)}}function Gl(e,t){if(e.openElements.tmplCount>0){do{e.openElements.popUntilTagNamePopped(Ga.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.pop()}while(e.openElements.tmplCount>0);e._resetInsertionMode(),e.onEof(t)}else ol(e,t)}function Yl(e,t){var n;if(t.tagID===Ga.HTML){if(e.fragmentContext||(e.insertionMode=Wc.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===Ga.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)}}else zl(e,t)}function zl(e,t){e.insertionMode=Wc.IN_BODY,ml(e,t)}function ql(e,t){e.insertionMode=Wc.IN_BODY,ml(e,t)}function jl(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==$a.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}new Set([Ua.AREA,Ua.BASE,Ua.BASEFONT,Ua.BGSOUND,Ua.BR,Ua.COL,Ua.EMBED,Ua.FRAME,Ua.HR,Ua.IMG,Ua.INPUT,Ua.KEYGEN,Ua.LINK,Ua.META,Ua.PARAM,Ua.SOURCE,Ua.TRACK,Ua.WBR]);const Wl=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Vl=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Ql={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Kl(e,t){const n=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=zo("type",{handlers:{root:Jl,element:Zl,text:eu,comment:nu,doctype:tu,raw:ru},unknown:iu}),i={parser:n?new Xc(Ql):Xc.getFragmentParser(void 0,Ql),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),su(i,le());const s=function(e,t){const n=t||{};return $o({file:n.file||void 0,location:!1,schema:"svg"===n.space?q:z,verbose:n.verbose||!1},e)}(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&rr(s,"comment",function(e,t,n){const r=e;if(r.value.stitch&&n&&void 0!==t)return n.children[t]=r.value.stitch,t}),"root"===s.type&&1===s.children.length&&s.children[0].type===e.type?s.children[0]:s}function Xl(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Jl(e,t){Xl(e.children,t)}function Zl(e,t){!function(e,t){if(t.parser.tokenizer.state===nc.PLAINTEXT)return;const n=e.tagName.toLowerCase();su(t,le(e));const{current:r}=t.parser.openElements;let i=r&&"namespaceURI"in r?r.namespaceURI:Mo.html;i===Mo.html&&"svg"===n&&(i=Mo.svg);const s=(a={...e,children:[]},Wo(a,"svg"===({space:i===Mo.svg?"svg":"html"}||qo).space?q:z)),o={type:ca.START_TAG,tagName:n,tagID:Xa(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in s?s.attrs:[],location:au(e)};var a;t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}(e,t),Xl(e.children,t),function(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Xo.includes(n))return;if(t.parser.tokenizer.state===nc.PLAINTEXT)return;su(t,ce(e));const r={type:ca.END_TAG,tagName:n,tagID:Xa(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:au(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n!==t.parser.tokenizer.lastStartTagName||t.parser.tokenizer.state!==nc.RCDATA&&t.parser.tokenizer.state!==nc.RAWTEXT&&t.parser.tokenizer.state!==nc.SCRIPT_DATA||(t.parser.tokenizer.state=nc.DATA)}(e,t)}function eu(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0),su(t,le(e));const n=au(e),{value:r}=e;let i=0;for(;i<r.length;){const e=cu(r.charCodeAt(i));let s=i+1;for(;s<r.length&&cu(r.charCodeAt(s))===e;)s++;const o={type:e,chars:r.slice(i,s),location:n};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),i=s}}function tu(e,t){const n={type:ca.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:au(e)};su(t,le(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function nu(e,t){const n=e.value,r={type:ca.COMMENT,data:n,location:au(e)};su(t,le(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function ru(e,t){t.parser.tokenizer.flushCharacters(),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,ou(t,le(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Wl,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),71===t.parser.tokenizer.state&&(t.parser.tokenizer.preprocessor.pos=t.parser.tokenizer.preprocessor.html.length,t.parser.tokenizer.preprocessor.lastChunkWritten=!0,t.parser.tokenizer._stateCharacterReference(),t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.active=!0,t.parser.tokenizer._runParsingLoop())}function iu(e,t){const n=e;if(!t.options.passThrough||!t.options.passThrough.includes(n.type)){let e="";throw Vl.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+e)}!function(e,t){t.stitches=!0;const n=function(e){return qn("children"in e?{...e,children:[]}:e)}(e);if("children"in e&&"children"in n){const r=Kl({type:"root",children:e.children},t.options);n.children=r.children}nu({type:"comment",value:{stitch:n}},t)}(n,t)}function su(e,t){e.parser.tokenizer.flushCharacters(),ou(e,t),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=nc.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 ou(e,t){if(t&&void 0!==t.offset){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=1-t.column,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function au(e){const t=le(e)||{line:void 0,column:void 0,offset:void 0},n=ce(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 cu(e){return 9===e||10===e||12===e||13===e||32===e?ca.WHITESPACE_CHARACTER:ca.CHARACTER}function lu(e){return lu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lu(e)}function uu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uu(Object(n),!0).forEach(function(t){pu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pu(e,t,n){return(t=function(e){var t=function(e){if("object"!=lu(e)||!e)return e;var t;if("undefined"!=typeof Symbol&&void 0!==(t=e[Symbol.toPrimitive])){var n=t.call(e,"string");if("object"!=lu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==lu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var du=/(\${1,2})((?:\\.|[^$])+)\1/g;function mu(e){var t,n=null===(t=e.properties)||void 0===t?void 0:t.className;if(Array.isArray(n)){if(n.includes("math-inline"))return"inline";if(n.includes("math-display"))return"display"}return null}function Eu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Tu=["dcclink","dccmarkdown"],gu=function(e){return function(t){rr(t,"element",function(t){"a"===t.tagName&&(t.properties.target=e)})}},Au=["script","style"],_u=[function(e){const t=e||ko,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return je([{text:Ks},{document:{91:{name:"gfmFootnoteDefinition",tokenize:ao,continuation:{tokenize:co},exit:lo}},text:{91:{name:"gfmFootnoteCall",tokenize:oo},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:io,resolveTo:so}}},uo(e),{flow:{null:{name:"table",tokenize:fo,resolveAll:mo}}},{text:{91:Ao}}])}(t)),i.push([{transforms:[ki],enter:{literalAutolink:mi,literalAutolinkEmail:Ei,literalAutolinkHttp:Ei,literalAutolinkWww:Ei},exit:{literalAutolink:_i,literalAutolinkEmail:Ai,literalAutolinkHttp:Ti,literalAutolinkWww:gi}},{enter:{gfmFootnoteCallString:yi,gfmFootnoteCall:Di,gfmFootnoteDefinitionLabelString:bi,gfmFootnoteDefinition:Oi},exit:{gfmFootnoteCallString:Ri,gfmFootnoteCall:Li,gfmFootnoteDefinitionLabelString:vi,gfmFootnoteDefinition:Pi}},{canContainEols:["delete"],enter:{strikethrough:Bi},exit:{strikethrough:Hi}},{enter:{table:bs,tableData:vs,tableHeader:vs,tableRow:Rs},exit:{codeText:Ps,table:Os,tableData:Ls,tableHeader:Ls,tableRow:Ls}},{exit:{taskListCheckValueChecked:Fs,taskListCheckValueUnchecked:Fs,paragraph:$s}}]),s.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:fi,notInConstruct:di},{character:".",before:"[Ww]{3}",inConstruct:fi,notInConstruct:di},{character:":",before:"[PSps]",after:"\\/",inConstruct:fi,notInConstruct:di}]},Mi(e),{handlers:{delete:Ui},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:$i}]},Ms(e),{handlers:{paragraph:Bs},join:[Hs]}]}}(t))}],ku=[function(e){var t=e||Do,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return{flow:{36:Io},text:{36:Co(e)}}}(t)),i.push(function(){return{enter:{mathFlow:function(e){this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[{type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]}]}},e)},mathFlowFenceMeta:function(){this.buffer()},mathText:function(e){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},e),this.buffer()}},exit:{mathFlow:function(e){const t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t;const r=n.data.hChildren[0];r.type,r.tagName,r.children.push({type:"text",value:t}),this.data.mathFlowInside=void 0},mathFlowFence:function(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)},mathFlowFenceMeta:function(){const e=this.resume(),t=this.stack[this.stack.length-1];t.type,t.meta=e},mathFlowValue:e,mathText:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,this.exit(e),n.value=t,n.data.hChildren.push({type:"text",value:t})},mathTextData:e}};function e(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}()),s.push(function(e){let t=(e||{}).singleDollarTextMath;return null==t&&(t=!0),n.peek=function(){return"$"},{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:"\n",inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:function(e,t,n,r){const i=e.value||"",s=n.createTracker(r),o="$".repeat(Math.max(Qi(i,"$")+1,2)),a=n.enter("mathFlow");let c=s.move(o);if(e.meta){const t=n.enter("mathFlowMeta");c+=s.move(n.safe(e.meta,{after:"\n",before:c,encode:["$"],...s.current()})),t()}return c+=s.move("\n"),i&&(c+=s.move(i+"\n")),c+=s.move(o),a(),c},inlineMath:n}};function n(e,n,r){let i=e.value||"",s=1;for(t||s++;new RegExp("(^|[^$])"+"\\$".repeat(s)+"([^$]|$)").test(i);)s++;const o="$".repeat(s);/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^\$|\$$/.test(i))&&(i=" "+i+" ");let a=-1;for(;++a<r.unsafe.length;){const e=r.unsafe[a];if(!e.atBreak)continue;const t=r.compilePattern(e);let n;for(;n=t.exec(i);){let e=n.index;10===i.codePointAt(e)&&13===i.codePointAt(e-1)&&e--,i=i.slice(0,e)+" "+i.slice(n.index+1)}}return o+i+o}}(t))}],Iu=[function(){return function(e){rr(e,function(e){if("raw"!==e.type){if("element"===e.type){var t=(i=e.children,s=1,function(e){if(Array.isArray(e))return e}(i)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,s,o,a=[],c=!0,l=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return a}}(i,s)||function(e,t){if(e){if("string"==typeof e)return fu(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fu(e,t):void 0}}(i,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];if("pre"===e.tagName&&1===e.children.length&&"element"===t.type&&"display"===mu(t))return e.tagName="dashmathjax",e.properties={inline:"false"},void(e.children=t.children);var n=mu(e);n&&(e.tagName="dashmathjax",e.properties={inline:"inline"===n?"true":"false"})}}else{var r=e;r.value=r.value.replace(du,function(e,t,n){var r=1===t.length||-1===n.indexOf("\n");return'<dashmathjax inline="'.concat(r,'">').concat(n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),"</dashmathjax>")})}var i,s})}}],Su=[function(e){return function(t,n){return Kl(t,{...e,file:n})}},function(){return function(e){rr(e,"element",function(e,t,n){if(Au.includes(e.tagName)&&n&&"number"==typeof t)return n.children.splice(t,1),["skip",t]})}},function(){return function(e){rr(e,"element",function(e,t,n){var r,i,s;if(n&&"number"==typeof t){var o=Tu.includes(e.tagName),a=void 0!==(null===(r=e.properties)||void 0===r?void 0:r.children);o&&a&&((i=n.children).splice.apply(i,[t+1,0].concat(function(e){if(Array.isArray(e))return Eu(e)}(s=e.children)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,t){if(e){if("string"==typeof e)return Eu(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Eu(e,t):void 0}}(s)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),e.children=[])}})}}],Cu=[function(){return function(e){rr(e,"element",function(e,t,n){"code"===e.tagName&&"element"===(null==n?void 0:n.type)&&"pre"===n.tagName&&(e.data=hu(hu({},e.data),{},{block:!0}))})}}];function Nu(){return Nu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nu.apply(null,arguments)}function yu(e){return function(e){if(Array.isArray(e))return Du(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Du(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Du(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Du(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var bu=function(e){return/^tel:/i.test(e)?e:ei(e)},Ou=c().memo(function(e){var t=e.children,n=e.dedent,r=e.dangerously_allow_html,i=e.mathjax,s=e.link_target,o=n&&t?function(e){var t,n=e.split(/\r\n|\r|\n/),r=null,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ni(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ni(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,s=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw s}}}}(n);try{for(i.s();!(t=i.n()).done;){var s=t.value,o=s&&s.match(/^\s*(?=\S)/);if(o){var a=o[0];if(null!==r){for(var c=0;c<r.length;c++)if(a[c]!==r[c]){r=r.substr(0,c);break}}else r=a;if(!r)break}}}catch(e){i.e(e)}finally{i.f()}var l=r?r.length:0;return n.map(function(e){return e.match(/\S/)?e.substr(l):""}).join("\n")}(t):t,a=yu(_u),l=[];return i&&(a.push.apply(a,yu(ku)),l.push.apply(l,yu(Iu))),r&&l.push.apply(l,yu(Su)),l.push.apply(l,yu(Cu)),s&&l.push.apply(l,yu([[gu,s]])),c().createElement(Zr,{remarkPlugins:a,urlTransform:bu,rehypePlugins:l,components:li},o)}),Ru=function(e){var t=e.id,n=e.style,r=e.className,i=e.highlight_config,s=e.dangerously_allow_html,o=e.link_target,l=e.mathjax,u=e.children,h=e.dedent,p=Array.isArray(u)?u.join("\n"):u,f=[r,"dark"===(null==i?void 0:i.theme)?"hljs-dark":""].filter(Boolean),d=(0,a.useCallback)(function(e){return c().createElement(Ou,{dedent:h,dangerously_allow_html:s,mathjax:l,link_target:o},e)},[h,s,l,o]),m=(0,a.useMemo)(function(){return{renderMarkdown:d}},[d]);return c().createElement(ti.A,null,function(e){return c().createElement("div",Nu({id:t,style:n,className:f.join(" ")},e),c().createElement(ai.Provider,{value:m},d(null!=p?p:"")))})}}}]);
3
2
  //# sourceMappingURL=async-markdown.js.map