@sakura-ui/markdown 0.0.1
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 +339 -0
- package/dist/index.es.js +18095 -0
- package/dist/types/components/LinkCard.d.ts +9 -0
- package/dist/types/components/LinkCard.d.ts.map +1 -0
- package/dist/types/components/Markdown.d.ts +13 -0
- package/dist/types/components/Markdown.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/plugins/attr.d.ts +3 -0
- package/dist/types/plugins/attr.d.ts.map +1 -0
- package/dist/types/plugins/card.d.ts +3 -0
- package/dist/types/plugins/card.d.ts.map +1 -0
- package/dist/types/plugins/cell.d.ts +3 -0
- package/dist/types/plugins/cell.d.ts.map +1 -0
- package/dist/types/plugins/faq.d.ts +3 -0
- package/dist/types/plugins/faq.d.ts.map +1 -0
- package/dist/types/plugins/grid.d.ts +3 -0
- package/dist/types/plugins/grid.d.ts.map +1 -0
- package/dist/types/plugins/headings.d.ts +9 -0
- package/dist/types/plugins/headings.d.ts.map +1 -0
- package/dist/types/plugins/helper.d.ts +14 -0
- package/dist/types/plugins/helper.d.ts.map +1 -0
- package/dist/types/plugins/index.d.ts +9 -0
- package/dist/types/plugins/index.d.ts.map +1 -0
- package/dist/types/plugins/linkButton.d.ts +3 -0
- package/dist/types/plugins/linkButton.d.ts.map +1 -0
- package/dist/types/plugins/youtube.d.ts +3 -0
- package/dist/types/plugins/youtube.d.ts.map +1 -0
- package/package.json +79 -0
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ke=require("react");function Po(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"}))}var ei=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tu={exports:{}},Tn={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var ti;function wo(){if(ti)return Tn;ti=1;var e=Ke,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,u=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(o,l,c){var f,d={},T=null,p=null;c!==void 0&&(T=""+c),l.key!==void 0&&(T=""+l.key),l.ref!==void 0&&(p=l.ref);for(f in l)r.call(l,f)&&!i.hasOwnProperty(f)&&(d[f]=l[f]);if(o&&o.defaultProps)for(f in l=o.defaultProps,l)d[f]===void 0&&(d[f]=l[f]);return{$$typeof:t,type:o,key:T,ref:p,props:d,_owner:u.current}}return Tn.Fragment=n,Tn.jsx=a,Tn.jsxs=a,Tn}var bn={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var ni;function Bo(){return ni||(ni=1,process.env.NODE_ENV!=="production"&&function(){var e=Ke,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),g=Symbol.iterator,S="@@iterator";function N(h){if(h===null||typeof h!="object")return null;var _=g&&h[g]||h[S];return typeof _=="function"?_:null}var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function L(h){{for(var _=arguments.length,k=new Array(_>1?_-1:0),H=1;H<_;H++)k[H-1]=arguments[H];B("error",h,k)}}function B(h,_,k){{var H=y.ReactDebugCurrentFrame,V=H.getStackAddendum();V!==""&&(_+="%s",k=k.concat([V]));var $=k.map(function(q){return String(q)});$.unshift("Warning: "+_),Function.prototype.apply.call(console[h],console,$)}}var Q=!1,K=!1,F=!1,w=!1,ee=!1,J;J=Symbol.for("react.module.reference");function I(h){return!!(typeof h=="string"||typeof h=="function"||h===r||h===i||ee||h===u||h===c||h===f||w||h===p||Q||K||F||typeof h=="object"&&h!==null&&(h.$$typeof===T||h.$$typeof===d||h.$$typeof===a||h.$$typeof===o||h.$$typeof===l||h.$$typeof===J||h.getModuleId!==void 0))}function j(h,_,k){var H=h.displayName;if(H)return H;var V=_.displayName||_.name||"";return V!==""?k+"("+V+")":k}function v(h){return h.displayName||"Context"}function G(h){if(h==null)return null;if(typeof h.tag=="number"&&L("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case r:return"Fragment";case n:return"Portal";case i:return"Profiler";case u:return"StrictMode";case c:return"Suspense";case f:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case o:var _=h;return v(_)+".Consumer";case a:var k=h;return v(k._context)+".Provider";case l:return j(h,h.render,"ForwardRef");case d:var H=h.displayName||null;return H!==null?H:G(h.type)||"Memo";case T:{var V=h,$=V._payload,q=V._init;try{return G(q($))}catch{return null}}}return null}var X=Object.assign,D=0,me,Ae,Se,we,A,ke,Be;function C(){}C.__reactDisabledLog=!0;function Me(){{if(D===0){me=console.log,Ae=console.info,Se=console.warn,we=console.error,A=console.group,ke=console.groupCollapsed,Be=console.groupEnd;var h={configurable:!0,enumerable:!0,value:C,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}D++}}function rt(){{if(D--,D===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:X({},h,{value:me}),info:X({},h,{value:Ae}),warn:X({},h,{value:Se}),error:X({},h,{value:we}),group:X({},h,{value:A}),groupCollapsed:X({},h,{value:ke}),groupEnd:X({},h,{value:Be})})}D<0&&L("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Te=y.ReactCurrentDispatcher,qe;function xe(h,_,k){{if(qe===void 0)try{throw Error()}catch(V){var H=V.stack.trim().match(/\n( *(at )?)/);qe=H&&H[1]||""}return`
|
|
18
|
+
`+qe+h}}var He=!1,Fe;{var _t=typeof WeakMap=="function"?WeakMap:Map;Fe=new _t}function kt(h,_){if(!h||He)return"";{var k=Fe.get(h);if(k!==void 0)return k}var H;He=!0;var V=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var $;$=Te.current,Te.current=null,Me();try{if(_){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(pe){H=pe}Reflect.construct(h,[],q)}else{try{q.call()}catch(pe){H=pe}h.call(q.prototype)}}else{try{throw Error()}catch(pe){H=pe}h()}}catch(pe){if(pe&&H&&typeof pe.stack=="string"){for(var Y=pe.stack.split(`
|
|
19
|
+
`),de=H.stack.split(`
|
|
20
|
+
`),ne=Y.length-1,ae=de.length-1;ne>=1&&ae>=0&&Y[ne]!==de[ae];)ae--;for(;ne>=1&&ae>=0;ne--,ae--)if(Y[ne]!==de[ae]){if(ne!==1||ae!==1)do if(ne--,ae--,ae<0||Y[ne]!==de[ae]){var be=`
|
|
21
|
+
`+Y[ne].replace(" at new "," at ");return h.displayName&&be.includes("<anonymous>")&&(be=be.replace("<anonymous>",h.displayName)),typeof h=="function"&&Fe.set(h,be),be}while(ne>=1&&ae>=0);break}}}finally{He=!1,Te.current=$,rt(),Error.prepareStackTrace=V}var Ge=h?h.displayName||h.name:"",ve=Ge?xe(Ge):"";return typeof h=="function"&&Fe.set(h,ve),ve}function un(h,_,k){return kt(h,!1)}function an(h){var _=h.prototype;return!!(_&&_.isReactComponent)}function Je(h,_,k){if(h==null)return"";if(typeof h=="function")return kt(h,an(h));if(typeof h=="string")return xe(h);switch(h){case c:return xe("Suspense");case f:return xe("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case l:return un(h.render);case d:return Je(h.type,_,k);case T:{var H=h,V=H._payload,$=H._init;try{return Je($(V),_,k)}catch{}}}return""}var Ue=Object.prototype.hasOwnProperty,Dt={},Rt=y.ReactDebugCurrentFrame;function Ze(h){if(h){var _=h._owner,k=Je(h.type,h._source,_?_.type:null);Rt.setExtraStackFrame(k)}else Rt.setExtraStackFrame(null)}function qt(h,_,k,H,V){{var $=Function.call.bind(Ue);for(var q in h)if($(h,q)){var Y=void 0;try{if(typeof h[q]!="function"){var de=Error((H||"React class")+": "+k+" type `"+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw de.name="Invariant Violation",de}Y=h[q](_,q,H,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ne){Y=ne}Y&&!(Y instanceof Error)&&(Ze(V),L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",H||"React class",k,q,typeof Y),Ze(null)),Y instanceof Error&&!(Y.message in Dt)&&(Dt[Y.message]=!0,Ze(V),L("Failed %s type: %s",k,Y.message),Ze(null))}}}var sn=Array.isArray;function dt(h){return sn(h)}function on(h){{var _=typeof Symbol=="function"&&Symbol.toStringTag,k=_&&h[Symbol.toStringTag]||h.constructor.name||"Object";return k}}function ln(h){try{return Lt(h),!1}catch{return!0}}function Lt(h){return""+h}function O(h){if(ln(h))return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",on(h)),Lt(h)}var U=y.ReactCurrentOwner,Z={key:!0,ref:!0,__self:!0,__source:!0},ie,he,De;De={};function ut(h){if(Ue.call(h,"ref")){var _=Object.getOwnPropertyDescriptor(h,"ref").get;if(_&&_.isReactWarning)return!1}return h.ref!==void 0}function Ve(h){if(Ue.call(h,"key")){var _=Object.getOwnPropertyDescriptor(h,"key").get;if(_&&_.isReactWarning)return!1}return h.key!==void 0}function mt(h,_){if(typeof h.ref=="string"&&U.current&&_&&U.current.stateNode!==_){var k=G(U.current.type);De[k]||(L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',G(U.current.type),h.ref),De[k]=!0)}}function pt(h,_){{var k=function(){ie||(ie=!0,L("%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://reactjs.org/link/special-props)",_))};k.isReactWarning=!0,Object.defineProperty(h,"key",{get:k,configurable:!0})}}function Re(h,_){{var k=function(){he||(he=!0,L("%s: `ref` 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://reactjs.org/link/special-props)",_))};k.isReactWarning=!0,Object.defineProperty(h,"ref",{get:k,configurable:!0})}}var ot=function(h,_,k,H,V,$,q){var Y={$$typeof:t,type:h,key:_,ref:k,props:q,_owner:$};return Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:H}),Object.defineProperty(Y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:V}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function We(h,_,k,H,V){{var $,q={},Y=null,de=null;k!==void 0&&(O(k),Y=""+k),Ve(_)&&(O(_.key),Y=""+_.key),ut(_)&&(de=_.ref,mt(_,V));for($ in _)Ue.call(_,$)&&!Z.hasOwnProperty($)&&(q[$]=_[$]);if(h&&h.defaultProps){var ne=h.defaultProps;for($ in ne)q[$]===void 0&&(q[$]=ne[$])}if(Y||de){var ae=typeof h=="function"?h.displayName||h.name||"Unknown":h;Y&&pt(q,ae),de&&Re(q,ae)}return ot(h,Y,de,V,H,U.current,q)}}var Ft=y.ReactCurrentOwner,cn=y.ReactDebugCurrentFrame;function Qe(h){if(h){var _=h._owner,k=Je(h.type,h._source,_?_.type:null);cn.setExtraStackFrame(k)}else cn.setExtraStackFrame(null)}var Ot;Ot=!1;function Pt(h){return typeof h=="object"&&h!==null&&h.$$typeof===t}function fn(){{if(Ft.current){var h=G(Ft.current.type);if(h)return`
|
|
22
|
+
|
|
23
|
+
Check the render method of \``+h+"`."}return""}}function Ar(h){return""}var hn={};function Cr(h){{var _=fn();if(!_){var k=typeof h=="string"?h:h.displayName||h.name;k&&(_=`
|
|
24
|
+
|
|
25
|
+
Check the top-level render call using <`+k+">.")}return _}}function dn(h,_){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var k=Cr(_);if(hn[k])return;hn[k]=!0;var H="";h&&h._owner&&h._owner!==Ft.current&&(H=" It was passed a child from "+G(h._owner.type)+"."),Qe(h),L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,H),Qe(null)}}function mn(h,_){{if(typeof h!="object")return;if(dt(h))for(var k=0;k<h.length;k++){var H=h[k];Pt(H)&&dn(H,_)}else if(Pt(h))h._store&&(h._store.validated=!0);else if(h){var V=N(h);if(typeof V=="function"&&V!==h.entries)for(var $=V.call(h),q;!(q=$.next()).done;)Pt(q.value)&&dn(q.value,_)}}}function _r(h){{var _=h.type;if(_==null||typeof _=="string")return;var k;if(typeof _=="function")k=_.propTypes;else if(typeof _=="object"&&(_.$$typeof===l||_.$$typeof===d))k=_.propTypes;else return;if(k){var H=G(_);qt(k,h.props,"prop",H,h)}else if(_.PropTypes!==void 0&&!Ot){Ot=!0;var V=G(_);L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",V||"Unknown")}typeof _.getDefaultProps=="function"&&!_.getDefaultProps.isReactClassApproved&&L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Dr(h){{for(var _=Object.keys(h.props),k=0;k<_.length;k++){var H=_[k];if(H!=="children"&&H!=="key"){Qe(h),L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",H),Qe(null);break}}h.ref!==null&&(Qe(h),L("Invalid attribute `ref` supplied to `React.Fragment`."),Qe(null))}}var pn={};function En(h,_,k,H,V,$){{var q=I(h);if(!q){var Y="";(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(Y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var de=Ar();de?Y+=de:Y+=fn();var ne;h===null?ne="null":dt(h)?ne="array":h!==void 0&&h.$$typeof===t?(ne="<"+(G(h.type)||"Unknown")+" />",Y=" Did you accidentally export a JSX literal instead of a component?"):ne=typeof h,L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ne,Y)}var ae=We(h,_,k,V,$);if(ae==null)return ae;if(q){var be=_.children;if(be!==void 0)if(H)if(dt(be)){for(var Ge=0;Ge<be.length;Ge++)mn(be[Ge],h);Object.freeze&&Object.freeze(be)}else L("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 mn(be,h)}if(Ue.call(_,"key")){var ve=G(h),pe=Object.keys(_).filter(function(kr){return kr!=="key"}),wt=pe.length>0?"{key: someKey, "+pe.join(": ..., ")+": ...}":"{key: someKey}";if(!pn[ve+wt]){var Sr=pe.length>0?"{"+pe.join(": ..., ")+": ...}":"{}";L(`A props object containing a "key" prop is being spread into JSX:
|
|
26
|
+
let props = %s;
|
|
27
|
+
<%s {...props} />
|
|
28
|
+
React keys must be passed directly to JSX without using spread:
|
|
29
|
+
let props = %s;
|
|
30
|
+
<%s key={someKey} {...props} />`,wt,ve,Sr,ve),pn[ve+wt]=!0}}return h===r?Dr(ae):_r(ae),ae}}function xr(h,_,k){return En(h,_,k,!0)}function Nr(h,_,k){return En(h,_,k,!1)}var yr=Nr,Ir=xr;bn.Fragment=r,bn.jsx=yr,bn.jsxs=Ir}()),bn}process.env.NODE_ENV==="production"?tu.exports=wo():tu.exports=Bo();var le=tu.exports;const Mo=xa(le),vo=Po({__proto__:null,default:Mo},[le]),bt=(...e)=>e.filter(Boolean).join(" ");function ri(e){if(e)throw e}var Kn=Object.prototype.hasOwnProperty,Na=Object.prototype.toString,ui=Object.defineProperty,ii=Object.getOwnPropertyDescriptor,ai=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Na.call(t)==="[object Array]"},si=function(t){if(!t||Na.call(t)!=="[object Object]")return!1;var n=Kn.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Kn.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var u;for(u in t);return typeof u>"u"||Kn.call(t,u)},oi=function(t,n){ui&&n.name==="__proto__"?ui(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},li=function(t,n){if(n==="__proto__")if(Kn.call(t,n)){if(ii)return ii(t,n).value}else return;return t[n]},Ho=function e(){var t,n,r,u,i,a,o=arguments[0],l=1,c=arguments.length,f=!1;for(typeof o=="boolean"&&(f=o,o=arguments[1]||{},l=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});l<c;++l)if(t=arguments[l],t!=null)for(n in t)r=li(o,n),u=li(t,n),o!==u&&(f&&u&&(si(u)||(i=ai(u)))?(i?(i=!1,a=r&&ai(r)?r:[]):a=r&&si(r)?r:{},oi(o,{name:n,newValue:e(f,a,u)})):typeof u<"u"&&oi(o,{name:n,newValue:u}));return o};const Rr=xa(Ho);function nu(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 Uo(){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 f=e[++i];let d=-1;if(l){a(l);return}for(;++d<u.length;)(c[d]===null||c[d]===void 0)&&(c[d]=u[d]);u=c,f?zo(f,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 zo(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 f=c;if(o&&n)throw f;return u(f)}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)}}function yn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ci(e.position):"start"in e||"end"in e?ci(e):"line"in e||"column"in e?ru(e):""}function ru(e){return fi(e&&e.line)+":"+fi(e&&e.column)}function ci(e){return ru(e&&e.start)+"-"+ru(e&&e.end)}function fi(e){return e&&typeof e=="number"?e:1}class Oe 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=yn(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}}Oe.prototype.file="";Oe.prototype.name="";Oe.prototype.reason="";Oe.prototype.message="";Oe.prototype.stack="";Oe.prototype.column=void 0;Oe.prototype.line=void 0;Oe.prototype.ancestors=void 0;Oe.prototype.cause=void 0;Oe.prototype.fatal=void 0;Oe.prototype.place=void 0;Oe.prototype.ruleId=void 0;Oe.prototype.source=void 0;const lt={basename:jo,dirname:Yo,extname:qo,join:Vo,sep:"/"};function jo(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');vn(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 Yo(e){if(vn(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 qo(e){vn(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 Vo(...e){let t=-1,n;for(;++t<e.length;)vn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Wo(n)}function Wo(e){vn(e);const t=e.codePointAt(0)===47;let n=Qo(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Qo(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 vn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Go={cwd:$o};function $o(){return"/"}function uu(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Xo(e){if(typeof e=="string")e=new URL(e);else if(!uu(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 Ko(e)}function Ko(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 Lr=["history","path","basename","stem","extname","dirname"];class Jo{constructor(t){let n;t?uu(t)?n={path:t}:typeof t=="string"||Zo(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Go.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Lr.length;){const i=Lr[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)Lr.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?lt.basename(this.path):void 0}set basename(t){Or(t,"basename"),Fr(t,"basename"),this.path=lt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?lt.dirname(this.path):void 0}set dirname(t){hi(this.basename,"dirname"),this.path=lt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?lt.extname(this.path):void 0}set extname(t){if(Fr(t,"extname"),hi(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=lt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){uu(t)&&(t=Xo(t)),Or(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?lt.basename(this.path,this.extname):void 0}set stem(t){Or(t,"stem"),Fr(t,"stem"),this.path=lt.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 Oe(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 Fr(e,t){if(e&&e.includes(lt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+lt.sep+"`")}function Or(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function hi(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Zo(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const el=function(e){const r=this.constructor.prototype,u=r[e],i=function(){return u.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},tl={}.hasOwnProperty;class _u extends el{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=Uo()}copy(){const t=new _u;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Rr(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Br("data",this.frozen),this.namespace[t]=n,this):tl.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Br("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=qn(t),r=this.parser||this.Parser;return Pr("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Pr("process",this.parser||this.Parser),wr("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(i,a){const o=qn(t),l=r.parse(o);r.run(l,o,function(f,d,T){if(f||!d||!T)return c(f);const p=d,g=r.stringify(p,T);rl(g)?T.value=g:T.result=g,c(f,T)});function c(f,d){f||!d?a(f):i?i(d):n(void 0,d)}}}processSync(t){let n=!1,r;return this.freeze(),Pr("processSync",this.parser||this.Parser),wr("processSync",this.compiler||this.Compiler),this.process(t,u),pi("processSync","process",n),r;function u(i,a){n=!0,ri(i),r=a}}run(t,n,r){mi(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=qn(n);u.run(t,l,c);function c(f,d,T){const p=d||t;f?o(f):a?a(p):r(void 0,p,T)}}}runSync(t,n){let r=!1,u;return this.run(t,n,i),pi("runSync","run",r),u;function i(a,o){ri(a),u=o,r=!0}}stringify(t,n){this.freeze();const r=qn(n),u=this.compiler||this.Compiler;return wr("stringify",u),mi(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(Br("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[f,...d]=c;l(f,d)}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=Rr(!0,u.settings,c.settings))}function o(c){let f=-1;if(c!=null)if(Array.isArray(c))for(;++f<c.length;){const d=c[f];i(d)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function l(c,f){let d=-1,T=-1;for(;++d<r.length;)if(r[d][0]===c){T=d;break}if(T===-1)r.push([c,...f]);else if(f.length>0){let[p,...g]=f;const S=r[T][1];nu(S)&&nu(p)&&(p=Rr(!0,S,p)),r[T]=[c,p,...g]}}}}const di=new _u().freeze();function Pr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function wr(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Br(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 mi(e){if(!nu(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function pi(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function qn(e){return nl(e)?e:new Jo(e)}function nl(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function rl(e){return typeof e=="string"||ul(e)}function ul(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const il={};function On(e,t){const n=il,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return ya(e,r,u)}function ya(e,t,n){if(al(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 Ei(e.children,t,n)}return Array.isArray(e)?Ei(e,t,n):""}function Ei(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=ya(e[u],t,n);return r.join("")}function al(e){return!!(e&&typeof e=="object")}const Ti=document.createElement("i");function Pn(e){const t="&"+e+";";Ti.innerHTML=t;const n=Ti.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function tt(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 et(e,t){return e.length>0?(tt(e,e.length,0,t),e):t}const bi={}.hasOwnProperty;function Ia(e){const t={};let n=-1;for(;++n<e.length;)sl(t,e[n]);return t}function sl(e,t){let n;for(n in t){const u=(bi.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){bi.call(u,a)||(u[a]=[]);const o=i[a];ol(u[a],Array.isArray(o)?o:o?[o]:[])}}}function ol(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);tt(e,0,0,r)}function Sa(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 at(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Le=St(/[A-Za-z]/),Ie=St(/[\dA-Za-z]/),ll=St(/[#-'*+\--9=?A-Z^-~]/);function nr(e){return e!==null&&(e<32||e===127)}const iu=St(/\d/),cl=St(/[\dA-Fa-f]/),fl=St(/[!-/:-@[-`{-~]/);function W(e){return e!==null&&e<-2}function fe(e){return e!==null&&(e<0||e===32)}function se(e){return e===-2||e===-1||e===32}const lr=St(new RegExp("\\p{P}|\\p{S}","u")),Ut=St(/\s/);function St(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Jt(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&Ie(e.charCodeAt(n+1))&&Ie(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 ue(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(l){return se(l)?(e.enter(n),o(l)):t(l)}function o(l){return se(l)&&i++<u?(e.consume(l),o):(e.exit(n),t(l))}}const hl={tokenize:dl};function dl(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"),ue(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 W(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),a)}}const ml={tokenize:pl},gi={tokenize:El};function pl(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&&L();const Q=t.events.length;let K=Q,F;for(;K--;)if(t.events[K][0]==="exit"&&t.events[K][1].type==="chunkFlow"){F=t.events[K][1].end;break}y(r);let w=Q;for(;w<t.events.length;)t.events[w][1].end=Object.assign({},F),w++;return tt(t.events,K+1,0,t.events.slice(Q)),t.events.length=w,c(B)}return o(B)}function c(B){if(r===n.length){if(!u)return T(B);if(u.currentConstruct&&u.currentConstruct.concrete)return g(B);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(gi,f,d)(B)}function f(B){return u&&L(),y(r),T(B)}function d(B){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,g(B)}function T(B){return t.containerState={},e.attempt(gi,p,g)(B)}function p(B){return r++,n.push([t.currentConstruct,t.containerState]),T(B)}function g(B){if(B===null){u&&L(),y(0),e.consume(B);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:u}),S(B)}function S(B){if(B===null){N(e.exit("chunkFlow"),!0),y(0),e.consume(B);return}return W(B)?(e.consume(B),N(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(B),S)}function N(B,Q){const K=t.sliceStream(B);if(Q&&K.push(null),B.previous=i,i&&(i.next=B),i=B,u.defineSkip(B.start),u.write(K),t.parser.lazy[B.start.line]){let F=u.events.length;for(;F--;)if(u.events[F][1].start.offset<a&&(!u.events[F][1].end||u.events[F][1].end.offset>a))return;const w=t.events.length;let ee=w,J,I;for(;ee--;)if(t.events[ee][0]==="exit"&&t.events[ee][1].type==="chunkFlow"){if(J){I=t.events[ee][1].end;break}J=!0}for(y(r),F=w;F<t.events.length;)t.events[F][1].end=Object.assign({},I),F++;tt(t.events,ee+1,0,t.events.slice(w)),t.events.length=F}}function y(B){let Q=n.length;for(;Q-- >B;){const K=n[Q];t.containerState=K[1],K[0].exit.call(t,e)}n.length=B}function L(){u.write([null]),i=void 0,u=void 0,t.containerState._closeFlow=void 0}}function El(e,t,n){return ue(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function rr(e){if(e===null||fe(e)||Ut(e))return 1;if(lr(e))return 2}function cr(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 au={name:"attention",tokenize:bl,resolveAll:Tl};function Tl(e,t){let n=-1,r,u,i,a,o,l,c,f;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 d=Object.assign({},e[r][1].end),T=Object.assign({},e[n][1].start);Ai(d,-l),Ai(T,l),a={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:T},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},u={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},o.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=et(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=et(c,[["enter",u,t],["enter",a,t],["exit",a,t],["enter",i,t]]),c=et(c,cr(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=et(c,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",u,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=et(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,tt(e,r-1,n-r+3,c),n=r+c.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function bl(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,u=rr(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"),f=rr(l),d=!f||f===2&&u||n.includes(l),T=!u||u===2&&f||n.includes(r);return c._open=!!(i===42?d:d&&(u||!T)),c._close=!!(i===42?T:T&&(f||!d)),t(l)}}function Ai(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const gl={name:"autolink",tokenize:Al};function Al(e,t,n){let r=0;return u;function u(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(p){return Le(p)?(e.consume(p),a):p===64?n(p):c(p)}function a(p){return p===43||p===45||p===46||Ie(p)?(r=1,o(p)):c(p)}function o(p){return p===58?(e.consume(p),r=0,l):(p===43||p===45||p===46||Ie(p))&&r++<32?(e.consume(p),o):(r=0,c(p))}function l(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||nr(p)?n(p):(e.consume(p),l)}function c(p){return p===64?(e.consume(p),f):ll(p)?(e.consume(p),c):n(p)}function f(p){return Ie(p)?d(p):n(p)}function d(p){return p===46?(e.consume(p),r=0,f):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):T(p)}function T(p){if((p===45||Ie(p))&&r++<63){const g=p===45?T:d;return e.consume(p),g}return n(p)}}const Hn={tokenize:Cl,partial:!0};function Cl(e,t,n){return r;function r(i){return se(i)?ue(e,u,"linePrefix")(i):u(i)}function u(i){return i===null||W(i)?t(i):n(i)}}const ka={name:"blockQuote",tokenize:_l,continuation:{tokenize:Dl},exit:xl};function _l(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 se(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function Dl(e,t,n){const r=this;return u;function u(a){return se(a)?ue(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(ka,t,n)(a)}}function xl(e){e.exit("blockQuote")}const Ra={name:"characterEscape",tokenize:Nl};function Nl(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 fl(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const La={name:"characterReference",tokenize:yl};function yl(e,t,n){const r=this;let u=0,i,a;return o;function o(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),i=31,a=Ie,f(d))}function c(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=cl,f):(e.enter("characterReferenceValue"),i=7,a=iu,f(d))}function f(d){if(d===59&&u){const T=e.exit("characterReferenceValue");return a===Ie&&!Pn(r.sliceSerialize(T))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(d)&&u++<i?(e.consume(d),f):n(d)}}const Ci={tokenize:Sl,partial:!0},_i={name:"codeFenced",tokenize:Il,concrete:!0};function Il(e,t,n){const r=this,u={tokenize:K,partial:!0};let i=0,a=0,o;return l;function l(F){return c(F)}function c(F){const w=r.events[r.events.length-1];return i=w&&w[1].type==="linePrefix"?w[2].sliceSerialize(w[1],!0).length:0,o=F,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(F)}function f(F){return F===o?(a++,e.consume(F),f):a<3?n(F):(e.exit("codeFencedFenceSequence"),se(F)?ue(e,d,"whitespace")(F):d(F))}function d(F){return F===null||W(F)?(e.exit("codeFencedFence"),r.interrupt?t(F):e.check(Ci,S,Q)(F)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),T(F))}function T(F){return F===null||W(F)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(F)):se(F)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ue(e,p,"whitespace")(F)):F===96&&F===o?n(F):(e.consume(F),T)}function p(F){return F===null||W(F)?d(F):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(F))}function g(F){return F===null||W(F)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(F)):F===96&&F===o?n(F):(e.consume(F),g)}function S(F){return e.attempt(u,Q,N)(F)}function N(F){return e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),y}function y(F){return i>0&&se(F)?ue(e,L,"linePrefix",i+1)(F):L(F)}function L(F){return F===null||W(F)?e.check(Ci,S,Q)(F):(e.enter("codeFlowValue"),B(F))}function B(F){return F===null||W(F)?(e.exit("codeFlowValue"),L(F)):(e.consume(F),B)}function Q(F){return e.exit("codeFenced"),t(F)}function K(F,w,ee){let J=0;return I;function I(D){return F.enter("lineEnding"),F.consume(D),F.exit("lineEnding"),j}function j(D){return F.enter("codeFencedFence"),se(D)?ue(F,v,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):v(D)}function v(D){return D===o?(F.enter("codeFencedFenceSequence"),G(D)):ee(D)}function G(D){return D===o?(J++,F.consume(D),G):J>=a?(F.exit("codeFencedFenceSequence"),se(D)?ue(F,X,"whitespace")(D):X(D)):ee(D)}function X(D){return D===null||W(D)?(F.exit("codeFencedFence"),w(D)):ee(D)}}}function Sl(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 Mr={name:"codeIndented",tokenize:Rl},kl={tokenize:Ll,partial:!0};function Rl(e,t,n){const r=this;return u;function u(c){return e.enter("codeIndented"),ue(e,i,"linePrefix",5)(c)}function i(c){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):W(c)?e.attempt(kl,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||W(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function Ll(e,t,n){const r=this;return u;function u(a){return r.parser.lazy[r.now().line]?n(a):W(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):ue(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):W(a)?u(a):n(a)}}const Fl={name:"codeText",tokenize:wl,resolve:Ol,previous:Pl};function Ol(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 Pl(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function wl(e,t,n){let r=0,u,i;return a;function a(d){return e.enter("codeText"),e.enter("codeTextSequence"),o(d)}function o(d){return d===96?(e.consume(d),r++,o):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):d===96?(i=e.enter("codeTextSequence"),u=0,f(d)):W(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(d))}function c(d){return d===null||d===32||d===96||W(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),c)}function f(d){return d===96?(e.consume(d),u++,f):u===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(i.type="codeTextData",c(d))}}class Bl{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&&gn(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),gn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),gn(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);gn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);gn(this.left,n.reverse())}}}function gn(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 Fa(e){const t={};let n=-1,r,u,i,a,o,l,c;const f=new Bl(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.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,Ml(f,n)),n=t[n],c=!0);else if(r[1]._container){for(i=n,u=void 0;i--&&(a=f.get(i),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(u&&(f.get(u)[1].type="lineEndingBlank"),a[1].type="lineEnding",u=i);u&&(r[1].end=Object.assign({},f.get(u)[1].start),o=f.slice(u,n),o.unshift(r),f.splice(u,n-u+1,o))}}return tt(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!c}function Ml(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 f,d,T=-1,p=n,g=0,S=0;const N=[S];for(;p;){for(;e.get(++u)[1]!==p;);i.push(u),p._tokenizer||(f=r.sliceStream(p),p.next||f.push(null),d&&a.defineSkip(p.start),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(f),p._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++T<o.length;)o[T][0]==="exit"&&o[T-1][0]==="enter"&&o[T][1].type===o[T-1][1].type&&o[T][1].start.line!==o[T][1].end.line&&(S=T+1,N.push(S),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(a.events=[],p?(p._tokenizer=void 0,p.previous=void 0):N.pop(),T=N.length;T--;){const y=o.slice(N[T],N[T+1]),L=i.pop();l.push([L,L+y.length-1]),e.splice(L,2,y)}for(l.reverse(),T=-1;++T<l.length;)c[g+l[T][0]]=g+l[T][1],g+=l[T][1]-l[T][0]-1;return c}const vl={tokenize:zl,resolve:Ul},Hl={tokenize:jl,partial:!0};function Ul(e){return Fa(e),e}function zl(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):W(o)?e.check(Hl,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 jl(e,t,n){const r=this;return u;function u(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),ue(e,i,"linePrefix")}function i(a){if(a===null||W(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 Oa(e,t,n,r,u,i,a,o,l){const c=l||Number.POSITIVE_INFINITY;let f=0;return d;function d(y){return y===60?(e.enter(r),e.enter(u),e.enter(i),e.consume(y),e.exit(i),T):y===null||y===32||y===41||nr(y)?n(y):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),S(y))}function T(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"}),p(y))}function p(y){return y===62?(e.exit("chunkString"),e.exit(o),T(y)):y===null||y===60||W(y)?n(y):(e.consume(y),y===92?g:p)}function g(y){return y===60||y===62||y===92?(e.consume(y),p):p(y)}function S(y){return!f&&(y===null||y===41||fe(y))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(y)):f<c&&y===40?(e.consume(y),f++,S):y===41?(e.consume(y),f--,S):y===null||y===32||y===40||nr(y)?n(y):(e.consume(y),y===92?N:S)}function N(y){return y===40||y===41||y===92?(e.consume(y),S):S(y)}}function Pa(e,t,n,r,u,i){const a=this;let o=0,l;return c;function c(p){return e.enter(r),e.enter(u),e.consume(p),e.exit(u),e.enter(i),f}function f(p){return o>999||p===null||p===91||p===93&&!l||p===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):p===93?(e.exit(i),e.enter(u),e.consume(p),e.exit(u),e.exit(r),t):W(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||W(p)||o++>999?(e.exit("chunkString"),f(p)):(e.consume(p),l||(l=!se(p)),p===92?T:d)}function T(p){return p===91||p===92||p===93?(e.consume(p),o++,d):d(p)}}function wa(e,t,n,r,u,i){let a;return o;function o(T){return T===34||T===39||T===40?(e.enter(r),e.enter(u),e.consume(T),e.exit(u),a=T===40?41:T,l):n(T)}function l(T){return T===a?(e.enter(u),e.consume(T),e.exit(u),e.exit(r),t):(e.enter(i),c(T))}function c(T){return T===a?(e.exit(i),l(a)):T===null?n(T):W(T)?(e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),ue(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(T))}function f(T){return T===a||T===null||W(T)?(e.exit("chunkString"),c(T)):(e.consume(T),T===92?d:f)}function d(T){return T===a||T===92?(e.consume(T),f):f(T)}}function Et(e,t){let n;return r;function r(u){return W(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):se(u)?ue(e,r,n?"linePrefix":"lineSuffix")(u):t(u)}}const Yl={name:"definition",tokenize:Vl},ql={tokenize:Wl,partial:!0};function Vl(e,t,n){const r=this;let u;return i;function i(p){return e.enter("definition"),a(p)}function a(p){return Pa.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return u=at(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):n(p)}function l(p){return fe(p)?Et(e,c)(p):c(p)}function c(p){return Oa(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(ql,d,d)(p)}function d(p){return se(p)?ue(e,T,"whitespace")(p):T(p)}function T(p){return p===null||W(p)?(e.exit("definition"),r.parser.defined.push(u),t(p)):n(p)}}function Wl(e,t,n){return r;function r(o){return fe(o)?Et(e,u)(o):n(o)}function u(o){return wa(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return se(o)?ue(e,a,"whitespace")(o):a(o)}function a(o){return o===null||W(o)?t(o):n(o)}}const Ql={name:"hardBreakEscape",tokenize:Gl};function Gl(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),u}function u(i){return W(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const $l={name:"headingAtx",tokenize:Kl,resolve:Xl};function Xl(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"},tt(e,r,n-r+1,[["enter",u,t],["enter",i,t],["exit",i,t],["exit",u,t]])),e}function Kl(e,t,n){let r=0;return u;function u(f){return e.enter("atxHeading"),i(f)}function i(f){return e.enter("atxHeadingSequence"),a(f)}function a(f){return f===35&&r++<6?(e.consume(f),a):f===null||fe(f)?(e.exit("atxHeadingSequence"),o(f)):n(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),l(f)):f===null||W(f)?(e.exit("atxHeading"),t(f)):se(f)?ue(e,o,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function l(f){return f===35?(e.consume(f),l):(e.exit("atxHeadingSequence"),o(f))}function c(f){return f===null||f===35||fe(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),c)}}const Jl=["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"],Di=["pre","script","style","textarea"],Zl={name:"htmlFlow",tokenize:rc,resolveTo:nc,concrete:!0},ec={tokenize:ic,partial:!0},tc={tokenize:uc,partial:!0};function nc(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 rc(e,t,n){const r=this;let u,i,a,o,l;return c;function c(C){return f(C)}function f(C){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(C),d}function d(C){return C===33?(e.consume(C),T):C===47?(e.consume(C),i=!0,S):C===63?(e.consume(C),u=3,r.interrupt?t:A):Le(C)?(e.consume(C),a=String.fromCharCode(C),N):n(C)}function T(C){return C===45?(e.consume(C),u=2,p):C===91?(e.consume(C),u=5,o=0,g):Le(C)?(e.consume(C),u=4,r.interrupt?t:A):n(C)}function p(C){return C===45?(e.consume(C),r.interrupt?t:A):n(C)}function g(C){const Me="CDATA[";return C===Me.charCodeAt(o++)?(e.consume(C),o===Me.length?r.interrupt?t:v:g):n(C)}function S(C){return Le(C)?(e.consume(C),a=String.fromCharCode(C),N):n(C)}function N(C){if(C===null||C===47||C===62||fe(C)){const Me=C===47,rt=a.toLowerCase();return!Me&&!i&&Di.includes(rt)?(u=1,r.interrupt?t(C):v(C)):Jl.includes(a.toLowerCase())?(u=6,Me?(e.consume(C),y):r.interrupt?t(C):v(C)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(C):i?L(C):B(C))}return C===45||Ie(C)?(e.consume(C),a+=String.fromCharCode(C),N):n(C)}function y(C){return C===62?(e.consume(C),r.interrupt?t:v):n(C)}function L(C){return se(C)?(e.consume(C),L):I(C)}function B(C){return C===47?(e.consume(C),I):C===58||C===95||Le(C)?(e.consume(C),Q):se(C)?(e.consume(C),B):I(C)}function Q(C){return C===45||C===46||C===58||C===95||Ie(C)?(e.consume(C),Q):K(C)}function K(C){return C===61?(e.consume(C),F):se(C)?(e.consume(C),K):B(C)}function F(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),l=C,w):se(C)?(e.consume(C),F):ee(C)}function w(C){return C===l?(e.consume(C),l=null,J):C===null||W(C)?n(C):(e.consume(C),w)}function ee(C){return C===null||C===34||C===39||C===47||C===60||C===61||C===62||C===96||fe(C)?K(C):(e.consume(C),ee)}function J(C){return C===47||C===62||se(C)?B(C):n(C)}function I(C){return C===62?(e.consume(C),j):n(C)}function j(C){return C===null||W(C)?v(C):se(C)?(e.consume(C),j):n(C)}function v(C){return C===45&&u===2?(e.consume(C),me):C===60&&u===1?(e.consume(C),Ae):C===62&&u===4?(e.consume(C),ke):C===63&&u===3?(e.consume(C),A):C===93&&u===5?(e.consume(C),we):W(C)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(ec,Be,G)(C)):C===null||W(C)?(e.exit("htmlFlowData"),G(C)):(e.consume(C),v)}function G(C){return e.check(tc,X,Be)(C)}function X(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),D}function D(C){return C===null||W(C)?G(C):(e.enter("htmlFlowData"),v(C))}function me(C){return C===45?(e.consume(C),A):v(C)}function Ae(C){return C===47?(e.consume(C),a="",Se):v(C)}function Se(C){if(C===62){const Me=a.toLowerCase();return Di.includes(Me)?(e.consume(C),ke):v(C)}return Le(C)&&a.length<8?(e.consume(C),a+=String.fromCharCode(C),Se):v(C)}function we(C){return C===93?(e.consume(C),A):v(C)}function A(C){return C===62?(e.consume(C),ke):C===45&&u===2?(e.consume(C),A):v(C)}function ke(C){return C===null||W(C)?(e.exit("htmlFlowData"),Be(C)):(e.consume(C),ke)}function Be(C){return e.exit("htmlFlow"),t(C)}}function uc(e,t,n){const r=this;return u;function u(a){return W(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 ic(e,t,n){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt(Hn,t,n)}}const ac={name:"htmlText",tokenize:sc};function sc(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),K):A===63?(e.consume(A),B):Le(A)?(e.consume(A),ee):n(A)}function c(A){return A===45?(e.consume(A),f):A===91?(e.consume(A),i=0,g):Le(A)?(e.consume(A),L):n(A)}function f(A){return A===45?(e.consume(A),p):n(A)}function d(A){return A===null?n(A):A===45?(e.consume(A),T):W(A)?(a=d,Ae(A)):(e.consume(A),d)}function T(A){return A===45?(e.consume(A),p):d(A)}function p(A){return A===62?me(A):A===45?T(A):d(A)}function g(A){const ke="CDATA[";return A===ke.charCodeAt(i++)?(e.consume(A),i===ke.length?S:g):n(A)}function S(A){return A===null?n(A):A===93?(e.consume(A),N):W(A)?(a=S,Ae(A)):(e.consume(A),S)}function N(A){return A===93?(e.consume(A),y):S(A)}function y(A){return A===62?me(A):A===93?(e.consume(A),y):S(A)}function L(A){return A===null||A===62?me(A):W(A)?(a=L,Ae(A)):(e.consume(A),L)}function B(A){return A===null?n(A):A===63?(e.consume(A),Q):W(A)?(a=B,Ae(A)):(e.consume(A),B)}function Q(A){return A===62?me(A):B(A)}function K(A){return Le(A)?(e.consume(A),F):n(A)}function F(A){return A===45||Ie(A)?(e.consume(A),F):w(A)}function w(A){return W(A)?(a=w,Ae(A)):se(A)?(e.consume(A),w):me(A)}function ee(A){return A===45||Ie(A)?(e.consume(A),ee):A===47||A===62||fe(A)?J(A):n(A)}function J(A){return A===47?(e.consume(A),me):A===58||A===95||Le(A)?(e.consume(A),I):W(A)?(a=J,Ae(A)):se(A)?(e.consume(A),J):me(A)}function I(A){return A===45||A===46||A===58||A===95||Ie(A)?(e.consume(A),I):j(A)}function j(A){return A===61?(e.consume(A),v):W(A)?(a=j,Ae(A)):se(A)?(e.consume(A),j):J(A)}function v(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),u=A,G):W(A)?(a=v,Ae(A)):se(A)?(e.consume(A),v):(e.consume(A),X)}function G(A){return A===u?(e.consume(A),u=void 0,D):A===null?n(A):W(A)?(a=G,Ae(A)):(e.consume(A),G)}function X(A){return A===null||A===34||A===39||A===60||A===61||A===96?n(A):A===47||A===62||fe(A)?J(A):(e.consume(A),X)}function D(A){return A===47||A===62||fe(A)?J(A):n(A)}function me(A){return A===62?(e.consume(A),e.exit("htmlTextData"),e.exit("htmlText"),t):n(A)}function Ae(A){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),Se}function Se(A){return se(A)?ue(e,we,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):we(A)}function we(A){return e.enter("htmlTextData"),a(A)}}const Du={name:"labelEnd",tokenize:dc,resolveTo:hc,resolveAll:fc},oc={tokenize:mc},lc={tokenize:pc},cc={tokenize:Ec};function fc(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}function hc(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:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[i][1].start),end:Object.assign({},e[a][1].end)},f={type:"labelText",start:Object.assign({},e[i+r+2][1].end),end:Object.assign({},e[a-2][1].start)};return o=[["enter",l,t],["enter",c,t]],o=et(o,e.slice(i+1,i+r+3)),o=et(o,[["enter",f,t]]),o=et(o,cr(t.parser.constructs.insideSpan.null,e.slice(i+r+4,a-3),t)),o=et(o,[["exit",f,t],e[a-2],e[a-1],["exit",c,t]]),o=et(o,e.slice(a+1)),o=et(o,[["exit",l,t]]),tt(e,i,e.length,o),e}function dc(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(T){return i?i._inactive?d(T):(a=r.parser.defined.includes(at(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(T),e.exit("labelMarker"),e.exit("labelEnd"),l):n(T)}function l(T){return T===40?e.attempt(oc,f,a?f:d)(T):T===91?e.attempt(lc,f,a?c:d)(T):a?f(T):d(T)}function c(T){return e.attempt(cc,f,d)(T)}function f(T){return t(T)}function d(T){return i._balanced=!0,n(T)}}function mc(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),u}function u(d){return fe(d)?Et(e,i)(d):i(d)}function i(d){return d===41?f(d):Oa(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function a(d){return fe(d)?Et(e,l)(d):f(d)}function o(d){return n(d)}function l(d){return d===34||d===39||d===40?wa(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):f(d)}function c(d){return fe(d)?Et(e,f)(d):f(d)}function f(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function pc(e,t,n){const r=this;return u;function u(o){return Pa.call(r,e,i,a,"reference","referenceMarker","referenceString")(o)}function i(o){return r.parser.defined.includes(at(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function a(o){return n(o)}}function Ec(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 Tc={name:"labelStartImage",tokenize:bc,resolveAll:Du.resolveAll};function bc(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 gc={name:"labelStartLink",tokenize:Ac,resolveAll:Du.resolveAll};function Ac(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 vr={name:"lineEnding",tokenize:Cc};function Cc(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ue(e,t,"linePrefix")}}const Jn={name:"thematicBreak",tokenize:_c};function _c(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||W(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===u?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),se(c)?ue(e,o,"whitespace")(c):o(c))}}const je={name:"list",tokenize:Nc,continuation:{tokenize:yc},exit:Sc},Dc={tokenize:kc,partial:!0},xc={tokenize:Ic,partial:!0};function Nc(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(p){const g=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:iu(p)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Jn,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return iu(p)&&++a<10?(e.consume(p),l):(!r.interrupt||a<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Hn,r.interrupt?n:f,e.attempt(Dc,T,d))}function f(p){return r.containerState.initialBlankLine=!0,i++,T(p)}function d(p){return se(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),T):n(p)}function T(p){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function yc(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,ue(e,t,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!se(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(xc,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,ue(e,e.attempt(je,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Ic(e,t,n){const r=this;return ue(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 Sc(e){e.exit(this.containerState.type)}function kc(e,t,n){const r=this;return ue(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!se(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const xi={name:"setextUnderline",tokenize:Lc,resolveTo:Rc};function Rc(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:Object.assign({},e[u][1].start),end:Object.assign({},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=Object.assign({},e[i][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function Lc(e,t,n){const r=this;let u;return i;function i(c){let f=r.events.length,d;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){d=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(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"),se(c)?ue(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||W(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Fc={tokenize:Oc};function Oc(e){const t=this,n=e.attempt(Hn,r,e.attempt(this.parser.constructs.flowInitial,u,ue(e,e.attempt(this.parser.constructs.flow,u,e.attempt(vl,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 Pc={resolveAll:Ma()},wc=Ba("string"),Bc=Ba("text");function Ba(e){return{tokenize:t,resolveAll:Ma(e==="text"?Mc:void 0)};function t(n){const r=this,u=this.parser.constructs[e],i=n.attempt(u,a,o);return a;function a(f){return c(f)?i(f):o(f)}function o(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),l}function l(f){return c(f)?(n.exit("data"),i(f)):(n.consume(f),l)}function c(f){if(f===null)return!0;const d=u[f];let T=-1;if(d)for(;++T<d.length;){const p=d[T];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function Ma(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 Mc(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:{line:r.end.line,column:r.end.column-o,offset:r.end.offset-o,_index:r.start._index+i,_bufferIndex:i?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},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}function vc(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const u={},i=[];let a=[],o=[];const l={consume:L,enter:B,exit:Q,attempt:w(K),check:w(F),interrupt:w(F,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:T,now:g,defineSkip:S,write:d};let f=t.tokenize.call(c,l);return t.resolveAll&&i.push(t),c;function d(j){return a=et(a,j),N(),a[a.length-1]!==null?[]:(ee(t,0),c.events=cr(i,c.events,c),c.events)}function T(j,v){return Uc(p(j),v)}function p(j){return Hc(a,j)}function g(){const{line:j,column:v,offset:G,_index:X,_bufferIndex:D}=r;return{line:j,column:v,offset:G,_index:X,_bufferIndex:D}}function S(j){u[j.line]=j.column,I()}function N(){let j;for(;r._index<a.length;){const v=a[r._index];if(typeof v=="string")for(j=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===j&&r._bufferIndex<v.length;)y(v.charCodeAt(r._bufferIndex));else y(v)}}function y(j){f=f(j)}function L(j){W(j)?(r.line++,r.column=1,r.offset+=j===-3?2:1,I()):j!==-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=j}function B(j,v){const G=v||{};return G.type=j,G.start=g(),c.events.push(["enter",G,c]),o.push(G),G}function Q(j){const v=o.pop();return v.end=g(),c.events.push(["exit",v,c]),v}function K(j,v){ee(j,v.from)}function F(j,v){v.restore()}function w(j,v){return G;function G(X,D,me){let Ae,Se,we,A;return Array.isArray(X)?Be(X):"tokenize"in X?Be([X]):ke(X);function ke(Te){return qe;function qe(xe){const He=xe!==null&&Te[xe],Fe=xe!==null&&Te.null,_t=[...Array.isArray(He)?He:He?[He]:[],...Array.isArray(Fe)?Fe:Fe?[Fe]:[]];return Be(_t)(xe)}}function Be(Te){return Ae=Te,Se=0,Te.length===0?me:C(Te[Se])}function C(Te){return qe;function qe(xe){return A=J(),we=Te,Te.partial||(c.currentConstruct=Te),Te.name&&c.parser.constructs.disable.null.includes(Te.name)?rt():Te.tokenize.call(v?Object.assign(Object.create(c),v):c,l,Me,rt)(xe)}}function Me(Te){return j(we,A),D}function rt(Te){return A.restore(),++Se<Ae.length?C(Ae[Se]):me}}}function ee(j,v){j.resolveAll&&!i.includes(j)&&i.push(j),j.resolve&&tt(c.events,v,c.events.length-v,j.resolve(c.events.slice(v),c)),j.resolveTo&&(c.events=j.resolveTo(c.events,c))}function J(){const j=g(),v=c.previous,G=c.currentConstruct,X=c.events.length,D=Array.from(o);return{restore:me,from:X};function me(){r=j,c.previous=v,c.currentConstruct=G,c.events.length=X,o=D,I()}}function I(){r.line in u&&r.column<2&&(r.column=u[r.line],r.offset+=u[r.line]-1)}}function Hc(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 Uc(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
|
+
`;break}case-3:{a=`\r
|
|
32
|
+
`;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("")}const zc={42:je,43:je,45:je,48:je,49:je,50:je,51:je,52:je,53:je,54:je,55:je,56:je,57:je,62:ka},jc={91:Yl},Yc={[-2]:Mr,[-1]:Mr,32:Mr},qc={35:$l,42:Jn,45:[xi,Jn],60:Zl,61:xi,95:Jn,96:_i,126:_i},Vc={38:La,92:Ra},Wc={[-5]:vr,[-4]:vr,[-3]:vr,33:Tc,38:La,42:au,60:[gl,ac],91:gc,92:[Ql,Ra],93:Du,95:au,96:Fl},Qc={null:[au,Pc]},Gc={null:[42,95]},$c={null:[]},Xc=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Gc,contentInitial:jc,disable:$c,document:zc,flow:qc,flowInitial:Yc,insideSpan:Qc,string:Vc,text:Wc},Symbol.toStringTag,{value:"Module"}));function Kc(e){const n=Ia([Xc,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:u(hl),document:u(ml),flow:u(Fc),string:u(wc),text:u(Bc)};return r;function u(i){return a;function a(o){return vc(r,i,o)}}}function Jc(e){for(;!Fa(e););return e}const Ni=/[\0\t\n\r]/g;function Zc(){let e=1,t="",n=!0,r;return u;function u(i,a,o){const l=[];let c,f,d,T,p;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(a||void 0).decode(i)),d=0,t="",n&&(i.charCodeAt(0)===65279&&d++,n=void 0);d<i.length;){if(Ni.lastIndex=d,c=Ni.exec(i),T=c&&c.index!==void 0?c.index:i.length,p=i.charCodeAt(T),!c){t=i.slice(d);break}if(p===10&&d===T&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),d<T&&(l.push(i.slice(d,T)),e+=T-d),p){case 0:{l.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,l.push(-2);e++<f;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}d=T+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const e0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function t0(e){return e.replace(e0,n0)}function n0(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),i=u===120||u===88;return Sa(n.slice(i?2:1),i?16:10)}return Pn(n)||e}const va={}.hasOwnProperty;function r0(e,t,n){return typeof t!="string"&&(n=t,t=void 0),u0(n)(Jc(Kc(n).document().write(Zc()(e,t,!0))))}function u0(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Ze),autolinkProtocol:J,autolinkEmail:J,atxHeading:i(Je),blockQuote:i(Fe),characterEscape:J,characterReference:J,codeFenced:i(_t),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(_t,a),codeText:i(kt,a),codeTextData:J,data:J,codeFlowValue:J,definition:i(un),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(an),hardBreakEscape:i(Ue),hardBreakTrailing:i(Ue),htmlFlow:i(Dt,a),htmlFlowData:J,htmlText:i(Dt,a),htmlTextData:J,image:i(Rt),label:a,link:i(Ze),listItem:i(sn),listItemValue:T,listOrdered:i(qt,d),listUnordered:i(qt),paragraph:i(dt),reference:C,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(Je),strong:i(on),thematicBreak:i(Lt)},exit:{atxHeading:l(),atxHeadingSequence:K,autolink:l(),autolinkEmail:He,autolinkProtocol:xe,blockQuote:l(),characterEscapeValue:I,characterReferenceMarkerHexadecimal:rt,characterReferenceMarkerNumeric:rt,characterReferenceValue:Te,characterReference:qe,codeFenced:l(N),codeFencedFence:S,codeFencedFenceInfo:p,codeFencedFenceMeta:g,codeFlowValue:I,codeIndented:l(y),codeText:l(D),codeTextData:I,data:I,definition:l(),definitionDestinationString:Q,definitionLabelString:L,definitionTitleString:B,emphasis:l(),hardBreakEscape:l(v),hardBreakTrailing:l(v),htmlFlow:l(G),htmlFlowData:I,htmlText:l(X),htmlTextData:I,image:l(Ae),label:we,labelText:Se,lineEnding:j,link:l(me),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Me,resourceDestinationString:A,resourceTitleString:ke,resource:Be,setextHeading:l(ee),setextHeadingLineSequence:w,setextHeadingText:F,strong:l(),thematicBreak:l()}};Ha(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(O){let U={type:"root",children:[]};const Z={stack:[U],tokenStack:[],config:t,enter:o,exit:c,buffer:a,resume:f,data:n},ie=[];let he=-1;for(;++he<O.length;)if(O[he][1].type==="listOrdered"||O[he][1].type==="listUnordered")if(O[he][0]==="enter")ie.push(he);else{const De=ie.pop();he=u(O,De,he)}for(he=-1;++he<O.length;){const De=t[O[he][0]];va.call(De,O[he][1].type)&&De[O[he][1].type].call(Object.assign({sliceSerialize:O[he][2].sliceSerialize},Z),O[he][1])}if(Z.tokenStack.length>0){const De=Z.tokenStack[Z.tokenStack.length-1];(De[1]||yi).call(Z,void 0,De[0])}for(U.position={start:xt(O.length>0?O[0][1].start:{line:1,column:1,offset:0}),end:xt(O.length>0?O[O.length-2][1].end:{line:1,column:1,offset:0})},he=-1;++he<t.transforms.length;)U=t.transforms[he](U)||U;return U}function u(O,U,Z){let ie=U-1,he=-1,De=!1,ut,Ve,mt,pt;for(;++ie<=Z;){const Re=O[ie];switch(Re[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Re[0]==="enter"?he++:he--,pt=void 0;break}case"lineEndingBlank":{Re[0]==="enter"&&(ut&&!pt&&!he&&!mt&&(mt=ie),pt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:pt=void 0}if(!he&&Re[0]==="enter"&&Re[1].type==="listItemPrefix"||he===-1&&Re[0]==="exit"&&(Re[1].type==="listUnordered"||Re[1].type==="listOrdered")){if(ut){let ot=ie;for(Ve=void 0;ot--;){const We=O[ot];if(We[1].type==="lineEnding"||We[1].type==="lineEndingBlank"){if(We[0]==="exit")continue;Ve&&(O[Ve][1].type="lineEndingBlank",De=!0),We[1].type="lineEnding",Ve=ot}else if(!(We[1].type==="linePrefix"||We[1].type==="blockQuotePrefix"||We[1].type==="blockQuotePrefixWhitespace"||We[1].type==="blockQuoteMarker"||We[1].type==="listItemIndent"))break}mt&&(!Ve||mt<Ve)&&(ut._spread=!0),ut.end=Object.assign({},Ve?O[Ve][1].start:Re[1].end),O.splice(Ve||ie,0,["exit",ut,Re[2]]),ie++,Z++}if(Re[1].type==="listItemPrefix"){const ot={type:"listItem",_spread:!1,start:Object.assign({},Re[1].start),end:void 0};ut=ot,O.splice(ie,0,["enter",ot,Re[2]]),ie++,Z++,mt=void 0,pt=!0}}}return O[U][1]._spread=De,Z}function i(O,U){return Z;function Z(ie){o.call(this,O(ie),ie),U&&U.call(this,ie)}}function a(){this.stack.push({type:"fragment",children:[]})}function o(O,U,Z){this.stack[this.stack.length-1].children.push(O),this.stack.push(O),this.tokenStack.push([U,Z]),O.position={start:xt(U.start),end:void 0}}function l(O){return U;function U(Z){O&&O.call(this,Z),c.call(this,Z)}}function c(O,U){const Z=this.stack.pop(),ie=this.tokenStack.pop();if(ie)ie[0].type!==O.type&&(U?U.call(this,O,ie[0]):(ie[1]||yi).call(this,O,ie[0]));else throw new Error("Cannot close `"+O.type+"` ("+yn({start:O.start,end:O.end})+"): it’s not open");Z.position.end=xt(O.end)}function f(){return On(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function T(O){if(this.data.expectingFirstListItemValue){const U=this.stack[this.stack.length-2];U.start=Number.parseInt(this.sliceSerialize(O),10),this.data.expectingFirstListItemValue=void 0}}function p(){const O=this.resume(),U=this.stack[this.stack.length-1];U.lang=O}function g(){const O=this.resume(),U=this.stack[this.stack.length-1];U.meta=O}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function N(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function y(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O.replace(/(\r?\n|\r)$/g,"")}function L(O){const U=this.resume(),Z=this.stack[this.stack.length-1];Z.label=U,Z.identifier=at(this.sliceSerialize(O)).toLowerCase()}function B(){const O=this.resume(),U=this.stack[this.stack.length-1];U.title=O}function Q(){const O=this.resume(),U=this.stack[this.stack.length-1];U.url=O}function K(O){const U=this.stack[this.stack.length-1];if(!U.depth){const Z=this.sliceSerialize(O).length;U.depth=Z}}function F(){this.data.setextHeadingSlurpLineEnding=!0}function w(O){const U=this.stack[this.stack.length-1];U.depth=this.sliceSerialize(O).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function J(O){const Z=this.stack[this.stack.length-1].children;let ie=Z[Z.length-1];(!ie||ie.type!=="text")&&(ie=ln(),ie.position={start:xt(O.start),end:void 0},Z.push(ie)),this.stack.push(ie)}function I(O){const U=this.stack.pop();U.value+=this.sliceSerialize(O),U.position.end=xt(O.end)}function j(O){const U=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Z=U.children[U.children.length-1];Z.position.end=xt(O.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(U.type)&&(J.call(this,O),I.call(this,O))}function v(){this.data.atHardBreak=!0}function G(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O}function X(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O}function D(){const O=this.resume(),U=this.stack[this.stack.length-1];U.value=O}function me(){const O=this.stack[this.stack.length-1];if(this.data.inReference){const U=this.data.referenceType||"shortcut";O.type+="Reference",O.referenceType=U,delete O.url,delete O.title}else delete O.identifier,delete O.label;this.data.referenceType=void 0}function Ae(){const O=this.stack[this.stack.length-1];if(this.data.inReference){const U=this.data.referenceType||"shortcut";O.type+="Reference",O.referenceType=U,delete O.url,delete O.title}else delete O.identifier,delete O.label;this.data.referenceType=void 0}function Se(O){const U=this.sliceSerialize(O),Z=this.stack[this.stack.length-2];Z.label=t0(U),Z.identifier=at(U).toLowerCase()}function we(){const O=this.stack[this.stack.length-1],U=this.resume(),Z=this.stack[this.stack.length-1];if(this.data.inReference=!0,Z.type==="link"){const ie=O.children;Z.children=ie}else Z.alt=U}function A(){const O=this.resume(),U=this.stack[this.stack.length-1];U.url=O}function ke(){const O=this.resume(),U=this.stack[this.stack.length-1];U.title=O}function Be(){this.data.inReference=void 0}function C(){this.data.referenceType="collapsed"}function Me(O){const U=this.resume(),Z=this.stack[this.stack.length-1];Z.label=U,Z.identifier=at(this.sliceSerialize(O)).toLowerCase(),this.data.referenceType="full"}function rt(O){this.data.characterReferenceType=O.type}function Te(O){const U=this.sliceSerialize(O),Z=this.data.characterReferenceType;let ie;Z?(ie=Sa(U,Z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ie=Pn(U);const he=this.stack[this.stack.length-1];he.value+=ie}function qe(O){const U=this.stack.pop();U.position.end=xt(O.end)}function xe(O){I.call(this,O);const U=this.stack[this.stack.length-1];U.url=this.sliceSerialize(O)}function He(O){I.call(this,O);const U=this.stack[this.stack.length-1];U.url="mailto:"+this.sliceSerialize(O)}function Fe(){return{type:"blockquote",children:[]}}function _t(){return{type:"code",lang:null,meta:null,value:""}}function kt(){return{type:"inlineCode",value:""}}function un(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function an(){return{type:"emphasis",children:[]}}function Je(){return{type:"heading",depth:0,children:[]}}function Ue(){return{type:"break"}}function Dt(){return{type:"html",value:""}}function Rt(){return{type:"image",title:null,url:"",alt:null}}function Ze(){return{type:"link",title:null,url:"",children:[]}}function qt(O){return{type:"list",ordered:O.type==="listOrdered",start:null,spread:O._spread,children:[]}}function sn(O){return{type:"listItem",spread:O._spread,checked:null,children:[]}}function dt(){return{type:"paragraph",children:[]}}function on(){return{type:"strong",children:[]}}function ln(){return{type:"text",value:""}}function Lt(){return{type:"thematicBreak"}}}function xt(e){return{line:e.line,column:e.column,offset:e.offset}}function Ha(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Ha(e,r):i0(e,r)}}function i0(e,t){let n;for(n in t)if(va.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 yi(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+yn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+yn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+yn({start:t.start,end:t.end})+") is still open")}function Ii(e){const t=this;t.parser=n;function n(r){return r0(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Si(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")}const fr=function(e){if(e==null)return c0;if(typeof e=="function")return hr(e);if(typeof e=="object")return Array.isArray(e)?s0(e):o0(e);if(typeof e=="string")return l0(e);throw new Error("Expected function, string, or object as test")};function s0(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=fr(e[n]);return hr(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function o0(e){const t=e;return hr(n);function n(r){const u=r;let i;for(i in e)if(u[i]!==t[i])return!1;return!0}}function l0(e){return hr(t);function t(n){return n&&n.type===e}}function hr(e){return t;function t(n,r,u){return!!(f0(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function c0(){return!0}function f0(e){return e!==null&&typeof e=="object"&&"type"in e}const Ua=[],h0=!0,su=!1,d0="skip";function xu(e,t,n,r){let u;typeof t=="function"&&typeof n!="function"?(r=n,n=t):u=t;const i=fr(u),a=r?-1:1;o(e,void 0,[])();function o(l,c,f){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const p=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(T,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return T;function T(){let p=Ua,g,S,N;if((!t||i(l,c,f[f.length-1]||void 0))&&(p=m0(n(l,f)),p[0]===su))return p;if("children"in l&&l.children){const y=l;if(y.children&&p[0]!==d0)for(S=(r?y.children.length:-1)+a,N=f.concat(y);S>-1&&S<y.children.length;){const L=y.children[S];if(g=o(L,S,N)(),g[0]===su)return g;S=typeof g[1]=="number"?g[1]:S+a}}return p}}}function m0(e){return Array.isArray(e)?e:typeof e=="number"?[h0,e]:e==null?Ua:[e]}function za(e,t,n){const u=fr((n||{}).ignore||[]),i=p0(t);let a=-1;for(;++a<i.length;)xu(e,"text",o);function o(c,f){let d=-1,T;for(;++d<f.length;){const p=f[d],g=T?T.children:void 0;if(u(p,g?g.indexOf(p):void 0,T))return;T=p}if(T)return l(c,f)}function l(c,f){const d=f[f.length-1],T=i[a][0],p=i[a][1];let g=0;const N=d.children.indexOf(c);let y=!1,L=[];T.lastIndex=0;let B=T.exec(c.value);for(;B;){const Q=B.index,K={index:B.index,input:B.input,stack:[...f,c]};let F=p(...B,K);if(typeof F=="string"&&(F=F.length>0?{type:"text",value:F}:void 0),F===!1?T.lastIndex=Q+1:(g!==Q&&L.push({type:"text",value:c.value.slice(g,Q)}),Array.isArray(F)?L.push(...F):F&&L.push(F),g=Q+B[0].length,y=!0),!T.global)break;B=T.exec(c.value)}return y?(g<c.value.length&&L.push({type:"text",value:c.value.slice(g)}),d.children.splice(N,1,...L)):L=[c],N+L.length}}function p0(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([E0(u[0]),T0(u[1])])}return t}function E0(e){return typeof e=="string"?new RegExp(a0(e),"g"):e}function T0(e){return typeof e=="function"?e:function(){return e}}const Hr="phrasing",Ur=["autolink","link","image","label"];function b0(){return{transforms:[N0],enter:{literalAutolink:A0,literalAutolinkEmail:zr,literalAutolinkHttp:zr,literalAutolinkWww:zr},exit:{literalAutolink:x0,literalAutolinkEmail:D0,literalAutolinkHttp:C0,literalAutolinkWww:_0}}}function g0(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Hr,notInConstruct:Ur},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Hr,notInConstruct:Ur},{character:":",before:"[ps]",after:"\\/",inConstruct:Hr,notInConstruct:Ur}]}}function A0(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function zr(e){this.config.enter.autolinkProtocol.call(this,e)}function C0(e){this.config.exit.autolinkProtocol.call(this,e)}function _0(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 D0(e){this.config.exit.autolinkEmail.call(this,e)}function x0(e){this.exit(e)}function N0(e){za(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,y0],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,I0]],{ignore:["link","linkReference"]})}function y0(e,t,n,r,u){let i="";if(!ja(u)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!S0(n)))return!1;const a=k0(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 I0(e,t,n,r){return!ja(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function S0(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 k0(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=Si(e,"(");let i=Si(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 ja(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Ut(n)||lr(n))&&(!t||n!==47)}Ya.peek=U0;function R0(){return{enter:{gfmFootnoteDefinition:F0,gfmFootnoteDefinitionLabelString:O0,gfmFootnoteCall:B0,gfmFootnoteCallString:M0},exit:{gfmFootnoteDefinition:w0,gfmFootnoteDefinitionLabelString:P0,gfmFootnoteCall:H0,gfmFootnoteCallString:v0}}}function L0(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:z0,footnoteReference:Ya}}}function F0(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function O0(){this.buffer()}function P0(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=at(this.sliceSerialize(e)).toLowerCase()}function w0(e){this.exit(e)}function B0(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function M0(){this.buffer()}function v0(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=at(this.sliceSerialize(e)).toLowerCase()}function H0(e){this.exit(e)}function Ya(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 U0(){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()),j0)),a(),i}function j0(e,t,n){return t===0?e:(n?"":" ")+e}const Y0=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];qa.peek=G0;function q0(){return{canContainEols:["delete"],enter:{strikethrough:W0},exit:{strikethrough:Q0}}}function V0(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Y0}],handlers:{delete:qa}}}function W0(e){this.enter({type:"delete",children:[]},e)}function Q0(e){this.exit(e)}function qa(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 G0(){return"~"}function $0(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||K0,u=[],i=[],a=[],o=[];let l=0,c=-1;for(;++c<e.length;){const g=[],S=[];let N=-1;for(e[c].length>l&&(l=e[c].length);++N<e[c].length;){const y=X0(e[c][N]);if(t.alignDelimiters!==!1){const L=r(y);S[N]=L,(o[N]===void 0||L>o[N])&&(o[N]=L)}g.push(y)}i[c]=g,a[c]=S}let f=-1;if(typeof n=="object"&&"length"in n)for(;++f<l;)u[f]=ki(n[f]);else{const g=ki(n);for(;++f<l;)u[f]=g}f=-1;const d=[],T=[];for(;++f<l;){const g=u[f];let S="",N="";g===99?(S=":",N=":"):g===108?S=":":g===114&&(N=":");let y=t.alignDelimiters===!1?1:Math.max(1,o[f]-S.length-N.length);const L=S+"-".repeat(y)+N;t.alignDelimiters!==!1&&(y=S.length+y+N.length,y>o[f]&&(o[f]=y),T[f]=y),d[f]=L}i.splice(1,0,d),a.splice(1,0,T),c=-1;const p=[];for(;++c<i.length;){const g=i[c],S=a[c];f=-1;const N=[];for(;++f<l;){const y=g[f]||"";let L="",B="";if(t.alignDelimiters!==!1){const Q=o[f]-(S[f]||0),K=u[f];K===114?L=" ".repeat(Q):K===99?Q%2?(L=" ".repeat(Q/2+.5),B=" ".repeat(Q/2-.5)):(L=" ".repeat(Q/2),B=L):B=" ".repeat(Q)}t.delimiterStart!==!1&&!f&&N.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&y==="")&&(t.delimiterStart!==!1||f)&&N.push(" "),t.alignDelimiters!==!1&&N.push(L),N.push(y),t.alignDelimiters!==!1&&N.push(B),t.padding!==!1&&N.push(" "),(t.delimiterEnd!==!1||f!==l-1)&&N.push("|")}p.push(t.delimiterEnd===!1?N.join("").replace(/ +$/,""):N.join(""))}return p.join(`
|
|
33
|
+
`)}function X0(e){return e==null?"":String(e)}function K0(e){return e.length}function ki(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}const Ri={}.hasOwnProperty;function Va(e,t){const n=t||{};function r(u,...i){let a=r.invalid;const o=r.handlers;if(u&&Ri.call(u,e)){const l=String(u[e]);a=Ri.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}function J0(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()),Z0);return u(),a}function Z0(e,t,n){return">"+(n?"":" ")+e}function ef(e,t){return Li(e,t.inConstruct,!0)&&!Li(e,t.notInConstruct,!1)}function Li(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 Fi(e,t,n,r){let u=-1;for(;++u<n.unsafe.length;)if(n.unsafe[u].character===`
|
|
34
|
+
`&&ef(n.stack,n.unsafe[u]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
35
|
+
`}function tf(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 nf(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 rf(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 uf(e,t,n,r){const u=rf(n),i=e.value||"",a=u==="`"?"GraveAccent":"Tilde";if(nf(e,n)){const d=n.enter("codeIndented"),T=n.indentLines(i,af);return d(),T}const o=n.createTracker(r),l=u.repeat(Math.max(tf(i,u)+1,3)),c=n.enter("codeFenced");let f=o.move(l);if(e.lang){const d=n.enter(`codeFencedLang${a}`);f+=o.move(n.safe(e.lang,{before:f,after:" ",encode:["`"],...o.current()})),d()}if(e.lang&&e.meta){const d=n.enter(`codeFencedMeta${a}`);f+=o.move(" "),f+=o.move(n.safe(e.meta,{before:f,after:`
|
|
36
|
+
`,encode:["`"],...o.current()})),d()}return f+=o.move(`
|
|
37
|
+
`),i&&(f+=o.move(i+`
|
|
38
|
+
`)),f+=o.move(l),c(),f}function af(e,t,n){return(n?"":" ")+e}function Nu(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 sf(e,t,n,r){const u=Nu(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 of(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}Wa.peek=lf;function Wa(e,t,n,r){const u=of(n),i=n.enter("emphasis"),a=n.createTracker(r);let o=a.move(u);return o+=a.move(n.containerPhrasing(e,{before:o,after:u,...a.current()})),o+=a.move(u),i(),o}function lf(e,t,n){return n.options.emphasis||"*"}function Ye(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),xu(e,i,o,u);function o(l,c){const f=c[c.length-1],d=f?f.children.indexOf(l):void 0;return a(l,d,f)}}function cf(e,t){let n=!1;return Ye(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,su}),!!((!e.depth||e.depth<3)&&On(e)&&(t.options.setext||n))}function ff(e,t,n,r){const u=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(cf(e,n)){const f=n.enter("headingSetext"),d=n.enter("phrasing"),T=n.containerPhrasing(e,{...i.current(),before:`
|
|
40
|
+
`,after:`
|
|
41
|
+
`});return d(),f(),T+`
|
|
42
|
+
`+(u===1?"=":"-").repeat(T.length-(Math.max(T.lastIndexOf("\r"),T.lastIndexOf(`
|
|
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="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}Qa.peek=hf;function Qa(e){return e.value||""}function hf(){return"<"}Ga.peek=df;function Ga(e,t,n,r){const u=Nu(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 df(){return"!"}$a.peek=mf;function $a(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 f=n.stack;n.stack=[],a=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=f,i(),u==="full"||!c||c!==d?l+=o.move(d+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function mf(){return"!"}Xa.peek=pf;function Xa(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 pf(){return"`"}function Ka(e,t){const n=On(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))}Ja.peek=Ef;function Ja(e,t,n,r){const u=Nu(n),i=u==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(Ka(e,n)){const f=n.stack;n.stack=[],o=n.enter("autolink");let d=a.move("<");return d+=a.move(n.containerPhrasing(e,{before:d,after:">",...a.current()})),d+=a.move(">"),o(),n.stack=f,d}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 Ef(e,t,n){return Ka(e,n)?"<":"["}Za.peek=Tf;function Za(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 f=n.stack;n.stack=[],a=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=f,i(),u==="full"||!c||c!==d?l+=o.move(d+"]"):u==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function Tf(){return"["}function yu(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 bf(e){const t=yu(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 gf(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 es(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 Af(e,t,n,r){const u=n.enter("list"),i=n.bulletCurrent;let a=e.ordered?gf(n):yu(n);const o=e.ordered?a==="."?")":".":bf(n);let l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&f&&(!f.children||!f.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),es(n)===a&&f){let d=-1;for(;++d<e.children.length;){const T=e.children[d];if(T&&T.type==="listItem"&&T.children&&T.children[0]&&T.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 Cf(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 _f(e,t,n,r){const u=Cf(n);let i=n.bulletCurrent||yu(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()),f);return l(),c;function f(d,T,p){return T?(p?"":" ".repeat(a))+d:(p?i:i+" ".repeat(a-i.length))+d}}function Df(e,t,n,r){const u=n.enter("paragraph"),i=n.enter("phrasing"),a=n.containerPhrasing(e,r);return i(),u(),a}const xf=fr(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Nf(e,t,n,r){return(e.children.some(function(a){return xf(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function yf(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}ts.peek=If;function ts(e,t,n,r){const u=yf(n),i=n.enter("strong"),a=n.createTracker(r);let o=a.move(u+u);return o+=a.move(n.containerPhrasing(e,{before:o,after:u,...a.current()})),o+=a.move(u+u),i(),o}function If(e,t,n){return n.options.strong||"*"}function Sf(e,t,n,r){return n.safe(e.value,r)}function kf(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 Rf(e,t,n){const r=(es(n)+(n.options.ruleSpaces?" ":"")).repeat(kf(n));return n.options.ruleSpaces?r.slice(0,-1):r}const ns={blockquote:J0,break:Fi,code:uf,definition:sf,emphasis:Wa,hardBreak:Fi,heading:ff,html:Qa,image:Ga,imageReference:$a,inlineCode:Xa,link:Ja,linkReference:Za,list:Af,listItem:_f,paragraph:Df,root:Nf,strong:ts,text:Sf,thematicBreak:Rf};function Lf(){return{enter:{table:Ff,tableData:Oi,tableHeader:Oi,tableRow:Pf},exit:{codeText:wf,table:Of,tableData:jr,tableHeader:jr,tableRow:jr}}}function Ff(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 Of(e){this.exit(e),this.data.inTable=void 0}function Pf(e){this.enter({type:"tableRow",children:[]},e)}function jr(e){this.exit(e)}function Oi(e){this.enter({type:"tableCell",children:[]},e)}function wf(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Bf));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Bf(e,t){return t==="|"?t:e}function Mf(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,u=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
45
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:T,table:a,tableCell:l,tableRow:o}};function a(p,g,S,N){return c(f(p,S,N),p.align)}function o(p,g,S,N){const y=d(p,S,N),L=c([y]);return L.slice(0,L.indexOf(`
|
|
46
|
+
`))}function l(p,g,S,N){const y=S.enter("tableCell"),L=S.enter("phrasing"),B=S.containerPhrasing(p,{...N,before:i,after:i});return L(),y(),B}function c(p,g){return $0(p,{align:g,alignDelimiters:r,padding:n,stringLength:u})}function f(p,g,S){const N=p.children;let y=-1;const L=[],B=g.enter("table");for(;++y<N.length;)L[y]=d(N[y],g,S);return B(),L}function d(p,g,S){const N=p.children;let y=-1;const L=[],B=g.enter("tableRow");for(;++y<N.length;)L[y]=l(N[y],p,g,S);return B(),L}function T(p,g,S){let N=ns.inlineCode(p,g,S);return S.stack.includes("tableCell")&&(N=N.replace(/\|/g,"\\$&")),N}}function vf(){return{exit:{taskListCheckValueChecked:Pi,taskListCheckValueUnchecked:Pi,paragraph:Uf}}}function Hf(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:zf}}}function Pi(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Uf(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 zf(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=ns.listItem(e,t,n,{...r,...o.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(f){return f+a}}function jf(){return[b0(),R0(),q0(),Lf(),vf()]}function Yf(e){return{extensions:[g0(),L0(),V0(),Mf(e),Hf()]}}const qf={tokenize:Xf,partial:!0},rs={tokenize:Kf,partial:!0},us={tokenize:Jf,partial:!0},is={tokenize:Zf,partial:!0},Vf={tokenize:eh,partial:!0},as={name:"wwwAutolink",tokenize:Gf,previous:os},ss={name:"protocolAutolink",tokenize:$f,previous:ls},At={name:"emailAutolink",tokenize:Qf,previous:cs},ft={};function Wf(){return{text:ft}}let Bt=48;for(;Bt<123;)ft[Bt]=At,Bt++,Bt===58?Bt=65:Bt===91&&(Bt=97);ft[43]=At;ft[45]=At;ft[46]=At;ft[95]=At;ft[72]=[At,ss];ft[104]=[At,ss];ft[87]=[At,as];ft[119]=[At,as];function Qf(e,t,n){const r=this;let u,i;return a;function a(d){return!ou(d)||!cs.call(r,r.previous)||Iu(r.events)?n(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(d))}function o(d){return ou(d)?(e.consume(d),o):d===64?(e.consume(d),l):n(d)}function l(d){return d===46?e.check(Vf,f,c)(d):d===45||d===95||Ie(d)?(i=!0,e.consume(d),l):f(d)}function c(d){return e.consume(d),u=!0,l}function f(d){return i&&u&&Le(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):n(d)}}function Gf(e,t,n){const r=this;return u;function u(a){return a!==87&&a!==119||!os.call(r,r.previous)||Iu(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(qf,e.attempt(rs,e.attempt(us,i),n),n)(a))}function i(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function $f(e,t,n){const r=this;let u="",i=!1;return a;function a(d){return(d===72||d===104)&&ls.call(r,r.previous)&&!Iu(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),u+=String.fromCodePoint(d),e.consume(d),o):n(d)}function o(d){if(Le(d)&&u.length<5)return u+=String.fromCodePoint(d),e.consume(d),o;if(d===58){const T=u.toLowerCase();if(T==="http"||T==="https")return e.consume(d),l}return n(d)}function l(d){return d===47?(e.consume(d),i?c:(i=!0,l)):n(d)}function c(d){return d===null||nr(d)||fe(d)||Ut(d)||lr(d)?n(d):e.attempt(rs,e.attempt(us,f),n)(d)}function f(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function Xf(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 Kf(e,t,n){let r,u,i;return a;function a(c){return c===46||c===95?e.check(is,l,o)(c):c===null||fe(c)||Ut(c)||c!==45&&lr(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 Jf(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(is,t,i)(a):a===null||fe(a)||Ut(a)?t(a):(e.consume(a),u)}function i(a){return a===41&&r++,e.consume(a),u}}function Zf(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||fe(o)||Ut(o)?t(o):n(o)}function u(o){return o===null||o===40||o===91||fe(o)||Ut(o)?t(o):r(o)}function i(o){return Le(o)?a(o):n(o)}function a(o){return o===59?(e.consume(o),r):Le(o)?(e.consume(o),a):n(o)}}function eh(e,t,n){return r;function r(i){return e.consume(i),u}function u(i){return Ie(i)?n(i):t(i)}}function os(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||fe(e)}function ls(e){return!Le(e)}function cs(e){return!(e===47||ou(e))}function ou(e){return e===43||e===45||e===46||e===95||Ie(e)}function Iu(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 th={tokenize:lh,partial:!0};function nh(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:ah,continuation:{tokenize:sh},exit:oh}},text:{91:{name:"gfmFootnoteCall",tokenize:ih},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:rh,resolveTo:uh}}}}function rh(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=at(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 uh(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 ih(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,a;return o;function o(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(d){if(i>999||d===93&&!a||d===null||d===91||fe(d))return n(d);if(d===93){e.exit("chunkString");const T=e.exit("gfmFootnoteCallString");return u.includes(at(r.sliceSerialize(T)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(d)}return fe(d)||(a=!0),i++,e.consume(d),d===92?f:c}function f(d){return d===91||d===92||d===93?(e.consume(d),i++,c):c(d)}}function ah(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0,o;return l;function l(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(g)}function f(g){if(a>999||g===93&&!o||g===null||g===91||fe(g))return n(g);if(g===93){e.exit("chunkString");const S=e.exit("gfmFootnoteDefinitionLabelString");return i=at(r.sliceSerialize(S)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),T}return fe(g)||(o=!0),a++,e.consume(g),g===92?d:f}function d(g){return g===91||g===92||g===93?(e.consume(g),a++,f):f(g)}function T(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),u.includes(i)||u.push(i),ue(e,p,"gfmFootnoteDefinitionWhitespace")):n(g)}function p(g){return t(g)}}function sh(e,t,n){return e.check(Hn,t,e.attempt(th,t,n))}function oh(e){e.exit("gfmFootnoteDefinition")}function lh(e,t,n){const r=this;return ue(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 ch(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 f={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},d={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},T=[["enter",f,o],["enter",a[c][1],o],["exit",a[c][1],o],["enter",d,o]],p=o.parser.constructs.insideSpan.null;p&&tt(T,T.length,0,cr(p,a.slice(c+1,l),o)),tt(T,T.length,0,[["exit",d,o],["enter",a[l][1],o],["exit",a[l][1],o],["exit",f,o]]),tt(a,c-1,l-c+3,T),l=c+T.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,f=this.events;let d=0;return T;function T(g){return c===126&&f[f.length-1][1].type!=="characterEscape"?l(g):(a.enter("strikethroughSequenceTemporary"),p(g))}function p(g){const S=rr(c);if(g===126)return d>1?l(g):(a.consume(g),d++,p);if(d<2&&!n)return l(g);const N=a.exit("strikethroughSequenceTemporary"),y=rr(g);return N._open=!y||y===2&&!!S,N._close=!S||S===2&&!!y,o(g)}}}class fh{constructor(){this.map=[]}add(t,n,r){hh(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 hh(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 dh(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 mh(){return{flow:{null:{name:"table",tokenize:ph,resolveAll:Eh}}}}function ph(e,t,n){const r=this;let u=0,i=0,a;return o;function o(I){let j=r.events.length-1;for(;j>-1;){const X=r.events[j][1].type;if(X==="lineEnding"||X==="linePrefix")j--;else break}const v=j>-1?r.events[j][1].type:null,G=v==="tableHead"||v==="tableRow"?F:l;return G===F&&r.parser.lazy[r.now().line]?n(I):G(I)}function l(I){return e.enter("tableHead"),e.enter("tableRow"),c(I)}function c(I){return I===124||(a=!0,i+=1),f(I)}function f(I){return I===null?n(I):W(I)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),p):n(I):se(I)?ue(e,f,"whitespace")(I):(i+=1,a&&(a=!1,u+=1),I===124?(e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),a=!0,f):(e.enter("data"),d(I)))}function d(I){return I===null||I===124||fe(I)?(e.exit("data"),f(I)):(e.consume(I),I===92?T:d)}function T(I){return I===92||I===124?(e.consume(I),d):d(I)}function p(I){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(I):(e.enter("tableDelimiterRow"),a=!1,se(I)?ue(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(I):g(I))}function g(I){return I===45||I===58?N(I):I===124?(a=!0,e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),S):K(I)}function S(I){return se(I)?ue(e,N,"whitespace")(I):N(I)}function N(I){return I===58?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(I),e.exit("tableDelimiterMarker"),y):I===45?(i+=1,y(I)):I===null||W(I)?Q(I):K(I)}function y(I){return I===45?(e.enter("tableDelimiterFiller"),L(I)):K(I)}function L(I){return I===45?(e.consume(I),L):I===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(I),e.exit("tableDelimiterMarker"),B):(e.exit("tableDelimiterFiller"),B(I))}function B(I){return se(I)?ue(e,Q,"whitespace")(I):Q(I)}function Q(I){return I===124?g(I):I===null||W(I)?!a||u!==i?K(I):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(I)):K(I)}function K(I){return n(I)}function F(I){return e.enter("tableRow"),w(I)}function w(I){return I===124?(e.enter("tableCellDivider"),e.consume(I),e.exit("tableCellDivider"),w):I===null||W(I)?(e.exit("tableRow"),t(I)):se(I)?ue(e,w,"whitespace")(I):(e.enter("data"),ee(I))}function ee(I){return I===null||I===124||fe(I)?(e.exit("data"),w(I)):(e.consume(I),I===92?J:ee)}function J(I){return I===92||I===124?(e.consume(I),ee):ee(I)}}function Eh(e,t){let n=-1,r=!0,u=0,i=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,f,d;const T=new fh;for(;++n<e.length;){const p=e[n],g=p[1];p[0]==="enter"?g.type==="tableHead"?(o=!1,l!==0&&(wi(T,t,l,c,f),f=void 0,l=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},T.add(n,0,[["enter",c,t]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,d=void 0,i=[0,0,0,0],a=[0,n+1,0,0],o&&(o=!1,f={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},T.add(n,0,[["enter",f,t]])),u=g.type==="tableDelimiterRow"?2:f?3:1):u&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(i[1]!==0&&(a[0]=a[1],d=Vn(T,t,i,u,void 0,d),i=[0,0,0,0]),a[2]=n)):g.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(a[0]=a[1],d=Vn(T,t,i,u,void 0,d)),i=a,a=[i[1],n,0,0])):g.type==="tableHead"?(o=!0,l=n):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=n,i[1]!==0?(a[0]=a[1],d=Vn(T,t,i,u,n,d)):a[1]!==0&&(d=Vn(T,t,a,u,n,d)),u=0):u&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&wi(T,t,l,c,f),T.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=dh(t.events,n))}return e}function Vn(e,t,n,r,u,i){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",o="tableContent";n[0]!==0&&(i.end=Object.assign({},Qt(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const l=Qt(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=Qt(t.events,n[2]),f=Qt(t.events,n[3]),d={type:o,start:Object.assign({},c),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",d,t]]),r!==2){const T=t.events[n[2]],p=t.events[n[3]];if(T[1].end=Object.assign({},p[1].end),T[1].type="chunkText",T[1].contentType="text",n[3]>n[2]+1){const g=n[2]+1,S=n[3]-n[2]-1;e.add(g,S,[])}}e.add(n[3]+1,0,[["exit",d,t]])}return u!==void 0&&(i.end=Object.assign({},Qt(t.events,u)),e.add(u,0,[["exit",i,t]]),i=void 0),i}function wi(e,t,n,r,u){const i=[],a=Qt(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 Qt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Th={name:"tasklistCheck",tokenize:gh};function bh(){return{text:{91:Th}}}function gh(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 fe(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 W(l)?t(l):se(l)?e.check({tokenize:Ah},t,n)(l):n(l)}}function Ah(e,t,n){return ue(e,r,"whitespace");function r(u){return u===null?n(u):t(u)}}function Ch(e){return Ia([Wf(),nh(),ch(e),mh(),bh()])}const _h={};function Dh(e){const t=this,n=e||_h,r=t.data(),u=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);u.push(Ch(n)),i.push(jf()),a.push(Yf(n))}const xh=["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"],Bi={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 fs(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function Nh(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function yh(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function Mi(e){return yh(e)||fs(e)}const Vt=String.fromCharCode,Ih=["","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 Su(e,t={}){const n=typeof t.additional=="string"?t.additional.charCodeAt(0):t.additional,r=[];let u=0,i=-1,a="",o,l;t.position&&("start"in t.position||"indent"in t.position?(l=t.position.indent,o=t.position.start):o=t.position);let c=(o?o.line:0)||1,f=(o?o.column:0)||1,d=p(),T;for(u--;++u<=e.length;)if(T===10&&(f=(l?l[i]:0)||1),T=e.charCodeAt(u),T===38){const N=e.charCodeAt(u+1);if(N===9||N===10||N===12||N===32||N===38||N===60||Number.isNaN(N)||n&&N===n){a+=Vt(T),f++;continue}const y=u+1;let L=y,B=y,Q;if(N===35){B=++L;const v=e.charCodeAt(B);v===88||v===120?(Q="hexadecimal",B=++L):Q="decimal"}else Q="named";let K="",F="",w="";const ee=Q==="named"?Mi:Q==="decimal"?fs:Nh;for(B--;++B<=e.length;){const v=e.charCodeAt(B);if(!ee(v))break;w+=Vt(v),Q==="named"&&xh.includes(w)&&(K=w,F=Pn(w))}let J=e.charCodeAt(B)===59;if(J){B++;const v=Q==="named"?Pn(w):!1;v&&(K=w,F=v)}let I=1+B-y,j="";if(!(!J&&t.nonTerminated===!1))if(!w)Q!=="named"&&g(4,I);else if(Q==="named"){if(J&&!F)g(5,1);else if(K!==w&&(B=L+K.length,I=1+B-L,J=!1),!J){const v=K?1:3;if(t.attribute){const G=e.charCodeAt(B);G===61?(g(v,I),F=""):Mi(G)?F="":g(v,I)}else g(v,I)}j=F}else{J||g(2,I);let v=Number.parseInt(w,Q==="hexadecimal"?16:10);if(Sh(v))g(7,I),j=Vt(65533);else if(v in Bi)g(6,I),j=Bi[v];else{let G="";kh(v)&&g(6,I),v>65535&&(v-=65536,G+=Vt(v>>>10|55296),v=56320|v&1023),j=G+Vt(v)}}if(j){S(),d=p(),u=B-1,f+=B-y+1,r.push(j);const v=p();v.offset++,t.reference&&t.reference.call(t.referenceContext,j,{start:d,end:v},e.slice(y-1,B)),d=v}else w=e.slice(y-1,B),a+=w,f+=w.length,u=B-1}else T===10&&(c++,i++,f=0),Number.isNaN(T)?S():(a+=Vt(T),f++);return r.join("");function p(){return{line:c,column:f,offset:u+((o?o.offset:0)||0)}}function g(N,y){let L;t.warning&&(L=p(),L.column+=y,L.offset+=y,t.warning.call(t.warningContext,Ih[N],L,N))}function S(){a&&(r.push(a),t.text&&t.text.call(t.textContext,a,{start:d,end:p()}),a="")}}function Sh(e){return e>=55296&&e<=57343||e>1114111}function kh(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 Rh=/["&'<>`]/g,Lh=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Fh=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Oh=/[|\\{}()[\]^$+*?.]/g,vi=new WeakMap;function Ph(e,t){if(e=e.replace(t.subset?wh(t.subset):Rh,r),t.subset||t.escapeOnly)return e;return e.replace(Lh,n).replace(Fh,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 wh(e){let t=vi.get(e);return t||(t=Bh(e),vi.set(e,t)),t}function Bh(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Oh,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function Mh(e){return"&#x"+e.toString(16).toUpperCase()+";"}function vh(e,t){return Ph(e,Object.assign({format:Mh},t))}const Hh={}.hasOwnProperty,Hi=/^[^\t\n\r "#'.<=>`}]+$/;Zn.peek=Qh;function Uh(){return{canContainEols:["textDirective"],enter:{directiveContainer:jh,directiveContainerAttributes:qr,directiveContainerLabel:Vh,directiveLeaf:Yh,directiveLeafAttributes:qr,directiveText:qh,directiveTextAttributes:qr},exit:{directiveContainer:Xr,directiveContainerAttributeClassValue:Wr,directiveContainerAttributeIdValue:Vr,directiveContainerAttributeName:Gr,directiveContainerAttributeValue:Qr,directiveContainerAttributes:$r,directiveContainerLabel:Wh,directiveContainerName:Yr,directiveLeaf:Xr,directiveLeafAttributeClassValue:Wr,directiveLeafAttributeIdValue:Vr,directiveLeafAttributeName:Gr,directiveLeafAttributeValue:Qr,directiveLeafAttributes:$r,directiveLeafName:Yr,directiveText:Xr,directiveTextAttributeClassValue:Wr,directiveTextAttributeIdValue:Vr,directiveTextAttributeName:Gr,directiveTextAttributeValue:Qr,directiveTextAttributes:$r,directiveTextName:Yr}}}function zh(){return{unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
|
|
47
|
+
`,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:Zn,leafDirective:Zn,textDirective:Zn}}}function jh(e){ku.call(this,"containerDirective",e)}function Yh(e){ku.call(this,"leafDirective",e)}function qh(e){ku.call(this,"textDirective",e)}function ku(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function Yr(e){const t=this.stack[this.stack.length-1];t.type==="containerDirective"||t.type==="leafDirective"||t.type,t.name=this.sliceSerialize(e)}function Vh(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)}function Wh(e){this.exit(e)}function qr(){this.data.directiveAttributes=[],this.buffer()}function Vr(e){this.data.directiveAttributes.push(["id",Su(this.sliceSerialize(e),{attribute:!0})])}function Wr(e){this.data.directiveAttributes.push(["class",Su(this.sliceSerialize(e),{attribute:!0})])}function Qr(e){const t=this.data.directiveAttributes;t[t.length-1][1]=Su(this.sliceSerialize(e),{attribute:!0})}function Gr(e){this.data.directiveAttributes.push([this.sliceSerialize(e),""])}function $r(){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 Xr(e){this.exit(e)}function Zn(e,t,n,r){const u=n.createTracker(r),i=$h(e),a=n.enter(e.type);let o=u.move(i+(e.name||"")),l;if(e.type==="containerDirective"){const c=(e.children||[])[0];l=Ui(c)?c:void 0}else l=e;if(l&&l.children&&l.children.length>0){const c=n.enter("label"),f=`${e.type}Label`,d=n.enter(f);o+=u.move("["),o+=u.move(n.containerPhrasing(l,{...u.current(),before:o,after:"]"})),o+=u.move("]"),d(),c()}if(o+=u.move(Gh(e,n)),e.type==="containerDirective"){const c=(e.children||[])[0];let f=e;Ui(c)&&(f=Object.assign({},e,{children:e.children.slice(1)})),f&&f.children&&f.children.length>0&&(o+=u.move(`
|
|
48
|
+
`),o+=u.move(n.containerFlow(f,u.current()))),o+=u.move(`
|
|
49
|
+
`+i)}return a(),o}function Qh(){return":"}function Gh(e,t){const n=t.options.quote||'"',r=e.type==="textDirective"?[n]:[n,`
|
|
50
|
+
`,"\r"],u=e.attributes||{},i=[];let a,o,l,c;for(c in u)if(Hh.call(u,c)&&u[c]!==void 0&&u[c]!==null){const d=String(u[c]);if(c==="id")l=Hi.test(d)?"#"+d:f("id",d);else if(c==="class"){const T=d.split(/[\t\n\r ]+/g),p=[],g=[];let S=-1;for(;++S<T.length;)(Hi.test(T[S])?g:p).push(T[S]);a=p.length>0?f("class",p.join(" ")):"",o=g.length>0?"."+g.join("."):""}else i.push(f(c,d))}return a&&i.unshift(a),o&&i.unshift(o),l&&i.unshift(l),i.length>0?"{"+i.join(" ")+"}":"";function f(d,T){return d+(T?"="+n+vh(T,{subset:r})+n:"")}}function Ui(e){return!!(e&&e.type==="paragraph"&&e.data&&e.data.directiveLabel)}function $h(e){let t=0;return e.type==="containerDirective"?(xu(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 Ru(e,t,n,r,u,i,a,o,l,c,f,d,T,p,g){let S,N;return y;function y(D){return e.enter(r),e.enter(u),e.consume(D),e.exit(u),L}function L(D){return D===35?(S=a,B(D)):D===46?(S=o,B(D)):D===58||D===95||Le(D)?(e.enter(i),e.enter(l),e.consume(D),F):g&&se(D)?ue(e,L,"whitespace")(D):!g&&fe(D)?Et(e,L)(D):X(D)}function B(D){const me=S+"Marker";return e.enter(i),e.enter(S),e.enter(me),e.consume(D),e.exit(me),Q}function Q(D){if(D===null||D===34||D===35||D===39||D===46||D===60||D===61||D===62||D===96||D===125||fe(D))return n(D);const me=S+"Value";return e.enter(me),e.consume(D),K}function K(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||fe(D)){const me=S+"Value";return e.exit(me),e.exit(S),e.exit(i),L(D)}return e.consume(D),K}function F(D){return D===45||D===46||D===58||D===95||Ie(D)?(e.consume(D),F):(e.exit(l),g&&se(D)?ue(e,w,"whitespace")(D):!g&&fe(D)?Et(e,w)(D):w(D))}function w(D){return D===61?(e.enter(c),e.consume(D),e.exit(c),ee):(e.exit(i),L(D))}function ee(D){return D===null||D===60||D===61||D===62||D===96||D===125||g&&W(D)?n(D):D===34||D===39?(e.enter(f),e.enter(T),e.consume(D),e.exit(T),N=D,I):g&&se(D)?ue(e,ee,"whitespace")(D):!g&&fe(D)?Et(e,ee)(D):(e.enter(d),e.enter(p),e.consume(D),N=void 0,J)}function J(D){return D===null||D===34||D===39||D===60||D===61||D===62||D===96?n(D):D===125||fe(D)?(e.exit(p),e.exit(d),e.exit(i),L(D)):(e.consume(D),J)}function I(D){return D===N?(e.enter(T),e.consume(D),e.exit(T),e.exit(f),e.exit(i),G):(e.enter(d),j(D))}function j(D){return D===N?(e.exit(d),I(D)):D===null?n(D):W(D)?g?n(D):Et(e,j)(D):(e.enter(p),e.consume(D),v)}function v(D){return D===N||D===null||W(D)?(e.exit(p),j(D)):(e.consume(D),v)}function G(D){return D===125||fe(D)?L(D):X(D)}function X(D){return D===125?(e.enter(u),e.consume(D),e.exit(u),e.exit(r),t):n(D)}}function Lu(e,t,n,r,u,i,a){let o=0,l=0,c;return f;function f(N){return e.enter(r),e.enter(u),e.consume(N),e.exit(u),d}function d(N){return N===93?(e.enter(u),e.consume(N),e.exit(u),e.exit(r),t):(e.enter(i),T(N))}function T(N){if(N===93&&!l)return S(N);const y=e.enter("chunkText",{contentType:"text",previous:c});return c&&(c.next=y),c=y,p(N)}function p(N){return N===null||o>999||N===91&&++l>32?n(N):N===93&&!l--?(e.exit("chunkText"),S(N)):W(N)?a?n(N):(e.consume(N),e.exit("chunkText"),T):(e.consume(N),N===92?g:p)}function g(N){return N===91||N===92||N===93?(e.consume(N),o++,p):p(N)}function S(N){return e.exit(i),e.enter(u),e.consume(N),e.exit(u),e.exit(r),t}}function Fu(e,t,n,r){const u=this;return i;function i(o){return Le(o)?(e.enter(r),e.consume(o),a):n(o)}function a(o){return o===45||o===95||Ie(o)?(e.consume(o),a):(e.exit(r),u.previous===45||u.previous===95?n(o):t(o))}}const Xh={tokenize:Zh,concrete:!0},Kh={tokenize:ed,partial:!0},Jh={tokenize:td,partial:!0},zi={tokenize:nd,partial:!0};function Zh(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(w){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),c(w)}function c(w){return w===58?(e.consume(w),a++,c):a<3?n(w):(e.exit("directiveContainerSequence"),Fu.call(r,e,f,n,"directiveContainerName")(w))}function f(w){return w===91?e.attempt(Kh,d,d)(w):d(w)}function d(w){return w===123?e.attempt(Jh,T,T)(w):T(w)}function T(w){return ue(e,p,"whitespace")(w)}function p(w){return e.exit("directiveContainerFence"),w===null?g(w):W(w)?r.interrupt?t(w):e.attempt(zi,S,g)(w):n(w)}function g(w){return e.exit("directiveContainer"),t(w)}function S(w){return w===null?(e.exit("directiveContainer"),t(w)):(e.enter("directiveContainerContent"),N(w))}function N(w){return w===null?K(w):e.attempt({tokenize:F,partial:!0},K,i?ue(e,y,"linePrefix",i+1):y)(w)}function y(w){if(w===null)return K(w);const ee=e.enter("chunkDocument",{contentType:"document",previous:o});return o&&(o.next=ee),o=ee,L(w)}function L(w){if(w===null){const ee=e.exit("chunkDocument");return r.parser.lazy[ee.start.line]=!1,K(w)}return W(w)?e.check(zi,B,Q)(w):(e.consume(w),L)}function B(w){e.consume(w);const ee=e.exit("chunkDocument");return r.parser.lazy[ee.start.line]=!1,N}function Q(w){const ee=e.exit("chunkDocument");return r.parser.lazy[ee.start.line]=!1,K(w)}function K(w){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(w)}function F(w,ee,J){let I=0;return ue(w,j,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function j(X){return w.enter("directiveContainerFence"),w.enter("directiveContainerSequence"),v(X)}function v(X){return X===58?(w.consume(X),I++,v):I<a?J(X):(w.exit("directiveContainerSequence"),ue(w,G,"whitespace")(X))}function G(X){return X===null||W(X)?(w.exit("directiveContainerFence"),ee(X)):J(X)}}}function ed(e,t,n){return Lu(e,t,n,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)}function td(e,t,n){return Ru(e,t,n,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)}function nd(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 rd={tokenize:ad},ud={tokenize:sd,partial:!0},id={tokenize:od,partial:!0};function ad(e,t,n){const r=this;return u;function u(f){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(f),i}function i(f){return f===58?(e.consume(f),e.exit("directiveLeafSequence"),Fu.call(r,e,a,n,"directiveLeafName")):n(f)}function a(f){return f===91?e.attempt(ud,o,o)(f):o(f)}function o(f){return f===123?e.attempt(id,l,l)(f):l(f)}function l(f){return ue(e,c,"whitespace")(f)}function c(f){return f===null||W(f)?(e.exit("directiveLeaf"),t(f)):n(f)}}function sd(e,t,n){return Lu(e,t,n,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)}function od(e,t,n){return Ru(e,t,n,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)}const ld={tokenize:dd,previous:hd},cd={tokenize:md,partial:!0},fd={tokenize:pd,partial:!0};function hd(e){return e!==58||this.events[this.events.length-1][1].type==="characterEscape"}function dd(e,t,n){const r=this;return u;function u(l){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(l),e.exit("directiveTextMarker"),Fu.call(r,e,i,n,"directiveTextName")}function i(l){return l===58?n(l):l===91?e.attempt(cd,a,a)(l):a(l)}function a(l){return l===123?e.attempt(fd,o,o)(l):o(l)}function o(l){return e.exit("directiveText"),t(l)}}function md(e,t,n){return Lu(e,t,n,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")}function pd(e,t,n){return Ru(e,t,n,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")}function Ed(){return{text:{58:ld},flow:{58:[Xh,rd]}}}function Td(){const t=this.data(),n=t.micromarkExtensions||(t.micromarkExtensions=[]),r=t.fromMarkdownExtensions||(t.fromMarkdownExtensions=[]),u=t.toMarkdownExtensions||(t.toMarkdownExtensions=[]);n.push(Ed()),r.push(Uh()),u.push(zh())}function bd(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 gd(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
51
|
+
`}]}function Ad(e,t){const n=t.value?t.value+`
|
|
52
|
+
`:"",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 Cd(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function _d(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Dd(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),u=Jt(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 xd(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 Nd(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function hs(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 yd(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return hs(e,t);const u={src:Jt(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 Id(e,t){const n={src:Jt(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 Sd(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 kd(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return hs(e,t);const u={href:Jt(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 Rd(e,t){const n={href:Jt(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 Ld(e,t,n){const r=e.all(t),u=n?Fd(n):ds(t),i={},a=[];if(typeof t.checked=="boolean"){const f=r[0];let d;f&&f.type==="element"&&f.tagName==="p"?d=f:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.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 f=r[o];(u||o!==0||f.type!=="element"||f.tagName!=="p")&&a.push({type:"text",value:`
|
|
53
|
+
`}),f.type==="element"&&f.tagName==="p"&&!u?a.push(...f.children):a.push(f)}const l=r[r.length-1];l&&(u||l.type!=="element"||l.tagName!=="p")&&a.push({type:"text",value:`
|
|
54
|
+
`});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)}function Fd(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=ds(n[r])}return t}function ds(e){const t=e.spread;return t??e.children.length>1}function Od(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 Pd(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function wd(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Bd(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const dr=ms("end"),ht=ms("start");function ms(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 Md(e){const t=ht(e),n=dr(e);if(t&&n)return{start:t,end:n}}function vd(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=ht(t.children[1]),l=dr(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 Hd(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 d=t.children[l],T={},p=a?a[l]:void 0;p&&(T.align=p);let g={type:"element",tagName:i,properties:T,children:[]};d&&(g.children=e.all(d),e.patch(d,g),g=e.applyData(d,g)),c.push(g)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,f),e.applyData(t,f)}function Ud(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const ji=9,Yi=32;function zd(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),u=0;const i=[];for(;r;)i.push(qi(t.slice(u,r.index),u>0,!0),r[0]),u=r.index+r[0].length,r=n.exec(t);return i.push(qi(t.slice(u),u>0,!1)),i.join("")}function qi(e,t,n){let r=0,u=e.length;if(t){let i=e.codePointAt(r);for(;i===ji||i===Yi;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(u-1);for(;i===ji||i===Yi;)u--,i=e.codePointAt(u-1)}return u>r?e.slice(r,u):""}function jd(e,t){const n={type:"text",value:zd(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Yd(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const qd={blockquote:bd,break:gd,code:Ad,delete:Cd,emphasis:_d,footnoteReference:Dd,heading:xd,html:Nd,imageReference:yd,image:Id,inlineCode:Sd,linkReference:kd,link:Rd,listItem:Ld,list:Od,paragraph:Pd,root:wd,strong:Bd,table:vd,tableCell:Ud,tableRow:Hd,text:jd,thematicBreak:Yd,toml:Wn,yaml:Wn,definition:Wn,footnoteDefinition:Wn};function Wn(){}const ps=-1,mr=0,ur=1,ir=2,Ou=3,Pu=4,wu=5,Bu=6,Es=7,Ts=8,Vi=typeof self=="object"?self:globalThis,Vd=(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 mr:case ps:return n(a,u);case ur:{const o=n([],u);for(const l of a)o.push(r(l));return o}case ir:{const o=n({},u);for(const[l,c]of a)o[r(l)]=r(c);return o}case Ou:return n(new Date(a),u);case Pu:{const{source:o,flags:l}=a;return n(new RegExp(o,l),u)}case wu:{const o=n(new Map,u);for(const[l,c]of a)o.set(r(l),r(c));return o}case Bu:{const o=n(new Set,u);for(const l of a)o.add(r(l));return o}case Es:{const{name:o,message:l}=a;return n(new Vi[o](l),u)}case Ts:return n(BigInt(a),u);case"BigInt":return n(Object(BigInt(a)),u)}return n(new Vi[i](a),u)};return r},Wi=e=>Vd(new Map,e)(0),Wt="",{toString:Wd}={},{keys:Qd}=Object,An=e=>{const t=typeof e;if(t!=="object"||!e)return[mr,t];const n=Wd.call(e).slice(8,-1);switch(n){case"Array":return[ur,Wt];case"Object":return[ir,Wt];case"Date":return[Ou,Wt];case"RegExp":return[Pu,Wt];case"Map":return[wu,Wt];case"Set":return[Bu,Wt]}return n.includes("Array")?[ur,n]:n.includes("Error")?[Es,n]:[ir,n]},Qn=([e,t])=>e===mr&&(t==="function"||t==="symbol"),Gd=(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]=An(a);switch(o){case mr:{let f=a;switch(l){case"bigint":o=Ts,f=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);f=null;break;case"undefined":return u([ps],a)}return u([o,f],a)}case ur:{if(l)return u([l,[...a]],a);const f=[],d=u([o,f],a);for(const T of a)f.push(i(T));return d}case ir:{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 f=[],d=u([o,f],a);for(const T of Qd(a))(e||!Qn(An(a[T])))&&f.push([i(T),i(a[T])]);return d}case Ou:return u([o,a.toISOString()],a);case Pu:{const{source:f,flags:d}=a;return u([o,{source:f,flags:d}],a)}case wu:{const f=[],d=u([o,f],a);for(const[T,p]of a)(e||!(Qn(An(T))||Qn(An(p))))&&f.push([i(T),i(p)]);return d}case Bu:{const f=[],d=u([o,f],a);for(const T of a)(e||!Qn(An(T)))&&f.push(i(T));return d}}const{message:c}=a;return u([o,{name:l,message:c}],a)};return i},Qi=(e,{json:t,lossy:n}={})=>{const r=[];return Gd(!(t||n),!!t,new Map,r)(e),r},Tt=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Wi(Qi(e,t)):structuredClone(e):(e,t)=>Wi(Qi(e,t));function $d(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 Xd(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Kd(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||$d,r=e.options.footnoteBackLabel||Xd,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 f=e.all(c),d=String(c.identifier).toUpperCase(),T=Jt(d.toLowerCase());let p=0;const g=[],S=e.footnoteCounts.get(d);for(;S!==void 0&&++p<=S;){g.length>0&&g.push({type:"text",value:" "});let L=typeof n=="string"?n:n(l,p);typeof L=="string"&&(L={type:"text",value:L}),g.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+T+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,p),className:["data-footnote-backref"]},children:Array.isArray(L)?L:[L]})}const N=f[f.length-1];if(N&&N.type==="element"&&N.tagName==="p"){const L=N.children[N.children.length-1];L&&L.type==="text"?L.value+=" ":N.children.push({type:"text",value:" "}),N.children.push(...g)}else f.push(...g);const y={type:"element",tagName:"li",properties:{id:t+"fn-"+T},children:e.wrap(f,!0)};e.patch(c,y),o.push(y)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Tt(a),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
|
|
55
|
+
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
|
|
56
|
+
`}]}}const lu={}.hasOwnProperty,Jd={};function Zd(e,t){const n=t||Jd,r=new Map,u=new Map,i=new Map,a={...qd,...n.handlers},o={all:c,applyData:tm,definitionById:r,footnoteById:u,footnoteCounts:i,footnoteOrder:[],handlers:a,one:l,options:n,patch:em,wrap:rm};return Ye(e,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const d=f.type==="definition"?r:u,T=String(f.identifier).toUpperCase();d.has(T)||d.set(T,f)}}),o;function l(f,d){const T=f.type,p=o.handlers[T];if(lu.call(o.handlers,T)&&p)return p(o,f,d);if(o.options.passThrough&&o.options.passThrough.includes(T)){if("children"in f){const{children:S,...N}=f,y=Tt(N);return y.children=o.all(f),y}return Tt(f)}return(o.options.unknownHandler||nm)(o,f,d)}function c(f){const d=[];if("children"in f){const T=f.children;let p=-1;for(;++p<T.length;){const g=o.one(T[p],f);if(g){if(p&&T[p-1].type==="break"&&(!Array.isArray(g)&&g.type==="text"&&(g.value=Gi(g.value)),!Array.isArray(g)&&g.type==="element")){const S=g.children[0];S&&S.type==="text"&&(S.value=Gi(S.value))}Array.isArray(g)?d.push(...g):d.push(g)}}}return d}}function em(e,t){e.position&&(t.position=Md(e))}function tm(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,Tt(i)),"children"in n&&n.children&&u!==null&&u!==void 0&&(n.children=u)}return n}function nm(e,t){const n=t.data||{},r="value"in t&&!(lu.call(n,"hProperties")||lu.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 rm(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
57
|
+
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
58
|
+
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
59
|
+
`}),n}function Gi(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function $i(e,t){const n=Zd(e,t),r=n.one(e,void 0),u=Kd(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return u&&i.children.push({type:"text",value:`
|
|
60
|
+
`},u),i}function um(e,t){return e&&"run"in e?async function(n,r){const u=$i(n,{file:r,...t});await e.run(u,r)}:function(n,r){return $i(n,{file:r,...t||e})}}function im(e){za(e,[/\r?\n|\r/g,am])}function am(){return{type:"break"}}function sm(){return function(e){im(e)}}class Un{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Un.prototype.property={};Un.prototype.normal={};Un.prototype.space=null;function bs(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 Un(n,r,t)}function zt(e){return e.toLowerCase()}class nt{constructor(t,n){this.property=t,this.attribute=n}}nt.prototype.space=null;nt.prototype.boolean=!1;nt.prototype.booleanish=!1;nt.prototype.overloadedBoolean=!1;nt.prototype.number=!1;nt.prototype.commaSeparated=!1;nt.prototype.spaceSeparated=!1;nt.prototype.commaOrSpaceSeparated=!1;nt.prototype.mustUseProperty=!1;nt.prototype.defined=!1;let om=0;const re=jt(),_e=jt(),gs=jt(),z=jt(),Ee=jt(),Xt=jt(),$e=jt();function jt(){return 2**++om}const cu=Object.freeze(Object.defineProperty({__proto__:null,boolean:re,booleanish:_e,commaOrSpaceSeparated:$e,commaSeparated:Xt,number:z,overloadedBoolean:gs,spaceSeparated:Ee},Symbol.toStringTag,{value:"Module"})),Kr=Object.keys(cu);class Mu extends nt{constructor(t,n,r,u){let i=-1;if(super(t,n),Xi(this,"space",u),typeof r=="number")for(;++i<Kr.length;){const a=Kr[i];Xi(this,Kr[i],(r&cu[a])===cu[a])}}}Mu.prototype.defined=!0;function Xi(e,t,n){n&&(e[t]=n)}const lm={}.hasOwnProperty;function Zt(e){const t={},n={};let r;for(r in e.properties)if(lm.call(e.properties,r)){const u=e.properties[r],i=new Mu(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[zt(r)]=r,n[zt(i.attribute)]=r}return new Un(t,n,e.space)}const As=Zt({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}}),Cs=Zt({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function _s(e,t){return t in e?e[t]:t}function Ds(e,t){return _s(e,t.toLowerCase())}const xs=Zt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ds,properties:{xmlns:null,xmlnsXLink:null}}),Ns=Zt({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:_e,ariaAutoComplete:null,ariaBusy:_e,ariaChecked:_e,ariaColCount:z,ariaColIndex:z,ariaColSpan:z,ariaControls:Ee,ariaCurrent:null,ariaDescribedBy:Ee,ariaDetails:null,ariaDisabled:_e,ariaDropEffect:Ee,ariaErrorMessage:null,ariaExpanded:_e,ariaFlowTo:Ee,ariaGrabbed:_e,ariaHasPopup:null,ariaHidden:_e,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ee,ariaLevel:z,ariaLive:null,ariaModal:_e,ariaMultiLine:_e,ariaMultiSelectable:_e,ariaOrientation:null,ariaOwns:Ee,ariaPlaceholder:null,ariaPosInSet:z,ariaPressed:_e,ariaReadOnly:_e,ariaRelevant:null,ariaRequired:_e,ariaRoleDescription:Ee,ariaRowCount:z,ariaRowIndex:z,ariaRowSpan:z,ariaSelected:_e,ariaSetSize:z,ariaSort:null,ariaValueMax:z,ariaValueMin:z,ariaValueNow:z,ariaValueText:null,role:null}}),cm=Zt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ds,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Xt,acceptCharset:Ee,accessKey:Ee,action:null,allow:null,allowFullScreen:re,allowPaymentRequest:re,allowUserMedia:re,alt:null,as:null,async:re,autoCapitalize:null,autoComplete:Ee,autoFocus:re,autoPlay:re,blocking:Ee,capture:null,charSet:null,checked:re,cite:null,className:Ee,cols:z,colSpan:null,content:null,contentEditable:_e,controls:re,controlsList:Ee,coords:z|Xt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:re,defer:re,dir:null,dirName:null,disabled:re,download:gs,draggable:_e,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:re,formTarget:null,headers:Ee,height:z,hidden:re,high:z,href:null,hrefLang:null,htmlFor:Ee,httpEquiv:Ee,id:null,imageSizes:null,imageSrcSet:null,inert:re,inputMode:null,integrity:null,is:null,isMap:re,itemId:null,itemProp:Ee,itemRef:Ee,itemScope:re,itemType:Ee,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:re,low:z,manifest:null,max:null,maxLength:z,media:null,method:null,min:null,minLength:z,multiple:re,muted:re,name:null,nonce:null,noModule:re,noValidate:re,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:re,optimum:z,pattern:null,ping:Ee,placeholder:null,playsInline:re,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:re,referrerPolicy:null,rel:Ee,required:re,reversed:re,rows:z,rowSpan:z,sandbox:Ee,scope:null,scoped:re,seamless:re,selected:re,shadowRootClonable:re,shadowRootDelegatesFocus:re,shadowRootMode:null,shape:null,size:z,sizes:null,slot:null,span:z,spellCheck:_e,src:null,srcDoc:null,srcLang:null,srcSet:null,start:z,step:null,style:null,tabIndex:z,target:null,title:null,translate:null,type:null,typeMustMatch:re,useMap:null,value:_e,width:z,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ee,axis:null,background:null,bgColor:null,border:z,borderColor:null,bottomMargin:z,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:re,declare:re,event:null,face:null,frame:null,frameBorder:null,hSpace:z,leftMargin:z,link:null,longDesc:null,lowSrc:null,marginHeight:z,marginWidth:z,noResize:re,noHref:re,noShade:re,noWrap:re,object:null,profile:null,prompt:null,rev:null,rightMargin:z,rules:null,scheme:null,scrolling:_e,standby:null,summary:null,text:null,topMargin:z,valueType:null,version:null,vAlign:null,vLink:null,vSpace:z,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:re,disableRemotePlayback:re,prefix:null,property:null,results:z,security:null,unselectable:null}}),fm=Zt({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:_s,properties:{about:$e,accentHeight:z,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:z,amplitude:z,arabicForm:null,ascent:z,attributeName:null,attributeType:null,azimuth:z,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:z,by:null,calcMode:null,capHeight:z,className:Ee,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:z,diffuseConstant:z,direction:null,display:null,dur:null,divisor:z,dominantBaseline:null,download:re,dx:null,dy:null,edgeMode:null,editable:null,elevation:z,enableBackground:null,end:null,event:null,exponent:z,externalResourcesRequired:null,fill:null,fillOpacity:z,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:z,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:z,horizOriginX:z,horizOriginY:z,id:null,ideographic:z,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:z,k:z,k1:z,k2:z,k3:z,k4:z,kernelMatrix:$e,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:z,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:z,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:z,overlineThickness:z,paintOrder:null,panose1:null,path:null,pathLength:z,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ee,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:z,pointsAtY:z,pointsAtZ:z,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$e,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:$e,rev:$e,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$e,requiredFeatures:$e,requiredFonts:$e,requiredFormats:$e,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:z,specularExponent:z,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:z,strikethroughThickness:z,string:null,stroke:null,strokeDashArray:$e,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:z,strokeOpacity:z,strokeWidth:null,style:null,surfaceScale:z,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$e,tabIndex:z,tableValues:null,target:null,targetX:z,targetY:z,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:$e,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:z,underlineThickness:z,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:z,values:null,vAlphabetic:z,vMathematical:z,vectorEffect:null,vHanging:z,vIdeographic:z,version:null,vertAdvY:z,vertOriginX:z,vertOriginY:z,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:z,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),hm=/^data[-\w.:]+$/i,Ki=/-[a-z]/g,dm=/[A-Z]/g;function zn(e,t){const n=zt(t);let r=t,u=nt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&hm.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Ki,pm);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Ki.test(i)){let a=i.replace(dm,mm);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}u=Mu}return new u(r,t)}function mm(e){return"-"+e.toLowerCase()}function pm(e){return e.charAt(1).toUpperCase()}const Em={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"},en=bs([Cs,As,xs,Ns,cm],"html"),Ct=bs([Cs,As,xs,Ns,fm],"svg");function ar(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 ys(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Ji=/[#.]/g;function Is(e,t){const n=e||"",r={};let u=0,i,a;for(;u<n.length;){Ji.lastIndex=u;const o=Ji.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 wn(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ss(e){return e.join(" ").trim()}const Tm=new Set(["button","menu","reset","submit"]),fu={}.hasOwnProperty;function ks(e,t,n){const r=n&&Cm(n);function u(i,a,...o){let l=-1,c;if(i==null){c={type:"root",children:[]};const f=a;o.unshift(f)}else if(c=Is(i,t),c.tagName=c.tagName.toLowerCase(),r&&fu.call(r,c.tagName)&&(c.tagName=r[c.tagName]),bm(a,c.tagName)){let f;for(f in a)fu.call(a,f)&&gm(e,c.properties,f,a[f])}else o.unshift(a);for(;++l<o.length;)hu(c.children,o[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return u}function bm(e,t){return e==null||typeof e!="object"||Array.isArray(e)?!1:t==="input"||!e.type||typeof e.type!="string"?!0:"children"in e&&Array.isArray(e.children)?!1:t==="button"?Tm.has(e.type.toLowerCase()):!("value"in e)}function gm(e,t,n,r){const u=zn(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=wn(r):u.commaSeparated?a=ar(r):u.commaOrSpaceSeparated?a=wn(ar(r).join(" ")):a=Zi(u,u.property,r):Array.isArray(r)?a=r.concat():a=u.property==="style"?Am(r):String(r);if(Array.isArray(a)){const o=[];for(;++i<a.length;){const l=Zi(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 hu(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;)hu(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?hu(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Zi(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||zt(n)===zt(t)))return!0}return n}function Am(e){const t=[];let n;for(n in e)fu.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function Cm(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const _m=["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"],Dm=ks(en,"div"),xm=ks(Ct,"g",_m);function Nm(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=ea(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=ea(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 ea(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
61
|
+
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const Ht={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/"},Rs={}.hasOwnProperty,ym=Object.prototype;function Im(e,t){const n=t||{};return vu({file:n.file||void 0,location:!1,schema:n.space==="svg"?Ct:en,verbose:n.verbose||!1},e)}function vu(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},er(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:Ls(e,t.childNodes),data:{quirksMode:u}},e.file&&e.location){const i=String(e.file),a=Nm(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"},er(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},er(e,r,n),n}default:return n=Sm(e,t),n}}function Ls(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=vu(e,t[n]);r.push(u)}return r}function Sm(e,t){const n=e.schema;e.schema=t.namespaceURI===Ht.svg?Ct:en;let r=-1;const u={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;Rs.call(ym,l)||(u[l]=o.value)}const a=(e.schema.space==="svg"?xm:Dm)(t.tagName,u,Ls(e,t.childNodes));if(er(e,t,a),a.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&$t(l.startTag),f=l&&l.endTag&&$t(l.endTag),d=vu(e,o.content);c&&f&&e.file&&(d.position={start:c.end,end:f.start}),a.content=d}return e.schema=n,a}function er(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=km(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function km(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)Rs.call(n.attrs,a)&&(i[zn(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=ta({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=ta({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function ta(e){return e.line&&e.column?e:void 0}const Rm={},Lm={}.hasOwnProperty,Fs=Va("type",{handlers:{root:Om,element:vm,text:Bm,comment:Mm,doctype:wm}});function Fm(e,t){const r=(t||Rm).space;return Fs(e,r==="svg"?Ct:en)}function Om(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Hu(e.children,n,t),tn(e,n),n}function Pm(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Hu(e.children,n,t),tn(e,n),n}function wm(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return tn(e,t),t}function Bm(e){const t={nodeName:"#text",value:e.value,parentNode:null};return tn(e,t),t}function Mm(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return tn(e,t),t}function vm(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Ct);const u=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&Lm.call(e.properties,i)){const l=Hm(r,i,e.properties[i]);l&&u.push(l)}}const a=r.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:u,namespaceURI:Ht[a],childNodes:[],parentNode:null};return o.childNodes=Hu(e.children,o,r),tn(e,o),e.tagName==="template"&&e.content&&(o.content=Pm(e.content,r)),o}function Hm(e,t,n){const r=zn(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?ys(n):Ss(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=Ht[r.space]}return u}function Hu(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const i=Fs(e[r],n);i.parentNode=t,u.push(i)}return u}function tn(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 Um=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],zm=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]),ge="�";var m;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.NUMBER_SIGN=35]="NUMBER_SIGN",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_F=70]="LATIN_CAPITAL_F",e[e.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",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_F=102]="LATIN_SMALL_F",e[e.LATIN_SMALL_X=120]="LATIN_SMALL_X",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",e[e.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"})(m=m||(m={}));const ze={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Os(e){return e>=55296&&e<=57343}function jm(e){return e>=56320&&e<=57343}function Ym(e,t){return(e-55296)*1024+9216+t}function Ps(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function ws(e){return e>=64976&&e<=65007||zm.has(e)}var R;(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"})(R=R||(R={}));const qm=65536;class Vm{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=qm,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){const{line:n,col:r,offset:u}=this;return{code:t,startLine:n,endLine:n,startCol:r,endCol:r,startOffset:u,endOffset:u}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t)))}_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(jm(n))return this.pos++,this._addGap(),Ym(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,m.EOF;return this._err(R.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,m.EOF;const r=this.html.charCodeAt(n);return r===m.CARRIAGE_RETURN?m.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,m.EOF;let t=this.html.charCodeAt(this.pos);return t===m.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,m.LINE_FEED):t===m.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Os(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===m.LINE_FEED||t===m.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Ps(t)?this._err(R.controlCharacterInInputStream):ws(t)&&this._err(R.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var oe;(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"})(oe=oe||(oe={}));function Bs(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 Nt=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))),Wm=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Jr;const Qm=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]]),Gm=(Jr=String.fromCodePoint)!==null&&Jr!==void 0?Jr: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 $m(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Qm.get(e))!==null&&t!==void 0?t:e}var ye;(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"})(ye||(ye={}));const Xm=32;var ct;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(ct||(ct={}));function du(e){return e>=ye.ZERO&&e<=ye.NINE}function Km(e){return e>=ye.UPPER_A&&e<=ye.UPPER_F||e>=ye.LOWER_A&&e<=ye.LOWER_F}function Jm(e){return e>=ye.UPPER_A&&e<=ye.UPPER_Z||e>=ye.LOWER_A&&e<=ye.LOWER_Z||du(e)}function Zm(e){return e===ye.EQUALS||Jm(e)}var Ne;(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"})(Ne||(Ne={}));var Mt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Mt||(Mt={}));class e1{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Ne.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Mt.Strict}startEntity(t){this.decodeMode=t,this.state=Ne.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Ne.EntityStart:return t.charCodeAt(n)===ye.NUM?(this.state=Ne.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Ne.NamedEntity,this.stateNamedEntity(t,n));case Ne.NumericStart:return this.stateNumericStart(t,n);case Ne.NumericDecimal:return this.stateNumericDecimal(t,n);case Ne.NumericHex:return this.stateNumericHex(t,n);case Ne.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Xm)===ye.LOWER_X?(this.state=Ne.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Ne.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(du(u)||Km(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(du(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===ye.SEMI)this.consumed+=1;else if(this.decodeMode===Mt.Strict)return 0;return this.emitCodePoint($m(this.result),this.consumed),this.errors&&(t!==ye.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&ct.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=vs(r,u,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Mt.Attribute&&(i===0||Zm(a))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],i=(u&ct.VALUE_LENGTH)>>14,i!==0){if(a===ye.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Mt.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]&ct.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]&~ct.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case Ne.NamedEntity:return this.result!==0&&(this.decodeMode!==Mt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ne.NumericDecimal:return this.emitNumericEntity(0,2);case Ne.NumericHex:return this.emitNumericEntity(0,3);case Ne.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ne.EntityStart:return 0}}}function Ms(e){let t="";const n=new e1(e,r=>t+=Gm(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 vs(e,t,n,r){const u=(t&ct.BRANCH_LENGTH)>>7,i=t&ct.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}Ms(Nt);Ms(Wm);var P;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(P=P||(P={}));var It;(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"})(It=It||(It={}));var Xe;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Xe=Xe||(Xe={}));var x;(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.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"})(x=x||(x={}));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.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"})(s=s||(s={}));const t1=new Map([[x.A,s.A],[x.ADDRESS,s.ADDRESS],[x.ANNOTATION_XML,s.ANNOTATION_XML],[x.APPLET,s.APPLET],[x.AREA,s.AREA],[x.ARTICLE,s.ARTICLE],[x.ASIDE,s.ASIDE],[x.B,s.B],[x.BASE,s.BASE],[x.BASEFONT,s.BASEFONT],[x.BGSOUND,s.BGSOUND],[x.BIG,s.BIG],[x.BLOCKQUOTE,s.BLOCKQUOTE],[x.BODY,s.BODY],[x.BR,s.BR],[x.BUTTON,s.BUTTON],[x.CAPTION,s.CAPTION],[x.CENTER,s.CENTER],[x.CODE,s.CODE],[x.COL,s.COL],[x.COLGROUP,s.COLGROUP],[x.DD,s.DD],[x.DESC,s.DESC],[x.DETAILS,s.DETAILS],[x.DIALOG,s.DIALOG],[x.DIR,s.DIR],[x.DIV,s.DIV],[x.DL,s.DL],[x.DT,s.DT],[x.EM,s.EM],[x.EMBED,s.EMBED],[x.FIELDSET,s.FIELDSET],[x.FIGCAPTION,s.FIGCAPTION],[x.FIGURE,s.FIGURE],[x.FONT,s.FONT],[x.FOOTER,s.FOOTER],[x.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[x.FORM,s.FORM],[x.FRAME,s.FRAME],[x.FRAMESET,s.FRAMESET],[x.H1,s.H1],[x.H2,s.H2],[x.H3,s.H3],[x.H4,s.H4],[x.H5,s.H5],[x.H6,s.H6],[x.HEAD,s.HEAD],[x.HEADER,s.HEADER],[x.HGROUP,s.HGROUP],[x.HR,s.HR],[x.HTML,s.HTML],[x.I,s.I],[x.IMG,s.IMG],[x.IMAGE,s.IMAGE],[x.INPUT,s.INPUT],[x.IFRAME,s.IFRAME],[x.KEYGEN,s.KEYGEN],[x.LABEL,s.LABEL],[x.LI,s.LI],[x.LINK,s.LINK],[x.LISTING,s.LISTING],[x.MAIN,s.MAIN],[x.MALIGNMARK,s.MALIGNMARK],[x.MARQUEE,s.MARQUEE],[x.MATH,s.MATH],[x.MENU,s.MENU],[x.META,s.META],[x.MGLYPH,s.MGLYPH],[x.MI,s.MI],[x.MO,s.MO],[x.MN,s.MN],[x.MS,s.MS],[x.MTEXT,s.MTEXT],[x.NAV,s.NAV],[x.NOBR,s.NOBR],[x.NOFRAMES,s.NOFRAMES],[x.NOEMBED,s.NOEMBED],[x.NOSCRIPT,s.NOSCRIPT],[x.OBJECT,s.OBJECT],[x.OL,s.OL],[x.OPTGROUP,s.OPTGROUP],[x.OPTION,s.OPTION],[x.P,s.P],[x.PARAM,s.PARAM],[x.PLAINTEXT,s.PLAINTEXT],[x.PRE,s.PRE],[x.RB,s.RB],[x.RP,s.RP],[x.RT,s.RT],[x.RTC,s.RTC],[x.RUBY,s.RUBY],[x.S,s.S],[x.SCRIPT,s.SCRIPT],[x.SECTION,s.SECTION],[x.SELECT,s.SELECT],[x.SOURCE,s.SOURCE],[x.SMALL,s.SMALL],[x.SPAN,s.SPAN],[x.STRIKE,s.STRIKE],[x.STRONG,s.STRONG],[x.STYLE,s.STYLE],[x.SUB,s.SUB],[x.SUMMARY,s.SUMMARY],[x.SUP,s.SUP],[x.TABLE,s.TABLE],[x.TBODY,s.TBODY],[x.TEMPLATE,s.TEMPLATE],[x.TEXTAREA,s.TEXTAREA],[x.TFOOT,s.TFOOT],[x.TD,s.TD],[x.TH,s.TH],[x.THEAD,s.THEAD],[x.TITLE,s.TITLE],[x.TR,s.TR],[x.TRACK,s.TRACK],[x.TT,s.TT],[x.U,s.U],[x.UL,s.UL],[x.SVG,s.SVG],[x.VAR,s.VAR],[x.WBR,s.WBR],[x.XMP,s.XMP]]);function nn(e){var t;return(t=t1.get(e))!==null&&t!==void 0?t:s.UNKNOWN}const M=s,n1={[P.HTML]:new Set([M.ADDRESS,M.APPLET,M.AREA,M.ARTICLE,M.ASIDE,M.BASE,M.BASEFONT,M.BGSOUND,M.BLOCKQUOTE,M.BODY,M.BR,M.BUTTON,M.CAPTION,M.CENTER,M.COL,M.COLGROUP,M.DD,M.DETAILS,M.DIR,M.DIV,M.DL,M.DT,M.EMBED,M.FIELDSET,M.FIGCAPTION,M.FIGURE,M.FOOTER,M.FORM,M.FRAME,M.FRAMESET,M.H1,M.H2,M.H3,M.H4,M.H5,M.H6,M.HEAD,M.HEADER,M.HGROUP,M.HR,M.HTML,M.IFRAME,M.IMG,M.INPUT,M.LI,M.LINK,M.LISTING,M.MAIN,M.MARQUEE,M.MENU,M.META,M.NAV,M.NOEMBED,M.NOFRAMES,M.NOSCRIPT,M.OBJECT,M.OL,M.P,M.PARAM,M.PLAINTEXT,M.PRE,M.SCRIPT,M.SECTION,M.SELECT,M.SOURCE,M.STYLE,M.SUMMARY,M.TABLE,M.TBODY,M.TD,M.TEMPLATE,M.TEXTAREA,M.TFOOT,M.TH,M.THEAD,M.TITLE,M.TR,M.TRACK,M.UL,M.WBR,M.XMP]),[P.MATHML]:new Set([M.MI,M.MO,M.MN,M.MS,M.MTEXT,M.ANNOTATION_XML]),[P.SVG]:new Set([M.TITLE,M.FOREIGN_OBJECT,M.DESC]),[P.XLINK]:new Set,[P.XML]:new Set,[P.XMLNS]:new Set};function Hs(e){return e===M.H1||e===M.H2||e===M.H3||e===M.H4||e===M.H5||e===M.H6}x.STYLE,x.SCRIPT,x.XMP,x.IFRAME,x.NOEMBED,x.NOFRAMES,x.PLAINTEXT;const r1=new Map([[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]]);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.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(E||(E={}));const Ce={DATA:E.DATA,RCDATA:E.RCDATA,RAWTEXT:E.RAWTEXT,SCRIPT_DATA:E.SCRIPT_DATA,PLAINTEXT:E.PLAINTEXT,CDATA_SECTION:E.CDATA_SECTION};function In(e){return e>=m.DIGIT_0&&e<=m.DIGIT_9}function Nn(e){return e>=m.LATIN_CAPITAL_A&&e<=m.LATIN_CAPITAL_Z}function u1(e){return e>=m.LATIN_SMALL_A&&e<=m.LATIN_SMALL_Z}function yt(e){return u1(e)||Nn(e)}function mu(e){return yt(e)||In(e)}function Us(e){return e>=m.LATIN_CAPITAL_A&&e<=m.LATIN_CAPITAL_F}function zs(e){return e>=m.LATIN_SMALL_A&&e<=m.LATIN_SMALL_F}function i1(e){return In(e)||Us(e)||zs(e)}function Gn(e){return e+32}function js(e){return e===m.SPACE||e===m.LINE_FEED||e===m.TABULATION||e===m.FORM_FEED}function a1(e){return e===m.EQUALS_SIGN||mu(e)}function na(e){return js(e)||e===m.SOLIDUS||e===m.GREATER_THAN_SIGN}class s1{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.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Vm(n),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var n,r;(r=(n=this.handler).onParseError)===null||r===void 0||r.call(n,this.preprocessor.getError(t))}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._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(t){this.consumedAfterSnapshot-=t,this.preprocessor.retreat(t)}_reconsumeInState(t,n){this.state=t,this._callState(n)}_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:oe.START_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:oe.END_TAG,tagName:"",tagID:s.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:oe.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:oe.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(Bs(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(R.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=nn(t.tagName),t.type===oe.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(R.endTagWithAttributes),t.selfClosing&&this._err(R.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 oe.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case oe.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case oe.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:oe.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==t)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=n;return}this._createCharacterToken(t,n)}_emitCodePoint(t){const n=js(t)?oe.WHITESPACE_CHARACTER:t===m.NULL?oe.NULL_CHARACTER:oe.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(oe.CHARACTER,t)}_matchNamedCharacterReference(t){let n=null,r=0,u=!1;for(let i=0,a=Nt[0];i>=0&&(i=vs(Nt,a,i+1,t),!(i<0));t=this._consume()){r+=1,a=Nt[i];const o=a&ct.VALUE_LENGTH;if(o){const l=(o>>14)-1;if(t!==m.SEMICOLON&&this._isCharacterReferenceInAttribute()&&a1(this.preprocessor.peek(1))?(n=[m.AMPERSAND],i+=l):(n=l===0?[Nt[i]&~ct.VALUE_LENGTH]:l===1?[Nt[++i]]:[Nt[++i],Nt[++i]],r=0,u=t!==m.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(r),u&&!this.preprocessor.endOfChunkHit&&this._err(R.missingSemicolonAfterCharacterReference),this._unconsume(1),n}_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(t);break}case E.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case E.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case E.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case E.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case E.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case E.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case E.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case m.LESS_THAN_SIGN:{this.state=E.TAG_OPEN;break}case m.AMPERSAND:{this.returnState=E.DATA,this.state=E.CHARACTER_REFERENCE;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitCodePoint(t);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case m.AMPERSAND:{this.returnState=E.RCDATA,this.state=E.CHARACTER_REFERENCE;break}case m.LESS_THAN_SIGN:{this.state=E.RCDATA_LESS_THAN_SIGN;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(ge);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case m.LESS_THAN_SIGN:{this.state=E.RAWTEXT_LESS_THAN_SIGN;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(ge);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_LESS_THAN_SIGN;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(ge);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(ge);break}case m.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(yt(t))this._createStartTagToken(),this.state=E.TAG_NAME,this._stateTagName(t);else switch(t){case m.EXCLAMATION_MARK:{this.state=E.MARKUP_DECLARATION_OPEN;break}case m.SOLIDUS:{this.state=E.END_TAG_OPEN;break}case m.QUESTION_MARK:{this._err(R.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t);break}case m.EOF:{this._err(R.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(R.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=E.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(yt(t))this._createEndTagToken(),this.state=E.TAG_NAME,this._stateTagName(t);else switch(t){case m.GREATER_THAN_SIGN:{this._err(R.missingEndTagName),this.state=E.DATA;break}case m.EOF:{this._err(R.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(R.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BEFORE_ATTRIBUTE_NAME;break}case m.SOLIDUS:{this.state=E.SELF_CLOSING_START_TAG;break}case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.tagName+=ge;break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Nn(t)?Gn(t):t)}}_stateRcdataLessThanSign(t){t===m.SOLIDUS?this.state=E.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=E.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){yt(t)?(this.state=E.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=E.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=E.BEFORE_ATTRIBUTE_NAME,!1;case m.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=E.SELF_CLOSING_START_TAG,!1;case m.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=E.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===m.SOLIDUS?this.state=E.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){yt(t)?(this.state=E.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case m.SOLIDUS:{this.state=E.SCRIPT_DATA_END_TAG_OPEN;break}case m.EXCLAMATION_MARK:{this.state=E.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=E.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){yt(t)?(this.state=E.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===m.HYPHEN_MINUS?(this.state=E.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===m.HYPHEN_MINUS?(this.state=E.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=E.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(ge);break}case m.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(ge);break}case m.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case m.HYPHEN_MINUS:{this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case m.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_ESCAPED,this._emitChars(ge);break}case m.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===m.SOLIDUS?this.state=E.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:yt(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){yt(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(ze.SCRIPT,!1)&&na(this.preprocessor.peek(ze.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<ze.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=E.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case m.NULL:{this._err(R.unexpectedNullCharacter),this._emitChars(ge);break}case m.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ge);break}case m.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case m.HYPHEN_MINUS:{this._emitChars("-");break}case m.LESS_THAN_SIGN:{this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case m.GREATER_THAN_SIGN:{this.state=E.SCRIPT_DATA,this._emitChars(">");break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ge);break}case m.EOF:{this._err(R.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===m.SOLIDUS?(this.state=E.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(ze.SCRIPT,!1)&&na(this.preprocessor.peek(ze.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<ze.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=E.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=E.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.SOLIDUS:case m.GREATER_THAN_SIGN:case m.EOF:{this.state=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case m.EQUALS_SIGN:{this._err(R.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=E.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=E.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:case m.SOLIDUS:case m.GREATER_THAN_SIGN:case m.EOF:{this._leaveAttrName(),this.state=E.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case m.EQUALS_SIGN:{this._leaveAttrName(),this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case m.QUOTATION_MARK:case m.APOSTROPHE:case m.LESS_THAN_SIGN:{this._err(R.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.currentAttr.name+=ge;break}default:this.currentAttr.name+=String.fromCodePoint(Nn(t)?Gn(t):t)}}_stateAfterAttributeName(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.SOLIDUS:{this.state=E.SELF_CLOSING_START_TAG;break}case m.EQUALS_SIGN:{this.state=E.BEFORE_ATTRIBUTE_VALUE;break}case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentTagToken();break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=E.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.QUOTATION_MARK:{this.state=E.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case m.APOSTROPHE:{this.state=E.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(R.missingAttributeValue),this.state=E.DATA,this.emitCurrentTagToken();break}default:this.state=E.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case m.QUOTATION_MARK:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case m.AMPERSAND:{this.returnState=E.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=E.CHARACTER_REFERENCE;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.currentAttr.value+=ge;break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case m.APOSTROPHE:{this.state=E.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case m.AMPERSAND:{this.returnState=E.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=E.CHARACTER_REFERENCE;break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.currentAttr.value+=ge;break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this._leaveAttrValue(),this.state=E.BEFORE_ATTRIBUTE_NAME;break}case m.AMPERSAND:{this.returnState=E.ATTRIBUTE_VALUE_UNQUOTED,this.state=E.CHARACTER_REFERENCE;break}case m.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case m.NULL:{this._err(R.unexpectedNullCharacter),this.currentAttr.value+=ge;break}case m.QUOTATION_MARK:case m.APOSTROPHE:case m.LESS_THAN_SIGN:case m.EQUALS_SIGN:case m.GRAVE_ACCENT:{this._err(R.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this._leaveAttrValue(),this.state=E.BEFORE_ATTRIBUTE_NAME;break}case m.SOLIDUS:{this._leaveAttrValue(),this.state=E.SELF_CLOSING_START_TAG;break}case m.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=E.DATA,this.emitCurrentTagToken();break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this._err(R.missingWhitespaceBetweenAttributes),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case m.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=E.DATA,this.emitCurrentTagToken();break}case m.EOF:{this._err(R.eofInTag),this._emitEOFToken();break}default:this._err(R.unexpectedSolidusInTag),this.state=E.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(n);break}case m.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.data+=ge;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(ze.DASH_DASH,!0)?(this._createCommentToken(ze.DASH_DASH.length+1),this.state=E.COMMENT_START):this._consumeSequenceIfMatch(ze.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(ze.DOCTYPE.length+1),this.state=E.DOCTYPE):this._consumeSequenceIfMatch(ze.CDATA_START,!0)?this.inForeignNode?this.state=E.CDATA_SECTION:(this._err(R.cdataInHtmlContent),this._createCommentToken(ze.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=E.BOGUS_COMMENT):this._ensureHibernation()||(this._err(R.incorrectlyOpenedComment),this._createCommentToken(2),this.state=E.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case m.HYPHEN_MINUS:{this.state=E.COMMENT_START_DASH;break}case m.GREATER_THAN_SIGN:{this._err(R.abruptClosingOfEmptyComment),this.state=E.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=E.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case m.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case m.GREATER_THAN_SIGN:{this._err(R.abruptClosingOfEmptyComment),this.state=E.DATA,this.emitCurrentComment(n);break}case m.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=E.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case m.HYPHEN_MINUS:{this.state=E.COMMENT_END_DASH;break}case m.LESS_THAN_SIGN:{n.data+="<",this.state=E.COMMENT_LESS_THAN_SIGN;break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.data+=ge;break}case m.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case m.EXCLAMATION_MARK:{n.data+="!",this.state=E.COMMENT_LESS_THAN_SIGN_BANG;break}case m.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=E.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===m.HYPHEN_MINUS?this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=E.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===m.HYPHEN_MINUS?this.state=E.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=E.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==m.GREATER_THAN_SIGN&&t!==m.EOF&&this._err(R.nestedComment),this.state=E.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case m.HYPHEN_MINUS:{this.state=E.COMMENT_END;break}case m.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=E.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentComment(n);break}case m.EXCLAMATION_MARK:{this.state=E.COMMENT_END_BANG;break}case m.HYPHEN_MINUS:{n.data+="-";break}case m.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=E.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case m.HYPHEN_MINUS:{n.data+="--!",this.state=E.COMMENT_END_DASH;break}case m.GREATER_THAN_SIGN:{this._err(R.incorrectlyClosedComment),this.state=E.DATA,this.emitCurrentComment(n);break}case m.EOF:{this._err(R.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=E.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_NAME;break}case m.GREATER_THAN_SIGN:{this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case m.EOF:{this._err(R.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingWhitespaceBeforeDoctypeName),this.state=E.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Nn(t))this._createDoctypeToken(String.fromCharCode(Gn(t))),this.state=E.DOCTYPE_NAME;else switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.NULL:{this._err(R.unexpectedNullCharacter),this._createDoctypeToken(ge),this.state=E.DOCTYPE_NAME;break}case m.GREATER_THAN_SIGN:{this._err(R.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(R.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=E.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.AFTER_DOCTYPE_NAME;break}case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.name+=ge;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Nn(t)?Gn(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(ze.PUBLIC,!1)?this.state=E.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(ze.SYSTEM,!1)?this.state=E.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(R.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case m.QUOTATION_MARK:{this._err(R.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{this._err(R.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(R.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.QUOTATION_MARK:{n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{n.publicId="",this.state=E.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(R.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case m.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.publicId+=ge;break}case m.GREATER_THAN_SIGN:{this._err(R.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case m.APOSTROPHE:{this.state=E.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.publicId+=ge;break}case m.GREATER_THAN_SIGN:{this._err(R.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case m.GREATER_THAN_SIGN:{this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.QUOTATION_MARK:{this._err(R.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{this._err(R.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.QUOTATION_MARK:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:{this.state=E.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case m.QUOTATION_MARK:{this._err(R.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{this._err(R.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(R.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.QUOTATION_MARK:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case m.APOSTROPHE:{n.systemId="",this.state=E.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case m.GREATER_THAN_SIGN:{this._err(R.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.DATA,this.emitCurrentDoctype(n);break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case m.QUOTATION_MARK:{this.state=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.systemId+=ge;break}case m.GREATER_THAN_SIGN:{this._err(R.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case m.APOSTROPHE:{this.state=E.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case m.NULL:{this._err(R.unexpectedNullCharacter),n.systemId+=ge;break}case m.GREATER_THAN_SIGN:{this._err(R.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case m.SPACE:case m.LINE_FEED:case m.TABULATION:case m.FORM_FEED:break;case m.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.EOF:{this._err(R.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(R.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=E.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case m.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=E.DATA;break}case m.NULL:{this._err(R.unexpectedNullCharacter);break}case m.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case m.RIGHT_SQUARE_BRACKET:{this.state=E.CDATA_SECTION_BRACKET;break}case m.EOF:{this._err(R.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===m.RIGHT_SQUARE_BRACKET?this.state=E.CDATA_SECTION_END:(this._emitChars("]"),this.state=E.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case m.GREATER_THAN_SIGN:{this.state=E.DATA;break}case m.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=E.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(t){t===m.NUMBER_SIGN?this.state=E.NUMERIC_CHARACTER_REFERENCE:mu(t)?(this.state=E.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(t)):(this._flushCodePointConsumedAsCharacterReference(m.AMPERSAND),this._reconsumeInState(this.returnState,t))}_stateNamedCharacterReference(t){const n=this._matchNamedCharacterReference(t);if(!this._ensureHibernation())if(n){for(let r=0;r<n.length;r++)this._flushCodePointConsumedAsCharacterReference(n[r]);this.state=this.returnState}else this._flushCodePointConsumedAsCharacterReference(m.AMPERSAND),this.state=E.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(t){mu(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===m.SEMICOLON&&this._err(R.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,t))}_stateNumericCharacterReference(t){this.charRefCode=0,t===m.LATIN_SMALL_X||t===m.LATIN_CAPITAL_X?this.state=E.HEXADEMICAL_CHARACTER_REFERENCE_START:In(t)?(this.state=E.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(t)):(this._err(R.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(m.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(m.NUMBER_SIGN),this._reconsumeInState(this.returnState,t))}_stateHexademicalCharacterReferenceStart(t){i1(t)?(this.state=E.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(t)):(this._err(R.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(m.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(m.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(t){Us(t)?this.charRefCode=this.charRefCode*16+t-55:zs(t)?this.charRefCode=this.charRefCode*16+t-87:In(t)?this.charRefCode=this.charRefCode*16+t-48:t===m.SEMICOLON?this.state=E.NUMERIC_CHARACTER_REFERENCE_END:(this._err(R.missingSemicolonAfterCharacterReference),this.state=E.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateDecimalCharacterReference(t){In(t)?this.charRefCode=this.charRefCode*10+t-48:t===m.SEMICOLON?this.state=E.NUMERIC_CHARACTER_REFERENCE_END:(this._err(R.missingSemicolonAfterCharacterReference),this.state=E.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateNumericCharacterReferenceEnd(t){if(this.charRefCode===m.NULL)this._err(R.nullCharacterReference),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(R.characterReferenceOutsideUnicodeRange),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(Os(this.charRefCode))this._err(R.surrogateCharacterReference),this.charRefCode=m.REPLACEMENT_CHARACTER;else if(ws(this.charRefCode))this._err(R.noncharacterCharacterReference);else if(Ps(this.charRefCode)||this.charRefCode===m.CARRIAGE_RETURN){this._err(R.controlCharacterReference);const n=r1.get(this.charRefCode);n!==void 0&&(this.charRefCode=n)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const Ys=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),ra=new Set([...Ys,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),$n=new Map([[s.APPLET,P.HTML],[s.CAPTION,P.HTML],[s.HTML,P.HTML],[s.MARQUEE,P.HTML],[s.OBJECT,P.HTML],[s.TABLE,P.HTML],[s.TD,P.HTML],[s.TEMPLATE,P.HTML],[s.TH,P.HTML],[s.ANNOTATION_XML,P.MATHML],[s.MI,P.MATHML],[s.MN,P.MATHML],[s.MO,P.MATHML],[s.MS,P.MATHML],[s.MTEXT,P.MATHML],[s.DESC,P.SVG],[s.FOREIGN_OBJECT,P.SVG],[s.TITLE,P.SVG]]),o1=[s.H1,s.H2,s.H3,s.H4,s.H5,s.H6],l1=[s.TR,s.TEMPLATE,s.HTML],c1=[s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML],f1=[s.TABLE,s.TEMPLATE,s.HTML],h1=[s.TD,s.TH];class d1{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=s.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===s.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===P.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const u=this._indexOf(t)+1;this.items.splice(u,0,n),this.tagIDs.splice(u,0,r),this.stackTop++,u===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,u===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==P.HTML);this.shortenToLength(n<0?0:n)}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(n<0?0:n)}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r<0?0:r)}popUntilNumberedHeaderPopped(){this.popUntilPopped(o1,P.HTML)}popUntilTableCellPopped(){this.popUntilPopped(h1,P.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.includes(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(f1,P.HTML)}clearBackToTableBodyContext(){this.clearBackTo(c1,P.HTML)}clearBackToTableRowContext(){this.clearBackTo(l1,P.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===s.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===s.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],u=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&u===P.HTML)return!0;if($n.get(r)===u)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(Hs(n)&&r===P.HTML)return!0;if($n.get(n)===r)return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],u=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&u===P.HTML)return!0;if((r===s.UL||r===s.OL)&&u===P.HTML||$n.get(r)===u)return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],u=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&u===P.HTML)return!0;if(r===s.BUTTON&&u===P.HTML||$n.get(r)===u)return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===P.HTML){if(r===t)return!0;if(r===s.TABLE||r===s.TEMPLATE||r===s.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===P.HTML){if(n===s.TBODY||n===s.THEAD||n===s.TFOOT)return!0;if(n===s.TABLE||n===s.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===P.HTML){if(r===t)return!0;if(r!==s.OPTION&&r!==s.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Ys.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ra.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&ra.has(this.currentTagId);)this.pop()}}const Zr=3;var it;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(it=it||(it={}));const ua={type:it.Marker};class m1{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===it.Marker)break;const{element:c}=l;if(this.treeAdapter.getTagName(c)===i&&this.treeAdapter.getNamespaceURI(c)===a){const f=this.treeAdapter.getAttrList(c);f.length===u&&r.push({idx:o,attrs:f})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Zr)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Zr)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>=Zr&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(ua)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:it.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:it.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(ua);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===it.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===it.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===it.Element&&n.element===t)}}function ia(e){return{nodeName:"#text",value:e,parentNode:null}}const Gt={createDocument(){return{nodeName:"#document",mode:Xe.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}},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};Gt.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(Gt.isTextNode(n)){n.value+=t;return}}Gt.appendChild(e,ia(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Gt.isTextNode(r)?r.value+=t:Gt.insertBefore(e,ia(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}}},qs="html",p1="about:legacy-compat",E1="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Vs=["+//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//"],T1=[...Vs,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],b1=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Ws=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],g1=[...Ws,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function aa(e,t){return t.some(n=>e.startsWith(n))}function A1(e){return e.name===qs&&e.publicId===null&&(e.systemId===null||e.systemId===p1)}function C1(e){if(e.name!==qs)return Xe.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===E1)return Xe.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),b1.has(n))return Xe.QUIRKS;let r=t===null?T1:Vs;if(aa(n,r))return Xe.QUIRKS;if(r=t===null?Ws:g1,aa(n,r))return Xe.LIMITED_QUIRKS}return Xe.NO_QUIRKS}const sa={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},_1="definitionurl",D1="definitionURL",x1=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])),N1=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:P.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:P.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:P.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:P.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:P.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:P.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:P.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:P.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:P.XML}],["xml:space",{prefix:"xml",name:"space",namespace:P.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:P.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:P.XMLNS}]]),y1=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])),I1=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 S1(e){const t=e.tagID;return t===s.FONT&&e.attrs.some(({name:r})=>r===It.COLOR||r===It.SIZE||r===It.FACE)||I1.has(t)}function Qs(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===_1){e.attrs[t].name=D1;break}}function Gs(e){for(let t=0;t<e.attrs.length;t++){const n=x1.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Uu(e){for(let t=0;t<e.attrs.length;t++){const n=N1.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 k1(e){const t=y1.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=nn(e.tagName))}function R1(e,t){return t===P.MATHML&&(e===s.MI||e===s.MO||e===s.MN||e===s.MS||e===s.MTEXT)}function L1(e,t,n){if(t===P.MATHML&&e===s.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===It.ENCODING){const u=n[r].value.toLowerCase();return u===sa.TEXT_HTML||u===sa.APPLICATION_XML}}return t===P.SVG&&(e===s.FOREIGN_OBJECT||e===s.DESC||e===s.TITLE)}function F1(e,t,n,r){return(!r||r===P.HTML)&&L1(e,t,n)||(!r||r===P.MATHML)&&R1(e,t)}const O1="hidden",P1=8,w1=3;var b;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(b||(b={}));const B1={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},$s=new Set([s.TABLE,s.TBODY,s.TFOOT,s.THEAD,s.TR]),oa={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Gt,onParseError:null};class la{constructor(t,n,r=null,u=null){this.fragmentContext=r,this.scriptHandler=u,this.currentToken=null,this.stopped=!1,this.insertionMode=b.INITIAL,this.originalInsertionMode=b.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...oa,...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 s1(this.options,this),this.activeFormattingElements=new m1(this.treeAdapter),this.fragmentContextID=r?nn(this.treeAdapter.getTagName(r)):s.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new d1(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={...oa,...n};t??(t=r.treeAdapter.createElement(x.TEMPLATE,P.HTML,[]));const u=r.treeAdapter.createElement("documentmock",P.HTML,[]),i=new this(r,u,t);return i.fragmentContextID===s.TEMPLATE&&i.tmplInsertionModeStack.unshift(b.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var u;if(!this.onParseError)return;const i=(u=t.location)!==null&&u!==void 0?u:B1,a={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(a)}onItemPush(t,n,r){var u,i;(i=(u=this.treeAdapter).onItemPush)===null||i===void 0||i.call(u,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,u;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(u=(r=this.treeAdapter).onItemPop)===null||u===void 0||u.call(r,t,this.openElements.current),n){let i,a;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,a=this.fragmentContextID):{current:i,currentTagId:a}=this.openElements,this._setContextModes(i,a)}}_setContextModes(t,n){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===P.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,P.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=b.TEXT}switchToPlaintextParsing(){this.insertionMode=b.TEXT,this.originalInsertionMode=b.IN_BODY,this.tokenizer.state=Ce.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===x.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==P.HTML))switch(this.fragmentContextID){case s.TITLE:case s.TEXTAREA:{this.tokenizer.state=Ce.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=Ce.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=Ce.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=Ce.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",u=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,u),t.location){const a=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));a&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,P.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,P.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(x.HTML,P.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,s.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const u=this.treeAdapter.getChildNodes(n),i=r?u.lastIndexOf(r):u.length,a=u[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:l,endCol:c,endOffset:f}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:f})}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===oe.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)===x.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===P.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===s.MGLYPH||t.tagID===s.MALIGNMARK)&&!this._isIntegrationPoint(r,n,P.HTML)}_processToken(t){switch(t.type){case oe.CHARACTER:{this.onCharacter(t);break}case oe.NULL_CHARACTER:{this.onNullCharacter(t);break}case oe.COMMENT:{this.onComment(t);break}case oe.DOCTYPE:{this.onDoctype(t);break}case oe.START_TAG:{this._processStartTag(t);break}case oe.END_TAG:{this.onEndTag(t);break}case oe.EOF:{this.onEof(t);break}case oe.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const u=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return F1(t,u,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(u=>u.type===it.Marker||this.openElements.contains(u.element)),r=n<0?t-1:n-1;for(let u=r;u>=0;u--){const i=this.activeFormattingElements.entries[u];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=b.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(s.P),this.openElements.popUntilTagNamePopped(s.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case s.TR:{this.insertionMode=b.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=b.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=b.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=b.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=b.IN_TABLE;return}case s.BODY:{this.insertionMode=b.IN_BODY;return}case s.FRAMESET:{this.insertionMode=b.IN_FRAMESET;return}case s.SELECT:{this._resetInsertionModeForSelect(t);return}case s.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case s.HTML:{this.insertionMode=this.headElement?b.AFTER_HEAD:b.BEFORE_HEAD;return}case s.TD:case s.TH:{if(t>0){this.insertionMode=b.IN_CELL;return}break}case s.HEAD:{if(t>0){this.insertionMode=b.IN_HEAD;return}break}}this.insertionMode=b.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===s.TEMPLATE)break;if(r===s.TABLE){this.insertionMode=b.IN_SELECT_IN_TABLE;return}}this.insertionMode=b.IN_SELECT}_isElementCausesFosterParenting(t){return $s.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case s.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===P.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case s.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return n1[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){hE(this,t);return}switch(this.insertionMode){case b.INITIAL:{Cn(this,t);break}case b.BEFORE_HTML:{Sn(this,t);break}case b.BEFORE_HEAD:{kn(this,t);break}case b.IN_HEAD:{Rn(this,t);break}case b.IN_HEAD_NO_SCRIPT:{Ln(this,t);break}case b.AFTER_HEAD:{Fn(this,t);break}case b.IN_BODY:case b.IN_CAPTION:case b.IN_CELL:case b.IN_TEMPLATE:{Ks(this,t);break}case b.TEXT:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:{eu(this,t);break}case b.IN_TABLE_TEXT:{ro(this,t);break}case b.IN_COLUMN_GROUP:{sr(this,t);break}case b.AFTER_BODY:{or(this,t);break}case b.AFTER_AFTER_BODY:{tr(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){fE(this,t);return}switch(this.insertionMode){case b.INITIAL:{Cn(this,t);break}case b.BEFORE_HTML:{Sn(this,t);break}case b.BEFORE_HEAD:{kn(this,t);break}case b.IN_HEAD:{Rn(this,t);break}case b.IN_HEAD_NO_SCRIPT:{Ln(this,t);break}case b.AFTER_HEAD:{Fn(this,t);break}case b.TEXT:{this._insertCharacters(t);break}case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:{eu(this,t);break}case b.IN_COLUMN_GROUP:{sr(this,t);break}case b.AFTER_BODY:{or(this,t);break}case b.AFTER_AFTER_BODY:{tr(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){pu(this,t);return}switch(this.insertionMode){case b.INITIAL:case b.BEFORE_HTML:case b.BEFORE_HEAD:case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:case b.IN_BODY:case b.IN_TABLE:case b.IN_CAPTION:case b.IN_COLUMN_GROUP:case b.IN_TABLE_BODY:case b.IN_ROW:case b.IN_CELL:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:case b.IN_TEMPLATE:case b.IN_FRAMESET:case b.AFTER_FRAMESET:{pu(this,t);break}case b.IN_TABLE_TEXT:{_n(this,t);break}case b.AFTER_BODY:{Y1(this,t);break}case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:{q1(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case b.INITIAL:{V1(this,t);break}case b.BEFORE_HEAD:case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:{this._err(t,R.misplacedDoctype);break}case b.IN_TABLE_TEXT:{_n(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,R.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?dE(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case b.INITIAL:{Cn(this,t);break}case b.BEFORE_HTML:{W1(this,t);break}case b.BEFORE_HEAD:{G1(this,t);break}case b.IN_HEAD:{st(this,t);break}case b.IN_HEAD_NO_SCRIPT:{K1(this,t);break}case b.AFTER_HEAD:{Z1(this,t);break}case b.IN_BODY:{Pe(this,t);break}case b.IN_TABLE:{Kt(this,t);break}case b.IN_TABLE_TEXT:{_n(this,t);break}case b.IN_CAPTION:{$p(this,t);break}case b.IN_COLUMN_GROUP:{Yu(this,t);break}case b.IN_TABLE_BODY:{Tr(this,t);break}case b.IN_ROW:{br(this,t);break}case b.IN_CELL:{Jp(this,t);break}case b.IN_SELECT:{ao(this,t);break}case b.IN_SELECT_IN_TABLE:{eE(this,t);break}case b.IN_TEMPLATE:{nE(this,t);break}case b.AFTER_BODY:{uE(this,t);break}case b.IN_FRAMESET:{iE(this,t);break}case b.AFTER_FRAMESET:{sE(this,t);break}case b.AFTER_AFTER_BODY:{lE(this,t);break}case b.AFTER_AFTER_FRAMESET:{cE(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?mE(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case b.INITIAL:{Cn(this,t);break}case b.BEFORE_HTML:{Q1(this,t);break}case b.BEFORE_HEAD:{$1(this,t);break}case b.IN_HEAD:{X1(this,t);break}case b.IN_HEAD_NO_SCRIPT:{J1(this,t);break}case b.AFTER_HEAD:{ep(this,t);break}case b.IN_BODY:{Er(this,t);break}case b.TEXT:{Hp(this,t);break}case b.IN_TABLE:{Bn(this,t);break}case b.IN_TABLE_TEXT:{_n(this,t);break}case b.IN_CAPTION:{Xp(this,t);break}case b.IN_COLUMN_GROUP:{Kp(this,t);break}case b.IN_TABLE_BODY:{Eu(this,t);break}case b.IN_ROW:{io(this,t);break}case b.IN_CELL:{Zp(this,t);break}case b.IN_SELECT:{so(this,t);break}case b.IN_SELECT_IN_TABLE:{tE(this,t);break}case b.IN_TEMPLATE:{rE(this,t);break}case b.AFTER_BODY:{lo(this,t);break}case b.IN_FRAMESET:{aE(this,t);break}case b.AFTER_FRAMESET:{oE(this,t);break}case b.AFTER_AFTER_BODY:{tr(this,t);break}}}onEof(t){switch(this.insertionMode){case b.INITIAL:{Cn(this,t);break}case b.BEFORE_HTML:{Sn(this,t);break}case b.BEFORE_HEAD:{kn(this,t);break}case b.IN_HEAD:{Rn(this,t);break}case b.IN_HEAD_NO_SCRIPT:{Ln(this,t);break}case b.AFTER_HEAD:{Fn(this,t);break}case b.IN_BODY:case b.IN_TABLE:case b.IN_CAPTION:case b.IN_COLUMN_GROUP:case b.IN_TABLE_BODY:case b.IN_ROW:case b.IN_CELL:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:{to(this,t);break}case b.TEXT:{Up(this,t);break}case b.IN_TABLE_TEXT:{_n(this,t);break}case b.IN_TEMPLATE:{oo(this,t);break}case b.AFTER_BODY:case b.IN_FRAMESET:case b.AFTER_FRAMESET:case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:{ju(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===m.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case b.IN_HEAD:case b.IN_HEAD_NO_SCRIPT:case b.AFTER_HEAD:case b.TEXT:case b.IN_COLUMN_GROUP:case b.IN_SELECT:case b.IN_SELECT_IN_TABLE:case b.IN_FRAMESET:case b.AFTER_FRAMESET:{this._insertCharacters(t);break}case b.IN_BODY:case b.IN_CAPTION:case b.IN_CELL:case b.IN_TEMPLATE:case b.AFTER_BODY:case b.AFTER_AFTER_BODY:case b.AFTER_AFTER_FRAMESET:{Xs(this,t);break}case b.IN_TABLE:case b.IN_TABLE_BODY:case b.IN_ROW:{eu(this,t);break}case b.IN_TABLE_TEXT:{no(this,t);break}}}}function M1(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):eo(e,t),n}function v1(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 H1(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>=w1;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=U1(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function U1(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 z1(e,t,n){const r=e.treeAdapter.getTagName(t),u=nn(r);if(e._isElementCausesFosterParenting(u))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);u===s.TEMPLATE&&i===P.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function j1(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 zu(e,t){for(let n=0;n<P1;n++){const r=M1(e,t);if(!r)break;const u=v1(e,r);if(!u)break;e.activeFormattingElements.bookmark=r;const i=H1(e,u,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),a&&z1(e,a,i),j1(e,u,r)}}function pu(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Y1(e,t){e._appendCommentNode(t,e.openElements.items[0])}function q1(e,t){e._appendCommentNode(t,e.document)}function ju(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 V1(e,t){e._setDocumentType(t);const n=t.forceQuirks?Xe.QUIRKS:C1(t);A1(t)||e._err(t,R.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=b.BEFORE_HTML}function Cn(e,t){e._err(t,R.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Xe.QUIRKS),e.insertionMode=b.BEFORE_HTML,e._processToken(t)}function W1(e,t){t.tagID===s.HTML?(e._insertElement(t,P.HTML),e.insertionMode=b.BEFORE_HEAD):Sn(e,t)}function Q1(e,t){const n=t.tagID;(n===s.HTML||n===s.HEAD||n===s.BODY||n===s.BR)&&Sn(e,t)}function Sn(e,t){e._insertFakeRootElement(),e.insertionMode=b.BEFORE_HEAD,e._processToken(t)}function G1(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.HEAD:{e._insertElement(t,P.HTML),e.headElement=e.openElements.current,e.insertionMode=b.IN_HEAD;break}default:kn(e,t)}}function $1(e,t){const n=t.tagID;n===s.HEAD||n===s.BODY||n===s.HTML||n===s.BR?kn(e,t):e._err(t,R.endTagWithoutMatchingOpenElement)}function kn(e,t){e._insertFakeElement(x.HEAD,s.HEAD),e.headElement=e.openElements.current,e.insertionMode=b.IN_HEAD,e._processToken(t)}function st(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case s.TITLE:{e._switchToTextParsing(t,Ce.RCDATA);break}case s.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Ce.RAWTEXT):(e._insertElement(t,P.HTML),e.insertionMode=b.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{e._switchToTextParsing(t,Ce.RAWTEXT);break}case s.SCRIPT:{e._switchToTextParsing(t,Ce.SCRIPT_DATA);break}case s.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=b.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(b.IN_TEMPLATE);break}case s.HEAD:{e._err(t,R.misplacedStartTagForHeadElement);break}default:Rn(e,t)}}function X1(e,t){switch(t.tagID){case s.HEAD:{e.openElements.pop(),e.insertionMode=b.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{Rn(e,t);break}case s.TEMPLATE:{Yt(e,t);break}default:e._err(t,R.endTagWithoutMatchingOpenElement)}}function Yt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==s.TEMPLATE&&e._err(t,R.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,R.endTagWithoutMatchingOpenElement)}function Rn(e,t){e.openElements.pop(),e.insertionMode=b.AFTER_HEAD,e._processToken(t)}function K1(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{st(e,t);break}case s.NOSCRIPT:{e._err(t,R.nestedNoscriptInHead);break}default:Ln(e,t)}}function J1(e,t){switch(t.tagID){case s.NOSCRIPT:{e.openElements.pop(),e.insertionMode=b.IN_HEAD;break}case s.BR:{Ln(e,t);break}default:e._err(t,R.endTagWithoutMatchingOpenElement)}}function Ln(e,t){const n=t.type===oe.EOF?R.openElementsLeftAfterEof:R.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=b.IN_HEAD,e._processToken(t)}function Z1(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.BODY:{e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=b.IN_BODY;break}case s.FRAMESET:{e._insertElement(t,P.HTML),e.insertionMode=b.IN_FRAMESET;break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{e._err(t,R.abandonedHeadElementChild),e.openElements.push(e.headElement,s.HEAD),st(e,t),e.openElements.remove(e.headElement);break}case s.HEAD:{e._err(t,R.misplacedStartTagForHeadElement);break}default:Fn(e,t)}}function ep(e,t){switch(t.tagID){case s.BODY:case s.HTML:case s.BR:{Fn(e,t);break}case s.TEMPLATE:{Yt(e,t);break}default:e._err(t,R.endTagWithoutMatchingOpenElement)}}function Fn(e,t){e._insertFakeElement(x.BODY,s.BODY),e.insertionMode=b.IN_BODY,pr(e,t)}function pr(e,t){switch(t.type){case oe.CHARACTER:{Ks(e,t);break}case oe.WHITESPACE_CHARACTER:{Xs(e,t);break}case oe.COMMENT:{pu(e,t);break}case oe.START_TAG:{Pe(e,t);break}case oe.END_TAG:{Er(e,t);break}case oe.EOF:{to(e,t);break}}}function Xs(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Ks(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tp(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function np(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function rp(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,P.HTML),e.insertionMode=b.IN_FRAMESET)}function up(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML)}function ip(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),Hs(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,P.HTML)}function ap(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function sp(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),n||(e.formElement=e.openElements.current))}function op(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const u=e.openElements.tagIDs[r];if(n===s.LI&&u===s.LI||(n===s.DD||n===s.DT)&&(u===s.DD||u===s.DT)){e.openElements.generateImpliedEndTagsWithExclusion(u),e.openElements.popUntilTagNamePopped(u);break}if(u!==s.ADDRESS&&u!==s.DIV&&u!==s.P&&e._isSpecialElement(e.openElements.items[r],u))break}e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML)}function lp(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.tokenizer.state=Ce.PLAINTEXT}function cp(e,t){e.openElements.hasInScope(s.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.framesetOk=!1}function fp(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(x.A);n&&(zu(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function hp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function dp(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(s.NOBR)&&(zu(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,P.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function mp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function pp(e,t){e.treeAdapter.getDocumentMode(e.document)!==Xe.QUIRKS&&e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=b.IN_TABLE}function Js(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,P.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Zs(e){const t=Bs(e,It.TYPE);return t!=null&&t.toLowerCase()===O1}function Ep(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,P.HTML),Zs(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Tp(e,t){e._appendElement(t,P.HTML),t.ackSelfClosing=!0}function bp(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._appendElement(t,P.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function gp(e,t){t.tagName=x.IMG,t.tagID=s.IMG,Js(e,t)}function Ap(e,t){e._insertElement(t,P.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ce.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=b.TEXT}function Cp(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Ce.RAWTEXT)}function _p(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Ce.RAWTEXT)}function ca(e,t){e._switchToTextParsing(t,Ce.RAWTEXT)}function Dp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===b.IN_TABLE||e.insertionMode===b.IN_CAPTION||e.insertionMode===b.IN_TABLE_BODY||e.insertionMode===b.IN_ROW||e.insertionMode===b.IN_CELL?b.IN_SELECT_IN_TABLE:b.IN_SELECT}function xp(e,t){e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML)}function Np(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,P.HTML)}function yp(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(s.RTC),e._insertElement(t,P.HTML)}function Ip(e,t){e._reconstructActiveFormattingElements(),Qs(t),Uu(t),t.selfClosing?e._appendElement(t,P.MATHML):e._insertElement(t,P.MATHML),t.ackSelfClosing=!0}function Sp(e,t){e._reconstructActiveFormattingElements(),Gs(t),Uu(t),t.selfClosing?e._appendElement(t,P.SVG):e._insertElement(t,P.SVG),t.ackSelfClosing=!0}function fa(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,P.HTML)}function Pe(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:{hp(e,t);break}case s.A:{fp(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{ip(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.SECTION:case s.SUMMARY:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{up(e,t);break}case s.LI:case s.DD:case s.DT:{op(e,t);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{Js(e,t);break}case s.HR:{bp(e,t);break}case s.RB:case s.RTC:{Np(e,t);break}case s.RT:case s.RP:{yp(e,t);break}case s.PRE:case s.LISTING:{ap(e,t);break}case s.XMP:{Cp(e,t);break}case s.SVG:{Sp(e,t);break}case s.HTML:{tp(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:{st(e,t);break}case s.BODY:{np(e,t);break}case s.FORM:{sp(e,t);break}case s.NOBR:{dp(e,t);break}case s.MATH:{Ip(e,t);break}case s.TABLE:{pp(e,t);break}case s.INPUT:{Ep(e,t);break}case s.PARAM:case s.TRACK:case s.SOURCE:{Tp(e,t);break}case s.IMAGE:{gp(e,t);break}case s.BUTTON:{cp(e,t);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{mp(e,t);break}case s.IFRAME:{_p(e,t);break}case s.SELECT:{Dp(e,t);break}case s.OPTION:case s.OPTGROUP:{xp(e,t);break}case s.NOEMBED:{ca(e,t);break}case s.FRAMESET:{rp(e,t);break}case s.TEXTAREA:{Ap(e,t);break}case s.NOSCRIPT:{e.options.scriptingEnabled?ca(e,t):fa(e,t);break}case s.PLAINTEXT:{lp(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:fa(e,t)}}function kp(e,t){if(e.openElements.hasInScope(s.BODY)&&(e.insertionMode=b.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function Rp(e,t){e.openElements.hasInScope(s.BODY)&&(e.insertionMode=b.AFTER_BODY,lo(e,t))}function Lp(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 Op(e){e.openElements.hasInButtonScope(s.P)||e._insertFakeElement(x.P,s.P),e._closePElement()}function Pp(e){e.openElements.hasInListItemScope(s.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(s.LI),e.openElements.popUntilTagNamePopped(s.LI))}function wp(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function Bp(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Mp(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function vp(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(x.BR,s.BR),e.openElements.pop(),e.framesetOk=!1}function eo(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 Er(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:{zu(e,t);break}case s.P:{Op(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.SECTION:case s.SUMMARY:case s.LISTING:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{Lp(e,t);break}case s.LI:{Pp(e);break}case s.DD:case s.DT:{wp(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{Bp(e);break}case s.BR:{vp(e);break}case s.BODY:{kp(e,t);break}case s.HTML:{Rp(e,t);break}case s.FORM:{Fp(e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{Mp(e,t);break}case s.TEMPLATE:{Yt(e,t);break}default:eo(e,t)}}function to(e,t){e.tmplInsertionModeStack.length>0?oo(e,t):ju(e,t)}function Hp(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 Up(e,t){e._err(t,R.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function eu(e,t){if($s.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=b.IN_TABLE_TEXT,t.type){case oe.CHARACTER:{ro(e,t);break}case oe.WHITESPACE_CHARACTER:{no(e,t);break}}else jn(e,t)}function zp(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,P.HTML),e.insertionMode=b.IN_CAPTION}function jp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,P.HTML),e.insertionMode=b.IN_COLUMN_GROUP}function Yp(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(x.COLGROUP,s.COLGROUP),e.insertionMode=b.IN_COLUMN_GROUP,Yu(e,t)}function qp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,P.HTML),e.insertionMode=b.IN_TABLE_BODY}function Vp(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(x.TBODY,s.TBODY),e.insertionMode=b.IN_TABLE_BODY,Tr(e,t)}function Wp(e,t){e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Qp(e,t){Zs(t)?e._appendElement(t,P.HTML):jn(e,t),t.ackSelfClosing=!0}function Gp(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,P.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Kt(e,t){switch(t.tagID){case s.TD:case s.TH:case s.TR:{Vp(e,t);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{st(e,t);break}case s.COL:{Yp(e,t);break}case s.FORM:{Gp(e,t);break}case s.TABLE:{Wp(e,t);break}case s.TBODY:case s.TFOOT:case s.THEAD:{qp(e,t);break}case s.INPUT:{Qp(e,t);break}case s.CAPTION:{zp(e,t);break}case s.COLGROUP:{jp(e,t);break}default:jn(e,t)}}function Bn(e,t){switch(t.tagID){case s.TABLE:{e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode());break}case s.TEMPLATE:{Yt(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:jn(e,t)}}function jn(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,pr(e,t),e.fosterParentingEnabled=n}function no(e,t){e.pendingCharacterTokens.push(t)}function ro(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function _n(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)jn(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const uo=new Set([s.CAPTION,s.COL,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]);function $p(e,t){const n=t.tagID;uo.has(n)?e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=b.IN_TABLE,Kt(e,t)):Pe(e,t)}function Xp(e,t){const n=t.tagID;switch(n){case s.CAPTION:case s.TABLE:{e.openElements.hasInTableScope(s.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=b.IN_TABLE,n===s.TABLE&&Bn(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:Er(e,t)}}function Yu(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.COL:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case s.TEMPLATE:{st(e,t);break}default:sr(e,t)}}function Kp(e,t){switch(t.tagID){case s.COLGROUP:{e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=b.IN_TABLE);break}case s.TEMPLATE:{Yt(e,t);break}case s.COL:break;default:sr(e,t)}}function sr(e,t){e.openElements.currentTagId===s.COLGROUP&&(e.openElements.pop(),e.insertionMode=b.IN_TABLE,e._processToken(t))}function Tr(e,t){switch(t.tagID){case s.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,P.HTML),e.insertionMode=b.IN_ROW;break}case s.TH:case s.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(x.TR,s.TR),e.insertionMode=b.IN_ROW,br(e,t);break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE,Kt(e,t));break}default:Kt(e,t)}}function Eu(e,t){const n=t.tagID;switch(t.tagID){case s.TBODY:case s.TFOOT:case s.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE);break}case s.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE,Bn(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:Bn(e,t)}}function br(e,t){switch(t.tagID){case s.TH:case s.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,P.HTML),e.insertionMode=b.IN_CELL,e.activeFormattingElements.insertMarker();break}case s.CAPTION:case s.COL:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE_BODY,Tr(e,t));break}default:Kt(e,t)}}function io(e,t){switch(t.tagID){case s.TR:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE_BODY);break}case s.TABLE:{e.openElements.hasInTableScope(s.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE_BODY,Eu(e,t));break}case s.TBODY:case s.TFOOT:case s.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(s.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=b.IN_TABLE_BODY,Eu(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:Bn(e,t)}}function Jp(e,t){const n=t.tagID;uo.has(n)?(e.openElements.hasInTableScope(s.TD)||e.openElements.hasInTableScope(s.TH))&&(e._closeTableCell(),br(e,t)):Pe(e,t)}function Zp(e,t){const n=t.tagID;switch(n){case s.TD:case s.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=b.IN_ROW);break}case s.TABLE:case s.TBODY:case s.TFOOT:case s.THEAD:case s.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),io(e,t));break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:break;default:Er(e,t)}}function ao(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._insertElement(t,P.HTML);break}case s.OPTGROUP:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop(),e._insertElement(t,P.HTML);break}case s.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:{st(e,t);break}}}function so(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:{Yt(e,t);break}}}function eE(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)):ao(e,t)}function tE(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)):so(e,t)}function nE(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:{st(e,t);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.tmplInsertionModeStack[0]=b.IN_TABLE,e.insertionMode=b.IN_TABLE,Kt(e,t);break}case s.COL:{e.tmplInsertionModeStack[0]=b.IN_COLUMN_GROUP,e.insertionMode=b.IN_COLUMN_GROUP,Yu(e,t);break}case s.TR:{e.tmplInsertionModeStack[0]=b.IN_TABLE_BODY,e.insertionMode=b.IN_TABLE_BODY,Tr(e,t);break}case s.TD:case s.TH:{e.tmplInsertionModeStack[0]=b.IN_ROW,e.insertionMode=b.IN_ROW,br(e,t);break}default:e.tmplInsertionModeStack[0]=b.IN_BODY,e.insertionMode=b.IN_BODY,Pe(e,t)}}function rE(e,t){t.tagID===s.TEMPLATE&&Yt(e,t)}function oo(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):ju(e,t)}function uE(e,t){t.tagID===s.HTML?Pe(e,t):or(e,t)}function lo(e,t){var n;if(t.tagID===s.HTML){if(e.fragmentContext||(e.insertionMode=b.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===s.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else or(e,t)}function or(e,t){e.insertionMode=b.IN_BODY,pr(e,t)}function iE(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.FRAMESET:{e._insertElement(t,P.HTML);break}case s.FRAME:{e._appendElement(t,P.HTML),t.ackSelfClosing=!0;break}case s.NOFRAMES:{st(e,t);break}}}function aE(e,t){t.tagID===s.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==s.FRAMESET&&(e.insertionMode=b.AFTER_FRAMESET))}function sE(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.NOFRAMES:{st(e,t);break}}}function oE(e,t){t.tagID===s.HTML&&(e.insertionMode=b.AFTER_AFTER_FRAMESET)}function lE(e,t){t.tagID===s.HTML?Pe(e,t):tr(e,t)}function tr(e,t){e.insertionMode=b.IN_BODY,pr(e,t)}function cE(e,t){switch(t.tagID){case s.HTML:{Pe(e,t);break}case s.NOFRAMES:{st(e,t);break}}}function fE(e,t){t.chars=ge,e._insertCharacters(t)}function hE(e,t){e._insertCharacters(t),e.framesetOk=!1}function co(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==P.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function dE(e,t){if(S1(t))co(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===P.MATHML?Qs(t):r===P.SVG&&(k1(t),Gs(t)),Uu(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function mE(e,t){if(t.tagID===s.P||t.tagID===s.BR){co(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===P.HTML){e._endTagOutsideForeignContent(t);break}const u=e.treeAdapter.getTagName(r);if(u.toLowerCase()===t.tagName){t.tagName=u,e.openElements.shortenToLength(n);break}}}x.AREA,x.BASE,x.BASEFONT,x.BGSOUND,x.BR,x.COL,x.EMBED,x.FRAME,x.HR,x.IMG,x.INPUT,x.KEYGEN,x.LINK,x.META,x.PARAM,x.SOURCE,x.TRACK,x.WBR;const pE=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),ha={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function fo(e,t){const n=NE(e),r=Va("type",{handlers:{root:EE,element:TE,text:bE,comment:mo,doctype:gE,raw:CE},unknown:_E}),u={parser:n?new la(ha):la.getFragmentParser(void 0,ha),handle(o){r(o,u)},stitches:!1,options:t||{}};r(e,u),rn(u,ht());const i=n?u.parser.document:u.parser.getFragment(),a=Im(i,{file:u.options.file});return u.stitches&&Ye(a,"comment",function(o,l,c){const f=o;if(f.value.stitch&&c&&l!==void 0){const d=c.children;return d[l]=f.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function ho(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function EE(e,t){ho(e.children,t)}function TE(e,t){DE(e,t),ho(e.children,t),xE(e,t)}function bE(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:oe.CHARACTER,chars:e.value,location:Yn(e)};rn(t,ht(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function gE(e,t){const n={type:oe.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Yn(e)};rn(t,ht(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function AE(e,t){t.stitches=!0;const n=yE(e);if("children"in e&&"children"in n){const r=fo({type:"root",children:e.children},t.options);n.children=r.children}mo({type:"comment",value:{stitch:n}},t)}function mo(e,t){const n=e.value,r={type:oe.COMMENT,data:n,location:Yn(e)};rn(t,ht(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function CE(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,po(t,ht(e)),t.parser.tokenizer.write(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 _E(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))AE(n,t);else{let r="";throw pE.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 rn(e,t){po(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Ce.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function po(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 DE(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Ce.PLAINTEXT)return;rn(t,ht(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:Ht.html;u===Ht.html&&n==="svg"&&(u=Ht.svg);const i=Fm({...e,children:[]},{space:u===Ht.svg?"svg":"html"}),a={type:oe.START_TAG,tagName:n,tagID:nn(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:Yn(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function xE(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Um.includes(n)||t.parser.tokenizer.state===Ce.PLAINTEXT)return;rn(t,dr(e));const r={type:oe.END_TAG,tagName:n,tagID:nn(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Yn(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Ce.RCDATA||t.parser.tokenizer.state===Ce.RAWTEXT||t.parser.tokenizer.state===Ce.SCRIPT_DATA)&&(t.parser.tokenizer.state=Ce.DATA)}function NE(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Yn(e){const t=ht(e)||{line:void 0,column:void 0,offset:void 0},n=dr(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 yE(e){return"children"in e?Tt({...e,children:[]}):Tt(e)}function IE(e){return function(t,n){return fo(t,{...e,file:n})}}const Eo=function(e){if(e==null)return RE;if(typeof e=="string")return kE(e);if(typeof e=="object")return SE(e);if(typeof e=="function")return qu(e);throw new Error("Expected function, string, or array as `test`")};function SE(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Eo(e[n]);return qu(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function kE(e){return qu(t);function t(n){return n.tagName===e}}function qu(e){return t;function t(n,r,u){return!!(LE(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function RE(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function LE(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const FE=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,OE=/^[a-zA-Z]:\\/;function PE(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return OE.test(e)?!1:FE.test(e)}const wE=["http","https"],BE=["nofollow"],ME={};function vE(e){const t=e||ME,n=t.protocols||wE,r=Eo(t.test);return function(u){Ye(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(PE(l)?n.includes(l.slice(0,l.indexOf(":"))):l.startsWith("//")){const c=Dn(t.content,i),f=c&&!Array.isArray(c)?[c]:c,d=Dn(t.rel,i)||BE,T=typeof d=="string"?wn(d):d,p=Dn(t.target,i),g=Dn(t.properties,i);if(g&&Object.assign(i.properties,Tt(g)),T.length>0&&(i.properties.rel=[...T]),p&&(i.properties.target=p),f){const S=Dn(t.contentProperties,i)||{};i.children.push({type:"element",tagName:"span",properties:Tt(S),children:Tt(f)})}}}})}}function Dn(e,t){return typeof e=="function"?e(t):e}function To(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 HE(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+"`");Ye(e,"element",function(n){let r=To(n);r&&(r+=t,n.tagName="h"+(r>6?6:r<1?1:r))})}const UE={};function zE(e){const t=(e||UE).shift||0;return function(n){t&&HE(n,t)}}const jE=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,YE=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,qE={};function da(e,t){return(qE.jsx?YE:jE).test(e)}const VE=/[ \t\n\f\r]/g;function WE(e){return typeof e=="object"?e.type==="text"?ma(e.value):!1:ma(e)}function ma(e){return e.replace(VE,"")===""}var bo={},pa=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,QE=/\n/g,GE=/^\s*/,$E=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,XE=/^:\s*/,KE=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,JE=/^[;\s]*/,ZE=/^\s+|\s+$/g,eT=`
|
|
62
|
+
`,Ea="/",Ta="*",vt="",tT="comment",nT="declaration",rT=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function u(g){var S=g.match(QE);S&&(n+=S.length);var N=g.lastIndexOf(eT);r=~N?g.length-N:r+g.length}function i(){var g={line:n,column:r};return function(S){return S.position=new a(g),c(),S}}function a(g){this.start=g,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function o(g){var S=new Error(t.source+":"+n+":"+r+": "+g);if(S.reason=g,S.filename=t.source,S.line=n,S.column=r,S.source=e,!t.silent)throw S}function l(g){var S=g.exec(e);if(S){var N=S[0];return u(N),e=e.slice(N.length),S}}function c(){l(GE)}function f(g){var S;for(g=g||[];S=d();)S!==!1&&g.push(S);return g}function d(){var g=i();if(!(Ea!=e.charAt(0)||Ta!=e.charAt(1))){for(var S=2;vt!=e.charAt(S)&&(Ta!=e.charAt(S)||Ea!=e.charAt(S+1));)++S;if(S+=2,vt===e.charAt(S-1))return o("End of comment missing");var N=e.slice(2,S-2);return r+=2,u(N),e=e.slice(S),r+=2,g({type:tT,comment:N})}}function T(){var g=i(),S=l($E);if(S){if(d(),!l(XE))return o("property missing ':'");var N=l(KE),y=g({type:nT,property:ba(S[0].replace(pa,vt)),value:N?ba(N[0].replace(pa,vt)):vt});return l(JE),y}}function p(){var g=[];f(g);for(var S;S=T();)S!==!1&&(g.push(S),f(g));return g}return c(),p()};function ba(e){return e?e.replace(ZE,vt):vt}var uT=ei&&ei.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bo,"__esModule",{value:!0});var iT=uT(rT);function aT(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,iT.default)(e),u=typeof t=="function";return r.forEach(function(i){if(i.type==="declaration"){var a=i.property,o=i.value;u?t(a,o,i):o&&(n=n||{},n[a]=o)}}),n}var ga=bo.default=aT;const sT=ga.default||ga,Vu={}.hasOwnProperty,oT=new Map,lT=/[A-Z]/g,cT=/-([a-z])/g,fT=new Set(["table","tbody","thead","tfoot","tr"]),hT=new Set(["td","th"]),go="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function dT(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=CT(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=AT(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"?Ct:en,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Ao(u,e,void 0);return i&&typeof i!="string"?i:u.create(e,u.Fragment,{children:i||void 0},void 0)}function Ao(e,t,n){if(t.type==="element")return mT(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return pT(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return TT(e,t,n);if(t.type==="mdxjsEsm")return ET(e,t);if(t.type==="root")return bT(e,t,n);if(t.type==="text")return gT(e,t)}function mT(e,t,n){const r=e.schema;let u=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(u=Ct,e.schema=u),e.ancestors.push(t);const i=_o(e,t.tagName,!1),a=_T(e,t);let o=Qu(e,t);return fT.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!WE(l):!0})),Co(e,a,i,t),Wu(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function pT(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)}Mn(e,t.position)}function ET(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Mn(e,t.position)}function TT(e,t,n){const r=e.schema;let u=r;t.name==="svg"&&r.space==="html"&&(u=Ct,e.schema=u),e.ancestors.push(t);const i=t.name===null?e.Fragment:_o(e,t.name,!0),a=DT(e,t),o=Qu(e,t);return Co(e,a,i,t),Wu(a,o),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function bT(e,t,n){const r={};return Wu(r,Qu(e,t)),e.create(t,e.Fragment,r,n)}function gT(e,t){return t.value}function Co(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Wu(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function AT(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 CT(e,t){return n;function n(r,u,i,a){const o=Array.isArray(i.children),l=ht(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 _T(e,t){const n={};let r,u;for(u in t.properties)if(u!=="children"&&Vu.call(t.properties,u)){const i=xT(e,u,t.properties[u]);if(i){const[a,o]=i;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&hT.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 DT(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 Mn(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 Mn(e,t.position);else i=r.value===null?!0:r.value;n[u]=i}return n}function Qu(e,t){const n=[];let r=-1;const u=e.passKeys?new Map:oT;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=Ao(e,i,a);o!==void 0&&n.push(o)}return n}function xT(e,t,n){const r=zn(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?ys(n):Ss(n)),r.property==="style"){let u=typeof n=="object"?n:NT(e,String(n));return e.stylePropertyNameCase==="css"&&(u=yT(u)),["style",u]}return[e.elementAttributeNameCase==="react"&&r.space?Em[r.property]||r.property:r.attribute,n]}}function NT(e,t){const n={};try{sT(t,r)}catch(u){if(!e.ignoreInvalidStyle){const i=u,a=new Oe("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=go+"#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(cT,ST)),n[a]=i}}function _o(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=da(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=da(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const u=r.value;return Vu.call(e.components,u)?e.components[u]:u}if(e.evaluater)return e.evaluater.evaluateExpression(r);Mn(e)}function Mn(e,t){const n=new Oe("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=go+"#cannot-handle-mdx-estrees-without-createevaluater",n}function yT(e){const t={};let n;for(n in e)Vu.call(e,n)&&(t[IT(n)]=e[n]);return t}function IT(e){let t=e.replace(lT,kT);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function ST(e,t){return t.toUpperCase()}function kT(e){return"-"+e.toLowerCase()}function RT(e){const t=this;t.compiler=n;function n(r,u){return dT(r,{filePath:u.path,...e})}}const LT=/[\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,FT=Object.hasOwnProperty;class Do{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let u=OT(t,n===!0);const i=u;for(;FT.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 OT(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(LT,"").replace(/ /g,"-"))}function PT(e){return"children"in e?xo(e):"value"in e?e.value:""}function wT(e){return e.type==="text"?e.value:"children"in e?xo(e):""}function xo(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=wT(e.children[t]);return n.join("")}const BT={},Aa=new Do;function MT(e){const n=(e||BT).prefix||"";return function(r){Aa.reset(),Ye(r,"element",function(u){To(u)&&!u.properties.id&&(u.properties.id=n+Aa.slug(PT(u)))})}}var Tu={exports:{}},xn={};/**
|
|
63
|
+
* @license React
|
|
64
|
+
* react-jsx-runtime.production.min.js
|
|
65
|
+
*
|
|
66
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
67
|
+
*
|
|
68
|
+
* This source code is licensed under the MIT license found in the
|
|
69
|
+
* LICENSE file in the root directory of this source tree.
|
|
70
|
+
*/var Ca;function vT(){if(Ca)return xn;Ca=1;var e=Ke,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,u=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(o,l,c){var f,d={},T=null,p=null;c!==void 0&&(T=""+c),l.key!==void 0&&(T=""+l.key),l.ref!==void 0&&(p=l.ref);for(f in l)r.call(l,f)&&!i.hasOwnProperty(f)&&(d[f]=l[f]);if(o&&o.defaultProps)for(f in l=o.defaultProps,l)d[f]===void 0&&(d[f]=l[f]);return{$$typeof:t,type:o,key:T,ref:p,props:d,_owner:u.current}}return xn.Fragment=n,xn.jsx=a,xn.jsxs=a,xn}var Xn={};/**
|
|
71
|
+
* @license React
|
|
72
|
+
* react-jsx-runtime.development.js
|
|
73
|
+
*
|
|
74
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
75
|
+
*
|
|
76
|
+
* This source code is licensed under the MIT license found in the
|
|
77
|
+
* LICENSE file in the root directory of this source tree.
|
|
78
|
+
*/var _a;function HT(){return _a||(_a=1,process.env.NODE_ENV!=="production"&&function(){var e=Ke,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),g=Symbol.iterator,S="@@iterator";function N(h){if(h===null||typeof h!="object")return null;var _=g&&h[g]||h[S];return typeof _=="function"?_:null}var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function L(h){{for(var _=arguments.length,k=new Array(_>1?_-1:0),H=1;H<_;H++)k[H-1]=arguments[H];B("error",h,k)}}function B(h,_,k){{var H=y.ReactDebugCurrentFrame,V=H.getStackAddendum();V!==""&&(_+="%s",k=k.concat([V]));var $=k.map(function(q){return String(q)});$.unshift("Warning: "+_),Function.prototype.apply.call(console[h],console,$)}}var Q=!1,K=!1,F=!1,w=!1,ee=!1,J;J=Symbol.for("react.module.reference");function I(h){return!!(typeof h=="string"||typeof h=="function"||h===r||h===i||ee||h===u||h===c||h===f||w||h===p||Q||K||F||typeof h=="object"&&h!==null&&(h.$$typeof===T||h.$$typeof===d||h.$$typeof===a||h.$$typeof===o||h.$$typeof===l||h.$$typeof===J||h.getModuleId!==void 0))}function j(h,_,k){var H=h.displayName;if(H)return H;var V=_.displayName||_.name||"";return V!==""?k+"("+V+")":k}function v(h){return h.displayName||"Context"}function G(h){if(h==null)return null;if(typeof h.tag=="number"&&L("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case r:return"Fragment";case n:return"Portal";case i:return"Profiler";case u:return"StrictMode";case c:return"Suspense";case f:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case o:var _=h;return v(_)+".Consumer";case a:var k=h;return v(k._context)+".Provider";case l:return j(h,h.render,"ForwardRef");case d:var H=h.displayName||null;return H!==null?H:G(h.type)||"Memo";case T:{var V=h,$=V._payload,q=V._init;try{return G(q($))}catch{return null}}}return null}var X=Object.assign,D=0,me,Ae,Se,we,A,ke,Be;function C(){}C.__reactDisabledLog=!0;function Me(){{if(D===0){me=console.log,Ae=console.info,Se=console.warn,we=console.error,A=console.group,ke=console.groupCollapsed,Be=console.groupEnd;var h={configurable:!0,enumerable:!0,value:C,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}D++}}function rt(){{if(D--,D===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:X({},h,{value:me}),info:X({},h,{value:Ae}),warn:X({},h,{value:Se}),error:X({},h,{value:we}),group:X({},h,{value:A}),groupCollapsed:X({},h,{value:ke}),groupEnd:X({},h,{value:Be})})}D<0&&L("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Te=y.ReactCurrentDispatcher,qe;function xe(h,_,k){{if(qe===void 0)try{throw Error()}catch(V){var H=V.stack.trim().match(/\n( *(at )?)/);qe=H&&H[1]||""}return`
|
|
79
|
+
`+qe+h}}var He=!1,Fe;{var _t=typeof WeakMap=="function"?WeakMap:Map;Fe=new _t}function kt(h,_){if(!h||He)return"";{var k=Fe.get(h);if(k!==void 0)return k}var H;He=!0;var V=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var $;$=Te.current,Te.current=null,Me();try{if(_){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(pe){H=pe}Reflect.construct(h,[],q)}else{try{q.call()}catch(pe){H=pe}h.call(q.prototype)}}else{try{throw Error()}catch(pe){H=pe}h()}}catch(pe){if(pe&&H&&typeof pe.stack=="string"){for(var Y=pe.stack.split(`
|
|
80
|
+
`),de=H.stack.split(`
|
|
81
|
+
`),ne=Y.length-1,ae=de.length-1;ne>=1&&ae>=0&&Y[ne]!==de[ae];)ae--;for(;ne>=1&&ae>=0;ne--,ae--)if(Y[ne]!==de[ae]){if(ne!==1||ae!==1)do if(ne--,ae--,ae<0||Y[ne]!==de[ae]){var be=`
|
|
82
|
+
`+Y[ne].replace(" at new "," at ");return h.displayName&&be.includes("<anonymous>")&&(be=be.replace("<anonymous>",h.displayName)),typeof h=="function"&&Fe.set(h,be),be}while(ne>=1&&ae>=0);break}}}finally{He=!1,Te.current=$,rt(),Error.prepareStackTrace=V}var Ge=h?h.displayName||h.name:"",ve=Ge?xe(Ge):"";return typeof h=="function"&&Fe.set(h,ve),ve}function un(h,_,k){return kt(h,!1)}function an(h){var _=h.prototype;return!!(_&&_.isReactComponent)}function Je(h,_,k){if(h==null)return"";if(typeof h=="function")return kt(h,an(h));if(typeof h=="string")return xe(h);switch(h){case c:return xe("Suspense");case f:return xe("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case l:return un(h.render);case d:return Je(h.type,_,k);case T:{var H=h,V=H._payload,$=H._init;try{return Je($(V),_,k)}catch{}}}return""}var Ue=Object.prototype.hasOwnProperty,Dt={},Rt=y.ReactDebugCurrentFrame;function Ze(h){if(h){var _=h._owner,k=Je(h.type,h._source,_?_.type:null);Rt.setExtraStackFrame(k)}else Rt.setExtraStackFrame(null)}function qt(h,_,k,H,V){{var $=Function.call.bind(Ue);for(var q in h)if($(h,q)){var Y=void 0;try{if(typeof h[q]!="function"){var de=Error((H||"React class")+": "+k+" type `"+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw de.name="Invariant Violation",de}Y=h[q](_,q,H,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ne){Y=ne}Y&&!(Y instanceof Error)&&(Ze(V),L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",H||"React class",k,q,typeof Y),Ze(null)),Y instanceof Error&&!(Y.message in Dt)&&(Dt[Y.message]=!0,Ze(V),L("Failed %s type: %s",k,Y.message),Ze(null))}}}var sn=Array.isArray;function dt(h){return sn(h)}function on(h){{var _=typeof Symbol=="function"&&Symbol.toStringTag,k=_&&h[Symbol.toStringTag]||h.constructor.name||"Object";return k}}function ln(h){try{return Lt(h),!1}catch{return!0}}function Lt(h){return""+h}function O(h){if(ln(h))return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",on(h)),Lt(h)}var U=y.ReactCurrentOwner,Z={key:!0,ref:!0,__self:!0,__source:!0},ie,he,De;De={};function ut(h){if(Ue.call(h,"ref")){var _=Object.getOwnPropertyDescriptor(h,"ref").get;if(_&&_.isReactWarning)return!1}return h.ref!==void 0}function Ve(h){if(Ue.call(h,"key")){var _=Object.getOwnPropertyDescriptor(h,"key").get;if(_&&_.isReactWarning)return!1}return h.key!==void 0}function mt(h,_){if(typeof h.ref=="string"&&U.current&&_&&U.current.stateNode!==_){var k=G(U.current.type);De[k]||(L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',G(U.current.type),h.ref),De[k]=!0)}}function pt(h,_){{var k=function(){ie||(ie=!0,L("%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://reactjs.org/link/special-props)",_))};k.isReactWarning=!0,Object.defineProperty(h,"key",{get:k,configurable:!0})}}function Re(h,_){{var k=function(){he||(he=!0,L("%s: `ref` 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://reactjs.org/link/special-props)",_))};k.isReactWarning=!0,Object.defineProperty(h,"ref",{get:k,configurable:!0})}}var ot=function(h,_,k,H,V,$,q){var Y={$$typeof:t,type:h,key:_,ref:k,props:q,_owner:$};return Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:H}),Object.defineProperty(Y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:V}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function We(h,_,k,H,V){{var $,q={},Y=null,de=null;k!==void 0&&(O(k),Y=""+k),Ve(_)&&(O(_.key),Y=""+_.key),ut(_)&&(de=_.ref,mt(_,V));for($ in _)Ue.call(_,$)&&!Z.hasOwnProperty($)&&(q[$]=_[$]);if(h&&h.defaultProps){var ne=h.defaultProps;for($ in ne)q[$]===void 0&&(q[$]=ne[$])}if(Y||de){var ae=typeof h=="function"?h.displayName||h.name||"Unknown":h;Y&&pt(q,ae),de&&Re(q,ae)}return ot(h,Y,de,V,H,U.current,q)}}var Ft=y.ReactCurrentOwner,cn=y.ReactDebugCurrentFrame;function Qe(h){if(h){var _=h._owner,k=Je(h.type,h._source,_?_.type:null);cn.setExtraStackFrame(k)}else cn.setExtraStackFrame(null)}var Ot;Ot=!1;function Pt(h){return typeof h=="object"&&h!==null&&h.$$typeof===t}function fn(){{if(Ft.current){var h=G(Ft.current.type);if(h)return`
|
|
83
|
+
|
|
84
|
+
Check the render method of \``+h+"`."}return""}}function Ar(h){return""}var hn={};function Cr(h){{var _=fn();if(!_){var k=typeof h=="string"?h:h.displayName||h.name;k&&(_=`
|
|
85
|
+
|
|
86
|
+
Check the top-level render call using <`+k+">.")}return _}}function dn(h,_){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var k=Cr(_);if(hn[k])return;hn[k]=!0;var H="";h&&h._owner&&h._owner!==Ft.current&&(H=" It was passed a child from "+G(h._owner.type)+"."),Qe(h),L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,H),Qe(null)}}function mn(h,_){{if(typeof h!="object")return;if(dt(h))for(var k=0;k<h.length;k++){var H=h[k];Pt(H)&&dn(H,_)}else if(Pt(h))h._store&&(h._store.validated=!0);else if(h){var V=N(h);if(typeof V=="function"&&V!==h.entries)for(var $=V.call(h),q;!(q=$.next()).done;)Pt(q.value)&&dn(q.value,_)}}}function _r(h){{var _=h.type;if(_==null||typeof _=="string")return;var k;if(typeof _=="function")k=_.propTypes;else if(typeof _=="object"&&(_.$$typeof===l||_.$$typeof===d))k=_.propTypes;else return;if(k){var H=G(_);qt(k,h.props,"prop",H,h)}else if(_.PropTypes!==void 0&&!Ot){Ot=!0;var V=G(_);L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",V||"Unknown")}typeof _.getDefaultProps=="function"&&!_.getDefaultProps.isReactClassApproved&&L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Dr(h){{for(var _=Object.keys(h.props),k=0;k<_.length;k++){var H=_[k];if(H!=="children"&&H!=="key"){Qe(h),L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",H),Qe(null);break}}h.ref!==null&&(Qe(h),L("Invalid attribute `ref` supplied to `React.Fragment`."),Qe(null))}}var pn={};function En(h,_,k,H,V,$){{var q=I(h);if(!q){var Y="";(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(Y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var de=Ar();de?Y+=de:Y+=fn();var ne;h===null?ne="null":dt(h)?ne="array":h!==void 0&&h.$$typeof===t?(ne="<"+(G(h.type)||"Unknown")+" />",Y=" Did you accidentally export a JSX literal instead of a component?"):ne=typeof h,L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ne,Y)}var ae=We(h,_,k,V,$);if(ae==null)return ae;if(q){var be=_.children;if(be!==void 0)if(H)if(dt(be)){for(var Ge=0;Ge<be.length;Ge++)mn(be[Ge],h);Object.freeze&&Object.freeze(be)}else L("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 mn(be,h)}if(Ue.call(_,"key")){var ve=G(h),pe=Object.keys(_).filter(function(kr){return kr!=="key"}),wt=pe.length>0?"{key: someKey, "+pe.join(": ..., ")+": ...}":"{key: someKey}";if(!pn[ve+wt]){var Sr=pe.length>0?"{"+pe.join(": ..., ")+": ...}":"{}";L(`A props object containing a "key" prop is being spread into JSX:
|
|
87
|
+
let props = %s;
|
|
88
|
+
<%s {...props} />
|
|
89
|
+
React keys must be passed directly to JSX without using spread:
|
|
90
|
+
let props = %s;
|
|
91
|
+
<%s key={someKey} {...props} />`,wt,ve,Sr,ve),pn[ve+wt]=!0}}return h===r?Dr(ae):_r(ae),ae}}function xr(h,_,k){return En(h,_,k,!0)}function Nr(h,_,k){return En(h,_,k,!1)}var yr=Nr,Ir=xr;Xn.Fragment=r,Xn.jsx=yr,Xn.jsxs=Ir}()),Xn}process.env.NODE_ENV==="production"?Tu.exports=vT():Tu.exports=HT();var te=Tu.exports;const ce=(...e)=>e.filter(Boolean).join(" ");function Gu(e){return Ke.forwardRef(e)}const No=`
|
|
92
|
+
inline-block
|
|
93
|
+
text-button
|
|
94
|
+
text-center
|
|
95
|
+
cursor-pointer
|
|
96
|
+
select-none
|
|
97
|
+
touch-manipulation
|
|
98
|
+
whitespace-nowrap
|
|
99
|
+
outline-offset-2
|
|
100
|
+
border
|
|
101
|
+
border-solid
|
|
102
|
+
border-blue-900
|
|
103
|
+
hover:border-blue-1000
|
|
104
|
+
active:border-blue-1200
|
|
105
|
+
focus:outline
|
|
106
|
+
focus:outline-2
|
|
107
|
+
focus:outline-wood-600
|
|
108
|
+
disabled:border-sumi-500
|
|
109
|
+
disabled:cursor-not-allowed
|
|
110
|
+
`,UT=`
|
|
111
|
+
text-white
|
|
112
|
+
bg-blue-900
|
|
113
|
+
hover:bg-blue-1000
|
|
114
|
+
active:bg-blue-1200
|
|
115
|
+
disabled:bg-sumi-500
|
|
116
|
+
disabled:text-white
|
|
117
|
+
`,zT=`
|
|
118
|
+
text-blue-900
|
|
119
|
+
hover:text-blue-1000
|
|
120
|
+
active:text-blue-1200
|
|
121
|
+
bg-transparent
|
|
122
|
+
hover:bg-blue-200
|
|
123
|
+
active:bg-blue-300
|
|
124
|
+
disabled:text-sumi-500
|
|
125
|
+
disabled:bg-transparent
|
|
126
|
+
`,jT=`
|
|
127
|
+
bg-transparent
|
|
128
|
+
text-blue-900
|
|
129
|
+
hover:text-blue-1000
|
|
130
|
+
active:text-blue-1200
|
|
131
|
+
underline
|
|
132
|
+
hover:bg-blue-200
|
|
133
|
+
active:bg-blue-300
|
|
134
|
+
disabled:bg-transparent
|
|
135
|
+
disabled:text-sumi-500
|
|
136
|
+
`,YT={primary:UT,secondary:zT,tertiary:jT},qT={lg:`
|
|
137
|
+
p-4
|
|
138
|
+
text-button
|
|
139
|
+
rounded-lg
|
|
140
|
+
leading-snug
|
|
141
|
+
`,md:`
|
|
142
|
+
px-4
|
|
143
|
+
py-3
|
|
144
|
+
text-button
|
|
145
|
+
rounded-lg
|
|
146
|
+
leading-snug
|
|
147
|
+
`,sm:`
|
|
148
|
+
px-3
|
|
149
|
+
py-1.5
|
|
150
|
+
my-1
|
|
151
|
+
text-button
|
|
152
|
+
rounded-md
|
|
153
|
+
leading-snug
|
|
154
|
+
`,xs:`
|
|
155
|
+
px-2
|
|
156
|
+
py-1.5
|
|
157
|
+
my-2
|
|
158
|
+
text-button-sm
|
|
159
|
+
rounded
|
|
160
|
+
`},yo=e=>YT[e],Io=e=>qT[e],$u=Gu((e,t)=>{const{as:n="button",variant:r="primary",size:u="lg",className:i,children:a,...o}=e;return te.jsx(n,{className:ce(No,yo(r),Io(u),i),...o,ref:t,children:a})});$u.displayName="Button";const Xu=Ke.createContext({id:""}),So=e=>{const{className:t,children:n,...r}=e,u={id:Ke.useId()};return te.jsx(Xu.Provider,{value:u,children:te.jsx("article",{"aria-labelledby":u.id,"aria-describedby":`${u.id}-desc`,className:ce(`
|
|
161
|
+
border
|
|
162
|
+
border-solid
|
|
163
|
+
border-sumi-500
|
|
164
|
+
rounded-2xl
|
|
165
|
+
sm:rounded-3xl
|
|
166
|
+
text-sumi-900
|
|
167
|
+
overflow-hidden
|
|
168
|
+
`,t),...r,children:n})})},VT=e=>{const{className:t,...n}=e;return te.jsx("img",{className:ce(`
|
|
169
|
+
object-cover
|
|
170
|
+
mb-2
|
|
171
|
+
`,t),...n})},WT=e=>{const{className:t,children:n,...r}=e,u=Ke.useContext(Xu);return te.jsx("div",{id:u.id,className:ce(`
|
|
172
|
+
text-base
|
|
173
|
+
leading-[2rem]
|
|
174
|
+
font-medium
|
|
175
|
+
first:pt-4
|
|
176
|
+
pt-2
|
|
177
|
+
last:pb-4
|
|
178
|
+
px-6
|
|
179
|
+
`,t),...r,children:n})},QT=e=>{const{className:t,children:n,...r}=e,u=Ke.useContext(Xu);return te.jsx("div",{id:`${u.id}-desc`,className:ce(`
|
|
180
|
+
text-base-sm
|
|
181
|
+
leading-[1.85rem]
|
|
182
|
+
first:pt-4
|
|
183
|
+
pt-2
|
|
184
|
+
last:pb-4
|
|
185
|
+
px-6
|
|
186
|
+
`,t),...r,children:n})},GT=e=>{const{className:t,children:n,...r}=e;return te.jsx("div",{className:ce(`
|
|
187
|
+
text-base-sm
|
|
188
|
+
leading-[1.85rem]
|
|
189
|
+
first:pt-4
|
|
190
|
+
pt-2
|
|
191
|
+
last:pb-4
|
|
192
|
+
px-6
|
|
193
|
+
`,t),...r,children:n})},$T=e=>{const{className:t,children:n,...r}=e;return te.jsx("code",{className:ce(`
|
|
194
|
+
bg-sumi-50
|
|
195
|
+
font-mono
|
|
196
|
+
`,t),...r,children:n})},ko=`
|
|
197
|
+
text-h-med-m
|
|
198
|
+
sm:text-h-med
|
|
199
|
+
`,XT=e=>{const{className:t,children:n,...r}=e;return te.jsx("article",{itemScope:!0,itemType:"https://schema.org/FAQPage",children:te.jsx("dl",{className:ce(`
|
|
200
|
+
flex
|
|
201
|
+
flex-col
|
|
202
|
+
gap-8
|
|
203
|
+
`,t),itemScope:!0,itemProp:"mainEntity",itemType:"https://schema.org/Question",...r,children:n})})},KT=e=>{const{className:t,children:n,...r}=e;return te.jsxs("dt",{className:ce(`
|
|
204
|
+
flex
|
|
205
|
+
flex-row
|
|
206
|
+
gap-8
|
|
207
|
+
mt-8
|
|
208
|
+
`,ko,t),itemProp:"name",...r,children:[te.jsx("span",{"aria-hidden":"true",children:"Q"}),te.jsx("span",{children:n})]})},JT=e=>{const{className:t,children:n,...r}=e;return te.jsxs("dd",{className:ce(`
|
|
209
|
+
flex
|
|
210
|
+
flex-row
|
|
211
|
+
items-start
|
|
212
|
+
gap-8
|
|
213
|
+
`,t),itemScope:!0,itemProp:"acceptedAnswer",itemType:"https://schema.org/Answer",...r,children:[te.jsx("span",{className:ce(ko,"!leading-none"),"aria-hidden":"true",children:"A"}),te.jsx("span",{itemProp:"text",children:n})]})},ZT=e=>{const{className:t,children:n,...r}=e;return te.jsx("h1",{className:ce(`
|
|
214
|
+
text-h-lg-m
|
|
215
|
+
sm:text-h-lg
|
|
216
|
+
pt-[2rem]
|
|
217
|
+
sm:pt-[6.5rem]
|
|
218
|
+
`,t),...r,children:n})},eb=e=>{const{className:t,children:n,...r}=e;return te.jsx("h2",{className:ce(`
|
|
219
|
+
text-h-med-m
|
|
220
|
+
sm:text-h-med
|
|
221
|
+
pt-[4rem]
|
|
222
|
+
sm:pt-[4.5rem]
|
|
223
|
+
`,t),...r,children:n})},tb=e=>{const{className:t,children:n,...r}=e;return te.jsx("h3",{className:ce(`
|
|
224
|
+
text-h-sm-m
|
|
225
|
+
sm:text-h-sm
|
|
226
|
+
pt-[4rem]
|
|
227
|
+
sm:pt-[4.5rem]
|
|
228
|
+
`,t),...r,children:n})},nb=e=>{const{className:t,children:n,...r}=e;return te.jsx("h4",{className:ce(`
|
|
229
|
+
text-h-xs-m
|
|
230
|
+
sm:text-h-xs
|
|
231
|
+
pt-[3.5rem]
|
|
232
|
+
sm:pt-[4.5rem]
|
|
233
|
+
`,t),...r,children:n})},rb=e=>{const{className:t,children:n,...r}=e;return te.jsx("h5",{className:ce(`
|
|
234
|
+
text-h-xxs-m
|
|
235
|
+
sm:text-h-xxs
|
|
236
|
+
pt-[3rem]
|
|
237
|
+
sm:pt-[4rem]
|
|
238
|
+
`,t),...r,children:n})},ub=e=>{const{className:t,children:n,...r}=e;return te.jsx("h6",{className:ce(`
|
|
239
|
+
text-h-xxs-m
|
|
240
|
+
sm:text-h-xxs
|
|
241
|
+
pt-[2.5rem]
|
|
242
|
+
sm:pt-[3.5rem]
|
|
243
|
+
`,t),...r,children:n})},bu=Ke.forwardRef((e,t)=>{const{className:n,icon:r,srText:u,...i}=e;return te.jsxs(te.Fragment,{children:[te.jsx("span",{"aria-hidden":"true",className:ce(`
|
|
244
|
+
inline
|
|
245
|
+
align-middle
|
|
246
|
+
font-icon
|
|
247
|
+
antialiased
|
|
248
|
+
`,n),...i,ref:t,children:r}),te.jsx("span",{className:"sr-only",children:u})]})});bu.displayName="Icon";const ib=Gu((e,t)=>{const{as:n="button",variant:r="primary",size:u="lg",iconLayout:i="left",icon:a,rounded:o,className:l,children:c,...f}=e,d=`${u==="xs"?"scale-105":"scale-125"}`,T=`
|
|
249
|
+
inline-block
|
|
250
|
+
align-middle
|
|
251
|
+
mb-1
|
|
252
|
+
font-icon
|
|
253
|
+
font-light
|
|
254
|
+
leading-[0px]
|
|
255
|
+
antialiased
|
|
256
|
+
`,p=`${o?"aspect-square !rounded-full !py-0":""}`,g=!!c;return te.jsxs(n,{className:ce(No,yo(r),Io(u),p,l),...f,ref:t,children:[i==="left"&&te.jsx("span",{className:ce(T,d),"aria-hidden":g,children:a}),c&&te.jsx("span",{className:"mx-1",children:c}),i==="right"&&te.jsx("span",{className:ce(T,d),"aria-hidden":g,children:a})]})});ib.displayName="IconButton";const Ku=Gu((e,t)=>{const{as:n="a",href:r,className:u,children:i,...a}=e,o=`
|
|
257
|
+
underline
|
|
258
|
+
underline-offset-[0.1875rem]
|
|
259
|
+
hover:decoration-4
|
|
260
|
+
`,l=`
|
|
261
|
+
cursor-pointer
|
|
262
|
+
text-blue-1000
|
|
263
|
+
active:text-orange-700
|
|
264
|
+
visited:text-magenta-900
|
|
265
|
+
focus:outline
|
|
266
|
+
focus:outline-2
|
|
267
|
+
focus:outline-wood-500
|
|
268
|
+
disabled:border-sumi-500
|
|
269
|
+
[overflow-wrap:anywhere]
|
|
270
|
+
`;return r!=null&&r.startsWith("http")?te.jsxs(n,{className:ce(l,o,u),href:r,target:"_blank",rel:"noopener noreferrer",...a,ref:t,children:[te.jsx("span",{children:i})," ",te.jsx("span",{className:ce(`
|
|
271
|
+
inline
|
|
272
|
+
align-middle
|
|
273
|
+
font-icon
|
|
274
|
+
font-light
|
|
275
|
+
antialiased
|
|
276
|
+
`),"aria-hidden":"true",children:"open_in_new"}),te.jsx("span",{className:"sr-only",children:"Opens in new tab"})]}):te.jsx(n,{className:ce(l,o,u),href:r,...a,ref:t,children:i})});Ku.displayName="Link";const gu=e=>{const{className:t,children:n,...r}=e;return te.jsx("ul",{className:ce(`
|
|
277
|
+
list-disc
|
|
278
|
+
[&_&]:list-circle
|
|
279
|
+
[&_&_&]:list-square
|
|
280
|
+
pl-8
|
|
281
|
+
`,t),...r,children:n})},ab=e=>{const{className:t,children:n,...r}=e;return te.jsx("ol",{className:ce(`
|
|
282
|
+
list-decimal
|
|
283
|
+
[&_&]:list-lower-latin
|
|
284
|
+
pl-8
|
|
285
|
+
`,t),...r,children:n})},sb=e=>{const{className:t,children:n,...r}=e;return te.jsx("pre",{className:ce(`
|
|
286
|
+
p-4
|
|
287
|
+
bg-sumi-50
|
|
288
|
+
rounded-lg
|
|
289
|
+
whitespace-pre-wrap
|
|
290
|
+
overflow-y-scroll
|
|
291
|
+
`,t),...r,children:n})},gr=`
|
|
292
|
+
border
|
|
293
|
+
border-collapse
|
|
294
|
+
border-solid-grey-420
|
|
295
|
+
`,ob=e=>{const{className:t,children:n,...r}=e;return te.jsx("table",{className:ce(gr,t),...r,children:n})},lb=e=>{const{className:t,children:n,...r}=e;return te.jsx("caption",{className:ce("text-left",t),...r,children:n})},cb=e=>{const{className:t,children:n,...r}=e;return te.jsx("thead",{className:ce(t),...r,children:n})},fb=e=>{const{className:t,children:n,...r}=e;return te.jsx("tbody",{className:ce(t),...r,children:n})},hb=e=>{const{className:t,children:n,...r}=e;return te.jsx("th",{className:ce(`
|
|
296
|
+
p-2
|
|
297
|
+
bg-[#f8f8fb]
|
|
298
|
+
text-label
|
|
299
|
+
text-left
|
|
300
|
+
`,gr,t),...r,children:n})},db=e=>{const{className:t,children:n,...r}=e;return te.jsx("tr",{className:ce("",gr,t),...r,children:n})},mb=e=>{const{className:t,children:n,...r}=e;return te.jsx("td",{className:ce(`
|
|
301
|
+
p-2
|
|
302
|
+
text-label
|
|
303
|
+
`,gr,t),...r,children:n})},pb=e=>{const{className:t,children:n,...r}=e;return te.jsx("div",{className:ce(`
|
|
304
|
+
w-full
|
|
305
|
+
overflow-x-auto
|
|
306
|
+
whitespace-nowrap
|
|
307
|
+
`,t),...r,children:n})},Ju=e=>e.type==="containerDirective"||e.type==="leafDirective"||e.type==="textDirective",Zu=e=>e.type==="containerDirective",Ro=e=>e.type==="leafDirective",Eb=e=>e.type==="textDirective",Tb=e=>{var i;const t=[],n=[];let r=-1,u=-1;for(const{children:a,...o}of e){if(r<o.depth&&o.depth<=u+1){const l=o.depth-r;u=o.depth,((i=n[l-1]).children??(i.children=[])).push(o),n[l]=o;continue}t.push(o),n[0]=o,r=u=o.depth}return t};function bb(){return e=>{Ye(e,Ju,function(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",f=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:f,allowFullScreen:!0,loading:"lazy"}}})}}const Au={}.hasOwnProperty;function Lo(e,t,n){const r=n&&_b(n);function u(i,a,...o){let l=-1,c;if(i==null){c={type:"root",children:[]};const f=a;o.unshift(f)}else if(c=Is(i,t),c.tagName=c.tagName.toLowerCase(),r&&Au.call(r,c.tagName)&&(c.tagName=r[c.tagName]),gb(a))o.unshift(a);else{let f;for(f in a)Au.call(a,f)&&Ab(e,c.properties,f,a[f])}for(;++l<o.length;)Cu(c.children,o[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return u}function gb(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 Ab(e,t,n,r){const u=zn(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=wn(r):u.commaSeparated?a=ar(r):u.commaOrSpaceSeparated?a=wn(ar(r).join(" ")):a=Da(u,u.property,r):Array.isArray(r)?a=r.concat():a=u.property==="style"?Cb(r):String(r);if(Array.isArray(a)){const o=[];for(;++i<a.length;){const l=Da(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 Cu(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;)Cu(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?Cu(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Da(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||zt(n)===zt(t)))return!0}return n}function Cb(e){const t=[];let n;for(n in e)Au.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function _b(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const Db=["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"],gt=Lo(en,"div");Lo(Ct,"g",Db);const xb=()=>e=>{Ye(e,Ju,function(t){t.data=t.data??{};const n=gt(t.name,t.attributes||{});t.data.hName=n.tagName,t.data.hProperties=n.properties})};function Nb(){return e=>{Ye(e,Eb,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=gt(r,t.attributes).properties})}}function yb(){return e=>{Ye(e,Zu,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=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=gt(u,t.attributes).properties})}}function Ib(){return e=>{Ye(e,Zu,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=gt(n,t.attributes).properties,t.children.forEach(r=>{if(!Ro(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=gt(u,r.attributes).properties})})}}function Sb(){return e=>{Ye(e,Ju,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=gt(n,t.attributes).properties,t.children.forEach(r=>{if(r.type!=="containerDirective")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=gt(u,r.attributes).properties})})}}function kb(){return e=>{Ye(e,Zu,t=>{if(t.name!=="faq")return;t.data=t.data??{};const n="dl";t.data.hName=n,t.data.hProperties=gt(n,t.attributes||{}).properties,t.children.forEach(r=>{if(!Ro(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=gt(u,r.attributes||{}).properties})})}}const Rb=()=>(e,t)=>{const n=[],r=new Do;function u(i){const a={id:r.slug(On(i)),depth:i.depth,value:On(i)};n.push(a)}Ye(e,"heading",u),t.data.fm||(t.data.fm={}),t.data.fm.headings=Tb(n)},Fo=Ke.createContext({href:""}),Lb=({href:e,className:t,children:n,...r})=>{const u=`
|
|
308
|
+
grid
|
|
309
|
+
grid-rows-subgrid
|
|
310
|
+
outline-offset-4
|
|
311
|
+
rounded-2xl
|
|
312
|
+
sm:rounded-3xl
|
|
313
|
+
focus:outline-2
|
|
314
|
+
focus:outline-wood-600
|
|
315
|
+
w-full h-full
|
|
316
|
+
`,i=`
|
|
317
|
+
hover:text-sea-1000
|
|
318
|
+
hover:border-sea-1000
|
|
319
|
+
`,a=e==null?void 0:e.startsWith("https://");return le.jsx(Fo.Provider,{value:{href:e},children:le.jsx("a",{className:bt(u),href:e,target:a?"_blank":"",children:le.jsx(So,{className:bt(i,t),...r,children:n})})})},Fb=({className:e,children:t})=>{const{href:n}=Ke.useContext(Fo),r=`
|
|
320
|
+
flex
|
|
321
|
+
justify-between
|
|
322
|
+
items-center
|
|
323
|
+
`,u=n.startsWith("https://");return le.jsx(WT,{className:bt(e,r),children:n===""?t:le.jsxs(le.Fragment,{children:[le.jsxs("span",{children:[t,u?le.jsx(bu,{className:"text-base ml-1 font-light",icon:"open_in_new"}):""]}),u?"":le.jsx(bu,{className:"text-base-sm !font-medium",icon:"arrow_forward"})]})})},Oo=({items:e})=>le.jsx(le.Fragment,{children:e.map(t=>le.jsxs("li",{children:[le.jsx(Ku,{href:`#${t.id}`,children:t.value}),t.children?le.jsx(gu,{children:le.jsx(Oo,{items:t.children})}):null]},t.id))}),Ob=e=>{const{className:t,children:n,...r}=e;return le.jsx(pb,{children:le.jsx(ob,{className:bt(t),...r,children:n})})},Pb=e=>{const{children:t,href:n,...r}=e;return r["data-node"]==="link-button"?le.jsx($u,{as:"a",variant:"secondary",href:n,children:t}):le.jsx(Ku,{href:n,...r,children:t})},wb=e=>{const{children:t,className:n,...r}=e;if(r["data-node"]==="card"){if(r["data-behavior"]==="link"){const i=r["data-href"];return le.jsx(Lb,{href:i,className:bt(n),children:t})}return le.jsx(So,{className:bt(n),children:t})}return le.jsx("article",{className:n,...r,children:t})},Bb=e=>{const{children:t,...n}=e,r=n["data-node"];return r==="card-title"?le.jsx(Fb,{children:t}):r==="card-description"?le.jsx(QT,{children:t}):r==="card-footer"?le.jsx(GT,{children:t}):n["data-behavior"]==="list"?le.jsx("ul",{children:Ke.Children.map(t,(u,i)=>le.jsx("li",{className:"sm:grid sm:grid-rows-subgrid",children:u},i))}):le.jsx("div",{...n,children:t})},Mb=e=>{const{children:t,className:n,...r}=e;return r["data-node"]==="card-img"?le.jsx(VT,{className:bt("w-full aspect-[352/226]",n),...r}):r["data-node"]==="cell-img"?le.jsx("img",{className:bt("mb-4",n),...r}):le.jsx("img",{className:n,...r})},vb=e=>{const{className:t,children:n,...r}=e,u=`
|
|
324
|
+
my-8
|
|
325
|
+
`;let i=`
|
|
326
|
+
aspect-video
|
|
327
|
+
w-full
|
|
328
|
+
max-w-[470px]
|
|
329
|
+
`;return(e.width||e.height)&&(i=`
|
|
330
|
+
aspect-video
|
|
331
|
+
w-full
|
|
332
|
+
lg:aspect-auto
|
|
333
|
+
lg:w-[${e.width}px]
|
|
334
|
+
lg:h-[${e.height}px]
|
|
335
|
+
`),le.jsx("iframe",{className:bt(u,i,t),...r,children:n})},Hb=({children:e,showToc:t})=>{const r=(o=>di().use(Ii).use(Rb).parse(o).children.filter(f=>f.type==="heading").filter(f=>f.depth<3).map(f=>{var d;return{depth:f.depth,title:((d=f.children[0])==null?void 0:d.value)||""}}))(e),u={...vo,components:{a:Pb,article:wb,button:$u,code:$T,dl:XT,dt:KT,dd:JT,h1:ZT,h2:eb,h3:tb,h4:nb,h5:rb,h6:ub,iframe:vb,img:Mb,ul:gu,ol:ab,pre:sb,table:Ob,caption:lb,thead:cb,tbody:fb,th:hb,tr:db,td:mb,div:Bb}},i=o=>di().use(Ii).use(Dh).use(Td).use(sm).use(xb).use(bb).use(Nb).use(Ib).use(Sb).use(kb).use(yb).use(um,{allowDangerousHtml:!0}).use(IE).use(vE,{target:"_blank"}).use(zE,{shift:0}).use(MT).use(RT,u).processSync(o).result;return le.jsxs("div",{className:"py-8 flex flex-col gap-8",children:[t&&le.jsxs("nav",{className:`
|
|
336
|
+
rounded-3xl
|
|
337
|
+
p-10
|
|
338
|
+
bg-wood-50
|
|
339
|
+
`,children:[le.jsx("h2",{className:"mb-4 font-bold text-h-xs-m sm:text-h-xs",children:"目次"}),le.jsx(gu,{children:le.jsx(Oo,{items:r})})]}),i(e)]})};exports.Markdown=Hb;
|