@sakura-ui/markdown 0.1.0 → 0.1.2
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 +45 -394
- package/dist/index.es.js +5148 -6177
- package/package.json +17 -16
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ke=require("react"),ie=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 Rr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mn={exports:{}},Ht={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var lu;function Ns(){if(lu)return Ht;lu=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 Ht.Fragment=t,Ht.jsx=n,Ht.jsxs=n,Ht}var Ut={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,72 +14,72 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
at`)?" (<anonymous>)":-1<
|
|
19
|
-
`+
|
|
20
|
-
`),
|
|
21
|
-
`);for(
|
|
22
|
-
`+X[
|
|
17
|
+
*/var cu;function Ss(){return cu||(cu=1,process.env.NODE_ENV!=="production"&&function(){function e(C){if(C==null)return null;if(typeof C=="function")return C.$$typeof===ye?null:C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case y:return"Fragment";case W:return"Portal";case $:return"Profiler";case Q:return"StrictMode";case z:return"Suspense";case M:return"SuspenseList"}if(typeof C=="object")switch(typeof C.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),C.$$typeof){case N:return(C.displayName||"Context")+".Provider";case R:return(C._context.displayName||"Context")+".Consumer";case H:var j=C.render;return C=C.displayName,C||(C=j.displayName||j.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case U:return j=C.displayName||null,j!==null?j:e(C.type)||"Memo";case D:j=C._payload,C=C._init;try{return e(C(j))}catch{}}return null}function t(C){return""+C}function n(C){try{t(C);var j=!1}catch{j=!0}if(j){j=console;var V=j.error,ue=typeof Symbol=="function"&&Symbol.toStringTag&&C[Symbol.toStringTag]||C.constructor.name||"Object";return V.call(j,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ue),t(C)}}function r(){}function u(){if(Ce===0){ze=console.log,fe=console.info,nt=console.warn,ve=console.error,Ge=console.group,$e=console.groupCollapsed,ct=console.groupEnd;var C={configurable:!0,enumerable:!0,value:r,writable:!0};Object.defineProperties(console,{info:C,log:C,warn:C,error:C,group:C,groupCollapsed:C,groupEnd:C})}Ce++}function i(){if(Ce--,Ce===0){var C={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:de({},C,{value:ze}),info:de({},C,{value:fe}),warn:de({},C,{value:nt}),error:de({},C,{value:ve}),group:de({},C,{value:Ge}),groupCollapsed:de({},C,{value:$e}),groupEnd:de({},C,{value:ct})})}0>Ce&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function a(C){if(Pt===void 0)try{throw Error()}catch(V){var j=V.stack.trim().match(/\n( *(at )?)/);Pt=j&&j[1]||"",fn=-1<V.stack.indexOf(`
|
|
18
|
+
at`)?" (<anonymous>)":-1<V.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
19
|
+
`+Pt+C+fn}function o(C,j){if(!C||wt)return"";var V=bt.get(C);if(V!==void 0)return V;wt=!0,V=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var ue=null;ue=Ae.H,Ae.H=null,u();try{var pe={DetermineComponentFrameRoot:function(){try{if(j){var Ee=function(){throw Error()};if(Object.defineProperty(Ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ee,[])}catch(Ie){var Ye=Ie}Reflect.construct(C,[],Ee)}else{try{Ee.call()}catch(Ie){Ye=Ie}C.call(Ee.prototype)}}else{try{throw Error()}catch(Ie){Ye=Ie}(Ee=C())&&typeof Ee.catch=="function"&&Ee.catch(function(){})}}catch(Ie){if(Ie&&Ye&&typeof Ie.stack=="string")return[Ie.stack,Ye.stack]}return[null,null]}};pe.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var S=Object.getOwnPropertyDescriptor(pe.DetermineComponentFrameRoot,"name");S&&S.configurable&&Object.defineProperty(pe.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var F=pe.DetermineComponentFrameRoot(),G=F[0],K=F[1];if(G&&K){var X=G.split(`
|
|
20
|
+
`),me=K.split(`
|
|
21
|
+
`);for(F=S=0;S<X.length&&!X[S].includes("DetermineComponentFrameRoot");)S++;for(;F<me.length&&!me[F].includes("DetermineComponentFrameRoot");)F++;if(S===X.length||F===me.length)for(S=X.length-1,F=me.length-1;1<=S&&0<=F&&X[S]!==me[F];)F--;for(;1<=S&&0<=F;S--,F--)if(X[S]!==me[F]){if(S!==1||F!==1)do if(S--,F--,0>F||X[S]!==me[F]){var Le=`
|
|
22
|
+
`+X[S].replace(" at new "," at ");return C.displayName&&Le.includes("<anonymous>")&&(Le=Le.replace("<anonymous>",C.displayName)),typeof C=="function"&&bt.set(C,Le),Le}while(1<=S&&0<=F);break}}}finally{wt=!1,Ae.H=ue,i(),Error.prepareStackTrace=V}return X=(X=C?C.displayName||C.name:"")?a(X):"",typeof C=="function"&&bt.set(C,X),X}function l(C){if(C==null)return"";if(typeof C=="function"){var j=C.prototype;return o(C,!(!j||!j.isReactComponent))}if(typeof C=="string")return a(C);switch(C){case z:return a("Suspense");case M:return a("SuspenseList")}if(typeof C=="object")switch(C.$$typeof){case H:return C=o(C.render,!1),C;case U:return l(C.type);case D:j=C._payload,C=C._init;try{return l(C(j))}catch{}}return""}function c(){var C=Ae.A;return C===null?null:C.getOwner()}function h(C){if(g.call(C,"key")){var j=Object.getOwnPropertyDescriptor(C,"key").get;if(j&&j.isReactWarning)return!1}return C.key!==void 0}function f(C,j){function V(){Bt||(Bt=!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)",j))}V.isReactWarning=!0,Object.defineProperty(C,"key",{get:V,configurable:!0})}function m(){var C=e(this.type);return dn[C]||(dn[C]=!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.")),C=this.props.ref,C!==void 0?C:null}function d(C,j,V,ue,pe,S){return V=S.ref,C={$$typeof:Y,type:C,key:j,props:S,_owner:pe},(V!==void 0?V:null)!==null?Object.defineProperty(C,"ref",{enumerable:!1,get:m}):Object.defineProperty(C,"ref",{enumerable:!1,value:null}),C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(C,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C}function b(C,j,V,ue,pe,S){if(typeof C=="string"||typeof C=="function"||C===y||C===$||C===Q||C===z||C===M||C===te||typeof C=="object"&&C!==null&&(C.$$typeof===D||C.$$typeof===U||C.$$typeof===N||C.$$typeof===R||C.$$typeof===H||C.$$typeof===Me||C.getModuleId!==void 0)){var F=j.children;if(F!==void 0)if(ue)if(A(F)){for(ue=0;ue<F.length;ue++)x(F[ue],C);Object.freeze&&Object.freeze(F)}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 x(F,C)}else F="",(C===void 0||typeof C=="object"&&C!==null&&Object.keys(C).length===0)&&(F+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),C===null?ue="null":A(C)?ue="array":C!==void 0&&C.$$typeof===Y?(ue="<"+(e(C.type)||"Unknown")+" />",F=" Did you accidentally export a JSX literal instead of a component?"):ue=typeof C,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ue,F);if(g.call(j,"key")){F=e(C);var G=Object.keys(j).filter(function(X){return X!=="key"});ue=0<G.length?"{key: someKey, "+G.join(": ..., ")+": ...}":"{key: someKey}",Mt[F+ue]||(G=0<G.length?"{"+G.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
23
23
|
let props = %s;
|
|
24
24
|
<%s {...props} />
|
|
25
25
|
React keys must be passed directly to JSX without using spread:
|
|
26
26
|
let props = %s;
|
|
27
|
-
<%s key={someKey} {...props} />`,
|
|
27
|
+
<%s key={someKey} {...props} />`,ue,F,G,F),Mt[F+ue]=!0)}if(F=null,V!==void 0&&(n(V),F=""+V),h(j)&&(n(j.key),F=""+j.key),"key"in j){V={};for(var K in j)K!=="key"&&(V[K]=j[K])}else V=j;return F&&f(V,typeof C=="function"?C.displayName||C.name||"Unknown":C),d(C,F,S,pe,c(),V)}function x(C,j){if(typeof C=="object"&&C&&C.$$typeof!==hn){if(A(C))for(var V=0;V<C.length;V++){var ue=C[V];L(ue)&&I(ue,j)}else if(L(C))C._store&&(C._store.validated=1);else if(C===null||typeof C!="object"?V=null:(V=ce&&C[ce]||C["@@iterator"],V=typeof V=="function"?V:null),typeof V=="function"&&V!==C.entries&&(V=V.call(C),V!==C))for(;!(C=V.next()).done;)L(C.value)&&I(C.value,j)}}function L(C){return typeof C=="object"&&C!==null&&C.$$typeof===Y}function I(C,j){if(C._store&&!C._store.validated&&C.key==null&&(C._store.validated=1,j=O(j),!vt[j])){vt[j]=!0;var V="";C&&C._owner!=null&&C._owner!==c()&&(V=null,typeof C._owner.tag=="number"?V=e(C._owner.type):typeof C._owner.name=="string"&&(V=C._owner.name),V=" It was passed a child from "+V+".");var ue=Ae.getCurrentStack;Ae.getCurrentStack=function(){var pe=l(C.type);return ue&&(pe+=ue()||""),pe},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',j,V),Ae.getCurrentStack=ue}}function O(C){var j="",V=c();return V&&(V=e(V.type))&&(j=`
|
|
28
28
|
|
|
29
|
-
Check the render method of \``+
|
|
29
|
+
Check the render method of \``+V+"`."),j||(C=e(C))&&(j=`
|
|
30
30
|
|
|
31
|
-
Check the top-level render call using <`+d+">."),O}var B=De,q=Symbol.for("react.transitional.element"),G=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),J=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),k=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),Ee=Symbol.iterator,Se=Symbol.for("react.client.reference"),de=B.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=Object.prototype.hasOwnProperty,le=Object.assign,we=Symbol.for("react.client.reference"),C=Array.isArray,be=0,Be,ge,Ve,Le,ze,je,Ge;r.__reactDisabledLog=!0;var nt,Tt,rt=!1,Xe=new(typeof WeakMap=="function"?WeakMap:Map),kt=Symbol.for("react.client.reference"),lt,At={},ct={},ft={};Wt.Fragment=S,Wt.jsx=function(d,O,R,W,ae){return T(d,O,R,!1,W,ae)},Wt.jsxs=function(d,O,R,W,ae){return T(d,O,R,!0,W,ae)}}()),Wt}var Du;function Qs(){return Du||(Du=1,process.env.NODE_ENV==="production"?gn.exports=Vs():gn.exports=$s()),gn.exports}var oe=Qs();const Gs=zr(oe),Xs=Ws({__proto__:null,default:Gs},[oe]),Ks={};function an(e,t){const n=Ks,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Yi(e,r,u)}function Yi(e,t,n){if(Js(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 _u(e.children,t,n)}return Array.isArray(e)?_u(e,t,n):""}function _u(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=Yi(e[u],t,n);return r.join("")}function Js(e){return!!(e&&typeof e=="object")}const xu=document.createElement("i");function sn(e){const t="&"+e+";";xu.innerHTML=t;const n=xu.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function He(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?(He(e,e.length,0,t),e):t}const Nu={}.hasOwnProperty;function qi(e){const t={};let n=-1;for(;++n<e.length;)Zs(t,e[n]);return t}function Zs(e,t){let n;for(n in t){const u=(Nu.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){Nu.call(u,a)||(u[a]=[]);const o=i[a];eo(u[a],Array.isArray(o)?o:o?[o]:[])}}}function eo(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);He(e,0,0,r)}function Wi(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 $e(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ye=bt(/[A-Za-z]/),Ne=bt(/[\dA-Za-z]/),to=bt(/[#-'*+\--9=?A-Z^-~]/);function Fn(e){return e!==null&&(e<32||e===127)}const _r=bt(/\d/),no=bt(/[\dA-Fa-f]/),ro=bt(/[!-/:-@[-`{-~]/);function Q(e){return e!==null&&e<-2}function se(e){return e!==null&&(e<0||e===32)}function re(e){return e===-2||e===-1||e===32}const Mn=bt(new RegExp("\\p{P}|\\p{S}","u")),Nt=bt(/\s/);function bt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ht(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&Ne(e.charCodeAt(n+1))&&Ne(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 te(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(l){return re(l)?(e.enter(n),o(l)):t(l)}function o(l){return re(l)&&i++<u?(e.consume(l),o):(e.exit(n),t(l))}}const uo={tokenize:io};function io(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"),te(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 ao={tokenize:so},yu={tokenize:oo};function so(e){const t=this,n=[];let r=0,u,i,a;return o;function o(B){if(r<n.length){const q=n[r];return t.containerState=q[1],e.attempt(q[0].continuation,l,c)(B)}return c(B)}function l(B){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,u&&P();const q=t.events.length;let G=q,S;for(;G--;)if(t.events[G][0]==="exit"&&t.events[G][1].type==="chunkFlow"){S=t.events[G][1].end;break}y(r);let $=q;for(;$<t.events.length;)t.events[$][1].end={...S},$++;return He(t.events,G+1,0,t.events.slice(q)),t.events.length=$,c(B)}return o(B)}function c(B){if(r===n.length){if(!u)return p(B);if(u.currentConstruct&&u.currentConstruct.concrete)return T(B);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(yu,h,f)(B)}function h(B){return u&&P(),y(r),p(B)}function f(B){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,T(B)}function p(B){return t.containerState={},e.attempt(yu,m,T)(B)}function m(B){return r++,n.push([t.currentConstruct,t.containerState]),p(B)}function T(B){if(B===null){u&&P(),y(0),e.consume(B);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:u,contentType:"flow",previous:i}),x(B)}function x(B){if(B===null){F(e.exit("chunkFlow"),!0),y(0),e.consume(B);return}return Q(B)?(e.consume(B),F(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(B),x)}function F(B,q){const G=t.sliceStream(B);if(q&&G.push(null),B.previous=i,i&&(i.next=B),i=B,u.defineSkip(B.start),u.write(G),t.parser.lazy[B.start.line]){let S=u.events.length;for(;S--;)if(u.events[S][1].start.offset<a&&(!u.events[S][1].end||u.events[S][1].end.offset>a))return;const $=t.events.length;let J=$,w,k;for(;J--;)if(t.events[J][0]==="exit"&&t.events[J][1].type==="chunkFlow"){if(w){k=t.events[J][1].end;break}w=!0}for(y(r),S=$;S<t.events.length;)t.events[S][1].end={...k},S++;He(t.events,J+1,0,t.events.slice($)),t.events.length=S}}function y(B){let q=n.length;for(;q-- >B;){const G=n[q];t.containerState=G[1],G[0].exit.call(t,e)}n.length=B}function P(){u.write([null]),i=void 0,u=void 0,t.containerState._closeFlow=void 0}}function oo(e,t,n){return te(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function wt(e){if(e===null||se(e)||Nt(e))return 1;if(Mn(e))return 2}function vn(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 xr={name:"attention",resolveAll:lo,tokenize:co};function lo(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};Iu(f,-l),Iu(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,vn(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,He(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 co(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,u=wt(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=wt(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 Iu(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const fo={name:"autolink",tokenize:ho};function ho(e,t,n){let r=0;return u;function u(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(m){return ye(m)?(e.consume(m),a):m===64?n(m):c(m)}function a(m){return m===43||m===45||m===46||Ne(m)?(r=1,o(m)):c(m)}function o(m){return m===58?(e.consume(m),r=0,l):(m===43||m===45||m===46||Ne(m))&&r++<32?(e.consume(m),o):(r=0,c(m))}function l(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||Fn(m)?n(m):(e.consume(m),l)}function c(m){return m===64?(e.consume(m),h):to(m)?(e.consume(m),c):n(m)}function h(m){return Ne(m)?f(m):n(m)}function f(m){return m===46?(e.consume(m),r=0,h):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):p(m)}function p(m){if((m===45||Ne(m))&&r++<63){const T=m===45?p:f;return e.consume(m),T}return n(m)}}const hn={partial:!0,tokenize:mo};function mo(e,t,n){return r;function r(i){return re(i)?te(e,u,"linePrefix")(i):u(i)}function u(i){return i===null||Q(i)?t(i):n(i)}}const Vi={continuation:{tokenize:Eo},exit:bo,name:"blockQuote",tokenize:po};function po(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 re(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function Eo(e,t,n){const r=this;return u;function u(a){return re(a)?te(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(Vi,t,n)(a)}}function bo(e){e.exit("blockQuote")}const $i={name:"characterEscape",tokenize:go};function go(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 ro(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const Qi={name:"characterReference",tokenize:To};function To(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=Ne,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=no,h):(e.enter("characterReferenceValue"),i=7,a=_r,h(f))}function h(f){if(f===59&&u){const p=e.exit("characterReferenceValue");return a===Ne&&!sn(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 ku={partial:!0,tokenize:Co},Su={concrete:!0,name:"codeFenced",tokenize:Ao};function Ao(e,t,n){const r=this,u={partial:!0,tokenize:G};let i=0,a=0,o;return l;function l(S){return c(S)}function c(S){const $=r.events[r.events.length-1];return i=$&&$[1].type==="linePrefix"?$[2].sliceSerialize($[1],!0).length:0,o=S,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(S)}function h(S){return S===o?(a++,e.consume(S),h):a<3?n(S):(e.exit("codeFencedFenceSequence"),re(S)?te(e,f,"whitespace")(S):f(S))}function f(S){return S===null||Q(S)?(e.exit("codeFencedFence"),r.interrupt?t(S):e.check(ku,x,q)(S)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(S))}function p(S){return S===null||Q(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(S)):re(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),te(e,m,"whitespace")(S)):S===96&&S===o?n(S):(e.consume(S),p)}function m(S){return S===null||Q(S)?f(S):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),T(S))}function T(S){return S===null||Q(S)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(S)):S===96&&S===o?n(S):(e.consume(S),T)}function x(S){return e.attempt(u,q,F)(S)}function F(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),y}function y(S){return i>0&&re(S)?te(e,P,"linePrefix",i+1)(S):P(S)}function P(S){return S===null||Q(S)?e.check(ku,x,q)(S):(e.enter("codeFlowValue"),B(S))}function B(S){return S===null||Q(S)?(e.exit("codeFlowValue"),P(S)):(e.consume(S),B)}function q(S){return e.exit("codeFenced"),t(S)}function G(S,$,J){let w=0;return k;function k(D){return S.enter("lineEnding"),S.consume(D),S.exit("lineEnding"),z}function z(D){return S.enter("codeFencedFence"),re(D)?te(S,Y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):Y(D)}function Y(D){return D===o?(S.enter("codeFencedFenceSequence"),H(D)):J(D)}function H(D){return D===o?(w++,S.consume(D),H):w>=a?(S.exit("codeFencedFenceSequence"),re(D)?te(S,j,"whitespace")(D):j(D)):J(D)}function j(D){return D===null||Q(D)?(S.exit("codeFencedFence"),$(D)):J(D)}}}function Co(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 Gn={name:"codeIndented",tokenize:_o},Do={partial:!0,tokenize:xo};function _o(e,t,n){const r=this;return u;function u(c){return e.enter("codeIndented"),te(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(Do,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 xo(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):te(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 No={name:"codeText",previous:Io,resolve:yo,tokenize:ko};function yo(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 Io(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ko(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 So{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&&Vt(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),Vt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Vt(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);Vt(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Vt(this.left,n.reverse())}}}function Vt(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 Gi(e){const t={};let n=-1,r,u,i,a,o,l,c;const h=new So(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,Fo(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 He(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!c}function Fo(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,m=n,T=0,x=0;const F=[x];for(;m;){for(;e.get(++u)[1]!==m;);i.push(u),m._tokenizer||(h=r.sliceStream(m),m.next||h.push(null),f&&a.defineSkip(m.start),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(h),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=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&&(x=p+1,F.push(x),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(a.events=[],m?(m._tokenizer=void 0,m.previous=void 0):F.pop(),p=F.length;p--;){const y=o.slice(F[p],F[p+1]),P=i.pop();l.push([P,P+y.length-1]),e.splice(P,2,y)}for(l.reverse(),p=-1;++p<l.length;)c[T+l[p][0]]=T+l[p][1],T+=l[p][1]-l[p][0]-1;return c}const Lo={resolve:Ro,tokenize:Po},Oo={partial:!0,tokenize:wo};function Ro(e){return Gi(e),e}function Po(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(Oo,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 wo(e,t,n){const r=this;return u;function u(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),te(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(y){return y===60?(e.enter(r),e.enter(u),e.enter(i),e.consume(y),e.exit(i),p):y===null||y===32||y===41||Fn(y)?n(y):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),x(y))}function p(y){return y===62?(e.enter(i),e.consume(y),e.exit(i),e.exit(u),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===62?(e.exit("chunkString"),e.exit(o),p(y)):y===null||y===60||Q(y)?n(y):(e.consume(y),y===92?T:m)}function T(y){return y===60||y===62||y===92?(e.consume(y),m):m(y)}function x(y){return!h&&(y===null||y===41||se(y))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(y)):h<c&&y===40?(e.consume(y),h++,x):y===41?(e.consume(y),h--,x):y===null||y===32||y===40||Fn(y)?n(y):(e.consume(y),y===92?F:x)}function F(y){return y===40||y===41||y===92?(e.consume(y),x):x(y)}}function Ki(e,t,n,r,u,i){const a=this;let o=0,l;return c;function c(m){return e.enter(r),e.enter(u),e.consume(m),e.exit(u),e.enter(i),h}function h(m){return o>999||m===null||m===91||m===93&&!l||m===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(m):m===93?(e.exit(i),e.enter(u),e.consume(m),e.exit(u),e.exit(r),t):Q(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||Q(m)||o++>999?(e.exit("chunkString"),h(m)):(e.consume(m),l||(l=!re(m)),m===92?p:f)}function p(m){return m===91||m===92||m===93?(e.consume(m),o++,f):f(m)}}function Ji(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"),te(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 at(e,t){let n;return r;function r(u){return Q(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):re(u)?te(e,r,n?"linePrefix":"lineSuffix")(u):t(u)}}const Bo={name:"definition",tokenize:vo},Mo={partial:!0,tokenize:Ho};function vo(e,t,n){const r=this;let u;return i;function i(m){return e.enter("definition"),a(m)}function a(m){return Ki.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function o(m){return u=$e(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):n(m)}function l(m){return se(m)?at(e,c)(m):c(m)}function c(m){return Xi(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function h(m){return e.attempt(Mo,f,f)(m)}function f(m){return re(m)?te(e,p,"whitespace")(m):p(m)}function p(m){return m===null||Q(m)?(e.exit("definition"),r.parser.defined.push(u),t(m)):n(m)}}function Ho(e,t,n){return r;function r(o){return se(o)?at(e,u)(o):n(o)}function u(o){return Ji(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return re(o)?te(e,a,"whitespace")(o):a(o)}function a(o){return o===null||Q(o)?t(o):n(o)}}const Uo={name:"hardBreakEscape",tokenize:zo};function zo(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 jo={name:"headingAtx",resolve:Yo,tokenize:qo};function Yo(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"},He(e,r,n-r+1,[["enter",u,t],["enter",i,t],["exit",i,t],["exit",u,t]])),e}function qo(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||se(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)):re(h)?te(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||se(h)?(e.exit("atxHeadingText"),o(h)):(e.consume(h),c)}}const Wo=["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"],Fu=["pre","script","style","textarea"],Vo={concrete:!0,name:"htmlFlow",resolveTo:Go,tokenize:Xo},$o={partial:!0,tokenize:Jo},Qo={partial:!0,tokenize:Ko};function Go(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 Xo(e,t,n){const r=this;let u,i,a,o,l;return c;function c(C){return h(C)}function h(C){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(C),f}function f(C){return C===33?(e.consume(C),p):C===47?(e.consume(C),i=!0,x):C===63?(e.consume(C),u=3,r.interrupt?t:A):ye(C)?(e.consume(C),a=String.fromCharCode(C),F):n(C)}function p(C){return C===45?(e.consume(C),u=2,m):C===91?(e.consume(C),u=5,o=0,T):ye(C)?(e.consume(C),u=4,r.interrupt?t:A):n(C)}function m(C){return C===45?(e.consume(C),r.interrupt?t:A):n(C)}function T(C){const be="CDATA[";return C===be.charCodeAt(o++)?(e.consume(C),o===be.length?r.interrupt?t:Y:T):n(C)}function x(C){return ye(C)?(e.consume(C),a=String.fromCharCode(C),F):n(C)}function F(C){if(C===null||C===47||C===62||se(C)){const be=C===47,Be=a.toLowerCase();return!be&&!i&&Fu.includes(Be)?(u=1,r.interrupt?t(C):Y(C)):Wo.includes(a.toLowerCase())?(u=6,be?(e.consume(C),y):r.interrupt?t(C):Y(C)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(C):i?P(C):B(C))}return C===45||Ne(C)?(e.consume(C),a+=String.fromCharCode(C),F):n(C)}function y(C){return C===62?(e.consume(C),r.interrupt?t:Y):n(C)}function P(C){return re(C)?(e.consume(C),P):k(C)}function B(C){return C===47?(e.consume(C),k):C===58||C===95||ye(C)?(e.consume(C),q):re(C)?(e.consume(C),B):k(C)}function q(C){return C===45||C===46||C===58||C===95||Ne(C)?(e.consume(C),q):G(C)}function G(C){return C===61?(e.consume(C),S):re(C)?(e.consume(C),G):B(C)}function S(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),l=C,$):re(C)?(e.consume(C),S):J(C)}function $(C){return C===l?(e.consume(C),l=null,w):C===null||Q(C)?n(C):(e.consume(C),$)}function J(C){return C===null||C===34||C===39||C===47||C===60||C===61||C===62||C===96||se(C)?G(C):(e.consume(C),J)}function w(C){return C===47||C===62||re(C)?B(C):n(C)}function k(C){return C===62?(e.consume(C),z):n(C)}function z(C){return C===null||Q(C)?Y(C):re(C)?(e.consume(C),z):n(C)}function Y(C){return C===45&&u===2?(e.consume(C),ne):C===60&&u===1?(e.consume(C),Ee):C===62&&u===4?(e.consume(C),le):C===63&&u===3?(e.consume(C),A):C===93&&u===5?(e.consume(C),de):Q(C)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check($o,we,H)(C)):C===null||Q(C)?(e.exit("htmlFlowData"),H(C)):(e.consume(C),Y)}function H(C){return e.check(Qo,j,we)(C)}function j(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),D}function D(C){return C===null||Q(C)?H(C):(e.enter("htmlFlowData"),Y(C))}function ne(C){return C===45?(e.consume(C),A):Y(C)}function Ee(C){return C===47?(e.consume(C),a="",Se):Y(C)}function Se(C){if(C===62){const be=a.toLowerCase();return Fu.includes(be)?(e.consume(C),le):Y(C)}return ye(C)&&a.length<8?(e.consume(C),a+=String.fromCharCode(C),Se):Y(C)}function de(C){return C===93?(e.consume(C),A):Y(C)}function A(C){return C===62?(e.consume(C),le):C===45&&u===2?(e.consume(C),A):Y(C)}function le(C){return C===null||Q(C)?(e.exit("htmlFlowData"),we(C)):(e.consume(C),le)}function we(C){return e.exit("htmlFlow"),t(C)}}function Ko(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 Jo(e,t,n){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt(hn,t,n)}}const Zo={name:"htmlText",tokenize:el};function el(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),G):A===63?(e.consume(A),B):ye(A)?(e.consume(A),J):n(A)}function c(A){return A===45?(e.consume(A),h):A===91?(e.consume(A),i=0,T):ye(A)?(e.consume(A),P):n(A)}function h(A){return A===45?(e.consume(A),m):n(A)}function f(A){return A===null?n(A):A===45?(e.consume(A),p):Q(A)?(a=f,Ee(A)):(e.consume(A),f)}function p(A){return A===45?(e.consume(A),m):f(A)}function m(A){return A===62?ne(A):A===45?p(A):f(A)}function T(A){const le="CDATA[";return A===le.charCodeAt(i++)?(e.consume(A),i===le.length?x:T):n(A)}function x(A){return A===null?n(A):A===93?(e.consume(A),F):Q(A)?(a=x,Ee(A)):(e.consume(A),x)}function F(A){return A===93?(e.consume(A),y):x(A)}function y(A){return A===62?ne(A):A===93?(e.consume(A),y):x(A)}function P(A){return A===null||A===62?ne(A):Q(A)?(a=P,Ee(A)):(e.consume(A),P)}function B(A){return A===null?n(A):A===63?(e.consume(A),q):Q(A)?(a=B,Ee(A)):(e.consume(A),B)}function q(A){return A===62?ne(A):B(A)}function G(A){return ye(A)?(e.consume(A),S):n(A)}function S(A){return A===45||Ne(A)?(e.consume(A),S):$(A)}function $(A){return Q(A)?(a=$,Ee(A)):re(A)?(e.consume(A),$):ne(A)}function J(A){return A===45||Ne(A)?(e.consume(A),J):A===47||A===62||se(A)?w(A):n(A)}function w(A){return A===47?(e.consume(A),ne):A===58||A===95||ye(A)?(e.consume(A),k):Q(A)?(a=w,Ee(A)):re(A)?(e.consume(A),w):ne(A)}function k(A){return A===45||A===46||A===58||A===95||Ne(A)?(e.consume(A),k):z(A)}function z(A){return A===61?(e.consume(A),Y):Q(A)?(a=z,Ee(A)):re(A)?(e.consume(A),z):w(A)}function Y(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),u=A,H):Q(A)?(a=Y,Ee(A)):re(A)?(e.consume(A),Y):(e.consume(A),j)}function H(A){return A===u?(e.consume(A),u=void 0,D):A===null?n(A):Q(A)?(a=H,Ee(A)):(e.consume(A),H)}function j(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||se(A)?w(A):(e.consume(A),j)}function D(A){return A===47||A===62||se(A)?w(A):n(A)}function ne(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):n(A)}function Ee(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),Se}function Se(A){return re(A)?te(e,de,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):de(A)}function de(A){return e.enter("htmlTextData"),a(A)}}const jr={name:"labelEnd",resolveAll:ul,resolveTo:il,tokenize:al},tl={tokenize:sl},nl={tokenize:ol},rl={tokenize:ll};function ul(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&&He(e,0,e.length,n),e}function il(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,vn(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]]),He(e,i,e.length,o),e}function al(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($e(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(tl,h,a?h:f)(p):p===91?e.attempt(nl,h,a?c:f)(p):a?h(p):f(p)}function c(p){return e.attempt(rl,h,f)(p)}function h(p){return t(p)}function f(p){return i._balanced=!0,n(p)}}function sl(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 se(f)?at(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 se(f)?at(e,l)(f):h(f)}function o(f){return n(f)}function l(f){return f===34||f===39||f===40?Ji(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function c(f){return se(f)?at(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 ol(e,t,n){const r=this;return u;function u(o){return Ki.call(r,e,i,a,"reference","referenceMarker","referenceString")(o)}function i(o){return r.parser.defined.includes($e(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function a(o){return n(o)}}function ll(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 cl={name:"labelStartImage",resolveAll:jr.resolveAll,tokenize:fl};function fl(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 hl={name:"labelStartLink",resolveAll:jr.resolveAll,tokenize:dl};function dl(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 Xn={name:"lineEnding",tokenize:ml};function ml(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),te(e,t,"linePrefix")}}const yn={name:"thematicBreak",tokenize:pl};function pl(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"),re(c)?te(e,o,"whitespace")(c):o(c))}}const Re={continuation:{tokenize:Tl},exit:Cl,name:"list",tokenize:gl},El={partial:!0,tokenize:Dl},bl={partial:!0,tokenize:Al};function gl(e,t,n){const r=this,u=r.events[r.events.length-1];let i=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,a=0;return o;function o(m){const T=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(T==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:_r(m)){if(r.containerState.type||(r.containerState.type=T,e.enter(T,{_container:!0})),T==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(yn,n,c)(m):c(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return n(m)}function l(m){return _r(m)&&++a<10?(e.consume(m),l):(!r.interrupt||a<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),c(m)):n(m)}function c(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(hn,r.interrupt?n:h,e.attempt(El,p,f))}function h(m){return r.containerState.initialBlankLine=!0,i++,p(m)}function f(m){return re(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),p):n(m)}function p(m){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function Tl(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(hn,u,i);function u(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,te(e,t,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!re(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(bl,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,te(e,e.attempt(Re,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Al(e,t,n){const r=this;return te(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 Cl(e){e.exit(this.containerState.type)}function Dl(e,t,n){const r=this;return te(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!re(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const Lu={name:"setextUnderline",resolveTo:_l,tokenize:xl};function _l(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 xl(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"),re(c)?te(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||Q(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Nl={tokenize:yl};function yl(e){const t=this,n=e.attempt(hn,r,e.attempt(this.parser.constructs.flowInitial,u,te(e,e.attempt(this.parser.constructs.flow,u,e.attempt(Lo,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 Il={resolveAll:ea()},kl=Zi("string"),Sl=Zi("text");function Zi(e){return{resolveAll:ea(e==="text"?Fl: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 m=f[p];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function ea(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 Fl(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 Ll={42:Re,43:Re,45:Re,48:Re,49:Re,50:Re,51:Re,52:Re,53:Re,54:Re,55:Re,56:Re,57:Re,62:Vi},Ol={91:Bo},Rl={[-2]:Gn,[-1]:Gn,32:Gn},Pl={35:jo,42:yn,45:[Lu,yn],60:Vo,61:Lu,95:yn,96:Su,126:Su},wl={38:Qi,92:$i},Bl={[-5]:Xn,[-4]:Xn,[-3]:Xn,33:cl,38:Qi,42:xr,60:[fo,Zo],91:hl,92:[Uo,$i],93:jr,95:xr,96:No},Ml={null:[xr,Il]},vl={null:[42,95]},Hl={null:[]},Ul=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:vl,contentInitial:Ol,disable:Hl,document:Ll,flow:Pl,flowInitial:Rl,insideSpan:Ml,string:wl,text:Bl},Symbol.toStringTag,{value:"Module"}));function zl(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:$(G),check:$(S),consume:P,enter:B,exit:q,interrupt:$(S,{interrupt:!0})},c={code:null,containerState:{},defineSkip:x,events:[],now:T,parser:e,previous:null,sliceSerialize:p,sliceStream:m,write:f};let h=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function f(z){return a=Ye(a,z),F(),a[a.length-1]!==null?[]:(J(t,0),c.events=vn(i,c.events,c),c.events)}function p(z,Y){return Yl(m(z),Y)}function m(z){return jl(a,z)}function T(){const{_bufferIndex:z,_index:Y,line:H,column:j,offset:D}=r;return{_bufferIndex:z,_index:Y,line:H,column:j,offset:D}}function x(z){u[z.line]=z.column,k()}function F(){let z;for(;r._index<a.length;){const Y=a[r._index];if(typeof Y=="string")for(z=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===z&&r._bufferIndex<Y.length;)y(Y.charCodeAt(r._bufferIndex));else y(Y)}}function y(z){h=h(z)}function P(z){Q(z)?(r.line++,r.column=1,r.offset+=z===-3?2:1,k()):z!==-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=z}function B(z,Y){const H=Y||{};return H.type=z,H.start=T(),c.events.push(["enter",H,c]),o.push(H),H}function q(z){const Y=o.pop();return Y.end=T(),c.events.push(["exit",Y,c]),Y}function G(z,Y){J(z,Y.from)}function S(z,Y){Y.restore()}function $(z,Y){return H;function H(j,D,ne){let Ee,Se,de,A;return Array.isArray(j)?we(j):"tokenize"in j?we([j]):le(j);function le(ge){return Ve;function Ve(Le){const ze=Le!==null&&ge[Le],je=Le!==null&&ge.null,Ge=[...Array.isArray(ze)?ze:ze?[ze]:[],...Array.isArray(je)?je:je?[je]:[]];return we(Ge)(Le)}}function we(ge){return Ee=ge,Se=0,ge.length===0?ne:C(ge[Se])}function C(ge){return Ve;function Ve(Le){return A=w(),de=ge,ge.partial||(c.currentConstruct=ge),ge.name&&c.parser.constructs.disable.null.includes(ge.name)?Be():ge.tokenize.call(Y?Object.assign(Object.create(c),Y):c,l,be,Be)(Le)}}function be(ge){return z(de,A),D}function Be(ge){return A.restore(),++Se<Ee.length?C(Ee[Se]):ne}}}function J(z,Y){z.resolveAll&&!i.includes(z)&&i.push(z),z.resolve&&He(c.events,Y,c.events.length-Y,z.resolve(c.events.slice(Y),c)),z.resolveTo&&(c.events=z.resolveTo(c.events,c))}function w(){const z=T(),Y=c.previous,H=c.currentConstruct,j=c.events.length,D=Array.from(o);return{from:j,restore:ne};function ne(){r=z,c.previous=Y,c.currentConstruct=H,c.events.length=j,o=D,k()}}function k(){r.line in u&&r.column<2&&(r.column=u[r.line],r.offset+=u[r.line]-1)}}function jl(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 Yl(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=`
|
|
31
|
+
Check the top-level render call using <`+C+">."),j}var P=Ke,Y=Symbol.for("react.transitional.element"),W=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),N=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),U=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),te=Symbol.for("react.offscreen"),ce=Symbol.iterator,ye=Symbol.for("react.client.reference"),Ae=P.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,g=Object.prototype.hasOwnProperty,de=Object.assign,Me=Symbol.for("react.client.reference"),A=Array.isArray,Ce=0,ze,fe,nt,ve,Ge,$e,ct;r.__reactDisabledLog=!0;var Pt,fn,wt=!1,bt=new(typeof WeakMap=="function"?WeakMap:Map),hn=Symbol.for("react.client.reference"),Bt,dn={},Mt={},vt={};Ut.Fragment=y,Ut.jsx=function(C,j,V,ue,pe){return b(C,j,V,!1,ue,pe)},Ut.jsxs=function(C,j,V,ue,pe){return b(C,j,V,!0,ue,pe)}}()),Ut}var fu;function ks(){return fu||(fu=1,process.env.NODE_ENV==="production"?mn.exports=Ns():mn.exports=Ss()),mn.exports}var ae=ks();const ys=Rr(ae),Ls=Is({__proto__:null,default:ys},[ae]),Fs={};function Zt(e,t){const n=Fs,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Ni(e,r,u)}function Ni(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 hu(e.children,t,n)}return Array.isArray(e)?hu(e,t,n):""}function hu(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=Ni(e[u],t,n);return r.join("")}function Os(e){return!!(e&&typeof e=="object")}const du=document.createElement("i");function en(e){const t="&"+e+";";du.innerHTML=t;const n=du.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Re(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 Pe(e,t){return e.length>0?(Re(e,e.length,0,t),e):t}const mu={}.hasOwnProperty;function Si(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=(mu.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){mu.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]);Re(e,0,0,r)}function ki(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 He(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const De=ot(/[A-Za-z]/),ge=ot(/[\dA-Za-z]/),ws=ot(/[#-'*+\--9=?A-Z^-~]/);function In(e){return e!==null&&(e<32||e===127)}const Er=ot(/\d/),Bs=ot(/[\dA-Fa-f]/),Ms=ot(/[!-/:-@[-`{-~]/);function q(e){return e!==null&&e<-2}function re(e){return e!==null&&(e<0||e===32)}function ee(e){return e===-2||e===-1||e===32}const On=ot(new RegExp("\\p{P}|\\p{S}","u")),pt=ot(/\s/);function ot(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function yt(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&ge(e.charCodeAt(n+1))&&ge(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 Z(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(l){return ee(l)?(e.enter(n),o(l)):t(l)}function o(l){return ee(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"),Z(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},pu={tokenize:Ys};function zs(e){const t=this,n=[];let r=0,u,i,a;return o;function o(P){if(r<n.length){const Y=n[r];return t.containerState=Y[1],e.attempt(Y[0].continuation,l,c)(P)}return c(P)}function l(P){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,u&&O();const Y=t.events.length;let W=Y,y;for(;W--;)if(t.events[W][0]==="exit"&&t.events[W][1].type==="chunkFlow"){y=t.events[W][1].end;break}I(r);let Q=Y;for(;Q<t.events.length;)t.events[Q][1].end={...y},Q++;return Re(t.events,W+1,0,t.events.slice(Y)),t.events.length=Q,c(P)}return o(P)}function c(P){if(r===n.length){if(!u)return m(P);if(u.currentConstruct&&u.currentConstruct.concrete)return b(P);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(pu,h,f)(P)}function h(P){return u&&O(),I(r),m(P)}function f(P){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,b(P)}function m(P){return t.containerState={},e.attempt(pu,d,b)(P)}function d(P){return r++,n.push([t.currentConstruct,t.containerState]),m(P)}function b(P){if(P===null){u&&O(),I(0),e.consume(P);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:u,contentType:"flow",previous:i}),x(P)}function x(P){if(P===null){L(e.exit("chunkFlow"),!0),I(0),e.consume(P);return}return q(P)?(e.consume(P),L(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(P),x)}function L(P,Y){const W=t.sliceStream(P);if(Y&&W.push(null),P.previous=i,i&&(i.next=P),i=P,u.defineSkip(P.start),u.write(W),t.parser.lazy[P.start.line]){let y=u.events.length;for(;y--;)if(u.events[y][1].start.offset<a&&(!u.events[y][1].end||u.events[y][1].end.offset>a))return;const Q=t.events.length;let $=Q,R,N;for(;$--;)if(t.events[$][0]==="exit"&&t.events[$][1].type==="chunkFlow"){if(R){N=t.events[$][1].end;break}R=!0}for(I(r),y=Q;y<t.events.length;)t.events[y][1].end={...N},y++;Re(t.events,$+1,0,t.events.slice(Q)),t.events.length=y}}function I(P){let Y=n.length;for(;Y-- >P;){const W=n[Y];t.containerState=W[1],W[0].exit.call(t,e)}n.length=P}function O(){u.write([null]),i=void 0,u=void 0,t.containerState._closeFlow=void 0}}function Ys(e,t,n){return Z(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function It(e){if(e===null||re(e)||pt(e))return 1;if(On(e))return 2}function Rn(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 Tr={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};Eu(f,-l),Eu(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=Pe(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Pe(c,[["enter",u,t],["enter",a,t],["exit",a,t],["enter",i,t]]),c=Pe(c,Rn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Pe(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=Pe(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):h=0,Re(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=It(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=It(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 Eu(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 De(d)?(e.consume(d),a):d===64?n(d):c(d)}function a(d){return d===43||d===45||d===46||ge(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||ge(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||In(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 ge(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||ge(d))&&r++<63){const b=d===45?m:f;return e.consume(d),b}return n(d)}}const un={partial:!0,tokenize:Qs};function Qs(e,t,n){return r;function r(i){return ee(i)?Z(e,u,"linePrefix")(i):u(i)}function u(i){return i===null||q(i)?t(i):n(i)}}const yi={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 ee(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 ee(a)?Z(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(yi,t,n)(a)}}function Xs(e){e.exit("blockQuote")}const Li={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 Fi={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=ge,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=Er,h(f))}function h(f){if(f===59&&u){const m=e.exit("characterReferenceValue");return a===ge&&!en(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 Tu={partial:!0,tokenize:eo},bu={concrete:!0,name:"codeFenced",tokenize:Zs};function Zs(e,t,n){const r=this,u={partial:!0,tokenize:W};let i=0,a=0,o;return l;function l(y){return c(y)}function c(y){const Q=r.events[r.events.length-1];return i=Q&&Q[1].type==="linePrefix"?Q[2].sliceSerialize(Q[1],!0).length:0,o=y,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(y)}function h(y){return y===o?(a++,e.consume(y),h):a<3?n(y):(e.exit("codeFencedFenceSequence"),ee(y)?Z(e,f,"whitespace")(y):f(y))}function f(y){return y===null||q(y)?(e.exit("codeFencedFence"),r.interrupt?t(y):e.check(Tu,x,Y)(y)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===null||q(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(y)):ee(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Z(e,d,"whitespace")(y)):y===96&&y===o?n(y):(e.consume(y),m)}function d(y){return y===null||q(y)?f(y):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(y))}function b(y){return y===null||q(y)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(y)):y===96&&y===o?n(y):(e.consume(y),b)}function x(y){return e.attempt(u,Y,L)(y)}function L(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),I}function I(y){return i>0&&ee(y)?Z(e,O,"linePrefix",i+1)(y):O(y)}function O(y){return y===null||q(y)?e.check(Tu,x,Y)(y):(e.enter("codeFlowValue"),P(y))}function P(y){return y===null||q(y)?(e.exit("codeFlowValue"),O(y)):(e.consume(y),P)}function Y(y){return e.exit("codeFenced"),t(y)}function W(y,Q,$){let R=0;return N;function N(D){return y.enter("lineEnding"),y.consume(D),y.exit("lineEnding"),H}function H(D){return y.enter("codeFencedFence"),ee(D)?Z(y,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):z(D)}function z(D){return D===o?(y.enter("codeFencedFenceSequence"),M(D)):$(D)}function M(D){return D===o?(R++,y.consume(D),M):R>=a?(y.exit("codeFencedFenceSequence"),ee(D)?Z(y,U,"whitespace")(D):U(D)):$(D)}function U(D){return D===null||q(D)?(y.exit("codeFencedFence"),Q(D)):$(D)}}}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 qn={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"),Z(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):Z(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&&zt(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),zt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),zt(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);zt(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);zt(this.left,n.reverse())}}}function zt(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 Oi(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 Re(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,b=0,x=0;const L=[x];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&&(x=m+1,L.push(x),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(a.events=[],d?(d._tokenizer=void 0,d.previous=void 0):L.pop(),m=L.length;m--;){const I=o.slice(L[m],L[m+1]),O=i.pop();l.push([O,O+I.length-1]),e.splice(O,2,I)}for(l.reverse(),m=-1;++m<l.length;)c[b+l[m][0]]=b+l[m][1],b+=l[m][1]-l[m][0]-1;return c}const co={resolve:ho,tokenize:mo},fo={partial:!0,tokenize:po};function ho(e){return Oi(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"),Z(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 Ri(e,t,n,r,u,i,a,o,l){const c=l||Number.POSITIVE_INFINITY;let h=0;return f;function f(I){return I===60?(e.enter(r),e.enter(u),e.enter(i),e.consume(I),e.exit(i),m):I===null||I===32||I===41||In(I)?n(I):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),x(I))}function m(I){return I===62?(e.enter(i),e.consume(I),e.exit(i),e.exit(u),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),d(I))}function d(I){return I===62?(e.exit("chunkString"),e.exit(o),m(I)):I===null||I===60||q(I)?n(I):(e.consume(I),I===92?b:d)}function b(I){return I===60||I===62||I===92?(e.consume(I),d):d(I)}function x(I){return!h&&(I===null||I===41||re(I))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(I)):h<c&&I===40?(e.consume(I),h++,x):I===41?(e.consume(I),h--,x):I===null||I===32||I===40||In(I)?n(I):(e.consume(I),I===92?L:x)}function L(I){return I===40||I===41||I===92?(e.consume(I),x):x(I)}}function Pi(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=!ee(d)),d===92?m:f)}function m(d){return d===91||d===92||d===93?(e.consume(d),o++,f):f(d)}}function wi(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):q(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),Z(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===a||m===null||q(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 Ze(e,t){let n;return r;function r(u){return q(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):ee(u)?Z(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 Pi.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function o(d){return u=He(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 re(d)?Ze(e,c)(d):c(d)}function c(d){return Ri(e,h,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function h(d){return e.attempt(To,f,f)(d)}function f(d){return ee(d)?Z(e,m,"whitespace")(d):m(d)}function m(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 re(o)?Ze(e,u)(o):n(o)}function u(o){return wi(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return ee(o)?Z(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"},Re(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||re(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)):ee(h)?Z(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||re(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"],gu=["pre","script","style","textarea"],No={concrete:!0,name:"htmlFlow",resolveTo:yo,tokenize:Lo},So={partial:!0,tokenize:Oo},ko={partial:!0,tokenize:Fo};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 Lo(e,t,n){const r=this;let u,i,a,o,l;return c;function c(A){return h(A)}function h(A){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(A),f}function f(A){return A===33?(e.consume(A),m):A===47?(e.consume(A),i=!0,x):A===63?(e.consume(A),u=3,r.interrupt?t:g):De(A)?(e.consume(A),a=String.fromCharCode(A),L):n(A)}function m(A){return A===45?(e.consume(A),u=2,d):A===91?(e.consume(A),u=5,o=0,b):De(A)?(e.consume(A),u=4,r.interrupt?t:g):n(A)}function d(A){return A===45?(e.consume(A),r.interrupt?t:g):n(A)}function b(A){const Ce="CDATA[";return A===Ce.charCodeAt(o++)?(e.consume(A),o===Ce.length?r.interrupt?t:z:b):n(A)}function x(A){return De(A)?(e.consume(A),a=String.fromCharCode(A),L):n(A)}function L(A){if(A===null||A===47||A===62||re(A)){const Ce=A===47,ze=a.toLowerCase();return!Ce&&!i&&gu.includes(ze)?(u=1,r.interrupt?t(A):z(A)):Io.includes(a.toLowerCase())?(u=6,Ce?(e.consume(A),I):r.interrupt?t(A):z(A)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(A):i?O(A):P(A))}return A===45||ge(A)?(e.consume(A),a+=String.fromCharCode(A),L):n(A)}function I(A){return A===62?(e.consume(A),r.interrupt?t:z):n(A)}function O(A){return ee(A)?(e.consume(A),O):N(A)}function P(A){return A===47?(e.consume(A),N):A===58||A===95||De(A)?(e.consume(A),Y):ee(A)?(e.consume(A),P):N(A)}function Y(A){return A===45||A===46||A===58||A===95||ge(A)?(e.consume(A),Y):W(A)}function W(A){return A===61?(e.consume(A),y):ee(A)?(e.consume(A),W):P(A)}function y(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),l=A,Q):ee(A)?(e.consume(A),y):$(A)}function Q(A){return A===l?(e.consume(A),l=null,R):A===null||q(A)?n(A):(e.consume(A),Q)}function $(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||re(A)?W(A):(e.consume(A),$)}function R(A){return A===47||A===62||ee(A)?P(A):n(A)}function N(A){return A===62?(e.consume(A),H):n(A)}function H(A){return A===null||q(A)?z(A):ee(A)?(e.consume(A),H):n(A)}function z(A){return A===45&&u===2?(e.consume(A),te):A===60&&u===1?(e.consume(A),ce):A===62&&u===4?(e.consume(A),de):A===63&&u===3?(e.consume(A),g):A===93&&u===5?(e.consume(A),Ae):q(A)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(So,Me,M)(A)):A===null||q(A)?(e.exit("htmlFlowData"),M(A)):(e.consume(A),z)}function M(A){return e.check(ko,U,Me)(A)}function U(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),D}function D(A){return A===null||q(A)?M(A):(e.enter("htmlFlowData"),z(A))}function te(A){return A===45?(e.consume(A),g):z(A)}function ce(A){return A===47?(e.consume(A),a="",ye):z(A)}function ye(A){if(A===62){const Ce=a.toLowerCase();return gu.includes(Ce)?(e.consume(A),de):z(A)}return De(A)&&a.length<8?(e.consume(A),a+=String.fromCharCode(A),ye):z(A)}function Ae(A){return A===93?(e.consume(A),g):z(A)}function g(A){return A===62?(e.consume(A),de):A===45&&u===2?(e.consume(A),g):z(A)}function de(A){return A===null||q(A)?(e.exit("htmlFlowData"),Me(A)):(e.consume(A),de)}function Me(A){return e.exit("htmlFlow"),t(A)}}function Fo(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(un,t,n)}}const Ro={name:"htmlText",tokenize:Po};function Po(e,t,n){const r=this;let u,i,a;return o;function o(g){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(g),l}function l(g){return g===33?(e.consume(g),c):g===47?(e.consume(g),W):g===63?(e.consume(g),P):De(g)?(e.consume(g),$):n(g)}function c(g){return g===45?(e.consume(g),h):g===91?(e.consume(g),i=0,b):De(g)?(e.consume(g),O):n(g)}function h(g){return g===45?(e.consume(g),d):n(g)}function f(g){return g===null?n(g):g===45?(e.consume(g),m):q(g)?(a=f,ce(g)):(e.consume(g),f)}function m(g){return g===45?(e.consume(g),d):f(g)}function d(g){return g===62?te(g):g===45?m(g):f(g)}function b(g){const de="CDATA[";return g===de.charCodeAt(i++)?(e.consume(g),i===de.length?x:b):n(g)}function x(g){return g===null?n(g):g===93?(e.consume(g),L):q(g)?(a=x,ce(g)):(e.consume(g),x)}function L(g){return g===93?(e.consume(g),I):x(g)}function I(g){return g===62?te(g):g===93?(e.consume(g),I):x(g)}function O(g){return g===null||g===62?te(g):q(g)?(a=O,ce(g)):(e.consume(g),O)}function P(g){return g===null?n(g):g===63?(e.consume(g),Y):q(g)?(a=P,ce(g)):(e.consume(g),P)}function Y(g){return g===62?te(g):P(g)}function W(g){return De(g)?(e.consume(g),y):n(g)}function y(g){return g===45||ge(g)?(e.consume(g),y):Q(g)}function Q(g){return q(g)?(a=Q,ce(g)):ee(g)?(e.consume(g),Q):te(g)}function $(g){return g===45||ge(g)?(e.consume(g),$):g===47||g===62||re(g)?R(g):n(g)}function R(g){return g===47?(e.consume(g),te):g===58||g===95||De(g)?(e.consume(g),N):q(g)?(a=R,ce(g)):ee(g)?(e.consume(g),R):te(g)}function N(g){return g===45||g===46||g===58||g===95||ge(g)?(e.consume(g),N):H(g)}function H(g){return g===61?(e.consume(g),z):q(g)?(a=H,ce(g)):ee(g)?(e.consume(g),H):R(g)}function z(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),u=g,M):q(g)?(a=z,ce(g)):ee(g)?(e.consume(g),z):(e.consume(g),U)}function M(g){return g===u?(e.consume(g),u=void 0,D):g===null?n(g):q(g)?(a=M,ce(g)):(e.consume(g),M)}function U(g){return g===null||g===34||g===39||g===60||g===61||g===96?n(g):g===47||g===62||re(g)?R(g):(e.consume(g),U)}function D(g){return g===47||g===62||re(g)?R(g):n(g)}function te(g){return g===62?(e.consume(g),e.exit("htmlTextData"),e.exit("htmlText"),t):n(g)}function ce(g){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),ye}function ye(g){return ee(g)?Z(e,Ae,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):Ae(g)}function Ae(g){return e.enter("htmlTextData"),a(g)}}const Pr={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&&Re(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=Pe(o,e.slice(i+1,i+r+3)),o=Pe(o,[["enter",h,t]]),o=Pe(o,Rn(t.parser.constructs.insideSpan.null,e.slice(i+r+4,a-3),t)),o=Pe(o,[["exit",h,t],e[a-2],e[a-1],["exit",c,t]]),o=Pe(o,e.slice(a+1)),o=Pe(o,[["exit",l,t]]),Re(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(He(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 re(f)?Ze(e,i)(f):i(f)}function i(f){return f===41?h(f):Ri(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function a(f){return re(f)?Ze(e,l)(f):h(f)}function o(f){return n(f)}function l(f){return f===34||f===39||f===40?wi(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):h(f)}function c(f){return re(f)?Ze(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 Pi.call(r,e,i,a,"reference","referenceMarker","referenceString")(o)}function i(o){return r.parser.defined.includes(He(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:Pr.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:Pr.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 jn={name:"lineEnding",tokenize:Go};function Go(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Z(e,t,"linePrefix")}}const Cn={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"),ee(c)?Z(e,o,"whitespace")(c):o(c))}}const Se={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 b=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:Er(d)){if(r.containerState.type||(r.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(Cn,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 Er(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(un,r.interrupt?n:h,e.attempt(Xo,m,f))}function h(d){return r.containerState.initialBlankLine=!0,i++,m(d)}function f(d){return ee(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(un,u,i);function u(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Z(e,t,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!ee(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,Z(e,e.attempt(Se,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function el(e,t,n){const r=this;return Z(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 Z(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!ee(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const Au={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"),ee(c)?Z(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(un,r,e.attempt(this.parser.constructs.flowInitial,u,Z(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:Mi()},ol=Bi("string"),ll=Bi("text");function Bi(e){return{resolveAll:Mi(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 Mi(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:Se,43:Se,45:Se,48:Se,49:Se,50:Se,51:Se,52:Se,53:Se,54:Se,55:Se,56:Se,57:Se,62:yi},hl={91:Eo},dl={[-2]:qn,[-1]:qn,32:qn},ml={35:Do,42:Cn,45:[Au,Cn],60:No,61:Au,95:Cn,96:bu,126:bu},pl={38:Fi,92:Li},El={[-5]:jn,[-4]:jn,[-3]:jn,33:jo,38:Fi,42:Tr,60:[Vs,Ro],91:Wo,92:[Ao,Li],93:Pr,95:Tr,96:uo},Tl={null:[Tr,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:Q(W),check:Q(y),consume:O,enter:P,exit:Y,interrupt:Q(y,{interrupt:!0})},c={code:null,containerState:{},defineSkip:x,events:[],now:b,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(H){return a=Pe(a,H),L(),a[a.length-1]!==null?[]:($(t,0),c.events=Rn(i,c.events,c),c.events)}function m(H,z){return _l(d(H),z)}function d(H){return Dl(a,H)}function b(){const{_bufferIndex:H,_index:z,line:M,column:U,offset:D}=r;return{_bufferIndex:H,_index:z,line:M,column:U,offset:D}}function x(H){u[H.line]=H.column,N()}function L(){let H;for(;r._index<a.length;){const z=a[r._index];if(typeof z=="string")for(H=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===H&&r._bufferIndex<z.length;)I(z.charCodeAt(r._bufferIndex));else I(z)}}function I(H){h=h(H)}function O(H){q(H)?(r.line++,r.column=1,r.offset+=H===-3?2:1,N()):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 P(H,z){const M=z||{};return M.type=H,M.start=b(),c.events.push(["enter",M,c]),o.push(M),M}function Y(H){const z=o.pop();return z.end=b(),c.events.push(["exit",z,c]),z}function W(H,z){$(H,z.from)}function y(H,z){z.restore()}function Q(H,z){return M;function M(U,D,te){let ce,ye,Ae,g;return Array.isArray(U)?Me(U):"tokenize"in U?Me([U]):de(U);function de(fe){return nt;function nt(ve){const Ge=ve!==null&&fe[ve],$e=ve!==null&&fe.null,ct=[...Array.isArray(Ge)?Ge:Ge?[Ge]:[],...Array.isArray($e)?$e:$e?[$e]:[]];return Me(ct)(ve)}}function Me(fe){return ce=fe,ye=0,fe.length===0?te:A(fe[ye])}function A(fe){return nt;function nt(ve){return g=R(),Ae=fe,fe.partial||(c.currentConstruct=fe),fe.name&&c.parser.constructs.disable.null.includes(fe.name)?ze():fe.tokenize.call(z?Object.assign(Object.create(c),z):c,l,Ce,ze)(ve)}}function Ce(fe){return H(Ae,g),D}function ze(fe){return g.restore(),++ye<ce.length?A(ce[ye]):te}}}function $(H,z){H.resolveAll&&!i.includes(H)&&i.push(H),H.resolve&&Re(c.events,z,c.events.length-z,H.resolve(c.events.slice(z),c)),H.resolveTo&&(c.events=H.resolveTo(c.events,c))}function R(){const H=b(),z=c.previous,M=c.currentConstruct,U=c.events.length,D=Array.from(o);return{from:U,restore:te};function te(){r=H,c.previous=z,c.currentConstruct=M,c.events.length=U,o=D,N()}}function N(){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=`
|
|
32
32
|
`;break}case-3:{a=`\r
|
|
33
|
-
`;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 ql(e){const r={constructs:qi([Ul,...(e||{}).extensions||[]]),content:u(uo),defined:[],document:u(ao),flow:u(Nl),lazy:{},string:u(kl),text:u(Sl)};return r;function u(i){return a;function a(o){return zl(r,i,o)}}}function Wl(e){for(;!Gi(e););return e}const Ou=/[\0\t\n\r]/g;function Vl(){let e=1,t="",n=!0,r;return u;function u(i,a,o){const l=[];let c,h,f,p,m;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(a||void 0).decode(i)),f=0,t="",n&&(i.charCodeAt(0)===65279&&f++,n=void 0);f<i.length;){if(Ou.lastIndex=f,c=Ou.exec(i),p=c&&c.index!==void 0?c.index:i.length,m=i.charCodeAt(p),!c){t=i.slice(f);break}if(m===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),m){case 0:{l.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,l.push(-2);e++<h;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}f=p+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const $l=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ta(e){return e.replace($l,Ql)}function Ql(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),i=u===120||u===88;return Wi(n.slice(i?2:1),i?16:10)}return sn(n)||e}function Zt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ru(e.position):"start"in e||"end"in e?Ru(e):"line"in e||"column"in e?Nr(e):""}function Nr(e){return Pu(e&&e.line)+":"+Pu(e&&e.column)}function Ru(e){return Nr(e&&e.start)+"-"+Nr(e&&e.end)}function Pu(e){return e&&typeof e=="number"?e:1}const na={}.hasOwnProperty;function Gl(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Xl(n)(Wl(ql(n).document().write(Vl()(e,t,!0))))}function Xl(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(ct),autolinkProtocol:w,autolinkEmail:w,atxHeading:i(Xe),blockQuote:i(je),characterEscape:w,characterReference:w,codeFenced:i(Ge),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(Ge,a),codeText:i(nt,a),codeTextData:w,data:w,codeFlowValue:w,definition:i(Tt),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(rt),hardBreakEscape:i(kt),hardBreakTrailing:i(kt),htmlFlow:i(lt,a),htmlFlowData:w,htmlText:i(lt,a),htmlTextData:w,image:i(At),label:a,link:i(ct),listItem:i(d),listItemValue:p,listOrdered:i(ft,f),listUnordered:i(ft),paragraph:i(O),reference:C,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(Xe),strong:i(R),thematicBreak:i(ae)},exit:{atxHeading:l(),atxHeadingSequence:G,autolink:l(),autolinkEmail:ze,autolinkProtocol:Le,blockQuote:l(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:Be,characterReferenceMarkerNumeric:Be,characterReferenceValue:ge,characterReference:Ve,codeFenced:l(F),codeFencedFence:x,codeFencedFenceInfo:m,codeFencedFenceMeta:T,codeFlowValue:k,codeIndented:l(y),codeText:l(D),codeTextData:k,data:k,definition:l(),definitionDestinationString:q,definitionLabelString:P,definitionTitleString:B,emphasis:l(),hardBreakEscape:l(Y),hardBreakTrailing:l(Y),htmlFlow:l(H),htmlFlowData:k,htmlText:l(j),htmlTextData:k,image:l(Ee),label:de,labelText:Se,lineEnding:z,link:l(ne),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:be,resourceDestinationString:A,resourceTitleString:le,resource:we,setextHeading:l(J),setextHeadingLineSequence:$,setextHeadingText:S,strong:l(),thematicBreak:l()}};ra(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(_){let I={type:"root",children:[]};const V={stack:[I],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:h,data:n},Z=[];let X=-1;for(;++X<_.length;)if(_[X][1].type==="listOrdered"||_[X][1].type==="listUnordered")if(_[X][0]==="enter")Z.push(X);else{const ce=Z.pop();X=u(_,ce,X)}for(X=-1;++X<_.length;){const ce=t[_[X][0]];na.call(ce,_[X][1].type)&&ce[_[X][1].type].call(Object.assign({sliceSerialize:_[X][2].sliceSerialize},V),_[X][1])}if(V.tokenStack.length>0){const ce=V.tokenStack[V.tokenStack.length-1];(ce[1]||wu).call(V,void 0,ce[0])}for(I.position={start:ht(_.length>0?_[0][1].start:{line:1,column:1,offset:0}),end:ht(_.length>0?_[_.length-2][1].end:{line:1,column:1,offset:0})},X=-1;++X<t.transforms.length;)I=t.transforms[X](I)||I;return I}function u(_,I,V){let Z=I-1,X=-1,ce=!1,Ce,fe,Fe,me;for(;++Z<=V;){const Me=_[Z];switch(Me[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Me[0]==="enter"?X++:X--,me=void 0;break}case"lineEndingBlank":{Me[0]==="enter"&&(Ce&&!me&&!X&&!Fe&&(Fe=Z),me=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:me=void 0}if(!X&&Me[0]==="enter"&&Me[1].type==="listItemPrefix"||X===-1&&Me[0]==="exit"&&(Me[1].type==="listUnordered"||Me[1].type==="listOrdered")){if(Ce){let St=Z;for(fe=void 0;St--;){const ut=_[St];if(ut[1].type==="lineEnding"||ut[1].type==="lineEndingBlank"){if(ut[0]==="exit")continue;fe&&(_[fe][1].type="lineEndingBlank",ce=!0),ut[1].type="lineEnding",fe=St}else if(!(ut[1].type==="linePrefix"||ut[1].type==="blockQuotePrefix"||ut[1].type==="blockQuotePrefixWhitespace"||ut[1].type==="blockQuoteMarker"||ut[1].type==="listItemIndent"))break}Fe&&(!fe||Fe<fe)&&(Ce._spread=!0),Ce.end=Object.assign({},fe?_[fe][1].start:Me[1].end),_.splice(fe||Z,0,["exit",Ce,Me[2]]),Z++,V++}if(Me[1].type==="listItemPrefix"){const St={type:"listItem",_spread:!1,start:Object.assign({},Me[1].start),end:void 0};Ce=St,_.splice(Z,0,["enter",St,Me[2]]),Z++,V++,Fe=void 0,me=!0}}}return _[I][1]._spread=ce,V}function i(_,I){return V;function V(Z){o.call(this,_(Z),Z),I&&I.call(this,Z)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(_,I,V){this.stack[this.stack.length-1].children.push(_),this.stack.push(_),this.tokenStack.push([I,V||void 0]),_.position={start:ht(I.start),end:void 0}}function l(_){return I;function I(V){_&&_.call(this,V),c.call(this,V)}}function c(_,I){const V=this.stack.pop(),Z=this.tokenStack.pop();if(Z)Z[0].type!==_.type&&(I?I.call(this,_,Z[0]):(Z[1]||wu).call(this,_,Z[0]));else throw new Error("Cannot close `"+_.type+"` ("+Zt({start:_.start,end:_.end})+"): it’s not open");V.position.end=ht(_.end)}function h(){return an(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(_){if(this.data.expectingFirstListItemValue){const I=this.stack[this.stack.length-2];I.start=Number.parseInt(this.sliceSerialize(_),10),this.data.expectingFirstListItemValue=void 0}}function m(){const _=this.resume(),I=this.stack[this.stack.length-1];I.lang=_}function T(){const _=this.resume(),I=this.stack[this.stack.length-1];I.meta=_}function x(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function F(){const _=this.resume(),I=this.stack[this.stack.length-1];I.value=_.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const _=this.resume(),I=this.stack[this.stack.length-1];I.value=_.replace(/(\r?\n|\r)$/g,"")}function P(_){const I=this.resume(),V=this.stack[this.stack.length-1];V.label=I,V.identifier=$e(this.sliceSerialize(_)).toLowerCase()}function B(){const _=this.resume(),I=this.stack[this.stack.length-1];I.title=_}function q(){const _=this.resume(),I=this.stack[this.stack.length-1];I.url=_}function G(_){const I=this.stack[this.stack.length-1];if(!I.depth){const V=this.sliceSerialize(_).length;I.depth=V}}function S(){this.data.setextHeadingSlurpLineEnding=!0}function $(_){const I=this.stack[this.stack.length-1];I.depth=this.sliceSerialize(_).codePointAt(0)===61?1:2}function J(){this.data.setextHeadingSlurpLineEnding=void 0}function w(_){const V=this.stack[this.stack.length-1].children;let Z=V[V.length-1];(!Z||Z.type!=="text")&&(Z=W(),Z.position={start:ht(_.start),end:void 0},V.push(Z)),this.stack.push(Z)}function k(_){const I=this.stack.pop();I.value+=this.sliceSerialize(_),I.position.end=ht(_.end)}function z(_){const I=this.stack[this.stack.length-1];if(this.data.atHardBreak){const V=I.children[I.children.length-1];V.position.end=ht(_.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(I.type)&&(w.call(this,_),k.call(this,_))}function Y(){this.data.atHardBreak=!0}function H(){const _=this.resume(),I=this.stack[this.stack.length-1];I.value=_}function j(){const _=this.resume(),I=this.stack[this.stack.length-1];I.value=_}function D(){const _=this.resume(),I=this.stack[this.stack.length-1];I.value=_}function ne(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const I=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=I,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function Ee(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const I=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=I,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function Se(_){const I=this.sliceSerialize(_),V=this.stack[this.stack.length-2];V.label=ta(I),V.identifier=$e(I).toLowerCase()}function de(){const _=this.stack[this.stack.length-1],I=this.resume(),V=this.stack[this.stack.length-1];if(this.data.inReference=!0,V.type==="link"){const Z=_.children;V.children=Z}else V.alt=I}function A(){const _=this.resume(),I=this.stack[this.stack.length-1];I.url=_}function le(){const _=this.resume(),I=this.stack[this.stack.length-1];I.title=_}function we(){this.data.inReference=void 0}function C(){this.data.referenceType="collapsed"}function be(_){const I=this.resume(),V=this.stack[this.stack.length-1];V.label=I,V.identifier=$e(this.sliceSerialize(_)).toLowerCase(),this.data.referenceType="full"}function Be(_){this.data.characterReferenceType=_.type}function ge(_){const I=this.sliceSerialize(_),V=this.data.characterReferenceType;let Z;V?(Z=Wi(I,V==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Z=sn(I);const X=this.stack[this.stack.length-1];X.value+=Z}function Ve(_){const I=this.stack.pop();I.position.end=ht(_.end)}function Le(_){k.call(this,_);const I=this.stack[this.stack.length-1];I.url=this.sliceSerialize(_)}function ze(_){k.call(this,_);const I=this.stack[this.stack.length-1];I.url="mailto:"+this.sliceSerialize(_)}function je(){return{type:"blockquote",children:[]}}function Ge(){return{type:"code",lang:null,meta:null,value:""}}function nt(){return{type:"inlineCode",value:""}}function Tt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function rt(){return{type:"emphasis",children:[]}}function Xe(){return{type:"heading",depth:0,children:[]}}function kt(){return{type:"break"}}function lt(){return{type:"html",value:""}}function At(){return{type:"image",title:null,url:"",alt:null}}function ct(){return{type:"link",title:null,url:"",children:[]}}function ft(_){return{type:"list",ordered:_.type==="listOrdered",start:null,spread:_._spread,children:[]}}function d(_){return{type:"listItem",spread:_._spread,checked:null,children:[]}}function O(){return{type:"paragraph",children:[]}}function R(){return{type:"strong",children:[]}}function W(){return{type:"text",value:""}}function ae(){return{type:"thematicBreak"}}}function ht(e){return{line:e.line,column:e.column,offset:e.offset}}function ra(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?ra(e,r):Kl(e,r)}}function Kl(e,t){let n;for(n in t)if(na.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 wu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Zt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Zt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Zt({start:t.start,end:t.end})+") is still open")}function ua(e){const t=this;t.parser=n;function n(r){return Gl(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const Bu={}.hasOwnProperty;function Yr(e,t){const n=t||{};function r(u,...i){let a=r.invalid;const o=r.handlers;if(u&&Bu.call(u,e)){const l=String(u[e]);a=Bu.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 Jl={}.hasOwnProperty;function ia(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)ia(e,t.extensions[n]);for(r in t)if(Jl.call(t,r))switch(r){case"extensions":break;case"unsafe":{Mu(e[r],t[r]);break}case"join":{Mu(e[r],t[r]);break}case"handlers":{Zl(e[r],t[r]);break}default:e.options[r]=t[r]}return e}function Mu(e,t){t&&e.push(...t)}function Zl(e,t){t&&Object.assign(e,t)}function ec(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()),tc);return u(),a}function tc(e,t,n){return">"+(n?"":" ")+e}function aa(e,t){return vu(e,t.inConstruct,!0)&&!vu(e,t.notInConstruct,!1)}function vu(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 Hu(e,t,n,r){let u=-1;for(;++u<n.unsafe.length;)if(n.unsafe[u].character===`
|
|
34
|
-
`&&
|
|
35
|
-
`}function
|
|
33
|
+
`;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:Si([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(;!Oi(e););return e}const Cu=/[\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(Cu.lastIndex=f,c=Cu.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 Sl=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function vi(e){return e.replace(Sl,kl)}function kl(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),i=u===120||u===88;return ki(n.slice(i?2:1),i?16:10)}return en(n)||e}function Qt(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?br(e):""}function br(e){return _u(e&&e.line)+":"+_u(e&&e.column)}function Du(e){return br(e&&e.start)+"-"+br(e&&e.end)}function _u(e){return e&&typeof e=="number"?e:1}const Hi={}.hasOwnProperty;function yl(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Ll(n)(Il(xl(n).document().write(Nl()(e,t,!0))))}function Ll(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Mt),autolinkProtocol:R,autolinkEmail:R,atxHeading:i(bt),blockQuote:i($e),characterEscape:R,characterReference:R,codeFenced:i(ct),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(ct,a),codeText:i(Pt,a),codeTextData:R,data:R,codeFlowValue:R,definition:i(fn),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(wt),hardBreakEscape:i(hn),hardBreakTrailing:i(hn),htmlFlow:i(Bt,a),htmlFlowData:R,htmlText:i(Bt,a),htmlTextData:R,image:i(dn),label:a,link:i(Mt),listItem:i(C),listItemValue:m,listOrdered:i(vt,f),listUnordered:i(vt),paragraph:i(j),reference:A,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(bt),strong:i(V),thematicBreak:i(pe)},exit:{atxHeading:l(),atxHeadingSequence:W,autolink:l(),autolinkEmail:Ge,autolinkProtocol:ve,blockQuote:l(),characterEscapeValue:N,characterReferenceMarkerHexadecimal:ze,characterReferenceMarkerNumeric:ze,characterReferenceValue:fe,characterReference:nt,codeFenced:l(L),codeFencedFence:x,codeFencedFenceInfo:d,codeFencedFenceMeta:b,codeFlowValue:N,codeIndented:l(I),codeText:l(D),codeTextData:N,data:N,definition:l(),definitionDestinationString:Y,definitionLabelString:O,definitionTitleString:P,emphasis:l(),hardBreakEscape:l(z),hardBreakTrailing:l(z),htmlFlow:l(M),htmlFlowData:N,htmlText:l(U),htmlTextData:N,image:l(ce),label:Ae,labelText:ye,lineEnding:H,link:l(te),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Ce,resourceDestinationString:g,resourceTitleString:de,resource:Me,setextHeading:l($),setextHeadingLineSequence:Q,setextHeadingText:y,strong:l(),thematicBreak:l()}};Ui(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(S){let F={type:"root",children:[]};const G={stack:[F],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:h,data:n},K=[];let X=-1;for(;++X<S.length;)if(S[X][1].type==="listOrdered"||S[X][1].type==="listUnordered")if(S[X][0]==="enter")K.push(X);else{const me=K.pop();X=u(S,me,X)}for(X=-1;++X<S.length;){const me=t[S[X][0]];Hi.call(me,S[X][1].type)&&me[S[X][1].type].call(Object.assign({sliceSerialize:S[X][2].sliceSerialize},G),S[X][1])}if(G.tokenStack.length>0){const me=G.tokenStack[G.tokenStack.length-1];(me[1]||xu).call(G,void 0,me[0])}for(F.position={start:rt(S.length>0?S[0][1].start:{line:1,column:1,offset:0}),end:rt(S.length>0?S[S.length-2][1].end:{line:1,column:1,offset:0})},X=-1;++X<t.transforms.length;)F=t.transforms[X](F)||F;return F}function u(S,F,G){let K=F-1,X=-1,me=!1,Le,Ee,Ye,Ie;for(;++K<=G;){const Fe=S[K];switch(Fe[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Fe[0]==="enter"?X++:X--,Ie=void 0;break}case"lineEndingBlank":{Fe[0]==="enter"&&(Le&&!Ie&&!X&&!Ye&&(Ye=K),Ie=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ie=void 0}if(!X&&Fe[0]==="enter"&&Fe[1].type==="listItemPrefix"||X===-1&&Fe[0]==="exit"&&(Fe[1].type==="listUnordered"||Fe[1].type==="listOrdered")){if(Le){let gt=K;for(Ee=void 0;gt--;){const Xe=S[gt];if(Xe[1].type==="lineEnding"||Xe[1].type==="lineEndingBlank"){if(Xe[0]==="exit")continue;Ee&&(S[Ee][1].type="lineEndingBlank",me=!0),Xe[1].type="lineEnding",Ee=gt}else if(!(Xe[1].type==="linePrefix"||Xe[1].type==="blockQuotePrefix"||Xe[1].type==="blockQuotePrefixWhitespace"||Xe[1].type==="blockQuoteMarker"||Xe[1].type==="listItemIndent"))break}Ye&&(!Ee||Ye<Ee)&&(Le._spread=!0),Le.end=Object.assign({},Ee?S[Ee][1].start:Fe[1].end),S.splice(Ee||K,0,["exit",Le,Fe[2]]),K++,G++}if(Fe[1].type==="listItemPrefix"){const gt={type:"listItem",_spread:!1,start:Object.assign({},Fe[1].start),end:void 0};Le=gt,S.splice(K,0,["enter",gt,Fe[2]]),K++,G++,Ye=void 0,Ie=!0}}}return S[F][1]._spread=me,G}function i(S,F){return G;function G(K){o.call(this,S(K),K),F&&F.call(this,K)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(S,F,G){this.stack[this.stack.length-1].children.push(S),this.stack.push(S),this.tokenStack.push([F,G||void 0]),S.position={start:rt(F.start),end:void 0}}function l(S){return F;function F(G){S&&S.call(this,G),c.call(this,G)}}function c(S,F){const G=this.stack.pop(),K=this.tokenStack.pop();if(K)K[0].type!==S.type&&(F?F.call(this,S,K[0]):(K[1]||xu).call(this,S,K[0]));else throw new Error("Cannot close `"+S.type+"` ("+Qt({start:S.start,end:S.end})+"): it’s not open");G.position.end=rt(S.end)}function h(){return Zt(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function m(S){if(this.data.expectingFirstListItemValue){const F=this.stack[this.stack.length-2];F.start=Number.parseInt(this.sliceSerialize(S),10),this.data.expectingFirstListItemValue=void 0}}function d(){const S=this.resume(),F=this.stack[this.stack.length-1];F.lang=S}function b(){const S=this.resume(),F=this.stack[this.stack.length-1];F.meta=S}function x(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function L(){const S=this.resume(),F=this.stack[this.stack.length-1];F.value=S.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function I(){const S=this.resume(),F=this.stack[this.stack.length-1];F.value=S.replace(/(\r?\n|\r)$/g,"")}function O(S){const F=this.resume(),G=this.stack[this.stack.length-1];G.label=F,G.identifier=He(this.sliceSerialize(S)).toLowerCase()}function P(){const S=this.resume(),F=this.stack[this.stack.length-1];F.title=S}function Y(){const S=this.resume(),F=this.stack[this.stack.length-1];F.url=S}function W(S){const F=this.stack[this.stack.length-1];if(!F.depth){const G=this.sliceSerialize(S).length;F.depth=G}}function y(){this.data.setextHeadingSlurpLineEnding=!0}function Q(S){const F=this.stack[this.stack.length-1];F.depth=this.sliceSerialize(S).codePointAt(0)===61?1:2}function $(){this.data.setextHeadingSlurpLineEnding=void 0}function R(S){const G=this.stack[this.stack.length-1].children;let K=G[G.length-1];(!K||K.type!=="text")&&(K=ue(),K.position={start:rt(S.start),end:void 0},G.push(K)),this.stack.push(K)}function N(S){const F=this.stack.pop();F.value+=this.sliceSerialize(S),F.position.end=rt(S.end)}function H(S){const F=this.stack[this.stack.length-1];if(this.data.atHardBreak){const G=F.children[F.children.length-1];G.position.end=rt(S.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(F.type)&&(R.call(this,S),N.call(this,S))}function z(){this.data.atHardBreak=!0}function M(){const S=this.resume(),F=this.stack[this.stack.length-1];F.value=S}function U(){const S=this.resume(),F=this.stack[this.stack.length-1];F.value=S}function D(){const S=this.resume(),F=this.stack[this.stack.length-1];F.value=S}function te(){const S=this.stack[this.stack.length-1];if(this.data.inReference){const F=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=F,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function ce(){const S=this.stack[this.stack.length-1];if(this.data.inReference){const F=this.data.referenceType||"shortcut";S.type+="Reference",S.referenceType=F,delete S.url,delete S.title}else delete S.identifier,delete S.label;this.data.referenceType=void 0}function ye(S){const F=this.sliceSerialize(S),G=this.stack[this.stack.length-2];G.label=vi(F),G.identifier=He(F).toLowerCase()}function Ae(){const S=this.stack[this.stack.length-1],F=this.resume(),G=this.stack[this.stack.length-1];if(this.data.inReference=!0,G.type==="link"){const K=S.children;G.children=K}else G.alt=F}function g(){const S=this.resume(),F=this.stack[this.stack.length-1];F.url=S}function de(){const S=this.resume(),F=this.stack[this.stack.length-1];F.title=S}function Me(){this.data.inReference=void 0}function A(){this.data.referenceType="collapsed"}function Ce(S){const F=this.resume(),G=this.stack[this.stack.length-1];G.label=F,G.identifier=He(this.sliceSerialize(S)).toLowerCase(),this.data.referenceType="full"}function ze(S){this.data.characterReferenceType=S.type}function fe(S){const F=this.sliceSerialize(S),G=this.data.characterReferenceType;let K;G?(K=ki(F,G==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):K=en(F);const X=this.stack[this.stack.length-1];X.value+=K}function nt(S){const F=this.stack.pop();F.position.end=rt(S.end)}function ve(S){N.call(this,S);const F=this.stack[this.stack.length-1];F.url=this.sliceSerialize(S)}function Ge(S){N.call(this,S);const F=this.stack[this.stack.length-1];F.url="mailto:"+this.sliceSerialize(S)}function $e(){return{type:"blockquote",children:[]}}function ct(){return{type:"code",lang:null,meta:null,value:""}}function Pt(){return{type:"inlineCode",value:""}}function fn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function wt(){return{type:"emphasis",children:[]}}function bt(){return{type:"heading",depth:0,children:[]}}function hn(){return{type:"break"}}function Bt(){return{type:"html",value:""}}function dn(){return{type:"image",title:null,url:"",alt:null}}function Mt(){return{type:"link",title:null,url:"",children:[]}}function vt(S){return{type:"list",ordered:S.type==="listOrdered",start:null,spread:S._spread,children:[]}}function C(S){return{type:"listItem",spread:S._spread,checked:null,children:[]}}function j(){return{type:"paragraph",children:[]}}function V(){return{type:"strong",children:[]}}function ue(){return{type:"text",value:""}}function pe(){return{type:"thematicBreak"}}}function rt(e){return{line:e.line,column:e.column,offset:e.offset}}function Ui(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Ui(e,r):Fl(e,r)}}function Fl(e,t){let n;for(n in t)if(Hi.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 xu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Qt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Qt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Qt({start:t.start,end:t.end})+") is still open")}function zi(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 Iu={}.hasOwnProperty;function wr(e,t){const n=t||{};function r(u,...i){let a=r.invalid;const o=r.handlers;if(u&&Iu.call(u,e)){const l=String(u[e]);a=Iu.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 Yi(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)Yi(e,t.extensions[n]);for(r in t)if(Ol.call(t,r))switch(r){case"extensions":break;case"unsafe":{Nu(e[r],t[r]);break}case"join":{Nu(e[r],t[r]);break}case"handlers":{Rl(e[r],t[r]);break}default:e.options[r]=t[r]}return e}function Nu(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 qi(e,t){return Su(e,t.inConstruct,!0)&&!Su(e,t.notInConstruct,!1)}function Su(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 ku(e,t,n,r){let u=-1;for(;++u<n.unsafe.length;)if(n.unsafe[u].character===`
|
|
34
|
+
`&&qi(n.stack,n.unsafe[u]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
35
|
+
`}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 gr(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(gr(e,n)){const f=n.enter("codeIndented"),m=n.indentLines(i,Hl);return f(),m}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:`
|
|
36
36
|
`,encode:["`"],...o.current()})),f()}return h+=o.move(`
|
|
37
37
|
`),i&&(h+=o.move(i+`
|
|
38
|
-
`)),h+=o.move(l),c(),h}function
|
|
39
|
-
`,...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
|
|
38
|
+
`)),h+=o.move(l),c(),h}function Hl(e,t,n){return(n?"":" ")+e}function Br(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=Br(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?" ":`
|
|
39
|
+
`,...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 st(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Nn(e,t,n){const r=It(e),u=It(t);return r===void 0?u===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:u===void 0?{inside:!1,outside:!1}:u===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}ji.peek=Yl;function ji(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=Nn(r.before.charCodeAt(r.before.length-1),c,u);h.inside&&(l=st(c)+l.slice(1));const f=l.charCodeAt(l.length-1),m=Nn(r.after.charCodeAt(0),f,u);m.inside&&(l=l.slice(0,-1)+st(f));const d=a.move(u);return i(),n.attentionEncodeSurroundingInfo={after:m.outside,before:h.outside},o+l+d}function Yl(e,t,n){return n.options.emphasis||"*"}const Pn=function(e){if(e==null)return Wl;if(typeof e=="function")return wn(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]=Pn(e[n]);return wn(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 wn(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 wn(t);function t(n){return n&&n.type===e}}function wn(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 Vi=[],Gl=!0,Ar=!1,$l="skip";function Mr(e,t,n,r){let u;typeof t=="function"&&typeof n!="function"?(r=n,n=t):u=t;const i=Pn(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(m,"name",{value:"node ("+(l.type+(d?"<"+d+">":""))+")"})}return m;function m(){let d=Vi,b,x,L;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 I=l;if(I.children&&d[0]!==$l)for(x=(r?I.children.length:-1)+a,L=h.concat(I);x>-1&&x<I.children.length;){const O=I.children[x];if(b=o(O,x,L)(),b[0]===Ar)return b;x=typeof b[1]=="number"?b[1]:x+a}}return d}}}function Xl(e){return Array.isArray(e)?e:typeof e=="number"?[Gl,e]:e==null?Vi:[e]}function ke(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),Mr(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 Wi(e,t){let n=!1;return ke(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(Wi(e,n)){const h=n.enter("headingSetext"),f=n.enter("phrasing"),m=n.containerPhrasing(e,{...i.current(),before:`
|
|
40
40
|
`,after:`
|
|
41
|
-
`});return f(),h(),
|
|
42
|
-
`+(u===1?"=":"-").repeat(
|
|
41
|
+
`});return f(),h(),m+`
|
|
42
|
+
`+(u===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
|
|
43
43
|
`))+1))}const a="#".repeat(u),o=n.enter("headingAtx"),l=n.enter("phrasing");i.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
|
|
44
|
-
`,...i.current()});return/^[\t ]/.test(c)&&(c=
|
|
45
|
-
`,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:
|
|
46
|
-
]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:
|
|
47
|
-
*])`},{character:"*",inConstruct:"phrasing",notInConstruct:
|
|
44
|
+
`,...i.current()});return/^[\t ]/.test(c)&&(c=st(c.charCodeAt(0))+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}Qi.peek=Jl;function Qi(e){return e.value||""}function Jl(){return"<"}Gi.peek=Zl;function Gi(e,t,n,r){const u=Br(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"!"}$i.peek=ec;function $i(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"!"}Xi.peek=tc;function Xi(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 Ki(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))}Ji.peek=nc;function Ji(e,t,n,r){const u=Br(n),i=u==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(Ki(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 Ki(e,n)?"<":"["}Zi.peek=rc;function Zi(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 vr(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=vr(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 ea(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):vr(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),ea(n)===a&&h){let f=-1;for(;++f<e.children.length;){const m=e.children[f];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.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||vr(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,m,d){return m?(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=Pn(["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}ta.peek=dc;function ta(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=Nn(r.before.charCodeAt(r.before.length-1),c,u);h.inside&&(l=st(c)+l.slice(1));const f=l.charCodeAt(l.length-1),m=Nn(r.after.charCodeAt(0),f,u);m.inside&&(l=l.slice(0,-1)+st(f));const d=a.move(u+u);return i(),n.attentionEncodeSurroundingInfo={after:m.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=(ea(n)+(n.options.ruleSpaces?" ":"")).repeat(pc(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Hr={blockquote:Pl,break:ku,code:vl,definition:Ul,emphasis:ji,hardBreak:ku,heading:Kl,html:Qi,image:Gi,imageReference:$i,inlineCode:Xi,link:Ji,linkReference:Zi,list:ac,listItem:oc,paragraph:lc,root:fc,strong:ta,text:mc,thematicBreak:Ec},Tc=[bc];function bc(e,t,n,r){if(t.type==="code"&&gr(t,r)&&(e.type==="list"||e.type===t.type&&gr(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"&&Wi(t,r))?void 0:n.spread?1:0}const ft=["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:`
|
|
45
|
+
`,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:ft},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:`(?:[\r
|
|
46
|
+
]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:ft},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:`(?:[ \r
|
|
47
|
+
*])`},{character:"*",inConstruct:"phrasing",notInConstruct:ft},{atBreak:!0,character:"+",after:`(?:[ \r
|
|
48
48
|
])`},{atBreak:!0,character:"-",after:`(?:[ \r
|
|
49
49
|
-])`},{atBreak:!0,before:"\\d+",character:".",after:`(?:[ \r
|
|
50
|
-
]|$)`},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:
|
|
51
|
-
`)&&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
|
|
50
|
+
]|$)`},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:ft},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:ft},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:ft},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:ft},{atBreak:!0,character:"~"}];function Ac(e){return e.label||!e.identifier?e.label||"":vi(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 b=t.handle.handlers[u[a+1].type];b&&b.peek&&(b=b.peek),f=b?b(u[a+1],e,t,{before:"",after:"",...c.current()}).charAt(0):""}else f=n.after;i.length>0&&(o==="\r"||o===`
|
|
51
|
+
`)&&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 m=t.handle(h,e,t,{...c.current(),after:f,before:o});l&&l===m.slice(0,1)&&(m=st(l.charCodeAt(0))+m.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)+st(o.charCodeAt(0))),d.after&&(l=f)),c.move(m),i.push(m),o=m.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:`
|
|
52
52
|
`,after:`
|
|
53
|
-
`,...i.current()}))),l.type!=="list"&&(t.bulletLastUsed=void 0),o<u.length-1&&a.push(i.move(
|
|
53
|
+
`,...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`
|
|
54
54
|
`.repeat(1+i);if(i===!1)return`
|
|
55
55
|
|
|
56
56
|
<!---->
|
|
57
57
|
|
|
58
58
|
`}return`
|
|
59
59
|
|
|
60
|
-
`}const
|
|
60
|
+
`}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 Sc(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(!qi(e.stack,h))continue;const f=e.compilePattern(h);let m;for(;m=f.exec(r);){const d="before"in h||!!h.atBreak,b="after"in h,x=m.index+(d?m[1].length:0);u.includes(x)?(a[x].before&&!d&&(a[x].before=!1),a[x].after&&!b&&(a[x].after=!1)):(u.push(x),a[x]={before:d,after:b})}}u.sort(kc);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(yu(r.slice(l,h),"\\")),l=h,/[!-/:-@[-`{-~]/.test(r.charAt(h))&&(!n.encode||!n.encode.includes(r.charAt(h)))?i.push("\\"):(i.push(st(r.charCodeAt(h))),l++))}return i.push(yu(r.slice(l,c),n.after)),i.join("")}function kc(e,t){return e-t}function yu(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),m=f[f.length-1];return u+=f.length-1,i=f.length===1?i+m.length:1+m.length+r,h}}function Lc(e,t){const n=t||{},r={associationId:Ac,containerPhrasing:Pc,containerFlow:wc,createTracker:yc,compilePattern:Cc,enter:i,handlers:{...Hr},handle:void 0,indentLines:Nc,indexStack:[],join:[...Tc],options:{},safe:Bc,stack:[],unsafe:[...gc]};Yi(r,n),r.options.tightDefinitions&&r.join.push(Rc),r.handle=wr("type",{invalid:Fc,unknown:Oc,handlers:r.handlers});let u=r.handle(e,void 0,r,{before:`
|
|
61
61
|
`,after:`
|
|
62
62
|
`,now:{line:1,column:1},lineShift:0});return u&&u.charCodeAt(u.length-1)!==10&&u.charCodeAt(u.length-1)!==13&&(u+=`
|
|
63
|
-
`),u;function i(a){return r.stack.push(a),o;function o(){r.stack.pop()}}}function Kc(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function Jc(e){const t=e;throw new Error("Cannot handle unknown node `"+t.type+"`")}function Zc(e,t){if(e.type==="definition"&&e.type===t.type)return 0}function e0(e,t){return jc(e,this,t)}function t0(e,t){return Yc(e,this,t)}function n0(e,t){return $c(this,e,t)}function r0(e){const t=this;t.compiler=n;function n(r){return Xc(r,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}function zu(e){if(e)throw e}var Kn,ju;function u0(){if(ju)return Kn;ju=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 Kn=function l(){var c,h,f,p,m,T,x=arguments[0],F=1,y=arguments.length,P=!1;for(typeof x=="boolean"&&(P=x,x=arguments[1]||{},F=2),(x==null||typeof x!="object"&&typeof x!="function")&&(x={});F<y;++F)if(c=arguments[F],c!=null)for(h in c)f=o(x,h),p=o(c,h),x!==p&&(P&&p&&(i(p)||(m=u(p)))?(m?(m=!1,T=f&&u(f)?f:[]):T=f&&i(f)?f:{},a(x,{name:h,newValue:l(P,T,p)})):typeof p<"u"&&a(x,{name:h,newValue:p}));return x},Kn}var i0=u0();const Jn=zr(i0);function kr(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 a0(){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?s0(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 s0(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 Ie 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=Zt(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}}Ie.prototype.file="";Ie.prototype.name="";Ie.prototype.reason="";Ie.prototype.message="";Ie.prototype.stack="";Ie.prototype.column=void 0;Ie.prototype.line=void 0;Ie.prototype.ancestors=void 0;Ie.prototype.cause=void 0;Ie.prototype.fatal=void 0;Ie.prototype.place=void 0;Ie.prototype.ruleId=void 0;Ie.prototype.source=void 0;const Ke={basename:o0,dirname:l0,extname:c0,join:f0,sep:"/"};function o0(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');dn(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 l0(e){if(dn(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 c0(e){dn(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 f0(...e){let t=-1,n;for(;++t<e.length;)dn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":h0(n)}function h0(e){dn(e);const t=e.codePointAt(0)===47;let n=d0(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function d0(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 dn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const m0={cwd:p0};function p0(){return"/"}function Sr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function E0(e){if(typeof e=="string")e=new URL(e);else if(!Sr(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 b0(e)}function b0(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 Zn=["history","path","basename","stem","extname","dirname"];class g0{constructor(t){let n;t?Sr(t)?n={path:t}:typeof t=="string"||T0(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":m0.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Zn.length;){const i=Zn[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)Zn.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?Ke.basename(this.path):void 0}set basename(t){tr(t,"basename"),er(t,"basename"),this.path=Ke.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ke.dirname(this.path):void 0}set dirname(t){Yu(this.basename,"dirname"),this.path=Ke.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ke.extname(this.path):void 0}set extname(t){if(er(t,"extname"),Yu(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=Ke.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Sr(t)&&(t=E0(t)),tr(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ke.basename(this.path,this.extname):void 0}set stem(t){tr(t,"stem"),er(t,"stem"),this.path=Ke.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 Ie(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 er(e,t){if(e&&e.includes(Ke.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ke.sep+"`")}function tr(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Yu(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function T0(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const A0=function(e){const r=this.constructor.prototype,u=r[e],i=function(){return u.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},C0={}.hasOwnProperty;class Qr extends A0{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=a0()}copy(){const t=new Qr;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Jn(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(ur("data",this.frozen),this.namespace[t]=n,this):C0.call(this.namespace,t)&&this.namespace[t]||void 0:t?(ur("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=Tn(t),r=this.parser||this.Parser;return nr("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),nr("process",this.parser||this.Parser),rr("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(i,a){const o=Tn(t),l=r.parse(o);r.run(l,o,function(h,f,p){if(h||!f||!p)return c(h);const m=f,T=r.stringify(m,p);_0(T)?p.value=T:p.result=T,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(),nr("processSync",this.parser||this.Parser),rr("processSync",this.compiler||this.Compiler),this.process(t,u),Wu("processSync","process",n),r;function u(i,a){n=!0,zu(i),r=a}}run(t,n,r){qu(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=Tn(n);u.run(t,l,c);function c(h,f,p){const m=f||t;h?o(h):a?a(m):r(void 0,m,p)}}}runSync(t,n){let r=!1,u;return this.run(t,n,i),Wu("runSync","run",r),u;function i(a,o){zu(a),u=o,r=!0}}stringify(t,n){this.freeze();const r=Tn(n),u=this.compiler||this.Compiler;return rr("stringify",u),qu(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(ur("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=Jn(!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[m,...T]=h;const x=r[p][1];kr(x)&&kr(m)&&(m=Jn(!0,x,m)),r[p]=[c,m,...T]}}}}const Ta=new Qr().freeze();function nr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function rr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ur(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function qu(e){if(!kr(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Wu(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Tn(e){return D0(e)?e:new g0(e)}function D0(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function _0(e){return typeof e=="string"||x0(e)}function x0(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const N0=Ta().use(ua).use(r0).freeze();function Vu(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 y0(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Aa(e,t,n){const u=Hn((n||{}).ignore||[]),i=I0(t);let a=-1;for(;++a<i.length;)Wr(e,"text",o);function o(c,h){let f=-1,p;for(;++f<h.length;){const m=h[f],T=p?p.children:void 0;if(u(m,T?T.indexOf(m):void 0,p))return;p=m}if(p)return l(c,h)}function l(c,h){const f=h[h.length-1],p=i[a][0],m=i[a][1];let T=0;const F=f.children.indexOf(c);let y=!1,P=[];p.lastIndex=0;let B=p.exec(c.value);for(;B;){const q=B.index,G={index:B.index,input:B.input,stack:[...h,c]};let S=m(...B,G);if(typeof S=="string"&&(S=S.length>0?{type:"text",value:S}:void 0),S===!1?p.lastIndex=q+1:(T!==q&&P.push({type:"text",value:c.value.slice(T,q)}),Array.isArray(S)?P.push(...S):S&&P.push(S),T=q+B[0].length,y=!0),!p.global)break;B=p.exec(c.value)}return y?(T<c.value.length&&P.push({type:"text",value:c.value.slice(T)}),f.children.splice(F,1,...P)):P=[c],F+P.length}}function I0(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([k0(u[0]),S0(u[1])])}return t}function k0(e){return typeof e=="string"?new RegExp(y0(e),"g"):e}function S0(e){return typeof e=="function"?e:function(){return e}}const ir="phrasing",ar=["autolink","link","image","label"];function F0(){return{transforms:[M0],enter:{literalAutolink:O0,literalAutolinkEmail:sr,literalAutolinkHttp:sr,literalAutolinkWww:sr},exit:{literalAutolink:B0,literalAutolinkEmail:w0,literalAutolinkHttp:R0,literalAutolinkWww:P0}}}function L0(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ir,notInConstruct:ar},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ir,notInConstruct:ar},{character:":",before:"[ps]",after:"\\/",inConstruct:ir,notInConstruct:ar}]}}function O0(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function sr(e){this.config.enter.autolinkProtocol.call(this,e)}function R0(e){this.config.exit.autolinkProtocol.call(this,e)}function P0(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 w0(e){this.config.exit.autolinkEmail.call(this,e)}function B0(e){this.exit(e)}function M0(e){Aa(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,v0],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),H0]],{ignore:["link","linkReference"]})}function v0(e,t,n,r,u){let i="";if(!Ca(u)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!U0(n)))return!1;const a=z0(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 H0(e,t,n,r){return!Ca(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function U0(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 z0(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=Vu(e,"(");let i=Vu(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 Ca(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Nt(n)||Mn(n))&&(!t||n!==47)}Da.peek=J0;function j0(){return{enter:{gfmFootnoteDefinition:q0,gfmFootnoteDefinitionLabelString:W0,gfmFootnoteCall:Q0,gfmFootnoteCallString:G0},exit:{gfmFootnoteDefinition:$0,gfmFootnoteDefinitionLabelString:V0,gfmFootnoteCall:K0,gfmFootnoteCallString:X0}}}function Y0(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Z0,footnoteReference:Da}}}function q0(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function W0(){this.buffer()}function V0(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=$e(this.sliceSerialize(e)).toLowerCase()}function $0(e){this.exit(e)}function Q0(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function G0(){this.buffer()}function X0(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=$e(this.sliceSerialize(e)).toLowerCase()}function K0(e){this.exit(e)}function Da(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 J0(){return"["}function Z0(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()),ef)),a(),i}function ef(e,t,n){return t===0?e:(n?"":" ")+e}const tf=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];_a.peek=sf;function nf(){return{canContainEols:["delete"],enter:{strikethrough:uf},exit:{strikethrough:af}}}function rf(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:tf}],handlers:{delete:_a}}}function uf(e){this.enter({type:"delete",children:[]},e)}function af(e){this.exit(e)}function _a(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 sf(){return"~"}function of(e){return e.length}function lf(e,t){const n=t||{},r=(n.align||[]).concat(),u=n.stringLength||of,i=[],a=[],o=[],l=[];let c=0,h=-1;for(;++h<e.length;){const x=[],F=[];let y=-1;for(e[h].length>c&&(c=e[h].length);++y<e[h].length;){const P=cf(e[h][y]);if(n.alignDelimiters!==!1){const B=u(P);F[y]=B,(l[y]===void 0||B>l[y])&&(l[y]=B)}x.push(P)}a[h]=x,o[h]=F}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)i[f]=$u(r[f]);else{const x=$u(r);for(;++f<c;)i[f]=x}f=-1;const p=[],m=[];for(;++f<c;){const x=i[f];let F="",y="";x===99?(F=":",y=":"):x===108?F=":":x===114&&(y=":");let P=n.alignDelimiters===!1?1:Math.max(1,l[f]-F.length-y.length);const B=F+"-".repeat(P)+y;n.alignDelimiters!==!1&&(P=F.length+P+y.length,P>l[f]&&(l[f]=P),m[f]=P),p[f]=B}a.splice(1,0,p),o.splice(1,0,m),h=-1;const T=[];for(;++h<a.length;){const x=a[h],F=o[h];f=-1;const y=[];for(;++f<c;){const P=x[f]||"";let B="",q="";if(n.alignDelimiters!==!1){const G=l[f]-(F[f]||0),S=i[f];S===114?B=" ".repeat(G):S===99?G%2?(B=" ".repeat(G/2+.5),q=" ".repeat(G/2-.5)):(B=" ".repeat(G/2),q=B):q=" ".repeat(G)}n.delimiterStart!==!1&&!f&&y.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&P==="")&&(n.delimiterStart!==!1||f)&&y.push(" "),n.alignDelimiters!==!1&&y.push(B),y.push(P),n.alignDelimiters!==!1&&y.push(q),n.padding!==!1&&y.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&y.push("|")}T.push(n.delimiterEnd===!1?y.join("").replace(/ +$/,""):y.join(""))}return T.join(`
|
|
64
|
-
`)}function
|
|
65
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:
|
|
66
|
-
`))}function l(m,T,x,F){const y=x.enter("tableCell"),P=x.enter("phrasing"),B=x.containerPhrasing(m,{...F,before:i,after:i});return P(),y(),B}function c(m,T){return lf(m,{align:T,alignDelimiters:r,padding:n,stringLength:u})}function h(m,T,x){const F=m.children;let y=-1;const P=[],B=T.enter("table");for(;++y<F.length;)P[y]=f(F[y],T,x);return B(),P}function f(m,T,x){const F=m.children;let y=-1;const P=[],B=T.enter("tableRow");for(;++y<F.length;)P[y]=l(F[y],m,T,x);return B(),P}function p(m,T,x){let F=$r.inlineCode(m,T,x);return x.stack.includes("tableCell")&&(F=F.replace(/\|/g,"\\$&")),F}}function gf(){return{exit:{taskListCheckValueChecked:Gu,taskListCheckValueUnchecked:Gu,paragraph:Af}}}function Tf(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Cf}}}function Gu(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Af(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 Cf(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=$r.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 Df(){return[F0(),j0(),nf(),ff(),gf()]}function _f(e){return{extensions:[L0(),Y0(),rf(),bf(e),Tf()]}}const xf={tokenize:Ff,partial:!0},xa={tokenize:Lf,partial:!0},Na={tokenize:Of,partial:!0},ya={tokenize:Rf,partial:!0},Nf={tokenize:Pf,partial:!0},Ia={name:"wwwAutolink",tokenize:kf,previous:Sa},ka={name:"protocolAutolink",tokenize:Sf,previous:Fa},ot={name:"emailAutolink",tokenize:If,previous:La},et={};function yf(){return{text:et}}let Dt=48;for(;Dt<123;)et[Dt]=ot,Dt++,Dt===58?Dt=65:Dt===91&&(Dt=97);et[43]=ot;et[45]=ot;et[46]=ot;et[95]=ot;et[72]=[ot,ka];et[104]=[ot,ka];et[87]=[ot,Ia];et[119]=[ot,Ia];function If(e,t,n){const r=this;let u,i;return a;function a(f){return!Fr(f)||!La.call(r,r.previous)||Gr(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return Fr(f)?(e.consume(f),o):f===64?(e.consume(f),l):n(f)}function l(f){return f===46?e.check(Nf,h,c)(f):f===45||f===95||Ne(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&&ye(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function kf(e,t,n){const r=this;return u;function u(a){return a!==87&&a!==119||!Sa.call(r,r.previous)||Gr(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(xf,e.attempt(xa,e.attempt(Na,i),n),n)(a))}function i(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function Sf(e,t,n){const r=this;let u="",i=!1;return a;function a(f){return(f===72||f===104)&&Fa.call(r,r.previous)&&!Gr(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),u+=String.fromCodePoint(f),e.consume(f),o):n(f)}function o(f){if(ye(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)||se(f)||Nt(f)||Mn(f)?n(f):e.attempt(xa,e.attempt(Na,h),n)(f)}function h(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function Ff(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 Lf(e,t,n){let r,u,i;return a;function a(c){return c===46||c===95?e.check(ya,l,o)(c):c===null||se(c)||Nt(c)||c!==45&&Mn(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 Of(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(ya,t,i)(a):a===null||se(a)||Nt(a)?t(a):(e.consume(a),u)}function i(a){return a===41&&r++,e.consume(a),u}}function Rf(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||se(o)||Nt(o)?t(o):n(o)}function u(o){return o===null||o===40||o===91||se(o)||Nt(o)?t(o):r(o)}function i(o){return ye(o)?a(o):n(o)}function a(o){return o===59?(e.consume(o),r):ye(o)?(e.consume(o),a):n(o)}}function Pf(e,t,n){return r;function r(i){return e.consume(i),u}function u(i){return Ne(i)?n(i):t(i)}}function Sa(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||se(e)}function Fa(e){return!ye(e)}function La(e){return!(e===47||Fr(e))}function Fr(e){return e===43||e===45||e===46||e===95||Ne(e)}function Gr(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 wf={tokenize:Yf,partial:!0};function Bf(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Uf,continuation:{tokenize:zf},exit:jf}},text:{91:{name:"gfmFootnoteCall",tokenize:Hf},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Mf,resolveTo:vf}}}}function Mf(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=$e(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 vf(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 Hf(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||se(f))return n(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return u.includes($e(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return se(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 Uf(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0,o;return l;function l(T){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(T){return T===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(T)}function h(T){if(a>999||T===93&&!o||T===null||T===91||se(T))return n(T);if(T===93){e.exit("chunkString");const x=e.exit("gfmFootnoteDefinitionLabelString");return i=$e(r.sliceSerialize(x)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return se(T)||(o=!0),a++,e.consume(T),T===92?f:h}function f(T){return T===91||T===92||T===93?(e.consume(T),a++,h):h(T)}function p(T){return T===58?(e.enter("definitionMarker"),e.consume(T),e.exit("definitionMarker"),u.includes(i)||u.push(i),te(e,m,"gfmFootnoteDefinitionWhitespace")):n(T)}function m(T){return t(T)}}function zf(e,t,n){return e.check(hn,t,e.attempt(wf,t,n))}function jf(e){e.exit("gfmFootnoteDefinition")}function Yf(e,t,n){const r=this;return te(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 qf(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]],m=o.parser.constructs.insideSpan.null;m&&He(p,p.length,0,vn(m,a.slice(c+1,l),o)),He(p,p.length,0,[["exit",f,o],["enter",a[l][1],o],["exit",a[l][1],o],["exit",h,o]]),He(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(T){return c===126&&h[h.length-1][1].type!=="characterEscape"?l(T):(a.enter("strikethroughSequenceTemporary"),m(T))}function m(T){const x=wt(c);if(T===126)return f>1?l(T):(a.consume(T),f++,m);if(f<2&&!n)return l(T);const F=a.exit("strikethroughSequenceTemporary"),y=wt(T);return F._open=!y||y===2&&!!x,F._close=!x||x===2&&!!y,o(T)}}}class Wf{constructor(){this.map=[]}add(t,n,r){Vf(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 Vf(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 $f(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 Qf(){return{flow:{null:{name:"table",tokenize:Gf,resolveAll:Xf}}}}function Gf(e,t,n){const r=this;let u=0,i=0,a;return o;function o(k){let z=r.events.length-1;for(;z>-1;){const j=r.events[z][1].type;if(j==="lineEnding"||j==="linePrefix")z--;else break}const Y=z>-1?r.events[z][1].type:null,H=Y==="tableHead"||Y==="tableRow"?S:l;return H===S&&r.parser.lazy[r.now().line]?n(k):H(k)}function l(k){return e.enter("tableHead"),e.enter("tableRow"),c(k)}function c(k){return k===124||(a=!0,i+=1),h(k)}function h(k){return k===null?n(k):Q(k)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),m):n(k):re(k)?te(e,h,"whitespace")(k):(i+=1,a&&(a=!1,u+=1),k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),a=!0,h):(e.enter("data"),f(k)))}function f(k){return k===null||k===124||se(k)?(e.exit("data"),h(k)):(e.consume(k),k===92?p:f)}function p(k){return k===92||k===124?(e.consume(k),f):f(k)}function m(k){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(k):(e.enter("tableDelimiterRow"),a=!1,re(k)?te(e,T,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):T(k))}function T(k){return k===45||k===58?F(k):k===124?(a=!0,e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),x):G(k)}function x(k){return re(k)?te(e,F,"whitespace")(k):F(k)}function F(k){return k===58?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),y):k===45?(i+=1,y(k)):k===null||Q(k)?q(k):G(k)}function y(k){return k===45?(e.enter("tableDelimiterFiller"),P(k)):G(k)}function P(k){return k===45?(e.consume(k),P):k===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),B):(e.exit("tableDelimiterFiller"),B(k))}function B(k){return re(k)?te(e,q,"whitespace")(k):q(k)}function q(k){return k===124?T(k):k===null||Q(k)?!a||u!==i?G(k):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(k)):G(k)}function G(k){return n(k)}function S(k){return e.enter("tableRow"),$(k)}function $(k){return k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),$):k===null||Q(k)?(e.exit("tableRow"),t(k)):re(k)?te(e,$,"whitespace")(k):(e.enter("data"),J(k))}function J(k){return k===null||k===124||se(k)?(e.exit("data"),$(k)):(e.consume(k),k===92?w:J)}function w(k){return k===92||k===124?(e.consume(k),J):J(k)}}function Xf(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 Wf;for(;++n<e.length;){const m=e[n],T=m[1];m[0]==="enter"?T.type==="tableHead"?(o=!1,l!==0&&(Xu(p,t,l,c,h),h=void 0,l=0),c={type:"table",start:Object.assign({},T.start),end:Object.assign({},T.end)},p.add(n,0,[["enter",c,t]])):T.type==="tableRow"||T.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({},T.start),end:Object.assign({},T.end)},p.add(n,0,[["enter",h,t]])),u=T.type==="tableDelimiterRow"?2:h?3:1):u&&(T.type==="data"||T.type==="tableDelimiterMarker"||T.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(i[1]!==0&&(a[0]=a[1],f=An(p,t,i,u,void 0,f),i=[0,0,0,0]),a[2]=n)):T.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(a[0]=a[1],f=An(p,t,i,u,void 0,f)),i=a,a=[i[1],n,0,0])):T.type==="tableHead"?(o=!0,l=n):T.type==="tableRow"||T.type==="tableDelimiterRow"?(l=n,i[1]!==0?(a[0]=a[1],f=An(p,t,i,u,n,f)):a[1]!==0&&(f=An(p,t,a,u,n,f)),u=0):u&&(T.type==="data"||T.type==="tableDelimiterMarker"||T.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&Xu(p,t,l,c,h),p.consume(t.events),n=-1;++n<t.events.length;){const m=t.events[n];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=$f(t.events,n))}return e}function An(e,t,n,r,u,i){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(i.end=Object.assign({},Ot(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=Ot(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=Ot(t.events,n[2]),h=Ot(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]],m=t.events[n[3]];if(p[1].end=Object.assign({},m[1].end),p[1].type="chunkText",p[1].contentType="text",n[3]>n[2]+1){const T=n[2]+1,x=n[3]-n[2]-1;e.add(T,x,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return u!==void 0&&(i.end=Object.assign({},Ot(t.events,u)),e.add(u,0,[["exit",i,t]]),i=void 0),i}function Xu(e,t,n,r,u){const i=[],a=Ot(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 Ot(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Kf={name:"tasklistCheck",tokenize:Zf};function Jf(){return{text:{91:Kf}}}function Zf(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 se(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):re(l)?e.check({tokenize:eh},t,n)(l):n(l)}}function eh(e,t,n){return te(e,r,"whitespace");function r(u){return u===null?n(u):t(u)}}function th(e){return qi([yf(),Bf(),qf(e),Qf(),Jf()])}const nh={};function rh(e){const t=this,n=e||nh,r=t.data(),u=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);u.push(th(n)),i.push(Df()),a.push(_f(n))}const uh=["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"],Ku={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 Oa(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function ih(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function ah(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Ju(e){return ah(e)||Oa(e)}const sh=["","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 Xr(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=T(),m;for(i--;++i<=e.length;)if(m===10&&(f=(c?c[a]:0)||1),m=e.charCodeAt(i),m===38){const y=e.charCodeAt(i+1);if(y===9||y===10||y===12||y===32||y===38||y===60||Number.isNaN(y)||r&&y===r){o+=String.fromCharCode(m),f++;continue}const P=i+1;let B=P,q=P,G;if(y===35){q=++B;const H=e.charCodeAt(q);H===88||H===120?(G="hexadecimal",q=++B):G="decimal"}else G="named";let S="",$="",J="";const w=G==="named"?Ju:G==="decimal"?Oa:ih;for(q--;++q<=e.length;){const H=e.charCodeAt(q);if(!w(H))break;J+=String.fromCharCode(H),G==="named"&&uh.includes(J)&&(S=J,$=sn(J))}let k=e.charCodeAt(q)===59;if(k){q++;const H=G==="named"?sn(J):!1;H&&(S=J,$=H)}let z=1+q-P,Y="";if(!(!k&&n.nonTerminated===!1))if(!J)G!=="named"&&x(4,z);else if(G==="named"){if(k&&!$)x(5,1);else if(S!==J&&(q=B+S.length,z=1+q-B,k=!1),!k){const H=S?1:3;if(n.attribute){const j=e.charCodeAt(q);j===61?(x(H,z),$=""):Ju(j)?$="":x(H,z)}else x(H,z)}Y=$}else{k||x(2,z);let H=Number.parseInt(J,G==="hexadecimal"?16:10);if(oh(H))x(7,z),Y="�";else if(H in Ku)x(6,z),Y=Ku[H];else{let j="";lh(H)&&x(6,z),H>65535&&(H-=65536,j+=String.fromCharCode(H>>>10|55296),H=56320|H&1023),Y=j+String.fromCharCode(H)}}if(Y){F(),p=T(),i=q-1,f+=q-P+1,u.push(Y);const H=T();H.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,Y,{start:p,end:H},e.slice(P-1,q)),p=H}else J=e.slice(P-1,q),o+=J,f+=J.length,i=q-1}else m===10&&(h++,a++,f=0),Number.isNaN(m)?F():(o+=String.fromCharCode(m),f++);return u.join("");function T(){return{line:h,column:f,offset:i+((l?l.offset:0)||0)}}function x(y,P){let B;n.warning&&(B=T(),B.column+=P,B.offset+=P,n.warning.call(n.warningContext||void 0,sh[y],B,y))}function F(){o&&(u.push(o),n.text&&n.text.call(n.textContext||void 0,o,{start:p,end:T()}),o="")}}function oh(e){return e>=55296&&e<=57343||e>1114111}function lh(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 ch=/["&'<>`]/g,fh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hh=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,dh=/[|\\{}()[\]^$+*?.]/g,Zu=new WeakMap;function mh(e,t){if(e=e.replace(t.subset?ph(t.subset):ch,r),t.subset||t.escapeOnly)return e;return e.replace(fh,n).replace(hh,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 ph(e){let t=Zu.get(e);return t||(t=Eh(e),Zu.set(e,t)),t}function Eh(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(dh,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function bh(e){return"&#x"+e.toString(16).toUpperCase()+";"}function gh(e,t){return mh(e,Object.assign({format:bh},t))}const Th={}.hasOwnProperty,ei=/^[^\t\n\r "#'.<=>`}]+$/;In.peek=Ih;function Ah(){return{canContainEols:["textDirective"],enter:{directiveContainer:Dh,directiveContainerAttributes:cr,directiveContainerLabel:Nh,directiveLeaf:_h,directiveLeafAttributes:cr,directiveText:xh,directiveTextAttributes:cr},exit:{directiveContainer:Er,directiveContainerAttributeClassValue:hr,directiveContainerAttributeIdValue:fr,directiveContainerAttributeName:mr,directiveContainerAttributeValue:dr,directiveContainerAttributes:pr,directiveContainerLabel:yh,directiveContainerName:lr,directiveLeaf:Er,directiveLeafAttributeClassValue:hr,directiveLeafAttributeIdValue:fr,directiveLeafAttributeName:mr,directiveLeafAttributeValue:dr,directiveLeafAttributes:pr,directiveLeafName:lr,directiveText:Er,directiveTextAttributeClassValue:hr,directiveTextAttributeIdValue:fr,directiveTextAttributeName:mr,directiveTextAttributeValue:dr,directiveTextAttributes:pr,directiveTextName:lr}}}function Ch(){return{unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
|
|
67
|
-
`,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:
|
|
63
|
+
`),u;function i(a){return r.stack.push(a),o;function o(){r.stack.pop()}}}function Fc(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 Sc(this,e,t)}function Mc(e){const t=this;t.compiler=n;function n(r){return Lc(r,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}function Lu(e){if(e)throw e}var Vn,Fu;function vc(){if(Fu)return Vn;Fu=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 Vn=function l(){var c,h,f,m,d,b,x=arguments[0],L=1,I=arguments.length,O=!1;for(typeof x=="boolean"&&(O=x,x=arguments[1]||{},L=2),(x==null||typeof x!="object"&&typeof x!="function")&&(x={});L<I;++L)if(c=arguments[L],c!=null)for(h in c)f=o(x,h),m=o(c,h),x!==m&&(O&&m&&(i(m)||(d=u(m)))?(d?(d=!1,b=f&&u(f)?f:[]):b=f&&i(f)?f:{},a(x,{name:h,newValue:l(O,b,m)})):typeof m<"u"&&a(x,{name:h,newValue:m}));return x},Vn}var Hc=vc();const Wn=Rr(Hc);function Cr(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 _e 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=Qt(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}}_e.prototype.file="";_e.prototype.name="";_e.prototype.reason="";_e.prototype.message="";_e.prototype.stack="";_e.prototype.column=void 0;_e.prototype.line=void 0;_e.prototype.ancestors=void 0;_e.prototype.cause=void 0;_e.prototype.fatal=void 0;_e.prototype.place=void 0;_e.prototype.ruleId=void 0;_e.prototype.source=void 0;const qe={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');an(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(an(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){an(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;)an(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Wc(n)}function Wc(e){an(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 an(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 Dr(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(!Dr(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 Qn=["history","path","basename","stem","extname","dirname"];class Jc{constructor(t){let n;t?Dr(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<Qn.length;){const i=Qn[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)Qn.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?qe.basename(this.path):void 0}set basename(t){$n(t,"basename"),Gn(t,"basename"),this.path=qe.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?qe.dirname(this.path):void 0}set dirname(t){Ou(this.basename,"dirname"),this.path=qe.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?qe.extname(this.path):void 0}set extname(t){if(Gn(t,"extname"),Ou(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=qe.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Dr(t)&&(t=Xc(t)),$n(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?qe.basename(this.path,this.extname):void 0}set stem(t){$n(t,"stem"),Gn(t,"stem"),this.path=qe.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 _e(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 Gn(e,t){if(e&&e.includes(qe.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+qe.sep+"`")}function $n(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Ou(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 Ur 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 Ur;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Wn(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Jn("data",this.frozen),this.namespace[t]=n,this):t0.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Jn("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=pn(t),r=this.parser||this.Parser;return Xn("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Xn("process",this.parser||this.Parser),Kn("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(i,a){const o=pn(t),l=r.parse(o);r.run(l,o,function(h,f,m){if(h||!f||!m)return c(h);const d=f,b=r.stringify(d,m);r0(b)?m.value=b:m.result=b,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(),Xn("processSync",this.parser||this.Parser),Kn("processSync",this.compiler||this.Compiler),this.process(t,u),Pu("processSync","process",n),r;function u(i,a){n=!0,Lu(i),r=a}}run(t,n,r){Ru(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=pn(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),Pu("runSync","run",r),u;function i(a,o){Lu(a),u=o,r=!0}}stringify(t,n){this.freeze();const r=pn(n),u=this.compiler||this.Compiler;return Kn("stringify",u),Ru(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(Jn("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=Wn(!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,...b]=h;const x=r[m][1];Cr(x)&&Cr(d)&&(d=Wn(!0,x,d)),r[m]=[c,d,...b]}}}}const na=new Ur().freeze();function Xn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Kn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Jn(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 Ru(e){if(!Cr(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Pu(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function pn(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=na().use(zi).use(Mc).freeze();function wu(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 ra(e,t,n){const u=Pn((n||{}).ignore||[]),i=s0(t);let a=-1;for(;++a<i.length;)Mr(e,"text",o);function o(c,h){let f=-1,m;for(;++f<h.length;){const d=h[f],b=m?m.children:void 0;if(u(d,b?b.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 b=0;const L=f.children.indexOf(c);let I=!1,O=[];m.lastIndex=0;let P=m.exec(c.value);for(;P;){const Y=P.index,W={index:P.index,input:P.input,stack:[...h,c]};let y=d(...P,W);if(typeof y=="string"&&(y=y.length>0?{type:"text",value:y}:void 0),y===!1?m.lastIndex=Y+1:(b!==Y&&O.push({type:"text",value:c.value.slice(b,Y)}),Array.isArray(y)?O.push(...y):y&&O.push(y),b=Y+P[0].length,I=!0),!m.global)break;P=m.exec(c.value)}return I?(b<c.value.length&&O.push({type:"text",value:c.value.slice(b)}),f.children.splice(L,1,...O)):O=[c],L+O.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 Zn="phrasing",er=["autolink","link","image","label"];function c0(){return{transforms:[T0],enter:{literalAutolink:h0,literalAutolinkEmail:tr,literalAutolinkHttp:tr,literalAutolinkWww:tr},exit:{literalAutolink:E0,literalAutolinkEmail:p0,literalAutolinkHttp:d0,literalAutolinkWww:m0}}}function f0(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Zn,notInConstruct:er},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Zn,notInConstruct:er},{character:":",before:"[ps]",after:"\\/",inConstruct:Zn,notInConstruct:er}]}}function h0(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function tr(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){ra(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(!ua(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!ua(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=wu(e,"(");let i=wu(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 ua(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||pt(n)||On(n))&&(!t||n!==47)}ia.peek=O0;function D0(){return{enter:{gfmFootnoteDefinition:x0,gfmFootnoteDefinitionLabelString:I0,gfmFootnoteCall:k0,gfmFootnoteCallString:y0},exit:{gfmFootnoteDefinition:S0,gfmFootnoteDefinitionLabelString:N0,gfmFootnoteCall:F0,gfmFootnoteCallString:L0}}}function _0(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:R0,footnoteReference:ia}}}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=He(this.sliceSerialize(e)).toLowerCase()}function S0(e){this.exit(e)}function k0(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function y0(){this.buffer()}function L0(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=He(this.sliceSerialize(e)).toLowerCase()}function F0(e){this.exit(e)}function ia(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"];aa.peek=U0;function B0(){return{canContainEols:["delete"],enter:{strikethrough:v0},exit:{strikethrough:H0}}}function M0(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:w0}],handlers:{delete:aa}}}function v0(e){this.enter({type:"delete",children:[]},e)}function H0(e){this.exit(e)}function aa(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 x=[],L=[];let I=-1;for(e[h].length>c&&(c=e[h].length);++I<e[h].length;){const O=q0(e[h][I]);if(n.alignDelimiters!==!1){const P=u(O);L[I]=P,(l[I]===void 0||P>l[I])&&(l[I]=P)}x.push(O)}a[h]=x,o[h]=L}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<c;)i[f]=Bu(r[f]);else{const x=Bu(r);for(;++f<c;)i[f]=x}f=-1;const m=[],d=[];for(;++f<c;){const x=i[f];let L="",I="";x===99?(L=":",I=":"):x===108?L=":":x===114&&(I=":");let O=n.alignDelimiters===!1?1:Math.max(1,l[f]-L.length-I.length);const P=L+"-".repeat(O)+I;n.alignDelimiters!==!1&&(O=L.length+O+I.length,O>l[f]&&(l[f]=O),d[f]=O),m[f]=P}a.splice(1,0,m),o.splice(1,0,d),h=-1;const b=[];for(;++h<a.length;){const x=a[h],L=o[h];f=-1;const I=[];for(;++f<c;){const O=x[f]||"";let P="",Y="";if(n.alignDelimiters!==!1){const W=l[f]-(L[f]||0),y=i[f];y===114?P=" ".repeat(W):y===99?W%2?(P=" ".repeat(W/2+.5),Y=" ".repeat(W/2-.5)):(P=" ".repeat(W/2),Y=P):Y=" ".repeat(W)}n.delimiterStart!==!1&&!f&&I.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&O==="")&&(n.delimiterStart!==!1||f)&&I.push(" "),n.alignDelimiters!==!1&&I.push(P),I.push(O),n.alignDelimiters!==!1&&I.push(Y),n.padding!==!1&&I.push(" "),(n.delimiterEnd!==!1||f!==c-1)&&I.push("|")}b.push(n.delimiterEnd===!1?I.join("").replace(/ +$/,""):I.join(""))}return b.join(`
|
|
64
|
+
`)}function q0(e){return e==null?"":String(e)}function Bu(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:Mu,tableHeader:Mu,tableRow:Q0},exit:{codeText:G0,table:W0,tableData:nr,tableHeader:nr,tableRow:nr}}}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 nr(e){this.exit(e)}function Mu(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:`
|
|
65
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:a,tableCell:l,tableRow:o}};function a(d,b,x,L){return c(h(d,x,L),d.align)}function o(d,b,x,L){const I=f(d,x,L),O=c([I]);return O.slice(0,O.indexOf(`
|
|
66
|
+
`))}function l(d,b,x,L){const I=x.enter("tableCell"),O=x.enter("phrasing"),P=x.containerPhrasing(d,{...L,before:i,after:i});return O(),I(),P}function c(d,b){return Y0(d,{align:b,alignDelimiters:r,padding:n,stringLength:u})}function h(d,b,x){const L=d.children;let I=-1;const O=[],P=b.enter("table");for(;++I<L.length;)O[I]=f(L[I],b,x);return P(),O}function f(d,b,x){const L=d.children;let I=-1;const O=[],P=b.enter("tableRow");for(;++I<L.length;)O[I]=l(L[I],d,b,x);return P(),O}function m(d,b,x){let L=Hr.inlineCode(d,b,x);return x.stack.includes("tableCell")&&(L=L.replace(/\|/g,"\\$&")),L}}function K0(){return{exit:{taskListCheckValueChecked:vu,taskListCheckValueUnchecked:vu,paragraph:Z0}}}function J0(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:ef}}}function vu(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=Hr.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},sa={tokenize:ff,partial:!0},oa={tokenize:hf,partial:!0},la={tokenize:df,partial:!0},uf={tokenize:mf,partial:!0},ca={name:"wwwAutolink",tokenize:of,previous:ha},fa={name:"protocolAutolink",tokenize:lf,previous:da},tt={name:"emailAutolink",tokenize:sf,previous:ma},We={};function af(){return{text:We}}let ht=48;for(;ht<123;)We[ht]=tt,ht++,ht===58?ht=65:ht===91&&(ht=97);We[43]=tt;We[45]=tt;We[46]=tt;We[95]=tt;We[72]=[tt,fa];We[104]=[tt,fa];We[87]=[tt,ca];We[119]=[tt,ca];function sf(e,t,n){const r=this;let u,i;return a;function a(f){return!_r(f)||!ma.call(r,r.previous)||zr(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return _r(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||ge(f)?(i=!0,e.consume(f),l):h(f)}function c(f){return e.consume(f),u=!0,l}function h(f){return i&&u&&De(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}function of(e,t,n){const r=this;return u;function u(a){return a!==87&&a!==119||!ha.call(r,r.previous)||zr(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(rf,e.attempt(sa,e.attempt(oa,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)&&da.call(r,r.previous)&&!zr(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),u+=String.fromCodePoint(f),e.consume(f),o):n(f)}function o(f){if(De(f)&&u.length<5)return u+=String.fromCodePoint(f),e.consume(f),o;if(f===58){const 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||In(f)||re(f)||pt(f)||On(f)?n(f):e.attempt(sa,e.attempt(oa,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(la,l,o)(c):c===null||re(c)||pt(c)||c!==45&&On(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(la,t,i)(a):a===null||re(a)||pt(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||re(o)||pt(o)?t(o):n(o)}function u(o){return o===null||o===40||o===91||re(o)||pt(o)?t(o):r(o)}function i(o){return De(o)?a(o):n(o)}function a(o){return o===59?(e.consume(o),r):De(o)?(e.consume(o),a):n(o)}}function mf(e,t,n){return r;function r(i){return e.consume(i),u}function u(i){return ge(i)?n(i):t(i)}}function ha(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||re(e)}function da(e){return!De(e)}function ma(e){return!(e===47||_r(e))}function _r(e){return e===43||e===45||e===46||e===95||ge(e)}function zr(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=He(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||re(f))return n(f);if(f===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return u.includes(He(r.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return re(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(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):n(b)}function h(b){if(a>999||b===93&&!o||b===null||b===91||re(b))return n(b);if(b===93){e.exit("chunkString");const x=e.exit("gfmFootnoteDefinitionLabelString");return i=He(r.sliceSerialize(x)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return re(b)||(o=!0),a++,e.consume(b),b===92?f:h}function f(b){return b===91||b===92||b===93?(e.consume(b),a++,h):h(b)}function m(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),u.includes(i)||u.push(i),Z(e,d,"gfmFootnoteDefinitionWhitespace")):n(b)}function d(b){return t(b)}}function Cf(e,t,n){return e.check(un,t,e.attempt(pf,t,n))}function Df(e){e.exit("gfmFootnoteDefinition")}function _f(e,t,n){const r=this;return Z(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&&Re(m,m.length,0,Rn(d,a.slice(c+1,l),o)),Re(m,m.length,0,[["exit",f,o],["enter",a[l][1],o],["exit",a[l][1],o],["exit",h,o]]),Re(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(b){return c===126&&h[h.length-1][1].type!=="characterEscape"?l(b):(a.enter("strikethroughSequenceTemporary"),d(b))}function d(b){const x=It(c);if(b===126)return f>1?l(b):(a.consume(b),f++,d);if(f<2&&!n)return l(b);const L=a.exit("strikethroughSequenceTemporary"),I=It(b);return L._open=!I||I===2&&!!x,L._close=!x||x===2&&!!I,o(b)}}}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 Sf(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 kf(){return{flow:{null:{name:"table",tokenize:yf,resolveAll:Lf}}}}function yf(e,t,n){const r=this;let u=0,i=0,a;return o;function o(N){let H=r.events.length-1;for(;H>-1;){const U=r.events[H][1].type;if(U==="lineEnding"||U==="linePrefix")H--;else break}const z=H>-1?r.events[H][1].type:null,M=z==="tableHead"||z==="tableRow"?y:l;return M===y&&r.parser.lazy[r.now().line]?n(N):M(N)}function l(N){return e.enter("tableHead"),e.enter("tableRow"),c(N)}function c(N){return N===124||(a=!0,i+=1),h(N)}function h(N){return N===null?n(N):q(N)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),d):n(N):ee(N)?Z(e,h,"whitespace")(N):(i+=1,a&&(a=!1,u+=1),N===124?(e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),a=!0,h):(e.enter("data"),f(N)))}function f(N){return N===null||N===124||re(N)?(e.exit("data"),h(N)):(e.consume(N),N===92?m:f)}function m(N){return N===92||N===124?(e.consume(N),f):f(N)}function d(N){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(N):(e.enter("tableDelimiterRow"),a=!1,ee(N)?Z(e,b,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):b(N))}function b(N){return N===45||N===58?L(N):N===124?(a=!0,e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),x):W(N)}function x(N){return ee(N)?Z(e,L,"whitespace")(N):L(N)}function L(N){return N===58?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(N),e.exit("tableDelimiterMarker"),I):N===45?(i+=1,I(N)):N===null||q(N)?Y(N):W(N)}function I(N){return N===45?(e.enter("tableDelimiterFiller"),O(N)):W(N)}function O(N){return N===45?(e.consume(N),O):N===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(N),e.exit("tableDelimiterMarker"),P):(e.exit("tableDelimiterFiller"),P(N))}function P(N){return ee(N)?Z(e,Y,"whitespace")(N):Y(N)}function Y(N){return N===124?b(N):N===null||q(N)?!a||u!==i?W(N):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(N)):W(N)}function W(N){return n(N)}function y(N){return e.enter("tableRow"),Q(N)}function Q(N){return N===124?(e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),Q):N===null||q(N)?(e.exit("tableRow"),t(N)):ee(N)?Z(e,Q,"whitespace")(N):(e.enter("data"),$(N))}function $(N){return N===null||N===124||re(N)?(e.exit("data"),Q(N)):(e.consume(N),N===92?R:$)}function R(N){return N===92||N===124?(e.consume(N),$):$(N)}}function Lf(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],b=d[1];d[0]==="enter"?b.type==="tableHead"?(o=!1,l!==0&&(Hu(m,t,l,c,h),h=void 0,l=0),c={type:"table",start:Object.assign({},b.start),end:Object.assign({},b.end)},m.add(n,0,[["enter",c,t]])):b.type==="tableRow"||b.type==="tableDelimiterRow"?(r=!0,f=void 0,i=[0,0,0,0],a=[0,n+1,0,0],o&&(o=!1,h={type:"tableBody",start:Object.assign({},b.start),end:Object.assign({},b.end)},m.add(n,0,[["enter",h,t]])),u=b.type==="tableDelimiterRow"?2:h?3:1):u&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(i[1]!==0&&(a[0]=a[1],f=En(m,t,i,u,void 0,f),i=[0,0,0,0]),a[2]=n)):b.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(a[0]=a[1],f=En(m,t,i,u,void 0,f)),i=a,a=[i[1],n,0,0])):b.type==="tableHead"?(o=!0,l=n):b.type==="tableRow"||b.type==="tableDelimiterRow"?(l=n,i[1]!==0?(a[0]=a[1],f=En(m,t,i,u,n,f)):a[1]!==0&&(f=En(m,t,a,u,n,f)),u=0):u&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&Hu(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=Sf(t.events,n))}return e}function En(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 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 b=n[2]+1,x=n[3]-n[2]-1;e.add(b,x,[])}}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 Hu(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 Ff={name:"tasklistCheck",tokenize:Rf};function Of(){return{text:{91:Ff}}}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 re(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):ee(l)?e.check({tokenize:Pf},t,n)(l):n(l)}}function Pf(e,t,n){return Z(e,r,"whitespace");function r(u){return u===null?n(u):t(u)}}function wf(e){return Si([af(),Ef(),xf(e),kf(),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"],Uu={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 pa(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 zu(e){return Uf(e)||pa(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 Yr(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=b(),d;for(i--;++i<=e.length;)if(d===10&&(f=(c?c[a]:0)||1),d=e.charCodeAt(i),d===38){const I=e.charCodeAt(i+1);if(I===9||I===10||I===12||I===32||I===38||I===60||Number.isNaN(I)||r&&I===r){o+=String.fromCharCode(d),f++;continue}const O=i+1;let P=O,Y=O,W;if(I===35){Y=++P;const M=e.charCodeAt(Y);M===88||M===120?(W="hexadecimal",Y=++P):W="decimal"}else W="named";let y="",Q="",$="";const R=W==="named"?zu:W==="decimal"?pa:Hf;for(Y--;++Y<=e.length;){const M=e.charCodeAt(Y);if(!R(M))break;$+=String.fromCharCode(M),W==="named"&&vf.includes($)&&(y=$,Q=en($))}let N=e.charCodeAt(Y)===59;if(N){Y++;const M=W==="named"?en($):!1;M&&(y=$,Q=M)}let H=1+Y-O,z="";if(!(!N&&n.nonTerminated===!1))if(!$)W!=="named"&&x(4,H);else if(W==="named"){if(N&&!Q)x(5,1);else if(y!==$&&(Y=P+y.length,H=1+Y-P,N=!1),!N){const M=y?1:3;if(n.attribute){const U=e.charCodeAt(Y);U===61?(x(M,H),Q=""):zu(U)?Q="":x(M,H)}else x(M,H)}z=Q}else{N||x(2,H);let M=Number.parseInt($,W==="hexadecimal"?16:10);if(Yf(M))x(7,H),z="�";else if(M in Uu)x(6,H),z=Uu[M];else{let U="";qf(M)&&x(6,H),M>65535&&(M-=65536,U+=String.fromCharCode(M>>>10|55296),M=56320|M&1023),z=U+String.fromCharCode(M)}}if(z){L(),m=b(),i=Y-1,f+=Y-O+1,u.push(z);const M=b();M.offset++,n.reference&&n.reference.call(n.referenceContext||void 0,z,{start:m,end:M},e.slice(O-1,Y)),m=M}else $=e.slice(O-1,Y),o+=$,f+=$.length,i=Y-1}else d===10&&(h++,a++,f=0),Number.isNaN(d)?L():(o+=String.fromCharCode(d),f++);return u.join("");function b(){return{line:h,column:f,offset:i+((l?l.offset:0)||0)}}function x(I,O){let P;n.warning&&(P=b(),P.column+=O,P.offset+=O,n.warning.call(n.warningContext||void 0,zf[I],P,I))}function L(){o&&(u.push(o),n.text&&n.text.call(n.textContext||void 0,o,{start:m,end:b()}),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,Yu=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=Yu.get(e);return t||(t=Xf(e),Yu.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,qu=/^[^\t\n\r "#'.<=>`}]+$/;Dn.peek=sh;function eh(){return{canContainEols:["textDirective"],enter:{directiveContainer:nh,directiveContainerAttributes:ur,directiveContainerLabel:ih,directiveLeaf:rh,directiveLeafAttributes:ur,directiveText:uh,directiveTextAttributes:ur},exit:{directiveContainer:cr,directiveContainerAttributeClassValue:ar,directiveContainerAttributeIdValue:ir,directiveContainerAttributeName:or,directiveContainerAttributeValue:sr,directiveContainerAttributes:lr,directiveContainerLabel:ah,directiveContainerName:rr,directiveLeaf:cr,directiveLeafAttributeClassValue:ar,directiveLeafAttributeIdValue:ir,directiveLeafAttributeName:or,directiveLeafAttributeValue:sr,directiveLeafAttributes:lr,directiveLeafName:rr,directiveText:cr,directiveTextAttributeClassValue:ar,directiveTextAttributeIdValue:ir,directiveTextAttributeName:or,directiveTextAttributeValue:sr,directiveTextAttributes:lr,directiveTextName:rr}}}function th(){return{unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
|
|
67
|
+
`,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:Dn,leafDirective:Dn,textDirective:Dn}}}function nh(e){qr.call(this,"containerDirective",e)}function rh(e){qr.call(this,"leafDirective",e)}function uh(e){qr.call(this,"textDirective",e)}function qr(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function rr(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 ur(){this.data.directiveAttributes=[],this.buffer()}function ir(e){this.data.directiveAttributes.push(["id",Yr(this.sliceSerialize(e),{attribute:!0})])}function ar(e){this.data.directiveAttributes.push(["class",Yr(this.sliceSerialize(e),{attribute:!0})])}function sr(e){const t=this.data.directiveAttributes;t[t.length-1][1]=Yr(this.sliceSerialize(e),{attribute:!0})}function or(e){this.data.directiveAttributes.push([this.sliceSerialize(e),""])}function lr(){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 cr(e){this.exit(e)}function Dn(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=ju(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;ju(c)&&(h=Object.assign({},e,{children:e.children.slice(1)})),h&&h.children&&h.children.length>0&&(o+=u.move(`
|
|
68
68
|
`),o+=u.move(n.containerFlow(h,u.current()))),o+=u.move(`
|
|
69
|
-
`+i)}return a(),o}function
|
|
70
|
-
`,"\r"],u=e.attributes||{},i=[];let a,o,l,c;for(c in u)if(
|
|
71
|
-
`}]}function
|
|
72
|
-
`:"",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
|
|
69
|
+
`+i)}return a(),o}function sh(){return":"}function oh(e,t){const n=t.options.quote||'"',r=e.type==="textDirective"?[n]:[n,`
|
|
70
|
+
`,"\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=qu.test(f)?"#"+f:h("id",f);else if(c==="class"){const m=f.split(/[\t\n\r ]+/g),d=[],b=[];let x=-1;for(;++x<m.length;)(qu.test(m[x])?b:d).push(m[x]);a=d.length>0?h("class",d.join(" ")):"",o=b.length>0?"."+b.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,m){return f+(m?"="+n+Jf(m,{subset:r})+n:"")}}function ju(e){return!!(e&&e.type==="paragraph"&&e.data&&e.data.directiveLabel)}function lh(e){let t=0;return e.type==="containerDirective"?(Mr(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 jr(e,t,n,r,u,i,a,o,l,c,h,f,m,d,b){let x,L;return I;function I(D){return e.enter(r),e.enter(u),e.consume(D),e.exit(u),O}function O(D){return D===35?(x=a,P(D)):D===46?(x=o,P(D)):D===58||D===95||De(D)?(e.enter(i),e.enter(l),e.consume(D),y):b&&ee(D)?Z(e,O,"whitespace")(D):!b&&re(D)?Ze(e,O)(D):U(D)}function P(D){const te=x+"Marker";return e.enter(i),e.enter(x),e.enter(te),e.consume(D),e.exit(te),Y}function Y(D){if(D===null||D===34||D===35||D===39||D===46||D===60||D===61||D===62||D===96||D===125||re(D))return n(D);const te=x+"Value";return e.enter(te),e.consume(D),W}function W(D){if(D===null||D===34||D===39||D===60||D===61||D===62||D===96)return n(D);if(D===35||D===46||D===125||re(D)){const te=x+"Value";return e.exit(te),e.exit(x),e.exit(i),O(D)}return e.consume(D),W}function y(D){return D===45||D===46||D===58||D===95||ge(D)?(e.consume(D),y):(e.exit(l),b&&ee(D)?Z(e,Q,"whitespace")(D):!b&&re(D)?Ze(e,Q)(D):Q(D))}function Q(D){return D===61?(e.enter(c),e.consume(D),e.exit(c),$):(e.exit(i),O(D))}function $(D){return D===null||D===60||D===61||D===62||D===96||D===125||b&&q(D)?n(D):D===34||D===39?(e.enter(h),e.enter(m),e.consume(D),e.exit(m),L=D,N):b&&ee(D)?Z(e,$,"whitespace")(D):!b&&re(D)?Ze(e,$)(D):(e.enter(f),e.enter(d),e.consume(D),L=void 0,R)}function R(D){return D===null||D===34||D===39||D===60||D===61||D===62||D===96?n(D):D===125||re(D)?(e.exit(d),e.exit(f),e.exit(i),O(D)):(e.consume(D),R)}function N(D){return D===L?(e.enter(m),e.consume(D),e.exit(m),e.exit(h),e.exit(i),M):(e.enter(f),H(D))}function H(D){return D===L?(e.exit(f),N(D)):D===null?n(D):q(D)?b?n(D):Ze(e,H)(D):(e.enter(d),e.consume(D),z)}function z(D){return D===L||D===null||q(D)?(e.exit(d),H(D)):(e.consume(D),z)}function M(D){return D===125||re(D)?O(D):U(D)}function U(D){return D===125?(e.enter(u),e.consume(D),e.exit(u),e.exit(r),t):n(D)}}function Vr(e,t,n,r,u,i,a){let o=0,l=0,c;return h;function h(L){return e.enter(r),e.enter(u),e.consume(L),e.exit(u),f}function f(L){return L===93?(e.enter(u),e.consume(L),e.exit(u),e.exit(r),t):(e.enter(i),m(L))}function m(L){if(L===93&&!l)return x(L);const I=e.enter("chunkText",{contentType:"text",previous:c});return c&&(c.next=I),c=I,d(L)}function d(L){return L===null||o>999||L===91&&++l>32?n(L):L===93&&!l--?(e.exit("chunkText"),x(L)):q(L)?a?n(L):(e.consume(L),e.exit("chunkText"),m):(e.consume(L),L===92?b:d)}function b(L){return L===91||L===92||L===93?(e.consume(L),o++,d):d(L)}function x(L){return e.exit(i),e.enter(u),e.consume(L),e.exit(u),e.exit(r),t}}function Wr(e,t,n,r){const u=this;return i;function i(o){return De(o)?(e.enter(r),e.consume(o),a):n(o)}function a(o){return o===45||o===95||ge(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},Tn={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(R){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),c(R)}function c(R){return R===58?(e.consume(R),a++,c):a<3?n(R):(e.exit("directiveContainerSequence"),Wr.call(r,e,h,n,"directiveContainerName")(R))}function h(R){return R===91?e.attempt(fh,f,f)(R):f(R)}function f(R){return R===123?e.attempt(hh,m,m)(R):m(R)}function m(R){return Z(e,d,"whitespace")(R)}function d(R){return e.exit("directiveContainerFence"),R===null?Q(R):q(R)?r.interrupt?t(R):e.attempt(Tn,b,Q)(R):n(R)}function b(R){return R===null?Q(R):q(R)?e.check(Tn,P,Q)(R):(e.enter("directiveContainerContent"),x(R))}function x(R){return e.attempt({tokenize:$,partial:!0},y,i?Z(e,L,"linePrefix",i+1):L)(R)}function L(R){return R===null?y(R):q(R)?e.check(Tn,O,y)(R):O(R)}function I(R){if(R===null){const N=e.exit("chunkDocument");return r.parser.lazy[N.start.line]=!1,y(R)}return q(R)?e.check(Tn,Y,W)(R):(e.consume(R),I)}function O(R){const N=e.enter("chunkDocument",{contentType:"document",previous:o});return o&&(o.next=N),o=N,I(R)}function P(R){return e.enter("directiveContainerContent"),x(R)}function Y(R){e.consume(R);const N=e.exit("chunkDocument");return r.parser.lazy[N.start.line]=!1,x}function W(R){const N=e.exit("chunkDocument");return r.parser.lazy[N.start.line]=!1,y(R)}function y(R){return e.exit("directiveContainerContent"),Q(R)}function Q(R){return e.exit("directiveContainer"),t(R)}function $(R,N,H){let z=0;return Z(R,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function M(te){return R.enter("directiveContainerFence"),R.enter("directiveContainerSequence"),U(te)}function U(te){return te===58?(R.consume(te),z++,U):z<a?H(te):(R.exit("directiveContainerSequence"),Z(R,D,"whitespace")(te))}function D(te){return te===null||q(te)?(R.exit("directiveContainerFence"),N(te)):H(te)}}}function mh(e,t,n){return Vr(e,t,n,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)}function ph(e,t,n){return jr(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"),Wr.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 Z(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 Vr(e,t,n,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)}function Dh(e,t,n){return jr(e,t,n,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)}const _h={tokenize:Sh,previous:Nh},xh={tokenize:kh,partial:!0},Ih={tokenize:yh,partial:!0};function Nh(e){return e!==58||this.events[this.events.length-1][1].type==="characterEscape"}function Sh(e,t,n){const r=this;return u;function u(l){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(l),e.exit("directiveTextMarker"),Wr.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 kh(e,t,n){return Vr(e,t,n,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")}function yh(e,t,n){return jr(e,t,n,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")}function Lh(){return{text:{58:_h},flow:{58:[ch,Th]}}}function Fh(){const t=this.data(),n=t.micromarkExtensions||(t.micromarkExtensions=[]),r=t.fromMarkdownExtensions||(t.fromMarkdownExtensions=[]),u=t.toMarkdownExtensions||(t.toMarkdownExtensions=[]);n.push(Lh()),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:`
|
|
71
|
+
`}]}function Ph(e,t){const n=t.value?t.value+`
|
|
72
|
+
`:"",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=yt(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 Ea(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 Ea(e,t);const u={src:yt(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:yt(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 Ea(e,t);const u={href:yt(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:yt(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):Ta(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:`
|
|
73
73
|
`}),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:`
|
|
74
|
-
`});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)}function
|
|
74
|
+
`});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=Ta(n[r])}return t}function Ta(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 Bn=ba("end"),Qe=ba("start");function ba(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=Qe(e),n=Bn(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=Qe(t.children[1]),l=Bn(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],m={},d=a?a[l]:void 0;d&&(m.align=d);let b={type:"element",tagName:i,properties:m,children:[]};f&&(b.children=e.all(f),e.patch(f,b),b=e.applyData(f,b)),c.push(b)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,h),e.applyData(t,h)}function ed(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Vu=9,Wu=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(Qu(t.slice(u,r.index),u>0,!0),r[0]),u=r.index+r[0].length,r=n.exec(t);return i.push(Qu(t.slice(u),u>0,!1)),i.join("")}function Qu(e,t,n){let r=0,u=e.length;if(t){let i=e.codePointAt(r);for(;i===Vu||i===Wu;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(u-1);for(;i===Vu||i===Wu;)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:bn,yaml:bn,definition:bn,footnoteDefinition:bn};function bn(){}const ga=-1,Mn=0,Sn=1,kn=2,Qr=3,Gr=4,$r=5,Xr=6,Aa=7,Ca=8,Gu=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 Mn:case ga:return n(a,u);case Sn:{const o=n([],u);for(const l of a)o.push(r(l));return o}case kn:{const o=n({},u);for(const[l,c]of a)o[r(l)]=r(c);return o}case Qr:return n(new Date(a),u);case Gr:{const{source:o,flags:l}=a;return n(new RegExp(o,l),u)}case $r:{const o=n(new Map,u);for(const[l,c]of a)o.set(r(l),r(c));return o}case Xr:{const o=n(new Set,u);for(const l of a)o.add(r(l));return o}case Aa:{const{name:o,message:l}=a;return n(new Gu[o](l),u)}case Ca:return n(BigInt(a),u);case"BigInt":return n(Object(BigInt(a)),u)}return n(new Gu[i](a),u)};return r},$u=e=>id(new Map,e)(0),At="",{toString:ad}={},{keys:sd}=Object,Yt=e=>{const t=typeof e;if(t!=="object"||!e)return[Mn,t];const n=ad.call(e).slice(8,-1);switch(n){case"Array":return[Sn,At];case"Object":return[kn,At];case"Date":return[Qr,At];case"RegExp":return[Gr,At];case"Map":return[$r,At];case"Set":return[Xr,At]}return n.includes("Array")?[Sn,n]:n.includes("Error")?[Aa,n]:[kn,n]},gn=([e,t])=>e===Mn&&(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]=Yt(a);switch(o){case Mn:{let h=a;switch(l){case"bigint":o=Ca,h=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);h=null;break;case"undefined":return u([ga],a)}return u([o,h],a)}case Sn:{if(l)return u([l,[...a]],a);const h=[],f=u([o,h],a);for(const m of a)h.push(i(m));return f}case kn:{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 m of sd(a))(e||!gn(Yt(a[m])))&&h.push([i(m),i(a[m])]);return f}case Qr:return u([o,a.toISOString()],a);case Gr:{const{source:h,flags:f}=a;return u([o,{source:h,flags:f}],a)}case $r:{const h=[],f=u([o,h],a);for(const[m,d]of a)(e||!(gn(Yt(m))||gn(Yt(d))))&&h.push([i(m),i(d)]);return f}case Xr:{const h=[],f=u([o,h],a);for(const m of a)(e||!gn(Yt(m)))&&h.push(i(m));return f}}const{message:c}=a;return u([o,{name:l,message:c}],a)};return i},Xu=(e,{json:t,lossy:n}={})=>{const r=[];return od(!(t||n),!!t,new Map,r)(e),r},et=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?$u(Xu(e,t)):structuredClone(e):(e,t)=>$u(Xu(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(),m=yt(f.toLowerCase());let d=0;const b=[],x=e.footnoteCounts.get(f);for(;x!==void 0&&++d<=x;){b.length>0&&b.push({type:"text",value:" "});let O=typeof n=="string"?n:n(l,d);typeof O=="string"&&(O={type:"text",value:O}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+m+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,d),className:["data-footnote-backref"]},children:Array.isArray(O)?O:[O]})}const L=h[h.length-1];if(L&&L.type==="element"&&L.tagName==="p"){const O=L.children[L.children.length-1];O&&O.type==="text"?O.value+=" ":L.children.push({type:"text",value:" "}),L.children.push(...b)}else h.push(...b);const I={type:"element",tagName:"li",properties:{id:t+"fn-"+m},children:e.wrap(h,!0)};e.patch(c,I),o.push(I)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...et(a),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
|
|
75
75
|
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
|
|
76
|
-
`}]}}const
|
|
76
|
+
`}]}}const xr={}.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 ke(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const f=h.type==="definition"?r:u,m=String(h.identifier).toUpperCase();f.has(m)||f.set(m,h)}}),o;function l(h,f){const m=h.type,d=o.handlers[m];if(xr.call(o.handlers,m)&&d)return d(o,h,f);if(o.options.passThrough&&o.options.passThrough.includes(m)){if("children"in h){const{children:x,...L}=h,I=et(L);return I.children=o.all(h),I}return et(h)}return(o.options.unknownHandler||Ed)(o,h,f)}function c(h){const f=[];if("children"in h){const m=h.children;let d=-1;for(;++d<m.length;){const b=o.one(m[d],h);if(b){if(d&&m[d-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=Ku(b.value)),!Array.isArray(b)&&b.type==="element")){const x=b.children[0];x&&x.type==="text"&&(x.value=Ku(x.value))}Array.isArray(b)?f.push(...b):f.push(b)}}}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,et(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&&!(xr.call(n,"hProperties")||xr.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:`
|
|
77
77
|
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
78
78
|
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
79
|
-
`}),n}function
|
|
80
|
-
`},u),i}function vd(e,t){return e&&"run"in e?async function(n,r){const u=li(n,{file:r,...t});await e.run(u,r)}:function(n,r){return li(n,{file:r,...e||t})}}function Hd(e){Aa(e,[/\r?\n|\r/g,Ud])}function Ud(){return{type:"break"}}function zd(){return function(e){Hd(e)}}class mn{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}mn.prototype.property={};mn.prototype.normal={};mn.prototype.space=null;function Ha(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 mn(n,r,t)}function on(e){return e.toLowerCase()}class We{constructor(t,n){this.property=t,this.attribute=n}}We.prototype.space=null;We.prototype.boolean=!1;We.prototype.booleanish=!1;We.prototype.overloadedBoolean=!1;We.prototype.number=!1;We.prototype.commaSeparated=!1;We.prototype.spaceSeparated=!1;We.prototype.commaOrSpaceSeparated=!1;We.prototype.mustUseProperty=!1;We.prototype.defined=!1;let jd=0;const ee=yt(),Ae=yt(),Ua=yt(),U=yt(),he=yt(),Pt=yt(),ve=yt();function yt(){return 2**++jd}const Or=Object.freeze(Object.defineProperty({__proto__:null,boolean:ee,booleanish:Ae,commaOrSpaceSeparated:ve,commaSeparated:Pt,number:U,overloadedBoolean:Ua,spaceSeparated:he},Symbol.toStringTag,{value:"Module"})),br=Object.keys(Or);class iu extends We{constructor(t,n,r,u){let i=-1;if(super(t,n),ci(this,"space",u),typeof r=="number")for(;++i<br.length;){const a=br[i];ci(this,br[i],(r&Or[a])===Or[a])}}}iu.prototype.defined=!0;function ci(e,t,n){n&&(e[t]=n)}const Yd={}.hasOwnProperty;function Ut(e){const t={},n={};let r;for(r in e.properties)if(Yd.call(e.properties,r)){const u=e.properties[r],i=new iu(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[on(r)]=r,n[on(i.attribute)]=r}return new mn(t,n,e.space)}const za=Ut({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}}),ja=Ut({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ya(e,t){return t in e?e[t]:t}function qa(e,t){return Ya(e,t.toLowerCase())}const Wa=Ut({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:qa,properties:{xmlns:null,xmlnsXLink:null}}),Va=Ut({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ae,ariaAutoComplete:null,ariaBusy:Ae,ariaChecked:Ae,ariaColCount:U,ariaColIndex:U,ariaColSpan:U,ariaControls:he,ariaCurrent:null,ariaDescribedBy:he,ariaDetails:null,ariaDisabled:Ae,ariaDropEffect:he,ariaErrorMessage:null,ariaExpanded:Ae,ariaFlowTo:he,ariaGrabbed:Ae,ariaHasPopup:null,ariaHidden:Ae,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:he,ariaLevel:U,ariaLive:null,ariaModal:Ae,ariaMultiLine:Ae,ariaMultiSelectable:Ae,ariaOrientation:null,ariaOwns:he,ariaPlaceholder:null,ariaPosInSet:U,ariaPressed:Ae,ariaReadOnly:Ae,ariaRelevant:null,ariaRequired:Ae,ariaRoleDescription:he,ariaRowCount:U,ariaRowIndex:U,ariaRowSpan:U,ariaSelected:Ae,ariaSetSize:U,ariaSort:null,ariaValueMax:U,ariaValueMin:U,ariaValueNow:U,ariaValueText:null,role:null}}),qd=Ut({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:qa,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Pt,acceptCharset:he,accessKey:he,action:null,allow:null,allowFullScreen:ee,allowPaymentRequest:ee,allowUserMedia:ee,alt:null,as:null,async:ee,autoCapitalize:null,autoComplete:he,autoFocus:ee,autoPlay:ee,blocking:he,capture:null,charSet:null,checked:ee,cite:null,className:he,cols:U,colSpan:null,content:null,contentEditable:Ae,controls:ee,controlsList:he,coords:U|Pt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ee,defer:ee,dir:null,dirName:null,disabled:ee,download:Ua,draggable:Ae,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ee,formTarget:null,headers:he,height:U,hidden:ee,high:U,href:null,hrefLang:null,htmlFor:he,httpEquiv:he,id:null,imageSizes:null,imageSrcSet:null,inert:ee,inputMode:null,integrity:null,is:null,isMap:ee,itemId:null,itemProp:he,itemRef:he,itemScope:ee,itemType:he,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ee,low:U,manifest:null,max:null,maxLength:U,media:null,method:null,min:null,minLength:U,multiple:ee,muted:ee,name:null,nonce:null,noModule:ee,noValidate:ee,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:ee,optimum:U,pattern:null,ping:he,placeholder:null,playsInline:ee,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ee,referrerPolicy:null,rel:he,required:ee,reversed:ee,rows:U,rowSpan:U,sandbox:he,scope:null,scoped:ee,seamless:ee,selected:ee,shadowRootClonable:ee,shadowRootDelegatesFocus:ee,shadowRootMode:null,shape:null,size:U,sizes:null,slot:null,span:U,spellCheck:Ae,src:null,srcDoc:null,srcLang:null,srcSet:null,start:U,step:null,style:null,tabIndex:U,target:null,title:null,translate:null,type:null,typeMustMatch:ee,useMap:null,value:Ae,width:U,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:he,axis:null,background:null,bgColor:null,border:U,borderColor:null,bottomMargin:U,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ee,declare:ee,event:null,face:null,frame:null,frameBorder:null,hSpace:U,leftMargin:U,link:null,longDesc:null,lowSrc:null,marginHeight:U,marginWidth:U,noResize:ee,noHref:ee,noShade:ee,noWrap:ee,object:null,profile:null,prompt:null,rev:null,rightMargin:U,rules:null,scheme:null,scrolling:Ae,standby:null,summary:null,text:null,topMargin:U,valueType:null,version:null,vAlign:null,vLink:null,vSpace:U,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ee,disableRemotePlayback:ee,prefix:null,property:null,results:U,security:null,unselectable:null}}),Wd=Ut({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:Ya,properties:{about:ve,accentHeight:U,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:U,amplitude:U,arabicForm:null,ascent:U,attributeName:null,attributeType:null,azimuth:U,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:U,by:null,calcMode:null,capHeight:U,className:he,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:U,diffuseConstant:U,direction:null,display:null,dur:null,divisor:U,dominantBaseline:null,download:ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:U,enableBackground:null,end:null,event:null,exponent:U,externalResourcesRequired:null,fill:null,fillOpacity:U,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:U,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:U,horizOriginX:U,horizOriginY:U,id:null,ideographic:U,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:U,k:U,k1:U,k2:U,k3:U,k4:U,kernelMatrix:ve,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:U,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:U,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:U,overlineThickness:U,paintOrder:null,panose1:null,path:null,pathLength:U,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:he,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:U,pointsAtY:U,pointsAtZ:U,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ve,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ve,rev:ve,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ve,requiredFeatures:ve,requiredFonts:ve,requiredFormats:ve,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:U,specularExponent:U,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:U,strikethroughThickness:U,string:null,stroke:null,strokeDashArray:ve,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:U,strokeOpacity:U,strokeWidth:null,style:null,surfaceScale:U,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ve,tabIndex:U,tableValues:null,target:null,targetX:U,targetY:U,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ve,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:U,underlineThickness:U,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:U,values:null,vAlphabetic:U,vMathematical:U,vectorEffect:null,vHanging:U,vIdeographic:U,version:null,vertAdvY:U,vertOriginX:U,vertOriginY:U,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:U,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Vd=/^data[-\w.:]+$/i,fi=/-[a-z]/g,$d=/[A-Z]/g;function Yn(e,t){const n=on(t);let r=t,u=We;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Vd.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(fi,Gd);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!fi.test(i)){let a=i.replace($d,Qd);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}u=iu}return new u(r,t)}function Qd(e){return"-"+e.toLowerCase()}function Gd(e){return e.charAt(1).toUpperCase()}const Xd={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"},pn=Ha([ja,za,Wa,Va,qd],"html"),gt=Ha([ja,za,Wa,Va,Wd],"svg");function hi(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 $a(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const di=/[#.]/g;function Kd(e,t){const n=e||"",r={};let u=0,i,a;for(;u<n.length;){di.lastIndex=u;const o=di.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 Rr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Qa(e){return e.join(" ").trim()}const Pr={}.hasOwnProperty;function Ga(e,t,n){const r=n&&t1(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=Kd(i,t),c.tagName=c.tagName.toLowerCase(),r&&Pr.call(r,c.tagName)&&(c.tagName=r[c.tagName]),Jd(a))o.unshift(a);else{let h;for(h in a)Pr.call(a,h)&&Zd(e,c.properties,h,a[h])}for(;++l<o.length;)wr(c.children,o[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return u}function Jd(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 Zd(e,t,n,r){const u=Yn(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=Rr(r):u.commaSeparated?a=hi(r):u.commaOrSpaceSeparated?a=Rr(hi(r).join(" ")):a=mi(u,u.property,r):Array.isArray(r)?a=r.concat():a=u.property==="style"?e1(r):String(r);if(Array.isArray(a)){const o=[];for(;++i<a.length;){const l=mi(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 wr(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;)wr(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?wr(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function mi(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||on(n)===on(t)))return!0}return n}function e1(e){const t=[];let n;for(n in e)Pr.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function t1(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const n1=["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"],Ze=Ga(pn,"div"),r1=Ga(gt,"g",n1);function u1(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=pi(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=pi(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 pi(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
81
|
-
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const _t={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,i1=Object.prototype;function a1(e,t){const n=t||{};return au({file:n.file||void 0,location:!1,schema:n.space==="svg"?gt:pn,verbose:n.verbose||!1},e)}function au(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},kn(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:Ka(e,t.childNodes),data:{quirksMode:u}},e.file&&e.location){const i=String(e.file),a=u1(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"},kn(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},kn(e,r,n),n}default:return n=s1(e,t),n}}function Ka(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=au(e,t[n]);r.push(u)}return r}function s1(e,t){const n=e.schema;e.schema=t.namespaceURI===_t.svg?gt:pn;let r=-1;const u={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;Xa.call(i1,l)||(u[l]=o.value)}const a=(e.schema.space==="svg"?r1:Ze)(t.tagName,u,Ka(e,t.childNodes));if(kn(e,t,a),a.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&Rt(l.startTag),h=l&&l.endTag&&Rt(l.endTag),f=au(e,o.content);c&&h&&e.file&&(f.position={start:c.end,end:h.start}),a.content=f}return e.schema=n,a}function kn(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=o1(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function o1(e,t,n){const r=Rt(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[Yn(e.schema,a).property]=Rt(n.attrs[a]));n.startTag;const o=Rt(n.startTag),l=n.endTag?Rt(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=i,t.data={position:c}}}return r}function Rt(e){const t=Ei({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Ei({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Ei(e){return e.line&&e.column?e:void 0}const l1={},c1={}.hasOwnProperty,Ja=Yr("type",{handlers:{root:h1,element:b1,text:p1,comment:E1,doctype:m1}});function f1(e,t){const r=(t||l1).space;return Ja(e,r==="svg"?gt:pn)}function h1(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=su(e.children,n,t),zt(e,n),n}function d1(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=su(e.children,n,t),zt(e,n),n}function m1(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return zt(e,t),t}function p1(e){const t={nodeName:"#text",value:e.value,parentNode:null};return zt(e,t),t}function E1(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return zt(e,t),t}function b1(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=gt);const u=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&c1.call(e.properties,i)){const l=g1(r,i,e.properties[i]);l&&u.push(l)}}const a=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:u,namespaceURI:_t[a],childNodes:[],parentNode:null};return o.childNodes=su(e.children,o,r),zt(e,o),e.tagName==="template"&&e.content&&(o.content=d1(e.content,r)),o}function g1(e,t,n){const r=Yn(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?$a(n):Qa(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=_t[r.space]}return u}function su(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const i=Ja(e[r],n);i.parentNode=t,u.push(i)}return u}function zt(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 T1=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],A1=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]),pe="�";var E;(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"})(E||(E={}));const Oe={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Za(e){return e>=55296&&e<=57343}function C1(e){return e>=56320&&e<=57343}function D1(e,t){return(e-55296)*1024+9216+t}function es(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function ts(e){return e>=64976&&e<=65007||A1.has(e)}var L;(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"})(L||(L={}));const _1=65536;class x1{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=_1,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(C1(n))return this.pos++,this._addGap(),D1(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,E.EOF;return this._err(L.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,E.EOF;const r=this.html.charCodeAt(n);return r===E.CARRIAGE_RETURN?E.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,E.EOF;let t=this.html.charCodeAt(this.pos);return t===E.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,E.LINE_FEED):t===E.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Za(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===E.LINE_FEED||t===E.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){es(t)?this._err(L.controlCharacterInInputStream):ts(t)&&this._err(L.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var ue;(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"})(ue||(ue={}));function ns(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 rs=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))),N1=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var gr;const y1=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]]),I1=(gr=String.fromCodePoint)!==null&&gr!==void 0?gr: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 k1(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=y1.get(e))!==null&&t!==void 0?t:e}var xe;(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"})(xe||(xe={}));const S1=32;var pt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(pt||(pt={}));function Br(e){return e>=xe.ZERO&&e<=xe.NINE}function F1(e){return e>=xe.UPPER_A&&e<=xe.UPPER_F||e>=xe.LOWER_A&&e<=xe.LOWER_F}function L1(e){return e>=xe.UPPER_A&&e<=xe.UPPER_Z||e>=xe.LOWER_A&&e<=xe.LOWER_Z||Br(e)}function O1(e){return e===xe.EQUALS||L1(e)}var _e;(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"})(_e||(_e={}));var it;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(it||(it={}));class us{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=_e.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=it.Strict}startEntity(t){this.decodeMode=t,this.state=_e.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case _e.EntityStart:return t.charCodeAt(n)===xe.NUM?(this.state=_e.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=_e.NamedEntity,this.stateNamedEntity(t,n));case _e.NumericStart:return this.stateNumericStart(t,n);case _e.NumericDecimal:return this.stateNumericDecimal(t,n);case _e.NumericHex:return this.stateNumericHex(t,n);case _e.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|S1)===xe.LOWER_X?(this.state=_e.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=_e.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(Br(u)||F1(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(Br(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===xe.SEMI)this.consumed+=1;else if(this.decodeMode===it.Strict)return 0;return this.emitCodePoint(k1(this.result),this.consumed),this.errors&&(t!==xe.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&pt.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=R1(r,u,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===it.Attribute&&(i===0||O1(a))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],i=(u&pt.VALUE_LENGTH)>>14,i!==0){if(a===xe.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==it.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]&pt.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]&~pt.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case _e.NamedEntity:return this.result!==0&&(this.decodeMode!==it.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case _e.NumericDecimal:return this.emitNumericEntity(0,2);case _e.NumericHex:return this.emitNumericEntity(0,3);case _e.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case _e.EntityStart:return 0}}}function is(e){let t="";const n=new us(e,r=>t+=I1(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 R1(e,t,n,r){const u=(t&pt.BRANCH_LENGTH)>>7,i=t&pt.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}is(rs);is(N1);var M;(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/"})(M||(M={}));var xt;(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"})(xt||(xt={}));var qe;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(qe||(qe={}));var N;(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"})(N||(N={}));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 P1=new Map([[N.A,s.A],[N.ADDRESS,s.ADDRESS],[N.ANNOTATION_XML,s.ANNOTATION_XML],[N.APPLET,s.APPLET],[N.AREA,s.AREA],[N.ARTICLE,s.ARTICLE],[N.ASIDE,s.ASIDE],[N.B,s.B],[N.BASE,s.BASE],[N.BASEFONT,s.BASEFONT],[N.BGSOUND,s.BGSOUND],[N.BIG,s.BIG],[N.BLOCKQUOTE,s.BLOCKQUOTE],[N.BODY,s.BODY],[N.BR,s.BR],[N.BUTTON,s.BUTTON],[N.CAPTION,s.CAPTION],[N.CENTER,s.CENTER],[N.CODE,s.CODE],[N.COL,s.COL],[N.COLGROUP,s.COLGROUP],[N.DD,s.DD],[N.DESC,s.DESC],[N.DETAILS,s.DETAILS],[N.DIALOG,s.DIALOG],[N.DIR,s.DIR],[N.DIV,s.DIV],[N.DL,s.DL],[N.DT,s.DT],[N.EM,s.EM],[N.EMBED,s.EMBED],[N.FIELDSET,s.FIELDSET],[N.FIGCAPTION,s.FIGCAPTION],[N.FIGURE,s.FIGURE],[N.FONT,s.FONT],[N.FOOTER,s.FOOTER],[N.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[N.FORM,s.FORM],[N.FRAME,s.FRAME],[N.FRAMESET,s.FRAMESET],[N.H1,s.H1],[N.H2,s.H2],[N.H3,s.H3],[N.H4,s.H4],[N.H5,s.H5],[N.H6,s.H6],[N.HEAD,s.HEAD],[N.HEADER,s.HEADER],[N.HGROUP,s.HGROUP],[N.HR,s.HR],[N.HTML,s.HTML],[N.I,s.I],[N.IMG,s.IMG],[N.IMAGE,s.IMAGE],[N.INPUT,s.INPUT],[N.IFRAME,s.IFRAME],[N.KEYGEN,s.KEYGEN],[N.LABEL,s.LABEL],[N.LI,s.LI],[N.LINK,s.LINK],[N.LISTING,s.LISTING],[N.MAIN,s.MAIN],[N.MALIGNMARK,s.MALIGNMARK],[N.MARQUEE,s.MARQUEE],[N.MATH,s.MATH],[N.MENU,s.MENU],[N.META,s.META],[N.MGLYPH,s.MGLYPH],[N.MI,s.MI],[N.MO,s.MO],[N.MN,s.MN],[N.MS,s.MS],[N.MTEXT,s.MTEXT],[N.NAV,s.NAV],[N.NOBR,s.NOBR],[N.NOFRAMES,s.NOFRAMES],[N.NOEMBED,s.NOEMBED],[N.NOSCRIPT,s.NOSCRIPT],[N.OBJECT,s.OBJECT],[N.OL,s.OL],[N.OPTGROUP,s.OPTGROUP],[N.OPTION,s.OPTION],[N.P,s.P],[N.PARAM,s.PARAM],[N.PLAINTEXT,s.PLAINTEXT],[N.PRE,s.PRE],[N.RB,s.RB],[N.RP,s.RP],[N.RT,s.RT],[N.RTC,s.RTC],[N.RUBY,s.RUBY],[N.S,s.S],[N.SCRIPT,s.SCRIPT],[N.SEARCH,s.SEARCH],[N.SECTION,s.SECTION],[N.SELECT,s.SELECT],[N.SOURCE,s.SOURCE],[N.SMALL,s.SMALL],[N.SPAN,s.SPAN],[N.STRIKE,s.STRIKE],[N.STRONG,s.STRONG],[N.STYLE,s.STYLE],[N.SUB,s.SUB],[N.SUMMARY,s.SUMMARY],[N.SUP,s.SUP],[N.TABLE,s.TABLE],[N.TBODY,s.TBODY],[N.TEMPLATE,s.TEMPLATE],[N.TEXTAREA,s.TEXTAREA],[N.TFOOT,s.TFOOT],[N.TD,s.TD],[N.TH,s.TH],[N.THEAD,s.THEAD],[N.TITLE,s.TITLE],[N.TR,s.TR],[N.TRACK,s.TRACK],[N.TT,s.TT],[N.U,s.U],[N.UL,s.UL],[N.SVG,s.SVG],[N.VAR,s.VAR],[N.WBR,s.WBR],[N.XMP,s.XMP]]);function jt(e){var t;return(t=P1.get(e))!==null&&t!==void 0?t:s.UNKNOWN}const v=s,w1={[M.HTML]:new Set([v.ADDRESS,v.APPLET,v.AREA,v.ARTICLE,v.ASIDE,v.BASE,v.BASEFONT,v.BGSOUND,v.BLOCKQUOTE,v.BODY,v.BR,v.BUTTON,v.CAPTION,v.CENTER,v.COL,v.COLGROUP,v.DD,v.DETAILS,v.DIR,v.DIV,v.DL,v.DT,v.EMBED,v.FIELDSET,v.FIGCAPTION,v.FIGURE,v.FOOTER,v.FORM,v.FRAME,v.FRAMESET,v.H1,v.H2,v.H3,v.H4,v.H5,v.H6,v.HEAD,v.HEADER,v.HGROUP,v.HR,v.HTML,v.IFRAME,v.IMG,v.INPUT,v.LI,v.LINK,v.LISTING,v.MAIN,v.MARQUEE,v.MENU,v.META,v.NAV,v.NOEMBED,v.NOFRAMES,v.NOSCRIPT,v.OBJECT,v.OL,v.P,v.PARAM,v.PLAINTEXT,v.PRE,v.SCRIPT,v.SECTION,v.SELECT,v.SOURCE,v.STYLE,v.SUMMARY,v.TABLE,v.TBODY,v.TD,v.TEMPLATE,v.TEXTAREA,v.TFOOT,v.TH,v.THEAD,v.TITLE,v.TR,v.TRACK,v.UL,v.WBR,v.XMP]),[M.MATHML]:new Set([v.MI,v.MO,v.MN,v.MS,v.MTEXT,v.ANNOTATION_XML]),[M.SVG]:new Set([v.TITLE,v.FOREIGN_OBJECT,v.DESC]),[M.XLINK]:new Set,[M.XML]:new Set,[M.XMLNS]:new Set},Mr=new Set([v.H1,v.H2,v.H3,v.H4,v.H5,v.H6]);N.STYLE,N.SCRIPT,N.XMP,N.IFRAME,N.NOEMBED,N.NOFRAMES,N.PLAINTEXT;var b;(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"})(b||(b={}));const Te={DATA:b.DATA,RCDATA:b.RCDATA,RAWTEXT:b.RAWTEXT,SCRIPT_DATA:b.SCRIPT_DATA,PLAINTEXT:b.PLAINTEXT,CDATA_SECTION:b.CDATA_SECTION};function B1(e){return e>=E.DIGIT_0&&e<=E.DIGIT_9}function Jt(e){return e>=E.LATIN_CAPITAL_A&&e<=E.LATIN_CAPITAL_Z}function M1(e){return e>=E.LATIN_SMALL_A&&e<=E.LATIN_SMALL_Z}function dt(e){return M1(e)||Jt(e)}function bi(e){return dt(e)||B1(e)}function xn(e){return e+32}function as(e){return e===E.SPACE||e===E.LINE_FEED||e===E.TABULATION||e===E.FORM_FEED}function gi(e){return as(e)||e===E.SOLIDUS||e===E.GREATER_THAN_SIGN}function v1(e){return e===E.NULL?L.nullCharacterReference:e>1114111?L.characterReferenceOutsideUnicodeRange:Za(e)?L.surrogateCharacterReference:ts(e)?L.noncharacterCharacterReference:es(e)||e===E.CARRIAGE_RETURN?L.controlCharacterReference:null}class H1{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=b.DATA,this.returnState=b.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new x1(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new us(rs,(r,u)=>{this.preprocessor.pos=this.entityStartPos+u-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(L.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(L.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const u=v1(r);u&&this._err(u,1)}}:void 0)}_err(t,n=0){var r,u;(u=(r=this.handler).onParseError)===null||u===void 0||u.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ue.START_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ue.END_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:ue.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:ue.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(ns(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(L.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=jt(t.tagName),t.type===ue.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(L.endTagWithAttributes),t.selfClosing&&this._err(L.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 ue.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ue.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ue.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:ue.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=as(t)?ue.WHITESPACE_CHARACTER:t===E.NULL?ue.NULL_CHARACTER:ue.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(ue.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=b.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?it.Attribute:it.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===b.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===b.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===b.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case b.DATA:{this._stateData(t);break}case b.RCDATA:{this._stateRcdata(t);break}case b.RAWTEXT:{this._stateRawtext(t);break}case b.SCRIPT_DATA:{this._stateScriptData(t);break}case b.PLAINTEXT:{this._statePlaintext(t);break}case b.TAG_OPEN:{this._stateTagOpen(t);break}case b.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case b.TAG_NAME:{this._stateTagName(t);break}case b.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case b.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case b.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case b.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case b.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case b.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case b.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case b.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case b.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case b.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case b.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case b.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case b.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case b.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case b.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case b.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case b.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case b.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case b.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case b.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case b.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case b.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case b.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case b.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case b.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case b.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case b.BOGUS_COMMENT:{this._stateBogusComment(t);break}case b.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case b.COMMENT_START:{this._stateCommentStart(t);break}case b.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case b.COMMENT:{this._stateComment(t);break}case b.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case b.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case b.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case b.COMMENT_END:{this._stateCommentEnd(t);break}case b.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case b.DOCTYPE:{this._stateDoctype(t);break}case b.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case b.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case b.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case b.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case b.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case b.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case b.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case b.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case b.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case b.CDATA_SECTION:{this._stateCdataSection(t);break}case b.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case b.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case b.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case b.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case E.LESS_THAN_SIGN:{this.state=b.TAG_OPEN;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitCodePoint(t);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case E.AMPERSAND:{this._startCharacterReference();break}case E.LESS_THAN_SIGN:{this.state=b.RCDATA_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(pe);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case E.LESS_THAN_SIGN:{this.state=b.RAWTEXT_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(pe);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(pe);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(pe);break}case E.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(dt(t))this._createStartTagToken(),this.state=b.TAG_NAME,this._stateTagName(t);else switch(t){case E.EXCLAMATION_MARK:{this.state=b.MARKUP_DECLARATION_OPEN;break}case E.SOLIDUS:{this.state=b.END_TAG_OPEN;break}case E.QUESTION_MARK:{this._err(L.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t);break}case E.EOF:{this._err(L.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(L.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=b.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(dt(t))this._createEndTagToken(),this.state=b.TAG_NAME,this._stateTagName(t);else switch(t){case E.GREATER_THAN_SIGN:{this._err(L.missingEndTagName),this.state=b.DATA;break}case E.EOF:{this._err(L.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(L.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=b.BEFORE_ATTRIBUTE_NAME;break}case E.SOLIDUS:{this.state=b.SELF_CLOSING_START_TAG;break}case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentTagToken();break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.tagName+=pe;break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Jt(t)?xn(t):t)}}_stateRcdataLessThanSign(t){t===E.SOLIDUS?this.state=b.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=b.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){dt(t)?(this.state=b.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=b.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 E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=b.BEFORE_ATTRIBUTE_NAME,!1;case E.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=b.SELF_CLOSING_START_TAG,!1;case E.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=b.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===E.SOLIDUS?this.state=b.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){dt(t)?(this.state=b.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case E.SOLIDUS:{this.state=b.SCRIPT_DATA_END_TAG_OPEN;break}case E.EXCLAMATION_MARK:{this.state=b.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=b.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){dt(t)?(this.state=b.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===E.HYPHEN_MINUS?(this.state=b.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===E.HYPHEN_MINUS?(this.state=b.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=b.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case E.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(pe);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case E.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_ESCAPED,this._emitChars(pe);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case E.HYPHEN_MINUS:{this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case E.GREATER_THAN_SIGN:{this.state=b.SCRIPT_DATA,this._emitChars(">");break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_ESCAPED,this._emitChars(pe);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===E.SOLIDUS?this.state=b.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:dt(t)?(this._emitChars("<"),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){dt(t)?(this.state=b.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Oe.SCRIPT,!1)&&gi(this.preprocessor.peek(Oe.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Oe.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=b.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case E.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.NULL:{this._err(L.unexpectedNullCharacter),this._emitChars(pe);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case E.HYPHEN_MINUS:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(pe);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case E.HYPHEN_MINUS:{this._emitChars("-");break}case E.LESS_THAN_SIGN:{this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case E.GREATER_THAN_SIGN:{this.state=b.SCRIPT_DATA,this._emitChars(">");break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(pe);break}case E.EOF:{this._err(L.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===E.SOLIDUS?(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Oe.SCRIPT,!1)&&gi(this.preprocessor.peek(Oe.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Oe.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=b.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=b.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.SOLIDUS:case E.GREATER_THAN_SIGN:case E.EOF:{this.state=b.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case E.EQUALS_SIGN:{this._err(L.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=b.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=b.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:case E.SOLIDUS:case E.GREATER_THAN_SIGN:case E.EOF:{this._leaveAttrName(),this.state=b.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case E.EQUALS_SIGN:{this._leaveAttrName(),this.state=b.BEFORE_ATTRIBUTE_VALUE;break}case E.QUOTATION_MARK:case E.APOSTROPHE:case E.LESS_THAN_SIGN:{this._err(L.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.name+=pe;break}default:this.currentAttr.name+=String.fromCodePoint(Jt(t)?xn(t):t)}}_stateAfterAttributeName(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.SOLIDUS:{this.state=b.SELF_CLOSING_START_TAG;break}case E.EQUALS_SIGN:{this.state=b.BEFORE_ATTRIBUTE_VALUE;break}case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=b.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{this.state=b.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this.state=b.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingAttributeValue),this.state=b.DATA,this.emitCurrentTagToken();break}default:this.state=b.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case E.QUOTATION_MARK:{this.state=b.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=pe;break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case E.APOSTROPHE:{this.state=b.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=pe;break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this._leaveAttrValue(),this.state=b.BEFORE_ATTRIBUTE_NAME;break}case E.AMPERSAND:{this._startCharacterReference();break}case E.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=b.DATA,this.emitCurrentTagToken();break}case E.NULL:{this._err(L.unexpectedNullCharacter),this.currentAttr.value+=pe;break}case E.QUOTATION_MARK:case E.APOSTROPHE:case E.LESS_THAN_SIGN:case E.EQUALS_SIGN:case E.GRAVE_ACCENT:{this._err(L.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this._leaveAttrValue(),this.state=b.BEFORE_ATTRIBUTE_NAME;break}case E.SOLIDUS:{this._leaveAttrValue(),this.state=b.SELF_CLOSING_START_TAG;break}case E.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=b.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._err(L.missingWhitespaceBetweenAttributes),this.state=b.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case E.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=b.DATA,this.emitCurrentTagToken();break}case E.EOF:{this._err(L.eofInTag),this._emitEOFToken();break}default:this._err(L.unexpectedSolidusInTag),this.state=b.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentComment(n);break}case E.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.data+=pe;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Oe.DASH_DASH,!0)?(this._createCommentToken(Oe.DASH_DASH.length+1),this.state=b.COMMENT_START):this._consumeSequenceIfMatch(Oe.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Oe.DOCTYPE.length+1),this.state=b.DOCTYPE):this._consumeSequenceIfMatch(Oe.CDATA_START,!0)?this.inForeignNode?this.state=b.CDATA_SECTION:(this._err(L.cdataInHtmlContent),this._createCommentToken(Oe.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=b.BOGUS_COMMENT):this._ensureHibernation()||(this._err(L.incorrectlyOpenedComment),this._createCommentToken(2),this.state=b.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case E.HYPHEN_MINUS:{this.state=b.COMMENT_START_DASH;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptClosingOfEmptyComment),this.state=b.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=b.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=b.COMMENT_END;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptClosingOfEmptyComment),this.state=b.DATA,this.emitCurrentComment(n);break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=b.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=b.COMMENT_END_DASH;break}case E.LESS_THAN_SIGN:{n.data+="<",this.state=b.COMMENT_LESS_THAN_SIGN;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.data+=pe;break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case E.EXCLAMATION_MARK:{n.data+="!",this.state=b.COMMENT_LESS_THAN_SIGN_BANG;break}case E.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=b.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===E.HYPHEN_MINUS?this.state=b.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=b.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===E.HYPHEN_MINUS?this.state=b.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=b.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==E.GREATER_THAN_SIGN&&t!==E.EOF&&this._err(L.nestedComment),this.state=b.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{this.state=b.COMMENT_END;break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=b.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentComment(n);break}case E.EXCLAMATION_MARK:{this.state=b.COMMENT_END_BANG;break}case E.HYPHEN_MINUS:{n.data+="-";break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=b.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case E.HYPHEN_MINUS:{n.data+="--!",this.state=b.COMMENT_END_DASH;break}case E.GREATER_THAN_SIGN:{this._err(L.incorrectlyClosedComment),this.state=b.DATA,this.emitCurrentComment(n);break}case E.EOF:{this._err(L.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=b.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this.state=b.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case E.EOF:{this._err(L.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingWhitespaceBeforeDoctypeName),this.state=b.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Jt(t))this._createDoctypeToken(String.fromCharCode(xn(t))),this.state=b.DOCTYPE_NAME;else switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.NULL:{this._err(L.unexpectedNullCharacter),this._createDoctypeToken(pe),this.state=b.DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.EOF:{this._err(L.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=b.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=b.AFTER_DOCTYPE_NAME;break}case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.name+=pe;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Jt(t)?xn(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Oe.PUBLIC,!1)?this.state=b.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Oe.SYSTEM,!1)?this.state=b.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(L.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.QUOTATION_MARK:{this._err(L.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(L.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.publicId="",this.state=b.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case E.QUOTATION_MARK:{this.state=b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.publicId+=pe;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.EOF:{this._err(L.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 E.APOSTROPHE:{this.state=b.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.publicId+=pe;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.EOF:{this._err(L.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 E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=b.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case E.GREATER_THAN_SIGN:{this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.QUOTATION_MARK:{this._err(L.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(L.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.QUOTATION_MARK:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:{this.state=b.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.QUOTATION_MARK:{this._err(L.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{this._err(L.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.QUOTATION_MARK:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case E.APOSTROPHE:{n.systemId="",this.state=b.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case E.GREATER_THAN_SIGN:{this._err(L.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.DATA,this.emitCurrentDoctype(n);break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case E.QUOTATION_MARK:{this.state=b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.systemId+=pe;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.EOF:{this._err(L.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 E.APOSTROPHE:{this.state=b.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case E.NULL:{this._err(L.unexpectedNullCharacter),n.systemId+=pe;break}case E.GREATER_THAN_SIGN:{this._err(L.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.EOF:{this._err(L.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 E.SPACE:case E.LINE_FEED:case E.TABULATION:case E.FORM_FEED:break;case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.EOF:{this._err(L.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(L.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=b.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case E.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=b.DATA;break}case E.NULL:{this._err(L.unexpectedNullCharacter);break}case E.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case E.RIGHT_SQUARE_BRACKET:{this.state=b.CDATA_SECTION_BRACKET;break}case E.EOF:{this._err(L.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===E.RIGHT_SQUARE_BRACKET?this.state=b.CDATA_SECTION_END:(this._emitChars("]"),this.state=b.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case E.GREATER_THAN_SIGN:{this.state=b.DATA;break}case E.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=b.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(E.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&bi(this.preprocessor.peek(1))?b.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){bi(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===E.SEMICOLON&&this._err(L.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const ss=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),Ti=new Set([...ss,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]),U1=new Set([...Pn,s.OL,s.UL]),z1=new Set([...Pn,s.BUTTON]),Ai=new Set([s.ANNOTATION_XML,s.MI,s.MN,s.MO,s.MS,s.MTEXT]),Ci=new Set([s.DESC,s.FOREIGN_OBJECT,s.TITLE]),j1=new Set([s.TR,s.TEMPLATE,s.HTML]),Y1=new Set([s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML]),q1=new Set([s.TABLE,s.TEMPLATE,s.HTML]),W1=new Set([s.TD,s.TH]);class V1{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)===M.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])!==M.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(Mr,M.HTML)}popUntilTableCellPopped(){this.popUntilPopped(W1,M.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(q1,M.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Y1,M.HTML)}clearBackToTableRowContext(){this.clearBackTo(j1,M.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 M.HTML:{if(u===t)return!0;if(n.has(u))return!1;break}case M.SVG:{if(Ci.has(u))return!1;break}case M.MATHML:{if(Ai.has(u))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Pn)}hasInListItemScope(t){return this.hasInDynamicScope(t,U1)}hasInButtonScope(t){return this.hasInDynamicScope(t,z1)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case M.HTML:{if(Mr.has(n))return!0;if(Pn.has(n))return!1;break}case M.SVG:{if(Ci.has(n))return!1;break}case M.MATHML:{if(Ai.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===M.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])===M.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])===M.HTML)switch(this.tagIDs[n]){case t:return!0;case s.OPTION:case s.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;ss.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Ti.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Ti.has(this.currentTagId);)this.pop()}}const Tr=3;var Je;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Je||(Je={}));const Di={type:Je.Marker};class $1{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===Je.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<Tr)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Tr)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>=Tr&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Di)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Je.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Je.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(Di);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Je.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Je.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Je.Element&&n.element===t)}}const mt={createDocument(){return{nodeName:"#document",mode:qe.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};mt.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(mt.isTextNode(n)){n.value+=t;return}}mt.appendChild(e,mt.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&mt.isTextNode(r)?r.value+=t:mt.insertBefore(e,mt.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}}},os="html",Q1="about:legacy-compat",G1="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",ls=["+//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//"],X1=[...ls,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],K1=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),cs=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],J1=[...cs,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function _i(e,t){return t.some(n=>e.startsWith(n))}function Z1(e){return e.name===os&&e.publicId===null&&(e.systemId===null||e.systemId===Q1)}function em(e){if(e.name!==os)return qe.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===G1)return qe.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),K1.has(n))return qe.QUIRKS;let r=t===null?X1:ls;if(_i(n,r))return qe.QUIRKS;if(r=t===null?cs:J1,_i(n,r))return qe.LIMITED_QUIRKS}return qe.NO_QUIRKS}const xi={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},tm="definitionurl",nm="definitionURL",rm=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),um=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:M.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:M.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:M.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:M.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:M.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:M.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:M.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:M.XML}],["xml:space",{prefix:"xml",name:"space",namespace:M.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:M.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:M.XMLNS}]]),im=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])),am=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 sm(e){const t=e.tagID;return t===s.FONT&&e.attrs.some(({name:r})=>r===xt.COLOR||r===xt.SIZE||r===xt.FACE)||am.has(t)}function fs(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===tm){e.attrs[t].name=nm;break}}function hs(e){for(let t=0;t<e.attrs.length;t++){const n=rm.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function ou(e){for(let t=0;t<e.attrs.length;t++){const n=um.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 om(e){const t=im.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=jt(e.tagName))}function lm(e,t){return t===M.MATHML&&(e===s.MI||e===s.MO||e===s.MN||e===s.MS||e===s.MTEXT)}function cm(e,t,n){if(t===M.MATHML&&e===s.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===xt.ENCODING){const u=n[r].value.toLowerCase();return u===xi.TEXT_HTML||u===xi.APPLICATION_XML}}return t===M.SVG&&(e===s.FOREIGN_OBJECT||e===s.DESC||e===s.TITLE)}function fm(e,t,n,r){return(!r||r===M.HTML)&&cm(e,t,n)||(!r||r===M.MATHML)&&lm(e,t)}const hm="hidden",dm=8,mm=3;var g;(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"})(g||(g={}));const pm={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},ds=new Set([s.TABLE,s.TBODY,s.TFOOT,s.THEAD,s.TR]),Ni={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:mt,onParseError:null};class yi{constructor(t,n,r=null,u=null){this.fragmentContext=r,this.scriptHandler=u,this.currentToken=null,this.stopped=!1,this.insertionMode=g.INITIAL,this.originalInsertionMode=g.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={...Ni,...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 H1(this.options,this),this.activeFormattingElements=new $1(this.treeAdapter),this.fragmentContextID=r?jt(this.treeAdapter.getTagName(r)):s.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new V1(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={...Ni,...n};t??(t=r.treeAdapter.createElement(N.TEMPLATE,M.HTML,[]));const u=r.treeAdapter.createElement("documentmock",M.HTML,[]),i=new this(r,u,t);return i.fragmentContextID===s.TEMPLATE&&i.tmplInsertionModeStack.unshift(g.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:pm,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)===M.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,M.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=g.TEXT}switchToPlaintextParsing(){this.insertionMode=g.TEXT,this.originalInsertionMode=g.IN_BODY,this.tokenizer.state=Te.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)===N.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==M.HTML))switch(this.fragmentContextID){case s.TITLE:case s.TEXTAREA:{this.tokenizer.state=Te.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=Te.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=Te.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=Te.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,M.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,M.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(N.HTML,M.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===ue.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)===N.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===M.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===s.MGLYPH||t.tagID===s.MALIGNMARK)&&!this._isIntegrationPoint(r,n,M.HTML)}_processToken(t){switch(t.type){case ue.CHARACTER:{this.onCharacter(t);break}case ue.NULL_CHARACTER:{this.onNullCharacter(t);break}case ue.COMMENT:{this.onComment(t);break}case ue.DOCTYPE:{this.onDoctype(t);break}case ue.START_TAG:{this._processStartTag(t);break}case ue.END_TAG:{this.onEndTag(t);break}case ue.EOF:{this.onEof(t);break}case ue.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const u=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return fm(t,u,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(u=>u.type===Je.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=g.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=g.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=g.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=g.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=g.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=g.IN_TABLE;return}case s.BODY:{this.insertionMode=g.IN_BODY;return}case s.FRAMESET:{this.insertionMode=g.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?g.AFTER_HEAD:g.BEFORE_HEAD;return}case s.TD:case s.TH:{if(t>0){this.insertionMode=g.IN_CELL;return}break}case s.HEAD:{if(t>0){this.insertionMode=g.IN_HEAD;return}break}}this.insertionMode=g.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=g.IN_SELECT_IN_TABLE;return}}this.insertionMode=g.IN_SELECT}_isElementCausesFosterParenting(t){return ds.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)===M.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 w1[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Wp(this,t);return}switch(this.insertionMode){case g.INITIAL:{Qt(this,t);break}case g.BEFORE_HTML:{en(this,t);break}case g.BEFORE_HEAD:{tn(this,t);break}case g.IN_HEAD:{nn(this,t);break}case g.IN_HEAD_NO_SCRIPT:{rn(this,t);break}case g.AFTER_HEAD:{un(this,t);break}case g.IN_BODY:case g.IN_CAPTION:case g.IN_CELL:case g.IN_TEMPLATE:{ps(this,t);break}case g.TEXT:case g.IN_SELECT:case g.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case g.IN_TABLE:case g.IN_TABLE_BODY:case g.IN_ROW:{Ar(this,t);break}case g.IN_TABLE_TEXT:{Cs(this,t);break}case g.IN_COLUMN_GROUP:{wn(this,t);break}case g.AFTER_BODY:{Bn(this,t);break}case g.AFTER_AFTER_BODY:{Sn(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){qp(this,t);return}switch(this.insertionMode){case g.INITIAL:{Qt(this,t);break}case g.BEFORE_HTML:{en(this,t);break}case g.BEFORE_HEAD:{tn(this,t);break}case g.IN_HEAD:{nn(this,t);break}case g.IN_HEAD_NO_SCRIPT:{rn(this,t);break}case g.AFTER_HEAD:{un(this,t);break}case g.TEXT:{this._insertCharacters(t);break}case g.IN_TABLE:case g.IN_TABLE_BODY:case g.IN_ROW:{Ar(this,t);break}case g.IN_COLUMN_GROUP:{wn(this,t);break}case g.AFTER_BODY:{Bn(this,t);break}case g.AFTER_AFTER_BODY:{Sn(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){vr(this,t);return}switch(this.insertionMode){case g.INITIAL:case g.BEFORE_HTML:case g.BEFORE_HEAD:case g.IN_HEAD:case g.IN_HEAD_NO_SCRIPT:case g.AFTER_HEAD:case g.IN_BODY:case g.IN_TABLE:case g.IN_CAPTION:case g.IN_COLUMN_GROUP:case g.IN_TABLE_BODY:case g.IN_ROW:case g.IN_CELL:case g.IN_SELECT:case g.IN_SELECT_IN_TABLE:case g.IN_TEMPLATE:case g.IN_FRAMESET:case g.AFTER_FRAMESET:{vr(this,t);break}case g.IN_TABLE_TEXT:{Gt(this,t);break}case g.AFTER_BODY:{Dm(this,t);break}case g.AFTER_AFTER_BODY:case g.AFTER_AFTER_FRAMESET:{_m(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case g.INITIAL:{xm(this,t);break}case g.BEFORE_HEAD:case g.IN_HEAD:case g.IN_HEAD_NO_SCRIPT:case g.AFTER_HEAD:{this._err(t,L.misplacedDoctype);break}case g.IN_TABLE_TEXT:{Gt(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,L.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Vp(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case g.INITIAL:{Qt(this,t);break}case g.BEFORE_HTML:{Nm(this,t);break}case g.BEFORE_HEAD:{Im(this,t);break}case g.IN_HEAD:{Qe(this,t);break}case g.IN_HEAD_NO_SCRIPT:{Fm(this,t);break}case g.AFTER_HEAD:{Om(this,t);break}case g.IN_BODY:{ke(this,t);break}case g.IN_TABLE:{Bt(this,t);break}case g.IN_TABLE_TEXT:{Gt(this,t);break}case g.IN_CAPTION:{kp(this,t);break}case g.IN_COLUMN_GROUP:{fu(this,t);break}case g.IN_TABLE_BODY:{Vn(this,t);break}case g.IN_ROW:{$n(this,t);break}case g.IN_CELL:{Lp(this,t);break}case g.IN_SELECT:{xs(this,t);break}case g.IN_SELECT_IN_TABLE:{Rp(this,t);break}case g.IN_TEMPLATE:{wp(this,t);break}case g.AFTER_BODY:{Mp(this,t);break}case g.IN_FRAMESET:{vp(this,t);break}case g.AFTER_FRAMESET:{Up(this,t);break}case g.AFTER_AFTER_BODY:{jp(this,t);break}case g.AFTER_AFTER_FRAMESET:{Yp(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?$p(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case g.INITIAL:{Qt(this,t);break}case g.BEFORE_HTML:{ym(this,t);break}case g.BEFORE_HEAD:{km(this,t);break}case g.IN_HEAD:{Sm(this,t);break}case g.IN_HEAD_NO_SCRIPT:{Lm(this,t);break}case g.AFTER_HEAD:{Rm(this,t);break}case g.IN_BODY:{Wn(this,t);break}case g.TEXT:{gp(this,t);break}case g.IN_TABLE:{ln(this,t);break}case g.IN_TABLE_TEXT:{Gt(this,t);break}case g.IN_CAPTION:{Sp(this,t);break}case g.IN_COLUMN_GROUP:{Fp(this,t);break}case g.IN_TABLE_BODY:{Hr(this,t);break}case g.IN_ROW:{_s(this,t);break}case g.IN_CELL:{Op(this,t);break}case g.IN_SELECT:{Ns(this,t);break}case g.IN_SELECT_IN_TABLE:{Pp(this,t);break}case g.IN_TEMPLATE:{Bp(this,t);break}case g.AFTER_BODY:{Is(this,t);break}case g.IN_FRAMESET:{Hp(this,t);break}case g.AFTER_FRAMESET:{zp(this,t);break}case g.AFTER_AFTER_BODY:{Sn(this,t);break}}}onEof(t){switch(this.insertionMode){case g.INITIAL:{Qt(this,t);break}case g.BEFORE_HTML:{en(this,t);break}case g.BEFORE_HEAD:{tn(this,t);break}case g.IN_HEAD:{nn(this,t);break}case g.IN_HEAD_NO_SCRIPT:{rn(this,t);break}case g.AFTER_HEAD:{un(this,t);break}case g.IN_BODY:case g.IN_TABLE:case g.IN_CAPTION:case g.IN_COLUMN_GROUP:case g.IN_TABLE_BODY:case g.IN_ROW:case g.IN_CELL:case g.IN_SELECT:case g.IN_SELECT_IN_TABLE:{Ts(this,t);break}case g.TEXT:{Tp(this,t);break}case g.IN_TABLE_TEXT:{Gt(this,t);break}case g.IN_TEMPLATE:{ys(this,t);break}case g.AFTER_BODY:case g.IN_FRAMESET:case g.AFTER_FRAMESET:case g.AFTER_AFTER_BODY:case g.AFTER_AFTER_FRAMESET:{cu(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===E.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 g.IN_HEAD:case g.IN_HEAD_NO_SCRIPT:case g.AFTER_HEAD:case g.TEXT:case g.IN_COLUMN_GROUP:case g.IN_SELECT:case g.IN_SELECT_IN_TABLE:case g.IN_FRAMESET:case g.AFTER_FRAMESET:{this._insertCharacters(t);break}case g.IN_BODY:case g.IN_CAPTION:case g.IN_CELL:case g.IN_TEMPLATE:case g.AFTER_BODY:case g.AFTER_AFTER_BODY:case g.AFTER_AFTER_FRAMESET:{ms(this,t);break}case g.IN_TABLE:case g.IN_TABLE_BODY:case g.IN_ROW:{Ar(this,t);break}case g.IN_TABLE_TEXT:{As(this,t);break}}}}function Em(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):gs(e,t),n}function bm(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 gm(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>=mm;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=Tm(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function Tm(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 Am(e,t,n){const r=e.treeAdapter.getTagName(t),u=jt(r);if(e._isElementCausesFosterParenting(u))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);u===s.TEMPLATE&&i===M.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Cm(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 lu(e,t){for(let n=0;n<dm;n++){const r=Em(e,t);if(!r)break;const u=bm(e,r);if(!u)break;e.activeFormattingElements.bookmark=r;const i=gm(e,u,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),a&&Am(e,a,i),Cm(e,u,r)}}function vr(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Dm(e,t){e._appendCommentNode(t,e.openElements.items[0])}function _m(e,t){e._appendCommentNode(t,e.document)}function cu(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 xm(e,t){e._setDocumentType(t);const n=t.forceQuirks?qe.QUIRKS:em(t);Z1(t)||e._err(t,L.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=g.BEFORE_HTML}function Qt(e,t){e._err(t,L.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,qe.QUIRKS),e.insertionMode=g.BEFORE_HTML,e._processToken(t)}function Nm(e,t){t.tagID===s.HTML?(e._insertElement(t,M.HTML),e.insertionMode=g.BEFORE_HEAD):en(e,t)}function ym(e,t){const n=t.tagID;(n===s.HTML||n===s.HEAD||n===s.BODY||n===s.BR)&&en(e,t)}function en(e,t){e._insertFakeRootElement(),e.insertionMode=g.BEFORE_HEAD,e._processToken(t)}function Im(e,t){switch(t.tagID){case s.HTML:{ke(e,t);break}case s.HEAD:{e._insertElement(t,M.HTML),e.headElement=e.openElements.current,e.insertionMode=g.IN_HEAD;break}default:tn(e,t)}}function km(e,t){const n=t.tagID;n===s.HEAD||n===s.BODY||n===s.HTML||n===s.BR?tn(e,t):e._err(t,L.endTagWithoutMatchingOpenElement)}function tn(e,t){e._insertFakeElement(N.HEAD,s.HEAD),e.headElement=e.openElements.current,e.insertionMode=g.IN_HEAD,e._processToken(t)}function Qe(e,t){switch(t.tagID){case s.HTML:{ke(e,t);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{e._appendElement(t,M.HTML),t.ackSelfClosing=!0;break}case s.TITLE:{e._switchToTextParsing(t,Te.RCDATA);break}case s.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Te.RAWTEXT):(e._insertElement(t,M.HTML),e.insertionMode=g.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{e._switchToTextParsing(t,Te.RAWTEXT);break}case s.SCRIPT:{e._switchToTextParsing(t,Te.SCRIPT_DATA);break}case s.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=g.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(g.IN_TEMPLATE);break}case s.HEAD:{e._err(t,L.misplacedStartTagForHeadElement);break}default:nn(e,t)}}function Sm(e,t){switch(t.tagID){case s.HEAD:{e.openElements.pop(),e.insertionMode=g.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{nn(e,t);break}case s.TEMPLATE:{It(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function It(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==s.TEMPLATE&&e._err(t,L.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,L.endTagWithoutMatchingOpenElement)}function nn(e,t){e.openElements.pop(),e.insertionMode=g.AFTER_HEAD,e._processToken(t)}function Fm(e,t){switch(t.tagID){case s.HTML:{ke(e,t);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{Qe(e,t);break}case s.NOSCRIPT:{e._err(t,L.nestedNoscriptInHead);break}default:rn(e,t)}}function Lm(e,t){switch(t.tagID){case s.NOSCRIPT:{e.openElements.pop(),e.insertionMode=g.IN_HEAD;break}case s.BR:{rn(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function rn(e,t){const n=t.type===ue.EOF?L.openElementsLeftAfterEof:L.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=g.IN_HEAD,e._processToken(t)}function Om(e,t){switch(t.tagID){case s.HTML:{ke(e,t);break}case s.BODY:{e._insertElement(t,M.HTML),e.framesetOk=!1,e.insertionMode=g.IN_BODY;break}case s.FRAMESET:{e._insertElement(t,M.HTML),e.insertionMode=g.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,L.abandonedHeadElementChild),e.openElements.push(e.headElement,s.HEAD),Qe(e,t),e.openElements.remove(e.headElement);break}case s.HEAD:{e._err(t,L.misplacedStartTagForHeadElement);break}default:un(e,t)}}function Rm(e,t){switch(t.tagID){case s.BODY:case s.HTML:case s.BR:{un(e,t);break}case s.TEMPLATE:{It(e,t);break}default:e._err(t,L.endTagWithoutMatchingOpenElement)}}function un(e,t){e._insertFakeElement(N.BODY,s.BODY),e.insertionMode=g.IN_BODY,qn(e,t)}function qn(e,t){switch(t.type){case ue.CHARACTER:{ps(e,t);break}case ue.WHITESPACE_CHARACTER:{ms(e,t);break}case ue.COMMENT:{vr(e,t);break}case ue.START_TAG:{ke(e,t);break}case ue.END_TAG:{Wn(e,t);break}case ue.EOF:{Ts(e,t);break}}}function ms(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ps(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Pm(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function wm(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Bm(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,M.HTML),e.insertionMode=g.IN_FRAMESET)}function Mm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,M.HTML)}function vm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),Mr.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,M.HTML)}function Hm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,M.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Um(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,M.HTML),n||(e.formElement=e.openElements.current))}function zm(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,M.HTML)}function jm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,M.HTML),e.tokenizer.state=Te.PLAINTEXT}function Ym(e,t){e.openElements.hasInScope(s.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,M.HTML),e.framesetOk=!1}function qm(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(N.A);n&&(lu(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,M.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Wm(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,M.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Vm(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(s.NOBR)&&(lu(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,M.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function $m(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,M.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Qm(e,t){e.treeAdapter.getDocumentMode(e.document)!==qe.QUIRKS&&e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,M.HTML),e.framesetOk=!1,e.insertionMode=g.IN_TABLE}function Es(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,M.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function bs(e){const t=ns(e,xt.TYPE);return t!=null&&t.toLowerCase()===hm}function Gm(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,M.HTML),bs(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Xm(e,t){e._appendElement(t,M.HTML),t.ackSelfClosing=!0}function Km(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._appendElement(t,M.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Jm(e,t){t.tagName=N.IMG,t.tagID=s.IMG,Es(e,t)}function Zm(e,t){e._insertElement(t,M.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Te.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=g.TEXT}function ep(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Te.RAWTEXT)}function tp(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Te.RAWTEXT)}function Ii(e,t){e._switchToTextParsing(t,Te.RAWTEXT)}function np(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,M.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===g.IN_TABLE||e.insertionMode===g.IN_CAPTION||e.insertionMode===g.IN_TABLE_BODY||e.insertionMode===g.IN_ROW||e.insertionMode===g.IN_CELL?g.IN_SELECT_IN_TABLE:g.IN_SELECT}function rp(e,t){e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,M.HTML)}function up(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,M.HTML)}function ip(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(s.RTC),e._insertElement(t,M.HTML)}function ap(e,t){e._reconstructActiveFormattingElements(),fs(t),ou(t),t.selfClosing?e._appendElement(t,M.MATHML):e._insertElement(t,M.MATHML),t.ackSelfClosing=!0}function sp(e,t){e._reconstructActiveFormattingElements(),hs(t),ou(t),t.selfClosing?e._appendElement(t,M.SVG):e._insertElement(t,M.SVG),t.ackSelfClosing=!0}function ki(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,M.HTML)}function ke(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:{Wm(e,t);break}case s.A:{qm(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{vm(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:{Mm(e,t);break}case s.LI:case s.DD:case s.DT:{zm(e,t);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{Es(e,t);break}case s.HR:{Km(e,t);break}case s.RB:case s.RTC:{up(e,t);break}case s.RT:case s.RP:{ip(e,t);break}case s.PRE:case s.LISTING:{Hm(e,t);break}case s.XMP:{ep(e,t);break}case s.SVG:{sp(e,t);break}case s.HTML:{Pm(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:{Qe(e,t);break}case s.BODY:{wm(e,t);break}case s.FORM:{Um(e,t);break}case s.NOBR:{Vm(e,t);break}case s.MATH:{ap(e,t);break}case s.TABLE:{Qm(e,t);break}case s.INPUT:{Gm(e,t);break}case s.PARAM:case s.TRACK:case s.SOURCE:{Xm(e,t);break}case s.IMAGE:{Jm(e,t);break}case s.BUTTON:{Ym(e,t);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{$m(e,t);break}case s.IFRAME:{tp(e,t);break}case s.SELECT:{np(e,t);break}case s.OPTION:case s.OPTGROUP:{rp(e,t);break}case s.NOEMBED:case s.NOFRAMES:{Ii(e,t);break}case s.FRAMESET:{Bm(e,t);break}case s.TEXTAREA:{Zm(e,t);break}case s.NOSCRIPT:{e.options.scriptingEnabled?Ii(e,t):ki(e,t);break}case s.PLAINTEXT:{jm(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:ki(e,t)}}function op(e,t){if(e.openElements.hasInScope(s.BODY)&&(e.insertionMode=g.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function lp(e,t){e.openElements.hasInScope(s.BODY)&&(e.insertionMode=g.AFTER_BODY,Is(e,t))}function cp(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function fp(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 hp(e){e.openElements.hasInButtonScope(s.P)||e._insertFakeElement(N.P,s.P),e._closePElement()}function dp(e){e.openElements.hasInListItemScope(s.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(s.LI),e.openElements.popUntilTagNamePopped(s.LI))}function mp(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function pp(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Ep(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function bp(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(N.BR,s.BR),e.openElements.pop(),e.framesetOk=!1}function gs(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 Wn(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:{lu(e,t);break}case s.P:{hp(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:{cp(e,t);break}case s.LI:{dp(e);break}case s.DD:case s.DT:{mp(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{pp(e);break}case s.BR:{bp(e);break}case s.BODY:{op(e,t);break}case s.HTML:{lp(e,t);break}case s.FORM:{fp(e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{Ep(e,t);break}case s.TEMPLATE:{It(e,t);break}default:gs(e,t)}}function Ts(e,t){e.tmplInsertionModeStack.length>0?ys(e,t):cu(e,t)}function gp(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 Tp(e,t){e._err(t,L.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Ar(e,t){if(ds.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=g.IN_TABLE_TEXT,t.type){case ue.CHARACTER:{Cs(e,t);break}case ue.WHITESPACE_CHARACTER:{As(e,t);break}}else En(e,t)}function Ap(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,M.HTML),e.insertionMode=g.IN_CAPTION}function Cp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,M.HTML),e.insertionMode=g.IN_COLUMN_GROUP}function Dp(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(N.COLGROUP,s.COLGROUP),e.insertionMode=g.IN_COLUMN_GROUP,fu(e,t)}function _p(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,M.HTML),e.insertionMode=g.IN_TABLE_BODY}function xp(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(N.TBODY,s.TBODY),e.insertionMode=g.IN_TABLE_BODY,Vn(e,t)}function Np(e,t){e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function yp(e,t){bs(t)?e._appendElement(t,M.HTML):En(e,t),t.ackSelfClosing=!0}function Ip(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,M.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:{xp(e,t);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{Qe(e,t);break}case s.COL:{Dp(e,t);break}case s.FORM:{Ip(e,t);break}case s.TABLE:{Np(e,t);break}case s.TBODY:case s.TFOOT:case s.THEAD:{_p(e,t);break}case s.INPUT:{yp(e,t);break}case s.CAPTION:{Ap(e,t);break}case s.COLGROUP:{Cp(e,t);break}default:En(e,t)}}function ln(e,t){switch(t.tagID){case s.TABLE:{e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode());break}case s.TEMPLATE:{It(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:En(e,t)}}function En(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,qn(e,t),e.fosterParentingEnabled=n}function As(e,t){e.pendingCharacterTokens.push(t)}function Cs(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Gt(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)En(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Ds=new Set([s.CAPTION,s.COL,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]);function kp(e,t){const n=t.tagID;Ds.has(n)?e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=g.IN_TABLE,Bt(e,t)):ke(e,t)}function Sp(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=g.IN_TABLE,n===s.TABLE&&ln(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:Wn(e,t)}}function fu(e,t){switch(t.tagID){case s.HTML:{ke(e,t);break}case s.COL:{e._appendElement(t,M.HTML),t.ackSelfClosing=!0;break}case s.TEMPLATE:{Qe(e,t);break}default:wn(e,t)}}function Fp(e,t){switch(t.tagID){case s.COLGROUP:{e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=g.IN_TABLE);break}case s.TEMPLATE:{It(e,t);break}case s.COL:break;default:wn(e,t)}}function wn(e,t){e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=g.IN_TABLE,e._processToken(t))}function Vn(e,t){switch(t.tagID){case s.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,M.HTML),e.insertionMode=g.IN_ROW;break}case s.TH:case s.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(N.TR,s.TR),e.insertionMode=g.IN_ROW,$n(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=g.IN_TABLE,Bt(e,t));break}default:Bt(e,t)}}function Hr(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=g.IN_TABLE);break}case s.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=g.IN_TABLE,ln(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:ln(e,t)}}function $n(e,t){switch(t.tagID){case s.TH:case s.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,M.HTML),e.insertionMode=g.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=g.IN_TABLE_BODY,Vn(e,t));break}default:Bt(e,t)}}function _s(e,t){switch(t.tagID){case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=g.IN_TABLE_BODY);break}case s.TABLE:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=g.IN_TABLE_BODY,Hr(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=g.IN_TABLE_BODY,Hr(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:ln(e,t)}}function Lp(e,t){const n=t.tagID;Ds.has(n)?(e.openElements.hasInTableScope(s.TD)||e.openElements.hasInTableScope(s.TH))&&(e._closeTableCell(),$n(e,t)):ke(e,t)}function Op(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=g.IN_ROW);break}case s.TABLE:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),_s(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:break;default:Wn(e,t)}}function xs(e,t){switch(t.tagID){case s.HTML:{ke(e,t);break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._insertElement(t,M.HTML);break}case s.OPTGROUP:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._insertElement(t,M.HTML);break}case s.HR:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._appendElement(t,M.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:{Qe(e,t);break}}}function Ns(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:{It(e,t);break}}}function Rp(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)):xs(e,t)}function Pp(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)):Ns(e,t)}function wp(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:{Qe(e,t);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.tmplInsertionModeStack[0]=g.IN_TABLE,e.insertionMode=g.IN_TABLE,Bt(e,t);break}case s.COL:{e.tmplInsertionModeStack[0]=g.IN_COLUMN_GROUP,e.insertionMode=g.IN_COLUMN_GROUP,fu(e,t);break}case s.TR:{e.tmplInsertionModeStack[0]=g.IN_TABLE_BODY,e.insertionMode=g.IN_TABLE_BODY,Vn(e,t);break}case s.TD:case s.TH:{e.tmplInsertionModeStack[0]=g.IN_ROW,e.insertionMode=g.IN_ROW,$n(e,t);break}default:e.tmplInsertionModeStack[0]=g.IN_BODY,e.insertionMode=g.IN_BODY,ke(e,t)}}function Bp(e,t){t.tagID===s.TEMPLATE&&It(e,t)}function ys(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):cu(e,t)}function Mp(e,t){t.tagID===s.HTML?ke(e,t):Bn(e,t)}function Is(e,t){var n;if(t.tagID===s.HTML){if(e.fragmentContext||(e.insertionMode=g.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 Bn(e,t)}function Bn(e,t){e.insertionMode=g.IN_BODY,qn(e,t)}function vp(e,t){switch(t.tagID){case s.HTML:{ke(e,t);break}case s.FRAMESET:{e._insertElement(t,M.HTML);break}case s.FRAME:{e._appendElement(t,M.HTML),t.ackSelfClosing=!0;break}case s.NOFRAMES:{Qe(e,t);break}}}function Hp(e,t){t.tagID===s.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==s.FRAMESET&&(e.insertionMode=g.AFTER_FRAMESET))}function Up(e,t){switch(t.tagID){case s.HTML:{ke(e,t);break}case s.NOFRAMES:{Qe(e,t);break}}}function zp(e,t){t.tagID===s.HTML&&(e.insertionMode=g.AFTER_AFTER_FRAMESET)}function jp(e,t){t.tagID===s.HTML?ke(e,t):Sn(e,t)}function Sn(e,t){e.insertionMode=g.IN_BODY,qn(e,t)}function Yp(e,t){switch(t.tagID){case s.HTML:{ke(e,t);break}case s.NOFRAMES:{Qe(e,t);break}}}function qp(e,t){t.chars=pe,e._insertCharacters(t)}function Wp(e,t){e._insertCharacters(t),e.framesetOk=!1}function ks(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==M.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Vp(e,t){if(sm(t))ks(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===M.MATHML?fs(t):r===M.SVG&&(om(t),hs(t)),ou(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function $p(e,t){if(t.tagID===s.P||t.tagID===s.BR){ks(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)===M.HTML){e._endTagOutsideForeignContent(t);break}const u=e.treeAdapter.getTagName(r);if(u.toLowerCase()===t.tagName){t.tagName=u,e.openElements.shortenToLength(n);break}}}N.AREA,N.BASE,N.BASEFONT,N.BGSOUND,N.BR,N.COL,N.EMBED,N.FRAME,N.HR,N.IMG,N.INPUT,N.KEYGEN,N.LINK,N.META,N.PARAM,N.SOURCE,N.TRACK,N.WBR;const Qp=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Gp=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Si={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Ss(e,t){const n=iE(e),r=Yr("type",{handlers:{root:Xp,element:Kp,text:Jp,comment:Ls,doctype:Zp,raw:tE},unknown:nE}),u={parser:n?new yi(Si):yi.getFragmentParser(void 0,Si),handle(o){r(o,u)},stitches:!1,options:t||{}};r(e,u),Yt(u,tt());const i=n?u.parser.document:u.parser.getFragment(),a=a1(i,{file:u.options.file});return u.stitches&&Pe(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 Fs(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Xp(e,t){Fs(e.children,t)}function Kp(e,t){rE(e,t),Fs(e.children,t),uE(e,t)}function Jp(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:ue.CHARACTER,chars:e.value,location:bn(e)};Yt(t,tt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Zp(e,t){const n={type:ue.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:bn(e)};Yt(t,tt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function eE(e,t){t.stitches=!0;const n=aE(e);if("children"in e&&"children"in n){const r=Ss({type:"root",children:e.children},t.options);n.children=r.children}Ls({type:"comment",value:{stitch:n}},t)}function Ls(e,t){const n=e.value,r={type:ue.COMMENT,data:n,location:bn(e)};Yt(t,tt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tE(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,Os(t,tt(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Qp,"<$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 nE(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))eE(n,t);else{let r="";throw Gp.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 Yt(e,t){Os(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=Te.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 Os(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 rE(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Te.PLAINTEXT)return;Yt(t,tt(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:_t.html;u===_t.html&&n==="svg"&&(u=_t.svg);const i=f1({...e,children:[]},{space:u===_t.svg?"svg":"html"}),a={type:ue.START_TAG,tagName:n,tagID:jt(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:bn(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function uE(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&T1.includes(n)||t.parser.tokenizer.state===Te.PLAINTEXT)return;Yt(t,zn(e));const r={type:ue.END_TAG,tagName:n,tagID:jt(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:bn(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Te.RCDATA||t.parser.tokenizer.state===Te.RAWTEXT||t.parser.tokenizer.state===Te.SCRIPT_DATA)&&(t.parser.tokenizer.state=Te.DATA)}function iE(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function bn(e){const t=tt(e)||{line:void 0,column:void 0,offset:void 0},n=zn(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 aE(e){return"children"in e?st({...e,children:[]}):st(e)}function sE(e){return function(t,n){return Ss(t,{...e,file:n})}}const Rs=function(e){if(e==null)return cE;if(typeof e=="string")return lE(e);if(typeof e=="object")return oE(e);if(typeof e=="function")return hu(e);throw new Error("Expected function, string, or array as `test`")};function oE(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Rs(e[n]);return hu(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function lE(e){return hu(t);function t(n){return n.tagName===e}}function hu(e){return t;function t(n,r,u){return!!(fE(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function cE(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function fE(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const hE=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,dE=/^[a-zA-Z]:\\/;function mE(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return dE.test(e)?!1:hE.test(e)}const pE=["http","https"],EE=["nofollow"],bE={};function gE(e){const t=e||bE,n=t.protocols||pE,r=Rs(t.test);return function(u){Pe(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(mE(l)?n.includes(l.slice(0,l.indexOf(":"))):l.startsWith("//")){const c=Xt(t.content,i),h=c&&!Array.isArray(c)?[c]:c,f=Xt(t.rel,i)||EE,p=typeof f=="string"?Rr(f):f,m=Xt(t.target,i),T=Xt(t.properties,i);if(T&&Object.assign(i.properties,st(T)),p.length>0&&(i.properties.rel=[...p]),m&&(i.properties.target=m),h){const x=Xt(t.contentProperties,i)||{};i.children.push({type:"element",tagName:"span",properties:st(x),children:st(h)})}}}})}}function Xt(e,t){return typeof e=="function"?e(t):e}function Ps(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 TE(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+"`");Pe(e,"element",function(n){let r=Ps(n);r&&(r+=t,n.tagName="h"+(r>6?6:r<1?1:r))})}const AE={};function CE(e){const t=(e||AE).shift||0;return function(n){t&&TE(n,t)}}const DE=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_E=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,xE={};function Fi(e,t){return(xE.jsx?_E:DE).test(e)}const NE=/[ \t\n\f\r]/g;function yE(e){return typeof e=="object"?e.type==="text"?Li(e.value):!1:Li(e)}function Li(e){return e.replace(NE,"")===""}var Lt={},Cr,Oi;function IE(){if(Oi)return Cr;Oi=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=`
|
|
82
|
-
`,c="/",h="*",f="",p="comment",m="declaration";Cr=function(x,F){if(typeof x!="string")throw new TypeError("First argument must be a string");if(!x)return[];F=F||{};var y=1,P=1;function B(H){var j=H.match(t);j&&(y+=j.length);var D=H.lastIndexOf(l);P=~D?H.length-D:P+H.length}function q(){var H={line:y,column:P};return function(j){return j.position=new G(H),J(),j}}function G(H){this.start=H,this.end={line:y,column:P},this.source=F.source}G.prototype.content=x;function S(H){var j=new Error(F.source+":"+y+":"+P+": "+H);if(j.reason=H,j.filename=F.source,j.line=y,j.column=P,j.source=x,!F.silent)throw j}function $(H){var j=H.exec(x);if(j){var D=j[0];return B(D),x=x.slice(D.length),j}}function J(){$(n)}function w(H){var j;for(H=H||[];j=k();)j!==!1&&H.push(j);return H}function k(){var H=q();if(!(c!=x.charAt(0)||h!=x.charAt(1))){for(var j=2;f!=x.charAt(j)&&(h!=x.charAt(j)||c!=x.charAt(j+1));)++j;if(j+=2,f===x.charAt(j-1))return S("End of comment missing");var D=x.slice(2,j-2);return P+=2,B(D),x=x.slice(j),P+=2,H({type:p,comment:D})}}function z(){var H=q(),j=$(r);if(j){if(k(),!$(u))return S("property missing ':'");var D=$(i),ne=H({type:m,property:T(j[0].replace(e,f)),value:D?T(D[0].replace(e,f)):f});return $(a),ne}}function Y(){var H=[];w(H);for(var j;j=z();)j!==!1&&(H.push(j),w(H));return H}return J(),Y()};function T(x){return x?x.replace(o,f):f}return Cr}var Ri;function kE(){if(Ri)return Lt;Ri=1;var e=Lt&&Lt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.default=n;var t=e(IE());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 Lt}var SE=kE();const Pi=zr(SE),FE=Pi.default||Pi,du={}.hasOwnProperty,LE=new Map,OE=/[A-Z]/g,RE=/-([a-z])/g,PE=new Set(["table","tbody","thead","tfoot","tr"]),wE=new Set(["td","th"]),ws="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function BE(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=qE(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=YE(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"?gt:pn,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Bs(u,e,void 0);return i&&typeof i!="string"?i:u.create(e,u.Fragment,{children:i||void 0},void 0)}function Bs(e,t,n){if(t.type==="element")return ME(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return vE(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return UE(e,t,n);if(t.type==="mdxjsEsm")return HE(e,t);if(t.type==="root")return zE(e,t,n);if(t.type==="text")return jE(e,t)}function ME(e,t,n){const r=e.schema;let u=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(u=gt,e.schema=u),e.ancestors.push(t);const i=vs(e,t.tagName,!1),a=WE(e,t);let o=pu(e,t);return PE.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!yE(l):!0})),Ms(e,a,i,t),mu(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function vE(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)}cn(e,t.position)}function HE(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);cn(e,t.position)}function UE(e,t,n){const r=e.schema;let u=r;t.name==="svg"&&r.space==="html"&&(u=gt,e.schema=u),e.ancestors.push(t);const i=t.name===null?e.Fragment:vs(e,t.name,!0),a=VE(e,t),o=pu(e,t);return Ms(e,a,i,t),mu(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function zE(e,t,n){const r={};return mu(r,pu(e,t)),e.create(t,e.Fragment,r,n)}function jE(e,t){return t.value}function Ms(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function mu(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function YE(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 qE(e,t){return n;function n(r,u,i,a){const o=Array.isArray(i.children),l=tt(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 WE(e,t){const n={};let r,u;for(u in t.properties)if(u!=="children"&&du.call(t.properties,u)){const i=$E(e,u,t.properties[u]);if(i){const[a,o]=i;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&wE.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 VE(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 cn(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 cn(e,t.position);else i=r.value===null?!0:r.value;n[u]=i}return n}function pu(e,t){const n=[];let r=-1;const u=e.passKeys?new Map:LE;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=Bs(e,i,a);o!==void 0&&n.push(o)}return n}function $E(e,t,n){const r=Yn(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?$a(n):Qa(n)),r.property==="style"){let u=typeof n=="object"?n:QE(e,String(n));return e.stylePropertyNameCase==="css"&&(u=GE(u)),["style",u]}return[e.elementAttributeNameCase==="react"&&r.space?Xd[r.property]||r.property:r.attribute,n]}}function QE(e,t){const n={};try{FE(t,r)}catch(u){if(!e.ignoreInvalidStyle){const i=u,a=new Ie("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=ws+"#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(RE,KE)),n[a]=i}}function vs(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=Fi(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=Fi(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const u=r.value;return du.call(e.components,u)?e.components[u]:u}if(e.evaluater)return e.evaluater.evaluateExpression(r);cn(e)}function cn(e,t){const n=new Ie("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=ws+"#cannot-handle-mdx-estrees-without-createevaluater",n}function GE(e){const t={};let n;for(n in e)du.call(e,n)&&(t[XE(n)]=e[n]);return t}function XE(e){let t=e.replace(OE,JE);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function KE(e,t){return t.toUpperCase()}function JE(e){return"-"+e.toLowerCase()}function ZE(e){const t=this;t.compiler=n;function n(r,u){return BE(r,{filePath:u.path,...e})}}const eb=/[\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,tb=Object.hasOwnProperty;class Hs{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let u=nb(t,n===!0);const i=u;for(;tb.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 nb(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(eb,"").replace(/ /g,"-"))}function rb(e){return"children"in e?Us(e):"value"in e?e.value:""}function ub(e){return e.type==="text"?e.value:"children"in e?Us(e):""}function Us(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=ub(e.children[t]);return n.join("")}const ib={},wi=new Hs;function ab(e){const n=(e||ib).prefix||"";return function(r){wi.reset(),Pe(r,"element",function(u){Ps(u)&&!u.properties.id&&(u.properties.id=n+wi.slug(rb(u)))})}}const Mt=(...e)=>e.filter(Boolean).join(" "),sb=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 Bi;(e=>{e.clickable=`
|
|
79
|
+
`}),n}function Ku(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Ju(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:`
|
|
80
|
+
`},u),i}function bd(e,t){return e&&"run"in e?async function(n,r){const u=Ju(n,{file:r,...t});await e.run(u,r)}:function(n,r){return Ju(n,{file:r,...e||t})}}function gd(e){ra(e,[/\r?\n|\r/g,Ad])}function Ad(){return{type:"break"}}function Cd(){return function(e){gd(e)}}class sn{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}sn.prototype.property={};sn.prototype.normal={};sn.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 sn(n,r,t)}function tn(e){return e.toLowerCase()}class Be{constructor(t,n){this.property=t,this.attribute=n}}Be.prototype.space=null;Be.prototype.boolean=!1;Be.prototype.booleanish=!1;Be.prototype.overloadedBoolean=!1;Be.prototype.number=!1;Be.prototype.commaSeparated=!1;Be.prototype.spaceSeparated=!1;Be.prototype.commaOrSpaceSeparated=!1;Be.prototype.mustUseProperty=!1;Be.prototype.defined=!1;let Dd=0;const J=Et(),he=Et(),_a=Et(),v=Et(),se=Et(),xt=Et(),Oe=Et();function Et(){return 2**++Dd}const Ir=Object.freeze(Object.defineProperty({__proto__:null,boolean:J,booleanish:he,commaOrSpaceSeparated:Oe,commaSeparated:xt,number:v,overloadedBoolean:_a,spaceSeparated:se},Symbol.toStringTag,{value:"Module"})),fr=Object.keys(Ir);class Kr extends Be{constructor(t,n,r,u){let i=-1;if(super(t,n),Zu(this,"space",u),typeof r=="number")for(;++i<fr.length;){const a=fr[i];Zu(this,fr[i],(r&Ir[a])===Ir[a])}}}Kr.prototype.defined=!0;function Zu(e,t,n){n&&(e[t]=n)}const _d={}.hasOwnProperty;function Lt(e){const t={},n={};let r;for(r in e.properties)if(_d.call(e.properties,r)){const u=e.properties[r],i=new Kr(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[tn(r)]=r,n[tn(i.attribute)]=r}return new sn(t,n,e.space)}const xa=Lt({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}}),Ia=Lt({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Na(e,t){return t in e?e[t]:t}function Sa(e,t){return Na(e,t.toLowerCase())}const ka=Lt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Sa,properties:{xmlns:null,xmlnsXLink:null}}),ya=Lt({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:he,ariaAutoComplete:null,ariaBusy:he,ariaChecked:he,ariaColCount:v,ariaColIndex:v,ariaColSpan:v,ariaControls:se,ariaCurrent:null,ariaDescribedBy:se,ariaDetails:null,ariaDisabled:he,ariaDropEffect:se,ariaErrorMessage:null,ariaExpanded:he,ariaFlowTo:se,ariaGrabbed:he,ariaHasPopup:null,ariaHidden:he,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:se,ariaLevel:v,ariaLive:null,ariaModal:he,ariaMultiLine:he,ariaMultiSelectable:he,ariaOrientation:null,ariaOwns:se,ariaPlaceholder:null,ariaPosInSet:v,ariaPressed:he,ariaReadOnly:he,ariaRelevant:null,ariaRequired:he,ariaRoleDescription:se,ariaRowCount:v,ariaRowIndex:v,ariaRowSpan:v,ariaSelected:he,ariaSetSize:v,ariaSort:null,ariaValueMax:v,ariaValueMin:v,ariaValueNow:v,ariaValueText:null,role:null}}),xd=Lt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Sa,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:xt,acceptCharset:se,accessKey:se,action:null,allow:null,allowFullScreen:J,allowPaymentRequest:J,allowUserMedia:J,alt:null,as:null,async:J,autoCapitalize:null,autoComplete:se,autoFocus:J,autoPlay:J,blocking:se,capture:null,charSet:null,checked:J,cite:null,className:se,cols:v,colSpan:null,content:null,contentEditable:he,controls:J,controlsList:se,coords:v|xt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:J,defer:J,dir:null,dirName:null,disabled:J,download:_a,draggable:he,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:J,formTarget:null,headers:se,height:v,hidden:J,high:v,href:null,hrefLang:null,htmlFor:se,httpEquiv:se,id:null,imageSizes:null,imageSrcSet:null,inert:J,inputMode:null,integrity:null,is:null,isMap:J,itemId:null,itemProp:se,itemRef:se,itemScope:J,itemType:se,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:J,low:v,manifest:null,max:null,maxLength:v,media:null,method:null,min:null,minLength:v,multiple:J,muted:J,name:null,nonce:null,noModule:J,noValidate:J,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:J,optimum:v,pattern:null,ping:se,placeholder:null,playsInline:J,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:J,referrerPolicy:null,rel:se,required:J,reversed:J,rows:v,rowSpan:v,sandbox:se,scope:null,scoped:J,seamless:J,selected:J,shadowRootClonable:J,shadowRootDelegatesFocus:J,shadowRootMode:null,shape:null,size:v,sizes:null,slot:null,span:v,spellCheck:he,src:null,srcDoc:null,srcLang:null,srcSet:null,start:v,step:null,style:null,tabIndex:v,target:null,title:null,translate:null,type:null,typeMustMatch:J,useMap:null,value:he,width:v,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:se,axis:null,background:null,bgColor:null,border:v,borderColor:null,bottomMargin:v,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:J,declare:J,event:null,face:null,frame:null,frameBorder:null,hSpace:v,leftMargin:v,link:null,longDesc:null,lowSrc:null,marginHeight:v,marginWidth:v,noResize:J,noHref:J,noShade:J,noWrap:J,object:null,profile:null,prompt:null,rev:null,rightMargin:v,rules:null,scheme:null,scrolling:he,standby:null,summary:null,text:null,topMargin:v,valueType:null,version:null,vAlign:null,vLink:null,vSpace:v,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:J,disableRemotePlayback:J,prefix:null,property:null,results:v,security:null,unselectable:null}}),Id=Lt({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:Na,properties:{about:Oe,accentHeight:v,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:v,amplitude:v,arabicForm:null,ascent:v,attributeName:null,attributeType:null,azimuth:v,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:v,by:null,calcMode:null,capHeight:v,className:se,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:v,diffuseConstant:v,direction:null,display:null,dur:null,divisor:v,dominantBaseline:null,download:J,dx:null,dy:null,edgeMode:null,editable:null,elevation:v,enableBackground:null,end:null,event:null,exponent:v,externalResourcesRequired:null,fill:null,fillOpacity:v,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:xt,g2:xt,glyphName:xt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:v,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:v,horizOriginX:v,horizOriginY:v,id:null,ideographic:v,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:v,k:v,k1:v,k2:v,k3:v,k4:v,kernelMatrix:Oe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:v,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:v,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:v,overlineThickness:v,paintOrder:null,panose1:null,path:null,pathLength:v,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:se,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:v,pointsAtY:v,pointsAtZ:v,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Oe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Oe,rev:Oe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Oe,requiredFeatures:Oe,requiredFonts:Oe,requiredFormats:Oe,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:v,specularExponent:v,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:v,strikethroughThickness:v,string:null,stroke:null,strokeDashArray:Oe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:v,strokeOpacity:v,strokeWidth:null,style:null,surfaceScale:v,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Oe,tabIndex:v,tableValues:null,target:null,targetX:v,targetY:v,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Oe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:v,underlineThickness:v,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:v,values:null,vAlphabetic:v,vMathematical:v,vectorEffect:null,vHanging:v,vIdeographic:v,version:null,vertAdvY:v,vertOriginX:v,vertOriginY:v,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:v,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Nd=/^data[-\w.:]+$/i,ei=/-[a-z]/g,Sd=/[A-Z]/g;function vn(e,t){const n=tn(t);let r=t,u=Be;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(ei,yd);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!ei.test(i)){let a=i.replace(Sd,kd);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}u=Kr}return new u(r,t)}function kd(e){return"-"+e.toLowerCase()}function yd(e){return e.charAt(1).toUpperCase()}const Ld={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"},on=Da([Ia,xa,ka,ya,xd],"html"),lt=Da([Ia,xa,ka,ya,Id],"svg");function ti(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 La(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const ni=/[#.]/g;function Fd(e,t){const n=e||"",r={};let u=0,i,a;for(;u<n.length;){ni.lastIndex=u;const o=ni.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 Nr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Fa(e){return e.join(" ").trim()}const Sr={}.hasOwnProperty;function Oa(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=Fd(i,t),c.tagName=c.tagName.toLowerCase(),r&&Sr.call(r,c.tagName)&&(c.tagName=r[c.tagName]),Od(a))o.unshift(a);else{let h;for(h in a)Sr.call(a,h)&&Rd(e,c.properties,h,a[h])}for(;++l<o.length;)kr(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=vn(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=Nr(r):u.commaSeparated?a=ti(r):u.commaOrSpaceSeparated?a=Nr(ti(r).join(" ")):a=ri(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=ri(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 kr(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;)kr(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?kr(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function ri(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||tn(n)===tn(t)))return!0}return n}function Pd(e){const t=[];let n;for(n in e)Sr.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=Oa(on,"div"),Md=Oa(lt,"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=ui(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=ui(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 ui(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
81
|
+
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const dt={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/"},Ra={}.hasOwnProperty,Hd=Object.prototype;function Ud(e,t){const n=t||{};return Jr({file:n.file||void 0,location:!1,schema:n.space==="svg"?lt:on,verbose:n.verbose||!1},e)}function Jr(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},_n(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:Pa(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"},_n(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},_n(e,r,n),n}default:return n=zd(e,t),n}}function Pa(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=Jr(e,t[n]);r.push(u)}return r}function zd(e,t){const n=e.schema;e.schema=t.namespaceURI===dt.svg?lt:on;let r=-1;const u={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;Ra.call(Hd,l)||(u[l]=o.value)}const a=(e.schema.space==="svg"?Md:Ve)(t.tagName,u,Pa(e,t.childNodes));if(_n(e,t,a),a.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&_t(l.startTag),h=l&&l.endTag&&_t(l.endTag),f=Jr(e,o.content);c&&h&&e.file&&(f.position={start:c.end,end:h.start}),a.content=f}return e.schema=n,a}function _n(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=_t(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)Ra.call(n.attrs,a)&&(i[vn(e.schema,a).property]=_t(n.attrs[a]));n.startTag;const o=_t(n.startTag),l=n.endTag?_t(n.endTag):void 0,c={opening:o};l&&(c.closing=l),c.properties=i,t.data={position:c}}}return r}function _t(e){const t=ii({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=ii({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function ii(e){return e.line&&e.column?e:void 0}const qd={},jd={}.hasOwnProperty,wa=wr("type",{handlers:{root:Wd,element:Kd,text:$d,comment:Xd,doctype:Gd}});function Vd(e,t){const r=(t||qd).space;return wa(e,r==="svg"?lt:on)}function Wd(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Zr(e.children,n,t),Ft(e,n),n}function Qd(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Zr(e.children,n,t),Ft(e,n),n}function Gd(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Ft(e,t),t}function $d(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Ft(e,t),t}function Xd(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Ft(e,t),t}function Kd(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=lt);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:dt[a],childNodes:[],parentNode:null};return o.childNodes=Zr(e.children,o,r),Ft(e,o),e.tagName==="template"&&e.content&&(o.content=Qd(e.content,r)),o}function Jd(e,t,n){const r=vn(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?La(n):Fa(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=dt[r.space]}return u}function Zr(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const i=wa(e[r],n);i.parentNode=t,u.push(i)}return u}function Ft(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 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 Ne={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Ba(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 Ma(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function va(e){return e>=64976&&e<=65007||e1.has(e)}var k;(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"})(k||(k={}));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(k.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,Ba(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){Ma(t)?this._err(k.controlCharacterInInputStream):va(t)&&this._err(k.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var ne;(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"})(ne||(ne={}));function Ha(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 Ua=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 hr;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=(hr=String.fromCodePoint)!==null&&hr!==void 0?hr: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 be;(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"})(be||(be={}));const l1=32;var at;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(at||(at={}));function yr(e){return e>=be.ZERO&&e<=be.NINE}function c1(e){return e>=be.UPPER_A&&e<=be.UPPER_F||e>=be.LOWER_A&&e<=be.LOWER_F}function f1(e){return e>=be.UPPER_A&&e<=be.UPPER_Z||e>=be.LOWER_A&&e<=be.LOWER_Z||yr(e)}function h1(e){return e===be.EQUALS||f1(e)}var Te;(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"})(Te||(Te={}));var Je;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Je||(Je={}));class za{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Te.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Je.Strict}startEntity(t){this.decodeMode=t,this.state=Te.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Te.EntityStart:return t.charCodeAt(n)===be.NUM?(this.state=Te.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Te.NamedEntity,this.stateNamedEntity(t,n));case Te.NumericStart:return this.stateNumericStart(t,n);case Te.NumericDecimal:return this.stateNumericDecimal(t,n);case Te.NumericHex:return this.stateNumericHex(t,n);case Te.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|l1)===be.LOWER_X?(this.state=Te.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Te.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(yr(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(yr(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===be.SEMI)this.consumed+=1;else if(this.decodeMode===Je.Strict)return 0;return this.emitCodePoint(o1(this.result),this.consumed),this.errors&&(t!==be.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&at.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&at.VALUE_LENGTH)>>14,i!==0){if(a===be.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]&at.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]&~at.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case Te.NamedEntity:return this.result!==0&&(this.decodeMode!==Je.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Te.NumericDecimal:return this.emitNumericEntity(0,2);case Te.NumericHex:return this.emitNumericEntity(0,3);case Te.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Te.EntityStart:return 0}}}function Ya(e){let t="";const n=new za(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&at.BRANCH_LENGTH)>>7,i=t&at.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}Ya(Ua);Ya(i1);var w;(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/"})(w||(w={}));var mt;(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"})(mt||(mt={}));var we;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(we||(we={}));var _;(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"})(_||(_={}));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([[_.A,s.A],[_.ADDRESS,s.ADDRESS],[_.ANNOTATION_XML,s.ANNOTATION_XML],[_.APPLET,s.APPLET],[_.AREA,s.AREA],[_.ARTICLE,s.ARTICLE],[_.ASIDE,s.ASIDE],[_.B,s.B],[_.BASE,s.BASE],[_.BASEFONT,s.BASEFONT],[_.BGSOUND,s.BGSOUND],[_.BIG,s.BIG],[_.BLOCKQUOTE,s.BLOCKQUOTE],[_.BODY,s.BODY],[_.BR,s.BR],[_.BUTTON,s.BUTTON],[_.CAPTION,s.CAPTION],[_.CENTER,s.CENTER],[_.CODE,s.CODE],[_.COL,s.COL],[_.COLGROUP,s.COLGROUP],[_.DD,s.DD],[_.DESC,s.DESC],[_.DETAILS,s.DETAILS],[_.DIALOG,s.DIALOG],[_.DIR,s.DIR],[_.DIV,s.DIV],[_.DL,s.DL],[_.DT,s.DT],[_.EM,s.EM],[_.EMBED,s.EMBED],[_.FIELDSET,s.FIELDSET],[_.FIGCAPTION,s.FIGCAPTION],[_.FIGURE,s.FIGURE],[_.FONT,s.FONT],[_.FOOTER,s.FOOTER],[_.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[_.FORM,s.FORM],[_.FRAME,s.FRAME],[_.FRAMESET,s.FRAMESET],[_.H1,s.H1],[_.H2,s.H2],[_.H3,s.H3],[_.H4,s.H4],[_.H5,s.H5],[_.H6,s.H6],[_.HEAD,s.HEAD],[_.HEADER,s.HEADER],[_.HGROUP,s.HGROUP],[_.HR,s.HR],[_.HTML,s.HTML],[_.I,s.I],[_.IMG,s.IMG],[_.IMAGE,s.IMAGE],[_.INPUT,s.INPUT],[_.IFRAME,s.IFRAME],[_.KEYGEN,s.KEYGEN],[_.LABEL,s.LABEL],[_.LI,s.LI],[_.LINK,s.LINK],[_.LISTING,s.LISTING],[_.MAIN,s.MAIN],[_.MALIGNMARK,s.MALIGNMARK],[_.MARQUEE,s.MARQUEE],[_.MATH,s.MATH],[_.MENU,s.MENU],[_.META,s.META],[_.MGLYPH,s.MGLYPH],[_.MI,s.MI],[_.MO,s.MO],[_.MN,s.MN],[_.MS,s.MS],[_.MTEXT,s.MTEXT],[_.NAV,s.NAV],[_.NOBR,s.NOBR],[_.NOFRAMES,s.NOFRAMES],[_.NOEMBED,s.NOEMBED],[_.NOSCRIPT,s.NOSCRIPT],[_.OBJECT,s.OBJECT],[_.OL,s.OL],[_.OPTGROUP,s.OPTGROUP],[_.OPTION,s.OPTION],[_.P,s.P],[_.PARAM,s.PARAM],[_.PLAINTEXT,s.PLAINTEXT],[_.PRE,s.PRE],[_.RB,s.RB],[_.RP,s.RP],[_.RT,s.RT],[_.RTC,s.RTC],[_.RUBY,s.RUBY],[_.S,s.S],[_.SCRIPT,s.SCRIPT],[_.SEARCH,s.SEARCH],[_.SECTION,s.SECTION],[_.SELECT,s.SELECT],[_.SOURCE,s.SOURCE],[_.SMALL,s.SMALL],[_.SPAN,s.SPAN],[_.STRIKE,s.STRIKE],[_.STRONG,s.STRONG],[_.STYLE,s.STYLE],[_.SUB,s.SUB],[_.SUMMARY,s.SUMMARY],[_.SUP,s.SUP],[_.TABLE,s.TABLE],[_.TBODY,s.TBODY],[_.TEMPLATE,s.TEMPLATE],[_.TEXTAREA,s.TEXTAREA],[_.TFOOT,s.TFOOT],[_.TD,s.TD],[_.TH,s.TH],[_.THEAD,s.THEAD],[_.TITLE,s.TITLE],[_.TR,s.TR],[_.TRACK,s.TRACK],[_.TT,s.TT],[_.U,s.U],[_.UL,s.UL],[_.SVG,s.SVG],[_.VAR,s.VAR],[_.WBR,s.WBR],[_.XMP,s.XMP]]);function Ot(e){var t;return(t=m1.get(e))!==null&&t!==void 0?t:s.UNKNOWN}const B=s,p1={[w.HTML]:new Set([B.ADDRESS,B.APPLET,B.AREA,B.ARTICLE,B.ASIDE,B.BASE,B.BASEFONT,B.BGSOUND,B.BLOCKQUOTE,B.BODY,B.BR,B.BUTTON,B.CAPTION,B.CENTER,B.COL,B.COLGROUP,B.DD,B.DETAILS,B.DIR,B.DIV,B.DL,B.DT,B.EMBED,B.FIELDSET,B.FIGCAPTION,B.FIGURE,B.FOOTER,B.FORM,B.FRAME,B.FRAMESET,B.H1,B.H2,B.H3,B.H4,B.H5,B.H6,B.HEAD,B.HEADER,B.HGROUP,B.HR,B.HTML,B.IFRAME,B.IMG,B.INPUT,B.LI,B.LINK,B.LISTING,B.MAIN,B.MARQUEE,B.MENU,B.META,B.NAV,B.NOEMBED,B.NOFRAMES,B.NOSCRIPT,B.OBJECT,B.OL,B.P,B.PARAM,B.PLAINTEXT,B.PRE,B.SCRIPT,B.SECTION,B.SELECT,B.SOURCE,B.STYLE,B.SUMMARY,B.TABLE,B.TBODY,B.TD,B.TEMPLATE,B.TEXTAREA,B.TFOOT,B.TH,B.THEAD,B.TITLE,B.TR,B.TRACK,B.UL,B.WBR,B.XMP]),[w.MATHML]:new Set([B.MI,B.MO,B.MN,B.MS,B.MTEXT,B.ANNOTATION_XML]),[w.SVG]:new Set([B.TITLE,B.FOREIGN_OBJECT,B.DESC]),[w.XLINK]:new Set,[w.XML]:new Set,[w.XMLNS]:new Set},Lr=new Set([B.H1,B.H2,B.H3,B.H4,B.H5,B.H6]);_.STYLE,_.SCRIPT,_.XMP,_.IFRAME,_.NOEMBED,_.NOFRAMES,_.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 le={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>=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 ut(e){return T1(e)||Wt(e)}function ai(e){return ut(e)||E1(e)}function An(e){return e+32}function qa(e){return e===p.SPACE||e===p.LINE_FEED||e===p.TABULATION||e===p.FORM_FEED}function si(e){return qa(e)||e===p.SOLIDUS||e===p.GREATER_THAN_SIGN}function b1(e){return e===p.NULL?k.nullCharacterReference:e>1114111?k.characterReferenceOutsideUnicodeRange:Ba(e)?k.surrogateCharacterReference:va(e)?k.noncharacterCharacterReference:Ma(e)||e===p.CARRIAGE_RETURN?k.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 za(Ua,(r,u)=>{this.preprocessor.pos=this.entityStartPos+u-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(k.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(k.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==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ne.START_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ne.END_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:ne.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:ne.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(Ha(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(k.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=Ot(t.tagName),t.type===ne.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(k.endTagWithAttributes),t.selfClosing&&this._err(k.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 ne.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ne.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ne.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:ne.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=qa(t)?ne.WHITESPACE_CHARACTER:t===p.NULL?ne.NULL_CHARACTER:ne.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(ne.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 p.LESS_THAN_SIGN:{this.state=E.TAG_OPEN;break}case p.AMPERSAND:{this._startCharacterReference();break}case p.NULL:{this._err(k.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=E.RCDATA_LESS_THAN_SIGN;break}case p.NULL:{this._err(k.unexpectedNullCharacter),this._emitChars(oe);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case p.LESS_THAN_SIGN:{this.state=E.RAWTEXT_LESS_THAN_SIGN;break}case p.NULL:{this._err(k.unexpectedNullCharacter),this._emitChars(oe);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case p.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_LESS_THAN_SIGN;break}case p.NULL:{this._err(k.unexpectedNullCharacter),this._emitChars(oe);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case p.NULL:{this._err(k.unexpectedNullCharacter),this._emitChars(oe);break}case p.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(ut(t))this._createStartTagToken(),this.state=E.TAG_NAME,this._stateTagName(t);else switch(t){case p.EXCLAMATION_MARK:{this.state=E.MARKUP_DECLARATION_OPEN;break}case p.SOLIDUS:{this.state=E.END_TAG_OPEN;break}case p.QUESTION_MARK:{this._err(k.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t);break}case p.EOF:{this._err(k.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(k.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=E.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(ut(t))this._createEndTagToken(),this.state=E.TAG_NAME,this._stateTagName(t);else switch(t){case p.GREATER_THAN_SIGN:{this._err(k.missingEndTagName),this.state=E.DATA;break}case p.EOF:{this._err(k.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(k.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=E.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=E.BEFORE_ATTRIBUTE_NAME;break}case p.SOLIDUS:{this.state=E.SELF_CLOSING_START_TAG;break}case p.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case p.NULL:{this._err(k.unexpectedNullCharacter),n.tagName+=oe;break}case p.EOF:{this._err(k.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Wt(t)?An(t):t)}}_stateRcdataLessThanSign(t){t===p.SOLIDUS?this.state=E.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=E.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){ut(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 p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=E.BEFORE_ATTRIBUTE_NAME,!1;case p.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=E.SELF_CLOSING_START_TAG,!1;case p.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===p.SOLIDUS?this.state=E.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){ut(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 p.SOLIDUS:{this.state=E.SCRIPT_DATA_END_TAG_OPEN;break}case p.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){ut(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===p.HYPHEN_MINUS?(this.state=E.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===p.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 p.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case p.NULL:{this._err(k.unexpectedNullCharacter),this._emitChars(oe);break}case p.EOF:{this._err(k.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case p.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case p.NULL:{this._err(k.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(oe);break}case p.EOF:{this._err(k.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case p.HYPHEN_MINUS:{this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case p.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case p.NULL:{this._err(k.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(oe);break}case p.EOF:{this._err(k.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===p.SOLIDUS?this.state=E.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ut(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){ut(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(Ne.SCRIPT,!1)&&si(this.preprocessor.peek(Ne.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Ne.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 p.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case p.NULL:{this._err(k.unexpectedNullCharacter),this._emitChars(oe);break}case p.EOF:{this._err(k.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case p.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case p.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case p.NULL:{this._err(k.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(oe);break}case p.EOF:{this._err(k.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.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=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case p.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case p.NULL:{this._err(k.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(oe);break}case p.EOF:{this._err(k.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===p.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(Ne.SCRIPT,!1)&&si(this.preprocessor.peek(Ne.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Ne.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 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=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case p.EQUALS_SIGN:{this._err(k.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 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=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case p.EQUALS_SIGN:{this._leaveAttrName(),this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case p.QUOTATION_MARK:case p.APOSTROPHE:case p.LESS_THAN_SIGN:{this._err(k.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case p.NULL:{this._err(k.unexpectedNullCharacter),this.currentAttr.name+=oe;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=E.SELF_CLOSING_START_TAG;break}case p.EQUALS_SIGN:{this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case p.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case p.EOF:{this._err(k.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=E.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=E.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case p.APOSTROPHE:{this.state=E.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(k.missingAttributeValue),this.state=E.DATA,this.emitCurrentTagToken();break}default:this.state=E.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case p.QUOTATION_MARK:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case p.AMPERSAND:{this._startCharacterReference();break}case p.NULL:{this._err(k.unexpectedNullCharacter),this.currentAttr.value+=oe;break}case p.EOF:{this._err(k.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case p.APOSTROPHE:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case p.AMPERSAND:{this._startCharacterReference();break}case p.NULL:{this._err(k.unexpectedNullCharacter),this.currentAttr.value+=oe;break}case p.EOF:{this._err(k.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=E.BEFORE_ATTRIBUTE_NAME;break}case p.AMPERSAND:{this._startCharacterReference();break}case p.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case p.NULL:{this._err(k.unexpectedNullCharacter),this.currentAttr.value+=oe;break}case p.QUOTATION_MARK:case p.APOSTROPHE:case p.LESS_THAN_SIGN:case p.EQUALS_SIGN:case p.GRAVE_ACCENT:{this._err(k.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case p.EOF:{this._err(k.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=E.BEFORE_ATTRIBUTE_NAME;break}case p.SOLIDUS:{this._leaveAttrValue(),this.state=E.SELF_CLOSING_START_TAG;break}case p.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case p.EOF:{this._err(k.eofInTag),this._emitEOFToken();break}default:this._err(k.missingWhitespaceBetweenAttributes),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case p.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=E.DATA,this.emitCurrentTagToken();break}case p.EOF:{this._err(k.eofInTag),this._emitEOFToken();break}default:this._err(k.unexpectedSolidusInTag),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case p.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(n);break}case p.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case p.NULL:{this._err(k.unexpectedNullCharacter),n.data+=oe;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Ne.DASH_DASH,!0)?(this._createCommentToken(Ne.DASH_DASH.length+1),this.state=E.COMMENT_START):this._consumeSequenceIfMatch(Ne.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Ne.DOCTYPE.length+1),this.state=E.DOCTYPE):this._consumeSequenceIfMatch(Ne.CDATA_START,!0)?this.inForeignNode?this.state=E.CDATA_SECTION:(this._err(k.cdataInHtmlContent),this._createCommentToken(Ne.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=E.BOGUS_COMMENT):this._ensureHibernation()||(this._err(k.incorrectlyOpenedComment),this._createCommentToken(2),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case p.HYPHEN_MINUS:{this.state=E.COMMENT_START_DASH;break}case p.GREATER_THAN_SIGN:{this._err(k.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 p.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case p.GREATER_THAN_SIGN:{this._err(k.abruptClosingOfEmptyComment),this.state=E.DATA,this.emitCurrentComment(n);break}case p.EOF:{this._err(k.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 p.HYPHEN_MINUS:{this.state=E.COMMENT_END_DASH;break}case p.LESS_THAN_SIGN:{n.data+="<",this.state=E.COMMENT_LESS_THAN_SIGN;break}case p.NULL:{this._err(k.unexpectedNullCharacter),n.data+=oe;break}case p.EOF:{this._err(k.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=E.COMMENT_LESS_THAN_SIGN_BANG;break}case p.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=E.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===p.HYPHEN_MINUS?this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=E.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===p.HYPHEN_MINUS?this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=E.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==p.GREATER_THAN_SIGN&&t!==p.EOF&&this._err(k.nestedComment),this.state=E.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case p.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case p.EOF:{this._err(k.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 p.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(n);break}case p.EXCLAMATION_MARK:{this.state=E.COMMENT_END_BANG;break}case p.HYPHEN_MINUS:{n.data+="-";break}case p.EOF:{this._err(k.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 p.HYPHEN_MINUS:{n.data+="--!",this.state=E.COMMENT_END_DASH;break}case p.GREATER_THAN_SIGN:{this._err(k.incorrectlyClosedComment),this.state=E.DATA,this.emitCurrentComment(n);break}case p.EOF:{this._err(k.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=E.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_NAME;break}case p.GREATER_THAN_SIGN:{this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case p.EOF:{this._err(k.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingWhitespaceBeforeDoctypeName),this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Wt(t))this._createDoctypeToken(String.fromCharCode(An(t))),this.state=E.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(k.unexpectedNullCharacter),this._createDoctypeToken(oe),this.state=E.DOCTYPE_NAME;break}case p.GREATER_THAN_SIGN:{this._err(k.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.EOF:{this._err(k.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 p.SPACE:case p.LINE_FEED:case p.TABULATION:case p.FORM_FEED:{this.state=E.AFTER_DOCTYPE_NAME;break}case p.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case p.NULL:{this._err(k.unexpectedNullCharacter),n.name+=oe;break}case p.EOF:{this._err(k.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=E.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Ne.PUBLIC,!1)?this.state=E.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Ne.SYSTEM,!1)?this.state=E.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(k.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=E.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=E.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case p.QUOTATION_MARK:{this._err(k.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{this._err(k.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(k.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.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=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(k.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case p.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case p.NULL:{this._err(k.unexpectedNullCharacter),n.publicId+=oe;break}case p.GREATER_THAN_SIGN:{this._err(k.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.EOF:{this._err(k.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=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case p.NULL:{this._err(k.unexpectedNullCharacter),n.publicId+=oe;break}case p.GREATER_THAN_SIGN:{this._err(k.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.EOF:{this._err(k.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=E.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case p.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case p.QUOTATION_MARK:{this._err(k.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{this._err(k.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case p.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.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=E.DATA;break}case p.QUOTATION_MARK:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case p.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.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=E.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case p.QUOTATION_MARK:{this._err(k.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{this._err(k.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(k.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.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=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case p.APOSTROPHE:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case p.GREATER_THAN_SIGN:{this._err(k.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case p.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case p.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case p.NULL:{this._err(k.unexpectedNullCharacter),n.systemId+=oe;break}case p.GREATER_THAN_SIGN:{this._err(k.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.EOF:{this._err(k.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=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case p.NULL:{this._err(k.unexpectedNullCharacter),n.systemId+=oe;break}case p.GREATER_THAN_SIGN:{this._err(k.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.EOF:{this._err(k.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=E.DATA;break}case p.EOF:{this._err(k.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(k.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case p.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=E.DATA;break}case p.NULL:{this._err(k.unexpectedNullCharacter);break}case p.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case p.RIGHT_SQUARE_BRACKET:{this.state=E.CDATA_SECTION_BRACKET;break}case p.EOF:{this._err(k.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===p.RIGHT_SQUARE_BRACKET?this.state=E.CDATA_SECTION_END:(this._emitChars("]"),this.state=E.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case p.GREATER_THAN_SIGN:{this.state=E.DATA;break}case p.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(p.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&ai(this.preprocessor.peek(1))?E.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){ai(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===p.SEMICOLON&&this._err(k.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const ja=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),oi=new Set([...ja,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),yn=new Set([s.APPLET,s.CAPTION,s.HTML,s.MARQUEE,s.OBJECT,s.TABLE,s.TD,s.TEMPLATE,s.TH]),A1=new Set([...yn,s.OL,s.UL]),C1=new Set([...yn,s.BUTTON]),li=new Set([s.ANNOTATION_XML,s.MI,s.MN,s.MO,s.MS,s.MTEXT]),ci=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)===w.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])!==w.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(Lr,w.HTML)}popUntilTableCellPopped(){this.popUntilPopped(I1,w.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,w.HTML)}clearBackToTableBodyContext(){this.clearBackTo(_1,w.HTML)}clearBackToTableRowContext(){this.clearBackTo(D1,w.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 w.HTML:{if(u===t)return!0;if(n.has(u))return!1;break}case w.SVG:{if(ci.has(u))return!1;break}case w.MATHML:{if(li.has(u))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,yn)}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 w.HTML:{if(Lr.has(n))return!0;if(yn.has(n))return!1;break}case w.SVG:{if(ci.has(n))return!1;break}case w.MATHML:{if(li.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===w.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])===w.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])===w.HTML)switch(this.tagIDs[n]){case t:return!0;case s.OPTION:case s.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;ja.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;oi.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&oi.has(this.currentTagId);)this.pop()}}const dr=3;var je;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(je||(je={}));const fi={type:je.Marker};class S1{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===je.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<dr)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<dr)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>=dr&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(fi)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:je.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:je.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(fi);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===je.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===je.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===je.Element&&n.element===t)}}const it={createDocument(){return{nodeName:"#document",mode:we.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};it.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(it.isTextNode(n)){n.value+=t;return}}it.appendChild(e,it.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&it.isTextNode(r)?r.value+=t:it.insertBefore(e,it.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}}},Va="html",k1="about:legacy-compat",y1="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Wa=["+//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//"],L1=[...Wa,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],F1=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Qa=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],O1=[...Qa,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function hi(e,t){return t.some(n=>e.startsWith(n))}function R1(e){return e.name===Va&&e.publicId===null&&(e.systemId===null||e.systemId===k1)}function P1(e){if(e.name!==Va)return we.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===y1)return we.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),F1.has(n))return we.QUIRKS;let r=t===null?L1:Wa;if(hi(n,r))return we.QUIRKS;if(r=t===null?Qa:O1,hi(n,r))return we.LIMITED_QUIRKS}return we.NO_QUIRKS}const di={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:w.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:w.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:w.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:w.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:w.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:w.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:w.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:w.XML}],["xml:space",{prefix:"xml",name:"space",namespace:w.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:w.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:w.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===mt.COLOR||r===mt.SIZE||r===mt.FACE)||U1.has(t)}function Ga(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===w1){e.attrs[t].name=B1;break}}function $a(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 eu(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=Ot(e.tagName))}function q1(e,t){return t===w.MATHML&&(e===s.MI||e===s.MO||e===s.MN||e===s.MS||e===s.MTEXT)}function j1(e,t,n){if(t===w.MATHML&&e===s.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===mt.ENCODING){const u=n[r].value.toLowerCase();return u===di.TEXT_HTML||u===di.APPLICATION_XML}}return t===w.SVG&&(e===s.FOREIGN_OBJECT||e===s.DESC||e===s.TITLE)}function V1(e,t,n,r){return(!r||r===w.HTML)&&j1(e,t,n)||(!r||r===w.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},Xa=new Set([s.TABLE,s.TBODY,s.TFOOT,s.THEAD,s.TR]),mi={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:it,onParseError:null};class pi{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={...mi,...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 S1(this.treeAdapter),this.fragmentContextID=r?Ot(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={...mi,...n};t??(t=r.treeAdapter.createElement(_.TEMPLATE,w.HTML,[]));const u=r.treeAdapter.createElement("documentmock",w.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)===w.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,w.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=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)===_.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==w.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,w.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,w.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(_.HTML,w.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===ne.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)===_.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===w.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===s.MGLYPH||t.tagID===s.MALIGNMARK)&&!this._isIntegrationPoint(r,n,w.HTML)}_processToken(t){switch(t.type){case ne.CHARACTER:{this.onCharacter(t);break}case ne.NULL_CHARACTER:{this.onNullCharacter(t);break}case ne.COMMENT:{this.onComment(t);break}case ne.DOCTYPE:{this.onDoctype(t);break}case ne.START_TAG:{this._processStartTag(t);break}case ne.END_TAG:{this.onEndTag(t);break}case ne.EOF:{this.onEof(t);break}case ne.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===je.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 Xa.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)===w.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:{qt(this,t);break}case T.BEFORE_HTML:{Gt(this,t);break}case T.BEFORE_HEAD:{$t(this,t);break}case T.IN_HEAD:{Xt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Kt(this,t);break}case T.AFTER_HEAD:{Jt(this,t);break}case T.IN_BODY:case T.IN_CAPTION:case T.IN_CELL:case T.IN_TEMPLATE:{Ja(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:{mr(this,t);break}case T.IN_TABLE_TEXT:{us(this,t);break}case T.IN_COLUMN_GROUP:{Ln(this,t);break}case T.AFTER_BODY:{Fn(this,t);break}case T.AFTER_AFTER_BODY:{xn(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){xp(this,t);return}switch(this.insertionMode){case T.INITIAL:{qt(this,t);break}case T.BEFORE_HTML:{Gt(this,t);break}case T.BEFORE_HEAD:{$t(this,t);break}case T.IN_HEAD:{Xt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Kt(this,t);break}case T.AFTER_HEAD:{Jt(this,t);break}case T.TEXT:{this._insertCharacters(t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{mr(this,t);break}case T.IN_COLUMN_GROUP:{Ln(this,t);break}case T.AFTER_BODY:{Fn(this,t);break}case T.AFTER_AFTER_BODY:{xn(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Fr(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:{Fr(this,t);break}case T.IN_TABLE_TEXT:{jt(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,k.misplacedDoctype);break}case T.IN_TABLE_TEXT:{jt(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,k.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Np(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{qt(this,t);break}case T.BEFORE_HTML:{im(this,t);break}case T.BEFORE_HEAD:{sm(this,t);break}case T.IN_HEAD:{Ue(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:{xe(this,t);break}case T.IN_TABLE:{Nt(this,t);break}case T.IN_TABLE_TEXT:{jt(this,t);break}case T.IN_CAPTION:{op(this,t);break}case T.IN_COLUMN_GROUP:{ru(this,t);break}case T.IN_TABLE_BODY:{zn(this,t);break}case T.IN_ROW:{Yn(this,t);break}case T.IN_CELL:{fp(this,t);break}case T.IN_SELECT:{ss(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?Sp(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case T.INITIAL:{qt(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:{Un(this,t);break}case T.TEXT:{Jm(this,t);break}case T.IN_TABLE:{nn(this,t);break}case T.IN_TABLE_TEXT:{jt(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:{Or(this,t);break}case T.IN_ROW:{as(this,t);break}case T.IN_CELL:{hp(this,t);break}case T.IN_SELECT:{os(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:{cs(this,t);break}case T.IN_FRAMESET:{gp(this,t);break}case T.AFTER_FRAMESET:{Cp(this,t);break}case T.AFTER_AFTER_BODY:{xn(this,t);break}}}onEof(t){switch(this.insertionMode){case T.INITIAL:{qt(this,t);break}case T.BEFORE_HTML:{Gt(this,t);break}case T.BEFORE_HEAD:{$t(this,t);break}case T.IN_HEAD:{Xt(this,t);break}case T.IN_HEAD_NO_SCRIPT:{Kt(this,t);break}case T.AFTER_HEAD:{Jt(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:{ns(this,t);break}case T.TEXT:{Zm(this,t);break}case T.IN_TABLE_TEXT:{jt(this,t);break}case T.IN_TEMPLATE:{ls(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:{nu(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 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:{Ka(this,t);break}case T.IN_TABLE:case T.IN_TABLE_BODY:case T.IN_ROW:{mr(this,t);break}case T.IN_TABLE_TEXT:{rs(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):ts(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=Ot(r);if(e._isElementCausesFosterParenting(u))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);u===s.TEMPLATE&&i===w.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 tu(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 Fr(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 nu(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?we.QUIRKS:P1(t);R1(t)||e._err(t,k.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=T.BEFORE_HTML}function qt(e,t){e._err(t,k.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,we.QUIRKS),e.insertionMode=T.BEFORE_HTML,e._processToken(t)}function im(e,t){t.tagID===s.HTML?(e._insertElement(t,w.HTML),e.insertionMode=T.BEFORE_HEAD):Gt(e,t)}function am(e,t){const n=t.tagID;(n===s.HTML||n===s.HEAD||n===s.BODY||n===s.BR)&&Gt(e,t)}function Gt(e,t){e._insertFakeRootElement(),e.insertionMode=T.BEFORE_HEAD,e._processToken(t)}function sm(e,t){switch(t.tagID){case s.HTML:{xe(e,t);break}case s.HEAD:{e._insertElement(t,w.HTML),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD;break}default:$t(e,t)}}function om(e,t){const n=t.tagID;n===s.HEAD||n===s.BODY||n===s.HTML||n===s.BR?$t(e,t):e._err(t,k.endTagWithoutMatchingOpenElement)}function $t(e,t){e._insertFakeElement(_.HEAD,s.HEAD),e.headElement=e.openElements.current,e.insertionMode=T.IN_HEAD,e._processToken(t)}function Ue(e,t){switch(t.tagID){case s.HTML:{xe(e,t);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{e._appendElement(t,w.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,w.HTML),e.insertionMode=T.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=T.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(T.IN_TEMPLATE);break}case s.HEAD:{e._err(t,k.misplacedStartTagForHeadElement);break}default:Xt(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:{Xt(e,t);break}case s.TEMPLATE:{Tt(e,t);break}default:e._err(t,k.endTagWithoutMatchingOpenElement)}}function Tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==s.TEMPLATE&&e._err(t,k.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,k.endTagWithoutMatchingOpenElement)}function Xt(e,t){e.openElements.pop(),e.insertionMode=T.AFTER_HEAD,e._processToken(t)}function cm(e,t){switch(t.tagID){case s.HTML:{xe(e,t);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{Ue(e,t);break}case s.NOSCRIPT:{e._err(t,k.nestedNoscriptInHead);break}default:Kt(e,t)}}function fm(e,t){switch(t.tagID){case s.NOSCRIPT:{e.openElements.pop(),e.insertionMode=T.IN_HEAD;break}case s.BR:{Kt(e,t);break}default:e._err(t,k.endTagWithoutMatchingOpenElement)}}function Kt(e,t){const n=t.type===ne.EOF?k.openElementsLeftAfterEof:k.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:{xe(e,t);break}case s.BODY:{e._insertElement(t,w.HTML),e.framesetOk=!1,e.insertionMode=T.IN_BODY;break}case s.FRAMESET:{e._insertElement(t,w.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,k.abandonedHeadElementChild),e.openElements.push(e.headElement,s.HEAD),Ue(e,t),e.openElements.remove(e.headElement);break}case s.HEAD:{e._err(t,k.misplacedStartTagForHeadElement);break}default:Jt(e,t)}}function dm(e,t){switch(t.tagID){case s.BODY:case s.HTML:case s.BR:{Jt(e,t);break}case s.TEMPLATE:{Tt(e,t);break}default:e._err(t,k.endTagWithoutMatchingOpenElement)}}function Jt(e,t){e._insertFakeElement(_.BODY,s.BODY),e.insertionMode=T.IN_BODY,Hn(e,t)}function Hn(e,t){switch(t.type){case ne.CHARACTER:{Ja(e,t);break}case ne.WHITESPACE_CHARACTER:{Ka(e,t);break}case ne.COMMENT:{Fr(e,t);break}case ne.START_TAG:{xe(e,t);break}case ne.END_TAG:{Un(e,t);break}case ne.EOF:{ns(e,t);break}}}function Ka(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Ja(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,w.HTML),e.insertionMode=T.IN_FRAMESET)}function Tm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,w.HTML)}function bm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),Lr.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,w.HTML)}function gm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,w.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,w.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,w.HTML)}function Dm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,w.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,w.HTML),e.framesetOk=!1}function xm(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(_.A);n&&(tu(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,w.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Im(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,w.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Nm(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(s.NOBR)&&(tu(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,w.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Sm(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,w.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function km(e,t){e.treeAdapter.getDocumentMode(e.document)!==we.QUIRKS&&e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,w.HTML),e.framesetOk=!1,e.insertionMode=T.IN_TABLE}function Za(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,w.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function es(e){const t=Ha(e,mt.TYPE);return t!=null&&t.toLowerCase()===W1}function ym(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,w.HTML),es(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Lm(e,t){e._appendElement(t,w.HTML),t.ackSelfClosing=!0}function Fm(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._appendElement(t,w.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Om(e,t){t.tagName=_.IMG,t.tagID=s.IMG,Za(e,t)}function Rm(e,t){e._insertElement(t,w.HTML),e.skipNextNewLine=!0,e.tokenizer.state=le.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,le.RAWTEXT)}function wm(e,t){e.framesetOk=!1,e._switchToTextParsing(t,le.RAWTEXT)}function Ei(e,t){e._switchToTextParsing(t,le.RAWTEXT)}function Bm(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,w.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,w.HTML)}function vm(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,w.HTML)}function Hm(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(s.RTC),e._insertElement(t,w.HTML)}function Um(e,t){e._reconstructActiveFormattingElements(),Ga(t),eu(t),t.selfClosing?e._appendElement(t,w.MATHML):e._insertElement(t,w.MATHML),t.ackSelfClosing=!0}function zm(e,t){e._reconstructActiveFormattingElements(),$a(t),eu(t),t.selfClosing?e._appendElement(t,w.SVG):e._insertElement(t,w.SVG),t.ackSelfClosing=!0}function Ti(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,w.HTML)}function xe(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:{Za(e,t);break}case s.HR:{Fm(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:{Ue(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:{km(e,t);break}case s.INPUT:{ym(e,t);break}case s.PARAM:case s.TRACK:case s.SOURCE:{Lm(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:{Sm(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:{Ei(e,t);break}case s.FRAMESET:{Em(e,t);break}case s.TEXTAREA:{Rm(e,t);break}case s.NOSCRIPT:{e.options.scriptingEnabled?Ei(e,t):Ti(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:Ti(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,cs(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(_.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(_.BR,s.BR),e.openElements.pop(),e.framesetOk=!1}function ts(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 Un(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:{tu(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:{Tt(e,t);break}default:ts(e,t)}}function ns(e,t){e.tmplInsertionModeStack.length>0?ls(e,t):nu(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,k.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function mr(e,t){if(Xa.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 ne.CHARACTER:{us(e,t);break}case ne.WHITESPACE_CHARACTER:{rs(e,t);break}}else ln(e,t)}function ep(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,w.HTML),e.insertionMode=T.IN_CAPTION}function tp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,w.HTML),e.insertionMode=T.IN_COLUMN_GROUP}function np(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(_.COLGROUP,s.COLGROUP),e.insertionMode=T.IN_COLUMN_GROUP,ru(e,t)}function rp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,w.HTML),e.insertionMode=T.IN_TABLE_BODY}function up(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(_.TBODY,s.TBODY),e.insertionMode=T.IN_TABLE_BODY,zn(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){es(t)?e._appendElement(t,w.HTML):ln(e,t),t.ackSelfClosing=!0}function sp(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,w.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Nt(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:{Ue(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:ln(e,t)}}function nn(e,t){switch(t.tagID){case s.TABLE:{e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode());break}case s.TEMPLATE:{Tt(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:ln(e,t)}}function ln(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Hn(e,t),e.fosterParentingEnabled=n}function rs(e,t){e.pendingCharacterTokens.push(t)}function us(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function jt(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)ln(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const is=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;is.has(n)?e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=T.IN_TABLE,Nt(e,t)):xe(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&&nn(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:Un(e,t)}}function ru(e,t){switch(t.tagID){case s.HTML:{xe(e,t);break}case s.COL:{e._appendElement(t,w.HTML),t.ackSelfClosing=!0;break}case s.TEMPLATE:{Ue(e,t);break}default:Ln(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:{Tt(e,t);break}case s.COL:break;default:Ln(e,t)}}function Ln(e,t){e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=T.IN_TABLE,e._processToken(t))}function zn(e,t){switch(t.tagID){case s.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,w.HTML),e.insertionMode=T.IN_ROW;break}case s.TH:case s.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(_.TR,s.TR),e.insertionMode=T.IN_ROW,Yn(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,Nt(e,t));break}default:Nt(e,t)}}function Or(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,nn(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:nn(e,t)}}function Yn(e,t){switch(t.tagID){case s.TH:case s.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,w.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,zn(e,t));break}default:Nt(e,t)}}function as(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,Or(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,Or(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:nn(e,t)}}function fp(e,t){const n=t.tagID;is.has(n)?(e.openElements.hasInTableScope(s.TD)||e.openElements.hasInTableScope(s.TH))&&(e._closeTableCell(),Yn(e,t)):xe(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(),as(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:break;default:Un(e,t)}}function ss(e,t){switch(t.tagID){case s.HTML:{xe(e,t);break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._insertElement(t,w.HTML);break}case s.OPTGROUP:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._insertElement(t,w.HTML);break}case s.HR:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._appendElement(t,w.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:{Ue(e,t);break}}}function os(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:{Tt(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)):ss(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)):os(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:{Ue(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,Nt(e,t);break}case s.COL:{e.tmplInsertionModeStack[0]=T.IN_COLUMN_GROUP,e.insertionMode=T.IN_COLUMN_GROUP,ru(e,t);break}case s.TR:{e.tmplInsertionModeStack[0]=T.IN_TABLE_BODY,e.insertionMode=T.IN_TABLE_BODY,zn(e,t);break}case s.TD:case s.TH:{e.tmplInsertionModeStack[0]=T.IN_ROW,e.insertionMode=T.IN_ROW,Yn(e,t);break}default:e.tmplInsertionModeStack[0]=T.IN_BODY,e.insertionMode=T.IN_BODY,xe(e,t)}}function Ep(e,t){t.tagID===s.TEMPLATE&&Tt(e,t)}function ls(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):nu(e,t)}function Tp(e,t){t.tagID===s.HTML?xe(e,t):Fn(e,t)}function cs(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 Fn(e,t)}function Fn(e,t){e.insertionMode=T.IN_BODY,Hn(e,t)}function bp(e,t){switch(t.tagID){case s.HTML:{xe(e,t);break}case s.FRAMESET:{e._insertElement(t,w.HTML);break}case s.FRAME:{e._appendElement(t,w.HTML),t.ackSelfClosing=!0;break}case s.NOFRAMES:{Ue(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:{xe(e,t);break}case s.NOFRAMES:{Ue(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?xe(e,t):xn(e,t)}function xn(e,t){e.insertionMode=T.IN_BODY,Hn(e,t)}function _p(e,t){switch(t.tagID){case s.HTML:{xe(e,t);break}case s.NOFRAMES:{Ue(e,t);break}}}function xp(e,t){t.chars=oe,e._insertCharacters(t)}function Ip(e,t){e._insertCharacters(t),e.framesetOk=!1}function fs(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==w.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Np(e,t){if(z1(t))fs(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===w.MATHML?Ga(t):r===w.SVG&&(Y1(t),$a(t)),eu(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function Sp(e,t){if(t.tagID===s.P||t.tagID===s.BR){fs(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)===w.HTML){e._endTagOutsideForeignContent(t);break}const u=e.treeAdapter.getTagName(r);if(u.toLowerCase()===t.tagName){t.tagName=u,e.openElements.shortenToLength(n);break}}}_.AREA,_.BASE,_.BASEFONT,_.BGSOUND,_.BR,_.COL,_.EMBED,_.FRAME,_.HR,_.IMG,_.INPUT,_.KEYGEN,_.LINK,_.META,_.PARAM,_.SOURCE,_.TRACK,_.WBR;const kp=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,yp=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),bi={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function hs(e,t){const n=Hp(e),r=wr("type",{handlers:{root:Lp,element:Fp,text:Op,comment:ms,doctype:Rp,raw:wp},unknown:Bp}),u={parser:n?new pi(bi):pi.getFragmentParser(void 0,bi),handle(o){r(o,u)},stitches:!1,options:t||{}};r(e,u),Rt(u,Qe());const i=n?u.parser.document:u.parser.getFragment(),a=Ud(i,{file:u.options.file});return u.stitches&&ke(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 ds(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Lp(e,t){ds(e.children,t)}function Fp(e,t){Mp(e,t),ds(e.children,t),vp(e,t)}function Op(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:ne.CHARACTER,chars:e.value,location:cn(e)};Rt(t,Qe(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Rp(e,t){const n={type:ne.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:cn(e)};Rt(t,Qe(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=hs({type:"root",children:e.children},t.options);n.children=r.children}ms({type:"comment",value:{stitch:n}},t)}function ms(e,t){const n=e.value,r={type:ne.COMMENT,data:n,location:cn(e)};Rt(t,Qe(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,ps(t,Qe(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(kp,"<$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 Rt(e,t){ps(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 ps(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;Rt(t,Qe(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:dt.html;u===dt.html&&n==="svg"&&(u=dt.svg);const i=Vd({...e,children:[]},{space:u===dt.svg?"svg":"html"}),a={type:ne.START_TAG,tagName:n,tagID:Ot(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:cn(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;Rt(t,Bn(e));const r={type:ne.END_TAG,tagName:n,tagID:Ot(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:cn(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 cn(e){const t=Qe(e)||{line:void 0,column:void 0,offset:void 0},n=Bn(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?et({...e,children:[]}):et(e)}function zp(e){return function(t,n){return hs(t,{...e,file:n})}}const Es=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 uu(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]=Es(e[n]);return uu(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 uu(t);function t(n){return n.tagName===e}}function uu(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=Es(t.test);return function(u){ke(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=Vt(t.content,i),h=c&&!Array.isArray(c)?[c]:c,f=Vt(t.rel,i)||Xp,m=typeof f=="string"?Nr(f):f,d=Vt(t.target,i),b=Vt(t.properties,i);if(b&&Object.assign(i.properties,et(b)),m.length>0&&(i.properties.rel=[...m]),d&&(i.properties.target=d),h){const x=Vt(t.contentProperties,i)||{};i.children.push({type:"element",tagName:"span",properties:et(x),children:et(h)})}}}})}}function Vt(e,t){return typeof e=="function"?e(t):e}function Ts(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+"`");ke(e,"element",function(n){let r=Ts(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 gi(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"?Ai(e.value):!1:Ai(e)}function Ai(e){return e.replace(iE,"")===""}var Ct={},pr,Ci;function sE(){if(Ci)return pr;Ci=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=`
|
|
82
|
+
`,c="/",h="*",f="",m="comment",d="declaration";pr=function(x,L){if(typeof x!="string")throw new TypeError("First argument must be a string");if(!x)return[];L=L||{};var I=1,O=1;function P(M){var U=M.match(t);U&&(I+=U.length);var D=M.lastIndexOf(l);O=~D?M.length-D:O+M.length}function Y(){var M={line:I,column:O};return function(U){return U.position=new W(M),$(),U}}function W(M){this.start=M,this.end={line:I,column:O},this.source=L.source}W.prototype.content=x;function y(M){var U=new Error(L.source+":"+I+":"+O+": "+M);if(U.reason=M,U.filename=L.source,U.line=I,U.column=O,U.source=x,!L.silent)throw U}function Q(M){var U=M.exec(x);if(U){var D=U[0];return P(D),x=x.slice(D.length),U}}function $(){Q(n)}function R(M){var U;for(M=M||[];U=N();)U!==!1&&M.push(U);return M}function N(){var M=Y();if(!(c!=x.charAt(0)||h!=x.charAt(1))){for(var U=2;f!=x.charAt(U)&&(h!=x.charAt(U)||c!=x.charAt(U+1));)++U;if(U+=2,f===x.charAt(U-1))return y("End of comment missing");var D=x.slice(2,U-2);return O+=2,P(D),x=x.slice(U),O+=2,M({type:m,comment:D})}}function H(){var M=Y(),U=Q(r);if(U){if(N(),!Q(u))return y("property missing ':'");var D=Q(i),te=M({type:d,property:b(U[0].replace(e,f)),value:D?b(D[0].replace(e,f)):f});return Q(a),te}}function z(){var M=[];R(M);for(var U;U=H();)U!==!1&&(M.push(U),R(M));return M}return $(),z()};function b(x){return x?x.replace(o,f):f}return pr}var Di;function oE(){if(Di)return Ct;Di=1;var e=Ct&&Ct.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.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 Ct}var lE=oE();const _i=Rr(lE),cE=_i.default||_i,iu={}.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"]),bs="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"?lt:on,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=gs(u,e,void 0);return i&&typeof i!="string"?i:u.create(e,u.Fragment,{children:i||void 0},void 0)}function gs(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=lt,e.schema=u),e.ancestors.push(t);const i=Cs(e,t.tagName,!1),a=IE(e,t);let o=su(e,t);return mE.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!aE(l):!0})),As(e,a,i,t),au(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)}rn(e,t.position)}function gE(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);rn(e,t.position)}function AE(e,t,n){const r=e.schema;let u=r;t.name==="svg"&&r.space==="html"&&(u=lt,e.schema=u),e.ancestors.push(t);const i=t.name===null?e.Fragment:Cs(e,t.name,!0),a=NE(e,t),o=su(e,t);return As(e,a,i,t),au(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function CE(e,t,n){const r={};return au(r,su(e,t)),e.create(t,e.Fragment,r,n)}function DE(e,t){return t.value}function As(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function au(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=Qe(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"&&iu.call(t.properties,u)){const i=SE(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 rn(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 rn(e,t.position);else i=r.value===null?!0:r.value;n[u]=i}return n}function su(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=gs(e,i,a);o!==void 0&&n.push(o)}return n}function SE(e,t,n){const r=vn(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?La(n):Fa(n)),r.property==="style"){let u=typeof n=="object"?n:kE(e,String(n));return e.stylePropertyNameCase==="css"&&(u=yE(u)),["style",u]}return[e.elementAttributeNameCase==="react"&&r.space?Ld[r.property]||r.property:r.attribute,n]}}function kE(e,t){const n={};try{cE(t,r)}catch(u){if(!e.ignoreInvalidStyle){const i=u,a=new _e("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=bs+"#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,FE)),n[a]=i}}function Cs(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=gi(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=gi(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const u=r.value;return iu.call(e.components,u)?e.components[u]:u}if(e.evaluater)return e.evaluater.evaluateExpression(r);rn(e)}function rn(e,t){const n=new _e("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=bs+"#cannot-handle-mdx-estrees-without-createevaluater",n}function yE(e){const t={};let n;for(n in e)iu.call(e,n)&&(t[LE(n)]=e[n]);return t}function LE(e){let t=e.replace(hE,OE);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function FE(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?_s(e):"value"in e?e.value:""}function vE(e){return e.type==="text"?e.value:"children"in e?_s(e):""}function _s(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=vE(e.children[t]);return n.join("")}const HE={},xi=new Ds;function UE(e){const n=(e||HE).prefix||"";return function(r){xi.reset(),ke(r,"element",function(u){Ts(u)&&!u.properties.id&&(u.properties.id=n+xi.slug(ME(u)))})}}const St=(...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 Ii;(e=>{e.clickable=`
|
|
83
83
|
px-2
|
|
84
84
|
min-h-[calc(44/16*1rem)]
|
|
85
85
|
border
|
|
@@ -156,356 +156,7 @@ Check the top-level render call using <`+d+">."),O}var B=De,q=Symbol.for("react.
|
|
|
156
156
|
${n.focus}
|
|
157
157
|
peer-focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
158
158
|
peer-focus-visible:ring-[calc(2/16*1rem)]
|
|
159
|
-
`})(e.Peer||(e.Peer={}))})(
|
|
160
|
-
* @license React
|
|
161
|
-
* react-jsx-runtime.production.js
|
|
162
|
-
*
|
|
163
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
164
|
-
*
|
|
165
|
-
* This source code is licensed under the MIT license found in the
|
|
166
|
-
* LICENSE file in the root directory of this source tree.
|
|
167
|
-
*/var Mi;function ob(){if(Mi)return Kt;Mi=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 Nn={};/**
|
|
168
|
-
* @license React
|
|
169
|
-
* react-jsx-runtime.development.js
|
|
170
|
-
*
|
|
171
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
172
|
-
*
|
|
173
|
-
* This source code is licensed under the MIT license found in the
|
|
174
|
-
* LICENSE file in the root directory of this source tree.
|
|
175
|
-
*/var vi;function lb(){return vi||(vi=1,process.env.NODE_ENV!=="production"&&function(){function e(d){if(d==null)return null;if(typeof d=="function")return d.$$typeof===Se?null:d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case S:return"Fragment";case G:return"Portal";case J:return"Profiler";case $:return"StrictMode";case Y:return"Suspense";case H:return"SuspenseList"}if(typeof d=="object")switch(typeof d.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),d.$$typeof){case k:return(d.displayName||"Context")+".Provider";case w:return(d._context.displayName||"Context")+".Consumer";case z:var O=d.render;return d=d.displayName,d||(d=O.displayName||O.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case j:return O=d.displayName||null,O!==null?O:e(d.type)||"Memo";case D:O=d._payload,d=d._init;try{return e(d(O))}catch{}}return null}function t(d){return""+d}function n(d){try{t(d);var O=!1}catch{O=!0}if(O){O=console;var R=O.error,W=typeof Symbol=="function"&&Symbol.toStringTag&&d[Symbol.toStringTag]||d.constructor.name||"Object";return R.call(O,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",W),t(d)}}function r(){}function u(){if(be===0){Be=console.log,ge=console.info,Ve=console.warn,Le=console.error,ze=console.group,je=console.groupCollapsed,Ge=console.groupEnd;var d={configurable:!0,enumerable:!0,value:r,writable:!0};Object.defineProperties(console,{info:d,log:d,warn:d,error:d,group:d,groupCollapsed:d,groupEnd:d})}be++}function i(){if(be--,be===0){var d={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:le({},d,{value:Be}),info:le({},d,{value:ge}),warn:le({},d,{value:Ve}),error:le({},d,{value:Le}),group:le({},d,{value:ze}),groupCollapsed:le({},d,{value:je}),groupEnd:le({},d,{value:Ge})})}0>be&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function a(d){if(nt===void 0)try{throw Error()}catch(R){var O=R.stack.trim().match(/\n( *(at )?)/);nt=O&&O[1]||"",Tt=-1<R.stack.indexOf(`
|
|
176
|
-
at`)?" (<anonymous>)":-1<R.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
177
|
-
`+nt+d+Tt}function o(d,O){if(!d||rt)return"";var R=Xe.get(d);if(R!==void 0)return R;rt=!0,R=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var W=null;W=de.H,de.H=null,u();try{var ae={DetermineComponentFrameRoot:function(){try{if(O){var fe=function(){throw Error()};if(Object.defineProperty(fe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(fe,[])}catch(me){var Fe=me}Reflect.construct(d,[],fe)}else{try{fe.call()}catch(me){Fe=me}d.call(fe.prototype)}}else{try{throw Error()}catch(me){Fe=me}(fe=d())&&typeof fe.catch=="function"&&fe.catch(function(){})}}catch(me){if(me&&Fe&&typeof me.stack=="string")return[me.stack,Fe.stack]}return[null,null]}};ae.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var _=Object.getOwnPropertyDescriptor(ae.DetermineComponentFrameRoot,"name");_&&_.configurable&&Object.defineProperty(ae.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var I=ae.DetermineComponentFrameRoot(),V=I[0],Z=I[1];if(V&&Z){var X=V.split(`
|
|
178
|
-
`),ce=Z.split(`
|
|
179
|
-
`);for(I=_=0;_<X.length&&!X[_].includes("DetermineComponentFrameRoot");)_++;for(;I<ce.length&&!ce[I].includes("DetermineComponentFrameRoot");)I++;if(_===X.length||I===ce.length)for(_=X.length-1,I=ce.length-1;1<=_&&0<=I&&X[_]!==ce[I];)I--;for(;1<=_&&0<=I;_--,I--)if(X[_]!==ce[I]){if(_!==1||I!==1)do if(_--,I--,0>I||X[_]!==ce[I]){var Ce=`
|
|
180
|
-
`+X[_].replace(" at new "," at ");return d.displayName&&Ce.includes("<anonymous>")&&(Ce=Ce.replace("<anonymous>",d.displayName)),typeof d=="function"&&Xe.set(d,Ce),Ce}while(1<=_&&0<=I);break}}}finally{rt=!1,de.H=W,i(),Error.prepareStackTrace=R}return X=(X=d?d.displayName||d.name:"")?a(X):"",typeof d=="function"&&Xe.set(d,X),X}function l(d){if(d==null)return"";if(typeof d=="function"){var O=d.prototype;return o(d,!(!O||!O.isReactComponent))}if(typeof d=="string")return a(d);switch(d){case Y:return a("Suspense");case H:return a("SuspenseList")}if(typeof d=="object")switch(d.$$typeof){case z:return d=o(d.render,!1),d;case j:return l(d.type);case D:O=d._payload,d=d._init;try{return l(d(O))}catch{}}return""}function c(){var d=de.A;return d===null?null:d.getOwner()}function h(d){if(A.call(d,"key")){var O=Object.getOwnPropertyDescriptor(d,"key").get;if(O&&O.isReactWarning)return!1}return d.key!==void 0}function f(d,O){function R(){lt||(lt=!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)",O))}R.isReactWarning=!0,Object.defineProperty(d,"key",{get:R,configurable:!0})}function p(){var d=e(this.type);return At[d]||(At[d]=!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.")),d=this.props.ref,d!==void 0?d:null}function m(d,O,R,W,ae,_){return R=_.ref,d={$$typeof:q,type:d,key:O,props:_,_owner:ae},(R!==void 0?R:null)!==null?Object.defineProperty(d,"ref",{enumerable:!1,get:p}):Object.defineProperty(d,"ref",{enumerable:!1,value:null}),d._store={},Object.defineProperty(d._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(d,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(d.props),Object.freeze(d)),d}function T(d,O,R,W,ae,_){if(typeof d=="string"||typeof d=="function"||d===S||d===J||d===$||d===Y||d===H||d===ne||typeof d=="object"&&d!==null&&(d.$$typeof===D||d.$$typeof===j||d.$$typeof===k||d.$$typeof===w||d.$$typeof===z||d.$$typeof===we||d.getModuleId!==void 0)){var I=O.children;if(I!==void 0)if(W)if(C(I)){for(W=0;W<I.length;W++)x(I[W],d);Object.freeze&&Object.freeze(I)}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 x(I,d)}else I="",(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(I+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),d===null?W="null":C(d)?W="array":d!==void 0&&d.$$typeof===q?(W="<"+(e(d.type)||"Unknown")+" />",I=" Did you accidentally export a JSX literal instead of a component?"):W=typeof d,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",W,I);if(A.call(O,"key")){I=e(d);var V=Object.keys(O).filter(function(X){return X!=="key"});W=0<V.length?"{key: someKey, "+V.join(": ..., ")+": ...}":"{key: someKey}",ct[I+W]||(V=0<V.length?"{"+V.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
181
|
-
let props = %s;
|
|
182
|
-
<%s {...props} />
|
|
183
|
-
React keys must be passed directly to JSX without using spread:
|
|
184
|
-
let props = %s;
|
|
185
|
-
<%s key={someKey} {...props} />`,W,I,V,I),ct[I+W]=!0)}if(I=null,R!==void 0&&(n(R),I=""+R),h(O)&&(n(O.key),I=""+O.key),"key"in O){R={};for(var Z in O)Z!=="key"&&(R[Z]=O[Z])}else R=O;return I&&f(R,typeof d=="function"?d.displayName||d.name||"Unknown":d),m(d,I,_,ae,c(),R)}function x(d,O){if(typeof d=="object"&&d&&d.$$typeof!==kt){if(C(d))for(var R=0;R<d.length;R++){var W=d[R];F(W)&&y(W,O)}else if(F(d))d._store&&(d._store.validated=1);else if(d===null||typeof d!="object"?R=null:(R=Ee&&d[Ee]||d["@@iterator"],R=typeof R=="function"?R:null),typeof R=="function"&&R!==d.entries&&(R=R.call(d),R!==d))for(;!(d=R.next()).done;)F(d.value)&&y(d.value,O)}}function F(d){return typeof d=="object"&&d!==null&&d.$$typeof===q}function y(d,O){if(d._store&&!d._store.validated&&d.key==null&&(d._store.validated=1,O=P(O),!ft[O])){ft[O]=!0;var R="";d&&d._owner!=null&&d._owner!==c()&&(R=null,typeof d._owner.tag=="number"?R=e(d._owner.type):typeof d._owner.name=="string"&&(R=d._owner.name),R=" It was passed a child from "+R+".");var W=de.getCurrentStack;de.getCurrentStack=function(){var ae=l(d.type);return W&&(ae+=W()||""),ae},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',O,R),de.getCurrentStack=W}}function P(d){var O="",R=c();return R&&(R=e(R.type))&&(O=`
|
|
186
|
-
|
|
187
|
-
Check the render method of \``+R+"`."),O||(d=e(d))&&(O=`
|
|
188
|
-
|
|
189
|
-
Check the top-level render call using <`+d+">."),O}var B=De,q=Symbol.for("react.transitional.element"),G=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),J=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),k=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),Ee=Symbol.iterator,Se=Symbol.for("react.client.reference"),de=B.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=Object.prototype.hasOwnProperty,le=Object.assign,we=Symbol.for("react.client.reference"),C=Array.isArray,be=0,Be,ge,Ve,Le,ze,je,Ge;r.__reactDisabledLog=!0;var nt,Tt,rt=!1,Xe=new(typeof WeakMap=="function"?WeakMap:Map),kt=Symbol.for("react.client.reference"),lt,At={},ct={},ft={};Nn.Fragment=S,Nn.jsx=function(d,O,R,W,ae){return T(d,O,R,!1,W,ae)},Nn.jsxs=function(d,O,R,W,ae){return T(d,O,R,!0,W,ae)}}()),Nn}var Hi;function cb(){return Hi||(Hi=1,process.env.NODE_ENV==="production"?Dr.exports=ob():Dr.exports=lb()),Dr.exports}var K=cb();const ie=(...e)=>e.filter(Boolean).join(" ");var Ue;(e=>{e.clickable=`
|
|
190
|
-
px-2
|
|
191
|
-
min-h-[calc(44/16*1rem)]
|
|
192
|
-
border
|
|
193
|
-
border-transparent
|
|
194
|
-
rounded-lg
|
|
195
|
-
hover:bg-solid-grey-50
|
|
196
|
-
`,e.selected=`
|
|
197
|
-
rounded-full
|
|
198
|
-
bg-yellow-50
|
|
199
|
-
`;const t=`
|
|
200
|
-
focus-visible:outline
|
|
201
|
-
focus-visible:outline-4
|
|
202
|
-
focus-visible:outline-black
|
|
203
|
-
focus-visible:ring-yellow-300
|
|
204
|
-
`;e.focusRectCondensed=`
|
|
205
|
-
${t}
|
|
206
|
-
focus-visible:-outline-offset-4
|
|
207
|
-
focus-visible:ring-[calc(6/16*1rem)]
|
|
208
|
-
focus-visible:ring-inset
|
|
209
|
-
`,e.focusRectCondensedWithBg=`
|
|
210
|
-
${e.focusRectCondensed}
|
|
211
|
-
focus-visible:bg-yellow-300
|
|
212
|
-
`,e.focusRect=`
|
|
213
|
-
${t}
|
|
214
|
-
focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
215
|
-
focus-visible:ring-[calc(2/16*1rem)]
|
|
216
|
-
`,e.focusRounded=`
|
|
217
|
-
${e.focusRect}
|
|
218
|
-
focus-visible:rounded
|
|
219
|
-
`,e.focusCard=`
|
|
220
|
-
${e.focusRect}
|
|
221
|
-
focus-visible:rounded-2xl
|
|
222
|
-
sm:focus-visible:rounded-3xl
|
|
223
|
-
`,e.focusRectWithBg=`
|
|
224
|
-
${e.focusRect}
|
|
225
|
-
focus-visible:bg-yellow-300
|
|
226
|
-
`,e.focusRoundedWithBg=`
|
|
227
|
-
${e.focusRectWithBg}
|
|
228
|
-
focus-visible:rounded
|
|
229
|
-
`,e.hoverUnderline=`
|
|
230
|
-
hover:underline
|
|
231
|
-
hover:underline-offset-[calc(3/16*1rem)]
|
|
232
|
-
`,e.underline=`
|
|
233
|
-
underline
|
|
234
|
-
underline-offset-[calc(3/16*1rem)]
|
|
235
|
-
hover:decoration-[calc(3/16*1rem)]
|
|
236
|
-
`,e.underlineNoDeco=`
|
|
237
|
-
underline
|
|
238
|
-
underline-offset-[calc(3/16*1rem)]
|
|
239
|
-
`,e.popover=`
|
|
240
|
-
min-w-fit
|
|
241
|
-
w-auto
|
|
242
|
-
py-2
|
|
243
|
-
bg-white
|
|
244
|
-
shadow-1
|
|
245
|
-
rounded-lg
|
|
246
|
-
border
|
|
247
|
-
border-solid-grey-420
|
|
248
|
-
has-[>:nth-child(7)]:rounded-r-none
|
|
249
|
-
`,e.popoverPositionBottomRight=`
|
|
250
|
-
absolute
|
|
251
|
-
top-11
|
|
252
|
-
right-0
|
|
253
|
-
`,e.popoverPositionBottomLeft=`
|
|
254
|
-
absolute
|
|
255
|
-
top-11
|
|
256
|
-
left-0
|
|
257
|
-
`,(n=>{n.focus=`
|
|
258
|
-
peer-focus-visible:outline
|
|
259
|
-
peer-focus-visible:outline-4
|
|
260
|
-
peer-focus-visible:outline-black
|
|
261
|
-
peer-focus-visible:ring-yellow-300
|
|
262
|
-
`,n.focusRect=`
|
|
263
|
-
${n.focus}
|
|
264
|
-
peer-focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
265
|
-
peer-focus-visible:ring-[calc(2/16*1rem)]
|
|
266
|
-
`})(e.Peer||(e.Peer={}))})(Ue||(Ue={}));const fb=`
|
|
267
|
-
inline-block
|
|
268
|
-
text-button
|
|
269
|
-
text-center
|
|
270
|
-
cursor-pointer
|
|
271
|
-
select-none
|
|
272
|
-
touch-manipulation
|
|
273
|
-
whitespace-nowrap
|
|
274
|
-
outline-offset-2
|
|
275
|
-
border
|
|
276
|
-
border-solid
|
|
277
|
-
border-blue-900
|
|
278
|
-
hover:border-blue-1000
|
|
279
|
-
active:border-blue-1200
|
|
280
|
-
disabled:border-solid-gray-500
|
|
281
|
-
disabled:cursor-not-allowed
|
|
282
|
-
`,Ui=`
|
|
283
|
-
text-white
|
|
284
|
-
bg-blue-900
|
|
285
|
-
hover:bg-blue-1000
|
|
286
|
-
active:bg-blue-1200
|
|
287
|
-
disabled:bg-solid-gray-500
|
|
288
|
-
disabled:text-white
|
|
289
|
-
${Ue.hoverUnderline}
|
|
290
|
-
${Ue.focusRounded}
|
|
291
|
-
`,zi=`
|
|
292
|
-
text-blue-900
|
|
293
|
-
hover:text-blue-1000
|
|
294
|
-
active:text-blue-1200
|
|
295
|
-
bg-transparent
|
|
296
|
-
hover:bg-blue-200
|
|
297
|
-
active:bg-blue-300
|
|
298
|
-
disabled:bg-transparent
|
|
299
|
-
disabled:text-solid-gray-500
|
|
300
|
-
${Ue.hoverUnderline}
|
|
301
|
-
${Ue.focusRounded}
|
|
302
|
-
`,ji=`
|
|
303
|
-
bg-transparent
|
|
304
|
-
text-blue-900
|
|
305
|
-
hover:text-blue-1000
|
|
306
|
-
active:text-blue-1200
|
|
307
|
-
hover:bg-blue-200
|
|
308
|
-
active:bg-blue-300
|
|
309
|
-
disabled:bg-transparent
|
|
310
|
-
disabled:text-solid-gray-500
|
|
311
|
-
${Ue.underlineNoDeco}
|
|
312
|
-
${Ue.focusRoundedWithBg}
|
|
313
|
-
`,hb={primary:Ui,secondary:zi,tertiary:ji,"solid-fill":Ui,outline:zi,text:ji},db={lg:`
|
|
314
|
-
p-4
|
|
315
|
-
text-button
|
|
316
|
-
leading-snug
|
|
317
|
-
rounded-lg
|
|
318
|
-
`,md:`
|
|
319
|
-
px-4
|
|
320
|
-
py-3
|
|
321
|
-
text-button
|
|
322
|
-
leading-snug
|
|
323
|
-
rounded-lg
|
|
324
|
-
`,sm:`
|
|
325
|
-
px-3
|
|
326
|
-
py-1.5
|
|
327
|
-
my-1
|
|
328
|
-
text-button
|
|
329
|
-
leading-snug
|
|
330
|
-
rounded-md
|
|
331
|
-
`,xs:`
|
|
332
|
-
px-2
|
|
333
|
-
py-1.5
|
|
334
|
-
my-2
|
|
335
|
-
text-button-sm
|
|
336
|
-
rounded
|
|
337
|
-
`},mb=e=>hb[e],pb=e=>db[e],Eu=e=>{const{as:t="button",variant:n="solid-fill",size:r="lg",className:u,children:i,...a}=e;return K.jsx(t,{className:ie(fb,mb(n),pb(r),u),...a,children:i})};Eu.displayName="Button";const bu=De.createContext({id:""}),zs=e=>{const{className:t,children:n,...r}=e,u={id:De.useId()};return K.jsx(bu.Provider,{value:u,children:K.jsx("article",{"aria-labelledby":u.id,"aria-describedby":`${u.id}-desc`,className:ie(`
|
|
338
|
-
border
|
|
339
|
-
border-solid
|
|
340
|
-
border-solid-gray-500
|
|
341
|
-
rounded-2xl
|
|
342
|
-
sm:rounded-3xl
|
|
343
|
-
text-solid-gray-900
|
|
344
|
-
overflow-hidden
|
|
345
|
-
`,t),...r,children:n})})},Eb=e=>{const{className:t,...n}=e;return K.jsx("img",{className:ie(`
|
|
346
|
-
object-cover
|
|
347
|
-
mb-2
|
|
348
|
-
`,t),...n})},bb=e=>{const{className:t,children:n,...r}=e,u=De.useContext(bu);return K.jsx("div",{id:u.id,className:ie(`
|
|
349
|
-
text-base
|
|
350
|
-
leading-[2rem]
|
|
351
|
-
font-medium
|
|
352
|
-
first:pt-4
|
|
353
|
-
pt-2
|
|
354
|
-
last:pb-4
|
|
355
|
-
px-6
|
|
356
|
-
`,t),...r,children:n})},gb=e=>{const{className:t,children:n,...r}=e,u=De.useContext(bu);return K.jsx("div",{id:`${u.id}-desc`,className:ie(`
|
|
357
|
-
text-base-sm
|
|
358
|
-
leading-[1.85rem]
|
|
359
|
-
first:pt-4
|
|
360
|
-
pt-2
|
|
361
|
-
last:pb-4
|
|
362
|
-
px-6
|
|
363
|
-
`,t),...r,children:n})},Tb=e=>{const{className:t,children:n,...r}=e;return K.jsx("div",{className:ie(`
|
|
364
|
-
text-base-sm
|
|
365
|
-
leading-[1.85rem]
|
|
366
|
-
first:pt-4
|
|
367
|
-
pt-2
|
|
368
|
-
last:pb-4
|
|
369
|
-
px-6
|
|
370
|
-
`,t),...r,children:n})},fn=De.forwardRef((e,t)=>{const{className:n,altText:r="",opticalSize:u=24,children:i,...a}=e,o={16:"!text-[16px]",20:"!text-[20px]",24:"!text-[24px]",40:"!text-[40px]",44:"!text-[44px]",48:"!text-[48px]"}[u];return K.jsxs(K.Fragment,{children:[K.jsx("span",{"aria-hidden":"true",className:ie(n,o,`
|
|
371
|
-
font-icon
|
|
372
|
-
font-light
|
|
373
|
-
inline-block
|
|
374
|
-
leading-none
|
|
375
|
-
align-middle
|
|
376
|
-
whitespace-nowrap
|
|
377
|
-
`),...a,ref:t,children:i}),K.jsx("span",{className:"sr-only",children:r})]})});fn.displayName="Icon";const js=De.createContext({href:""}),Ab=({href:e,className:t,children:n,...r})=>{const u=`
|
|
378
|
-
grid
|
|
379
|
-
outline-offset-4
|
|
380
|
-
rounded-2xl
|
|
381
|
-
sm:rounded-3xl
|
|
382
|
-
w-full h-full
|
|
383
|
-
${Ue.focusCard}
|
|
384
|
-
`,i=`
|
|
385
|
-
hover:text-blue-1000
|
|
386
|
-
hover:border-blue-1000
|
|
387
|
-
`,a=e==null?void 0:e.startsWith("https://");return K.jsx(js.Provider,{value:{href:e},children:K.jsx("a",{className:ie(u),href:e,target:a?"_blank":"",children:K.jsx(zs,{className:ie(i,t),...r,children:n})})})},Cb=({className:e,children:t})=>{const{href:n}=De.useContext(js),r=`
|
|
388
|
-
flex
|
|
389
|
-
justify-between
|
|
390
|
-
items-center
|
|
391
|
-
`,u=n.startsWith("https://");return K.jsx(bb,{className:ie(e,r),children:n===""?t:K.jsxs(K.Fragment,{children:[K.jsxs("span",{children:[t,u?K.jsx(fn,{opticalSize:16,className:"ml-1",children:"open_in_new"}):""]}),u?"":K.jsx(fn,{opticalSize:16,children:"arrow_forward"})]})})},Db=e=>{const{className:t,children:n,...r}=e;return K.jsx("code",{className:ie(`
|
|
392
|
-
bg-solid-gray-50
|
|
393
|
-
font-mono
|
|
394
|
-
`,t),...r,children:n})},Ys=`
|
|
395
|
-
text-h-med-m
|
|
396
|
-
sm:text-h-med
|
|
397
|
-
`,_b=e=>{const{className:t,children:n,...r}=e;return K.jsx("article",{itemScope:!0,itemType:"https://schema.org/FAQPage",children:K.jsx("dl",{className:ie(`
|
|
398
|
-
flex
|
|
399
|
-
flex-col
|
|
400
|
-
gap-8
|
|
401
|
-
`,t),itemScope:!0,itemProp:"mainEntity",itemType:"https://schema.org/Question",...r,children:n})})},xb=e=>{const{className:t,children:n,...r}=e;return K.jsxs("dt",{className:ie(`
|
|
402
|
-
flex
|
|
403
|
-
flex-row
|
|
404
|
-
gap-8
|
|
405
|
-
mt-8
|
|
406
|
-
`,Ys,t),itemProp:"name",...r,children:[K.jsx("span",{"aria-hidden":"true",children:"Q"}),K.jsx("span",{children:n})]})},Nb=e=>{const{className:t,children:n,...r}=e;return K.jsxs("dd",{className:ie(`
|
|
407
|
-
flex
|
|
408
|
-
flex-row
|
|
409
|
-
items-start
|
|
410
|
-
gap-8
|
|
411
|
-
`,t),itemScope:!0,itemProp:"acceptedAnswer",itemType:"https://schema.org/Answer",...r,children:[K.jsx("span",{className:ie(Ys,"!leading-none"),"aria-hidden":"true",children:"A"}),K.jsx("span",{itemProp:"text",children:n})]})},yb=e=>{const{className:t,children:n,...r}=e;return K.jsx("h1",{className:ie(`
|
|
412
|
-
text-h-lg-m
|
|
413
|
-
sm:text-h-lg
|
|
414
|
-
pt-[2rem]
|
|
415
|
-
sm:pt-[6.5rem]
|
|
416
|
-
`,t),...r,children:n})},Ib=e=>{const{className:t,children:n,...r}=e;return K.jsx("h2",{className:ie(`
|
|
417
|
-
text-h-med-m
|
|
418
|
-
sm:text-h-med
|
|
419
|
-
pt-[4rem]
|
|
420
|
-
sm:pt-[4.5rem]
|
|
421
|
-
`,t),...r,children:n})},kb=e=>{const{className:t,children:n,...r}=e;return K.jsx("h3",{className:ie(`
|
|
422
|
-
text-h-sm-m
|
|
423
|
-
sm:text-h-sm
|
|
424
|
-
pt-[4rem]
|
|
425
|
-
sm:pt-[4.5rem]
|
|
426
|
-
`,t),...r,children:n})},Sb=e=>{const{className:t,children:n,...r}=e;return K.jsx("h4",{className:ie(`
|
|
427
|
-
text-h-xs-m
|
|
428
|
-
sm:text-h-xs
|
|
429
|
-
pt-[3.5rem]
|
|
430
|
-
sm:pt-[4.5rem]
|
|
431
|
-
`,t),...r,children:n})},Fb=e=>{const{className:t,children:n,...r}=e;return K.jsx("h5",{className:ie(`
|
|
432
|
-
text-h-xxs-m
|
|
433
|
-
sm:text-h-xxs
|
|
434
|
-
pt-[3rem]
|
|
435
|
-
sm:pt-[4rem]
|
|
436
|
-
`,t),...r,children:n})},Lb=e=>{const{className:t,children:n,...r}=e;return K.jsx("h6",{className:ie(`
|
|
437
|
-
text-h-xxs-m
|
|
438
|
-
sm:text-h-xxs
|
|
439
|
-
pt-[2.5rem]
|
|
440
|
-
sm:pt-[3.5rem]
|
|
441
|
-
`,t),...r,children:n})},gu=e=>{var t;const{as:n="a",className:r,children:u,...i}=e,a=`
|
|
442
|
-
cursor-pointer
|
|
443
|
-
text-blue-1000
|
|
444
|
-
active:text-orange-700
|
|
445
|
-
visited:text-magenta-900
|
|
446
|
-
${Ue.focusRoundedWithBg}
|
|
447
|
-
${Ue.underline}
|
|
448
|
-
disabled:border-solid-gray-500
|
|
449
|
-
[overflow-wrap:anywhere]
|
|
450
|
-
`;return(t=i.href)!=null&&t.startsWith("http")||i.target==="_blank"?K.jsxs(n,{className:ie(a,r),target:"_blank",rel:"noopener noreferrer",...i,children:[K.jsx("span",{children:u}),K.jsx(fn,{opticalSize:16,altText:"Opens in new tab",className:"ml-0.5",children:"open_in_new"})]}):K.jsx(n,{className:ie(a,r),...i,children:u})};gu.displayName="Link";const Ur=e=>{const{className:t,children:n,...r}=e;return K.jsx("ul",{className:ie(`
|
|
451
|
-
list-disc
|
|
452
|
-
[&_&]:list-circle
|
|
453
|
-
[&_&_&]:list-square
|
|
454
|
-
pl-8
|
|
455
|
-
`,t),...r,children:n})},Ob=e=>{const{className:t,children:n,...r}=e;return K.jsx("ol",{className:ie(`
|
|
456
|
-
list-decimal
|
|
457
|
-
[&_&]:list-lower-latin
|
|
458
|
-
pl-8
|
|
459
|
-
`,t),...r,children:n})},Rb=e=>{const{className:t,children:n,...r}=e;return K.jsx("pre",{className:ie(`
|
|
460
|
-
p-4
|
|
461
|
-
bg-solid-gray-50
|
|
462
|
-
rounded-lg
|
|
463
|
-
whitespace-pre-wrap
|
|
464
|
-
overflow-y-scroll
|
|
465
|
-
`,t),...r,children:n})},Qn=`
|
|
466
|
-
border
|
|
467
|
-
border-collapse
|
|
468
|
-
border-solid-grey-420
|
|
469
|
-
`,Pb=e=>{const{className:t,children:n,...r}=e;return K.jsx("table",{className:ie(Qn,t),...r,children:n})},wb=e=>{const{className:t,children:n,...r}=e;return K.jsx("caption",{className:ie("text-left",t),...r,children:n})},Bb=e=>{const{className:t,children:n,...r}=e;return K.jsx("thead",{className:ie(t),...r,children:n})},Mb=e=>{const{className:t,children:n,...r}=e;return K.jsx("tbody",{className:ie(t),...r,children:n})},vb=e=>{const{className:t,children:n,...r}=e;return K.jsx("th",{className:ie(`
|
|
470
|
-
p-2
|
|
471
|
-
bg-[#f8f8fb]
|
|
472
|
-
text-label
|
|
473
|
-
text-left
|
|
474
|
-
`,Qn,t),...r,children:n})},Hb=e=>{const{className:t,children:n,...r}=e;return K.jsx("tr",{className:ie("",Qn,t),...r,children:n})},Ub=e=>{const{className:t,children:n,...r}=e;return K.jsx("td",{className:ie(`
|
|
475
|
-
p-2
|
|
476
|
-
text-label
|
|
477
|
-
`,Qn,t),...r,children:n})},zb=e=>{const{className:t,children:n,...r}=e;return K.jsx("div",{className:ie(`
|
|
478
|
-
w-full
|
|
479
|
-
overflow-x-auto
|
|
480
|
-
whitespace-nowrap
|
|
481
|
-
print:overflow-visible
|
|
482
|
-
print:whitespace-normal
|
|
483
|
-
`,t),...r,children:n})},jb=De.forwardRef((e,t)=>{const{className:n,children:r,...u}=e;return K.jsx("ul",{ref:t,role:"menu",className:ie(n,`
|
|
484
|
-
font-normal
|
|
485
|
-
whitespace-nowrap
|
|
486
|
-
|
|
487
|
-
min-w-fit
|
|
488
|
-
w-auto
|
|
489
|
-
py-2
|
|
490
|
-
bg-white
|
|
491
|
-
shadow-1
|
|
492
|
-
rounded-lg
|
|
493
|
-
border
|
|
494
|
-
border-solid-grey-420
|
|
495
|
-
has-[>:nth-child(7)]:rounded-r-none
|
|
496
|
-
|
|
497
|
-
`),...u,children:r})});jb.displayName="PopoverMenu";const Yb=De.forwardRef((e,t)=>{const{className:n,children:r,...u}=e,i=`
|
|
498
|
-
py-1.5 pl-1.5 pr-4
|
|
499
|
-
flex
|
|
500
|
-
items-center
|
|
501
|
-
gap-x-1.5
|
|
502
|
-
hover:bg-solid-grey-50
|
|
503
|
-
${Ue.focusRectCondensedWithBg}
|
|
504
|
-
`,a=`
|
|
505
|
-
!text-blue-1000
|
|
506
|
-
!bg-blue-100
|
|
507
|
-
font-bold
|
|
508
|
-
`,o=u["aria-current"]??!1;return K.jsx("li",{role:"presentation",children:K.jsxs("a",{"aria-current":o,ref:t,role:"menuitem",className:ie(i,o&&a),...u,children:[K.jsx(fn,{opticalSize:20,className:`flex-none ${!o&&"invisible"}`,children:"check"}),K.jsx("span",{className:Ue.hoverUnderline,children:r})]})})});Yb.displayName="PopoverMenuItem";const vt=e=>e.type==="containerDirective"||e.type==="leafDirective"||e.type==="textDirective",Tu=e=>e.type==="containerDirective",qb=e=>e.type==="textDirective",Wb=e=>e.type==="heading",Vb=()=>e=>{Pe(e,vt,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"}}})},$b=()=>e=>{Pe(e,vt,t=>{t.data=t.data??{};const n=Ze(t.name,t.attributes||{});t.data.hName=n.tagName,t.data.hProperties=n.properties})},Qb=()=>e=>{Pe(e,qb,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=Ze(r,t.attributes).properties})},Gb=()=>e=>{Pe(e,Tu,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=Ze(u,t.attributes).properties})},Xb=()=>e=>{Pe(e,Tu,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=Ze(n,t.attributes).properties,t.children.forEach(r=>{if(!vt(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=Ze(u,r.attributes).properties})})},Kb=()=>e=>{Pe(e,vt,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=Ze(n,t.attributes).properties,t.children.forEach(r=>{if(!vt(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=Ze(u,r.attributes).properties})})},Jb=()=>e=>{Pe(e,Tu,t=>{if(t.name!=="faq")return;t.data=t.data??{};const n="dl";t.data.hName=n,t.data.hProperties=Ze(n,t.attributes||{}).properties,t.children.forEach(r=>{if(!vt(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=Ze(u,r.attributes||{}).properties})})},Zb=()=>(e,t)=>{const n=[],r=new Hs;Pe(e,Wb,i=>{const a={id:r.slug(an(i)),depth:i.depth,value:an(i)};n.push(a)}),t.data.fm||(t.data.fm={}),t.data.fm.headings=sb(n)},qs=({items:e})=>oe.jsx(oe.Fragment,{children:e.map(t=>oe.jsxs("li",{children:[oe.jsx(gu,{href:`#${t.id}`,children:t.value}),t.children?oe.jsx(Ur,{children:oe.jsx(qs,{items:t.children})}):null]},t.id))}),eg=e=>{const{className:t,children:n,...r}=e;return oe.jsx(zb,{children:oe.jsx(Pb,{className:Mt(t),...r,children:n})})},tg=e=>{const{children:t,href:n,...r}=e;return r["data-node"]==="link-button"?oe.jsx(Eu,{as:"a",variant:"secondary",href:n,children:t}):oe.jsx(gu,{href:n,...r,children:t})},ng=e=>{const{children:t,className:n,...r}=e;if(r["data-node"]==="card"){if(r["data-behavior"]==="link"){const i=r["data-href"];return oe.jsx(Ab,{href:i,className:Mt(n),children:t})}return oe.jsx(zs,{className:Mt(n),children:t})}return oe.jsx("article",{className:n,...r,children:t})},rg=e=>{const{children:t,...n}=e,r=n["data-node"];return r==="card-title"?oe.jsx(Cb,{children:t}):r==="card-description"?oe.jsx(gb,{children:t}):r==="card-footer"?oe.jsx(Tb,{children:t}):n["data-behavior"]==="list"?oe.jsx("ul",{className:n.className,children:De.Children.map(t,u=>oe.jsx("li",{className:"sm:grid",children:u},Math.random()))}):oe.jsx("div",{...n,children:t})},ug=e=>{const{children:t,className:n,...r}=e;return r["data-node"]==="card-img"?oe.jsx(Eb,{className:Mt("w-full aspect-[352/226]",n),...r}):r["data-node"]==="cell-img"?oe.jsx("img",{className:Mt("mb-4",n),...r}):oe.jsx("img",{className:n,...r})},ig=e=>{const{className:t,children:n,...r}=e,u=`
|
|
159
|
+
`})(e.Peer||(e.Peer={}))})(Ii||(Ii={}));const kt=e=>e.type==="containerDirective"||e.type==="leafDirective"||e.type==="textDirective",ou=e=>e.type==="containerDirective",YE=e=>e.type==="textDirective",qE=e=>e.type==="heading",jE=()=>e=>{ke(e,kt,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=>{ke(e,kt,t=>{t.data=t.data??{};const n=Ve(t.name,t.attributes||{});t.data.hName=n.tagName,t.data.hProperties=n.properties})},WE=()=>e=>{ke(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=>{ke(e,ou,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=>{ke(e,ou,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(!kt(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=>{ke(e,kt,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(!kt(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=>{ke(e,ou,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(!kt(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;ke(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)},xs=({items:e})=>ae.jsx(ae.Fragment,{children:e.map(t=>ae.jsxs("li",{children:[ae.jsx(ie.Link,{href:`#${t.id}`,children:t.value}),t.children?ae.jsx(ie.Ul,{children:ae.jsx(xs,{items:t.children})}):null]},t.id))}),JE=e=>{const{className:t,children:n,...r}=e;return ae.jsx(ie.OverflowContainer,{children:ae.jsx(ie.Table,{className:St(t),...r,children:n})})},ZE=e=>{const{children:t,href:n,...r}=e;return r["data-node"]==="link-button"?ae.jsx(ie.Button,{as:"a",variant:"secondary",href:n,children:t}):ae.jsx(ie.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 ae.jsx(ie.LinkCard,{href:i,className:St(n),children:t})}return ae.jsx(ie.Card,{className:St(n),children:t})}return ae.jsx("article",{className:n,...r,children:t})},tT=e=>{const{children:t,...n}=e,r=n["data-node"];return r==="card-title"?ae.jsx(ie.LinkCardHeader,{children:t}):r==="card-description"?ae.jsx(ie.CardBody,{children:t}):r==="card-footer"?ae.jsx(ie.CardFooter,{children:t}):n["data-behavior"]==="list"?ae.jsx("ul",{className:n.className,children:Ke.Children.map(t,u=>ae.jsx("li",{className:"sm:grid",children:u},Math.random()))}):ae.jsx("div",{...n,children:t})},nT=e=>{const{children:t,className:n,...r}=e;return r["data-node"]==="card-img"?ae.jsx(ie.CardImg,{className:St("w-full aspect-[352/226]",n),...r}):r["data-node"]==="cell-img"?ae.jsx("img",{className:St("mb-4",n),...r}):ae.jsx("img",{className:n,...r})},rT=e=>{const{className:t,children:n,...r}=e,u=`
|
|
509
160
|
my-8
|
|
510
161
|
`;let i=`
|
|
511
162
|
aspect-video
|
|
@@ -517,8 +168,8 @@ Check the top-level render call using <`+d+">."),O}var B=De,q=Symbol.for("react.
|
|
|
517
168
|
lg:aspect-auto
|
|
518
169
|
lg:w-[${e.width}px]
|
|
519
170
|
lg:h-[${e.height}px]
|
|
520
|
-
`),
|
|
171
|
+
`),ae.jsx("iframe",{className:St(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]=Ke.useState([]),[a,o]=Ke.useState(ae.jsx(Ke.Fragment,{})),l=Ke.useCallback(f=>i0().use(KE).processSync(f).data.fm.headings.filter(b=>b.depth<3),[]),c=Ke.useCallback(f=>{const m={...Ls,components:{a:ZE,article:eT,button:ie.Button,code:ie.Code,dl:ie.Faq,dt:ie.Question,dd:ie.Answer,h1:ie.H1,h2:ie.H2,h3:ie.H3,h4:ie.H4,h5:ie.H5,h6:ie.H6,iframe:rT,img:nT,ul:ie.Ul,ol:ie.Ol,pre:ie.Pre,table:JE,caption:ie.Caption,thead:ie.Thead,tbody:ie.Tbody,th:ie.Th,tr:ie.Tr,td:ie.Td,div:tT}};return na().use(zi).use(Mf).use(Fh).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,m).processSync(f).result},[r]);return Ke.useEffect(()=>{i(l(e)),o(c(e))},[e,l,c]),Ke.useEffect(()=>{(async()=>{var m;await uT(500),location.hash&&((m=document.getElementById(decodeURI(location.hash.substring(1))))==null||m.scrollIntoView())})()},[]),ae.jsxs("div",{className:"py-8 flex flex-col gap-8",children:[t&&ae.jsxs("nav",{className:`
|
|
521
172
|
rounded-3xl
|
|
522
173
|
p-10
|
|
523
|
-
bg-
|
|
524
|
-
`,children:[
|
|
174
|
+
bg-yellow-50
|
|
175
|
+
`,children:[ae.jsx("h2",{className:"mb-4 font-bold text-h-xs-m sm:text-h-xs",children:n}),ae.jsx(ie.Ul,{children:ae.jsx(xs,{items:u})})]}),a]})};exports.Markdown=iT;
|