@sakura-ui/markdown 0.2.0-beta.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +24 -40
- package/dist/index.es.js +2605 -2625
- package/package.json +5 -5
package/dist/index.cjs.js
CHANGED
|
@@ -1,45 +1,29 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var eu;function Ns(){if(eu)return St;eu=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,u,i){var a=null;if(i!==void 0&&(a=""+i),u.key!==void 0&&(a=""+u.key),"key"in u){i={};for(var o in u)o!=="key"&&(i[o]=u[o])}else i=u;return u=i.ref,{$$typeof:e,type:r,key:a,ref:u!==void 0?u:null,props:i}}return St.Fragment=t,St.jsx=n,St.jsxs=n,St}var yt={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var tu;function ks(){return tu||(tu=1,process.env.NODE_ENV!=="production"&&function(){function e(E){if(E==null)return null;if(typeof E=="function")return E.$$typeof===I?null:E.displayName||E.name||null;if(typeof E=="string")return E;switch(E){case _:return"Fragment";case x:return"Profiler";case S:return"StrictMode";case q:return"Suspense";case k:return"SuspenseList";case O:return"Activity"}if(typeof E=="object")switch(typeof E.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),E.$$typeof){case A:return"Portal";case L:return(E.displayName||"Context")+".Provider";case F:return(E._context.displayName||"Context")+".Consumer";case z:var W=E.render;return E=E.displayName,E||(E=W.displayName||W.name||"",E=E!==""?"ForwardRef("+E+")":"ForwardRef"),E;case j:return W=E.displayName||null,W!==null?W:e(E.type)||"Memo";case V:W=E._payload,E=E._init;try{return e(E(W))}catch{}}return null}function t(E){return""+E}function n(E){try{t(E);var W=!1}catch{W=!0}if(W){W=console;var te=W.error,g=typeof Symbol=="function"&&Symbol.toStringTag&&E[Symbol.toStringTag]||E.constructor.name||"Object";return te.call(W,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",g),t(E)}}function r(E){if(E===_)return"<>";if(typeof E=="object"&&E!==null&&E.$$typeof===V)return"<...>";try{var W=e(E);return W?"<"+W+">":"<...>"}catch{return"<...>"}}function u(){var E=v.A;return E===null?null:E.getOwner()}function i(){return Error("react-stack-top-frame")}function a(E){if(U.call(E,"key")){var W=Object.getOwnPropertyDescriptor(E,"key").get;if(W&&W.isReactWarning)return!1}return E.key!==void 0}function o(E,W){function te(){C||(C=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",W))}te.isReactWarning=!0,Object.defineProperty(E,"key",{get:te,configurable:!0})}function l(){var E=e(this.type);return X[E]||(X[E]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),E=this.props.ref,E!==void 0?E:null}function c(E,W,te,g,fe,de,oe,ze){return te=de.ref,E={$$typeof:d,type:E,key:W,props:de,_owner:fe},(te!==void 0?te:null)!==null?Object.defineProperty(E,"ref",{enumerable:!1,get:l}):Object.defineProperty(E,"ref",{enumerable:!1,value:null}),E._store={},Object.defineProperty(E._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(E,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(E,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:oe}),Object.defineProperty(E,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ze}),Object.freeze&&(Object.freeze(E.props),Object.freeze(E)),E}function h(E,W,te,g,fe,de,oe,ze){var ae=W.children;if(ae!==void 0)if(g)if(B(ae)){for(g=0;g<ae.length;g++)f(ae[g]);Object.freeze&&Object.freeze(ae)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(ae);if(U.call(W,"key")){ae=e(E);var xe=Object.keys(W).filter(function(ct){return ct!=="key"});g=0<xe.length?"{key: someKey, "+xe.join(": ..., ")+": ...}":"{key: someKey}",Se[ae+g]||(xe=0<xe.length?"{"+xe.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const qe=require("react"),ne=require("@sakura-ui/core");function Is(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const u in r)if(u!=="default"&&!(u in e)){const i=Object.getOwnPropertyDescriptor(r,u);i&&Object.defineProperty(e,u,i.get?i:{enumerable:!0,get:()=>r[u]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function gr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zt={exports:{}},kt={};var eu;function Ns(){if(eu)return kt;eu=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,u,i){var a=null;if(i!==void 0&&(a=""+i),u.key!==void 0&&(a=""+u.key),"key"in u){i={};for(var o in u)o!=="key"&&(i[o]=u[o])}else i=u;return u=i.ref,{$$typeof:e,type:r,key:a,ref:u!==void 0?u:null,props:i}}return kt.Fragment=t,kt.jsx=n,kt.jsxs=n,kt}var St={};var tu;function ks(){return tu||(tu=1,process.env.NODE_ENV!=="production"&&function(){function e(F){if(F==null)return null;if(typeof F=="function")return F.$$typeof===H?null:F.displayName||F.name||null;if(typeof F=="string")return F;switch(F){case S:return"Fragment";case L:return"Profiler";case x:return"StrictMode";case k:return"Suspense";case V:return"SuspenseList";case I:return"Activity"}if(typeof F=="object")switch(typeof F.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),F.$$typeof){case _:return"Portal";case Y:return F.displayName||"Context";case R:return(F._context.displayName||"Context")+".Consumer";case j:var Q=F.render;return F=F.displayName,F||(F=Q.displayName||Q.name||"",F=F!==""?"ForwardRef("+F+")":"ForwardRef"),F;case W:return Q=F.displayName||null,Q!==null?Q:e(F.type)||"Memo";case O:Q=F._payload,F=F._init;try{return e(F(Q))}catch{}}return null}function t(F){return""+F}function n(F){try{t(F);var Q=!1}catch{Q=!0}if(Q){Q=console;var b=Q.error,re=typeof Symbol=="function"&&Symbol.toStringTag&&F[Symbol.toStringTag]||F.constructor.name||"Object";return b.call(Q,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",re),t(F)}}function r(F){if(F===S)return"<>";if(typeof F=="object"&&F!==null&&F.$$typeof===O)return"<...>";try{var Q=e(F);return Q?"<"+Q+">":"<...>"}catch{return"<...>"}}function u(){var F=U.A;return F===null?null:F.getOwner()}function i(){return Error("react-stack-top-frame")}function a(F){if(M.call(F,"key")){var Q=Object.getOwnPropertyDescriptor(F,"key").get;if(Q&&Q.isReactWarning)return!1}return F.key!==void 0}function o(F,Q){function b(){K||(K=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",Q))}b.isReactWarning=!0,Object.defineProperty(F,"key",{get:b,configurable:!0})}function l(){var F=e(this.type);return fe[F]||(fe[F]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),F=this.props.ref,F!==void 0?F:null}function c(F,Q,b,re,Se,le){var se=b.ref;return F={$$typeof:g,type:F,key:Q,props:b,_owner:re},(se!==void 0?se:null)!==null?Object.defineProperty(F,"ref",{enumerable:!1,get:l}):Object.defineProperty(F,"ref",{enumerable:!1,value:null}),F._store={},Object.defineProperty(F._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(F,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(F,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Se}),Object.defineProperty(F,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:le}),Object.freeze&&(Object.freeze(F.props),Object.freeze(F)),F}function h(F,Q,b,re,Se,le){var se=Q.children;if(se!==void 0)if(re)if(z(se)){for(re=0;re<se.length;re++)f(se[re]);Object.freeze&&Object.freeze(se)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(se);if(M.call(Q,"key")){se=e(F);var ge=Object.keys(Q).filter(function(Ge){return Ge!=="key"});re=0<ge.length?"{key: someKey, "+ge.join(": ..., ")+": ...}":"{key: someKey}",A[se+re]||(ge=0<ge.length?"{"+ge.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
2
|
let props = %s;
|
|
19
3
|
<%s {...props} />
|
|
20
4
|
React keys must be passed directly to JSX without using spread:
|
|
21
5
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,g,ae,xe,ae),Se[ae+g]=!0)}if(ae=null,te!==void 0&&(n(te),ae=""+te),a(W)&&(n(W.key),ae=""+W.key),"key"in W){te={};for(var we in W)we!=="key"&&(te[we]=W[we])}else te=W;return ae&&o(te,typeof E=="function"?E.displayName||E.name||"Unknown":E),c(E,ae,de,fe,u(),te,oe,ze)}function f(E){typeof E=="object"&&E!==null&&E.$$typeof===d&&E._store&&(E._store.validated=1)}var m=je,d=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),L=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),k=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),I=Symbol.for("react.client.reference"),v=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=Object.prototype.hasOwnProperty,B=Array.isArray,H=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(E){return E()}};var C,X={},ce=m.react_stack_bottom_frame.bind(m,i)(),Ae=H(r(i)),Se={};yt.Fragment=_,yt.jsx=function(E,W,te,g,fe){var de=1e4>v.recentlyCreatedOwnerStacks++;return h(E,W,te,!1,g,fe,de?Error("react-stack-top-frame"):ce,de?H(r(E)):Ae)},yt.jsxs=function(E,W,te,g,fe){var de=1e4>v.recentlyCreatedOwnerStacks++;return h(E,W,te,!0,g,fe,de?Error("react-stack-top-frame"):ce,de?H(r(E)):Ae)}}()),yt}var nu;function Ss(){return nu||(nu=1,process.env.NODE_ENV==="production"?Zt.exports=Ns():Zt.exports=ks()),Zt.exports}var re=Ss();const ys=gr(re),Fs=Is({__proto__:null,default:ys},[re]),Ls={};function Yt(e,t){const n=Ls,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Ti(e,r,u)}function Ti(e,t,n){if(Os(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return ru(e.children,t,n)}return Array.isArray(e)?ru(e,t,n):""}function ru(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=Ti(e[u],t,n);return r.join("")}function Os(e){return!!(e&&typeof e=="object")}const uu=document.createElement("i");function qt(e){const t="&"+e+";";uu.innerHTML=t;const n=uu.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function ke(e,t,n,r){const u=e.length;let i=0,a;if(t<0?t=-t>u?0:u+t:t=t>u?u:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i<r.length;)a=r.slice(i,i+1e4),a.unshift(t,0),e.splice(...a),i+=1e4,t+=1e4}function ye(e,t){return e.length>0?(ke(e,e.length,0,t),e):t}const iu={}.hasOwnProperty;function bi(e){const t={};let n=-1;for(;++n<e.length;)Rs(t,e[n]);return t}function Rs(e,t){let n;for(n in t){const u=(iu.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){iu.call(u,a)||(u[a]=[]);const o=i[a];Ps(u[a],Array.isArray(o)?o:o?[o]:[])}}}function Ps(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);ke(e,0,0,r)}function gi(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Re(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Te=et(/[A-Za-z]/),Ee=et(/[\dA-Za-z]/),ws=et(/[#-'*+\--9=?A-Z^-~]/);function fn(e){return e!==null&&(e<32||e===127)}const nr=et(/\d/),Bs=et(/[\dA-Fa-f]/),Ms=et(/[!-/:-@[-`{-~]/);function Y(e){return e!==null&&e<-2}function ee(e){return e!==null&&(e<0||e===32)}function K(e){return e===-2||e===-1||e===32}const bn=et(new RegExp("\\p{P}|\\p{S}","u")),st=et(/\s/);function et(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ct(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&Ee(e.charCodeAt(n+1))&&Ee(e.charCodeAt(n+2)))u=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const o=e.charCodeAt(n+1);i<56320&&o>56319&&o<57344?(a=String.fromCharCode(i,o),u=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+u+1,a=""),u&&(n+=u,u=0)}return t.join("")+e.slice(r)}function $(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(l){return K(l)?(e.enter(n),o(l)):t(l)}function o(l){return K(l)&&i++<u?(e.consume(l),o):(e.exit(n),t(l))}}const vs={tokenize:Hs};function Hs(e){const t=e.attempt(this.parser.constructs.contentInitial,r,u);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),$(e,t,"linePrefix")}function u(o){return e.enter("paragraph"),i(o)}function i(o){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(o)}function a(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return Y(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),a)}}const Us={tokenize:zs},au={tokenize:Ys};function zs(e){const t=this,n=[];let r=0,u,i,a;return o;function o(L){if(r<n.length){const z=n[r];return t.containerState=z[1],e.attempt(z[0].continuation,l,c)(L)}return c(L)}function l(L){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,u&&F();const z=t.events.length;let q=z,k;for(;q--;)if(t.events[q][0]==="exit"&&t.events[q][1].type==="chunkFlow"){k=t.events[q][1].end;break}x(r);let j=z;for(;j<t.events.length;)t.events[j][1].end={...k},j++;return ke(t.events,q+1,0,t.events.slice(z)),t.events.length=j,c(L)}return o(L)}function c(L){if(r===n.length){if(!u)return m(L);if(u.currentConstruct&&u.currentConstruct.concrete)return A(L);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(au,h,f)(L)}function h(L){return u&&F(),x(r),m(L)}function f(L){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,A(L)}function m(L){return t.containerState={},e.attempt(au,d,A)(L)}function d(L){return r++,n.push([t.currentConstruct,t.containerState]),m(L)}function A(L){if(L===null){u&&F(),x(0),e.consume(L);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:u,contentType:"flow",previous:i}),_(L)}function _(L){if(L===null){S(e.exit("chunkFlow"),!0),x(0),e.consume(L);return}return Y(L)?(e.consume(L),S(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(L),_)}function S(L,z){const q=t.sliceStream(L);if(z&&q.push(null),L.previous=i,i&&(i.next=L),i=L,u.defineSkip(L.start),u.write(q),t.parser.lazy[L.start.line]){let k=u.events.length;for(;k--;)if(u.events[k][1].start.offset<a&&(!u.events[k][1].end||u.events[k][1].end.offset>a))return;const j=t.events.length;let V=j,O,I;for(;V--;)if(t.events[V][0]==="exit"&&t.events[V][1].type==="chunkFlow"){if(O){I=t.events[V][1].end;break}O=!0}for(x(r),k=j;k<t.events.length;)t.events[k][1].end={...I},k++;ke(t.events,V+1,0,t.events.slice(j)),t.events.length=k}}function x(L){let z=n.length;for(;z-- >L;){const q=n[z];t.containerState=q[1],q[0].exit.call(t,e)}n.length=L}function F(){u.write([null]),i=void 0,u=void 0,t.containerState._closeFlow=void 0}}function Ys(e,t,n){return $(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Tt(e){if(e===null||ee(e)||st(e))return 1;if(bn(e))return 2}function gn(e,t,n){const r=[];let u=-1;for(;++u<e.length;){const i=e[u].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const rr={name:"attention",resolveAll:qs,tokenize:js};function qs(e,t){let n=-1,r,u,i,a,o,l,c,h;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},m={...e[n][1].start};su(f,-l),su(m,l),a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:m},i={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},u={type:l>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[r][1].end={...a.start},e[n][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=ye(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=ye(c,[["enter",u,t],["enter",a,t],["exit",a,t],["enter",i,t]]),c=ye(c,gn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=ye(c,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",u,t]]),e[n][1].end.offset-e[n][1].start.offset?(h=2,c=ye(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):h=0,ke(e,r-1,n-r+3,c),n=r+c.length-h-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function js(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,u=Tt(r);let i;return a;function a(l){return i=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===i)return e.consume(l),o;const c=e.exit("attentionSequence"),h=Tt(l),f=!h||h===2&&u||n.includes(l),m=!u||u===2&&h||n.includes(r);return c._open=!!(i===42?f:f&&(u||!m)),c._close=!!(i===42?m:m&&(h||!f)),t(l)}}function su(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Vs={name:"autolink",tokenize:Ws};function Ws(e,t,n){let r=0;return u;function u(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(d){return Te(d)?(e.consume(d),a):d===64?n(d):c(d)}function a(d){return d===43||d===45||d===46||Ee(d)?(r=1,o(d)):c(d)}function o(d){return d===58?(e.consume(d),r=0,l):(d===43||d===45||d===46||Ee(d))&&r++<32?(e.consume(d),o):(r=0,c(d))}function l(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||fn(d)?n(d):(e.consume(d),l)}function c(d){return d===64?(e.consume(d),h):ws(d)?(e.consume(d),c):n(d)}function h(d){return Ee(d)?f(d):n(d)}function f(d){return d===46?(e.consume(d),r=0,h):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):m(d)}function m(d){if((d===45||Ee(d))&&r++<63){const A=d===45?m:f;return e.consume(d),A}return n(d)}}const Qt={partial:!0,tokenize:Qs};function Qs(e,t,n){return r;function r(i){return K(i)?$(e,u,"linePrefix")(i):u(i)}function u(i){return i===null||Y(i)?t(i):n(i)}}const Ai={continuation:{tokenize:$s},exit:Xs,name:"blockQuote",tokenize:Gs};function Gs(e,t,n){const r=this;return u;function u(a){if(a===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),i}return n(a)}function i(a){return K(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function $s(e,t,n){const r=this;return u;function u(a){return K(a)?$(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(Ai,t,n)(a)}}function Xs(e){e.exit("blockQuote")}const Ci={name:"characterEscape",tokenize:Ks};function Ks(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),u}function u(i){return Ms(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const Di={name:"characterReference",tokenize:Js};function Js(e,t,n){const r=this;let u=0,i,a;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,a=Ee,h(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=Bs,h):(e.enter("characterReferenceValue"),i=7,a=nr,h(f))}function h(f){if(f===59&&u){const m=e.exit("characterReferenceValue");return a===Ee&&!qt(r.sliceSerialize(m))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(f)&&u++<i?(e.consume(f),h):n(f)}}const ou={partial:!0,tokenize:eo},lu={concrete:!0,name:"codeFenced",tokenize:Zs};function Zs(e,t,n){const r=this,u={partial:!0,tokenize:q};let i=0,a=0,o;return l;function l(k){return c(k)}function c(k){const j=r.events[r.events.length-1];return i=j&&j[1].type==="linePrefix"?j[2].sliceSerialize(j[1],!0).length:0,o=k,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(k)}function h(k){return k===o?(a++,e.consume(k),h):a<3?n(k):(e.exit("codeFencedFenceSequence"),K(k)?$(e,f,"whitespace")(k):f(k))}function f(k){return k===null||Y(k)?(e.exit("codeFencedFence"),r.interrupt?t(k):e.check(ou,_,z)(k)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(k))}function m(k){return k===null||Y(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(k)):K(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),$(e,d,"whitespace")(k)):k===96&&k===o?n(k):(e.consume(k),m)}function d(k){return k===null||Y(k)?f(k):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),A(k))}function A(k){return k===null||Y(k)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(k)):k===96&&k===o?n(k):(e.consume(k),A)}function _(k){return e.attempt(u,z,S)(k)}function S(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),x}function x(k){return i>0&&K(k)?$(e,F,"linePrefix",i+1)(k):F(k)}function F(k){return k===null||Y(k)?e.check(ou,_,z)(k):(e.enter("codeFlowValue"),L(k))}function L(k){return k===null||Y(k)?(e.exit("codeFlowValue"),F(k)):(e.consume(k),L)}function z(k){return e.exit("codeFenced"),t(k)}function q(k,j,V){let O=0;return I;function I(C){return k.enter("lineEnding"),k.consume(C),k.exit("lineEnding"),v}function v(C){return k.enter("codeFencedFence"),K(C)?$(k,U,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):U(C)}function U(C){return C===o?(k.enter("codeFencedFenceSequence"),B(C)):V(C)}function B(C){return C===o?(O++,k.consume(C),B):O>=a?(k.exit("codeFencedFenceSequence"),K(C)?$(k,H,"whitespace")(C):H(C)):V(C)}function H(C){return C===null||Y(C)?(k.exit("codeFencedFence"),j(C)):V(C)}}}function eo(e,t,n){const r=this;return u;function u(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const yn={name:"codeIndented",tokenize:no},to={partial:!0,tokenize:ro};function no(e,t,n){const r=this;return u;function u(c){return e.enter("codeIndented"),$(e,i,"linePrefix",5)(c)}function i(c){const h=r.events[r.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):Y(c)?e.attempt(to,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||Y(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function ro(e,t,n){const r=this;return u;function u(a){return r.parser.lazy[r.now().line]?n(a):Y(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):$(e,i,"linePrefix",5)(a)}function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):Y(a)?u(a):n(a)}}const uo={name:"codeText",previous:ao,resolve:io,tokenize:so};function io(e){let t=e.length-4,n=3,r,u;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)u===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(u=r):(r===t||e[r][1].type==="lineEnding")&&(e[u][1].type="codeTextData",r!==u+2&&(e[u][1].end=e[r-1][1].end,e.splice(u+2,r-u-2),t-=r-u-2,r=u+2),u=void 0);return e}function ao(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function so(e,t,n){let r=0,u,i;return a;function a(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),r++,o):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(i=e.enter("codeTextSequence"),u=0,h(f)):Y(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||Y(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),c)}function h(f){return f===96?(e.consume(f),u++,h):u===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(i.type="codeTextData",c(f))}}class oo{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const u=n||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return r&&Ft(this.left,r),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Ft(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Ft(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Ft(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Ft(this.left,n.reverse())}}}function Ft(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 _i(e){const t={};let n=-1,r,u,i,a,o,l,c;const h=new oo(e);for(;++n<h.length;){for(;n in t;)n=t[n];if(r=h.get(n),n&&r[1].type==="chunkFlow"&&h.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,lo(h,n)),n=t[n],c=!0);else if(r[1]._container){for(i=n,u=void 0;i--&&(a=h.get(i),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(u&&(h.get(u)[1].type="lineEndingBlank"),a[1].type="lineEnding",u=i);u&&(r[1].end={...h.get(u)[1].start},o=h.slice(u,n),o.unshift(r),h.splice(u,n-u+1,o))}}return ke(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!c}function lo(e,t){const n=e.get(t)[1],r=e.get(t)[2];let u=t-1;const i=[],a=n._tokenizer||r.parser[n.contentType](n.start),o=a.events,l=[],c={};let h,f,m=-1,d=n,A=0,_=0;const S=[_];for(;d;){for(;e.get(++u)[1]!==d;);i.push(u),d._tokenizer||(h=r.sliceStream(d),d.next||h.push(null),f&&a.defineSkip(d.start),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(h),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=n;++m<o.length;)o[m][0]==="exit"&&o[m-1][0]==="enter"&&o[m][1].type===o[m-1][1].type&&o[m][1].start.line!==o[m][1].end.line&&(_=m+1,S.push(_),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(a.events=[],d?(d._tokenizer=void 0,d.previous=void 0):S.pop(),m=S.length;m--;){const x=o.slice(S[m],S[m+1]),F=i.pop();l.push([F,F+x.length-1]),e.splice(F,2,x)}for(l.reverse(),m=-1;++m<l.length;)c[A+l[m][0]]=A+l[m][1],A+=l[m][1]-l[m][0]-1;return c}const co={resolve:ho,tokenize:mo},fo={partial:!0,tokenize:po};function ho(e){return _i(e),e}function mo(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),u(o)}function u(o){return o===null?i(o):Y(o)?e.check(fo,a,i)(o):(e.consume(o),u)}function i(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function a(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,u}}function po(e,t,n){const r=this;return u;function u(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),$(e,i,"linePrefix")}function i(a){if(a===null||Y(a))return n(a);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function xi(e,t,n,r,u,i,a,o,l){const c=l||Number.POSITIVE_INFINITY;let h=0;return f;function f(x){return x===60?(e.enter(r),e.enter(u),e.enter(i),e.consume(x),e.exit(i),m):x===null||x===32||x===41||fn(x)?n(x):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),_(x))}function m(x){return x===62?(e.enter(i),e.consume(x),e.exit(i),e.exit(u),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),d(x))}function d(x){return x===62?(e.exit("chunkString"),e.exit(o),m(x)):x===null||x===60||Y(x)?n(x):(e.consume(x),x===92?A:d)}function A(x){return x===60||x===62||x===92?(e.consume(x),d):d(x)}function _(x){return!h&&(x===null||x===41||ee(x))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(x)):h<c&&x===40?(e.consume(x),h++,_):x===41?(e.consume(x),h--,_):x===null||x===32||x===40||fn(x)?n(x):(e.consume(x),x===92?S:_)}function S(x){return x===40||x===41||x===92?(e.consume(x),_):_(x)}}function Ii(e,t,n,r,u,i){const a=this;let o=0,l;return c;function c(d){return e.enter(r),e.enter(u),e.consume(d),e.exit(u),e.enter(i),h}function h(d){return o>999||d===null||d===91||d===93&&!l||d===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):d===93?(e.exit(i),e.enter(u),e.consume(d),e.exit(u),e.exit(r),t):Y(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||Y(d)||o++>999?(e.exit("chunkString"),h(d)):(e.consume(d),l||(l=!K(d)),d===92?m:f)}function m(d){return d===91||d===92||d===93?(e.consume(d),o++,f):f(d)}}function Ni(e,t,n,r,u,i){let a;return o;function o(m){return m===34||m===39||m===40?(e.enter(r),e.enter(u),e.consume(m),e.exit(u),a=m===40?41:m,l):n(m)}function l(m){return m===a?(e.enter(u),e.consume(m),e.exit(u),e.exit(r),t):(e.enter(i),c(m))}function c(m){return m===a?(e.exit(i),l(a)):m===null?n(m):Y(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),$(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===a||m===null||Y(m)?(e.exit("chunkString"),c(m)):(e.consume(m),m===92?f:h)}function f(m){return m===a||m===92?(e.consume(m),h):h(m)}}function We(e,t){let n;return r;function r(u){return Y(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):K(u)?$(e,r,n?"linePrefix":"lineSuffix")(u):t(u)}}const Eo={name:"definition",tokenize:bo},To={partial:!0,tokenize:go};function bo(e,t,n){const r=this;let u;return i;function i(d){return e.enter("definition"),a(d)}function a(d){return Ii.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function o(d){return u=Re(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),l):n(d)}function l(d){return ee(d)?We(e,c)(d):c(d)}function c(d){return xi(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function h(d){return e.attempt(To,f,f)(d)}function f(d){return K(d)?$(e,m,"whitespace")(d):m(d)}function m(d){return d===null||Y(d)?(e.exit("definition"),r.parser.defined.push(u),t(d)):n(d)}}function go(e,t,n){return r;function r(o){return ee(o)?We(e,u)(o):n(o)}function u(o){return Ni(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return K(o)?$(e,a,"whitespace")(o):a(o)}function a(o){return o===null||Y(o)?t(o):n(o)}}const Ao={name:"hardBreakEscape",tokenize:Co};function Co(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),u}function u(i){return Y(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const Do={name:"headingAtx",resolve:_o,tokenize:xo};function _o(e,t){let n=e.length-2,r=3,u,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(u={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},ke(e,r,n-r+1,[["enter",u,t],["enter",i,t],["exit",i,t],["exit",u,t]])),e}function xo(e,t,n){let r=0;return u;function u(h){return e.enter("atxHeading"),i(h)}function i(h){return e.enter("atxHeadingSequence"),a(h)}function a(h){return h===35&&r++<6?(e.consume(h),a):h===null||ee(h)?(e.exit("atxHeadingSequence"),o(h)):n(h)}function o(h){return h===35?(e.enter("atxHeadingSequence"),l(h)):h===null||Y(h)?(e.exit("atxHeading"),t(h)):K(h)?$(e,o,"whitespace")(h):(e.enter("atxHeadingText"),c(h))}function l(h){return h===35?(e.consume(h),l):(e.exit("atxHeadingSequence"),o(h))}function c(h){return h===null||h===35||ee(h)?(e.exit("atxHeadingText"),o(h)):(e.consume(h),c)}}const Io=["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"],cu=["pre","script","style","textarea"],No={concrete:!0,name:"htmlFlow",resolveTo:yo,tokenize:Fo},ko={partial:!0,tokenize:Oo},So={partial:!0,tokenize:Lo};function yo(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Fo(e,t,n){const r=this;let u,i,a,o,l;return c;function c(g){return h(g)}function h(g){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(g),f}function f(g){return g===33?(e.consume(g),m):g===47?(e.consume(g),i=!0,_):g===63?(e.consume(g),u=3,r.interrupt?t:E):Te(g)?(e.consume(g),a=String.fromCharCode(g),S):n(g)}function m(g){return g===45?(e.consume(g),u=2,d):g===91?(e.consume(g),u=5,o=0,A):Te(g)?(e.consume(g),u=4,r.interrupt?t:E):n(g)}function d(g){return g===45?(e.consume(g),r.interrupt?t:E):n(g)}function A(g){const fe="CDATA[";return g===fe.charCodeAt(o++)?(e.consume(g),o===fe.length?r.interrupt?t:U:A):n(g)}function _(g){return Te(g)?(e.consume(g),a=String.fromCharCode(g),S):n(g)}function S(g){if(g===null||g===47||g===62||ee(g)){const fe=g===47,de=a.toLowerCase();return!fe&&!i&&cu.includes(de)?(u=1,r.interrupt?t(g):U(g)):Io.includes(a.toLowerCase())?(u=6,fe?(e.consume(g),x):r.interrupt?t(g):U(g)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(g):i?F(g):L(g))}return g===45||Ee(g)?(e.consume(g),a+=String.fromCharCode(g),S):n(g)}function x(g){return g===62?(e.consume(g),r.interrupt?t:U):n(g)}function F(g){return K(g)?(e.consume(g),F):I(g)}function L(g){return g===47?(e.consume(g),I):g===58||g===95||Te(g)?(e.consume(g),z):K(g)?(e.consume(g),L):I(g)}function z(g){return g===45||g===46||g===58||g===95||Ee(g)?(e.consume(g),z):q(g)}function q(g){return g===61?(e.consume(g),k):K(g)?(e.consume(g),q):L(g)}function k(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),l=g,j):K(g)?(e.consume(g),k):V(g)}function j(g){return g===l?(e.consume(g),l=null,O):g===null||Y(g)?n(g):(e.consume(g),j)}function V(g){return g===null||g===34||g===39||g===47||g===60||g===61||g===62||g===96||ee(g)?q(g):(e.consume(g),V)}function O(g){return g===47||g===62||K(g)?L(g):n(g)}function I(g){return g===62?(e.consume(g),v):n(g)}function v(g){return g===null||Y(g)?U(g):K(g)?(e.consume(g),v):n(g)}function U(g){return g===45&&u===2?(e.consume(g),X):g===60&&u===1?(e.consume(g),ce):g===62&&u===4?(e.consume(g),W):g===63&&u===3?(e.consume(g),E):g===93&&u===5?(e.consume(g),Se):Y(g)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(ko,te,B)(g)):g===null||Y(g)?(e.exit("htmlFlowData"),B(g)):(e.consume(g),U)}function B(g){return e.check(So,H,te)(g)}function H(g){return e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),C}function C(g){return g===null||Y(g)?B(g):(e.enter("htmlFlowData"),U(g))}function X(g){return g===45?(e.consume(g),E):U(g)}function ce(g){return g===47?(e.consume(g),a="",Ae):U(g)}function Ae(g){if(g===62){const fe=a.toLowerCase();return cu.includes(fe)?(e.consume(g),W):U(g)}return Te(g)&&a.length<8?(e.consume(g),a+=String.fromCharCode(g),Ae):U(g)}function Se(g){return g===93?(e.consume(g),E):U(g)}function E(g){return g===62?(e.consume(g),W):g===45&&u===2?(e.consume(g),E):U(g)}function W(g){return g===null||Y(g)?(e.exit("htmlFlowData"),te(g)):(e.consume(g),W)}function te(g){return e.exit("htmlFlow"),t(g)}}function Lo(e,t,n){const r=this;return u;function u(a){return Y(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):n(a)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function Oo(e,t,n){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt(Qt,t,n)}}const Ro={name:"htmlText",tokenize:Po};function Po(e,t,n){const r=this;let u,i,a;return o;function o(E){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(E),l}function l(E){return E===33?(e.consume(E),c):E===47?(e.consume(E),q):E===63?(e.consume(E),L):Te(E)?(e.consume(E),V):n(E)}function c(E){return E===45?(e.consume(E),h):E===91?(e.consume(E),i=0,A):Te(E)?(e.consume(E),F):n(E)}function h(E){return E===45?(e.consume(E),d):n(E)}function f(E){return E===null?n(E):E===45?(e.consume(E),m):Y(E)?(a=f,ce(E)):(e.consume(E),f)}function m(E){return E===45?(e.consume(E),d):f(E)}function d(E){return E===62?X(E):E===45?m(E):f(E)}function A(E){const W="CDATA[";return E===W.charCodeAt(i++)?(e.consume(E),i===W.length?_:A):n(E)}function _(E){return E===null?n(E):E===93?(e.consume(E),S):Y(E)?(a=_,ce(E)):(e.consume(E),_)}function S(E){return E===93?(e.consume(E),x):_(E)}function x(E){return E===62?X(E):E===93?(e.consume(E),x):_(E)}function F(E){return E===null||E===62?X(E):Y(E)?(a=F,ce(E)):(e.consume(E),F)}function L(E){return E===null?n(E):E===63?(e.consume(E),z):Y(E)?(a=L,ce(E)):(e.consume(E),L)}function z(E){return E===62?X(E):L(E)}function q(E){return Te(E)?(e.consume(E),k):n(E)}function k(E){return E===45||Ee(E)?(e.consume(E),k):j(E)}function j(E){return Y(E)?(a=j,ce(E)):K(E)?(e.consume(E),j):X(E)}function V(E){return E===45||Ee(E)?(e.consume(E),V):E===47||E===62||ee(E)?O(E):n(E)}function O(E){return E===47?(e.consume(E),X):E===58||E===95||Te(E)?(e.consume(E),I):Y(E)?(a=O,ce(E)):K(E)?(e.consume(E),O):X(E)}function I(E){return E===45||E===46||E===58||E===95||Ee(E)?(e.consume(E),I):v(E)}function v(E){return E===61?(e.consume(E),U):Y(E)?(a=v,ce(E)):K(E)?(e.consume(E),v):O(E)}function U(E){return E===null||E===60||E===61||E===62||E===96?n(E):E===34||E===39?(e.consume(E),u=E,B):Y(E)?(a=U,ce(E)):K(E)?(e.consume(E),U):(e.consume(E),H)}function B(E){return E===u?(e.consume(E),u=void 0,C):E===null?n(E):Y(E)?(a=B,ce(E)):(e.consume(E),B)}function H(E){return E===null||E===34||E===39||E===60||E===61||E===96?n(E):E===47||E===62||ee(E)?O(E):(e.consume(E),H)}function C(E){return E===47||E===62||ee(E)?O(E):n(E)}function X(E){return E===62?(e.consume(E),e.exit("htmlTextData"),e.exit("htmlText"),t):n(E)}function ce(E){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),Ae}function Ae(E){return K(E)?$(e,Se,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):Se(E)}function Se(E){return e.enter("htmlTextData"),a(E)}}const Ar={name:"labelEnd",resolveAll:vo,resolveTo:Ho,tokenize:Uo},wo={tokenize:zo},Bo={tokenize:Yo},Mo={tokenize:qo};function vo(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const u=r.type==="labelImage"?4:2;r.type="data",t+=u}}return e.length!==n.length&&ke(e,0,e.length,n),e}function Ho(e,t){let n=e.length,r=0,u,i,a,o;for(;n--;)if(u=e[n][1],i){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;e[n][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(i=n,u.type!=="labelLink")){r=2;break}}else u.type==="labelEnd"&&(a=n);const l={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[i][1].start},end:{...e[a][1].end}},h={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[a-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=ye(o,e.slice(i+1,i+r+3)),o=ye(o,[["enter",h,t]]),o=ye(o,gn(t.parser.constructs.insideSpan.null,e.slice(i+r+4,a-3),t)),o=ye(o,[["exit",h,t],e[a-2],e[a-1],["exit",c,t]]),o=ye(o,e.slice(a+1)),o=ye(o,[["exit",l,t]]),ke(e,i,e.length,o),e}function Uo(e,t,n){const r=this;let u=r.events.length,i,a;for(;u--;)if((r.events[u][1].type==="labelImage"||r.events[u][1].type==="labelLink")&&!r.events[u][1]._balanced){i=r.events[u][1];break}return o;function o(m){return i?i._inactive?f(m):(a=r.parser.defined.includes(Re(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),l):n(m)}function l(m){return m===40?e.attempt(wo,h,a?h:f)(m):m===91?e.attempt(Bo,h,a?c:f)(m):a?h(m):f(m)}function c(m){return e.attempt(Mo,h,f)(m)}function h(m){return t(m)}function f(m){return i._balanced=!0,n(m)}}function zo(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),u}function u(f){return ee(f)?We(e,i)(f):i(f)}function i(f){return f===41?h(f):xi(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return ee(f)?We(e,l)(f):h(f)}function o(f){return n(f)}function l(f){return f===34||f===39||f===40?Ni(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function c(f){return ee(f)?We(e,h)(f):h(f)}function h(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function Yo(e,t,n){const r=this;return u;function u(o){return Ii.call(r,e,i,a,"reference","referenceMarker","referenceString")(o)}function i(o){return r.parser.defined.includes(Re(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function a(o){return n(o)}}function qo(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),u}function u(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const jo={name:"labelStartImage",resolveAll:Ar.resolveAll,tokenize:Vo};function Vo(e,t,n){const r=this;return u;function u(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),i}function i(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),a):n(o)}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Wo={name:"labelStartLink",resolveAll:Ar.resolveAll,tokenize:Qo};function Qo(e,t,n){const r=this;return u;function u(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),i}function i(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Fn={name:"lineEnding",tokenize:Go};function Go(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),$(e,t,"linePrefix")}}const sn={name:"thematicBreak",tokenize:$o};function $o(e,t,n){let r=0,u;return i;function i(c){return e.enter("thematicBreak"),a(c)}function a(c){return u=c,o(c)}function o(c){return c===u?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||Y(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===u?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),K(c)?$(e,o,"whitespace")(c):o(c))}}const De={continuation:{tokenize:Zo},exit:tl,name:"list",tokenize:Jo},Xo={partial:!0,tokenize:nl},Ko={partial:!0,tokenize:el};function Jo(e,t,n){const r=this,u=r.events[r.events.length-1];let i=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,a=0;return o;function o(d){const A=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(A==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:nr(d)){if(r.containerState.type||(r.containerState.type=A,e.enter(A,{_container:!0})),A==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(sn,n,c)(d):c(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(d)}return n(d)}function l(d){return nr(d)&&++a<10?(e.consume(d),l):(!r.interrupt||a<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),c(d)):n(d)}function c(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(Qt,r.interrupt?n:h,e.attempt(Xo,m,f))}function h(d){return r.containerState.initialBlankLine=!0,i++,m(d)}function f(d){return K(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),m):n(d)}function m(d){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function Zo(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Qt,u,i);function u(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,$(e,t,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!K(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Ko,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,$(e,e.attempt(De,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function el(e,t,n){const r=this;return $(e,u,"listItemIndent",r.containerState.size+1);function u(i){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(i):n(i)}}function tl(e){e.exit(this.containerState.type)}function nl(e,t,n){const r=this;return $(e,u,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function u(i){const a=r.events[r.events.length-1];return!K(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const fu={name:"setextUnderline",resolveTo:rl,tokenize:ul};function rl(e,t){let n=e.length,r,u,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(u=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const a={type:"setextHeading",start:{...e[u][1].start},end:{...e[e.length-1][1].end}};return e[u][1].type="setextHeadingText",i?(e.splice(u,0,["enter",a,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end={...e[i][1].end}):e[r][1]=a,e.push(["exit",a,t]),e}function ul(e,t,n){const r=this;let u;return i;function i(c){let h=r.events.length,f;for(;h--;)if(r.events[h][1].type!=="lineEnding"&&r.events[h][1].type!=="linePrefix"&&r.events[h][1].type!=="content"){f=r.events[h][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),u=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===u?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),K(c)?$(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Y(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const il={tokenize:al};function al(e){const t=this,n=e.attempt(Qt,r,e.attempt(this.parser.constructs.flowInitial,u,$(e,e.attempt(this.parser.constructs.flow,u,e.attempt(co,u)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function u(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const sl={resolveAll:Si()},ol=ki("string"),ll=ki("text");function ki(e){return{resolveAll:Si(e==="text"?cl:void 0),tokenize:t};function t(n){const r=this,u=this.parser.constructs[e],i=n.attempt(u,a,o);return a;function a(h){return c(h)?i(h):o(h)}function o(h){if(h===null){n.consume(h);return}return n.enter("data"),n.consume(h),l}function l(h){return c(h)?(n.exit("data"),i(h)):(n.consume(h),l)}function c(h){if(h===null)return!0;const f=u[h];let m=-1;if(f)for(;++m<f.length;){const d=f[m];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}function Si(e){return t;function t(n,r){let u=-1,i;for(;++u<=n.length;)i===void 0?n[u]&&n[u][1].type==="data"&&(i=u,u++):(!n[u]||n[u][1].type!=="data")&&(u!==i+2&&(n[i][1].end=n[u-1][1].end,n.splice(i+2,u-i-2),u=i+2),i=void 0);return e?e(n,r):n}}function cl(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],u=t.sliceStream(r);let i=u.length,a=-1,o=0,l;for(;i--;){const c=u[i];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)o++,a--;if(a)break;a=-1}else if(c===-2)l=!0,o++;else if(c!==-1){i++;break}}if(o){const c={type:n===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?a:r.start._bufferIndex+a,_index:r.start._index+i,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const fl={42:De,43:De,45:De,48:De,49:De,50:De,51:De,52:De,53:De,54:De,55:De,56:De,57:De,62:Ai},hl={91:Eo},dl={[-2]:yn,[-1]:yn,32:yn},ml={35:Do,42:sn,45:[fu,sn],60:No,61:fu,95:sn,96:lu,126:lu},pl={38:Di,92:Ci},El={[-5]:Fn,[-4]:Fn,[-3]:Fn,33:jo,38:Di,42:rr,60:[Vs,Ro],91:Wo,92:[Ao,Ci],93:Ar,95:rr,96:uo},Tl={null:[rr,sl]},bl={null:[42,95]},gl={null:[]},Al=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:bl,contentInitial:hl,disable:gl,document:fl,flow:ml,flowInitial:dl,insideSpan:Tl,string:pl,text:El},Symbol.toStringTag,{value:"Module"}));function Cl(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const u={},i=[];let a=[],o=[];const l={attempt:j(q),check:j(k),consume:F,enter:L,exit:z,interrupt:j(k,{interrupt:!0})},c={code:null,containerState:{},defineSkip:_,events:[],now:A,parser:e,previous:null,sliceSerialize:m,sliceStream:d,write:f};let h=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function f(v){return a=ye(a,v),S(),a[a.length-1]!==null?[]:(V(t,0),c.events=gn(i,c.events,c),c.events)}function m(v,U){return _l(d(v),U)}function d(v){return Dl(a,v)}function A(){const{_bufferIndex:v,_index:U,line:B,column:H,offset:C}=r;return{_bufferIndex:v,_index:U,line:B,column:H,offset:C}}function _(v){u[v.line]=v.column,I()}function S(){let v;for(;r._index<a.length;){const U=a[r._index];if(typeof U=="string")for(v=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===v&&r._bufferIndex<U.length;)x(U.charCodeAt(r._bufferIndex));else x(U)}}function x(v){h=h(v)}function F(v){Y(v)?(r.line++,r.column=1,r.offset+=v===-3?2:1,I()):v!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=v}function L(v,U){const B=U||{};return B.type=v,B.start=A(),c.events.push(["enter",B,c]),o.push(B),B}function z(v){const U=o.pop();return U.end=A(),c.events.push(["exit",U,c]),U}function q(v,U){V(v,U.from)}function k(v,U){U.restore()}function j(v,U){return B;function B(H,C,X){let ce,Ae,Se,E;return Array.isArray(H)?te(H):"tokenize"in H?te([H]):W(H);function W(oe){return ze;function ze(ae){const xe=ae!==null&&oe[ae],we=ae!==null&&oe.null,ct=[...Array.isArray(xe)?xe:xe?[xe]:[],...Array.isArray(we)?we:we?[we]:[]];return te(ct)(ae)}}function te(oe){return ce=oe,Ae=0,oe.length===0?X:g(oe[Ae])}function g(oe){return ze;function ze(ae){return E=O(),Se=oe,oe.partial||(c.currentConstruct=oe),oe.name&&c.parser.constructs.disable.null.includes(oe.name)?de():oe.tokenize.call(U?Object.assign(Object.create(c),U):c,l,fe,de)(ae)}}function fe(oe){return v(Se,E),C}function de(oe){return E.restore(),++Ae<ce.length?g(ce[Ae]):X}}}function V(v,U){v.resolveAll&&!i.includes(v)&&i.push(v),v.resolve&&ke(c.events,U,c.events.length-U,v.resolve(c.events.slice(U),c)),v.resolveTo&&(c.events=v.resolveTo(c.events,c))}function O(){const v=A(),U=c.previous,B=c.currentConstruct,H=c.events.length,C=Array.from(o);return{from:H,restore:X};function X(){r=v,c.previous=U,c.currentConstruct=B,c.events.length=H,o=C,I()}}function I(){r.line in u&&r.column<2&&(r.column=u[r.line],r.offset+=u[r.line]-1)}}function Dl(e,t){const n=t.start._index,r=t.start._bufferIndex,u=t.end._index,i=t.end._bufferIndex;let a;if(n===u)a=[e[n].slice(r,i)];else{if(a=e.slice(n,u),r>-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}i>0&&a.push(e[u].slice(0,i))}return a}function _l(e,t){let n=-1;const r=[];let u;for(;++n<e.length;){const i=e[n];let a;if(typeof i=="string")a=i;else switch(i){case-5:{a="\r";break}case-4:{a=`
|
|
6
|
+
<%s key={someKey} {...props} />`,re,se,ge,se),A[se+re]=!0)}if(se=null,b!==void 0&&(n(b),se=""+b),a(Q)&&(n(Q.key),se=""+Q.key),"key"in Q){b={};for(var we in Q)we!=="key"&&(b[we]=Q[we])}else b=Q;return se&&o(b,typeof F=="function"?F.displayName||F.name||"Unknown":F),c(F,se,b,u(),Se,le)}function f(F){p(F)?F._store&&(F._store.validated=1):typeof F=="object"&&F!==null&&F.$$typeof===O&&(F._payload.status==="fulfilled"?p(F._payload.value)&&F._payload.value._store&&(F._payload.value._store.validated=1):F._store&&(F._store.validated=1))}function p(F){return typeof F=="object"&&F!==null&&F.$$typeof===g}var d=qe,g=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),V=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),H=Symbol.for("react.client.reference"),U=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M=Object.prototype.hasOwnProperty,z=Array.isArray,C=console.createTask?console.createTask:function(){return null};d={react_stack_bottom_frame:function(F){return F()}};var K,fe={},Ae=d.react_stack_bottom_frame.bind(d,i)(),ke=C(r(i)),A={};St.Fragment=S,St.jsx=function(F,Q,b){var re=1e4>U.recentlyCreatedOwnerStacks++;return h(F,Q,b,!1,re?Error("react-stack-top-frame"):Ae,re?C(r(F)):ke)},St.jsxs=function(F,Q,b){var re=1e4>U.recentlyCreatedOwnerStacks++;return h(F,Q,b,!0,re?Error("react-stack-top-frame"):Ae,re?C(r(F)):ke)}}()),St}var nu;function Ss(){return nu||(nu=1,process.env.NODE_ENV==="production"?Zt.exports=Ns():Zt.exports=ks()),Zt.exports}var ue=Ss();const ys=gr(ue),Fs=Is({__proto__:null,default:ys},[ue]),Ls={};function zt(e,t){const n=Ls,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Ti(e,r,u)}function Ti(e,t,n){if(Os(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return ru(e.children,t,n)}return Array.isArray(e)?ru(e,t,n):""}function ru(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=Ti(e[u],t,n);return r.join("")}function Os(e){return!!(e&&typeof e=="object")}const uu=document.createElement("i");function Yt(e){const t="&"+e+";";uu.innerHTML=t;const n=uu.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Ne(e,t,n,r){const u=e.length;let i=0,a;if(t<0?t=-t>u?0:u+t:t=t>u?u:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i<r.length;)a=r.slice(i,i+1e4),a.unshift(t,0),e.splice(...a),i+=1e4,t+=1e4}function ye(e,t){return e.length>0?(Ne(e,e.length,0,t),e):t}const iu={}.hasOwnProperty;function bi(e){const t={};let n=-1;for(;++n<e.length;)Rs(t,e[n]);return t}function Rs(e,t){let n;for(n in t){const u=(iu.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){iu.call(u,a)||(u[a]=[]);const o=i[a];Ps(u[a],Array.isArray(o)?o:o?[o]:[])}}}function Ps(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Ne(e,0,0,r)}function gi(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Re(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ee=et(/[A-Za-z]/),pe=et(/[\dA-Za-z]/),ws=et(/[#-'*+\--9=?A-Z^-~]/);function fn(e){return e!==null&&(e<32||e===127)}const nr=et(/\d/),Bs=et(/[\dA-Fa-f]/),Ms=et(/[!-/:-@[-`{-~]/);function q(e){return e!==null&&e<-2}function te(e){return e!==null&&(e<0||e===32)}function J(e){return e===-2||e===-1||e===32}const bn=et(new RegExp("\\p{P}|\\p{S}","u")),st=et(/\s/);function et(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function At(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&pe(e.charCodeAt(n+1))&&pe(e.charCodeAt(n+2)))u=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const o=e.charCodeAt(n+1);i<56320&&o>56319&&o<57344?(a=String.fromCharCode(i,o),u=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+u+1,a=""),u&&(n+=u,u=0)}return t.join("")+e.slice(r)}function X(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(l){return J(l)?(e.enter(n),o(l)):t(l)}function o(l){return J(l)&&i++<u?(e.consume(l),o):(e.exit(n),t(l))}}const vs={tokenize:Hs};function Hs(e){const t=e.attempt(this.parser.constructs.contentInitial,r,u);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),X(e,t,"linePrefix")}function u(o){return e.enter("paragraph"),i(o)}function i(o){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,a(o)}function a(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return q(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),a)}}const Us={tokenize:zs},au={tokenize:Ys};function zs(e){const t=this,n=[];let r=0,u,i,a;return o;function o(R){if(r<n.length){const Y=n[r];return t.containerState=Y[1],e.attempt(Y[0].continuation,l,c)(R)}return c(R)}function l(R){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,u&&L();const Y=t.events.length;let j=Y,k;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){k=t.events[j][1].end;break}x(r);let V=Y;for(;V<t.events.length;)t.events[V][1].end={...k},V++;return Ne(t.events,j+1,0,t.events.slice(Y)),t.events.length=V,c(R)}return o(R)}function c(R){if(r===n.length){if(!u)return p(R);if(u.currentConstruct&&u.currentConstruct.concrete)return g(R);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(au,h,f)(R)}function h(R){return u&&L(),x(r),p(R)}function f(R){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,g(R)}function p(R){return t.containerState={},e.attempt(au,d,g)(R)}function d(R){return r++,n.push([t.currentConstruct,t.containerState]),p(R)}function g(R){if(R===null){u&&L(),x(0),e.consume(R);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:u,contentType:"flow",previous:i}),_(R)}function _(R){if(R===null){S(e.exit("chunkFlow"),!0),x(0),e.consume(R);return}return q(R)?(e.consume(R),S(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(R),_)}function S(R,Y){const j=t.sliceStream(R);if(Y&&j.push(null),R.previous=i,i&&(i.next=R),i=R,u.defineSkip(R.start),u.write(j),t.parser.lazy[R.start.line]){let k=u.events.length;for(;k--;)if(u.events[k][1].start.offset<a&&(!u.events[k][1].end||u.events[k][1].end.offset>a))return;const V=t.events.length;let W=V,O,I;for(;W--;)if(t.events[W][0]==="exit"&&t.events[W][1].type==="chunkFlow"){if(O){I=t.events[W][1].end;break}O=!0}for(x(r),k=V;k<t.events.length;)t.events[k][1].end={...I},k++;Ne(t.events,W+1,0,t.events.slice(V)),t.events.length=k}}function x(R){let Y=n.length;for(;Y-- >R;){const j=n[Y];t.containerState=j[1],j[0].exit.call(t,e)}n.length=R}function L(){u.write([null]),i=void 0,u=void 0,t.containerState._closeFlow=void 0}}function Ys(e,t,n){return X(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Et(e){if(e===null||te(e)||st(e))return 1;if(bn(e))return 2}function gn(e,t,n){const r=[];let u=-1;for(;++u<e.length;){const i=e[u].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const rr={name:"attention",resolveAll:qs,tokenize:js};function qs(e,t){let n=-1,r,u,i,a,o,l,c,h;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},p={...e[n][1].start};su(f,-l),su(p,l),a={type:l>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},i={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},u={type:l>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[r][1].end={...a.start},e[n][1].start={...o.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=ye(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=ye(c,[["enter",u,t],["enter",a,t],["exit",a,t],["enter",i,t]]),c=ye(c,gn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=ye(c,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",u,t]]),e[n][1].end.offset-e[n][1].start.offset?(h=2,c=ye(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):h=0,Ne(e,r-1,n-r+3,c),n=r+c.length-h-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function js(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,u=Et(r);let i;return a;function a(l){return i=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===i)return e.consume(l),o;const c=e.exit("attentionSequence"),h=Et(l),f=!h||h===2&&u||n.includes(l),p=!u||u===2&&h||n.includes(r);return c._open=!!(i===42?f:f&&(u||!p)),c._close=!!(i===42?p:p&&(h||!f)),t(l)}}function su(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Vs={name:"autolink",tokenize:Ws};function Ws(e,t,n){let r=0;return u;function u(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(d){return Ee(d)?(e.consume(d),a):d===64?n(d):c(d)}function a(d){return d===43||d===45||d===46||pe(d)?(r=1,o(d)):c(d)}function o(d){return d===58?(e.consume(d),r=0,l):(d===43||d===45||d===46||pe(d))&&r++<32?(e.consume(d),o):(r=0,c(d))}function l(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||fn(d)?n(d):(e.consume(d),l)}function c(d){return d===64?(e.consume(d),h):ws(d)?(e.consume(d),c):n(d)}function h(d){return pe(d)?f(d):n(d)}function f(d){return d===46?(e.consume(d),r=0,h):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):p(d)}function p(d){if((d===45||pe(d))&&r++<63){const g=d===45?p:f;return e.consume(d),g}return n(d)}}const Wt={partial:!0,tokenize:Qs};function Qs(e,t,n){return r;function r(i){return J(i)?X(e,u,"linePrefix")(i):u(i)}function u(i){return i===null||q(i)?t(i):n(i)}}const Ai={continuation:{tokenize:$s},exit:Xs,name:"blockQuote",tokenize:Gs};function Gs(e,t,n){const r=this;return u;function u(a){if(a===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),i}return n(a)}function i(a){return J(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function $s(e,t,n){const r=this;return u;function u(a){return J(a)?X(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(Ai,t,n)(a)}}function Xs(e){e.exit("blockQuote")}const Ci={name:"characterEscape",tokenize:Ks};function Ks(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),u}function u(i){return Ms(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const Di={name:"characterReference",tokenize:Js};function Js(e,t,n){const r=this;let u=0,i,a;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,a=pe,h(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=Bs,h):(e.enter("characterReferenceValue"),i=7,a=nr,h(f))}function h(f){if(f===59&&u){const p=e.exit("characterReferenceValue");return a===pe&&!Yt(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(f)&&u++<i?(e.consume(f),h):n(f)}}const ou={partial:!0,tokenize:eo},lu={concrete:!0,name:"codeFenced",tokenize:Zs};function Zs(e,t,n){const r=this,u={partial:!0,tokenize:j};let i=0,a=0,o;return l;function l(k){return c(k)}function c(k){const V=r.events[r.events.length-1];return i=V&&V[1].type==="linePrefix"?V[2].sliceSerialize(V[1],!0).length:0,o=k,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(k)}function h(k){return k===o?(a++,e.consume(k),h):a<3?n(k):(e.exit("codeFencedFenceSequence"),J(k)?X(e,f,"whitespace")(k):f(k))}function f(k){return k===null||q(k)?(e.exit("codeFencedFence"),r.interrupt?t(k):e.check(ou,_,Y)(k)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(k))}function p(k){return k===null||q(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(k)):J(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),X(e,d,"whitespace")(k)):k===96&&k===o?n(k):(e.consume(k),p)}function d(k){return k===null||q(k)?f(k):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(k))}function g(k){return k===null||q(k)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(k)):k===96&&k===o?n(k):(e.consume(k),g)}function _(k){return e.attempt(u,Y,S)(k)}function S(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),x}function x(k){return i>0&&J(k)?X(e,L,"linePrefix",i+1)(k):L(k)}function L(k){return k===null||q(k)?e.check(ou,_,Y)(k):(e.enter("codeFlowValue"),R(k))}function R(k){return k===null||q(k)?(e.exit("codeFlowValue"),L(k)):(e.consume(k),R)}function Y(k){return e.exit("codeFenced"),t(k)}function j(k,V,W){let O=0;return I;function I(C){return k.enter("lineEnding"),k.consume(C),k.exit("lineEnding"),H}function H(C){return k.enter("codeFencedFence"),J(C)?X(k,U,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):U(C)}function U(C){return C===o?(k.enter("codeFencedFenceSequence"),M(C)):W(C)}function M(C){return C===o?(O++,k.consume(C),M):O>=a?(k.exit("codeFencedFenceSequence"),J(C)?X(k,z,"whitespace")(C):z(C)):W(C)}function z(C){return C===null||q(C)?(k.exit("codeFencedFence"),V(C)):W(C)}}}function eo(e,t,n){const r=this;return u;function u(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const yn={name:"codeIndented",tokenize:no},to={partial:!0,tokenize:ro};function no(e,t,n){const r=this;return u;function u(c){return e.enter("codeIndented"),X(e,i,"linePrefix",5)(c)}function i(c){const h=r.events[r.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):q(c)?e.attempt(to,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||q(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function ro(e,t,n){const r=this;return u;function u(a){return r.parser.lazy[r.now().line]?n(a):q(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):X(e,i,"linePrefix",5)(a)}function i(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):q(a)?u(a):n(a)}}const uo={name:"codeText",previous:ao,resolve:io,tokenize:so};function io(e){let t=e.length-4,n=3,r,u;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)u===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(u=r):(r===t||e[r][1].type==="lineEnding")&&(e[u][1].type="codeTextData",r!==u+2&&(e[u][1].end=e[r-1][1].end,e.splice(u+2,r-u-2),t-=r-u-2,r=u+2),u=void 0);return e}function ao(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function so(e,t,n){let r=0,u,i;return a;function a(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),r++,o):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(i=e.enter("codeTextSequence"),u=0,h(f)):q(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||q(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),c)}function h(f){return f===96?(e.consume(f),u++,h):u===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(i.type="codeTextData",c(f))}}class oo{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const u=n||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return r&&yt(this.left,r),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),yt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),yt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);yt(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);yt(this.left,n.reverse())}}}function yt(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 _i(e){const t={};let n=-1,r,u,i,a,o,l,c;const h=new oo(e);for(;++n<h.length;){for(;n in t;)n=t[n];if(r=h.get(n),n&&r[1].type==="chunkFlow"&&h.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,lo(h,n)),n=t[n],c=!0);else if(r[1]._container){for(i=n,u=void 0;i--&&(a=h.get(i),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(u&&(h.get(u)[1].type="lineEndingBlank"),a[1].type="lineEnding",u=i);u&&(r[1].end={...h.get(u)[1].start},o=h.slice(u,n),o.unshift(r),h.splice(u,n-u+1,o))}}return Ne(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!c}function lo(e,t){const n=e.get(t)[1],r=e.get(t)[2];let u=t-1;const i=[],a=n._tokenizer||r.parser[n.contentType](n.start),o=a.events,l=[],c={};let h,f,p=-1,d=n,g=0,_=0;const S=[_];for(;d;){for(;e.get(++u)[1]!==d;);i.push(u),d._tokenizer||(h=r.sliceStream(d),d.next||h.push(null),f&&a.defineSkip(d.start),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(h),d._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=n;++p<o.length;)o[p][0]==="exit"&&o[p-1][0]==="enter"&&o[p][1].type===o[p-1][1].type&&o[p][1].start.line!==o[p][1].end.line&&(_=p+1,S.push(_),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(a.events=[],d?(d._tokenizer=void 0,d.previous=void 0):S.pop(),p=S.length;p--;){const x=o.slice(S[p],S[p+1]),L=i.pop();l.push([L,L+x.length-1]),e.splice(L,2,x)}for(l.reverse(),p=-1;++p<l.length;)c[g+l[p][0]]=g+l[p][1],g+=l[p][1]-l[p][0]-1;return c}const co={resolve:ho,tokenize:mo},fo={partial:!0,tokenize:po};function ho(e){return _i(e),e}function mo(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),u(o)}function u(o){return o===null?i(o):q(o)?e.check(fo,a,i)(o):(e.consume(o),u)}function i(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function a(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,u}}function po(e,t,n){const r=this;return u;function u(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),X(e,i,"linePrefix")}function i(a){if(a===null||q(a))return n(a);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function xi(e,t,n,r,u,i,a,o,l){const c=l||Number.POSITIVE_INFINITY;let h=0;return f;function f(x){return x===60?(e.enter(r),e.enter(u),e.enter(i),e.consume(x),e.exit(i),p):x===null||x===32||x===41||fn(x)?n(x):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),_(x))}function p(x){return x===62?(e.enter(i),e.consume(x),e.exit(i),e.exit(u),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),d(x))}function d(x){return x===62?(e.exit("chunkString"),e.exit(o),p(x)):x===null||x===60||q(x)?n(x):(e.consume(x),x===92?g:d)}function g(x){return x===60||x===62||x===92?(e.consume(x),d):d(x)}function _(x){return!h&&(x===null||x===41||te(x))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(x)):h<c&&x===40?(e.consume(x),h++,_):x===41?(e.consume(x),h--,_):x===null||x===32||x===40||fn(x)?n(x):(e.consume(x),x===92?S:_)}function S(x){return x===40||x===41||x===92?(e.consume(x),_):_(x)}}function Ii(e,t,n,r,u,i){const a=this;let o=0,l;return c;function c(d){return e.enter(r),e.enter(u),e.consume(d),e.exit(u),e.enter(i),h}function h(d){return o>999||d===null||d===91||d===93&&!l||d===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):d===93?(e.exit(i),e.enter(u),e.consume(d),e.exit(u),e.exit(r),t):q(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||q(d)||o++>999?(e.exit("chunkString"),h(d)):(e.consume(d),l||(l=!J(d)),d===92?p:f)}function p(d){return d===91||d===92||d===93?(e.consume(d),o++,f):f(d)}}function Ni(e,t,n,r,u,i){let a;return o;function o(p){return p===34||p===39||p===40?(e.enter(r),e.enter(u),e.consume(p),e.exit(u),a=p===40?41:p,l):n(p)}function l(p){return p===a?(e.enter(u),e.consume(p),e.exit(u),e.exit(r),t):(e.enter(i),c(p))}function c(p){return p===a?(e.exit(i),l(a)):p===null?n(p):q(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),X(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===a||p===null||q(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?f:h)}function f(p){return p===a||p===92?(e.consume(p),h):h(p)}}function Ve(e,t){let n;return r;function r(u){return q(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):J(u)?X(e,r,n?"linePrefix":"lineSuffix")(u):t(u)}}const Eo={name:"definition",tokenize:bo},To={partial:!0,tokenize:go};function bo(e,t,n){const r=this;let u;return i;function i(d){return e.enter("definition"),a(d)}function a(d){return Ii.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function o(d){return u=Re(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),l):n(d)}function l(d){return te(d)?Ve(e,c)(d):c(d)}function c(d){return xi(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function h(d){return e.attempt(To,f,f)(d)}function f(d){return J(d)?X(e,p,"whitespace")(d):p(d)}function p(d){return d===null||q(d)?(e.exit("definition"),r.parser.defined.push(u),t(d)):n(d)}}function go(e,t,n){return r;function r(o){return te(o)?Ve(e,u)(o):n(o)}function u(o){return Ni(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return J(o)?X(e,a,"whitespace")(o):a(o)}function a(o){return o===null||q(o)?t(o):n(o)}}const Ao={name:"hardBreakEscape",tokenize:Co};function Co(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),u}function u(i){return q(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const Do={name:"headingAtx",resolve:_o,tokenize:xo};function _o(e,t){let n=e.length-2,r=3,u,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(u={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Ne(e,r,n-r+1,[["enter",u,t],["enter",i,t],["exit",i,t],["exit",u,t]])),e}function xo(e,t,n){let r=0;return u;function u(h){return e.enter("atxHeading"),i(h)}function i(h){return e.enter("atxHeadingSequence"),a(h)}function a(h){return h===35&&r++<6?(e.consume(h),a):h===null||te(h)?(e.exit("atxHeadingSequence"),o(h)):n(h)}function o(h){return h===35?(e.enter("atxHeadingSequence"),l(h)):h===null||q(h)?(e.exit("atxHeading"),t(h)):J(h)?X(e,o,"whitespace")(h):(e.enter("atxHeadingText"),c(h))}function l(h){return h===35?(e.consume(h),l):(e.exit("atxHeadingSequence"),o(h))}function c(h){return h===null||h===35||te(h)?(e.exit("atxHeadingText"),o(h)):(e.consume(h),c)}}const Io=["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"],cu=["pre","script","style","textarea"],No={concrete:!0,name:"htmlFlow",resolveTo:yo,tokenize:Fo},ko={partial:!0,tokenize:Oo},So={partial:!0,tokenize:Lo};function yo(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Fo(e,t,n){const r=this;let u,i,a,o,l;return c;function c(b){return h(b)}function h(b){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(b),f}function f(b){return b===33?(e.consume(b),p):b===47?(e.consume(b),i=!0,_):b===63?(e.consume(b),u=3,r.interrupt?t:A):Ee(b)?(e.consume(b),a=String.fromCharCode(b),S):n(b)}function p(b){return b===45?(e.consume(b),u=2,d):b===91?(e.consume(b),u=5,o=0,g):Ee(b)?(e.consume(b),u=4,r.interrupt?t:A):n(b)}function d(b){return b===45?(e.consume(b),r.interrupt?t:A):n(b)}function g(b){const re="CDATA[";return b===re.charCodeAt(o++)?(e.consume(b),o===re.length?r.interrupt?t:U:g):n(b)}function _(b){return Ee(b)?(e.consume(b),a=String.fromCharCode(b),S):n(b)}function S(b){if(b===null||b===47||b===62||te(b)){const re=b===47,Se=a.toLowerCase();return!re&&!i&&cu.includes(Se)?(u=1,r.interrupt?t(b):U(b)):Io.includes(a.toLowerCase())?(u=6,re?(e.consume(b),x):r.interrupt?t(b):U(b)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(b):i?L(b):R(b))}return b===45||pe(b)?(e.consume(b),a+=String.fromCharCode(b),S):n(b)}function x(b){return b===62?(e.consume(b),r.interrupt?t:U):n(b)}function L(b){return J(b)?(e.consume(b),L):I(b)}function R(b){return b===47?(e.consume(b),I):b===58||b===95||Ee(b)?(e.consume(b),Y):J(b)?(e.consume(b),R):I(b)}function Y(b){return b===45||b===46||b===58||b===95||pe(b)?(e.consume(b),Y):j(b)}function j(b){return b===61?(e.consume(b),k):J(b)?(e.consume(b),j):R(b)}function k(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),l=b,V):J(b)?(e.consume(b),k):W(b)}function V(b){return b===l?(e.consume(b),l=null,O):b===null||q(b)?n(b):(e.consume(b),V)}function W(b){return b===null||b===34||b===39||b===47||b===60||b===61||b===62||b===96||te(b)?j(b):(e.consume(b),W)}function O(b){return b===47||b===62||J(b)?R(b):n(b)}function I(b){return b===62?(e.consume(b),H):n(b)}function H(b){return b===null||q(b)?U(b):J(b)?(e.consume(b),H):n(b)}function U(b){return b===45&&u===2?(e.consume(b),K):b===60&&u===1?(e.consume(b),fe):b===62&&u===4?(e.consume(b),F):b===63&&u===3?(e.consume(b),A):b===93&&u===5?(e.consume(b),ke):q(b)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(ko,Q,M)(b)):b===null||q(b)?(e.exit("htmlFlowData"),M(b)):(e.consume(b),U)}function M(b){return e.check(So,z,Q)(b)}function z(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),C}function C(b){return b===null||q(b)?M(b):(e.enter("htmlFlowData"),U(b))}function K(b){return b===45?(e.consume(b),A):U(b)}function fe(b){return b===47?(e.consume(b),a="",Ae):U(b)}function Ae(b){if(b===62){const re=a.toLowerCase();return cu.includes(re)?(e.consume(b),F):U(b)}return Ee(b)&&a.length<8?(e.consume(b),a+=String.fromCharCode(b),Ae):U(b)}function ke(b){return b===93?(e.consume(b),A):U(b)}function A(b){return b===62?(e.consume(b),F):b===45&&u===2?(e.consume(b),A):U(b)}function F(b){return b===null||q(b)?(e.exit("htmlFlowData"),Q(b)):(e.consume(b),F)}function Q(b){return e.exit("htmlFlow"),t(b)}}function Lo(e,t,n){const r=this;return u;function u(a){return q(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):n(a)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function Oo(e,t,n){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt(Wt,t,n)}}const Ro={name:"htmlText",tokenize:Po};function Po(e,t,n){const r=this;let u,i,a;return o;function o(A){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(A),l}function l(A){return A===33?(e.consume(A),c):A===47?(e.consume(A),j):A===63?(e.consume(A),R):Ee(A)?(e.consume(A),W):n(A)}function c(A){return A===45?(e.consume(A),h):A===91?(e.consume(A),i=0,g):Ee(A)?(e.consume(A),L):n(A)}function h(A){return A===45?(e.consume(A),d):n(A)}function f(A){return A===null?n(A):A===45?(e.consume(A),p):q(A)?(a=f,fe(A)):(e.consume(A),f)}function p(A){return A===45?(e.consume(A),d):f(A)}function d(A){return A===62?K(A):A===45?p(A):f(A)}function g(A){const F="CDATA[";return A===F.charCodeAt(i++)?(e.consume(A),i===F.length?_:g):n(A)}function _(A){return A===null?n(A):A===93?(e.consume(A),S):q(A)?(a=_,fe(A)):(e.consume(A),_)}function S(A){return A===93?(e.consume(A),x):_(A)}function x(A){return A===62?K(A):A===93?(e.consume(A),x):_(A)}function L(A){return A===null||A===62?K(A):q(A)?(a=L,fe(A)):(e.consume(A),L)}function R(A){return A===null?n(A):A===63?(e.consume(A),Y):q(A)?(a=R,fe(A)):(e.consume(A),R)}function Y(A){return A===62?K(A):R(A)}function j(A){return Ee(A)?(e.consume(A),k):n(A)}function k(A){return A===45||pe(A)?(e.consume(A),k):V(A)}function V(A){return q(A)?(a=V,fe(A)):J(A)?(e.consume(A),V):K(A)}function W(A){return A===45||pe(A)?(e.consume(A),W):A===47||A===62||te(A)?O(A):n(A)}function O(A){return A===47?(e.consume(A),K):A===58||A===95||Ee(A)?(e.consume(A),I):q(A)?(a=O,fe(A)):J(A)?(e.consume(A),O):K(A)}function I(A){return A===45||A===46||A===58||A===95||pe(A)?(e.consume(A),I):H(A)}function H(A){return A===61?(e.consume(A),U):q(A)?(a=H,fe(A)):J(A)?(e.consume(A),H):O(A)}function U(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),u=A,M):q(A)?(a=U,fe(A)):J(A)?(e.consume(A),U):(e.consume(A),z)}function M(A){return A===u?(e.consume(A),u=void 0,C):A===null?n(A):q(A)?(a=M,fe(A)):(e.consume(A),M)}function z(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||te(A)?O(A):(e.consume(A),z)}function C(A){return A===47||A===62||te(A)?O(A):n(A)}function K(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):n(A)}function fe(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),Ae}function Ae(A){return J(A)?X(e,ke,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):ke(A)}function ke(A){return e.enter("htmlTextData"),a(A)}}const Ar={name:"labelEnd",resolveAll:vo,resolveTo:Ho,tokenize:Uo},wo={tokenize:zo},Bo={tokenize:Yo},Mo={tokenize:qo};function vo(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const u=r.type==="labelImage"?4:2;r.type="data",t+=u}}return e.length!==n.length&&Ne(e,0,e.length,n),e}function Ho(e,t){let n=e.length,r=0,u,i,a,o;for(;n--;)if(u=e[n][1],i){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;e[n][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(i=n,u.type!=="labelLink")){r=2;break}}else u.type==="labelEnd"&&(a=n);const l={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[i][1].start},end:{...e[a][1].end}},h={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[a-2][1].start}};return o=[["enter",l,t],["enter",c,t]],o=ye(o,e.slice(i+1,i+r+3)),o=ye(o,[["enter",h,t]]),o=ye(o,gn(t.parser.constructs.insideSpan.null,e.slice(i+r+4,a-3),t)),o=ye(o,[["exit",h,t],e[a-2],e[a-1],["exit",c,t]]),o=ye(o,e.slice(a+1)),o=ye(o,[["exit",l,t]]),Ne(e,i,e.length,o),e}function Uo(e,t,n){const r=this;let u=r.events.length,i,a;for(;u--;)if((r.events[u][1].type==="labelImage"||r.events[u][1].type==="labelLink")&&!r.events[u][1]._balanced){i=r.events[u][1];break}return o;function o(p){return i?i._inactive?f(p):(a=r.parser.defined.includes(Re(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),l):n(p)}function l(p){return p===40?e.attempt(wo,h,a?h:f)(p):p===91?e.attempt(Bo,h,a?c:f)(p):a?h(p):f(p)}function c(p){return e.attempt(Mo,h,f)(p)}function h(p){return t(p)}function f(p){return i._balanced=!0,n(p)}}function zo(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),u}function u(f){return te(f)?Ve(e,i)(f):i(f)}function i(f){return f===41?h(f):xi(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return te(f)?Ve(e,l)(f):h(f)}function o(f){return n(f)}function l(f){return f===34||f===39||f===40?Ni(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function c(f){return te(f)?Ve(e,h)(f):h(f)}function h(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function Yo(e,t,n){const r=this;return u;function u(o){return Ii.call(r,e,i,a,"reference","referenceMarker","referenceString")(o)}function i(o){return r.parser.defined.includes(Re(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function a(o){return n(o)}}function qo(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),u}function u(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const jo={name:"labelStartImage",resolveAll:Ar.resolveAll,tokenize:Vo};function Vo(e,t,n){const r=this;return u;function u(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),i}function i(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),a):n(o)}function a(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Wo={name:"labelStartLink",resolveAll:Ar.resolveAll,tokenize:Qo};function Qo(e,t,n){const r=this;return u;function u(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),i}function i(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Fn={name:"lineEnding",tokenize:Go};function Go(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),X(e,t,"linePrefix")}}const sn={name:"thematicBreak",tokenize:$o};function $o(e,t,n){let r=0,u;return i;function i(c){return e.enter("thematicBreak"),a(c)}function a(c){return u=c,o(c)}function o(c){return c===u?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||q(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===u?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),J(c)?X(e,o,"whitespace")(c):o(c))}}const De={continuation:{tokenize:Zo},exit:tl,name:"list",tokenize:Jo},Xo={partial:!0,tokenize:nl},Ko={partial:!0,tokenize:el};function Jo(e,t,n){const r=this,u=r.events[r.events.length-1];let i=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,a=0;return o;function o(d){const g=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:nr(d)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(sn,n,c)(d):c(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(d)}return n(d)}function l(d){return nr(d)&&++a<10?(e.consume(d),l):(!r.interrupt||a<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),c(d)):n(d)}function c(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(Wt,r.interrupt?n:h,e.attempt(Xo,p,f))}function h(d){return r.containerState.initialBlankLine=!0,i++,p(d)}function f(d){return J(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),p):n(d)}function p(d){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function Zo(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Wt,u,i);function u(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,X(e,t,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!J(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Ko,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,X(e,e.attempt(De,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function el(e,t,n){const r=this;return X(e,u,"listItemIndent",r.containerState.size+1);function u(i){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(i):n(i)}}function tl(e){e.exit(this.containerState.type)}function nl(e,t,n){const r=this;return X(e,u,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function u(i){const a=r.events[r.events.length-1];return!J(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const fu={name:"setextUnderline",resolveTo:rl,tokenize:ul};function rl(e,t){let n=e.length,r,u,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(u=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const a={type:"setextHeading",start:{...e[u][1].start},end:{...e[e.length-1][1].end}};return e[u][1].type="setextHeadingText",i?(e.splice(u,0,["enter",a,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end={...e[i][1].end}):e[r][1]=a,e.push(["exit",a,t]),e}function ul(e,t,n){const r=this;let u;return i;function i(c){let h=r.events.length,f;for(;h--;)if(r.events[h][1].type!=="lineEnding"&&r.events[h][1].type!=="linePrefix"&&r.events[h][1].type!=="content"){f=r.events[h][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),u=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===u?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),J(c)?X(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||q(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const il={tokenize:al};function al(e){const t=this,n=e.attempt(Wt,r,e.attempt(this.parser.constructs.flowInitial,u,X(e,e.attempt(this.parser.constructs.flow,u,e.attempt(co,u)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function u(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const sl={resolveAll:Si()},ol=ki("string"),ll=ki("text");function ki(e){return{resolveAll:Si(e==="text"?cl:void 0),tokenize:t};function t(n){const r=this,u=this.parser.constructs[e],i=n.attempt(u,a,o);return a;function a(h){return c(h)?i(h):o(h)}function o(h){if(h===null){n.consume(h);return}return n.enter("data"),n.consume(h),l}function l(h){return c(h)?(n.exit("data"),i(h)):(n.consume(h),l)}function c(h){if(h===null)return!0;const f=u[h];let p=-1;if(f)for(;++p<f.length;){const d=f[p];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}function Si(e){return t;function t(n,r){let u=-1,i;for(;++u<=n.length;)i===void 0?n[u]&&n[u][1].type==="data"&&(i=u,u++):(!n[u]||n[u][1].type!=="data")&&(u!==i+2&&(n[i][1].end=n[u-1][1].end,n.splice(i+2,u-i-2),u=i+2),i=void 0);return e?e(n,r):n}}function cl(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],u=t.sliceStream(r);let i=u.length,a=-1,o=0,l;for(;i--;){const c=u[i];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)o++,a--;if(a)break;a=-1}else if(c===-2)l=!0,o++;else if(c!==-1){i++;break}}if(o){const c={type:n===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?a:r.start._bufferIndex+a,_index:r.start._index+i,line:r.end.line,column:r.end.column-o,offset:r.end.offset-o},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}const fl={42:De,43:De,45:De,48:De,49:De,50:De,51:De,52:De,53:De,54:De,55:De,56:De,57:De,62:Ai},hl={91:Eo},dl={[-2]:yn,[-1]:yn,32:yn},ml={35:Do,42:sn,45:[fu,sn],60:No,61:fu,95:sn,96:lu,126:lu},pl={38:Di,92:Ci},El={[-5]:Fn,[-4]:Fn,[-3]:Fn,33:jo,38:Di,42:rr,60:[Vs,Ro],91:Wo,92:[Ao,Ci],93:Ar,95:rr,96:uo},Tl={null:[rr,sl]},bl={null:[42,95]},gl={null:[]},Al=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:bl,contentInitial:hl,disable:gl,document:fl,flow:ml,flowInitial:dl,insideSpan:Tl,string:pl,text:El},Symbol.toStringTag,{value:"Module"}));function Cl(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const u={},i=[];let a=[],o=[];const l={attempt:V(j),check:V(k),consume:L,enter:R,exit:Y,interrupt:V(k,{interrupt:!0})},c={code:null,containerState:{},defineSkip:_,events:[],now:g,parser:e,previous:null,sliceSerialize:p,sliceStream:d,write:f};let h=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function f(H){return a=ye(a,H),S(),a[a.length-1]!==null?[]:(W(t,0),c.events=gn(i,c.events,c),c.events)}function p(H,U){return _l(d(H),U)}function d(H){return Dl(a,H)}function g(){const{_bufferIndex:H,_index:U,line:M,column:z,offset:C}=r;return{_bufferIndex:H,_index:U,line:M,column:z,offset:C}}function _(H){u[H.line]=H.column,I()}function S(){let H;for(;r._index<a.length;){const U=a[r._index];if(typeof U=="string")for(H=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===H&&r._bufferIndex<U.length;)x(U.charCodeAt(r._bufferIndex));else x(U)}}function x(H){h=h(H)}function L(H){q(H)?(r.line++,r.column=1,r.offset+=H===-3?2:1,I()):H!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=H}function R(H,U){const M=U||{};return M.type=H,M.start=g(),c.events.push(["enter",M,c]),o.push(M),M}function Y(H){const U=o.pop();return U.end=g(),c.events.push(["exit",U,c]),U}function j(H,U){W(H,U.from)}function k(H,U){U.restore()}function V(H,U){return M;function M(z,C,K){let fe,Ae,ke,A;return Array.isArray(z)?Q(z):"tokenize"in z?Q([z]):F(z);function F(le){return se;function se(ge){const we=ge!==null&&le[ge],Ge=ge!==null&&le.null,Jt=[...Array.isArray(we)?we:we?[we]:[],...Array.isArray(Ge)?Ge:Ge?[Ge]:[]];return Q(Jt)(ge)}}function Q(le){return fe=le,Ae=0,le.length===0?K:b(le[Ae])}function b(le){return se;function se(ge){return A=O(),ke=le,le.partial||(c.currentConstruct=le),le.name&&c.parser.constructs.disable.null.includes(le.name)?Se():le.tokenize.call(U?Object.assign(Object.create(c),U):c,l,re,Se)(ge)}}function re(le){return H(ke,A),C}function Se(le){return A.restore(),++Ae<fe.length?b(fe[Ae]):K}}}function W(H,U){H.resolveAll&&!i.includes(H)&&i.push(H),H.resolve&&Ne(c.events,U,c.events.length-U,H.resolve(c.events.slice(U),c)),H.resolveTo&&(c.events=H.resolveTo(c.events,c))}function O(){const H=g(),U=c.previous,M=c.currentConstruct,z=c.events.length,C=Array.from(o);return{from:z,restore:K};function K(){r=H,c.previous=U,c.currentConstruct=M,c.events.length=z,o=C,I()}}function I(){r.line in u&&r.column<2&&(r.column=u[r.line],r.offset+=u[r.line]-1)}}function Dl(e,t){const n=t.start._index,r=t.start._bufferIndex,u=t.end._index,i=t.end._bufferIndex;let a;if(n===u)a=[e[n].slice(r,i)];else{if(a=e.slice(n,u),r>-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}i>0&&a.push(e[u].slice(0,i))}return a}function _l(e,t){let n=-1;const r=[];let u;for(;++n<e.length;){const i=e[n];let a;if(typeof i=="string")a=i;else switch(i){case-5:{a="\r";break}case-4:{a=`
|
|
23
7
|
`;break}case-3:{a=`\r
|
|
24
|
-
`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&u)continue;a=" ";break}default:a=String.fromCharCode(i)}u=i===-2,r.push(a)}return r.join("")}function xl(e){const r={constructs:bi([Al,...(e||{}).extensions||[]]),content:u(vs),defined:[],document:u(Us),flow:u(il),lazy:{},string:u(ol),text:u(ll)};return r;function u(i){return a;function a(o){return Cl(r,i,o)}}}function Il(e){for(;!_i(e););return e}const hu=/[\0\t\n\r]/g;function Nl(){let e=1,t="",n=!0,r;return u;function u(i,a,o){const l=[];let c,h,f,m,d;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(a||void 0).decode(i)),f=0,t="",n&&(i.charCodeAt(0)===65279&&f++,n=void 0);f<i.length;){if(hu.lastIndex=f,c=hu.exec(i),m=c&&c.index!==void 0?c.index:i.length,d=i.charCodeAt(m),!c){t=i.slice(f);break}if(d===10&&f===m&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<m&&(l.push(i.slice(f,m)),e+=m-f),d){case 0:{l.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,l.push(-2);e++<h;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}f=m+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const kl=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function yi(e){return e.replace(kl,Sl)}function Sl(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),i=u===120||u===88;return gi(n.slice(i?2:1),i?16:10)}return qt(n)||e}function Bt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?du(e.position):"start"in e||"end"in e?du(e):"line"in e||"column"in e?ur(e):""}function ur(e){return mu(e&&e.line)+":"+mu(e&&e.column)}function du(e){return ur(e&&e.start)+"-"+ur(e&&e.end)}function mu(e){return e&&typeof e=="number"?e:1}const Fi={}.hasOwnProperty;function yl(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Fl(n)(Il(xl(n).document().write(Nl()(e,t,!0))))}function Fl(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Jr),autolinkProtocol:O,autolinkEmail:O,atxHeading:i($r),blockQuote:i(we),characterEscape:O,characterReference:O,codeFenced:i(ct),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(ct,a),codeText:i(Es,a),codeTextData:O,data:O,codeFlowValue:O,definition:i(Ts),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(bs),hardBreakEscape:i(Xr),hardBreakTrailing:i(Xr),htmlFlow:i(Kr,a),htmlFlowData:O,htmlText:i(Kr,a),htmlTextData:O,image:i(gs),label:a,link:i(Jr),listItem:i(As),listItemValue:m,listOrdered:i(Zr,f),listUnordered:i(Zr),paragraph:i(Cs),reference:g,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i($r),strong:i(Ds),thematicBreak:i(xs)},exit:{atxHeading:l(),atxHeadingSequence:q,autolink:l(),autolinkEmail:xe,autolinkProtocol:ae,blockQuote:l(),characterEscapeValue:I,characterReferenceMarkerHexadecimal:de,characterReferenceMarkerNumeric:de,characterReferenceValue:oe,characterReference:ze,codeFenced:l(S),codeFencedFence:_,codeFencedFenceInfo:d,codeFencedFenceMeta:A,codeFlowValue:I,codeIndented:l(x),codeText:l(C),codeTextData:I,data:I,definition:l(),definitionDestinationString:z,definitionLabelString:F,definitionTitleString:L,emphasis:l(),hardBreakEscape:l(U),hardBreakTrailing:l(U),htmlFlow:l(B),htmlFlowData:I,htmlText:l(H),htmlTextData:I,image:l(ce),label:Se,labelText:Ae,lineEnding:v,link:l(X),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:fe,resourceDestinationString:E,resourceTitleString:W,resource:te,setextHeading:l(V),setextHeadingLineSequence:j,setextHeadingText:k,strong:l(),thematicBreak:l()}};Li(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(y){let M={type:"root",children:[]};const Q={stack:[M],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:h,data:n},Z=[];let ue=-1;for(;++ue<y.length;)if(y[ue][1].type==="listOrdered"||y[ue][1].type==="listUnordered")if(y[ue][0]==="enter")Z.push(ue);else{const Oe=Z.pop();ue=u(y,Oe,ue)}for(ue=-1;++ue<y.length;){const Oe=t[y[ue][0]];Fi.call(Oe,y[ue][1].type)&&Oe[y[ue][1].type].call(Object.assign({sliceSerialize:y[ue][2].sliceSerialize},Q),y[ue][1])}if(Q.tokenStack.length>0){const Oe=Q.tokenStack[Q.tokenStack.length-1];(Oe[1]||pu).call(Q,void 0,Oe[0])}for(M.position={start:$e(y.length>0?y[0][1].start:{line:1,column:1,offset:0}),end:$e(y.length>0?y[y.length-2][1].end:{line:1,column:1,offset:0})},ue=-1;++ue<t.transforms.length;)M=t.transforms[ue](M)||M;return M}function u(y,M,Q){let Z=M-1,ue=-1,Oe=!1,nt,Ye,Nt,kt;for(;++Z<=Q;){const Ie=y[Z];switch(Ie[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ie[0]==="enter"?ue++:ue--,kt=void 0;break}case"lineEndingBlank":{Ie[0]==="enter"&&(nt&&!kt&&!ue&&!Nt&&(Nt=Z),kt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:kt=void 0}if(!ue&&Ie[0]==="enter"&&Ie[1].type==="listItemPrefix"||ue===-1&&Ie[0]==="exit"&&(Ie[1].type==="listUnordered"||Ie[1].type==="listOrdered")){if(nt){let ft=Z;for(Ye=void 0;ft--;){const qe=y[ft];if(qe[1].type==="lineEnding"||qe[1].type==="lineEndingBlank"){if(qe[0]==="exit")continue;Ye&&(y[Ye][1].type="lineEndingBlank",Oe=!0),qe[1].type="lineEnding",Ye=ft}else if(!(qe[1].type==="linePrefix"||qe[1].type==="blockQuotePrefix"||qe[1].type==="blockQuotePrefixWhitespace"||qe[1].type==="blockQuoteMarker"||qe[1].type==="listItemIndent"))break}Nt&&(!Ye||Nt<Ye)&&(nt._spread=!0),nt.end=Object.assign({},Ye?y[Ye][1].start:Ie[1].end),y.splice(Ye||Z,0,["exit",nt,Ie[2]]),Z++,Q++}if(Ie[1].type==="listItemPrefix"){const ft={type:"listItem",_spread:!1,start:Object.assign({},Ie[1].start),end:void 0};nt=ft,y.splice(Z,0,["enter",ft,Ie[2]]),Z++,Q++,Nt=void 0,kt=!0}}}return y[M][1]._spread=Oe,Q}function i(y,M){return Q;function Q(Z){o.call(this,y(Z),Z),M&&M.call(this,Z)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(y,M,Q){this.stack[this.stack.length-1].children.push(y),this.stack.push(y),this.tokenStack.push([M,Q||void 0]),y.position={start:$e(M.start),end:void 0}}function l(y){return M;function M(Q){y&&y.call(this,Q),c.call(this,Q)}}function c(y,M){const Q=this.stack.pop(),Z=this.tokenStack.pop();if(Z)Z[0].type!==y.type&&(M?M.call(this,y,Z[0]):(Z[1]||pu).call(this,y,Z[0]));else throw new Error("Cannot close `"+y.type+"` ("+Bt({start:y.start,end:y.end})+"): it’s not open");Q.position.end=$e(y.end)}function h(){return Yt(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function m(y){if(this.data.expectingFirstListItemValue){const M=this.stack[this.stack.length-2];M.start=Number.parseInt(this.sliceSerialize(y),10),this.data.expectingFirstListItemValue=void 0}}function d(){const y=this.resume(),M=this.stack[this.stack.length-1];M.lang=y}function A(){const y=this.resume(),M=this.stack[this.stack.length-1];M.meta=y}function _(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function S(){const y=this.resume(),M=this.stack[this.stack.length-1];M.value=y.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function x(){const y=this.resume(),M=this.stack[this.stack.length-1];M.value=y.replace(/(\r?\n|\r)$/g,"")}function F(y){const M=this.resume(),Q=this.stack[this.stack.length-1];Q.label=M,Q.identifier=Re(this.sliceSerialize(y)).toLowerCase()}function L(){const y=this.resume(),M=this.stack[this.stack.length-1];M.title=y}function z(){const y=this.resume(),M=this.stack[this.stack.length-1];M.url=y}function q(y){const M=this.stack[this.stack.length-1];if(!M.depth){const Q=this.sliceSerialize(y).length;M.depth=Q}}function k(){this.data.setextHeadingSlurpLineEnding=!0}function j(y){const M=this.stack[this.stack.length-1];M.depth=this.sliceSerialize(y).codePointAt(0)===61?1:2}function V(){this.data.setextHeadingSlurpLineEnding=void 0}function O(y){const Q=this.stack[this.stack.length-1].children;let Z=Q[Q.length-1];(!Z||Z.type!=="text")&&(Z=_s(),Z.position={start:$e(y.start),end:void 0},Q.push(Z)),this.stack.push(Z)}function I(y){const M=this.stack.pop();M.value+=this.sliceSerialize(y),M.position.end=$e(y.end)}function v(y){const M=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Q=M.children[M.children.length-1];Q.position.end=$e(y.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(M.type)&&(O.call(this,y),I.call(this,y))}function U(){this.data.atHardBreak=!0}function B(){const y=this.resume(),M=this.stack[this.stack.length-1];M.value=y}function H(){const y=this.resume(),M=this.stack[this.stack.length-1];M.value=y}function C(){const y=this.resume(),M=this.stack[this.stack.length-1];M.value=y}function X(){const y=this.stack[this.stack.length-1];if(this.data.inReference){const M=this.data.referenceType||"shortcut";y.type+="Reference",y.referenceType=M,delete y.url,delete y.title}else delete y.identifier,delete y.label;this.data.referenceType=void 0}function ce(){const y=this.stack[this.stack.length-1];if(this.data.inReference){const M=this.data.referenceType||"shortcut";y.type+="Reference",y.referenceType=M,delete y.url,delete y.title}else delete y.identifier,delete y.label;this.data.referenceType=void 0}function Ae(y){const M=this.sliceSerialize(y),Q=this.stack[this.stack.length-2];Q.label=yi(M),Q.identifier=Re(M).toLowerCase()}function Se(){const y=this.stack[this.stack.length-1],M=this.resume(),Q=this.stack[this.stack.length-1];if(this.data.inReference=!0,Q.type==="link"){const Z=y.children;Q.children=Z}else Q.alt=M}function E(){const y=this.resume(),M=this.stack[this.stack.length-1];M.url=y}function W(){const y=this.resume(),M=this.stack[this.stack.length-1];M.title=y}function te(){this.data.inReference=void 0}function g(){this.data.referenceType="collapsed"}function fe(y){const M=this.resume(),Q=this.stack[this.stack.length-1];Q.label=M,Q.identifier=Re(this.sliceSerialize(y)).toLowerCase(),this.data.referenceType="full"}function de(y){this.data.characterReferenceType=y.type}function oe(y){const M=this.sliceSerialize(y),Q=this.data.characterReferenceType;let Z;Q?(Z=gi(M,Q==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Z=qt(M);const ue=this.stack[this.stack.length-1];ue.value+=Z}function ze(y){const M=this.stack.pop();M.position.end=$e(y.end)}function ae(y){I.call(this,y);const M=this.stack[this.stack.length-1];M.url=this.sliceSerialize(y)}function xe(y){I.call(this,y);const M=this.stack[this.stack.length-1];M.url="mailto:"+this.sliceSerialize(y)}function we(){return{type:"blockquote",children:[]}}function ct(){return{type:"code",lang:null,meta:null,value:""}}function Es(){return{type:"inlineCode",value:""}}function Ts(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function bs(){return{type:"emphasis",children:[]}}function $r(){return{type:"heading",depth:0,children:[]}}function Xr(){return{type:"break"}}function Kr(){return{type:"html",value:""}}function gs(){return{type:"image",title:null,url:"",alt:null}}function Jr(){return{type:"link",title:null,url:"",children:[]}}function Zr(y){return{type:"list",ordered:y.type==="listOrdered",start:null,spread:y._spread,children:[]}}function As(y){return{type:"listItem",spread:y._spread,checked:null,children:[]}}function Cs(){return{type:"paragraph",children:[]}}function Ds(){return{type:"strong",children:[]}}function _s(){return{type:"text",value:""}}function xs(){return{type:"thematicBreak"}}}function $e(e){return{line:e.line,column:e.column,offset:e.offset}}function Li(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Li(e,r):Ll(e,r)}}function Ll(e,t){let n;for(n in t)if(Fi.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function pu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Bt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Bt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Bt({start:t.start,end:t.end})+") is still open")}function Oi(e){const t=this;t.parser=n;function n(r){return yl(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const Eu={}.hasOwnProperty;function Cr(e,t){const n=t||{};function r(u,...i){let a=r.invalid;const o=r.handlers;if(u&&Eu.call(u,e)){const l=String(u[e]);a=Eu.call(o,l)?o[l]:r.unknown}if(a)return a.call(this,u,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const Ol={}.hasOwnProperty;function Ri(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)Ri(e,t.extensions[n]);for(r in t)if(Ol.call(t,r))switch(r){case"extensions":break;case"unsafe":{Tu(e[r],t[r]);break}case"join":{Tu(e[r],t[r]);break}case"handlers":{Rl(e[r],t[r]);break}default:e.options[r]=t[r]}return e}function Tu(e,t){t&&e.push(...t)}function Rl(e,t){t&&Object.assign(e,t)}function Pl(e,t,n,r){const u=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const a=n.indentLines(n.containerFlow(e,i.current()),wl);return u(),a}function wl(e,t,n){return">"+(n?"":" ")+e}function Pi(e,t){return bu(e,t.inConstruct,!0)&&!bu(e,t.notInConstruct,!1)}function bu(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function gu(e,t,n,r){let u=-1;for(;++u<n.unsafe.length;)if(n.unsafe[u].character===`
|
|
8
|
+
`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&u)continue;a=" ";break}default:a=String.fromCharCode(i)}u=i===-2,r.push(a)}return r.join("")}function xl(e){const r={constructs:bi([Al,...(e||{}).extensions||[]]),content:u(vs),defined:[],document:u(Us),flow:u(il),lazy:{},string:u(ol),text:u(ll)};return r;function u(i){return a;function a(o){return Cl(r,i,o)}}}function Il(e){for(;!_i(e););return e}const hu=/[\0\t\n\r]/g;function Nl(){let e=1,t="",n=!0,r;return u;function u(i,a,o){const l=[];let c,h,f,p,d;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(a||void 0).decode(i)),f=0,t="",n&&(i.charCodeAt(0)===65279&&f++,n=void 0);f<i.length;){if(hu.lastIndex=f,c=hu.exec(i),p=c&&c.index!==void 0?c.index:i.length,d=i.charCodeAt(p),!c){t=i.slice(f);break}if(d===10&&f===p&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<p&&(l.push(i.slice(f,p)),e+=p-f),d){case 0:{l.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,l.push(-2);e++<h;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}f=p+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const kl=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function yi(e){return e.replace(kl,Sl)}function Sl(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),i=u===120||u===88;return gi(n.slice(i?2:1),i?16:10)}return Yt(n)||e}function wt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?du(e.position):"start"in e||"end"in e?du(e):"line"in e||"column"in e?ur(e):""}function ur(e){return mu(e&&e.line)+":"+mu(e&&e.column)}function du(e){return ur(e&&e.start)+"-"+ur(e&&e.end)}function mu(e){return e&&typeof e=="number"?e:1}const Fi={}.hasOwnProperty;function yl(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Fl(n)(Il(xl(n).document().write(Nl()(e,t,!0))))}function Fl(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Jr),autolinkProtocol:O,autolinkEmail:O,atxHeading:i($r),blockQuote:i(Ge),characterEscape:O,characterReference:O,codeFenced:i(Jt),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(Jt,a),codeText:i(Es,a),codeTextData:O,data:O,codeFlowValue:O,definition:i(Ts),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(bs),hardBreakEscape:i(Xr),hardBreakTrailing:i(Xr),htmlFlow:i(Kr,a),htmlFlowData:O,htmlText:i(Kr,a),htmlTextData:O,image:i(gs),label:a,link:i(Jr),listItem:i(As),listItemValue:p,listOrdered:i(Zr,f),listUnordered:i(Zr),paragraph:i(Cs),reference:b,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i($r),strong:i(Ds),thematicBreak:i(xs)},exit:{atxHeading:l(),atxHeadingSequence:j,autolink:l(),autolinkEmail:we,autolinkProtocol:ge,blockQuote:l(),characterEscapeValue:I,characterReferenceMarkerHexadecimal:Se,characterReferenceMarkerNumeric:Se,characterReferenceValue:le,characterReference:se,codeFenced:l(S),codeFencedFence:_,codeFencedFenceInfo:d,codeFencedFenceMeta:g,codeFlowValue:I,codeIndented:l(x),codeText:l(C),codeTextData:I,data:I,definition:l(),definitionDestinationString:Y,definitionLabelString:L,definitionTitleString:R,emphasis:l(),hardBreakEscape:l(U),hardBreakTrailing:l(U),htmlFlow:l(M),htmlFlowData:I,htmlText:l(z),htmlTextData:I,image:l(fe),label:ke,labelText:Ae,lineEnding:H,link:l(K),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:re,resourceDestinationString:A,resourceTitleString:F,resource:Q,setextHeading:l(W),setextHeadingLineSequence:V,setextHeadingText:k,strong:l(),thematicBreak:l()}};Li(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(y){let v={type:"root",children:[]};const G={stack:[v],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:h,data:n},ee=[];let ie=-1;for(;++ie<y.length;)if(y[ie][1].type==="listOrdered"||y[ie][1].type==="listUnordered")if(y[ie][0]==="enter")ee.push(ie);else{const Oe=ee.pop();ie=u(y,Oe,ie)}for(ie=-1;++ie<y.length;){const Oe=t[y[ie][0]];Fi.call(Oe,y[ie][1].type)&&Oe[y[ie][1].type].call(Object.assign({sliceSerialize:y[ie][2].sliceSerialize},G),y[ie][1])}if(G.tokenStack.length>0){const Oe=G.tokenStack[G.tokenStack.length-1];(Oe[1]||pu).call(G,void 0,Oe[0])}for(v.position={start:$e(y.length>0?y[0][1].start:{line:1,column:1,offset:0}),end:$e(y.length>0?y[y.length-2][1].end:{line:1,column:1,offset:0})},ie=-1;++ie<t.transforms.length;)v=t.transforms[ie](v)||v;return v}function u(y,v,G){let ee=v-1,ie=-1,Oe=!1,nt,ze,It,Nt;for(;++ee<=G;){const xe=y[ee];switch(xe[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{xe[0]==="enter"?ie++:ie--,Nt=void 0;break}case"lineEndingBlank":{xe[0]==="enter"&&(nt&&!Nt&&!ie&&!It&&(It=ee),Nt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Nt=void 0}if(!ie&&xe[0]==="enter"&&xe[1].type==="listItemPrefix"||ie===-1&&xe[0]==="exit"&&(xe[1].type==="listUnordered"||xe[1].type==="listOrdered")){if(nt){let ct=ee;for(ze=void 0;ct--;){const Ye=y[ct];if(Ye[1].type==="lineEnding"||Ye[1].type==="lineEndingBlank"){if(Ye[0]==="exit")continue;ze&&(y[ze][1].type="lineEndingBlank",Oe=!0),Ye[1].type="lineEnding",ze=ct}else if(!(Ye[1].type==="linePrefix"||Ye[1].type==="blockQuotePrefix"||Ye[1].type==="blockQuotePrefixWhitespace"||Ye[1].type==="blockQuoteMarker"||Ye[1].type==="listItemIndent"))break}It&&(!ze||It<ze)&&(nt._spread=!0),nt.end=Object.assign({},ze?y[ze][1].start:xe[1].end),y.splice(ze||ee,0,["exit",nt,xe[2]]),ee++,G++}if(xe[1].type==="listItemPrefix"){const ct={type:"listItem",_spread:!1,start:Object.assign({},xe[1].start),end:void 0};nt=ct,y.splice(ee,0,["enter",ct,xe[2]]),ee++,G++,It=void 0,Nt=!0}}}return y[v][1]._spread=Oe,G}function i(y,v){return G;function G(ee){o.call(this,y(ee),ee),v&&v.call(this,ee)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(y,v,G){this.stack[this.stack.length-1].children.push(y),this.stack.push(y),this.tokenStack.push([v,G||void 0]),y.position={start:$e(v.start),end:void 0}}function l(y){return v;function v(G){y&&y.call(this,G),c.call(this,G)}}function c(y,v){const G=this.stack.pop(),ee=this.tokenStack.pop();if(ee)ee[0].type!==y.type&&(v?v.call(this,y,ee[0]):(ee[1]||pu).call(this,y,ee[0]));else throw new Error("Cannot close `"+y.type+"` ("+wt({start:y.start,end:y.end})+"): it’s not open");G.position.end=$e(y.end)}function h(){return zt(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(y){if(this.data.expectingFirstListItemValue){const v=this.stack[this.stack.length-2];v.start=Number.parseInt(this.sliceSerialize(y),10),this.data.expectingFirstListItemValue=void 0}}function d(){const y=this.resume(),v=this.stack[this.stack.length-1];v.lang=y}function g(){const y=this.resume(),v=this.stack[this.stack.length-1];v.meta=y}function _(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function S(){const y=this.resume(),v=this.stack[this.stack.length-1];v.value=y.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function x(){const y=this.resume(),v=this.stack[this.stack.length-1];v.value=y.replace(/(\r?\n|\r)$/g,"")}function L(y){const v=this.resume(),G=this.stack[this.stack.length-1];G.label=v,G.identifier=Re(this.sliceSerialize(y)).toLowerCase()}function R(){const y=this.resume(),v=this.stack[this.stack.length-1];v.title=y}function Y(){const y=this.resume(),v=this.stack[this.stack.length-1];v.url=y}function j(y){const v=this.stack[this.stack.length-1];if(!v.depth){const G=this.sliceSerialize(y).length;v.depth=G}}function k(){this.data.setextHeadingSlurpLineEnding=!0}function V(y){const v=this.stack[this.stack.length-1];v.depth=this.sliceSerialize(y).codePointAt(0)===61?1:2}function W(){this.data.setextHeadingSlurpLineEnding=void 0}function O(y){const G=this.stack[this.stack.length-1].children;let ee=G[G.length-1];(!ee||ee.type!=="text")&&(ee=_s(),ee.position={start:$e(y.start),end:void 0},G.push(ee)),this.stack.push(ee)}function I(y){const v=this.stack.pop();v.value+=this.sliceSerialize(y),v.position.end=$e(y.end)}function H(y){const v=this.stack[this.stack.length-1];if(this.data.atHardBreak){const G=v.children[v.children.length-1];G.position.end=$e(y.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(v.type)&&(O.call(this,y),I.call(this,y))}function U(){this.data.atHardBreak=!0}function M(){const y=this.resume(),v=this.stack[this.stack.length-1];v.value=y}function z(){const y=this.resume(),v=this.stack[this.stack.length-1];v.value=y}function C(){const y=this.resume(),v=this.stack[this.stack.length-1];v.value=y}function K(){const y=this.stack[this.stack.length-1];if(this.data.inReference){const v=this.data.referenceType||"shortcut";y.type+="Reference",y.referenceType=v,delete y.url,delete y.title}else delete y.identifier,delete y.label;this.data.referenceType=void 0}function fe(){const y=this.stack[this.stack.length-1];if(this.data.inReference){const v=this.data.referenceType||"shortcut";y.type+="Reference",y.referenceType=v,delete y.url,delete y.title}else delete y.identifier,delete y.label;this.data.referenceType=void 0}function Ae(y){const v=this.sliceSerialize(y),G=this.stack[this.stack.length-2];G.label=yi(v),G.identifier=Re(v).toLowerCase()}function ke(){const y=this.stack[this.stack.length-1],v=this.resume(),G=this.stack[this.stack.length-1];if(this.data.inReference=!0,G.type==="link"){const ee=y.children;G.children=ee}else G.alt=v}function A(){const y=this.resume(),v=this.stack[this.stack.length-1];v.url=y}function F(){const y=this.resume(),v=this.stack[this.stack.length-1];v.title=y}function Q(){this.data.inReference=void 0}function b(){this.data.referenceType="collapsed"}function re(y){const v=this.resume(),G=this.stack[this.stack.length-1];G.label=v,G.identifier=Re(this.sliceSerialize(y)).toLowerCase(),this.data.referenceType="full"}function Se(y){this.data.characterReferenceType=y.type}function le(y){const v=this.sliceSerialize(y),G=this.data.characterReferenceType;let ee;G?(ee=gi(v,G==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ee=Yt(v);const ie=this.stack[this.stack.length-1];ie.value+=ee}function se(y){const v=this.stack.pop();v.position.end=$e(y.end)}function ge(y){I.call(this,y);const v=this.stack[this.stack.length-1];v.url=this.sliceSerialize(y)}function we(y){I.call(this,y);const v=this.stack[this.stack.length-1];v.url="mailto:"+this.sliceSerialize(y)}function Ge(){return{type:"blockquote",children:[]}}function Jt(){return{type:"code",lang:null,meta:null,value:""}}function Es(){return{type:"inlineCode",value:""}}function Ts(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function bs(){return{type:"emphasis",children:[]}}function $r(){return{type:"heading",depth:0,children:[]}}function Xr(){return{type:"break"}}function Kr(){return{type:"html",value:""}}function gs(){return{type:"image",title:null,url:"",alt:null}}function Jr(){return{type:"link",title:null,url:"",children:[]}}function Zr(y){return{type:"list",ordered:y.type==="listOrdered",start:null,spread:y._spread,children:[]}}function As(y){return{type:"listItem",spread:y._spread,checked:null,children:[]}}function Cs(){return{type:"paragraph",children:[]}}function Ds(){return{type:"strong",children:[]}}function _s(){return{type:"text",value:""}}function xs(){return{type:"thematicBreak"}}}function $e(e){return{line:e.line,column:e.column,offset:e.offset}}function Li(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Li(e,r):Ll(e,r)}}function Ll(e,t){let n;for(n in t)if(Fi.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function pu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+wt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+wt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+wt({start:t.start,end:t.end})+") is still open")}function Oi(e){const t=this;t.parser=n;function n(r){return yl(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const Eu={}.hasOwnProperty;function Cr(e,t){const n=t||{};function r(u,...i){let a=r.invalid;const o=r.handlers;if(u&&Eu.call(u,e)){const l=String(u[e]);a=Eu.call(o,l)?o[l]:r.unknown}if(a)return a.call(this,u,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const Ol={}.hasOwnProperty;function Ri(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)Ri(e,t.extensions[n]);for(r in t)if(Ol.call(t,r))switch(r){case"extensions":break;case"unsafe":{Tu(e[r],t[r]);break}case"join":{Tu(e[r],t[r]);break}case"handlers":{Rl(e[r],t[r]);break}default:e.options[r]=t[r]}return e}function Tu(e,t){t&&e.push(...t)}function Rl(e,t){t&&Object.assign(e,t)}function Pl(e,t,n,r){const u=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const a=n.indentLines(n.containerFlow(e,i.current()),wl);return u(),a}function wl(e,t,n){return">"+(n?"":" ")+e}function Pi(e,t){return bu(e,t.inConstruct,!0)&&!bu(e,t.notInConstruct,!1)}function bu(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function gu(e,t,n,r){let u=-1;for(;++u<n.unsafe.length;)if(n.unsafe[u].character===`
|
|
25
9
|
`&&Pi(n.stack,n.unsafe[u]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
26
|
-
`}function Bl(e,t){const n=String(e);let r=n.indexOf(t),u=r,i=0,a=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===u?++i>a&&(a=i):i=1,u=r+t.length,r=n.indexOf(t,u);return a}function ir(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Ml(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function vl(e,t,n,r){const u=Ml(n),i=e.value||"",a=u==="`"?"GraveAccent":"Tilde";if(ir(e,n)){const f=n.enter("codeIndented"),
|
|
10
|
+
`}function Bl(e,t){const n=String(e);let r=n.indexOf(t),u=r,i=0,a=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===u?++i>a&&(a=i):i=1,u=r+t.length,r=n.indexOf(t,u);return a}function ir(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Ml(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function vl(e,t,n,r){const u=Ml(n),i=e.value||"",a=u==="`"?"GraveAccent":"Tilde";if(ir(e,n)){const f=n.enter("codeIndented"),p=n.indentLines(i,Hl);return f(),p}const o=n.createTracker(r),l=u.repeat(Math.max(Bl(i,u)+1,3)),c=n.enter("codeFenced");let h=o.move(l);if(e.lang){const f=n.enter(`codeFencedLang${a}`);h+=o.move(n.safe(e.lang,{before:h,after:" ",encode:["`"],...o.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${a}`);h+=o.move(" "),h+=o.move(n.safe(e.meta,{before:h,after:`
|
|
27
11
|
`,encode:["`"],...o.current()})),f()}return h+=o.move(`
|
|
28
12
|
`),i&&(h+=o.move(i+`
|
|
29
13
|
`)),h+=o.move(l),c(),h}function Hl(e,t,n){return(n?"":" ")+e}function Dr(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 Ul(e,t,n,r){const u=Dr(n),i=u==='"'?"Quote":"Apostrophe",a=n.enter("definition");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":`
|
|
30
|
-
`,...l.current()}))),o(),e.title&&(o=n.enter(`title${i}`),c+=l.move(" "+u),c+=l.move(n.safe(e.title,{before:c,after:u,...l.current()})),c+=l.move(u),o()),a(),c}function zl(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Ze(e){return"&#x"+e.toString(16).toUpperCase()+";"}function hn(e,t,n){const r=
|
|
14
|
+
`,...l.current()}))),o(),e.title&&(o=n.enter(`title${i}`),c+=l.move(" "+u),c+=l.move(n.safe(e.title,{before:c,after:u,...l.current()})),c+=l.move(u),o()),a(),c}function zl(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Ze(e){return"&#x"+e.toString(16).toUpperCase()+";"}function hn(e,t,n){const r=Et(e),u=Et(t);return r===void 0?u===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}wi.peek=Yl;function wi(e,t,n,r){const u=zl(n),i=n.enter("emphasis"),a=n.createTracker(r),o=a.move(u);let l=a.move(n.containerPhrasing(e,{after:u,before:o,...a.current()}));const c=l.charCodeAt(0),h=hn(r.before.charCodeAt(r.before.length-1),c,u);h.inside&&(l=Ze(c)+l.slice(1));const f=l.charCodeAt(l.length-1),p=hn(r.after.charCodeAt(0),f,u);p.inside&&(l=l.slice(0,-1)+Ze(f));const d=a.move(u);return i(),n.attentionEncodeSurroundingInfo={after:p.outside,before:h.outside},o+l+d}function Yl(e,t,n){return n.options.emphasis||"*"}const An=function(e){if(e==null)return Wl;if(typeof e=="function")return Cn(e);if(typeof e=="object")return Array.isArray(e)?ql(e):jl(e);if(typeof e=="string")return Vl(e);throw new Error("Expected function, string, or object as test")};function ql(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=An(e[n]);return Cn(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function jl(e){const t=e;return Cn(n);function n(r){const u=r;let i;for(i in e)if(u[i]!==t[i])return!1;return!0}}function Vl(e){return Cn(t);function t(n){return n&&n.type===e}}function Cn(e){return t;function t(n,r,u){return!!(Ql(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function Wl(){return!0}function Ql(e){return e!==null&&typeof e=="object"&&"type"in e}const Bi=[],Gl=!0,ar=!1,$l="skip";function _r(e,t,n,r){let u;typeof t=="function"&&typeof n!="function"?(r=n,n=t):u=t;const i=An(u),a=r?-1:1;o(e,void 0,[])();function o(l,c,h){const f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){const d=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(l.type+(d?"<"+d+">":""))+")"})}return p;function p(){let d=Bi,g,_,S;if((!t||i(l,c,h[h.length-1]||void 0))&&(d=Xl(n(l,h)),d[0]===ar))return d;if("children"in l&&l.children){const x=l;if(x.children&&d[0]!==$l)for(_=(r?x.children.length:-1)+a,S=h.concat(x);_>-1&&_<x.children.length;){const L=x.children[_];if(g=o(L,_,S)(),g[0]===ar)return g;_=typeof g[1]=="number"?g[1]:_+a}}return d}}}function Xl(e){return Array.isArray(e)?e:typeof e=="number"?[Gl,e]:e==null?Bi:[e]}function _e(e,t,n,r){let u,i,a;typeof t=="function"&&typeof n!="function"?(i=void 0,a=t,u=n):(i=t,a=n,u=r),_r(e,i,o,u);function o(l,c){const h=c[c.length-1],f=h?h.children.indexOf(l):void 0;return a(l,f,h)}}function Mi(e,t){let n=!1;return _e(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,ar}),!!((!e.depth||e.depth<3)&&zt(e)&&(t.options.setext||n))}function Kl(e,t,n,r){const u=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(Mi(e,n)){const h=n.enter("headingSetext"),f=n.enter("phrasing"),p=n.containerPhrasing(e,{...i.current(),before:`
|
|
31
15
|
`,after:`
|
|
32
|
-
`});return f(),h(),
|
|
33
|
-
`+(u===1?"=":"-").repeat(
|
|
16
|
+
`});return f(),h(),p+`
|
|
17
|
+
`+(u===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(`
|
|
34
18
|
`))+1))}const a="#".repeat(u),o=n.enter("headingAtx"),l=n.enter("phrasing");i.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
|
|
35
|
-
`,...i.current()});return/^[\t ]/.test(c)&&(c=Ze(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}vi.peek=Jl;function vi(e){return e.value||""}function Jl(){return"<"}Hi.peek=Zl;function Hi(e,t,n,r){const u=Dr(n),i=u==='"'?"Quote":"Apostrophe",a=n.enter("image");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=n.enter(`title${i}`),c+=l.move(" "+u),c+=l.move(n.safe(e.title,{before:c,after:u,...l.current()})),c+=l.move(u),o()),c+=l.move(")"),a(),c}function Zl(){return"!"}Ui.peek=ec;function Ui(e,t,n,r){const u=e.referenceType,i=n.enter("imageReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("![");const c=n.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const h=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=h,i(),u==="full"||!c||c!==f?l+=o.move(f+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function ec(){return"!"}zi.peek=tc;function zi(e,t,n){let r=e.value||"",u="`",i=-1;for(;new RegExp("(^|[^`])"+u+"([^`]|$)").test(r);)u+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const a=n.unsafe[i],o=n.compilePattern(a);let l;if(a.atBreak)for(;l=o.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return u+r+u}function tc(){return"`"}function Yi(e,t){const n=
|
|
19
|
+
`,...i.current()});return/^[\t ]/.test(c)&&(c=Ze(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}vi.peek=Jl;function vi(e){return e.value||""}function Jl(){return"<"}Hi.peek=Zl;function Hi(e,t,n,r){const u=Dr(n),i=u==='"'?"Quote":"Apostrophe",a=n.enter("image");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=n.enter(`title${i}`),c+=l.move(" "+u),c+=l.move(n.safe(e.title,{before:c,after:u,...l.current()})),c+=l.move(u),o()),c+=l.move(")"),a(),c}function Zl(){return"!"}Ui.peek=ec;function Ui(e,t,n,r){const u=e.referenceType,i=n.enter("imageReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("![");const c=n.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const h=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=h,i(),u==="full"||!c||c!==f?l+=o.move(f+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function ec(){return"!"}zi.peek=tc;function zi(e,t,n){let r=e.value||"",u="`",i=-1;for(;new RegExp("(^|[^`])"+u+"([^`]|$)").test(r);)u+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const a=n.unsafe[i],o=n.compilePattern(a);let l;if(a.atBreak)for(;l=o.exec(r);){let c=l.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(l.index+1)}}return u+r+u}function tc(){return"`"}function Yi(e,t){const n=zt(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}qi.peek=nc;function qi(e,t,n,r){const u=Dr(n),i=u==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(Yi(e,n)){const h=n.stack;n.stack=[],o=n.enter("autolink");let f=a.move("<");return f+=a.move(n.containerPhrasing(e,{before:f,after:">",...a.current()})),f+=a.move(">"),o(),n.stack=h,f}o=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${i}`),c+=a.move(" "+u),c+=a.move(n.safe(e.title,{before:c,after:u,...a.current()})),c+=a.move(u),l()),c+=a.move(")"),o(),c}function nc(e,t,n){return Yi(e,n)?"<":"["}ji.peek=rc;function ji(e,t,n,r){const u=e.referenceType,i=n.enter("linkReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const h=n.stack;n.stack=[],a=n.enter("reference");const f=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=h,i(),u==="full"||!c||c!==f?l+=o.move(f+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function rc(){return"["}function xr(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 uc(e){const t=xr(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function ic(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Vi(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function ac(e,t,n,r){const u=n.enter("list"),i=n.bulletCurrent;let a=e.ordered?ic(n):xr(n);const o=e.ordered?a==="."?")":".":uc(n);let l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&h&&(!h.children||!h.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),Vi(n)===a&&h){let f=-1;for(;++f<e.children.length;){const p=e.children[f];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(a=o),n.bulletCurrent=a;const c=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=i,u(),c}function sc(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function oc(e,t,n,r){const u=sc(n);let i=n.bulletCurrent||xr(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let a=i.length+1;(u==="tab"||u==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const o=n.createTracker(r);o.move(i+" ".repeat(a-i.length)),o.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),h);return l(),c;function h(f,p,d){return p?(d?"":" ".repeat(a))+f:(d?i:i+" ".repeat(a-i.length))+f}}function lc(e,t,n,r){const u=n.enter("paragraph"),i=n.enter("phrasing"),a=n.containerPhrasing(e,r);return i(),u(),a}const cc=An(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function fc(e,t,n,r){return(e.children.some(function(a){return cc(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function hc(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Wi.peek=dc;function Wi(e,t,n,r){const u=hc(n),i=n.enter("strong"),a=n.createTracker(r),o=a.move(u+u);let l=a.move(n.containerPhrasing(e,{after:u,before:o,...a.current()}));const c=l.charCodeAt(0),h=hn(r.before.charCodeAt(r.before.length-1),c,u);h.inside&&(l=Ze(c)+l.slice(1));const f=l.charCodeAt(l.length-1),p=hn(r.after.charCodeAt(0),f,u);p.inside&&(l=l.slice(0,-1)+Ze(f));const d=a.move(u+u);return i(),n.attentionEncodeSurroundingInfo={after:p.outside,before:h.outside},o+l+d}function dc(e,t,n){return n.options.strong||"*"}function mc(e,t,n,r){return n.safe(e.value,r)}function pc(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Ec(e,t,n){const r=(Vi(n)+(n.options.ruleSpaces?" ":"")).repeat(pc(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Ir={blockquote:Pl,break:gu,code:vl,definition:Ul,emphasis:wi,hardBreak:gu,heading:Kl,html:vi,image:Hi,imageReference:Ui,inlineCode:zi,link:qi,linkReference:ji,list:ac,listItem:oc,paragraph:lc,root:fc,strong:Wi,text:mc,thematicBreak:Ec},Tc=[bc];function bc(e,t,n,r){if(t.type==="code"&&ir(t,r)&&(e.type==="list"||e.type===t.type&&ir(e,r)))return!1;if("spread"in n&&typeof n.spread=="boolean")return e.type==="paragraph"&&(e.type===t.type||t.type==="definition"||t.type==="heading"&&Mi(t,r))?void 0:n.spread?1:0}const rt=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],gc=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:`
|
|
36
20
|
`,inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:rt},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:`(?:[\r
|
|
37
21
|
]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:rt},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:`(?:[ \r
|
|
38
22
|
*])`},{character:"*",inConstruct:"phrasing",notInConstruct:rt},{atBreak:!0,character:"+",after:`(?:[ \r
|
|
39
23
|
])`},{atBreak:!0,character:"-",after:`(?:[ \r
|
|
40
24
|
-])`},{atBreak:!0,before:"\\d+",character:".",after:`(?:[ \r
|
|
41
|
-
]|$)`},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:rt},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:rt},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:rt},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:rt},{atBreak:!0,character:"~"}];function Ac(e){return e.label||!e.identifier?e.label||"":yi(e.identifier)}function Cc(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 Dc(e,t,n){const r=t.indexStack,u=e.children||[],i=[];let a=-1,o=n.before,l;r.push(-1);let c=t.createTracker(n);for(;++a<u.length;){const h=u[a];let f;if(r[r.length-1]=a,a+1<u.length){let
|
|
42
|
-
`)&&h.type==="html"&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),o=" ",c=t.createTracker(n),c.move(i.join("")));let
|
|
25
|
+
]|$)`},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:rt},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:rt},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:rt},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:rt},{atBreak:!0,character:"~"}];function Ac(e){return e.label||!e.identifier?e.label||"":yi(e.identifier)}function Cc(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 Dc(e,t,n){const r=t.indexStack,u=e.children||[],i=[];let a=-1,o=n.before,l;r.push(-1);let c=t.createTracker(n);for(;++a<u.length;){const h=u[a];let f;if(r[r.length-1]=a,a+1<u.length){let g=t.handle.handlers[u[a+1].type];g&&g.peek&&(g=g.peek),f=g?g(u[a+1],e,t,{before:"",after:"",...c.current()}).charAt(0):""}else f=n.after;i.length>0&&(o==="\r"||o===`
|
|
26
|
+
`)&&h.type==="html"&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),o=" ",c=t.createTracker(n),c.move(i.join("")));let p=t.handle(h,e,t,{...c.current(),after:f,before:o});l&&l===p.slice(0,1)&&(p=Ze(l.charCodeAt(0))+p.slice(1));const d=t.attentionEncodeSurroundingInfo;t.attentionEncodeSurroundingInfo=void 0,l=void 0,d&&(i.length>0&&d.before&&o===i[i.length-1].slice(-1)&&(i[i.length-1]=i[i.length-1].slice(0,-1)+Ze(o.charCodeAt(0))),d.after&&(l=f)),c.move(p),i.push(p),o=p.slice(-1)}return r.pop(),i.join("")}function _c(e,t,n){const r=t.indexStack,u=e.children||[],i=t.createTracker(n),a=[];let o=-1;for(r.push(-1);++o<u.length;){const l=u[o];r[r.length-1]=o,a.push(i.move(t.handle(l,e,t,{before:`
|
|
43
27
|
`,after:`
|
|
44
28
|
`,...i.current()}))),l.type!=="list"&&(t.bulletLastUsed=void 0),o<u.length-1&&a.push(i.move(xc(l,u[o+1],e,t)))}return r.pop(),a.join("")}function xc(e,t,n,r){let u=r.join.length;for(;u--;){const i=r.join[u](e,t,n,r);if(i===!0||i===1)break;if(typeof i=="number")return`
|
|
45
29
|
`.repeat(1+i);if(i===!1)return`
|
|
@@ -48,29 +32,29 @@ React keys must be passed directly to JSX without using spread:
|
|
|
48
32
|
|
|
49
33
|
`}return`
|
|
50
34
|
|
|
51
|
-
`}const Ic=/\r?\n|\r/g;function Nc(e,t){const n=[];let r=0,u=0,i;for(;i=Ic.exec(e);)a(e.slice(r,i.index)),n.push(i[0]),r=i.index+i[0].length,u++;return a(e.slice(r)),n.join("");function a(o){n.push(t(o,u,!o))}}function kc(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),u=[],i=[],a={};let o=-1;for(;++o<e.unsafe.length;){const h=e.unsafe[o];if(!Pi(e.stack,h))continue;const f=e.compilePattern(h);let
|
|
35
|
+
`}const Ic=/\r?\n|\r/g;function Nc(e,t){const n=[];let r=0,u=0,i;for(;i=Ic.exec(e);)a(e.slice(r,i.index)),n.push(i[0]),r=i.index+i[0].length,u++;return a(e.slice(r)),n.join("");function a(o){n.push(t(o,u,!o))}}function kc(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),u=[],i=[],a={};let o=-1;for(;++o<e.unsafe.length;){const h=e.unsafe[o];if(!Pi(e.stack,h))continue;const f=e.compilePattern(h);let p;for(;p=f.exec(r);){const d="before"in h||!!h.atBreak,g="after"in h,_=p.index+(d?p[1].length:0);u.includes(_)?(a[_].before&&!d&&(a[_].before=!1),a[_].after&&!g&&(a[_].after=!1)):(u.push(_),a[_]={before:d,after:g})}}u.sort(Sc);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(o=-1;++o<u.length;){const h=u[o];h<l||h>=c||h+1<c&&u[o+1]===h+1&&a[h].after&&!a[h+1].before&&!a[h+1].after||u[o-1]===h-1&&a[h].before&&!a[h-1].before&&!a[h-1].after||(l!==h&&i.push(Au(r.slice(l,h),"\\")),l=h,/[!-/:-@[-`{-~]/.test(r.charAt(h))&&(!n.encode||!n.encode.includes(r.charAt(h)))?i.push("\\"):(i.push(Ze(r.charCodeAt(h))),l++))}return i.push(Au(r.slice(l,c),n.after)),i.join("")}function Sc(e,t){return e-t}function Au(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],u=[],i=e+t;let a=-1,o=0,l;for(;l=n.exec(i);)r.push(l.index);for(;++a<r.length;)o!==r[a]&&u.push(e.slice(o,r[a])),u.push("\\"),o=r[a];return u.push(e.slice(o)),u.join("")}function yc(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,u=n.line||1,i=n.column||1;return{move:l,current:a,shift:o};function a(){return{now:{line:u,column:i},lineShift:r}}function o(c){r+=c}function l(c){const h=c||"",f=h.split(/\r?\n|\r/g),p=f[f.length-1];return u+=f.length-1,i=f.length===1?i+p.length:1+p.length+r,h}}function Fc(e,t){const n=t||{},r={associationId:Ac,containerPhrasing:Pc,containerFlow:wc,createTracker:yc,compilePattern:Cc,enter:i,handlers:{...Ir},handle:void 0,indentLines:Nc,indexStack:[],join:[...Tc],options:{},safe:Bc,stack:[],unsafe:[...gc]};Ri(r,n),r.options.tightDefinitions&&r.join.push(Rc),r.handle=Cr("type",{invalid:Lc,unknown:Oc,handlers:r.handlers});let u=r.handle(e,void 0,r,{before:`
|
|
52
36
|
`,after:`
|
|
53
37
|
`,now:{line:1,column:1},lineShift:0});return u&&u.charCodeAt(u.length-1)!==10&&u.charCodeAt(u.length-1)!==13&&(u+=`
|
|
54
|
-
`),u;function i(a){return r.stack.push(a),o;function o(){r.stack.pop()}}}function Lc(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function Oc(e){const t=e;throw new Error("Cannot handle unknown node `"+t.type+"`")}function Rc(e,t){if(e.type==="definition"&&e.type===t.type)return 0}function Pc(e,t){return Dc(e,this,t)}function wc(e,t){return _c(e,this,t)}function Bc(e,t){return kc(this,e,t)}function Mc(e){const t=this;t.compiler=n;function n(r){return Fc(r,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}function Cu(e){if(e)throw e}var Ln,Du;function vc(){if(Du)return Ln;Du=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,u=function(c){return typeof Array.isArray=="function"?Array.isArray(c):t.call(c)==="[object Array]"},i=function(c){if(!c||t.call(c)!=="[object Object]")return!1;var h=e.call(c,"constructor"),f=c.constructor&&c.constructor.prototype&&e.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!h&&!f)return!1;var m;for(m in c);return typeof m>"u"||e.call(c,m)},a=function(c,h){n&&h.name==="__proto__"?n(c,h.name,{enumerable:!0,configurable:!0,value:h.newValue,writable:!0}):c[h.name]=h.newValue},o=function(c,h){if(h==="__proto__")if(e.call(c,h)){if(r)return r(c,h).value}else return;return c[h]};return Ln=function l(){var c,h,f,m,d,A,_=arguments[0],S=1,x=arguments.length,F=!1;for(typeof _=="boolean"&&(F=_,_=arguments[1]||{},S=2),(_==null||typeof _!="object"&&typeof _!="function")&&(_={});S<x;++S)if(c=arguments[S],c!=null)for(h in c)f=o(_,h),m=o(c,h),_!==m&&(F&&m&&(i(m)||(d=u(m)))?(d?(d=!1,A=f&&u(f)?f:[]):A=f&&i(f)?f:{},a(_,{name:h,newValue:l(F,A,m)})):typeof m<"u"&&a(_,{name:h,newValue:m}));return _},Ln}var Hc=vc();const On=gr(Hc);function sr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Uc(){const e=[],t={run:n,use:r};return t;function n(...u){let i=-1;const a=u.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);o(null,...u);function o(l,...c){const h=e[++i];let f=-1;if(l){a(l);return}for(;++f<u.length;)(c[f]===null||c[f]===void 0)&&(c[f]=u[f]);u=c,h?zc(h,o)(...c):a(null,...c)}}function r(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return e.push(u),t}}function zc(e,t){let n;return r;function r(...a){const o=e.length>a.length;let l;o&&a.push(u);try{l=e.apply(this,a)}catch(c){const h=c;if(o&&n)throw h;return u(h)}o||(l&&l.then&&typeof l.then=="function"?l.then(i,u):l instanceof Error?u(l):i(l))}function u(a,...o){n||(n=!0,t(a,...o))}function i(a){u(null,a)}}class be extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let u="",i={},a=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof t=="string"?u=t:!i.cause&&t&&(a=!0,u=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?i.ruleId=r:(i.source=r.slice(0,l),i.ruleId=r.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=u,this.line=o?o.line:void 0,this.name=Bt(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}be.prototype.file="";be.prototype.name="";be.prototype.reason="";be.prototype.message="";be.prototype.stack="";be.prototype.column=void 0;be.prototype.line=void 0;be.prototype.ancestors=void 0;be.prototype.cause=void 0;be.prototype.fatal=void 0;be.prototype.place=void 0;be.prototype.ruleId=void 0;be.prototype.source=void 0;const Be={basename:Yc,dirname:qc,extname:jc,join:Vc,sep:"/"};function Yc(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Gt(e);let n=0,r=-1,u=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;u--;)if(e.codePointAt(u)===47){if(i){n=u+1;break}}else r<0&&(i=!0,r=u+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,o=t.length-1;for(;u--;)if(e.codePointAt(u)===47){if(i){n=u+1;break}}else a<0&&(i=!0,a=u+1),o>-1&&(e.codePointAt(u)===t.codePointAt(o--)?o<0&&(r=u):(o=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function qc(e){if(Gt(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function jc(e){Gt(e);let t=e.length,n=-1,r=0,u=-1,i=0,a;for(;t--;){const o=e.codePointAt(t);if(o===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?u<0?u=t:i!==1&&(i=1):u>-1&&(i=-1)}return u<0||n<0||i===0||i===1&&u===n-1&&u===r+1?"":e.slice(u,n)}function Vc(...e){let t=-1,n;for(;++t<e.length;)Gt(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Wc(n)}function Wc(e){Gt(e);const t=e.codePointAt(0)===47;let n=Qc(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Qc(e,t){let n="",r=0,u=-1,i=0,a=-1,o,l;for(;++a<=e.length;){if(a<e.length)o=e.codePointAt(a);else{if(o===47)break;o=47}if(o===47){if(!(u===a-1||i===1))if(u!==a-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),u=a,i=0;continue}}else if(n.length>0){n="",r=0,u=a,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(u+1,a):n=e.slice(u+1,a),r=a-u-1;u=a,i=0}else o===46&&i>-1?i++:i=-1}return n}function Gt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Gc={cwd:$c};function $c(){return"/"}function or(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Xc(e){if(typeof e=="string")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(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Kc(e)}function Kc(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(t)}const Rn=["history","path","basename","stem","extname","dirname"];class Jc{constructor(t){let n;t?or(t)?n={path:t}:typeof t=="string"||Zc(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Gc.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Rn.length;){const i=Rn[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let u;for(u in n)Rn.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?Be.basename(this.path):void 0}set basename(t){wn(t,"basename"),Pn(t,"basename"),this.path=Be.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Be.dirname(this.path):void 0}set dirname(t){_u(this.basename,"dirname"),this.path=Be.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Be.extname(this.path):void 0}set extname(t){if(Pn(t,"extname"),_u(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Be.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){or(t)&&(t=Xc(t)),wn(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Be.basename(this.path,this.extname):void 0}set stem(t){wn(t,"stem"),Pn(t,"stem"),this.path=Be.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const u=this.message(t,n,r);throw u.fatal=!0,u}info(t,n,r){const u=this.message(t,n,r);return u.fatal=void 0,u}message(t,n,r){const u=new be(t,n,r);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Pn(e,t){if(e&&e.includes(Be.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Be.sep+"`")}function wn(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function _u(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Zc(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const e0=function(e){const r=this.constructor.prototype,u=r[e],i=function(){return u.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},t0={}.hasOwnProperty;class Nr extends e0{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=Uc()}copy(){const t=new Nr;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(On(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(vn("data",this.frozen),this.namespace[t]=n,this):t0.call(this.namespace,t)&&this.namespace[t]||void 0:t?(vn("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const u=n.call(t,...r);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=en(t),r=this.parser||this.Parser;return Bn("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Bn("process",this.parser||this.Parser),Mn("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(i,a){const o=en(t),l=r.parse(o);r.run(l,o,function(h,f,m){if(h||!f||!m)return c(h);const d=f,A=r.stringify(d,m);r0(A)?m.value=A:m.result=A,c(h,m)});function c(h,f){h||!f?a(h):i?i(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),Bn("processSync",this.parser||this.Parser),Mn("processSync",this.compiler||this.Compiler),this.process(t,u),Iu("processSync","process",n),r;function u(i,a){n=!0,Cu(i),r=a}}run(t,n,r){xu(t),this.freeze();const u=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(a,o){const l=en(n);u.run(t,l,c);function c(h,f,m){const d=f||t;h?o(h):a?a(d):r(void 0,d,m)}}}runSync(t,n){let r=!1,u;return this.run(t,n,i),Iu("runSync","run",r),u;function i(a,o){Cu(a),u=o,r=!0}}stringify(t,n){this.freeze();const r=en(n),u=this.compiler||this.Compiler;return Mn("stringify",u),xu(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(vn("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[h,...f]=c;l(h,f)}else a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(c.plugins),c.settings&&(u.settings=On(!0,u.settings,c.settings))}function o(c){let h=-1;if(c!=null)if(Array.isArray(c))for(;++h<c.length;){const f=c[h];i(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,h){let f=-1,m=-1;for(;++f<r.length;)if(r[f][0]===c){m=f;break}if(m===-1)r.push([c,...h]);else if(h.length>0){let[d,...A]=h;const _=r[m][1];sr(_)&&sr(d)&&(d=On(!0,_,d)),r[m]=[c,d,...A]}}}}const Qi=new Nr().freeze();function Bn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Mn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function vn(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 xu(e){if(!sr(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Iu(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function en(e){return n0(e)?e:new Jc(e)}function n0(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function r0(e){return typeof e=="string"||u0(e)}function u0(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const i0=Qi().use(Oi).use(Mc).freeze();function Nu(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,u=n.indexOf(t);for(;u!==-1;)r++,u=n.indexOf(t,u+t.length);return r}function a0(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Gi(e,t,n){const u=An((n||{}).ignore||[]),i=s0(t);let a=-1;for(;++a<i.length;)_r(e,"text",o);function o(c,h){let f=-1,m;for(;++f<h.length;){const d=h[f],A=m?m.children:void 0;if(u(d,A?A.indexOf(d):void 0,m))return;m=d}if(m)return l(c,h)}function l(c,h){const f=h[h.length-1],m=i[a][0],d=i[a][1];let A=0;const S=f.children.indexOf(c);let x=!1,F=[];m.lastIndex=0;let L=m.exec(c.value);for(;L;){const z=L.index,q={index:L.index,input:L.input,stack:[...h,c]};let k=d(...L,q);if(typeof k=="string"&&(k=k.length>0?{type:"text",value:k}:void 0),k===!1?m.lastIndex=z+1:(A!==z&&F.push({type:"text",value:c.value.slice(A,z)}),Array.isArray(k)?F.push(...k):k&&F.push(k),A=z+L[0].length,x=!0),!m.global)break;L=m.exec(c.value)}return x?(A<c.value.length&&F.push({type:"text",value:c.value.slice(A)}),f.children.splice(S,1,...F)):F=[c],S+F.length}}function s0(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const u=n[r];t.push([o0(u[0]),l0(u[1])])}return t}function o0(e){return typeof e=="string"?new RegExp(a0(e),"g"):e}function l0(e){return typeof e=="function"?e:function(){return e}}const Hn="phrasing",Un=["autolink","link","image","label"];function c0(){return{transforms:[T0],enter:{literalAutolink:h0,literalAutolinkEmail:zn,literalAutolinkHttp:zn,literalAutolinkWww:zn},exit:{literalAutolink:E0,literalAutolinkEmail:p0,literalAutolinkHttp:d0,literalAutolinkWww:m0}}}function f0(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Hn,notInConstruct:Un},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Hn,notInConstruct:Un},{character:":",before:"[ps]",after:"\\/",inConstruct:Hn,notInConstruct:Un}]}}function h0(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function zn(e){this.config.enter.autolinkProtocol.call(this,e)}function d0(e){this.config.exit.autolinkProtocol.call(this,e)}function m0(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 p0(e){this.config.exit.autolinkEmail.call(this,e)}function E0(e){this.exit(e)}function T0(e){Gi(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,b0],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),g0]],{ignore:["link","linkReference"]})}function b0(e,t,n,r,u){let i="";if(!$i(u)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!A0(n)))return!1;const a=C0(n+r);if(!a[0])return!1;const o={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[o,{type:"text",value:a[1]}]:o}function g0(e,t,n,r){return!$i(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function A0(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function C0(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const u=Nu(e,"(");let i=Nu(e,")");for(;r!==-1&&u>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function $i(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||st(n)||bn(n))&&(!t||n!==47)}Xi.peek=O0;function D0(){return{enter:{gfmFootnoteDefinition:x0,gfmFootnoteDefinitionLabelString:I0,gfmFootnoteCall:S0,gfmFootnoteCallString:y0},exit:{gfmFootnoteDefinition:k0,gfmFootnoteDefinitionLabelString:N0,gfmFootnoteCall:L0,gfmFootnoteCallString:F0}}}function _0(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:R0,footnoteReference:Xi}}}function x0(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function I0(){this.buffer()}function N0(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Re(this.sliceSerialize(e)).toLowerCase()}function k0(e){this.exit(e)}function S0(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function y0(){this.buffer()}function F0(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Re(this.sliceSerialize(e)).toLowerCase()}function L0(e){this.exit(e)}function Xi(e,t,n,r){const u=n.createTracker(r);let i=u.move("[^");const a=n.enter("footnoteReference"),o=n.enter("reference");return i+=u.move(n.safe(n.associationId(e),{...u.current(),before:i,after:"]"})),o(),a(),i+=u.move("]"),i}function O0(){return"["}function R0(e,t,n,r){const u=n.createTracker(r);let i=u.move("[^");const a=n.enter("footnoteDefinition"),o=n.enter("label");return i+=u.move(n.safe(n.associationId(e),{...u.current(),before:i,after:"]"})),o(),i+=u.move("]:"+(e.children&&e.children.length>0?" ":"")),u.shift(4),i+=u.move(n.indentLines(n.containerFlow(e,u.current()),P0)),a(),i}function P0(e,t,n){return t===0?e:(n?"":" ")+e}const w0=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Ki.peek=U0;function B0(){return{canContainEols:["delete"],enter:{strikethrough:v0},exit:{strikethrough:H0}}}function M0(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:w0}],handlers:{delete:Ki}}}function v0(e){this.enter({type:"delete",children:[]},e)}function H0(e){this.exit(e)}function Ki(e,t,n,r){const u=n.createTracker(r),i=n.enter("strikethrough");let a=u.move("~~");return a+=n.containerPhrasing(e,{...u.current(),before:a,after:"~"}),a+=u.move("~~"),i(),a}function U0(){return"~"}function z0(e){return e.length}function Y0(e,t){const n=t||{},r=(n.align||[]).concat(),u=n.stringLength||z0,i=[],a=[],o=[],l=[];let c=0,h=-1;for(;++h<e.length;){const _=[],S=[];let x=-1;for(e[h].length>c&&(c=e[h].length);++x<e[h].length;){const F=q0(e[h][x]);if(n.alignDelimiters!==!1){const L=u(F);S[x]=L,(l[x]===void 0||L>l[x])&&(l[x]=L)}_.push(F)}a[h]=_,o[h]=S}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)i[f]=ku(r[f]);else{const _=ku(r);for(;++f<c;)i[f]=_}f=-1;const m=[],d=[];for(;++f<c;){const _=i[f];let S="",x="";_===99?(S=":",x=":"):_===108?S=":":_===114&&(x=":");let F=n.alignDelimiters===!1?1:Math.max(1,l[f]-S.length-x.length);const L=S+"-".repeat(F)+x;n.alignDelimiters!==!1&&(F=S.length+F+x.length,F>l[f]&&(l[f]=F),d[f]=F),m[f]=L}a.splice(1,0,m),o.splice(1,0,d),h=-1;const A=[];for(;++h<a.length;){const _=a[h],S=o[h];f=-1;const x=[];for(;++f<c;){const F=_[f]||"";let L="",z="";if(n.alignDelimiters!==!1){const q=l[f]-(S[f]||0),k=i[f];k===114?L=" ".repeat(q):k===99?q%2?(L=" ".repeat(q/2+.5),z=" ".repeat(q/2-.5)):(L=" ".repeat(q/2),z=L):z=" ".repeat(q)}n.delimiterStart!==!1&&!f&&x.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&F==="")&&(n.delimiterStart!==!1||f)&&x.push(" "),n.alignDelimiters!==!1&&x.push(L),x.push(F),n.alignDelimiters!==!1&&x.push(z),n.padding!==!1&&x.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&x.push("|")}A.push(n.delimiterEnd===!1?x.join("").replace(/ +$/,""):x.join(""))}return A.join(`
|
|
38
|
+
`),u;function i(a){return r.stack.push(a),o;function o(){r.stack.pop()}}}function Lc(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function Oc(e){const t=e;throw new Error("Cannot handle unknown node `"+t.type+"`")}function Rc(e,t){if(e.type==="definition"&&e.type===t.type)return 0}function Pc(e,t){return Dc(e,this,t)}function wc(e,t){return _c(e,this,t)}function Bc(e,t){return kc(this,e,t)}function Mc(e){const t=this;t.compiler=n;function n(r){return Fc(r,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}function Cu(e){if(e)throw e}var Ln,Du;function vc(){if(Du)return Ln;Du=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,u=function(c){return typeof Array.isArray=="function"?Array.isArray(c):t.call(c)==="[object Array]"},i=function(c){if(!c||t.call(c)!=="[object Object]")return!1;var h=e.call(c,"constructor"),f=c.constructor&&c.constructor.prototype&&e.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!h&&!f)return!1;var p;for(p in c);return typeof p>"u"||e.call(c,p)},a=function(c,h){n&&h.name==="__proto__"?n(c,h.name,{enumerable:!0,configurable:!0,value:h.newValue,writable:!0}):c[h.name]=h.newValue},o=function(c,h){if(h==="__proto__")if(e.call(c,h)){if(r)return r(c,h).value}else return;return c[h]};return Ln=function l(){var c,h,f,p,d,g,_=arguments[0],S=1,x=arguments.length,L=!1;for(typeof _=="boolean"&&(L=_,_=arguments[1]||{},S=2),(_==null||typeof _!="object"&&typeof _!="function")&&(_={});S<x;++S)if(c=arguments[S],c!=null)for(h in c)f=o(_,h),p=o(c,h),_!==p&&(L&&p&&(i(p)||(d=u(p)))?(d?(d=!1,g=f&&u(f)?f:[]):g=f&&i(f)?f:{},a(_,{name:h,newValue:l(L,g,p)})):typeof p<"u"&&a(_,{name:h,newValue:p}));return _},Ln}var Hc=vc();const On=gr(Hc);function sr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Uc(){const e=[],t={run:n,use:r};return t;function n(...u){let i=-1;const a=u.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);o(null,...u);function o(l,...c){const h=e[++i];let f=-1;if(l){a(l);return}for(;++f<u.length;)(c[f]===null||c[f]===void 0)&&(c[f]=u[f]);u=c,h?zc(h,o)(...c):a(null,...c)}}function r(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return e.push(u),t}}function zc(e,t){let n;return r;function r(...a){const o=e.length>a.length;let l;o&&a.push(u);try{l=e.apply(this,a)}catch(c){const h=c;if(o&&n)throw h;return u(h)}o||(l&&l.then&&typeof l.then=="function"?l.then(i,u):l instanceof Error?u(l):i(l))}function u(a,...o){n||(n=!0,t(a,...o))}function i(a){u(null,a)}}class Te extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let u="",i={},a=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof t=="string"?u=t:!i.cause&&t&&(a=!0,u=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?i.ruleId=r:(i.source=r.slice(0,l),i.ruleId=r.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=u,this.line=o?o.line:void 0,this.name=wt(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}Te.prototype.file="";Te.prototype.name="";Te.prototype.reason="";Te.prototype.message="";Te.prototype.stack="";Te.prototype.column=void 0;Te.prototype.line=void 0;Te.prototype.ancestors=void 0;Te.prototype.cause=void 0;Te.prototype.fatal=void 0;Te.prototype.place=void 0;Te.prototype.ruleId=void 0;Te.prototype.source=void 0;const Be={basename:Yc,dirname:qc,extname:jc,join:Vc,sep:"/"};function Yc(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Qt(e);let n=0,r=-1,u=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;u--;)if(e.codePointAt(u)===47){if(i){n=u+1;break}}else r<0&&(i=!0,r=u+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,o=t.length-1;for(;u--;)if(e.codePointAt(u)===47){if(i){n=u+1;break}}else a<0&&(i=!0,a=u+1),o>-1&&(e.codePointAt(u)===t.codePointAt(o--)?o<0&&(r=u):(o=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function qc(e){if(Qt(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function jc(e){Qt(e);let t=e.length,n=-1,r=0,u=-1,i=0,a;for(;t--;){const o=e.codePointAt(t);if(o===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?u<0?u=t:i!==1&&(i=1):u>-1&&(i=-1)}return u<0||n<0||i===0||i===1&&u===n-1&&u===r+1?"":e.slice(u,n)}function Vc(...e){let t=-1,n;for(;++t<e.length;)Qt(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Wc(n)}function Wc(e){Qt(e);const t=e.codePointAt(0)===47;let n=Qc(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Qc(e,t){let n="",r=0,u=-1,i=0,a=-1,o,l;for(;++a<=e.length;){if(a<e.length)o=e.codePointAt(a);else{if(o===47)break;o=47}if(o===47){if(!(u===a-1||i===1))if(u!==a-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),u=a,i=0;continue}}else if(n.length>0){n="",r=0,u=a,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(u+1,a):n=e.slice(u+1,a),r=a-u-1;u=a,i=0}else o===46&&i>-1?i++:i=-1}return n}function Qt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Gc={cwd:$c};function $c(){return"/"}function or(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Xc(e){if(typeof e=="string")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(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Kc(e)}function Kc(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const u=new TypeError("File URL path must not include encoded / characters");throw u.code="ERR_INVALID_FILE_URL_PATH",u}}return decodeURIComponent(t)}const Rn=["history","path","basename","stem","extname","dirname"];class Jc{constructor(t){let n;t?or(t)?n={path:t}:typeof t=="string"||Zc(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Gc.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Rn.length;){const i=Rn[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let u;for(u in n)Rn.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?Be.basename(this.path):void 0}set basename(t){wn(t,"basename"),Pn(t,"basename"),this.path=Be.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Be.dirname(this.path):void 0}set dirname(t){_u(this.basename,"dirname"),this.path=Be.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Be.extname(this.path):void 0}set extname(t){if(Pn(t,"extname"),_u(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Be.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){or(t)&&(t=Xc(t)),wn(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Be.basename(this.path,this.extname):void 0}set stem(t){wn(t,"stem"),Pn(t,"stem"),this.path=Be.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const u=this.message(t,n,r);throw u.fatal=!0,u}info(t,n,r){const u=this.message(t,n,r);return u.fatal=void 0,u}message(t,n,r){const u=new Te(t,n,r);return this.path&&(u.name=this.path+":"+u.name,u.file=this.path),u.fatal=!1,this.messages.push(u),u}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Pn(e,t){if(e&&e.includes(Be.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Be.sep+"`")}function wn(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function _u(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Zc(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const e0=function(e){const r=this.constructor.prototype,u=r[e],i=function(){return u.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},t0={}.hasOwnProperty;class Nr extends e0{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=Uc()}copy(){const t=new Nr;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(On(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(vn("data",this.frozen),this.namespace[t]=n,this):t0.call(this.namespace,t)&&this.namespace[t]||void 0:t?(vn("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const u=n.call(t,...r);typeof u=="function"&&this.transformers.use(u)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=en(t),r=this.parser||this.Parser;return Bn("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Bn("process",this.parser||this.Parser),Mn("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(i,a){const o=en(t),l=r.parse(o);r.run(l,o,function(h,f,p){if(h||!f||!p)return c(h);const d=f,g=r.stringify(d,p);r0(g)?p.value=g:p.result=g,c(h,p)});function c(h,f){h||!f?a(h):i?i(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),Bn("processSync",this.parser||this.Parser),Mn("processSync",this.compiler||this.Compiler),this.process(t,u),Iu("processSync","process",n),r;function u(i,a){n=!0,Cu(i),r=a}}run(t,n,r){xu(t),this.freeze();const u=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(a,o){const l=en(n);u.run(t,l,c);function c(h,f,p){const d=f||t;h?o(h):a?a(d):r(void 0,d,p)}}}runSync(t,n){let r=!1,u;return this.run(t,n,i),Iu("runSync","run",r),u;function i(a,o){Cu(a),u=o,r=!0}}stringify(t,n){this.freeze();const r=en(n),u=this.compiler||this.Compiler;return Mn("stringify",u),xu(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(vn("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?o(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(c){if(typeof c=="function")l(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[h,...f]=c;l(h,f)}else a(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function a(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(c.plugins),c.settings&&(u.settings=On(!0,u.settings,c.settings))}function o(c){let h=-1;if(c!=null)if(Array.isArray(c))for(;++h<c.length;){const f=c[h];i(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,h){let f=-1,p=-1;for(;++f<r.length;)if(r[f][0]===c){p=f;break}if(p===-1)r.push([c,...h]);else if(h.length>0){let[d,...g]=h;const _=r[p][1];sr(_)&&sr(d)&&(d=On(!0,_,d)),r[p]=[c,d,...g]}}}}const Qi=new Nr().freeze();function Bn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Mn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function vn(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 xu(e){if(!sr(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Iu(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function en(e){return n0(e)?e:new Jc(e)}function n0(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function r0(e){return typeof e=="string"||u0(e)}function u0(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const i0=Qi().use(Oi).use(Mc).freeze();function Nu(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,u=n.indexOf(t);for(;u!==-1;)r++,u=n.indexOf(t,u+t.length);return r}function a0(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Gi(e,t,n){const u=An((n||{}).ignore||[]),i=s0(t);let a=-1;for(;++a<i.length;)_r(e,"text",o);function o(c,h){let f=-1,p;for(;++f<h.length;){const d=h[f],g=p?p.children:void 0;if(u(d,g?g.indexOf(d):void 0,p))return;p=d}if(p)return l(c,h)}function l(c,h){const f=h[h.length-1],p=i[a][0],d=i[a][1];let g=0;const S=f.children.indexOf(c);let x=!1,L=[];p.lastIndex=0;let R=p.exec(c.value);for(;R;){const Y=R.index,j={index:R.index,input:R.input,stack:[...h,c]};let k=d(...R,j);if(typeof k=="string"&&(k=k.length>0?{type:"text",value:k}:void 0),k===!1?p.lastIndex=Y+1:(g!==Y&&L.push({type:"text",value:c.value.slice(g,Y)}),Array.isArray(k)?L.push(...k):k&&L.push(k),g=Y+R[0].length,x=!0),!p.global)break;R=p.exec(c.value)}return x?(g<c.value.length&&L.push({type:"text",value:c.value.slice(g)}),f.children.splice(S,1,...L)):L=[c],S+L.length}}function s0(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const u=n[r];t.push([o0(u[0]),l0(u[1])])}return t}function o0(e){return typeof e=="string"?new RegExp(a0(e),"g"):e}function l0(e){return typeof e=="function"?e:function(){return e}}const Hn="phrasing",Un=["autolink","link","image","label"];function c0(){return{transforms:[T0],enter:{literalAutolink:h0,literalAutolinkEmail:zn,literalAutolinkHttp:zn,literalAutolinkWww:zn},exit:{literalAutolink:E0,literalAutolinkEmail:p0,literalAutolinkHttp:d0,literalAutolinkWww:m0}}}function f0(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Hn,notInConstruct:Un},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Hn,notInConstruct:Un},{character:":",before:"[ps]",after:"\\/",inConstruct:Hn,notInConstruct:Un}]}}function h0(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function zn(e){this.config.enter.autolinkProtocol.call(this,e)}function d0(e){this.config.exit.autolinkProtocol.call(this,e)}function m0(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 p0(e){this.config.exit.autolinkEmail.call(this,e)}function E0(e){this.exit(e)}function T0(e){Gi(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,b0],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),g0]],{ignore:["link","linkReference"]})}function b0(e,t,n,r,u){let i="";if(!$i(u)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!A0(n)))return!1;const a=C0(n+r);if(!a[0])return!1;const o={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[o,{type:"text",value:a[1]}]:o}function g0(e,t,n,r){return!$i(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function A0(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function C0(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const u=Nu(e,"(");let i=Nu(e,")");for(;r!==-1&&u>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function $i(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||st(n)||bn(n))&&(!t||n!==47)}Xi.peek=O0;function D0(){return{enter:{gfmFootnoteDefinition:x0,gfmFootnoteDefinitionLabelString:I0,gfmFootnoteCall:S0,gfmFootnoteCallString:y0},exit:{gfmFootnoteDefinition:k0,gfmFootnoteDefinitionLabelString:N0,gfmFootnoteCall:L0,gfmFootnoteCallString:F0}}}function _0(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:R0,footnoteReference:Xi}}}function x0(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function I0(){this.buffer()}function N0(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Re(this.sliceSerialize(e)).toLowerCase()}function k0(e){this.exit(e)}function S0(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function y0(){this.buffer()}function F0(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Re(this.sliceSerialize(e)).toLowerCase()}function L0(e){this.exit(e)}function Xi(e,t,n,r){const u=n.createTracker(r);let i=u.move("[^");const a=n.enter("footnoteReference"),o=n.enter("reference");return i+=u.move(n.safe(n.associationId(e),{...u.current(),before:i,after:"]"})),o(),a(),i+=u.move("]"),i}function O0(){return"["}function R0(e,t,n,r){const u=n.createTracker(r);let i=u.move("[^");const a=n.enter("footnoteDefinition"),o=n.enter("label");return i+=u.move(n.safe(n.associationId(e),{...u.current(),before:i,after:"]"})),o(),i+=u.move("]:"+(e.children&&e.children.length>0?" ":"")),u.shift(4),i+=u.move(n.indentLines(n.containerFlow(e,u.current()),P0)),a(),i}function P0(e,t,n){return t===0?e:(n?"":" ")+e}const w0=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Ki.peek=U0;function B0(){return{canContainEols:["delete"],enter:{strikethrough:v0},exit:{strikethrough:H0}}}function M0(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:w0}],handlers:{delete:Ki}}}function v0(e){this.enter({type:"delete",children:[]},e)}function H0(e){this.exit(e)}function Ki(e,t,n,r){const u=n.createTracker(r),i=n.enter("strikethrough");let a=u.move("~~");return a+=n.containerPhrasing(e,{...u.current(),before:a,after:"~"}),a+=u.move("~~"),i(),a}function U0(){return"~"}function z0(e){return e.length}function Y0(e,t){const n=t||{},r=(n.align||[]).concat(),u=n.stringLength||z0,i=[],a=[],o=[],l=[];let c=0,h=-1;for(;++h<e.length;){const _=[],S=[];let x=-1;for(e[h].length>c&&(c=e[h].length);++x<e[h].length;){const L=q0(e[h][x]);if(n.alignDelimiters!==!1){const R=u(L);S[x]=R,(l[x]===void 0||R>l[x])&&(l[x]=R)}_.push(L)}a[h]=_,o[h]=S}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)i[f]=ku(r[f]);else{const _=ku(r);for(;++f<c;)i[f]=_}f=-1;const p=[],d=[];for(;++f<c;){const _=i[f];let S="",x="";_===99?(S=":",x=":"):_===108?S=":":_===114&&(x=":");let L=n.alignDelimiters===!1?1:Math.max(1,l[f]-S.length-x.length);const R=S+"-".repeat(L)+x;n.alignDelimiters!==!1&&(L=S.length+L+x.length,L>l[f]&&(l[f]=L),d[f]=L),p[f]=R}a.splice(1,0,p),o.splice(1,0,d),h=-1;const g=[];for(;++h<a.length;){const _=a[h],S=o[h];f=-1;const x=[];for(;++f<c;){const L=_[f]||"";let R="",Y="";if(n.alignDelimiters!==!1){const j=l[f]-(S[f]||0),k=i[f];k===114?R=" ".repeat(j):k===99?j%2?(R=" ".repeat(j/2+.5),Y=" ".repeat(j/2-.5)):(R=" ".repeat(j/2),Y=R):Y=" ".repeat(j)}n.delimiterStart!==!1&&!f&&x.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&L==="")&&(n.delimiterStart!==!1||f)&&x.push(" "),n.alignDelimiters!==!1&&x.push(R),x.push(L),n.alignDelimiters!==!1&&x.push(Y),n.padding!==!1&&x.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&x.push("|")}g.push(n.delimiterEnd===!1?x.join("").replace(/ +$/,""):x.join(""))}return g.join(`
|
|
55
39
|
`)}function q0(e){return e==null?"":String(e)}function ku(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function j0(){return{enter:{table:V0,tableData:Su,tableHeader:Su,tableRow:Q0},exit:{codeText:G0,table:W0,tableData:Yn,tableHeader:Yn,tableRow:Yn}}}function V0(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function W0(e){this.exit(e),this.data.inTable=void 0}function Q0(e){this.enter({type:"tableRow",children:[]},e)}function Yn(e){this.exit(e)}function Su(e){this.enter({type:"tableCell",children:[]},e)}function G0(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,$0));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function $0(e,t){return t==="|"?t:e}function X0(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,u=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
56
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:
|
|
57
|
-
`))}function l(d,A,_,S){const x=_.enter("tableCell"),F=_.enter("phrasing"),L=_.containerPhrasing(d,{...S,before:i,after:i});return F(),x(),L}function c(d,A){return Y0(d,{align:A,alignDelimiters:r,padding:n,stringLength:u})}function h(d,A,_){const S=d.children;let x=-1;const F=[],L=A.enter("table");for(;++x<S.length;)F[x]=f(S[x],A,_);return L(),F}function f(d,A,_){const S=d.children;let x=-1;const F=[],L=A.enter("tableRow");for(;++x<S.length;)F[x]=l(S[x],d,A,_);return L(),F}function m(d,A,_){let S=Ir.inlineCode(d,A,_);return _.stack.includes("tableCell")&&(S=S.replace(/\|/g,"\\$&")),S}}function K0(){return{exit:{taskListCheckValueChecked:yu,taskListCheckValueUnchecked:yu,paragraph:Z0}}}function J0(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:ef}}}function yu(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Z0(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const u=t.children;let i=-1,a;for(;++i<u.length;){const o=u[i];if(o.type==="paragraph"){a=o;break}}a===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function ef(e,t,n,r){const u=e.children[0],i=typeof e.checked=="boolean"&&u&&u.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);i&&o.move(a);let l=Ir.listItem(e,t,n,{...r,...o.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(h){return h+a}}function tf(){return[c0(),D0(),B0(),j0(),K0()]}function nf(e){return{extensions:[f0(),_0(),M0(),X0(e),J0()]}}const rf={tokenize:cf,partial:!0},Ji={tokenize:ff,partial:!0},Zi={tokenize:hf,partial:!0},ea={tokenize:df,partial:!0},uf={tokenize:mf,partial:!0},ta={name:"wwwAutolink",tokenize:of,previous:ra},na={name:"protocolAutolink",tokenize:lf,previous:ua},Ge={name:"emailAutolink",tokenize:sf,previous:ia},He={};function af(){return{text:He}}let ut=48;for(;ut<123;)He[ut]=Ge,ut++,ut===58?ut=65:ut===91&&(ut=97);He[43]=Ge;He[45]=Ge;He[46]=Ge;He[95]=Ge;He[72]=[Ge,na];He[104]=[Ge,na];He[87]=[Ge,ta];He[119]=[Ge,ta];function sf(e,t,n){const r=this;let u,i;return a;function a(f){return!lr(f)||!ia.call(r,r.previous)||kr(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return lr(f)?(e.consume(f),o):f===64?(e.consume(f),l):n(f)}function l(f){return f===46?e.check(uf,h,c)(f):f===45||f===95||Ee(f)?(i=!0,e.consume(f),l):h(f)}function c(f){return e.consume(f),u=!0,l}function h(f){return i&&u&&Te(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function of(e,t,n){const r=this;return u;function u(a){return a!==87&&a!==119||!ra.call(r,r.previous)||kr(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(rf,e.attempt(Ji,e.attempt(Zi,i),n),n)(a))}function i(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function lf(e,t,n){const r=this;let u="",i=!1;return a;function a(f){return(f===72||f===104)&&ua.call(r,r.previous)&&!kr(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),u+=String.fromCodePoint(f),e.consume(f),o):n(f)}function o(f){if(Te(f)&&u.length<5)return u+=String.fromCodePoint(f),e.consume(f),o;if(f===58){const m=u.toLowerCase();if(m==="http"||m==="https")return e.consume(f),l}return n(f)}function l(f){return f===47?(e.consume(f),i?c:(i=!0,l)):n(f)}function c(f){return f===null||fn(f)||ee(f)||st(f)||bn(f)?n(f):e.attempt(Ji,e.attempt(Zi,h),n)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function cf(e,t,n){let r=0;return u;function u(a){return(a===87||a===119)&&r<3?(r++,e.consume(a),u):a===46&&r===3?(e.consume(a),i):n(a)}function i(a){return a===null?n(a):t(a)}}function ff(e,t,n){let r,u,i;return a;function a(c){return c===46||c===95?e.check(ea,l,o)(c):c===null||ee(c)||st(c)||c!==45&&bn(c)?l(c):(i=!0,e.consume(c),a)}function o(c){return c===95?r=!0:(u=r,r=void 0),e.consume(c),a}function l(c){return u||r||!i?n(c):t(c)}}function hf(e,t){let n=0,r=0;return u;function u(a){return a===40?(n++,e.consume(a),u):a===41&&r<n?i(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(ea,t,i)(a):a===null||ee(a)||st(a)?t(a):(e.consume(a),u)}function i(a){return a===41&&r++,e.consume(a),u}}function df(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),i):o===93?(e.consume(o),u):o===60||o===null||ee(o)||st(o)?t(o):n(o)}function u(o){return o===null||o===40||o===91||ee(o)||st(o)?t(o):r(o)}function i(o){return Te(o)?a(o):n(o)}function a(o){return o===59?(e.consume(o),r):Te(o)?(e.consume(o),a):n(o)}}function mf(e,t,n){return r;function r(i){return e.consume(i),u}function u(i){return Ee(i)?n(i):t(i)}}function ra(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ee(e)}function ua(e){return!Te(e)}function ia(e){return!(e===47||lr(e))}function lr(e){return e===43||e===45||e===46||e===95||Ee(e)}function kr(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const pf={tokenize:_f,partial:!0};function Ef(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Af,continuation:{tokenize:Cf},exit:Df}},text:{91:{name:"gfmFootnoteCall",tokenize:gf},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Tf,resolveTo:bf}}}}function Tf(e,t,n){const r=this;let u=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;u--;){const l=r.events[u][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=Re(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!i.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function bf(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};u.end.column++,u.end.offset++,u.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},u.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",u,t],["exit",u,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function gf(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,a;return o;function o(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(i>999||f===93&&!a||f===null||f===91||ee(f))return n(f);if(f===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return u.includes(Re(r.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return ee(f)||(a=!0),i++,e.consume(f),f===92?h:c}function h(f){return f===91||f===92||f===93?(e.consume(f),i++,c):c(f)}}function Af(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0,o;return l;function l(A){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(A){return A===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(A)}function h(A){if(a>999||A===93&&!o||A===null||A===91||ee(A))return n(A);if(A===93){e.exit("chunkString");const _=e.exit("gfmFootnoteDefinitionLabelString");return i=Re(r.sliceSerialize(_)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return ee(A)||(o=!0),a++,e.consume(A),A===92?f:h}function f(A){return A===91||A===92||A===93?(e.consume(A),a++,h):h(A)}function m(A){return A===58?(e.enter("definitionMarker"),e.consume(A),e.exit("definitionMarker"),u.includes(i)||u.push(i),$(e,d,"gfmFootnoteDefinitionWhitespace")):n(A)}function d(A){return t(A)}}function Cf(e,t,n){return e.check(Qt,t,e.attempt(pf,t,n))}function Df(e){e.exit("gfmFootnoteDefinition")}function _f(e,t,n){const r=this;return $(e,u,"gfmFootnoteDefinitionIndent",5);function u(i){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(i):n(i)}}function xf(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:i,resolveAll:u};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function u(a,o){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},f={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},m=[["enter",h,o],["enter",a[c][1],o],["exit",a[c][1],o],["enter",f,o]],d=o.parser.constructs.insideSpan.null;d&&ke(m,m.length,0,gn(d,a.slice(c+1,l),o)),ke(m,m.length,0,[["exit",f,o],["enter",a[l][1],o],["exit",a[l][1],o],["exit",h,o]]),ke(a,c-1,l-c+3,m),l=c+m.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function i(a,o,l){const c=this.previous,h=this.events;let f=0;return m;function m(A){return c===126&&h[h.length-1][1].type!=="characterEscape"?l(A):(a.enter("strikethroughSequenceTemporary"),d(A))}function d(A){const _=Tt(c);if(A===126)return f>1?l(A):(a.consume(A),f++,d);if(f<2&&!n)return l(A);const S=a.exit("strikethroughSequenceTemporary"),x=Tt(A);return S._open=!x||x===2&&!!_,S._close=!_||_===2&&!!x,o(A)}}}class If{constructor(){this.map=[]}add(t,n,r){Nf(this,t,n,r)}consume(t){if(this.map.sort(function(i,a){return i[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let u=r.pop();for(;u;)t.push(...u),u=r.pop();this.map.length=0}}function Nf(e,t,n,r){let u=0;if(!(n===0&&r.length===0)){for(;u<e.map.length;){if(e.map[u][0]===t){e.map[u][1]+=n,e.map[u][2].push(...r);return}u+=1}e.map.push([t,n,r])}}function kf(e,t){let n=!1;const r=[];for(;t<e.length;){const u=e[t];if(n){if(u[0]==="enter")u[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(u[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(u[1].type==="tableDelimiterRow")break}else u[0]==="enter"&&u[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function Sf(){return{flow:{null:{name:"table",tokenize:yf,resolveAll:Ff}}}}function yf(e,t,n){const r=this;let u=0,i=0,a;return o;function o(I){let v=r.events.length-1;for(;v>-1;){const H=r.events[v][1].type;if(H==="lineEnding"||H==="linePrefix")v--;else break}const U=v>-1?r.events[v][1].type:null,B=U==="tableHead"||U==="tableRow"?k:l;return B===k&&r.parser.lazy[r.now().line]?n(I):B(I)}function l(I){return e.enter("tableHead"),e.enter("tableRow"),c(I)}function c(I){return I===124||(a=!0,i+=1),h(I)}function h(I){return I===null?n(I):Y(I)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),d):n(I):K(I)?$(e,h,"whitespace")(I):(i+=1,a&&(a=!1,u+=1),I===124?(e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),a=!0,h):(e.enter("data"),f(I)))}function f(I){return I===null||I===124||ee(I)?(e.exit("data"),h(I)):(e.consume(I),I===92?m:f)}function m(I){return I===92||I===124?(e.consume(I),f):f(I)}function d(I){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(I):(e.enter("tableDelimiterRow"),a=!1,K(I)?$(e,A,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(I):A(I))}function A(I){return I===45||I===58?S(I):I===124?(a=!0,e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),_):q(I)}function _(I){return K(I)?$(e,S,"whitespace")(I):S(I)}function S(I){return I===58?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(I),e.exit("tableDelimiterMarker"),x):I===45?(i+=1,x(I)):I===null||Y(I)?z(I):q(I)}function x(I){return I===45?(e.enter("tableDelimiterFiller"),F(I)):q(I)}function F(I){return I===45?(e.consume(I),F):I===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(I),e.exit("tableDelimiterMarker"),L):(e.exit("tableDelimiterFiller"),L(I))}function L(I){return K(I)?$(e,z,"whitespace")(I):z(I)}function z(I){return I===124?A(I):I===null||Y(I)?!a||u!==i?q(I):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(I)):q(I)}function q(I){return n(I)}function k(I){return e.enter("tableRow"),j(I)}function j(I){return I===124?(e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),j):I===null||Y(I)?(e.exit("tableRow"),t(I)):K(I)?$(e,j,"whitespace")(I):(e.enter("data"),V(I))}function V(I){return I===null||I===124||ee(I)?(e.exit("data"),j(I)):(e.consume(I),I===92?O:V)}function O(I){return I===92||I===124?(e.consume(I),V):V(I)}}function Ff(e,t){let n=-1,r=!0,u=0,i=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,h,f;const m=new If;for(;++n<e.length;){const d=e[n],A=d[1];d[0]==="enter"?A.type==="tableHead"?(o=!1,l!==0&&(Fu(m,t,l,c,h),h=void 0,l=0),c={type:"table",start:Object.assign({},A.start),end:Object.assign({},A.end)},m.add(n,0,[["enter",c,t]])):A.type==="tableRow"||A.type==="tableDelimiterRow"?(r=!0,f=void 0,i=[0,0,0,0],a=[0,n+1,0,0],o&&(o=!1,h={type:"tableBody",start:Object.assign({},A.start),end:Object.assign({},A.end)},m.add(n,0,[["enter",h,t]])),u=A.type==="tableDelimiterRow"?2:h?3:1):u&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(i[1]!==0&&(a[0]=a[1],f=tn(m,t,i,u,void 0,f),i=[0,0,0,0]),a[2]=n)):A.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(a[0]=a[1],f=tn(m,t,i,u,void 0,f)),i=a,a=[i[1],n,0,0])):A.type==="tableHead"?(o=!0,l=n):A.type==="tableRow"||A.type==="tableDelimiterRow"?(l=n,i[1]!==0?(a[0]=a[1],f=tn(m,t,i,u,n,f)):a[1]!==0&&(f=tn(m,t,a,u,n,f)),u=0):u&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&Fu(m,t,l,c,h),m.consume(t.events),n=-1;++n<t.events.length;){const d=t.events[n];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=kf(t.events,n))}return e}function tn(e,t,n,r,u,i){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(i.end=Object.assign({},mt(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=mt(t.events,n[1]);if(i={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const c=mt(t.events,n[2]),h=mt(t.events,n[3]),f={type:o,start:Object.assign({},c),end:Object.assign({},h)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const m=t.events[n[2]],d=t.events[n[3]];if(m[1].end=Object.assign({},d[1].end),m[1].type="chunkText",m[1].contentType="text",n[3]>n[2]+1){const A=n[2]+1,_=n[3]-n[2]-1;e.add(A,_,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return u!==void 0&&(i.end=Object.assign({},mt(t.events,u)),e.add(u,0,[["exit",i,t]]),i=void 0),i}function Fu(e,t,n,r,u){const i=[],a=mt(t.events,n);u&&(u.end=Object.assign({},a),i.push(["exit",u,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function mt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Lf={name:"tasklistCheck",tokenize:Rf};function Of(){return{text:{91:Lf}}}function Rf(e,t,n){const r=this;return u;function u(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return ee(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return Y(l)?t(l):K(l)?e.check({tokenize:Pf},t,n)(l):n(l)}}function Pf(e,t,n){return $(e,r,"whitespace");function r(u){return u===null?n(u):t(u)}}function wf(e){return bi([af(),Ef(),xf(e),Sf(),Of()])}const Bf={};function Mf(e){const t=this,n=e||Bf,r=t.data(),u=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);u.push(wf(n)),i.push(tf()),a.push(nf(n))}const vf=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Lu={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function aa(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function Hf(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Uf(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Ou(e){return Uf(e)||aa(e)}const zf=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function Sr(e,t){const n=t||{},r=typeof n.additional=="string"?n.additional.charCodeAt(0):n.additional,u=[];let i=0,a=-1,o="",l,c;n.position&&("start"in n.position||"indent"in n.position?(c=n.position.indent,l=n.position.start):l=n.position);let h=(l?l.line:0)||1,f=(l?l.column:0)||1,m=A(),d;for(i--;++i<=e.length;)if(d===10&&(f=(c?c[a]:0)||1),d=e.charCodeAt(i),d===38){const x=e.charCodeAt(i+1);if(x===9||x===10||x===12||x===32||x===38||x===60||Number.isNaN(x)||r&&x===r){o+=String.fromCharCode(d),f++;continue}const F=i+1;let L=F,z=F,q;if(x===35){z=++L;const B=e.charCodeAt(z);B===88||B===120?(q="hexadecimal",z=++L):q="decimal"}else q="named";let k="",j="",V="";const O=q==="named"?Ou:q==="decimal"?aa:Hf;for(z--;++z<=e.length;){const B=e.charCodeAt(z);if(!O(B))break;V+=String.fromCharCode(B),q==="named"&&vf.includes(V)&&(k=V,j=qt(V))}let I=e.charCodeAt(z)===59;if(I){z++;const B=q==="named"?qt(V):!1;B&&(k=V,j=B)}let v=1+z-F,U="";if(!(!I&&n.nonTerminated===!1))if(!V)q!=="named"&&_(4,v);else if(q==="named"){if(I&&!j)_(5,1);else if(k!==V&&(z=L+k.length,v=1+z-L,I=!1),!I){const B=k?1:3;if(n.attribute){const H=e.charCodeAt(z);H===61?(_(B,v),j=""):Ou(H)?j="":_(B,v)}else _(B,v)}U=j}else{I||_(2,v);let B=Number.parseInt(V,q==="hexadecimal"?16:10);if(Yf(B))_(7,v),U="�";else if(B in Lu)_(6,v),U=Lu[B];else{let H="";qf(B)&&_(6,v),B>65535&&(B-=65536,H+=String.fromCharCode(B>>>10|55296),B=56320|B&1023),U=H+String.fromCharCode(B)}}if(U){S(),m=A(),i=z-1,f+=z-F+1,u.push(U);const B=A();B.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,U,{start:m,end:B},e.slice(F-1,z)),m=B}else V=e.slice(F-1,z),o+=V,f+=V.length,i=z-1}else d===10&&(h++,a++,f=0),Number.isNaN(d)?S():(o+=String.fromCharCode(d),f++);return u.join("");function A(){return{line:h,column:f,offset:i+((l?l.offset:0)||0)}}function _(x,F){let L;n.warning&&(L=A(),L.column+=F,L.offset+=F,n.warning.call(n.warningContext||void 0,zf[x],L,x))}function S(){o&&(u.push(o),n.text&&n.text.call(n.textContext||void 0,o,{start:m,end:A()}),o="")}}function Yf(e){return e>=55296&&e<=57343||e>1114111}function qf(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}const jf=/["&'<>`]/g,Vf=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wf=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Qf=/[|\\{}()[\]^$+*?.]/g,Ru=new WeakMap;function Gf(e,t){if(e=e.replace(t.subset?$f(t.subset):jf,r),t.subset||t.escapeOnly)return e;return e.replace(Vf,n).replace(Wf,r);function n(u,i,a){return t.format((u.charCodeAt(0)-55296)*1024+u.charCodeAt(1)-56320+65536,a.charCodeAt(i+2),t)}function r(u,i,a){return t.format(u.charCodeAt(0),a.charCodeAt(i+1),t)}}function $f(e){let t=Ru.get(e);return t||(t=Xf(e),Ru.set(e,t)),t}function Xf(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Qf,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function Kf(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Jf(e,t){return Gf(e,Object.assign({format:Kf},t))}const Zf={}.hasOwnProperty,Pu=/^[^\t\n\r "#'.<=>`}]+$/;on.peek=sh;function eh(){return{canContainEols:["textDirective"],enter:{directiveContainer:nh,directiveContainerAttributes:jn,directiveContainerLabel:ih,directiveLeaf:rh,directiveLeafAttributes:jn,directiveText:uh,directiveTextAttributes:jn},exit:{directiveContainer:Xn,directiveContainerAttributeClassValue:Wn,directiveContainerAttributeIdValue:Vn,directiveContainerAttributeName:Gn,directiveContainerAttributeValue:Qn,directiveContainerAttributes:$n,directiveContainerLabel:ah,directiveContainerName:qn,directiveLeaf:Xn,directiveLeafAttributeClassValue:Wn,directiveLeafAttributeIdValue:Vn,directiveLeafAttributeName:Gn,directiveLeafAttributeValue:Qn,directiveLeafAttributes:$n,directiveLeafName:qn,directiveText:Xn,directiveTextAttributeClassValue:Wn,directiveTextAttributeIdValue:Vn,directiveTextAttributeName:Gn,directiveTextAttributeValue:Qn,directiveTextAttributes:$n,directiveTextName:qn}}}function th(){return{unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
|
|
40
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:a,tableCell:l,tableRow:o}};function a(d,g,_,S){return c(h(d,_,S),d.align)}function o(d,g,_,S){const x=f(d,_,S),L=c([x]);return L.slice(0,L.indexOf(`
|
|
41
|
+
`))}function l(d,g,_,S){const x=_.enter("tableCell"),L=_.enter("phrasing"),R=_.containerPhrasing(d,{...S,before:i,after:i});return L(),x(),R}function c(d,g){return Y0(d,{align:g,alignDelimiters:r,padding:n,stringLength:u})}function h(d,g,_){const S=d.children;let x=-1;const L=[],R=g.enter("table");for(;++x<S.length;)L[x]=f(S[x],g,_);return R(),L}function f(d,g,_){const S=d.children;let x=-1;const L=[],R=g.enter("tableRow");for(;++x<S.length;)L[x]=l(S[x],d,g,_);return R(),L}function p(d,g,_){let S=Ir.inlineCode(d,g,_);return _.stack.includes("tableCell")&&(S=S.replace(/\|/g,"\\$&")),S}}function K0(){return{exit:{taskListCheckValueChecked:yu,taskListCheckValueUnchecked:yu,paragraph:Z0}}}function J0(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:ef}}}function yu(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Z0(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const u=t.children;let i=-1,a;for(;++i<u.length;){const o=u[i];if(o.type==="paragraph"){a=o;break}}a===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function ef(e,t,n,r){const u=e.children[0],i=typeof e.checked=="boolean"&&u&&u.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);i&&o.move(a);let l=Ir.listItem(e,t,n,{...r,...o.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(h){return h+a}}function tf(){return[c0(),D0(),B0(),j0(),K0()]}function nf(e){return{extensions:[f0(),_0(),M0(),X0(e),J0()]}}const rf={tokenize:cf,partial:!0},Ji={tokenize:ff,partial:!0},Zi={tokenize:hf,partial:!0},ea={tokenize:df,partial:!0},uf={tokenize:mf,partial:!0},ta={name:"wwwAutolink",tokenize:of,previous:ra},na={name:"protocolAutolink",tokenize:lf,previous:ua},Qe={name:"emailAutolink",tokenize:sf,previous:ia},He={};function af(){return{text:He}}let ut=48;for(;ut<123;)He[ut]=Qe,ut++,ut===58?ut=65:ut===91&&(ut=97);He[43]=Qe;He[45]=Qe;He[46]=Qe;He[95]=Qe;He[72]=[Qe,na];He[104]=[Qe,na];He[87]=[Qe,ta];He[119]=[Qe,ta];function sf(e,t,n){const r=this;let u,i;return a;function a(f){return!lr(f)||!ia.call(r,r.previous)||kr(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return lr(f)?(e.consume(f),o):f===64?(e.consume(f),l):n(f)}function l(f){return f===46?e.check(uf,h,c)(f):f===45||f===95||pe(f)?(i=!0,e.consume(f),l):h(f)}function c(f){return e.consume(f),u=!0,l}function h(f){return i&&u&&Ee(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function of(e,t,n){const r=this;return u;function u(a){return a!==87&&a!==119||!ra.call(r,r.previous)||kr(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(rf,e.attempt(Ji,e.attempt(Zi,i),n),n)(a))}function i(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function lf(e,t,n){const r=this;let u="",i=!1;return a;function a(f){return(f===72||f===104)&&ua.call(r,r.previous)&&!kr(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),u+=String.fromCodePoint(f),e.consume(f),o):n(f)}function o(f){if(Ee(f)&&u.length<5)return u+=String.fromCodePoint(f),e.consume(f),o;if(f===58){const p=u.toLowerCase();if(p==="http"||p==="https")return e.consume(f),l}return n(f)}function l(f){return f===47?(e.consume(f),i?c:(i=!0,l)):n(f)}function c(f){return f===null||fn(f)||te(f)||st(f)||bn(f)?n(f):e.attempt(Ji,e.attempt(Zi,h),n)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function cf(e,t,n){let r=0;return u;function u(a){return(a===87||a===119)&&r<3?(r++,e.consume(a),u):a===46&&r===3?(e.consume(a),i):n(a)}function i(a){return a===null?n(a):t(a)}}function ff(e,t,n){let r,u,i;return a;function a(c){return c===46||c===95?e.check(ea,l,o)(c):c===null||te(c)||st(c)||c!==45&&bn(c)?l(c):(i=!0,e.consume(c),a)}function o(c){return c===95?r=!0:(u=r,r=void 0),e.consume(c),a}function l(c){return u||r||!i?n(c):t(c)}}function hf(e,t){let n=0,r=0;return u;function u(a){return a===40?(n++,e.consume(a),u):a===41&&r<n?i(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?e.check(ea,t,i)(a):a===null||te(a)||st(a)?t(a):(e.consume(a),u)}function i(a){return a===41&&r++,e.consume(a),u}}function df(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),i):o===93?(e.consume(o),u):o===60||o===null||te(o)||st(o)?t(o):n(o)}function u(o){return o===null||o===40||o===91||te(o)||st(o)?t(o):r(o)}function i(o){return Ee(o)?a(o):n(o)}function a(o){return o===59?(e.consume(o),r):Ee(o)?(e.consume(o),a):n(o)}}function mf(e,t,n){return r;function r(i){return e.consume(i),u}function u(i){return pe(i)?n(i):t(i)}}function ra(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||te(e)}function ua(e){return!Ee(e)}function ia(e){return!(e===47||lr(e))}function lr(e){return e===43||e===45||e===46||e===95||pe(e)}function kr(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const pf={tokenize:_f,partial:!0};function Ef(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Af,continuation:{tokenize:Cf},exit:Df}},text:{91:{name:"gfmFootnoteCall",tokenize:gf},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Tf,resolveTo:bf}}}}function Tf(e,t,n){const r=this;let u=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;u--;){const l=r.events[u][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=Re(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!i.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function bf(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};u.end.column++,u.end.offset++,u.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},u.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",u,t],["exit",u,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function gf(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,a;return o;function o(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),l}function l(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(i>999||f===93&&!a||f===null||f===91||te(f))return n(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return u.includes(Re(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return te(f)||(a=!0),i++,e.consume(f),f===92?h:c}function h(f){return f===91||f===92||f===93?(e.consume(f),i++,c):c(f)}}function Af(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0,o;return l;function l(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(g)}function h(g){if(a>999||g===93&&!o||g===null||g===91||te(g))return n(g);if(g===93){e.exit("chunkString");const _=e.exit("gfmFootnoteDefinitionLabelString");return i=Re(r.sliceSerialize(_)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return te(g)||(o=!0),a++,e.consume(g),g===92?f:h}function f(g){return g===91||g===92||g===93?(e.consume(g),a++,h):h(g)}function p(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),u.includes(i)||u.push(i),X(e,d,"gfmFootnoteDefinitionWhitespace")):n(g)}function d(g){return t(g)}}function Cf(e,t,n){return e.check(Wt,t,e.attempt(pf,t,n))}function Df(e){e.exit("gfmFootnoteDefinition")}function _f(e,t,n){const r=this;return X(e,u,"gfmFootnoteDefinitionIndent",5);function u(i){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(i):n(i)}}function xf(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:i,resolveAll:u};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function u(a,o){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},f={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},p=[["enter",h,o],["enter",a[c][1],o],["exit",a[c][1],o],["enter",f,o]],d=o.parser.constructs.insideSpan.null;d&&Ne(p,p.length,0,gn(d,a.slice(c+1,l),o)),Ne(p,p.length,0,[["exit",f,o],["enter",a[l][1],o],["exit",a[l][1],o],["exit",h,o]]),Ne(a,c-1,l-c+3,p),l=c+p.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function i(a,o,l){const c=this.previous,h=this.events;let f=0;return p;function p(g){return c===126&&h[h.length-1][1].type!=="characterEscape"?l(g):(a.enter("strikethroughSequenceTemporary"),d(g))}function d(g){const _=Et(c);if(g===126)return f>1?l(g):(a.consume(g),f++,d);if(f<2&&!n)return l(g);const S=a.exit("strikethroughSequenceTemporary"),x=Et(g);return S._open=!x||x===2&&!!_,S._close=!_||_===2&&!!x,o(g)}}}class If{constructor(){this.map=[]}add(t,n,r){Nf(this,t,n,r)}consume(t){if(this.map.sort(function(i,a){return i[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let u=r.pop();for(;u;)t.push(...u),u=r.pop();this.map.length=0}}function Nf(e,t,n,r){let u=0;if(!(n===0&&r.length===0)){for(;u<e.map.length;){if(e.map[u][0]===t){e.map[u][1]+=n,e.map[u][2].push(...r);return}u+=1}e.map.push([t,n,r])}}function kf(e,t){let n=!1;const r=[];for(;t<e.length;){const u=e[t];if(n){if(u[0]==="enter")u[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(u[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=r.length-1;r[i]=r[i]==="left"?"center":"right"}}else if(u[1].type==="tableDelimiterRow")break}else u[0]==="enter"&&u[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function Sf(){return{flow:{null:{name:"table",tokenize:yf,resolveAll:Ff}}}}function yf(e,t,n){const r=this;let u=0,i=0,a;return o;function o(I){let H=r.events.length-1;for(;H>-1;){const z=r.events[H][1].type;if(z==="lineEnding"||z==="linePrefix")H--;else break}const U=H>-1?r.events[H][1].type:null,M=U==="tableHead"||U==="tableRow"?k:l;return M===k&&r.parser.lazy[r.now().line]?n(I):M(I)}function l(I){return e.enter("tableHead"),e.enter("tableRow"),c(I)}function c(I){return I===124||(a=!0,i+=1),h(I)}function h(I){return I===null?n(I):q(I)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),d):n(I):J(I)?X(e,h,"whitespace")(I):(i+=1,a&&(a=!1,u+=1),I===124?(e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),a=!0,h):(e.enter("data"),f(I)))}function f(I){return I===null||I===124||te(I)?(e.exit("data"),h(I)):(e.consume(I),I===92?p:f)}function p(I){return I===92||I===124?(e.consume(I),f):f(I)}function d(I){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(I):(e.enter("tableDelimiterRow"),a=!1,J(I)?X(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(I):g(I))}function g(I){return I===45||I===58?S(I):I===124?(a=!0,e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),_):j(I)}function _(I){return J(I)?X(e,S,"whitespace")(I):S(I)}function S(I){return I===58?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(I),e.exit("tableDelimiterMarker"),x):I===45?(i+=1,x(I)):I===null||q(I)?Y(I):j(I)}function x(I){return I===45?(e.enter("tableDelimiterFiller"),L(I)):j(I)}function L(I){return I===45?(e.consume(I),L):I===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(I),e.exit("tableDelimiterMarker"),R):(e.exit("tableDelimiterFiller"),R(I))}function R(I){return J(I)?X(e,Y,"whitespace")(I):Y(I)}function Y(I){return I===124?g(I):I===null||q(I)?!a||u!==i?j(I):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(I)):j(I)}function j(I){return n(I)}function k(I){return e.enter("tableRow"),V(I)}function V(I){return I===124?(e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),V):I===null||q(I)?(e.exit("tableRow"),t(I)):J(I)?X(e,V,"whitespace")(I):(e.enter("data"),W(I))}function W(I){return I===null||I===124||te(I)?(e.exit("data"),V(I)):(e.consume(I),I===92?O:W)}function O(I){return I===92||I===124?(e.consume(I),W):W(I)}}function Ff(e,t){let n=-1,r=!0,u=0,i=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,h,f;const p=new If;for(;++n<e.length;){const d=e[n],g=d[1];d[0]==="enter"?g.type==="tableHead"?(o=!1,l!==0&&(Fu(p,t,l,c,h),h=void 0,l=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(n,0,[["enter",c,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,f=void 0,i=[0,0,0,0],a=[0,n+1,0,0],o&&(o=!1,h={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(n,0,[["enter",h,t]])),u=g.type==="tableDelimiterRow"?2:h?3:1):u&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(i[1]!==0&&(a[0]=a[1],f=tn(p,t,i,u,void 0,f),i=[0,0,0,0]),a[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(a[0]=a[1],f=tn(p,t,i,u,void 0,f)),i=a,a=[i[1],n,0,0])):g.type==="tableHead"?(o=!0,l=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=n,i[1]!==0?(a[0]=a[1],f=tn(p,t,i,u,n,f)):a[1]!==0&&(f=tn(p,t,a,u,n,f)),u=0):u&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&Fu(p,t,l,c,h),p.consume(t.events),n=-1;++n<t.events.length;){const d=t.events[n];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=kf(t.events,n))}return e}function tn(e,t,n,r,u,i){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(i.end=Object.assign({},dt(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=dt(t.events,n[1]);if(i={type:a,start:Object.assign({},l),end:Object.assign({},l)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const c=dt(t.events,n[2]),h=dt(t.events,n[3]),f={type:o,start:Object.assign({},c),end:Object.assign({},h)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const p=t.events[n[2]],d=t.events[n[3]];if(p[1].end=Object.assign({},d[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){const g=n[2]+1,_=n[3]-n[2]-1;e.add(g,_,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return u!==void 0&&(i.end=Object.assign({},dt(t.events,u)),e.add(u,0,[["exit",i,t]]),i=void 0),i}function Fu(e,t,n,r,u){const i=[],a=dt(t.events,n);u&&(u.end=Object.assign({},a),i.push(["exit",u,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function dt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Lf={name:"tasklistCheck",tokenize:Rf};function Of(){return{text:{91:Lf}}}function Rf(e,t,n){const r=this;return u;function u(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return te(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return q(l)?t(l):J(l)?e.check({tokenize:Pf},t,n)(l):n(l)}}function Pf(e,t,n){return X(e,r,"whitespace");function r(u){return u===null?n(u):t(u)}}function wf(e){return bi([af(),Ef(),xf(e),Sf(),Of()])}const Bf={};function Mf(e){const t=this,n=e||Bf,r=t.data(),u=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);u.push(wf(n)),i.push(tf()),a.push(nf(n))}const vf=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Lu={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function aa(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function Hf(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Uf(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Ou(e){return Uf(e)||aa(e)}const zf=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function Sr(e,t){const n=t||{},r=typeof n.additional=="string"?n.additional.charCodeAt(0):n.additional,u=[];let i=0,a=-1,o="",l,c;n.position&&("start"in n.position||"indent"in n.position?(c=n.position.indent,l=n.position.start):l=n.position);let h=(l?l.line:0)||1,f=(l?l.column:0)||1,p=g(),d;for(i--;++i<=e.length;)if(d===10&&(f=(c?c[a]:0)||1),d=e.charCodeAt(i),d===38){const x=e.charCodeAt(i+1);if(x===9||x===10||x===12||x===32||x===38||x===60||Number.isNaN(x)||r&&x===r){o+=String.fromCharCode(d),f++;continue}const L=i+1;let R=L,Y=L,j;if(x===35){Y=++R;const M=e.charCodeAt(Y);M===88||M===120?(j="hexadecimal",Y=++R):j="decimal"}else j="named";let k="",V="",W="";const O=j==="named"?Ou:j==="decimal"?aa:Hf;for(Y--;++Y<=e.length;){const M=e.charCodeAt(Y);if(!O(M))break;W+=String.fromCharCode(M),j==="named"&&vf.includes(W)&&(k=W,V=Yt(W))}let I=e.charCodeAt(Y)===59;if(I){Y++;const M=j==="named"?Yt(W):!1;M&&(k=W,V=M)}let H=1+Y-L,U="";if(!(!I&&n.nonTerminated===!1))if(!W)j!=="named"&&_(4,H);else if(j==="named"){if(I&&!V)_(5,1);else if(k!==W&&(Y=R+k.length,H=1+Y-R,I=!1),!I){const M=k?1:3;if(n.attribute){const z=e.charCodeAt(Y);z===61?(_(M,H),V=""):Ou(z)?V="":_(M,H)}else _(M,H)}U=V}else{I||_(2,H);let M=Number.parseInt(W,j==="hexadecimal"?16:10);if(Yf(M))_(7,H),U="�";else if(M in Lu)_(6,H),U=Lu[M];else{let z="";qf(M)&&_(6,H),M>65535&&(M-=65536,z+=String.fromCharCode(M>>>10|55296),M=56320|M&1023),U=z+String.fromCharCode(M)}}if(U){S(),p=g(),i=Y-1,f+=Y-L+1,u.push(U);const M=g();M.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,U,{start:p,end:M},e.slice(L-1,Y)),p=M}else W=e.slice(L-1,Y),o+=W,f+=W.length,i=Y-1}else d===10&&(h++,a++,f=0),Number.isNaN(d)?S():(o+=String.fromCharCode(d),f++);return u.join("");function g(){return{line:h,column:f,offset:i+((l?l.offset:0)||0)}}function _(x,L){let R;n.warning&&(R=g(),R.column+=L,R.offset+=L,n.warning.call(n.warningContext||void 0,zf[x],R,x))}function S(){o&&(u.push(o),n.text&&n.text.call(n.textContext||void 0,o,{start:p,end:g()}),o="")}}function Yf(e){return e>=55296&&e<=57343||e>1114111}function qf(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}const jf=/["&'<>`]/g,Vf=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wf=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Qf=/[|\\{}()[\]^$+*?.]/g,Ru=new WeakMap;function Gf(e,t){if(e=e.replace(t.subset?$f(t.subset):jf,r),t.subset||t.escapeOnly)return e;return e.replace(Vf,n).replace(Wf,r);function n(u,i,a){return t.format((u.charCodeAt(0)-55296)*1024+u.charCodeAt(1)-56320+65536,a.charCodeAt(i+2),t)}function r(u,i,a){return t.format(u.charCodeAt(0),a.charCodeAt(i+1),t)}}function $f(e){let t=Ru.get(e);return t||(t=Xf(e),Ru.set(e,t)),t}function Xf(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Qf,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function Kf(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Jf(e,t){return Gf(e,Object.assign({format:Kf},t))}const Zf={}.hasOwnProperty,Pu=/^[^\t\n\r "#'.<=>`}]+$/;on.peek=sh;function eh(){return{canContainEols:["textDirective"],enter:{directiveContainer:nh,directiveContainerAttributes:jn,directiveContainerLabel:ih,directiveLeaf:rh,directiveLeafAttributes:jn,directiveText:uh,directiveTextAttributes:jn},exit:{directiveContainer:Xn,directiveContainerAttributeClassValue:Wn,directiveContainerAttributeIdValue:Vn,directiveContainerAttributeName:Gn,directiveContainerAttributeValue:Qn,directiveContainerAttributes:$n,directiveContainerLabel:ah,directiveContainerName:qn,directiveLeaf:Xn,directiveLeafAttributeClassValue:Wn,directiveLeafAttributeIdValue:Vn,directiveLeafAttributeName:Gn,directiveLeafAttributeValue:Qn,directiveLeafAttributes:$n,directiveLeafName:qn,directiveText:Xn,directiveTextAttributeClassValue:Wn,directiveTextAttributeIdValue:Vn,directiveTextAttributeName:Gn,directiveTextAttributeValue:Qn,directiveTextAttributes:$n,directiveTextName:qn}}}function th(){return{unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
|
|
58
42
|
`,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:on,leafDirective:on,textDirective:on}}}function nh(e){yr.call(this,"containerDirective",e)}function rh(e){yr.call(this,"leafDirective",e)}function uh(e){yr.call(this,"textDirective",e)}function yr(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function qn(e){const t=this.stack[this.stack.length-1];t.type==="containerDirective"||t.type==="leafDirective"||t.type,t.name=this.sliceSerialize(e)}function ih(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)}function ah(e){this.exit(e)}function jn(){this.data.directiveAttributes=[],this.buffer()}function Vn(e){this.data.directiveAttributes.push(["id",Sr(this.sliceSerialize(e),{attribute:!0})])}function Wn(e){this.data.directiveAttributes.push(["class",Sr(this.sliceSerialize(e),{attribute:!0})])}function Qn(e){const t=this.data.directiveAttributes;t[t.length-1][1]=Sr(this.sliceSerialize(e),{attribute:!0})}function Gn(e){this.data.directiveAttributes.push([this.sliceSerialize(e),""])}function $n(){const e=this.data.directiveAttributes,t={};let n=-1;for(;++n<e.length;){const u=e[n];u[0]==="class"&&t.class?t.class+=" "+u[1]:t[u[0]]=u[1]}this.data.directiveAttributes=void 0,this.resume();const r=this.stack[this.stack.length-1];r.type==="containerDirective"||r.type==="leafDirective"||r.type,r.attributes=t}function Xn(e){this.exit(e)}function on(e,t,n,r){const u=n.createTracker(r),i=lh(e),a=n.enter(e.type);let o=u.move(i+(e.name||"")),l;if(e.type==="containerDirective"){const c=(e.children||[])[0];l=wu(c)?c:void 0}else l=e;if(l&&l.children&&l.children.length>0){const c=n.enter("label"),h=`${e.type}Label`,f=n.enter(h);o+=u.move("["),o+=u.move(n.containerPhrasing(l,{...u.current(),before:o,after:"]"})),o+=u.move("]"),f(),c()}if(o+=u.move(oh(e,n)),e.type==="containerDirective"){const c=(e.children||[])[0];let h=e;wu(c)&&(h=Object.assign({},e,{children:e.children.slice(1)})),h&&h.children&&h.children.length>0&&(o+=u.move(`
|
|
59
43
|
`),o+=u.move(n.containerFlow(h,u.current()))),o+=u.move(`
|
|
60
44
|
`+i)}return a(),o}function sh(){return":"}function oh(e,t){const n=t.options.quote||'"',r=e.type==="textDirective"?[n]:[n,`
|
|
61
|
-
`,"\r"],u=e.attributes||{},i=[];let a,o,l,c;for(c in u)if(Zf.call(u,c)&&u[c]!==void 0&&u[c]!==null){const f=String(u[c]);if(c==="id")l=Pu.test(f)?"#"+f:h("id",f);else if(c==="class"){const
|
|
45
|
+
`,"\r"],u=e.attributes||{},i=[];let a,o,l,c;for(c in u)if(Zf.call(u,c)&&u[c]!==void 0&&u[c]!==null){const f=String(u[c]);if(c==="id")l=Pu.test(f)?"#"+f:h("id",f);else if(c==="class"){const p=f.split(/[\t\n\r ]+/g),d=[],g=[];let _=-1;for(;++_<p.length;)(Pu.test(p[_])?g:d).push(p[_]);a=d.length>0?h("class",d.join(" ")):"",o=g.length>0?"."+g.join("."):""}else i.push(h(c,f))}return a&&i.unshift(a),o&&i.unshift(o),l&&i.unshift(l),i.length>0?"{"+i.join(" ")+"}":"";function h(f,p){return f+(p?"="+n+Jf(p,{subset:r})+n:"")}}function wu(e){return!!(e&&e.type==="paragraph"&&e.data&&e.data.directiveLabel)}function lh(e){let t=0;return e.type==="containerDirective"?(_r(e,function(n,r){if(n.type==="containerDirective"){let u=r.length,i=0;for(;u--;)r[u].type==="containerDirective"&&i++;i>t&&(t=i)}}),t+=3):e.type==="leafDirective"?t=2:t=1,":".repeat(t)}function Fr(e,t,n,r,u,i,a,o,l,c,h,f,p,d,g){let _,S;return x;function x(C){return e.enter(r),e.enter(u),e.consume(C),e.exit(u),L}function L(C){return C===35?(_=a,R(C)):C===46?(_=o,R(C)):C===58||C===95||Ee(C)?(e.enter(i),e.enter(l),e.consume(C),k):g&&J(C)?X(e,L,"whitespace")(C):!g&&te(C)?Ve(e,L)(C):z(C)}function R(C){const K=_+"Marker";return e.enter(i),e.enter(_),e.enter(K),e.consume(C),e.exit(K),Y}function Y(C){if(C===null||C===34||C===35||C===39||C===46||C===60||C===61||C===62||C===96||C===125||te(C))return n(C);const K=_+"Value";return e.enter(K),e.consume(C),j}function j(C){if(C===null||C===34||C===39||C===60||C===61||C===62||C===96)return n(C);if(C===35||C===46||C===125||te(C)){const K=_+"Value";return e.exit(K),e.exit(_),e.exit(i),L(C)}return e.consume(C),j}function k(C){return C===45||C===46||C===58||C===95||pe(C)?(e.consume(C),k):(e.exit(l),g&&J(C)?X(e,V,"whitespace")(C):!g&&te(C)?Ve(e,V)(C):V(C))}function V(C){return C===61?(e.enter(c),e.consume(C),e.exit(c),W):(e.exit(i),L(C))}function W(C){return C===null||C===60||C===61||C===62||C===96||C===125||g&&q(C)?n(C):C===34||C===39?(e.enter(h),e.enter(p),e.consume(C),e.exit(p),S=C,I):g&&J(C)?X(e,W,"whitespace")(C):!g&&te(C)?Ve(e,W)(C):(e.enter(f),e.enter(d),e.consume(C),S=void 0,O)}function O(C){return C===null||C===34||C===39||C===60||C===61||C===62||C===96?n(C):C===125||te(C)?(e.exit(d),e.exit(f),e.exit(i),L(C)):(e.consume(C),O)}function I(C){return C===S?(e.enter(p),e.consume(C),e.exit(p),e.exit(h),e.exit(i),M):(e.enter(f),H(C))}function H(C){return C===S?(e.exit(f),I(C)):C===null?n(C):q(C)?g?n(C):Ve(e,H)(C):(e.enter(d),e.consume(C),U)}function U(C){return C===S||C===null||q(C)?(e.exit(d),H(C)):(e.consume(C),U)}function M(C){return C===125||te(C)?L(C):z(C)}function z(C){return C===125?(e.enter(u),e.consume(C),e.exit(u),e.exit(r),t):n(C)}}function Lr(e,t,n,r,u,i,a){let o=0,l=0,c;return h;function h(S){return e.enter(r),e.enter(u),e.consume(S),e.exit(u),f}function f(S){return S===93?(e.enter(u),e.consume(S),e.exit(u),e.exit(r),t):(e.enter(i),p(S))}function p(S){if(S===93&&!l)return _(S);const x=e.enter("chunkText",{contentType:"text",previous:c});return c&&(c.next=x),c=x,d(S)}function d(S){return S===null||o>999||S===91&&++l>32?n(S):S===93&&!l--?(e.exit("chunkText"),_(S)):q(S)?a?n(S):(e.consume(S),e.exit("chunkText"),p):(e.consume(S),S===92?g:d)}function g(S){return S===91||S===92||S===93?(e.consume(S),o++,d):d(S)}function _(S){return e.exit(i),e.enter(u),e.consume(S),e.exit(u),e.exit(r),t}}function Or(e,t,n,r){const u=this;return i;function i(o){return Ee(o)?(e.enter(r),e.consume(o),a):n(o)}function a(o){return o===45||o===95||pe(o)?(e.consume(o),a):(e.exit(r),u.previous===45||u.previous===95?n(o):t(o))}}const ch={tokenize:dh,concrete:!0},fh={tokenize:mh,partial:!0},hh={tokenize:ph,partial:!0},nn={tokenize:Eh,partial:!0};function dh(e,t,n){const r=this,u=r.events[r.events.length-1],i=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0;let a=0,o;return l;function l(O){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),c(O)}function c(O){return O===58?(e.consume(O),a++,c):a<3?n(O):(e.exit("directiveContainerSequence"),Or.call(r,e,h,n,"directiveContainerName")(O))}function h(O){return O===91?e.attempt(fh,f,f)(O):f(O)}function f(O){return O===123?e.attempt(hh,p,p)(O):p(O)}function p(O){return X(e,d,"whitespace")(O)}function d(O){return e.exit("directiveContainerFence"),O===null?V(O):q(O)?r.interrupt?t(O):e.attempt(nn,g,V)(O):n(O)}function g(O){return O===null?V(O):q(O)?e.check(nn,R,V)(O):(e.enter("directiveContainerContent"),_(O))}function _(O){return e.attempt({tokenize:W,partial:!0},k,i?X(e,S,"linePrefix",i+1):S)(O)}function S(O){return O===null?k(O):q(O)?e.check(nn,L,k)(O):L(O)}function x(O){if(O===null){const I=e.exit("chunkDocument");return r.parser.lazy[I.start.line]=!1,k(O)}return q(O)?e.check(nn,Y,j)(O):(e.consume(O),x)}function L(O){const I=e.enter("chunkDocument",{contentType:"document",previous:o});return o&&(o.next=I),o=I,x(O)}function R(O){return e.enter("directiveContainerContent"),_(O)}function Y(O){e.consume(O);const I=e.exit("chunkDocument");return r.parser.lazy[I.start.line]=!1,_}function j(O){const I=e.exit("chunkDocument");return r.parser.lazy[I.start.line]=!1,k(O)}function k(O){return e.exit("directiveContainerContent"),V(O)}function V(O){return e.exit("directiveContainer"),t(O)}function W(O,I,H){let U=0;return X(O,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function M(K){return O.enter("directiveContainerFence"),O.enter("directiveContainerSequence"),z(K)}function z(K){return K===58?(O.consume(K),U++,z):U<a?H(K):(O.exit("directiveContainerSequence"),X(O,C,"whitespace")(K))}function C(K){return K===null||q(K)?(O.exit("directiveContainerFence"),I(K)):H(K)}}}function mh(e,t,n){return Lr(e,t,n,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)}function ph(e,t,n){return Fr(e,t,n,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)}function Eh(e,t,n){const r=this;return u;function u(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const Th={tokenize:Ah},bh={tokenize:Ch,partial:!0},gh={tokenize:Dh,partial:!0};function Ah(e,t,n){const r=this;return u;function u(h){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(h),i}function i(h){return h===58?(e.consume(h),e.exit("directiveLeafSequence"),Or.call(r,e,a,n,"directiveLeafName")):n(h)}function a(h){return h===91?e.attempt(bh,o,o)(h):o(h)}function o(h){return h===123?e.attempt(gh,l,l)(h):l(h)}function l(h){return X(e,c,"whitespace")(h)}function c(h){return h===null||q(h)?(e.exit("directiveLeaf"),t(h)):n(h)}}function Ch(e,t,n){return Lr(e,t,n,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)}function Dh(e,t,n){return Fr(e,t,n,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)}const _h={tokenize:kh,previous:Nh},xh={tokenize:Sh,partial:!0},Ih={tokenize:yh,partial:!0};function Nh(e){return e!==58||this.events[this.events.length-1][1].type==="characterEscape"}function kh(e,t,n){const r=this;return u;function u(l){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(l),e.exit("directiveTextMarker"),Or.call(r,e,i,n,"directiveTextName")}function i(l){return l===58?n(l):l===91?e.attempt(xh,a,a)(l):a(l)}function a(l){return l===123?e.attempt(Ih,o,o)(l):o(l)}function o(l){return e.exit("directiveText"),t(l)}}function Sh(e,t,n){return Lr(e,t,n,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")}function yh(e,t,n){return Fr(e,t,n,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")}function Fh(){return{text:{58:_h},flow:{58:[ch,Th]}}}function Lh(){const t=this.data(),n=t.micromarkExtensions||(t.micromarkExtensions=[]),r=t.fromMarkdownExtensions||(t.fromMarkdownExtensions=[]),u=t.toMarkdownExtensions||(t.toMarkdownExtensions=[]);n.push(Fh()),r.push(eh()),u.push(th())}function Oh(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Rh(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
62
46
|
`}]}function Ph(e,t){const n=t.value?t.value+`
|
|
63
|
-
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let u={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(u.data={meta:t.meta}),e.patch(t,u),u=e.applyData(t,u),u={type:"element",tagName:"pre",properties:{},children:[u]},e.patch(t,u),u}function wh(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Bh(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Mh(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),u=
|
|
47
|
+
`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let u={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(u.data={meta:t.meta}),e.patch(t,u),u=e.applyData(t,u),u={type:"element",tagName:"pre",properties:{},children:[u]},e.patch(t,u),u}function wh(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Bh(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Mh(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),u=At(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,o=e.footnoteCounts.get(r);o===void 0?(o=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,o+=1,e.footnoteCounts.set(r,o);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+u,id:n+"fnref-"+u+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function vh(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Hh(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function sa(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const u=e.all(t),i=u[0];i&&i.type==="text"?i.value="["+i.value:u.unshift({type:"text",value:"["});const a=u[u.length-1];return a&&a.type==="text"?a.value+=r:u.push({type:"text",value:r}),u}function Uh(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return sa(e,t);const u={src:At(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(u.title=r.title);const i={type:"element",tagName:"img",properties:u,children:[]};return e.patch(t,i),e.applyData(t,i)}function zh(e,t){const n={src:At(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Yh(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function qh(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return sa(e,t);const u={href:At(r.url||"")};r.title!==null&&r.title!==void 0&&(u.title=r.title);const i={type:"element",tagName:"a",properties:u,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function jh(e,t){const n={href:At(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Vh(e,t,n){const r=e.all(t),u=n?Wh(n):oa(t),i={},a=[];if(typeof t.checked=="boolean"){const h=r[0];let f;h&&h.type==="element"&&h.tagName==="p"?f=h:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const h=r[o];(u||o!==0||h.type!=="element"||h.tagName!=="p")&&a.push({type:"text",value:`
|
|
64
48
|
`}),h.type==="element"&&h.tagName==="p"&&!u?a.push(...h.children):a.push(h)}const l=r[r.length-1];l&&(u||l.type!=="element"||l.tagName!=="p")&&a.push({type:"text",value:`
|
|
65
|
-
`});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)}function Wh(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=oa(n[r])}return t}function oa(e){const t=e.spread;return t??e.children.length>1}function Qh(e,t){const n={},r=e.all(t);let u=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++u<r.length;){const a=r[u];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function Gh(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $h(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Xh(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Dn=la("end"),Ue=la("start");function la(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Kh(e){const t=Ue(e),n=Dn(e);if(t&&n)return{start:t,end:n}}function Jh(e,t){const n=e.all(t),r=n.shift(),u=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),u.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Ue(t.children[1]),l=Dn(t.children[t.children.length-1]);o&&l&&(a.position={start:o,end:l}),u.push(a)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(u,!0)};return e.patch(t,i),e.applyData(t,i)}function Zh(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:t.children.length;let l=-1;const c=[];for(;++l<o;){const f=t.children[l],
|
|
49
|
+
`});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)}function Wh(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=oa(n[r])}return t}function oa(e){const t=e.spread;return t??e.children.length>1}function Qh(e,t){const n={},r=e.all(t);let u=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++u<r.length;){const a=r[u];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function Gh(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $h(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Xh(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Dn=la("end"),Ue=la("start");function la(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Kh(e){const t=Ue(e),n=Dn(e);if(t&&n)return{start:t,end:n}}function Jh(e,t){const n=e.all(t),r=n.shift(),u=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),u.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Ue(t.children[1]),l=Dn(t.children[t.children.length-1]);o&&l&&(a.position={start:o,end:l}),u.push(a)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(u,!0)};return e.patch(t,i),e.applyData(t,i)}function Zh(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:t.children.length;let l=-1;const c=[];for(;++l<o;){const f=t.children[l],p={},d=a?a[l]:void 0;d&&(p.align=d);let g={type:"element",tagName:i,properties:p,children:[]};f&&(g.children=e.all(f),e.patch(f,g),g=e.applyData(f,g)),c.push(g)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,h),e.applyData(t,h)}function ed(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Bu=9,Mu=32;function td(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),u=0;const i=[];for(;r;)i.push(vu(t.slice(u,r.index),u>0,!0),r[0]),u=r.index+r[0].length,r=n.exec(t);return i.push(vu(t.slice(u),u>0,!1)),i.join("")}function vu(e,t,n){let r=0,u=e.length;if(t){let i=e.codePointAt(r);for(;i===Bu||i===Mu;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(u-1);for(;i===Bu||i===Mu;)u--,i=e.codePointAt(u-1)}return u>r?e.slice(r,u):""}function nd(e,t){const n={type:"text",value:td(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function rd(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const ud={blockquote:Oh,break:Rh,code:Ph,delete:wh,emphasis:Bh,footnoteReference:Mh,heading:vh,html:Hh,imageReference:Uh,image:zh,inlineCode:Yh,linkReference:qh,link:jh,listItem:Vh,list:Qh,paragraph:Gh,root:$h,strong:Xh,table:Jh,tableCell:ed,tableRow:Zh,text:nd,thematicBreak:rd,toml:rn,yaml:rn,definition:rn,footnoteDefinition:rn};function rn(){}const ca=-1,_n=0,dn=1,mn=2,Rr=3,Pr=4,wr=5,Br=6,fa=7,ha=8,Hu=typeof self=="object"?self:globalThis,id=(e,t)=>{const n=(u,i)=>(e.set(i,u),u),r=u=>{if(e.has(u))return e.get(u);const[i,a]=t[u];switch(i){case _n:case ca:return n(a,u);case dn:{const o=n([],u);for(const l of a)o.push(r(l));return o}case mn:{const o=n({},u);for(const[l,c]of a)o[r(l)]=r(c);return o}case Rr:return n(new Date(a),u);case Pr:{const{source:o,flags:l}=a;return n(new RegExp(o,l),u)}case wr:{const o=n(new Map,u);for(const[l,c]of a)o.set(r(l),r(c));return o}case Br:{const o=n(new Set,u);for(const l of a)o.add(r(l));return o}case fa:{const{name:o,message:l}=a;return n(new Hu[o](l),u)}case ha:return n(BigInt(a),u);case"BigInt":return n(Object(BigInt(a)),u)}return n(new Hu[i](a),u)};return r},Uu=e=>id(new Map,e)(0),ft="",{toString:ad}={},{keys:sd}=Object,Ft=e=>{const t=typeof e;if(t!=="object"||!e)return[_n,t];const n=ad.call(e).slice(8,-1);switch(n){case"Array":return[dn,ft];case"Object":return[mn,ft];case"Date":return[Rr,ft];case"RegExp":return[Pr,ft];case"Map":return[wr,ft];case"Set":return[Br,ft]}return n.includes("Array")?[dn,n]:n.includes("Error")?[fa,n]:[mn,n]},un=([e,t])=>e===_n&&(t==="function"||t==="symbol"),od=(e,t,n,r)=>{const u=(a,o)=>{const l=r.push(a)-1;return n.set(o,l),l},i=a=>{if(n.has(a))return n.get(a);let[o,l]=Ft(a);switch(o){case _n:{let h=a;switch(l){case"bigint":o=ha,h=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);h=null;break;case"undefined":return u([ca],a)}return u([o,h],a)}case dn:{if(l)return u([l,[...a]],a);const h=[],f=u([o,h],a);for(const p of a)h.push(i(p));return f}case mn:{if(l)switch(l){case"BigInt":return u([l,a.toString()],a);case"Boolean":case"Number":case"String":return u([l,a.valueOf()],a)}if(t&&"toJSON"in a)return i(a.toJSON());const h=[],f=u([o,h],a);for(const p of sd(a))(e||!un(Ft(a[p])))&&h.push([i(p),i(a[p])]);return f}case Rr:return u([o,a.toISOString()],a);case Pr:{const{source:h,flags:f}=a;return u([o,{source:h,flags:f}],a)}case wr:{const h=[],f=u([o,h],a);for(const[p,d]of a)(e||!(un(Ft(p))||un(Ft(d))))&&h.push([i(p),i(d)]);return f}case Br:{const h=[],f=u([o,h],a);for(const p of a)(e||!un(Ft(p)))&&h.push(i(p));return f}}const{message:c}=a;return u([o,{name:l,message:c}],a)};return i},zu=(e,{json:t,lossy:n}={})=>{const r=[];return od(!(t||n),!!t,new Map,r)(e),r},We=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Uu(zu(e,t)):structuredClone(e):(e,t)=>Uu(zu(e,t));function ld(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 cd(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function fd(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||ld,r=e.options.footnoteBackLabel||cd,u=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[l]);if(!c)continue;const h=e.all(c),f=String(c.identifier).toUpperCase(),p=At(f.toLowerCase());let d=0;const g=[],_=e.footnoteCounts.get(f);for(;_!==void 0&&++d<=_;){g.length>0&&g.push({type:"text",value:" "});let L=typeof n=="string"?n:n(l,d);typeof L=="string"&&(L={type:"text",value:L}),g.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,d),className:["data-footnote-backref"]},children:Array.isArray(L)?L:[L]})}const S=h[h.length-1];if(S&&S.type==="element"&&S.tagName==="p"){const L=S.children[S.children.length-1];L&&L.type==="text"?L.value+=" ":S.children.push({type:"text",value:" "}),S.children.push(...g)}else h.push(...g);const x={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(h,!0)};e.patch(c,x),o.push(x)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...We(a),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
|
|
66
50
|
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
|
|
67
|
-
`}]}}const cr={}.hasOwnProperty,hd={};function dd(e,t){const n=t||hd,r=new Map,u=new Map,i=new Map,a={...ud,...n.handlers},o={all:c,applyData:pd,definitionById:r,footnoteById:u,footnoteCounts:i,footnoteOrder:[],handlers:a,one:l,options:n,patch:md,wrap:Td};return _e(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const f=h.type==="definition"?r:u,
|
|
51
|
+
`}]}}const cr={}.hasOwnProperty,hd={};function dd(e,t){const n=t||hd,r=new Map,u=new Map,i=new Map,a={...ud,...n.handlers},o={all:c,applyData:pd,definitionById:r,footnoteById:u,footnoteCounts:i,footnoteOrder:[],handlers:a,one:l,options:n,patch:md,wrap:Td};return _e(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const f=h.type==="definition"?r:u,p=String(h.identifier).toUpperCase();f.has(p)||f.set(p,h)}}),o;function l(h,f){const p=h.type,d=o.handlers[p];if(cr.call(o.handlers,p)&&d)return d(o,h,f);if(o.options.passThrough&&o.options.passThrough.includes(p)){if("children"in h){const{children:_,...S}=h,x=We(S);return x.children=o.all(h),x}return We(h)}return(o.options.unknownHandler||Ed)(o,h,f)}function c(h){const f=[];if("children"in h){const p=h.children;let d=-1;for(;++d<p.length;){const g=o.one(p[d],h);if(g){if(d&&p[d-1].type==="break"&&(!Array.isArray(g)&&g.type==="text"&&(g.value=Yu(g.value)),!Array.isArray(g)&&g.type==="element")){const _=g.children[0];_&&_.type==="text"&&(_.value=Yu(_.value))}Array.isArray(g)?f.push(...g):f.push(g)}}}return f}}function md(e,t){e.position&&(t.position=Kh(e))}function pd(e,t){let n=t;if(e&&e.data){const r=e.data.hName,u=e.data.hChildren,i=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const a="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:a}}n.type==="element"&&i&&Object.assign(n.properties,We(i)),"children"in n&&n.children&&u!==null&&u!==void 0&&(n.children=u)}return n}function Ed(e,t){const n=t.data||{},r="value"in t&&!(cr.call(n,"hProperties")||cr.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Td(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
68
52
|
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
69
53
|
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
70
54
|
`}),n}function Yu(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function qu(e,t){const n=dd(e,t),r=n.one(e,void 0),u=fd(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return u&&i.children.push({type:"text",value:`
|
|
71
|
-
`},u),i}function bd(e,t){return e&&"run"in e?async function(n,r){const u=qu(n,{file:r,...t});await e.run(u,r)}:function(n,r){return qu(n,{file:r,...e||t})}}function gd(e){Gi(e,[/\r?\n|\r/g,Ad])}function Ad(){return{type:"break"}}function Cd(){return function(e){gd(e)}}class $t{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}$t.prototype.property={};$t.prototype.normal={};$t.prototype.space=null;function da(e,t){const n={},r={};let u=-1;for(;++u<e.length;)Object.assign(n,e[u].property),Object.assign(r,e[u].normal);return new $t(n,r,t)}function jt(e){return e.toLowerCase()}class Le{constructor(t,n){this.property=t,this.attribute=n}}Le.prototype.space=null;Le.prototype.boolean=!1;Le.prototype.booleanish=!1;Le.prototype.overloadedBoolean=!1;Le.prototype.number=!1;Le.prototype.commaSeparated=!1;Le.prototype.spaceSeparated=!1;Le.prototype.commaOrSpaceSeparated=!1;Le.prototype.mustUseProperty=!1;Le.prototype.defined=!1;let Dd=0;const G=ot(),he=ot(),ma=ot(),w=ot(),ie=ot(),Et=ot(),Ne=ot();function ot(){return 2**++Dd}const fr=Object.freeze(Object.defineProperty({__proto__:null,boolean:G,booleanish:he,commaOrSpaceSeparated:Ne,commaSeparated:Et,number:w,overloadedBoolean:ma,spaceSeparated:ie},Symbol.toStringTag,{value:"Module"})),Kn=Object.keys(fr);class Mr extends Le{constructor(t,n,r,u){let i=-1;if(super(t,n),ju(this,"space",u),typeof r=="number")for(;++i<Kn.length;){const a=Kn[i];ju(this,Kn[i],(r&fr[a])===fr[a])}}}Mr.prototype.defined=!0;function ju(e,t,n){n&&(e[t]=n)}const _d={}.hasOwnProperty;function Dt(e){const t={},n={};let r;for(r in e.properties)if(_d.call(e.properties,r)){const u=e.properties[r],i=new Mr(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[jt(r)]=r,n[jt(i.attribute)]=r}return new $t(t,n,e.space)}const pa=Dt({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}}),Ea=Dt({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ta(e,t){return t in e?e[t]:t}function ba(e,t){return Ta(e,t.toLowerCase())}const ga=Dt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:ba,properties:{xmlns:null,xmlnsXLink:null}}),Aa=Dt({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:he,ariaAutoComplete:null,ariaBusy:he,ariaChecked:he,ariaColCount:w,ariaColIndex:w,ariaColSpan:w,ariaControls:ie,ariaCurrent:null,ariaDescribedBy:ie,ariaDetails:null,ariaDisabled:he,ariaDropEffect:ie,ariaErrorMessage:null,ariaExpanded:he,ariaFlowTo:ie,ariaGrabbed:he,ariaHasPopup:null,ariaHidden:he,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ie,ariaLevel:w,ariaLive:null,ariaModal:he,ariaMultiLine:he,ariaMultiSelectable:he,ariaOrientation:null,ariaOwns:ie,ariaPlaceholder:null,ariaPosInSet:w,ariaPressed:he,ariaReadOnly:he,ariaRelevant:null,ariaRequired:he,ariaRoleDescription:ie,ariaRowCount:w,ariaRowIndex:w,ariaRowSpan:w,ariaSelected:he,ariaSetSize:w,ariaSort:null,ariaValueMax:w,ariaValueMin:w,ariaValueNow:w,ariaValueText:null,role:null}}),xd=Dt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:ba,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Et,acceptCharset:ie,accessKey:ie,action:null,allow:null,allowFullScreen:G,allowPaymentRequest:G,allowUserMedia:G,alt:null,as:null,async:G,autoCapitalize:null,autoComplete:ie,autoFocus:G,autoPlay:G,blocking:ie,capture:null,charSet:null,checked:G,cite:null,className:ie,cols:w,colSpan:null,content:null,contentEditable:he,controls:G,controlsList:ie,coords:w|Et,crossOrigin:null,data:null,dateTime:null,decoding:null,default:G,defer:G,dir:null,dirName:null,disabled:G,download:ma,draggable:he,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:G,formTarget:null,headers:ie,height:w,hidden:G,high:w,href:null,hrefLang:null,htmlFor:ie,httpEquiv:ie,id:null,imageSizes:null,imageSrcSet:null,inert:G,inputMode:null,integrity:null,is:null,isMap:G,itemId:null,itemProp:ie,itemRef:ie,itemScope:G,itemType:ie,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:G,low:w,manifest:null,max:null,maxLength:w,media:null,method:null,min:null,minLength:w,multiple:G,muted:G,name:null,nonce:null,noModule:G,noValidate:G,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:G,optimum:w,pattern:null,ping:ie,placeholder:null,playsInline:G,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:G,referrerPolicy:null,rel:ie,required:G,reversed:G,rows:w,rowSpan:w,sandbox:ie,scope:null,scoped:G,seamless:G,selected:G,shadowRootClonable:G,shadowRootDelegatesFocus:G,shadowRootMode:null,shape:null,size:w,sizes:null,slot:null,span:w,spellCheck:he,src:null,srcDoc:null,srcLang:null,srcSet:null,start:w,step:null,style:null,tabIndex:w,target:null,title:null,translate:null,type:null,typeMustMatch:G,useMap:null,value:he,width:w,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ie,axis:null,background:null,bgColor:null,border:w,borderColor:null,bottomMargin:w,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:G,declare:G,event:null,face:null,frame:null,frameBorder:null,hSpace:w,leftMargin:w,link:null,longDesc:null,lowSrc:null,marginHeight:w,marginWidth:w,noResize:G,noHref:G,noShade:G,noWrap:G,object:null,profile:null,prompt:null,rev:null,rightMargin:w,rules:null,scheme:null,scrolling:he,standby:null,summary:null,text:null,topMargin:w,valueType:null,version:null,vAlign:null,vLink:null,vSpace:w,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:G,disableRemotePlayback:G,prefix:null,property:null,results:w,security:null,unselectable:null}}),Id=Dt({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:Ta,properties:{about:Ne,accentHeight:w,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:w,amplitude:w,arabicForm:null,ascent:w,attributeName:null,attributeType:null,azimuth:w,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:w,by:null,calcMode:null,capHeight:w,className:ie,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:w,diffuseConstant:w,direction:null,display:null,dur:null,divisor:w,dominantBaseline:null,download:G,dx:null,dy:null,edgeMode:null,editable:null,elevation:w,enableBackground:null,end:null,event:null,exponent:w,externalResourcesRequired:null,fill:null,fillOpacity:w,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:Et,g2:Et,glyphName:Et,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:w,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:w,horizOriginX:w,horizOriginY:w,id:null,ideographic:w,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:w,k:w,k1:w,k2:w,k3:w,k4:w,kernelMatrix:Ne,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:w,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:w,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:w,overlineThickness:w,paintOrder:null,panose1:null,path:null,pathLength:w,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ie,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:w,pointsAtY:w,pointsAtZ:w,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ne,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ne,rev:Ne,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ne,requiredFeatures:Ne,requiredFonts:Ne,requiredFormats:Ne,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:w,specularExponent:w,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:w,strikethroughThickness:w,string:null,stroke:null,strokeDashArray:Ne,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:w,strokeOpacity:w,strokeWidth:null,style:null,surfaceScale:w,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ne,tabIndex:w,tableValues:null,target:null,targetX:w,targetY:w,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ne,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:w,underlineThickness:w,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:w,values:null,vAlphabetic:w,vMathematical:w,vectorEffect:null,vHanging:w,vIdeographic:w,version:null,vertAdvY:w,vertOriginX:w,vertOriginY:w,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:w,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Nd=/^data[-\w.:]+$/i,Vu=/-[a-z]/g,kd=/[A-Z]/g;function xn(e,t){const n=jt(t);let r=t,u=Le;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Nd.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Vu,yd);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Vu.test(i)){let a=i.replace(kd,Sd);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}u=Mr}return new u(r,t)}function Sd(e){return"-"+e.toLowerCase()}function yd(e){return e.charAt(1).toUpperCase()}const Fd={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"},Xt=da([Ea,pa,ga,Aa,xd],"html"),tt=da([Ea,pa,ga,Aa,Id],"svg");function Wu(e){const t=[],n=String(e||"");let r=n.indexOf(","),u=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const a=n.slice(u,r).trim();(a||!i)&&t.push(a),u=r+1,r=n.indexOf(",",u)}return t}function Ca(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Qu=/[#.]/g;function Ld(e,t){const n=e||"",r={};let u=0,i,a;for(;u<n.length;){Qu.lastIndex=u;const o=Qu.exec(n),l=n.slice(u,o?o.index:n.length);l&&(i?i==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:a=l,u+=l.length),o&&(i=o[0],u++)}return{type:"element",tagName:a||t||"div",properties:r,children:[]}}function hr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Da(e){return e.join(" ").trim()}const dr={}.hasOwnProperty;function _a(e,t,n){const r=n&&wd(n);function u(i,a,...o){let l=-1,c;if(i==null){c={type:"root",children:[]};const h=a;o.unshift(h)}else if(c=Ld(i,t),c.tagName=c.tagName.toLowerCase(),r&&dr.call(r,c.tagName)&&(c.tagName=r[c.tagName]),Od(a))o.unshift(a);else{let h;for(h in a)dr.call(a,h)&&Rd(e,c.properties,h,a[h])}for(;++l<o.length;)mr(c.children,o[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return u}function Od(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const u=t[r];if(u&&typeof u=="object"){if(!Array.isArray(u))return!0;const i=u;for(const a of i)if(typeof a!="number"&&typeof a!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function Rd(e,t,n,r){const u=xn(e,n);let i=-1,a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?u.spaceSeparated?a=hr(r):u.commaSeparated?a=Wu(r):u.commaOrSpaceSeparated?a=hr(Wu(r).join(" ")):a=Gu(u,u.property,r):Array.isArray(r)?a=r.concat():a=u.property==="style"?Pd(r):String(r);if(Array.isArray(a)){const o=[];for(;++i<a.length;){const l=Gu(u,u.property,a[i]);o[i]=l}a=o}if(u.property==="className"&&Array.isArray(t.className)){const o=a;a=t.className.concat(o)}t[u.property]=a}}function mr(e,t){let n=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)mr(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?mr(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Gu(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||jt(n)===jt(t)))return!0}return n}function Pd(e){const t=[];let n;for(n in e)dr.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function wd(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const Bd=["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"],ve=_a(Xt,"div"),Md=_a(tt,"g",Bd);function vd(e){const t=String(e),n=[];return{toOffset:u,toPoint:r};function r(i){if(typeof i=="number"&&i>-1&&i<=t.length){let a=0;for(;;){let o=n[a];if(o===void 0){const l=$u(t,n[a-1]);o=l===-1?t.length+1:l+1,n[a]=o}if(o>i)return{line:a+1,column:i-(a>0?n[a-1]:0)+1,offset:i};a++}}}function u(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length<i.line;){const o=n[n.length-1],l=$u(t,o),c=l===-1?t.length+1:l+1;if(o===c)break;n.push(c)}const a=(i.line>1?n[i.line-2]:0)+i.column-1;if(a<n[i.line-1])return a}}}function $u(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
72
|
-
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const it={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/"},xa={}.hasOwnProperty,Hd=Object.prototype;function Ud(e,t){const n=t||{};return vr({file:n.file||void 0,location:!1,schema:n.space==="svg"?tt:Xt,verbose:n.verbose||!1},e)}function vr(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},ln(e,r,n),n}case"#document":case"#document-fragment":{const r=t,u="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Ia(e,t.childNodes),data:{quirksMode:u}},e.file&&e.location){const i=String(e.file),a=vd(i),o=a.toPoint(0),l=a.toPoint(i.length);n.position={start:o,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},ln(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},ln(e,r,n),n}default:return n=zd(e,t),n}}function Ia(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=vr(e,t[n]);r.push(u)}return r}function zd(e,t){const n=e.schema;e.schema=t.namespaceURI===it.svg?tt:Xt;let r=-1;const u={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;xa.call(Hd,l)||(u[l]=o.value)}const a=(e.schema.space==="svg"?Md:ve)(t.tagName,u,Ia(e,t.childNodes));if(ln(e,t,a),a.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&pt(l.startTag),h=l&&l.endTag&&pt(l.endTag),f=vr(e,o.content);c&&h&&e.file&&(f.position={start:c.end,end:h.start}),a.content=f}return e.schema=n,a}function ln(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=Yd(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Yd(e,t,n){const r=pt(n);if(t.type==="element"){const u=t.children[t.children.length-1];if(r&&!n.endTag&&u&&u.position&&u.position.end&&(r.end=Object.assign({},u.position.end)),e.verbose){const i={};let a;if(n.attrs)for(a in n.attrs)xa.call(n.attrs,a)&&(i[xn(e.schema,a).property]=pt(n.attrs[a]));n.startTag;const o=pt(n.startTag),l=n.endTag?pt(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=i,t.data={position:c}}}return r}function pt(e){const t=Xu({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Xu({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Xu(e){return e.line&&e.column?e:void 0}const qd={},jd={}.hasOwnProperty,Na=Cr("type",{handlers:{root:Wd,element:Kd,text:$d,comment:Xd,doctype:Gd}});function Vd(e,t){const r=(t||qd).space;return Na(e,r==="svg"?tt:Xt)}function Wd(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Hr(e.children,n,t),_t(e,n),n}function Qd(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Hr(e.children,n,t),_t(e,n),n}function Gd(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return _t(e,t),t}function $d(e){const t={nodeName:"#text",value:e.value,parentNode:null};return _t(e,t),t}function Xd(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return _t(e,t),t}function Kd(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=tt);const u=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&jd.call(e.properties,i)){const l=Jd(r,i,e.properties[i]);l&&u.push(l)}}const a=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:u,namespaceURI:it[a],childNodes:[],parentNode:null};return o.childNodes=Hr(e.children,o,r),_t(e,o),e.tagName==="template"&&e.content&&(o.content=Qd(e.content,r)),o}function Jd(e,t,n){const r=xn(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Ca(n):Da(n));const u={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const i=u.name.indexOf(":");i<0?u.prefix="":(u.name=u.name.slice(i+1),u.prefix=r.attribute.slice(0,i)),u.namespace=it[r.space]}return u}function Hr(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const i=Na(e[r],n);i.parentNode=t,u.push(i)}return u}function _t(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 Zd=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],e1=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]),se="�";var p;(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"})(p||(p={}));const Ce={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function ka(e){return e>=55296&&e<=57343}function t1(e){return e>=56320&&e<=57343}function n1(e,t){return(e-55296)*1024+9216+t}function Sa(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function ya(e){return e>=64976&&e<=65007||e1.has(e)}var N;(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"})(N||(N={}));const r1=65536;class u1{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=r1,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:u,offset:i}=this,a=u+n,o=i+n;return{code:t,startLine:r,endLine:r,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(t1(n))return this.pos++,this._addGap(),n1(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,p.EOF;return this._err(N.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,p.EOF;const r=this.html.charCodeAt(n);return r===p.CARRIAGE_RETURN?p.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,p.EOF;let t=this.html.charCodeAt(this.pos);return t===p.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,p.LINE_FEED):t===p.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ka(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===p.LINE_FEED||t===p.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Sa(t)?this._err(N.controlCharacterInInputStream):ya(t)&&this._err(N.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var J;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(J||(J={}));function Fa(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const La=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),i1=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Jn;const a1=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),s1=(Jn=String.fromCodePoint)!==null&&Jn!==void 0?Jn:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function o1(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=a1.get(e))!==null&&t!==void 0?t:e}var pe;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(pe||(pe={}));const l1=32;var Je;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Je||(Je={}));function pr(e){return e>=pe.ZERO&&e<=pe.NINE}function c1(e){return e>=pe.UPPER_A&&e<=pe.UPPER_F||e>=pe.LOWER_A&&e<=pe.LOWER_F}function f1(e){return e>=pe.UPPER_A&&e<=pe.UPPER_Z||e>=pe.LOWER_A&&e<=pe.LOWER_Z||pr(e)}function h1(e){return e===pe.EQUALS||f1(e)}var me;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(me||(me={}));var Ve;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ve||(Ve={}));class Oa{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=me.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ve.Strict}startEntity(t){this.decodeMode=t,this.state=me.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case me.EntityStart:return t.charCodeAt(n)===pe.NUM?(this.state=me.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=me.NamedEntity,this.stateNamedEntity(t,n));case me.NumericStart:return this.stateNumericStart(t,n);case me.NumericDecimal:return this.stateNumericDecimal(t,n);case me.NumericHex:return this.stateNumericHex(t,n);case me.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|l1)===pe.LOWER_X?(this.state=me.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=me.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,u){if(n!==r){const i=r-n;this.result=this.result*Math.pow(u,i)+parseInt(t.substr(n,i),u),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(pr(u)||c1(u))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(u,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(pr(u))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(u,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===pe.SEMI)this.consumed+=1;else if(this.decodeMode===Ve.Strict)return 0;return this.emitCodePoint(o1(this.result),this.consumed),this.errors&&(t!==pe.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let u=r[this.treeIndex],i=(u&Je.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=d1(r,u,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Ve.Attribute&&(i===0||h1(a))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],i=(u&Je.VALUE_LENGTH)>>14,i!==0){if(a===pe.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Ve.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,u=(r[n]&Je.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,u,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:u}=this;return this.emitCodePoint(n===1?u[t]&~Je.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case me.NamedEntity:return this.result!==0&&(this.decodeMode!==Ve.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case me.NumericDecimal:return this.emitNumericEntity(0,2);case me.NumericHex:return this.emitNumericEntity(0,3);case me.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case me.EntityStart:return 0}}}function Ra(e){let t="";const n=new Oa(e,r=>t+=s1(r));return function(u,i){let a=0,o=0;for(;(o=u.indexOf("&",o))>=0;){t+=u.slice(a,o),n.startEntity(i);const c=n.write(u,o+1);if(c<0){a=o+n.end();break}a=o+c,o=c===0?a+1:a}const l=t+u.slice(a);return t="",l}}function d1(e,t,n,r){const u=(t&Je.BRANCH_LENGTH)>>7,i=t&Je.JUMP_TABLE;if(u===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=u?-1:e[n+l]-1}let a=n,o=a+u-1;for(;a<=o;){const l=a+o>>>1,c=e[l];if(c<r)a=l+1;else if(c>r)o=l-1;else return e[l+u]}return-1}Ra(La);Ra(i1);var R;(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/"})(R||(R={}));var at;(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"})(at||(at={}));var Fe;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Fe||(Fe={}));var D;(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"})(D||(D={}));var s;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(s||(s={}));const m1=new Map([[D.A,s.A],[D.ADDRESS,s.ADDRESS],[D.ANNOTATION_XML,s.ANNOTATION_XML],[D.APPLET,s.APPLET],[D.AREA,s.AREA],[D.ARTICLE,s.ARTICLE],[D.ASIDE,s.ASIDE],[D.B,s.B],[D.BASE,s.BASE],[D.BASEFONT,s.BASEFONT],[D.BGSOUND,s.BGSOUND],[D.BIG,s.BIG],[D.BLOCKQUOTE,s.BLOCKQUOTE],[D.BODY,s.BODY],[D.BR,s.BR],[D.BUTTON,s.BUTTON],[D.CAPTION,s.CAPTION],[D.CENTER,s.CENTER],[D.CODE,s.CODE],[D.COL,s.COL],[D.COLGROUP,s.COLGROUP],[D.DD,s.DD],[D.DESC,s.DESC],[D.DETAILS,s.DETAILS],[D.DIALOG,s.DIALOG],[D.DIR,s.DIR],[D.DIV,s.DIV],[D.DL,s.DL],[D.DT,s.DT],[D.EM,s.EM],[D.EMBED,s.EMBED],[D.FIELDSET,s.FIELDSET],[D.FIGCAPTION,s.FIGCAPTION],[D.FIGURE,s.FIGURE],[D.FONT,s.FONT],[D.FOOTER,s.FOOTER],[D.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[D.FORM,s.FORM],[D.FRAME,s.FRAME],[D.FRAMESET,s.FRAMESET],[D.H1,s.H1],[D.H2,s.H2],[D.H3,s.H3],[D.H4,s.H4],[D.H5,s.H5],[D.H6,s.H6],[D.HEAD,s.HEAD],[D.HEADER,s.HEADER],[D.HGROUP,s.HGROUP],[D.HR,s.HR],[D.HTML,s.HTML],[D.I,s.I],[D.IMG,s.IMG],[D.IMAGE,s.IMAGE],[D.INPUT,s.INPUT],[D.IFRAME,s.IFRAME],[D.KEYGEN,s.KEYGEN],[D.LABEL,s.LABEL],[D.LI,s.LI],[D.LINK,s.LINK],[D.LISTING,s.LISTING],[D.MAIN,s.MAIN],[D.MALIGNMARK,s.MALIGNMARK],[D.MARQUEE,s.MARQUEE],[D.MATH,s.MATH],[D.MENU,s.MENU],[D.META,s.META],[D.MGLYPH,s.MGLYPH],[D.MI,s.MI],[D.MO,s.MO],[D.MN,s.MN],[D.MS,s.MS],[D.MTEXT,s.MTEXT],[D.NAV,s.NAV],[D.NOBR,s.NOBR],[D.NOFRAMES,s.NOFRAMES],[D.NOEMBED,s.NOEMBED],[D.NOSCRIPT,s.NOSCRIPT],[D.OBJECT,s.OBJECT],[D.OL,s.OL],[D.OPTGROUP,s.OPTGROUP],[D.OPTION,s.OPTION],[D.P,s.P],[D.PARAM,s.PARAM],[D.PLAINTEXT,s.PLAINTEXT],[D.PRE,s.PRE],[D.RB,s.RB],[D.RP,s.RP],[D.RT,s.RT],[D.RTC,s.RTC],[D.RUBY,s.RUBY],[D.S,s.S],[D.SCRIPT,s.SCRIPT],[D.SEARCH,s.SEARCH],[D.SECTION,s.SECTION],[D.SELECT,s.SELECT],[D.SOURCE,s.SOURCE],[D.SMALL,s.SMALL],[D.SPAN,s.SPAN],[D.STRIKE,s.STRIKE],[D.STRONG,s.STRONG],[D.STYLE,s.STYLE],[D.SUB,s.SUB],[D.SUMMARY,s.SUMMARY],[D.SUP,s.SUP],[D.TABLE,s.TABLE],[D.TBODY,s.TBODY],[D.TEMPLATE,s.TEMPLATE],[D.TEXTAREA,s.TEXTAREA],[D.TFOOT,s.TFOOT],[D.TD,s.TD],[D.TH,s.TH],[D.THEAD,s.THEAD],[D.TITLE,s.TITLE],[D.TR,s.TR],[D.TRACK,s.TRACK],[D.TT,s.TT],[D.U,s.U],[D.UL,s.UL],[D.SVG,s.SVG],[D.VAR,s.VAR],[D.WBR,s.WBR],[D.XMP,s.XMP]]);function xt(e){var t;return(t=m1.get(e))!==null&&t!==void 0?t:s.UNKNOWN}const P=s,p1={[R.HTML]:new Set([P.ADDRESS,P.APPLET,P.AREA,P.ARTICLE,P.ASIDE,P.BASE,P.BASEFONT,P.BGSOUND,P.BLOCKQUOTE,P.BODY,P.BR,P.BUTTON,P.CAPTION,P.CENTER,P.COL,P.COLGROUP,P.DD,P.DETAILS,P.DIR,P.DIV,P.DL,P.DT,P.EMBED,P.FIELDSET,P.FIGCAPTION,P.FIGURE,P.FOOTER,P.FORM,P.FRAME,P.FRAMESET,P.H1,P.H2,P.H3,P.H4,P.H5,P.H6,P.HEAD,P.HEADER,P.HGROUP,P.HR,P.HTML,P.IFRAME,P.IMG,P.INPUT,P.LI,P.LINK,P.LISTING,P.MAIN,P.MARQUEE,P.MENU,P.META,P.NAV,P.NOEMBED,P.NOFRAMES,P.NOSCRIPT,P.OBJECT,P.OL,P.P,P.PARAM,P.PLAINTEXT,P.PRE,P.SCRIPT,P.SECTION,P.SELECT,P.SOURCE,P.STYLE,P.SUMMARY,P.TABLE,P.TBODY,P.TD,P.TEMPLATE,P.TEXTAREA,P.TFOOT,P.TH,P.THEAD,P.TITLE,P.TR,P.TRACK,P.UL,P.WBR,P.XMP]),[R.MATHML]:new Set([P.MI,P.MO,P.MN,P.MS,P.MTEXT,P.ANNOTATION_XML]),[R.SVG]:new Set([P.TITLE,P.FOREIGN_OBJECT,P.DESC]),[R.XLINK]:new Set,[R.XML]:new Set,[R.XMLNS]:new Set},Er=new Set([P.H1,P.H2,P.H3,P.H4,P.H5,P.H6]);D.STYLE,D.SCRIPT,D.XMP,D.IFRAME,D.NOEMBED,D.NOFRAMES,D.PLAINTEXT;var T;(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"})(T||(T={}));const le={DATA:T.DATA,RCDATA:T.RCDATA,RAWTEXT:T.RAWTEXT,SCRIPT_DATA:T.SCRIPT_DATA,PLAINTEXT:T.PLAINTEXT,CDATA_SECTION:T.CDATA_SECTION};function E1(e){return e>=p.DIGIT_0&&e<=p.DIGIT_9}function wt(e){return e>=p.LATIN_CAPITAL_A&&e<=p.LATIN_CAPITAL_Z}function T1(e){return e>=p.LATIN_SMALL_A&&e<=p.LATIN_SMALL_Z}function Xe(e){return T1(e)||wt(e)}function Ku(e){return Xe(e)||E1(e)}function an(e){return e+32}function Pa(e){return e===p.SPACE||e===p.LINE_FEED||e===p.TABULATION||e===p.FORM_FEED}function Ju(e){return Pa(e)||e===p.SOLIDUS||e===p.GREATER_THAN_SIGN}function b1(e){return e===p.NULL?N.nullCharacterReference:e>1114111?N.characterReferenceOutsideUnicodeRange:ka(e)?N.surrogateCharacterReference:ya(e)?N.noncharacterCharacterReference:Sa(e)||e===p.CARRIAGE_RETURN?N.controlCharacterReference:null}class g1{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=T.DATA,this.returnState=T.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new u1(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Oa(La,(r,u)=>{this.preprocessor.pos=this.entityStartPos+u-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(N.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(N.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const u=b1(r);u&&this._err(u,1)}}:void 0)}_err(t,n=0){var r,u;(u=(r=this.handler).onParseError)===null||u===void 0||u.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:J.START_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:J.END_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:J.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:J.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Fa(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const u=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);u[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(N.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=xt(t.tagName),t.type===J.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(N.endTagWithAttributes),t.selfClosing&&this._err(N.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case J.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case J.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case J.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:J.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Pa(t)?J.WHITESPACE_CHARACTER:t===p.NULL?J.NULL_CHARACTER:J.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(J.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=T.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Ve.Attribute:Ve.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===T.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===T.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===T.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case T.DATA:{this._stateData(t);break}case T.RCDATA:{this._stateRcdata(t);break}case T.RAWTEXT:{this._stateRawtext(t);break}case T.SCRIPT_DATA:{this._stateScriptData(t);break}case T.PLAINTEXT:{this._statePlaintext(t);break}case T.TAG_OPEN:{this._stateTagOpen(t);break}case T.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case T.TAG_NAME:{this._stateTagName(t);break}case T.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case T.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case T.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case T.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case T.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case T.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case T.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case T.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case T.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case T.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case T.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case T.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case T.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case T.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case T.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case T.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case T.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case T.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case T.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case T.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case T.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case T.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case T.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case T.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case T.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case T.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case T.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case T.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case T.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case T.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case T.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case T.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case T.BOGUS_COMMENT:{this._stateBogusComment(t);break}case T.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case T.COMMENT_START:{this._stateCommentStart(t);break}case T.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case T.COMMENT:{this._stateComment(t);break}case T.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case T.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case T.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case T.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case T.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case T.COMMENT_END:{this._stateCommentEnd(t);break}case T.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case T.DOCTYPE:{this._stateDoctype(t);break}case T.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case T.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case T.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case T.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case T.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case T.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case T.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case T.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case T.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case T.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case T.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case T.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case T.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case T.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case T.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case T.CDATA_SECTION:{this._stateCdataSection(t);break}case T.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case T.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case T.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case T.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case p.LESS_THAN_SIGN:{this.state=T.TAG_OPEN;break}case p.AMPERSAND:{this._startCharacterReference();break}case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitCodePoint(t);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case p.AMPERSAND:{this._startCharacterReference();break}case p.LESS_THAN_SIGN:{this.state=T.RCDATA_LESS_THAN_SIGN;break}case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(se);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case p.LESS_THAN_SIGN:{this.state=T.RAWTEXT_LESS_THAN_SIGN;break}case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(se);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case p.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_LESS_THAN_SIGN;break}case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(se);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(se);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Xe(t))this._createStartTagToken(),this.state=T.TAG_NAME,this._stateTagName(t);else switch(t){case p.EXCLAMATION_MARK:{this.state=T.MARKUP_DECLARATION_OPEN;break}case p.SOLIDUS:{this.state=T.END_TAG_OPEN;break}case p.QUESTION_MARK:{this._err(N.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=T.BOGUS_COMMENT,this._stateBogusComment(t);break}case p.EOF:{this._err(N.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(N.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=T.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Xe(t))this._createEndTagToken(),this.state=T.TAG_NAME,this._stateTagName(t);else switch(t){case p.GREATER_THAN_SIGN:{this._err(N.missingEndTagName),this.state=T.DATA;break}case p.EOF:{this._err(N.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(N.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=T.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=T.BEFORE_ATTRIBUTE_NAME;break}case p.SOLIDUS:{this.state=T.SELF_CLOSING_START_TAG;break}case p.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentTagToken();break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.tagName+=se;break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(wt(t)?an(t):t)}}_stateRcdataLessThanSign(t){t===p.SOLIDUS?this.state=T.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=T.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Xe(t)?(this.state=T.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=T.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=T.BEFORE_ATTRIBUTE_NAME,!1;case p.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=T.SELF_CLOSING_START_TAG,!1;case p.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=T.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=T.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===p.SOLIDUS?this.state=T.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=T.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Xe(t)?(this.state=T.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=T.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=T.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case p.SOLIDUS:{this.state=T.SCRIPT_DATA_END_TAG_OPEN;break}case p.EXCLAMATION_MARK:{this.state=T.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=T.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Xe(t)?(this.state=T.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=T.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=T.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===p.HYPHEN_MINUS?(this.state=T.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=T.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===p.HYPHEN_MINUS?(this.state=T.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=T.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case p.HYPHEN_MINUS:{this.state=T.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(se);break}case p.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case p.HYPHEN_MINUS:{this.state=T.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.state=T.SCRIPT_DATA_ESCAPED,this._emitChars(se);break}case p.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=T.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case p.HYPHEN_MINUS:{this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case p.GREATER_THAN_SIGN:{this.state=T.SCRIPT_DATA,this._emitChars(">");break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.state=T.SCRIPT_DATA_ESCAPED,this._emitChars(se);break}case p.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=T.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===p.SOLIDUS?this.state=T.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Xe(t)?(this._emitChars("<"),this.state=T.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=T.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Xe(t)?(this.state=T.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=T.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=T.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Ce.SCRIPT,!1)&&Ju(this.preprocessor.peek(Ce.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Ce.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=T.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case p.HYPHEN_MINUS:{this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case p.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(se);break}case p.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case p.HYPHEN_MINUS:{this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(se);break}case p.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case p.HYPHEN_MINUS:{this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case p.GREATER_THAN_SIGN:{this.state=T.SCRIPT_DATA,this._emitChars(">");break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(se);break}case p.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===p.SOLIDUS?(this.state=T.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Ce.SCRIPT,!1)&&Ju(this.preprocessor.peek(Ce.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Ce.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=T.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=T.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.SOLIDUS:case p.GREATER_THAN_SIGN:case p.EOF:{this.state=T.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case p.EQUALS_SIGN:{this._err(N.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=T.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=T.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:case p.SOLIDUS:case p.GREATER_THAN_SIGN:case p.EOF:{this._leaveAttrName(),this.state=T.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case p.EQUALS_SIGN:{this._leaveAttrName(),this.state=T.BEFORE_ATTRIBUTE_VALUE;break}case p.QUOTATION_MARK:case p.APOSTROPHE:case p.LESS_THAN_SIGN:{this._err(N.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.currentAttr.name+=se;break}default:this.currentAttr.name+=String.fromCodePoint(wt(t)?an(t):t)}}_stateAfterAttributeName(t){switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.SOLIDUS:{this.state=T.SELF_CLOSING_START_TAG;break}case p.EQUALS_SIGN:{this.state=T.BEFORE_ATTRIBUTE_VALUE;break}case p.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentTagToken();break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=T.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.QUOTATION_MARK:{this.state=T.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case p.APOSTROPHE:{this.state=T.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(N.missingAttributeValue),this.state=T.DATA,this.emitCurrentTagToken();break}default:this.state=T.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case p.QUOTATION_MARK:{this.state=T.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case p.AMPERSAND:{this._startCharacterReference();break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.currentAttr.value+=se;break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case p.APOSTROPHE:{this.state=T.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case p.AMPERSAND:{this._startCharacterReference();break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.currentAttr.value+=se;break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this._leaveAttrValue(),this.state=T.BEFORE_ATTRIBUTE_NAME;break}case p.AMPERSAND:{this._startCharacterReference();break}case p.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=T.DATA,this.emitCurrentTagToken();break}case p.NULL:{this._err(N.unexpectedNullCharacter),this.currentAttr.value+=se;break}case p.QUOTATION_MARK:case p.APOSTROPHE:case p.LESS_THAN_SIGN:case p.EQUALS_SIGN:case p.GRAVE_ACCENT:{this._err(N.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this._leaveAttrValue(),this.state=T.BEFORE_ATTRIBUTE_NAME;break}case p.SOLIDUS:{this._leaveAttrValue(),this.state=T.SELF_CLOSING_START_TAG;break}case p.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=T.DATA,this.emitCurrentTagToken();break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this._err(N.missingWhitespaceBetweenAttributes),this.state=T.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case p.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=T.DATA,this.emitCurrentTagToken();break}case p.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this._err(N.unexpectedSolidusInTag),this.state=T.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case p.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentComment(n);break}case p.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.data+=se;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Ce.DASH_DASH,!0)?(this._createCommentToken(Ce.DASH_DASH.length+1),this.state=T.COMMENT_START):this._consumeSequenceIfMatch(Ce.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Ce.DOCTYPE.length+1),this.state=T.DOCTYPE):this._consumeSequenceIfMatch(Ce.CDATA_START,!0)?this.inForeignNode?this.state=T.CDATA_SECTION:(this._err(N.cdataInHtmlContent),this._createCommentToken(Ce.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=T.BOGUS_COMMENT):this._ensureHibernation()||(this._err(N.incorrectlyOpenedComment),this._createCommentToken(2),this.state=T.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case p.HYPHEN_MINUS:{this.state=T.COMMENT_START_DASH;break}case p.GREATER_THAN_SIGN:{this._err(N.abruptClosingOfEmptyComment),this.state=T.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=T.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case p.HYPHEN_MINUS:{this.state=T.COMMENT_END;break}case p.GREATER_THAN_SIGN:{this._err(N.abruptClosingOfEmptyComment),this.state=T.DATA,this.emitCurrentComment(n);break}case p.EOF:{this._err(N.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=T.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case p.HYPHEN_MINUS:{this.state=T.COMMENT_END_DASH;break}case p.LESS_THAN_SIGN:{n.data+="<",this.state=T.COMMENT_LESS_THAN_SIGN;break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.data+=se;break}case p.EOF:{this._err(N.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case p.EXCLAMATION_MARK:{n.data+="!",this.state=T.COMMENT_LESS_THAN_SIGN_BANG;break}case p.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=T.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===p.HYPHEN_MINUS?this.state=T.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=T.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===p.HYPHEN_MINUS?this.state=T.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=T.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==p.GREATER_THAN_SIGN&&t!==p.EOF&&this._err(N.nestedComment),this.state=T.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case p.HYPHEN_MINUS:{this.state=T.COMMENT_END;break}case p.EOF:{this._err(N.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=T.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case p.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentComment(n);break}case p.EXCLAMATION_MARK:{this.state=T.COMMENT_END_BANG;break}case p.HYPHEN_MINUS:{n.data+="-";break}case p.EOF:{this._err(N.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=T.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case p.HYPHEN_MINUS:{n.data+="--!",this.state=T.COMMENT_END_DASH;break}case p.GREATER_THAN_SIGN:{this._err(N.incorrectlyClosedComment),this.state=T.DATA,this.emitCurrentComment(n);break}case p.EOF:{this._err(N.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=T.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=T.BEFORE_DOCTYPE_NAME;break}case p.GREATER_THAN_SIGN:{this.state=T.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case p.EOF:{this._err(N.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingWhitespaceBeforeDoctypeName),this.state=T.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(wt(t))this._createDoctypeToken(String.fromCharCode(an(t))),this.state=T.DOCTYPE_NAME;else switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.NULL:{this._err(N.unexpectedNullCharacter),this._createDoctypeToken(se),this.state=T.DOCTYPE_NAME;break}case p.GREATER_THAN_SIGN:{this._err(N.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=T.DATA;break}case p.EOF:{this._err(N.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=T.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=T.AFTER_DOCTYPE_NAME;break}case p.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentDoctype(n);break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.name+=se;break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(wt(t)?an(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Ce.PUBLIC,!1)?this.state=T.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Ce.SYSTEM,!1)?this.state=T.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(N.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=T.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case p.QUOTATION_MARK:{this._err(N.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=T.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{this._err(N.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=T.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(N.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=T.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.QUOTATION_MARK:{n.publicId="",this.state=T.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{n.publicId="",this.state=T.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(N.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=T.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case p.QUOTATION_MARK:{this.state=T.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.publicId+=se;break}case p.GREATER_THAN_SIGN:{this._err(N.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=T.DATA;break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case p.APOSTROPHE:{this.state=T.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.publicId+=se;break}case p.GREATER_THAN_SIGN:{this._err(N.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=T.DATA;break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=T.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case p.GREATER_THAN_SIGN:{this.state=T.DATA,this.emitCurrentDoctype(n);break}case p.QUOTATION_MARK:{this._err(N.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{this._err(N.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=T.DATA;break}case p.QUOTATION_MARK:{n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=T.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case p.QUOTATION_MARK:{this._err(N.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{this._err(N.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(N.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=T.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.QUOTATION_MARK:{n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{n.systemId="",this.state=T.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(N.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=T.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case p.QUOTATION_MARK:{this.state=T.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.systemId+=se;break}case p.GREATER_THAN_SIGN:{this._err(N.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=T.DATA;break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case p.APOSTROPHE:{this.state=T.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case p.NULL:{this._err(N.unexpectedNullCharacter),n.systemId+=se;break}case p.GREATER_THAN_SIGN:{this._err(N.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=T.DATA;break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:break;case p.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=T.DATA;break}case p.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=T.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case p.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=T.DATA;break}case p.NULL:{this._err(N.unexpectedNullCharacter);break}case p.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case p.RIGHT_SQUARE_BRACKET:{this.state=T.CDATA_SECTION_BRACKET;break}case p.EOF:{this._err(N.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===p.RIGHT_SQUARE_BRACKET?this.state=T.CDATA_SECTION_END:(this._emitChars("]"),this.state=T.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case p.GREATER_THAN_SIGN:{this.state=T.DATA;break}case p.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=T.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(p.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Ku(this.preprocessor.peek(1))?T.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Ku(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===p.SEMICOLON&&this._err(N.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const wa=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),Zu=new Set([...wa,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),pn=new Set([s.APPLET,s.CAPTION,s.HTML,s.MARQUEE,s.OBJECT,s.TABLE,s.TD,s.TEMPLATE,s.TH]),A1=new Set([...pn,s.OL,s.UL]),C1=new Set([...pn,s.BUTTON]),ei=new Set([s.ANNOTATION_XML,s.MI,s.MN,s.MO,s.MS,s.MTEXT]),ti=new Set([s.DESC,s.FOREIGN_OBJECT,s.TITLE]),D1=new Set([s.TR,s.TEMPLATE,s.HTML]),_1=new Set([s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML]),x1=new Set([s.TABLE,s.TEMPLATE,s.HTML]),I1=new Set([s.TD,s.TH]);class N1{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=s.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===s.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===R.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const u=this._indexOf(t)+1;this.items.splice(u,0,n),this.tagIDs.splice(u,0,r),this.stackTop++,u===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,u===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==R.HTML);this.shortenToLength(n<0?0:n)}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(n<0?0:n)}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(Er,R.HTML)}popUntilTableCellPopped(){this.popUntilPopped(I1,R.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(x1,R.HTML)}clearBackToTableBodyContext(){this.clearBackTo(_1,R.HTML)}clearBackToTableRowContext(){this.clearBackTo(D1,R.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===s.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===s.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const u=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case R.HTML:{if(u===t)return!0;if(n.has(u))return!1;break}case R.SVG:{if(ti.has(u))return!1;break}case R.MATHML:{if(ei.has(u))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,pn)}hasInListItemScope(t){return this.hasInDynamicScope(t,A1)}hasInButtonScope(t){return this.hasInDynamicScope(t,C1)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case R.HTML:{if(Er.has(n))return!0;if(pn.has(n))return!1;break}case R.SVG:{if(ti.has(n))return!1;break}case R.MATHML:{if(ei.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===R.HTML)switch(this.tagIDs[n]){case t:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===R.HTML)switch(this.tagIDs[t]){case s.TBODY:case s.THEAD:case s.TFOOT:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===R.HTML)switch(this.tagIDs[n]){case t:return!0;case s.OPTION:case s.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;wa.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Zu.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Zu.has(this.currentTagId);)this.pop()}}const Zn=3;var Me;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Me||(Me={}));const ni={type:Me.Marker};class k1{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],u=n.length,i=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===Me.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===i&&this.treeAdapter.getNamespaceURI(c)===a){const h=this.treeAdapter.getAttrList(c);h.length===u&&r.push({idx:o,attrs:h})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Zn)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Zn)return;const u=new Map(n.map(a=>[a.name,a.value]));let i=0;for(let a=0;a<r.length;a++){const o=r[a];o.attrs.every(l=>u.get(l.name)===l.value)&&(i+=1,i>=Zn&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(ni)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Me.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Me.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n>=0&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(ni);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Me.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Me.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Me.Element&&n.element===t)}}const Ke={createDocument(){return{nodeName:"#document",mode:Fe.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const u=e.childNodes.find(i=>i.nodeName==="#documentType");if(u)u.name=t,u.publicId=n,u.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Ke.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Ke.isTextNode(n)){n.value+=t;return}}Ke.appendChild(e,Ke.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Ke.isTextNode(r)?r.value+=t:Ke.insertBefore(e,Ke.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Ba="html",S1="about:legacy-compat",y1="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Ma=["+//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//"],F1=[...Ma,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],L1=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),va=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],O1=[...va,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function ri(e,t){return t.some(n=>e.startsWith(n))}function R1(e){return e.name===Ba&&e.publicId===null&&(e.systemId===null||e.systemId===S1)}function P1(e){if(e.name!==Ba)return Fe.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===y1)return Fe.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),L1.has(n))return Fe.QUIRKS;let r=t===null?F1:Ma;if(ri(n,r))return Fe.QUIRKS;if(r=t===null?va:O1,ri(n,r))return Fe.LIMITED_QUIRKS}return Fe.NO_QUIRKS}const ui={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},w1="definitionurl",B1="definitionURL",M1=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])),v1=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:R.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:R.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:R.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:R.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:R.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:R.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:R.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:R.XML}],["xml:space",{prefix:"xml",name:"space",namespace:R.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:R.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:R.XMLNS}]]),H1=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])),U1=new Set([s.B,s.BIG,s.BLOCKQUOTE,s.BODY,s.BR,s.CENTER,s.CODE,s.DD,s.DIV,s.DL,s.DT,s.EM,s.EMBED,s.H1,s.H2,s.H3,s.H4,s.H5,s.H6,s.HEAD,s.HR,s.I,s.IMG,s.LI,s.LISTING,s.MENU,s.META,s.NOBR,s.OL,s.P,s.PRE,s.RUBY,s.S,s.SMALL,s.SPAN,s.STRONG,s.STRIKE,s.SUB,s.SUP,s.TABLE,s.TT,s.U,s.UL,s.VAR]);function z1(e){const t=e.tagID;return t===s.FONT&&e.attrs.some(({name:r})=>r===at.COLOR||r===at.SIZE||r===at.FACE)||U1.has(t)}function Ha(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===w1){e.attrs[t].name=B1;break}}function Ua(e){for(let t=0;t<e.attrs.length;t++){const n=M1.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Ur(e){for(let t=0;t<e.attrs.length;t++){const n=v1.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 Y1(e){const t=H1.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=xt(e.tagName))}function q1(e,t){return t===R.MATHML&&(e===s.MI||e===s.MO||e===s.MN||e===s.MS||e===s.MTEXT)}function j1(e,t,n){if(t===R.MATHML&&e===s.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===at.ENCODING){const u=n[r].value.toLowerCase();return u===ui.TEXT_HTML||u===ui.APPLICATION_XML}}return t===R.SVG&&(e===s.FOREIGN_OBJECT||e===s.DESC||e===s.TITLE)}function V1(e,t,n,r){return(!r||r===R.HTML)&&j1(e,t,n)||(!r||r===R.MATHML)&&q1(e,t)}const W1="hidden",Q1=8,G1=3;var b;(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"})(b||(b={}));const $1={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},za=new Set([s.TABLE,s.TBODY,s.TFOOT,s.THEAD,s.TR]),ii={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ke,onParseError:null};class ai{constructor(t,n,r=null,u=null){this.fragmentContext=r,this.scriptHandler=u,this.currentToken=null,this.stopped=!1,this.insertionMode=b.INITIAL,this.originalInsertionMode=b.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={...ii,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new g1(this.options,this),this.activeFormattingElements=new k1(this.treeAdapter),this.fragmentContextID=r?xt(this.treeAdapter.getTagName(r)):s.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new N1(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...ii,...n};t??(t=r.treeAdapter.createElement(D.TEMPLATE,R.HTML,[]));const u=r.treeAdapter.createElement("documentmock",R.HTML,[]),i=new this(r,u,t);return i.fragmentContextID===s.TEMPLATE&&i.tmplInsertionModeStack.unshift(b.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var u;if(!this.onParseError)return;const i=(u=t.location)!==null&&u!==void 0?u:$1,a={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(a)}onItemPush(t,n,r){var u,i;(i=(u=this.treeAdapter).onItemPush)===null||i===void 0||i.call(u,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,u;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(u=(r=this.treeAdapter).onItemPop)===null||u===void 0||u.call(r,t,this.openElements.current),n){let i,a;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,a=this.fragmentContextID):{current:i,currentTagId:a}=this.openElements,this._setContextModes(i,a)}}_setContextModes(t,n){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===R.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,R.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=b.TEXT}switchToPlaintextParsing(){this.insertionMode=b.TEXT,this.originalInsertionMode=b.IN_BODY,this.tokenizer.state=le.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===D.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==R.HTML))switch(this.fragmentContextID){case s.TITLE:case s.TEXTAREA:{this.tokenizer.state=le.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=le.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=le.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=le.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",u=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,u),t.location){const a=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));a&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,R.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,R.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(D.HTML,R.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,s.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const u=this.treeAdapter.getChildNodes(n),i=r?u.lastIndexOf(r):u.length,a=u[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:l,endCol:c,endOffset:h}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:h})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,u=this.treeAdapter.getTagName(t),i=n.type===J.END_TAG&&u===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===s.SVG&&this.treeAdapter.getTagName(n)===D.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===R.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===s.MGLYPH||t.tagID===s.MALIGNMARK)&&!this._isIntegrationPoint(r,n,R.HTML)}_processToken(t){switch(t.type){case J.CHARACTER:{this.onCharacter(t);break}case J.NULL_CHARACTER:{this.onNullCharacter(t);break}case J.COMMENT:{this.onComment(t);break}case J.DOCTYPE:{this.onDoctype(t);break}case J.START_TAG:{this._processStartTag(t);break}case J.END_TAG:{this.onEndTag(t);break}case J.EOF:{this.onEof(t);break}case J.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const u=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return V1(t,u,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(u=>u.type===Me.Marker||this.openElements.contains(u.element)),r=n<0?t-1:n-1;for(let u=r;u>=0;u--){const i=this.activeFormattingElements.entries[u];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=b.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(s.P),this.openElements.popUntilTagNamePopped(s.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case s.TR:{this.insertionMode=b.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=b.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=b.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=b.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=b.IN_TABLE;return}case s.BODY:{this.insertionMode=b.IN_BODY;return}case s.FRAMESET:{this.insertionMode=b.IN_FRAMESET;return}case s.SELECT:{this._resetInsertionModeForSelect(t);return}case s.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case s.HTML:{this.insertionMode=this.headElement?b.AFTER_HEAD:b.BEFORE_HEAD;return}case s.TD:case s.TH:{if(t>0){this.insertionMode=b.IN_CELL;return}break}case s.HEAD:{if(t>0){this.insertionMode=b.IN_HEAD;return}break}}this.insertionMode=b.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===s.TEMPLATE)break;if(r===s.TABLE){this.insertionMode=b.IN_SELECT_IN_TABLE;return}}this.insertionMode=b.IN_SELECT}_isElementCausesFosterParenting(t){return za.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case s.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===R.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case s.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return p1[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Ip(this,t);return}switch(this.insertionMode){case b.INITIAL:{Ot(this,t);break}case b.BEFORE_HTML:{Mt(this,t);break}case b.BEFORE_HEAD:{vt(this,t);break}case b.IN_HEAD:{Ht(this,t);break}case b.IN_HEAD_NO_SCRIPT:{Ut(this,t);break}case b.AFTER_HEAD:{zt(this,t);break}case b.IN_BODY:case b.IN_CAPTION:case b.IN_CELL:case b.IN_TEMPLATE:{qa(this,t);break}case b.TEXT:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:{er(this,t);break}case b.IN_TABLE_TEXT:{$a(this,t);break}case b.IN_COLUMN_GROUP:{En(this,t);break}case b.AFTER_BODY:{Tn(this,t);break}case b.AFTER_AFTER_BODY:{cn(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){xp(this,t);return}switch(this.insertionMode){case b.INITIAL:{Ot(this,t);break}case b.BEFORE_HTML:{Mt(this,t);break}case b.BEFORE_HEAD:{vt(this,t);break}case b.IN_HEAD:{Ht(this,t);break}case b.IN_HEAD_NO_SCRIPT:{Ut(this,t);break}case b.AFTER_HEAD:{zt(this,t);break}case b.TEXT:{this._insertCharacters(t);break}case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:{er(this,t);break}case b.IN_COLUMN_GROUP:{En(this,t);break}case b.AFTER_BODY:{Tn(this,t);break}case b.AFTER_AFTER_BODY:{cn(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Tr(this,t);return}switch(this.insertionMode){case b.INITIAL:case b.BEFORE_HTML:case b.BEFORE_HEAD:case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:case b.IN_BODY:case b.IN_TABLE:case b.IN_CAPTION:case b.IN_COLUMN_GROUP:case b.IN_TABLE_BODY:case b.IN_ROW:case b.IN_CELL:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:case b.IN_TEMPLATE:case b.IN_FRAMESET:case b.AFTER_FRAMESET:{Tr(this,t);break}case b.IN_TABLE_TEXT:{Rt(this,t);break}case b.AFTER_BODY:{nm(this,t);break}case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:{rm(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case b.INITIAL:{um(this,t);break}case b.BEFORE_HEAD:case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:{this._err(t,N.misplacedDoctype);break}case b.IN_TABLE_TEXT:{Rt(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,N.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Np(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case b.INITIAL:{Ot(this,t);break}case b.BEFORE_HTML:{im(this,t);break}case b.BEFORE_HEAD:{sm(this,t);break}case b.IN_HEAD:{Pe(this,t);break}case b.IN_HEAD_NO_SCRIPT:{cm(this,t);break}case b.AFTER_HEAD:{hm(this,t);break}case b.IN_BODY:{ge(this,t);break}case b.IN_TABLE:{bt(this,t);break}case b.IN_TABLE_TEXT:{Rt(this,t);break}case b.IN_CAPTION:{op(this,t);break}case b.IN_COLUMN_GROUP:{qr(this,t);break}case b.IN_TABLE_BODY:{kn(this,t);break}case b.IN_ROW:{Sn(this,t);break}case b.IN_CELL:{fp(this,t);break}case b.IN_SELECT:{Ja(this,t);break}case b.IN_SELECT_IN_TABLE:{dp(this,t);break}case b.IN_TEMPLATE:{pp(this,t);break}case b.AFTER_BODY:{Tp(this,t);break}case b.IN_FRAMESET:{bp(this,t);break}case b.AFTER_FRAMESET:{Ap(this,t);break}case b.AFTER_AFTER_BODY:{Dp(this,t);break}case b.AFTER_AFTER_FRAMESET:{_p(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?kp(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case b.INITIAL:{Ot(this,t);break}case b.BEFORE_HTML:{am(this,t);break}case b.BEFORE_HEAD:{om(this,t);break}case b.IN_HEAD:{lm(this,t);break}case b.IN_HEAD_NO_SCRIPT:{fm(this,t);break}case b.AFTER_HEAD:{dm(this,t);break}case b.IN_BODY:{Nn(this,t);break}case b.TEXT:{Jm(this,t);break}case b.IN_TABLE:{Vt(this,t);break}case b.IN_TABLE_TEXT:{Rt(this,t);break}case b.IN_CAPTION:{lp(this,t);break}case b.IN_COLUMN_GROUP:{cp(this,t);break}case b.IN_TABLE_BODY:{br(this,t);break}case b.IN_ROW:{Ka(this,t);break}case b.IN_CELL:{hp(this,t);break}case b.IN_SELECT:{Za(this,t);break}case b.IN_SELECT_IN_TABLE:{mp(this,t);break}case b.IN_TEMPLATE:{Ep(this,t);break}case b.AFTER_BODY:{ts(this,t);break}case b.IN_FRAMESET:{gp(this,t);break}case b.AFTER_FRAMESET:{Cp(this,t);break}case b.AFTER_AFTER_BODY:{cn(this,t);break}}}onEof(t){switch(this.insertionMode){case b.INITIAL:{Ot(this,t);break}case b.BEFORE_HTML:{Mt(this,t);break}case b.BEFORE_HEAD:{vt(this,t);break}case b.IN_HEAD:{Ht(this,t);break}case b.IN_HEAD_NO_SCRIPT:{Ut(this,t);break}case b.AFTER_HEAD:{zt(this,t);break}case b.IN_BODY:case b.IN_TABLE:case b.IN_CAPTION:case b.IN_COLUMN_GROUP:case b.IN_TABLE_BODY:case b.IN_ROW:case b.IN_CELL:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:{Qa(this,t);break}case b.TEXT:{Zm(this,t);break}case b.IN_TABLE_TEXT:{Rt(this,t);break}case b.IN_TEMPLATE:{es(this,t);break}case b.AFTER_BODY:case b.IN_FRAMESET:case b.AFTER_FRAMESET:case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:{Yr(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===p.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:case b.TEXT:case b.IN_COLUMN_GROUP:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:case b.IN_FRAMESET:case b.AFTER_FRAMESET:{this._insertCharacters(t);break}case b.IN_BODY:case b.IN_CAPTION:case b.IN_CELL:case b.IN_TEMPLATE:case b.AFTER_BODY:case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:{Ya(this,t);break}case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:{er(this,t);break}case b.IN_TABLE_TEXT:{Ga(this,t);break}}}}function X1(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Wa(e,t),n}function K1(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const u=e.openElements.items[r];if(u===t.element)break;e._isSpecialElement(u,e.openElements.tagIDs[r])&&(n=u)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function J1(e,t,n){let r=t,u=e.openElements.getCommonAncestor(t);for(let i=0,a=u;a!==n;i++,a=u){u=e.openElements.getCommonAncestor(a);const o=e.activeFormattingElements.getElementEntry(a),l=o&&i>=G1;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=Z1(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function Z1(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 em(e,t,n){const r=e.treeAdapter.getTagName(t),u=xt(r);if(e._isElementCausesFosterParenting(u))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);u===s.TEMPLATE&&i===R.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function tm(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:u}=n,i=e.treeAdapter.createElement(u.tagName,r,u.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,u),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,u.tagID)}function zr(e,t){for(let n=0;n<Q1;n++){const r=X1(e,t);if(!r)break;const u=K1(e,r);if(!u)break;e.activeFormattingElements.bookmark=r;const i=J1(e,u,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),a&&em(e,a,i),tm(e,u,r)}}function Tr(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function nm(e,t){e._appendCommentNode(t,e.openElements.items[0])}function rm(e,t){e._appendCommentNode(t,e.document)}function Yr(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],u=e.treeAdapter.getNodeSourceCodeLocation(r);if(u&&!u.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(i);a&&!a.endTag&&e._setEndLocation(i,t)}}}}function um(e,t){e._setDocumentType(t);const n=t.forceQuirks?Fe.QUIRKS:P1(t);R1(t)||e._err(t,N.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=b.BEFORE_HTML}function Ot(e,t){e._err(t,N.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Fe.QUIRKS),e.insertionMode=b.BEFORE_HTML,e._processToken(t)}function im(e,t){t.tagID===s.HTML?(e._insertElement(t,R.HTML),e.insertionMode=b.BEFORE_HEAD):Mt(e,t)}function am(e,t){const n=t.tagID;(n===s.HTML||n===s.HEAD||n===s.BODY||n===s.BR)&&Mt(e,t)}function Mt(e,t){e._insertFakeRootElement(),e.insertionMode=b.BEFORE_HEAD,e._processToken(t)}function sm(e,t){switch(t.tagID){case s.HTML:{ge(e,t);break}case s.HEAD:{e._insertElement(t,R.HTML),e.headElement=e.openElements.current,e.insertionMode=b.IN_HEAD;break}default:vt(e,t)}}function om(e,t){const n=t.tagID;n===s.HEAD||n===s.BODY||n===s.HTML||n===s.BR?vt(e,t):e._err(t,N.endTagWithoutMatchingOpenElement)}function vt(e,t){e._insertFakeElement(D.HEAD,s.HEAD),e.headElement=e.openElements.current,e.insertionMode=b.IN_HEAD,e._processToken(t)}function Pe(e,t){switch(t.tagID){case s.HTML:{ge(e,t);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{e._appendElement(t,R.HTML),t.ackSelfClosing=!0;break}case s.TITLE:{e._switchToTextParsing(t,le.RCDATA);break}case s.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,le.RAWTEXT):(e._insertElement(t,R.HTML),e.insertionMode=b.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{e._switchToTextParsing(t,le.RAWTEXT);break}case s.SCRIPT:{e._switchToTextParsing(t,le.SCRIPT_DATA);break}case s.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=b.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(b.IN_TEMPLATE);break}case s.HEAD:{e._err(t,N.misplacedStartTagForHeadElement);break}default:Ht(e,t)}}function lm(e,t){switch(t.tagID){case s.HEAD:{e.openElements.pop(),e.insertionMode=b.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{Ht(e,t);break}case s.TEMPLATE:{lt(e,t);break}default:e._err(t,N.endTagWithoutMatchingOpenElement)}}function lt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==s.TEMPLATE&&e._err(t,N.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,N.endTagWithoutMatchingOpenElement)}function Ht(e,t){e.openElements.pop(),e.insertionMode=b.AFTER_HEAD,e._processToken(t)}function cm(e,t){switch(t.tagID){case s.HTML:{ge(e,t);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{Pe(e,t);break}case s.NOSCRIPT:{e._err(t,N.nestedNoscriptInHead);break}default:Ut(e,t)}}function fm(e,t){switch(t.tagID){case s.NOSCRIPT:{e.openElements.pop(),e.insertionMode=b.IN_HEAD;break}case s.BR:{Ut(e,t);break}default:e._err(t,N.endTagWithoutMatchingOpenElement)}}function Ut(e,t){const n=t.type===J.EOF?N.openElementsLeftAfterEof:N.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=b.IN_HEAD,e._processToken(t)}function hm(e,t){switch(t.tagID){case s.HTML:{ge(e,t);break}case s.BODY:{e._insertElement(t,R.HTML),e.framesetOk=!1,e.insertionMode=b.IN_BODY;break}case s.FRAMESET:{e._insertElement(t,R.HTML),e.insertionMode=b.IN_FRAMESET;break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{e._err(t,N.abandonedHeadElementChild),e.openElements.push(e.headElement,s.HEAD),Pe(e,t),e.openElements.remove(e.headElement);break}case s.HEAD:{e._err(t,N.misplacedStartTagForHeadElement);break}default:zt(e,t)}}function dm(e,t){switch(t.tagID){case s.BODY:case s.HTML:case s.BR:{zt(e,t);break}case s.TEMPLATE:{lt(e,t);break}default:e._err(t,N.endTagWithoutMatchingOpenElement)}}function zt(e,t){e._insertFakeElement(D.BODY,s.BODY),e.insertionMode=b.IN_BODY,In(e,t)}function In(e,t){switch(t.type){case J.CHARACTER:{qa(e,t);break}case J.WHITESPACE_CHARACTER:{Ya(e,t);break}case J.COMMENT:{Tr(e,t);break}case J.START_TAG:{ge(e,t);break}case J.END_TAG:{Nn(e,t);break}case J.EOF:{Qa(e,t);break}}}function Ya(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function qa(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function mm(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function pm(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Em(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,R.HTML),e.insertionMode=b.IN_FRAMESET)}function Tm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,R.HTML)}function bm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),Er.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,R.HTML)}function gm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,R.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Am(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,R.HTML),n||(e.formElement=e.openElements.current))}function Cm(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const u=e.openElements.tagIDs[r];if(n===s.LI&&u===s.LI||(n===s.DD||n===s.DT)&&(u===s.DD||u===s.DT)){e.openElements.generateImpliedEndTagsWithExclusion(u),e.openElements.popUntilTagNamePopped(u);break}if(u!==s.ADDRESS&&u!==s.DIV&&u!==s.P&&e._isSpecialElement(e.openElements.items[r],u))break}e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,R.HTML)}function Dm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,R.HTML),e.tokenizer.state=le.PLAINTEXT}function _m(e,t){e.openElements.hasInScope(s.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML),e.framesetOk=!1}function xm(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(D.A);n&&(zr(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Im(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Nm(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(s.NOBR)&&(zr(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,R.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function km(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Sm(e,t){e.treeAdapter.getDocumentMode(e.document)!==Fe.QUIRKS&&e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,R.HTML),e.framesetOk=!1,e.insertionMode=b.IN_TABLE}function ja(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,R.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Va(e){const t=Fa(e,at.TYPE);return t!=null&&t.toLowerCase()===W1}function ym(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,R.HTML),Va(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Fm(e,t){e._appendElement(t,R.HTML),t.ackSelfClosing=!0}function Lm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._appendElement(t,R.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Om(e,t){t.tagName=D.IMG,t.tagID=s.IMG,ja(e,t)}function Rm(e,t){e._insertElement(t,R.HTML),e.skipNextNewLine=!0,e.tokenizer.state=le.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=b.TEXT}function Pm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,le.RAWTEXT)}function wm(e,t){e.framesetOk=!1,e._switchToTextParsing(t,le.RAWTEXT)}function si(e,t){e._switchToTextParsing(t,le.RAWTEXT)}function Bm(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===b.IN_TABLE||e.insertionMode===b.IN_CAPTION||e.insertionMode===b.IN_TABLE_BODY||e.insertionMode===b.IN_ROW||e.insertionMode===b.IN_CELL?b.IN_SELECT_IN_TABLE:b.IN_SELECT}function Mm(e,t){e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML)}function vm(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,R.HTML)}function Hm(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(s.RTC),e._insertElement(t,R.HTML)}function Um(e,t){e._reconstructActiveFormattingElements(),Ha(t),Ur(t),t.selfClosing?e._appendElement(t,R.MATHML):e._insertElement(t,R.MATHML),t.ackSelfClosing=!0}function zm(e,t){e._reconstructActiveFormattingElements(),Ua(t),Ur(t),t.selfClosing?e._appendElement(t,R.SVG):e._insertElement(t,R.SVG),t.ackSelfClosing=!0}function oi(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,R.HTML)}function ge(e,t){switch(t.tagID){case s.I:case s.S:case s.B:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.SMALL:case s.STRIKE:case s.STRONG:{Im(e,t);break}case s.A:{xm(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{bm(e,t);break}case s.P:case s.DL:case s.OL:case s.UL:case s.DIV:case s.DIR:case s.NAV:case s.MAIN:case s.MENU:case s.ASIDE:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.DETAILS:case s.ADDRESS:case s.ARTICLE:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{Tm(e,t);break}case s.LI:case s.DD:case s.DT:{Cm(e,t);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{ja(e,t);break}case s.HR:{Lm(e,t);break}case s.RB:case s.RTC:{vm(e,t);break}case s.RT:case s.RP:{Hm(e,t);break}case s.PRE:case s.LISTING:{gm(e,t);break}case s.XMP:{Pm(e,t);break}case s.SVG:{zm(e,t);break}case s.HTML:{mm(e,t);break}case s.BASE:case s.LINK:case s.META:case s.STYLE:case s.TITLE:case s.SCRIPT:case s.BGSOUND:case s.BASEFONT:case s.TEMPLATE:{Pe(e,t);break}case s.BODY:{pm(e,t);break}case s.FORM:{Am(e,t);break}case s.NOBR:{Nm(e,t);break}case s.MATH:{Um(e,t);break}case s.TABLE:{Sm(e,t);break}case s.INPUT:{ym(e,t);break}case s.PARAM:case s.TRACK:case s.SOURCE:{Fm(e,t);break}case s.IMAGE:{Om(e,t);break}case s.BUTTON:{_m(e,t);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{km(e,t);break}case s.IFRAME:{wm(e,t);break}case s.SELECT:{Bm(e,t);break}case s.OPTION:case s.OPTGROUP:{Mm(e,t);break}case s.NOEMBED:case s.NOFRAMES:{si(e,t);break}case s.FRAMESET:{Em(e,t);break}case s.TEXTAREA:{Rm(e,t);break}case s.NOSCRIPT:{e.options.scriptingEnabled?si(e,t):oi(e,t);break}case s.PLAINTEXT:{Dm(e,t);break}case s.COL:case s.TH:case s.TD:case s.TR:case s.HEAD:case s.FRAME:case s.TBODY:case s.TFOOT:case s.THEAD:case s.CAPTION:case s.COLGROUP:break;default:oi(e,t)}}function Ym(e,t){if(e.openElements.hasInScope(s.BODY)&&(e.insertionMode=b.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function qm(e,t){e.openElements.hasInScope(s.BODY)&&(e.insertionMode=b.AFTER_BODY,ts(e,t))}function jm(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Vm(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(s.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(s.FORM):n&&e.openElements.remove(n))}function Wm(e){e.openElements.hasInButtonScope(s.P)||e._insertFakeElement(D.P,s.P),e._closePElement()}function Qm(e){e.openElements.hasInListItemScope(s.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(s.LI),e.openElements.popUntilTagNamePopped(s.LI))}function Gm(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function $m(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Xm(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Km(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(D.BR,s.BR),e.openElements.pop(),e.framesetOk=!1}function Wa(e,t){const n=t.tagName,r=t.tagID;for(let u=e.openElements.stackTop;u>0;u--){const i=e.openElements.items[u],a=e.openElements.tagIDs[u];if(r===a&&(r!==s.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=u&&e.openElements.shortenToLength(u);break}if(e._isSpecialElement(i,a))break}}function Nn(e,t){switch(t.tagID){case s.A:case s.B:case s.I:case s.S:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.NOBR:case s.SMALL:case s.STRIKE:case s.STRONG:{zr(e,t);break}case s.P:{Wm(e);break}case s.DL:case s.UL:case s.OL:case s.DIR:case s.DIV:case s.NAV:case s.PRE:case s.MAIN:case s.MENU:case s.ASIDE:case s.BUTTON:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.ADDRESS:case s.ARTICLE:case s.DETAILS:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.LISTING:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{jm(e,t);break}case s.LI:{Qm(e);break}case s.DD:case s.DT:{Gm(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{$m(e);break}case s.BR:{Km(e);break}case s.BODY:{Ym(e,t);break}case s.HTML:{qm(e,t);break}case s.FORM:{Vm(e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{Xm(e,t);break}case s.TEMPLATE:{lt(e,t);break}default:Wa(e,t)}}function Qa(e,t){e.tmplInsertionModeStack.length>0?es(e,t):Yr(e,t)}function Jm(e,t){var n;t.tagID===s.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Zm(e,t){e._err(t,N.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function er(e,t){if(za.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=b.IN_TABLE_TEXT,t.type){case J.CHARACTER:{$a(e,t);break}case J.WHITESPACE_CHARACTER:{Ga(e,t);break}}else Kt(e,t)}function ep(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,R.HTML),e.insertionMode=b.IN_CAPTION}function tp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,R.HTML),e.insertionMode=b.IN_COLUMN_GROUP}function np(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(D.COLGROUP,s.COLGROUP),e.insertionMode=b.IN_COLUMN_GROUP,qr(e,t)}function rp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,R.HTML),e.insertionMode=b.IN_TABLE_BODY}function up(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(D.TBODY,s.TBODY),e.insertionMode=b.IN_TABLE_BODY,kn(e,t)}function ip(e,t){e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function ap(e,t){Va(t)?e._appendElement(t,R.HTML):Kt(e,t),t.ackSelfClosing=!0}function sp(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,R.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function bt(e,t){switch(t.tagID){case s.TD:case s.TH:case s.TR:{up(e,t);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{Pe(e,t);break}case s.COL:{np(e,t);break}case s.FORM:{sp(e,t);break}case s.TABLE:{ip(e,t);break}case s.TBODY:case s.TFOOT:case s.THEAD:{rp(e,t);break}case s.INPUT:{ap(e,t);break}case s.CAPTION:{ep(e,t);break}case s.COLGROUP:{tp(e,t);break}default:Kt(e,t)}}function Vt(e,t){switch(t.tagID){case s.TABLE:{e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode());break}case s.TEMPLATE:{lt(e,t);break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:Kt(e,t)}}function Kt(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,In(e,t),e.fosterParentingEnabled=n}function Ga(e,t){e.pendingCharacterTokens.push(t)}function $a(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Rt(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Kt(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Xa=new Set([s.CAPTION,s.COL,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]);function op(e,t){const n=t.tagID;Xa.has(n)?e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=b.IN_TABLE,bt(e,t)):ge(e,t)}function lp(e,t){const n=t.tagID;switch(n){case s.CAPTION:case s.TABLE:{e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=b.IN_TABLE,n===s.TABLE&&Vt(e,t));break}case s.BODY:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:Nn(e,t)}}function qr(e,t){switch(t.tagID){case s.HTML:{ge(e,t);break}case s.COL:{e._appendElement(t,R.HTML),t.ackSelfClosing=!0;break}case s.TEMPLATE:{Pe(e,t);break}default:En(e,t)}}function cp(e,t){switch(t.tagID){case s.COLGROUP:{e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=b.IN_TABLE);break}case s.TEMPLATE:{lt(e,t);break}case s.COL:break;default:En(e,t)}}function En(e,t){e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=b.IN_TABLE,e._processToken(t))}function kn(e,t){switch(t.tagID){case s.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,R.HTML),e.insertionMode=b.IN_ROW;break}case s.TH:case s.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(D.TR,s.TR),e.insertionMode=b.IN_ROW,Sn(e,t);break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE,bt(e,t));break}default:bt(e,t)}}function br(e,t){const n=t.tagID;switch(t.tagID){case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE);break}case s.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE,Vt(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:case s.TR:break;default:Vt(e,t)}}function Sn(e,t){switch(t.tagID){case s.TH:case s.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,R.HTML),e.insertionMode=b.IN_CELL,e.activeFormattingElements.insertMarker();break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE_BODY,kn(e,t));break}default:bt(e,t)}}function Ka(e,t){switch(t.tagID){case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE_BODY);break}case s.TABLE:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE_BODY,br(e,t));break}case s.TBODY:case s.TFOOT:case s.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(s.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE_BODY,br(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:break;default:Vt(e,t)}}function fp(e,t){const n=t.tagID;Xa.has(n)?(e.openElements.hasInTableScope(s.TD)||e.openElements.hasInTableScope(s.TH))&&(e._closeTableCell(),Sn(e,t)):ge(e,t)}function hp(e,t){const n=t.tagID;switch(n){case s.TD:case s.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=b.IN_ROW);break}case s.TABLE:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Ka(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:break;default:Nn(e,t)}}function Ja(e,t){switch(t.tagID){case s.HTML:{ge(e,t);break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._insertElement(t,R.HTML);break}case s.OPTGROUP:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._insertElement(t,R.HTML);break}case s.HR:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._appendElement(t,R.HTML),t.ackSelfClosing=!0;break}case s.INPUT:case s.KEYGEN:case s.TEXTAREA:case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),t.tagID!==s.SELECT&&e._processStartTag(t));break}case s.SCRIPT:case s.TEMPLATE:{Pe(e,t);break}}}function Za(e,t){switch(t.tagID){case s.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===s.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===s.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop();break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop();break}case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode());break}case s.TEMPLATE:{lt(e,t);break}}}function dp(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Ja(e,t)}function mp(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Za(e,t)}function pp(e,t){switch(t.tagID){case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{Pe(e,t);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.tmplInsertionModeStack[0]=b.IN_TABLE,e.insertionMode=b.IN_TABLE,bt(e,t);break}case s.COL:{e.tmplInsertionModeStack[0]=b.IN_COLUMN_GROUP,e.insertionMode=b.IN_COLUMN_GROUP,qr(e,t);break}case s.TR:{e.tmplInsertionModeStack[0]=b.IN_TABLE_BODY,e.insertionMode=b.IN_TABLE_BODY,kn(e,t);break}case s.TD:case s.TH:{e.tmplInsertionModeStack[0]=b.IN_ROW,e.insertionMode=b.IN_ROW,Sn(e,t);break}default:e.tmplInsertionModeStack[0]=b.IN_BODY,e.insertionMode=b.IN_BODY,ge(e,t)}}function Ep(e,t){t.tagID===s.TEMPLATE&<(e,t)}function es(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Yr(e,t)}function Tp(e,t){t.tagID===s.HTML?ge(e,t):Tn(e,t)}function ts(e,t){var n;if(t.tagID===s.HTML){if(e.fragmentContext||(e.insertionMode=b.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===s.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else Tn(e,t)}function Tn(e,t){e.insertionMode=b.IN_BODY,In(e,t)}function bp(e,t){switch(t.tagID){case s.HTML:{ge(e,t);break}case s.FRAMESET:{e._insertElement(t,R.HTML);break}case s.FRAME:{e._appendElement(t,R.HTML),t.ackSelfClosing=!0;break}case s.NOFRAMES:{Pe(e,t);break}}}function gp(e,t){t.tagID===s.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==s.FRAMESET&&(e.insertionMode=b.AFTER_FRAMESET))}function Ap(e,t){switch(t.tagID){case s.HTML:{ge(e,t);break}case s.NOFRAMES:{Pe(e,t);break}}}function Cp(e,t){t.tagID===s.HTML&&(e.insertionMode=b.AFTER_AFTER_FRAMESET)}function Dp(e,t){t.tagID===s.HTML?ge(e,t):cn(e,t)}function cn(e,t){e.insertionMode=b.IN_BODY,In(e,t)}function _p(e,t){switch(t.tagID){case s.HTML:{ge(e,t);break}case s.NOFRAMES:{Pe(e,t);break}}}function xp(e,t){t.chars=se,e._insertCharacters(t)}function Ip(e,t){e._insertCharacters(t),e.framesetOk=!1}function ns(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==R.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Np(e,t){if(z1(t))ns(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===R.MATHML?Ha(t):r===R.SVG&&(Y1(t),Ua(t)),Ur(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function kp(e,t){if(t.tagID===s.P||t.tagID===s.BR){ns(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===R.HTML){e._endTagOutsideForeignContent(t);break}const u=e.treeAdapter.getTagName(r);if(u.toLowerCase()===t.tagName){t.tagName=u,e.openElements.shortenToLength(n);break}}}D.AREA,D.BASE,D.BASEFONT,D.BGSOUND,D.BR,D.COL,D.EMBED,D.FRAME,D.HR,D.IMG,D.INPUT,D.KEYGEN,D.LINK,D.META,D.PARAM,D.SOURCE,D.TRACK,D.WBR;const Sp=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,yp=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),li={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function rs(e,t){const n=Hp(e),r=Cr("type",{handlers:{root:Fp,element:Lp,text:Op,comment:is,doctype:Rp,raw:wp},unknown:Bp}),u={parser:n?new ai(li):ai.getFragmentParser(void 0,li),handle(o){r(o,u)},stitches:!1,options:t||{}};r(e,u),It(u,Ue());const i=n?u.parser.document:u.parser.getFragment(),a=Ud(i,{file:u.options.file});return u.stitches&&_e(a,"comment",function(o,l,c){const h=o;if(h.value.stitch&&c&&l!==void 0){const f=c.children;return f[l]=h.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function us(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Fp(e,t){us(e.children,t)}function Lp(e,t){Mp(e,t),us(e.children,t),vp(e,t)}function Op(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:J.CHARACTER,chars:e.value,location:Jt(e)};It(t,Ue(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Rp(e,t){const n={type:J.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Jt(e)};It(t,Ue(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Pp(e,t){t.stitches=!0;const n=Up(e);if("children"in e&&"children"in n){const r=rs({type:"root",children:e.children},t.options);n.children=r.children}is({type:"comment",value:{stitch:n}},t)}function is(e,t){const n=e.value,r={type:J.COMMENT,data:n,location:Jt(e)};It(t,Ue(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function wp(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,as(t,Ue(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Sp,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function Bp(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))Pp(n,t);else{let r="";throw yp.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function It(e,t){as(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=le.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 as(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function Mp(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===le.PLAINTEXT)return;It(t,Ue(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:it.html;u===it.html&&n==="svg"&&(u=it.svg);const i=Vd({...e,children:[]},{space:u===it.svg?"svg":"html"}),a={type:J.START_TAG,tagName:n,tagID:xt(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:Jt(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function vp(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Zd.includes(n)||t.parser.tokenizer.state===le.PLAINTEXT)return;It(t,Dn(e));const r={type:J.END_TAG,tagName:n,tagID:xt(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Jt(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===le.RCDATA||t.parser.tokenizer.state===le.RAWTEXT||t.parser.tokenizer.state===le.SCRIPT_DATA)&&(t.parser.tokenizer.state=le.DATA)}function Hp(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Jt(e){const t=Ue(e)||{line:void 0,column:void 0,offset:void 0},n=Dn(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 Up(e){return"children"in e?Qe({...e,children:[]}):Qe(e)}function zp(e){return function(t,n){return rs(t,{...e,file:n})}}const ss=function(e){if(e==null)return jp;if(typeof e=="string")return qp(e);if(typeof e=="object")return Yp(e);if(typeof e=="function")return jr(e);throw new Error("Expected function, string, or array as `test`")};function Yp(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=ss(e[n]);return jr(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function qp(e){return jr(t);function t(n){return n.tagName===e}}function jr(e){return t;function t(n,r,u){return!!(Vp(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function jp(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function Vp(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const Wp=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,Qp=/^[a-zA-Z]:\\/;function Gp(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return Qp.test(e)?!1:Wp.test(e)}const $p=["http","https"],Xp=["nofollow"],Kp={};function Jp(e){const t=e||Kp,n=t.protocols||$p,r=ss(t.test);return function(u){_e(u,"element",function(i,a,o){if(i.tagName==="a"&&typeof i.properties.href=="string"&&r(i,a,o)){const l=i.properties.href;if(Gp(l)?n.includes(l.slice(0,l.indexOf(":"))):l.startsWith("//")){const c=Pt(t.content,i),h=c&&!Array.isArray(c)?[c]:c,f=Pt(t.rel,i)||Xp,m=typeof f=="string"?hr(f):f,d=Pt(t.target,i),A=Pt(t.properties,i);if(A&&Object.assign(i.properties,Qe(A)),m.length>0&&(i.properties.rel=[...m]),d&&(i.properties.target=d),h){const _=Pt(t.contentProperties,i)||{};i.children.push({type:"element",tagName:"span",properties:Qe(_),children:Qe(h)})}}}})}}function Pt(e,t){return typeof e=="function"?e(t):e}function os(e){const t=e.type==="element"?e.tagName.toLowerCase():"",n=t.length===2&&t.charCodeAt(0)===104?t.charCodeAt(1):0;return n>48&&n<55?n-48:void 0}function Zp(e,t){if(typeof t!="number"||!t||!Number.isFinite(t)||Math.floor(t)!==t)throw new Error("Expected a non-null finite integer, not `"+t+"`");_e(e,"element",function(n){let r=os(n);r&&(r+=t,n.tagName="h"+(r>6?6:r<1?1:r))})}const eE={};function tE(e){const t=(e||eE).shift||0;return function(n){t&&Zp(n,t)}}const nE=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,rE=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,uE={};function ci(e,t){return(uE.jsx?rE:nE).test(e)}const iE=/[ \t\n\f\r]/g;function aE(e){return typeof e=="object"?e.type==="text"?fi(e.value):!1:fi(e)}function fi(e){return e.replace(iE,"")===""}var dt={},tr,hi;function sE(){if(hi)return tr;hi=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
|
|
73
|
-
`,c="/",h="*",f="",m="comment",d="declaration";tr=function(_,S){if(typeof _!="string")throw new TypeError("First argument must be a string");if(!_)return[];S=S||{};var x=1,F=1;function L(B){var H=B.match(t);H&&(x+=H.length);var C=B.lastIndexOf(l);F=~C?B.length-C:F+B.length}function z(){var B={line:x,column:F};return function(H){return H.position=new q(B),V(),H}}function q(B){this.start=B,this.end={line:x,column:F},this.source=S.source}q.prototype.content=_;function k(B){var H=new Error(S.source+":"+x+":"+F+": "+B);if(H.reason=B,H.filename=S.source,H.line=x,H.column=F,H.source=_,!S.silent)throw H}function j(B){var H=B.exec(_);if(H){var C=H[0];return L(C),_=_.slice(C.length),H}}function V(){j(n)}function O(B){var H;for(B=B||[];H=I();)H!==!1&&B.push(H);return B}function I(){var B=z();if(!(c!=_.charAt(0)||h!=_.charAt(1))){for(var H=2;f!=_.charAt(H)&&(h!=_.charAt(H)||c!=_.charAt(H+1));)++H;if(H+=2,f===_.charAt(H-1))return k("End of comment missing");var C=_.slice(2,H-2);return F+=2,L(C),_=_.slice(H),F+=2,B({type:m,comment:C})}}function v(){var B=z(),H=j(r);if(H){if(I(),!j(u))return k("property missing ':'");var C=j(i),X=B({type:d,property:A(H[0].replace(e,f)),value:C?A(C[0].replace(e,f)):f});return j(a),X}}function U(){var B=[];O(B);for(var H;H=v();)H!==!1&&(B.push(H),O(B));return B}return V(),U()};function A(_){return _?_.replace(o,f):f}return tr}var di;function oE(){if(di)return dt;di=1;var e=dt&&dt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(dt,"__esModule",{value:!0}),dt.default=n;var t=e(sE());function n(r,u){var i=null;if(!r||typeof r!="string")return i;var a=(0,t.default)(r),o=typeof u=="function";return a.forEach(function(l){if(l.type==="declaration"){var c=l.property,h=l.value;o?u(c,h,l):h&&(i=i||{},i[c]=h)}}),i}return dt}var lE=oE();const mi=gr(lE),cE=mi.default||mi,Vr={}.hasOwnProperty,fE=new Map,hE=/[A-Z]/g,dE=/-([a-z])/g,mE=new Set(["table","tbody","thead","tfoot","tr"]),pE=new Set(["td","th"]),ls="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function EE(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=xE(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=_E(n,t.jsx,t.jsxs)}const u={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?tt:Xt,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=cs(u,e,void 0);return i&&typeof i!="string"?i:u.create(e,u.Fragment,{children:i||void 0},void 0)}function cs(e,t,n){if(t.type==="element")return TE(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return bE(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return AE(e,t,n);if(t.type==="mdxjsEsm")return gE(e,t);if(t.type==="root")return CE(e,t,n);if(t.type==="text")return DE(e,t)}function TE(e,t,n){const r=e.schema;let u=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(u=tt,e.schema=u),e.ancestors.push(t);const i=hs(e,t.tagName,!1),a=IE(e,t);let o=Qr(e,t);return mE.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!aE(l):!0})),fs(e,a,i,t),Wr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function bE(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Wt(e,t.position)}function gE(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Wt(e,t.position)}function AE(e,t,n){const r=e.schema;let u=r;t.name==="svg"&&r.space==="html"&&(u=tt,e.schema=u),e.ancestors.push(t);const i=t.name===null?e.Fragment:hs(e,t.name,!0),a=NE(e,t),o=Qr(e,t);return fs(e,a,i,t),Wr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function CE(e,t,n){const r={};return Wr(r,Qr(e,t)),e.create(t,e.Fragment,r,n)}function DE(e,t){return t.value}function fs(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Wr(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function _E(e,t,n){return r;function r(u,i,a,o){const c=Array.isArray(a.children)?n:t;return o?c(i,a,o):c(i,a)}}function xE(e,t){return n;function n(r,u,i,a){const o=Array.isArray(i.children),l=Ue(r);return t(u,i,a,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function IE(e,t){const n={};let r,u;for(u in t.properties)if(u!=="children"&&Vr.call(t.properties,u)){const i=kE(e,u,t.properties[u]);if(i){const[a,o]=i;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&pE.has(t.tagName)?r=o:n[a]=o}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function NE(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const a=i.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else Wt(e,t.position);else{const u=r.name;let i;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,i=e.evaluater.evaluateExpression(o.expression)}else Wt(e,t.position);else i=r.value===null?!0:r.value;n[u]=i}return n}function Qr(e,t){const n=[];let r=-1;const u=e.passKeys?new Map:fE;for(;++r<t.children.length;){const i=t.children[r];let a;if(e.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const c=u.get(l)||0;a=l+"-"+c,u.set(l,c+1)}}const o=cs(e,i,a);o!==void 0&&n.push(o)}return n}function kE(e,t,n){const r=xn(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Ca(n):Da(n)),r.property==="style"){let u=typeof n=="object"?n:SE(e,String(n));return e.stylePropertyNameCase==="css"&&(u=yE(u)),["style",u]}return[e.elementAttributeNameCase==="react"&&r.space?Fd[r.property]||r.property:r.attribute,n]}}function SE(e,t){const n={};try{cE(t,r)}catch(u){if(!e.ignoreInvalidStyle){const i=u,a=new be("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=ls+"#cannot-parse-style-attribute",a}}return n;function r(u,i){let a=u;a.slice(0,2)!=="--"&&(a.slice(0,4)==="-ms-"&&(a="ms-"+a.slice(4)),a=a.replace(dE,LE)),n[a]=i}}function hs(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const u=t.split(".");let i=-1,a;for(;++i<u.length;){const o=ci(u[i])?{type:"Identifier",name:u[i]}:{type:"Literal",value:u[i]};a=a?{type:"MemberExpression",object:a,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}r=a}else r=ci(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const u=r.value;return Vr.call(e.components,u)?e.components[u]:u}if(e.evaluater)return e.evaluater.evaluateExpression(r);Wt(e)}function Wt(e,t){const n=new be("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=ls+"#cannot-handle-mdx-estrees-without-createevaluater",n}function yE(e){const t={};let n;for(n in e)Vr.call(e,n)&&(t[FE(n)]=e[n]);return t}function FE(e){let t=e.replace(hE,OE);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function LE(e,t){return t.toUpperCase()}function OE(e){return"-"+e.toLowerCase()}function RE(e){const t=this;t.compiler=n;function n(r,u){return EE(r,{filePath:u.path,...e})}}const PE=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,wE=Object.hasOwnProperty;class ds{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let u=BE(t,n===!0);const i=u;for(;wE.call(r.occurrences,u);)r.occurrences[i]++,u=i+"-"+r.occurrences[i];return r.occurrences[u]=0,u}reset(){this.occurrences=Object.create(null)}}function BE(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(PE,"").replace(/ /g,"-"))}function ME(e){return"children"in e?ms(e):"value"in e?e.value:""}function vE(e){return e.type==="text"?e.value:"children"in e?ms(e):""}function ms(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=vE(e.children[t]);return n.join("")}const HE={},pi=new ds;function UE(e){const n=(e||HE).prefix||"";return function(r){pi.reset(),_e(r,"element",function(u){os(u)&&!u.properties.id&&(u.properties.id=n+pi.slug(ME(u)))})}}const gt=(...e)=>e.filter(Boolean).join(" "),zE=e=>{const t=[],n=[];let r=-1,u=-1;for(const{children:i,...a}of e){if(r<a.depth&&a.depth<=u+1){const o=a.depth-r;u=a.depth,(n[o-1].children??[]).push(a),n[o]=a;continue}t.push(a),n[0]=a,r=u=a.depth}return t};var Ei;(e=>{e.clickable=`
|
|
55
|
+
`},u),i}function bd(e,t){return e&&"run"in e?async function(n,r){const u=qu(n,{file:r,...t});await e.run(u,r)}:function(n,r){return qu(n,{file:r,...e||t})}}function gd(e){Gi(e,[/\r?\n|\r/g,Ad])}function Ad(){return{type:"break"}}function Cd(){return function(e){gd(e)}}class Gt{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Gt.prototype.property={};Gt.prototype.normal={};Gt.prototype.space=null;function da(e,t){const n={},r={};let u=-1;for(;++u<e.length;)Object.assign(n,e[u].property),Object.assign(r,e[u].normal);return new Gt(n,r,t)}function qt(e){return e.toLowerCase()}class Le{constructor(t,n){this.property=t,this.attribute=n}}Le.prototype.space=null;Le.prototype.boolean=!1;Le.prototype.booleanish=!1;Le.prototype.overloadedBoolean=!1;Le.prototype.number=!1;Le.prototype.commaSeparated=!1;Le.prototype.spaceSeparated=!1;Le.prototype.commaOrSpaceSeparated=!1;Le.prototype.mustUseProperty=!1;Le.prototype.defined=!1;let Dd=0;const $=ot(),he=ot(),ma=ot(),B=ot(),ae=ot(),pt=ot(),Ie=ot();function ot(){return 2**++Dd}const fr=Object.freeze(Object.defineProperty({__proto__:null,boolean:$,booleanish:he,commaOrSpaceSeparated:Ie,commaSeparated:pt,number:B,overloadedBoolean:ma,spaceSeparated:ae},Symbol.toStringTag,{value:"Module"})),Kn=Object.keys(fr);class Mr extends Le{constructor(t,n,r,u){let i=-1;if(super(t,n),ju(this,"space",u),typeof r=="number")for(;++i<Kn.length;){const a=Kn[i];ju(this,Kn[i],(r&fr[a])===fr[a])}}}Mr.prototype.defined=!0;function ju(e,t,n){n&&(e[t]=n)}const _d={}.hasOwnProperty;function Ct(e){const t={},n={};let r;for(r in e.properties)if(_d.call(e.properties,r)){const u=e.properties[r],i=new Mr(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[qt(r)]=r,n[qt(i.attribute)]=r}return new Gt(t,n,e.space)}const pa=Ct({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}}),Ea=Ct({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ta(e,t){return t in e?e[t]:t}function ba(e,t){return Ta(e,t.toLowerCase())}const ga=Ct({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:ba,properties:{xmlns:null,xmlnsXLink:null}}),Aa=Ct({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:he,ariaAutoComplete:null,ariaBusy:he,ariaChecked:he,ariaColCount:B,ariaColIndex:B,ariaColSpan:B,ariaControls:ae,ariaCurrent:null,ariaDescribedBy:ae,ariaDetails:null,ariaDisabled:he,ariaDropEffect:ae,ariaErrorMessage:null,ariaExpanded:he,ariaFlowTo:ae,ariaGrabbed:he,ariaHasPopup:null,ariaHidden:he,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ae,ariaLevel:B,ariaLive:null,ariaModal:he,ariaMultiLine:he,ariaMultiSelectable:he,ariaOrientation:null,ariaOwns:ae,ariaPlaceholder:null,ariaPosInSet:B,ariaPressed:he,ariaReadOnly:he,ariaRelevant:null,ariaRequired:he,ariaRoleDescription:ae,ariaRowCount:B,ariaRowIndex:B,ariaRowSpan:B,ariaSelected:he,ariaSetSize:B,ariaSort:null,ariaValueMax:B,ariaValueMin:B,ariaValueNow:B,ariaValueText:null,role:null}}),xd=Ct({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:ba,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pt,acceptCharset:ae,accessKey:ae,action:null,allow:null,allowFullScreen:$,allowPaymentRequest:$,allowUserMedia:$,alt:null,as:null,async:$,autoCapitalize:null,autoComplete:ae,autoFocus:$,autoPlay:$,blocking:ae,capture:null,charSet:null,checked:$,cite:null,className:ae,cols:B,colSpan:null,content:null,contentEditable:he,controls:$,controlsList:ae,coords:B|pt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:$,defer:$,dir:null,dirName:null,disabled:$,download:ma,draggable:he,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:$,formTarget:null,headers:ae,height:B,hidden:$,high:B,href:null,hrefLang:null,htmlFor:ae,httpEquiv:ae,id:null,imageSizes:null,imageSrcSet:null,inert:$,inputMode:null,integrity:null,is:null,isMap:$,itemId:null,itemProp:ae,itemRef:ae,itemScope:$,itemType:ae,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:$,low:B,manifest:null,max:null,maxLength:B,media:null,method:null,min:null,minLength:B,multiple:$,muted:$,name:null,nonce:null,noModule:$,noValidate:$,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:$,optimum:B,pattern:null,ping:ae,placeholder:null,playsInline:$,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:$,referrerPolicy:null,rel:ae,required:$,reversed:$,rows:B,rowSpan:B,sandbox:ae,scope:null,scoped:$,seamless:$,selected:$,shadowRootClonable:$,shadowRootDelegatesFocus:$,shadowRootMode:null,shape:null,size:B,sizes:null,slot:null,span:B,spellCheck:he,src:null,srcDoc:null,srcLang:null,srcSet:null,start:B,step:null,style:null,tabIndex:B,target:null,title:null,translate:null,type:null,typeMustMatch:$,useMap:null,value:he,width:B,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ae,axis:null,background:null,bgColor:null,border:B,borderColor:null,bottomMargin:B,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:$,declare:$,event:null,face:null,frame:null,frameBorder:null,hSpace:B,leftMargin:B,link:null,longDesc:null,lowSrc:null,marginHeight:B,marginWidth:B,noResize:$,noHref:$,noShade:$,noWrap:$,object:null,profile:null,prompt:null,rev:null,rightMargin:B,rules:null,scheme:null,scrolling:he,standby:null,summary:null,text:null,topMargin:B,valueType:null,version:null,vAlign:null,vLink:null,vSpace:B,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:$,disableRemotePlayback:$,prefix:null,property:null,results:B,security:null,unselectable:null}}),Id=Ct({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:Ta,properties:{about:Ie,accentHeight:B,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:B,amplitude:B,arabicForm:null,ascent:B,attributeName:null,attributeType:null,azimuth:B,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:B,by:null,calcMode:null,capHeight:B,className:ae,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:B,diffuseConstant:B,direction:null,display:null,dur:null,divisor:B,dominantBaseline:null,download:$,dx:null,dy:null,edgeMode:null,editable:null,elevation:B,enableBackground:null,end:null,event:null,exponent:B,externalResourcesRequired:null,fill:null,fillOpacity:B,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:pt,g2:pt,glyphName:pt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:B,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:B,horizOriginX:B,horizOriginY:B,id:null,ideographic:B,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:B,k:B,k1:B,k2:B,k3:B,k4:B,kernelMatrix:Ie,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:B,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:B,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:B,overlineThickness:B,paintOrder:null,panose1:null,path:null,pathLength:B,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ae,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:B,pointsAtY:B,pointsAtZ:B,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ie,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ie,rev:Ie,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ie,requiredFeatures:Ie,requiredFonts:Ie,requiredFormats:Ie,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:B,specularExponent:B,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:B,strikethroughThickness:B,string:null,stroke:null,strokeDashArray:Ie,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:B,strokeOpacity:B,strokeWidth:null,style:null,surfaceScale:B,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ie,tabIndex:B,tableValues:null,target:null,targetX:B,targetY:B,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ie,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:B,underlineThickness:B,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:B,values:null,vAlphabetic:B,vMathematical:B,vectorEffect:null,vHanging:B,vIdeographic:B,version:null,vertAdvY:B,vertOriginX:B,vertOriginY:B,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:B,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Nd=/^data[-\w.:]+$/i,Vu=/-[a-z]/g,kd=/[A-Z]/g;function xn(e,t){const n=qt(t);let r=t,u=Le;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Nd.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Vu,yd);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Vu.test(i)){let a=i.replace(kd,Sd);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}u=Mr}return new u(r,t)}function Sd(e){return"-"+e.toLowerCase()}function yd(e){return e.charAt(1).toUpperCase()}const Fd={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"},$t=da([Ea,pa,ga,Aa,xd],"html"),tt=da([Ea,pa,ga,Aa,Id],"svg");function Wu(e){const t=[],n=String(e||"");let r=n.indexOf(","),u=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const a=n.slice(u,r).trim();(a||!i)&&t.push(a),u=r+1,r=n.indexOf(",",u)}return t}function Ca(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Qu=/[#.]/g;function Ld(e,t){const n=e||"",r={};let u=0,i,a;for(;u<n.length;){Qu.lastIndex=u;const o=Qu.exec(n),l=n.slice(u,o?o.index:n.length);l&&(i?i==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:a=l,u+=l.length),o&&(i=o[0],u++)}return{type:"element",tagName:a||t||"div",properties:r,children:[]}}function hr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Da(e){return e.join(" ").trim()}const dr={}.hasOwnProperty;function _a(e,t,n){const r=n&&wd(n);function u(i,a,...o){let l=-1,c;if(i==null){c={type:"root",children:[]};const h=a;o.unshift(h)}else if(c=Ld(i,t),c.tagName=c.tagName.toLowerCase(),r&&dr.call(r,c.tagName)&&(c.tagName=r[c.tagName]),Od(a))o.unshift(a);else{let h;for(h in a)dr.call(a,h)&&Rd(e,c.properties,h,a[h])}for(;++l<o.length;)mr(c.children,o[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return u}function Od(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const u=t[r];if(u&&typeof u=="object"){if(!Array.isArray(u))return!0;const i=u;for(const a of i)if(typeof a!="number"&&typeof a!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function Rd(e,t,n,r){const u=xn(e,n);let i=-1,a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?u.spaceSeparated?a=hr(r):u.commaSeparated?a=Wu(r):u.commaOrSpaceSeparated?a=hr(Wu(r).join(" ")):a=Gu(u,u.property,r):Array.isArray(r)?a=r.concat():a=u.property==="style"?Pd(r):String(r);if(Array.isArray(a)){const o=[];for(;++i<a.length;){const l=Gu(u,u.property,a[i]);o[i]=l}a=o}if(u.property==="className"&&Array.isArray(t.className)){const o=a;a=t.className.concat(o)}t[u.property]=a}}function mr(e,t){let n=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)mr(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?mr(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Gu(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||qt(n)===qt(t)))return!0}return n}function Pd(e){const t=[];let n;for(n in e)dr.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function wd(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const Bd=["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"],ve=_a($t,"div"),Md=_a(tt,"g",Bd);function vd(e){const t=String(e),n=[];return{toOffset:u,toPoint:r};function r(i){if(typeof i=="number"&&i>-1&&i<=t.length){let a=0;for(;;){let o=n[a];if(o===void 0){const l=$u(t,n[a-1]);o=l===-1?t.length+1:l+1,n[a]=o}if(o>i)return{line:a+1,column:i-(a>0?n[a-1]:0)+1,offset:i};a++}}}function u(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length<i.line;){const o=n[n.length-1],l=$u(t,o),c=l===-1?t.length+1:l+1;if(o===c)break;n.push(c)}const a=(i.line>1?n[i.line-2]:0)+i.column-1;if(a<n[i.line-1])return a}}}function $u(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
56
|
+
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const it={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/"},xa={}.hasOwnProperty,Hd=Object.prototype;function Ud(e,t){const n=t||{};return vr({file:n.file||void 0,location:!1,schema:n.space==="svg"?tt:$t,verbose:n.verbose||!1},e)}function vr(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},ln(e,r,n),n}case"#document":case"#document-fragment":{const r=t,u="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:Ia(e,t.childNodes),data:{quirksMode:u}},e.file&&e.location){const i=String(e.file),a=vd(i),o=a.toPoint(0),l=a.toPoint(i.length);n.position={start:o,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},ln(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},ln(e,r,n),n}default:return n=zd(e,t),n}}function Ia(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=vr(e,t[n]);r.push(u)}return r}function zd(e,t){const n=e.schema;e.schema=t.namespaceURI===it.svg?tt:$t;let r=-1;const u={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;xa.call(Hd,l)||(u[l]=o.value)}const a=(e.schema.space==="svg"?Md:ve)(t.tagName,u,Ia(e,t.childNodes));if(ln(e,t,a),a.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&mt(l.startTag),h=l&&l.endTag&&mt(l.endTag),f=vr(e,o.content);c&&h&&e.file&&(f.position={start:c.end,end:h.start}),a.content=f}return e.schema=n,a}function ln(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=Yd(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Yd(e,t,n){const r=mt(n);if(t.type==="element"){const u=t.children[t.children.length-1];if(r&&!n.endTag&&u&&u.position&&u.position.end&&(r.end=Object.assign({},u.position.end)),e.verbose){const i={};let a;if(n.attrs)for(a in n.attrs)xa.call(n.attrs,a)&&(i[xn(e.schema,a).property]=mt(n.attrs[a]));n.startTag;const o=mt(n.startTag),l=n.endTag?mt(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=i,t.data={position:c}}}return r}function mt(e){const t=Xu({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Xu({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Xu(e){return e.line&&e.column?e:void 0}const qd={},jd={}.hasOwnProperty,Na=Cr("type",{handlers:{root:Wd,element:Kd,text:$d,comment:Xd,doctype:Gd}});function Vd(e,t){const r=(t||qd).space;return Na(e,r==="svg"?tt:$t)}function Wd(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Hr(e.children,n,t),Dt(e,n),n}function Qd(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Hr(e.children,n,t),Dt(e,n),n}function Gd(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Dt(e,t),t}function $d(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Dt(e,t),t}function Xd(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Dt(e,t),t}function Kd(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=tt);const u=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&jd.call(e.properties,i)){const l=Jd(r,i,e.properties[i]);l&&u.push(l)}}const a=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:u,namespaceURI:it[a],childNodes:[],parentNode:null};return o.childNodes=Hr(e.children,o,r),Dt(e,o),e.tagName==="template"&&e.content&&(o.content=Qd(e.content,r)),o}function Jd(e,t,n){const r=xn(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Ca(n):Da(n));const u={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const i=u.name.indexOf(":");i<0?u.prefix="":(u.name=u.name.slice(i+1),u.prefix=r.attribute.slice(0,i)),u.namespace=it[r.space]}return u}function Hr(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const i=Na(e[r],n);i.parentNode=t,u.push(i)}return u}function Dt(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 Zd=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],e1=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]),oe="�";var m;(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"})(m||(m={}));const Ce={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function ka(e){return e>=55296&&e<=57343}function t1(e){return e>=56320&&e<=57343}function n1(e,t){return(e-55296)*1024+9216+t}function Sa(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function ya(e){return e>=64976&&e<=65007||e1.has(e)}var N;(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"})(N||(N={}));const r1=65536;class u1{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=r1,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:u,offset:i}=this,a=u+n,o=i+n;return{code:t,startLine:r,endLine:r,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(t1(n))return this.pos++,this._addGap(),n1(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,m.EOF;return this._err(N.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,m.EOF;const r=this.html.charCodeAt(n);return r===m.CARRIAGE_RETURN?m.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,m.EOF;let t=this.html.charCodeAt(this.pos);return t===m.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,m.LINE_FEED):t===m.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ka(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===m.LINE_FEED||t===m.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Sa(t)?this._err(N.controlCharacterInInputStream):ya(t)&&this._err(N.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Z;(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"})(Z||(Z={}));function Fa(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const La=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),i1=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Jn;const a1=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),s1=(Jn=String.fromCodePoint)!==null&&Jn!==void 0?Jn:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function o1(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=a1.get(e))!==null&&t!==void 0?t:e}var me;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(me||(me={}));const l1=32;var Je;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Je||(Je={}));function pr(e){return e>=me.ZERO&&e<=me.NINE}function c1(e){return e>=me.UPPER_A&&e<=me.UPPER_F||e>=me.LOWER_A&&e<=me.LOWER_F}function f1(e){return e>=me.UPPER_A&&e<=me.UPPER_Z||e>=me.LOWER_A&&e<=me.LOWER_Z||pr(e)}function h1(e){return e===me.EQUALS||f1(e)}var de;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(de||(de={}));var je;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(je||(je={}));class Oa{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=de.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=je.Strict}startEntity(t){this.decodeMode=t,this.state=de.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case de.EntityStart:return t.charCodeAt(n)===me.NUM?(this.state=de.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=de.NamedEntity,this.stateNamedEntity(t,n));case de.NumericStart:return this.stateNumericStart(t,n);case de.NumericDecimal:return this.stateNumericDecimal(t,n);case de.NumericHex:return this.stateNumericHex(t,n);case de.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|l1)===me.LOWER_X?(this.state=de.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=de.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,u){if(n!==r){const i=r-n;this.result=this.result*Math.pow(u,i)+parseInt(t.substr(n,i),u),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(pr(u)||c1(u))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(u,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(pr(u))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(u,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===me.SEMI)this.consumed+=1;else if(this.decodeMode===je.Strict)return 0;return this.emitCodePoint(o1(this.result),this.consumed),this.errors&&(t!==me.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let u=r[this.treeIndex],i=(u&Je.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=d1(r,u,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===je.Attribute&&(i===0||h1(a))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],i=(u&Je.VALUE_LENGTH)>>14,i!==0){if(a===me.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==je.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,u=(r[n]&Je.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,u,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:u}=this;return this.emitCodePoint(n===1?u[t]&~Je.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case de.NamedEntity:return this.result!==0&&(this.decodeMode!==je.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case de.NumericDecimal:return this.emitNumericEntity(0,2);case de.NumericHex:return this.emitNumericEntity(0,3);case de.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case de.EntityStart:return 0}}}function Ra(e){let t="";const n=new Oa(e,r=>t+=s1(r));return function(u,i){let a=0,o=0;for(;(o=u.indexOf("&",o))>=0;){t+=u.slice(a,o),n.startEntity(i);const c=n.write(u,o+1);if(c<0){a=o+n.end();break}a=o+c,o=c===0?a+1:a}const l=t+u.slice(a);return t="",l}}function d1(e,t,n,r){const u=(t&Je.BRANCH_LENGTH)>>7,i=t&Je.JUMP_TABLE;if(u===0)return i!==0&&r===i?n:-1;if(i){const l=r-i;return l<0||l>=u?-1:e[n+l]-1}let a=n,o=a+u-1;for(;a<=o;){const l=a+o>>>1,c=e[l];if(c<r)a=l+1;else if(c>r)o=l-1;else return e[l+u]}return-1}Ra(La);Ra(i1);var P;(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/"})(P||(P={}));var at;(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"})(at||(at={}));var Fe;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Fe||(Fe={}));var D;(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"})(D||(D={}));var s;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(s||(s={}));const m1=new Map([[D.A,s.A],[D.ADDRESS,s.ADDRESS],[D.ANNOTATION_XML,s.ANNOTATION_XML],[D.APPLET,s.APPLET],[D.AREA,s.AREA],[D.ARTICLE,s.ARTICLE],[D.ASIDE,s.ASIDE],[D.B,s.B],[D.BASE,s.BASE],[D.BASEFONT,s.BASEFONT],[D.BGSOUND,s.BGSOUND],[D.BIG,s.BIG],[D.BLOCKQUOTE,s.BLOCKQUOTE],[D.BODY,s.BODY],[D.BR,s.BR],[D.BUTTON,s.BUTTON],[D.CAPTION,s.CAPTION],[D.CENTER,s.CENTER],[D.CODE,s.CODE],[D.COL,s.COL],[D.COLGROUP,s.COLGROUP],[D.DD,s.DD],[D.DESC,s.DESC],[D.DETAILS,s.DETAILS],[D.DIALOG,s.DIALOG],[D.DIR,s.DIR],[D.DIV,s.DIV],[D.DL,s.DL],[D.DT,s.DT],[D.EM,s.EM],[D.EMBED,s.EMBED],[D.FIELDSET,s.FIELDSET],[D.FIGCAPTION,s.FIGCAPTION],[D.FIGURE,s.FIGURE],[D.FONT,s.FONT],[D.FOOTER,s.FOOTER],[D.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[D.FORM,s.FORM],[D.FRAME,s.FRAME],[D.FRAMESET,s.FRAMESET],[D.H1,s.H1],[D.H2,s.H2],[D.H3,s.H3],[D.H4,s.H4],[D.H5,s.H5],[D.H6,s.H6],[D.HEAD,s.HEAD],[D.HEADER,s.HEADER],[D.HGROUP,s.HGROUP],[D.HR,s.HR],[D.HTML,s.HTML],[D.I,s.I],[D.IMG,s.IMG],[D.IMAGE,s.IMAGE],[D.INPUT,s.INPUT],[D.IFRAME,s.IFRAME],[D.KEYGEN,s.KEYGEN],[D.LABEL,s.LABEL],[D.LI,s.LI],[D.LINK,s.LINK],[D.LISTING,s.LISTING],[D.MAIN,s.MAIN],[D.MALIGNMARK,s.MALIGNMARK],[D.MARQUEE,s.MARQUEE],[D.MATH,s.MATH],[D.MENU,s.MENU],[D.META,s.META],[D.MGLYPH,s.MGLYPH],[D.MI,s.MI],[D.MO,s.MO],[D.MN,s.MN],[D.MS,s.MS],[D.MTEXT,s.MTEXT],[D.NAV,s.NAV],[D.NOBR,s.NOBR],[D.NOFRAMES,s.NOFRAMES],[D.NOEMBED,s.NOEMBED],[D.NOSCRIPT,s.NOSCRIPT],[D.OBJECT,s.OBJECT],[D.OL,s.OL],[D.OPTGROUP,s.OPTGROUP],[D.OPTION,s.OPTION],[D.P,s.P],[D.PARAM,s.PARAM],[D.PLAINTEXT,s.PLAINTEXT],[D.PRE,s.PRE],[D.RB,s.RB],[D.RP,s.RP],[D.RT,s.RT],[D.RTC,s.RTC],[D.RUBY,s.RUBY],[D.S,s.S],[D.SCRIPT,s.SCRIPT],[D.SEARCH,s.SEARCH],[D.SECTION,s.SECTION],[D.SELECT,s.SELECT],[D.SOURCE,s.SOURCE],[D.SMALL,s.SMALL],[D.SPAN,s.SPAN],[D.STRIKE,s.STRIKE],[D.STRONG,s.STRONG],[D.STYLE,s.STYLE],[D.SUB,s.SUB],[D.SUMMARY,s.SUMMARY],[D.SUP,s.SUP],[D.TABLE,s.TABLE],[D.TBODY,s.TBODY],[D.TEMPLATE,s.TEMPLATE],[D.TEXTAREA,s.TEXTAREA],[D.TFOOT,s.TFOOT],[D.TD,s.TD],[D.TH,s.TH],[D.THEAD,s.THEAD],[D.TITLE,s.TITLE],[D.TR,s.TR],[D.TRACK,s.TRACK],[D.TT,s.TT],[D.U,s.U],[D.UL,s.UL],[D.SVG,s.SVG],[D.VAR,s.VAR],[D.WBR,s.WBR],[D.XMP,s.XMP]]);function _t(e){var t;return(t=m1.get(e))!==null&&t!==void 0?t:s.UNKNOWN}const w=s,p1={[P.HTML]:new Set([w.ADDRESS,w.APPLET,w.AREA,w.ARTICLE,w.ASIDE,w.BASE,w.BASEFONT,w.BGSOUND,w.BLOCKQUOTE,w.BODY,w.BR,w.BUTTON,w.CAPTION,w.CENTER,w.COL,w.COLGROUP,w.DD,w.DETAILS,w.DIR,w.DIV,w.DL,w.DT,w.EMBED,w.FIELDSET,w.FIGCAPTION,w.FIGURE,w.FOOTER,w.FORM,w.FRAME,w.FRAMESET,w.H1,w.H2,w.H3,w.H4,w.H5,w.H6,w.HEAD,w.HEADER,w.HGROUP,w.HR,w.HTML,w.IFRAME,w.IMG,w.INPUT,w.LI,w.LINK,w.LISTING,w.MAIN,w.MARQUEE,w.MENU,w.META,w.NAV,w.NOEMBED,w.NOFRAMES,w.NOSCRIPT,w.OBJECT,w.OL,w.P,w.PARAM,w.PLAINTEXT,w.PRE,w.SCRIPT,w.SECTION,w.SELECT,w.SOURCE,w.STYLE,w.SUMMARY,w.TABLE,w.TBODY,w.TD,w.TEMPLATE,w.TEXTAREA,w.TFOOT,w.TH,w.THEAD,w.TITLE,w.TR,w.TRACK,w.UL,w.WBR,w.XMP]),[P.MATHML]:new Set([w.MI,w.MO,w.MN,w.MS,w.MTEXT,w.ANNOTATION_XML]),[P.SVG]:new Set([w.TITLE,w.FOREIGN_OBJECT,w.DESC]),[P.XLINK]:new Set,[P.XML]:new Set,[P.XMLNS]:new Set},Er=new Set([w.H1,w.H2,w.H3,w.H4,w.H5,w.H6]);D.STYLE,D.SCRIPT,D.XMP,D.IFRAME,D.NOEMBED,D.NOFRAMES,D.PLAINTEXT;var E;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(E||(E={}));const ce={DATA:E.DATA,RCDATA:E.RCDATA,RAWTEXT:E.RAWTEXT,SCRIPT_DATA:E.SCRIPT_DATA,PLAINTEXT:E.PLAINTEXT,CDATA_SECTION:E.CDATA_SECTION};function E1(e){return e>=m.DIGIT_0&&e<=m.DIGIT_9}function Pt(e){return e>=m.LATIN_CAPITAL_A&&e<=m.LATIN_CAPITAL_Z}function T1(e){return e>=m.LATIN_SMALL_A&&e<=m.LATIN_SMALL_Z}function Xe(e){return T1(e)||Pt(e)}function Ku(e){return Xe(e)||E1(e)}function an(e){return e+32}function Pa(e){return e===m.SPACE||e===m.LINE_FEED||e===m.TABULATION||e===m.FORM_FEED}function Ju(e){return Pa(e)||e===m.SOLIDUS||e===m.GREATER_THAN_SIGN}function b1(e){return e===m.NULL?N.nullCharacterReference:e>1114111?N.characterReferenceOutsideUnicodeRange:ka(e)?N.surrogateCharacterReference:ya(e)?N.noncharacterCharacterReference:Sa(e)||e===m.CARRIAGE_RETURN?N.controlCharacterReference:null}class g1{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=E.DATA,this.returnState=E.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new u1(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Oa(La,(r,u)=>{this.preprocessor.pos=this.entityStartPos+u-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(N.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(N.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const u=b1(r);u&&this._err(u,1)}}:void 0)}_err(t,n=0){var r,u;(u=(r=this.handler).onParseError)===null||u===void 0||u.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Z.START_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Z.END_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Z.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Z.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(Fa(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const u=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);u[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(N.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=_t(t.tagName),t.type===Z.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(N.endTagWithAttributes),t.selfClosing&&this._err(N.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Z.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Z.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Z.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Z.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=Pa(t)?Z.WHITESPACE_CHARACTER:t===m.NULL?Z.NULL_CHARACTER:Z.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Z.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=E.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?je.Attribute:je.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===E.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===E.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===E.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case E.DATA:{this._stateData(t);break}case E.RCDATA:{this._stateRcdata(t);break}case E.RAWTEXT:{this._stateRawtext(t);break}case E.SCRIPT_DATA:{this._stateScriptData(t);break}case E.PLAINTEXT:{this._statePlaintext(t);break}case E.TAG_OPEN:{this._stateTagOpen(t);break}case E.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case E.TAG_NAME:{this._stateTagName(t);break}case E.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case E.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case E.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case E.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case E.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case E.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case E.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case E.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case E.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case E.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case E.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case E.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case E.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case E.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case E.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case E.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case E.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case E.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case E.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case E.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case E.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case E.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case E.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case E.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case E.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case E.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case E.BOGUS_COMMENT:{this._stateBogusComment(t);break}case E.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case E.COMMENT_START:{this._stateCommentStart(t);break}case E.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case E.COMMENT:{this._stateComment(t);break}case E.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case E.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case E.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case E.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case E.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case E.COMMENT_END:{this._stateCommentEnd(t);break}case E.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case E.DOCTYPE:{this._stateDoctype(t);break}case E.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case E.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case E.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case E.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case E.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case E.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case E.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case E.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case E.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case E.CDATA_SECTION:{this._stateCdataSection(t);break}case E.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case E.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case E.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case E.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case m.LESS_THAN_SIGN:{this.state=E.TAG_OPEN;break}case m.AMPERSAND:{this._startCharacterReference();break}case m.NULL:{this._err(N.unexpectedNullCharacter),this._emitCodePoint(t);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case m.AMPERSAND:{this._startCharacterReference();break}case m.LESS_THAN_SIGN:{this.state=E.RCDATA_LESS_THAN_SIGN;break}case m.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(oe);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case m.LESS_THAN_SIGN:{this.state=E.RAWTEXT_LESS_THAN_SIGN;break}case m.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(oe);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_LESS_THAN_SIGN;break}case m.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(oe);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case m.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(oe);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Xe(t))this._createStartTagToken(),this.state=E.TAG_NAME,this._stateTagName(t);else switch(t){case m.EXCLAMATION_MARK:{this.state=E.MARKUP_DECLARATION_OPEN;break}case m.SOLIDUS:{this.state=E.END_TAG_OPEN;break}case m.QUESTION_MARK:{this._err(N.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t);break}case m.EOF:{this._err(N.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(N.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=E.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Xe(t))this._createEndTagToken(),this.state=E.TAG_NAME,this._stateTagName(t);else switch(t){case m.GREATER_THAN_SIGN:{this._err(N.missingEndTagName),this.state=E.DATA;break}case m.EOF:{this._err(N.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(N.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BEFORE_ATTRIBUTE_NAME;break}case m.SOLIDUS:{this.state=E.SELF_CLOSING_START_TAG;break}case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case m.NULL:{this._err(N.unexpectedNullCharacter),n.tagName+=oe;break}case m.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Pt(t)?an(t):t)}}_stateRcdataLessThanSign(t){t===m.SOLIDUS?this.state=E.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=E.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Xe(t)?(this.state=E.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=E.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=E.BEFORE_ATTRIBUTE_NAME,!1;case m.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=E.SELF_CLOSING_START_TAG,!1;case m.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=E.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===m.SOLIDUS?this.state=E.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Xe(t)?(this.state=E.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case m.SOLIDUS:{this.state=E.SCRIPT_DATA_END_TAG_OPEN;break}case m.EXCLAMATION_MARK:{this.state=E.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=E.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Xe(t)?(this.state=E.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===m.HYPHEN_MINUS?(this.state=E.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===m.HYPHEN_MINUS?(this.state=E.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case m.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(oe);break}case m.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case m.NULL:{this._err(N.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(oe);break}case m.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case m.HYPHEN_MINUS:{this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case m.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case m.NULL:{this._err(N.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(oe);break}case m.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===m.SOLIDUS?this.state=E.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Xe(t)?(this._emitChars("<"),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Xe(t)?(this.state=E.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Ce.SCRIPT,!1)&&Ju(this.preprocessor.peek(Ce.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Ce.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case m.NULL:{this._err(N.unexpectedNullCharacter),this._emitChars(oe);break}case m.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case m.NULL:{this._err(N.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(oe);break}case m.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case m.HYPHEN_MINUS:{this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case m.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case m.NULL:{this._err(N.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(oe);break}case m.EOF:{this._err(N.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===m.SOLIDUS?(this.state=E.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Ce.SCRIPT,!1)&&Ju(this.preprocessor.peek(Ce.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Ce.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=E.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.SOLIDUS:case m.GREATER_THAN_SIGN:case m.EOF:{this.state=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case m.EQUALS_SIGN:{this._err(N.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=E.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=E.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:case m.SOLIDUS:case m.GREATER_THAN_SIGN:case m.EOF:{this._leaveAttrName(),this.state=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case m.EQUALS_SIGN:{this._leaveAttrName(),this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case m.QUOTATION_MARK:case m.APOSTROPHE:case m.LESS_THAN_SIGN:{this._err(N.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case m.NULL:{this._err(N.unexpectedNullCharacter),this.currentAttr.name+=oe;break}default:this.currentAttr.name+=String.fromCodePoint(Pt(t)?an(t):t)}}_stateAfterAttributeName(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.SOLIDUS:{this.state=E.SELF_CLOSING_START_TAG;break}case m.EQUALS_SIGN:{this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case m.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=E.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.QUOTATION_MARK:{this.state=E.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case m.APOSTROPHE:{this.state=E.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(N.missingAttributeValue),this.state=E.DATA,this.emitCurrentTagToken();break}default:this.state=E.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case m.QUOTATION_MARK:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case m.AMPERSAND:{this._startCharacterReference();break}case m.NULL:{this._err(N.unexpectedNullCharacter),this.currentAttr.value+=oe;break}case m.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case m.APOSTROPHE:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case m.AMPERSAND:{this._startCharacterReference();break}case m.NULL:{this._err(N.unexpectedNullCharacter),this.currentAttr.value+=oe;break}case m.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this._leaveAttrValue(),this.state=E.BEFORE_ATTRIBUTE_NAME;break}case m.AMPERSAND:{this._startCharacterReference();break}case m.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case m.NULL:{this._err(N.unexpectedNullCharacter),this.currentAttr.value+=oe;break}case m.QUOTATION_MARK:case m.APOSTROPHE:case m.LESS_THAN_SIGN:case m.EQUALS_SIGN:case m.GRAVE_ACCENT:{this._err(N.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case m.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this._leaveAttrValue(),this.state=E.BEFORE_ATTRIBUTE_NAME;break}case m.SOLIDUS:{this._leaveAttrValue(),this.state=E.SELF_CLOSING_START_TAG;break}case m.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case m.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this._err(N.missingWhitespaceBetweenAttributes),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case m.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=E.DATA,this.emitCurrentTagToken();break}case m.EOF:{this._err(N.eofInTag),this._emitEOFToken();break}default:this._err(N.unexpectedSolidusInTag),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(n);break}case m.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case m.NULL:{this._err(N.unexpectedNullCharacter),n.data+=oe;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Ce.DASH_DASH,!0)?(this._createCommentToken(Ce.DASH_DASH.length+1),this.state=E.COMMENT_START):this._consumeSequenceIfMatch(Ce.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Ce.DOCTYPE.length+1),this.state=E.DOCTYPE):this._consumeSequenceIfMatch(Ce.CDATA_START,!0)?this.inForeignNode?this.state=E.CDATA_SECTION:(this._err(N.cdataInHtmlContent),this._createCommentToken(Ce.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=E.BOGUS_COMMENT):this._ensureHibernation()||(this._err(N.incorrectlyOpenedComment),this._createCommentToken(2),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.COMMENT_START_DASH;break}case m.GREATER_THAN_SIGN:{this._err(N.abruptClosingOfEmptyComment),this.state=E.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=E.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case m.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case m.GREATER_THAN_SIGN:{this._err(N.abruptClosingOfEmptyComment),this.state=E.DATA,this.emitCurrentComment(n);break}case m.EOF:{this._err(N.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=E.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case m.HYPHEN_MINUS:{this.state=E.COMMENT_END_DASH;break}case m.LESS_THAN_SIGN:{n.data+="<",this.state=E.COMMENT_LESS_THAN_SIGN;break}case m.NULL:{this._err(N.unexpectedNullCharacter),n.data+=oe;break}case m.EOF:{this._err(N.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case m.EXCLAMATION_MARK:{n.data+="!",this.state=E.COMMENT_LESS_THAN_SIGN_BANG;break}case m.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=E.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===m.HYPHEN_MINUS?this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=E.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===m.HYPHEN_MINUS?this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=E.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==m.GREATER_THAN_SIGN&&t!==m.EOF&&this._err(N.nestedComment),this.state=E.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case m.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case m.EOF:{this._err(N.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=E.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(n);break}case m.EXCLAMATION_MARK:{this.state=E.COMMENT_END_BANG;break}case m.HYPHEN_MINUS:{n.data+="-";break}case m.EOF:{this._err(N.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=E.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case m.HYPHEN_MINUS:{n.data+="--!",this.state=E.COMMENT_END_DASH;break}case m.GREATER_THAN_SIGN:{this._err(N.incorrectlyClosedComment),this.state=E.DATA,this.emitCurrentComment(n);break}case m.EOF:{this._err(N.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=E.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_NAME;break}case m.GREATER_THAN_SIGN:{this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case m.EOF:{this._err(N.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingWhitespaceBeforeDoctypeName),this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Pt(t))this._createDoctypeToken(String.fromCharCode(an(t))),this.state=E.DOCTYPE_NAME;else switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.NULL:{this._err(N.unexpectedNullCharacter),this._createDoctypeToken(oe),this.state=E.DOCTYPE_NAME;break}case m.GREATER_THAN_SIGN:{this._err(N.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(N.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=E.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.AFTER_DOCTYPE_NAME;break}case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.NULL:{this._err(N.unexpectedNullCharacter),n.name+=oe;break}case m.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Pt(t)?an(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Ce.PUBLIC,!1)?this.state=E.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Ce.SYSTEM,!1)?this.state=E.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(N.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case m.QUOTATION_MARK:{this._err(N.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{this._err(N.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(N.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.QUOTATION_MARK:{n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(N.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case m.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case m.NULL:{this._err(N.unexpectedNullCharacter),n.publicId+=oe;break}case m.GREATER_THAN_SIGN:{this._err(N.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case m.APOSTROPHE:{this.state=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case m.NULL:{this._err(N.unexpectedNullCharacter),n.publicId+=oe;break}case m.GREATER_THAN_SIGN:{this._err(N.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.QUOTATION_MARK:{this._err(N.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{this._err(N.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case m.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.QUOTATION_MARK:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case m.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case m.QUOTATION_MARK:{this._err(N.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{this._err(N.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(N.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.QUOTATION_MARK:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(N.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case m.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case m.NULL:{this._err(N.unexpectedNullCharacter),n.systemId+=oe;break}case m.GREATER_THAN_SIGN:{this._err(N.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case m.APOSTROPHE:{this.state=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case m.NULL:{this._err(N.unexpectedNullCharacter),n.systemId+=oe;break}case m.GREATER_THAN_SIGN:{this._err(N.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(N.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(N.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case m.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.NULL:{this._err(N.unexpectedNullCharacter);break}case m.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case m.RIGHT_SQUARE_BRACKET:{this.state=E.CDATA_SECTION_BRACKET;break}case m.EOF:{this._err(N.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===m.RIGHT_SQUARE_BRACKET?this.state=E.CDATA_SECTION_END:(this._emitChars("]"),this.state=E.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case m.GREATER_THAN_SIGN:{this.state=E.DATA;break}case m.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=E.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(m.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Ku(this.preprocessor.peek(1))?E.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Ku(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===m.SEMICOLON&&this._err(N.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const wa=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),Zu=new Set([...wa,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),pn=new Set([s.APPLET,s.CAPTION,s.HTML,s.MARQUEE,s.OBJECT,s.TABLE,s.TD,s.TEMPLATE,s.TH]),A1=new Set([...pn,s.OL,s.UL]),C1=new Set([...pn,s.BUTTON]),ei=new Set([s.ANNOTATION_XML,s.MI,s.MN,s.MO,s.MS,s.MTEXT]),ti=new Set([s.DESC,s.FOREIGN_OBJECT,s.TITLE]),D1=new Set([s.TR,s.TEMPLATE,s.HTML]),_1=new Set([s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML]),x1=new Set([s.TABLE,s.TEMPLATE,s.HTML]),I1=new Set([s.TD,s.TH]);class N1{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=s.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===s.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===P.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const u=this._indexOf(t)+1;this.items.splice(u,0,n),this.tagIDs.splice(u,0,r),this.stackTop++,u===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,u===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==P.HTML);this.shortenToLength(n<0?0:n)}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(n<0?0:n)}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(Er,P.HTML)}popUntilTableCellPopped(){this.popUntilPopped(I1,P.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(x1,P.HTML)}clearBackToTableBodyContext(){this.clearBackTo(_1,P.HTML)}clearBackToTableRowContext(){this.clearBackTo(D1,P.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===s.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===s.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const u=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case P.HTML:{if(u===t)return!0;if(n.has(u))return!1;break}case P.SVG:{if(ti.has(u))return!1;break}case P.MATHML:{if(ei.has(u))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,pn)}hasInListItemScope(t){return this.hasInDynamicScope(t,A1)}hasInButtonScope(t){return this.hasInDynamicScope(t,C1)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case P.HTML:{if(Er.has(n))return!0;if(pn.has(n))return!1;break}case P.SVG:{if(ti.has(n))return!1;break}case P.MATHML:{if(ei.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===P.HTML)switch(this.tagIDs[n]){case t:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===P.HTML)switch(this.tagIDs[t]){case s.TBODY:case s.THEAD:case s.TFOOT:return!0;case s.TABLE:case s.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===P.HTML)switch(this.tagIDs[n]){case t:return!0;case s.OPTION:case s.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;wa.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Zu.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Zu.has(this.currentTagId);)this.pop()}}const Zn=3;var Me;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Me||(Me={}));const ni={type:Me.Marker};class k1{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],u=n.length,i=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const l=this.entries[o];if(l.type===Me.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===i&&this.treeAdapter.getNamespaceURI(c)===a){const h=this.treeAdapter.getAttrList(c);h.length===u&&r.push({idx:o,attrs:h})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Zn)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Zn)return;const u=new Map(n.map(a=>[a.name,a.value]));let i=0;for(let a=0;a<r.length;a++){const o=r[a];o.attrs.every(l=>u.get(l.name)===l.value)&&(i+=1,i>=Zn&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(ni)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Me.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Me.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n>=0&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(ni);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Me.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Me.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Me.Element&&n.element===t)}}const Ke={createDocument(){return{nodeName:"#document",mode:Fe.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const u=e.childNodes.find(i=>i.nodeName==="#documentType");if(u)u.name=t,u.publicId=n,u.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Ke.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Ke.isTextNode(n)){n.value+=t;return}}Ke.appendChild(e,Ke.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Ke.isTextNode(r)?r.value+=t:Ke.insertBefore(e,Ke.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Ba="html",S1="about:legacy-compat",y1="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Ma=["+//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//"],F1=[...Ma,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],L1=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),va=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],O1=[...va,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function ri(e,t){return t.some(n=>e.startsWith(n))}function R1(e){return e.name===Ba&&e.publicId===null&&(e.systemId===null||e.systemId===S1)}function P1(e){if(e.name!==Ba)return Fe.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===y1)return Fe.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),L1.has(n))return Fe.QUIRKS;let r=t===null?F1:Ma;if(ri(n,r))return Fe.QUIRKS;if(r=t===null?va:O1,ri(n,r))return Fe.LIMITED_QUIRKS}return Fe.NO_QUIRKS}const ui={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},w1="definitionurl",B1="definitionURL",M1=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])),v1=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:P.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:P.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:P.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:P.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:P.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:P.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:P.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:P.XML}],["xml:space",{prefix:"xml",name:"space",namespace:P.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:P.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:P.XMLNS}]]),H1=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])),U1=new Set([s.B,s.BIG,s.BLOCKQUOTE,s.BODY,s.BR,s.CENTER,s.CODE,s.DD,s.DIV,s.DL,s.DT,s.EM,s.EMBED,s.H1,s.H2,s.H3,s.H4,s.H5,s.H6,s.HEAD,s.HR,s.I,s.IMG,s.LI,s.LISTING,s.MENU,s.META,s.NOBR,s.OL,s.P,s.PRE,s.RUBY,s.S,s.SMALL,s.SPAN,s.STRONG,s.STRIKE,s.SUB,s.SUP,s.TABLE,s.TT,s.U,s.UL,s.VAR]);function z1(e){const t=e.tagID;return t===s.FONT&&e.attrs.some(({name:r})=>r===at.COLOR||r===at.SIZE||r===at.FACE)||U1.has(t)}function Ha(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===w1){e.attrs[t].name=B1;break}}function Ua(e){for(let t=0;t<e.attrs.length;t++){const n=M1.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Ur(e){for(let t=0;t<e.attrs.length;t++){const n=v1.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 Y1(e){const t=H1.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=_t(e.tagName))}function q1(e,t){return t===P.MATHML&&(e===s.MI||e===s.MO||e===s.MN||e===s.MS||e===s.MTEXT)}function j1(e,t,n){if(t===P.MATHML&&e===s.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===at.ENCODING){const u=n[r].value.toLowerCase();return u===ui.TEXT_HTML||u===ui.APPLICATION_XML}}return t===P.SVG&&(e===s.FOREIGN_OBJECT||e===s.DESC||e===s.TITLE)}function V1(e,t,n,r){return(!r||r===P.HTML)&&j1(e,t,n)||(!r||r===P.MATHML)&&q1(e,t)}const W1="hidden",Q1=8,G1=3;var T;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(T||(T={}));const $1={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},za=new Set([s.TABLE,s.TBODY,s.TFOOT,s.THEAD,s.TR]),ii={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ke,onParseError:null};class ai{constructor(t,n,r=null,u=null){this.fragmentContext=r,this.scriptHandler=u,this.currentToken=null,this.stopped=!1,this.insertionMode=T.INITIAL,this.originalInsertionMode=T.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...ii,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new g1(this.options,this),this.activeFormattingElements=new k1(this.treeAdapter),this.fragmentContextID=r?_t(this.treeAdapter.getTagName(r)):s.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new N1(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...ii,...n};t??(t=r.treeAdapter.createElement(D.TEMPLATE,P.HTML,[]));const u=r.treeAdapter.createElement("documentmock",P.HTML,[]),i=new this(r,u,t);return i.fragmentContextID===s.TEMPLATE&&i.tmplInsertionModeStack.unshift(T.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var u;if(!this.onParseError)return;const i=(u=t.location)!==null&&u!==void 0?u:$1,a={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(a)}onItemPush(t,n,r){var u,i;(i=(u=this.treeAdapter).onItemPush)===null||i===void 0||i.call(u,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,u;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(u=(r=this.treeAdapter).onItemPop)===null||u===void 0||u.call(r,t,this.openElements.current),n){let i,a;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,a=this.fragmentContextID):{current:i,currentTagId:a}=this.openElements,this._setContextModes(i,a)}}_setContextModes(t,n){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===P.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,P.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=T.TEXT}switchToPlaintextParsing(){this.insertionMode=T.TEXT,this.originalInsertionMode=T.IN_BODY,this.tokenizer.state=ce.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===D.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==P.HTML))switch(this.fragmentContextID){case s.TITLE:case s.TEXTAREA:{this.tokenizer.state=ce.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=ce.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=ce.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=ce.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",u=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,u),t.location){const a=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));a&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,P.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,P.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(D.HTML,P.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,s.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const u=this.treeAdapter.getChildNodes(n),i=r?u.lastIndexOf(r):u.length,a=u[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:l,endCol:c,endOffset:h}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:h})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,u=this.treeAdapter.getTagName(t),i=n.type===Z.END_TAG&&u===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===s.SVG&&this.treeAdapter.getTagName(n)===D.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===P.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===s.MGLYPH||t.tagID===s.MALIGNMARK)&&!this._isIntegrationPoint(r,n,P.HTML)}_processToken(t){switch(t.type){case Z.CHARACTER:{this.onCharacter(t);break}case Z.NULL_CHARACTER:{this.onNullCharacter(t);break}case Z.COMMENT:{this.onComment(t);break}case Z.DOCTYPE:{this.onDoctype(t);break}case Z.START_TAG:{this._processStartTag(t);break}case Z.END_TAG:{this.onEndTag(t);break}case Z.EOF:{this.onEof(t);break}case Z.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const u=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return V1(t,u,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(u=>u.type===Me.Marker||this.openElements.contains(u.element)),r=n<0?t-1:n-1;for(let u=r;u>=0;u--){const i=this.activeFormattingElements.entries[u];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=T.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(s.P),this.openElements.popUntilTagNamePopped(s.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case s.TR:{this.insertionMode=T.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=T.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=T.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=T.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=T.IN_TABLE;return}case s.BODY:{this.insertionMode=T.IN_BODY;return}case s.FRAMESET:{this.insertionMode=T.IN_FRAMESET;return}case s.SELECT:{this._resetInsertionModeForSelect(t);return}case s.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case s.HTML:{this.insertionMode=this.headElement?T.AFTER_HEAD:T.BEFORE_HEAD;return}case s.TD:case s.TH:{if(t>0){this.insertionMode=T.IN_CELL;return}break}case s.HEAD:{if(t>0){this.insertionMode=T.IN_HEAD;return}break}}this.insertionMode=T.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===s.TEMPLATE)break;if(r===s.TABLE){this.insertionMode=T.IN_SELECT_IN_TABLE;return}}this.insertionMode=T.IN_SELECT}_isElementCausesFosterParenting(t){return za.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case s.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===P.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case s.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return p1[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Ip(this,t);return}switch(this.insertionMode){case T.INITIAL:{Lt(this,t);break}case T.BEFORE_HTML:{Bt(this,t);break}case T.BEFORE_HEAD:{Mt(this,t);break}case T.IN_HEAD:{vt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Ht(this,t);break}case T.AFTER_HEAD:{Ut(this,t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:{qa(this,t);break}case T.TEXT:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{er(this,t);break}case T.IN_TABLE_TEXT:{$a(this,t);break}case T.IN_COLUMN_GROUP:{En(this,t);break}case T.AFTER_BODY:{Tn(this,t);break}case T.AFTER_AFTER_BODY:{cn(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){xp(this,t);return}switch(this.insertionMode){case T.INITIAL:{Lt(this,t);break}case T.BEFORE_HTML:{Bt(this,t);break}case T.BEFORE_HEAD:{Mt(this,t);break}case T.IN_HEAD:{vt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Ht(this,t);break}case T.AFTER_HEAD:{Ut(this,t);break}case T.TEXT:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{er(this,t);break}case T.IN_COLUMN_GROUP:{En(this,t);break}case T.AFTER_BODY:{Tn(this,t);break}case T.AFTER_AFTER_BODY:{cn(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Tr(this,t);return}switch(this.insertionMode){case T.INITIAL:case T.BEFORE_HTML:case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_TEMPLATE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{Tr(this,t);break}case T.IN_TABLE_TEXT:{Ot(this,t);break}case T.AFTER_BODY:{nm(this,t);break}case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{rm(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case T.INITIAL:{um(this,t);break}case T.BEFORE_HEAD:case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:{this._err(t,N.misplacedDoctype);break}case T.IN_TABLE_TEXT:{Ot(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,N.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Np(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{Lt(this,t);break}case T.BEFORE_HTML:{im(this,t);break}case T.BEFORE_HEAD:{sm(this,t);break}case T.IN_HEAD:{Pe(this,t);break}case T.IN_HEAD_NO_SCRIPT:{cm(this,t);break}case T.AFTER_HEAD:{hm(this,t);break}case T.IN_BODY:{be(this,t);break}case T.IN_TABLE:{Tt(this,t);break}case T.IN_TABLE_TEXT:{Ot(this,t);break}case T.IN_CAPTION:{op(this,t);break}case T.IN_COLUMN_GROUP:{qr(this,t);break}case T.IN_TABLE_BODY:{kn(this,t);break}case T.IN_ROW:{Sn(this,t);break}case T.IN_CELL:{fp(this,t);break}case T.IN_SELECT:{Ja(this,t);break}case T.IN_SELECT_IN_TABLE:{dp(this,t);break}case T.IN_TEMPLATE:{pp(this,t);break}case T.AFTER_BODY:{Tp(this,t);break}case T.IN_FRAMESET:{bp(this,t);break}case T.AFTER_FRAMESET:{Ap(this,t);break}case T.AFTER_AFTER_BODY:{Dp(this,t);break}case T.AFTER_AFTER_FRAMESET:{_p(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?kp(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{Lt(this,t);break}case T.BEFORE_HTML:{am(this,t);break}case T.BEFORE_HEAD:{om(this,t);break}case T.IN_HEAD:{lm(this,t);break}case T.IN_HEAD_NO_SCRIPT:{fm(this,t);break}case T.AFTER_HEAD:{dm(this,t);break}case T.IN_BODY:{Nn(this,t);break}case T.TEXT:{Jm(this,t);break}case T.IN_TABLE:{jt(this,t);break}case T.IN_TABLE_TEXT:{Ot(this,t);break}case T.IN_CAPTION:{lp(this,t);break}case T.IN_COLUMN_GROUP:{cp(this,t);break}case T.IN_TABLE_BODY:{br(this,t);break}case T.IN_ROW:{Ka(this,t);break}case T.IN_CELL:{hp(this,t);break}case T.IN_SELECT:{Za(this,t);break}case T.IN_SELECT_IN_TABLE:{mp(this,t);break}case T.IN_TEMPLATE:{Ep(this,t);break}case T.AFTER_BODY:{ts(this,t);break}case T.IN_FRAMESET:{gp(this,t);break}case T.AFTER_FRAMESET:{Cp(this,t);break}case T.AFTER_AFTER_BODY:{cn(this,t);break}}}onEof(t){switch(this.insertionMode){case T.INITIAL:{Lt(this,t);break}case T.BEFORE_HTML:{Bt(this,t);break}case T.BEFORE_HEAD:{Mt(this,t);break}case T.IN_HEAD:{vt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Ht(this,t);break}case T.AFTER_HEAD:{Ut(this,t);break}case T.IN_BODY:case T.IN_TABLE:case T.IN_CAPTION:case T.IN_COLUMN_GROUP:case T.IN_TABLE_BODY:case T.IN_ROW:case T.IN_CELL:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:{Qa(this,t);break}case T.TEXT:{Zm(this,t);break}case T.IN_TABLE_TEXT:{Ot(this,t);break}case T.IN_TEMPLATE:{es(this,t);break}case T.AFTER_BODY:case T.IN_FRAMESET:case T.AFTER_FRAMESET:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{Yr(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===m.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case T.IN_HEAD:case T.IN_HEAD_NO_SCRIPT:case T.AFTER_HEAD:case T.TEXT:case T.IN_COLUMN_GROUP:case T.IN_SELECT:case T.IN_SELECT_IN_TABLE:case T.IN_FRAMESET:case T.AFTER_FRAMESET:{this._insertCharacters(t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:case T.AFTER_BODY:case T.AFTER_AFTER_BODY:case T.AFTER_AFTER_FRAMESET:{Ya(this,t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{er(this,t);break}case T.IN_TABLE_TEXT:{Ga(this,t);break}}}}function X1(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):Wa(e,t),n}function K1(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const u=e.openElements.items[r];if(u===t.element)break;e._isSpecialElement(u,e.openElements.tagIDs[r])&&(n=u)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function J1(e,t,n){let r=t,u=e.openElements.getCommonAncestor(t);for(let i=0,a=u;a!==n;i++,a=u){u=e.openElements.getCommonAncestor(a);const o=e.activeFormattingElements.getElementEntry(a),l=o&&i>=G1;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=Z1(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function Z1(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 em(e,t,n){const r=e.treeAdapter.getTagName(t),u=_t(r);if(e._isElementCausesFosterParenting(u))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);u===s.TEMPLATE&&i===P.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function tm(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:u}=n,i=e.treeAdapter.createElement(u.tagName,r,u.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,u),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,u.tagID)}function zr(e,t){for(let n=0;n<Q1;n++){const r=X1(e,t);if(!r)break;const u=K1(e,r);if(!u)break;e.activeFormattingElements.bookmark=r;const i=J1(e,u,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),a&&em(e,a,i),tm(e,u,r)}}function Tr(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function nm(e,t){e._appendCommentNode(t,e.openElements.items[0])}function rm(e,t){e._appendCommentNode(t,e.document)}function Yr(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],u=e.treeAdapter.getNodeSourceCodeLocation(r);if(u&&!u.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(i);a&&!a.endTag&&e._setEndLocation(i,t)}}}}function um(e,t){e._setDocumentType(t);const n=t.forceQuirks?Fe.QUIRKS:P1(t);R1(t)||e._err(t,N.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=T.BEFORE_HTML}function Lt(e,t){e._err(t,N.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Fe.QUIRKS),e.insertionMode=T.BEFORE_HTML,e._processToken(t)}function im(e,t){t.tagID===s.HTML?(e._insertElement(t,P.HTML),e.insertionMode=T.BEFORE_HEAD):Bt(e,t)}function am(e,t){const n=t.tagID;(n===s.HTML||n===s.HEAD||n===s.BODY||n===s.BR)&&Bt(e,t)}function Bt(e,t){e._insertFakeRootElement(),e.insertionMode=T.BEFORE_HEAD,e._processToken(t)}function sm(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.HEAD:{e._insertElement(t,P.HTML),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD;break}default:Mt(e,t)}}function om(e,t){const n=t.tagID;n===s.HEAD||n===s.BODY||n===s.HTML||n===s.BR?Mt(e,t):e._err(t,N.endTagWithoutMatchingOpenElement)}function Mt(e,t){e._insertFakeElement(D.HEAD,s.HEAD),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD,e._processToken(t)}function Pe(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case s.TITLE:{e._switchToTextParsing(t,ce.RCDATA);break}case s.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,ce.RAWTEXT):(e._insertElement(t,P.HTML),e.insertionMode=T.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{e._switchToTextParsing(t,ce.RAWTEXT);break}case s.SCRIPT:{e._switchToTextParsing(t,ce.SCRIPT_DATA);break}case s.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=T.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(T.IN_TEMPLATE);break}case s.HEAD:{e._err(t,N.misplacedStartTagForHeadElement);break}default:vt(e,t)}}function lm(e,t){switch(t.tagID){case s.HEAD:{e.openElements.pop(),e.insertionMode=T.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{vt(e,t);break}case s.TEMPLATE:{lt(e,t);break}default:e._err(t,N.endTagWithoutMatchingOpenElement)}}function lt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==s.TEMPLATE&&e._err(t,N.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,N.endTagWithoutMatchingOpenElement)}function vt(e,t){e.openElements.pop(),e.insertionMode=T.AFTER_HEAD,e._processToken(t)}function cm(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{Pe(e,t);break}case s.NOSCRIPT:{e._err(t,N.nestedNoscriptInHead);break}default:Ht(e,t)}}function fm(e,t){switch(t.tagID){case s.NOSCRIPT:{e.openElements.pop(),e.insertionMode=T.IN_HEAD;break}case s.BR:{Ht(e,t);break}default:e._err(t,N.endTagWithoutMatchingOpenElement)}}function Ht(e,t){const n=t.type===Z.EOF?N.openElementsLeftAfterEof:N.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=T.IN_HEAD,e._processToken(t)}function hm(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.BODY:{e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=T.IN_BODY;break}case s.FRAMESET:{e._insertElement(t,P.HTML),e.insertionMode=T.IN_FRAMESET;break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{e._err(t,N.abandonedHeadElementChild),e.openElements.push(e.headElement,s.HEAD),Pe(e,t),e.openElements.remove(e.headElement);break}case s.HEAD:{e._err(t,N.misplacedStartTagForHeadElement);break}default:Ut(e,t)}}function dm(e,t){switch(t.tagID){case s.BODY:case s.HTML:case s.BR:{Ut(e,t);break}case s.TEMPLATE:{lt(e,t);break}default:e._err(t,N.endTagWithoutMatchingOpenElement)}}function Ut(e,t){e._insertFakeElement(D.BODY,s.BODY),e.insertionMode=T.IN_BODY,In(e,t)}function In(e,t){switch(t.type){case Z.CHARACTER:{qa(e,t);break}case Z.WHITESPACE_CHARACTER:{Ya(e,t);break}case Z.COMMENT:{Tr(e,t);break}case Z.START_TAG:{be(e,t);break}case Z.END_TAG:{Nn(e,t);break}case Z.EOF:{Qa(e,t);break}}}function Ya(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function qa(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function mm(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function pm(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Em(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,P.HTML),e.insertionMode=T.IN_FRAMESET)}function Tm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML)}function bm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),Er.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,P.HTML)}function gm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Am(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),n||(e.formElement=e.openElements.current))}function Cm(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const u=e.openElements.tagIDs[r];if(n===s.LI&&u===s.LI||(n===s.DD||n===s.DT)&&(u===s.DD||u===s.DT)){e.openElements.generateImpliedEndTagsWithExclusion(u),e.openElements.popUntilTagNamePopped(u);break}if(u!==s.ADDRESS&&u!==s.DIV&&u!==s.P&&e._isSpecialElement(e.openElements.items[r],u))break}e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML)}function Dm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.tokenizer.state=ce.PLAINTEXT}function _m(e,t){e.openElements.hasInScope(s.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.framesetOk=!1}function xm(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(D.A);n&&(zr(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Im(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Nm(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(s.NOBR)&&(zr(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function km(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Sm(e,t){e.treeAdapter.getDocumentMode(e.document)!==Fe.QUIRKS&&e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=T.IN_TABLE}function ja(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,P.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Va(e){const t=Fa(e,at.TYPE);return t!=null&&t.toLowerCase()===W1}function ym(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,P.HTML),Va(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Fm(e,t){e._appendElement(t,P.HTML),t.ackSelfClosing=!0}function Lm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._appendElement(t,P.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Om(e,t){t.tagName=D.IMG,t.tagID=s.IMG,ja(e,t)}function Rm(e,t){e._insertElement(t,P.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ce.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=T.TEXT}function Pm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ce.RAWTEXT)}function wm(e,t){e.framesetOk=!1,e._switchToTextParsing(t,ce.RAWTEXT)}function si(e,t){e._switchToTextParsing(t,ce.RAWTEXT)}function Bm(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===T.IN_TABLE||e.insertionMode===T.IN_CAPTION||e.insertionMode===T.IN_TABLE_BODY||e.insertionMode===T.IN_ROW||e.insertionMode===T.IN_CELL?T.IN_SELECT_IN_TABLE:T.IN_SELECT}function Mm(e,t){e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML)}function vm(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,P.HTML)}function Hm(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(s.RTC),e._insertElement(t,P.HTML)}function Um(e,t){e._reconstructActiveFormattingElements(),Ha(t),Ur(t),t.selfClosing?e._appendElement(t,P.MATHML):e._insertElement(t,P.MATHML),t.ackSelfClosing=!0}function zm(e,t){e._reconstructActiveFormattingElements(),Ua(t),Ur(t),t.selfClosing?e._appendElement(t,P.SVG):e._insertElement(t,P.SVG),t.ackSelfClosing=!0}function oi(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML)}function be(e,t){switch(t.tagID){case s.I:case s.S:case s.B:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.SMALL:case s.STRIKE:case s.STRONG:{Im(e,t);break}case s.A:{xm(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{bm(e,t);break}case s.P:case s.DL:case s.OL:case s.UL:case s.DIV:case s.DIR:case s.NAV:case s.MAIN:case s.MENU:case s.ASIDE:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.DETAILS:case s.ADDRESS:case s.ARTICLE:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{Tm(e,t);break}case s.LI:case s.DD:case s.DT:{Cm(e,t);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{ja(e,t);break}case s.HR:{Lm(e,t);break}case s.RB:case s.RTC:{vm(e,t);break}case s.RT:case s.RP:{Hm(e,t);break}case s.PRE:case s.LISTING:{gm(e,t);break}case s.XMP:{Pm(e,t);break}case s.SVG:{zm(e,t);break}case s.HTML:{mm(e,t);break}case s.BASE:case s.LINK:case s.META:case s.STYLE:case s.TITLE:case s.SCRIPT:case s.BGSOUND:case s.BASEFONT:case s.TEMPLATE:{Pe(e,t);break}case s.BODY:{pm(e,t);break}case s.FORM:{Am(e,t);break}case s.NOBR:{Nm(e,t);break}case s.MATH:{Um(e,t);break}case s.TABLE:{Sm(e,t);break}case s.INPUT:{ym(e,t);break}case s.PARAM:case s.TRACK:case s.SOURCE:{Fm(e,t);break}case s.IMAGE:{Om(e,t);break}case s.BUTTON:{_m(e,t);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{km(e,t);break}case s.IFRAME:{wm(e,t);break}case s.SELECT:{Bm(e,t);break}case s.OPTION:case s.OPTGROUP:{Mm(e,t);break}case s.NOEMBED:case s.NOFRAMES:{si(e,t);break}case s.FRAMESET:{Em(e,t);break}case s.TEXTAREA:{Rm(e,t);break}case s.NOSCRIPT:{e.options.scriptingEnabled?si(e,t):oi(e,t);break}case s.PLAINTEXT:{Dm(e,t);break}case s.COL:case s.TH:case s.TD:case s.TR:case s.HEAD:case s.FRAME:case s.TBODY:case s.TFOOT:case s.THEAD:case s.CAPTION:case s.COLGROUP:break;default:oi(e,t)}}function Ym(e,t){if(e.openElements.hasInScope(s.BODY)&&(e.insertionMode=T.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function qm(e,t){e.openElements.hasInScope(s.BODY)&&(e.insertionMode=T.AFTER_BODY,ts(e,t))}function jm(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function Vm(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(s.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(s.FORM):n&&e.openElements.remove(n))}function Wm(e){e.openElements.hasInButtonScope(s.P)||e._insertFakeElement(D.P,s.P),e._closePElement()}function Qm(e){e.openElements.hasInListItemScope(s.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(s.LI),e.openElements.popUntilTagNamePopped(s.LI))}function Gm(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function $m(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Xm(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Km(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(D.BR,s.BR),e.openElements.pop(),e.framesetOk=!1}function Wa(e,t){const n=t.tagName,r=t.tagID;for(let u=e.openElements.stackTop;u>0;u--){const i=e.openElements.items[u],a=e.openElements.tagIDs[u];if(r===a&&(r!==s.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=u&&e.openElements.shortenToLength(u);break}if(e._isSpecialElement(i,a))break}}function Nn(e,t){switch(t.tagID){case s.A:case s.B:case s.I:case s.S:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.NOBR:case s.SMALL:case s.STRIKE:case s.STRONG:{zr(e,t);break}case s.P:{Wm(e);break}case s.DL:case s.UL:case s.OL:case s.DIR:case s.DIV:case s.NAV:case s.PRE:case s.MAIN:case s.MENU:case s.ASIDE:case s.BUTTON:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.ADDRESS:case s.ARTICLE:case s.DETAILS:case s.SEARCH:case s.SECTION:case s.SUMMARY:case s.LISTING:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{jm(e,t);break}case s.LI:{Qm(e);break}case s.DD:case s.DT:{Gm(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{$m(e);break}case s.BR:{Km(e);break}case s.BODY:{Ym(e,t);break}case s.HTML:{qm(e,t);break}case s.FORM:{Vm(e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{Xm(e,t);break}case s.TEMPLATE:{lt(e,t);break}default:Wa(e,t)}}function Qa(e,t){e.tmplInsertionModeStack.length>0?es(e,t):Yr(e,t)}function Jm(e,t){var n;t.tagID===s.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Zm(e,t){e._err(t,N.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function er(e,t){if(za.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=T.IN_TABLE_TEXT,t.type){case Z.CHARACTER:{$a(e,t);break}case Z.WHITESPACE_CHARACTER:{Ga(e,t);break}}else Xt(e,t)}function ep(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,P.HTML),e.insertionMode=T.IN_CAPTION}function tp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,P.HTML),e.insertionMode=T.IN_COLUMN_GROUP}function np(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(D.COLGROUP,s.COLGROUP),e.insertionMode=T.IN_COLUMN_GROUP,qr(e,t)}function rp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,P.HTML),e.insertionMode=T.IN_TABLE_BODY}function up(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(D.TBODY,s.TBODY),e.insertionMode=T.IN_TABLE_BODY,kn(e,t)}function ip(e,t){e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function ap(e,t){Va(t)?e._appendElement(t,P.HTML):Xt(e,t),t.ackSelfClosing=!0}function sp(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,P.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Tt(e,t){switch(t.tagID){case s.TD:case s.TH:case s.TR:{up(e,t);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{Pe(e,t);break}case s.COL:{np(e,t);break}case s.FORM:{sp(e,t);break}case s.TABLE:{ip(e,t);break}case s.TBODY:case s.TFOOT:case s.THEAD:{rp(e,t);break}case s.INPUT:{ap(e,t);break}case s.CAPTION:{ep(e,t);break}case s.COLGROUP:{tp(e,t);break}default:Xt(e,t)}}function jt(e,t){switch(t.tagID){case s.TABLE:{e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode());break}case s.TEMPLATE:{lt(e,t);break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:Xt(e,t)}}function Xt(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,In(e,t),e.fosterParentingEnabled=n}function Ga(e,t){e.pendingCharacterTokens.push(t)}function $a(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Ot(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Xt(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Xa=new Set([s.CAPTION,s.COL,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]);function op(e,t){const n=t.tagID;Xa.has(n)?e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,Tt(e,t)):be(e,t)}function lp(e,t){const n=t.tagID;switch(n){case s.CAPTION:case s.TABLE:{e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,n===s.TABLE&&jt(e,t));break}case s.BODY:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:Nn(e,t)}}function qr(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.COL:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case s.TEMPLATE:{Pe(e,t);break}default:En(e,t)}}function cp(e,t){switch(t.tagID){case s.COLGROUP:{e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE);break}case s.TEMPLATE:{lt(e,t);break}case s.COL:break;default:En(e,t)}}function En(e,t){e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE,e._processToken(t))}function kn(e,t){switch(t.tagID){case s.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,P.HTML),e.insertionMode=T.IN_ROW;break}case s.TH:case s.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(D.TR,s.TR),e.insertionMode=T.IN_ROW,Sn(e,t);break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE,Tt(e,t));break}default:Tt(e,t)}}function br(e,t){const n=t.tagID;switch(t.tagID){case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE);break}case s.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE,jt(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:case s.TR:break;default:jt(e,t)}}function Sn(e,t){switch(t.tagID){case s.TH:case s.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,P.HTML),e.insertionMode=T.IN_CELL,e.activeFormattingElements.insertMarker();break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,kn(e,t));break}default:Tt(e,t)}}function Ka(e,t){switch(t.tagID){case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY);break}case s.TABLE:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,br(e,t));break}case s.TBODY:case s.TFOOT:case s.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(s.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=T.IN_TABLE_BODY,br(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TD:case s.TH:break;default:jt(e,t)}}function fp(e,t){const n=t.tagID;Xa.has(n)?(e.openElements.hasInTableScope(s.TD)||e.openElements.hasInTableScope(s.TH))&&(e._closeTableCell(),Sn(e,t)):be(e,t)}function hp(e,t){const n=t.tagID;switch(n){case s.TD:case s.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_ROW);break}case s.TABLE:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Ka(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:break;default:Nn(e,t)}}function Ja(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._insertElement(t,P.HTML);break}case s.OPTGROUP:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._insertElement(t,P.HTML);break}case s.HR:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case s.INPUT:case s.KEYGEN:case s.TEXTAREA:case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),t.tagID!==s.SELECT&&e._processStartTag(t));break}case s.SCRIPT:case s.TEMPLATE:{Pe(e,t);break}}}function Za(e,t){switch(t.tagID){case s.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===s.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===s.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop();break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop();break}case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode());break}case s.TEMPLATE:{lt(e,t);break}}}function dp(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Ja(e,t)}function mp(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Za(e,t)}function pp(e,t){switch(t.tagID){case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{Pe(e,t);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.tmplInsertionModeStack[0]=T.IN_TABLE,e.insertionMode=T.IN_TABLE,Tt(e,t);break}case s.COL:{e.tmplInsertionModeStack[0]=T.IN_COLUMN_GROUP,e.insertionMode=T.IN_COLUMN_GROUP,qr(e,t);break}case s.TR:{e.tmplInsertionModeStack[0]=T.IN_TABLE_BODY,e.insertionMode=T.IN_TABLE_BODY,kn(e,t);break}case s.TD:case s.TH:{e.tmplInsertionModeStack[0]=T.IN_ROW,e.insertionMode=T.IN_ROW,Sn(e,t);break}default:e.tmplInsertionModeStack[0]=T.IN_BODY,e.insertionMode=T.IN_BODY,be(e,t)}}function Ep(e,t){t.tagID===s.TEMPLATE&<(e,t)}function es(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Yr(e,t)}function Tp(e,t){t.tagID===s.HTML?be(e,t):Tn(e,t)}function ts(e,t){var n;if(t.tagID===s.HTML){if(e.fragmentContext||(e.insertionMode=T.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===s.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else Tn(e,t)}function Tn(e,t){e.insertionMode=T.IN_BODY,In(e,t)}function bp(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.FRAMESET:{e._insertElement(t,P.HTML);break}case s.FRAME:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case s.NOFRAMES:{Pe(e,t);break}}}function gp(e,t){t.tagID===s.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==s.FRAMESET&&(e.insertionMode=T.AFTER_FRAMESET))}function Ap(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.NOFRAMES:{Pe(e,t);break}}}function Cp(e,t){t.tagID===s.HTML&&(e.insertionMode=T.AFTER_AFTER_FRAMESET)}function Dp(e,t){t.tagID===s.HTML?be(e,t):cn(e,t)}function cn(e,t){e.insertionMode=T.IN_BODY,In(e,t)}function _p(e,t){switch(t.tagID){case s.HTML:{be(e,t);break}case s.NOFRAMES:{Pe(e,t);break}}}function xp(e,t){t.chars=oe,e._insertCharacters(t)}function Ip(e,t){e._insertCharacters(t),e.framesetOk=!1}function ns(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==P.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Np(e,t){if(z1(t))ns(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===P.MATHML?Ha(t):r===P.SVG&&(Y1(t),Ua(t)),Ur(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function kp(e,t){if(t.tagID===s.P||t.tagID===s.BR){ns(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===P.HTML){e._endTagOutsideForeignContent(t);break}const u=e.treeAdapter.getTagName(r);if(u.toLowerCase()===t.tagName){t.tagName=u,e.openElements.shortenToLength(n);break}}}D.AREA,D.BASE,D.BASEFONT,D.BGSOUND,D.BR,D.COL,D.EMBED,D.FRAME,D.HR,D.IMG,D.INPUT,D.KEYGEN,D.LINK,D.META,D.PARAM,D.SOURCE,D.TRACK,D.WBR;const Sp=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,yp=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),li={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function rs(e,t){const n=Hp(e),r=Cr("type",{handlers:{root:Fp,element:Lp,text:Op,comment:is,doctype:Rp,raw:wp},unknown:Bp}),u={parser:n?new ai(li):ai.getFragmentParser(void 0,li),handle(o){r(o,u)},stitches:!1,options:t||{}};r(e,u),xt(u,Ue());const i=n?u.parser.document:u.parser.getFragment(),a=Ud(i,{file:u.options.file});return u.stitches&&_e(a,"comment",function(o,l,c){const h=o;if(h.value.stitch&&c&&l!==void 0){const f=c.children;return f[l]=h.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function us(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Fp(e,t){us(e.children,t)}function Lp(e,t){Mp(e,t),us(e.children,t),vp(e,t)}function Op(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Z.CHARACTER,chars:e.value,location:Kt(e)};xt(t,Ue(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Rp(e,t){const n={type:Z.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Kt(e)};xt(t,Ue(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Pp(e,t){t.stitches=!0;const n=Up(e);if("children"in e&&"children"in n){const r=rs({type:"root",children:e.children},t.options);n.children=r.children}is({type:"comment",value:{stitch:n}},t)}function is(e,t){const n=e.value,r={type:Z.COMMENT,data:n,location:Kt(e)};xt(t,Ue(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function wp(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,as(t,Ue(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Sp,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function Bp(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))Pp(n,t);else{let r="";throw yp.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function xt(e,t){as(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=ce.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 as(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function Mp(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ce.PLAINTEXT)return;xt(t,Ue(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:it.html;u===it.html&&n==="svg"&&(u=it.svg);const i=Vd({...e,children:[]},{space:u===it.svg?"svg":"html"}),a={type:Z.START_TAG,tagName:n,tagID:_t(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:Kt(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function vp(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Zd.includes(n)||t.parser.tokenizer.state===ce.PLAINTEXT)return;xt(t,Dn(e));const r={type:Z.END_TAG,tagName:n,tagID:_t(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Kt(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ce.RCDATA||t.parser.tokenizer.state===ce.RAWTEXT||t.parser.tokenizer.state===ce.SCRIPT_DATA)&&(t.parser.tokenizer.state=ce.DATA)}function Hp(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Kt(e){const t=Ue(e)||{line:void 0,column:void 0,offset:void 0},n=Dn(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 Up(e){return"children"in e?We({...e,children:[]}):We(e)}function zp(e){return function(t,n){return rs(t,{...e,file:n})}}const ss=function(e){if(e==null)return jp;if(typeof e=="string")return qp(e);if(typeof e=="object")return Yp(e);if(typeof e=="function")return jr(e);throw new Error("Expected function, string, or array as `test`")};function Yp(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=ss(e[n]);return jr(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function qp(e){return jr(t);function t(n){return n.tagName===e}}function jr(e){return t;function t(n,r,u){return!!(Vp(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function jp(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function Vp(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const Wp=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,Qp=/^[a-zA-Z]:\\/;function Gp(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return Qp.test(e)?!1:Wp.test(e)}const $p=["http","https"],Xp=["nofollow"],Kp={};function Jp(e){const t=e||Kp,n=t.protocols||$p,r=ss(t.test);return function(u){_e(u,"element",function(i,a,o){if(i.tagName==="a"&&typeof i.properties.href=="string"&&r(i,a,o)){const l=i.properties.href;if(Gp(l)?n.includes(l.slice(0,l.indexOf(":"))):l.startsWith("//")){const c=Rt(t.content,i),h=c&&!Array.isArray(c)?[c]:c,f=Rt(t.rel,i)||Xp,p=typeof f=="string"?hr(f):f,d=Rt(t.target,i),g=Rt(t.properties,i);if(g&&Object.assign(i.properties,We(g)),p.length>0&&(i.properties.rel=[...p]),d&&(i.properties.target=d),h){const _=Rt(t.contentProperties,i)||{};i.children.push({type:"element",tagName:"span",properties:We(_),children:We(h)})}}}})}}function Rt(e,t){return typeof e=="function"?e(t):e}function os(e){const t=e.type==="element"?e.tagName.toLowerCase():"",n=t.length===2&&t.charCodeAt(0)===104?t.charCodeAt(1):0;return n>48&&n<55?n-48:void 0}function Zp(e,t){if(typeof t!="number"||!t||!Number.isFinite(t)||Math.floor(t)!==t)throw new Error("Expected a non-null finite integer, not `"+t+"`");_e(e,"element",function(n){let r=os(n);r&&(r+=t,n.tagName="h"+(r>6?6:r<1?1:r))})}const eE={};function tE(e){const t=(e||eE).shift||0;return function(n){t&&Zp(n,t)}}const nE=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,rE=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,uE={};function ci(e,t){return(uE.jsx?rE:nE).test(e)}const iE=/[ \t\n\f\r]/g;function aE(e){return typeof e=="object"?e.type==="text"?fi(e.value):!1:fi(e)}function fi(e){return e.replace(iE,"")===""}var ht={},tr,hi;function sE(){if(hi)return tr;hi=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
|
|
57
|
+
`,c="/",h="*",f="",p="comment",d="declaration";tr=function(_,S){if(typeof _!="string")throw new TypeError("First argument must be a string");if(!_)return[];S=S||{};var x=1,L=1;function R(M){var z=M.match(t);z&&(x+=z.length);var C=M.lastIndexOf(l);L=~C?M.length-C:L+M.length}function Y(){var M={line:x,column:L};return function(z){return z.position=new j(M),W(),z}}function j(M){this.start=M,this.end={line:x,column:L},this.source=S.source}j.prototype.content=_;function k(M){var z=new Error(S.source+":"+x+":"+L+": "+M);if(z.reason=M,z.filename=S.source,z.line=x,z.column=L,z.source=_,!S.silent)throw z}function V(M){var z=M.exec(_);if(z){var C=z[0];return R(C),_=_.slice(C.length),z}}function W(){V(n)}function O(M){var z;for(M=M||[];z=I();)z!==!1&&M.push(z);return M}function I(){var M=Y();if(!(c!=_.charAt(0)||h!=_.charAt(1))){for(var z=2;f!=_.charAt(z)&&(h!=_.charAt(z)||c!=_.charAt(z+1));)++z;if(z+=2,f===_.charAt(z-1))return k("End of comment missing");var C=_.slice(2,z-2);return L+=2,R(C),_=_.slice(z),L+=2,M({type:p,comment:C})}}function H(){var M=Y(),z=V(r);if(z){if(I(),!V(u))return k("property missing ':'");var C=V(i),K=M({type:d,property:g(z[0].replace(e,f)),value:C?g(C[0].replace(e,f)):f});return V(a),K}}function U(){var M=[];O(M);for(var z;z=H();)z!==!1&&(M.push(z),O(M));return M}return W(),U()};function g(_){return _?_.replace(o,f):f}return tr}var di;function oE(){if(di)return ht;di=1;var e=ht&&ht.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ht,"__esModule",{value:!0}),ht.default=n;var t=e(sE());function n(r,u){var i=null;if(!r||typeof r!="string")return i;var a=(0,t.default)(r),o=typeof u=="function";return a.forEach(function(l){if(l.type==="declaration"){var c=l.property,h=l.value;o?u(c,h,l):h&&(i=i||{},i[c]=h)}}),i}return ht}var lE=oE();const mi=gr(lE),cE=mi.default||mi,Vr={}.hasOwnProperty,fE=new Map,hE=/[A-Z]/g,dE=/-([a-z])/g,mE=new Set(["table","tbody","thead","tfoot","tr"]),pE=new Set(["td","th"]),ls="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function EE(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=xE(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=_E(n,t.jsx,t.jsxs)}const u={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?tt:$t,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=cs(u,e,void 0);return i&&typeof i!="string"?i:u.create(e,u.Fragment,{children:i||void 0},void 0)}function cs(e,t,n){if(t.type==="element")return TE(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return bE(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return AE(e,t,n);if(t.type==="mdxjsEsm")return gE(e,t);if(t.type==="root")return CE(e,t,n);if(t.type==="text")return DE(e,t)}function TE(e,t,n){const r=e.schema;let u=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(u=tt,e.schema=u),e.ancestors.push(t);const i=hs(e,t.tagName,!1),a=IE(e,t);let o=Qr(e,t);return mE.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!aE(l):!0})),fs(e,a,i,t),Wr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function bE(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Vt(e,t.position)}function gE(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Vt(e,t.position)}function AE(e,t,n){const r=e.schema;let u=r;t.name==="svg"&&r.space==="html"&&(u=tt,e.schema=u),e.ancestors.push(t);const i=t.name===null?e.Fragment:hs(e,t.name,!0),a=NE(e,t),o=Qr(e,t);return fs(e,a,i,t),Wr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function CE(e,t,n){const r={};return Wr(r,Qr(e,t)),e.create(t,e.Fragment,r,n)}function DE(e,t){return t.value}function fs(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Wr(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function _E(e,t,n){return r;function r(u,i,a,o){const c=Array.isArray(a.children)?n:t;return o?c(i,a,o):c(i,a)}}function xE(e,t){return n;function n(r,u,i,a){const o=Array.isArray(i.children),l=Ue(r);return t(u,i,a,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function IE(e,t){const n={};let r,u;for(u in t.properties)if(u!=="children"&&Vr.call(t.properties,u)){const i=kE(e,u,t.properties[u]);if(i){const[a,o]=i;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&pE.has(t.tagName)?r=o:n[a]=o}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function NE(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const a=i.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else Vt(e,t.position);else{const u=r.name;let i;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,i=e.evaluater.evaluateExpression(o.expression)}else Vt(e,t.position);else i=r.value===null?!0:r.value;n[u]=i}return n}function Qr(e,t){const n=[];let r=-1;const u=e.passKeys?new Map:fE;for(;++r<t.children.length;){const i=t.children[r];let a;if(e.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const c=u.get(l)||0;a=l+"-"+c,u.set(l,c+1)}}const o=cs(e,i,a);o!==void 0&&n.push(o)}return n}function kE(e,t,n){const r=xn(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Ca(n):Da(n)),r.property==="style"){let u=typeof n=="object"?n:SE(e,String(n));return e.stylePropertyNameCase==="css"&&(u=yE(u)),["style",u]}return[e.elementAttributeNameCase==="react"&&r.space?Fd[r.property]||r.property:r.attribute,n]}}function SE(e,t){const n={};try{cE(t,r)}catch(u){if(!e.ignoreInvalidStyle){const i=u,a=new Te("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=ls+"#cannot-parse-style-attribute",a}}return n;function r(u,i){let a=u;a.slice(0,2)!=="--"&&(a.slice(0,4)==="-ms-"&&(a="ms-"+a.slice(4)),a=a.replace(dE,LE)),n[a]=i}}function hs(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const u=t.split(".");let i=-1,a;for(;++i<u.length;){const o=ci(u[i])?{type:"Identifier",name:u[i]}:{type:"Literal",value:u[i]};a=a?{type:"MemberExpression",object:a,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}r=a}else r=ci(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const u=r.value;return Vr.call(e.components,u)?e.components[u]:u}if(e.evaluater)return e.evaluater.evaluateExpression(r);Vt(e)}function Vt(e,t){const n=new Te("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=ls+"#cannot-handle-mdx-estrees-without-createevaluater",n}function yE(e){const t={};let n;for(n in e)Vr.call(e,n)&&(t[FE(n)]=e[n]);return t}function FE(e){let t=e.replace(hE,OE);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function LE(e,t){return t.toUpperCase()}function OE(e){return"-"+e.toLowerCase()}function RE(e){const t=this;t.compiler=n;function n(r,u){return EE(r,{filePath:u.path,...e})}}const PE=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,wE=Object.hasOwnProperty;class ds{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let u=BE(t,n===!0);const i=u;for(;wE.call(r.occurrences,u);)r.occurrences[i]++,u=i+"-"+r.occurrences[i];return r.occurrences[u]=0,u}reset(){this.occurrences=Object.create(null)}}function BE(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(PE,"").replace(/ /g,"-"))}function ME(e){return"children"in e?ms(e):"value"in e?e.value:""}function vE(e){return e.type==="text"?e.value:"children"in e?ms(e):""}function ms(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=vE(e.children[t]);return n.join("")}const HE={},pi=new ds;function UE(e){const n=(e||HE).prefix||"";return function(r){pi.reset(),_e(r,"element",function(u){os(u)&&!u.properties.id&&(u.properties.id=n+pi.slug(ME(u)))})}}const bt=(...e)=>e.filter(Boolean).join(" "),zE=e=>{const t=[],n=[];let r=-1,u=-1;for(const{children:i,...a}of e){if(r<a.depth&&a.depth<=u+1){const o=a.depth-r;u=a.depth,(n[o-1].children??[]).push(a),n[o]=a;continue}t.push(a),n[0]=a,r=u=a.depth}return t};var Ei;(e=>{e.clickable=`
|
|
74
58
|
px-2
|
|
75
59
|
min-h-[calc(44/16*1rem)]
|
|
76
60
|
border
|
|
@@ -147,7 +131,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
147
131
|
${n.focus}
|
|
148
132
|
peer-focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
149
133
|
peer-focus-visible:ring-[calc(2/16*1rem)]
|
|
150
|
-
`})(e.Peer||(e.Peer={}))})(Ei||(Ei={}));const
|
|
134
|
+
`})(e.Peer||(e.Peer={}))})(Ei||(Ei={}));const gt=e=>e.type==="containerDirective"||e.type==="leafDirective"||e.type==="textDirective",Gr=e=>e.type==="containerDirective",YE=e=>e.type==="textDirective",qE=e=>e.type==="heading",jE=()=>e=>{_e(e,gt,t=>{if(t.type==="containerDirective"||t.type==="leafDirective"){if(t.name!=="youtube")return;const n=t.data||(t.data={}),r=t.attributes||{},u=r.id;u||console.error("Unexpected missing `id` on `youtube` directive");const a=t.children[0].value,o=r.width,l=r.height,c=r.allow||"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",h=r.referrerpolicy||"strict-origin-when-cross-origin";n.hName="iframe",n.hProperties={title:a,src:`https://www.youtube-nocookie.com/embed/${u}`,width:o,height:l,frameBorder:0,allow:c,referrerpolicy:h,allowFullScreen:!0,loading:"lazy"}}})},VE=()=>e=>{_e(e,gt,t=>{t.data=t.data??{};const n=ve(t.name,t.attributes||{});t.data.hName=n.tagName,t.data.hProperties=n.properties})},WE=()=>e=>{_e(e,YE,t=>{if(t.name!=="link-button")return;const n=t.data||(t.data={}),r="a";n.hName=r,t.attributes=t.attributes??{},t.attributes["data-node"]=t.name,n.hProperties=ve(r,t.attributes).properties})},QE=()=>e=>{_e(e,Gr,t=>{if(!t.name.startsWith("grid-cols-"))return;t.attributes=t.attributes??{},t.attributes.as==="list"&&(t.attributes.as=void 0,t.attributes["data-behavior"]="list");const n=Number.parseInt(t.name.split("-").pop()||"1"),r={1:"md:grid-cols-1",2:"md:grid-cols-2",3:"md:grid-cols-3",4:"md:grid-cols-4",5:"md:grid-cols-5",6:"md:grid-cols-6",7:"md:grid-cols-6",8:"md:grid-cols-6",9:"md:grid-cols-6",10:"md:grid-cols-6",11:"md:grid-cols-6",12:"md:grid-cols-12"};t.data=t.data??{};const u="div";t.data.hName=u,t.attributes.class=`flex flex-col md:grid ${r[n]} gap-8`,t.data.hProperties=ve(u,t.attributes).properties})},GE=()=>e=>{_e(e,Gr,t=>{if(t.name!=="cell")return;t.data=t.data??{};const n="div";t.data.hName=n,t.attributes=t.attributes??{},t.attributes["data-node"]=t.name,t.data.hProperties=ve(n,t.attributes).properties,t.children.forEach(r=>{if(!gt(r)||r.name!=="cell-img")return;r.data=r.data??{};const u="img";r.data.hName=u,r.attributes=r.attributes??{},r.attributes["data-node"]=r.name,r.data.hProperties=ve(u,r.attributes).properties})})},$E=()=>e=>{_e(e,gt,t=>{if(t.type!=="containerDirective"||t.name!=="card")return;t.data=t.data??{};const n="article";t.data.hName=n,t.attributes=t.attributes??{},t.attributes["data-node"]=t.name,t.attributes.as==="link"&&(t.attributes.as=void 0,t.attributes["data-behavior"]="link",t.attributes["data-href"]=t.attributes.href||""),t.data.hProperties=ve(n,t.attributes).properties,t.children.forEach(r=>{if(!gt(r))return;r.data=r.data??{};let u="div";r.name==="card-img"&&(u="img"),r.data.hName=u,r.attributes=r.attributes??{},r.attributes["data-node"]=r.name,r.data.hProperties=ve(u,r.attributes).properties})})},XE=()=>e=>{_e(e,Gr,t=>{if(t.name!=="faq")return;t.data=t.data??{};const n="dl";t.data.hName=n,t.data.hProperties=ve(n,t.attributes||{}).properties,t.children.forEach(r=>{if(!gt(r)||r.name!=="faq-q"&&r.name!=="faq-a")return;r.data=r.data??{};const u=r.name==="faq-q"?"dt":"dd";r.data.hName=u,r.data.hProperties=ve(u,r.attributes||{}).properties})})},KE=()=>(e,t)=>{const n=[],r=new ds;_e(e,qE,i=>{const a={id:r.slug(zt(i)),depth:i.depth,value:zt(i)};n.push(a)}),t.data.fm||(t.data.fm={}),t.data.fm.headings=zE(n)},ps=({items:e})=>ue.jsx(ue.Fragment,{children:e.map(t=>ue.jsxs("li",{children:[ue.jsx(ne.Link,{href:`#${t.id}`,children:t.value}),t.children?ue.jsx(ne.Ul,{children:ue.jsx(ps,{items:t.children})}):null]},t.id))}),JE=e=>{const{className:t,children:n,...r}=e;return ue.jsx(ne.OverflowContainer,{children:ue.jsx(ne.Table,{className:bt(t),...r,children:n})})},ZE=e=>{const{children:t,href:n,...r}=e;return r["data-node"]==="link-button"?ue.jsx(ne.Button,{as:"a",variant:"secondary",href:n,children:t}):ue.jsx(ne.Link,{href:n,...r,children:t})},eT=e=>{const{children:t,className:n,...r}=e;if(r["data-node"]==="card"){if(r["data-behavior"]==="link"){const i=r["data-href"];return ue.jsx(ne.LinkCard,{href:i,className:bt(n),children:t})}return ue.jsx(ne.Card,{className:bt(n),children:t})}return ue.jsx("article",{className:n,...r,children:t})},tT=e=>{const{children:t,...n}=e,r=n["data-node"];return r==="card-title"?ue.jsx(ne.LinkCardHeader,{children:t}):r==="card-description"?ue.jsx(ne.CardBody,{children:t}):r==="card-footer"?ue.jsx(ne.CardFooter,{children:t}):n["data-behavior"]==="list"?ue.jsx("ul",{className:n.className,children:qe.Children.map(t,u=>ue.jsx("li",{className:"sm:grid",children:u},Math.random()))}):ue.jsx("div",{...n,children:t})},nT=e=>{const{children:t,className:n,...r}=e;return r["data-node"]==="card-img"?ue.jsx(ne.CardImg,{className:bt("w-full aspect-[352/226]",n),...r}):r["data-node"]==="cell-img"?ue.jsx("img",{className:bt("mb-4",n),...r}):ue.jsx("img",{className:n,...r})},rT=e=>{const{className:t,children:n,...r}=e,u=`
|
|
151
135
|
my-8
|
|
152
136
|
`;let i=`
|
|
153
137
|
aspect-video
|
|
@@ -159,8 +143,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
159
143
|
lg:aspect-auto
|
|
160
144
|
lg:w-[${e.width}px]
|
|
161
145
|
lg:h-[${e.height}px]
|
|
162
|
-
`),
|
|
146
|
+
`),ue.jsx("iframe",{className:bt(u,i,t),...r,children:n})},uT=e=>new Promise(t=>setTimeout(t,e)),iT=({children:e,showToc:t,tocTitle:n="目次",shiftHeding:r=0})=>{const[u,i]=qe.useState([]),[a,o]=qe.useState(ue.jsx(qe.Fragment,{})),l=qe.useCallback(f=>i0().use(KE).processSync(f).data.fm.headings.filter(g=>g.depth<3),[]),c=qe.useCallback(f=>{const p={...Fs,components:{a:ZE,article:eT,button:ne.Button,code:ne.Code,dl:ne.Faq,dt:ne.Question,dd:ne.Answer,h1:ne.H1,h2:ne.H2,h3:ne.H3,h4:ne.H4,h5:ne.H5,h6:ne.H6,iframe:rT,img:nT,ul:ne.Ul,ol:ne.Ol,pre:ne.Pre,table:JE,caption:ne.Caption,thead:ne.Thead,tbody:ne.Tbody,th:ne.Th,tr:ne.Tr,td:ne.Td,div:tT}};return Qi().use(Oi).use(Mf).use(Lh).use(Cd).use(VE).use(jE).use(WE).use(GE).use($E).use(XE).use(QE).use(bd,{allowDangerousHtml:!0}).use(zp).use(Jp,{target:"_blank"}).use(tE,{shift:r}).use(UE).use(RE,p).processSync(f).result},[r]);return qe.useEffect(()=>{i(l(e)),o(c(e))},[e,l,c]),qe.useEffect(()=>{(async()=>{await uT(500),location.hash&&document.getElementById(decodeURI(location.hash.substring(1)))?.scrollIntoView()})()},[]),ue.jsxs("div",{className:"py-8 flex flex-col gap-8",children:[t&&ue.jsxs("nav",{className:`
|
|
163
147
|
rounded-3xl
|
|
164
148
|
p-10
|
|
165
149
|
bg-yellow-50
|
|
166
|
-
`,children:[
|
|
150
|
+
`,children:[ue.jsx("h2",{className:"mb-4 font-bold text-h-xs-m sm:text-h-xs",children:n}),ue.jsx(ne.Ul,{children:ue.jsx(ps,{items:u})})]}),a]})};exports.Markdown=iT;
|