@sakura-ui/markdown 0.0.15-beta.1 → 0.0.16-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +290 -176
- package/dist/index.es.js +7378 -7329
- package/dist/types/components/Markdown.d.ts.map +1 -1
- package/dist/types/plugins/helper.d.ts.map +1 -1
- package/package.json +11 -9
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const rt=require("react");function Ac(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const u in r)if(u!=="default"&&!(u in e)){const i=Object.getOwnPropertyDescriptor(r,u);i&&Object.defineProperty(e,u,i.get?i:{enumerable:!0,get:()=>r[u]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function ra(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lu={exports:{}},wr={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var Ba;function yc(){if(Ba)return wr;Ba=1;var e=rt,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(l,c,f){var d,h={},g=null,E=null;f!==void 0&&(g=""+f),c.key!==void 0&&(g=""+c.key),c.ref!==void 0&&(E=c.ref);for(d in c)r.call(c,d)&&!i.hasOwnProperty(d)&&(h[d]=c[d]);if(l&&l.defaultProps)for(d in c=l.defaultProps,c)h[d]===void 0&&(h[d]=c[d]);return{$$typeof:t,type:l,key:g,ref:E,props:h,_owner:u.current}}return wr.Fragment=n,wr.jsx=a,wr.jsxs=a,wr}var Pr={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,71 +14,148 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
`+
|
|
19
|
-
`),Me=
|
|
20
|
-
`),xe=
|
|
21
|
-
`+
|
|
17
|
+
*/var Ma;function Cc(){return Ma||(Ma=1,process.env.NODE_ENV!=="production"&&function(){var e=rt,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"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),D=Symbol.iterator,w="@@iterator";function O(m){if(m===null||typeof m!="object")return null;var N=D&&m[D]||m[w];return typeof N=="function"?N:null}var F=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(m){{for(var N=arguments.length,R=new Array(N>1?N-1:0),X=1;X<N;X++)R[X-1]=arguments[X];V("error",m,R)}}function V(m,N,R){{var X=F.ReactDebugCurrentFrame,he=X.getStackAddendum();he!==""&&(N+="%s",R=R.concat([he]));var be=R.map(function(se){return String(se)});be.unshift("Warning: "+N),Function.prototype.apply.call(console[m],console,be)}}var ue=!1,J=!1,B=!1,U=!1,de=!1,pe;pe=Symbol.for("react.module.reference");function v(m){return!!(typeof m=="string"||typeof m=="function"||m===r||m===i||de||m===u||m===f||m===d||U||m===E||ue||J||B||typeof m=="object"&&m!==null&&(m.$$typeof===g||m.$$typeof===h||m.$$typeof===a||m.$$typeof===l||m.$$typeof===c||m.$$typeof===pe||m.getModuleId!==void 0))}function ne(m,N,R){var X=m.displayName;if(X)return X;var he=N.displayName||N.name||"";return he!==""?R+"("+he+")":R}function q(m){return m.displayName||"Context"}function Q(m){if(m==null)return null;if(typeof m.tag=="number"&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case r:return"Fragment";case n:return"Portal";case i:return"Profiler";case u:return"StrictMode";case f:return"Suspense";case d:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case l:var N=m;return q(N)+".Consumer";case a:var R=m;return q(R._context)+".Provider";case c:return ne(m,m.render,"ForwardRef");case h:var X=m.displayName||null;return X!==null?X:Q(m.type)||"Memo";case g:{var he=m,be=he._payload,se=he._init;try{return Q(se(be))}catch{return null}}}return null}var W=Object.assign,k=0,Ae,Y,je,We,S,T,I;function y(){}y.__reactDisabledLog=!0;function re(){{if(k===0){Ae=console.log,Y=console.info,je=console.warn,We=console.error,S=console.group,T=console.groupCollapsed,I=console.groupEnd;var m={configurable:!0,enumerable:!0,value:y,writable:!0};Object.defineProperties(console,{info:m,log:m,warn:m,error:m,group:m,groupCollapsed:m,groupEnd:m})}k++}}function ae(){{if(k--,k===0){var m={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:W({},m,{value:Ae}),info:W({},m,{value:Y}),warn:W({},m,{value:je}),error:W({},m,{value:We}),group:W({},m,{value:S}),groupCollapsed:W({},m,{value:T}),groupEnd:W({},m,{value:I})})}k<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var oe=F.ReactCurrentDispatcher,me;function ce(m,N,R){{if(me===void 0)try{throw Error()}catch(he){var X=he.stack.trim().match(/\n( *(at )?)/);me=X&&X[1]||""}return`
|
|
18
|
+
`+me+m}}var fe=!1,De;{var Pt=typeof WeakMap=="function"?WeakMap:Map;De=new Pt}function Ut(m,N){if(!m||fe)return"";{var R=De.get(m);if(R!==void 0)return R}var X;fe=!0;var he=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var be;be=oe.current,oe.current=null,re();try{if(N){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(ze){X=ze}Reflect.construct(m,[],se)}else{try{se.call()}catch(ze){X=ze}m.call(se.prototype)}}else{try{throw Error()}catch(ze){X=ze}m()}}catch(ze){if(ze&&X&&typeof ze.stack=="string"){for(var ie=ze.stack.split(`
|
|
19
|
+
`),Me=X.stack.split(`
|
|
20
|
+
`),xe=ie.length-1,Ne=Me.length-1;xe>=1&&Ne>=0&&ie[xe]!==Me[Ne];)Ne--;for(;xe>=1&&Ne>=0;xe--,Ne--)if(ie[xe]!==Me[Ne]){if(xe!==1||Ne!==1)do if(xe--,Ne--,Ne<0||ie[xe]!==Me[Ne]){var $e=`
|
|
21
|
+
`+ie[xe].replace(" at new "," at ");return m.displayName&&$e.includes("<anonymous>")&&($e=$e.replace("<anonymous>",m.displayName)),typeof m=="function"&&De.set(m,$e),$e}while(xe>=1&&Ne>=0);break}}}finally{fe=!1,oe.current=be,ae(),Error.prepareStackTrace=he}var ht=m?m.displayName||m.name:"",nt=ht?ce(ht):"";return typeof m=="function"&&De.set(m,nt),nt}function gt(m,N,R){return Ut(m,!1)}function tn(m){var N=m.prototype;return!!(N&&N.isReactComponent)}function mt(m,N,R){if(m==null)return"";if(typeof m=="function")return Ut(m,tn(m));if(typeof m=="string")return ce(m);switch(m){case f:return ce("Suspense");case d:return ce("SuspenseList")}if(typeof m=="object")switch(m.$$typeof){case c:return gt(m.render);case h:return mt(m.type,N,R);case g:{var X=m,he=X._payload,be=X._init;try{return mt(be(he),N,R)}catch{}}}return""}var Ze=Object.prototype.hasOwnProperty,ut={},jt=F.ReactDebugCurrentFrame;function it(m){if(m){var N=m._owner,R=mt(m.type,m._source,N?N.type:null);jt.setExtraStackFrame(R)}else jt.setExtraStackFrame(null)}function Qe(m,N,R,X,he){{var be=Function.call.bind(Ze);for(var se in m)if(be(m,se)){var ie=void 0;try{if(typeof m[se]!="function"){var Me=Error((X||"React class")+": "+R+" type `"+se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof m[se]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Me.name="Invariant Violation",Me}ie=m[se](N,se,X,R,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(xe){ie=xe}ie&&!(ie instanceof Error)&&(it(he),M("%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).",X||"React class",R,se,typeof ie),it(null)),ie instanceof Error&&!(ie.message in ut)&&(ut[ie.message]=!0,it(he),M("Failed %s type: %s",R,ie.message),it(null))}}}var lt=Array.isArray;function Tt(m){return lt(m)}function zt(m){{var N=typeof Symbol=="function"&&Symbol.toStringTag,R=N&&m[Symbol.toStringTag]||m.constructor.name||"Object";return R}}function Yt(m){try{return _t(m),!1}catch{return!0}}function _t(m){return""+m}function j(m){if(Yt(m))return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",zt(m)),_t(m)}var G=F.ReactCurrentOwner,_e={key:!0,ref:!0,__self:!0,__source:!0},ke,Be,Ve;Ve={};function At(m){if(Ze.call(m,"ref")){var N=Object.getOwnPropertyDescriptor(m,"ref").get;if(N&&N.isReactWarning)return!1}return m.ref!==void 0}function ct(m){if(Ze.call(m,"key")){var N=Object.getOwnPropertyDescriptor(m,"key").get;if(N&&N.isReactWarning)return!1}return m.key!==void 0}function It(m,N){if(typeof m.ref=="string"&&G.current&&N&&G.current.stateNode!==N){var R=Q(G.current.type);Ve[R]||(M('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',Q(G.current.type),m.ref),Ve[R]=!0)}}function Xe(m,N){{var R=function(){ke||(ke=!0,M("%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)",N))};R.isReactWarning=!0,Object.defineProperty(m,"key",{get:R,configurable:!0})}}function Ke(m,N){{var R=function(){Be||(Be=!0,M("%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)",N))};R.isReactWarning=!0,Object.defineProperty(m,"ref",{get:R,configurable:!0})}}var xt=function(m,N,R,X,he,be,se){var ie={$$typeof:t,type:m,key:N,ref:R,props:se,_owner:be};return ie._store={},Object.defineProperty(ie._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ie,"_self",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.defineProperty(ie,"_source",{configurable:!1,enumerable:!1,writable:!1,value:he}),Object.freeze&&(Object.freeze(ie.props),Object.freeze(ie)),ie};function ft(m,N,R,X,he){{var be,se={},ie=null,Me=null;R!==void 0&&(j(R),ie=""+R),ct(N)&&(j(N.key),ie=""+N.key),At(N)&&(Me=N.ref,It(N,he));for(be in N)Ze.call(N,be)&&!_e.hasOwnProperty(be)&&(se[be]=N[be]);if(m&&m.defaultProps){var xe=m.defaultProps;for(be in xe)se[be]===void 0&&(se[be]=xe[be])}if(ie||Me){var Ne=typeof m=="function"?m.displayName||m.name||"Unknown":m;ie&&Xe(se,Ne),Me&&Ke(se,Ne)}return xt(m,ie,Me,he,X,G.current,se)}}var Rt=F.ReactCurrentOwner,nn=F.ReactDebugCurrentFrame;function tt(m){if(m){var N=m._owner,R=mt(m.type,m._source,N?N.type:null);nn.setExtraStackFrame(R)}else nn.setExtraStackFrame(null)}var yt;yt=!1;function dt(m){return typeof m=="object"&&m!==null&&m.$$typeof===t}function Ct(){{if(Rt.current){var m=Q(Rt.current.type);if(m)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+
|
|
23
|
+
Check the render method of \``+m+"`."}return""}}function Sn(m){return""}var rn={};function kn(m){{var N=Ct();if(!N){var R=typeof m=="string"?m:m.displayName||m.name;R&&(N=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+R+">.")}return N}}function
|
|
25
|
+
Check the top-level render call using <`+R+">.")}return N}}function un(m,N){{if(!m._store||m._store.validated||m.key!=null)return;m._store.validated=!0;var R=kn(N);if(rn[R])return;rn[R]=!0;var X="";m&&m._owner&&m._owner!==Rt.current&&(X=" It was passed a child from "+Q(m._owner.type)+"."),tt(m),M('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',R,X),tt(null)}}function an(m,N){{if(typeof m!="object")return;if(Tt(m))for(var R=0;R<m.length;R++){var X=m[R];dt(X)&&un(X,N)}else if(dt(m))m._store&&(m._store.validated=!0);else if(m){var he=O(m);if(typeof he=="function"&&he!==m.entries)for(var be=he.call(m),se;!(se=be.next()).done;)dt(se.value)&&un(se.value,N)}}}function Dt(m){{var N=m.type;if(N==null||typeof N=="string")return;var R;if(typeof N=="function")R=N.propTypes;else if(typeof N=="object"&&(N.$$typeof===c||N.$$typeof===h))R=N.propTypes;else return;if(R){var X=Q(N);Qe(R,m.props,"prop",X,m)}else if(N.PropTypes!==void 0&&!yt){yt=!0;var he=Q(N);M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",he||"Unknown")}typeof N.getDefaultProps=="function"&&!N.getDefaultProps.isReactClassApproved&&M("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $t(m){{for(var N=Object.keys(m.props),R=0;R<N.length;R++){var X=N[R];if(X!=="children"&&X!=="key"){tt(m),M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",X),tt(null);break}}m.ref!==null&&(tt(m),M("Invalid attribute `ref` supplied to `React.Fragment`."),tt(null))}}var Vt={};function sn(m,N,R,X,he,be){{var se=v(m);if(!se){var ie="";(m===void 0||typeof m=="object"&&m!==null&&Object.keys(m).length===0)&&(ie+=" 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 Me=Sn();Me?ie+=Me:ie+=Ct();var xe;m===null?xe="null":Tt(m)?xe="array":m!==void 0&&m.$$typeof===t?(xe="<"+(Q(m.type)||"Unknown")+" />",ie=" Did you accidentally export a JSX literal instead of a component?"):xe=typeof m,M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",xe,ie)}var Ne=ft(m,N,R,he,be);if(Ne==null)return Ne;if(se){var $e=N.children;if($e!==void 0)if(X)if(Tt($e)){for(var ht=0;ht<$e.length;ht++)an($e[ht],m);Object.freeze&&Object.freeze($e)}else M("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 an($e,m)}if(Ze.call(N,"key")){var nt=Q(m),ze=Object.keys(N).filter(function(Ln){return Ln!=="key"}),qt=ze.length>0?"{key: someKey, "+ze.join(": ..., ")+": ...}":"{key: someKey}";if(!Vt[nt+qt]){var On=ze.length>0?"{"+ze.join(": ..., ")+": ...}":"{}";M(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,Vt,nt,Rn,nt),$t[nt+Vt]=!0}}return p===r?Yt(ke):Dt(ke),ke}}function Nn(p,N,R){return an(p,N,R,!0)}function kn(p,N,R){return an(p,N,R,!1)}var In=kn,sn=Nn;wr.Fragment=r,wr.jsx=In,wr.jsxs=sn}()),wr}process.env.NODE_ENV==="production"?Li.exports=Ic():Li.exports=Rc();var Ye=Li.exports;const Oc=ho(Ye),Lc=kc({__proto__:null,default:Oc},[Ye]),Fc={};function Xr(e,t){const n=Fc,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return po(e,r,u)}function po(e,t,n){if(vc(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 Ma(e.children,t,n)}return Array.isArray(e)?Ma(e,t,n):""}function Ma(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=po(e[u],t,n);return r.join("")}function vc(e){return!!(e&&typeof e=="object")}const Ha=document.createElement("i");function Kr(e){const t="&"+e+";";Ha.innerHTML=t;const n=Ha.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Bt(e,t,n,r){const u=e.length;let a=0,i;if(t<0?t=-t>u?0:u+t:t=t>u?u:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function Pt(e,t){return e.length>0?(Bt(e,e.length,0,t),e):t}const Ua={}.hasOwnProperty;function mo(e){const t={};let n=-1;for(;++n<e.length;)wc(t,e[n]);return t}function wc(e,t){let n;for(n in t){const u=(Ua.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let i;if(a)for(i in a){Ua.call(u,i)||(u[i]=[]);const l=a[i];Pc(u[i],Array.isArray(l)?l:l?[l]:[])}}}function Pc(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Bt(e,0,0,r)}function Eo(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 Qt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const pt=Dn(/[A-Za-z]/),ot=Dn(/[\dA-Za-z]/),Bc=Dn(/[#-'*+\--9=?A-Z^-~]/);function Au(e){return e!==null&&(e<32||e===127)}const Fi=Dn(/\d/),Mc=Dn(/[\dA-Fa-f]/),Hc=Dn(/[!-/:-@[-`{-~]/);function me(e){return e!==null&&e<-2}function Ue(e){return e!==null&&(e<0||e===32)}function Le(e){return e===-2||e===-1||e===32}const Iu=Dn(new RegExp("\\p{P}|\\p{S}","u")),Vn=Dn(/\s/);function Dn(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function ur(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const a=e.charCodeAt(n);let i="";if(a===37&&ot(e.charCodeAt(n+1))&&ot(e.charCodeAt(n+2)))u=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(i=String.fromCharCode(a));else if(a>55295&&a<57344){const l=e.charCodeAt(n+1);a<56320&&l>56319&&l<57344?(i=String.fromCharCode(a,l),u=1):i="�"}else i=String.fromCharCode(a);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+u+1,i=""),u&&(n+=u,u=0)}return t.join("")+e.slice(r)}function Re(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let a=0;return i;function i(c){return Le(c)?(e.enter(n),l(c)):t(c)}function l(c){return Le(c)&&a++<u?(e.consume(c),l):(e.exit(n),t(c))}}const Uc={tokenize:jc};function jc(e){const t=e.attempt(this.parser.constructs.contentInitial,r,u);let n;return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),Re(e,t,"linePrefix")}function u(l){return e.enter("paragraph"),a(l)}function a(l){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,i(l)}function i(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return me(l)?(e.consume(l),e.exit("chunkText"),a):(e.consume(l),i)}}const zc={tokenize:Yc},ja={tokenize:$c};function Yc(e){const t=this,n=[];let r=0,u,a,i;return l;function l(V){if(r<n.length){const ne=n[r];return t.containerState=ne[1],e.attempt(ne[0].continuation,c,f)(V)}return f(V)}function c(V){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,u&&M();const ne=t.events.length;let K=ne,B;for(;K--;)if(t.events[K][0]==="exit"&&t.events[K][1].type==="chunkFlow"){B=t.events[K][1].end;break}w(r);let U=ne;for(;U<t.events.length;)t.events[U][1].end=Object.assign({},B),U++;return Bt(t.events,K+1,0,t.events.slice(ne)),t.events.length=U,f(V)}return l(V)}function f(V){if(r===n.length){if(!u)return T(V);if(u.currentConstruct&&u.currentConstruct.concrete)return D(V);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(ja,d,m)(V)}function d(V){return u&&M(),w(r),T(V)}function m(V){return t.parser.lazy[t.now().line]=r!==n.length,i=t.now().offset,D(V)}function T(V){return t.containerState={},e.attempt(ja,E,D)(V)}function E(V){return r++,n.push([t.currentConstruct,t.containerState]),T(V)}function D(V){if(V===null){u&&M(),w(0),e.consume(V);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:u}),F(V)}function F(V){if(V===null){L(e.exit("chunkFlow"),!0),w(0),e.consume(V);return}return me(V)?(e.consume(V),L(e.exit("chunkFlow")),r=0,t.interrupt=void 0,l):(e.consume(V),F)}function L(V,ne){const K=t.sliceStream(V);if(ne&&K.push(null),V.previous=a,a&&(a.next=V),a=V,u.defineSkip(V.start),u.write(K),t.parser.lazy[V.start.line]){let B=u.events.length;for(;B--;)if(u.events[B][1].start.offset<i&&(!u.events[B][1].end||u.events[B][1].end.offset>i))return;const U=t.events.length;let he=U,be,P;for(;he--;)if(t.events[he][0]==="exit"&&t.events[he][1].type==="chunkFlow"){if(be){P=t.events[he][1].end;break}be=!0}for(w(r),B=U;B<t.events.length;)t.events[B][1].end=Object.assign({},P),B++;Bt(t.events,he+1,0,t.events.slice(U)),t.events.length=B}}function w(V){let ne=n.length;for(;ne-- >V;){const K=n[ne];t.containerState=K[1],K[0].exit.call(t,e)}n.length=V}function M(){u.write([null]),a=void 0,u=void 0,t.containerState._closeFlow=void 0}}function $c(e,t,n){return Re(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Cu(e){if(e===null||Ue(e)||Vn(e))return 1;if(Iu(e))return 2}function Ru(e,t,n){const r=[];let u=-1;for(;++u<e.length;){const a=e[u].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const vi={name:"attention",tokenize:qc,resolveAll:Vc};function Vc(e,t){let n=-1,r,u,a,i,l,c,f,d;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;c=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 m=Object.assign({},e[r][1].end),T=Object.assign({},e[n][1].start);za(m,-c),za(T,c),i={type:c>1?"strongSequence":"emphasisSequence",start:m,end:Object.assign({},e[r][1].end)},l={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:T},a={type:c>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},u={type:c>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},l.end)},e[r][1].end=Object.assign({},i.start),e[n][1].start=Object.assign({},l.end),f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=Pt(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=Pt(f,[["enter",u,t],["enter",i,t],["exit",i,t],["enter",a,t]]),f=Pt(f,Ru(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),f=Pt(f,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",u,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,f=Pt(f,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,Bt(e,r-1,n-r+3,f),n=r+f.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function qc(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,u=Cu(r);let a;return i;function i(c){return a=c,e.enter("attentionSequence"),l(c)}function l(c){if(c===a)return e.consume(c),l;const f=e.exit("attentionSequence"),d=Cu(c),m=!d||d===2&&u||n.includes(c),T=!u||u===2&&d||n.includes(r);return f._open=!!(a===42?m:m&&(u||!T)),f._close=!!(a===42?T:T&&(d||!m)),t(c)}}function za(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Wc={name:"autolink",tokenize:Qc};function Qc(e,t,n){let r=0;return u;function u(E){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(E),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(E){return pt(E)?(e.consume(E),i):E===64?n(E):f(E)}function i(E){return E===43||E===45||E===46||ot(E)?(r=1,l(E)):f(E)}function l(E){return E===58?(e.consume(E),r=0,c):(E===43||E===45||E===46||ot(E))&&r++<32?(e.consume(E),l):(r=0,f(E))}function c(E){return E===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(E),e.exit("autolinkMarker"),e.exit("autolink"),t):E===null||E===32||E===60||Au(E)?n(E):(e.consume(E),c)}function f(E){return E===64?(e.consume(E),d):Bc(E)?(e.consume(E),f):n(E)}function d(E){return ot(E)?m(E):n(E)}function m(E){return E===46?(e.consume(E),r=0,d):E===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(E),e.exit("autolinkMarker"),e.exit("autolink"),t):T(E)}function T(E){if((E===45||ot(E))&&r++<63){const D=E===45?T:m;return e.consume(E),D}return n(E)}}const nu={tokenize:Gc,partial:!0};function Gc(e,t,n){return r;function r(a){return Le(a)?Re(e,u,"linePrefix")(a):u(a)}function u(a){return a===null||me(a)?t(a):n(a)}}const go={name:"blockQuote",tokenize:Xc,continuation:{tokenize:Kc},exit:Jc};function Xc(e,t,n){const r=this;return u;function u(i){if(i===62){const l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(i),e.exit("blockQuoteMarker"),a}return n(i)}function a(i){return Le(i)?(e.enter("blockQuotePrefixWhitespace"),e.consume(i),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(i))}}function Kc(e,t,n){const r=this;return u;function u(i){return Le(i)?Re(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i):a(i)}function a(i){return e.attempt(go,t,n)(i)}}function Jc(e){e.exit("blockQuote")}const bo={name:"characterEscape",tokenize:Zc};function Zc(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),u}function u(a){return Hc(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const To={name:"characterReference",tokenize:ef};function ef(e,t,n){const r=this;let u=0,a,i;return l;function l(m){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),c}function c(m){return m===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(m),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),a=31,i=ot,d(m))}function f(m){return m===88||m===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(m),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,i=Mc,d):(e.enter("characterReferenceValue"),a=7,i=Fi,d(m))}function d(m){if(m===59&&u){const T=e.exit("characterReferenceValue");return i===ot&&!Kr(r.sliceSerialize(T))?n(m):(e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return i(m)&&u++<a?(e.consume(m),d):n(m)}}const Ya={tokenize:nf,partial:!0},$a={name:"codeFenced",tokenize:tf,concrete:!0};function tf(e,t,n){const r=this,u={tokenize:K,partial:!0};let a=0,i=0,l;return c;function c(B){return f(B)}function f(B){const U=r.events[r.events.length-1];return a=U&&U[1].type==="linePrefix"?U[2].sliceSerialize(U[1],!0).length:0,l=B,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(B)}function d(B){return B===l?(i++,e.consume(B),d):i<3?n(B):(e.exit("codeFencedFenceSequence"),Le(B)?Re(e,m,"whitespace")(B):m(B))}function m(B){return B===null||me(B)?(e.exit("codeFencedFence"),r.interrupt?t(B):e.check(Ya,F,ne)(B)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),T(B))}function T(B){return B===null||me(B)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),m(B)):Le(B)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Re(e,E,"whitespace")(B)):B===96&&B===l?n(B):(e.consume(B),T)}function E(B){return B===null||me(B)?m(B):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),D(B))}function D(B){return B===null||me(B)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(B)):B===96&&B===l?n(B):(e.consume(B),D)}function F(B){return e.attempt(u,ne,L)(B)}function L(B){return e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),w}function w(B){return a>0&&Le(B)?Re(e,M,"linePrefix",a+1)(B):M(B)}function M(B){return B===null||me(B)?e.check(Ya,F,ne)(B):(e.enter("codeFlowValue"),V(B))}function V(B){return B===null||me(B)?(e.exit("codeFlowValue"),M(B)):(e.consume(B),V)}function ne(B){return e.exit("codeFenced"),t(B)}function K(B,U,he){let be=0;return P;function P(k){return B.enter("lineEnding"),B.consume(k),B.exit("lineEnding"),te}function te(k){return B.enter("codeFencedFence"),Le(k)?Re(B,q,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):q(k)}function q(k){return k===l?(B.enter("codeFencedFenceSequence"),ae(k)):he(k)}function ae(k){return k===l?(be++,B.consume(k),ae):be>=i?(B.exit("codeFencedFenceSequence"),Le(k)?Re(B,le,"whitespace")(k):le(k)):he(k)}function le(k){return k===null||me(k)?(B.exit("codeFencedFence"),U(k)):he(k)}}}function nf(e,t,n){const r=this;return u;function u(i){return i===null?n(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),a)}function a(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}const si={name:"codeIndented",tokenize:uf},rf={tokenize:af,partial:!0};function uf(e,t,n){const r=this;return u;function u(f){return e.enter("codeIndented"),Re(e,a,"linePrefix",5)(f)}function a(f){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?i(f):n(f)}function i(f){return f===null?c(f):me(f)?e.attempt(rf,i,c)(f):(e.enter("codeFlowValue"),l(f))}function l(f){return f===null||me(f)?(e.exit("codeFlowValue"),i(f)):(e.consume(f),l)}function c(f){return e.exit("codeIndented"),t(f)}}function af(e,t,n){const r=this;return u;function u(i){return r.parser.lazy[r.now().line]?n(i):me(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),u):Re(e,a,"linePrefix",5)(i)}function a(i){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(i):me(i)?u(i):n(i)}}const sf={name:"codeText",tokenize:cf,resolve:of,previous:lf};function of(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 lf(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function cf(e,t,n){let r=0,u,a;return i;function i(m){return e.enter("codeText"),e.enter("codeTextSequence"),l(m)}function l(m){return m===96?(e.consume(m),r++,l):(e.exit("codeTextSequence"),c(m))}function c(m){return m===null?n(m):m===32?(e.enter("space"),e.consume(m),e.exit("space"),c):m===96?(a=e.enter("codeTextSequence"),u=0,d(m)):me(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),c):(e.enter("codeTextData"),f(m))}function f(m){return m===null||m===32||m===96||me(m)?(e.exit("codeTextData"),c(m)):(e.consume(m),f)}function d(m){return m===96?(e.consume(m),u++,d):u===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(m)):(a.type="codeTextData",f(m))}}class ff{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 a=this.right.splice(this.right.length-u,Number.POSITIVE_INFINITY);return r&&Pr(this.left,r),a.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),Pr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Pr(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);Pr(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Pr(this.left,n.reverse())}}}function Pr(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 _o(e){const t={};let n=-1,r,u,a,i,l,c,f;const d=new ff(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,df(d,n)),n=t[n],f=!0);else if(r[1]._container){for(a=n,u=void 0;a--&&(i=d.get(a),i[1].type==="lineEnding"||i[1].type==="lineEndingBlank");)i[0]==="enter"&&(u&&(d.get(u)[1].type="lineEndingBlank"),i[1].type="lineEnding",u=a);u&&(r[1].end=Object.assign({},d.get(u)[1].start),l=d.slice(u,n),l.unshift(r),d.splice(u,n-u+1,l))}}return Bt(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!f}function df(e,t){const n=e.get(t)[1],r=e.get(t)[2];let u=t-1;const a=[],i=n._tokenizer||r.parser[n.contentType](n.start),l=i.events,c=[],f={};let d,m,T=-1,E=n,D=0,F=0;const L=[F];for(;E;){for(;e.get(++u)[1]!==E;);a.push(u),E._tokenizer||(d=r.sliceStream(E),E.next||d.push(null),m&&i.defineSkip(E.start),E._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=!0),i.write(d),E._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=void 0)),m=E,E=E.next}for(E=n;++T<l.length;)l[T][0]==="exit"&&l[T-1][0]==="enter"&&l[T][1].type===l[T-1][1].type&&l[T][1].start.line!==l[T][1].end.line&&(F=T+1,L.push(F),E._tokenizer=void 0,E.previous=void 0,E=E.next);for(i.events=[],E?(E._tokenizer=void 0,E.previous=void 0):L.pop(),T=L.length;T--;){const w=l.slice(L[T],L[T+1]),M=a.pop();c.push([M,M+w.length-1]),e.splice(M,2,w)}for(c.reverse(),T=-1;++T<c.length;)f[D+c[T][0]]=D+c[T][1],D+=c[T][1]-c[T][0]-1;return f}const hf={tokenize:Ef,resolve:mf},pf={tokenize:gf,partial:!0};function mf(e){return _o(e),e}function Ef(e,t){let n;return r;function r(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),u(l)}function u(l){return l===null?a(l):me(l)?e.check(pf,i,a)(l):(e.consume(l),u)}function a(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function i(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,u}}function gf(e,t,n){const r=this;return u;function u(i){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),Re(e,a,"linePrefix")}function a(i){if(i===null||me(i))return n(i);const l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function yo(e,t,n,r,u,a,i,l,c){const f=c||Number.POSITIVE_INFINITY;let d=0;return m;function m(w){return w===60?(e.enter(r),e.enter(u),e.enter(a),e.consume(w),e.exit(a),T):w===null||w===32||w===41||Au(w)?n(w):(e.enter(r),e.enter(i),e.enter(l),e.enter("chunkString",{contentType:"string"}),F(w))}function T(w){return w===62?(e.enter(a),e.consume(w),e.exit(a),e.exit(u),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),E(w))}function E(w){return w===62?(e.exit("chunkString"),e.exit(l),T(w)):w===null||w===60||me(w)?n(w):(e.consume(w),w===92?D:E)}function D(w){return w===60||w===62||w===92?(e.consume(w),E):E(w)}function F(w){return!d&&(w===null||w===41||Ue(w))?(e.exit("chunkString"),e.exit(l),e.exit(i),e.exit(r),t(w)):d<f&&w===40?(e.consume(w),d++,F):w===41?(e.consume(w),d--,F):w===null||w===32||w===40||Au(w)?n(w):(e.consume(w),w===92?L:F)}function L(w){return w===40||w===41||w===92?(e.consume(w),F):F(w)}}function Ao(e,t,n,r,u,a){const i=this;let l=0,c;return f;function f(E){return e.enter(r),e.enter(u),e.consume(E),e.exit(u),e.enter(a),d}function d(E){return l>999||E===null||E===91||E===93&&!c||E===94&&!l&&"_hiddenFootnoteSupport"in i.parser.constructs?n(E):E===93?(e.exit(a),e.enter(u),e.consume(E),e.exit(u),e.exit(r),t):me(E)?(e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),m(E))}function m(E){return E===null||E===91||E===93||me(E)||l++>999?(e.exit("chunkString"),d(E)):(e.consume(E),c||(c=!Le(E)),E===92?T:m)}function T(E){return E===91||E===92||E===93?(e.consume(E),l++,m):m(E)}}function Co(e,t,n,r,u,a){let i;return l;function l(T){return T===34||T===39||T===40?(e.enter(r),e.enter(u),e.consume(T),e.exit(u),i=T===40?41:T,c):n(T)}function c(T){return T===i?(e.enter(u),e.consume(T),e.exit(u),e.exit(r),t):(e.enter(a),f(T))}function f(T){return T===i?(e.exit(a),c(i)):T===null?n(T):me(T)?(e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),Re(e,f,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(T))}function d(T){return T===i||T===null||me(T)?(e.exit("chunkString"),f(T)):(e.consume(T),T===92?m:d)}function m(T){return T===i||T===92?(e.consume(T),d):d(T)}}function mn(e,t){let n;return r;function r(u){return me(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):Le(u)?Re(e,r,n?"linePrefix":"lineSuffix")(u):t(u)}}const bf={name:"definition",tokenize:_f},Tf={tokenize:yf,partial:!0};function _f(e,t,n){const r=this;let u;return a;function a(E){return e.enter("definition"),i(E)}function i(E){return Ao.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(E)}function l(E){return u=Qt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),c):n(E)}function c(E){return Ue(E)?mn(e,f)(E):f(E)}function f(E){return yo(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(E)}function d(E){return e.attempt(Tf,m,m)(E)}function m(E){return Le(E)?Re(e,T,"whitespace")(E):T(E)}function T(E){return E===null||me(E)?(e.exit("definition"),r.parser.defined.push(u),t(E)):n(E)}}function yf(e,t,n){return r;function r(l){return Ue(l)?mn(e,u)(l):n(l)}function u(l){return Co(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function a(l){return Le(l)?Re(e,i,"whitespace")(l):i(l)}function i(l){return l===null||me(l)?t(l):n(l)}}const Af={name:"hardBreakEscape",tokenize:Cf};function Cf(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),u}function u(a){return me(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const Df={name:"headingAtx",tokenize:Sf,resolve:xf};function xf(e,t){let n=e.length-2,r=3,u,a;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},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Bt(e,r,n-r+1,[["enter",u,t],["enter",a,t],["exit",a,t],["exit",u,t]])),e}function Sf(e,t,n){let r=0;return u;function u(d){return e.enter("atxHeading"),a(d)}function a(d){return e.enter("atxHeadingSequence"),i(d)}function i(d){return d===35&&r++<6?(e.consume(d),i):d===null||Ue(d)?(e.exit("atxHeadingSequence"),l(d)):n(d)}function l(d){return d===35?(e.enter("atxHeadingSequence"),c(d)):d===null||me(d)?(e.exit("atxHeading"),t(d)):Le(d)?Re(e,l,"whitespace")(d):(e.enter("atxHeadingText"),f(d))}function c(d){return d===35?(e.consume(d),c):(e.exit("atxHeadingSequence"),l(d))}function f(d){return d===null||d===35||Ue(d)?(e.exit("atxHeadingText"),l(d)):(e.consume(d),f)}}const Nf=["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"],Va=["pre","script","style","textarea"],kf={name:"htmlFlow",tokenize:Lf,resolveTo:Of,concrete:!0},If={tokenize:vf,partial:!0},Rf={tokenize:Ff,partial:!0};function Of(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 Lf(e,t,n){const r=this;let u,a,i,l,c;return f;function f(A){return d(A)}function d(A){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(A),m}function m(A){return A===33?(e.consume(A),T):A===47?(e.consume(A),a=!0,F):A===63?(e.consume(A),u=3,r.interrupt?t:S):pt(A)?(e.consume(A),i=String.fromCharCode(A),L):n(A)}function T(A){return A===45?(e.consume(A),u=2,E):A===91?(e.consume(A),u=5,l=0,D):pt(A)?(e.consume(A),u=4,r.interrupt?t:S):n(A)}function E(A){return A===45?(e.consume(A),r.interrupt?t:S):n(A)}function D(A){const ee="CDATA[";return A===ee.charCodeAt(l++)?(e.consume(A),l===ee.length?r.interrupt?t:q:D):n(A)}function F(A){return pt(A)?(e.consume(A),i=String.fromCharCode(A),L):n(A)}function L(A){if(A===null||A===47||A===62||Ue(A)){const ee=A===47,ue=i.toLowerCase();return!ee&&!a&&Va.includes(ue)?(u=1,r.interrupt?t(A):q(A)):Nf.includes(i.toLowerCase())?(u=6,ee?(e.consume(A),w):r.interrupt?t(A):q(A)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(A):a?M(A):V(A))}return A===45||ot(A)?(e.consume(A),i+=String.fromCharCode(A),L):n(A)}function w(A){return A===62?(e.consume(A),r.interrupt?t:q):n(A)}function M(A){return Le(A)?(e.consume(A),M):P(A)}function V(A){return A===47?(e.consume(A),P):A===58||A===95||pt(A)?(e.consume(A),ne):Le(A)?(e.consume(A),V):P(A)}function ne(A){return A===45||A===46||A===58||A===95||ot(A)?(e.consume(A),ne):K(A)}function K(A){return A===61?(e.consume(A),B):Le(A)?(e.consume(A),K):V(A)}function B(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),c=A,U):Le(A)?(e.consume(A),B):he(A)}function U(A){return A===c?(e.consume(A),c=null,be):A===null||me(A)?n(A):(e.consume(A),U)}function he(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||Ue(A)?K(A):(e.consume(A),he)}function be(A){return A===47||A===62||Le(A)?V(A):n(A)}function P(A){return A===62?(e.consume(A),te):n(A)}function te(A){return A===null||me(A)?q(A):Le(A)?(e.consume(A),te):n(A)}function q(A){return A===45&&u===2?(e.consume(A),De):A===60&&u===1?(e.consume(A),Y):A===62&&u===4?(e.consume(A),b):A===63&&u===3?(e.consume(A),S):A===93&&u===5?(e.consume(A),We):me(A)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(If,I,ae)(A)):A===null||me(A)?(e.exit("htmlFlowData"),ae(A)):(e.consume(A),q)}function ae(A){return e.check(Rf,le,I)(A)}function le(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),k}function k(A){return A===null||me(A)?ae(A):(e.enter("htmlFlowData"),q(A))}function De(A){return A===45?(e.consume(A),S):q(A)}function Y(A){return A===47?(e.consume(A),i="",je):q(A)}function je(A){if(A===62){const ee=i.toLowerCase();return Va.includes(ee)?(e.consume(A),b):q(A)}return pt(A)&&i.length<8?(e.consume(A),i+=String.fromCharCode(A),je):q(A)}function We(A){return A===93?(e.consume(A),S):q(A)}function S(A){return A===62?(e.consume(A),b):A===45&&u===2?(e.consume(A),S):q(A)}function b(A){return A===null||me(A)?(e.exit("htmlFlowData"),I(A)):(e.consume(A),b)}function I(A){return e.exit("htmlFlow"),t(A)}}function Ff(e,t,n){const r=this;return u;function u(i){return me(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),a):n(i)}function a(i){return r.parser.lazy[r.now().line]?n(i):t(i)}}function vf(e,t,n){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt(nu,t,n)}}const wf={name:"htmlText",tokenize:Pf};function Pf(e,t,n){const r=this;let u,a,i;return l;function l(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),c}function c(S){return S===33?(e.consume(S),f):S===47?(e.consume(S),K):S===63?(e.consume(S),V):pt(S)?(e.consume(S),he):n(S)}function f(S){return S===45?(e.consume(S),d):S===91?(e.consume(S),a=0,D):pt(S)?(e.consume(S),M):n(S)}function d(S){return S===45?(e.consume(S),E):n(S)}function m(S){return S===null?n(S):S===45?(e.consume(S),T):me(S)?(i=m,Y(S)):(e.consume(S),m)}function T(S){return S===45?(e.consume(S),E):m(S)}function E(S){return S===62?De(S):S===45?T(S):m(S)}function D(S){const b="CDATA[";return S===b.charCodeAt(a++)?(e.consume(S),a===b.length?F:D):n(S)}function F(S){return S===null?n(S):S===93?(e.consume(S),L):me(S)?(i=F,Y(S)):(e.consume(S),F)}function L(S){return S===93?(e.consume(S),w):F(S)}function w(S){return S===62?De(S):S===93?(e.consume(S),w):F(S)}function M(S){return S===null||S===62?De(S):me(S)?(i=M,Y(S)):(e.consume(S),M)}function V(S){return S===null?n(S):S===63?(e.consume(S),ne):me(S)?(i=V,Y(S)):(e.consume(S),V)}function ne(S){return S===62?De(S):V(S)}function K(S){return pt(S)?(e.consume(S),B):n(S)}function B(S){return S===45||ot(S)?(e.consume(S),B):U(S)}function U(S){return me(S)?(i=U,Y(S)):Le(S)?(e.consume(S),U):De(S)}function he(S){return S===45||ot(S)?(e.consume(S),he):S===47||S===62||Ue(S)?be(S):n(S)}function be(S){return S===47?(e.consume(S),De):S===58||S===95||pt(S)?(e.consume(S),P):me(S)?(i=be,Y(S)):Le(S)?(e.consume(S),be):De(S)}function P(S){return S===45||S===46||S===58||S===95||ot(S)?(e.consume(S),P):te(S)}function te(S){return S===61?(e.consume(S),q):me(S)?(i=te,Y(S)):Le(S)?(e.consume(S),te):be(S)}function q(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),u=S,ae):me(S)?(i=q,Y(S)):Le(S)?(e.consume(S),q):(e.consume(S),le)}function ae(S){return S===u?(e.consume(S),u=void 0,k):S===null?n(S):me(S)?(i=ae,Y(S)):(e.consume(S),ae)}function le(S){return S===null||S===34||S===39||S===60||S===61||S===96?n(S):S===47||S===62||Ue(S)?be(S):(e.consume(S),le)}function k(S){return S===47||S===62||Ue(S)?be(S):n(S)}function De(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):n(S)}function Y(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),je}function je(S){return Le(S)?Re(e,We,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):We(S)}function We(S){return e.enter("htmlTextData"),i(S)}}const ea={name:"labelEnd",tokenize:zf,resolveTo:jf,resolveAll:Uf},Bf={tokenize:Yf},Mf={tokenize:$f},Hf={tokenize:Vf};function Uf(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 jf(e,t){let n=e.length,r=0,u,a,i,l;for(;n--;)if(u=e[n][1],a){if(u.type==="link"||u.type==="labelLink"&&u._inactive)break;e[n][0]==="enter"&&u.type==="labelLink"&&(u._inactive=!0)}else if(i){if(e[n][0]==="enter"&&(u.type==="labelImage"||u.type==="labelLink")&&!u._balanced&&(a=n,u.type!=="labelLink")){r=2;break}}else u.type==="labelEnd"&&(i=n);const c={type:e[a][1].type==="labelLink"?"link":"image",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},f={type:"label",start:Object.assign({},e[a][1].start),end:Object.assign({},e[i][1].end)},d={type:"labelText",start:Object.assign({},e[a+r+2][1].end),end:Object.assign({},e[i-2][1].start)};return l=[["enter",c,t],["enter",f,t]],l=Pt(l,e.slice(a+1,a+r+3)),l=Pt(l,[["enter",d,t]]),l=Pt(l,Ru(t.parser.constructs.insideSpan.null,e.slice(a+r+4,i-3),t)),l=Pt(l,[["exit",d,t],e[i-2],e[i-1],["exit",f,t]]),l=Pt(l,e.slice(i+1)),l=Pt(l,[["exit",c,t]]),Bt(e,a,e.length,l),e}function zf(e,t,n){const r=this;let u=r.events.length,a,i;for(;u--;)if((r.events[u][1].type==="labelImage"||r.events[u][1].type==="labelLink")&&!r.events[u][1]._balanced){a=r.events[u][1];break}return l;function l(T){return a?a._inactive?m(T):(i=r.parser.defined.includes(Qt(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(T),e.exit("labelMarker"),e.exit("labelEnd"),c):n(T)}function c(T){return T===40?e.attempt(Bf,d,i?d:m)(T):T===91?e.attempt(Mf,d,i?f:m)(T):i?d(T):m(T)}function f(T){return e.attempt(Hf,d,m)(T)}function d(T){return t(T)}function m(T){return a._balanced=!0,n(T)}}function Yf(e,t,n){return r;function r(m){return e.enter("resource"),e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),u}function u(m){return Ue(m)?mn(e,a)(m):a(m)}function a(m){return m===41?d(m):yo(e,i,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function i(m){return Ue(m)?mn(e,c)(m):d(m)}function l(m){return n(m)}function c(m){return m===34||m===39||m===40?Co(e,f,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):d(m)}function f(m){return Ue(m)?mn(e,d)(m):d(m)}function d(m){return m===41?(e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),e.exit("resource"),t):n(m)}}function $f(e,t,n){const r=this;return u;function u(l){return Ao.call(r,e,a,i,"reference","referenceMarker","referenceString")(l)}function a(l){return r.parser.defined.includes(Qt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function i(l){return n(l)}}function Vf(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),u}function u(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const qf={name:"labelStartImage",tokenize:Wf,resolveAll:ea.resolveAll};function Wf(e,t,n){const r=this;return u;function u(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),a}function a(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),i):n(l)}function i(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const Qf={name:"labelStartLink",tokenize:Gf,resolveAll:ea.resolveAll};function Gf(e,t,n){const r=this;return u;function u(i){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(i),e.exit("labelMarker"),e.exit("labelLink"),a}function a(i){return i===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(i):t(i)}}const oi={name:"lineEnding",tokenize:Xf};function Xf(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Re(e,t,"linePrefix")}}const mu={name:"thematicBreak",tokenize:Kf};function Kf(e,t,n){let r=0,u;return a;function a(f){return e.enter("thematicBreak"),i(f)}function i(f){return u=f,l(f)}function l(f){return f===u?(e.enter("thematicBreakSequence"),c(f)):r>=3&&(f===null||me(f))?(e.exit("thematicBreak"),t(f)):n(f)}function c(f){return f===u?(e.consume(f),r++,c):(e.exit("thematicBreakSequence"),Le(f)?Re(e,l,"whitespace")(f):l(f))}}const Nt={name:"list",tokenize:e0,continuation:{tokenize:t0},exit:r0},Jf={tokenize:u0,partial:!0},Zf={tokenize:n0,partial:!0};function e0(e,t,n){const r=this,u=r.events[r.events.length-1];let a=u&&u[1].type==="linePrefix"?u[2].sliceSerialize(u[1],!0).length:0,i=0;return l;function l(E){const D=r.containerState.type||(E===42||E===43||E===45?"listUnordered":"listOrdered");if(D==="listUnordered"?!r.containerState.marker||E===r.containerState.marker:Fi(E)){if(r.containerState.type||(r.containerState.type=D,e.enter(D,{_container:!0})),D==="listUnordered")return e.enter("listItemPrefix"),E===42||E===45?e.check(mu,n,f)(E):f(E);if(!r.interrupt||E===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(E)}return n(E)}function c(E){return Fi(E)&&++i<10?(e.consume(E),c):(!r.interrupt||i<2)&&(r.containerState.marker?E===r.containerState.marker:E===41||E===46)?(e.exit("listItemValue"),f(E)):n(E)}function f(E){return e.enter("listItemMarker"),e.consume(E),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||E,e.check(nu,r.interrupt?n:d,e.attempt(Jf,T,m))}function d(E){return r.containerState.initialBlankLine=!0,a++,T(E)}function m(E){return Le(E)?(e.enter("listItemPrefixWhitespace"),e.consume(E),e.exit("listItemPrefixWhitespace"),T):n(E)}function T(E){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(E)}}function t0(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(nu,u,a);function u(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Re(e,t,"listItemIndent",r.containerState.size+1)(l)}function a(l){return r.containerState.furtherBlankLines||!Le(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Zf,t,i)(l))}function i(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,Re(e,e.attempt(Nt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function n0(e,t,n){const r=this;return Re(e,u,"listItemIndent",r.containerState.size+1);function u(a){const i=r.events[r.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(a):n(a)}}function r0(e){e.exit(this.containerState.type)}function u0(e,t,n){const r=this;return Re(e,u,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function u(a){const i=r.events[r.events.length-1];return!Le(a)&&i&&i[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const qa={name:"setextUnderline",tokenize:a0,resolveTo:i0};function i0(e,t){let n=e.length,r,u,a;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),!a&&e[n][1].type==="definition"&&(a=n);const i={type:"setextHeading",start:Object.assign({},e[u][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[u][1].type="setextHeadingText",a?(e.splice(u,0,["enter",i,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=i,e.push(["exit",i,t]),e}function a0(e,t,n){const r=this;let u;return a;function a(f){let d=r.events.length,m;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){m=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||m)?(e.enter("setextHeadingLine"),u=f,i(f)):n(f)}function i(f){return e.enter("setextHeadingLineSequence"),l(f)}function l(f){return f===u?(e.consume(f),l):(e.exit("setextHeadingLineSequence"),Le(f)?Re(e,c,"lineSuffix")(f):c(f))}function c(f){return f===null||me(f)?(e.exit("setextHeadingLine"),t(f)):n(f)}}const s0={tokenize:o0};function o0(e){const t=this,n=e.attempt(nu,r,e.attempt(this.parser.constructs.flowInitial,u,Re(e,e.attempt(this.parser.constructs.flow,u,e.attempt(hf,u)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function u(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const l0={resolveAll:xo()},c0=Do("string"),f0=Do("text");function Do(e){return{tokenize:t,resolveAll:xo(e==="text"?d0:void 0)};function t(n){const r=this,u=this.parser.constructs[e],a=n.attempt(u,i,l);return i;function i(d){return f(d)?a(d):l(d)}function l(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),c}function c(d){return f(d)?(n.exit("data"),a(d)):(n.consume(d),c)}function f(d){if(d===null)return!0;const m=u[d];let T=-1;if(m)for(;++T<m.length;){const E=m[T];if(!E.previous||E.previous.call(r,r.previous))return!0}return!1}}}function xo(e){return t;function t(n,r){let u=-1,a;for(;++u<=n.length;)a===void 0?n[u]&&n[u][1].type==="data"&&(a=u,u++):(!n[u]||n[u][1].type!=="data")&&(u!==a+2&&(n[a][1].end=n[u-1][1].end,n.splice(a+2,u-a-2),u=a+2),a=void 0);return e?e(n,r):n}}function d0(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 a=u.length,i=-1,l=0,c;for(;a--;){const f=u[a];if(typeof f=="string"){for(i=f.length;f.charCodeAt(i-1)===32;)l++,i--;if(i)break;i=-1}else if(f===-2)c=!0,l++;else if(f!==-1){a++;break}}if(l){const f={type:n===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+a,_bufferIndex:a?i:r.start._bufferIndex+i},end:Object.assign({},r.end)};r.end=Object.assign({},f.start),r.start.offset===r.end.offset?Object.assign(r,f):(e.splice(n,0,["enter",f,t],["exit",f,t]),n+=2)}n++}return e}function h0(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const u={},a=[];let i=[],l=[];const c={consume:M,enter:V,exit:ne,attempt:U(K),check:U(B),interrupt:U(B,{interrupt:!0})},f={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:E,sliceSerialize:T,now:D,defineSkip:F,write:m};let d=t.tokenize.call(f,c);return t.resolveAll&&a.push(t),f;function m(te){return i=Pt(i,te),L(),i[i.length-1]!==null?[]:(he(t,0),f.events=Ru(a,f.events,f),f.events)}function T(te,q){return m0(E(te),q)}function E(te){return p0(i,te)}function D(){const{line:te,column:q,offset:ae,_index:le,_bufferIndex:k}=r;return{line:te,column:q,offset:ae,_index:le,_bufferIndex:k}}function F(te){u[te.line]=te.column,P()}function L(){let te;for(;r._index<i.length;){const q=i[r._index];if(typeof q=="string")for(te=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===te&&r._bufferIndex<q.length;)w(q.charCodeAt(r._bufferIndex));else w(q)}}function w(te){d=d(te)}function M(te){me(te)?(r.line++,r.column=1,r.offset+=te===-3?2:1,P()):te!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++)),f.previous=te}function V(te,q){const ae=q||{};return ae.type=te,ae.start=D(),f.events.push(["enter",ae,f]),l.push(ae),ae}function ne(te){const q=l.pop();return q.end=D(),f.events.push(["exit",q,f]),q}function K(te,q){he(te,q.from)}function B(te,q){q.restore()}function U(te,q){return ae;function ae(le,k,De){let Y,je,We,S;return Array.isArray(le)?I(le):"tokenize"in le?I([le]):b(le);function b(se){return pe;function pe(ce){const fe=ce!==null&&se[ce],Ce=ce!==null&&se.null,wt=[...Array.isArray(fe)?fe:fe?[fe]:[],...Array.isArray(Ce)?Ce:Ce?[Ce]:[]];return I(wt)(ce)}}function I(se){return Y=se,je=0,se.length===0?De:A(se[je])}function A(se){return pe;function pe(ce){return S=be(),We=se,se.partial||(f.currentConstruct=se),se.name&&f.parser.constructs.disable.null.includes(se.name)?ue():se.tokenize.call(q?Object.assign(Object.create(f),q):f,c,ee,ue)(ce)}}function ee(se){return te(We,S),k}function ue(se){return S.restore(),++je<Y.length?A(Y[je]):De}}}function he(te,q){te.resolveAll&&!a.includes(te)&&a.push(te),te.resolve&&Bt(f.events,q,f.events.length-q,te.resolve(f.events.slice(q),f)),te.resolveTo&&(f.events=te.resolveTo(f.events,f))}function be(){const te=D(),q=f.previous,ae=f.currentConstruct,le=f.events.length,k=Array.from(l);return{restore:De,from:le};function De(){r=te,f.previous=q,f.currentConstruct=ae,f.events.length=le,l=k,P()}}function P(){r.line in u&&r.column<2&&(r.column=u[r.line],r.offset+=u[r.line]-1)}}function p0(e,t){const n=t.start._index,r=t.start._bufferIndex,u=t.end._index,a=t.end._bufferIndex;let i;if(n===u)i=[e[n].slice(r,a)];else{if(i=e.slice(n,u),r>-1){const l=i[0];typeof l=="string"?i[0]=l.slice(r):i.shift()}a>0&&i.push(e[u].slice(0,a))}return i}function m0(e,t){let n=-1;const r=[];let u;for(;++n<e.length;){const a=e[n];let i;if(typeof a=="string")i=a;else switch(a){case-5:{i="\r";break}case-4:{i=`
|
|
31
|
-
`;break}case-3:{
|
|
32
|
-
`;break}case-2:{i=t?" ":" ";break}case-1:{if(!t&&u)continue;i=" ";break}default:i=String.fromCharCode(a)}u=a===-2,r.push(i)}return r.join("")}const E0={42:Nt,43:Nt,45:Nt,48:Nt,49:Nt,50:Nt,51:Nt,52:Nt,53:Nt,54:Nt,55:Nt,56:Nt,57:Nt,62:go},g0={91:bf},b0={[-2]:si,[-1]:si,32:si},T0={35:Df,42:mu,45:[qa,mu],60:kf,61:qa,95:mu,96:$a,126:$a},_0={38:To,92:bo},y0={[-5]:oi,[-4]:oi,[-3]:oi,33:qf,38:To,42:vi,60:[Wc,wf],91:Qf,92:[Af,bo],93:ea,95:vi,96:sf},A0={null:[vi,l0]},C0={null:[42,95]},D0={null:[]},x0=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:C0,contentInitial:g0,disable:D0,document:E0,flow:T0,flowInitial:b0,insideSpan:A0,string:_0,text:y0},Symbol.toStringTag,{value:"Module"}));function S0(e){const n=mo([x0,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:u(Uc),document:u(zc),flow:u(s0),string:u(c0),text:u(f0)};return r;function u(a){return i;function i(l){return h0(r,a,l)}}}function N0(e){for(;!_o(e););return e}const Wa=/[\0\t\n\r]/g;function k0(){let e=1,t="",n=!0,r;return u;function u(a,i,l){const c=[];let f,d,m,T,E;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(i||void 0).decode(a)),m=0,t="",n&&(a.charCodeAt(0)===65279&&m++,n=void 0);m<a.length;){if(Wa.lastIndex=m,f=Wa.exec(a),T=f&&f.index!==void 0?f.index:a.length,E=a.charCodeAt(T),!f){t=a.slice(m);break}if(E===10&&m===T&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),m<T&&(c.push(a.slice(m,T)),e+=T-m),E){case 0:{c.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,c.push(-2);e++<d;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}m=T+1}return l&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const I0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function So(e){return e.replace(I0,R0)}function R0(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),a=u===120||u===88;return Eo(n.slice(a?2:1),a?16:10)}return Kr(n)||e}function Yr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Qa(e.position):"start"in e||"end"in e?Qa(e):"line"in e||"column"in e?wi(e):""}function wi(e){return Ga(e&&e.line)+":"+Ga(e&&e.column)}function Qa(e){return wi(e&&e.start)+"-"+wi(e&&e.end)}function Ga(e){return e&&typeof e=="number"?e:1}const No={}.hasOwnProperty;function O0(e,t,n){return typeof t!="string"&&(n=t,t=void 0),L0(n)(N0(S0(n).document().write(k0()(e,t,!0))))}function L0(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(ut),autolinkProtocol:be,autolinkEmail:be,atxHeading:a(mt),blockQuote:a(Ce),characterEscape:be,characterReference:be,codeFenced:a(wt),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:a(wt,i),codeText:a(Ht,i),codeTextData:be,data:be,codeFlowValue:be,definition:a(bt),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:a(en),hardBreakEscape:a(Ze),hardBreakTrailing:a(Ze),htmlFlow:a(rt,i),htmlFlowData:be,htmlText:a(rt,i),htmlTextData:be,image:a(Ut),label:i,link:a(ut),listItem:a(lt),listItemValue:T,listOrdered:a(Qe,m),listUnordered:a(Qe),paragraph:a(Tt),reference:A,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:a(mt),strong:a(jt),thematicBreak:a(_t)},exit:{atxHeading:c(),atxHeadingSequence:K,autolink:c(),autolinkEmail:fe,autolinkProtocol:ce,blockQuote:c(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:ue,characterReferenceMarkerNumeric:ue,characterReferenceValue:se,characterReference:pe,codeFenced:c(L),codeFencedFence:F,codeFencedFenceInfo:E,codeFencedFenceMeta:D,codeFlowValue:P,codeIndented:c(w),codeText:c(k),codeTextData:P,data:P,definition:c(),definitionDestinationString:ne,definitionLabelString:M,definitionTitleString:V,emphasis:c(),hardBreakEscape:c(q),hardBreakTrailing:c(q),htmlFlow:c(ae),htmlFlowData:P,htmlText:c(le),htmlTextData:P,image:c(Y),label:We,labelText:je,lineEnding:te,link:c(De),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:ee,resourceDestinationString:S,resourceTitleString:b,resource:I,setextHeading:c(he),setextHeadingLineSequence:U,setextHeadingText:B,strong:c(),thematicBreak:c()}};ko(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(j){let W={type:"root",children:[]};const _e={stack:[W],tokenStack:[],config:t,enter:l,exit:f,buffer:i,resume:d,data:n},Ne=[];let Be=-1;for(;++Be<j.length;)if(j[Be][1].type==="listOrdered"||j[Be][1].type==="listUnordered")if(j[Be][0]==="enter")Ne.push(Be);else{const Ve=Ne.pop();Be=u(j,Ve,Be)}for(Be=-1;++Be<j.length;){const Ve=t[j[Be][0]];No.call(Ve,j[Be][1].type)&&Ve[j[Be][1].type].call(Object.assign({sliceSerialize:j[Be][2].sliceSerialize},_e),j[Be][1])}if(_e.tokenStack.length>0){const Ve=_e.tokenStack[_e.tokenStack.length-1];(Ve[1]||Xa).call(_e,void 0,Ve[0])}for(W.position={start:_n(j.length>0?j[0][1].start:{line:1,column:1,offset:0}),end:_n(j.length>0?j[j.length-2][1].end:{line:1,column:1,offset:0})},Be=-1;++Be<t.transforms.length;)W=t.transforms[Be](W)||W;return W}function u(j,W,_e){let Ne=W-1,Be=-1,Ve=!1,yt,ct,It,Xe;for(;++Ne<=_e;){const Ke=j[Ne];switch(Ke[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ke[0]==="enter"?Be++:Be--,Xe=void 0;break}case"lineEndingBlank":{Ke[0]==="enter"&&(yt&&!Xe&&!Be&&!It&&(It=Ne),Xe=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Xe=void 0}if(!Be&&Ke[0]==="enter"&&Ke[1].type==="listItemPrefix"||Be===-1&&Ke[0]==="exit"&&(Ke[1].type==="listUnordered"||Ke[1].type==="listOrdered")){if(yt){let xt=Ne;for(ct=void 0;xt--;){const ft=j[xt];if(ft[1].type==="lineEnding"||ft[1].type==="lineEndingBlank"){if(ft[0]==="exit")continue;ct&&(j[ct][1].type="lineEndingBlank",Ve=!0),ft[1].type="lineEnding",ct=xt}else if(!(ft[1].type==="linePrefix"||ft[1].type==="blockQuotePrefix"||ft[1].type==="blockQuotePrefixWhitespace"||ft[1].type==="blockQuoteMarker"||ft[1].type==="listItemIndent"))break}It&&(!ct||It<ct)&&(yt._spread=!0),yt.end=Object.assign({},ct?j[ct][1].start:Ke[1].end),j.splice(ct||Ne,0,["exit",yt,Ke[2]]),Ne++,_e++}if(Ke[1].type==="listItemPrefix"){const xt={type:"listItem",_spread:!1,start:Object.assign({},Ke[1].start),end:void 0};yt=xt,j.splice(Ne,0,["enter",xt,Ke[2]]),Ne++,_e++,It=void 0,Xe=!0}}}return j[W][1]._spread=Ve,_e}function a(j,W){return _e;function _e(Ne){l.call(this,j(Ne),Ne),W&&W.call(this,Ne)}}function i(){this.stack.push({type:"fragment",children:[]})}function l(j,W,_e){this.stack[this.stack.length-1].children.push(j),this.stack.push(j),this.tokenStack.push([W,_e]),j.position={start:_n(W.start),end:void 0}}function c(j){return W;function W(_e){j&&j.call(this,_e),f.call(this,_e)}}function f(j,W){const _e=this.stack.pop(),Ne=this.tokenStack.pop();if(Ne)Ne[0].type!==j.type&&(W?W.call(this,j,Ne[0]):(Ne[1]||Xa).call(this,j,Ne[0]));else throw new Error("Cannot close `"+j.type+"` ("+Yr({start:j.start,end:j.end})+"): it’s not open");_e.position.end=_n(j.end)}function d(){return Xr(this.stack.pop())}function m(){this.data.expectingFirstListItemValue=!0}function T(j){if(this.data.expectingFirstListItemValue){const W=this.stack[this.stack.length-2];W.start=Number.parseInt(this.sliceSerialize(j),10),this.data.expectingFirstListItemValue=void 0}}function E(){const j=this.resume(),W=this.stack[this.stack.length-1];W.lang=j}function D(){const j=this.resume(),W=this.stack[this.stack.length-1];W.meta=j}function F(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function L(){const j=this.resume(),W=this.stack[this.stack.length-1];W.value=j.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){const j=this.resume(),W=this.stack[this.stack.length-1];W.value=j.replace(/(\r?\n|\r)$/g,"")}function M(j){const W=this.resume(),_e=this.stack[this.stack.length-1];_e.label=W,_e.identifier=Qt(this.sliceSerialize(j)).toLowerCase()}function V(){const j=this.resume(),W=this.stack[this.stack.length-1];W.title=j}function ne(){const j=this.resume(),W=this.stack[this.stack.length-1];W.url=j}function K(j){const W=this.stack[this.stack.length-1];if(!W.depth){const _e=this.sliceSerialize(j).length;W.depth=_e}}function B(){this.data.setextHeadingSlurpLineEnding=!0}function U(j){const W=this.stack[this.stack.length-1];W.depth=this.sliceSerialize(j).codePointAt(0)===61?1:2}function he(){this.data.setextHeadingSlurpLineEnding=void 0}function be(j){const _e=this.stack[this.stack.length-1].children;let Ne=_e[_e.length-1];(!Ne||Ne.type!=="text")&&(Ne=zt(),Ne.position={start:_n(j.start),end:void 0},_e.push(Ne)),this.stack.push(Ne)}function P(j){const W=this.stack.pop();W.value+=this.sliceSerialize(j),W.position.end=_n(j.end)}function te(j){const W=this.stack[this.stack.length-1];if(this.data.atHardBreak){const _e=W.children[W.children.length-1];_e.position.end=_n(j.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(W.type)&&(be.call(this,j),P.call(this,j))}function q(){this.data.atHardBreak=!0}function ae(){const j=this.resume(),W=this.stack[this.stack.length-1];W.value=j}function le(){const j=this.resume(),W=this.stack[this.stack.length-1];W.value=j}function k(){const j=this.resume(),W=this.stack[this.stack.length-1];W.value=j}function De(){const j=this.stack[this.stack.length-1];if(this.data.inReference){const W=this.data.referenceType||"shortcut";j.type+="Reference",j.referenceType=W,delete j.url,delete j.title}else delete j.identifier,delete j.label;this.data.referenceType=void 0}function Y(){const j=this.stack[this.stack.length-1];if(this.data.inReference){const W=this.data.referenceType||"shortcut";j.type+="Reference",j.referenceType=W,delete j.url,delete j.title}else delete j.identifier,delete j.label;this.data.referenceType=void 0}function je(j){const W=this.sliceSerialize(j),_e=this.stack[this.stack.length-2];_e.label=So(W),_e.identifier=Qt(W).toLowerCase()}function We(){const j=this.stack[this.stack.length-1],W=this.resume(),_e=this.stack[this.stack.length-1];if(this.data.inReference=!0,_e.type==="link"){const Ne=j.children;_e.children=Ne}else _e.alt=W}function S(){const j=this.resume(),W=this.stack[this.stack.length-1];W.url=j}function b(){const j=this.resume(),W=this.stack[this.stack.length-1];W.title=j}function I(){this.data.inReference=void 0}function A(){this.data.referenceType="collapsed"}function ee(j){const W=this.resume(),_e=this.stack[this.stack.length-1];_e.label=W,_e.identifier=Qt(this.sliceSerialize(j)).toLowerCase(),this.data.referenceType="full"}function ue(j){this.data.characterReferenceType=j.type}function se(j){const W=this.sliceSerialize(j),_e=this.data.characterReferenceType;let Ne;_e?(Ne=Eo(W,_e==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ne=Kr(W);const Be=this.stack[this.stack.length-1];Be.value+=Ne}function pe(j){const W=this.stack.pop();W.position.end=_n(j.end)}function ce(j){P.call(this,j);const W=this.stack[this.stack.length-1];W.url=this.sliceSerialize(j)}function fe(j){P.call(this,j);const W=this.stack[this.stack.length-1];W.url="mailto:"+this.sliceSerialize(j)}function Ce(){return{type:"blockquote",children:[]}}function wt(){return{type:"code",lang:null,meta:null,value:""}}function Ht(){return{type:"inlineCode",value:""}}function bt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function en(){return{type:"emphasis",children:[]}}function mt(){return{type:"heading",depth:0,children:[]}}function Ze(){return{type:"break"}}function rt(){return{type:"html",value:""}}function Ut(){return{type:"image",title:null,url:"",alt:null}}function ut(){return{type:"link",title:null,url:"",children:[]}}function Qe(j){return{type:"list",ordered:j.type==="listOrdered",start:null,spread:j._spread,children:[]}}function lt(j){return{type:"listItem",spread:j._spread,checked:null,children:[]}}function Tt(){return{type:"paragraph",children:[]}}function jt(){return{type:"strong",children:[]}}function zt(){return{type:"text",value:""}}function _t(){return{type:"thematicBreak"}}}function _n(e){return{line:e.line,column:e.column,offset:e.offset}}function ko(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?ko(e,r):F0(e,r)}}function F0(e,t){let n;for(n in t)if(No.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 Xa(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Yr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Yr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Yr({start:t.start,end:t.end})+") is still open")}function Io(e){const t=this;t.parser=n;function n(r){return O0(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const Ka={}.hasOwnProperty;function ta(e,t){const n=t||{};function r(u,...a){let i=r.invalid;const l=r.handlers;if(u&&Ka.call(u,e)){const c=String(u[e]);i=Ka.call(l,c)?l[c]:r.unknown}if(i)return i.call(this,u,...a)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const v0={}.hasOwnProperty;function Ro(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)Ro(e,t.extensions[n]);for(r in t)if(v0.call(t,r))switch(r){case"extensions":break;case"unsafe":{Ja(e[r],t[r]);break}case"join":{Ja(e[r],t[r]);break}case"handlers":{w0(e[r],t[r]);break}default:e.options[r]=t[r]}return e}function Ja(e,t){t&&e.push(...t)}function w0(e,t){t&&Object.assign(e,t)}function P0(e,t,n,r){const u=n.enter("blockquote"),a=n.createTracker(r);a.move("> "),a.shift(2);const i=n.indentLines(n.containerFlow(e,a.current()),B0);return u(),i}function B0(e,t,n){return">"+(n?"":" ")+e}function Oo(e,t){return Za(e,t.inConstruct,!0)&&!Za(e,t.notInConstruct,!1)}function Za(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 es(e,t,n,r){let u=-1;for(;++u<n.unsafe.length;)if(n.unsafe[u].character===`
|
|
33
|
-
`&&
|
|
34
|
-
`}function
|
|
35
|
-
`,encode:["`"],...l.current()})),
|
|
36
|
-
`),
|
|
37
|
-
`)),d+=l.move(c),f(),d}function
|
|
38
|
-
`,...c.current()}))),l(),e.title&&(l=n.enter(`title${
|
|
30
|
+
<%s key={someKey} {...props} />`,qt,nt,On,nt),Vt[nt+qt]=!0}}return m===r?$t(Ne):Dt(Ne),Ne}}function Nn(m,N,R){return sn(m,N,R,!0)}function In(m,N,R){return sn(m,N,R,!1)}var Rn=In,on=Nn;Pr.Fragment=r,Pr.jsx=Rn,Pr.jsxs=on}()),Pr}var Ha;function Dc(){return Ha||(Ha=1,process.env.NODE_ENV==="production"?lu.exports=yc():lu.exports=Cc()),lu.exports}var Ye=Dc();const xc=ra(Ye),Sc=Ac({__proto__:null,default:xc},[Ye]),kc={};function Kr(e,t){const n=kc,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,u=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return fo(e,r,u)}function fo(e,t,n){if(Nc(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 Ua(e.children,t,n)}return Array.isArray(e)?Ua(e,t,n):""}function Ua(e,t,n){const r=[];let u=-1;for(;++u<e.length;)r[u]=fo(e[u],t,n);return r.join("")}function Nc(e){return!!(e&&typeof e=="object")}const ja=document.createElement("i");function Jr(e){const t="&"+e+";";ja.innerHTML=t;const n=ja.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Mt(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 Bt(e,t){return e.length>0?(Mt(e,e.length,0,t),e):t}const za={}.hasOwnProperty;function ho(e){const t={};let n=-1;for(;++n<e.length;)Ic(t,e[n]);return t}function Ic(e,t){let n;for(n in t){const u=(za.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){za.call(u,a)||(u[a]=[]);const l=i[a];Rc(u[a],Array.isArray(l)?l:l?[l]:[])}}}function Rc(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Mt(e,0,0,r)}function po(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 Gt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const pt=xn(/[A-Za-z]/),ot=xn(/[\dA-Za-z]/),Oc=xn(/[#-'*+\--9=?A-Z^-~]/);function Cu(e){return e!==null&&(e<32||e===127)}const Mi=xn(/\d/),Lc=xn(/[\dA-Fa-f]/),Fc=xn(/[!-/:-@[-`{-~]/);function Ee(e){return e!==null&&e<-2}function Ue(e){return e!==null&&(e<0||e===32)}function Le(e){return e===-2||e===-1||e===32}const Ru=xn(new RegExp("\\p{P}|\\p{S}","u")),Vn=xn(/\s/);function xn(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function ir(e){const t=[];let n=-1,r=0,u=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&ot(e.charCodeAt(n+1))&&ot(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 l=e.charCodeAt(n+1);i<56320&&l>56319&&l<57344?(a=String.fromCharCode(i,l),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 Re(e,t,n,r){const u=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(c){return Le(c)?(e.enter(n),l(c)):t(c)}function l(c){return Le(c)&&i++<u?(e.consume(c),l):(e.exit(n),t(c))}}const vc={tokenize:wc};function wc(e){const t=e.attempt(this.parser.constructs.contentInitial,r,u);let n;return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),Re(e,t,"linePrefix")}function u(l){return e.enter("paragraph"),i(l)}function i(l){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,a(l)}function a(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return Ee(l)?(e.consume(l),e.exit("chunkText"),i):(e.consume(l),a)}}const Pc={tokenize:Bc},Ya={tokenize:Mc};function Bc(e){const t=this,n=[];let r=0,u,i,a;return l;function l(V){if(r<n.length){const ue=n[r];return t.containerState=ue[1],e.attempt(ue[0].continuation,c,f)(V)}return f(V)}function c(V){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,u&&M();const ue=t.events.length;let J=ue,B;for(;J--;)if(t.events[J][0]==="exit"&&t.events[J][1].type==="chunkFlow"){B=t.events[J][1].end;break}F(r);let U=ue;for(;U<t.events.length;)t.events[U][1].end=Object.assign({},B),U++;return Mt(t.events,J+1,0,t.events.slice(ue)),t.events.length=U,f(V)}return l(V)}function f(V){if(r===n.length){if(!u)return g(V);if(u.currentConstruct&&u.currentConstruct.concrete)return D(V);t.interrupt=!!(u.currentConstruct&&!u._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Ya,d,h)(V)}function d(V){return u&&M(),F(r),g(V)}function h(V){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,D(V)}function g(V){return t.containerState={},e.attempt(Ya,E,D)(V)}function E(V){return r++,n.push([t.currentConstruct,t.containerState]),g(V)}function D(V){if(V===null){u&&M(),F(0),e.consume(V);return}return u=u||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:u}),w(V)}function w(V){if(V===null){O(e.exit("chunkFlow"),!0),F(0),e.consume(V);return}return Ee(V)?(e.consume(V),O(e.exit("chunkFlow")),r=0,t.interrupt=void 0,l):(e.consume(V),w)}function O(V,ue){const J=t.sliceStream(V);if(ue&&J.push(null),V.previous=i,i&&(i.next=V),i=V,u.defineSkip(V.start),u.write(J),t.parser.lazy[V.start.line]){let B=u.events.length;for(;B--;)if(u.events[B][1].start.offset<a&&(!u.events[B][1].end||u.events[B][1].end.offset>a))return;const U=t.events.length;let de=U,pe,v;for(;de--;)if(t.events[de][0]==="exit"&&t.events[de][1].type==="chunkFlow"){if(pe){v=t.events[de][1].end;break}pe=!0}for(F(r),B=U;B<t.events.length;)t.events[B][1].end=Object.assign({},v),B++;Mt(t.events,de+1,0,t.events.slice(U)),t.events.length=B}}function F(V){let ue=n.length;for(;ue-- >V;){const J=n[ue];t.containerState=J[1],J[0].exit.call(t,e)}n.length=V}function M(){u.write([null]),i=void 0,u=void 0,t.containerState._closeFlow=void 0}}function Mc(e,t,n){return Re(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Du(e){if(e===null||Ue(e)||Vn(e))return 1;if(Ru(e))return 2}function Ou(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 Hi={name:"attention",tokenize:Uc,resolveAll:Hc};function Hc(e,t){let n=-1,r,u,i,a,l,c,f,d;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;c=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 h=Object.assign({},e[r][1].end),g=Object.assign({},e[n][1].start);$a(h,-c),$a(g,c),a={type:c>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[r][1].end)},l={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:g},i={type:c>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},u={type:c>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},l.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},l.end),f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=Bt(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=Bt(f,[["enter",u,t],["enter",a,t],["exit",a,t],["enter",i,t]]),f=Bt(f,Ou(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),f=Bt(f,[["exit",i,t],["enter",l,t],["exit",l,t],["exit",u,t]]),e[n][1].end.offset-e[n][1].start.offset?(d=2,f=Bt(f,[["enter",e[n][1],t],["exit",e[n][1],t]])):d=0,Mt(e,r-1,n-r+3,f),n=r+f.length-d-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Uc(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,u=Du(r);let i;return a;function a(c){return i=c,e.enter("attentionSequence"),l(c)}function l(c){if(c===i)return e.consume(c),l;const f=e.exit("attentionSequence"),d=Du(c),h=!d||d===2&&u||n.includes(c),g=!u||u===2&&d||n.includes(r);return f._open=!!(i===42?h:h&&(u||!g)),f._close=!!(i===42?g:g&&(d||!h)),t(c)}}function $a(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const jc={name:"autolink",tokenize:zc};function zc(e,t,n){let r=0;return u;function u(E){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(E),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(E){return pt(E)?(e.consume(E),a):E===64?n(E):f(E)}function a(E){return E===43||E===45||E===46||ot(E)?(r=1,l(E)):f(E)}function l(E){return E===58?(e.consume(E),r=0,c):(E===43||E===45||E===46||ot(E))&&r++<32?(e.consume(E),l):(r=0,f(E))}function c(E){return E===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(E),e.exit("autolinkMarker"),e.exit("autolink"),t):E===null||E===32||E===60||Cu(E)?n(E):(e.consume(E),c)}function f(E){return E===64?(e.consume(E),d):Oc(E)?(e.consume(E),f):n(E)}function d(E){return ot(E)?h(E):n(E)}function h(E){return E===46?(e.consume(E),r=0,d):E===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(E),e.exit("autolinkMarker"),e.exit("autolink"),t):g(E)}function g(E){if((E===45||ot(E))&&r++<63){const D=E===45?g:h;return e.consume(E),D}return n(E)}}const ru={tokenize:Yc,partial:!0};function Yc(e,t,n){return r;function r(i){return Le(i)?Re(e,u,"linePrefix")(i):u(i)}function u(i){return i===null||Ee(i)?t(i):n(i)}}const mo={name:"blockQuote",tokenize:$c,continuation:{tokenize:Vc},exit:qc};function $c(e,t,n){const r=this;return u;function u(a){if(a===62){const l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),i}return n(a)}function i(a){return Le(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function Vc(e,t,n){const r=this;return u;function u(a){return Le(a)?Re(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(mo,t,n)(a)}}function qc(e){e.exit("blockQuote")}const Eo={name:"characterEscape",tokenize:Wc};function Wc(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 Fc(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const bo={name:"characterReference",tokenize:Qc};function Qc(e,t,n){const r=this;let u=0,i,a;return l;function l(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),c}function c(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),i=31,a=ot,d(h))}function f(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=Lc,d):(e.enter("characterReferenceValue"),i=7,a=Mi,d(h))}function d(h){if(h===59&&u){const g=e.exit("characterReferenceValue");return a===ot&&!Jr(r.sliceSerialize(g))?n(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(h)&&u++<i?(e.consume(h),d):n(h)}}const Va={tokenize:Xc,partial:!0},qa={name:"codeFenced",tokenize:Gc,concrete:!0};function Gc(e,t,n){const r=this,u={tokenize:J,partial:!0};let i=0,a=0,l;return c;function c(B){return f(B)}function f(B){const U=r.events[r.events.length-1];return i=U&&U[1].type==="linePrefix"?U[2].sliceSerialize(U[1],!0).length:0,l=B,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(B)}function d(B){return B===l?(a++,e.consume(B),d):a<3?n(B):(e.exit("codeFencedFenceSequence"),Le(B)?Re(e,h,"whitespace")(B):h(B))}function h(B){return B===null||Ee(B)?(e.exit("codeFencedFence"),r.interrupt?t(B):e.check(Va,w,ue)(B)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(B))}function g(B){return B===null||Ee(B)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(B)):Le(B)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Re(e,E,"whitespace")(B)):B===96&&B===l?n(B):(e.consume(B),g)}function E(B){return B===null||Ee(B)?h(B):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),D(B))}function D(B){return B===null||Ee(B)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(B)):B===96&&B===l?n(B):(e.consume(B),D)}function w(B){return e.attempt(u,ue,O)(B)}function O(B){return e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),F}function F(B){return i>0&&Le(B)?Re(e,M,"linePrefix",i+1)(B):M(B)}function M(B){return B===null||Ee(B)?e.check(Va,w,ue)(B):(e.enter("codeFlowValue"),V(B))}function V(B){return B===null||Ee(B)?(e.exit("codeFlowValue"),M(B)):(e.consume(B),V)}function ue(B){return e.exit("codeFenced"),t(B)}function J(B,U,de){let pe=0;return v;function v(k){return B.enter("lineEnding"),B.consume(k),B.exit("lineEnding"),ne}function ne(k){return B.enter("codeFencedFence"),Le(k)?Re(B,q,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):q(k)}function q(k){return k===l?(B.enter("codeFencedFenceSequence"),Q(k)):de(k)}function Q(k){return k===l?(pe++,B.consume(k),Q):pe>=a?(B.exit("codeFencedFenceSequence"),Le(k)?Re(B,W,"whitespace")(k):W(k)):de(k)}function W(k){return k===null||Ee(k)?(B.exit("codeFencedFence"),U(k)):de(k)}}}function Xc(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 oi={name:"codeIndented",tokenize:Jc},Kc={tokenize:Zc,partial:!0};function Jc(e,t,n){const r=this;return u;function u(f){return e.enter("codeIndented"),Re(e,i,"linePrefix",5)(f)}function i(f){const d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(f):n(f)}function a(f){return f===null?c(f):Ee(f)?e.attempt(Kc,a,c)(f):(e.enter("codeFlowValue"),l(f))}function l(f){return f===null||Ee(f)?(e.exit("codeFlowValue"),a(f)):(e.consume(f),l)}function c(f){return e.exit("codeIndented"),t(f)}}function Zc(e,t,n){const r=this;return u;function u(a){return r.parser.lazy[r.now().line]?n(a):Ee(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):Re(e,i,"linePrefix",5)(a)}function i(a){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(a):Ee(a)?u(a):n(a)}}const ef={name:"codeText",tokenize:rf,resolve:tf,previous:nf};function tf(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 nf(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function rf(e,t,n){let r=0,u,i;return a;function a(h){return e.enter("codeText"),e.enter("codeTextSequence"),l(h)}function l(h){return h===96?(e.consume(h),r++,l):(e.exit("codeTextSequence"),c(h))}function c(h){return h===null?n(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),c):h===96?(i=e.enter("codeTextSequence"),u=0,d(h)):Ee(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("codeTextData"),f(h))}function f(h){return h===null||h===32||h===96||Ee(h)?(e.exit("codeTextData"),c(h)):(e.consume(h),f)}function d(h){return h===96?(e.consume(h),u++,d):u===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(i.type="codeTextData",f(h))}}class uf{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&&Br(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),Br(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Br(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);Br(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Br(this.left,n.reverse())}}}function Br(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 go(e){const t={};let n=-1,r,u,i,a,l,c,f;const d=new uf(e);for(;++n<d.length;){for(;n in t;)n=t[n];if(r=d.get(n),n&&r[1].type==="chunkFlow"&&d.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,i=0,i<c.length&&c[i][1].type==="lineEndingBlank"&&(i+=2),i<c.length&&c[i][1].type==="content"))for(;++i<c.length&&c[i][1].type!=="content";)c[i][1].type==="chunkText"&&(c[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,af(d,n)),n=t[n],f=!0);else if(r[1]._container){for(i=n,u=void 0;i--&&(a=d.get(i),a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(u&&(d.get(u)[1].type="lineEndingBlank"),a[1].type="lineEnding",u=i);u&&(r[1].end=Object.assign({},d.get(u)[1].start),l=d.slice(u,n),l.unshift(r),d.splice(u,n-u+1,l))}}return Mt(e,0,Number.POSITIVE_INFINITY,d.slice(0)),!f}function af(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),l=a.events,c=[],f={};let d,h,g=-1,E=n,D=0,w=0;const O=[w];for(;E;){for(;e.get(++u)[1]!==E;);i.push(u),E._tokenizer||(d=r.sliceStream(E),E.next||d.push(null),h&&a.defineSkip(E.start),E._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(d),E._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),h=E,E=E.next}for(E=n;++g<l.length;)l[g][0]==="exit"&&l[g-1][0]==="enter"&&l[g][1].type===l[g-1][1].type&&l[g][1].start.line!==l[g][1].end.line&&(w=g+1,O.push(w),E._tokenizer=void 0,E.previous=void 0,E=E.next);for(a.events=[],E?(E._tokenizer=void 0,E.previous=void 0):O.pop(),g=O.length;g--;){const F=l.slice(O[g],O[g+1]),M=i.pop();c.push([M,M+F.length-1]),e.splice(M,2,F)}for(c.reverse(),g=-1;++g<c.length;)f[D+c[g][0]]=D+c[g][1],D+=c[g][1]-c[g][0]-1;return f}const sf={tokenize:cf,resolve:lf},of={tokenize:ff,partial:!0};function lf(e){return go(e),e}function cf(e,t){let n;return r;function r(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),u(l)}function u(l){return l===null?i(l):Ee(l)?e.check(of,a,i)(l):(e.consume(l),u)}function i(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function a(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,u}}function ff(e,t,n){const r=this;return u;function u(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),Re(e,i,"linePrefix")}function i(a){if(a===null||Ee(a))return n(a);const l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function To(e,t,n,r,u,i,a,l,c){const f=c||Number.POSITIVE_INFINITY;let d=0;return h;function h(F){return F===60?(e.enter(r),e.enter(u),e.enter(i),e.consume(F),e.exit(i),g):F===null||F===32||F===41||Cu(F)?n(F):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),w(F))}function g(F){return F===62?(e.enter(i),e.consume(F),e.exit(i),e.exit(u),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),E(F))}function E(F){return F===62?(e.exit("chunkString"),e.exit(l),g(F)):F===null||F===60||Ee(F)?n(F):(e.consume(F),F===92?D:E)}function D(F){return F===60||F===62||F===92?(e.consume(F),E):E(F)}function w(F){return!d&&(F===null||F===41||Ue(F))?(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(F)):d<f&&F===40?(e.consume(F),d++,w):F===41?(e.consume(F),d--,w):F===null||F===32||F===40||Cu(F)?n(F):(e.consume(F),F===92?O:w)}function O(F){return F===40||F===41||F===92?(e.consume(F),w):w(F)}}function _o(e,t,n,r,u,i){const a=this;let l=0,c;return f;function f(E){return e.enter(r),e.enter(u),e.consume(E),e.exit(u),e.enter(i),d}function d(E){return l>999||E===null||E===91||E===93&&!c||E===94&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(E):E===93?(e.exit(i),e.enter(u),e.consume(E),e.exit(u),e.exit(r),t):Ee(E)?(e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),h(E))}function h(E){return E===null||E===91||E===93||Ee(E)||l++>999?(e.exit("chunkString"),d(E)):(e.consume(E),c||(c=!Le(E)),E===92?g:h)}function g(E){return E===91||E===92||E===93?(e.consume(E),l++,h):h(E)}}function Ao(e,t,n,r,u,i){let a;return l;function l(g){return g===34||g===39||g===40?(e.enter(r),e.enter(u),e.consume(g),e.exit(u),a=g===40?41:g,c):n(g)}function c(g){return g===a?(e.enter(u),e.consume(g),e.exit(u),e.exit(r),t):(e.enter(i),f(g))}function f(g){return g===a?(e.exit(i),c(a)):g===null?n(g):Ee(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),Re(e,f,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(g))}function d(g){return g===a||g===null||Ee(g)?(e.exit("chunkString"),f(g)):(e.consume(g),g===92?h:d)}function h(g){return g===a||g===92?(e.consume(g),d):d(g)}}function En(e,t){let n;return r;function r(u){return Ee(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n=!0,r):Le(u)?Re(e,r,n?"linePrefix":"lineSuffix")(u):t(u)}}const df={name:"definition",tokenize:pf},hf={tokenize:mf,partial:!0};function pf(e,t,n){const r=this;let u;return i;function i(E){return e.enter("definition"),a(E)}function a(E){return _o.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(E)}function l(E){return u=Gt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),c):n(E)}function c(E){return Ue(E)?En(e,f)(E):f(E)}function f(E){return To(e,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(E)}function d(E){return e.attempt(hf,h,h)(E)}function h(E){return Le(E)?Re(e,g,"whitespace")(E):g(E)}function g(E){return E===null||Ee(E)?(e.exit("definition"),r.parser.defined.push(u),t(E)):n(E)}}function mf(e,t,n){return r;function r(l){return Ue(l)?En(e,u)(l):n(l)}function u(l){return Ao(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function i(l){return Le(l)?Re(e,a,"whitespace")(l):a(l)}function a(l){return l===null||Ee(l)?t(l):n(l)}}const Ef={name:"hardBreakEscape",tokenize:bf};function bf(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),u}function u(i){return Ee(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const gf={name:"headingAtx",tokenize:_f,resolve:Tf};function Tf(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"},Mt(e,r,n-r+1,[["enter",u,t],["enter",i,t],["exit",i,t],["exit",u,t]])),e}function _f(e,t,n){let r=0;return u;function u(d){return e.enter("atxHeading"),i(d)}function i(d){return e.enter("atxHeadingSequence"),a(d)}function a(d){return d===35&&r++<6?(e.consume(d),a):d===null||Ue(d)?(e.exit("atxHeadingSequence"),l(d)):n(d)}function l(d){return d===35?(e.enter("atxHeadingSequence"),c(d)):d===null||Ee(d)?(e.exit("atxHeading"),t(d)):Le(d)?Re(e,l,"whitespace")(d):(e.enter("atxHeadingText"),f(d))}function c(d){return d===35?(e.consume(d),c):(e.exit("atxHeadingSequence"),l(d))}function f(d){return d===null||d===35||Ue(d)?(e.exit("atxHeadingText"),l(d)):(e.consume(d),f)}}const Af=["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"],Wa=["pre","script","style","textarea"],yf={name:"htmlFlow",tokenize:Sf,resolveTo:xf,concrete:!0},Cf={tokenize:Nf,partial:!0},Df={tokenize:kf,partial:!0};function xf(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 Sf(e,t,n){const r=this;let u,i,a,l,c;return f;function f(y){return d(y)}function d(y){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(y),h}function h(y){return y===33?(e.consume(y),g):y===47?(e.consume(y),i=!0,w):y===63?(e.consume(y),u=3,r.interrupt?t:S):pt(y)?(e.consume(y),a=String.fromCharCode(y),O):n(y)}function g(y){return y===45?(e.consume(y),u=2,E):y===91?(e.consume(y),u=5,l=0,D):pt(y)?(e.consume(y),u=4,r.interrupt?t:S):n(y)}function E(y){return y===45?(e.consume(y),r.interrupt?t:S):n(y)}function D(y){const re="CDATA[";return y===re.charCodeAt(l++)?(e.consume(y),l===re.length?r.interrupt?t:q:D):n(y)}function w(y){return pt(y)?(e.consume(y),a=String.fromCharCode(y),O):n(y)}function O(y){if(y===null||y===47||y===62||Ue(y)){const re=y===47,ae=a.toLowerCase();return!re&&!i&&Wa.includes(ae)?(u=1,r.interrupt?t(y):q(y)):Af.includes(a.toLowerCase())?(u=6,re?(e.consume(y),F):r.interrupt?t(y):q(y)):(u=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(y):i?M(y):V(y))}return y===45||ot(y)?(e.consume(y),a+=String.fromCharCode(y),O):n(y)}function F(y){return y===62?(e.consume(y),r.interrupt?t:q):n(y)}function M(y){return Le(y)?(e.consume(y),M):v(y)}function V(y){return y===47?(e.consume(y),v):y===58||y===95||pt(y)?(e.consume(y),ue):Le(y)?(e.consume(y),V):v(y)}function ue(y){return y===45||y===46||y===58||y===95||ot(y)?(e.consume(y),ue):J(y)}function J(y){return y===61?(e.consume(y),B):Le(y)?(e.consume(y),J):V(y)}function B(y){return y===null||y===60||y===61||y===62||y===96?n(y):y===34||y===39?(e.consume(y),c=y,U):Le(y)?(e.consume(y),B):de(y)}function U(y){return y===c?(e.consume(y),c=null,pe):y===null||Ee(y)?n(y):(e.consume(y),U)}function de(y){return y===null||y===34||y===39||y===47||y===60||y===61||y===62||y===96||Ue(y)?J(y):(e.consume(y),de)}function pe(y){return y===47||y===62||Le(y)?V(y):n(y)}function v(y){return y===62?(e.consume(y),ne):n(y)}function ne(y){return y===null||Ee(y)?q(y):Le(y)?(e.consume(y),ne):n(y)}function q(y){return y===45&&u===2?(e.consume(y),Ae):y===60&&u===1?(e.consume(y),Y):y===62&&u===4?(e.consume(y),T):y===63&&u===3?(e.consume(y),S):y===93&&u===5?(e.consume(y),We):Ee(y)&&(u===6||u===7)?(e.exit("htmlFlowData"),e.check(Cf,I,Q)(y)):y===null||Ee(y)?(e.exit("htmlFlowData"),Q(y)):(e.consume(y),q)}function Q(y){return e.check(Df,W,I)(y)}function W(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),k}function k(y){return y===null||Ee(y)?Q(y):(e.enter("htmlFlowData"),q(y))}function Ae(y){return y===45?(e.consume(y),S):q(y)}function Y(y){return y===47?(e.consume(y),a="",je):q(y)}function je(y){if(y===62){const re=a.toLowerCase();return Wa.includes(re)?(e.consume(y),T):q(y)}return pt(y)&&a.length<8?(e.consume(y),a+=String.fromCharCode(y),je):q(y)}function We(y){return y===93?(e.consume(y),S):q(y)}function S(y){return y===62?(e.consume(y),T):y===45&&u===2?(e.consume(y),S):q(y)}function T(y){return y===null||Ee(y)?(e.exit("htmlFlowData"),I(y)):(e.consume(y),T)}function I(y){return e.exit("htmlFlow"),t(y)}}function kf(e,t,n){const r=this;return u;function u(a){return Ee(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 Nf(e,t,n){return r;function r(u){return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),e.attempt(ru,t,n)}}const If={name:"htmlText",tokenize:Rf};function Rf(e,t,n){const r=this;let u,i,a;return l;function l(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),c}function c(S){return S===33?(e.consume(S),f):S===47?(e.consume(S),J):S===63?(e.consume(S),V):pt(S)?(e.consume(S),de):n(S)}function f(S){return S===45?(e.consume(S),d):S===91?(e.consume(S),i=0,D):pt(S)?(e.consume(S),M):n(S)}function d(S){return S===45?(e.consume(S),E):n(S)}function h(S){return S===null?n(S):S===45?(e.consume(S),g):Ee(S)?(a=h,Y(S)):(e.consume(S),h)}function g(S){return S===45?(e.consume(S),E):h(S)}function E(S){return S===62?Ae(S):S===45?g(S):h(S)}function D(S){const T="CDATA[";return S===T.charCodeAt(i++)?(e.consume(S),i===T.length?w:D):n(S)}function w(S){return S===null?n(S):S===93?(e.consume(S),O):Ee(S)?(a=w,Y(S)):(e.consume(S),w)}function O(S){return S===93?(e.consume(S),F):w(S)}function F(S){return S===62?Ae(S):S===93?(e.consume(S),F):w(S)}function M(S){return S===null||S===62?Ae(S):Ee(S)?(a=M,Y(S)):(e.consume(S),M)}function V(S){return S===null?n(S):S===63?(e.consume(S),ue):Ee(S)?(a=V,Y(S)):(e.consume(S),V)}function ue(S){return S===62?Ae(S):V(S)}function J(S){return pt(S)?(e.consume(S),B):n(S)}function B(S){return S===45||ot(S)?(e.consume(S),B):U(S)}function U(S){return Ee(S)?(a=U,Y(S)):Le(S)?(e.consume(S),U):Ae(S)}function de(S){return S===45||ot(S)?(e.consume(S),de):S===47||S===62||Ue(S)?pe(S):n(S)}function pe(S){return S===47?(e.consume(S),Ae):S===58||S===95||pt(S)?(e.consume(S),v):Ee(S)?(a=pe,Y(S)):Le(S)?(e.consume(S),pe):Ae(S)}function v(S){return S===45||S===46||S===58||S===95||ot(S)?(e.consume(S),v):ne(S)}function ne(S){return S===61?(e.consume(S),q):Ee(S)?(a=ne,Y(S)):Le(S)?(e.consume(S),ne):pe(S)}function q(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),u=S,Q):Ee(S)?(a=q,Y(S)):Le(S)?(e.consume(S),q):(e.consume(S),W)}function Q(S){return S===u?(e.consume(S),u=void 0,k):S===null?n(S):Ee(S)?(a=Q,Y(S)):(e.consume(S),Q)}function W(S){return S===null||S===34||S===39||S===60||S===61||S===96?n(S):S===47||S===62||Ue(S)?pe(S):(e.consume(S),W)}function k(S){return S===47||S===62||Ue(S)?pe(S):n(S)}function Ae(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):n(S)}function Y(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),je}function je(S){return Le(S)?Re(e,We,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):We(S)}function We(S){return e.enter("htmlTextData"),a(S)}}const ua={name:"labelEnd",tokenize:Pf,resolveTo:wf,resolveAll:vf},Of={tokenize:Bf},Lf={tokenize:Mf},Ff={tokenize:Hf};function vf(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 wf(e,t){let n=e.length,r=0,u,i,a,l;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 c={type:e[i][1].type==="labelLink"?"link":"image",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)},f={type:"label",start:Object.assign({},e[i][1].start),end:Object.assign({},e[a][1].end)},d={type:"labelText",start:Object.assign({},e[i+r+2][1].end),end:Object.assign({},e[a-2][1].start)};return l=[["enter",c,t],["enter",f,t]],l=Bt(l,e.slice(i+1,i+r+3)),l=Bt(l,[["enter",d,t]]),l=Bt(l,Ou(t.parser.constructs.insideSpan.null,e.slice(i+r+4,a-3),t)),l=Bt(l,[["exit",d,t],e[a-2],e[a-1],["exit",f,t]]),l=Bt(l,e.slice(a+1)),l=Bt(l,[["exit",c,t]]),Mt(e,i,e.length,l),e}function Pf(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 l;function l(g){return i?i._inactive?h(g):(a=r.parser.defined.includes(Gt(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),c):n(g)}function c(g){return g===40?e.attempt(Of,d,a?d:h)(g):g===91?e.attempt(Lf,d,a?f:h)(g):a?d(g):h(g)}function f(g){return e.attempt(Ff,d,h)(g)}function d(g){return t(g)}function h(g){return i._balanced=!0,n(g)}}function Bf(e,t,n){return r;function r(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),u}function u(h){return Ue(h)?En(e,i)(h):i(h)}function i(h){return h===41?d(h):To(e,a,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function a(h){return Ue(h)?En(e,c)(h):d(h)}function l(h){return n(h)}function c(h){return h===34||h===39||h===40?Ao(e,f,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):d(h)}function f(h){return Ue(h)?En(e,d)(h):d(h)}function d(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):n(h)}}function Mf(e,t,n){const r=this;return u;function u(l){return _o.call(r,e,i,a,"reference","referenceMarker","referenceString")(l)}function i(l){return r.parser.defined.includes(Gt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function a(l){return n(l)}}function Hf(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 Uf={name:"labelStartImage",tokenize:jf,resolveAll:ua.resolveAll};function jf(e,t,n){const r=this;return u;function u(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),i}function i(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),a):n(l)}function a(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const zf={name:"labelStartLink",tokenize:Yf,resolveAll:ua.resolveAll};function Yf(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 li={name:"lineEnding",tokenize:$f};function $f(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Re(e,t,"linePrefix")}}const bu={name:"thematicBreak",tokenize:Vf};function Vf(e,t,n){let r=0,u;return i;function i(f){return e.enter("thematicBreak"),a(f)}function a(f){return u=f,l(f)}function l(f){return f===u?(e.enter("thematicBreakSequence"),c(f)):r>=3&&(f===null||Ee(f))?(e.exit("thematicBreak"),t(f)):n(f)}function c(f){return f===u?(e.consume(f),r++,c):(e.exit("thematicBreakSequence"),Le(f)?Re(e,l,"whitespace")(f):l(f))}}const kt={name:"list",tokenize:Qf,continuation:{tokenize:Gf},exit:Kf},qf={tokenize:Jf,partial:!0},Wf={tokenize:Xf,partial:!0};function Qf(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 l;function l(E){const D=r.containerState.type||(E===42||E===43||E===45?"listUnordered":"listOrdered");if(D==="listUnordered"?!r.containerState.marker||E===r.containerState.marker:Mi(E)){if(r.containerState.type||(r.containerState.type=D,e.enter(D,{_container:!0})),D==="listUnordered")return e.enter("listItemPrefix"),E===42||E===45?e.check(bu,n,f)(E):f(E);if(!r.interrupt||E===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(E)}return n(E)}function c(E){return Mi(E)&&++a<10?(e.consume(E),c):(!r.interrupt||a<2)&&(r.containerState.marker?E===r.containerState.marker:E===41||E===46)?(e.exit("listItemValue"),f(E)):n(E)}function f(E){return e.enter("listItemMarker"),e.consume(E),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||E,e.check(ru,r.interrupt?n:d,e.attempt(qf,g,h))}function d(E){return r.containerState.initialBlankLine=!0,i++,g(E)}function h(E){return Le(E)?(e.enter("listItemPrefixWhitespace"),e.consume(E),e.exit("listItemPrefixWhitespace"),g):n(E)}function g(E){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(E)}}function Gf(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ru,u,i);function u(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Re(e,t,"listItemIndent",r.containerState.size+1)(l)}function i(l){return r.containerState.furtherBlankLines||!Le(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Wf,t,a)(l))}function a(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,Re(e,e.attempt(kt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function Xf(e,t,n){const r=this;return Re(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 Kf(e){e.exit(this.containerState.type)}function Jf(e,t,n){const r=this;return Re(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!Le(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const Qa={name:"setextUnderline",tokenize:e0,resolveTo:Zf};function Zf(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 e0(e,t,n){const r=this;let u;return i;function i(f){let d=r.events.length,h;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){h=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),u=f,a(f)):n(f)}function a(f){return e.enter("setextHeadingLineSequence"),l(f)}function l(f){return f===u?(e.consume(f),l):(e.exit("setextHeadingLineSequence"),Le(f)?Re(e,c,"lineSuffix")(f):c(f))}function c(f){return f===null||Ee(f)?(e.exit("setextHeadingLine"),t(f)):n(f)}}const t0={tokenize:n0};function n0(e){const t=this,n=e.attempt(ru,r,e.attempt(this.parser.constructs.flowInitial,u,Re(e,e.attempt(this.parser.constructs.flow,u,e.attempt(sf,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 r0={resolveAll:Co()},u0=yo("string"),i0=yo("text");function yo(e){return{tokenize:t,resolveAll:Co(e==="text"?a0:void 0)};function t(n){const r=this,u=this.parser.constructs[e],i=n.attempt(u,a,l);return a;function a(d){return f(d)?i(d):l(d)}function l(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),c}function c(d){return f(d)?(n.exit("data"),i(d)):(n.consume(d),c)}function f(d){if(d===null)return!0;const h=u[d];let g=-1;if(h)for(;++g<h.length;){const E=h[g];if(!E.previous||E.previous.call(r,r.previous))return!0}return!1}}}function Co(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 a0(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,l=0,c;for(;i--;){const f=u[i];if(typeof f=="string"){for(a=f.length;f.charCodeAt(a-1)===32;)l++,a--;if(a)break;a=-1}else if(f===-2)c=!0,l++;else if(f!==-1){i++;break}}if(l){const f={type:n===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+i,_bufferIndex:i?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},f.start),r.start.offset===r.end.offset?Object.assign(r,f):(e.splice(n,0,["enter",f,t],["exit",f,t]),n+=2)}n++}return e}function s0(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=[],l=[];const c={consume:M,enter:V,exit:ue,attempt:U(J),check:U(B),interrupt:U(B,{interrupt:!0})},f={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:E,sliceSerialize:g,now:D,defineSkip:w,write:h};let d=t.tokenize.call(f,c);return t.resolveAll&&i.push(t),f;function h(ne){return a=Bt(a,ne),O(),a[a.length-1]!==null?[]:(de(t,0),f.events=Ou(i,f.events,f),f.events)}function g(ne,q){return l0(E(ne),q)}function E(ne){return o0(a,ne)}function D(){const{line:ne,column:q,offset:Q,_index:W,_bufferIndex:k}=r;return{line:ne,column:q,offset:Q,_index:W,_bufferIndex:k}}function w(ne){u[ne.line]=ne.column,v()}function O(){let ne;for(;r._index<a.length;){const q=a[r._index];if(typeof q=="string")for(ne=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===ne&&r._bufferIndex<q.length;)F(q.charCodeAt(r._bufferIndex));else F(q)}}function F(ne){d=d(ne)}function M(ne){Ee(ne)?(r.line++,r.column=1,r.offset+=ne===-3?2:1,v()):ne!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),f.previous=ne}function V(ne,q){const Q=q||{};return Q.type=ne,Q.start=D(),f.events.push(["enter",Q,f]),l.push(Q),Q}function ue(ne){const q=l.pop();return q.end=D(),f.events.push(["exit",q,f]),q}function J(ne,q){de(ne,q.from)}function B(ne,q){q.restore()}function U(ne,q){return Q;function Q(W,k,Ae){let Y,je,We,S;return Array.isArray(W)?I(W):"tokenize"in W?I([W]):T(W);function T(oe){return me;function me(ce){const fe=ce!==null&&oe[ce],De=ce!==null&&oe.null,Pt=[...Array.isArray(fe)?fe:fe?[fe]:[],...Array.isArray(De)?De:De?[De]:[]];return I(Pt)(ce)}}function I(oe){return Y=oe,je=0,oe.length===0?Ae:y(oe[je])}function y(oe){return me;function me(ce){return S=pe(),We=oe,oe.partial||(f.currentConstruct=oe),oe.name&&f.parser.constructs.disable.null.includes(oe.name)?ae():oe.tokenize.call(q?Object.assign(Object.create(f),q):f,c,re,ae)(ce)}}function re(oe){return ne(We,S),k}function ae(oe){return S.restore(),++je<Y.length?y(Y[je]):Ae}}}function de(ne,q){ne.resolveAll&&!i.includes(ne)&&i.push(ne),ne.resolve&&Mt(f.events,q,f.events.length-q,ne.resolve(f.events.slice(q),f)),ne.resolveTo&&(f.events=ne.resolveTo(f.events,f))}function pe(){const ne=D(),q=f.previous,Q=f.currentConstruct,W=f.events.length,k=Array.from(l);return{restore:Ae,from:W};function Ae(){r=ne,f.previous=q,f.currentConstruct=Q,f.events.length=W,l=k,v()}}function v(){r.line in u&&r.column<2&&(r.column=u[r.line],r.offset+=u[r.line]-1)}}function o0(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 l=a[0];typeof l=="string"?a[0]=l.slice(r):a.shift()}i>0&&a.push(e[u].slice(0,i))}return a}function l0(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 c0={42:kt,43:kt,45:kt,48:kt,49:kt,50:kt,51:kt,52:kt,53:kt,54:kt,55:kt,56:kt,57:kt,62:mo},f0={91:df},d0={[-2]:oi,[-1]:oi,32:oi},h0={35:gf,42:bu,45:[Qa,bu],60:yf,61:Qa,95:bu,96:qa,126:qa},p0={38:bo,92:Eo},m0={[-5]:li,[-4]:li,[-3]:li,33:Uf,38:bo,42:Hi,60:[jc,If],91:zf,92:[Ef,Eo],93:ua,95:Hi,96:ef},E0={null:[Hi,r0]},b0={null:[42,95]},g0={null:[]},T0=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:b0,contentInitial:f0,disable:g0,document:c0,flow:h0,flowInitial:d0,insideSpan:E0,string:p0,text:m0},Symbol.toStringTag,{value:"Module"}));function _0(e){const n=ho([T0,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:u(vc),document:u(Pc),flow:u(t0),string:u(u0),text:u(i0)};return r;function u(i){return a;function a(l){return s0(r,i,l)}}}function A0(e){for(;!go(e););return e}const Ga=/[\0\t\n\r]/g;function y0(){let e=1,t="",n=!0,r;return u;function u(i,a,l){const c=[];let f,d,h,g,E;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(a||void 0).decode(i)),h=0,t="",n&&(i.charCodeAt(0)===65279&&h++,n=void 0);h<i.length;){if(Ga.lastIndex=h,f=Ga.exec(i),g=f&&f.index!==void 0?f.index:i.length,E=i.charCodeAt(g),!f){t=i.slice(h);break}if(E===10&&h===g&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),h<g&&(c.push(i.slice(h,g)),e+=g-h),E){case 0:{c.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,c.push(-2);e++<d;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}h=g+1}return l&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const C0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Do(e){return e.replace(C0,D0)}function D0(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const u=n.charCodeAt(1),i=u===120||u===88;return po(n.slice(i?2:1),i?16:10)}return Jr(n)||e}function $r(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Xa(e.position):"start"in e||"end"in e?Xa(e):"line"in e||"column"in e?Ui(e):""}function Ui(e){return Ka(e&&e.line)+":"+Ka(e&&e.column)}function Xa(e){return Ui(e&&e.start)+"-"+Ui(e&&e.end)}function Ka(e){return e&&typeof e=="number"?e:1}const xo={}.hasOwnProperty;function x0(e,t,n){return typeof t!="string"&&(n=t,t=void 0),S0(n)(A0(_0(n).document().write(y0()(e,t,!0))))}function S0(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(it),autolinkProtocol:pe,autolinkEmail:pe,atxHeading:i(mt),blockQuote:i(De),characterEscape:pe,characterReference:pe,codeFenced:i(Pt),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:i(Pt,a),codeText:i(Ut,a),codeTextData:pe,data:pe,codeFlowValue:pe,definition:i(gt),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:i(tn),hardBreakEscape:i(Ze),hardBreakTrailing:i(Ze),htmlFlow:i(ut,a),htmlFlowData:pe,htmlText:i(ut,a),htmlTextData:pe,image:i(jt),label:a,link:i(it),listItem:i(lt),listItemValue:g,listOrdered:i(Qe,h),listUnordered:i(Qe),paragraph:i(Tt),reference:y,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:i(mt),strong:i(zt),thematicBreak:i(_t)},exit:{atxHeading:c(),atxHeadingSequence:J,autolink:c(),autolinkEmail:fe,autolinkProtocol:ce,blockQuote:c(),characterEscapeValue:v,characterReferenceMarkerHexadecimal:ae,characterReferenceMarkerNumeric:ae,characterReferenceValue:oe,characterReference:me,codeFenced:c(O),codeFencedFence:w,codeFencedFenceInfo:E,codeFencedFenceMeta:D,codeFlowValue:v,codeIndented:c(F),codeText:c(k),codeTextData:v,data:v,definition:c(),definitionDestinationString:ue,definitionLabelString:M,definitionTitleString:V,emphasis:c(),hardBreakEscape:c(q),hardBreakTrailing:c(q),htmlFlow:c(Q),htmlFlowData:v,htmlText:c(W),htmlTextData:v,image:c(Y),label:We,labelText:je,lineEnding:ne,link:c(Ae),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:re,resourceDestinationString:S,resourceTitleString:T,resource:I,setextHeading:c(de),setextHeadingLineSequence:U,setextHeadingText:B,strong:c(),thematicBreak:c()}};So(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(j){let G={type:"root",children:[]};const _e={stack:[G],tokenStack:[],config:t,enter:l,exit:f,buffer:a,resume:d,data:n},ke=[];let Be=-1;for(;++Be<j.length;)if(j[Be][1].type==="listOrdered"||j[Be][1].type==="listUnordered")if(j[Be][0]==="enter")ke.push(Be);else{const Ve=ke.pop();Be=u(j,Ve,Be)}for(Be=-1;++Be<j.length;){const Ve=t[j[Be][0]];xo.call(Ve,j[Be][1].type)&&Ve[j[Be][1].type].call(Object.assign({sliceSerialize:j[Be][2].sliceSerialize},_e),j[Be][1])}if(_e.tokenStack.length>0){const Ve=_e.tokenStack[_e.tokenStack.length-1];(Ve[1]||Ja).call(_e,void 0,Ve[0])}for(G.position={start:An(j.length>0?j[0][1].start:{line:1,column:1,offset:0}),end:An(j.length>0?j[j.length-2][1].end:{line:1,column:1,offset:0})},Be=-1;++Be<t.transforms.length;)G=t.transforms[Be](G)||G;return G}function u(j,G,_e){let ke=G-1,Be=-1,Ve=!1,At,ct,It,Xe;for(;++ke<=_e;){const Ke=j[ke];switch(Ke[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ke[0]==="enter"?Be++:Be--,Xe=void 0;break}case"lineEndingBlank":{Ke[0]==="enter"&&(At&&!Xe&&!Be&&!It&&(It=ke),Xe=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Xe=void 0}if(!Be&&Ke[0]==="enter"&&Ke[1].type==="listItemPrefix"||Be===-1&&Ke[0]==="exit"&&(Ke[1].type==="listUnordered"||Ke[1].type==="listOrdered")){if(At){let xt=ke;for(ct=void 0;xt--;){const ft=j[xt];if(ft[1].type==="lineEnding"||ft[1].type==="lineEndingBlank"){if(ft[0]==="exit")continue;ct&&(j[ct][1].type="lineEndingBlank",Ve=!0),ft[1].type="lineEnding",ct=xt}else if(!(ft[1].type==="linePrefix"||ft[1].type==="blockQuotePrefix"||ft[1].type==="blockQuotePrefixWhitespace"||ft[1].type==="blockQuoteMarker"||ft[1].type==="listItemIndent"))break}It&&(!ct||It<ct)&&(At._spread=!0),At.end=Object.assign({},ct?j[ct][1].start:Ke[1].end),j.splice(ct||ke,0,["exit",At,Ke[2]]),ke++,_e++}if(Ke[1].type==="listItemPrefix"){const xt={type:"listItem",_spread:!1,start:Object.assign({},Ke[1].start),end:void 0};At=xt,j.splice(ke,0,["enter",xt,Ke[2]]),ke++,_e++,It=void 0,Xe=!0}}}return j[G][1]._spread=Ve,_e}function i(j,G){return _e;function _e(ke){l.call(this,j(ke),ke),G&&G.call(this,ke)}}function a(){this.stack.push({type:"fragment",children:[]})}function l(j,G,_e){this.stack[this.stack.length-1].children.push(j),this.stack.push(j),this.tokenStack.push([G,_e]),j.position={start:An(G.start),end:void 0}}function c(j){return G;function G(_e){j&&j.call(this,_e),f.call(this,_e)}}function f(j,G){const _e=this.stack.pop(),ke=this.tokenStack.pop();if(ke)ke[0].type!==j.type&&(G?G.call(this,j,ke[0]):(ke[1]||Ja).call(this,j,ke[0]));else throw new Error("Cannot close `"+j.type+"` ("+$r({start:j.start,end:j.end})+"): it’s not open");_e.position.end=An(j.end)}function d(){return Kr(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function g(j){if(this.data.expectingFirstListItemValue){const G=this.stack[this.stack.length-2];G.start=Number.parseInt(this.sliceSerialize(j),10),this.data.expectingFirstListItemValue=void 0}}function E(){const j=this.resume(),G=this.stack[this.stack.length-1];G.lang=j}function D(){const j=this.resume(),G=this.stack[this.stack.length-1];G.meta=j}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function O(){const j=this.resume(),G=this.stack[this.stack.length-1];G.value=j.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function F(){const j=this.resume(),G=this.stack[this.stack.length-1];G.value=j.replace(/(\r?\n|\r)$/g,"")}function M(j){const G=this.resume(),_e=this.stack[this.stack.length-1];_e.label=G,_e.identifier=Gt(this.sliceSerialize(j)).toLowerCase()}function V(){const j=this.resume(),G=this.stack[this.stack.length-1];G.title=j}function ue(){const j=this.resume(),G=this.stack[this.stack.length-1];G.url=j}function J(j){const G=this.stack[this.stack.length-1];if(!G.depth){const _e=this.sliceSerialize(j).length;G.depth=_e}}function B(){this.data.setextHeadingSlurpLineEnding=!0}function U(j){const G=this.stack[this.stack.length-1];G.depth=this.sliceSerialize(j).codePointAt(0)===61?1:2}function de(){this.data.setextHeadingSlurpLineEnding=void 0}function pe(j){const _e=this.stack[this.stack.length-1].children;let ke=_e[_e.length-1];(!ke||ke.type!=="text")&&(ke=Yt(),ke.position={start:An(j.start),end:void 0},_e.push(ke)),this.stack.push(ke)}function v(j){const G=this.stack.pop();G.value+=this.sliceSerialize(j),G.position.end=An(j.end)}function ne(j){const G=this.stack[this.stack.length-1];if(this.data.atHardBreak){const _e=G.children[G.children.length-1];_e.position.end=An(j.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(G.type)&&(pe.call(this,j),v.call(this,j))}function q(){this.data.atHardBreak=!0}function Q(){const j=this.resume(),G=this.stack[this.stack.length-1];G.value=j}function W(){const j=this.resume(),G=this.stack[this.stack.length-1];G.value=j}function k(){const j=this.resume(),G=this.stack[this.stack.length-1];G.value=j}function Ae(){const j=this.stack[this.stack.length-1];if(this.data.inReference){const G=this.data.referenceType||"shortcut";j.type+="Reference",j.referenceType=G,delete j.url,delete j.title}else delete j.identifier,delete j.label;this.data.referenceType=void 0}function Y(){const j=this.stack[this.stack.length-1];if(this.data.inReference){const G=this.data.referenceType||"shortcut";j.type+="Reference",j.referenceType=G,delete j.url,delete j.title}else delete j.identifier,delete j.label;this.data.referenceType=void 0}function je(j){const G=this.sliceSerialize(j),_e=this.stack[this.stack.length-2];_e.label=Do(G),_e.identifier=Gt(G).toLowerCase()}function We(){const j=this.stack[this.stack.length-1],G=this.resume(),_e=this.stack[this.stack.length-1];if(this.data.inReference=!0,_e.type==="link"){const ke=j.children;_e.children=ke}else _e.alt=G}function S(){const j=this.resume(),G=this.stack[this.stack.length-1];G.url=j}function T(){const j=this.resume(),G=this.stack[this.stack.length-1];G.title=j}function I(){this.data.inReference=void 0}function y(){this.data.referenceType="collapsed"}function re(j){const G=this.resume(),_e=this.stack[this.stack.length-1];_e.label=G,_e.identifier=Gt(this.sliceSerialize(j)).toLowerCase(),this.data.referenceType="full"}function ae(j){this.data.characterReferenceType=j.type}function oe(j){const G=this.sliceSerialize(j),_e=this.data.characterReferenceType;let ke;_e?(ke=po(G,_e==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ke=Jr(G);const Be=this.stack[this.stack.length-1];Be.value+=ke}function me(j){const G=this.stack.pop();G.position.end=An(j.end)}function ce(j){v.call(this,j);const G=this.stack[this.stack.length-1];G.url=this.sliceSerialize(j)}function fe(j){v.call(this,j);const G=this.stack[this.stack.length-1];G.url="mailto:"+this.sliceSerialize(j)}function De(){return{type:"blockquote",children:[]}}function Pt(){return{type:"code",lang:null,meta:null,value:""}}function Ut(){return{type:"inlineCode",value:""}}function gt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function tn(){return{type:"emphasis",children:[]}}function mt(){return{type:"heading",depth:0,children:[]}}function Ze(){return{type:"break"}}function ut(){return{type:"html",value:""}}function jt(){return{type:"image",title:null,url:"",alt:null}}function it(){return{type:"link",title:null,url:"",children:[]}}function Qe(j){return{type:"list",ordered:j.type==="listOrdered",start:null,spread:j._spread,children:[]}}function lt(j){return{type:"listItem",spread:j._spread,checked:null,children:[]}}function Tt(){return{type:"paragraph",children:[]}}function zt(){return{type:"strong",children:[]}}function Yt(){return{type:"text",value:""}}function _t(){return{type:"thematicBreak"}}}function An(e){return{line:e.line,column:e.column,offset:e.offset}}function So(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?So(e,r):k0(e,r)}}function k0(e,t){let n;for(n in t)if(xo.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 Ja(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+$r({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+$r({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+$r({start:t.start,end:t.end})+") is still open")}function ko(e){const t=this;t.parser=n;function n(r){return x0(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const Za={}.hasOwnProperty;function ia(e,t){const n=t||{};function r(u,...i){let a=r.invalid;const l=r.handlers;if(u&&Za.call(u,e)){const c=String(u[e]);a=Za.call(l,c)?l[c]:r.unknown}if(a)return a.call(this,u,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const N0={}.hasOwnProperty;function No(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)No(e,t.extensions[n]);for(r in t)if(N0.call(t,r))switch(r){case"extensions":break;case"unsafe":{es(e[r],t[r]);break}case"join":{es(e[r],t[r]);break}case"handlers":{I0(e[r],t[r]);break}default:e.options[r]=t[r]}return e}function es(e,t){t&&e.push(...t)}function I0(e,t){t&&Object.assign(e,t)}function R0(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()),O0);return u(),a}function O0(e,t,n){return">"+(n?"":" ")+e}function Io(e,t){return ts(e,t.inConstruct,!0)&&!ts(e,t.notInConstruct,!1)}function ts(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 ns(e,t,n,r){let u=-1;for(;++u<n.unsafe.length;)if(n.unsafe[u].character===`
|
|
33
|
+
`&&Io(n.stack,n.unsafe[u]))return/[ \t]/.test(r.before)?"":" ";return`\\
|
|
34
|
+
`}function L0(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 ji(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 F0(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 v0(e,t,n,r){const u=F0(n),i=e.value||"",a=u==="`"?"GraveAccent":"Tilde";if(ji(e,n)){const h=n.enter("codeIndented"),g=n.indentLines(i,w0);return h(),g}const l=n.createTracker(r),c=u.repeat(Math.max(L0(i,u)+1,3)),f=n.enter("codeFenced");let d=l.move(c);if(e.lang){const h=n.enter(`codeFencedLang${a}`);d+=l.move(n.safe(e.lang,{before:d,after:" ",encode:["`"],...l.current()})),h()}if(e.lang&&e.meta){const h=n.enter(`codeFencedMeta${a}`);d+=l.move(" "),d+=l.move(n.safe(e.meta,{before:d,after:`
|
|
35
|
+
`,encode:["`"],...l.current()})),h()}return d+=l.move(`
|
|
36
|
+
`),i&&(d+=l.move(i+`
|
|
37
|
+
`)),d+=l.move(c),f(),d}function w0(e,t,n){return(n?"":" ")+e}function aa(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 P0(e,t,n,r){const u=aa(n),i=u==='"'?"Quote":"Apostrophe",a=n.enter("definition");let l=n.enter("label");const c=n.createTracker(r);let f=c.move("[");return f+=c.move(n.safe(n.associationId(e),{before:f,after:"]",...c.current()})),f+=c.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),f+=c.move("<"),f+=c.move(n.safe(e.url,{before:f,after:">",...c.current()})),f+=c.move(">")):(l=n.enter("destinationRaw"),f+=c.move(n.safe(e.url,{before:f,after:e.title?" ":`
|
|
38
|
+
`,...c.current()}))),l(),e.title&&(l=n.enter(`title${i}`),f+=c.move(" "+u),f+=c.move(n.safe(e.title,{before:f,after:u,...c.current()})),f+=c.move(u),l()),a(),f}function B0(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}Ro.peek=M0;function Ro(e,t,n,r){const u=B0(n),i=n.enter("emphasis"),a=n.createTracker(r);let l=a.move(u);return l+=a.move(n.containerPhrasing(e,{before:l,after:u,...a.current()})),l+=a.move(u),i(),l}function M0(e,t,n){return n.options.emphasis||"*"}const Lu=function(e){if(e==null)return z0;if(typeof e=="function")return Fu(e);if(typeof e=="object")return Array.isArray(e)?H0(e):U0(e);if(typeof e=="string")return j0(e);throw new Error("Expected function, string, or object as test")};function H0(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Lu(e[n]);return Fu(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function U0(e){const t=e;return Fu(n);function n(r){const u=r;let i;for(i in e)if(u[i]!==t[i])return!1;return!0}}function j0(e){return Fu(t);function t(n){return n&&n.type===e}}function Fu(e){return t;function t(n,r,u){return!!(Y0(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function z0(){return!0}function Y0(e){return e!==null&&typeof e=="object"&&"type"in e}const Oo=[],$0=!0,zi=!1,V0="skip";function sa(e,t,n,r){let u;typeof t=="function"&&typeof n!="function"?(r=n,n=t):u=t;const i=Lu(u),a=r?-1:1;l(e,void 0,[])();function l(c,f,d){const h=c&&typeof c=="object"?c:{};if(typeof h.type=="string"){const E=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(g,"name",{value:"node ("+(c.type+(E?"<"+E+">":""))+")"})}return g;function g(){let E=Oo,D,w,O;if((!t||i(c,f,d[d.length-1]||void 0))&&(E=q0(n(c,d)),E[0]===zi))return E;if("children"in c&&c.children){const F=c;if(F.children&&E[0]!==V0)for(w=(r?F.children.length:-1)+a,O=d.concat(F);w>-1&&w<F.children.length;){const M=F.children[w];if(D=l(M,w,O)(),D[0]===zi)return D;w=typeof D[1]=="number"?D[1]:w+a}}return E}}}function q0(e){return Array.isArray(e)?e:typeof e=="number"?[$0,e]:e==null?Oo:[e]}function Nt(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),sa(e,i,l,u);function l(c,f){const d=f[f.length-1],h=d?d.children.indexOf(c):void 0;return a(c,h,d)}}function Lo(e,t){let n=!1;return Nt(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,zi}),!!((!e.depth||e.depth<3)&&Kr(e)&&(t.options.setext||n))}function W0(e,t,n,r){const u=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(Lo(e,n)){const d=n.enter("headingSetext"),h=n.enter("phrasing"),g=n.containerPhrasing(e,{...i.current(),before:`
|
|
39
39
|
`,after:`
|
|
40
|
-
`});return
|
|
41
|
-
`+(u===1?"=":"-").repeat(
|
|
42
|
-
`))+1))}const
|
|
43
|
-
`,...
|
|
44
|
-
`,inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:
|
|
45
|
-
]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:
|
|
46
|
-
*])`},{character:"*",inConstruct:"phrasing",notInConstruct:
|
|
40
|
+
`});return h(),d(),g+`
|
|
41
|
+
`+(u===1?"=":"-").repeat(g.length-(Math.max(g.lastIndexOf("\r"),g.lastIndexOf(`
|
|
42
|
+
`))+1))}const a="#".repeat(u),l=n.enter("headingAtx"),c=n.enter("phrasing");i.move(a+" ");let f=n.containerPhrasing(e,{before:"# ",after:`
|
|
43
|
+
`,...i.current()});return/^[\t ]/.test(f)&&(f="&#x"+f.charCodeAt(0).toString(16).toUpperCase()+";"+f.slice(1)),f=f?a+" "+f:a,n.options.closeAtx&&(f+=" "+a),c(),l(),f}Fo.peek=Q0;function Fo(e){return e.value||""}function Q0(){return"<"}vo.peek=G0;function vo(e,t,n,r){const u=aa(n),i=u==='"'?"Quote":"Apostrophe",a=n.enter("image");let l=n.enter("label");const c=n.createTracker(r);let f=c.move("![");return f+=c.move(n.safe(e.alt,{before:f,after:"]",...c.current()})),f+=c.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),f+=c.move("<"),f+=c.move(n.safe(e.url,{before:f,after:">",...c.current()})),f+=c.move(">")):(l=n.enter("destinationRaw"),f+=c.move(n.safe(e.url,{before:f,after:e.title?" ":")",...c.current()}))),l(),e.title&&(l=n.enter(`title${i}`),f+=c.move(" "+u),f+=c.move(n.safe(e.title,{before:f,after:u,...c.current()})),f+=c.move(u),l()),f+=c.move(")"),a(),f}function G0(){return"!"}wo.peek=X0;function wo(e,t,n,r){const u=e.referenceType,i=n.enter("imageReference");let a=n.enter("label");const l=n.createTracker(r);let c=l.move("![");const f=n.safe(e.alt,{before:c,after:"]",...l.current()});c+=l.move(f+"]["),a();const d=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...l.current()});return a(),n.stack=d,i(),u==="full"||!f||f!==h?c+=l.move(h+"]"):u==="shortcut"?c=c.slice(0,-1):c+=l.move("]"),c}function X0(){return"!"}Po.peek=K0;function Po(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],l=n.compilePattern(a);let c;if(a.atBreak)for(;c=l.exec(r);){let f=c.index;r.charCodeAt(f)===10&&r.charCodeAt(f-1)===13&&f--,r=r.slice(0,f)+" "+r.slice(c.index+1)}}return u+r+u}function K0(){return"`"}function Bo(e,t){const n=Kr(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))}Mo.peek=J0;function Mo(e,t,n,r){const u=aa(n),i=u==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let l,c;if(Bo(e,n)){const d=n.stack;n.stack=[],l=n.enter("autolink");let h=a.move("<");return h+=a.move(n.containerPhrasing(e,{before:h,after:">",...a.current()})),h+=a.move(">"),l(),n.stack=d,h}l=n.enter("link"),c=n.enter("label");let f=a.move("[");return f+=a.move(n.containerPhrasing(e,{before:f,after:"](",...a.current()})),f+=a.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),f+=a.move("<"),f+=a.move(n.safe(e.url,{before:f,after:">",...a.current()})),f+=a.move(">")):(c=n.enter("destinationRaw"),f+=a.move(n.safe(e.url,{before:f,after:e.title?" ":")",...a.current()}))),c(),e.title&&(c=n.enter(`title${i}`),f+=a.move(" "+u),f+=a.move(n.safe(e.title,{before:f,after:u,...a.current()})),f+=a.move(u),c()),f+=a.move(")"),l(),f}function J0(e,t,n){return Bo(e,n)?"<":"["}Ho.peek=Z0;function Ho(e,t,n,r){const u=e.referenceType,i=n.enter("linkReference");let a=n.enter("label");const l=n.createTracker(r);let c=l.move("[");const f=n.containerPhrasing(e,{before:c,after:"]",...l.current()});c+=l.move(f+"]["),a();const d=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...l.current()});return a(),n.stack=d,i(),u==="full"||!f||f!==h?c+=l.move(h+"]"):u==="shortcut"?c=c.slice(0,-1):c+=l.move("]"),c}function Z0(){return"["}function oa(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 ed(e){const t=oa(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 td(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 Uo(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 nd(e,t,n,r){const u=n.enter("list"),i=n.bulletCurrent;let a=e.ordered?td(n):oa(n);const l=e.ordered?a==="."?")":".":ed(n);let c=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const d=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&d&&(!d.children||!d.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&&(c=!0),Uo(n)===a&&d){let h=-1;for(;++h<e.children.length;){const g=e.children[h];if(g&&g.type==="listItem"&&g.children&&g.children[0]&&g.children[0].type==="thematicBreak"){c=!0;break}}}}c&&(a=l),n.bulletCurrent=a;const f=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=i,u(),f}function rd(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 ud(e,t,n,r){const u=rd(n);let i=n.bulletCurrent||oa(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 l=n.createTracker(r);l.move(i+" ".repeat(a-i.length)),l.shift(a);const c=n.enter("listItem"),f=n.indentLines(n.containerFlow(e,l.current()),d);return c(),f;function d(h,g,E){return g?(E?"":" ".repeat(a))+h:(E?i:i+" ".repeat(a-i.length))+h}}function id(e,t,n,r){const u=n.enter("paragraph"),i=n.enter("phrasing"),a=n.containerPhrasing(e,r);return i(),u(),a}const ad=Lu(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function sd(e,t,n,r){return(e.children.some(function(a){return ad(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function od(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}jo.peek=ld;function jo(e,t,n,r){const u=od(n),i=n.enter("strong"),a=n.createTracker(r);let l=a.move(u+u);return l+=a.move(n.containerPhrasing(e,{before:l,after:u,...a.current()})),l+=a.move(u+u),i(),l}function ld(e,t,n){return n.options.strong||"*"}function cd(e,t,n,r){return n.safe(e.value,r)}function fd(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 dd(e,t,n){const r=(Uo(n)+(n.options.ruleSpaces?" ":"")).repeat(fd(n));return n.options.ruleSpaces?r.slice(0,-1):r}const la={blockquote:R0,break:ns,code:v0,definition:P0,emphasis:Ro,hardBreak:ns,heading:W0,html:Fo,image:vo,imageReference:wo,inlineCode:Po,link:Mo,linkReference:Ho,list:nd,listItem:ud,paragraph:id,root:sd,strong:jo,text:cd,thematicBreak:dd},hd=[pd];function pd(e,t,n,r){if(t.type==="code"&&ji(t,r)&&(e.type==="list"||e.type===t.type&&ji(e,r)))return!1;if("spread"in n&&typeof n.spread=="boolean")return e.type==="paragraph"&&(e.type===t.type||t.type==="definition"||t.type==="heading"&&Lo(t,r))?void 0:n.spread?1:0}const jn=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],md=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:`
|
|
44
|
+
`,inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:jn},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:`(?:[\r
|
|
45
|
+
]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:jn},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:`(?:[ \r
|
|
46
|
+
*])`},{character:"*",inConstruct:"phrasing",notInConstruct:jn},{atBreak:!0,character:"+",after:`(?:[ \r
|
|
47
47
|
])`},{atBreak:!0,character:"-",after:`(?:[ \r
|
|
48
48
|
-])`},{atBreak:!0,before:"\\d+",character:".",after:`(?:[ \r
|
|
49
|
-
]|$)`},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:
|
|
50
|
-
`)&&f.type==="html"&&(
|
|
49
|
+
]|$)`},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:jn},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:jn},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:jn},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:jn},{atBreak:!0,character:"~"}];function Ed(e){return e.label||!e.identifier?e.label||"":Do(e.identifier)}function bd(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function gd(e,t,n){const r=t.indexStack,u=e.children||[],i=[];let a=-1,l=n.before;r.push(-1);let c=t.createTracker(n);for(;++a<u.length;){const f=u[a];let d;if(r[r.length-1]=a,a+1<u.length){let h=t.handle.handlers[u[a+1].type];h&&h.peek&&(h=h.peek),d=h?h(u[a+1],e,t,{before:"",after:"",...c.current()}).charAt(0):""}else d=n.after;i.length>0&&(l==="\r"||l===`
|
|
50
|
+
`)&&f.type==="html"&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),l=" ",c=t.createTracker(n),c.move(i.join(""))),i.push(c.move(t.handle(f,e,t,{...c.current(),before:l,after:d}))),l=i[i.length-1].slice(-1)}return r.pop(),i.join("")}function Td(e,t,n){const r=t.indexStack,u=e.children||[],i=t.createTracker(n),a=[];let l=-1;for(r.push(-1);++l<u.length;){const c=u[l];r[r.length-1]=l,a.push(i.move(t.handle(c,e,t,{before:`
|
|
51
51
|
`,after:`
|
|
52
|
-
`,...
|
|
53
|
-
`.repeat(1+
|
|
52
|
+
`,...i.current()}))),c.type!=="list"&&(t.bulletLastUsed=void 0),l<u.length-1&&a.push(i.move(_d(c,u[l+1],e,t)))}return r.pop(),a.join("")}function _d(e,t,n,r){let u=r.join.length;for(;u--;){const i=r.join[u](e,t,n,r);if(i===!0||i===1)break;if(typeof i=="number")return`
|
|
53
|
+
`.repeat(1+i);if(i===!1)return`
|
|
54
54
|
|
|
55
55
|
<!---->
|
|
56
56
|
|
|
57
57
|
`}return`
|
|
58
58
|
|
|
59
|
-
`}const
|
|
59
|
+
`}const Ad=/\r?\n|\r/g;function yd(e,t){const n=[];let r=0,u=0,i;for(;i=Ad.exec(e);)a(e.slice(r,i.index)),n.push(i[0]),r=i.index+i[0].length,u++;return a(e.slice(r)),n.join("");function a(l){n.push(t(l,u,!l))}}function Cd(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),u=[],i=[],a={};let l=-1;for(;++l<e.unsafe.length;){const d=e.unsafe[l];if(!Io(e.stack,d))continue;const h=e.compilePattern(d);let g;for(;g=h.exec(r);){const E="before"in d||!!d.atBreak,D="after"in d,w=g.index+(E?g[1].length:0);u.includes(w)?(a[w].before&&!E&&(a[w].before=!1),a[w].after&&!D&&(a[w].after=!1)):(u.push(w),a[w]={before:E,after:D})}}u.sort(Dd);let c=n.before?n.before.length:0;const f=r.length-(n.after?n.after.length:0);for(l=-1;++l<u.length;){const d=u[l];d<c||d>=f||d+1<f&&u[l+1]===d+1&&a[d].after&&!a[d+1].before&&!a[d+1].after||u[l-1]===d-1&&a[d].before&&!a[d-1].before&&!a[d-1].after||(c!==d&&i.push(rs(r.slice(c,d),"\\")),c=d,/[!-/:-@[-`{-~]/.test(r.charAt(d))&&(!n.encode||!n.encode.includes(r.charAt(d)))?i.push("\\"):(i.push("&#x"+r.charCodeAt(d).toString(16).toUpperCase()+";"),c++))}return i.push(rs(r.slice(c,f),n.after)),i.join("")}function Dd(e,t){return e-t}function rs(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],u=[],i=e+t;let a=-1,l=0,c;for(;c=n.exec(i);)r.push(c.index);for(;++a<r.length;)l!==r[a]&&u.push(e.slice(l,r[a])),u.push("\\"),l=r[a];return u.push(e.slice(l)),u.join("")}function xd(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,u=n.line||1,i=n.column||1;return{move:c,current:a,shift:l};function a(){return{now:{line:u,column:i},lineShift:r}}function l(f){r+=f}function c(f){const d=f||"",h=d.split(/\r?\n|\r/g),g=h[h.length-1];return u+=h.length-1,i=h.length===1?i+g.length:1+g.length+r,d}}function Sd(e,t={}){const n={enter:u,indentLines:yd,associationId:Ed,containerPhrasing:Rd,containerFlow:Od,createTracker:xd,compilePattern:bd,safe:Ld,stack:[],unsafe:[...md],join:[...hd],handlers:{...la},options:{},indexStack:[],handle:void 0};No(n,t),n.options.tightDefinitions&&n.join.push(Id),n.handle=ia("type",{invalid:kd,unknown:Nd,handlers:n.handlers});let r=n.handle(e,void 0,n,{before:`
|
|
60
60
|
`,after:`
|
|
61
61
|
`,now:{line:1,column:1},lineShift:0});return r&&r.charCodeAt(r.length-1)!==10&&r.charCodeAt(r.length-1)!==13&&(r+=`
|
|
62
|
-
`),r;function u(a){return n.stack.push(a),i;function i(){n.stack.pop()}}}function Fd(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function vd(e){const t=e;throw new Error("Cannot handle unknown node `"+t.type+"`")}function wd(e,t){if(e.type==="definition"&&e.type===t.type)return 0}function Pd(e,t){return Dd(e,this,t)}function Bd(e,t){return xd(e,this,t)}function Md(e,t){return Id(this,e,t)}function Hd(e){const t=this;t.compiler=n;function n(r){return Ld(r,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}function ns(e){if(e)throw e}var Eu=Object.prototype.hasOwnProperty,$o=Object.prototype.toString,rs=Object.defineProperty,us=Object.getOwnPropertyDescriptor,is=function(t){return typeof Array.isArray=="function"?Array.isArray(t):$o.call(t)==="[object Array]"},as=function(t){if(!t||$o.call(t)!=="[object Object]")return!1;var n=Eu.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&Eu.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var u;for(u in t);return typeof u>"u"||Eu.call(t,u)},ss=function(t,n){rs&&n.name==="__proto__"?rs(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},os=function(t,n){if(n==="__proto__")if(Eu.call(t,n)){if(us)return us(t,n).value}else return;return t[n]},Ud=function e(){var t,n,r,u,a,i,l=arguments[0],c=1,f=arguments.length,d=!1;for(typeof l=="boolean"&&(d=l,l=arguments[1]||{},c=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});c<f;++c)if(t=arguments[c],t!=null)for(n in t)r=os(l,n),u=os(t,n),l!==u&&(d&&u&&(as(u)||(a=is(u)))?(a?(a=!1,i=r&&is(r)?r:[]):i=r&&as(r)?r:{},ss(l,{name:n,newValue:e(d,i,u)})):typeof u<"u"&&ss(l,{name:n,newValue:u}));return l};const li=ho(Ud);function Mi(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 jd(){const e=[],t={run:n,use:r};return t;function n(...u){let a=-1;const i=u.pop();if(typeof i!="function")throw new TypeError("Expected function as last argument, not "+i);l(null,...u);function l(c,...f){const d=e[++a];let m=-1;if(c){i(c);return}for(;++m<u.length;)(f[m]===null||f[m]===void 0)&&(f[m]=u[m]);u=f,d?zd(d,l)(...f):i(null,...f)}}function r(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return e.push(u),t}}function zd(e,t){let n;return r;function r(...i){const l=e.length>i.length;let c;l&&i.push(u);try{c=e.apply(this,i)}catch(f){const d=f;if(l&&n)throw d;return u(d)}l||(c&&c.then&&typeof c.then=="function"?c.then(a,u):c instanceof Error?u(c):a(c))}function u(i,...l){n||(n=!0,t(i,...l))}function a(i){u(null,i)}}class Et extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let u="",a={},i=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?u=t:!a.cause&&t&&(i=!0,u=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?a.ruleId=r:(a.source=r.slice(0,c),a.ruleId=r.slice(c+1))}if(!a.place&&a.ancestors&&a.ancestors){const c=a.ancestors[a.ancestors.length-1];c&&(a.place=c.position)}const l=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=u,this.line=l?l.line:void 0,this.name=Yr(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=i&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}Et.prototype.file="";Et.prototype.name="";Et.prototype.reason="";Et.prototype.message="";Et.prototype.stack="";Et.prototype.column=void 0;Et.prototype.line=void 0;Et.prototype.ancestors=void 0;Et.prototype.cause=void 0;Et.prototype.fatal=void 0;Et.prototype.place=void 0;Et.prototype.ruleId=void 0;Et.prototype.source=void 0;const Xt={basename:Yd,dirname:$d,extname:Vd,join:qd,sep:"/"};function Yd(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ru(e);let n=0,r=-1,u=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;u--;)if(e.codePointAt(u)===47){if(a){n=u+1;break}}else r<0&&(a=!0,r=u+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let i=-1,l=t.length-1;for(;u--;)if(e.codePointAt(u)===47){if(a){n=u+1;break}}else i<0&&(a=!0,i=u+1),l>-1&&(e.codePointAt(u)===t.codePointAt(l--)?l<0&&(r=u):(l=-1,r=i));return n===r?r=i:r<0&&(r=e.length),e.slice(n,r)}function $d(e){if(ru(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 Vd(e){ru(e);let t=e.length,n=-1,r=0,u=-1,a=0,i;for(;t--;){const l=e.codePointAt(t);if(l===47){if(i){r=t+1;break}continue}n<0&&(i=!0,n=t+1),l===46?u<0?u=t:a!==1&&(a=1):u>-1&&(a=-1)}return u<0||n<0||a===0||a===1&&u===n-1&&u===r+1?"":e.slice(u,n)}function qd(...e){let t=-1,n;for(;++t<e.length;)ru(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Wd(n)}function Wd(e){ru(e);const t=e.codePointAt(0)===47;let n=Qd(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Qd(e,t){let n="",r=0,u=-1,a=0,i=-1,l,c;for(;++i<=e.length;){if(i<e.length)l=e.codePointAt(i);else{if(l===47)break;l=47}if(l===47){if(!(u===i-1||a===1))if(u!==i-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),u=i,a=0;continue}}else if(n.length>0){n="",r=0,u=i,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(u+1,i):n=e.slice(u+1,i),r=i-u-1;u=i,a=0}else l===46&&a>-1?a++:a=-1}return n}function ru(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Gd={cwd:Xd};function Xd(){return"/"}function Hi(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Kd(e){if(typeof e=="string")e=new URL(e);else if(!Hi(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 Jd(e)}function Jd(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 ci=["history","path","basename","stem","extname","dirname"];class Zd{constructor(t){let n;t?Hi(t)?n={path:t}:typeof t=="string"||eh(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Gd.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<ci.length;){const a=ci[r];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let u;for(u in n)ci.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?Xt.basename(this.path):void 0}set basename(t){di(t,"basename"),fi(t,"basename"),this.path=Xt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Xt.dirname(this.path):void 0}set dirname(t){ls(this.basename,"dirname"),this.path=Xt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Xt.extname(this.path):void 0}set extname(t){if(fi(t,"extname"),ls(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=Xt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Hi(t)&&(t=Kd(t)),di(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Xt.basename(this.path,this.extname):void 0}set stem(t){di(t,"stem"),fi(t,"stem"),this.path=Xt.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 Et(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 fi(e,t){if(e&&e.includes(Xt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Xt.sep+"`")}function di(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function ls(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function eh(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const th=function(e){const r=this.constructor.prototype,u=r[e],a=function(){return u.apply(a,arguments)};return Object.setPrototypeOf(a,r),a},nh={}.hasOwnProperty;class aa extends th{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=jd()}copy(){const t=new aa;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(li(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(mi("data",this.frozen),this.namespace[t]=n,this):nh.call(this.namespace,t)&&this.namespace[t]||void 0:t?(mi("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=ou(t),r=this.parser||this.Parser;return hi("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),hi("process",this.parser||this.Parser),pi("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(a,i){const l=ou(t),c=r.parse(l);r.run(c,l,function(d,m,T){if(d||!m||!T)return f(d);const E=m,D=r.stringify(E,T);uh(D)?T.value=D:T.result=D,f(d,T)});function f(d,m){d||!m?i(d):a?a(m):n(void 0,m)}}}processSync(t){let n=!1,r;return this.freeze(),hi("processSync",this.parser||this.Parser),pi("processSync",this.compiler||this.Compiler),this.process(t,u),fs("processSync","process",n),r;function u(a,i){n=!0,ns(a),r=i}}run(t,n,r){cs(t),this.freeze();const u=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?a(void 0,r):new Promise(a);function a(i,l){const c=ou(n);u.run(t,c,f);function f(d,m,T){const E=m||t;d?l(d):i?i(E):r(void 0,E,T)}}}runSync(t,n){let r=!1,u;return this.run(t,n,a),fs("runSync","run",r),u;function a(i,l){ns(i),u=l,r=!0}}stringify(t,n){this.freeze();const r=ou(n),u=this.compiler||this.Compiler;return pi("stringify",u),cs(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(mi("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?l(t):i(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(f){if(typeof f=="function")c(f,[]);else if(typeof f=="object")if(Array.isArray(f)){const[d,...m]=f;c(d,m)}else i(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function i(f){if(!("plugins"in f)&&!("settings"in f))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");l(f.plugins),f.settings&&(u.settings=li(!0,u.settings,f.settings))}function l(f){let d=-1;if(f!=null)if(Array.isArray(f))for(;++d<f.length;){const m=f[d];a(m)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function c(f,d){let m=-1,T=-1;for(;++m<r.length;)if(r[m][0]===f){T=m;break}if(T===-1)r.push([f,...d]);else if(d.length>0){let[E,...D]=d;const F=r[T][1];Mi(F)&&Mi(E)&&(E=li(!0,F,E)),r[T]=[f,E,...D]}}}}const Vo=new aa().freeze();function hi(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function pi(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function mi(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 cs(e){if(!Mi(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function fs(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ou(e){return rh(e)?e:new Zd(e)}function rh(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function uh(e){return typeof e=="string"||ih(e)}function ih(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const ah=Vo().use(Io).use(Hd).freeze();function ds(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 sh(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function qo(e,t,n){const u=Ou((n||{}).ignore||[]),a=oh(t);let i=-1;for(;++i<a.length;)ra(e,"text",l);function l(f,d){let m=-1,T;for(;++m<d.length;){const E=d[m],D=T?T.children:void 0;if(u(E,D?D.indexOf(E):void 0,T))return;T=E}if(T)return c(f,d)}function c(f,d){const m=d[d.length-1],T=a[i][0],E=a[i][1];let D=0;const L=m.children.indexOf(f);let w=!1,M=[];T.lastIndex=0;let V=T.exec(f.value);for(;V;){const ne=V.index,K={index:V.index,input:V.input,stack:[...d,f]};let B=E(...V,K);if(typeof B=="string"&&(B=B.length>0?{type:"text",value:B}:void 0),B===!1?T.lastIndex=ne+1:(D!==ne&&M.push({type:"text",value:f.value.slice(D,ne)}),Array.isArray(B)?M.push(...B):B&&M.push(B),D=ne+V[0].length,w=!0),!T.global)break;V=T.exec(f.value)}return w?(D<f.value.length&&M.push({type:"text",value:f.value.slice(D)}),m.children.splice(L,1,...M)):M=[f],L+M.length}}function oh(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([lh(u[0]),ch(u[1])])}return t}function lh(e){return typeof e=="string"?new RegExp(sh(e),"g"):e}function ch(e){return typeof e=="function"?e:function(){return e}}const Ei="phrasing",gi=["autolink","link","image","label"];function fh(){return{transforms:[bh],enter:{literalAutolink:hh,literalAutolinkEmail:bi,literalAutolinkHttp:bi,literalAutolinkWww:bi},exit:{literalAutolink:gh,literalAutolinkEmail:Eh,literalAutolinkHttp:ph,literalAutolinkWww:mh}}}function dh(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Ei,notInConstruct:gi},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Ei,notInConstruct:gi},{character:":",before:"[ps]",after:"\\/",inConstruct:Ei,notInConstruct:gi}]}}function hh(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function bi(e){this.config.enter.autolinkProtocol.call(this,e)}function ph(e){this.config.exit.autolinkProtocol.call(this,e)}function mh(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 Eh(e){this.config.exit.autolinkEmail.call(this,e)}function gh(e){this.exit(e)}function bh(e){qo(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Th],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,_h]],{ignore:["link","linkReference"]})}function Th(e,t,n,r,u){let a="";if(!Wo(u)||(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!yh(n)))return!1;const i=Ah(n+r);if(!i[0])return!1;const l={type:"link",title:null,url:a+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[l,{type:"text",value:i[1]}]:l}function _h(e,t,n,r){return!Wo(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function yh(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 Ah(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=ds(e,"(");let a=ds(e,")");for(;r!==-1&&u>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}function Wo(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Vn(n)||Iu(n))&&(!t||n!==47)}Qo.peek=Fh;function Ch(){return{enter:{gfmFootnoteDefinition:xh,gfmFootnoteDefinitionLabelString:Sh,gfmFootnoteCall:Ih,gfmFootnoteCallString:Rh},exit:{gfmFootnoteDefinition:kh,gfmFootnoteDefinitionLabelString:Nh,gfmFootnoteCall:Lh,gfmFootnoteCallString:Oh}}}function Dh(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:vh,footnoteReference:Qo}}}function xh(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Sh(){this.buffer()}function Nh(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Qt(this.sliceSerialize(e)).toLowerCase()}function kh(e){this.exit(e)}function Ih(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Rh(){this.buffer()}function Oh(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Qt(this.sliceSerialize(e)).toLowerCase()}function Lh(e){this.exit(e)}function Qo(e,t,n,r){const u=n.createTracker(r);let a=u.move("[^");const i=n.enter("footnoteReference"),l=n.enter("reference");return a+=u.move(n.safe(n.associationId(e),{...u.current(),before:a,after:"]"})),l(),i(),a+=u.move("]"),a}function Fh(){return"["}function vh(e,t,n,r){const u=n.createTracker(r);let a=u.move("[^");const i=n.enter("footnoteDefinition"),l=n.enter("label");return a+=u.move(n.safe(n.associationId(e),{...u.current(),before:a,after:"]"})),l(),a+=u.move("]:"+(e.children&&e.children.length>0?" ":"")),u.shift(4),a+=u.move(n.indentLines(n.containerFlow(e,u.current()),wh)),i(),a}function wh(e,t,n){return t===0?e:(n?"":" ")+e}const Ph=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Go.peek=jh;function Bh(){return{canContainEols:["delete"],enter:{strikethrough:Hh},exit:{strikethrough:Uh}}}function Mh(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Ph}],handlers:{delete:Go}}}function Hh(e){this.enter({type:"delete",children:[]},e)}function Uh(e){this.exit(e)}function Go(e,t,n,r){const u=n.createTracker(r),a=n.enter("strikethrough");let i=u.move("~~");return i+=n.containerPhrasing(e,{...u.current(),before:i,after:"~"}),i+=u.move("~~"),a(),i}function jh(){return"~"}function zh(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||$h,u=[],a=[],i=[],l=[];let c=0,f=-1;for(;++f<e.length;){const D=[],F=[];let L=-1;for(e[f].length>c&&(c=e[f].length);++L<e[f].length;){const w=Yh(e[f][L]);if(t.alignDelimiters!==!1){const M=r(w);F[L]=M,(l[L]===void 0||M>l[L])&&(l[L]=M)}D.push(w)}a[f]=D,i[f]=F}let d=-1;if(typeof n=="object"&&"length"in n)for(;++d<c;)u[d]=hs(n[d]);else{const D=hs(n);for(;++d<c;)u[d]=D}d=-1;const m=[],T=[];for(;++d<c;){const D=u[d];let F="",L="";D===99?(F=":",L=":"):D===108?F=":":D===114&&(L=":");let w=t.alignDelimiters===!1?1:Math.max(1,l[d]-F.length-L.length);const M=F+"-".repeat(w)+L;t.alignDelimiters!==!1&&(w=F.length+w+L.length,w>l[d]&&(l[d]=w),T[d]=w),m[d]=M}a.splice(1,0,m),i.splice(1,0,T),f=-1;const E=[];for(;++f<a.length;){const D=a[f],F=i[f];d=-1;const L=[];for(;++d<c;){const w=D[d]||"";let M="",V="";if(t.alignDelimiters!==!1){const ne=l[d]-(F[d]||0),K=u[d];K===114?M=" ".repeat(ne):K===99?ne%2?(M=" ".repeat(ne/2+.5),V=" ".repeat(ne/2-.5)):(M=" ".repeat(ne/2),V=M):V=" ".repeat(ne)}t.delimiterStart!==!1&&!d&&L.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&w==="")&&(t.delimiterStart!==!1||d)&&L.push(" "),t.alignDelimiters!==!1&&L.push(M),L.push(w),t.alignDelimiters!==!1&&L.push(V),t.padding!==!1&&L.push(" "),(t.delimiterEnd!==!1||d!==c-1)&&L.push("|")}E.push(t.delimiterEnd===!1?L.join("").replace(/ +$/,""):L.join(""))}return E.join(`
|
|
63
|
-
`)}function
|
|
64
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:
|
|
65
|
-
`))}function c(E,D,F,L){const w=F.enter("tableCell"),M=F.enter("phrasing"),V=F.containerPhrasing(E,{...L,before:a,after:a});return M(),w(),V}function f(E,D){return zh(E,{align:D,alignDelimiters:r,padding:n,stringLength:u})}function d(E,D,F){const L=E.children;let w=-1;const M=[],V=D.enter("table");for(;++w<L.length;)M[w]=m(L[w],D,F);return V(),M}function m(E,D,F){const L=E.children;let w=-1;const M=[],V=D.enter("tableRow");for(;++w<L.length;)M[w]=c(L[w],E,D,F);return V(),M}function T(E,D,F){let L=ia.inlineCode(E,D,F);return F.stack.includes("tableCell")&&(L=L.replace(/\|/g,"\\$&")),L}}function Jh(){return{exit:{taskListCheckValueChecked:ms,taskListCheckValueUnchecked:ms,paragraph:ep}}}function Zh(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:tp}}}function ms(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function ep(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 a=-1,i;for(;++a<u.length;){const l=u[a];if(l.type==="paragraph"){i=l;break}}i===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 tp(e,t,n,r){const u=e.children[0],a=typeof e.checked=="boolean"&&u&&u.type==="paragraph",i="["+(e.checked?"x":" ")+"] ",l=n.createTracker(r);a&&l.move(i);let c=ia.listItem(e,t,n,{...r,...l.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,f)),c;function f(d){return d+i}}function np(){return[fh(),Ch(),Bh(),Vh(),Jh()]}function rp(e){return{extensions:[dh(),Dh(),Mh(),Kh(e),Zh()]}}const up={tokenize:cp,partial:!0},Xo={tokenize:fp,partial:!0},Ko={tokenize:dp,partial:!0},Jo={tokenize:hp,partial:!0},ip={tokenize:pp,partial:!0},Zo={name:"wwwAutolink",tokenize:op,previous:tl},el={name:"protocolAutolink",tokenize:lp,previous:nl},bn={name:"emailAutolink",tokenize:sp,previous:rl},Jt={};function ap(){return{text:Jt}}let jn=48;for(;jn<123;)Jt[jn]=bn,jn++,jn===58?jn=65:jn===91&&(jn=97);Jt[43]=bn;Jt[45]=bn;Jt[46]=bn;Jt[95]=bn;Jt[72]=[bn,el];Jt[104]=[bn,el];Jt[87]=[bn,Zo];Jt[119]=[bn,Zo];function sp(e,t,n){const r=this;let u,a;return i;function i(m){return!Ui(m)||!rl.call(r,r.previous)||sa(r.events)?n(m):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(m))}function l(m){return Ui(m)?(e.consume(m),l):m===64?(e.consume(m),c):n(m)}function c(m){return m===46?e.check(ip,d,f)(m):m===45||m===95||ot(m)?(a=!0,e.consume(m),c):d(m)}function f(m){return e.consume(m),u=!0,c}function d(m){return a&&u&&pt(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(m)):n(m)}}function op(e,t,n){const r=this;return u;function u(i){return i!==87&&i!==119||!tl.call(r,r.previous)||sa(r.events)?n(i):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(up,e.attempt(Xo,e.attempt(Ko,a),n),n)(i))}function a(i){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(i)}}function lp(e,t,n){const r=this;let u="",a=!1;return i;function i(m){return(m===72||m===104)&&nl.call(r,r.previous)&&!sa(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),u+=String.fromCodePoint(m),e.consume(m),l):n(m)}function l(m){if(pt(m)&&u.length<5)return u+=String.fromCodePoint(m),e.consume(m),l;if(m===58){const T=u.toLowerCase();if(T==="http"||T==="https")return e.consume(m),c}return n(m)}function c(m){return m===47?(e.consume(m),a?f:(a=!0,c)):n(m)}function f(m){return m===null||Au(m)||Ue(m)||Vn(m)||Iu(m)?n(m):e.attempt(Xo,e.attempt(Ko,d),n)(m)}function d(m){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(m)}}function cp(e,t,n){let r=0;return u;function u(i){return(i===87||i===119)&&r<3?(r++,e.consume(i),u):i===46&&r===3?(e.consume(i),a):n(i)}function a(i){return i===null?n(i):t(i)}}function fp(e,t,n){let r,u,a;return i;function i(f){return f===46||f===95?e.check(Jo,c,l)(f):f===null||Ue(f)||Vn(f)||f!==45&&Iu(f)?c(f):(a=!0,e.consume(f),i)}function l(f){return f===95?r=!0:(u=r,r=void 0),e.consume(f),i}function c(f){return u||r||!a?n(f):t(f)}}function dp(e,t){let n=0,r=0;return u;function u(i){return i===40?(n++,e.consume(i),u):i===41&&r<n?a(i):i===33||i===34||i===38||i===39||i===41||i===42||i===44||i===46||i===58||i===59||i===60||i===63||i===93||i===95||i===126?e.check(Jo,t,a)(i):i===null||Ue(i)||Vn(i)?t(i):(e.consume(i),u)}function a(i){return i===41&&r++,e.consume(i),u}}function hp(e,t,n){return r;function r(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),r):l===38?(e.consume(l),a):l===93?(e.consume(l),u):l===60||l===null||Ue(l)||Vn(l)?t(l):n(l)}function u(l){return l===null||l===40||l===91||Ue(l)||Vn(l)?t(l):r(l)}function a(l){return pt(l)?i(l):n(l)}function i(l){return l===59?(e.consume(l),r):pt(l)?(e.consume(l),i):n(l)}}function pp(e,t,n){return r;function r(a){return e.consume(a),u}function u(a){return ot(a)?n(a):t(a)}}function tl(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ue(e)}function nl(e){return!pt(e)}function rl(e){return!(e===47||Ui(e))}function Ui(e){return e===43||e===45||e===46||e===95||ot(e)}function sa(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 mp={tokenize:Cp,partial:!0};function Ep(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:_p,continuation:{tokenize:yp},exit:Ap}},text:{91:{name:"gfmFootnoteCall",tokenize:Tp},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:gp,resolveTo:bp}}}}function gp(e,t,n){const r=this;let u=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;u--;){const c=r.events[u][1];if(c.type==="labelImage"){i=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return l;function l(c){if(!i||!i._balanced)return n(c);const f=Qt(r.sliceSerialize({start:i.end,end:r.now()}));return f.codePointAt(0)!==94||!a.includes(f.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function bp(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 a={type:"gfmFootnoteCallString",start:Object.assign({},u.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",u,t],["exit",u,t],["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...l),e}function Tp(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a=0,i;return l;function l(m){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),c}function c(m){return m!==94?n(m):(e.enter("gfmFootnoteCallMarker"),e.consume(m),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",f)}function f(m){if(a>999||m===93&&!i||m===null||m===91||Ue(m))return n(m);if(m===93){e.exit("chunkString");const T=e.exit("gfmFootnoteCallString");return u.includes(Qt(r.sliceSerialize(T)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(m)}return Ue(m)||(i=!0),a++,e.consume(m),m===92?d:f}function d(m){return m===91||m===92||m===93?(e.consume(m),a++,f):f(m)}}function _p(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,i=0,l;return c;function c(D){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(D),e.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(D){return D===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(D),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(D)}function d(D){if(i>999||D===93&&!l||D===null||D===91||Ue(D))return n(D);if(D===93){e.exit("chunkString");const F=e.exit("gfmFootnoteDefinitionLabelString");return a=Qt(r.sliceSerialize(F)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(D),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),T}return Ue(D)||(l=!0),i++,e.consume(D),D===92?m:d}function m(D){return D===91||D===92||D===93?(e.consume(D),i++,d):d(D)}function T(D){return D===58?(e.enter("definitionMarker"),e.consume(D),e.exit("definitionMarker"),u.includes(a)||u.push(a),Re(e,E,"gfmFootnoteDefinitionWhitespace")):n(D)}function E(D){return t(D)}}function yp(e,t,n){return e.check(nu,t,e.attempt(mp,t,n))}function Ap(e){e.exit("gfmFootnoteDefinition")}function Cp(e,t,n){const r=this;return Re(e,u,"gfmFootnoteDefinitionIndent",5);function u(a){const i=r.events[r.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],!0).length===4?t(a):n(a)}}function Dp(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:a,resolveAll:u};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function u(i,l){let c=-1;for(;++c<i.length;)if(i[c][0]==="enter"&&i[c][1].type==="strikethroughSequenceTemporary"&&i[c][1]._close){let f=c;for(;f--;)if(i[f][0]==="exit"&&i[f][1].type==="strikethroughSequenceTemporary"&&i[f][1]._open&&i[c][1].end.offset-i[c][1].start.offset===i[f][1].end.offset-i[f][1].start.offset){i[c][1].type="strikethroughSequence",i[f][1].type="strikethroughSequence";const d={type:"strikethrough",start:Object.assign({},i[f][1].start),end:Object.assign({},i[c][1].end)},m={type:"strikethroughText",start:Object.assign({},i[f][1].end),end:Object.assign({},i[c][1].start)},T=[["enter",d,l],["enter",i[f][1],l],["exit",i[f][1],l],["enter",m,l]],E=l.parser.constructs.insideSpan.null;E&&Bt(T,T.length,0,Ru(E,i.slice(f+1,c),l)),Bt(T,T.length,0,[["exit",m,l],["enter",i[c][1],l],["exit",i[c][1],l],["exit",d,l]]),Bt(i,f-1,c-f+3,T),c=f+T.length-2;break}}for(c=-1;++c<i.length;)i[c][1].type==="strikethroughSequenceTemporary"&&(i[c][1].type="data");return i}function a(i,l,c){const f=this.previous,d=this.events;let m=0;return T;function T(D){return f===126&&d[d.length-1][1].type!=="characterEscape"?c(D):(i.enter("strikethroughSequenceTemporary"),E(D))}function E(D){const F=Cu(f);if(D===126)return m>1?c(D):(i.consume(D),m++,E);if(m<2&&!n)return c(D);const L=i.exit("strikethroughSequenceTemporary"),w=Cu(D);return L._open=!w||w===2&&!!F,L._close=!F||F===2&&!!w,l(D)}}}class xp{constructor(){this.map=[]}add(t,n,r){Sp(this,t,n,r)}consume(t){if(this.map.sort(function(a,i){return a[0]-i[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 Sp(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 Np(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 a=r.length-1;r[a]=r[a]==="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 kp(){return{flow:{null:{name:"table",tokenize:Ip,resolveAll:Rp}}}}function Ip(e,t,n){const r=this;let u=0,a=0,i;return l;function l(P){let te=r.events.length-1;for(;te>-1;){const le=r.events[te][1].type;if(le==="lineEnding"||le==="linePrefix")te--;else break}const q=te>-1?r.events[te][1].type:null,ae=q==="tableHead"||q==="tableRow"?B:c;return ae===B&&r.parser.lazy[r.now().line]?n(P):ae(P)}function c(P){return e.enter("tableHead"),e.enter("tableRow"),f(P)}function f(P){return P===124||(i=!0,a+=1),d(P)}function d(P){return P===null?n(P):me(P)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),E):n(P):Le(P)?Re(e,d,"whitespace")(P):(a+=1,i&&(i=!1,u+=1),P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),i=!0,d):(e.enter("data"),m(P)))}function m(P){return P===null||P===124||Ue(P)?(e.exit("data"),d(P)):(e.consume(P),P===92?T:m)}function T(P){return P===92||P===124?(e.consume(P),m):m(P)}function E(P){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(P):(e.enter("tableDelimiterRow"),i=!1,Le(P)?Re(e,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):D(P))}function D(P){return P===45||P===58?L(P):P===124?(i=!0,e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),F):K(P)}function F(P){return Le(P)?Re(e,L,"whitespace")(P):L(P)}function L(P){return P===58?(a+=1,i=!0,e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),w):P===45?(a+=1,w(P)):P===null||me(P)?ne(P):K(P)}function w(P){return P===45?(e.enter("tableDelimiterFiller"),M(P)):K(P)}function M(P){return P===45?(e.consume(P),M):P===58?(i=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),V):(e.exit("tableDelimiterFiller"),V(P))}function V(P){return Le(P)?Re(e,ne,"whitespace")(P):ne(P)}function ne(P){return P===124?D(P):P===null||me(P)?!i||u!==a?K(P):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(P)):K(P)}function K(P){return n(P)}function B(P){return e.enter("tableRow"),U(P)}function U(P){return P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),U):P===null||me(P)?(e.exit("tableRow"),t(P)):Le(P)?Re(e,U,"whitespace")(P):(e.enter("data"),he(P))}function he(P){return P===null||P===124||Ue(P)?(e.exit("data"),U(P)):(e.consume(P),P===92?be:he)}function be(P){return P===92||P===124?(e.consume(P),he):he(P)}}function Rp(e,t){let n=-1,r=!0,u=0,a=[0,0,0,0],i=[0,0,0,0],l=!1,c=0,f,d,m;const T=new xp;for(;++n<e.length;){const E=e[n],D=E[1];E[0]==="enter"?D.type==="tableHead"?(l=!1,c!==0&&(Es(T,t,c,f,d),d=void 0,c=0),f={type:"table",start:Object.assign({},D.start),end:Object.assign({},D.end)},T.add(n,0,[["enter",f,t]])):D.type==="tableRow"||D.type==="tableDelimiterRow"?(r=!0,m=void 0,a=[0,0,0,0],i=[0,n+1,0,0],l&&(l=!1,d={type:"tableBody",start:Object.assign({},D.start),end:Object.assign({},D.end)},T.add(n,0,[["enter",d,t]])),u=D.type==="tableDelimiterRow"?2:d?3:1):u&&(D.type==="data"||D.type==="tableDelimiterMarker"||D.type==="tableDelimiterFiller")?(r=!1,i[2]===0&&(a[1]!==0&&(i[0]=i[1],m=lu(T,t,a,u,void 0,m),a=[0,0,0,0]),i[2]=n)):D.type==="tableCellDivider"&&(r?r=!1:(a[1]!==0&&(i[0]=i[1],m=lu(T,t,a,u,void 0,m)),a=i,i=[a[1],n,0,0])):D.type==="tableHead"?(l=!0,c=n):D.type==="tableRow"||D.type==="tableDelimiterRow"?(c=n,a[1]!==0?(i[0]=i[1],m=lu(T,t,a,u,n,m)):i[1]!==0&&(m=lu(T,t,i,u,n,m)),u=0):u&&(D.type==="data"||D.type==="tableDelimiterMarker"||D.type==="tableDelimiterFiller")&&(i[3]=n)}for(c!==0&&Es(T,t,c,f,d),T.consume(t.events),n=-1;++n<t.events.length;){const E=t.events[n];E[0]==="enter"&&E[1].type==="table"&&(E[1]._align=Np(t.events,n))}return e}function lu(e,t,n,r,u,a){const i=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",l="tableContent";n[0]!==0&&(a.end=Object.assign({},Kn(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));const c=Kn(t.events,n[1]);if(a={type:i,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",a,t]]),n[2]!==0){const f=Kn(t.events,n[2]),d=Kn(t.events,n[3]),m={type:l,start:Object.assign({},f),end:Object.assign({},d)};if(e.add(n[2],0,[["enter",m,t]]),r!==2){const T=t.events[n[2]],E=t.events[n[3]];if(T[1].end=Object.assign({},E[1].end),T[1].type="chunkText",T[1].contentType="text",n[3]>n[2]+1){const D=n[2]+1,F=n[3]-n[2]-1;e.add(D,F,[])}}e.add(n[3]+1,0,[["exit",m,t]])}return u!==void 0&&(a.end=Object.assign({},Kn(t.events,u)),e.add(u,0,[["exit",a,t]]),a=void 0),a}function Es(e,t,n,r,u){const a=[],i=Kn(t.events,n);u&&(u.end=Object.assign({},i),a.push(["exit",u,t])),r.end=Object.assign({},i),a.push(["exit",r,t]),e.add(n+1,0,a)}function Kn(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Op={name:"tasklistCheck",tokenize:Fp};function Lp(){return{text:{91:Op}}}function Fp(e,t,n){const r=this;return u;function u(c){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),a)}function a(c){return Ue(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),i):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),i):n(c)}function i(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(c)}function l(c){return me(c)?t(c):Le(c)?e.check({tokenize:vp},t,n)(c):n(c)}}function vp(e,t,n){return Re(e,r,"whitespace");function r(u){return u===null?n(u):t(u)}}function wp(e){return mo([ap(),Ep(),Dp(e),kp(),Lp()])}const Pp={};function Bp(e){const t=this,n=e||Pp,r=t.data(),u=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),i=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);u.push(wp(n)),a.push(np()),i.push(rp(n))}const Mp=["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"],gs={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 ul(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function Hp(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Up(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function bs(e){return Up(e)||ul(e)}const Gn=String.fromCharCode,jp=["","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 oa(e,t={}){const n=typeof t.additional=="string"?t.additional.charCodeAt(0):t.additional,r=[];let u=0,a=-1,i="",l,c;t.position&&("start"in t.position||"indent"in t.position?(c=t.position.indent,l=t.position.start):l=t.position);let f=(l?l.line:0)||1,d=(l?l.column:0)||1,m=E(),T;for(u--;++u<=e.length;)if(T===10&&(d=(c?c[a]:0)||1),T=e.charCodeAt(u),T===38){const L=e.charCodeAt(u+1);if(L===9||L===10||L===12||L===32||L===38||L===60||Number.isNaN(L)||n&&L===n){i+=Gn(T),d++;continue}const w=u+1;let M=w,V=w,ne;if(L===35){V=++M;const q=e.charCodeAt(V);q===88||q===120?(ne="hexadecimal",V=++M):ne="decimal"}else ne="named";let K="",B="",U="";const he=ne==="named"?bs:ne==="decimal"?ul:Hp;for(V--;++V<=e.length;){const q=e.charCodeAt(V);if(!he(q))break;U+=Gn(q),ne==="named"&&Mp.includes(U)&&(K=U,B=Kr(U))}let be=e.charCodeAt(V)===59;if(be){V++;const q=ne==="named"?Kr(U):!1;q&&(K=U,B=q)}let P=1+V-w,te="";if(!(!be&&t.nonTerminated===!1))if(!U)ne!=="named"&&D(4,P);else if(ne==="named"){if(be&&!B)D(5,1);else if(K!==U&&(V=M+K.length,P=1+V-M,be=!1),!be){const q=K?1:3;if(t.attribute){const ae=e.charCodeAt(V);ae===61?(D(q,P),B=""):bs(ae)?B="":D(q,P)}else D(q,P)}te=B}else{be||D(2,P);let q=Number.parseInt(U,ne==="hexadecimal"?16:10);if(zp(q))D(7,P),te=Gn(65533);else if(q in gs)D(6,P),te=gs[q];else{let ae="";Yp(q)&&D(6,P),q>65535&&(q-=65536,ae+=Gn(q>>>10|55296),q=56320|q&1023),te=ae+Gn(q)}}if(te){F(),m=E(),u=V-1,d+=V-w+1,r.push(te);const q=E();q.offset++,t.reference&&t.reference.call(t.referenceContext,te,{start:m,end:q},e.slice(w-1,V)),m=q}else U=e.slice(w-1,V),i+=U,d+=U.length,u=V-1}else T===10&&(f++,a++,d=0),Number.isNaN(T)?F():(i+=Gn(T),d++);return r.join("");function E(){return{line:f,column:d,offset:u+((l?l.offset:0)||0)}}function D(L,w){let M;t.warning&&(M=E(),M.column+=w,M.offset+=w,t.warning.call(t.warningContext,jp[L],M,L))}function F(){i&&(r.push(i),t.text&&t.text.call(t.textContext,i,{start:m,end:E()}),i="")}}function zp(e){return e>=55296&&e<=57343||e>1114111}function Yp(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 $p=/["&'<>`]/g,Vp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qp=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Wp=/[|\\{}()[\]^$+*?.]/g,Ts=new WeakMap;function Qp(e,t){if(e=e.replace(t.subset?Gp(t.subset):$p,r),t.subset||t.escapeOnly)return e;return e.replace(Vp,n).replace(qp,r);function n(u,a,i){return t.format((u.charCodeAt(0)-55296)*1024+u.charCodeAt(1)-56320+65536,i.charCodeAt(a+2),t)}function r(u,a,i){return t.format(u.charCodeAt(0),i.charCodeAt(a+1),t)}}function Gp(e){let t=Ts.get(e);return t||(t=Xp(e),Ts.set(e,t)),t}function Xp(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Wp,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function Kp(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Jp(e,t){return Qp(e,Object.assign({format:Kp},t))}const Zp={}.hasOwnProperty,_s=/^[^\t\n\r "#'.<=>`}]+$/;gu.peek=sm;function em(){return{canContainEols:["textDirective"],enter:{directiveContainer:nm,directiveContainerAttributes:yi,directiveContainerLabel:im,directiveLeaf:rm,directiveLeafAttributes:yi,directiveText:um,directiveTextAttributes:yi},exit:{directiveContainer:Ni,directiveContainerAttributeClassValue:Ci,directiveContainerAttributeIdValue:Ai,directiveContainerAttributeName:xi,directiveContainerAttributeValue:Di,directiveContainerAttributes:Si,directiveContainerLabel:am,directiveContainerName:_i,directiveLeaf:Ni,directiveLeafAttributeClassValue:Ci,directiveLeafAttributeIdValue:Ai,directiveLeafAttributeName:xi,directiveLeafAttributeValue:Di,directiveLeafAttributes:Si,directiveLeafName:_i,directiveText:Ni,directiveTextAttributeClassValue:Ci,directiveTextAttributeIdValue:Ai,directiveTextAttributeName:xi,directiveTextAttributeValue:Di,directiveTextAttributes:Si,directiveTextName:_i}}}function tm(){return{unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
|
|
66
|
-
`,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:gu,leafDirective:gu,textDirective:gu}}}function
|
|
62
|
+
`),r;function u(i){return n.stack.push(i),a;function a(){n.stack.pop()}}}function kd(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function Nd(e){const t=e;throw new Error("Cannot handle unknown node `"+t.type+"`")}function Id(e,t){if(e.type==="definition"&&e.type===t.type)return 0}function Rd(e,t){return gd(e,this,t)}function Od(e,t){return Td(e,this,t)}function Ld(e,t){return Cd(this,e,t)}function Fd(e){const t=this;t.compiler=n;function n(r){return Sd(r,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}function us(e){if(e)throw e}var ci,is;function vd(){if(is)return ci;is=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,u=function(f){return typeof Array.isArray=="function"?Array.isArray(f):t.call(f)==="[object Array]"},i=function(f){if(!f||t.call(f)!=="[object Object]")return!1;var d=e.call(f,"constructor"),h=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!d&&!h)return!1;var g;for(g in f);return typeof g>"u"||e.call(f,g)},a=function(f,d){n&&d.name==="__proto__"?n(f,d.name,{enumerable:!0,configurable:!0,value:d.newValue,writable:!0}):f[d.name]=d.newValue},l=function(f,d){if(d==="__proto__")if(e.call(f,d)){if(r)return r(f,d).value}else return;return f[d]};return ci=function c(){var f,d,h,g,E,D,w=arguments[0],O=1,F=arguments.length,M=!1;for(typeof w=="boolean"&&(M=w,w=arguments[1]||{},O=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});O<F;++O)if(f=arguments[O],f!=null)for(d in f)h=l(w,d),g=l(f,d),w!==g&&(M&&g&&(i(g)||(E=u(g)))?(E?(E=!1,D=h&&u(h)?h:[]):D=h&&i(h)?h:{},a(w,{name:d,newValue:c(M,D,g)})):typeof g<"u"&&a(w,{name:d,newValue:g}));return w},ci}var wd=vd();const fi=ra(wd);function Yi(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 Pd(){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);l(null,...u);function l(c,...f){const d=e[++i];let h=-1;if(c){a(c);return}for(;++h<u.length;)(f[h]===null||f[h]===void 0)&&(f[h]=u[h]);u=f,d?Bd(d,l)(...f):a(null,...f)}}function r(u){if(typeof u!="function")throw new TypeError("Expected `middelware` to be a function, not "+u);return e.push(u),t}}function Bd(e,t){let n;return r;function r(...a){const l=e.length>a.length;let c;l&&a.push(u);try{c=e.apply(this,a)}catch(f){const d=f;if(l&&n)throw d;return u(d)}l||(c&&c.then&&typeof c.then=="function"?c.then(i,u):c instanceof Error?u(c):i(c))}function u(a,...l){n||(n=!0,t(a,...l))}function i(a){u(null,a)}}class Et 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 c=r.indexOf(":");c===-1?i.ruleId=r:(i.source=r.slice(0,c),i.ruleId=r.slice(c+1))}if(!i.place&&i.ancestors&&i.ancestors){const c=i.ancestors[i.ancestors.length-1];c&&(i.place=c.position)}const l=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=l?l.column:void 0,this.fatal=void 0,this.file,this.message=u,this.line=l?l.line:void 0,this.name=$r(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}}Et.prototype.file="";Et.prototype.name="";Et.prototype.reason="";Et.prototype.message="";Et.prototype.stack="";Et.prototype.column=void 0;Et.prototype.line=void 0;Et.prototype.ancestors=void 0;Et.prototype.cause=void 0;Et.prototype.fatal=void 0;Et.prototype.place=void 0;Et.prototype.ruleId=void 0;Et.prototype.source=void 0;const Kt={basename:Md,dirname:Hd,extname:Ud,join:jd,sep:"/"};function Md(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');uu(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,l=t.length-1;for(;u--;)if(e.codePointAt(u)===47){if(i){n=u+1;break}}else a<0&&(i=!0,a=u+1),l>-1&&(e.codePointAt(u)===t.codePointAt(l--)?l<0&&(r=u):(l=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function Hd(e){if(uu(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 Ud(e){uu(e);let t=e.length,n=-1,r=0,u=-1,i=0,a;for(;t--;){const l=e.codePointAt(t);if(l===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),l===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 jd(...e){let t=-1,n;for(;++t<e.length;)uu(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":zd(n)}function zd(e){uu(e);const t=e.codePointAt(0)===47;let n=Yd(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Yd(e,t){let n="",r=0,u=-1,i=0,a=-1,l,c;for(;++a<=e.length;){if(a<e.length)l=e.codePointAt(a);else{if(l===47)break;l=47}if(l===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(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),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 l===46&&i>-1?i++:i=-1}return n}function uu(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const $d={cwd:Vd};function Vd(){return"/"}function $i(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function qd(e){if(typeof e=="string")e=new URL(e);else if(!$i(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 Wd(e)}function Wd(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 di=["history","path","basename","stem","extname","dirname"];class Qd{constructor(t){let n;t?$i(t)?n={path:t}:typeof t=="string"||Gd(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":$d.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<di.length;){const i=di[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)di.includes(u)||(this[u]=n[u])}get basename(){return typeof this.path=="string"?Kt.basename(this.path):void 0}set basename(t){pi(t,"basename"),hi(t,"basename"),this.path=Kt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Kt.dirname(this.path):void 0}set dirname(t){as(this.basename,"dirname"),this.path=Kt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Kt.extname(this.path):void 0}set extname(t){if(hi(t,"extname"),as(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=Kt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){$i(t)&&(t=qd(t)),pi(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Kt.basename(this.path,this.extname):void 0}set stem(t){pi(t,"stem"),hi(t,"stem"),this.path=Kt.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 Et(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 hi(e,t){if(e&&e.includes(Kt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Kt.sep+"`")}function pi(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function as(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Gd(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Xd=function(e){const r=this.constructor.prototype,u=r[e],i=function(){return u.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},Kd={}.hasOwnProperty;class ca extends Xd{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=Pd()}copy(){const t=new ca;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(fi(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(bi("data",this.frozen),this.namespace[t]=n,this):Kd.call(this.namespace,t)&&this.namespace[t]||void 0:t?(bi("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=cu(t),r=this.parser||this.Parser;return mi("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),mi("process",this.parser||this.Parser),Ei("process",this.compiler||this.Compiler),n?u(void 0,n):new Promise(u);function u(i,a){const l=cu(t),c=r.parse(l);r.run(c,l,function(d,h,g){if(d||!h||!g)return f(d);const E=h,D=r.stringify(E,g);Zd(D)?g.value=D:g.result=D,f(d,g)});function f(d,h){d||!h?a(d):i?i(h):n(void 0,h)}}}processSync(t){let n=!1,r;return this.freeze(),mi("processSync",this.parser||this.Parser),Ei("processSync",this.compiler||this.Compiler),this.process(t,u),os("processSync","process",n),r;function u(i,a){n=!0,us(i),r=a}}run(t,n,r){ss(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,l){const c=cu(n);u.run(t,c,f);function f(d,h,g){const E=h||t;d?l(d):a?a(E):r(void 0,E,g)}}}runSync(t,n){let r=!1,u;return this.run(t,n,i),os("runSync","run",r),u;function i(a,l){us(a),u=l,r=!0}}stringify(t,n){this.freeze();const r=cu(n),u=this.compiler||this.Compiler;return Ei("stringify",u),ss(t),u(t,r)}use(t,...n){const r=this.attachers,u=this.namespace;if(bi("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?l(t):a(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(f){if(typeof f=="function")c(f,[]);else if(typeof f=="object")if(Array.isArray(f)){const[d,...h]=f;c(d,h)}else a(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function a(f){if(!("plugins"in f)&&!("settings"in f))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");l(f.plugins),f.settings&&(u.settings=fi(!0,u.settings,f.settings))}function l(f){let d=-1;if(f!=null)if(Array.isArray(f))for(;++d<f.length;){const h=f[d];i(h)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function c(f,d){let h=-1,g=-1;for(;++h<r.length;)if(r[h][0]===f){g=h;break}if(g===-1)r.push([f,...d]);else if(d.length>0){let[E,...D]=d;const w=r[g][1];Yi(w)&&Yi(E)&&(E=fi(!0,w,E)),r[g]=[f,E,...D]}}}}const zo=new ca().freeze();function mi(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Ei(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function bi(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 ss(e){if(!Yi(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function os(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function cu(e){return Jd(e)?e:new Qd(e)}function Jd(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Zd(e){return typeof e=="string"||eh(e)}function eh(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const th=zo().use(ko).use(Fd).freeze();function ls(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 nh(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Yo(e,t,n){const u=Lu((n||{}).ignore||[]),i=rh(t);let a=-1;for(;++a<i.length;)sa(e,"text",l);function l(f,d){let h=-1,g;for(;++h<d.length;){const E=d[h],D=g?g.children:void 0;if(u(E,D?D.indexOf(E):void 0,g))return;g=E}if(g)return c(f,d)}function c(f,d){const h=d[d.length-1],g=i[a][0],E=i[a][1];let D=0;const O=h.children.indexOf(f);let F=!1,M=[];g.lastIndex=0;let V=g.exec(f.value);for(;V;){const ue=V.index,J={index:V.index,input:V.input,stack:[...d,f]};let B=E(...V,J);if(typeof B=="string"&&(B=B.length>0?{type:"text",value:B}:void 0),B===!1?g.lastIndex=ue+1:(D!==ue&&M.push({type:"text",value:f.value.slice(D,ue)}),Array.isArray(B)?M.push(...B):B&&M.push(B),D=ue+V[0].length,F=!0),!g.global)break;V=g.exec(f.value)}return F?(D<f.value.length&&M.push({type:"text",value:f.value.slice(D)}),h.children.splice(O,1,...M)):M=[f],O+M.length}}function rh(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([uh(u[0]),ih(u[1])])}return t}function uh(e){return typeof e=="string"?new RegExp(nh(e),"g"):e}function ih(e){return typeof e=="function"?e:function(){return e}}const gi="phrasing",Ti=["autolink","link","image","label"];function ah(){return{transforms:[hh],enter:{literalAutolink:oh,literalAutolinkEmail:_i,literalAutolinkHttp:_i,literalAutolinkWww:_i},exit:{literalAutolink:dh,literalAutolinkEmail:fh,literalAutolinkHttp:lh,literalAutolinkWww:ch}}}function sh(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:gi,notInConstruct:Ti},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:gi,notInConstruct:Ti},{character:":",before:"[ps]",after:"\\/",inConstruct:gi,notInConstruct:Ti}]}}function oh(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function _i(e){this.config.enter.autolinkProtocol.call(this,e)}function lh(e){this.config.exit.autolinkProtocol.call(this,e)}function ch(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 fh(e){this.config.exit.autolinkEmail.call(this,e)}function dh(e){this.exit(e)}function hh(e){Yo(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ph],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,mh]],{ignore:["link","linkReference"]})}function ph(e,t,n,r,u){let i="";if(!$o(u)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!Eh(n)))return!1;const a=bh(n+r);if(!a[0])return!1;const l={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[l,{type:"text",value:a[1]}]:l}function mh(e,t,n,r){return!$o(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Eh(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 bh(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=ls(e,"(");let i=ls(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 $o(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Vn(n)||Ru(n))&&(!t||n!==47)}Vo.peek=Nh;function gh(){return{enter:{gfmFootnoteDefinition:_h,gfmFootnoteDefinitionLabelString:Ah,gfmFootnoteCall:Dh,gfmFootnoteCallString:xh},exit:{gfmFootnoteDefinition:Ch,gfmFootnoteDefinitionLabelString:yh,gfmFootnoteCall:kh,gfmFootnoteCallString:Sh}}}function Th(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Ih,footnoteReference:Vo}}}function _h(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Ah(){this.buffer()}function yh(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Gt(this.sliceSerialize(e)).toLowerCase()}function Ch(e){this.exit(e)}function Dh(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function xh(){this.buffer()}function Sh(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Gt(this.sliceSerialize(e)).toLowerCase()}function kh(e){this.exit(e)}function Vo(e,t,n,r){const u=n.createTracker(r);let i=u.move("[^");const a=n.enter("footnoteReference"),l=n.enter("reference");return i+=u.move(n.safe(n.associationId(e),{...u.current(),before:i,after:"]"})),l(),a(),i+=u.move("]"),i}function Nh(){return"["}function Ih(e,t,n,r){const u=n.createTracker(r);let i=u.move("[^");const a=n.enter("footnoteDefinition"),l=n.enter("label");return i+=u.move(n.safe(n.associationId(e),{...u.current(),before:i,after:"]"})),l(),i+=u.move("]:"+(e.children&&e.children.length>0?" ":"")),u.shift(4),i+=u.move(n.indentLines(n.containerFlow(e,u.current()),Rh)),a(),i}function Rh(e,t,n){return t===0?e:(n?"":" ")+e}const Oh=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];qo.peek=Ph;function Lh(){return{canContainEols:["delete"],enter:{strikethrough:vh},exit:{strikethrough:wh}}}function Fh(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Oh}],handlers:{delete:qo}}}function vh(e){this.enter({type:"delete",children:[]},e)}function wh(e){this.exit(e)}function qo(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 Ph(){return"~"}function Bh(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||Hh,u=[],i=[],a=[],l=[];let c=0,f=-1;for(;++f<e.length;){const D=[],w=[];let O=-1;for(e[f].length>c&&(c=e[f].length);++O<e[f].length;){const F=Mh(e[f][O]);if(t.alignDelimiters!==!1){const M=r(F);w[O]=M,(l[O]===void 0||M>l[O])&&(l[O]=M)}D.push(F)}i[f]=D,a[f]=w}let d=-1;if(typeof n=="object"&&"length"in n)for(;++d<c;)u[d]=cs(n[d]);else{const D=cs(n);for(;++d<c;)u[d]=D}d=-1;const h=[],g=[];for(;++d<c;){const D=u[d];let w="",O="";D===99?(w=":",O=":"):D===108?w=":":D===114&&(O=":");let F=t.alignDelimiters===!1?1:Math.max(1,l[d]-w.length-O.length);const M=w+"-".repeat(F)+O;t.alignDelimiters!==!1&&(F=w.length+F+O.length,F>l[d]&&(l[d]=F),g[d]=F),h[d]=M}i.splice(1,0,h),a.splice(1,0,g),f=-1;const E=[];for(;++f<i.length;){const D=i[f],w=a[f];d=-1;const O=[];for(;++d<c;){const F=D[d]||"";let M="",V="";if(t.alignDelimiters!==!1){const ue=l[d]-(w[d]||0),J=u[d];J===114?M=" ".repeat(ue):J===99?ue%2?(M=" ".repeat(ue/2+.5),V=" ".repeat(ue/2-.5)):(M=" ".repeat(ue/2),V=M):V=" ".repeat(ue)}t.delimiterStart!==!1&&!d&&O.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&F==="")&&(t.delimiterStart!==!1||d)&&O.push(" "),t.alignDelimiters!==!1&&O.push(M),O.push(F),t.alignDelimiters!==!1&&O.push(V),t.padding!==!1&&O.push(" "),(t.delimiterEnd!==!1||d!==c-1)&&O.push("|")}E.push(t.delimiterEnd===!1?O.join("").replace(/ +$/,""):O.join(""))}return E.join(`
|
|
63
|
+
`)}function Mh(e){return e==null?"":String(e)}function Hh(e){return e.length}function cs(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function Uh(){return{enter:{table:jh,tableData:fs,tableHeader:fs,tableRow:Yh},exit:{codeText:$h,table:zh,tableData:Ai,tableHeader:Ai,tableRow:Ai}}}function jh(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 zh(e){this.exit(e),this.data.inTable=void 0}function Yh(e){this.enter({type:"tableRow",children:[]},e)}function Ai(e){this.exit(e)}function fs(e){this.enter({type:"tableCell",children:[]},e)}function $h(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Vh));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Vh(e,t){return t==="|"?t:e}function qh(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,u=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
64
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:g,table:a,tableCell:c,tableRow:l}};function a(E,D,w,O){return f(d(E,w,O),E.align)}function l(E,D,w,O){const F=h(E,w,O),M=f([F]);return M.slice(0,M.indexOf(`
|
|
65
|
+
`))}function c(E,D,w,O){const F=w.enter("tableCell"),M=w.enter("phrasing"),V=w.containerPhrasing(E,{...O,before:i,after:i});return M(),F(),V}function f(E,D){return Bh(E,{align:D,alignDelimiters:r,padding:n,stringLength:u})}function d(E,D,w){const O=E.children;let F=-1;const M=[],V=D.enter("table");for(;++F<O.length;)M[F]=h(O[F],D,w);return V(),M}function h(E,D,w){const O=E.children;let F=-1;const M=[],V=D.enter("tableRow");for(;++F<O.length;)M[F]=c(O[F],E,D,w);return V(),M}function g(E,D,w){let O=la.inlineCode(E,D,w);return w.stack.includes("tableCell")&&(O=O.replace(/\|/g,"\\$&")),O}}function Wh(){return{exit:{taskListCheckValueChecked:ds,taskListCheckValueUnchecked:ds,paragraph:Gh}}}function Qh(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Xh}}}function ds(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Gh(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 l=u[i];if(l.type==="paragraph"){a=l;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 Xh(e,t,n,r){const u=e.children[0],i=typeof e.checked=="boolean"&&u&&u.type==="paragraph",a="["+(e.checked?"x":" ")+"] ",l=n.createTracker(r);i&&l.move(a);let c=la.listItem(e,t,n,{...r,...l.current()});return i&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,f)),c;function f(d){return d+a}}function Kh(){return[ah(),gh(),Lh(),Uh(),Wh()]}function Jh(e){return{extensions:[sh(),Th(),Fh(),qh(e),Qh()]}}const Zh={tokenize:ip,partial:!0},Wo={tokenize:ap,partial:!0},Qo={tokenize:sp,partial:!0},Go={tokenize:op,partial:!0},ep={tokenize:lp,partial:!0},Xo={name:"wwwAutolink",tokenize:rp,previous:Jo},Ko={name:"protocolAutolink",tokenize:up,previous:Zo},Tn={name:"emailAutolink",tokenize:np,previous:el},Zt={};function tp(){return{text:Zt}}let zn=48;for(;zn<123;)Zt[zn]=Tn,zn++,zn===58?zn=65:zn===91&&(zn=97);Zt[43]=Tn;Zt[45]=Tn;Zt[46]=Tn;Zt[95]=Tn;Zt[72]=[Tn,Ko];Zt[104]=[Tn,Ko];Zt[87]=[Tn,Xo];Zt[119]=[Tn,Xo];function np(e,t,n){const r=this;let u,i;return a;function a(h){return!Vi(h)||!el.call(r,r.previous)||fa(r.events)?n(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(h))}function l(h){return Vi(h)?(e.consume(h),l):h===64?(e.consume(h),c):n(h)}function c(h){return h===46?e.check(ep,d,f)(h):h===45||h===95||ot(h)?(i=!0,e.consume(h),c):d(h)}function f(h){return e.consume(h),u=!0,c}function d(h){return i&&u&&pt(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):n(h)}}function rp(e,t,n){const r=this;return u;function u(a){return a!==87&&a!==119||!Jo.call(r,r.previous)||fa(r.events)?n(a):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Zh,e.attempt(Wo,e.attempt(Qo,i),n),n)(a))}function i(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function up(e,t,n){const r=this;let u="",i=!1;return a;function a(h){return(h===72||h===104)&&Zo.call(r,r.previous)&&!fa(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),u+=String.fromCodePoint(h),e.consume(h),l):n(h)}function l(h){if(pt(h)&&u.length<5)return u+=String.fromCodePoint(h),e.consume(h),l;if(h===58){const g=u.toLowerCase();if(g==="http"||g==="https")return e.consume(h),c}return n(h)}function c(h){return h===47?(e.consume(h),i?f:(i=!0,c)):n(h)}function f(h){return h===null||Cu(h)||Ue(h)||Vn(h)||Ru(h)?n(h):e.attempt(Wo,e.attempt(Qo,d),n)(h)}function d(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function ip(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 ap(e,t,n){let r,u,i;return a;function a(f){return f===46||f===95?e.check(Go,c,l)(f):f===null||Ue(f)||Vn(f)||f!==45&&Ru(f)?c(f):(i=!0,e.consume(f),a)}function l(f){return f===95?r=!0:(u=r,r=void 0),e.consume(f),a}function c(f){return u||r||!i?n(f):t(f)}}function sp(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(Go,t,i)(a):a===null||Ue(a)||Vn(a)?t(a):(e.consume(a),u)}function i(a){return a===41&&r++,e.consume(a),u}}function op(e,t,n){return r;function r(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),r):l===38?(e.consume(l),i):l===93?(e.consume(l),u):l===60||l===null||Ue(l)||Vn(l)?t(l):n(l)}function u(l){return l===null||l===40||l===91||Ue(l)||Vn(l)?t(l):r(l)}function i(l){return pt(l)?a(l):n(l)}function a(l){return l===59?(e.consume(l),r):pt(l)?(e.consume(l),a):n(l)}}function lp(e,t,n){return r;function r(i){return e.consume(i),u}function u(i){return ot(i)?n(i):t(i)}}function Jo(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ue(e)}function Zo(e){return!pt(e)}function el(e){return!(e===47||Vi(e))}function Vi(e){return e===43||e===45||e===46||e===95||ot(e)}function fa(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 cp={tokenize:gp,partial:!0};function fp(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:mp,continuation:{tokenize:Ep},exit:bp}},text:{91:{name:"gfmFootnoteCall",tokenize:pp},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:dp,resolveTo:hp}}}}function dp(e,t,n){const r=this;let u=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;u--;){const c=r.events[u][1];if(c.type==="labelImage"){a=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return l;function l(c){if(!a||!a._balanced)return n(c);const f=Gt(r.sliceSerialize({start:a.end,end:r.now()}));return f.codePointAt(0)!==94||!i.includes(f.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function hp(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)},l=[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,...l),e}function pp(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=0,a;return l;function l(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),c}function c(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",f)}function f(h){if(i>999||h===93&&!a||h===null||h===91||Ue(h))return n(h);if(h===93){e.exit("chunkString");const g=e.exit("gfmFootnoteCallString");return u.includes(Gt(r.sliceSerialize(g)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return Ue(h)||(a=!0),i++,e.consume(h),h===92?d:f}function d(h){return h===91||h===92||h===93?(e.consume(h),i++,f):f(h)}}function mp(e,t,n){const r=this,u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0,l;return c;function c(D){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(D),e.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(D){return D===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(D),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",d):n(D)}function d(D){if(a>999||D===93&&!l||D===null||D===91||Ue(D))return n(D);if(D===93){e.exit("chunkString");const w=e.exit("gfmFootnoteDefinitionLabelString");return i=Gt(r.sliceSerialize(w)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(D),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),g}return Ue(D)||(l=!0),a++,e.consume(D),D===92?h:d}function h(D){return D===91||D===92||D===93?(e.consume(D),a++,d):d(D)}function g(D){return D===58?(e.enter("definitionMarker"),e.consume(D),e.exit("definitionMarker"),u.includes(i)||u.push(i),Re(e,E,"gfmFootnoteDefinitionWhitespace")):n(D)}function E(D){return t(D)}}function Ep(e,t,n){return e.check(ru,t,e.attempt(cp,t,n))}function bp(e){e.exit("gfmFootnoteDefinition")}function gp(e,t,n){const r=this;return Re(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 Tp(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,l){let c=-1;for(;++c<a.length;)if(a[c][0]==="enter"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._close){let f=c;for(;f--;)if(a[f][0]==="exit"&&a[f][1].type==="strikethroughSequenceTemporary"&&a[f][1]._open&&a[c][1].end.offset-a[c][1].start.offset===a[f][1].end.offset-a[f][1].start.offset){a[c][1].type="strikethroughSequence",a[f][1].type="strikethroughSequence";const d={type:"strikethrough",start:Object.assign({},a[f][1].start),end:Object.assign({},a[c][1].end)},h={type:"strikethroughText",start:Object.assign({},a[f][1].end),end:Object.assign({},a[c][1].start)},g=[["enter",d,l],["enter",a[f][1],l],["exit",a[f][1],l],["enter",h,l]],E=l.parser.constructs.insideSpan.null;E&&Mt(g,g.length,0,Ou(E,a.slice(f+1,c),l)),Mt(g,g.length,0,[["exit",h,l],["enter",a[c][1],l],["exit",a[c][1],l],["exit",d,l]]),Mt(a,f-1,c-f+3,g),c=f+g.length-2;break}}for(c=-1;++c<a.length;)a[c][1].type==="strikethroughSequenceTemporary"&&(a[c][1].type="data");return a}function i(a,l,c){const f=this.previous,d=this.events;let h=0;return g;function g(D){return f===126&&d[d.length-1][1].type!=="characterEscape"?c(D):(a.enter("strikethroughSequenceTemporary"),E(D))}function E(D){const w=Du(f);if(D===126)return h>1?c(D):(a.consume(D),h++,E);if(h<2&&!n)return c(D);const O=a.exit("strikethroughSequenceTemporary"),F=Du(D);return O._open=!F||F===2&&!!w,O._close=!w||w===2&&!!F,l(D)}}}class _p{constructor(){this.map=[]}add(t,n,r){Ap(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 Ap(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 yp(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 Cp(){return{flow:{null:{name:"table",tokenize:Dp,resolveAll:xp}}}}function Dp(e,t,n){const r=this;let u=0,i=0,a;return l;function l(v){let ne=r.events.length-1;for(;ne>-1;){const W=r.events[ne][1].type;if(W==="lineEnding"||W==="linePrefix")ne--;else break}const q=ne>-1?r.events[ne][1].type:null,Q=q==="tableHead"||q==="tableRow"?B:c;return Q===B&&r.parser.lazy[r.now().line]?n(v):Q(v)}function c(v){return e.enter("tableHead"),e.enter("tableRow"),f(v)}function f(v){return v===124||(a=!0,i+=1),d(v)}function d(v){return v===null?n(v):Ee(v)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),E):n(v):Le(v)?Re(e,d,"whitespace")(v):(i+=1,a&&(a=!1,u+=1),v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),a=!0,d):(e.enter("data"),h(v)))}function h(v){return v===null||v===124||Ue(v)?(e.exit("data"),d(v)):(e.consume(v),v===92?g:h)}function g(v){return v===92||v===124?(e.consume(v),h):h(v)}function E(v){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(v):(e.enter("tableDelimiterRow"),a=!1,Le(v)?Re(e,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):D(v))}function D(v){return v===45||v===58?O(v):v===124?(a=!0,e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),w):J(v)}function w(v){return Le(v)?Re(e,O,"whitespace")(v):O(v)}function O(v){return v===58?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),F):v===45?(i+=1,F(v)):v===null||Ee(v)?ue(v):J(v)}function F(v){return v===45?(e.enter("tableDelimiterFiller"),M(v)):J(v)}function M(v){return v===45?(e.consume(v),M):v===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(v),e.exit("tableDelimiterMarker"),V):(e.exit("tableDelimiterFiller"),V(v))}function V(v){return Le(v)?Re(e,ue,"whitespace")(v):ue(v)}function ue(v){return v===124?D(v):v===null||Ee(v)?!a||u!==i?J(v):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(v)):J(v)}function J(v){return n(v)}function B(v){return e.enter("tableRow"),U(v)}function U(v){return v===124?(e.enter("tableCellDivider"),e.consume(v),e.exit("tableCellDivider"),U):v===null||Ee(v)?(e.exit("tableRow"),t(v)):Le(v)?Re(e,U,"whitespace")(v):(e.enter("data"),de(v))}function de(v){return v===null||v===124||Ue(v)?(e.exit("data"),U(v)):(e.consume(v),v===92?pe:de)}function pe(v){return v===92||v===124?(e.consume(v),de):de(v)}}function xp(e,t){let n=-1,r=!0,u=0,i=[0,0,0,0],a=[0,0,0,0],l=!1,c=0,f,d,h;const g=new _p;for(;++n<e.length;){const E=e[n],D=E[1];E[0]==="enter"?D.type==="tableHead"?(l=!1,c!==0&&(hs(g,t,c,f,d),d=void 0,c=0),f={type:"table",start:Object.assign({},D.start),end:Object.assign({},D.end)},g.add(n,0,[["enter",f,t]])):D.type==="tableRow"||D.type==="tableDelimiterRow"?(r=!0,h=void 0,i=[0,0,0,0],a=[0,n+1,0,0],l&&(l=!1,d={type:"tableBody",start:Object.assign({},D.start),end:Object.assign({},D.end)},g.add(n,0,[["enter",d,t]])),u=D.type==="tableDelimiterRow"?2:d?3:1):u&&(D.type==="data"||D.type==="tableDelimiterMarker"||D.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(i[1]!==0&&(a[0]=a[1],h=fu(g,t,i,u,void 0,h),i=[0,0,0,0]),a[2]=n)):D.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(a[0]=a[1],h=fu(g,t,i,u,void 0,h)),i=a,a=[i[1],n,0,0])):D.type==="tableHead"?(l=!0,c=n):D.type==="tableRow"||D.type==="tableDelimiterRow"?(c=n,i[1]!==0?(a[0]=a[1],h=fu(g,t,i,u,n,h)):a[1]!==0&&(h=fu(g,t,a,u,n,h)),u=0):u&&(D.type==="data"||D.type==="tableDelimiterMarker"||D.type==="tableDelimiterFiller")&&(a[3]=n)}for(c!==0&&hs(g,t,c,f,d),g.consume(t.events),n=-1;++n<t.events.length;){const E=t.events[n];E[0]==="enter"&&E[1].type==="table"&&(E[1]._align=yp(t.events,n))}return e}function fu(e,t,n,r,u,i){const a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",l="tableContent";n[0]!==0&&(i.end=Object.assign({},Jn(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const c=Jn(t.events,n[1]);if(i={type:a,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const f=Jn(t.events,n[2]),d=Jn(t.events,n[3]),h={type:l,start:Object.assign({},f),end:Object.assign({},d)};if(e.add(n[2],0,[["enter",h,t]]),r!==2){const g=t.events[n[2]],E=t.events[n[3]];if(g[1].end=Object.assign({},E[1].end),g[1].type="chunkText",g[1].contentType="text",n[3]>n[2]+1){const D=n[2]+1,w=n[3]-n[2]-1;e.add(D,w,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return u!==void 0&&(i.end=Object.assign({},Jn(t.events,u)),e.add(u,0,[["exit",i,t]]),i=void 0),i}function hs(e,t,n,r,u){const i=[],a=Jn(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 Jn(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Sp={name:"tasklistCheck",tokenize:Np};function kp(){return{text:{91:Sp}}}function Np(e,t,n){const r=this;return u;function u(c){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),i)}function i(c){return Ue(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),a):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),a):n(c)}function a(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):n(c)}function l(c){return Ee(c)?t(c):Le(c)?e.check({tokenize:Ip},t,n)(c):n(c)}}function Ip(e,t,n){return Re(e,r,"whitespace");function r(u){return u===null?n(u):t(u)}}function Rp(e){return ho([tp(),fp(),Tp(e),Cp(),kp()])}const Op={};function Lp(e){const t=this,n=e||Op,r=t.data(),u=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);u.push(Rp(n)),i.push(Kh()),a.push(Jh(n))}const Fp=["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"],ps={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 tl(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function vp(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function wp(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function ms(e){return wp(e)||tl(e)}const Gn=String.fromCharCode,Pp=["","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 da(e,t={}){const n=typeof t.additional=="string"?t.additional.charCodeAt(0):t.additional,r=[];let u=0,i=-1,a="",l,c;t.position&&("start"in t.position||"indent"in t.position?(c=t.position.indent,l=t.position.start):l=t.position);let f=(l?l.line:0)||1,d=(l?l.column:0)||1,h=E(),g;for(u--;++u<=e.length;)if(g===10&&(d=(c?c[i]:0)||1),g=e.charCodeAt(u),g===38){const O=e.charCodeAt(u+1);if(O===9||O===10||O===12||O===32||O===38||O===60||Number.isNaN(O)||n&&O===n){a+=Gn(g),d++;continue}const F=u+1;let M=F,V=F,ue;if(O===35){V=++M;const q=e.charCodeAt(V);q===88||q===120?(ue="hexadecimal",V=++M):ue="decimal"}else ue="named";let J="",B="",U="";const de=ue==="named"?ms:ue==="decimal"?tl:vp;for(V--;++V<=e.length;){const q=e.charCodeAt(V);if(!de(q))break;U+=Gn(q),ue==="named"&&Fp.includes(U)&&(J=U,B=Jr(U))}let pe=e.charCodeAt(V)===59;if(pe){V++;const q=ue==="named"?Jr(U):!1;q&&(J=U,B=q)}let v=1+V-F,ne="";if(!(!pe&&t.nonTerminated===!1))if(!U)ue!=="named"&&D(4,v);else if(ue==="named"){if(pe&&!B)D(5,1);else if(J!==U&&(V=M+J.length,v=1+V-M,pe=!1),!pe){const q=J?1:3;if(t.attribute){const Q=e.charCodeAt(V);Q===61?(D(q,v),B=""):ms(Q)?B="":D(q,v)}else D(q,v)}ne=B}else{pe||D(2,v);let q=Number.parseInt(U,ue==="hexadecimal"?16:10);if(Bp(q))D(7,v),ne=Gn(65533);else if(q in ps)D(6,v),ne=ps[q];else{let Q="";Mp(q)&&D(6,v),q>65535&&(q-=65536,Q+=Gn(q>>>10|55296),q=56320|q&1023),ne=Q+Gn(q)}}if(ne){w(),h=E(),u=V-1,d+=V-F+1,r.push(ne);const q=E();q.offset++,t.reference&&t.reference.call(t.referenceContext,ne,{start:h,end:q},e.slice(F-1,V)),h=q}else U=e.slice(F-1,V),a+=U,d+=U.length,u=V-1}else g===10&&(f++,i++,d=0),Number.isNaN(g)?w():(a+=Gn(g),d++);return r.join("");function E(){return{line:f,column:d,offset:u+((l?l.offset:0)||0)}}function D(O,F){let M;t.warning&&(M=E(),M.column+=F,M.offset+=F,t.warning.call(t.warningContext,Pp[O],M,O))}function w(){a&&(r.push(a),t.text&&t.text.call(t.textContext,a,{start:h,end:E()}),a="")}}function Bp(e){return e>=55296&&e<=57343||e>1114111}function Mp(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 Hp=/["&'<>`]/g,Up=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jp=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,zp=/[|\\{}()[\]^$+*?.]/g,Es=new WeakMap;function Yp(e,t){if(e=e.replace(t.subset?$p(t.subset):Hp,r),t.subset||t.escapeOnly)return e;return e.replace(Up,n).replace(jp,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 $p(e){let t=Es.get(e);return t||(t=Vp(e),Es.set(e,t)),t}function Vp(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(zp,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function qp(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Wp(e,t){return Yp(e,Object.assign({format:qp},t))}const Qp={}.hasOwnProperty,bs=/^[^\t\n\r "#'.<=>`}]+$/;gu.peek=nm;function Gp(){return{canContainEols:["textDirective"],enter:{directiveContainer:Kp,directiveContainerAttributes:Ci,directiveContainerLabel:em,directiveLeaf:Jp,directiveLeafAttributes:Ci,directiveText:Zp,directiveTextAttributes:Ci},exit:{directiveContainer:Ii,directiveContainerAttributeClassValue:xi,directiveContainerAttributeIdValue:Di,directiveContainerAttributeName:ki,directiveContainerAttributeValue:Si,directiveContainerAttributes:Ni,directiveContainerLabel:tm,directiveContainerName:yi,directiveLeaf:Ii,directiveLeafAttributeClassValue:xi,directiveLeafAttributeIdValue:Di,directiveLeafAttributeName:ki,directiveLeafAttributeValue:Si,directiveLeafAttributes:Ni,directiveLeafName:yi,directiveText:Ii,directiveTextAttributeClassValue:xi,directiveTextAttributeIdValue:Di,directiveTextAttributeName:ki,directiveTextAttributeValue:Si,directiveTextAttributes:Ni,directiveTextName:yi}}}function Xp(){return{unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
|
|
66
|
+
`,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:gu,leafDirective:gu,textDirective:gu}}}function Kp(e){ha.call(this,"containerDirective",e)}function Jp(e){ha.call(this,"leafDirective",e)}function Zp(e){ha.call(this,"textDirective",e)}function ha(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function yi(e){const t=this.stack[this.stack.length-1];t.type==="containerDirective"||t.type==="leafDirective"||t.type,t.name=this.sliceSerialize(e)}function em(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)}function tm(e){this.exit(e)}function Ci(){this.data.directiveAttributes=[],this.buffer()}function Di(e){this.data.directiveAttributes.push(["id",da(this.sliceSerialize(e),{attribute:!0})])}function xi(e){this.data.directiveAttributes.push(["class",da(this.sliceSerialize(e),{attribute:!0})])}function Si(e){const t=this.data.directiveAttributes;t[t.length-1][1]=da(this.sliceSerialize(e),{attribute:!0})}function ki(e){this.data.directiveAttributes.push([this.sliceSerialize(e),""])}function Ni(){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 Ii(e){this.exit(e)}function gu(e,t,n,r){const u=n.createTracker(r),i=um(e),a=n.enter(e.type);let l=u.move(i+(e.name||"")),c;if(e.type==="containerDirective"){const f=(e.children||[])[0];c=gs(f)?f:void 0}else c=e;if(c&&c.children&&c.children.length>0){const f=n.enter("label"),d=`${e.type}Label`,h=n.enter(d);l+=u.move("["),l+=u.move(n.containerPhrasing(c,{...u.current(),before:l,after:"]"})),l+=u.move("]"),h(),f()}if(l+=u.move(rm(e,n)),e.type==="containerDirective"){const f=(e.children||[])[0];let d=e;gs(f)&&(d=Object.assign({},e,{children:e.children.slice(1)})),d&&d.children&&d.children.length>0&&(l+=u.move(`
|
|
67
67
|
`),l+=u.move(n.containerFlow(d,u.current()))),l+=u.move(`
|
|
68
|
-
`+
|
|
69
|
-
`,"\r"],u=e.attributes||{},
|
|
70
|
-
`}]}function
|
|
71
|
-
`:"",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
|
|
72
|
-
`}),d.type==="element"&&d.tagName==="p"&&!u?
|
|
73
|
-
`});const f={type:"element",tagName:"li",properties:
|
|
68
|
+
`+i)}return a(),l}function nm(){return":"}function rm(e,t){const n=t.options.quote||'"',r=e.type==="textDirective"?[n]:[n,`
|
|
69
|
+
`,"\r"],u=e.attributes||{},i=[];let a,l,c,f;for(f in u)if(Qp.call(u,f)&&u[f]!==void 0&&u[f]!==null){const h=String(u[f]);if(f==="id")c=bs.test(h)?"#"+h:d("id",h);else if(f==="class"){const g=h.split(/[\t\n\r ]+/g),E=[],D=[];let w=-1;for(;++w<g.length;)(bs.test(g[w])?D:E).push(g[w]);a=E.length>0?d("class",E.join(" ")):"",l=D.length>0?"."+D.join("."):""}else i.push(d(f,h))}return a&&i.unshift(a),l&&i.unshift(l),c&&i.unshift(c),i.length>0?"{"+i.join(" ")+"}":"";function d(h,g){return h+(g?"="+n+Wp(g,{subset:r})+n:"")}}function gs(e){return!!(e&&e.type==="paragraph"&&e.data&&e.data.directiveLabel)}function um(e){let t=0;return e.type==="containerDirective"?(sa(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 pa(e,t,n,r,u,i,a,l,c,f,d,h,g,E,D){let w,O;return F;function F(k){return e.enter(r),e.enter(u),e.consume(k),e.exit(u),M}function M(k){return k===35?(w=a,V(k)):k===46?(w=l,V(k)):k===58||k===95||pt(k)?(e.enter(i),e.enter(c),e.consume(k),B):D&&Le(k)?Re(e,M,"whitespace")(k):!D&&Ue(k)?En(e,M)(k):W(k)}function V(k){const Ae=w+"Marker";return e.enter(i),e.enter(w),e.enter(Ae),e.consume(k),e.exit(Ae),ue}function ue(k){if(k===null||k===34||k===35||k===39||k===46||k===60||k===61||k===62||k===96||k===125||Ue(k))return n(k);const Ae=w+"Value";return e.enter(Ae),e.consume(k),J}function J(k){if(k===null||k===34||k===39||k===60||k===61||k===62||k===96)return n(k);if(k===35||k===46||k===125||Ue(k)){const Ae=w+"Value";return e.exit(Ae),e.exit(w),e.exit(i),M(k)}return e.consume(k),J}function B(k){return k===45||k===46||k===58||k===95||ot(k)?(e.consume(k),B):(e.exit(c),D&&Le(k)?Re(e,U,"whitespace")(k):!D&&Ue(k)?En(e,U)(k):U(k))}function U(k){return k===61?(e.enter(f),e.consume(k),e.exit(f),de):(e.exit(i),M(k))}function de(k){return k===null||k===60||k===61||k===62||k===96||k===125||D&&Ee(k)?n(k):k===34||k===39?(e.enter(d),e.enter(g),e.consume(k),e.exit(g),O=k,v):D&&Le(k)?Re(e,de,"whitespace")(k):!D&&Ue(k)?En(e,de)(k):(e.enter(h),e.enter(E),e.consume(k),O=void 0,pe)}function pe(k){return k===null||k===34||k===39||k===60||k===61||k===62||k===96?n(k):k===125||Ue(k)?(e.exit(E),e.exit(h),e.exit(i),M(k)):(e.consume(k),pe)}function v(k){return k===O?(e.enter(g),e.consume(k),e.exit(g),e.exit(d),e.exit(i),Q):(e.enter(h),ne(k))}function ne(k){return k===O?(e.exit(h),v(k)):k===null?n(k):Ee(k)?D?n(k):En(e,ne)(k):(e.enter(E),e.consume(k),q)}function q(k){return k===O||k===null||Ee(k)?(e.exit(E),ne(k)):(e.consume(k),q)}function Q(k){return k===125||Ue(k)?M(k):W(k)}function W(k){return k===125?(e.enter(u),e.consume(k),e.exit(u),e.exit(r),t):n(k)}}function ma(e,t,n,r,u,i,a){let l=0,c=0,f;return d;function d(O){return e.enter(r),e.enter(u),e.consume(O),e.exit(u),h}function h(O){return O===93?(e.enter(u),e.consume(O),e.exit(u),e.exit(r),t):(e.enter(i),g(O))}function g(O){if(O===93&&!c)return w(O);const F=e.enter("chunkText",{contentType:"text",previous:f});return f&&(f.next=F),f=F,E(O)}function E(O){return O===null||l>999||O===91&&++c>32?n(O):O===93&&!c--?(e.exit("chunkText"),w(O)):Ee(O)?a?n(O):(e.consume(O),e.exit("chunkText"),g):(e.consume(O),O===92?D:E)}function D(O){return O===91||O===92||O===93?(e.consume(O),l++,E):E(O)}function w(O){return e.exit(i),e.enter(u),e.consume(O),e.exit(u),e.exit(r),t}}function Ea(e,t,n,r){const u=this;return i;function i(l){return pt(l)?(e.enter(r),e.consume(l),a):n(l)}function a(l){return l===45||l===95||ot(l)?(e.consume(l),a):(e.exit(r),u.previous===45||u.previous===95?n(l):t(l))}}const im={tokenize:om,concrete:!0},am={tokenize:lm,partial:!0},sm={tokenize:cm,partial:!0},Ts={tokenize:fm,partial:!0};function om(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,l;return c;function c(U){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),f(U)}function f(U){return U===58?(e.consume(U),a++,f):a<3?n(U):(e.exit("directiveContainerSequence"),Ea.call(r,e,d,n,"directiveContainerName")(U))}function d(U){return U===91?e.attempt(am,h,h)(U):h(U)}function h(U){return U===123?e.attempt(sm,g,g)(U):g(U)}function g(U){return Re(e,E,"whitespace")(U)}function E(U){return e.exit("directiveContainerFence"),U===null?D(U):Ee(U)?r.interrupt?t(U):e.attempt(Ts,w,D)(U):n(U)}function D(U){return e.exit("directiveContainer"),t(U)}function w(U){return U===null?(e.exit("directiveContainer"),t(U)):(e.enter("directiveContainerContent"),O(U))}function O(U){return U===null?J(U):e.attempt({tokenize:B,partial:!0},J,i?Re(e,F,"linePrefix",i+1):F)(U)}function F(U){if(U===null)return J(U);const de=e.enter("chunkDocument",{contentType:"document",previous:l});return l&&(l.next=de),l=de,M(U)}function M(U){if(U===null){const de=e.exit("chunkDocument");return r.parser.lazy[de.start.line]=!1,J(U)}return Ee(U)?e.check(Ts,V,ue)(U):(e.consume(U),M)}function V(U){e.consume(U);const de=e.exit("chunkDocument");return r.parser.lazy[de.start.line]=!1,O}function ue(U){const de=e.exit("chunkDocument");return r.parser.lazy[de.start.line]=!1,J(U)}function J(U){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(U)}function B(U,de,pe){let v=0;return Re(U,ne,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ne(W){return U.enter("directiveContainerFence"),U.enter("directiveContainerSequence"),q(W)}function q(W){return W===58?(U.consume(W),v++,q):v<a?pe(W):(U.exit("directiveContainerSequence"),Re(U,Q,"whitespace")(W))}function Q(W){return W===null||Ee(W)?(U.exit("directiveContainerFence"),de(W)):pe(W)}}}function lm(e,t,n){return ma(e,t,n,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)}function cm(e,t,n){return pa(e,t,n,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)}function fm(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 dm={tokenize:mm},hm={tokenize:Em,partial:!0},pm={tokenize:bm,partial:!0};function mm(e,t,n){const r=this;return u;function u(d){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(d),i}function i(d){return d===58?(e.consume(d),e.exit("directiveLeafSequence"),Ea.call(r,e,a,n,"directiveLeafName")):n(d)}function a(d){return d===91?e.attempt(hm,l,l)(d):l(d)}function l(d){return d===123?e.attempt(pm,c,c)(d):c(d)}function c(d){return Re(e,f,"whitespace")(d)}function f(d){return d===null||Ee(d)?(e.exit("directiveLeaf"),t(d)):n(d)}}function Em(e,t,n){return ma(e,t,n,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)}function bm(e,t,n){return pa(e,t,n,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)}const gm={tokenize:ym,previous:Am},Tm={tokenize:Cm,partial:!0},_m={tokenize:Dm,partial:!0};function Am(e){return e!==58||this.events[this.events.length-1][1].type==="characterEscape"}function ym(e,t,n){const r=this;return u;function u(c){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(c),e.exit("directiveTextMarker"),Ea.call(r,e,i,n,"directiveTextName")}function i(c){return c===58?n(c):c===91?e.attempt(Tm,a,a)(c):a(c)}function a(c){return c===123?e.attempt(_m,l,l)(c):l(c)}function l(c){return e.exit("directiveText"),t(c)}}function Cm(e,t,n){return ma(e,t,n,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")}function Dm(e,t,n){return pa(e,t,n,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")}function xm(){return{text:{58:gm},flow:{58:[im,dm]}}}function Sm(){const t=this.data(),n=t.micromarkExtensions||(t.micromarkExtensions=[]),r=t.fromMarkdownExtensions||(t.fromMarkdownExtensions=[]),u=t.toMarkdownExtensions||(t.toMarkdownExtensions=[]);n.push(xm()),r.push(Gp()),u.push(Xp())}function km(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 Nm(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
70
|
+
`}]}function Im(e,t){const n=t.value?t.value+`
|
|
71
|
+
`:"",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 Rm(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Om(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Lm(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),u=ir(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,l=e.footnoteCounts.get(r);l===void 0?(l=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,l+=1,e.footnoteCounts.set(r,l);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+u,id:n+"fnref-"+u+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,c);const f={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,f),e.applyData(t,f)}function Fm(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 vm(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function nl(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 wm(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nl(e,t);const u={src:ir(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 Pm(e,t){const n={src:ir(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 Bm(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 Mm(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nl(e,t);const u={href:ir(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 Hm(e,t){const n={href:ir(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 Um(e,t,n){const r=e.all(t),u=n?jm(n):rl(t),i={},a=[];if(typeof t.checked=="boolean"){const d=r[0];let h;d&&d.type==="element"&&d.tagName==="p"?h=d:(h={type:"element",tagName:"p",properties:{},children:[]},r.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const d=r[l];(u||l!==0||d.type!=="element"||d.tagName!=="p")&&a.push({type:"text",value:`
|
|
72
|
+
`}),d.type==="element"&&d.tagName==="p"&&!u?a.push(...d.children):a.push(d)}const c=r[r.length-1];c&&(u||c.type!=="element"||c.tagName!=="p")&&a.push({type:"text",value:`
|
|
73
|
+
`});const f={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,f),e.applyData(t,f)}function jm(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=rl(n[r])}return t}function rl(e){const t=e.spread;return t??e.children.length>1}function zm(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 Ym(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $m(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Vm(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const vu=ul("end"),en=ul("start");function ul(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 qm(e){const t=en(e),n=vu(e);if(t&&n)return{start:t,end:n}}function Wm(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)},l=en(t.children[1]),c=vu(t.children[t.children.length-1]);l&&c&&(a.position={start:l,end:c}),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 Qm(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,l=a?a.length:t.children.length;let c=-1;const f=[];for(;++c<l;){const h=t.children[c],g={},E=a?a[c]:void 0;E&&(g.align=E);let D={type:"element",tagName:i,properties:g,children:[]};h&&(D.children=e.all(h),e.patch(h,D),D=e.applyData(h,D)),f.push(D)}const d={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,d),e.applyData(t,d)}function Gm(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const _s=9,As=32;function Xm(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),u=0;const i=[];for(;r;)i.push(ys(t.slice(u,r.index),u>0,!0),r[0]),u=r.index+r[0].length,r=n.exec(t);return i.push(ys(t.slice(u),u>0,!1)),i.join("")}function ys(e,t,n){let r=0,u=e.length;if(t){let i=e.codePointAt(r);for(;i===_s||i===As;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(u-1);for(;i===_s||i===As;)u--,i=e.codePointAt(u-1)}return u>r?e.slice(r,u):""}function Km(e,t){const n={type:"text",value:Xm(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Jm(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Zm={blockquote:km,break:Nm,code:Im,delete:Rm,emphasis:Om,footnoteReference:Lm,heading:Fm,html:vm,imageReference:wm,image:Pm,inlineCode:Bm,linkReference:Mm,link:Hm,listItem:Um,list:zm,paragraph:Ym,root:$m,strong:Vm,table:Wm,tableCell:Gm,tableRow:Qm,text:Km,thematicBreak:Jm,toml:du,yaml:du,definition:du,footnoteDefinition:du};function du(){}const il=-1,wu=0,xu=1,Su=2,ba=3,ga=4,Ta=5,_a=6,al=7,sl=8,Cs=typeof self=="object"?self:globalThis,e1=(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 wu:case il:return n(a,u);case xu:{const l=n([],u);for(const c of a)l.push(r(c));return l}case Su:{const l=n({},u);for(const[c,f]of a)l[r(c)]=r(f);return l}case ba:return n(new Date(a),u);case ga:{const{source:l,flags:c}=a;return n(new RegExp(l,c),u)}case Ta:{const l=n(new Map,u);for(const[c,f]of a)l.set(r(c),r(f));return l}case _a:{const l=n(new Set,u);for(const c of a)l.add(r(c));return l}case al:{const{name:l,message:c}=a;return n(new Cs[l](c),u)}case sl:return n(BigInt(a),u);case"BigInt":return n(Object(BigInt(a)),u)}return n(new Cs[i](a),u)};return r},Ds=e=>e1(new Map,e)(0),Xn="",{toString:t1}={},{keys:n1}=Object,Mr=e=>{const t=typeof e;if(t!=="object"||!e)return[wu,t];const n=t1.call(e).slice(8,-1);switch(n){case"Array":return[xu,Xn];case"Object":return[Su,Xn];case"Date":return[ba,Xn];case"RegExp":return[ga,Xn];case"Map":return[Ta,Xn];case"Set":return[_a,Xn]}return n.includes("Array")?[xu,n]:n.includes("Error")?[al,n]:[Su,n]},hu=([e,t])=>e===wu&&(t==="function"||t==="symbol"),r1=(e,t,n,r)=>{const u=(a,l)=>{const c=r.push(a)-1;return n.set(l,c),c},i=a=>{if(n.has(a))return n.get(a);let[l,c]=Mr(a);switch(l){case wu:{let d=a;switch(c){case"bigint":l=sl,d=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);d=null;break;case"undefined":return u([il],a)}return u([l,d],a)}case xu:{if(c)return u([c,[...a]],a);const d=[],h=u([l,d],a);for(const g of a)d.push(i(g));return h}case Su:{if(c)switch(c){case"BigInt":return u([c,a.toString()],a);case"Boolean":case"Number":case"String":return u([c,a.valueOf()],a)}if(t&&"toJSON"in a)return i(a.toJSON());const d=[],h=u([l,d],a);for(const g of n1(a))(e||!hu(Mr(a[g])))&&d.push([i(g),i(a[g])]);return h}case ba:return u([l,a.toISOString()],a);case ga:{const{source:d,flags:h}=a;return u([l,{source:d,flags:h}],a)}case Ta:{const d=[],h=u([l,d],a);for(const[g,E]of a)(e||!(hu(Mr(g))||hu(Mr(E))))&&d.push([i(g),i(E)]);return h}case _a:{const d=[],h=u([l,d],a);for(const g of a)(e||!hu(Mr(g)))&&d.push(i(g));return h}}const{message:f}=a;return u([l,{name:c,message:f}],a)};return i},xs=(e,{json:t,lossy:n}={})=>{const r=[];return r1(!(t||n),!!t,new Map,r)(e),r},bn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Ds(xs(e,t)):structuredClone(e):(e,t)=>Ds(xs(e,t));function u1(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 i1(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function a1(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||u1,r=e.options.footnoteBackLabel||i1,u=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let c=-1;for(;++c<e.footnoteOrder.length;){const f=e.footnoteById.get(e.footnoteOrder[c]);if(!f)continue;const d=e.all(f),h=String(f.identifier).toUpperCase(),g=ir(h.toLowerCase());let E=0;const D=[],w=e.footnoteCounts.get(h);for(;w!==void 0&&++E<=w;){D.length>0&&D.push({type:"text",value:" "});let M=typeof n=="string"?n:n(c,E);typeof M=="string"&&(M={type:"text",value:M}),D.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+g+(E>1?"-"+E:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(c,E),className:["data-footnote-backref"]},children:Array.isArray(M)?M:[M]})}const O=d[d.length-1];if(O&&O.type==="element"&&O.tagName==="p"){const M=O.children[O.children.length-1];M&&M.type==="text"?M.value+=" ":O.children.push({type:"text",value:" "}),O.children.push(...D)}else d.push(...D);const F={type:"element",tagName:"li",properties:{id:t+"fn-"+g},children:e.wrap(d,!0)};e.patch(f,F),l.push(F)}if(l.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...bn(a),id:"footnote-label"},children:[{type:"text",value:u}]},{type:"text",value:`
|
|
74
74
|
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:`
|
|
75
|
-
`}]}}const
|
|
75
|
+
`}]}}const qi={}.hasOwnProperty,s1={};function o1(e,t){const n=t||s1,r=new Map,u=new Map,i=new Map,a={...Zm,...n.handlers},l={all:f,applyData:c1,definitionById:r,footnoteById:u,footnoteCounts:i,footnoteOrder:[],handlers:a,one:c,options:n,patch:l1,wrap:d1};return Nt(e,function(d){if(d.type==="definition"||d.type==="footnoteDefinition"){const h=d.type==="definition"?r:u,g=String(d.identifier).toUpperCase();h.has(g)||h.set(g,d)}}),l;function c(d,h){const g=d.type,E=l.handlers[g];if(qi.call(l.handlers,g)&&E)return E(l,d,h);if(l.options.passThrough&&l.options.passThrough.includes(g)){if("children"in d){const{children:w,...O}=d,F=bn(O);return F.children=l.all(d),F}return bn(d)}return(l.options.unknownHandler||f1)(l,d,h)}function f(d){const h=[];if("children"in d){const g=d.children;let E=-1;for(;++E<g.length;){const D=l.one(g[E],d);if(D){if(E&&g[E-1].type==="break"&&(!Array.isArray(D)&&D.type==="text"&&(D.value=Ss(D.value)),!Array.isArray(D)&&D.type==="element")){const w=D.children[0];w&&w.type==="text"&&(w.value=Ss(w.value))}Array.isArray(D)?h.push(...D):h.push(D)}}}return h}}function l1(e,t){e.position&&(t.position=qm(e))}function c1(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,bn(i)),"children"in n&&n.children&&u!==null&&u!==void 0&&(n.children=u)}return n}function f1(e,t){const n=t.data||{},r="value"in t&&!(qi.call(n,"hProperties")||qi.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 d1(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
|
|
76
76
|
`});++r<e.length;)r&&n.push({type:"text",value:`
|
|
77
77
|
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
78
|
-
`}),n}function
|
|
79
|
-
`},u),a}function b1(e,t){return e&&"run"in e?async function(n,r){const u=Rs(n,{file:r,...t});await e.run(u,r)}:function(n,r){return Rs(n,{file:r,...t||e})}}function T1(e){qo(e,[/\r?\n|\r/g,_1])}function _1(){return{type:"break"}}function y1(){return function(e){T1(e)}}class uu{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}uu.prototype.property={};uu.prototype.normal={};uu.prototype.space=null;function fl(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 uu(n,r,t)}function qn(e){return e.toLowerCase()}class Mt{constructor(t,n){this.property=t,this.attribute=n}}Mt.prototype.space=null;Mt.prototype.boolean=!1;Mt.prototype.booleanish=!1;Mt.prototype.overloadedBoolean=!1;Mt.prototype.number=!1;Mt.prototype.commaSeparated=!1;Mt.prototype.spaceSeparated=!1;Mt.prototype.commaOrSpaceSeparated=!1;Mt.prototype.mustUseProperty=!1;Mt.prototype.defined=!1;let A1=0;const Ie=Wn(),et=Wn(),dl=Wn(),J=Wn(),qe=Wn(),er=Wn(),Ft=Wn();function Wn(){return 2**++A1}const zi=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ie,booleanish:et,commaOrSpaceSeparated:Ft,commaSeparated:er,number:J,overloadedBoolean:dl,spaceSeparated:qe},Symbol.toStringTag,{value:"Module"})),ki=Object.keys(zi);class ga extends Mt{constructor(t,n,r,u){let a=-1;if(super(t,n),Os(this,"space",u),typeof r=="number")for(;++a<ki.length;){const i=ki[a];Os(this,ki[a],(r&zi[i])===zi[i])}}}ga.prototype.defined=!0;function Os(e,t,n){n&&(e[t]=n)}const C1={}.hasOwnProperty;function ir(e){const t={},n={};let r;for(r in e.properties)if(C1.call(e.properties,r)){const u=e.properties[r],a=new ga(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[qn(r)]=r,n[qn(a.attribute)]=r}return new uu(t,n,e.space)}const hl=ir({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}}),pl=ir({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function ml(e,t){return t in e?e[t]:t}function El(e,t){return ml(e,t.toLowerCase())}const gl=ir({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:El,properties:{xmlns:null,xmlnsXLink:null}}),bl=ir({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:et,ariaAutoComplete:null,ariaBusy:et,ariaChecked:et,ariaColCount:J,ariaColIndex:J,ariaColSpan:J,ariaControls:qe,ariaCurrent:null,ariaDescribedBy:qe,ariaDetails:null,ariaDisabled:et,ariaDropEffect:qe,ariaErrorMessage:null,ariaExpanded:et,ariaFlowTo:qe,ariaGrabbed:et,ariaHasPopup:null,ariaHidden:et,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:qe,ariaLevel:J,ariaLive:null,ariaModal:et,ariaMultiLine:et,ariaMultiSelectable:et,ariaOrientation:null,ariaOwns:qe,ariaPlaceholder:null,ariaPosInSet:J,ariaPressed:et,ariaReadOnly:et,ariaRelevant:null,ariaRequired:et,ariaRoleDescription:qe,ariaRowCount:J,ariaRowIndex:J,ariaRowSpan:J,ariaSelected:et,ariaSetSize:J,ariaSort:null,ariaValueMax:J,ariaValueMin:J,ariaValueNow:J,ariaValueText:null,role:null}}),D1=ir({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:El,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:er,acceptCharset:qe,accessKey:qe,action:null,allow:null,allowFullScreen:Ie,allowPaymentRequest:Ie,allowUserMedia:Ie,alt:null,as:null,async:Ie,autoCapitalize:null,autoComplete:qe,autoFocus:Ie,autoPlay:Ie,blocking:qe,capture:null,charSet:null,checked:Ie,cite:null,className:qe,cols:J,colSpan:null,content:null,contentEditable:et,controls:Ie,controlsList:qe,coords:J|er,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ie,defer:Ie,dir:null,dirName:null,disabled:Ie,download:dl,draggable:et,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ie,formTarget:null,headers:qe,height:J,hidden:Ie,high:J,href:null,hrefLang:null,htmlFor:qe,httpEquiv:qe,id:null,imageSizes:null,imageSrcSet:null,inert:Ie,inputMode:null,integrity:null,is:null,isMap:Ie,itemId:null,itemProp:qe,itemRef:qe,itemScope:Ie,itemType:qe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ie,low:J,manifest:null,max:null,maxLength:J,media:null,method:null,min:null,minLength:J,multiple:Ie,muted:Ie,name:null,nonce:null,noModule:Ie,noValidate:Ie,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:Ie,optimum:J,pattern:null,ping:qe,placeholder:null,playsInline:Ie,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ie,referrerPolicy:null,rel:qe,required:Ie,reversed:Ie,rows:J,rowSpan:J,sandbox:qe,scope:null,scoped:Ie,seamless:Ie,selected:Ie,shadowRootClonable:Ie,shadowRootDelegatesFocus:Ie,shadowRootMode:null,shape:null,size:J,sizes:null,slot:null,span:J,spellCheck:et,src:null,srcDoc:null,srcLang:null,srcSet:null,start:J,step:null,style:null,tabIndex:J,target:null,title:null,translate:null,type:null,typeMustMatch:Ie,useMap:null,value:et,width:J,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:qe,axis:null,background:null,bgColor:null,border:J,borderColor:null,bottomMargin:J,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ie,declare:Ie,event:null,face:null,frame:null,frameBorder:null,hSpace:J,leftMargin:J,link:null,longDesc:null,lowSrc:null,marginHeight:J,marginWidth:J,noResize:Ie,noHref:Ie,noShade:Ie,noWrap:Ie,object:null,profile:null,prompt:null,rev:null,rightMargin:J,rules:null,scheme:null,scrolling:et,standby:null,summary:null,text:null,topMargin:J,valueType:null,version:null,vAlign:null,vLink:null,vSpace:J,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ie,disableRemotePlayback:Ie,prefix:null,property:null,results:J,security:null,unselectable:null}}),x1=ir({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:ml,properties:{about:Ft,accentHeight:J,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:J,amplitude:J,arabicForm:null,ascent:J,attributeName:null,attributeType:null,azimuth:J,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:J,by:null,calcMode:null,capHeight:J,className:qe,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:J,diffuseConstant:J,direction:null,display:null,dur:null,divisor:J,dominantBaseline:null,download:Ie,dx:null,dy:null,edgeMode:null,editable:null,elevation:J,enableBackground:null,end:null,event:null,exponent:J,externalResourcesRequired:null,fill:null,fillOpacity:J,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:er,g2:er,glyphName:er,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:J,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:J,horizOriginX:J,horizOriginY:J,id:null,ideographic:J,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:J,k:J,k1:J,k2:J,k3:J,k4:J,kernelMatrix:Ft,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:J,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:J,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:J,overlineThickness:J,paintOrder:null,panose1:null,path:null,pathLength:J,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:qe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:J,pointsAtY:J,pointsAtZ:J,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ft,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ft,rev:Ft,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ft,requiredFeatures:Ft,requiredFonts:Ft,requiredFormats:Ft,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:J,specularExponent:J,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:J,strikethroughThickness:J,string:null,stroke:null,strokeDashArray:Ft,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:J,strokeOpacity:J,strokeWidth:null,style:null,surfaceScale:J,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ft,tabIndex:J,tableValues:null,target:null,targetX:J,targetY:J,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ft,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:J,underlineThickness:J,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:J,values:null,vAlphabetic:J,vMathematical:J,vectorEffect:null,vHanging:J,vIdeographic:J,version:null,vertAdvY:J,vertOriginX:J,vertOriginY:J,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:J,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),S1=/^data[-\w.:]+$/i,Ls=/-[a-z]/g,N1=/[A-Z]/g;function iu(e,t){const n=qn(t);let r=t,u=Mt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&S1.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Ls,I1);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Ls.test(a)){let i=a.replace(N1,k1);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}u=ga}return new u(r,t)}function k1(e){return"-"+e.toLowerCase()}function I1(e){return e.charAt(1).toUpperCase()}const R1={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"},ar=fl([pl,hl,gl,bl,D1],"html"),Tn=fl([pl,hl,gl,bl,x1],"svg");function Su(e){const t=[],n=String(e||"");let r=n.indexOf(","),u=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const i=n.slice(u,r).trim();(i||!a)&&t.push(i),u=r+1,r=n.indexOf(",",u)}return t}function Tl(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Fs=/[#.]/g;function _l(e,t){const n=e||"",r={};let u=0,a,i;for(;u<n.length;){Fs.lastIndex=u;const l=Fs.exec(n),c=n.slice(u,l?l.index:n.length);c&&(a?a==="#"?r.id=c:Array.isArray(r.className)?r.className.push(c):r.className=[c]:i=c,u+=c.length),l&&(a=l[0],u++)}return{type:"element",tagName:i||t||"div",properties:r,children:[]}}function Jr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function yl(e){return e.join(" ").trim()}const O1=new Set(["button","menu","reset","submit"]),Yi={}.hasOwnProperty;function Al(e,t,n){const r=n&&w1(n);function u(a,i,...l){let c=-1,f;if(a==null){f={type:"root",children:[]};const d=i;l.unshift(d)}else if(f=_l(a,t),f.tagName=f.tagName.toLowerCase(),r&&Yi.call(r,f.tagName)&&(f.tagName=r[f.tagName]),L1(i,f.tagName)){let d;for(d in i)Yi.call(i,d)&&F1(e,f.properties,d,i[d])}else l.unshift(i);for(;++c<l.length;)$i(f.children,l[c]);return f.type==="element"&&f.tagName==="template"&&(f.content={type:"root",children:f.children},f.children=[]),f}return u}function L1(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"?O1.has(e.type.toLowerCase()):!("value"in e)}function F1(e,t,n,r){const u=iu(e,n);let a=-1,i;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;i=r}else typeof r=="boolean"?i=r:typeof r=="string"?u.spaceSeparated?i=Jr(r):u.commaSeparated?i=Su(r):u.commaOrSpaceSeparated?i=Jr(Su(r).join(" ")):i=vs(u,u.property,r):Array.isArray(r)?i=r.concat():i=u.property==="style"?v1(r):String(r);if(Array.isArray(i)){const l=[];for(;++a<i.length;){const c=vs(u,u.property,i[a]);l[a]=c}i=l}if(u.property==="className"&&Array.isArray(t.className)){const l=i;i=t.className.concat(l)}t[u.property]=i}}function $i(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;)$i(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?$i(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function vs(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||qn(n)===qn(t)))return!0}return n}function v1(e){const t=[];let n;for(n in e)Yi.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function w1(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const P1=["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"],B1=Al(ar,"div"),M1=Al(Tn,"g",P1);function H1(e){const t=String(e),n=[];return{toOffset:u,toPoint:r};function r(a){if(typeof a=="number"&&a>-1&&a<=t.length){let i=0;for(;;){let l=n[i];if(l===void 0){const c=ws(t,n[i-1]);l=c===-1?t.length+1:c+1,n[i]=l}if(l>a)return{line:i+1,column:a-(i>0?n[i-1]:0)+1,offset:a};i++}}}function u(a){if(a&&typeof a.line=="number"&&typeof a.column=="number"&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;n.length<a.line;){const l=n[n.length-1],c=ws(t,l),f=c===-1?t.length+1:c+1;if(l===f)break;n.push(f)}const i=(a.line>1?n[a.line-2]:0)+a.column-1;if(i<n[a.line-1])return i}}}function ws(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
80
|
-
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const $n={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/"},Cl={}.hasOwnProperty,U1=Object.prototype;function j1(e,t){const n=t||{};return ba({file:n.file||void 0,location:!1,schema:n.space==="svg"?Tn:ar,verbose:n.verbose||!1},e)}function ba(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},bu(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:Dl(e,t.childNodes),data:{quirksMode:u}},e.file&&e.location){const a=String(e.file),i=H1(a),l=i.toPoint(0),c=i.toPoint(a.length);n.position={start:l,end:c}}return n}case"#documentType":{const r=t;return n={type:"doctype"},bu(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},bu(e,r,n),n}default:return n=z1(e,t),n}}function Dl(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=ba(e,t[n]);r.push(u)}return r}function z1(e,t){const n=e.schema;e.schema=t.namespaceURI===$n.svg?Tn:ar;let r=-1;const u={};for(;++r<t.attrs.length;){const l=t.attrs[r],c=(l.prefix?l.prefix+":":"")+l.name;Cl.call(U1,c)||(u[c]=l.value)}const i=(e.schema.space==="svg"?M1:B1)(t.tagName,u,Dl(e,t.childNodes));if(bu(e,t,i),i.tagName==="template"){const l=t,c=l.sourceCodeLocation,f=c&&c.startTag&&Zn(c.startTag),d=c&&c.endTag&&Zn(c.endTag),m=ba(e,l.content);f&&d&&e.file&&(m.position={start:f.end,end:d.start}),i.content=m}return e.schema=n,i}function bu(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=Y1(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function Y1(e,t,n){const r=Zn(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 a={};let i;if(n.attrs)for(i in n.attrs)Cl.call(n.attrs,i)&&(a[iu(e.schema,i).property]=Zn(n.attrs[i]));n.startTag;const l=Zn(n.startTag),c=n.endTag?Zn(n.endTag):void 0,f={opening:l};c&&(f.closing=c),f.properties=a,t.data={position:f}}}return r}function Zn(e){const t=Ps({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Ps({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Ps(e){return e.line&&e.column?e:void 0}const $1={},V1={}.hasOwnProperty,xl=ta("type",{handlers:{root:W1,element:J1,text:X1,comment:K1,doctype:G1}});function q1(e,t){const r=(t||$1).space;return xl(e,r==="svg"?Tn:ar)}function W1(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Ta(e.children,n,t),sr(e,n),n}function Q1(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Ta(e.children,n,t),sr(e,n),n}function G1(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return sr(e,t),t}function X1(e){const t={nodeName:"#text",value:e.value,parentNode:null};return sr(e,t),t}function K1(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return sr(e,t),t}function J1(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=Tn);const u=[];let a;if(e.properties){for(a in e.properties)if(a!=="children"&&V1.call(e.properties,a)){const c=Z1(r,a,e.properties[a]);c&&u.push(c)}}const i=r.space,l={nodeName:e.tagName,tagName:e.tagName,attrs:u,namespaceURI:$n[i],childNodes:[],parentNode:null};return l.childNodes=Ta(e.children,l,r),sr(e,l),e.tagName==="template"&&e.content&&(l.content=Q1(e.content,r)),l}function Z1(e,t,n){const r=iu(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?Tl(n):yl(n));const u={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const a=u.name.indexOf(":");a<0?u.prefix="":(u.name=u.name.slice(a+1),u.prefix=r.attribute.slice(0,a)),u.namespace=$n[r.space]}return u}function Ta(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const a=xl(e[r],n);a.parentNode=t,u.push(a)}return u}function sr(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 eE=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],tE=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 g;(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"})(g=g||(g={}));const St={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Sl(e){return e>=55296&&e<=57343}function nE(e){return e>=56320&&e<=57343}function rE(e,t){return(e-55296)*1024+9216+t}function Nl(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function kl(e){return e>=64976&&e<=65007||tE.has(e)}var H;(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"})(H=H||(H={}));const uE=65536;class iE{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=uE,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(nE(n))return this.pos++,this._addGap(),rE(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,g.EOF;return this._err(H.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,g.EOF;const r=this.html.charCodeAt(n);return r===g.CARRIAGE_RETURN?g.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,g.EOF;let t=this.html.charCodeAt(this.pos);return t===g.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,g.LINE_FEED):t===g.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Sl(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===g.LINE_FEED||t===g.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Nl(t)?this._err(H.controlCharacterInInputStream):kl(t)&&this._err(H.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Fe;(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"})(Fe=Fe||(Fe={}));function Il(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 yn=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))),aE=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Ii;const sE=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]]),oE=(Ii=String.fromCodePoint)!==null&&Ii!==void 0?Ii: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 lE(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=sE.get(e))!==null&&t!==void 0?t:e}var at;(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"})(at||(at={}));const cE=32;var Kt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Kt||(Kt={}));function Vi(e){return e>=at.ZERO&&e<=at.NINE}function fE(e){return e>=at.UPPER_A&&e<=at.UPPER_F||e>=at.LOWER_A&&e<=at.LOWER_F}function dE(e){return e>=at.UPPER_A&&e<=at.UPPER_Z||e>=at.LOWER_A&&e<=at.LOWER_Z||Vi(e)}function hE(e){return e===at.EQUALS||dE(e)}var it;(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"})(it||(it={}));var zn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(zn||(zn={}));class pE{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=it.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=zn.Strict}startEntity(t){this.decodeMode=t,this.state=it.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case it.EntityStart:return t.charCodeAt(n)===at.NUM?(this.state=it.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=it.NamedEntity,this.stateNamedEntity(t,n));case it.NumericStart:return this.stateNumericStart(t,n);case it.NumericDecimal:return this.stateNumericDecimal(t,n);case it.NumericHex:return this.stateNumericHex(t,n);case it.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|cE)===at.LOWER_X?(this.state=it.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=it.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,u){if(n!==r){const a=r-n;this.result=this.result*Math.pow(u,a)+parseInt(t.substr(n,a),u),this.consumed+=a}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const u=t.charCodeAt(n);if(Vi(u)||fE(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(Vi(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===at.SEMI)this.consumed+=1;else if(this.decodeMode===zn.Strict)return 0;return this.emitCodePoint(lE(this.result),this.consumed),this.errors&&(t!==at.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let u=r[this.treeIndex],a=(u&Kt.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const i=t.charCodeAt(n);if(this.treeIndex=Ol(r,u,this.treeIndex+Math.max(1,a),i),this.treeIndex<0)return this.result===0||this.decodeMode===zn.Attribute&&(a===0||hE(i))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],a=(u&Kt.VALUE_LENGTH)>>14,a!==0){if(i===at.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==zn.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]&Kt.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]&~Kt.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case it.NamedEntity:return this.result!==0&&(this.decodeMode!==zn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case it.NumericDecimal:return this.emitNumericEntity(0,2);case it.NumericHex:return this.emitNumericEntity(0,3);case it.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case it.EntityStart:return 0}}}function Rl(e){let t="";const n=new pE(e,r=>t+=oE(r));return function(u,a){let i=0,l=0;for(;(l=u.indexOf("&",l))>=0;){t+=u.slice(i,l),n.startEntity(a);const f=n.write(u,l+1);if(f<0){i=l+n.end();break}i=l+f,l=f===0?i+1:i}const c=t+u.slice(i);return t="",c}}function Ol(e,t,n,r){const u=(t&Kt.BRANCH_LENGTH)>>7,a=t&Kt.JUMP_TABLE;if(u===0)return a!==0&&r===a?n:-1;if(a){const c=r-a;return c<0||c>=u?-1:e[n+c]-1}let i=n,l=i+u-1;for(;i<=l;){const c=i+l>>>1,f=e[c];if(f<r)i=c+1;else if(f>r)l=c-1;else return e[c+u]}return-1}Rl(yn);Rl(aE);var $;(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/"})($=$||($={}));var Cn;(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"})(Cn=Cn||(Cn={}));var vt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(vt=vt||(vt={}));var v;(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"})(v=v||(v={}));var o;(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"})(o=o||(o={}));const mE=new Map([[v.A,o.A],[v.ADDRESS,o.ADDRESS],[v.ANNOTATION_XML,o.ANNOTATION_XML],[v.APPLET,o.APPLET],[v.AREA,o.AREA],[v.ARTICLE,o.ARTICLE],[v.ASIDE,o.ASIDE],[v.B,o.B],[v.BASE,o.BASE],[v.BASEFONT,o.BASEFONT],[v.BGSOUND,o.BGSOUND],[v.BIG,o.BIG],[v.BLOCKQUOTE,o.BLOCKQUOTE],[v.BODY,o.BODY],[v.BR,o.BR],[v.BUTTON,o.BUTTON],[v.CAPTION,o.CAPTION],[v.CENTER,o.CENTER],[v.CODE,o.CODE],[v.COL,o.COL],[v.COLGROUP,o.COLGROUP],[v.DD,o.DD],[v.DESC,o.DESC],[v.DETAILS,o.DETAILS],[v.DIALOG,o.DIALOG],[v.DIR,o.DIR],[v.DIV,o.DIV],[v.DL,o.DL],[v.DT,o.DT],[v.EM,o.EM],[v.EMBED,o.EMBED],[v.FIELDSET,o.FIELDSET],[v.FIGCAPTION,o.FIGCAPTION],[v.FIGURE,o.FIGURE],[v.FONT,o.FONT],[v.FOOTER,o.FOOTER],[v.FOREIGN_OBJECT,o.FOREIGN_OBJECT],[v.FORM,o.FORM],[v.FRAME,o.FRAME],[v.FRAMESET,o.FRAMESET],[v.H1,o.H1],[v.H2,o.H2],[v.H3,o.H3],[v.H4,o.H4],[v.H5,o.H5],[v.H6,o.H6],[v.HEAD,o.HEAD],[v.HEADER,o.HEADER],[v.HGROUP,o.HGROUP],[v.HR,o.HR],[v.HTML,o.HTML],[v.I,o.I],[v.IMG,o.IMG],[v.IMAGE,o.IMAGE],[v.INPUT,o.INPUT],[v.IFRAME,o.IFRAME],[v.KEYGEN,o.KEYGEN],[v.LABEL,o.LABEL],[v.LI,o.LI],[v.LINK,o.LINK],[v.LISTING,o.LISTING],[v.MAIN,o.MAIN],[v.MALIGNMARK,o.MALIGNMARK],[v.MARQUEE,o.MARQUEE],[v.MATH,o.MATH],[v.MENU,o.MENU],[v.META,o.META],[v.MGLYPH,o.MGLYPH],[v.MI,o.MI],[v.MO,o.MO],[v.MN,o.MN],[v.MS,o.MS],[v.MTEXT,o.MTEXT],[v.NAV,o.NAV],[v.NOBR,o.NOBR],[v.NOFRAMES,o.NOFRAMES],[v.NOEMBED,o.NOEMBED],[v.NOSCRIPT,o.NOSCRIPT],[v.OBJECT,o.OBJECT],[v.OL,o.OL],[v.OPTGROUP,o.OPTGROUP],[v.OPTION,o.OPTION],[v.P,o.P],[v.PARAM,o.PARAM],[v.PLAINTEXT,o.PLAINTEXT],[v.PRE,o.PRE],[v.RB,o.RB],[v.RP,o.RP],[v.RT,o.RT],[v.RTC,o.RTC],[v.RUBY,o.RUBY],[v.S,o.S],[v.SCRIPT,o.SCRIPT],[v.SECTION,o.SECTION],[v.SELECT,o.SELECT],[v.SOURCE,o.SOURCE],[v.SMALL,o.SMALL],[v.SPAN,o.SPAN],[v.STRIKE,o.STRIKE],[v.STRONG,o.STRONG],[v.STYLE,o.STYLE],[v.SUB,o.SUB],[v.SUMMARY,o.SUMMARY],[v.SUP,o.SUP],[v.TABLE,o.TABLE],[v.TBODY,o.TBODY],[v.TEMPLATE,o.TEMPLATE],[v.TEXTAREA,o.TEXTAREA],[v.TFOOT,o.TFOOT],[v.TD,o.TD],[v.TH,o.TH],[v.THEAD,o.THEAD],[v.TITLE,o.TITLE],[v.TR,o.TR],[v.TRACK,o.TRACK],[v.TT,o.TT],[v.U,o.U],[v.UL,o.UL],[v.SVG,o.SVG],[v.VAR,o.VAR],[v.WBR,o.WBR],[v.XMP,o.XMP]]);function or(e){var t;return(t=mE.get(e))!==null&&t!==void 0?t:o.UNKNOWN}const G=o,EE={[$.HTML]:new Set([G.ADDRESS,G.APPLET,G.AREA,G.ARTICLE,G.ASIDE,G.BASE,G.BASEFONT,G.BGSOUND,G.BLOCKQUOTE,G.BODY,G.BR,G.BUTTON,G.CAPTION,G.CENTER,G.COL,G.COLGROUP,G.DD,G.DETAILS,G.DIR,G.DIV,G.DL,G.DT,G.EMBED,G.FIELDSET,G.FIGCAPTION,G.FIGURE,G.FOOTER,G.FORM,G.FRAME,G.FRAMESET,G.H1,G.H2,G.H3,G.H4,G.H5,G.H6,G.HEAD,G.HEADER,G.HGROUP,G.HR,G.HTML,G.IFRAME,G.IMG,G.INPUT,G.LI,G.LINK,G.LISTING,G.MAIN,G.MARQUEE,G.MENU,G.META,G.NAV,G.NOEMBED,G.NOFRAMES,G.NOSCRIPT,G.OBJECT,G.OL,G.P,G.PARAM,G.PLAINTEXT,G.PRE,G.SCRIPT,G.SECTION,G.SELECT,G.SOURCE,G.STYLE,G.SUMMARY,G.TABLE,G.TBODY,G.TD,G.TEMPLATE,G.TEXTAREA,G.TFOOT,G.TH,G.THEAD,G.TITLE,G.TR,G.TRACK,G.UL,G.WBR,G.XMP]),[$.MATHML]:new Set([G.MI,G.MO,G.MN,G.MS,G.MTEXT,G.ANNOTATION_XML]),[$.SVG]:new Set([G.TITLE,G.FOREIGN_OBJECT,G.DESC]),[$.XLINK]:new Set,[$.XML]:new Set,[$.XMLNS]:new Set};function Ll(e){return e===G.H1||e===G.H2||e===G.H3||e===G.H4||e===G.H5||e===G.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;const gE=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 y;(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"})(y||(y={}));const Je={DATA:y.DATA,RCDATA:y.RCDATA,RAWTEXT:y.RAWTEXT,SCRIPT_DATA:y.SCRIPT_DATA,PLAINTEXT:y.PLAINTEXT,CDATA_SECTION:y.CDATA_SECTION};function $r(e){return e>=g.DIGIT_0&&e<=g.DIGIT_9}function zr(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_Z}function bE(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_Z}function An(e){return bE(e)||zr(e)}function qi(e){return An(e)||$r(e)}function Fl(e){return e>=g.LATIN_CAPITAL_A&&e<=g.LATIN_CAPITAL_F}function vl(e){return e>=g.LATIN_SMALL_A&&e<=g.LATIN_SMALL_F}function TE(e){return $r(e)||Fl(e)||vl(e)}function du(e){return e+32}function wl(e){return e===g.SPACE||e===g.LINE_FEED||e===g.TABULATION||e===g.FORM_FEED}function _E(e){return e===g.EQUALS_SIGN||qi(e)}function Bs(e){return wl(e)||e===g.SOLIDUS||e===g.GREATER_THAN_SIGN}class yE{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=y.DATA,this.returnState=y.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new iE(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:Fe.START_TAG,tagName:"",tagID:o.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Fe.END_TAG,tagName:"",tagID:o.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Fe.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Fe.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(Il(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(H.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=or(t.tagName),t.type===Fe.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(H.endTagWithAttributes),t.selfClosing&&this._err(H.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 Fe.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Fe.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Fe.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:Fe.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=wl(t)?Fe.WHITESPACE_CHARACTER:t===g.NULL?Fe.NULL_CHARACTER:Fe.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Fe.CHARACTER,t)}_matchNamedCharacterReference(t){let n=null,r=0,u=!1;for(let a=0,i=yn[0];a>=0&&(a=Ol(yn,i,a+1,t),!(a<0));t=this._consume()){r+=1,i=yn[a];const l=i&Kt.VALUE_LENGTH;if(l){const c=(l>>14)-1;if(t!==g.SEMICOLON&&this._isCharacterReferenceInAttribute()&&_E(this.preprocessor.peek(1))?(n=[g.AMPERSAND],a+=c):(n=c===0?[yn[a]&~Kt.VALUE_LENGTH]:c===1?[yn[++a]]:[yn[++a],yn[++a]],r=0,u=t!==g.SEMICOLON),c===0){this._consume();break}}}return this._unconsume(r),u&&!this.preprocessor.endOfChunkHit&&this._err(H.missingSemicolonAfterCharacterReference),this._unconsume(1),n}_isCharacterReferenceInAttribute(){return this.returnState===y.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===y.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===y.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case y.DATA:{this._stateData(t);break}case y.RCDATA:{this._stateRcdata(t);break}case y.RAWTEXT:{this._stateRawtext(t);break}case y.SCRIPT_DATA:{this._stateScriptData(t);break}case y.PLAINTEXT:{this._statePlaintext(t);break}case y.TAG_OPEN:{this._stateTagOpen(t);break}case y.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case y.TAG_NAME:{this._stateTagName(t);break}case y.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case y.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case y.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case y.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case y.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case y.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case y.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case y.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case y.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case y.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case y.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case y.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case y.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case y.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case y.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case y.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case y.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case y.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case y.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case y.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case y.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case y.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case y.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case y.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case y.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case y.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case y.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case y.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case y.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case y.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case y.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case y.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case y.BOGUS_COMMENT:{this._stateBogusComment(t);break}case y.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case y.COMMENT_START:{this._stateCommentStart(t);break}case y.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case y.COMMENT:{this._stateComment(t);break}case y.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case y.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case y.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case y.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case y.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case y.COMMENT_END:{this._stateCommentEnd(t);break}case y.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case y.DOCTYPE:{this._stateDoctype(t);break}case y.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case y.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case y.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case y.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case y.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case y.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case y.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case y.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case y.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case y.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case y.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case y.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case y.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case y.CDATA_SECTION:{this._stateCdataSection(t);break}case y.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case y.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case y.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case y.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case y.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case y.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case y.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case y.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case y.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case y.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case g.LESS_THAN_SIGN:{this.state=y.TAG_OPEN;break}case g.AMPERSAND:{this.returnState=y.DATA,this.state=y.CHARACTER_REFERENCE;break}case g.NULL:{this._err(H.unexpectedNullCharacter),this._emitCodePoint(t);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case g.AMPERSAND:{this.returnState=y.RCDATA,this.state=y.CHARACTER_REFERENCE;break}case g.LESS_THAN_SIGN:{this.state=y.RCDATA_LESS_THAN_SIGN;break}case g.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(Ge);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case g.LESS_THAN_SIGN:{this.state=y.RAWTEXT_LESS_THAN_SIGN;break}case g.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(Ge);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case g.LESS_THAN_SIGN:{this.state=y.SCRIPT_DATA_LESS_THAN_SIGN;break}case g.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(Ge);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case g.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(Ge);break}case g.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(An(t))this._createStartTagToken(),this.state=y.TAG_NAME,this._stateTagName(t);else switch(t){case g.EXCLAMATION_MARK:{this.state=y.MARKUP_DECLARATION_OPEN;break}case g.SOLIDUS:{this.state=y.END_TAG_OPEN;break}case g.QUESTION_MARK:{this._err(H.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=y.BOGUS_COMMENT,this._stateBogusComment(t);break}case g.EOF:{this._err(H.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(H.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=y.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(An(t))this._createEndTagToken(),this.state=y.TAG_NAME,this._stateTagName(t);else switch(t){case g.GREATER_THAN_SIGN:{this._err(H.missingEndTagName),this.state=y.DATA;break}case g.EOF:{this._err(H.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(H.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=y.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=y.BEFORE_ATTRIBUTE_NAME;break}case g.SOLIDUS:{this.state=y.SELF_CLOSING_START_TAG;break}case g.GREATER_THAN_SIGN:{this.state=y.DATA,this.emitCurrentTagToken();break}case g.NULL:{this._err(H.unexpectedNullCharacter),n.tagName+=Ge;break}case g.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(zr(t)?du(t):t)}}_stateRcdataLessThanSign(t){t===g.SOLIDUS?this.state=y.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=y.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){An(t)?(this.state=y.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=y.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 g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=y.BEFORE_ATTRIBUTE_NAME,!1;case g.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=y.SELF_CLOSING_START_TAG,!1;case g.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=y.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=y.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===g.SOLIDUS?this.state=y.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=y.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){An(t)?(this.state=y.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=y.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=y.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case g.SOLIDUS:{this.state=y.SCRIPT_DATA_END_TAG_OPEN;break}case g.EXCLAMATION_MARK:{this.state=y.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=y.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){An(t)?(this.state=y.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=y.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=y.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===g.HYPHEN_MINUS?(this.state=y.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=y.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===g.HYPHEN_MINUS?(this.state=y.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=y.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case g.HYPHEN_MINUS:{this.state=y.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=y.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case g.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(Ge);break}case g.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case g.HYPHEN_MINUS:{this.state=y.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=y.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case g.NULL:{this._err(H.unexpectedNullCharacter),this.state=y.SCRIPT_DATA_ESCAPED,this._emitChars(Ge);break}case g.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=y.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case g.HYPHEN_MINUS:{this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=y.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case g.GREATER_THAN_SIGN:{this.state=y.SCRIPT_DATA,this._emitChars(">");break}case g.NULL:{this._err(H.unexpectedNullCharacter),this.state=y.SCRIPT_DATA_ESCAPED,this._emitChars(Ge);break}case g.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=y.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===g.SOLIDUS?this.state=y.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:An(t)?(this._emitChars("<"),this.state=y.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=y.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){An(t)?(this.state=y.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=y.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=y.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(St.SCRIPT,!1)&&Bs(this.preprocessor.peek(St.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<St.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=y.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=y.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case g.HYPHEN_MINUS:{this.state=y.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=y.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case g.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(Ge);break}case g.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case g.HYPHEN_MINUS:{this.state=y.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=y.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case g.NULL:{this._err(H.unexpectedNullCharacter),this.state=y.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ge);break}case g.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=y.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case g.HYPHEN_MINUS:{this._emitChars("-");break}case g.LESS_THAN_SIGN:{this.state=y.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case g.GREATER_THAN_SIGN:{this.state=y.SCRIPT_DATA,this._emitChars(">");break}case g.NULL:{this._err(H.unexpectedNullCharacter),this.state=y.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ge);break}case g.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=y.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===g.SOLIDUS?(this.state=y.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=y.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(St.SCRIPT,!1)&&Bs(this.preprocessor.peek(St.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<St.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=y.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=y.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.SOLIDUS:case g.GREATER_THAN_SIGN:case g.EOF:{this.state=y.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case g.EQUALS_SIGN:{this._err(H.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=y.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=y.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:case g.SOLIDUS:case g.GREATER_THAN_SIGN:case g.EOF:{this._leaveAttrName(),this.state=y.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case g.EQUALS_SIGN:{this._leaveAttrName(),this.state=y.BEFORE_ATTRIBUTE_VALUE;break}case g.QUOTATION_MARK:case g.APOSTROPHE:case g.LESS_THAN_SIGN:{this._err(H.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case g.NULL:{this._err(H.unexpectedNullCharacter),this.currentAttr.name+=Ge;break}default:this.currentAttr.name+=String.fromCodePoint(zr(t)?du(t):t)}}_stateAfterAttributeName(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.SOLIDUS:{this.state=y.SELF_CLOSING_START_TAG;break}case g.EQUALS_SIGN:{this.state=y.BEFORE_ATTRIBUTE_VALUE;break}case g.GREATER_THAN_SIGN:{this.state=y.DATA,this.emitCurrentTagToken();break}case g.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=y.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:{this.state=y.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this.state=y.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(H.missingAttributeValue),this.state=y.DATA,this.emitCurrentTagToken();break}default:this.state=y.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case g.QUOTATION_MARK:{this.state=y.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case g.AMPERSAND:{this.returnState=y.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=y.CHARACTER_REFERENCE;break}case g.NULL:{this._err(H.unexpectedNullCharacter),this.currentAttr.value+=Ge;break}case g.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case g.APOSTROPHE:{this.state=y.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case g.AMPERSAND:{this.returnState=y.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=y.CHARACTER_REFERENCE;break}case g.NULL:{this._err(H.unexpectedNullCharacter),this.currentAttr.value+=Ge;break}case g.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this._leaveAttrValue(),this.state=y.BEFORE_ATTRIBUTE_NAME;break}case g.AMPERSAND:{this.returnState=y.ATTRIBUTE_VALUE_UNQUOTED,this.state=y.CHARACTER_REFERENCE;break}case g.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=y.DATA,this.emitCurrentTagToken();break}case g.NULL:{this._err(H.unexpectedNullCharacter),this.currentAttr.value+=Ge;break}case g.QUOTATION_MARK:case g.APOSTROPHE:case g.LESS_THAN_SIGN:case g.EQUALS_SIGN:case g.GRAVE_ACCENT:{this._err(H.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case g.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this._leaveAttrValue(),this.state=y.BEFORE_ATTRIBUTE_NAME;break}case g.SOLIDUS:{this._leaveAttrValue(),this.state=y.SELF_CLOSING_START_TAG;break}case g.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=y.DATA,this.emitCurrentTagToken();break}case g.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this._err(H.missingWhitespaceBetweenAttributes),this.state=y.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case g.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=y.DATA,this.emitCurrentTagToken();break}case g.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this._err(H.unexpectedSolidusInTag),this.state=y.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case g.GREATER_THAN_SIGN:{this.state=y.DATA,this.emitCurrentComment(n);break}case g.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case g.NULL:{this._err(H.unexpectedNullCharacter),n.data+=Ge;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(St.DASH_DASH,!0)?(this._createCommentToken(St.DASH_DASH.length+1),this.state=y.COMMENT_START):this._consumeSequenceIfMatch(St.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(St.DOCTYPE.length+1),this.state=y.DOCTYPE):this._consumeSequenceIfMatch(St.CDATA_START,!0)?this.inForeignNode?this.state=y.CDATA_SECTION:(this._err(H.cdataInHtmlContent),this._createCommentToken(St.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=y.BOGUS_COMMENT):this._ensureHibernation()||(this._err(H.incorrectlyOpenedComment),this._createCommentToken(2),this.state=y.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case g.HYPHEN_MINUS:{this.state=y.COMMENT_START_DASH;break}case g.GREATER_THAN_SIGN:{this._err(H.abruptClosingOfEmptyComment),this.state=y.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=y.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case g.HYPHEN_MINUS:{this.state=y.COMMENT_END;break}case g.GREATER_THAN_SIGN:{this._err(H.abruptClosingOfEmptyComment),this.state=y.DATA,this.emitCurrentComment(n);break}case g.EOF:{this._err(H.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=y.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case g.HYPHEN_MINUS:{this.state=y.COMMENT_END_DASH;break}case g.LESS_THAN_SIGN:{n.data+="<",this.state=y.COMMENT_LESS_THAN_SIGN;break}case g.NULL:{this._err(H.unexpectedNullCharacter),n.data+=Ge;break}case g.EOF:{this._err(H.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case g.EXCLAMATION_MARK:{n.data+="!",this.state=y.COMMENT_LESS_THAN_SIGN_BANG;break}case g.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=y.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===g.HYPHEN_MINUS?this.state=y.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=y.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===g.HYPHEN_MINUS?this.state=y.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=y.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==g.GREATER_THAN_SIGN&&t!==g.EOF&&this._err(H.nestedComment),this.state=y.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case g.HYPHEN_MINUS:{this.state=y.COMMENT_END;break}case g.EOF:{this._err(H.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=y.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case g.GREATER_THAN_SIGN:{this.state=y.DATA,this.emitCurrentComment(n);break}case g.EXCLAMATION_MARK:{this.state=y.COMMENT_END_BANG;break}case g.HYPHEN_MINUS:{n.data+="-";break}case g.EOF:{this._err(H.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=y.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case g.HYPHEN_MINUS:{n.data+="--!",this.state=y.COMMENT_END_DASH;break}case g.GREATER_THAN_SIGN:{this._err(H.incorrectlyClosedComment),this.state=y.DATA,this.emitCurrentComment(n);break}case g.EOF:{this._err(H.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=y.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=y.BEFORE_DOCTYPE_NAME;break}case g.GREATER_THAN_SIGN:{this.state=y.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case g.EOF:{this._err(H.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingWhitespaceBeforeDoctypeName),this.state=y.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(zr(t))this._createDoctypeToken(String.fromCharCode(du(t))),this.state=y.DOCTYPE_NAME;else switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.NULL:{this._err(H.unexpectedNullCharacter),this._createDoctypeToken(Ge),this.state=y.DOCTYPE_NAME;break}case g.GREATER_THAN_SIGN:{this._err(H.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=y.DATA;break}case g.EOF:{this._err(H.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=y.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=y.AFTER_DOCTYPE_NAME;break}case g.GREATER_THAN_SIGN:{this.state=y.DATA,this.emitCurrentDoctype(n);break}case g.NULL:{this._err(H.unexpectedNullCharacter),n.name+=Ge;break}case g.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(zr(t)?du(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:{this.state=y.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(St.PUBLIC,!1)?this.state=y.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(St.SYSTEM,!1)?this.state=y.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(H.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=y.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=y.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case g.QUOTATION_MARK:{this._err(H.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=y.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this._err(H.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=y.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(H.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=y.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:{n.publicId="",this.state=y.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{n.publicId="",this.state=y.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(H.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=y.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case g.QUOTATION_MARK:{this.state=y.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case g.NULL:{this._err(H.unexpectedNullCharacter),n.publicId+=Ge;break}case g.GREATER_THAN_SIGN:{this._err(H.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=y.DATA;break}case g.EOF:{this._err(H.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 g.APOSTROPHE:{this.state=y.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case g.NULL:{this._err(H.unexpectedNullCharacter),n.publicId+=Ge;break}case g.GREATER_THAN_SIGN:{this._err(H.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=y.DATA;break}case g.EOF:{this._err(H.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 g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=y.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case g.GREATER_THAN_SIGN:{this.state=y.DATA,this.emitCurrentDoctype(n);break}case g.QUOTATION_MARK:{this._err(H.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this._err(H.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=y.DATA;break}case g.QUOTATION_MARK:{n.systemId="",this.state=y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{n.systemId="",this.state=y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:{this.state=y.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case g.QUOTATION_MARK:{this._err(H.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{this._err(H.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(H.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=y.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.QUOTATION_MARK:{n.systemId="",this.state=y.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case g.APOSTROPHE:{n.systemId="",this.state=y.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case g.GREATER_THAN_SIGN:{this._err(H.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=y.DATA,this.emitCurrentDoctype(n);break}case g.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case g.QUOTATION_MARK:{this.state=y.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case g.NULL:{this._err(H.unexpectedNullCharacter),n.systemId+=Ge;break}case g.GREATER_THAN_SIGN:{this._err(H.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=y.DATA;break}case g.EOF:{this._err(H.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 g.APOSTROPHE:{this.state=y.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case g.NULL:{this._err(H.unexpectedNullCharacter),n.systemId+=Ge;break}case g.GREATER_THAN_SIGN:{this._err(H.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=y.DATA;break}case g.EOF:{this._err(H.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 g.SPACE:case g.LINE_FEED:case g.TABULATION:case g.FORM_FEED:break;case g.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=y.DATA;break}case g.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=y.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case g.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=y.DATA;break}case g.NULL:{this._err(H.unexpectedNullCharacter);break}case g.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case g.RIGHT_SQUARE_BRACKET:{this.state=y.CDATA_SECTION_BRACKET;break}case g.EOF:{this._err(H.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===g.RIGHT_SQUARE_BRACKET?this.state=y.CDATA_SECTION_END:(this._emitChars("]"),this.state=y.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case g.GREATER_THAN_SIGN:{this.state=y.DATA;break}case g.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=y.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(t){t===g.NUMBER_SIGN?this.state=y.NUMERIC_CHARACTER_REFERENCE:qi(t)?(this.state=y.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(t)):(this._flushCodePointConsumedAsCharacterReference(g.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(g.AMPERSAND),this.state=y.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(t){qi(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===g.SEMICOLON&&this._err(H.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,t))}_stateNumericCharacterReference(t){this.charRefCode=0,t===g.LATIN_SMALL_X||t===g.LATIN_CAPITAL_X?this.state=y.HEXADEMICAL_CHARACTER_REFERENCE_START:$r(t)?(this.state=y.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(t)):(this._err(H.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(g.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(g.NUMBER_SIGN),this._reconsumeInState(this.returnState,t))}_stateHexademicalCharacterReferenceStart(t){TE(t)?(this.state=y.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(t)):(this._err(H.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(g.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(g.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(t){Fl(t)?this.charRefCode=this.charRefCode*16+t-55:vl(t)?this.charRefCode=this.charRefCode*16+t-87:$r(t)?this.charRefCode=this.charRefCode*16+t-48:t===g.SEMICOLON?this.state=y.NUMERIC_CHARACTER_REFERENCE_END:(this._err(H.missingSemicolonAfterCharacterReference),this.state=y.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateDecimalCharacterReference(t){$r(t)?this.charRefCode=this.charRefCode*10+t-48:t===g.SEMICOLON?this.state=y.NUMERIC_CHARACTER_REFERENCE_END:(this._err(H.missingSemicolonAfterCharacterReference),this.state=y.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateNumericCharacterReferenceEnd(t){if(this.charRefCode===g.NULL)this._err(H.nullCharacterReference),this.charRefCode=g.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(H.characterReferenceOutsideUnicodeRange),this.charRefCode=g.REPLACEMENT_CHARACTER;else if(Sl(this.charRefCode))this._err(H.surrogateCharacterReference),this.charRefCode=g.REPLACEMENT_CHARACTER;else if(kl(this.charRefCode))this._err(H.noncharacterCharacterReference);else if(Nl(this.charRefCode)||this.charRefCode===g.CARRIAGE_RETURN){this._err(H.controlCharacterReference);const n=gE.get(this.charRefCode);n!==void 0&&(this.charRefCode=n)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const Pl=new Set([o.DD,o.DT,o.LI,o.OPTGROUP,o.OPTION,o.P,o.RB,o.RP,o.RT,o.RTC]),Ms=new Set([...Pl,o.CAPTION,o.COLGROUP,o.TBODY,o.TD,o.TFOOT,o.TH,o.THEAD,o.TR]),hu=new Map([[o.APPLET,$.HTML],[o.CAPTION,$.HTML],[o.HTML,$.HTML],[o.MARQUEE,$.HTML],[o.OBJECT,$.HTML],[o.TABLE,$.HTML],[o.TD,$.HTML],[o.TEMPLATE,$.HTML],[o.TH,$.HTML],[o.ANNOTATION_XML,$.MATHML],[o.MI,$.MATHML],[o.MN,$.MATHML],[o.MO,$.MATHML],[o.MS,$.MATHML],[o.MTEXT,$.MATHML],[o.DESC,$.SVG],[o.FOREIGN_OBJECT,$.SVG],[o.TITLE,$.SVG]]),AE=[o.H1,o.H2,o.H3,o.H4,o.H5,o.H6],CE=[o.TR,o.TEMPLATE,o.HTML],DE=[o.TBODY,o.TFOOT,o.THEAD,o.TEMPLATE,o.HTML],xE=[o.TABLE,o.TEMPLATE,o.HTML],SE=[o.TD,o.TH];class NE{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=o.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===o.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===$.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])!==$.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(AE,$.HTML)}popUntilTableCellPopped(){this.popUntilPopped(SE,$.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(xE,$.HTML)}clearBackToTableBodyContext(){this.clearBackTo(DE,$.HTML)}clearBackToTableRowContext(){this.clearBackTo(CE,$.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]===o.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]===o.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===$.HTML)return!0;if(hu.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(Ll(n)&&r===$.HTML)return!0;if(hu.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===$.HTML)return!0;if((r===o.UL||r===o.OL)&&u===$.HTML||hu.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===$.HTML)return!0;if(r===o.BUTTON&&u===$.HTML||hu.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])===$.HTML){if(r===t)return!0;if(r===o.TABLE||r===o.TEMPLATE||r===o.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])===$.HTML){if(n===o.TBODY||n===o.THEAD||n===o.TFOOT)return!0;if(n===o.TABLE||n===o.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])===$.HTML){if(r===t)return!0;if(r!==o.OPTION&&r!==o.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Pl.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Ms.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Ms.has(this.currentTagId);)this.pop()}}const Ri=3;var Wt;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Wt=Wt||(Wt={}));const Hs={type:Wt.Marker};class kE{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],u=n.length,a=this.treeAdapter.getTagName(t),i=this.treeAdapter.getNamespaceURI(t);for(let l=0;l<this.entries.length;l++){const c=this.entries[l];if(c.type===Wt.Marker)break;const{element:f}=c;if(this.treeAdapter.getTagName(f)===a&&this.treeAdapter.getNamespaceURI(f)===i){const d=this.treeAdapter.getAttrList(f);d.length===u&&r.push({idx:l,attrs:d})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Ri)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Ri)return;const u=new Map(n.map(i=>[i.name,i.value]));let a=0;for(let i=0;i<r.length;i++){const l=r[i];l.attrs.every(c=>u.get(c.name)===c.value)&&(a+=1,a>=Ri&&this.entries.splice(l.idx,1))}}insertMarker(){this.entries.unshift(Hs)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Wt.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Wt.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(Hs);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Wt.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Wt.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Wt.Element&&n.element===t)}}function Us(e){return{nodeName:"#text",value:e,parentNode:null}}const Jn={createDocument(){return{nodeName:"#document",mode:vt.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(a=>a.nodeName==="#documentType");if(u)u.name=t,u.publicId=n,u.systemId=r;else{const a={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Jn.appendChild(e,a)}},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(Jn.isTextNode(n)){n.value+=t;return}}Jn.appendChild(e,Us(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Jn.isTextNode(r)?r.value+=t:Jn.insertBefore(e,Us(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}}},Bl="html",IE="about:legacy-compat",RE="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Ml=["+//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//"],OE=[...Ml,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],LE=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Hl=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],FE=[...Hl,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function js(e,t){return t.some(n=>e.startsWith(n))}function vE(e){return e.name===Bl&&e.publicId===null&&(e.systemId===null||e.systemId===IE)}function wE(e){if(e.name!==Bl)return vt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===RE)return vt.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),LE.has(n))return vt.QUIRKS;let r=t===null?OE:Ml;if(js(n,r))return vt.QUIRKS;if(r=t===null?Hl:FE,js(n,r))return vt.LIMITED_QUIRKS}return vt.NO_QUIRKS}const zs={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},PE="definitionurl",BE="definitionURL",ME=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])),HE=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:$.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:$.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:$.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:$.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:$.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:$.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:$.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:$.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:$.XML}],["xml:space",{prefix:"xml",name:"space",namespace:$.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:$.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:$.XMLNS}]]),UE=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])),jE=new Set([o.B,o.BIG,o.BLOCKQUOTE,o.BODY,o.BR,o.CENTER,o.CODE,o.DD,o.DIV,o.DL,o.DT,o.EM,o.EMBED,o.H1,o.H2,o.H3,o.H4,o.H5,o.H6,o.HEAD,o.HR,o.I,o.IMG,o.LI,o.LISTING,o.MENU,o.META,o.NOBR,o.OL,o.P,o.PRE,o.RUBY,o.S,o.SMALL,o.SPAN,o.STRONG,o.STRIKE,o.SUB,o.SUP,o.TABLE,o.TT,o.U,o.UL,o.VAR]);function zE(e){const t=e.tagID;return t===o.FONT&&e.attrs.some(({name:r})=>r===Cn.COLOR||r===Cn.SIZE||r===Cn.FACE)||jE.has(t)}function Ul(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===PE){e.attrs[t].name=BE;break}}function jl(e){for(let t=0;t<e.attrs.length;t++){const n=ME.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function _a(e){for(let t=0;t<e.attrs.length;t++){const n=HE.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 YE(e){const t=UE.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=or(e.tagName))}function $E(e,t){return t===$.MATHML&&(e===o.MI||e===o.MO||e===o.MN||e===o.MS||e===o.MTEXT)}function VE(e,t,n){if(t===$.MATHML&&e===o.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Cn.ENCODING){const u=n[r].value.toLowerCase();return u===zs.TEXT_HTML||u===zs.APPLICATION_XML}}return t===$.SVG&&(e===o.FOREIGN_OBJECT||e===o.DESC||e===o.TITLE)}function qE(e,t,n,r){return(!r||r===$.HTML)&&VE(e,t,n)||(!r||r===$.MATHML)&&$E(e,t)}const WE="hidden",QE=8,GE=3;var x;(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"})(x||(x={}));const XE={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},zl=new Set([o.TABLE,o.TBODY,o.TFOOT,o.THEAD,o.TR]),Ys={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Jn,onParseError:null};class $s{constructor(t,n,r=null,u=null){this.fragmentContext=r,this.scriptHandler=u,this.currentToken=null,this.stopped=!1,this.insertionMode=x.INITIAL,this.originalInsertionMode=x.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={...Ys,...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 yE(this.options,this),this.activeFormattingElements=new kE(this.treeAdapter),this.fragmentContextID=r?or(this.treeAdapter.getTagName(r)):o.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new NE(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={...Ys,...n};t??(t=r.treeAdapter.createElement(v.TEMPLATE,$.HTML,[]));const u=r.treeAdapter.createElement("documentmock",$.HTML,[]),a=new this(r,u,t);return a.fragmentContextID===o.TEMPLATE&&a.tmplInsertionModeStack.unshift(x.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}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 a=(u=t.location)!==null&&u!==void 0?u:XE,i={code:n,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:r?a.startLine:a.endLine,endCol:r?a.startCol:a.endCol,endOffset:r?a.startOffset:a.endOffset};this.onParseError(i)}onItemPush(t,n,r){var u,a;(a=(u=this.treeAdapter).onItemPush)===null||a===void 0||a.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 a,i;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,i=this.fragmentContextID):{current:a,currentTagId:i}=this.openElements,this._setContextModes(a,i)}}_setContextModes(t,n){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===$.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,$.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=x.TEXT}switchToPlaintextParsing(){this.insertionMode=x.TEXT,this.originalInsertionMode=x.IN_BODY,this.tokenizer.state=Je.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)===v.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==$.HTML))switch(this.fragmentContextID){case o.TITLE:case o.TEXTAREA:{this.tokenizer.state=Je.RCDATA;break}case o.STYLE:case o.XMP:case o.IFRAME:case o.NOEMBED:case o.NOFRAMES:case o.NOSCRIPT:{this.tokenizer.state=Je.RAWTEXT;break}case o.SCRIPT:{this.tokenizer.state=Je.SCRIPT_DATA;break}case o.PLAINTEXT:{this.tokenizer.state=Je.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 i=this.treeAdapter.getChildNodes(this.document).find(l=>this.treeAdapter.isDocumentTypeNode(l));i&&this.treeAdapter.setNodeSourceCodeLocation(i,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,$.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,$.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(v.HTML,$.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,o.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),a=r?u.lastIndexOf(r):u.length,i=u[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:c,endCol:f,endOffset:d}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:c,endCol:f,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,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),a=n.type===Fe.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,a)}}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===o.SVG&&this.treeAdapter.getTagName(n)===v.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===$.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===o.MGLYPH||t.tagID===o.MALIGNMARK)&&!this._isIntegrationPoint(r,n,$.HTML)}_processToken(t){switch(t.type){case Fe.CHARACTER:{this.onCharacter(t);break}case Fe.NULL_CHARACTER:{this.onNullCharacter(t);break}case Fe.COMMENT:{this.onComment(t);break}case Fe.DOCTYPE:{this.onDoctype(t);break}case Fe.START_TAG:{this._processStartTag(t);break}case Fe.END_TAG:{this.onEndTag(t);break}case Fe.EOF:{this.onEof(t);break}case Fe.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const u=this.treeAdapter.getNamespaceURI(n),a=this.treeAdapter.getAttrList(n);return qE(t,u,a,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(u=>u.type===Wt.Marker||this.openElements.contains(u.element)),r=n<0?t-1:n-1;for(let u=r;u>=0;u--){const a=this.activeFormattingElements.entries[u];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=x.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(o.P),this.openElements.popUntilTagNamePopped(o.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case o.TR:{this.insertionMode=x.IN_ROW;return}case o.TBODY:case o.THEAD:case o.TFOOT:{this.insertionMode=x.IN_TABLE_BODY;return}case o.CAPTION:{this.insertionMode=x.IN_CAPTION;return}case o.COLGROUP:{this.insertionMode=x.IN_COLUMN_GROUP;return}case o.TABLE:{this.insertionMode=x.IN_TABLE;return}case o.BODY:{this.insertionMode=x.IN_BODY;return}case o.FRAMESET:{this.insertionMode=x.IN_FRAMESET;return}case o.SELECT:{this._resetInsertionModeForSelect(t);return}case o.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case o.HTML:{this.insertionMode=this.headElement?x.AFTER_HEAD:x.BEFORE_HEAD;return}case o.TD:case o.TH:{if(t>0){this.insertionMode=x.IN_CELL;return}break}case o.HEAD:{if(t>0){this.insertionMode=x.IN_HEAD;return}break}}this.insertionMode=x.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===o.TEMPLATE)break;if(r===o.TABLE){this.insertionMode=x.IN_SELECT_IN_TABLE;return}}this.insertionMode=x.IN_SELECT}_isElementCausesFosterParenting(t){return zl.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 o.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===$.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case o.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 EE[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Sb(this,t);return}switch(this.insertionMode){case x.INITIAL:{Mr(this,t);break}case x.BEFORE_HTML:{Vr(this,t);break}case x.BEFORE_HEAD:{qr(this,t);break}case x.IN_HEAD:{Wr(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Qr(this,t);break}case x.AFTER_HEAD:{Gr(this,t);break}case x.IN_BODY:case x.IN_CAPTION:case x.IN_CELL:case x.IN_TEMPLATE:{$l(this,t);break}case x.TEXT:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{Oi(this,t);break}case x.IN_TABLE_TEXT:{Xl(this,t);break}case x.IN_COLUMN_GROUP:{Nu(this,t);break}case x.AFTER_BODY:{ku(this,t);break}case x.AFTER_AFTER_BODY:{Tu(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){xb(this,t);return}switch(this.insertionMode){case x.INITIAL:{Mr(this,t);break}case x.BEFORE_HTML:{Vr(this,t);break}case x.BEFORE_HEAD:{qr(this,t);break}case x.IN_HEAD:{Wr(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Qr(this,t);break}case x.AFTER_HEAD:{Gr(this,t);break}case x.TEXT:{this._insertCharacters(t);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{Oi(this,t);break}case x.IN_COLUMN_GROUP:{Nu(this,t);break}case x.AFTER_BODY:{ku(this,t);break}case x.AFTER_AFTER_BODY:{Tu(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Wi(this,t);return}switch(this.insertionMode){case x.INITIAL:case x.BEFORE_HTML:case x.BEFORE_HEAD:case x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:case x.IN_BODY:case x.IN_TABLE:case x.IN_CAPTION:case x.IN_COLUMN_GROUP:case x.IN_TABLE_BODY:case x.IN_ROW:case x.IN_CELL:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:case x.IN_TEMPLATE:case x.IN_FRAMESET:case x.AFTER_FRAMESET:{Wi(this,t);break}case x.IN_TABLE_TEXT:{Hr(this,t);break}case x.AFTER_BODY:{rg(this,t);break}case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{ug(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case x.INITIAL:{ig(this,t);break}case x.BEFORE_HEAD:case x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:{this._err(t,H.misplacedDoctype);break}case x.IN_TABLE_TEXT:{Hr(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,H.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Nb(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case x.INITIAL:{Mr(this,t);break}case x.BEFORE_HTML:{ag(this,t);break}case x.BEFORE_HEAD:{og(this,t);break}case x.IN_HEAD:{Gt(this,t);break}case x.IN_HEAD_NO_SCRIPT:{fg(this,t);break}case x.AFTER_HEAD:{hg(this,t);break}case x.IN_BODY:{gt(this,t);break}case x.IN_TABLE:{tr(this,t);break}case x.IN_TABLE_TEXT:{Hr(this,t);break}case x.IN_CAPTION:{lb(this,t);break}case x.IN_COLUMN_GROUP:{Ca(this,t);break}case x.IN_TABLE_BODY:{Bu(this,t);break}case x.IN_ROW:{Mu(this,t);break}case x.IN_CELL:{db(this,t);break}case x.IN_SELECT:{Zl(this,t);break}case x.IN_SELECT_IN_TABLE:{pb(this,t);break}case x.IN_TEMPLATE:{Eb(this,t);break}case x.AFTER_BODY:{bb(this,t);break}case x.IN_FRAMESET:{Tb(this,t);break}case x.AFTER_FRAMESET:{yb(this,t);break}case x.AFTER_AFTER_BODY:{Cb(this,t);break}case x.AFTER_AFTER_FRAMESET:{Db(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?kb(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case x.INITIAL:{Mr(this,t);break}case x.BEFORE_HTML:{sg(this,t);break}case x.BEFORE_HEAD:{lg(this,t);break}case x.IN_HEAD:{cg(this,t);break}case x.IN_HEAD_NO_SCRIPT:{dg(this,t);break}case x.AFTER_HEAD:{pg(this,t);break}case x.IN_BODY:{Pu(this,t);break}case x.TEXT:{Zg(this,t);break}case x.IN_TABLE:{Zr(this,t);break}case x.IN_TABLE_TEXT:{Hr(this,t);break}case x.IN_CAPTION:{cb(this,t);break}case x.IN_COLUMN_GROUP:{fb(this,t);break}case x.IN_TABLE_BODY:{Qi(this,t);break}case x.IN_ROW:{Jl(this,t);break}case x.IN_CELL:{hb(this,t);break}case x.IN_SELECT:{ec(this,t);break}case x.IN_SELECT_IN_TABLE:{mb(this,t);break}case x.IN_TEMPLATE:{gb(this,t);break}case x.AFTER_BODY:{nc(this,t);break}case x.IN_FRAMESET:{_b(this,t);break}case x.AFTER_FRAMESET:{Ab(this,t);break}case x.AFTER_AFTER_BODY:{Tu(this,t);break}}}onEof(t){switch(this.insertionMode){case x.INITIAL:{Mr(this,t);break}case x.BEFORE_HTML:{Vr(this,t);break}case x.BEFORE_HEAD:{qr(this,t);break}case x.IN_HEAD:{Wr(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Qr(this,t);break}case x.AFTER_HEAD:{Gr(this,t);break}case x.IN_BODY:case x.IN_TABLE:case x.IN_CAPTION:case x.IN_COLUMN_GROUP:case x.IN_TABLE_BODY:case x.IN_ROW:case x.IN_CELL:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:{Ql(this,t);break}case x.TEXT:{eb(this,t);break}case x.IN_TABLE_TEXT:{Hr(this,t);break}case x.IN_TEMPLATE:{tc(this,t);break}case x.AFTER_BODY:case x.IN_FRAMESET:case x.AFTER_FRAMESET:case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{Aa(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===g.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 x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:case x.TEXT:case x.IN_COLUMN_GROUP:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:case x.IN_FRAMESET:case x.AFTER_FRAMESET:{this._insertCharacters(t);break}case x.IN_BODY:case x.IN_CAPTION:case x.IN_CELL:case x.IN_TEMPLATE:case x.AFTER_BODY:case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{Yl(this,t);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{Oi(this,t);break}case x.IN_TABLE_TEXT:{Gl(this,t);break}}}}function KE(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):Wl(e,t),n}function JE(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 ZE(e,t,n){let r=t,u=e.openElements.getCommonAncestor(t);for(let a=0,i=u;i!==n;a++,i=u){u=e.openElements.getCommonAncestor(i);const l=e.activeFormattingElements.getElementEntry(i),c=l&&a>=GE;!l||c?(c&&e.activeFormattingElements.removeEntry(l),e.openElements.remove(i)):(i=eg(e,l),r===t&&(e.activeFormattingElements.bookmark=l),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(i,r),r=i)}return r}function eg(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 tg(e,t,n){const r=e.treeAdapter.getTagName(t),u=or(r);if(e._isElementCausesFosterParenting(u))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);u===o.TEMPLATE&&a===$.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function ng(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:u}=n,a=e.treeAdapter.createElement(u.tagName,r,u.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,u),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,u.tagID)}function ya(e,t){for(let n=0;n<QE;n++){const r=KE(e,t);if(!r)break;const u=JE(e,r);if(!u)break;e.activeFormattingElements.bookmark=r;const a=ZE(e,u,r.element),i=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(a),i&&tg(e,i,a),ng(e,u,r)}}function Wi(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function rg(e,t){e._appendCommentNode(t,e.openElements.items[0])}function ug(e,t){e._appendCommentNode(t,e.document)}function Aa(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 a=e.openElements.items[1],i=e.treeAdapter.getNodeSourceCodeLocation(a);i&&!i.endTag&&e._setEndLocation(a,t)}}}}function ig(e,t){e._setDocumentType(t);const n=t.forceQuirks?vt.QUIRKS:wE(t);vE(t)||e._err(t,H.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=x.BEFORE_HTML}function Mr(e,t){e._err(t,H.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,vt.QUIRKS),e.insertionMode=x.BEFORE_HTML,e._processToken(t)}function ag(e,t){t.tagID===o.HTML?(e._insertElement(t,$.HTML),e.insertionMode=x.BEFORE_HEAD):Vr(e,t)}function sg(e,t){const n=t.tagID;(n===o.HTML||n===o.HEAD||n===o.BODY||n===o.BR)&&Vr(e,t)}function Vr(e,t){e._insertFakeRootElement(),e.insertionMode=x.BEFORE_HEAD,e._processToken(t)}function og(e,t){switch(t.tagID){case o.HTML:{gt(e,t);break}case o.HEAD:{e._insertElement(t,$.HTML),e.headElement=e.openElements.current,e.insertionMode=x.IN_HEAD;break}default:qr(e,t)}}function lg(e,t){const n=t.tagID;n===o.HEAD||n===o.BODY||n===o.HTML||n===o.BR?qr(e,t):e._err(t,H.endTagWithoutMatchingOpenElement)}function qr(e,t){e._insertFakeElement(v.HEAD,o.HEAD),e.headElement=e.openElements.current,e.insertionMode=x.IN_HEAD,e._processToken(t)}function Gt(e,t){switch(t.tagID){case o.HTML:{gt(e,t);break}case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:{e._appendElement(t,$.HTML),t.ackSelfClosing=!0;break}case o.TITLE:{e._switchToTextParsing(t,Je.RCDATA);break}case o.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Je.RAWTEXT):(e._insertElement(t,$.HTML),e.insertionMode=x.IN_HEAD_NO_SCRIPT);break}case o.NOFRAMES:case o.STYLE:{e._switchToTextParsing(t,Je.RAWTEXT);break}case o.SCRIPT:{e._switchToTextParsing(t,Je.SCRIPT_DATA);break}case o.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=x.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(x.IN_TEMPLATE);break}case o.HEAD:{e._err(t,H.misplacedStartTagForHeadElement);break}default:Wr(e,t)}}function cg(e,t){switch(t.tagID){case o.HEAD:{e.openElements.pop(),e.insertionMode=x.AFTER_HEAD;break}case o.BODY:case o.BR:case o.HTML:{Wr(e,t);break}case o.TEMPLATE:{Qn(e,t);break}default:e._err(t,H.endTagWithoutMatchingOpenElement)}}function Qn(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==o.TEMPLATE&&e._err(t,H.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(o.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,H.endTagWithoutMatchingOpenElement)}function Wr(e,t){e.openElements.pop(),e.insertionMode=x.AFTER_HEAD,e._processToken(t)}function fg(e,t){switch(t.tagID){case o.HTML:{gt(e,t);break}case o.BASEFONT:case o.BGSOUND:case o.HEAD:case o.LINK:case o.META:case o.NOFRAMES:case o.STYLE:{Gt(e,t);break}case o.NOSCRIPT:{e._err(t,H.nestedNoscriptInHead);break}default:Qr(e,t)}}function dg(e,t){switch(t.tagID){case o.NOSCRIPT:{e.openElements.pop(),e.insertionMode=x.IN_HEAD;break}case o.BR:{Qr(e,t);break}default:e._err(t,H.endTagWithoutMatchingOpenElement)}}function Qr(e,t){const n=t.type===Fe.EOF?H.openElementsLeftAfterEof:H.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=x.IN_HEAD,e._processToken(t)}function hg(e,t){switch(t.tagID){case o.HTML:{gt(e,t);break}case o.BODY:{e._insertElement(t,$.HTML),e.framesetOk=!1,e.insertionMode=x.IN_BODY;break}case o.FRAMESET:{e._insertElement(t,$.HTML),e.insertionMode=x.IN_FRAMESET;break}case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:case o.NOFRAMES:case o.SCRIPT:case o.STYLE:case o.TEMPLATE:case o.TITLE:{e._err(t,H.abandonedHeadElementChild),e.openElements.push(e.headElement,o.HEAD),Gt(e,t),e.openElements.remove(e.headElement);break}case o.HEAD:{e._err(t,H.misplacedStartTagForHeadElement);break}default:Gr(e,t)}}function pg(e,t){switch(t.tagID){case o.BODY:case o.HTML:case o.BR:{Gr(e,t);break}case o.TEMPLATE:{Qn(e,t);break}default:e._err(t,H.endTagWithoutMatchingOpenElement)}}function Gr(e,t){e._insertFakeElement(v.BODY,o.BODY),e.insertionMode=x.IN_BODY,wu(e,t)}function wu(e,t){switch(t.type){case Fe.CHARACTER:{$l(e,t);break}case Fe.WHITESPACE_CHARACTER:{Yl(e,t);break}case Fe.COMMENT:{Wi(e,t);break}case Fe.START_TAG:{gt(e,t);break}case Fe.END_TAG:{Pu(e,t);break}case Fe.EOF:{Ql(e,t);break}}}function Yl(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function $l(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function mg(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Eg(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function gg(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,$.HTML),e.insertionMode=x.IN_FRAMESET)}function bg(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,$.HTML)}function Tg(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),Ll(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,$.HTML)}function _g(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,$.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function yg(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,$.HTML),n||(e.formElement=e.openElements.current))}function Ag(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===o.LI&&u===o.LI||(n===o.DD||n===o.DT)&&(u===o.DD||u===o.DT)){e.openElements.generateImpliedEndTagsWithExclusion(u),e.openElements.popUntilTagNamePopped(u);break}if(u!==o.ADDRESS&&u!==o.DIV&&u!==o.P&&e._isSpecialElement(e.openElements.items[r],u))break}e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,$.HTML)}function Cg(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,$.HTML),e.tokenizer.state=Je.PLAINTEXT}function Dg(e,t){e.openElements.hasInScope(o.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(o.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML),e.framesetOk=!1}function xg(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(ya(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Sg(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ng(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(o.NOBR)&&(ya(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,$.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function kg(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Ig(e,t){e.treeAdapter.getDocumentMode(e.document)!==vt.QUIRKS&&e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,$.HTML),e.framesetOk=!1,e.insertionMode=x.IN_TABLE}function Vl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,$.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ql(e){const t=Il(e,Cn.TYPE);return t!=null&&t.toLowerCase()===WE}function Rg(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,$.HTML),ql(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Og(e,t){e._appendElement(t,$.HTML),t.ackSelfClosing=!0}function Lg(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._appendElement(t,$.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Fg(e,t){t.tagName=v.IMG,t.tagID=o.IMG,Vl(e,t)}function vg(e,t){e._insertElement(t,$.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Je.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=x.TEXT}function wg(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Je.RAWTEXT)}function Pg(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Je.RAWTEXT)}function Vs(e,t){e._switchToTextParsing(t,Je.RAWTEXT)}function Bg(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===x.IN_TABLE||e.insertionMode===x.IN_CAPTION||e.insertionMode===x.IN_TABLE_BODY||e.insertionMode===x.IN_ROW||e.insertionMode===x.IN_CELL?x.IN_SELECT_IN_TABLE:x.IN_SELECT}function Mg(e,t){e.openElements.currentTagId===o.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML)}function Hg(e,t){e.openElements.hasInScope(o.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,$.HTML)}function Ug(e,t){e.openElements.hasInScope(o.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(o.RTC),e._insertElement(t,$.HTML)}function jg(e,t){e._reconstructActiveFormattingElements(),Ul(t),_a(t),t.selfClosing?e._appendElement(t,$.MATHML):e._insertElement(t,$.MATHML),t.ackSelfClosing=!0}function zg(e,t){e._reconstructActiveFormattingElements(),jl(t),_a(t),t.selfClosing?e._appendElement(t,$.SVG):e._insertElement(t,$.SVG),t.ackSelfClosing=!0}function qs(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML)}function gt(e,t){switch(t.tagID){case o.I:case o.S:case o.B:case o.U:case o.EM:case o.TT:case o.BIG:case o.CODE:case o.FONT:case o.SMALL:case o.STRIKE:case o.STRONG:{Sg(e,t);break}case o.A:{xg(e,t);break}case o.H1:case o.H2:case o.H3:case o.H4:case o.H5:case o.H6:{Tg(e,t);break}case o.P:case o.DL:case o.OL:case o.UL:case o.DIV:case o.DIR:case o.NAV:case o.MAIN:case o.MENU:case o.ASIDE:case o.CENTER:case o.FIGURE:case o.FOOTER:case o.HEADER:case o.HGROUP:case o.DIALOG:case o.DETAILS:case o.ADDRESS:case o.ARTICLE:case o.SECTION:case o.SUMMARY:case o.FIELDSET:case o.BLOCKQUOTE:case o.FIGCAPTION:{bg(e,t);break}case o.LI:case o.DD:case o.DT:{Ag(e,t);break}case o.BR:case o.IMG:case o.WBR:case o.AREA:case o.EMBED:case o.KEYGEN:{Vl(e,t);break}case o.HR:{Lg(e,t);break}case o.RB:case o.RTC:{Hg(e,t);break}case o.RT:case o.RP:{Ug(e,t);break}case o.PRE:case o.LISTING:{_g(e,t);break}case o.XMP:{wg(e,t);break}case o.SVG:{zg(e,t);break}case o.HTML:{mg(e,t);break}case o.BASE:case o.LINK:case o.META:case o.STYLE:case o.TITLE:case o.SCRIPT:case o.BGSOUND:case o.BASEFONT:case o.TEMPLATE:{Gt(e,t);break}case o.BODY:{Eg(e,t);break}case o.FORM:{yg(e,t);break}case o.NOBR:{Ng(e,t);break}case o.MATH:{jg(e,t);break}case o.TABLE:{Ig(e,t);break}case o.INPUT:{Rg(e,t);break}case o.PARAM:case o.TRACK:case o.SOURCE:{Og(e,t);break}case o.IMAGE:{Fg(e,t);break}case o.BUTTON:{Dg(e,t);break}case o.APPLET:case o.OBJECT:case o.MARQUEE:{kg(e,t);break}case o.IFRAME:{Pg(e,t);break}case o.SELECT:{Bg(e,t);break}case o.OPTION:case o.OPTGROUP:{Mg(e,t);break}case o.NOEMBED:{Vs(e,t);break}case o.FRAMESET:{gg(e,t);break}case o.TEXTAREA:{vg(e,t);break}case o.NOSCRIPT:{e.options.scriptingEnabled?Vs(e,t):qs(e,t);break}case o.PLAINTEXT:{Cg(e,t);break}case o.COL:case o.TH:case o.TD:case o.TR:case o.HEAD:case o.FRAME:case o.TBODY:case o.TFOOT:case o.THEAD:case o.CAPTION:case o.COLGROUP:break;default:qs(e,t)}}function Yg(e,t){if(e.openElements.hasInScope(o.BODY)&&(e.insertionMode=x.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function $g(e,t){e.openElements.hasInScope(o.BODY)&&(e.insertionMode=x.AFTER_BODY,nc(e,t))}function Vg(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function qg(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(o.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(o.FORM):n&&e.openElements.remove(n))}function Wg(e){e.openElements.hasInButtonScope(o.P)||e._insertFakeElement(v.P,o.P),e._closePElement()}function Qg(e){e.openElements.hasInListItemScope(o.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(o.LI),e.openElements.popUntilTagNamePopped(o.LI))}function Gg(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function Xg(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function Kg(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Jg(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,o.BR),e.openElements.pop(),e.framesetOk=!1}function Wl(e,t){const n=t.tagName,r=t.tagID;for(let u=e.openElements.stackTop;u>0;u--){const a=e.openElements.items[u],i=e.openElements.tagIDs[u];if(r===i&&(r!==o.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=u&&e.openElements.shortenToLength(u);break}if(e._isSpecialElement(a,i))break}}function Pu(e,t){switch(t.tagID){case o.A:case o.B:case o.I:case o.S:case o.U:case o.EM:case o.TT:case o.BIG:case o.CODE:case o.FONT:case o.NOBR:case o.SMALL:case o.STRIKE:case o.STRONG:{ya(e,t);break}case o.P:{Wg(e);break}case o.DL:case o.UL:case o.OL:case o.DIR:case o.DIV:case o.NAV:case o.PRE:case o.MAIN:case o.MENU:case o.ASIDE:case o.BUTTON:case o.CENTER:case o.FIGURE:case o.FOOTER:case o.HEADER:case o.HGROUP:case o.DIALOG:case o.ADDRESS:case o.ARTICLE:case o.DETAILS:case o.SECTION:case o.SUMMARY:case o.LISTING:case o.FIELDSET:case o.BLOCKQUOTE:case o.FIGCAPTION:{Vg(e,t);break}case o.LI:{Qg(e);break}case o.DD:case o.DT:{Gg(e,t);break}case o.H1:case o.H2:case o.H3:case o.H4:case o.H5:case o.H6:{Xg(e);break}case o.BR:{Jg(e);break}case o.BODY:{Yg(e,t);break}case o.HTML:{$g(e,t);break}case o.FORM:{qg(e);break}case o.APPLET:case o.OBJECT:case o.MARQUEE:{Kg(e,t);break}case o.TEMPLATE:{Qn(e,t);break}default:Wl(e,t)}}function Ql(e,t){e.tmplInsertionModeStack.length>0?tc(e,t):Aa(e,t)}function Zg(e,t){var n;t.tagID===o.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function eb(e,t){e._err(t,H.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Oi(e,t){if(zl.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=x.IN_TABLE_TEXT,t.type){case Fe.CHARACTER:{Xl(e,t);break}case Fe.WHITESPACE_CHARACTER:{Gl(e,t);break}}else au(e,t)}function tb(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,$.HTML),e.insertionMode=x.IN_CAPTION}function nb(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,$.HTML),e.insertionMode=x.IN_COLUMN_GROUP}function rb(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,o.COLGROUP),e.insertionMode=x.IN_COLUMN_GROUP,Ca(e,t)}function ub(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,$.HTML),e.insertionMode=x.IN_TABLE_BODY}function ib(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,o.TBODY),e.insertionMode=x.IN_TABLE_BODY,Bu(e,t)}function ab(e,t){e.openElements.hasInTableScope(o.TABLE)&&(e.openElements.popUntilTagNamePopped(o.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function sb(e,t){ql(t)?e._appendElement(t,$.HTML):au(e,t),t.ackSelfClosing=!0}function ob(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,$.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function tr(e,t){switch(t.tagID){case o.TD:case o.TH:case o.TR:{ib(e,t);break}case o.STYLE:case o.SCRIPT:case o.TEMPLATE:{Gt(e,t);break}case o.COL:{rb(e,t);break}case o.FORM:{ob(e,t);break}case o.TABLE:{ab(e,t);break}case o.TBODY:case o.TFOOT:case o.THEAD:{ub(e,t);break}case o.INPUT:{sb(e,t);break}case o.CAPTION:{tb(e,t);break}case o.COLGROUP:{nb(e,t);break}default:au(e,t)}}function Zr(e,t){switch(t.tagID){case o.TABLE:{e.openElements.hasInTableScope(o.TABLE)&&(e.openElements.popUntilTagNamePopped(o.TABLE),e._resetInsertionMode());break}case o.TEMPLATE:{Qn(e,t);break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TBODY:case o.TD:case o.TFOOT:case o.TH:case o.THEAD:case o.TR:break;default:au(e,t)}}function au(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,wu(e,t),e.fosterParentingEnabled=n}function Gl(e,t){e.pendingCharacterTokens.push(t)}function Xl(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Hr(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)au(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Kl=new Set([o.CAPTION,o.COL,o.COLGROUP,o.TBODY,o.TD,o.TFOOT,o.TH,o.THEAD,o.TR]);function lb(e,t){const n=t.tagID;Kl.has(n)?e.openElements.hasInTableScope(o.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(o.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=x.IN_TABLE,tr(e,t)):gt(e,t)}function cb(e,t){const n=t.tagID;switch(n){case o.CAPTION:case o.TABLE:{e.openElements.hasInTableScope(o.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(o.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=x.IN_TABLE,n===o.TABLE&&Zr(e,t));break}case o.BODY:case o.COL:case o.COLGROUP:case o.HTML:case o.TBODY:case o.TD:case o.TFOOT:case o.TH:case o.THEAD:case o.TR:break;default:Pu(e,t)}}function Ca(e,t){switch(t.tagID){case o.HTML:{gt(e,t);break}case o.COL:{e._appendElement(t,$.HTML),t.ackSelfClosing=!0;break}case o.TEMPLATE:{Gt(e,t);break}default:Nu(e,t)}}function fb(e,t){switch(t.tagID){case o.COLGROUP:{e.openElements.currentTagId===o.COLGROUP&&(e.openElements.pop(),e.insertionMode=x.IN_TABLE);break}case o.TEMPLATE:{Qn(e,t);break}case o.COL:break;default:Nu(e,t)}}function Nu(e,t){e.openElements.currentTagId===o.COLGROUP&&(e.openElements.pop(),e.insertionMode=x.IN_TABLE,e._processToken(t))}function Bu(e,t){switch(t.tagID){case o.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,$.HTML),e.insertionMode=x.IN_ROW;break}case o.TH:case o.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(v.TR,o.TR),e.insertionMode=x.IN_ROW,Mu(e,t);break}case o.CAPTION:case o.COL:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE,tr(e,t));break}default:tr(e,t)}}function Qi(e,t){const n=t.tagID;switch(t.tagID){case o.TBODY:case o.TFOOT:case o.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE);break}case o.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE,Zr(e,t));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TD:case o.TH:case o.TR:break;default:Zr(e,t)}}function Mu(e,t){switch(t.tagID){case o.TH:case o.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,$.HTML),e.insertionMode=x.IN_CELL,e.activeFormattingElements.insertMarker();break}case o.CAPTION:case o.COL:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:case o.TR:{e.openElements.hasInTableScope(o.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY,Bu(e,t));break}default:tr(e,t)}}function Jl(e,t){switch(t.tagID){case o.TR:{e.openElements.hasInTableScope(o.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY);break}case o.TABLE:{e.openElements.hasInTableScope(o.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY,Qi(e,t));break}case o.TBODY:case o.TFOOT:case o.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(o.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY,Qi(e,t));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TD:case o.TH:break;default:Zr(e,t)}}function db(e,t){const n=t.tagID;Kl.has(n)?(e.openElements.hasInTableScope(o.TD)||e.openElements.hasInTableScope(o.TH))&&(e._closeTableCell(),Mu(e,t)):gt(e,t)}function hb(e,t){const n=t.tagID;switch(n){case o.TD:case o.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=x.IN_ROW);break}case o.TABLE:case o.TBODY:case o.TFOOT:case o.THEAD:case o.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Jl(e,t));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:break;default:Pu(e,t)}}function Zl(e,t){switch(t.tagID){case o.HTML:{gt(e,t);break}case o.OPTION:{e.openElements.currentTagId===o.OPTION&&e.openElements.pop(),e._insertElement(t,$.HTML);break}case o.OPTGROUP:{e.openElements.currentTagId===o.OPTION&&e.openElements.pop(),e.openElements.currentTagId===o.OPTGROUP&&e.openElements.pop(),e._insertElement(t,$.HTML);break}case o.INPUT:case o.KEYGEN:case o.TEXTAREA:case o.SELECT:{e.openElements.hasInSelectScope(o.SELECT)&&(e.openElements.popUntilTagNamePopped(o.SELECT),e._resetInsertionMode(),t.tagID!==o.SELECT&&e._processStartTag(t));break}case o.SCRIPT:case o.TEMPLATE:{Gt(e,t);break}}}function ec(e,t){switch(t.tagID){case o.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===o.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===o.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===o.OPTGROUP&&e.openElements.pop();break}case o.OPTION:{e.openElements.currentTagId===o.OPTION&&e.openElements.pop();break}case o.SELECT:{e.openElements.hasInSelectScope(o.SELECT)&&(e.openElements.popUntilTagNamePopped(o.SELECT),e._resetInsertionMode());break}case o.TEMPLATE:{Qn(e,t);break}}}function pb(e,t){const n=t.tagID;n===o.CAPTION||n===o.TABLE||n===o.TBODY||n===o.TFOOT||n===o.THEAD||n===o.TR||n===o.TD||n===o.TH?(e.openElements.popUntilTagNamePopped(o.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Zl(e,t)}function mb(e,t){const n=t.tagID;n===o.CAPTION||n===o.TABLE||n===o.TBODY||n===o.TFOOT||n===o.THEAD||n===o.TR||n===o.TD||n===o.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(o.SELECT),e._resetInsertionMode(),e.onEndTag(t)):ec(e,t)}function Eb(e,t){switch(t.tagID){case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:case o.NOFRAMES:case o.SCRIPT:case o.STYLE:case o.TEMPLATE:case o.TITLE:{Gt(e,t);break}case o.CAPTION:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:{e.tmplInsertionModeStack[0]=x.IN_TABLE,e.insertionMode=x.IN_TABLE,tr(e,t);break}case o.COL:{e.tmplInsertionModeStack[0]=x.IN_COLUMN_GROUP,e.insertionMode=x.IN_COLUMN_GROUP,Ca(e,t);break}case o.TR:{e.tmplInsertionModeStack[0]=x.IN_TABLE_BODY,e.insertionMode=x.IN_TABLE_BODY,Bu(e,t);break}case o.TD:case o.TH:{e.tmplInsertionModeStack[0]=x.IN_ROW,e.insertionMode=x.IN_ROW,Mu(e,t);break}default:e.tmplInsertionModeStack[0]=x.IN_BODY,e.insertionMode=x.IN_BODY,gt(e,t)}}function gb(e,t){t.tagID===o.TEMPLATE&&Qn(e,t)}function tc(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(o.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Aa(e,t)}function bb(e,t){t.tagID===o.HTML?gt(e,t):ku(e,t)}function nc(e,t){var n;if(t.tagID===o.HTML){if(e.fragmentContext||(e.insertionMode=x.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===o.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 ku(e,t)}function ku(e,t){e.insertionMode=x.IN_BODY,wu(e,t)}function Tb(e,t){switch(t.tagID){case o.HTML:{gt(e,t);break}case o.FRAMESET:{e._insertElement(t,$.HTML);break}case o.FRAME:{e._appendElement(t,$.HTML),t.ackSelfClosing=!0;break}case o.NOFRAMES:{Gt(e,t);break}}}function _b(e,t){t.tagID===o.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==o.FRAMESET&&(e.insertionMode=x.AFTER_FRAMESET))}function yb(e,t){switch(t.tagID){case o.HTML:{gt(e,t);break}case o.NOFRAMES:{Gt(e,t);break}}}function Ab(e,t){t.tagID===o.HTML&&(e.insertionMode=x.AFTER_AFTER_FRAMESET)}function Cb(e,t){t.tagID===o.HTML?gt(e,t):Tu(e,t)}function Tu(e,t){e.insertionMode=x.IN_BODY,wu(e,t)}function Db(e,t){switch(t.tagID){case o.HTML:{gt(e,t);break}case o.NOFRAMES:{Gt(e,t);break}}}function xb(e,t){t.chars=Ge,e._insertCharacters(t)}function Sb(e,t){e._insertCharacters(t),e.framesetOk=!1}function rc(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==$.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Nb(e,t){if(zE(t))rc(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===$.MATHML?Ul(t):r===$.SVG&&(YE(t),jl(t)),_a(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function kb(e,t){if(t.tagID===o.P||t.tagID===o.BR){rc(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)===$.HTML){e._endTagOutsideForeignContent(t);break}const u=e.treeAdapter.getTagName(r);if(u.toLowerCase()===t.tagName){t.tagName=u,e.openElements.shortenToLength(n);break}}}v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;const Ib=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Ws={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function uc(e,t){const n=Hb(e),r=ta("type",{handlers:{root:Rb,element:Ob,text:Lb,comment:ac,doctype:Fb,raw:wb},unknown:Pb}),u={parser:n?new $s(Ws):$s.getFragmentParser(void 0,Ws),handle(l){r(l,u)},stitches:!1,options:t||{}};r(e,u),lr(u,Zt());const a=n?u.parser.document:u.parser.getFragment(),i=j1(a,{file:u.options.file});return u.stitches&&kt(i,"comment",function(l,c,f){const d=l;if(d.value.stitch&&f&&c!==void 0){const m=f.children;return m[c]=d.value.stitch,c}}),i.type==="root"&&i.children.length===1&&i.children[0].type===e.type?i.children[0]:i}function ic(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Rb(e,t){ic(e.children,t)}function Ob(e,t){Bb(e,t),ic(e.children,t),Mb(e,t)}function Lb(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Fe.CHARACTER,chars:e.value,location:su(e)};lr(t,Zt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Fb(e,t){const n={type:Fe.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:su(e)};lr(t,Zt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function vb(e,t){t.stitches=!0;const n=Ub(e);if("children"in e&&"children"in n){const r=uc({type:"root",children:e.children},t.options);n.children=r.children}ac({type:"comment",value:{stitch:n}},t)}function ac(e,t){const n=e.value,r={type:Fe.COMMENT,data:n,location:su(e)};lr(t,Zt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function wb(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,sc(t,Zt(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 Pb(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))vb(n,t);else{let r="";throw Ib.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 lr(e,t){sc(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=Je.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 sc(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 Bb(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Je.PLAINTEXT)return;lr(t,Zt(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:$n.html;u===$n.html&&n==="svg"&&(u=$n.svg);const a=q1({...e,children:[]},{space:u===$n.svg?"svg":"html"}),i={type:Fe.START_TAG,tagName:n,tagID:or(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:su(e)};t.parser.currentToken=i,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function Mb(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&eE.includes(n)||t.parser.tokenizer.state===Je.PLAINTEXT)return;lr(t,Fu(e));const r={type:Fe.END_TAG,tagName:n,tagID:or(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:su(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Je.RCDATA||t.parser.tokenizer.state===Je.RAWTEXT||t.parser.tokenizer.state===Je.SCRIPT_DATA)&&(t.parser.tokenizer.state=Je.DATA)}function Hb(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function su(e){const t=Zt(e)||{line:void 0,column:void 0,offset:void 0},n=Fu(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 Ub(e){return"children"in e?En({...e,children:[]}):En(e)}function jb(e){return function(t,n){return uc(t,{...e,file:n})}}const oc=function(e){if(e==null)return $b;if(typeof e=="string")return Yb(e);if(typeof e=="object")return zb(e);if(typeof e=="function")return Da(e);throw new Error("Expected function, string, or array as `test`")};function zb(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=oc(e[n]);return Da(r);function r(...u){let a=-1;for(;++a<t.length;)if(t[a].apply(this,u))return!0;return!1}}function Yb(e){return Da(t);function t(n){return n.tagName===e}}function Da(e){return t;function t(n,r,u){return!!(Vb(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function $b(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function Vb(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const qb=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,Wb=/^[a-zA-Z]:\\/;function Qb(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return Wb.test(e)?!1:qb.test(e)}const Gb=["http","https"],Xb=["nofollow"],Kb={};function Jb(e){const t=e||Kb,n=t.protocols||Gb,r=oc(t.test);return function(u){kt(u,"element",function(a,i,l){if(a.tagName==="a"&&typeof a.properties.href=="string"&&r(a,i,l)){const c=a.properties.href;if(Qb(c)?n.includes(c.slice(0,c.indexOf(":"))):c.startsWith("//")){const f=Ur(t.content,a),d=f&&!Array.isArray(f)?[f]:f,m=Ur(t.rel,a)||Xb,T=typeof m=="string"?Jr(m):m,E=Ur(t.target,a),D=Ur(t.properties,a);if(D&&Object.assign(a.properties,En(D)),T.length>0&&(a.properties.rel=[...T]),E&&(a.properties.target=E),d){const F=Ur(t.contentProperties,a)||{};a.children.push({type:"element",tagName:"span",properties:En(F),children:En(d)})}}}})}}function Ur(e,t){return typeof e=="function"?e(t):e}function lc(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 Zb(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+"`");kt(e,"element",function(n){let r=lc(n);r&&(r+=t,n.tagName="h"+(r>6?6:r<1?1:r))})}const eT={};function tT(e){const t=(e||eT).shift||0;return function(n){t&&Zb(n,t)}}const nT=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,rT=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,uT={};function Qs(e,t){return(uT.jsx?rT:nT).test(e)}const iT=/[ \t\n\f\r]/g;function aT(e){return typeof e=="object"?e.type==="text"?Gs(e.value):!1:Gs(e)}function Gs(e){return e.replace(iT,"")===""}var cc={},Xs=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,sT=/\n/g,oT=/^\s*/,lT=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,cT=/^:\s*/,fT=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,dT=/^[;\s]*/,hT=/^\s+|\s+$/g,pT=`
|
|
81
|
-
`,Ks="/",Js="*",Yn="",mT="comment",ET="declaration",gT=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(D){var F=D.match(sT);F&&(n+=F.length);var L=D.lastIndexOf(pT);r=~L?D.length-L:r+D.length}function a(){var D={line:n,column:r};return function(F){return F.position=new i(D),f(),F}}function i(D){this.start=D,this.end={line:n,column:r},this.source=t.source}i.prototype.content=e;function l(D){var F=new Error(t.source+":"+n+":"+r+": "+D);if(F.reason=D,F.filename=t.source,F.line=n,F.column=r,F.source=e,!t.silent)throw F}function c(D){var F=D.exec(e);if(F){var L=F[0];return u(L),e=e.slice(L.length),F}}function f(){c(oT)}function d(D){var F;for(D=D||[];F=m();)F!==!1&&D.push(F);return D}function m(){var D=a();if(!(Ks!=e.charAt(0)||Js!=e.charAt(1))){for(var F=2;Yn!=e.charAt(F)&&(Js!=e.charAt(F)||Ks!=e.charAt(F+1));)++F;if(F+=2,Yn===e.charAt(F-1))return l("End of comment missing");var L=e.slice(2,F-2);return r+=2,u(L),e=e.slice(F),r+=2,D({type:mT,comment:L})}}function T(){var D=a(),F=c(lT);if(F){if(m(),!c(cT))return l("property missing ':'");var L=c(fT),w=D({type:ET,property:Zs(F[0].replace(Xs,Yn)),value:L?Zs(L[0].replace(Xs,Yn)):Yn});return c(dT),w}}function E(){var D=[];d(D);for(var F;F=T();)F!==!1&&(D.push(F),d(D));return D}return f(),E()};function Zs(e){return e?e.replace(hT,Yn):Yn}var bT=wa&&wa.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(cc,"__esModule",{value:!0});var TT=bT(gT);function _T(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,TT.default)(e),u=typeof t=="function";return r.forEach(function(a){if(a.type==="declaration"){var i=a.property,l=a.value;u?t(i,l,a):l&&(n=n||{},n[i]=l)}}),n}var eo=cc.default=_T;const yT=eo.default||eo,xa={}.hasOwnProperty,AT=new Map,CT=/[A-Z]/g,DT=/-([a-z])/g,xT=new Set(["table","tbody","thead","tfoot","tr"]),ST=new Set(["td","th"]),fc="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function NT(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=wT(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=vT(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"?Tn:ar,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=dc(u,e,void 0);return a&&typeof a!="string"?a:u.create(e,u.Fragment,{children:a||void 0},void 0)}function dc(e,t,n){if(t.type==="element")return kT(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return IT(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return OT(e,t,n);if(t.type==="mdxjsEsm")return RT(e,t);if(t.type==="root")return LT(e,t,n);if(t.type==="text")return FT(e,t)}function kT(e,t,n){const r=e.schema;let u=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(u=Tn,e.schema=u),e.ancestors.push(t);const a=pc(e,t.tagName,!1),i=PT(e,t);let l=Na(e,t);return xT.has(t.tagName)&&(l=l.filter(function(c){return typeof c=="string"?!aT(c):!0})),hc(e,i,a,t),Sa(i,l),e.ancestors.pop(),e.schema=r,e.create(t,a,i,n)}function IT(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)}eu(e,t.position)}function RT(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);eu(e,t.position)}function OT(e,t,n){const r=e.schema;let u=r;t.name==="svg"&&r.space==="html"&&(u=Tn,e.schema=u),e.ancestors.push(t);const a=t.name===null?e.Fragment:pc(e,t.name,!0),i=BT(e,t),l=Na(e,t);return hc(e,i,a,t),Sa(i,l),e.ancestors.pop(),e.schema=r,e.create(t,a,i,n)}function LT(e,t,n){const r={};return Sa(r,Na(e,t)),e.create(t,e.Fragment,r,n)}function FT(e,t){return t.value}function hc(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Sa(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function vT(e,t,n){return r;function r(u,a,i,l){const f=Array.isArray(i.children)?n:t;return l?f(a,i,l):f(a,i)}}function wT(e,t){return n;function n(r,u,a,i){const l=Array.isArray(a.children),c=Zt(r);return t(u,a,i,l,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function PT(e,t){const n={};let r,u;for(u in t.properties)if(u!=="children"&&xa.call(t.properties,u)){const a=MT(e,u,t.properties[u]);if(a){const[i,l]=a;e.tableCellAlignToStyle&&i==="align"&&typeof l=="string"&&ST.has(t.tagName)?r=l:n[i]=l}}if(r){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function BT(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const a=r.data.estree.body[0];a.type;const i=a.expression;i.type;const l=i.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else eu(e,t.position);else{const u=r.name;let a;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const l=r.value.data.estree.body[0];l.type,a=e.evaluater.evaluateExpression(l.expression)}else eu(e,t.position);else a=r.value===null?!0:r.value;n[u]=a}return n}function Na(e,t){const n=[];let r=-1;const u=e.passKeys?new Map:AT;for(;++r<t.children.length;){const a=t.children[r];let i;if(e.passKeys){const c=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(c){const f=u.get(c)||0;i=c+"-"+f,u.set(c,f+1)}}const l=dc(e,a,i);l!==void 0&&n.push(l)}return n}function MT(e,t,n){const r=iu(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Tl(n):yl(n)),r.property==="style"){let u=typeof n=="object"?n:HT(e,String(n));return e.stylePropertyNameCase==="css"&&(u=UT(u)),["style",u]}return[e.elementAttributeNameCase==="react"&&r.space?R1[r.property]||r.property:r.attribute,n]}}function HT(e,t){const n={};try{yT(t,r)}catch(u){if(!e.ignoreInvalidStyle){const a=u,i=new Et("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=fc+"#cannot-parse-style-attribute",i}}return n;function r(u,a){let i=u;i.slice(0,2)!=="--"&&(i.slice(0,4)==="-ms-"&&(i="ms-"+i.slice(4)),i=i.replace(DT,zT)),n[i]=a}}function pc(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const u=t.split(".");let a=-1,i;for(;++a<u.length;){const l=Qs(u[a])?{type:"Identifier",name:u[a]}:{type:"Literal",value:u[a]};i=i?{type:"MemberExpression",object:i,property:l,computed:!!(a&&l.type==="Literal"),optional:!1}:l}r=i}else r=Qs(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const u=r.value;return xa.call(e.components,u)?e.components[u]:u}if(e.evaluater)return e.evaluater.evaluateExpression(r);eu(e)}function eu(e,t){const n=new Et("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=fc+"#cannot-handle-mdx-estrees-without-createevaluater",n}function UT(e){const t={};let n;for(n in e)xa.call(e,n)&&(t[jT(n)]=e[n]);return t}function jT(e){let t=e.replace(CT,YT);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function zT(e,t){return t.toUpperCase()}function YT(e){return"-"+e.toLowerCase()}function $T(e){const t=this;t.compiler=n;function n(r,u){return NT(r,{filePath:u.path,...e})}}const VT=/[\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,qT=Object.hasOwnProperty;class mc{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let u=WT(t,n===!0);const a=u;for(;qT.call(r.occurrences,u);)r.occurrences[a]++,u=a+"-"+r.occurrences[a];return r.occurrences[u]=0,u}reset(){this.occurrences=Object.create(null)}}function WT(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(VT,"").replace(/ /g,"-"))}function QT(e){return"children"in e?Ec(e):"value"in e?e.value:""}function GT(e){return e.type==="text"?e.value:"children"in e?Ec(e):""}function Ec(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=GT(e.children[t]);return n.join("")}const XT={},to=new mc;function KT(e){const n=(e||XT).prefix||"";return function(r){to.reset(),kt(r,"element",function(u){lc(u)&&!u.properties.id&&(u.properties.id=n+to.slug(QT(u)))})}}const nr=(...e)=>e.filter(Boolean).join(" ");var we={};/**
|
|
78
|
+
`}),n}function Ss(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function ks(e,t){const n=o1(e,t),r=n.one(e,void 0),u=a1(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return u&&i.children.push({type:"text",value:`
|
|
79
|
+
`},u),i}function h1(e,t){return e&&"run"in e?async function(n,r){const u=ks(n,{file:r,...t});await e.run(u,r)}:function(n,r){return ks(n,{file:r,...t||e})}}function p1(e){Yo(e,[/\r?\n|\r/g,m1])}function m1(){return{type:"break"}}function E1(){return function(e){p1(e)}}class iu{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}iu.prototype.property={};iu.prototype.normal={};iu.prototype.space=null;function ol(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 iu(n,r,t)}function qn(e){return e.toLowerCase()}class Ht{constructor(t,n){this.property=t,this.attribute=n}}Ht.prototype.space=null;Ht.prototype.boolean=!1;Ht.prototype.booleanish=!1;Ht.prototype.overloadedBoolean=!1;Ht.prototype.number=!1;Ht.prototype.commaSeparated=!1;Ht.prototype.spaceSeparated=!1;Ht.prototype.commaOrSpaceSeparated=!1;Ht.prototype.mustUseProperty=!1;Ht.prototype.defined=!1;let b1=0;const Ie=Wn(),et=Wn(),ll=Wn(),ee=Wn(),qe=Wn(),tr=Wn(),Ft=Wn();function Wn(){return 2**++b1}const Wi=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ie,booleanish:et,commaOrSpaceSeparated:Ft,commaSeparated:tr,number:ee,overloadedBoolean:ll,spaceSeparated:qe},Symbol.toStringTag,{value:"Module"})),Ri=Object.keys(Wi);class Aa extends Ht{constructor(t,n,r,u){let i=-1;if(super(t,n),Ns(this,"space",u),typeof r=="number")for(;++i<Ri.length;){const a=Ri[i];Ns(this,Ri[i],(r&Wi[a])===Wi[a])}}}Aa.prototype.defined=!0;function Ns(e,t,n){n&&(e[t]=n)}const g1={}.hasOwnProperty;function ar(e){const t={},n={};let r;for(r in e.properties)if(g1.call(e.properties,r)){const u=e.properties[r],i=new Aa(r,e.transform(e.attributes||{},r),u,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[qn(r)]=r,n[qn(i.attribute)]=r}return new iu(t,n,e.space)}const cl=ar({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}}),fl=ar({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function dl(e,t){return t in e?e[t]:t}function hl(e,t){return dl(e,t.toLowerCase())}const pl=ar({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:hl,properties:{xmlns:null,xmlnsXLink:null}}),ml=ar({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:et,ariaAutoComplete:null,ariaBusy:et,ariaChecked:et,ariaColCount:ee,ariaColIndex:ee,ariaColSpan:ee,ariaControls:qe,ariaCurrent:null,ariaDescribedBy:qe,ariaDetails:null,ariaDisabled:et,ariaDropEffect:qe,ariaErrorMessage:null,ariaExpanded:et,ariaFlowTo:qe,ariaGrabbed:et,ariaHasPopup:null,ariaHidden:et,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:qe,ariaLevel:ee,ariaLive:null,ariaModal:et,ariaMultiLine:et,ariaMultiSelectable:et,ariaOrientation:null,ariaOwns:qe,ariaPlaceholder:null,ariaPosInSet:ee,ariaPressed:et,ariaReadOnly:et,ariaRelevant:null,ariaRequired:et,ariaRoleDescription:qe,ariaRowCount:ee,ariaRowIndex:ee,ariaRowSpan:ee,ariaSelected:et,ariaSetSize:ee,ariaSort:null,ariaValueMax:ee,ariaValueMin:ee,ariaValueNow:ee,ariaValueText:null,role:null}}),T1=ar({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:hl,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:tr,acceptCharset:qe,accessKey:qe,action:null,allow:null,allowFullScreen:Ie,allowPaymentRequest:Ie,allowUserMedia:Ie,alt:null,as:null,async:Ie,autoCapitalize:null,autoComplete:qe,autoFocus:Ie,autoPlay:Ie,blocking:qe,capture:null,charSet:null,checked:Ie,cite:null,className:qe,cols:ee,colSpan:null,content:null,contentEditable:et,controls:Ie,controlsList:qe,coords:ee|tr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ie,defer:Ie,dir:null,dirName:null,disabled:Ie,download:ll,draggable:et,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ie,formTarget:null,headers:qe,height:ee,hidden:Ie,high:ee,href:null,hrefLang:null,htmlFor:qe,httpEquiv:qe,id:null,imageSizes:null,imageSrcSet:null,inert:Ie,inputMode:null,integrity:null,is:null,isMap:Ie,itemId:null,itemProp:qe,itemRef:qe,itemScope:Ie,itemType:qe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ie,low:ee,manifest:null,max:null,maxLength:ee,media:null,method:null,min:null,minLength:ee,multiple:Ie,muted:Ie,name:null,nonce:null,noModule:Ie,noValidate:Ie,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:Ie,optimum:ee,pattern:null,ping:qe,placeholder:null,playsInline:Ie,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ie,referrerPolicy:null,rel:qe,required:Ie,reversed:Ie,rows:ee,rowSpan:ee,sandbox:qe,scope:null,scoped:Ie,seamless:Ie,selected:Ie,shadowRootClonable:Ie,shadowRootDelegatesFocus:Ie,shadowRootMode:null,shape:null,size:ee,sizes:null,slot:null,span:ee,spellCheck:et,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ee,step:null,style:null,tabIndex:ee,target:null,title:null,translate:null,type:null,typeMustMatch:Ie,useMap:null,value:et,width:ee,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:qe,axis:null,background:null,bgColor:null,border:ee,borderColor:null,bottomMargin:ee,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ie,declare:Ie,event:null,face:null,frame:null,frameBorder:null,hSpace:ee,leftMargin:ee,link:null,longDesc:null,lowSrc:null,marginHeight:ee,marginWidth:ee,noResize:Ie,noHref:Ie,noShade:Ie,noWrap:Ie,object:null,profile:null,prompt:null,rev:null,rightMargin:ee,rules:null,scheme:null,scrolling:et,standby:null,summary:null,text:null,topMargin:ee,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ee,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ie,disableRemotePlayback:Ie,prefix:null,property:null,results:ee,security:null,unselectable:null}}),_1=ar({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:dl,properties:{about:Ft,accentHeight:ee,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ee,amplitude:ee,arabicForm:null,ascent:ee,attributeName:null,attributeType:null,azimuth:ee,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ee,by:null,calcMode:null,capHeight:ee,className:qe,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:ee,diffuseConstant:ee,direction:null,display:null,dur:null,divisor:ee,dominantBaseline:null,download:Ie,dx:null,dy:null,edgeMode:null,editable:null,elevation:ee,enableBackground:null,end:null,event:null,exponent:ee,externalResourcesRequired:null,fill:null,fillOpacity:ee,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:tr,g2:tr,glyphName:tr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ee,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ee,horizOriginX:ee,horizOriginY:ee,id:null,ideographic:ee,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ee,k:ee,k1:ee,k2:ee,k3:ee,k4:ee,kernelMatrix:Ft,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ee,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:ee,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:ee,overlineThickness:ee,paintOrder:null,panose1:null,path:null,pathLength:ee,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:qe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ee,pointsAtY:ee,pointsAtZ:ee,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ft,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ft,rev:Ft,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ft,requiredFeatures:Ft,requiredFonts:Ft,requiredFormats:Ft,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:ee,specularExponent:ee,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ee,strikethroughThickness:ee,string:null,stroke:null,strokeDashArray:Ft,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ee,strokeOpacity:ee,strokeWidth:null,style:null,surfaceScale:ee,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ft,tabIndex:ee,tableValues:null,target:null,targetX:ee,targetY:ee,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ft,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ee,underlineThickness:ee,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ee,values:null,vAlphabetic:ee,vMathematical:ee,vectorEffect:null,vHanging:ee,vIdeographic:ee,version:null,vertAdvY:ee,vertOriginX:ee,vertOriginY:ee,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ee,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),A1=/^data[-\w.:]+$/i,Is=/-[a-z]/g,y1=/[A-Z]/g;function au(e,t){const n=qn(t);let r=t,u=Ht;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&A1.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Is,D1);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Is.test(i)){let a=i.replace(y1,C1);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}u=Aa}return new u(r,t)}function C1(e){return"-"+e.toLowerCase()}function D1(e){return e.charAt(1).toUpperCase()}const x1={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"},sr=ol([fl,cl,pl,ml,T1],"html"),_n=ol([fl,cl,pl,ml,_1],"svg");function ku(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 El(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Rs=/[#.]/g;function bl(e,t){const n=e||"",r={};let u=0,i,a;for(;u<n.length;){Rs.lastIndex=u;const l=Rs.exec(n),c=n.slice(u,l?l.index:n.length);c&&(i?i==="#"?r.id=c:Array.isArray(r.className)?r.className.push(c):r.className=[c]:a=c,u+=c.length),l&&(i=l[0],u++)}return{type:"element",tagName:a||t||"div",properties:r,children:[]}}function Zr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function gl(e){return e.join(" ").trim()}const S1=new Set(["button","menu","reset","submit"]),Qi={}.hasOwnProperty;function Tl(e,t,n){const r=n&&R1(n);function u(i,a,...l){let c=-1,f;if(i==null){f={type:"root",children:[]};const d=a;l.unshift(d)}else if(f=bl(i,t),f.tagName=f.tagName.toLowerCase(),r&&Qi.call(r,f.tagName)&&(f.tagName=r[f.tagName]),k1(a,f.tagName)){let d;for(d in a)Qi.call(a,d)&&N1(e,f.properties,d,a[d])}else l.unshift(a);for(;++c<l.length;)Gi(f.children,l[c]);return f.type==="element"&&f.tagName==="template"&&(f.content={type:"root",children:f.children},f.children=[]),f}return u}function k1(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"?S1.has(e.type.toLowerCase()):!("value"in e)}function N1(e,t,n,r){const u=au(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=Zr(r):u.commaSeparated?a=ku(r):u.commaOrSpaceSeparated?a=Zr(ku(r).join(" ")):a=Os(u,u.property,r):Array.isArray(r)?a=r.concat():a=u.property==="style"?I1(r):String(r);if(Array.isArray(a)){const l=[];for(;++i<a.length;){const c=Os(u,u.property,a[i]);l[i]=c}a=l}if(u.property==="className"&&Array.isArray(t.className)){const l=a;a=t.className.concat(l)}t[u.property]=a}}function Gi(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;)Gi(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?Gi(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Os(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||qn(n)===qn(t)))return!0}return n}function I1(e){const t=[];let n;for(n in e)Qi.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function R1(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const O1=["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"],L1=Tl(sr,"div"),F1=Tl(_n,"g",O1);function v1(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 l=n[a];if(l===void 0){const c=Ls(t,n[a-1]);l=c===-1?t.length+1:c+1,n[a]=l}if(l>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 l=n[n.length-1],c=Ls(t,l),f=c===-1?t.length+1:c+1;if(l===f)break;n.push(f)}const a=(i.line>1?n[i.line-2]:0)+i.column-1;if(a<n[i.line-1])return a}}}function Ls(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
|
|
80
|
+
`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const $n={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/"},_l={}.hasOwnProperty,w1=Object.prototype;function P1(e,t){const n=t||{};return ya({file:n.file||void 0,location:!1,schema:n.space==="svg"?_n:sr,verbose:n.verbose||!1},e)}function ya(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Tu(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:Al(e,t.childNodes),data:{quirksMode:u}},e.file&&e.location){const i=String(e.file),a=v1(i),l=a.toPoint(0),c=a.toPoint(i.length);n.position={start:l,end:c}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Tu(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Tu(e,r,n),n}default:return n=B1(e,t),n}}function Al(e,t){let n=-1;const r=[];for(;++n<t.length;){const u=ya(e,t[n]);r.push(u)}return r}function B1(e,t){const n=e.schema;e.schema=t.namespaceURI===$n.svg?_n:sr;let r=-1;const u={};for(;++r<t.attrs.length;){const l=t.attrs[r],c=(l.prefix?l.prefix+":":"")+l.name;_l.call(w1,c)||(u[c]=l.value)}const a=(e.schema.space==="svg"?F1:L1)(t.tagName,u,Al(e,t.childNodes));if(Tu(e,t,a),a.tagName==="template"){const l=t,c=l.sourceCodeLocation,f=c&&c.startTag&&er(c.startTag),d=c&&c.endTag&&er(c.endTag),h=ya(e,l.content);f&&d&&e.file&&(h.position={start:f.end,end:d.start}),a.content=h}return e.schema=n,a}function Tu(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=M1(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function M1(e,t,n){const r=er(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)_l.call(n.attrs,a)&&(i[au(e.schema,a).property]=er(n.attrs[a]));n.startTag;const l=er(n.startTag),c=n.endTag?er(n.endTag):void 0,f={opening:l};c&&(f.closing=c),f.properties=i,t.data={position:f}}}return r}function er(e){const t=Fs({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Fs({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Fs(e){return e.line&&e.column?e:void 0}const H1={},U1={}.hasOwnProperty,yl=ia("type",{handlers:{root:z1,element:W1,text:V1,comment:q1,doctype:$1}});function j1(e,t){const r=(t||H1).space;return yl(e,r==="svg"?_n:sr)}function z1(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Ca(e.children,n,t),or(e,n),n}function Y1(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Ca(e.children,n,t),or(e,n),n}function $1(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return or(e,t),t}function V1(e){const t={nodeName:"#text",value:e.value,parentNode:null};return or(e,t),t}function q1(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return or(e,t),t}function W1(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=_n);const u=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&U1.call(e.properties,i)){const c=Q1(r,i,e.properties[i]);c&&u.push(c)}}const a=r.space,l={nodeName:e.tagName,tagName:e.tagName,attrs:u,namespaceURI:$n[a],childNodes:[],parentNode:null};return l.childNodes=Ca(e.children,l,r),or(e,l),e.tagName==="template"&&e.content&&(l.content=Y1(e.content,r)),l}function Q1(e,t,n){const r=au(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?El(n):gl(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=$n[r.space]}return u}function Ca(e,t,n){let r=-1;const u=[];if(e)for(;++r<e.length;){const i=yl(e[r],n);i.parentNode=t,u.push(i)}return u}function or(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 G1=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],X1=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 b;(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"})(b=b||(b={}));const St={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Cl(e){return e>=55296&&e<=57343}function K1(e){return e>=56320&&e<=57343}function J1(e,t){return(e-55296)*1024+9216+t}function Dl(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function xl(e){return e>=64976&&e<=65007||X1.has(e)}var H;(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"})(H=H||(H={}));const Z1=65536;class eE{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=Z1,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(K1(n))return this.pos++,this._addGap(),J1(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,b.EOF;return this._err(H.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,b.EOF;const r=this.html.charCodeAt(n);return r===b.CARRIAGE_RETURN?b.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,b.EOF;let t=this.html.charCodeAt(this.pos);return t===b.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,b.LINE_FEED):t===b.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Cl(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===b.LINE_FEED||t===b.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Dl(t)?this._err(H.controlCharacterInInputStream):xl(t)&&this._err(H.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Fe;(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"})(Fe=Fe||(Fe={}));function Sl(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 yn=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))),tE=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var Oi;const nE=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]]),rE=(Oi=String.fromCodePoint)!==null&&Oi!==void 0?Oi: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 uE(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=nE.get(e))!==null&&t!==void 0?t:e}var st;(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"})(st||(st={}));const iE=32;var Jt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Jt||(Jt={}));function Xi(e){return e>=st.ZERO&&e<=st.NINE}function aE(e){return e>=st.UPPER_A&&e<=st.UPPER_F||e>=st.LOWER_A&&e<=st.LOWER_F}function sE(e){return e>=st.UPPER_A&&e<=st.UPPER_Z||e>=st.LOWER_A&&e<=st.LOWER_Z||Xi(e)}function oE(e){return e===st.EQUALS||sE(e)}var at;(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"})(at||(at={}));var Yn;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Yn||(Yn={}));class lE{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=at.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Yn.Strict}startEntity(t){this.decodeMode=t,this.state=at.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case at.EntityStart:return t.charCodeAt(n)===st.NUM?(this.state=at.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=at.NamedEntity,this.stateNamedEntity(t,n));case at.NumericStart:return this.stateNumericStart(t,n);case at.NumericDecimal:return this.stateNumericDecimal(t,n);case at.NumericHex:return this.stateNumericHex(t,n);case at.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|iE)===st.LOWER_X?(this.state=at.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=at.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(Xi(u)||aE(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(Xi(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===st.SEMI)this.consumed+=1;else if(this.decodeMode===Yn.Strict)return 0;return this.emitCodePoint(uE(this.result),this.consumed),this.errors&&(t!==st.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&Jt.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const a=t.charCodeAt(n);if(this.treeIndex=Nl(r,u,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===Yn.Attribute&&(i===0||oE(a))?0:this.emitNotTerminatedNamedEntity();if(u=r[this.treeIndex],i=(u&Jt.VALUE_LENGTH)>>14,i!==0){if(a===st.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Yn.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]&Jt.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]&~Jt.VALUE_LENGTH:u[t+1],r),n===3&&this.emitCodePoint(u[t+2],r),r}end(){var t;switch(this.state){case at.NamedEntity:return this.result!==0&&(this.decodeMode!==Yn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case at.NumericDecimal:return this.emitNumericEntity(0,2);case at.NumericHex:return this.emitNumericEntity(0,3);case at.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case at.EntityStart:return 0}}}function kl(e){let t="";const n=new lE(e,r=>t+=rE(r));return function(u,i){let a=0,l=0;for(;(l=u.indexOf("&",l))>=0;){t+=u.slice(a,l),n.startEntity(i);const f=n.write(u,l+1);if(f<0){a=l+n.end();break}a=l+f,l=f===0?a+1:a}const c=t+u.slice(a);return t="",c}}function Nl(e,t,n,r){const u=(t&Jt.BRANCH_LENGTH)>>7,i=t&Jt.JUMP_TABLE;if(u===0)return i!==0&&r===i?n:-1;if(i){const c=r-i;return c<0||c>=u?-1:e[n+c]-1}let a=n,l=a+u-1;for(;a<=l;){const c=a+l>>>1,f=e[c];if(f<r)a=c+1;else if(f>r)l=c-1;else return e[c+u]}return-1}kl(yn);kl(tE);var $;(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/"})($=$||($={}));var Dn;(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"})(Dn=Dn||(Dn={}));var vt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(vt=vt||(vt={}));var P;(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"})(P=P||(P={}));var o;(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"})(o=o||(o={}));const cE=new Map([[P.A,o.A],[P.ADDRESS,o.ADDRESS],[P.ANNOTATION_XML,o.ANNOTATION_XML],[P.APPLET,o.APPLET],[P.AREA,o.AREA],[P.ARTICLE,o.ARTICLE],[P.ASIDE,o.ASIDE],[P.B,o.B],[P.BASE,o.BASE],[P.BASEFONT,o.BASEFONT],[P.BGSOUND,o.BGSOUND],[P.BIG,o.BIG],[P.BLOCKQUOTE,o.BLOCKQUOTE],[P.BODY,o.BODY],[P.BR,o.BR],[P.BUTTON,o.BUTTON],[P.CAPTION,o.CAPTION],[P.CENTER,o.CENTER],[P.CODE,o.CODE],[P.COL,o.COL],[P.COLGROUP,o.COLGROUP],[P.DD,o.DD],[P.DESC,o.DESC],[P.DETAILS,o.DETAILS],[P.DIALOG,o.DIALOG],[P.DIR,o.DIR],[P.DIV,o.DIV],[P.DL,o.DL],[P.DT,o.DT],[P.EM,o.EM],[P.EMBED,o.EMBED],[P.FIELDSET,o.FIELDSET],[P.FIGCAPTION,o.FIGCAPTION],[P.FIGURE,o.FIGURE],[P.FONT,o.FONT],[P.FOOTER,o.FOOTER],[P.FOREIGN_OBJECT,o.FOREIGN_OBJECT],[P.FORM,o.FORM],[P.FRAME,o.FRAME],[P.FRAMESET,o.FRAMESET],[P.H1,o.H1],[P.H2,o.H2],[P.H3,o.H3],[P.H4,o.H4],[P.H5,o.H5],[P.H6,o.H6],[P.HEAD,o.HEAD],[P.HEADER,o.HEADER],[P.HGROUP,o.HGROUP],[P.HR,o.HR],[P.HTML,o.HTML],[P.I,o.I],[P.IMG,o.IMG],[P.IMAGE,o.IMAGE],[P.INPUT,o.INPUT],[P.IFRAME,o.IFRAME],[P.KEYGEN,o.KEYGEN],[P.LABEL,o.LABEL],[P.LI,o.LI],[P.LINK,o.LINK],[P.LISTING,o.LISTING],[P.MAIN,o.MAIN],[P.MALIGNMARK,o.MALIGNMARK],[P.MARQUEE,o.MARQUEE],[P.MATH,o.MATH],[P.MENU,o.MENU],[P.META,o.META],[P.MGLYPH,o.MGLYPH],[P.MI,o.MI],[P.MO,o.MO],[P.MN,o.MN],[P.MS,o.MS],[P.MTEXT,o.MTEXT],[P.NAV,o.NAV],[P.NOBR,o.NOBR],[P.NOFRAMES,o.NOFRAMES],[P.NOEMBED,o.NOEMBED],[P.NOSCRIPT,o.NOSCRIPT],[P.OBJECT,o.OBJECT],[P.OL,o.OL],[P.OPTGROUP,o.OPTGROUP],[P.OPTION,o.OPTION],[P.P,o.P],[P.PARAM,o.PARAM],[P.PLAINTEXT,o.PLAINTEXT],[P.PRE,o.PRE],[P.RB,o.RB],[P.RP,o.RP],[P.RT,o.RT],[P.RTC,o.RTC],[P.RUBY,o.RUBY],[P.S,o.S],[P.SCRIPT,o.SCRIPT],[P.SECTION,o.SECTION],[P.SELECT,o.SELECT],[P.SOURCE,o.SOURCE],[P.SMALL,o.SMALL],[P.SPAN,o.SPAN],[P.STRIKE,o.STRIKE],[P.STRONG,o.STRONG],[P.STYLE,o.STYLE],[P.SUB,o.SUB],[P.SUMMARY,o.SUMMARY],[P.SUP,o.SUP],[P.TABLE,o.TABLE],[P.TBODY,o.TBODY],[P.TEMPLATE,o.TEMPLATE],[P.TEXTAREA,o.TEXTAREA],[P.TFOOT,o.TFOOT],[P.TD,o.TD],[P.TH,o.TH],[P.THEAD,o.THEAD],[P.TITLE,o.TITLE],[P.TR,o.TR],[P.TRACK,o.TRACK],[P.TT,o.TT],[P.U,o.U],[P.UL,o.UL],[P.SVG,o.SVG],[P.VAR,o.VAR],[P.WBR,o.WBR],[P.XMP,o.XMP]]);function lr(e){var t;return(t=cE.get(e))!==null&&t!==void 0?t:o.UNKNOWN}const K=o,fE={[$.HTML]:new Set([K.ADDRESS,K.APPLET,K.AREA,K.ARTICLE,K.ASIDE,K.BASE,K.BASEFONT,K.BGSOUND,K.BLOCKQUOTE,K.BODY,K.BR,K.BUTTON,K.CAPTION,K.CENTER,K.COL,K.COLGROUP,K.DD,K.DETAILS,K.DIR,K.DIV,K.DL,K.DT,K.EMBED,K.FIELDSET,K.FIGCAPTION,K.FIGURE,K.FOOTER,K.FORM,K.FRAME,K.FRAMESET,K.H1,K.H2,K.H3,K.H4,K.H5,K.H6,K.HEAD,K.HEADER,K.HGROUP,K.HR,K.HTML,K.IFRAME,K.IMG,K.INPUT,K.LI,K.LINK,K.LISTING,K.MAIN,K.MARQUEE,K.MENU,K.META,K.NAV,K.NOEMBED,K.NOFRAMES,K.NOSCRIPT,K.OBJECT,K.OL,K.P,K.PARAM,K.PLAINTEXT,K.PRE,K.SCRIPT,K.SECTION,K.SELECT,K.SOURCE,K.STYLE,K.SUMMARY,K.TABLE,K.TBODY,K.TD,K.TEMPLATE,K.TEXTAREA,K.TFOOT,K.TH,K.THEAD,K.TITLE,K.TR,K.TRACK,K.UL,K.WBR,K.XMP]),[$.MATHML]:new Set([K.MI,K.MO,K.MN,K.MS,K.MTEXT,K.ANNOTATION_XML]),[$.SVG]:new Set([K.TITLE,K.FOREIGN_OBJECT,K.DESC]),[$.XLINK]:new Set,[$.XML]:new Set,[$.XMLNS]:new Set};function Il(e){return e===K.H1||e===K.H2||e===K.H3||e===K.H4||e===K.H5||e===K.H6}P.STYLE,P.SCRIPT,P.XMP,P.IFRAME,P.NOEMBED,P.NOFRAMES,P.PLAINTEXT;const dE=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 A;(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"})(A||(A={}));const Je={DATA:A.DATA,RCDATA:A.RCDATA,RAWTEXT:A.RAWTEXT,SCRIPT_DATA:A.SCRIPT_DATA,PLAINTEXT:A.PLAINTEXT,CDATA_SECTION:A.CDATA_SECTION};function Vr(e){return e>=b.DIGIT_0&&e<=b.DIGIT_9}function Yr(e){return e>=b.LATIN_CAPITAL_A&&e<=b.LATIN_CAPITAL_Z}function hE(e){return e>=b.LATIN_SMALL_A&&e<=b.LATIN_SMALL_Z}function Cn(e){return hE(e)||Yr(e)}function Ki(e){return Cn(e)||Vr(e)}function Rl(e){return e>=b.LATIN_CAPITAL_A&&e<=b.LATIN_CAPITAL_F}function Ol(e){return e>=b.LATIN_SMALL_A&&e<=b.LATIN_SMALL_F}function pE(e){return Vr(e)||Rl(e)||Ol(e)}function pu(e){return e+32}function Ll(e){return e===b.SPACE||e===b.LINE_FEED||e===b.TABULATION||e===b.FORM_FEED}function mE(e){return e===b.EQUALS_SIGN||Ki(e)}function vs(e){return Ll(e)||e===b.SOLIDUS||e===b.GREATER_THAN_SIGN}class EE{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=A.DATA,this.returnState=A.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new eE(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:Fe.START_TAG,tagName:"",tagID:o.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Fe.END_TAG,tagName:"",tagID:o.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Fe.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Fe.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(Sl(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(H.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=lr(t.tagName),t.type===Fe.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(H.endTagWithAttributes),t.selfClosing&&this._err(H.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 Fe.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Fe.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Fe.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:Fe.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=Ll(t)?Fe.WHITESPACE_CHARACTER:t===b.NULL?Fe.NULL_CHARACTER:Fe.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Fe.CHARACTER,t)}_matchNamedCharacterReference(t){let n=null,r=0,u=!1;for(let i=0,a=yn[0];i>=0&&(i=Nl(yn,a,i+1,t),!(i<0));t=this._consume()){r+=1,a=yn[i];const l=a&Jt.VALUE_LENGTH;if(l){const c=(l>>14)-1;if(t!==b.SEMICOLON&&this._isCharacterReferenceInAttribute()&&mE(this.preprocessor.peek(1))?(n=[b.AMPERSAND],i+=c):(n=c===0?[yn[i]&~Jt.VALUE_LENGTH]:c===1?[yn[++i]]:[yn[++i],yn[++i]],r=0,u=t!==b.SEMICOLON),c===0){this._consume();break}}}return this._unconsume(r),u&&!this.preprocessor.endOfChunkHit&&this._err(H.missingSemicolonAfterCharacterReference),this._unconsume(1),n}_isCharacterReferenceInAttribute(){return this.returnState===A.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===A.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===A.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case A.DATA:{this._stateData(t);break}case A.RCDATA:{this._stateRcdata(t);break}case A.RAWTEXT:{this._stateRawtext(t);break}case A.SCRIPT_DATA:{this._stateScriptData(t);break}case A.PLAINTEXT:{this._statePlaintext(t);break}case A.TAG_OPEN:{this._stateTagOpen(t);break}case A.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case A.TAG_NAME:{this._stateTagName(t);break}case A.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case A.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case A.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case A.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case A.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case A.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case A.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case A.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case A.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case A.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case A.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case A.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case A.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case A.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case A.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case A.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case A.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case A.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case A.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case A.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case A.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case A.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case A.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case A.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case A.BOGUS_COMMENT:{this._stateBogusComment(t);break}case A.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case A.COMMENT_START:{this._stateCommentStart(t);break}case A.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case A.COMMENT:{this._stateComment(t);break}case A.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case A.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case A.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case A.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case A.COMMENT_END:{this._stateCommentEnd(t);break}case A.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case A.DOCTYPE:{this._stateDoctype(t);break}case A.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case A.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case A.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case A.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case A.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case A.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case A.CDATA_SECTION:{this._stateCdataSection(t);break}case A.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case A.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case A.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case A.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case A.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case A.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case A.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case A.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case A.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case A.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case b.LESS_THAN_SIGN:{this.state=A.TAG_OPEN;break}case b.AMPERSAND:{this.returnState=A.DATA,this.state=A.CHARACTER_REFERENCE;break}case b.NULL:{this._err(H.unexpectedNullCharacter),this._emitCodePoint(t);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case b.AMPERSAND:{this.returnState=A.RCDATA,this.state=A.CHARACTER_REFERENCE;break}case b.LESS_THAN_SIGN:{this.state=A.RCDATA_LESS_THAN_SIGN;break}case b.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(Ge);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case b.LESS_THAN_SIGN:{this.state=A.RAWTEXT_LESS_THAN_SIGN;break}case b.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(Ge);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case b.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_LESS_THAN_SIGN;break}case b.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(Ge);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case b.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(Ge);break}case b.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Cn(t))this._createStartTagToken(),this.state=A.TAG_NAME,this._stateTagName(t);else switch(t){case b.EXCLAMATION_MARK:{this.state=A.MARKUP_DECLARATION_OPEN;break}case b.SOLIDUS:{this.state=A.END_TAG_OPEN;break}case b.QUESTION_MARK:{this._err(H.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=A.BOGUS_COMMENT,this._stateBogusComment(t);break}case b.EOF:{this._err(H.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(H.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=A.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Cn(t))this._createEndTagToken(),this.state=A.TAG_NAME,this._stateTagName(t);else switch(t){case b.GREATER_THAN_SIGN:{this._err(H.missingEndTagName),this.state=A.DATA;break}case b.EOF:{this._err(H.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(H.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=A.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=A.BEFORE_ATTRIBUTE_NAME;break}case b.SOLIDUS:{this.state=A.SELF_CLOSING_START_TAG;break}case b.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentTagToken();break}case b.NULL:{this._err(H.unexpectedNullCharacter),n.tagName+=Ge;break}case b.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Yr(t)?pu(t):t)}}_stateRcdataLessThanSign(t){t===b.SOLIDUS?this.state=A.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=A.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Cn(t)?(this.state=A.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=A.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 b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=A.BEFORE_ATTRIBUTE_NAME,!1;case b.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=A.SELF_CLOSING_START_TAG,!1;case b.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=A.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=A.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===b.SOLIDUS?this.state=A.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=A.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Cn(t)?(this.state=A.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=A.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=A.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case b.SOLIDUS:{this.state=A.SCRIPT_DATA_END_TAG_OPEN;break}case b.EXCLAMATION_MARK:{this.state=A.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=A.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Cn(t)?(this.state=A.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=A.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=A.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===b.HYPHEN_MINUS?(this.state=A.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=A.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===b.HYPHEN_MINUS?(this.state=A.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=A.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case b.HYPHEN_MINUS:{this.state=A.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case b.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(Ge);break}case b.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case b.HYPHEN_MINUS:{this.state=A.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case b.NULL:{this._err(H.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_ESCAPED,this._emitChars(Ge);break}case b.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=A.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case b.HYPHEN_MINUS:{this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case b.GREATER_THAN_SIGN:{this.state=A.SCRIPT_DATA,this._emitChars(">");break}case b.NULL:{this._err(H.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_ESCAPED,this._emitChars(Ge);break}case b.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=A.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===b.SOLIDUS?this.state=A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Cn(t)?(this._emitChars("<"),this.state=A.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Cn(t)?(this.state=A.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(St.SCRIPT,!1)&&vs(this.preprocessor.peek(St.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<St.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case b.HYPHEN_MINUS:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case b.NULL:{this._err(H.unexpectedNullCharacter),this._emitChars(Ge);break}case b.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case b.HYPHEN_MINUS:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case b.NULL:{this._err(H.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ge);break}case b.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case b.HYPHEN_MINUS:{this._emitChars("-");break}case b.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case b.GREATER_THAN_SIGN:{this.state=A.SCRIPT_DATA,this._emitChars(">");break}case b.NULL:{this._err(H.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ge);break}case b.EOF:{this._err(H.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===b.SOLIDUS?(this.state=A.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(St.SCRIPT,!1)&&vs(this.preprocessor.peek(St.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<St.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=A.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.SOLIDUS:case b.GREATER_THAN_SIGN:case b.EOF:{this.state=A.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case b.EQUALS_SIGN:{this._err(H.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=A.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=A.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:case b.SOLIDUS:case b.GREATER_THAN_SIGN:case b.EOF:{this._leaveAttrName(),this.state=A.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case b.EQUALS_SIGN:{this._leaveAttrName(),this.state=A.BEFORE_ATTRIBUTE_VALUE;break}case b.QUOTATION_MARK:case b.APOSTROPHE:case b.LESS_THAN_SIGN:{this._err(H.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case b.NULL:{this._err(H.unexpectedNullCharacter),this.currentAttr.name+=Ge;break}default:this.currentAttr.name+=String.fromCodePoint(Yr(t)?pu(t):t)}}_stateAfterAttributeName(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.SOLIDUS:{this.state=A.SELF_CLOSING_START_TAG;break}case b.EQUALS_SIGN:{this.state=A.BEFORE_ATTRIBUTE_VALUE;break}case b.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentTagToken();break}case b.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=A.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.QUOTATION_MARK:{this.state=A.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case b.APOSTROPHE:{this.state=A.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(H.missingAttributeValue),this.state=A.DATA,this.emitCurrentTagToken();break}default:this.state=A.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case b.QUOTATION_MARK:{this.state=A.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case b.AMPERSAND:{this.returnState=A.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=A.CHARACTER_REFERENCE;break}case b.NULL:{this._err(H.unexpectedNullCharacter),this.currentAttr.value+=Ge;break}case b.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case b.APOSTROPHE:{this.state=A.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case b.AMPERSAND:{this.returnState=A.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=A.CHARACTER_REFERENCE;break}case b.NULL:{this._err(H.unexpectedNullCharacter),this.currentAttr.value+=Ge;break}case b.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this._leaveAttrValue(),this.state=A.BEFORE_ATTRIBUTE_NAME;break}case b.AMPERSAND:{this.returnState=A.ATTRIBUTE_VALUE_UNQUOTED,this.state=A.CHARACTER_REFERENCE;break}case b.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=A.DATA,this.emitCurrentTagToken();break}case b.NULL:{this._err(H.unexpectedNullCharacter),this.currentAttr.value+=Ge;break}case b.QUOTATION_MARK:case b.APOSTROPHE:case b.LESS_THAN_SIGN:case b.EQUALS_SIGN:case b.GRAVE_ACCENT:{this._err(H.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case b.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this._leaveAttrValue(),this.state=A.BEFORE_ATTRIBUTE_NAME;break}case b.SOLIDUS:{this._leaveAttrValue(),this.state=A.SELF_CLOSING_START_TAG;break}case b.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=A.DATA,this.emitCurrentTagToken();break}case b.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this._err(H.missingWhitespaceBetweenAttributes),this.state=A.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case b.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=A.DATA,this.emitCurrentTagToken();break}case b.EOF:{this._err(H.eofInTag),this._emitEOFToken();break}default:this._err(H.unexpectedSolidusInTag),this.state=A.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case b.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentComment(n);break}case b.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case b.NULL:{this._err(H.unexpectedNullCharacter),n.data+=Ge;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(St.DASH_DASH,!0)?(this._createCommentToken(St.DASH_DASH.length+1),this.state=A.COMMENT_START):this._consumeSequenceIfMatch(St.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(St.DOCTYPE.length+1),this.state=A.DOCTYPE):this._consumeSequenceIfMatch(St.CDATA_START,!0)?this.inForeignNode?this.state=A.CDATA_SECTION:(this._err(H.cdataInHtmlContent),this._createCommentToken(St.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=A.BOGUS_COMMENT):this._ensureHibernation()||(this._err(H.incorrectlyOpenedComment),this._createCommentToken(2),this.state=A.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case b.HYPHEN_MINUS:{this.state=A.COMMENT_START_DASH;break}case b.GREATER_THAN_SIGN:{this._err(H.abruptClosingOfEmptyComment),this.state=A.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=A.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case b.HYPHEN_MINUS:{this.state=A.COMMENT_END;break}case b.GREATER_THAN_SIGN:{this._err(H.abruptClosingOfEmptyComment),this.state=A.DATA,this.emitCurrentComment(n);break}case b.EOF:{this._err(H.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=A.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case b.HYPHEN_MINUS:{this.state=A.COMMENT_END_DASH;break}case b.LESS_THAN_SIGN:{n.data+="<",this.state=A.COMMENT_LESS_THAN_SIGN;break}case b.NULL:{this._err(H.unexpectedNullCharacter),n.data+=Ge;break}case b.EOF:{this._err(H.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case b.EXCLAMATION_MARK:{n.data+="!",this.state=A.COMMENT_LESS_THAN_SIGN_BANG;break}case b.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=A.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===b.HYPHEN_MINUS?this.state=A.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=A.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===b.HYPHEN_MINUS?this.state=A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=A.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==b.GREATER_THAN_SIGN&&t!==b.EOF&&this._err(H.nestedComment),this.state=A.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case b.HYPHEN_MINUS:{this.state=A.COMMENT_END;break}case b.EOF:{this._err(H.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=A.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case b.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentComment(n);break}case b.EXCLAMATION_MARK:{this.state=A.COMMENT_END_BANG;break}case b.HYPHEN_MINUS:{n.data+="-";break}case b.EOF:{this._err(H.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=A.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case b.HYPHEN_MINUS:{n.data+="--!",this.state=A.COMMENT_END_DASH;break}case b.GREATER_THAN_SIGN:{this._err(H.incorrectlyClosedComment),this.state=A.DATA,this.emitCurrentComment(n);break}case b.EOF:{this._err(H.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=A.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=A.BEFORE_DOCTYPE_NAME;break}case b.GREATER_THAN_SIGN:{this.state=A.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case b.EOF:{this._err(H.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingWhitespaceBeforeDoctypeName),this.state=A.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Yr(t))this._createDoctypeToken(String.fromCharCode(pu(t))),this.state=A.DOCTYPE_NAME;else switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.NULL:{this._err(H.unexpectedNullCharacter),this._createDoctypeToken(Ge),this.state=A.DOCTYPE_NAME;break}case b.GREATER_THAN_SIGN:{this._err(H.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=A.DATA;break}case b.EOF:{this._err(H.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=A.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=A.AFTER_DOCTYPE_NAME;break}case b.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentDoctype(n);break}case b.NULL:{this._err(H.unexpectedNullCharacter),n.name+=Ge;break}case b.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Yr(t)?pu(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentDoctype(n);break}case b.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(St.PUBLIC,!1)?this.state=A.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(St.SYSTEM,!1)?this.state=A.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(H.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case b.QUOTATION_MARK:{this._err(H.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{this._err(H.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(H.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(n);break}case b.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.QUOTATION_MARK:{n.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{n.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(H.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(n);break}case b.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case b.QUOTATION_MARK:{this.state=A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case b.NULL:{this._err(H.unexpectedNullCharacter),n.publicId+=Ge;break}case b.GREATER_THAN_SIGN:{this._err(H.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=A.DATA;break}case b.EOF:{this._err(H.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 b.APOSTROPHE:{this.state=A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case b.NULL:{this._err(H.unexpectedNullCharacter),n.publicId+=Ge;break}case b.GREATER_THAN_SIGN:{this._err(H.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=A.DATA;break}case b.EOF:{this._err(H.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 b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case b.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentDoctype(n);break}case b.QUOTATION_MARK:{this._err(H.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{this._err(H.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case b.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=A.DATA;break}case b.QUOTATION_MARK:{n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case b.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:{this.state=A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case b.QUOTATION_MARK:{this._err(H.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{this._err(H.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(H.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(n);break}case b.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.QUOTATION_MARK:{n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case b.APOSTROPHE:{n.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case b.GREATER_THAN_SIGN:{this._err(H.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(n);break}case b.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case b.QUOTATION_MARK:{this.state=A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case b.NULL:{this._err(H.unexpectedNullCharacter),n.systemId+=Ge;break}case b.GREATER_THAN_SIGN:{this._err(H.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=A.DATA;break}case b.EOF:{this._err(H.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 b.APOSTROPHE:{this.state=A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case b.NULL:{this._err(H.unexpectedNullCharacter),n.systemId+=Ge;break}case b.GREATER_THAN_SIGN:{this._err(H.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=A.DATA;break}case b.EOF:{this._err(H.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 b.SPACE:case b.LINE_FEED:case b.TABULATION:case b.FORM_FEED:break;case b.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=A.DATA;break}case b.EOF:{this._err(H.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(H.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case b.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=A.DATA;break}case b.NULL:{this._err(H.unexpectedNullCharacter);break}case b.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case b.RIGHT_SQUARE_BRACKET:{this.state=A.CDATA_SECTION_BRACKET;break}case b.EOF:{this._err(H.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===b.RIGHT_SQUARE_BRACKET?this.state=A.CDATA_SECTION_END:(this._emitChars("]"),this.state=A.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case b.GREATER_THAN_SIGN:{this.state=A.DATA;break}case b.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=A.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(t){t===b.NUMBER_SIGN?this.state=A.NUMERIC_CHARACTER_REFERENCE:Ki(t)?(this.state=A.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(t)):(this._flushCodePointConsumedAsCharacterReference(b.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(b.AMPERSAND),this.state=A.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(t){Ki(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===b.SEMICOLON&&this._err(H.unknownNamedCharacterReference),this._reconsumeInState(this.returnState,t))}_stateNumericCharacterReference(t){this.charRefCode=0,t===b.LATIN_SMALL_X||t===b.LATIN_CAPITAL_X?this.state=A.HEXADEMICAL_CHARACTER_REFERENCE_START:Vr(t)?(this.state=A.DECIMAL_CHARACTER_REFERENCE,this._stateDecimalCharacterReference(t)):(this._err(H.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(b.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(b.NUMBER_SIGN),this._reconsumeInState(this.returnState,t))}_stateHexademicalCharacterReferenceStart(t){pE(t)?(this.state=A.HEXADEMICAL_CHARACTER_REFERENCE,this._stateHexademicalCharacterReference(t)):(this._err(H.absenceOfDigitsInNumericCharacterReference),this._flushCodePointConsumedAsCharacterReference(b.AMPERSAND),this._flushCodePointConsumedAsCharacterReference(b.NUMBER_SIGN),this._unconsume(2),this.state=this.returnState)}_stateHexademicalCharacterReference(t){Rl(t)?this.charRefCode=this.charRefCode*16+t-55:Ol(t)?this.charRefCode=this.charRefCode*16+t-87:Vr(t)?this.charRefCode=this.charRefCode*16+t-48:t===b.SEMICOLON?this.state=A.NUMERIC_CHARACTER_REFERENCE_END:(this._err(H.missingSemicolonAfterCharacterReference),this.state=A.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateDecimalCharacterReference(t){Vr(t)?this.charRefCode=this.charRefCode*10+t-48:t===b.SEMICOLON?this.state=A.NUMERIC_CHARACTER_REFERENCE_END:(this._err(H.missingSemicolonAfterCharacterReference),this.state=A.NUMERIC_CHARACTER_REFERENCE_END,this._stateNumericCharacterReferenceEnd(t))}_stateNumericCharacterReferenceEnd(t){if(this.charRefCode===b.NULL)this._err(H.nullCharacterReference),this.charRefCode=b.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(H.characterReferenceOutsideUnicodeRange),this.charRefCode=b.REPLACEMENT_CHARACTER;else if(Cl(this.charRefCode))this._err(H.surrogateCharacterReference),this.charRefCode=b.REPLACEMENT_CHARACTER;else if(xl(this.charRefCode))this._err(H.noncharacterCharacterReference);else if(Dl(this.charRefCode)||this.charRefCode===b.CARRIAGE_RETURN){this._err(H.controlCharacterReference);const n=dE.get(this.charRefCode);n!==void 0&&(this.charRefCode=n)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const Fl=new Set([o.DD,o.DT,o.LI,o.OPTGROUP,o.OPTION,o.P,o.RB,o.RP,o.RT,o.RTC]),ws=new Set([...Fl,o.CAPTION,o.COLGROUP,o.TBODY,o.TD,o.TFOOT,o.TH,o.THEAD,o.TR]),mu=new Map([[o.APPLET,$.HTML],[o.CAPTION,$.HTML],[o.HTML,$.HTML],[o.MARQUEE,$.HTML],[o.OBJECT,$.HTML],[o.TABLE,$.HTML],[o.TD,$.HTML],[o.TEMPLATE,$.HTML],[o.TH,$.HTML],[o.ANNOTATION_XML,$.MATHML],[o.MI,$.MATHML],[o.MN,$.MATHML],[o.MO,$.MATHML],[o.MS,$.MATHML],[o.MTEXT,$.MATHML],[o.DESC,$.SVG],[o.FOREIGN_OBJECT,$.SVG],[o.TITLE,$.SVG]]),bE=[o.H1,o.H2,o.H3,o.H4,o.H5,o.H6],gE=[o.TR,o.TEMPLATE,o.HTML],TE=[o.TBODY,o.TFOOT,o.THEAD,o.TEMPLATE,o.HTML],_E=[o.TABLE,o.TEMPLATE,o.HTML],AE=[o.TD,o.TH];class yE{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=o.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===o.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===$.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])!==$.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(bE,$.HTML)}popUntilTableCellPopped(){this.popUntilPopped(AE,$.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(_E,$.HTML)}clearBackToTableBodyContext(){this.clearBackTo(TE,$.HTML)}clearBackToTableRowContext(){this.clearBackTo(gE,$.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]===o.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]===o.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===$.HTML)return!0;if(mu.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(Il(n)&&r===$.HTML)return!0;if(mu.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===$.HTML)return!0;if((r===o.UL||r===o.OL)&&u===$.HTML||mu.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===$.HTML)return!0;if(r===o.BUTTON&&u===$.HTML||mu.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])===$.HTML){if(r===t)return!0;if(r===o.TABLE||r===o.TEMPLATE||r===o.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])===$.HTML){if(n===o.TBODY||n===o.THEAD||n===o.TFOOT)return!0;if(n===o.TABLE||n===o.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])===$.HTML){if(r===t)return!0;if(r!==o.OPTION&&r!==o.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Fl.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ws.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&ws.has(this.currentTagId);)this.pop()}}const Li=3;var Qt;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Qt=Qt||(Qt={}));const Ps={type:Qt.Marker};class CE{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 l=0;l<this.entries.length;l++){const c=this.entries[l];if(c.type===Qt.Marker)break;const{element:f}=c;if(this.treeAdapter.getTagName(f)===i&&this.treeAdapter.getNamespaceURI(f)===a){const d=this.treeAdapter.getAttrList(f);d.length===u&&r.push({idx:l,attrs:d})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Li)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Li)return;const u=new Map(n.map(a=>[a.name,a.value]));let i=0;for(let a=0;a<r.length;a++){const l=r[a];l.attrs.every(c=>u.get(c.name)===c.value)&&(i+=1,i>=Li&&this.entries.splice(l.idx,1))}}insertMarker(){this.entries.unshift(Ps)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Qt.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Qt.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(Ps);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Qt.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Qt.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Qt.Element&&n.element===t)}}function Bs(e){return{nodeName:"#text",value:e,parentNode:null}}const Zn={createDocument(){return{nodeName:"#document",mode:vt.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};Zn.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(Zn.isTextNode(n)){n.value+=t;return}}Zn.appendChild(e,Bs(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Zn.isTextNode(r)?r.value+=t:Zn.insertBefore(e,Bs(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}}},vl="html",DE="about:legacy-compat",xE="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",wl=["+//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//"],SE=[...wl,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],kE=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Pl=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],NE=[...Pl,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Ms(e,t){return t.some(n=>e.startsWith(n))}function IE(e){return e.name===vl&&e.publicId===null&&(e.systemId===null||e.systemId===DE)}function RE(e){if(e.name!==vl)return vt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===xE)return vt.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),kE.has(n))return vt.QUIRKS;let r=t===null?SE:wl;if(Ms(n,r))return vt.QUIRKS;if(r=t===null?Pl:NE,Ms(n,r))return vt.LIMITED_QUIRKS}return vt.NO_QUIRKS}const Hs={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},OE="definitionurl",LE="definitionURL",FE=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])),vE=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:$.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:$.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:$.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:$.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:$.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:$.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:$.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:$.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:$.XML}],["xml:space",{prefix:"xml",name:"space",namespace:$.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:$.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:$.XMLNS}]]),wE=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])),PE=new Set([o.B,o.BIG,o.BLOCKQUOTE,o.BODY,o.BR,o.CENTER,o.CODE,o.DD,o.DIV,o.DL,o.DT,o.EM,o.EMBED,o.H1,o.H2,o.H3,o.H4,o.H5,o.H6,o.HEAD,o.HR,o.I,o.IMG,o.LI,o.LISTING,o.MENU,o.META,o.NOBR,o.OL,o.P,o.PRE,o.RUBY,o.S,o.SMALL,o.SPAN,o.STRONG,o.STRIKE,o.SUB,o.SUP,o.TABLE,o.TT,o.U,o.UL,o.VAR]);function BE(e){const t=e.tagID;return t===o.FONT&&e.attrs.some(({name:r})=>r===Dn.COLOR||r===Dn.SIZE||r===Dn.FACE)||PE.has(t)}function Bl(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===OE){e.attrs[t].name=LE;break}}function Ml(e){for(let t=0;t<e.attrs.length;t++){const n=FE.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Da(e){for(let t=0;t<e.attrs.length;t++){const n=vE.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 ME(e){const t=wE.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=lr(e.tagName))}function HE(e,t){return t===$.MATHML&&(e===o.MI||e===o.MO||e===o.MN||e===o.MS||e===o.MTEXT)}function UE(e,t,n){if(t===$.MATHML&&e===o.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Dn.ENCODING){const u=n[r].value.toLowerCase();return u===Hs.TEXT_HTML||u===Hs.APPLICATION_XML}}return t===$.SVG&&(e===o.FOREIGN_OBJECT||e===o.DESC||e===o.TITLE)}function jE(e,t,n,r){return(!r||r===$.HTML)&&UE(e,t,n)||(!r||r===$.MATHML)&&HE(e,t)}const zE="hidden",YE=8,$E=3;var x;(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"})(x||(x={}));const VE={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Hl=new Set([o.TABLE,o.TBODY,o.TFOOT,o.THEAD,o.TR]),Us={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Zn,onParseError:null};class js{constructor(t,n,r=null,u=null){this.fragmentContext=r,this.scriptHandler=u,this.currentToken=null,this.stopped=!1,this.insertionMode=x.INITIAL,this.originalInsertionMode=x.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={...Us,...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 EE(this.options,this),this.activeFormattingElements=new CE(this.treeAdapter),this.fragmentContextID=r?lr(this.treeAdapter.getTagName(r)):o.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new yE(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={...Us,...n};t??(t=r.treeAdapter.createElement(P.TEMPLATE,$.HTML,[]));const u=r.treeAdapter.createElement("documentmock",$.HTML,[]),i=new this(r,u,t);return i.fragmentContextID===o.TEMPLATE&&i.tmplInsertionModeStack.unshift(x.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:VE,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)===$.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,$.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=x.TEXT}switchToPlaintextParsing(){this.insertionMode=x.TEXT,this.originalInsertionMode=x.IN_BODY,this.tokenizer.state=Je.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)===P.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==$.HTML))switch(this.fragmentContextID){case o.TITLE:case o.TEXTAREA:{this.tokenizer.state=Je.RCDATA;break}case o.STYLE:case o.XMP:case o.IFRAME:case o.NOEMBED:case o.NOFRAMES:case o.NOSCRIPT:{this.tokenizer.state=Je.RAWTEXT;break}case o.SCRIPT:{this.tokenizer.state=Je.SCRIPT_DATA;break}case o.PLAINTEXT:{this.tokenizer.state=Je.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(l=>this.treeAdapter.isDocumentTypeNode(l));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,$.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,$.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(P.HTML,$.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,o.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:c,endCol:f,endOffset:d}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:c,endCol:f,endOffset:d})}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===Fe.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===o.SVG&&this.treeAdapter.getTagName(n)===P.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===$.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===o.MGLYPH||t.tagID===o.MALIGNMARK)&&!this._isIntegrationPoint(r,n,$.HTML)}_processToken(t){switch(t.type){case Fe.CHARACTER:{this.onCharacter(t);break}case Fe.NULL_CHARACTER:{this.onNullCharacter(t);break}case Fe.COMMENT:{this.onComment(t);break}case Fe.DOCTYPE:{this.onDoctype(t);break}case Fe.START_TAG:{this._processStartTag(t);break}case Fe.END_TAG:{this.onEndTag(t);break}case Fe.EOF:{this.onEof(t);break}case Fe.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const u=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return jE(t,u,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(u=>u.type===Qt.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=x.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(o.P),this.openElements.popUntilTagNamePopped(o.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case o.TR:{this.insertionMode=x.IN_ROW;return}case o.TBODY:case o.THEAD:case o.TFOOT:{this.insertionMode=x.IN_TABLE_BODY;return}case o.CAPTION:{this.insertionMode=x.IN_CAPTION;return}case o.COLGROUP:{this.insertionMode=x.IN_COLUMN_GROUP;return}case o.TABLE:{this.insertionMode=x.IN_TABLE;return}case o.BODY:{this.insertionMode=x.IN_BODY;return}case o.FRAMESET:{this.insertionMode=x.IN_FRAMESET;return}case o.SELECT:{this._resetInsertionModeForSelect(t);return}case o.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case o.HTML:{this.insertionMode=this.headElement?x.AFTER_HEAD:x.BEFORE_HEAD;return}case o.TD:case o.TH:{if(t>0){this.insertionMode=x.IN_CELL;return}break}case o.HEAD:{if(t>0){this.insertionMode=x.IN_HEAD;return}break}}this.insertionMode=x.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===o.TEMPLATE)break;if(r===o.TABLE){this.insertionMode=x.IN_SELECT_IN_TABLE;return}}this.insertionMode=x.IN_SELECT}_isElementCausesFosterParenting(t){return Hl.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 o.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===$.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case o.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 fE[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Ag(this,t);return}switch(this.insertionMode){case x.INITIAL:{Hr(this,t);break}case x.BEFORE_HTML:{qr(this,t);break}case x.BEFORE_HEAD:{Wr(this,t);break}case x.IN_HEAD:{Qr(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Gr(this,t);break}case x.AFTER_HEAD:{Xr(this,t);break}case x.IN_BODY:case x.IN_CAPTION:case x.IN_CELL:case x.IN_TEMPLATE:{jl(this,t);break}case x.TEXT:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{Fi(this,t);break}case x.IN_TABLE_TEXT:{Wl(this,t);break}case x.IN_COLUMN_GROUP:{Nu(this,t);break}case x.AFTER_BODY:{Iu(this,t);break}case x.AFTER_AFTER_BODY:{_u(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){_g(this,t);return}switch(this.insertionMode){case x.INITIAL:{Hr(this,t);break}case x.BEFORE_HTML:{qr(this,t);break}case x.BEFORE_HEAD:{Wr(this,t);break}case x.IN_HEAD:{Qr(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Gr(this,t);break}case x.AFTER_HEAD:{Xr(this,t);break}case x.TEXT:{this._insertCharacters(t);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{Fi(this,t);break}case x.IN_COLUMN_GROUP:{Nu(this,t);break}case x.AFTER_BODY:{Iu(this,t);break}case x.AFTER_AFTER_BODY:{_u(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Ji(this,t);return}switch(this.insertionMode){case x.INITIAL:case x.BEFORE_HTML:case x.BEFORE_HEAD:case x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:case x.IN_BODY:case x.IN_TABLE:case x.IN_CAPTION:case x.IN_COLUMN_GROUP:case x.IN_TABLE_BODY:case x.IN_ROW:case x.IN_CELL:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:case x.IN_TEMPLATE:case x.IN_FRAMESET:case x.AFTER_FRAMESET:{Ji(this,t);break}case x.IN_TABLE_TEXT:{Ur(this,t);break}case x.AFTER_BODY:{JE(this,t);break}case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{ZE(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case x.INITIAL:{eb(this,t);break}case x.BEFORE_HEAD:case x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:{this._err(t,H.misplacedDoctype);break}case x.IN_TABLE_TEXT:{Ur(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,H.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?yg(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case x.INITIAL:{Hr(this,t);break}case x.BEFORE_HTML:{tb(this,t);break}case x.BEFORE_HEAD:{rb(this,t);break}case x.IN_HEAD:{Xt(this,t);break}case x.IN_HEAD_NO_SCRIPT:{ab(this,t);break}case x.AFTER_HEAD:{ob(this,t);break}case x.IN_BODY:{bt(this,t);break}case x.IN_TABLE:{nr(this,t);break}case x.IN_TABLE_TEXT:{Ur(this,t);break}case x.IN_CAPTION:{ug(this,t);break}case x.IN_COLUMN_GROUP:{ka(this,t);break}case x.IN_TABLE_BODY:{Mu(this,t);break}case x.IN_ROW:{Hu(this,t);break}case x.IN_CELL:{sg(this,t);break}case x.IN_SELECT:{Xl(this,t);break}case x.IN_SELECT_IN_TABLE:{lg(this,t);break}case x.IN_TEMPLATE:{fg(this,t);break}case x.AFTER_BODY:{hg(this,t);break}case x.IN_FRAMESET:{pg(this,t);break}case x.AFTER_FRAMESET:{Eg(this,t);break}case x.AFTER_AFTER_BODY:{gg(this,t);break}case x.AFTER_AFTER_FRAMESET:{Tg(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Cg(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case x.INITIAL:{Hr(this,t);break}case x.BEFORE_HTML:{nb(this,t);break}case x.BEFORE_HEAD:{ub(this,t);break}case x.IN_HEAD:{ib(this,t);break}case x.IN_HEAD_NO_SCRIPT:{sb(this,t);break}case x.AFTER_HEAD:{lb(this,t);break}case x.IN_BODY:{Bu(this,t);break}case x.TEXT:{Qb(this,t);break}case x.IN_TABLE:{eu(this,t);break}case x.IN_TABLE_TEXT:{Ur(this,t);break}case x.IN_CAPTION:{ig(this,t);break}case x.IN_COLUMN_GROUP:{ag(this,t);break}case x.IN_TABLE_BODY:{Zi(this,t);break}case x.IN_ROW:{Gl(this,t);break}case x.IN_CELL:{og(this,t);break}case x.IN_SELECT:{Kl(this,t);break}case x.IN_SELECT_IN_TABLE:{cg(this,t);break}case x.IN_TEMPLATE:{dg(this,t);break}case x.AFTER_BODY:{Zl(this,t);break}case x.IN_FRAMESET:{mg(this,t);break}case x.AFTER_FRAMESET:{bg(this,t);break}case x.AFTER_AFTER_BODY:{_u(this,t);break}}}onEof(t){switch(this.insertionMode){case x.INITIAL:{Hr(this,t);break}case x.BEFORE_HTML:{qr(this,t);break}case x.BEFORE_HEAD:{Wr(this,t);break}case x.IN_HEAD:{Qr(this,t);break}case x.IN_HEAD_NO_SCRIPT:{Gr(this,t);break}case x.AFTER_HEAD:{Xr(this,t);break}case x.IN_BODY:case x.IN_TABLE:case x.IN_CAPTION:case x.IN_COLUMN_GROUP:case x.IN_TABLE_BODY:case x.IN_ROW:case x.IN_CELL:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:{Vl(this,t);break}case x.TEXT:{Gb(this,t);break}case x.IN_TABLE_TEXT:{Ur(this,t);break}case x.IN_TEMPLATE:{Jl(this,t);break}case x.AFTER_BODY:case x.IN_FRAMESET:case x.AFTER_FRAMESET:case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{Sa(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===b.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 x.IN_HEAD:case x.IN_HEAD_NO_SCRIPT:case x.AFTER_HEAD:case x.TEXT:case x.IN_COLUMN_GROUP:case x.IN_SELECT:case x.IN_SELECT_IN_TABLE:case x.IN_FRAMESET:case x.AFTER_FRAMESET:{this._insertCharacters(t);break}case x.IN_BODY:case x.IN_CAPTION:case x.IN_CELL:case x.IN_TEMPLATE:case x.AFTER_BODY:case x.AFTER_AFTER_BODY:case x.AFTER_AFTER_FRAMESET:{Ul(this,t);break}case x.IN_TABLE:case x.IN_TABLE_BODY:case x.IN_ROW:{Fi(this,t);break}case x.IN_TABLE_TEXT:{ql(this,t);break}}}}function qE(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):$l(e,t),n}function WE(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 QE(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 l=e.activeFormattingElements.getElementEntry(a),c=l&&i>=$E;!l||c?(c&&e.activeFormattingElements.removeEntry(l),e.openElements.remove(a)):(a=GE(e,l),r===t&&(e.activeFormattingElements.bookmark=l),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function GE(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 XE(e,t,n){const r=e.treeAdapter.getTagName(t),u=lr(r);if(e._isElementCausesFosterParenting(u))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);u===o.TEMPLATE&&i===$.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function KE(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 xa(e,t){for(let n=0;n<YE;n++){const r=qE(e,t);if(!r)break;const u=WE(e,r);if(!u)break;e.activeFormattingElements.bookmark=r;const i=QE(e,u,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),a&&XE(e,a,i),KE(e,u,r)}}function Ji(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function JE(e,t){e._appendCommentNode(t,e.openElements.items[0])}function ZE(e,t){e._appendCommentNode(t,e.document)}function Sa(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 eb(e,t){e._setDocumentType(t);const n=t.forceQuirks?vt.QUIRKS:RE(t);IE(t)||e._err(t,H.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=x.BEFORE_HTML}function Hr(e,t){e._err(t,H.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,vt.QUIRKS),e.insertionMode=x.BEFORE_HTML,e._processToken(t)}function tb(e,t){t.tagID===o.HTML?(e._insertElement(t,$.HTML),e.insertionMode=x.BEFORE_HEAD):qr(e,t)}function nb(e,t){const n=t.tagID;(n===o.HTML||n===o.HEAD||n===o.BODY||n===o.BR)&&qr(e,t)}function qr(e,t){e._insertFakeRootElement(),e.insertionMode=x.BEFORE_HEAD,e._processToken(t)}function rb(e,t){switch(t.tagID){case o.HTML:{bt(e,t);break}case o.HEAD:{e._insertElement(t,$.HTML),e.headElement=e.openElements.current,e.insertionMode=x.IN_HEAD;break}default:Wr(e,t)}}function ub(e,t){const n=t.tagID;n===o.HEAD||n===o.BODY||n===o.HTML||n===o.BR?Wr(e,t):e._err(t,H.endTagWithoutMatchingOpenElement)}function Wr(e,t){e._insertFakeElement(P.HEAD,o.HEAD),e.headElement=e.openElements.current,e.insertionMode=x.IN_HEAD,e._processToken(t)}function Xt(e,t){switch(t.tagID){case o.HTML:{bt(e,t);break}case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:{e._appendElement(t,$.HTML),t.ackSelfClosing=!0;break}case o.TITLE:{e._switchToTextParsing(t,Je.RCDATA);break}case o.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Je.RAWTEXT):(e._insertElement(t,$.HTML),e.insertionMode=x.IN_HEAD_NO_SCRIPT);break}case o.NOFRAMES:case o.STYLE:{e._switchToTextParsing(t,Je.RAWTEXT);break}case o.SCRIPT:{e._switchToTextParsing(t,Je.SCRIPT_DATA);break}case o.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=x.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(x.IN_TEMPLATE);break}case o.HEAD:{e._err(t,H.misplacedStartTagForHeadElement);break}default:Qr(e,t)}}function ib(e,t){switch(t.tagID){case o.HEAD:{e.openElements.pop(),e.insertionMode=x.AFTER_HEAD;break}case o.BODY:case o.BR:case o.HTML:{Qr(e,t);break}case o.TEMPLATE:{Qn(e,t);break}default:e._err(t,H.endTagWithoutMatchingOpenElement)}}function Qn(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==o.TEMPLATE&&e._err(t,H.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(o.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,H.endTagWithoutMatchingOpenElement)}function Qr(e,t){e.openElements.pop(),e.insertionMode=x.AFTER_HEAD,e._processToken(t)}function ab(e,t){switch(t.tagID){case o.HTML:{bt(e,t);break}case o.BASEFONT:case o.BGSOUND:case o.HEAD:case o.LINK:case o.META:case o.NOFRAMES:case o.STYLE:{Xt(e,t);break}case o.NOSCRIPT:{e._err(t,H.nestedNoscriptInHead);break}default:Gr(e,t)}}function sb(e,t){switch(t.tagID){case o.NOSCRIPT:{e.openElements.pop(),e.insertionMode=x.IN_HEAD;break}case o.BR:{Gr(e,t);break}default:e._err(t,H.endTagWithoutMatchingOpenElement)}}function Gr(e,t){const n=t.type===Fe.EOF?H.openElementsLeftAfterEof:H.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=x.IN_HEAD,e._processToken(t)}function ob(e,t){switch(t.tagID){case o.HTML:{bt(e,t);break}case o.BODY:{e._insertElement(t,$.HTML),e.framesetOk=!1,e.insertionMode=x.IN_BODY;break}case o.FRAMESET:{e._insertElement(t,$.HTML),e.insertionMode=x.IN_FRAMESET;break}case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:case o.NOFRAMES:case o.SCRIPT:case o.STYLE:case o.TEMPLATE:case o.TITLE:{e._err(t,H.abandonedHeadElementChild),e.openElements.push(e.headElement,o.HEAD),Xt(e,t),e.openElements.remove(e.headElement);break}case o.HEAD:{e._err(t,H.misplacedStartTagForHeadElement);break}default:Xr(e,t)}}function lb(e,t){switch(t.tagID){case o.BODY:case o.HTML:case o.BR:{Xr(e,t);break}case o.TEMPLATE:{Qn(e,t);break}default:e._err(t,H.endTagWithoutMatchingOpenElement)}}function Xr(e,t){e._insertFakeElement(P.BODY,o.BODY),e.insertionMode=x.IN_BODY,Pu(e,t)}function Pu(e,t){switch(t.type){case Fe.CHARACTER:{jl(e,t);break}case Fe.WHITESPACE_CHARACTER:{Ul(e,t);break}case Fe.COMMENT:{Ji(e,t);break}case Fe.START_TAG:{bt(e,t);break}case Fe.END_TAG:{Bu(e,t);break}case Fe.EOF:{Vl(e,t);break}}}function Ul(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function jl(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function cb(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function fb(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function db(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,$.HTML),e.insertionMode=x.IN_FRAMESET)}function hb(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,$.HTML)}function pb(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),Il(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,$.HTML)}function mb(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,$.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Eb(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,$.HTML),n||(e.formElement=e.openElements.current))}function bb(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===o.LI&&u===o.LI||(n===o.DD||n===o.DT)&&(u===o.DD||u===o.DT)){e.openElements.generateImpliedEndTagsWithExclusion(u),e.openElements.popUntilTagNamePopped(u);break}if(u!==o.ADDRESS&&u!==o.DIV&&u!==o.P&&e._isSpecialElement(e.openElements.items[r],u))break}e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,$.HTML)}function gb(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,$.HTML),e.tokenizer.state=Je.PLAINTEXT}function Tb(e,t){e.openElements.hasInScope(o.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(o.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML),e.framesetOk=!1}function _b(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(P.A);n&&(xa(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ab(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function yb(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(o.NOBR)&&(xa(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,$.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Cb(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Db(e,t){e.treeAdapter.getDocumentMode(e.document)!==vt.QUIRKS&&e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._insertElement(t,$.HTML),e.framesetOk=!1,e.insertionMode=x.IN_TABLE}function zl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,$.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Yl(e){const t=Sl(e,Dn.TYPE);return t!=null&&t.toLowerCase()===zE}function xb(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,$.HTML),Yl(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Sb(e,t){e._appendElement(t,$.HTML),t.ackSelfClosing=!0}function kb(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._appendElement(t,$.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Nb(e,t){t.tagName=P.IMG,t.tagID=o.IMG,zl(e,t)}function Ib(e,t){e._insertElement(t,$.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Je.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=x.TEXT}function Rb(e,t){e.openElements.hasInButtonScope(o.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Je.RAWTEXT)}function Ob(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Je.RAWTEXT)}function zs(e,t){e._switchToTextParsing(t,Je.RAWTEXT)}function Lb(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===x.IN_TABLE||e.insertionMode===x.IN_CAPTION||e.insertionMode===x.IN_TABLE_BODY||e.insertionMode===x.IN_ROW||e.insertionMode===x.IN_CELL?x.IN_SELECT_IN_TABLE:x.IN_SELECT}function Fb(e,t){e.openElements.currentTagId===o.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML)}function vb(e,t){e.openElements.hasInScope(o.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,$.HTML)}function wb(e,t){e.openElements.hasInScope(o.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(o.RTC),e._insertElement(t,$.HTML)}function Pb(e,t){e._reconstructActiveFormattingElements(),Bl(t),Da(t),t.selfClosing?e._appendElement(t,$.MATHML):e._insertElement(t,$.MATHML),t.ackSelfClosing=!0}function Bb(e,t){e._reconstructActiveFormattingElements(),Ml(t),Da(t),t.selfClosing?e._appendElement(t,$.SVG):e._insertElement(t,$.SVG),t.ackSelfClosing=!0}function Ys(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,$.HTML)}function bt(e,t){switch(t.tagID){case o.I:case o.S:case o.B:case o.U:case o.EM:case o.TT:case o.BIG:case o.CODE:case o.FONT:case o.SMALL:case o.STRIKE:case o.STRONG:{Ab(e,t);break}case o.A:{_b(e,t);break}case o.H1:case o.H2:case o.H3:case o.H4:case o.H5:case o.H6:{pb(e,t);break}case o.P:case o.DL:case o.OL:case o.UL:case o.DIV:case o.DIR:case o.NAV:case o.MAIN:case o.MENU:case o.ASIDE:case o.CENTER:case o.FIGURE:case o.FOOTER:case o.HEADER:case o.HGROUP:case o.DIALOG:case o.DETAILS:case o.ADDRESS:case o.ARTICLE:case o.SECTION:case o.SUMMARY:case o.FIELDSET:case o.BLOCKQUOTE:case o.FIGCAPTION:{hb(e,t);break}case o.LI:case o.DD:case o.DT:{bb(e,t);break}case o.BR:case o.IMG:case o.WBR:case o.AREA:case o.EMBED:case o.KEYGEN:{zl(e,t);break}case o.HR:{kb(e,t);break}case o.RB:case o.RTC:{vb(e,t);break}case o.RT:case o.RP:{wb(e,t);break}case o.PRE:case o.LISTING:{mb(e,t);break}case o.XMP:{Rb(e,t);break}case o.SVG:{Bb(e,t);break}case o.HTML:{cb(e,t);break}case o.BASE:case o.LINK:case o.META:case o.STYLE:case o.TITLE:case o.SCRIPT:case o.BGSOUND:case o.BASEFONT:case o.TEMPLATE:{Xt(e,t);break}case o.BODY:{fb(e,t);break}case o.FORM:{Eb(e,t);break}case o.NOBR:{yb(e,t);break}case o.MATH:{Pb(e,t);break}case o.TABLE:{Db(e,t);break}case o.INPUT:{xb(e,t);break}case o.PARAM:case o.TRACK:case o.SOURCE:{Sb(e,t);break}case o.IMAGE:{Nb(e,t);break}case o.BUTTON:{Tb(e,t);break}case o.APPLET:case o.OBJECT:case o.MARQUEE:{Cb(e,t);break}case o.IFRAME:{Ob(e,t);break}case o.SELECT:{Lb(e,t);break}case o.OPTION:case o.OPTGROUP:{Fb(e,t);break}case o.NOEMBED:{zs(e,t);break}case o.FRAMESET:{db(e,t);break}case o.TEXTAREA:{Ib(e,t);break}case o.NOSCRIPT:{e.options.scriptingEnabled?zs(e,t):Ys(e,t);break}case o.PLAINTEXT:{gb(e,t);break}case o.COL:case o.TH:case o.TD:case o.TR:case o.HEAD:case o.FRAME:case o.TBODY:case o.TFOOT:case o.THEAD:case o.CAPTION:case o.COLGROUP:break;default:Ys(e,t)}}function Mb(e,t){if(e.openElements.hasInScope(o.BODY)&&(e.insertionMode=x.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function Hb(e,t){e.openElements.hasInScope(o.BODY)&&(e.insertionMode=x.AFTER_BODY,Zl(e,t))}function Ub(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function jb(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(o.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(o.FORM):n&&e.openElements.remove(n))}function zb(e){e.openElements.hasInButtonScope(o.P)||e._insertFakeElement(P.P,o.P),e._closePElement()}function Yb(e){e.openElements.hasInListItemScope(o.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(o.LI),e.openElements.popUntilTagNamePopped(o.LI))}function $b(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function Vb(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function qb(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function Wb(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(P.BR,o.BR),e.openElements.pop(),e.framesetOk=!1}function $l(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!==o.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 Bu(e,t){switch(t.tagID){case o.A:case o.B:case o.I:case o.S:case o.U:case o.EM:case o.TT:case o.BIG:case o.CODE:case o.FONT:case o.NOBR:case o.SMALL:case o.STRIKE:case o.STRONG:{xa(e,t);break}case o.P:{zb(e);break}case o.DL:case o.UL:case o.OL:case o.DIR:case o.DIV:case o.NAV:case o.PRE:case o.MAIN:case o.MENU:case o.ASIDE:case o.BUTTON:case o.CENTER:case o.FIGURE:case o.FOOTER:case o.HEADER:case o.HGROUP:case o.DIALOG:case o.ADDRESS:case o.ARTICLE:case o.DETAILS:case o.SECTION:case o.SUMMARY:case o.LISTING:case o.FIELDSET:case o.BLOCKQUOTE:case o.FIGCAPTION:{Ub(e,t);break}case o.LI:{Yb(e);break}case o.DD:case o.DT:{$b(e,t);break}case o.H1:case o.H2:case o.H3:case o.H4:case o.H5:case o.H6:{Vb(e);break}case o.BR:{Wb(e);break}case o.BODY:{Mb(e,t);break}case o.HTML:{Hb(e,t);break}case o.FORM:{jb(e);break}case o.APPLET:case o.OBJECT:case o.MARQUEE:{qb(e,t);break}case o.TEMPLATE:{Qn(e,t);break}default:$l(e,t)}}function Vl(e,t){e.tmplInsertionModeStack.length>0?Jl(e,t):Sa(e,t)}function Qb(e,t){var n;t.tagID===o.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Gb(e,t){e._err(t,H.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Fi(e,t){if(Hl.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=x.IN_TABLE_TEXT,t.type){case Fe.CHARACTER:{Wl(e,t);break}case Fe.WHITESPACE_CHARACTER:{ql(e,t);break}}else su(e,t)}function Xb(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,$.HTML),e.insertionMode=x.IN_CAPTION}function Kb(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,$.HTML),e.insertionMode=x.IN_COLUMN_GROUP}function Jb(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(P.COLGROUP,o.COLGROUP),e.insertionMode=x.IN_COLUMN_GROUP,ka(e,t)}function Zb(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,$.HTML),e.insertionMode=x.IN_TABLE_BODY}function eg(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(P.TBODY,o.TBODY),e.insertionMode=x.IN_TABLE_BODY,Mu(e,t)}function tg(e,t){e.openElements.hasInTableScope(o.TABLE)&&(e.openElements.popUntilTagNamePopped(o.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function ng(e,t){Yl(t)?e._appendElement(t,$.HTML):su(e,t),t.ackSelfClosing=!0}function rg(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,$.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function nr(e,t){switch(t.tagID){case o.TD:case o.TH:case o.TR:{eg(e,t);break}case o.STYLE:case o.SCRIPT:case o.TEMPLATE:{Xt(e,t);break}case o.COL:{Jb(e,t);break}case o.FORM:{rg(e,t);break}case o.TABLE:{tg(e,t);break}case o.TBODY:case o.TFOOT:case o.THEAD:{Zb(e,t);break}case o.INPUT:{ng(e,t);break}case o.CAPTION:{Xb(e,t);break}case o.COLGROUP:{Kb(e,t);break}default:su(e,t)}}function eu(e,t){switch(t.tagID){case o.TABLE:{e.openElements.hasInTableScope(o.TABLE)&&(e.openElements.popUntilTagNamePopped(o.TABLE),e._resetInsertionMode());break}case o.TEMPLATE:{Qn(e,t);break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TBODY:case o.TD:case o.TFOOT:case o.TH:case o.THEAD:case o.TR:break;default:su(e,t)}}function su(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Pu(e,t),e.fosterParentingEnabled=n}function ql(e,t){e.pendingCharacterTokens.push(t)}function Wl(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Ur(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)su(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Ql=new Set([o.CAPTION,o.COL,o.COLGROUP,o.TBODY,o.TD,o.TFOOT,o.TH,o.THEAD,o.TR]);function ug(e,t){const n=t.tagID;Ql.has(n)?e.openElements.hasInTableScope(o.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(o.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=x.IN_TABLE,nr(e,t)):bt(e,t)}function ig(e,t){const n=t.tagID;switch(n){case o.CAPTION:case o.TABLE:{e.openElements.hasInTableScope(o.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(o.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=x.IN_TABLE,n===o.TABLE&&eu(e,t));break}case o.BODY:case o.COL:case o.COLGROUP:case o.HTML:case o.TBODY:case o.TD:case o.TFOOT:case o.TH:case o.THEAD:case o.TR:break;default:Bu(e,t)}}function ka(e,t){switch(t.tagID){case o.HTML:{bt(e,t);break}case o.COL:{e._appendElement(t,$.HTML),t.ackSelfClosing=!0;break}case o.TEMPLATE:{Xt(e,t);break}default:Nu(e,t)}}function ag(e,t){switch(t.tagID){case o.COLGROUP:{e.openElements.currentTagId===o.COLGROUP&&(e.openElements.pop(),e.insertionMode=x.IN_TABLE);break}case o.TEMPLATE:{Qn(e,t);break}case o.COL:break;default:Nu(e,t)}}function Nu(e,t){e.openElements.currentTagId===o.COLGROUP&&(e.openElements.pop(),e.insertionMode=x.IN_TABLE,e._processToken(t))}function Mu(e,t){switch(t.tagID){case o.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,$.HTML),e.insertionMode=x.IN_ROW;break}case o.TH:case o.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(P.TR,o.TR),e.insertionMode=x.IN_ROW,Hu(e,t);break}case o.CAPTION:case o.COL:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE,nr(e,t));break}default:nr(e,t)}}function Zi(e,t){const n=t.tagID;switch(t.tagID){case o.TBODY:case o.TFOOT:case o.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE);break}case o.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE,eu(e,t));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TD:case o.TH:case o.TR:break;default:eu(e,t)}}function Hu(e,t){switch(t.tagID){case o.TH:case o.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,$.HTML),e.insertionMode=x.IN_CELL,e.activeFormattingElements.insertMarker();break}case o.CAPTION:case o.COL:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:case o.TR:{e.openElements.hasInTableScope(o.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY,Mu(e,t));break}default:nr(e,t)}}function Gl(e,t){switch(t.tagID){case o.TR:{e.openElements.hasInTableScope(o.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY);break}case o.TABLE:{e.openElements.hasInTableScope(o.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY,Zi(e,t));break}case o.TBODY:case o.TFOOT:case o.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(o.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=x.IN_TABLE_BODY,Zi(e,t));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:case o.TD:case o.TH:break;default:eu(e,t)}}function sg(e,t){const n=t.tagID;Ql.has(n)?(e.openElements.hasInTableScope(o.TD)||e.openElements.hasInTableScope(o.TH))&&(e._closeTableCell(),Hu(e,t)):bt(e,t)}function og(e,t){const n=t.tagID;switch(n){case o.TD:case o.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=x.IN_ROW);break}case o.TABLE:case o.TBODY:case o.TFOOT:case o.THEAD:case o.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Gl(e,t));break}case o.BODY:case o.CAPTION:case o.COL:case o.COLGROUP:case o.HTML:break;default:Bu(e,t)}}function Xl(e,t){switch(t.tagID){case o.HTML:{bt(e,t);break}case o.OPTION:{e.openElements.currentTagId===o.OPTION&&e.openElements.pop(),e._insertElement(t,$.HTML);break}case o.OPTGROUP:{e.openElements.currentTagId===o.OPTION&&e.openElements.pop(),e.openElements.currentTagId===o.OPTGROUP&&e.openElements.pop(),e._insertElement(t,$.HTML);break}case o.INPUT:case o.KEYGEN:case o.TEXTAREA:case o.SELECT:{e.openElements.hasInSelectScope(o.SELECT)&&(e.openElements.popUntilTagNamePopped(o.SELECT),e._resetInsertionMode(),t.tagID!==o.SELECT&&e._processStartTag(t));break}case o.SCRIPT:case o.TEMPLATE:{Xt(e,t);break}}}function Kl(e,t){switch(t.tagID){case o.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===o.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===o.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===o.OPTGROUP&&e.openElements.pop();break}case o.OPTION:{e.openElements.currentTagId===o.OPTION&&e.openElements.pop();break}case o.SELECT:{e.openElements.hasInSelectScope(o.SELECT)&&(e.openElements.popUntilTagNamePopped(o.SELECT),e._resetInsertionMode());break}case o.TEMPLATE:{Qn(e,t);break}}}function lg(e,t){const n=t.tagID;n===o.CAPTION||n===o.TABLE||n===o.TBODY||n===o.TFOOT||n===o.THEAD||n===o.TR||n===o.TD||n===o.TH?(e.openElements.popUntilTagNamePopped(o.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Xl(e,t)}function cg(e,t){const n=t.tagID;n===o.CAPTION||n===o.TABLE||n===o.TBODY||n===o.TFOOT||n===o.THEAD||n===o.TR||n===o.TD||n===o.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(o.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Kl(e,t)}function fg(e,t){switch(t.tagID){case o.BASE:case o.BASEFONT:case o.BGSOUND:case o.LINK:case o.META:case o.NOFRAMES:case o.SCRIPT:case o.STYLE:case o.TEMPLATE:case o.TITLE:{Xt(e,t);break}case o.CAPTION:case o.COLGROUP:case o.TBODY:case o.TFOOT:case o.THEAD:{e.tmplInsertionModeStack[0]=x.IN_TABLE,e.insertionMode=x.IN_TABLE,nr(e,t);break}case o.COL:{e.tmplInsertionModeStack[0]=x.IN_COLUMN_GROUP,e.insertionMode=x.IN_COLUMN_GROUP,ka(e,t);break}case o.TR:{e.tmplInsertionModeStack[0]=x.IN_TABLE_BODY,e.insertionMode=x.IN_TABLE_BODY,Mu(e,t);break}case o.TD:case o.TH:{e.tmplInsertionModeStack[0]=x.IN_ROW,e.insertionMode=x.IN_ROW,Hu(e,t);break}default:e.tmplInsertionModeStack[0]=x.IN_BODY,e.insertionMode=x.IN_BODY,bt(e,t)}}function dg(e,t){t.tagID===o.TEMPLATE&&Qn(e,t)}function Jl(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(o.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Sa(e,t)}function hg(e,t){t.tagID===o.HTML?bt(e,t):Iu(e,t)}function Zl(e,t){var n;if(t.tagID===o.HTML){if(e.fragmentContext||(e.insertionMode=x.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===o.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 Iu(e,t)}function Iu(e,t){e.insertionMode=x.IN_BODY,Pu(e,t)}function pg(e,t){switch(t.tagID){case o.HTML:{bt(e,t);break}case o.FRAMESET:{e._insertElement(t,$.HTML);break}case o.FRAME:{e._appendElement(t,$.HTML),t.ackSelfClosing=!0;break}case o.NOFRAMES:{Xt(e,t);break}}}function mg(e,t){t.tagID===o.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==o.FRAMESET&&(e.insertionMode=x.AFTER_FRAMESET))}function Eg(e,t){switch(t.tagID){case o.HTML:{bt(e,t);break}case o.NOFRAMES:{Xt(e,t);break}}}function bg(e,t){t.tagID===o.HTML&&(e.insertionMode=x.AFTER_AFTER_FRAMESET)}function gg(e,t){t.tagID===o.HTML?bt(e,t):_u(e,t)}function _u(e,t){e.insertionMode=x.IN_BODY,Pu(e,t)}function Tg(e,t){switch(t.tagID){case o.HTML:{bt(e,t);break}case o.NOFRAMES:{Xt(e,t);break}}}function _g(e,t){t.chars=Ge,e._insertCharacters(t)}function Ag(e,t){e._insertCharacters(t),e.framesetOk=!1}function ec(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==$.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function yg(e,t){if(BE(t))ec(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===$.MATHML?Bl(t):r===$.SVG&&(ME(t),Ml(t)),Da(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function Cg(e,t){if(t.tagID===o.P||t.tagID===o.BR){ec(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)===$.HTML){e._endTagOutsideForeignContent(t);break}const u=e.treeAdapter.getTagName(r);if(u.toLowerCase()===t.tagName){t.tagName=u,e.openElements.shortenToLength(n);break}}}P.AREA,P.BASE,P.BASEFONT,P.BGSOUND,P.BR,P.COL,P.EMBED,P.FRAME,P.HR,P.IMG,P.INPUT,P.KEYGEN,P.LINK,P.META,P.PARAM,P.SOURCE,P.TRACK,P.WBR;const Dg=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),$s={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tc(e,t){const n=vg(e),r=ia("type",{handlers:{root:xg,element:Sg,text:kg,comment:rc,doctype:Ng,raw:Rg},unknown:Og}),u={parser:n?new js($s):js.getFragmentParser(void 0,$s),handle(l){r(l,u)},stitches:!1,options:t||{}};r(e,u),cr(u,en());const i=n?u.parser.document:u.parser.getFragment(),a=P1(i,{file:u.options.file});return u.stitches&&Nt(a,"comment",function(l,c,f){const d=l;if(d.value.stitch&&f&&c!==void 0){const h=f.children;return h[c]=d.value.stitch,c}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function nc(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function xg(e,t){nc(e.children,t)}function Sg(e,t){Lg(e,t),nc(e.children,t),Fg(e,t)}function kg(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Fe.CHARACTER,chars:e.value,location:ou(e)};cr(t,en(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Ng(e,t){const n={type:Fe.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:ou(e)};cr(t,en(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Ig(e,t){t.stitches=!0;const n=wg(e);if("children"in e&&"children"in n){const r=tc({type:"root",children:e.children},t.options);n.children=r.children}rc({type:"comment",value:{stitch:n}},t)}function rc(e,t){const n=e.value,r={type:Fe.COMMENT,data:n,location:ou(e)};cr(t,en(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Rg(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,uc(t,en(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 Og(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))Ig(n,t);else{let r="";throw Dg.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 cr(e,t){uc(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=Je.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 uc(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 Lg(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Je.PLAINTEXT)return;cr(t,en(e));const r=t.parser.openElements.current;let u="namespaceURI"in r?r.namespaceURI:$n.html;u===$n.html&&n==="svg"&&(u=$n.svg);const i=j1({...e,children:[]},{space:u===$n.svg?"svg":"html"}),a={type:Fe.START_TAG,tagName:n,tagID:lr(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:ou(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function Fg(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&G1.includes(n)||t.parser.tokenizer.state===Je.PLAINTEXT)return;cr(t,vu(e));const r={type:Fe.END_TAG,tagName:n,tagID:lr(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:ou(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Je.RCDATA||t.parser.tokenizer.state===Je.RAWTEXT||t.parser.tokenizer.state===Je.SCRIPT_DATA)&&(t.parser.tokenizer.state=Je.DATA)}function vg(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function ou(e){const t=en(e)||{line:void 0,column:void 0,offset:void 0},n=vu(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 wg(e){return"children"in e?bn({...e,children:[]}):bn(e)}function Pg(e){return function(t,n){return tc(t,{...e,file:n})}}const ic=function(e){if(e==null)return Hg;if(typeof e=="string")return Mg(e);if(typeof e=="object")return Bg(e);if(typeof e=="function")return Na(e);throw new Error("Expected function, string, or array as `test`")};function Bg(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=ic(e[n]);return Na(r);function r(...u){let i=-1;for(;++i<t.length;)if(t[i].apply(this,u))return!0;return!1}}function Mg(e){return Na(t);function t(n){return n.tagName===e}}function Na(e){return t;function t(n,r,u){return!!(Ug(n)&&e.call(this,n,typeof r=="number"?r:void 0,u||void 0))}}function Hg(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function Ug(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const jg=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,zg=/^[a-zA-Z]:\\/;function Yg(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return zg.test(e)?!1:jg.test(e)}const $g=["http","https"],Vg=["nofollow"],qg={};function Wg(e){const t=e||qg,n=t.protocols||$g,r=ic(t.test);return function(u){Nt(u,"element",function(i,a,l){if(i.tagName==="a"&&typeof i.properties.href=="string"&&r(i,a,l)){const c=i.properties.href;if(Yg(c)?n.includes(c.slice(0,c.indexOf(":"))):c.startsWith("//")){const f=jr(t.content,i),d=f&&!Array.isArray(f)?[f]:f,h=jr(t.rel,i)||Vg,g=typeof h=="string"?Zr(h):h,E=jr(t.target,i),D=jr(t.properties,i);if(D&&Object.assign(i.properties,bn(D)),g.length>0&&(i.properties.rel=[...g]),E&&(i.properties.target=E),d){const w=jr(t.contentProperties,i)||{};i.children.push({type:"element",tagName:"span",properties:bn(w),children:bn(d)})}}}})}}function jr(e,t){return typeof e=="function"?e(t):e}function ac(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 Qg(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+"`");Nt(e,"element",function(n){let r=ac(n);r&&(r+=t,n.tagName="h"+(r>6?6:r<1?1:r))})}const Gg={};function Xg(e){const t=(e||Gg).shift||0;return function(n){t&&Qg(n,t)}}const Kg=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Jg=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Zg={};function Vs(e,t){return(Zg.jsx?Jg:Kg).test(e)}const eT=/[ \t\n\f\r]/g;function tT(e){return typeof e=="object"?e.type==="text"?qs(e.value):!1:qs(e)}function qs(e){return e.replace(eT,"")===""}var Kn={},vi,Ws;function nT(){if(Ws)return vi;Ws=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,u=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,c=`
|
|
81
|
+
`,f="/",d="*",h="",g="comment",E="declaration";vi=function(w,O){if(typeof w!="string")throw new TypeError("First argument must be a string");if(!w)return[];O=O||{};var F=1,M=1;function V(Q){var W=Q.match(t);W&&(F+=W.length);var k=Q.lastIndexOf(c);M=~k?Q.length-k:M+Q.length}function ue(){var Q={line:F,column:M};return function(W){return W.position=new J(Q),de(),W}}function J(Q){this.start=Q,this.end={line:F,column:M},this.source=O.source}J.prototype.content=w;function B(Q){var W=new Error(O.source+":"+F+":"+M+": "+Q);if(W.reason=Q,W.filename=O.source,W.line=F,W.column=M,W.source=w,!O.silent)throw W}function U(Q){var W=Q.exec(w);if(W){var k=W[0];return V(k),w=w.slice(k.length),W}}function de(){U(n)}function pe(Q){var W;for(Q=Q||[];W=v();)W!==!1&&Q.push(W);return Q}function v(){var Q=ue();if(!(f!=w.charAt(0)||d!=w.charAt(1))){for(var W=2;h!=w.charAt(W)&&(d!=w.charAt(W)||f!=w.charAt(W+1));)++W;if(W+=2,h===w.charAt(W-1))return B("End of comment missing");var k=w.slice(2,W-2);return M+=2,V(k),w=w.slice(W),M+=2,Q({type:g,comment:k})}}function ne(){var Q=ue(),W=U(r);if(W){if(v(),!U(u))return B("property missing ':'");var k=U(i),Ae=Q({type:E,property:D(W[0].replace(e,h)),value:k?D(k[0].replace(e,h)):h});return U(a),Ae}}function q(){var Q=[];pe(Q);for(var W;W=ne();)W!==!1&&(Q.push(W),pe(Q));return Q}return de(),q()};function D(w){return w?w.replace(l,h):h}return vi}var Qs;function rT(){if(Qs)return Kn;Qs=1;var e=Kn&&Kn.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Kn,"__esModule",{value:!0});var t=e(nT());function n(r,u){var i=null;if(!r||typeof r!="string")return i;var a=(0,t.default)(r),l=typeof u=="function";return a.forEach(function(c){if(c.type==="declaration"){var f=c.property,d=c.value;l?u(f,d,c):d&&(i=i||{},i[f]=d)}}),i}return Kn.default=n,Kn}var uT=rT();const Gs=ra(uT),iT=Gs.default||Gs,Ia={}.hasOwnProperty,aT=new Map,sT=/[A-Z]/g,oT=/-([a-z])/g,lT=new Set(["table","tbody","thead","tfoot","tr"]),cT=new Set(["td","th"]),sc="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function fT(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=TT(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=gT(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"?_n:sr,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=oc(u,e,void 0);return i&&typeof i!="string"?i:u.create(e,u.Fragment,{children:i||void 0},void 0)}function oc(e,t,n){if(t.type==="element")return dT(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return hT(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return mT(e,t,n);if(t.type==="mdxjsEsm")return pT(e,t);if(t.type==="root")return ET(e,t,n);if(t.type==="text")return bT(e,t)}function dT(e,t,n){const r=e.schema;let u=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(u=_n,e.schema=u),e.ancestors.push(t);const i=cc(e,t.tagName,!1),a=_T(e,t);let l=Oa(e,t);return lT.has(t.tagName)&&(l=l.filter(function(c){return typeof c=="string"?!tT(c):!0})),lc(e,a,i,t),Ra(a,l),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function hT(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)}tu(e,t.position)}function pT(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);tu(e,t.position)}function mT(e,t,n){const r=e.schema;let u=r;t.name==="svg"&&r.space==="html"&&(u=_n,e.schema=u),e.ancestors.push(t);const i=t.name===null?e.Fragment:cc(e,t.name,!0),a=AT(e,t),l=Oa(e,t);return lc(e,a,i,t),Ra(a,l),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}function ET(e,t,n){const r={};return Ra(r,Oa(e,t)),e.create(t,e.Fragment,r,n)}function bT(e,t){return t.value}function lc(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Ra(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function gT(e,t,n){return r;function r(u,i,a,l){const f=Array.isArray(a.children)?n:t;return l?f(i,a,l):f(i,a)}}function TT(e,t){return n;function n(r,u,i,a){const l=Array.isArray(i.children),c=en(r);return t(u,i,a,l,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function _T(e,t){const n={};let r,u;for(u in t.properties)if(u!=="children"&&Ia.call(t.properties,u)){const i=yT(e,u,t.properties[u]);if(i){const[a,l]=i;e.tableCellAlignToStyle&&a==="align"&&typeof l=="string"&&cT.has(t.tagName)?r=l:n[a]=l}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function AT(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 l=a.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else tu(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 l=r.value.data.estree.body[0];l.type,i=e.evaluater.evaluateExpression(l.expression)}else tu(e,t.position);else i=r.value===null?!0:r.value;n[u]=i}return n}function Oa(e,t){const n=[];let r=-1;const u=e.passKeys?new Map:aT;for(;++r<t.children.length;){const i=t.children[r];let a;if(e.passKeys){const c=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(c){const f=u.get(c)||0;a=c+"-"+f,u.set(c,f+1)}}const l=oc(e,i,a);l!==void 0&&n.push(l)}return n}function yT(e,t,n){const r=au(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?El(n):gl(n)),r.property==="style"){let u=typeof n=="object"?n:CT(e,String(n));return e.stylePropertyNameCase==="css"&&(u=DT(u)),["style",u]}return[e.elementAttributeNameCase==="react"&&r.space?x1[r.property]||r.property:r.attribute,n]}}function CT(e,t){const n={};try{iT(t,r)}catch(u){if(!e.ignoreInvalidStyle){const i=u,a=new Et("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=sc+"#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(oT,ST)),n[a]=i}}function cc(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 l=Vs(u[i])?{type:"Identifier",name:u[i]}:{type:"Literal",value:u[i]};a=a?{type:"MemberExpression",object:a,property:l,computed:!!(i&&l.type==="Literal"),optional:!1}:l}r=a}else r=Vs(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const u=r.value;return Ia.call(e.components,u)?e.components[u]:u}if(e.evaluater)return e.evaluater.evaluateExpression(r);tu(e)}function tu(e,t){const n=new Et("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=sc+"#cannot-handle-mdx-estrees-without-createevaluater",n}function DT(e){const t={};let n;for(n in e)Ia.call(e,n)&&(t[xT(n)]=e[n]);return t}function xT(e){let t=e.replace(sT,kT);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function ST(e,t){return t.toUpperCase()}function kT(e){return"-"+e.toLowerCase()}function NT(e){const t=this;t.compiler=n;function n(r,u){return fT(r,{filePath:u.path,...e})}}const IT=/[\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,RT=Object.hasOwnProperty;class fc{constructor(){this.occurrences,this.reset()}slug(t,n){const r=this;let u=OT(t,n===!0);const i=u;for(;RT.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(IT,"").replace(/ /g,"-"))}function LT(e){return"children"in e?dc(e):"value"in e?e.value:""}function FT(e){return e.type==="text"?e.value:"children"in e?dc(e):""}function dc(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=FT(e.children[t]);return n.join("")}const vT={},Xs=new fc;function wT(e){const n=(e||vT).prefix||"";return function(r){Xs.reset(),Nt(r,"element",function(u){ac(u)&&!u.properties.id&&(u.properties.id=n+Xs.slug(LT(u)))})}}const rr=(...e)=>e.filter(Boolean).join(" "),PT=e=>{const t=[],n=[];let r=-1,u=-1;for(const{children:i,...a}of e){if(r<a.depth&&a.depth<=u+1){const l=a.depth-r;u=a.depth,(n[l-1].children??[]).push(a),n[l]=a;continue}t.push(a),n[0]=a,r=u=a.depth}return t};var Ks;(e=>{e.clickable=`
|
|
82
|
+
px-2
|
|
83
|
+
min-h-[calc(44/16*1rem)]
|
|
84
|
+
border
|
|
85
|
+
border-transparent
|
|
86
|
+
rounded-lg
|
|
87
|
+
hover:bg-solid-grey-50
|
|
88
|
+
`,e.selected=`
|
|
89
|
+
rounded-full
|
|
90
|
+
bg-yellow-50
|
|
91
|
+
`;const t=`
|
|
92
|
+
focus-visible:outline
|
|
93
|
+
focus-visible:outline-4
|
|
94
|
+
focus-visible:outline-black
|
|
95
|
+
focus-visible:ring-yellow-300
|
|
96
|
+
`;e.focusRectCondensed=`
|
|
97
|
+
${t}
|
|
98
|
+
focus-visible:-outline-offset-4
|
|
99
|
+
focus-visible:ring-[calc(6/16*1rem)]
|
|
100
|
+
focus-visible:ring-inset
|
|
101
|
+
`,e.focusRectCondensedWithBg=`
|
|
102
|
+
${e.focusRectCondensed}
|
|
103
|
+
focus-visible:bg-yellow-300
|
|
104
|
+
`,e.focusRect=`
|
|
105
|
+
${t}
|
|
106
|
+
focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
107
|
+
focus-visible:ring-[calc(2/16*1rem)]
|
|
108
|
+
`,e.focusRounded=`
|
|
109
|
+
${e.focusRect}
|
|
110
|
+
focus-visible:rounded
|
|
111
|
+
`,e.focusCard=`
|
|
112
|
+
${e.focusRect}
|
|
113
|
+
focus-visible:rounded-2xl
|
|
114
|
+
sm:focus-visible:rounded-3xl
|
|
115
|
+
`,e.focusRectWithBg=`
|
|
116
|
+
${e.focusRect}
|
|
117
|
+
focus-visible:bg-yellow-300
|
|
118
|
+
`,e.focusRoundedWithBg=`
|
|
119
|
+
${e.focusRectWithBg}
|
|
120
|
+
focus-visible:rounded
|
|
121
|
+
`,e.hoverUnderline=`
|
|
122
|
+
hover:underline
|
|
123
|
+
hover:underline-offset-[calc(3/16*1rem)]
|
|
124
|
+
`,e.underline=`
|
|
125
|
+
underline
|
|
126
|
+
underline-offset-[calc(3/16*1rem)]
|
|
127
|
+
hover:decoration-[calc(3/16*1rem)]
|
|
128
|
+
`,e.underlineNoDeco=`
|
|
129
|
+
underline
|
|
130
|
+
underline-offset-[calc(3/16*1rem)]
|
|
131
|
+
`,e.popover=`
|
|
132
|
+
min-w-fit
|
|
133
|
+
w-auto
|
|
134
|
+
py-2
|
|
135
|
+
bg-white
|
|
136
|
+
shadow-1
|
|
137
|
+
rounded-lg
|
|
138
|
+
border
|
|
139
|
+
border-solid-grey-420
|
|
140
|
+
has-[>:nth-child(7)]:rounded-r-none
|
|
141
|
+
`,e.popoverPositionBottomRight=`
|
|
142
|
+
absolute
|
|
143
|
+
top-11
|
|
144
|
+
right-0
|
|
145
|
+
`,e.popoverPositionBottomLeft=`
|
|
146
|
+
absolute
|
|
147
|
+
top-11
|
|
148
|
+
left-0
|
|
149
|
+
`,(n=>{n.focus=`
|
|
150
|
+
peer-focus-visible:outline
|
|
151
|
+
peer-focus-visible:outline-4
|
|
152
|
+
peer-focus-visible:outline-black
|
|
153
|
+
peer-focus-visible:ring-yellow-300
|
|
154
|
+
`,n.focusRect=`
|
|
155
|
+
${n.focus}
|
|
156
|
+
peer-focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
157
|
+
peer-focus-visible:ring-[calc(2/16*1rem)]
|
|
158
|
+
`})(e.Peer||(e.Peer={}))})(Ks||(Ks={}));var wi={exports:{}},we={};/**
|
|
82
159
|
* @license React
|
|
83
160
|
* react.production.min.js
|
|
84
161
|
*
|
|
@@ -86,7 +163,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
86
163
|
*
|
|
87
164
|
* This source code is licensed under the MIT license found in the
|
|
88
165
|
* LICENSE file in the root directory of this source tree.
|
|
89
|
-
*/var
|
|
166
|
+
*/var Js;function BT(){if(Js)return we;Js=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;function g(T){return T===null||typeof T!="object"?null:(T=h&&T[h]||T["@@iterator"],typeof T=="function"?T:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D=Object.assign,w={};function O(T,I,y){this.props=T,this.context=I,this.refs=w,this.updater=y||E}O.prototype.isReactComponent={},O.prototype.setState=function(T,I){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,I,"setState")},O.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function F(){}F.prototype=O.prototype;function M(T,I,y){this.props=T,this.context=I,this.refs=w,this.updater=y||E}var V=M.prototype=new F;V.constructor=M,D(V,O.prototype),V.isPureReactComponent=!0;var ue=Array.isArray,J=Object.prototype.hasOwnProperty,B={current:null},U={key:!0,ref:!0,__self:!0,__source:!0};function de(T,I,y){var re,ae={},oe=null,me=null;if(I!=null)for(re in I.ref!==void 0&&(me=I.ref),I.key!==void 0&&(oe=""+I.key),I)J.call(I,re)&&!U.hasOwnProperty(re)&&(ae[re]=I[re]);var ce=arguments.length-2;if(ce===1)ae.children=y;else if(1<ce){for(var fe=Array(ce),De=0;De<ce;De++)fe[De]=arguments[De+2];ae.children=fe}if(T&&T.defaultProps)for(re in ce=T.defaultProps,ce)ae[re]===void 0&&(ae[re]=ce[re]);return{$$typeof:e,type:T,key:oe,ref:me,props:ae,_owner:B.current}}function pe(T,I){return{$$typeof:e,type:T.type,key:I,ref:T.ref,props:T.props,_owner:T._owner}}function v(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function ne(T){var I={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(y){return I[y]})}var q=/\/+/g;function Q(T,I){return typeof T=="object"&&T!==null&&T.key!=null?ne(""+T.key):I.toString(36)}function W(T,I,y,re,ae){var oe=typeof T;(oe==="undefined"||oe==="boolean")&&(T=null);var me=!1;if(T===null)me=!0;else switch(oe){case"string":case"number":me=!0;break;case"object":switch(T.$$typeof){case e:case t:me=!0}}if(me)return me=T,ae=ae(me),T=re===""?"."+Q(me,0):re,ue(ae)?(y="",T!=null&&(y=T.replace(q,"$&/")+"/"),W(ae,I,y,"",function(De){return De})):ae!=null&&(v(ae)&&(ae=pe(ae,y+(!ae.key||me&&me.key===ae.key?"":(""+ae.key).replace(q,"$&/")+"/")+T)),I.push(ae)),1;if(me=0,re=re===""?".":re+":",ue(T))for(var ce=0;ce<T.length;ce++){oe=T[ce];var fe=re+Q(oe,ce);me+=W(oe,I,y,fe,ae)}else if(fe=g(T),typeof fe=="function")for(T=fe.call(T),ce=0;!(oe=T.next()).done;)oe=oe.value,fe=re+Q(oe,ce++),me+=W(oe,I,y,fe,ae);else if(oe==="object")throw I=String(T),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.");return me}function k(T,I,y){if(T==null)return T;var re=[],ae=0;return W(T,re,"","",function(oe){return I.call(y,oe,ae++)}),re}function Ae(T){if(T._status===-1){var I=T._result;I=I(),I.then(function(y){(T._status===0||T._status===-1)&&(T._status=1,T._result=y)},function(y){(T._status===0||T._status===-1)&&(T._status=2,T._result=y)}),T._status===-1&&(T._status=0,T._result=I)}if(T._status===1)return T._result.default;throw T._result}var Y={current:null},je={transition:null},We={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:je,ReactCurrentOwner:B};function S(){throw Error("act(...) is not supported in production builds of React.")}return we.Children={map:k,forEach:function(T,I,y){k(T,function(){I.apply(this,arguments)},y)},count:function(T){var I=0;return k(T,function(){I++}),I},toArray:function(T){return k(T,function(I){return I})||[]},only:function(T){if(!v(T))throw Error("React.Children.only expected to receive a single React element child.");return T}},we.Component=O,we.Fragment=n,we.Profiler=u,we.PureComponent=M,we.StrictMode=r,we.Suspense=c,we.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=We,we.act=S,we.cloneElement=function(T,I,y){if(T==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+T+".");var re=D({},T.props),ae=T.key,oe=T.ref,me=T._owner;if(I!=null){if(I.ref!==void 0&&(oe=I.ref,me=B.current),I.key!==void 0&&(ae=""+I.key),T.type&&T.type.defaultProps)var ce=T.type.defaultProps;for(fe in I)J.call(I,fe)&&!U.hasOwnProperty(fe)&&(re[fe]=I[fe]===void 0&&ce!==void 0?ce[fe]:I[fe])}var fe=arguments.length-2;if(fe===1)re.children=y;else if(1<fe){ce=Array(fe);for(var De=0;De<fe;De++)ce[De]=arguments[De+2];re.children=ce}return{$$typeof:e,type:T.type,key:ae,ref:oe,props:re,_owner:me}},we.createContext=function(T){return T={$$typeof:a,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},T.Provider={$$typeof:i,_context:T},T.Consumer=T},we.createElement=de,we.createFactory=function(T){var I=de.bind(null,T);return I.type=T,I},we.createRef=function(){return{current:null}},we.forwardRef=function(T){return{$$typeof:l,render:T}},we.isValidElement=v,we.lazy=function(T){return{$$typeof:d,_payload:{_status:-1,_result:T},_init:Ae}},we.memo=function(T,I){return{$$typeof:f,type:T,compare:I===void 0?null:I}},we.startTransition=function(T){var I=je.transition;je.transition={};try{T()}finally{je.transition=I}},we.unstable_act=S,we.useCallback=function(T,I){return Y.current.useCallback(T,I)},we.useContext=function(T){return Y.current.useContext(T)},we.useDebugValue=function(){},we.useDeferredValue=function(T){return Y.current.useDeferredValue(T)},we.useEffect=function(T,I){return Y.current.useEffect(T,I)},we.useId=function(){return Y.current.useId()},we.useImperativeHandle=function(T,I,y){return Y.current.useImperativeHandle(T,I,y)},we.useInsertionEffect=function(T,I){return Y.current.useInsertionEffect(T,I)},we.useLayoutEffect=function(T,I){return Y.current.useLayoutEffect(T,I)},we.useMemo=function(T,I){return Y.current.useMemo(T,I)},we.useReducer=function(T,I,y){return Y.current.useReducer(T,I,y)},we.useRef=function(T){return Y.current.useRef(T)},we.useState=function(T){return Y.current.useState(T)},we.useSyncExternalStore=function(T,I,y){return Y.current.useSyncExternalStore(T,I,y)},we.useTransition=function(){return Y.current.useTransition()},we.version="18.3.1",we}var Au={exports:{}};/**
|
|
90
167
|
* @license React
|
|
91
168
|
* react.development.js
|
|
92
169
|
*
|
|
@@ -94,29 +171,29 @@ React keys must be passed directly to JSX without using spread:
|
|
|
94
171
|
*
|
|
95
172
|
* This source code is licensed under the MIT license found in the
|
|
96
173
|
* LICENSE file in the root directory of this source tree.
|
|
97
|
-
*/_u.exports;var ro;function ZT(){return ro||(ro=1,function(e,t){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n="18.3.1",r=Symbol.for("react.element"),u=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),F=Symbol.for("react.offscreen"),L=Symbol.iterator,w="@@iterator";function M(s){if(s===null||typeof s!="object")return null;var h=L&&s[L]||s[w];return typeof h=="function"?h:null}var V={current:null},ne={transition:null},K={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},B={current:null},U={},he=null;function be(s){he=s}U.setExtraStackFrame=function(s){he=s},U.getCurrentStack=null,U.getStackAddendum=function(){var s="";he&&(s+=he);var h=U.getCurrentStack;return h&&(s+=h()||""),s};var P=!1,te=!1,q=!1,ae=!1,le=!1,k={ReactCurrentDispatcher:V,ReactCurrentBatchConfig:ne,ReactCurrentOwner:B};k.ReactDebugCurrentFrame=U,k.ReactCurrentActQueue=K;function De(s){{for(var h=arguments.length,_=new Array(h>1?h-1:0),C=1;C<h;C++)_[C-1]=arguments[C];je("warn",s,_)}}function Y(s){{for(var h=arguments.length,_=new Array(h>1?h-1:0),C=1;C<h;C++)_[C-1]=arguments[C];je("error",s,_)}}function je(s,h,_){{var C=k.ReactDebugCurrentFrame,O=C.getStackAddendum();O!==""&&(h+="%s",_=_.concat([O]));var X=_.map(function(z){return String(z)});X.unshift("Warning: "+h),Function.prototype.apply.call(console[s],console,X)}}var We={};function S(s,h){{var _=s.constructor,C=_&&(_.displayName||_.name)||"ReactClass",O=C+"."+h;if(We[O])return;Y("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",h,C),We[O]=!0}}var b={isMounted:function(s){return!1},enqueueForceUpdate:function(s,h,_){S(s,"forceUpdate")},enqueueReplaceState:function(s,h,_,C){S(s,"replaceState")},enqueueSetState:function(s,h,_,C){S(s,"setState")}},I=Object.assign,A={};Object.freeze(A);function ee(s,h,_){this.props=s,this.context=h,this.refs=A,this.updater=_||b}ee.prototype.isReactComponent={},ee.prototype.setState=function(s,h){if(typeof s!="object"&&typeof s!="function"&&s!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,s,h,"setState")},ee.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};{var ue={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},se=function(s,h){Object.defineProperty(ee.prototype,s,{get:function(){De("%s(...) is deprecated in plain JavaScript React classes. %s",h[0],h[1])}})};for(var pe in ue)ue.hasOwnProperty(pe)&&se(pe,ue[pe])}function ce(){}ce.prototype=ee.prototype;function fe(s,h,_){this.props=s,this.context=h,this.refs=A,this.updater=_||b}var Ce=fe.prototype=new ce;Ce.constructor=fe,I(Ce,ee.prototype),Ce.isPureReactComponent=!0;function wt(){var s={current:null};return Object.seal(s),s}var Ht=Array.isArray;function bt(s){return Ht(s)}function en(s){{var h=typeof Symbol=="function"&&Symbol.toStringTag,_=h&&s[Symbol.toStringTag]||s.constructor.name||"Object";return _}}function mt(s){try{return Ze(s),!1}catch{return!0}}function Ze(s){return""+s}function rt(s){if(mt(s))return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",en(s)),Ze(s)}function Ut(s,h,_){var C=s.displayName;if(C)return C;var O=h.displayName||h.name||"";return O!==""?_+"("+O+")":_}function ut(s){return s.displayName||"Context"}function Qe(s){if(s==null)return null;if(typeof s.tag=="number"&&Y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case a:return"Fragment";case u:return"Portal";case l:return"Profiler";case i:return"StrictMode";case m:return"Suspense";case T:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case f:var h=s;return ut(h)+".Consumer";case c:var _=s;return ut(_._context)+".Provider";case d:return Ut(s,s.render,"ForwardRef");case E:var C=s.displayName||null;return C!==null?C:Qe(s.type)||"Memo";case D:{var O=s,X=O._payload,z=O._init;try{return Qe(z(X))}catch{return null}}}return null}var lt=Object.prototype.hasOwnProperty,Tt={key:!0,ref:!0,__self:!0,__source:!0},jt,zt,_t;_t={};function j(s){if(lt.call(s,"ref")){var h=Object.getOwnPropertyDescriptor(s,"ref").get;if(h&&h.isReactWarning)return!1}return s.ref!==void 0}function W(s){if(lt.call(s,"key")){var h=Object.getOwnPropertyDescriptor(s,"key").get;if(h&&h.isReactWarning)return!1}return s.key!==void 0}function _e(s,h){var _=function(){jt||(jt=!0,Y("%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)",h))};_.isReactWarning=!0,Object.defineProperty(s,"key",{get:_,configurable:!0})}function Ne(s,h){var _=function(){zt||(zt=!0,Y("%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)",h))};_.isReactWarning=!0,Object.defineProperty(s,"ref",{get:_,configurable:!0})}function Be(s){if(typeof s.ref=="string"&&B.current&&s.__self&&B.current.stateNode!==s.__self){var h=Qe(B.current.type);_t[h]||(Y('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',h,s.ref),_t[h]=!0)}}var Ve=function(s,h,_,C,O,X,z){var Z={$$typeof:r,type:s,key:h,ref:_,props:z,_owner:X};return Z._store={},Object.defineProperty(Z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Z,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(Z,"_source",{configurable:!1,enumerable:!1,writable:!1,value:O}),Object.freeze&&(Object.freeze(Z.props),Object.freeze(Z)),Z};function yt(s,h,_){var C,O={},X=null,z=null,Z=null,oe=null;if(h!=null){j(h)&&(z=h.ref,Be(h)),W(h)&&(rt(h.key),X=""+h.key),Z=h.__self===void 0?null:h.__self,oe=h.__source===void 0?null:h.__source;for(C in h)lt.call(h,C)&&!Tt.hasOwnProperty(C)&&(O[C]=h[C])}var Te=arguments.length-2;if(Te===1)O.children=_;else if(Te>1){for(var ye=Array(Te),Ae=0;Ae<Te;Ae++)ye[Ae]=arguments[Ae+2];Object.freeze&&Object.freeze(ye),O.children=ye}if(s&&s.defaultProps){var Se=s.defaultProps;for(C in Se)O[C]===void 0&&(O[C]=Se[C])}if(X||z){var Oe=typeof s=="function"?s.displayName||s.name||"Unknown":s;X&&_e(O,Oe),z&&Ne(O,Oe)}return Ve(s,X,z,Z,oe,B.current,O)}function ct(s,h){var _=Ve(s.type,h,s.ref,s._self,s._source,s._owner,s.props);return _}function It(s,h,_){if(s==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var C,O=I({},s.props),X=s.key,z=s.ref,Z=s._self,oe=s._source,Te=s._owner;if(h!=null){j(h)&&(z=h.ref,Te=B.current),W(h)&&(rt(h.key),X=""+h.key);var ye;s.type&&s.type.defaultProps&&(ye=s.type.defaultProps);for(C in h)lt.call(h,C)&&!Tt.hasOwnProperty(C)&&(h[C]===void 0&&ye!==void 0?O[C]=ye[C]:O[C]=h[C])}var Ae=arguments.length-2;if(Ae===1)O.children=_;else if(Ae>1){for(var Se=Array(Ae),Oe=0;Oe<Ae;Oe++)Se[Oe]=arguments[Oe+2];O.children=Se}return Ve(s.type,X,z,Z,oe,Te,O)}function Xe(s){return typeof s=="object"&&s!==null&&s.$$typeof===r}var Ke=".",xt=":";function ft(s){var h=/[=:]/g,_={"=":"=0",":":"=2"},C=s.replace(h,function(O){return _[O]});return"$"+C}var Rt=!1,tn=/\/+/g;function tt(s){return s.replace(tn,"$&/")}function At(s,h){return typeof s=="object"&&s!==null&&s.key!=null?(rt(s.key),ft(""+s.key)):h.toString(36)}function dt(s,h,_,C,O){var X=typeof s;(X==="undefined"||X==="boolean")&&(s=null);var z=!1;if(s===null)z=!0;else switch(X){case"string":case"number":z=!0;break;case"object":switch(s.$$typeof){case r:case u:z=!0}}if(z){var Z=s,oe=O(Z),Te=C===""?Ke+At(Z,0):C;if(bt(oe)){var ye="";Te!=null&&(ye=tt(Te)+"/"),dt(oe,h,ye,"",function(ai){return ai})}else oe!=null&&(Xe(oe)&&(oe.key&&(!Z||Z.key!==oe.key)&&rt(oe.key),oe=ct(oe,_+(oe.key&&(!Z||Z.key!==oe.key)?tt(""+oe.key)+"/":"")+Te)),h.push(oe));return 1}var Ae,Se,Oe=0,He=C===""?Ke:C+xt;if(bt(s))for(var pn=0;pn<s.length;pn++)Ae=s[pn],Se=He+At(Ae,pn),Oe+=dt(Ae,h,_,Se,O);else{var Hn=M(s);if(typeof Hn=="function"){var Or=s;Hn===Or.entries&&(Rt||De("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Rt=!0);for(var ui=Hn.call(Or),Lr,ii=0;!(Lr=ui.next()).done;)Ae=Lr.value,Se=He+At(Ae,ii++),Oe+=dt(Ae,h,_,Se,O)}else if(X==="object"){var Fr=String(s);throw new Error("Objects are not valid as a React child (found: "+(Fr==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":Fr)+"). If you meant to render a collection of children, use an array instead.")}}return Oe}function Ct(s,h,_){if(s==null)return s;var C=[],O=0;return dt(s,C,"","",function(X){return h.call(_,X,O++)}),C}function xn(s){var h=0;return Ct(s,function(){h++}),h}function nn(s,h,_){Ct(s,function(){h.apply(this,arguments)},_)}function Sn(s){return Ct(s,function(h){return h})||[]}function rn(s){if(!Xe(s))throw new Error("React.Children.only expected to receive a single React element child.");return s}function un(s){var h={$$typeof:f,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};h.Provider={$$typeof:c,_context:h};var _=!1,C=!1,O=!1;{var X={$$typeof:f,_context:h};Object.defineProperties(X,{Provider:{get:function(){return C||(C=!0,Y("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),h.Provider},set:function(z){h.Provider=z}},_currentValue:{get:function(){return h._currentValue},set:function(z){h._currentValue=z}},_currentValue2:{get:function(){return h._currentValue2},set:function(z){h._currentValue2=z}},_threadCount:{get:function(){return h._threadCount},set:function(z){h._threadCount=z}},Consumer:{get:function(){return _||(_=!0,Y("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),h.Consumer}},displayName:{get:function(){return h.displayName},set:function(z){O||(De("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",z),O=!0)}}}),h.Consumer=X}return h._currentRenderer=null,h._currentRenderer2=null,h}var Dt=-1,Yt=0,$t=1,an=2;function Nn(s){if(s._status===Dt){var h=s._result,_=h();if(_.then(function(X){if(s._status===Yt||s._status===Dt){var z=s;z._status=$t,z._result=X}},function(X){if(s._status===Yt||s._status===Dt){var z=s;z._status=an,z._result=X}}),s._status===Dt){var C=s;C._status=Yt,C._result=_}}if(s._status===$t){var O=s._result;return O===void 0&&Y(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
174
|
+
*/Au.exports;var Zs;function MT(){return Zs||(Zs=1,function(e,t){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n="18.3.1",r=Symbol.for("react.element"),u=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),O=Symbol.iterator,F="@@iterator";function M(s){if(s===null||typeof s!="object")return null;var p=O&&s[O]||s[F];return typeof p=="function"?p:null}var V={current:null},ue={transition:null},J={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},B={current:null},U={},de=null;function pe(s){de=s}U.setExtraStackFrame=function(s){de=s},U.getCurrentStack=null,U.getStackAddendum=function(){var s="";de&&(s+=de);var p=U.getCurrentStack;return p&&(s+=p()||""),s};var v=!1,ne=!1,q=!1,Q=!1,W=!1,k={ReactCurrentDispatcher:V,ReactCurrentBatchConfig:ue,ReactCurrentOwner:B};k.ReactDebugCurrentFrame=U,k.ReactCurrentActQueue=J;function Ae(s){{for(var p=arguments.length,_=new Array(p>1?p-1:0),C=1;C<p;C++)_[C-1]=arguments[C];je("warn",s,_)}}function Y(s){{for(var p=arguments.length,_=new Array(p>1?p-1:0),C=1;C<p;C++)_[C-1]=arguments[C];je("error",s,_)}}function je(s,p,_){{var C=k.ReactDebugCurrentFrame,L=C.getStackAddendum();L!==""&&(p+="%s",_=_.concat([L]));var Z=_.map(function(z){return String(z)});Z.unshift("Warning: "+p),Function.prototype.apply.call(console[s],console,Z)}}var We={};function S(s,p){{var _=s.constructor,C=_&&(_.displayName||_.name)||"ReactClass",L=C+"."+p;if(We[L])return;Y("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",p,C),We[L]=!0}}var T={isMounted:function(s){return!1},enqueueForceUpdate:function(s,p,_){S(s,"forceUpdate")},enqueueReplaceState:function(s,p,_,C){S(s,"replaceState")},enqueueSetState:function(s,p,_,C){S(s,"setState")}},I=Object.assign,y={};Object.freeze(y);function re(s,p,_){this.props=s,this.context=p,this.refs=y,this.updater=_||T}re.prototype.isReactComponent={},re.prototype.setState=function(s,p){if(typeof s!="object"&&typeof s!="function"&&s!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,s,p,"setState")},re.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};{var ae={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},oe=function(s,p){Object.defineProperty(re.prototype,s,{get:function(){Ae("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var me in ae)ae.hasOwnProperty(me)&&oe(me,ae[me])}function ce(){}ce.prototype=re.prototype;function fe(s,p,_){this.props=s,this.context=p,this.refs=y,this.updater=_||T}var De=fe.prototype=new ce;De.constructor=fe,I(De,re.prototype),De.isPureReactComponent=!0;function Pt(){var s={current:null};return Object.seal(s),s}var Ut=Array.isArray;function gt(s){return Ut(s)}function tn(s){{var p=typeof Symbol=="function"&&Symbol.toStringTag,_=p&&s[Symbol.toStringTag]||s.constructor.name||"Object";return _}}function mt(s){try{return Ze(s),!1}catch{return!0}}function Ze(s){return""+s}function ut(s){if(mt(s))return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",tn(s)),Ze(s)}function jt(s,p,_){var C=s.displayName;if(C)return C;var L=p.displayName||p.name||"";return L!==""?_+"("+L+")":_}function it(s){return s.displayName||"Context"}function Qe(s){if(s==null)return null;if(typeof s.tag=="number"&&Y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case i:return"Fragment";case u:return"Portal";case l:return"Profiler";case a:return"StrictMode";case h:return"Suspense";case g:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case f:var p=s;return it(p)+".Consumer";case c:var _=s;return it(_._context)+".Provider";case d:return jt(s,s.render,"ForwardRef");case E:var C=s.displayName||null;return C!==null?C:Qe(s.type)||"Memo";case D:{var L=s,Z=L._payload,z=L._init;try{return Qe(z(Z))}catch{return null}}}return null}var lt=Object.prototype.hasOwnProperty,Tt={key:!0,ref:!0,__self:!0,__source:!0},zt,Yt,_t;_t={};function j(s){if(lt.call(s,"ref")){var p=Object.getOwnPropertyDescriptor(s,"ref").get;if(p&&p.isReactWarning)return!1}return s.ref!==void 0}function G(s){if(lt.call(s,"key")){var p=Object.getOwnPropertyDescriptor(s,"key").get;if(p&&p.isReactWarning)return!1}return s.key!==void 0}function _e(s,p){var _=function(){zt||(zt=!0,Y("%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)",p))};_.isReactWarning=!0,Object.defineProperty(s,"key",{get:_,configurable:!0})}function ke(s,p){var _=function(){Yt||(Yt=!0,Y("%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)",p))};_.isReactWarning=!0,Object.defineProperty(s,"ref",{get:_,configurable:!0})}function Be(s){if(typeof s.ref=="string"&&B.current&&s.__self&&B.current.stateNode!==s.__self){var p=Qe(B.current.type);_t[p]||(Y('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',p,s.ref),_t[p]=!0)}}var Ve=function(s,p,_,C,L,Z,z){var te={$$typeof:r,type:s,key:p,ref:_,props:z,_owner:Z};return te._store={},Object.defineProperty(te._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(te,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(te,"_source",{configurable:!1,enumerable:!1,writable:!1,value:L}),Object.freeze&&(Object.freeze(te.props),Object.freeze(te)),te};function At(s,p,_){var C,L={},Z=null,z=null,te=null,le=null;if(p!=null){j(p)&&(z=p.ref,Be(p)),G(p)&&(ut(p.key),Z=""+p.key),te=p.__self===void 0?null:p.__self,le=p.__source===void 0?null:p.__source;for(C in p)lt.call(p,C)&&!Tt.hasOwnProperty(C)&&(L[C]=p[C])}var Te=arguments.length-2;if(Te===1)L.children=_;else if(Te>1){for(var ye=Array(Te),Ce=0;Ce<Te;Ce++)ye[Ce]=arguments[Ce+2];Object.freeze&&Object.freeze(ye),L.children=ye}if(s&&s.defaultProps){var Se=s.defaultProps;for(C in Se)L[C]===void 0&&(L[C]=Se[C])}if(Z||z){var Oe=typeof s=="function"?s.displayName||s.name||"Unknown":s;Z&&_e(L,Oe),z&&ke(L,Oe)}return Ve(s,Z,z,te,le,B.current,L)}function ct(s,p){var _=Ve(s.type,p,s.ref,s._self,s._source,s._owner,s.props);return _}function It(s,p,_){if(s==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var C,L=I({},s.props),Z=s.key,z=s.ref,te=s._self,le=s._source,Te=s._owner;if(p!=null){j(p)&&(z=p.ref,Te=B.current),G(p)&&(ut(p.key),Z=""+p.key);var ye;s.type&&s.type.defaultProps&&(ye=s.type.defaultProps);for(C in p)lt.call(p,C)&&!Tt.hasOwnProperty(C)&&(p[C]===void 0&&ye!==void 0?L[C]=ye[C]:L[C]=p[C])}var Ce=arguments.length-2;if(Ce===1)L.children=_;else if(Ce>1){for(var Se=Array(Ce),Oe=0;Oe<Ce;Oe++)Se[Oe]=arguments[Oe+2];L.children=Se}return Ve(s.type,Z,z,te,le,Te,L)}function Xe(s){return typeof s=="object"&&s!==null&&s.$$typeof===r}var Ke=".",xt=":";function ft(s){var p=/[=:]/g,_={"=":"=0",":":"=2"},C=s.replace(p,function(L){return _[L]});return"$"+C}var Rt=!1,nn=/\/+/g;function tt(s){return s.replace(nn,"$&/")}function yt(s,p){return typeof s=="object"&&s!==null&&s.key!=null?(ut(s.key),ft(""+s.key)):p.toString(36)}function dt(s,p,_,C,L){var Z=typeof s;(Z==="undefined"||Z==="boolean")&&(s=null);var z=!1;if(s===null)z=!0;else switch(Z){case"string":case"number":z=!0;break;case"object":switch(s.$$typeof){case r:case u:z=!0}}if(z){var te=s,le=L(te),Te=C===""?Ke+yt(te,0):C;if(gt(le)){var ye="";Te!=null&&(ye=tt(Te)+"/"),dt(le,p,ye,"",function(si){return si})}else le!=null&&(Xe(le)&&(le.key&&(!te||te.key!==le.key)&&ut(le.key),le=ct(le,_+(le.key&&(!te||te.key!==le.key)?tt(""+le.key)+"/":"")+Te)),p.push(le));return 1}var Ce,Se,Oe=0,He=C===""?Ke:C+xt;if(gt(s))for(var mn=0;mn<s.length;mn++)Ce=s[mn],Se=He+yt(Ce,mn),Oe+=dt(Ce,p,_,Se,L);else{var Un=M(s);if(typeof Un=="function"){var Lr=s;Un===Lr.entries&&(Rt||Ae("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Rt=!0);for(var ii=Un.call(Lr),Fr,ai=0;!(Fr=ii.next()).done;)Ce=Fr.value,Se=He+yt(Ce,ai++),Oe+=dt(Ce,p,_,Se,L)}else if(Z==="object"){var vr=String(s);throw new Error("Objects are not valid as a React child (found: "+(vr==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":vr)+"). If you meant to render a collection of children, use an array instead.")}}return Oe}function Ct(s,p,_){if(s==null)return s;var C=[],L=0;return dt(s,C,"","",function(Z){return p.call(_,Z,L++)}),C}function Sn(s){var p=0;return Ct(s,function(){p++}),p}function rn(s,p,_){Ct(s,function(){p.apply(this,arguments)},_)}function kn(s){return Ct(s,function(p){return p})||[]}function un(s){if(!Xe(s))throw new Error("React.Children.only expected to receive a single React element child.");return s}function an(s){var p={$$typeof:f,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};p.Provider={$$typeof:c,_context:p};var _=!1,C=!1,L=!1;{var Z={$$typeof:f,_context:p};Object.defineProperties(Z,{Provider:{get:function(){return C||(C=!0,Y("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),p.Provider},set:function(z){p.Provider=z}},_currentValue:{get:function(){return p._currentValue},set:function(z){p._currentValue=z}},_currentValue2:{get:function(){return p._currentValue2},set:function(z){p._currentValue2=z}},_threadCount:{get:function(){return p._threadCount},set:function(z){p._threadCount=z}},Consumer:{get:function(){return _||(_=!0,Y("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),p.Consumer}},displayName:{get:function(){return p.displayName},set:function(z){L||(Ae("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",z),L=!0)}}}),p.Consumer=Z}return p._currentRenderer=null,p._currentRenderer2=null,p}var Dt=-1,$t=0,Vt=1,sn=2;function Nn(s){if(s._status===Dt){var p=s._result,_=p();if(_.then(function(Z){if(s._status===$t||s._status===Dt){var z=s;z._status=Vt,z._result=Z}},function(Z){if(s._status===$t||s._status===Dt){var z=s;z._status=sn,z._result=Z}}),s._status===Dt){var C=s;C._status=$t,C._result=_}}if(s._status===Vt){var L=s._result;return L===void 0&&Y(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
98
175
|
|
|
99
176
|
Your code should look like:
|
|
100
177
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
101
178
|
|
|
102
|
-
Did you accidentally put curly braces around the import?`,
|
|
179
|
+
Did you accidentally put curly braces around the import?`,L),"default"in L||Y(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
103
180
|
|
|
104
181
|
Your code should look like:
|
|
105
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,
|
|
182
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,L),L.default}else throw s._result}function In(s){var p={_status:Dt,_result:s},_={$$typeof:D,_payload:p,_init:Nn};{var C,L;Object.defineProperties(_,{defaultProps:{configurable:!0,get:function(){return C},set:function(Z){Y("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),C=Z,Object.defineProperty(_,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return L},set:function(Z){Y("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),L=Z,Object.defineProperty(_,"propTypes",{enumerable:!0})}}})}return _}function Rn(s){s!=null&&s.$$typeof===E?Y("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?Y("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&Y("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&(s.defaultProps!=null||s.propTypes!=null)&&Y("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var p={$$typeof:d,render:s};{var _;Object.defineProperty(p,"displayName",{enumerable:!1,configurable:!0,get:function(){return _},set:function(C){_=C,!s.name&&!s.displayName&&(s.displayName=C)}})}return p}var on;on=Symbol.for("react.module.reference");function m(s){return!!(typeof s=="string"||typeof s=="function"||s===i||s===l||W||s===a||s===h||s===g||Q||s===w||v||ne||q||typeof s=="object"&&s!==null&&(s.$$typeof===D||s.$$typeof===E||s.$$typeof===c||s.$$typeof===f||s.$$typeof===d||s.$$typeof===on||s.getModuleId!==void 0))}function N(s,p){m(s)||Y("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s);var _={$$typeof:E,type:s,compare:p===void 0?null:p};{var C;Object.defineProperty(_,"displayName",{enumerable:!1,configurable:!0,get:function(){return C},set:function(L){C=L,!s.name&&!s.displayName&&(s.displayName=L)}})}return _}function R(){var s=V.current;return s===null&&Y(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
106
183
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
107
184
|
2. You might be breaking the Rules of Hooks
|
|
108
185
|
3. You might have more than one copy of React in the same app
|
|
109
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),s}function
|
|
110
|
-
`+
|
|
111
|
-
`),
|
|
112
|
-
`),Te=
|
|
113
|
-
`+
|
|
186
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),s}function X(s){var p=R();if(s._context!==void 0){var _=s._context;_.Consumer===s?Y("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):_.Provider===s&&Y("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return p.useContext(s)}function he(s){var p=R();return p.useState(s)}function be(s,p,_){var C=R();return C.useReducer(s,p,_)}function se(s){var p=R();return p.useRef(s)}function ie(s,p){var _=R();return _.useEffect(s,p)}function Me(s,p){var _=R();return _.useInsertionEffect(s,p)}function xe(s,p){var _=R();return _.useLayoutEffect(s,p)}function Ne(s,p){var _=R();return _.useCallback(s,p)}function $e(s,p){var _=R();return _.useMemo(s,p)}function ht(s,p,_){var C=R();return C.useImperativeHandle(s,p,_)}function nt(s,p){{var _=R();return _.useDebugValue(s,p)}}function ze(){var s=R();return s.useTransition()}function qt(s){var p=R();return p.useDeferredValue(s)}function On(){var s=R();return s.useId()}function Ln(s,p,_){var C=R();return C.useSyncExternalStore(s,p,_)}var Wt=0,fr,dr,hr,pr,mr,Er,br;function gr(){}gr.__reactDisabledLog=!0;function ju(){{if(Wt===0){fr=console.log,dr=console.info,hr=console.warn,pr=console.error,mr=console.group,Er=console.groupCollapsed,br=console.groupEnd;var s={configurable:!0,enumerable:!0,value:gr,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}Wt++}}function zu(){{if(Wt--,Wt===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},s,{value:fr}),info:I({},s,{value:dr}),warn:I({},s,{value:hr}),error:I({},s,{value:pr}),group:I({},s,{value:mr}),groupCollapsed:I({},s,{value:Er}),groupEnd:I({},s,{value:br})})}Wt<0&&Y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Fn=k.ReactCurrentDispatcher,vn;function ln(s,p,_){{if(vn===void 0)try{throw Error()}catch(L){var C=L.stack.trim().match(/\n( *(at )?)/);vn=C&&C[1]||""}return`
|
|
187
|
+
`+vn+s}}var wn=!1,cn;{var Yu=typeof WeakMap=="function"?WeakMap:Map;cn=new Yu}function Tr(s,p){if(!s||wn)return"";{var _=cn.get(s);if(_!==void 0)return _}var C;wn=!0;var L=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Z;Z=Fn.current,Fn.current=null,ju();try{if(p){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(He){C=He}Reflect.construct(s,[],z)}else{try{z.call()}catch(He){C=He}s.call(z.prototype)}}else{try{throw Error()}catch(He){C=He}s()}}catch(He){if(He&&C&&typeof He.stack=="string"){for(var te=He.stack.split(`
|
|
188
|
+
`),le=C.stack.split(`
|
|
189
|
+
`),Te=te.length-1,ye=le.length-1;Te>=1&&ye>=0&&te[Te]!==le[ye];)ye--;for(;Te>=1&&ye>=0;Te--,ye--)if(te[Te]!==le[ye]){if(Te!==1||ye!==1)do if(Te--,ye--,ye<0||te[Te]!==le[ye]){var Ce=`
|
|
190
|
+
`+te[Te].replace(" at new "," at ");return s.displayName&&Ce.includes("<anonymous>")&&(Ce=Ce.replace("<anonymous>",s.displayName)),typeof s=="function"&&cn.set(s,Ce),Ce}while(Te>=1&&ye>=0);break}}}finally{wn=!1,Fn.current=Z,zu(),Error.prepareStackTrace=L}var Se=s?s.displayName||s.name:"",Oe=Se?ln(Se):"";return typeof s=="function"&&cn.set(s,Oe),Oe}function $u(s,p,_){return Tr(s,!1)}function Vu(s){var p=s.prototype;return!!(p&&p.isReactComponent)}function fn(s,p,_){if(s==null)return"";if(typeof s=="function")return Tr(s,Vu(s));if(typeof s=="string")return ln(s);switch(s){case h:return ln("Suspense");case g:return ln("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case d:return $u(s.render);case E:return fn(s.type,p,_);case D:{var C=s,L=C._payload,Z=C._init;try{return fn(Z(L),p,_)}catch{}}}return""}var _r={},Ar=k.ReactDebugCurrentFrame;function dn(s){if(s){var p=s._owner,_=fn(s.type,s._source,p?p.type:null);Ar.setExtraStackFrame(_)}else Ar.setExtraStackFrame(null)}function qu(s,p,_,C,L){{var Z=Function.call.bind(lt);for(var z in s)if(Z(s,z)){var te=void 0;try{if(typeof s[z]!="function"){var le=Error((C||"React class")+": "+_+" type `"+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw le.name="Invariant Violation",le}te=s[z](p,z,C,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Te){te=Te}te&&!(te instanceof Error)&&(dn(L),Y("%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).",C||"React class",_,z,typeof te),dn(null)),te instanceof Error&&!(te.message in _r)&&(_r[te.message]=!0,dn(L),Y("Failed %s type: %s",_,te.message),dn(null))}}}function Ot(s){if(s){var p=s._owner,_=fn(s.type,s._source,p?p.type:null);pe(_)}else pe(null)}var Pn;Pn=!1;function yr(){if(B.current){var s=Qe(B.current.type);if(s)return`
|
|
114
191
|
|
|
115
|
-
Check the render method of \``+s+"`."}return""}function
|
|
192
|
+
Check the render method of \``+s+"`."}return""}function Wu(s){if(s!==void 0){var p=s.fileName.replace(/^.*[\\\/]/,""),_=s.lineNumber;return`
|
|
116
193
|
|
|
117
|
-
Check your code at `+
|
|
194
|
+
Check your code at `+p+":"+_+"."}return""}function Qu(s){return s!=null?Wu(s.__source):""}var Cr={};function Gu(s){var p=yr();if(!p){var _=typeof s=="string"?s:s.displayName||s.name;_&&(p=`
|
|
118
195
|
|
|
119
|
-
Check the top-level render call using <`+_+">.")}return
|
|
196
|
+
Check the top-level render call using <`+_+">.")}return p}function Dr(s,p){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var _=Gu(p);if(!Cr[_]){Cr[_]=!0;var C="";s&&s._owner&&s._owner!==B.current&&(C=" It was passed a child from "+Qe(s._owner.type)+"."),Ot(s),Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,C),Ot(null)}}}function xr(s,p){if(typeof s=="object"){if(gt(s))for(var _=0;_<s.length;_++){var C=s[_];Xe(C)&&Dr(C,p)}else if(Xe(s))s._store&&(s._store.validated=!0);else if(s){var L=M(s);if(typeof L=="function"&&L!==s.entries)for(var Z=L.call(s),z;!(z=Z.next()).done;)Xe(z.value)&&Dr(z.value,p)}}}function Sr(s){{var p=s.type;if(p==null||typeof p=="string")return;var _;if(typeof p=="function")_=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===d||p.$$typeof===E))_=p.propTypes;else return;if(_){var C=Qe(p);qu(_,s.props,"prop",C,s)}else if(p.PropTypes!==void 0&&!Pn){Pn=!0;var L=Qe(p);Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",L||"Unknown")}typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&Y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xu(s){{for(var p=Object.keys(s.props),_=0;_<p.length;_++){var C=p[_];if(C!=="children"&&C!=="key"){Ot(s),Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",C),Ot(null);break}}s.ref!==null&&(Ot(s),Y("Invalid attribute `ref` supplied to `React.Fragment`."),Ot(null))}}function kr(s,p,_){var C=m(s);if(!C){var L="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(L+=" 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 Z=Qu(p);Z?L+=Z:L+=yr();var z;s===null?z="null":gt(s)?z="array":s!==void 0&&s.$$typeof===r?(z="<"+(Qe(s.type)||"Unknown")+" />",L=" Did you accidentally export a JSX literal instead of a component?"):z=typeof s,Y("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",z,L)}var te=At.apply(this,arguments);if(te==null)return te;if(C)for(var le=2;le<arguments.length;le++)xr(arguments[le],s);return s===i?Xu(te):Sr(te),te}var Nr=!1;function Ku(s){var p=kr.bind(null,s);return p.type=s,Nr||(Nr=!0,Ae("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(p,"type",{enumerable:!1,get:function(){return Ae("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:s}),s}}),p}function Ju(s,p,_){for(var C=It.apply(this,arguments),L=2;L<arguments.length;L++)xr(arguments[L],C.type);return Sr(C),C}function Zu(s,p){var _=ue.transition;ue.transition={};var C=ue.transition;ue.transition._updatedFibers=new Set;try{s()}finally{if(ue.transition=_,_===null&&C._updatedFibers){var L=C._updatedFibers.size;L>10&&Ae("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),C._updatedFibers.clear()}}}var Ir=!1,hn=null;function ei(s){if(hn===null)try{var p=("require"+Math.random()).slice(0,7),_=e&&e[p];hn=_.call(e,"timers").setImmediate}catch{hn=function(C){Ir===!1&&(Ir=!0,typeof MessageChannel>"u"&&Y("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var L=new MessageChannel;L.port1.onmessage=C,L.port2.postMessage(void 0)}}return hn(s)}var Lt=0,Rr=!1;function Or(s){{var p=Lt;Lt++,J.current===null&&(J.current=[]);var _=J.isBatchingLegacy,C;try{if(J.isBatchingLegacy=!0,C=s(),!_&&J.didScheduleLegacyUpdate){var L=J.current;L!==null&&(J.didScheduleLegacyUpdate=!1,Hn(L))}}catch(Se){throw pn(p),Se}finally{J.isBatchingLegacy=_}if(C!==null&&typeof C=="object"&&typeof C.then=="function"){var Z=C,z=!1,te={then:function(Se,Oe){z=!0,Z.then(function(He){pn(p),Lt===0?Bn(He,Se,Oe):Se(He)},function(He){pn(p),Oe(He)})}};return!Rr&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){z||(Rr=!0,Y("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),te}else{var le=C;if(pn(p),Lt===0){var Te=J.current;Te!==null&&(Hn(Te),J.current=null);var ye={then:function(Se,Oe){J.current===null?(J.current=[],Bn(le,Se,Oe)):Se(le)}};return ye}else{var Ce={then:function(Se,Oe){Se(le)}};return Ce}}}}function pn(s){s!==Lt-1&&Y("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Lt=s}function Bn(s,p,_){{var C=J.current;if(C!==null)try{Hn(C),ei(function(){C.length===0?(J.current=null,p(s)):Bn(s,p,_)})}catch(L){_(L)}else p(s)}}var Mn=!1;function Hn(s){if(!Mn){Mn=!0;var p=0;try{for(;p<s.length;p++){var _=s[p];do _=_(!0);while(_!==null)}s.length=0}catch(C){throw s=s.slice(p+1),C}finally{Mn=!1}}}var ti=kr,ni=Ju,ri=Ku,ui={map:Ct,forEach:rn,count:Sn,toArray:kn,only:un};t.Children=ui,t.Component=re,t.Fragment=i,t.Profiler=l,t.PureComponent=fe,t.StrictMode=a,t.Suspense=h,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=k,t.act=Or,t.cloneElement=ni,t.createContext=an,t.createElement=ti,t.createFactory=ri,t.createRef=Pt,t.forwardRef=Rn,t.isValidElement=Xe,t.lazy=In,t.memo=N,t.startTransition=Zu,t.unstable_act=Or,t.useCallback=Ne,t.useContext=X,t.useDebugValue=nt,t.useDeferredValue=qt,t.useEffect=ie,t.useId=On,t.useImperativeHandle=ht,t.useInsertionEffect=Me,t.useLayoutEffect=xe,t.useMemo=$e,t.useReducer=be,t.useRef=se,t.useState=he,t.useSyncExternalStore=Ln,t.useTransition=ze,t.version=n,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(Au,Au.exports)),Au.exports}var eo;function HT(){return eo||(eo=1,process.env.NODE_ENV==="production"?wi.exports=BT():wi.exports=MT()),wi.exports}HT();var Pi={exports:{}},zr={};/**
|
|
120
197
|
* @license React
|
|
121
198
|
* react-jsx-runtime.production.min.js
|
|
122
199
|
*
|
|
@@ -124,7 +201,7 @@ Check the top-level render call using <`+_+">.")}return h}function Cr(s,h){if(!(
|
|
|
124
201
|
*
|
|
125
202
|
* This source code is licensed under the MIT license found in the
|
|
126
203
|
* LICENSE file in the root directory of this source tree.
|
|
127
|
-
*/var
|
|
204
|
+
*/var to;function UT(){if(to)return zr;to=1;var e=rt,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(l,c,f){var d,h={},g=null,E=null;f!==void 0&&(g=""+f),c.key!==void 0&&(g=""+c.key),c.ref!==void 0&&(E=c.ref);for(d in c)r.call(c,d)&&!i.hasOwnProperty(d)&&(h[d]=c[d]);if(l&&l.defaultProps)for(d in c=l.defaultProps,c)h[d]===void 0&&(h[d]=c[d]);return{$$typeof:t,type:l,key:g,ref:E,props:h,_owner:u.current}}return zr.Fragment=n,zr.jsx=a,zr.jsxs=a,zr}var Eu={};/**
|
|
128
205
|
* @license React
|
|
129
206
|
* react-jsx-runtime.development.js
|
|
130
207
|
*
|
|
@@ -132,20 +209,97 @@ Check the top-level render call using <`+_+">.")}return h}function Cr(s,h){if(!(
|
|
|
132
209
|
*
|
|
133
210
|
* This source code is licensed under the MIT license found in the
|
|
134
211
|
* LICENSE file in the root directory of this source tree.
|
|
135
|
-
*/var
|
|
136
|
-
`+
|
|
137
|
-
`),Me=
|
|
138
|
-
`),xe=
|
|
139
|
-
`+
|
|
212
|
+
*/var no;function jT(){return no||(no=1,process.env.NODE_ENV!=="production"&&function(){var e=rt,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"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),D=Symbol.iterator,w="@@iterator";function O(m){if(m===null||typeof m!="object")return null;var N=D&&m[D]||m[w];return typeof N=="function"?N:null}var F=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function M(m){{for(var N=arguments.length,R=new Array(N>1?N-1:0),X=1;X<N;X++)R[X-1]=arguments[X];V("error",m,R)}}function V(m,N,R){{var X=F.ReactDebugCurrentFrame,he=X.getStackAddendum();he!==""&&(N+="%s",R=R.concat([he]));var be=R.map(function(se){return String(se)});be.unshift("Warning: "+N),Function.prototype.apply.call(console[m],console,be)}}var ue=!1,J=!1,B=!1,U=!1,de=!1,pe;pe=Symbol.for("react.module.reference");function v(m){return!!(typeof m=="string"||typeof m=="function"||m===r||m===i||de||m===u||m===f||m===d||U||m===E||ue||J||B||typeof m=="object"&&m!==null&&(m.$$typeof===g||m.$$typeof===h||m.$$typeof===a||m.$$typeof===l||m.$$typeof===c||m.$$typeof===pe||m.getModuleId!==void 0))}function ne(m,N,R){var X=m.displayName;if(X)return X;var he=N.displayName||N.name||"";return he!==""?R+"("+he+")":R}function q(m){return m.displayName||"Context"}function Q(m){if(m==null)return null;if(typeof m.tag=="number"&&M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof m=="function")return m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case r:return"Fragment";case n:return"Portal";case i:return"Profiler";case u:return"StrictMode";case f:return"Suspense";case d:return"SuspenseList"}if(typeof m=="object")switch(m.$$typeof){case l:var N=m;return q(N)+".Consumer";case a:var R=m;return q(R._context)+".Provider";case c:return ne(m,m.render,"ForwardRef");case h:var X=m.displayName||null;return X!==null?X:Q(m.type)||"Memo";case g:{var he=m,be=he._payload,se=he._init;try{return Q(se(be))}catch{return null}}}return null}var W=Object.assign,k=0,Ae,Y,je,We,S,T,I;function y(){}y.__reactDisabledLog=!0;function re(){{if(k===0){Ae=console.log,Y=console.info,je=console.warn,We=console.error,S=console.group,T=console.groupCollapsed,I=console.groupEnd;var m={configurable:!0,enumerable:!0,value:y,writable:!0};Object.defineProperties(console,{info:m,log:m,warn:m,error:m,group:m,groupCollapsed:m,groupEnd:m})}k++}}function ae(){{if(k--,k===0){var m={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:W({},m,{value:Ae}),info:W({},m,{value:Y}),warn:W({},m,{value:je}),error:W({},m,{value:We}),group:W({},m,{value:S}),groupCollapsed:W({},m,{value:T}),groupEnd:W({},m,{value:I})})}k<0&&M("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var oe=F.ReactCurrentDispatcher,me;function ce(m,N,R){{if(me===void 0)try{throw Error()}catch(he){var X=he.stack.trim().match(/\n( *(at )?)/);me=X&&X[1]||""}return`
|
|
213
|
+
`+me+m}}var fe=!1,De;{var Pt=typeof WeakMap=="function"?WeakMap:Map;De=new Pt}function Ut(m,N){if(!m||fe)return"";{var R=De.get(m);if(R!==void 0)return R}var X;fe=!0;var he=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var be;be=oe.current,oe.current=null,re();try{if(N){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(ze){X=ze}Reflect.construct(m,[],se)}else{try{se.call()}catch(ze){X=ze}m.call(se.prototype)}}else{try{throw Error()}catch(ze){X=ze}m()}}catch(ze){if(ze&&X&&typeof ze.stack=="string"){for(var ie=ze.stack.split(`
|
|
214
|
+
`),Me=X.stack.split(`
|
|
215
|
+
`),xe=ie.length-1,Ne=Me.length-1;xe>=1&&Ne>=0&&ie[xe]!==Me[Ne];)Ne--;for(;xe>=1&&Ne>=0;xe--,Ne--)if(ie[xe]!==Me[Ne]){if(xe!==1||Ne!==1)do if(xe--,Ne--,Ne<0||ie[xe]!==Me[Ne]){var $e=`
|
|
216
|
+
`+ie[xe].replace(" at new "," at ");return m.displayName&&$e.includes("<anonymous>")&&($e=$e.replace("<anonymous>",m.displayName)),typeof m=="function"&&De.set(m,$e),$e}while(xe>=1&&Ne>=0);break}}}finally{fe=!1,oe.current=be,ae(),Error.prepareStackTrace=he}var ht=m?m.displayName||m.name:"",nt=ht?ce(ht):"";return typeof m=="function"&&De.set(m,nt),nt}function gt(m,N,R){return Ut(m,!1)}function tn(m){var N=m.prototype;return!!(N&&N.isReactComponent)}function mt(m,N,R){if(m==null)return"";if(typeof m=="function")return Ut(m,tn(m));if(typeof m=="string")return ce(m);switch(m){case f:return ce("Suspense");case d:return ce("SuspenseList")}if(typeof m=="object")switch(m.$$typeof){case c:return gt(m.render);case h:return mt(m.type,N,R);case g:{var X=m,he=X._payload,be=X._init;try{return mt(be(he),N,R)}catch{}}}return""}var Ze=Object.prototype.hasOwnProperty,ut={},jt=F.ReactDebugCurrentFrame;function it(m){if(m){var N=m._owner,R=mt(m.type,m._source,N?N.type:null);jt.setExtraStackFrame(R)}else jt.setExtraStackFrame(null)}function Qe(m,N,R,X,he){{var be=Function.call.bind(Ze);for(var se in m)if(be(m,se)){var ie=void 0;try{if(typeof m[se]!="function"){var Me=Error((X||"React class")+": "+R+" type `"+se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof m[se]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Me.name="Invariant Violation",Me}ie=m[se](N,se,X,R,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(xe){ie=xe}ie&&!(ie instanceof Error)&&(it(he),M("%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).",X||"React class",R,se,typeof ie),it(null)),ie instanceof Error&&!(ie.message in ut)&&(ut[ie.message]=!0,it(he),M("Failed %s type: %s",R,ie.message),it(null))}}}var lt=Array.isArray;function Tt(m){return lt(m)}function zt(m){{var N=typeof Symbol=="function"&&Symbol.toStringTag,R=N&&m[Symbol.toStringTag]||m.constructor.name||"Object";return R}}function Yt(m){try{return _t(m),!1}catch{return!0}}function _t(m){return""+m}function j(m){if(Yt(m))return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",zt(m)),_t(m)}var G=F.ReactCurrentOwner,_e={key:!0,ref:!0,__self:!0,__source:!0},ke,Be,Ve;Ve={};function At(m){if(Ze.call(m,"ref")){var N=Object.getOwnPropertyDescriptor(m,"ref").get;if(N&&N.isReactWarning)return!1}return m.ref!==void 0}function ct(m){if(Ze.call(m,"key")){var N=Object.getOwnPropertyDescriptor(m,"key").get;if(N&&N.isReactWarning)return!1}return m.key!==void 0}function It(m,N){if(typeof m.ref=="string"&&G.current&&N&&G.current.stateNode!==N){var R=Q(G.current.type);Ve[R]||(M('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',Q(G.current.type),m.ref),Ve[R]=!0)}}function Xe(m,N){{var R=function(){ke||(ke=!0,M("%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)",N))};R.isReactWarning=!0,Object.defineProperty(m,"key",{get:R,configurable:!0})}}function Ke(m,N){{var R=function(){Be||(Be=!0,M("%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)",N))};R.isReactWarning=!0,Object.defineProperty(m,"ref",{get:R,configurable:!0})}}var xt=function(m,N,R,X,he,be,se){var ie={$$typeof:t,type:m,key:N,ref:R,props:se,_owner:be};return ie._store={},Object.defineProperty(ie._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ie,"_self",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.defineProperty(ie,"_source",{configurable:!1,enumerable:!1,writable:!1,value:he}),Object.freeze&&(Object.freeze(ie.props),Object.freeze(ie)),ie};function ft(m,N,R,X,he){{var be,se={},ie=null,Me=null;R!==void 0&&(j(R),ie=""+R),ct(N)&&(j(N.key),ie=""+N.key),At(N)&&(Me=N.ref,It(N,he));for(be in N)Ze.call(N,be)&&!_e.hasOwnProperty(be)&&(se[be]=N[be]);if(m&&m.defaultProps){var xe=m.defaultProps;for(be in xe)se[be]===void 0&&(se[be]=xe[be])}if(ie||Me){var Ne=typeof m=="function"?m.displayName||m.name||"Unknown":m;ie&&Xe(se,Ne),Me&&Ke(se,Ne)}return xt(m,ie,Me,he,X,G.current,se)}}var Rt=F.ReactCurrentOwner,nn=F.ReactDebugCurrentFrame;function tt(m){if(m){var N=m._owner,R=mt(m.type,m._source,N?N.type:null);nn.setExtraStackFrame(R)}else nn.setExtraStackFrame(null)}var yt;yt=!1;function dt(m){return typeof m=="object"&&m!==null&&m.$$typeof===t}function Ct(){{if(Rt.current){var m=Q(Rt.current.type);if(m)return`
|
|
140
217
|
|
|
141
|
-
Check the render method of \``+
|
|
218
|
+
Check the render method of \``+m+"`."}return""}}function Sn(m){return""}var rn={};function kn(m){{var N=Ct();if(!N){var R=typeof m=="string"?m:m.displayName||m.name;R&&(N=`
|
|
142
219
|
|
|
143
|
-
Check the top-level render call using <`+R+">.")}return N}}function
|
|
220
|
+
Check the top-level render call using <`+R+">.")}return N}}function un(m,N){{if(!m._store||m._store.validated||m.key!=null)return;m._store.validated=!0;var R=kn(N);if(rn[R])return;rn[R]=!0;var X="";m&&m._owner&&m._owner!==Rt.current&&(X=" It was passed a child from "+Q(m._owner.type)+"."),tt(m),M('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',R,X),tt(null)}}function an(m,N){{if(typeof m!="object")return;if(Tt(m))for(var R=0;R<m.length;R++){var X=m[R];dt(X)&&un(X,N)}else if(dt(m))m._store&&(m._store.validated=!0);else if(m){var he=O(m);if(typeof he=="function"&&he!==m.entries)for(var be=he.call(m),se;!(se=be.next()).done;)dt(se.value)&&un(se.value,N)}}}function Dt(m){{var N=m.type;if(N==null||typeof N=="string")return;var R;if(typeof N=="function")R=N.propTypes;else if(typeof N=="object"&&(N.$$typeof===c||N.$$typeof===h))R=N.propTypes;else return;if(R){var X=Q(N);Qe(R,m.props,"prop",X,m)}else if(N.PropTypes!==void 0&&!yt){yt=!0;var he=Q(N);M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",he||"Unknown")}typeof N.getDefaultProps=="function"&&!N.getDefaultProps.isReactClassApproved&&M("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $t(m){{for(var N=Object.keys(m.props),R=0;R<N.length;R++){var X=N[R];if(X!=="children"&&X!=="key"){tt(m),M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",X),tt(null);break}}m.ref!==null&&(tt(m),M("Invalid attribute `ref` supplied to `React.Fragment`."),tt(null))}}var Vt={};function sn(m,N,R,X,he,be){{var se=v(m);if(!se){var ie="";(m===void 0||typeof m=="object"&&m!==null&&Object.keys(m).length===0)&&(ie+=" 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 Me=Sn();Me?ie+=Me:ie+=Ct();var xe;m===null?xe="null":Tt(m)?xe="array":m!==void 0&&m.$$typeof===t?(xe="<"+(Q(m.type)||"Unknown")+" />",ie=" Did you accidentally export a JSX literal instead of a component?"):xe=typeof m,M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",xe,ie)}var Ne=ft(m,N,R,he,be);if(Ne==null)return Ne;if(se){var $e=N.children;if($e!==void 0)if(X)if(Tt($e)){for(var ht=0;ht<$e.length;ht++)an($e[ht],m);Object.freeze&&Object.freeze($e)}else M("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 an($e,m)}if(Ze.call(N,"key")){var nt=Q(m),ze=Object.keys(N).filter(function(Ln){return Ln!=="key"}),qt=ze.length>0?"{key: someKey, "+ze.join(": ..., ")+": ...}":"{key: someKey}";if(!Vt[nt+qt]){var On=ze.length>0?"{"+ze.join(": ..., ")+": ...}":"{}";M(`A props object containing a "key" prop is being spread into JSX:
|
|
144
221
|
let props = %s;
|
|
145
222
|
<%s {...props} />
|
|
146
223
|
React keys must be passed directly to JSX without using spread:
|
|
147
224
|
let props = %s;
|
|
148
|
-
<%s key={someKey} {...props} />`,
|
|
225
|
+
<%s key={someKey} {...props} />`,qt,nt,On,nt),Vt[nt+qt]=!0}}return m===r?$t(Ne):Dt(Ne),Ne}}function Nn(m,N,R){return sn(m,N,R,!0)}function In(m,N,R){return sn(m,N,R,!1)}var Rn=In,on=Nn;Eu.Fragment=r,Eu.jsx=Rn,Eu.jsxs=on}()),Eu}var ro;function zT(){return ro||(ro=1,process.env.NODE_ENV==="production"?Pi.exports=UT():Pi.exports=jT()),Pi.exports}var ge=zT();const ve=(...e)=>e.filter(Boolean).join(" ");var wt;(e=>{e.clickable=`
|
|
226
|
+
px-2
|
|
227
|
+
min-h-[calc(44/16*1rem)]
|
|
228
|
+
border
|
|
229
|
+
border-transparent
|
|
230
|
+
rounded-lg
|
|
231
|
+
hover:bg-solid-grey-50
|
|
232
|
+
`,e.selected=`
|
|
233
|
+
rounded-full
|
|
234
|
+
bg-yellow-50
|
|
235
|
+
`;const t=`
|
|
236
|
+
focus-visible:outline
|
|
237
|
+
focus-visible:outline-4
|
|
238
|
+
focus-visible:outline-black
|
|
239
|
+
focus-visible:ring-yellow-300
|
|
240
|
+
`;e.focusRectCondensed=`
|
|
241
|
+
${t}
|
|
242
|
+
focus-visible:-outline-offset-4
|
|
243
|
+
focus-visible:ring-[calc(6/16*1rem)]
|
|
244
|
+
focus-visible:ring-inset
|
|
245
|
+
`,e.focusRectCondensedWithBg=`
|
|
246
|
+
${e.focusRectCondensed}
|
|
247
|
+
focus-visible:bg-yellow-300
|
|
248
|
+
`,e.focusRect=`
|
|
249
|
+
${t}
|
|
250
|
+
focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
251
|
+
focus-visible:ring-[calc(2/16*1rem)]
|
|
252
|
+
`,e.focusRounded=`
|
|
253
|
+
${e.focusRect}
|
|
254
|
+
focus-visible:rounded
|
|
255
|
+
`,e.focusCard=`
|
|
256
|
+
${e.focusRect}
|
|
257
|
+
focus-visible:rounded-2xl
|
|
258
|
+
sm:focus-visible:rounded-3xl
|
|
259
|
+
`,e.focusRectWithBg=`
|
|
260
|
+
${e.focusRect}
|
|
261
|
+
focus-visible:bg-yellow-300
|
|
262
|
+
`,e.focusRoundedWithBg=`
|
|
263
|
+
${e.focusRectWithBg}
|
|
264
|
+
focus-visible:rounded
|
|
265
|
+
`,e.hoverUnderline=`
|
|
266
|
+
hover:underline
|
|
267
|
+
hover:underline-offset-[calc(3/16*1rem)]
|
|
268
|
+
`,e.underline=`
|
|
269
|
+
underline
|
|
270
|
+
underline-offset-[calc(3/16*1rem)]
|
|
271
|
+
hover:decoration-[calc(3/16*1rem)]
|
|
272
|
+
`,e.underlineNoDeco=`
|
|
273
|
+
underline
|
|
274
|
+
underline-offset-[calc(3/16*1rem)]
|
|
275
|
+
`,e.popover=`
|
|
276
|
+
min-w-fit
|
|
277
|
+
w-auto
|
|
278
|
+
py-2
|
|
279
|
+
bg-white
|
|
280
|
+
shadow-1
|
|
281
|
+
rounded-lg
|
|
282
|
+
border
|
|
283
|
+
border-solid-grey-420
|
|
284
|
+
has-[>:nth-child(7)]:rounded-r-none
|
|
285
|
+
`,e.popoverPositionBottomRight=`
|
|
286
|
+
absolute
|
|
287
|
+
top-11
|
|
288
|
+
right-0
|
|
289
|
+
`,e.popoverPositionBottomLeft=`
|
|
290
|
+
absolute
|
|
291
|
+
top-11
|
|
292
|
+
left-0
|
|
293
|
+
`,(n=>{n.focus=`
|
|
294
|
+
peer-focus-visible:outline
|
|
295
|
+
peer-focus-visible:outline-4
|
|
296
|
+
peer-focus-visible:outline-black
|
|
297
|
+
peer-focus-visible:ring-yellow-300
|
|
298
|
+
`,n.focusRect=`
|
|
299
|
+
${n.focus}
|
|
300
|
+
peer-focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
301
|
+
peer-focus-visible:ring-[calc(2/16*1rem)]
|
|
302
|
+
`})(e.Peer||(e.Peer={}))})(wt||(wt={}));var Bi={exports:{}},Pe={};/**
|
|
149
303
|
* @license React
|
|
150
304
|
* react.production.min.js
|
|
151
305
|
*
|
|
@@ -153,7 +307,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
153
307
|
*
|
|
154
308
|
* This source code is licensed under the MIT license found in the
|
|
155
309
|
* LICENSE file in the root directory of this source tree.
|
|
156
|
-
*/var
|
|
310
|
+
*/var uo;function YT(){if(uo)return Pe;uo=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;function g(T){return T===null||typeof T!="object"?null:(T=h&&T[h]||T["@@iterator"],typeof T=="function"?T:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D=Object.assign,w={};function O(T,I,y){this.props=T,this.context=I,this.refs=w,this.updater=y||E}O.prototype.isReactComponent={},O.prototype.setState=function(T,I){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,I,"setState")},O.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function F(){}F.prototype=O.prototype;function M(T,I,y){this.props=T,this.context=I,this.refs=w,this.updater=y||E}var V=M.prototype=new F;V.constructor=M,D(V,O.prototype),V.isPureReactComponent=!0;var ue=Array.isArray,J=Object.prototype.hasOwnProperty,B={current:null},U={key:!0,ref:!0,__self:!0,__source:!0};function de(T,I,y){var re,ae={},oe=null,me=null;if(I!=null)for(re in I.ref!==void 0&&(me=I.ref),I.key!==void 0&&(oe=""+I.key),I)J.call(I,re)&&!U.hasOwnProperty(re)&&(ae[re]=I[re]);var ce=arguments.length-2;if(ce===1)ae.children=y;else if(1<ce){for(var fe=Array(ce),De=0;De<ce;De++)fe[De]=arguments[De+2];ae.children=fe}if(T&&T.defaultProps)for(re in ce=T.defaultProps,ce)ae[re]===void 0&&(ae[re]=ce[re]);return{$$typeof:e,type:T,key:oe,ref:me,props:ae,_owner:B.current}}function pe(T,I){return{$$typeof:e,type:T.type,key:I,ref:T.ref,props:T.props,_owner:T._owner}}function v(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function ne(T){var I={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(y){return I[y]})}var q=/\/+/g;function Q(T,I){return typeof T=="object"&&T!==null&&T.key!=null?ne(""+T.key):I.toString(36)}function W(T,I,y,re,ae){var oe=typeof T;(oe==="undefined"||oe==="boolean")&&(T=null);var me=!1;if(T===null)me=!0;else switch(oe){case"string":case"number":me=!0;break;case"object":switch(T.$$typeof){case e:case t:me=!0}}if(me)return me=T,ae=ae(me),T=re===""?"."+Q(me,0):re,ue(ae)?(y="",T!=null&&(y=T.replace(q,"$&/")+"/"),W(ae,I,y,"",function(De){return De})):ae!=null&&(v(ae)&&(ae=pe(ae,y+(!ae.key||me&&me.key===ae.key?"":(""+ae.key).replace(q,"$&/")+"/")+T)),I.push(ae)),1;if(me=0,re=re===""?".":re+":",ue(T))for(var ce=0;ce<T.length;ce++){oe=T[ce];var fe=re+Q(oe,ce);me+=W(oe,I,y,fe,ae)}else if(fe=g(T),typeof fe=="function")for(T=fe.call(T),ce=0;!(oe=T.next()).done;)oe=oe.value,fe=re+Q(oe,ce++),me+=W(oe,I,y,fe,ae);else if(oe==="object")throw I=String(T),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.");return me}function k(T,I,y){if(T==null)return T;var re=[],ae=0;return W(T,re,"","",function(oe){return I.call(y,oe,ae++)}),re}function Ae(T){if(T._status===-1){var I=T._result;I=I(),I.then(function(y){(T._status===0||T._status===-1)&&(T._status=1,T._result=y)},function(y){(T._status===0||T._status===-1)&&(T._status=2,T._result=y)}),T._status===-1&&(T._status=0,T._result=I)}if(T._status===1)return T._result.default;throw T._result}var Y={current:null},je={transition:null},We={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:je,ReactCurrentOwner:B};function S(){throw Error("act(...) is not supported in production builds of React.")}return Pe.Children={map:k,forEach:function(T,I,y){k(T,function(){I.apply(this,arguments)},y)},count:function(T){var I=0;return k(T,function(){I++}),I},toArray:function(T){return k(T,function(I){return I})||[]},only:function(T){if(!v(T))throw Error("React.Children.only expected to receive a single React element child.");return T}},Pe.Component=O,Pe.Fragment=n,Pe.Profiler=u,Pe.PureComponent=M,Pe.StrictMode=r,Pe.Suspense=c,Pe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=We,Pe.act=S,Pe.cloneElement=function(T,I,y){if(T==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+T+".");var re=D({},T.props),ae=T.key,oe=T.ref,me=T._owner;if(I!=null){if(I.ref!==void 0&&(oe=I.ref,me=B.current),I.key!==void 0&&(ae=""+I.key),T.type&&T.type.defaultProps)var ce=T.type.defaultProps;for(fe in I)J.call(I,fe)&&!U.hasOwnProperty(fe)&&(re[fe]=I[fe]===void 0&&ce!==void 0?ce[fe]:I[fe])}var fe=arguments.length-2;if(fe===1)re.children=y;else if(1<fe){ce=Array(fe);for(var De=0;De<fe;De++)ce[De]=arguments[De+2];re.children=ce}return{$$typeof:e,type:T.type,key:ae,ref:oe,props:re,_owner:me}},Pe.createContext=function(T){return T={$$typeof:a,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},T.Provider={$$typeof:i,_context:T},T.Consumer=T},Pe.createElement=de,Pe.createFactory=function(T){var I=de.bind(null,T);return I.type=T,I},Pe.createRef=function(){return{current:null}},Pe.forwardRef=function(T){return{$$typeof:l,render:T}},Pe.isValidElement=v,Pe.lazy=function(T){return{$$typeof:d,_payload:{_status:-1,_result:T},_init:Ae}},Pe.memo=function(T,I){return{$$typeof:f,type:T,compare:I===void 0?null:I}},Pe.startTransition=function(T){var I=je.transition;je.transition={};try{T()}finally{je.transition=I}},Pe.unstable_act=S,Pe.useCallback=function(T,I){return Y.current.useCallback(T,I)},Pe.useContext=function(T){return Y.current.useContext(T)},Pe.useDebugValue=function(){},Pe.useDeferredValue=function(T){return Y.current.useDeferredValue(T)},Pe.useEffect=function(T,I){return Y.current.useEffect(T,I)},Pe.useId=function(){return Y.current.useId()},Pe.useImperativeHandle=function(T,I,y){return Y.current.useImperativeHandle(T,I,y)},Pe.useInsertionEffect=function(T,I){return Y.current.useInsertionEffect(T,I)},Pe.useLayoutEffect=function(T,I){return Y.current.useLayoutEffect(T,I)},Pe.useMemo=function(T,I){return Y.current.useMemo(T,I)},Pe.useReducer=function(T,I,y){return Y.current.useReducer(T,I,y)},Pe.useRef=function(T){return Y.current.useRef(T)},Pe.useState=function(T){return Y.current.useState(T)},Pe.useSyncExternalStore=function(T,I,y){return Y.current.useSyncExternalStore(T,I,y)},Pe.useTransition=function(){return Y.current.useTransition()},Pe.version="18.3.1",Pe}var yu={exports:{}};/**
|
|
157
311
|
* @license React
|
|
158
312
|
* react.development.js
|
|
159
313
|
*
|
|
@@ -161,69 +315,29 @@ React keys must be passed directly to JSX without using spread:
|
|
|
161
315
|
*
|
|
162
316
|
* This source code is licensed under the MIT license found in the
|
|
163
317
|
* LICENSE file in the root directory of this source tree.
|
|
164
|
-
*/yu.exports;var so;function u_(){return so||(so=1,function(e,t){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n="18.3.1",r=Symbol.for("react.element"),u=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),F=Symbol.for("react.offscreen"),L=Symbol.iterator,w="@@iterator";function M(s){if(s===null||typeof s!="object")return null;var h=L&&s[L]||s[w];return typeof h=="function"?h:null}var V={current:null},ne={transition:null},K={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},B={current:null},U={},he=null;function be(s){he=s}U.setExtraStackFrame=function(s){he=s},U.getCurrentStack=null,U.getStackAddendum=function(){var s="";he&&(s+=he);var h=U.getCurrentStack;return h&&(s+=h()||""),s};var P=!1,te=!1,q=!1,ae=!1,le=!1,k={ReactCurrentDispatcher:V,ReactCurrentBatchConfig:ne,ReactCurrentOwner:B};k.ReactDebugCurrentFrame=U,k.ReactCurrentActQueue=K;function De(s){{for(var h=arguments.length,_=new Array(h>1?h-1:0),C=1;C<h;C++)_[C-1]=arguments[C];je("warn",s,_)}}function Y(s){{for(var h=arguments.length,_=new Array(h>1?h-1:0),C=1;C<h;C++)_[C-1]=arguments[C];je("error",s,_)}}function je(s,h,_){{var C=k.ReactDebugCurrentFrame,O=C.getStackAddendum();O!==""&&(h+="%s",_=_.concat([O]));var X=_.map(function(z){return String(z)});X.unshift("Warning: "+h),Function.prototype.apply.call(console[s],console,X)}}var We={};function S(s,h){{var _=s.constructor,C=_&&(_.displayName||_.name)||"ReactClass",O=C+"."+h;if(We[O])return;Y("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",h,C),We[O]=!0}}var b={isMounted:function(s){return!1},enqueueForceUpdate:function(s,h,_){S(s,"forceUpdate")},enqueueReplaceState:function(s,h,_,C){S(s,"replaceState")},enqueueSetState:function(s,h,_,C){S(s,"setState")}},I=Object.assign,A={};Object.freeze(A);function ee(s,h,_){this.props=s,this.context=h,this.refs=A,this.updater=_||b}ee.prototype.isReactComponent={},ee.prototype.setState=function(s,h){if(typeof s!="object"&&typeof s!="function"&&s!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,s,h,"setState")},ee.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};{var ue={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},se=function(s,h){Object.defineProperty(ee.prototype,s,{get:function(){De("%s(...) is deprecated in plain JavaScript React classes. %s",h[0],h[1])}})};for(var pe in ue)ue.hasOwnProperty(pe)&&se(pe,ue[pe])}function ce(){}ce.prototype=ee.prototype;function fe(s,h,_){this.props=s,this.context=h,this.refs=A,this.updater=_||b}var Ce=fe.prototype=new ce;Ce.constructor=fe,I(Ce,ee.prototype),Ce.isPureReactComponent=!0;function wt(){var s={current:null};return Object.seal(s),s}var Ht=Array.isArray;function bt(s){return Ht(s)}function en(s){{var h=typeof Symbol=="function"&&Symbol.toStringTag,_=h&&s[Symbol.toStringTag]||s.constructor.name||"Object";return _}}function mt(s){try{return Ze(s),!1}catch{return!0}}function Ze(s){return""+s}function rt(s){if(mt(s))return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",en(s)),Ze(s)}function Ut(s,h,_){var C=s.displayName;if(C)return C;var O=h.displayName||h.name||"";return O!==""?_+"("+O+")":_}function ut(s){return s.displayName||"Context"}function Qe(s){if(s==null)return null;if(typeof s.tag=="number"&&Y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case a:return"Fragment";case u:return"Portal";case l:return"Profiler";case i:return"StrictMode";case m:return"Suspense";case T:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case f:var h=s;return ut(h)+".Consumer";case c:var _=s;return ut(_._context)+".Provider";case d:return Ut(s,s.render,"ForwardRef");case E:var C=s.displayName||null;return C!==null?C:Qe(s.type)||"Memo";case D:{var O=s,X=O._payload,z=O._init;try{return Qe(z(X))}catch{return null}}}return null}var lt=Object.prototype.hasOwnProperty,Tt={key:!0,ref:!0,__self:!0,__source:!0},jt,zt,_t;_t={};function j(s){if(lt.call(s,"ref")){var h=Object.getOwnPropertyDescriptor(s,"ref").get;if(h&&h.isReactWarning)return!1}return s.ref!==void 0}function W(s){if(lt.call(s,"key")){var h=Object.getOwnPropertyDescriptor(s,"key").get;if(h&&h.isReactWarning)return!1}return s.key!==void 0}function _e(s,h){var _=function(){jt||(jt=!0,Y("%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)",h))};_.isReactWarning=!0,Object.defineProperty(s,"key",{get:_,configurable:!0})}function Ne(s,h){var _=function(){zt||(zt=!0,Y("%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)",h))};_.isReactWarning=!0,Object.defineProperty(s,"ref",{get:_,configurable:!0})}function Be(s){if(typeof s.ref=="string"&&B.current&&s.__self&&B.current.stateNode!==s.__self){var h=Qe(B.current.type);_t[h]||(Y('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',h,s.ref),_t[h]=!0)}}var Ve=function(s,h,_,C,O,X,z){var Z={$$typeof:r,type:s,key:h,ref:_,props:z,_owner:X};return Z._store={},Object.defineProperty(Z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Z,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(Z,"_source",{configurable:!1,enumerable:!1,writable:!1,value:O}),Object.freeze&&(Object.freeze(Z.props),Object.freeze(Z)),Z};function yt(s,h,_){var C,O={},X=null,z=null,Z=null,oe=null;if(h!=null){j(h)&&(z=h.ref,Be(h)),W(h)&&(rt(h.key),X=""+h.key),Z=h.__self===void 0?null:h.__self,oe=h.__source===void 0?null:h.__source;for(C in h)lt.call(h,C)&&!Tt.hasOwnProperty(C)&&(O[C]=h[C])}var Te=arguments.length-2;if(Te===1)O.children=_;else if(Te>1){for(var ye=Array(Te),Ae=0;Ae<Te;Ae++)ye[Ae]=arguments[Ae+2];Object.freeze&&Object.freeze(ye),O.children=ye}if(s&&s.defaultProps){var Se=s.defaultProps;for(C in Se)O[C]===void 0&&(O[C]=Se[C])}if(X||z){var Oe=typeof s=="function"?s.displayName||s.name||"Unknown":s;X&&_e(O,Oe),z&&Ne(O,Oe)}return Ve(s,X,z,Z,oe,B.current,O)}function ct(s,h){var _=Ve(s.type,h,s.ref,s._self,s._source,s._owner,s.props);return _}function It(s,h,_){if(s==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var C,O=I({},s.props),X=s.key,z=s.ref,Z=s._self,oe=s._source,Te=s._owner;if(h!=null){j(h)&&(z=h.ref,Te=B.current),W(h)&&(rt(h.key),X=""+h.key);var ye;s.type&&s.type.defaultProps&&(ye=s.type.defaultProps);for(C in h)lt.call(h,C)&&!Tt.hasOwnProperty(C)&&(h[C]===void 0&&ye!==void 0?O[C]=ye[C]:O[C]=h[C])}var Ae=arguments.length-2;if(Ae===1)O.children=_;else if(Ae>1){for(var Se=Array(Ae),Oe=0;Oe<Ae;Oe++)Se[Oe]=arguments[Oe+2];O.children=Se}return Ve(s.type,X,z,Z,oe,Te,O)}function Xe(s){return typeof s=="object"&&s!==null&&s.$$typeof===r}var Ke=".",xt=":";function ft(s){var h=/[=:]/g,_={"=":"=0",":":"=2"},C=s.replace(h,function(O){return _[O]});return"$"+C}var Rt=!1,tn=/\/+/g;function tt(s){return s.replace(tn,"$&/")}function At(s,h){return typeof s=="object"&&s!==null&&s.key!=null?(rt(s.key),ft(""+s.key)):h.toString(36)}function dt(s,h,_,C,O){var X=typeof s;(X==="undefined"||X==="boolean")&&(s=null);var z=!1;if(s===null)z=!0;else switch(X){case"string":case"number":z=!0;break;case"object":switch(s.$$typeof){case r:case u:z=!0}}if(z){var Z=s,oe=O(Z),Te=C===""?Ke+At(Z,0):C;if(bt(oe)){var ye="";Te!=null&&(ye=tt(Te)+"/"),dt(oe,h,ye,"",function(ai){return ai})}else oe!=null&&(Xe(oe)&&(oe.key&&(!Z||Z.key!==oe.key)&&rt(oe.key),oe=ct(oe,_+(oe.key&&(!Z||Z.key!==oe.key)?tt(""+oe.key)+"/":"")+Te)),h.push(oe));return 1}var Ae,Se,Oe=0,He=C===""?Ke:C+xt;if(bt(s))for(var pn=0;pn<s.length;pn++)Ae=s[pn],Se=He+At(Ae,pn),Oe+=dt(Ae,h,_,Se,O);else{var Hn=M(s);if(typeof Hn=="function"){var Or=s;Hn===Or.entries&&(Rt||De("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Rt=!0);for(var ui=Hn.call(Or),Lr,ii=0;!(Lr=ui.next()).done;)Ae=Lr.value,Se=He+At(Ae,ii++),Oe+=dt(Ae,h,_,Se,O)}else if(X==="object"){var Fr=String(s);throw new Error("Objects are not valid as a React child (found: "+(Fr==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":Fr)+"). If you meant to render a collection of children, use an array instead.")}}return Oe}function Ct(s,h,_){if(s==null)return s;var C=[],O=0;return dt(s,C,"","",function(X){return h.call(_,X,O++)}),C}function xn(s){var h=0;return Ct(s,function(){h++}),h}function nn(s,h,_){Ct(s,function(){h.apply(this,arguments)},_)}function Sn(s){return Ct(s,function(h){return h})||[]}function rn(s){if(!Xe(s))throw new Error("React.Children.only expected to receive a single React element child.");return s}function un(s){var h={$$typeof:f,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};h.Provider={$$typeof:c,_context:h};var _=!1,C=!1,O=!1;{var X={$$typeof:f,_context:h};Object.defineProperties(X,{Provider:{get:function(){return C||(C=!0,Y("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),h.Provider},set:function(z){h.Provider=z}},_currentValue:{get:function(){return h._currentValue},set:function(z){h._currentValue=z}},_currentValue2:{get:function(){return h._currentValue2},set:function(z){h._currentValue2=z}},_threadCount:{get:function(){return h._threadCount},set:function(z){h._threadCount=z}},Consumer:{get:function(){return _||(_=!0,Y("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),h.Consumer}},displayName:{get:function(){return h.displayName},set:function(z){O||(De("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",z),O=!0)}}}),h.Consumer=X}return h._currentRenderer=null,h._currentRenderer2=null,h}var Dt=-1,Yt=0,$t=1,an=2;function Nn(s){if(s._status===Dt){var h=s._result,_=h();if(_.then(function(X){if(s._status===Yt||s._status===Dt){var z=s;z._status=$t,z._result=X}},function(X){if(s._status===Yt||s._status===Dt){var z=s;z._status=an,z._result=X}}),s._status===Dt){var C=s;C._status=Yt,C._result=_}}if(s._status===$t){var O=s._result;return O===void 0&&Y(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
318
|
+
*/yu.exports;var io;function $T(){return io||(io=1,function(e,t){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n="18.3.1",r=Symbol.for("react.element"),u=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),O=Symbol.iterator,F="@@iterator";function M(s){if(s===null||typeof s!="object")return null;var p=O&&s[O]||s[F];return typeof p=="function"?p:null}var V={current:null},ue={transition:null},J={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},B={current:null},U={},de=null;function pe(s){de=s}U.setExtraStackFrame=function(s){de=s},U.getCurrentStack=null,U.getStackAddendum=function(){var s="";de&&(s+=de);var p=U.getCurrentStack;return p&&(s+=p()||""),s};var v=!1,ne=!1,q=!1,Q=!1,W=!1,k={ReactCurrentDispatcher:V,ReactCurrentBatchConfig:ue,ReactCurrentOwner:B};k.ReactDebugCurrentFrame=U,k.ReactCurrentActQueue=J;function Ae(s){{for(var p=arguments.length,_=new Array(p>1?p-1:0),C=1;C<p;C++)_[C-1]=arguments[C];je("warn",s,_)}}function Y(s){{for(var p=arguments.length,_=new Array(p>1?p-1:0),C=1;C<p;C++)_[C-1]=arguments[C];je("error",s,_)}}function je(s,p,_){{var C=k.ReactDebugCurrentFrame,L=C.getStackAddendum();L!==""&&(p+="%s",_=_.concat([L]));var Z=_.map(function(z){return String(z)});Z.unshift("Warning: "+p),Function.prototype.apply.call(console[s],console,Z)}}var We={};function S(s,p){{var _=s.constructor,C=_&&(_.displayName||_.name)||"ReactClass",L=C+"."+p;if(We[L])return;Y("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",p,C),We[L]=!0}}var T={isMounted:function(s){return!1},enqueueForceUpdate:function(s,p,_){S(s,"forceUpdate")},enqueueReplaceState:function(s,p,_,C){S(s,"replaceState")},enqueueSetState:function(s,p,_,C){S(s,"setState")}},I=Object.assign,y={};Object.freeze(y);function re(s,p,_){this.props=s,this.context=p,this.refs=y,this.updater=_||T}re.prototype.isReactComponent={},re.prototype.setState=function(s,p){if(typeof s!="object"&&typeof s!="function"&&s!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,s,p,"setState")},re.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};{var ae={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},oe=function(s,p){Object.defineProperty(re.prototype,s,{get:function(){Ae("%s(...) is deprecated in plain JavaScript React classes. %s",p[0],p[1])}})};for(var me in ae)ae.hasOwnProperty(me)&&oe(me,ae[me])}function ce(){}ce.prototype=re.prototype;function fe(s,p,_){this.props=s,this.context=p,this.refs=y,this.updater=_||T}var De=fe.prototype=new ce;De.constructor=fe,I(De,re.prototype),De.isPureReactComponent=!0;function Pt(){var s={current:null};return Object.seal(s),s}var Ut=Array.isArray;function gt(s){return Ut(s)}function tn(s){{var p=typeof Symbol=="function"&&Symbol.toStringTag,_=p&&s[Symbol.toStringTag]||s.constructor.name||"Object";return _}}function mt(s){try{return Ze(s),!1}catch{return!0}}function Ze(s){return""+s}function ut(s){if(mt(s))return Y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",tn(s)),Ze(s)}function jt(s,p,_){var C=s.displayName;if(C)return C;var L=p.displayName||p.name||"";return L!==""?_+"("+L+")":_}function it(s){return s.displayName||"Context"}function Qe(s){if(s==null)return null;if(typeof s.tag=="number"&&Y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case i:return"Fragment";case u:return"Portal";case l:return"Profiler";case a:return"StrictMode";case h:return"Suspense";case g:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case f:var p=s;return it(p)+".Consumer";case c:var _=s;return it(_._context)+".Provider";case d:return jt(s,s.render,"ForwardRef");case E:var C=s.displayName||null;return C!==null?C:Qe(s.type)||"Memo";case D:{var L=s,Z=L._payload,z=L._init;try{return Qe(z(Z))}catch{return null}}}return null}var lt=Object.prototype.hasOwnProperty,Tt={key:!0,ref:!0,__self:!0,__source:!0},zt,Yt,_t;_t={};function j(s){if(lt.call(s,"ref")){var p=Object.getOwnPropertyDescriptor(s,"ref").get;if(p&&p.isReactWarning)return!1}return s.ref!==void 0}function G(s){if(lt.call(s,"key")){var p=Object.getOwnPropertyDescriptor(s,"key").get;if(p&&p.isReactWarning)return!1}return s.key!==void 0}function _e(s,p){var _=function(){zt||(zt=!0,Y("%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)",p))};_.isReactWarning=!0,Object.defineProperty(s,"key",{get:_,configurable:!0})}function ke(s,p){var _=function(){Yt||(Yt=!0,Y("%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)",p))};_.isReactWarning=!0,Object.defineProperty(s,"ref",{get:_,configurable:!0})}function Be(s){if(typeof s.ref=="string"&&B.current&&s.__self&&B.current.stateNode!==s.__self){var p=Qe(B.current.type);_t[p]||(Y('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',p,s.ref),_t[p]=!0)}}var Ve=function(s,p,_,C,L,Z,z){var te={$$typeof:r,type:s,key:p,ref:_,props:z,_owner:Z};return te._store={},Object.defineProperty(te._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(te,"_self",{configurable:!1,enumerable:!1,writable:!1,value:C}),Object.defineProperty(te,"_source",{configurable:!1,enumerable:!1,writable:!1,value:L}),Object.freeze&&(Object.freeze(te.props),Object.freeze(te)),te};function At(s,p,_){var C,L={},Z=null,z=null,te=null,le=null;if(p!=null){j(p)&&(z=p.ref,Be(p)),G(p)&&(ut(p.key),Z=""+p.key),te=p.__self===void 0?null:p.__self,le=p.__source===void 0?null:p.__source;for(C in p)lt.call(p,C)&&!Tt.hasOwnProperty(C)&&(L[C]=p[C])}var Te=arguments.length-2;if(Te===1)L.children=_;else if(Te>1){for(var ye=Array(Te),Ce=0;Ce<Te;Ce++)ye[Ce]=arguments[Ce+2];Object.freeze&&Object.freeze(ye),L.children=ye}if(s&&s.defaultProps){var Se=s.defaultProps;for(C in Se)L[C]===void 0&&(L[C]=Se[C])}if(Z||z){var Oe=typeof s=="function"?s.displayName||s.name||"Unknown":s;Z&&_e(L,Oe),z&&ke(L,Oe)}return Ve(s,Z,z,te,le,B.current,L)}function ct(s,p){var _=Ve(s.type,p,s.ref,s._self,s._source,s._owner,s.props);return _}function It(s,p,_){if(s==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var C,L=I({},s.props),Z=s.key,z=s.ref,te=s._self,le=s._source,Te=s._owner;if(p!=null){j(p)&&(z=p.ref,Te=B.current),G(p)&&(ut(p.key),Z=""+p.key);var ye;s.type&&s.type.defaultProps&&(ye=s.type.defaultProps);for(C in p)lt.call(p,C)&&!Tt.hasOwnProperty(C)&&(p[C]===void 0&&ye!==void 0?L[C]=ye[C]:L[C]=p[C])}var Ce=arguments.length-2;if(Ce===1)L.children=_;else if(Ce>1){for(var Se=Array(Ce),Oe=0;Oe<Ce;Oe++)Se[Oe]=arguments[Oe+2];L.children=Se}return Ve(s.type,Z,z,te,le,Te,L)}function Xe(s){return typeof s=="object"&&s!==null&&s.$$typeof===r}var Ke=".",xt=":";function ft(s){var p=/[=:]/g,_={"=":"=0",":":"=2"},C=s.replace(p,function(L){return _[L]});return"$"+C}var Rt=!1,nn=/\/+/g;function tt(s){return s.replace(nn,"$&/")}function yt(s,p){return typeof s=="object"&&s!==null&&s.key!=null?(ut(s.key),ft(""+s.key)):p.toString(36)}function dt(s,p,_,C,L){var Z=typeof s;(Z==="undefined"||Z==="boolean")&&(s=null);var z=!1;if(s===null)z=!0;else switch(Z){case"string":case"number":z=!0;break;case"object":switch(s.$$typeof){case r:case u:z=!0}}if(z){var te=s,le=L(te),Te=C===""?Ke+yt(te,0):C;if(gt(le)){var ye="";Te!=null&&(ye=tt(Te)+"/"),dt(le,p,ye,"",function(si){return si})}else le!=null&&(Xe(le)&&(le.key&&(!te||te.key!==le.key)&&ut(le.key),le=ct(le,_+(le.key&&(!te||te.key!==le.key)?tt(""+le.key)+"/":"")+Te)),p.push(le));return 1}var Ce,Se,Oe=0,He=C===""?Ke:C+xt;if(gt(s))for(var mn=0;mn<s.length;mn++)Ce=s[mn],Se=He+yt(Ce,mn),Oe+=dt(Ce,p,_,Se,L);else{var Un=M(s);if(typeof Un=="function"){var Lr=s;Un===Lr.entries&&(Rt||Ae("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Rt=!0);for(var ii=Un.call(Lr),Fr,ai=0;!(Fr=ii.next()).done;)Ce=Fr.value,Se=He+yt(Ce,ai++),Oe+=dt(Ce,p,_,Se,L)}else if(Z==="object"){var vr=String(s);throw new Error("Objects are not valid as a React child (found: "+(vr==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":vr)+"). If you meant to render a collection of children, use an array instead.")}}return Oe}function Ct(s,p,_){if(s==null)return s;var C=[],L=0;return dt(s,C,"","",function(Z){return p.call(_,Z,L++)}),C}function Sn(s){var p=0;return Ct(s,function(){p++}),p}function rn(s,p,_){Ct(s,function(){p.apply(this,arguments)},_)}function kn(s){return Ct(s,function(p){return p})||[]}function un(s){if(!Xe(s))throw new Error("React.Children.only expected to receive a single React element child.");return s}function an(s){var p={$$typeof:f,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};p.Provider={$$typeof:c,_context:p};var _=!1,C=!1,L=!1;{var Z={$$typeof:f,_context:p};Object.defineProperties(Z,{Provider:{get:function(){return C||(C=!0,Y("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),p.Provider},set:function(z){p.Provider=z}},_currentValue:{get:function(){return p._currentValue},set:function(z){p._currentValue=z}},_currentValue2:{get:function(){return p._currentValue2},set:function(z){p._currentValue2=z}},_threadCount:{get:function(){return p._threadCount},set:function(z){p._threadCount=z}},Consumer:{get:function(){return _||(_=!0,Y("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),p.Consumer}},displayName:{get:function(){return p.displayName},set:function(z){L||(Ae("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",z),L=!0)}}}),p.Consumer=Z}return p._currentRenderer=null,p._currentRenderer2=null,p}var Dt=-1,$t=0,Vt=1,sn=2;function Nn(s){if(s._status===Dt){var p=s._result,_=p();if(_.then(function(Z){if(s._status===$t||s._status===Dt){var z=s;z._status=Vt,z._result=Z}},function(Z){if(s._status===$t||s._status===Dt){var z=s;z._status=sn,z._result=Z}}),s._status===Dt){var C=s;C._status=$t,C._result=_}}if(s._status===Vt){var L=s._result;return L===void 0&&Y(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
165
319
|
|
|
166
320
|
Your code should look like:
|
|
167
321
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
168
322
|
|
|
169
|
-
Did you accidentally put curly braces around the import?`,
|
|
323
|
+
Did you accidentally put curly braces around the import?`,L),"default"in L||Y(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
170
324
|
|
|
171
325
|
Your code should look like:
|
|
172
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,
|
|
326
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,L),L.default}else throw s._result}function In(s){var p={_status:Dt,_result:s},_={$$typeof:D,_payload:p,_init:Nn};{var C,L;Object.defineProperties(_,{defaultProps:{configurable:!0,get:function(){return C},set:function(Z){Y("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),C=Z,Object.defineProperty(_,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return L},set:function(Z){Y("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),L=Z,Object.defineProperty(_,"propTypes",{enumerable:!0})}}})}return _}function Rn(s){s!=null&&s.$$typeof===E?Y("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?Y("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&Y("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&(s.defaultProps!=null||s.propTypes!=null)&&Y("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var p={$$typeof:d,render:s};{var _;Object.defineProperty(p,"displayName",{enumerable:!1,configurable:!0,get:function(){return _},set:function(C){_=C,!s.name&&!s.displayName&&(s.displayName=C)}})}return p}var on;on=Symbol.for("react.module.reference");function m(s){return!!(typeof s=="string"||typeof s=="function"||s===i||s===l||W||s===a||s===h||s===g||Q||s===w||v||ne||q||typeof s=="object"&&s!==null&&(s.$$typeof===D||s.$$typeof===E||s.$$typeof===c||s.$$typeof===f||s.$$typeof===d||s.$$typeof===on||s.getModuleId!==void 0))}function N(s,p){m(s)||Y("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s);var _={$$typeof:E,type:s,compare:p===void 0?null:p};{var C;Object.defineProperty(_,"displayName",{enumerable:!1,configurable:!0,get:function(){return C},set:function(L){C=L,!s.name&&!s.displayName&&(s.displayName=L)}})}return _}function R(){var s=V.current;return s===null&&Y(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
173
327
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
174
328
|
2. You might be breaking the Rules of Hooks
|
|
175
329
|
3. You might have more than one copy of React in the same app
|
|
176
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),s}function
|
|
177
|
-
`+
|
|
178
|
-
`),
|
|
179
|
-
`),Te=
|
|
180
|
-
`+
|
|
330
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),s}function X(s){var p=R();if(s._context!==void 0){var _=s._context;_.Consumer===s?Y("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):_.Provider===s&&Y("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return p.useContext(s)}function he(s){var p=R();return p.useState(s)}function be(s,p,_){var C=R();return C.useReducer(s,p,_)}function se(s){var p=R();return p.useRef(s)}function ie(s,p){var _=R();return _.useEffect(s,p)}function Me(s,p){var _=R();return _.useInsertionEffect(s,p)}function xe(s,p){var _=R();return _.useLayoutEffect(s,p)}function Ne(s,p){var _=R();return _.useCallback(s,p)}function $e(s,p){var _=R();return _.useMemo(s,p)}function ht(s,p,_){var C=R();return C.useImperativeHandle(s,p,_)}function nt(s,p){{var _=R();return _.useDebugValue(s,p)}}function ze(){var s=R();return s.useTransition()}function qt(s){var p=R();return p.useDeferredValue(s)}function On(){var s=R();return s.useId()}function Ln(s,p,_){var C=R();return C.useSyncExternalStore(s,p,_)}var Wt=0,fr,dr,hr,pr,mr,Er,br;function gr(){}gr.__reactDisabledLog=!0;function ju(){{if(Wt===0){fr=console.log,dr=console.info,hr=console.warn,pr=console.error,mr=console.group,Er=console.groupCollapsed,br=console.groupEnd;var s={configurable:!0,enumerable:!0,value:gr,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}Wt++}}function zu(){{if(Wt--,Wt===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},s,{value:fr}),info:I({},s,{value:dr}),warn:I({},s,{value:hr}),error:I({},s,{value:pr}),group:I({},s,{value:mr}),groupCollapsed:I({},s,{value:Er}),groupEnd:I({},s,{value:br})})}Wt<0&&Y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Fn=k.ReactCurrentDispatcher,vn;function ln(s,p,_){{if(vn===void 0)try{throw Error()}catch(L){var C=L.stack.trim().match(/\n( *(at )?)/);vn=C&&C[1]||""}return`
|
|
331
|
+
`+vn+s}}var wn=!1,cn;{var Yu=typeof WeakMap=="function"?WeakMap:Map;cn=new Yu}function Tr(s,p){if(!s||wn)return"";{var _=cn.get(s);if(_!==void 0)return _}var C;wn=!0;var L=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Z;Z=Fn.current,Fn.current=null,ju();try{if(p){var z=function(){throw Error()};if(Object.defineProperty(z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(z,[])}catch(He){C=He}Reflect.construct(s,[],z)}else{try{z.call()}catch(He){C=He}s.call(z.prototype)}}else{try{throw Error()}catch(He){C=He}s()}}catch(He){if(He&&C&&typeof He.stack=="string"){for(var te=He.stack.split(`
|
|
332
|
+
`),le=C.stack.split(`
|
|
333
|
+
`),Te=te.length-1,ye=le.length-1;Te>=1&&ye>=0&&te[Te]!==le[ye];)ye--;for(;Te>=1&&ye>=0;Te--,ye--)if(te[Te]!==le[ye]){if(Te!==1||ye!==1)do if(Te--,ye--,ye<0||te[Te]!==le[ye]){var Ce=`
|
|
334
|
+
`+te[Te].replace(" at new "," at ");return s.displayName&&Ce.includes("<anonymous>")&&(Ce=Ce.replace("<anonymous>",s.displayName)),typeof s=="function"&&cn.set(s,Ce),Ce}while(Te>=1&&ye>=0);break}}}finally{wn=!1,Fn.current=Z,zu(),Error.prepareStackTrace=L}var Se=s?s.displayName||s.name:"",Oe=Se?ln(Se):"";return typeof s=="function"&&cn.set(s,Oe),Oe}function $u(s,p,_){return Tr(s,!1)}function Vu(s){var p=s.prototype;return!!(p&&p.isReactComponent)}function fn(s,p,_){if(s==null)return"";if(typeof s=="function")return Tr(s,Vu(s));if(typeof s=="string")return ln(s);switch(s){case h:return ln("Suspense");case g:return ln("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case d:return $u(s.render);case E:return fn(s.type,p,_);case D:{var C=s,L=C._payload,Z=C._init;try{return fn(Z(L),p,_)}catch{}}}return""}var _r={},Ar=k.ReactDebugCurrentFrame;function dn(s){if(s){var p=s._owner,_=fn(s.type,s._source,p?p.type:null);Ar.setExtraStackFrame(_)}else Ar.setExtraStackFrame(null)}function qu(s,p,_,C,L){{var Z=Function.call.bind(lt);for(var z in s)if(Z(s,z)){var te=void 0;try{if(typeof s[z]!="function"){var le=Error((C||"React class")+": "+_+" type `"+z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[z]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw le.name="Invariant Violation",le}te=s[z](p,z,C,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Te){te=Te}te&&!(te instanceof Error)&&(dn(L),Y("%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).",C||"React class",_,z,typeof te),dn(null)),te instanceof Error&&!(te.message in _r)&&(_r[te.message]=!0,dn(L),Y("Failed %s type: %s",_,te.message),dn(null))}}}function Ot(s){if(s){var p=s._owner,_=fn(s.type,s._source,p?p.type:null);pe(_)}else pe(null)}var Pn;Pn=!1;function yr(){if(B.current){var s=Qe(B.current.type);if(s)return`
|
|
181
335
|
|
|
182
|
-
Check the render method of \``+s+"`."}return""}function
|
|
336
|
+
Check the render method of \``+s+"`."}return""}function Wu(s){if(s!==void 0){var p=s.fileName.replace(/^.*[\\\/]/,""),_=s.lineNumber;return`
|
|
183
337
|
|
|
184
|
-
Check your code at `+
|
|
338
|
+
Check your code at `+p+":"+_+"."}return""}function Qu(s){return s!=null?Wu(s.__source):""}var Cr={};function Gu(s){var p=yr();if(!p){var _=typeof s=="string"?s:s.displayName||s.name;_&&(p=`
|
|
185
339
|
|
|
186
|
-
Check the top-level render call using <`+_+">.")}return
|
|
187
|
-
focus-visible:outline
|
|
188
|
-
focus-visible:outline-4
|
|
189
|
-
focus-visible:outline-black
|
|
190
|
-
focus-visible:ring-yellow-300
|
|
191
|
-
`,a_=`
|
|
192
|
-
${gc}
|
|
193
|
-
focus-visible:-outline-offset-4
|
|
194
|
-
focus-visible:ring-[calc(6/16*1rem)]
|
|
195
|
-
focus-visible:ring-inset
|
|
196
|
-
`,s_=`
|
|
197
|
-
${a_}
|
|
198
|
-
focus-visible:bg-yellow-300
|
|
199
|
-
`,Ia=`
|
|
200
|
-
${gc}
|
|
201
|
-
focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
202
|
-
focus-visible:ring-[calc(2/16*1rem)]
|
|
203
|
-
`,bc=`
|
|
204
|
-
${Ia}
|
|
205
|
-
focus-visible:rounded
|
|
206
|
-
`,o_=`
|
|
207
|
-
${Ia}
|
|
208
|
-
focus-visible:rounded-2xl
|
|
209
|
-
sm:focus-visible:rounded-3xl
|
|
210
|
-
`,l_=`
|
|
211
|
-
${Ia}
|
|
212
|
-
focus-visible:bg-yellow-300
|
|
213
|
-
`,Tc=`
|
|
214
|
-
${l_}
|
|
215
|
-
focus-visible:rounded
|
|
216
|
-
`,Ra=`
|
|
217
|
-
hover:underline
|
|
218
|
-
hover:underline-offset-[calc(3/16*1rem)]
|
|
219
|
-
`,c_=`
|
|
220
|
-
underline
|
|
221
|
-
underline-offset-[calc(3/16*1rem)]
|
|
222
|
-
hover:decoration-[calc(3/16*1rem)]
|
|
223
|
-
`,f_=`
|
|
224
|
-
underline
|
|
225
|
-
underline-offset-[calc(3/16*1rem)]
|
|
226
|
-
`,_c=`
|
|
340
|
+
Check the top-level render call using <`+_+">.")}return p}function Dr(s,p){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var _=Gu(p);if(!Cr[_]){Cr[_]=!0;var C="";s&&s._owner&&s._owner!==B.current&&(C=" It was passed a child from "+Qe(s._owner.type)+"."),Ot(s),Y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,C),Ot(null)}}}function xr(s,p){if(typeof s=="object"){if(gt(s))for(var _=0;_<s.length;_++){var C=s[_];Xe(C)&&Dr(C,p)}else if(Xe(s))s._store&&(s._store.validated=!0);else if(s){var L=M(s);if(typeof L=="function"&&L!==s.entries)for(var Z=L.call(s),z;!(z=Z.next()).done;)Xe(z.value)&&Dr(z.value,p)}}}function Sr(s){{var p=s.type;if(p==null||typeof p=="string")return;var _;if(typeof p=="function")_=p.propTypes;else if(typeof p=="object"&&(p.$$typeof===d||p.$$typeof===E))_=p.propTypes;else return;if(_){var C=Qe(p);qu(_,s.props,"prop",C,s)}else if(p.PropTypes!==void 0&&!Pn){Pn=!0;var L=Qe(p);Y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",L||"Unknown")}typeof p.getDefaultProps=="function"&&!p.getDefaultProps.isReactClassApproved&&Y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xu(s){{for(var p=Object.keys(s.props),_=0;_<p.length;_++){var C=p[_];if(C!=="children"&&C!=="key"){Ot(s),Y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",C),Ot(null);break}}s.ref!==null&&(Ot(s),Y("Invalid attribute `ref` supplied to `React.Fragment`."),Ot(null))}}function kr(s,p,_){var C=m(s);if(!C){var L="";(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(L+=" 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 Z=Qu(p);Z?L+=Z:L+=yr();var z;s===null?z="null":gt(s)?z="array":s!==void 0&&s.$$typeof===r?(z="<"+(Qe(s.type)||"Unknown")+" />",L=" Did you accidentally export a JSX literal instead of a component?"):z=typeof s,Y("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",z,L)}var te=At.apply(this,arguments);if(te==null)return te;if(C)for(var le=2;le<arguments.length;le++)xr(arguments[le],s);return s===i?Xu(te):Sr(te),te}var Nr=!1;function Ku(s){var p=kr.bind(null,s);return p.type=s,Nr||(Nr=!0,Ae("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(p,"type",{enumerable:!1,get:function(){return Ae("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:s}),s}}),p}function Ju(s,p,_){for(var C=It.apply(this,arguments),L=2;L<arguments.length;L++)xr(arguments[L],C.type);return Sr(C),C}function Zu(s,p){var _=ue.transition;ue.transition={};var C=ue.transition;ue.transition._updatedFibers=new Set;try{s()}finally{if(ue.transition=_,_===null&&C._updatedFibers){var L=C._updatedFibers.size;L>10&&Ae("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),C._updatedFibers.clear()}}}var Ir=!1,hn=null;function ei(s){if(hn===null)try{var p=("require"+Math.random()).slice(0,7),_=e&&e[p];hn=_.call(e,"timers").setImmediate}catch{hn=function(C){Ir===!1&&(Ir=!0,typeof MessageChannel>"u"&&Y("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var L=new MessageChannel;L.port1.onmessage=C,L.port2.postMessage(void 0)}}return hn(s)}var Lt=0,Rr=!1;function Or(s){{var p=Lt;Lt++,J.current===null&&(J.current=[]);var _=J.isBatchingLegacy,C;try{if(J.isBatchingLegacy=!0,C=s(),!_&&J.didScheduleLegacyUpdate){var L=J.current;L!==null&&(J.didScheduleLegacyUpdate=!1,Hn(L))}}catch(Se){throw pn(p),Se}finally{J.isBatchingLegacy=_}if(C!==null&&typeof C=="object"&&typeof C.then=="function"){var Z=C,z=!1,te={then:function(Se,Oe){z=!0,Z.then(function(He){pn(p),Lt===0?Bn(He,Se,Oe):Se(He)},function(He){pn(p),Oe(He)})}};return!Rr&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){z||(Rr=!0,Y("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),te}else{var le=C;if(pn(p),Lt===0){var Te=J.current;Te!==null&&(Hn(Te),J.current=null);var ye={then:function(Se,Oe){J.current===null?(J.current=[],Bn(le,Se,Oe)):Se(le)}};return ye}else{var Ce={then:function(Se,Oe){Se(le)}};return Ce}}}}function pn(s){s!==Lt-1&&Y("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Lt=s}function Bn(s,p,_){{var C=J.current;if(C!==null)try{Hn(C),ei(function(){C.length===0?(J.current=null,p(s)):Bn(s,p,_)})}catch(L){_(L)}else p(s)}}var Mn=!1;function Hn(s){if(!Mn){Mn=!0;var p=0;try{for(;p<s.length;p++){var _=s[p];do _=_(!0);while(_!==null)}s.length=0}catch(C){throw s=s.slice(p+1),C}finally{Mn=!1}}}var ti=kr,ni=Ju,ri=Ku,ui={map:Ct,forEach:rn,count:Sn,toArray:kn,only:un};t.Children=ui,t.Component=re,t.Fragment=i,t.Profiler=l,t.PureComponent=fe,t.StrictMode=a,t.Suspense=h,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=k,t.act=Or,t.cloneElement=ni,t.createContext=an,t.createElement=ti,t.createFactory=ri,t.createRef=Pt,t.forwardRef=Rn,t.isValidElement=Xe,t.lazy=In,t.memo=N,t.startTransition=Zu,t.unstable_act=Or,t.useCallback=Ne,t.useContext=X,t.useDebugValue=nt,t.useDeferredValue=qt,t.useEffect=ie,t.useId=On,t.useImperativeHandle=ht,t.useInsertionEffect=Me,t.useLayoutEffect=xe,t.useMemo=$e,t.useReducer=be,t.useRef=se,t.useState=he,t.useSyncExternalStore=Ln,t.useTransition=ze,t.version=n,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(yu,yu.exports)),yu.exports}var ao;function VT(){return ao||(ao=1,process.env.NODE_ENV==="production"?Bi.exports=YT():Bi.exports=$T()),Bi.exports}var qT=VT();function La(e){return qT.forwardRef(e)}const hc=`
|
|
227
341
|
inline-block
|
|
228
342
|
text-button
|
|
229
343
|
text-center
|
|
@@ -239,16 +353,16 @@ Check the top-level render call using <`+_+">.")}return h}function Cr(s,h){if(!(
|
|
|
239
353
|
active:border-blue-1200
|
|
240
354
|
disabled:border-sumi-500
|
|
241
355
|
disabled:cursor-not-allowed
|
|
242
|
-
`,
|
|
356
|
+
`,so=`
|
|
243
357
|
text-white
|
|
244
358
|
bg-blue-900
|
|
245
359
|
hover:bg-blue-1000
|
|
246
360
|
active:bg-blue-1200
|
|
247
361
|
disabled:bg-sumi-500
|
|
248
362
|
disabled:text-white
|
|
249
|
-
${
|
|
250
|
-
${
|
|
251
|
-
`,
|
|
363
|
+
${wt.hoverUnderline}
|
|
364
|
+
${wt.focusRounded}
|
|
365
|
+
`,oo=`
|
|
252
366
|
text-blue-900
|
|
253
367
|
hover:text-blue-1000
|
|
254
368
|
active:text-blue-1200
|
|
@@ -257,9 +371,9 @@ Check the top-level render call using <`+_+">.")}return h}function Cr(s,h){if(!(
|
|
|
257
371
|
active:bg-blue-300
|
|
258
372
|
disabled:bg-transparent
|
|
259
373
|
disabled:text-sumi-500
|
|
260
|
-
${
|
|
261
|
-
${
|
|
262
|
-
`,
|
|
374
|
+
${wt.hoverUnderline}
|
|
375
|
+
${wt.focusRounded}
|
|
376
|
+
`,lo=`
|
|
263
377
|
bg-transparent
|
|
264
378
|
text-blue-900
|
|
265
379
|
hover:text-blue-1000
|
|
@@ -268,33 +382,33 @@ Check the top-level render call using <`+_+">.")}return h}function Cr(s,h){if(!(
|
|
|
268
382
|
active:bg-blue-300
|
|
269
383
|
disabled:bg-transparent
|
|
270
384
|
disabled:text-sumi-500
|
|
271
|
-
${
|
|
272
|
-
${
|
|
273
|
-
`,
|
|
385
|
+
${wt.underlineNoDeco}
|
|
386
|
+
${wt.focusRoundedWithBg}
|
|
387
|
+
`,WT={primary:so,secondary:oo,tertiary:lo,"solid-fill":so,outline:oo,text:lo},QT={lg:`
|
|
274
388
|
p-4
|
|
275
389
|
text-button
|
|
276
|
-
rounded-lg
|
|
277
390
|
leading-snug
|
|
391
|
+
rounded-lg
|
|
278
392
|
`,md:`
|
|
279
393
|
px-4
|
|
280
394
|
py-3
|
|
281
395
|
text-button
|
|
282
|
-
rounded-lg
|
|
283
396
|
leading-snug
|
|
397
|
+
rounded-lg
|
|
284
398
|
`,sm:`
|
|
285
399
|
px-3
|
|
286
400
|
py-1.5
|
|
287
401
|
my-1
|
|
288
402
|
text-button
|
|
289
|
-
rounded-md
|
|
290
403
|
leading-snug
|
|
404
|
+
rounded-md
|
|
291
405
|
`,xs:`
|
|
292
406
|
px-2
|
|
293
407
|
py-1.5
|
|
294
408
|
my-2
|
|
295
409
|
text-button-sm
|
|
296
410
|
rounded
|
|
297
|
-
`},
|
|
411
|
+
`},pc=e=>WT[e],mc=e=>QT[e],Fa=La((e,t)=>{const{as:n="button",variant:r="solid-fill",size:u="lg",className:i,children:a,...l}=e;return ge.jsx(n,{className:ve(hc,pc(r),mc(u),i),...l,ref:t,children:a})});Fa.displayName="Button";const va=rt.createContext({id:""}),Ec=e=>{const{className:t,children:n,...r}=e,u={id:rt.useId()};return ge.jsx(va.Provider,{value:u,children:ge.jsx("article",{"aria-labelledby":u.id,"aria-describedby":`${u.id}-desc`,className:ve(`
|
|
298
412
|
border
|
|
299
413
|
border-solid
|
|
300
414
|
border-sumi-500
|
|
@@ -302,10 +416,10 @@ Check the top-level render call using <`+_+">.")}return h}function Cr(s,h){if(!(
|
|
|
302
416
|
sm:rounded-3xl
|
|
303
417
|
text-sumi-900
|
|
304
418
|
overflow-hidden
|
|
305
|
-
`,t),...r,children:n})})},
|
|
419
|
+
`,t),...r,children:n})})},GT=e=>{const{className:t,...n}=e;return ge.jsx("img",{className:ve(`
|
|
306
420
|
object-cover
|
|
307
421
|
mb-2
|
|
308
|
-
`,t),...n})},
|
|
422
|
+
`,t),...n})},XT=e=>{const{className:t,children:n,...r}=e,u=rt.useContext(va);return ge.jsx("div",{id:u.id,className:ve(`
|
|
309
423
|
text-base
|
|
310
424
|
leading-[2rem]
|
|
311
425
|
font-medium
|
|
@@ -313,92 +427,92 @@ Check the top-level render call using <`+_+">.")}return h}function Cr(s,h){if(!(
|
|
|
313
427
|
pt-2
|
|
314
428
|
last:pb-4
|
|
315
429
|
px-6
|
|
316
|
-
`,t),...r,children:n})},
|
|
430
|
+
`,t),...r,children:n})},KT=e=>{const{className:t,children:n,...r}=e,u=rt.useContext(va);return ge.jsx("div",{id:`${u.id}-desc`,className:ve(`
|
|
317
431
|
text-base-sm
|
|
318
432
|
leading-[1.85rem]
|
|
319
433
|
first:pt-4
|
|
320
434
|
pt-2
|
|
321
435
|
last:pb-4
|
|
322
436
|
px-6
|
|
323
|
-
`,t),...r,children:n})},
|
|
437
|
+
`,t),...r,children:n})},JT=e=>{const{className:t,children:n,...r}=e;return ge.jsx("div",{className:ve(`
|
|
324
438
|
text-base-sm
|
|
325
439
|
leading-[1.85rem]
|
|
326
440
|
first:pt-4
|
|
327
441
|
pt-2
|
|
328
442
|
last:pb-4
|
|
329
443
|
px-6
|
|
330
|
-
`,t),...r,children:n})},
|
|
444
|
+
`,t),...r,children:n})},nu=rt.forwardRef((e,t)=>{const{className:n,altText:r="",opticalSize:u=24,children:i,...a}=e,l={16:"!text-[16px]",20:"!text-[20px]",24:"!text-[24px]",40:"!text-[40px]",44:"!text-[44px]",48:"!text-[48px]"}[u];return ge.jsxs(ge.Fragment,{children:[ge.jsx("span",{"aria-hidden":"true",className:ve(n,l,`
|
|
331
445
|
font-icon
|
|
332
|
-
font-
|
|
446
|
+
font-light
|
|
333
447
|
inline-block
|
|
334
|
-
leading-
|
|
335
|
-
whitespace-nowrap
|
|
448
|
+
leading-none
|
|
336
449
|
align-middle
|
|
337
|
-
|
|
450
|
+
whitespace-nowrap
|
|
451
|
+
`),...a,ref:t,children:i}),ge.jsx("span",{className:"sr-only",children:r})]})});nu.displayName="Icon";const bc=rt.createContext({href:""}),ZT=({href:e,className:t,children:n,...r})=>{const u=`
|
|
338
452
|
grid
|
|
339
453
|
outline-offset-4
|
|
340
454
|
rounded-2xl
|
|
341
455
|
sm:rounded-3xl
|
|
342
456
|
w-full h-full
|
|
343
|
-
${
|
|
344
|
-
`,
|
|
457
|
+
${wt.focusCard}
|
|
458
|
+
`,i=`
|
|
345
459
|
hover:text-sea-1000
|
|
346
460
|
hover:border-sea-1000
|
|
347
|
-
`,
|
|
461
|
+
`,a=e==null?void 0:e.startsWith("https://");return ge.jsx(bc.Provider,{value:{href:e},children:ge.jsx("a",{className:ve(u),href:e,target:a?"_blank":"",children:ge.jsx(Ec,{className:ve(i,t),...r,children:n})})})},e_=({className:e,children:t})=>{const{href:n}=rt.useContext(bc),r=`
|
|
348
462
|
flex
|
|
349
463
|
justify-between
|
|
350
464
|
items-center
|
|
351
|
-
`,u=n.startsWith("https://");return ge.jsx(
|
|
465
|
+
`,u=n.startsWith("https://");return ge.jsx(XT,{className:ve(e,r),children:n===""?t:ge.jsxs(ge.Fragment,{children:[ge.jsxs("span",{children:[t,u?ge.jsx(nu,{opticalSize:16,className:"ml-1",children:"open_in_new"}):""]}),u?"":ge.jsx(nu,{opticalSize:16,children:"arrow_forward"})]})})},t_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("code",{className:ve(`
|
|
352
466
|
bg-sumi-50
|
|
353
467
|
font-mono
|
|
354
|
-
`,t),...r,children:n})},
|
|
468
|
+
`,t),...r,children:n})},gc=`
|
|
355
469
|
text-h-med-m
|
|
356
470
|
sm:text-h-med
|
|
357
|
-
`,
|
|
471
|
+
`,n_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("article",{itemScope:!0,itemType:"https://schema.org/FAQPage",children:ge.jsx("dl",{className:ve(`
|
|
358
472
|
flex
|
|
359
473
|
flex-col
|
|
360
474
|
gap-8
|
|
361
|
-
`,t),itemScope:!0,itemProp:"mainEntity",itemType:"https://schema.org/Question",...r,children:n})})},
|
|
475
|
+
`,t),itemScope:!0,itemProp:"mainEntity",itemType:"https://schema.org/Question",...r,children:n})})},r_=e=>{const{className:t,children:n,...r}=e;return ge.jsxs("dt",{className:ve(`
|
|
362
476
|
flex
|
|
363
477
|
flex-row
|
|
364
478
|
gap-8
|
|
365
479
|
mt-8
|
|
366
|
-
`,
|
|
480
|
+
`,gc,t),itemProp:"name",...r,children:[ge.jsx("span",{"aria-hidden":"true",children:"Q"}),ge.jsx("span",{children:n})]})},u_=e=>{const{className:t,children:n,...r}=e;return ge.jsxs("dd",{className:ve(`
|
|
367
481
|
flex
|
|
368
482
|
flex-row
|
|
369
483
|
items-start
|
|
370
484
|
gap-8
|
|
371
|
-
`,t),itemScope:!0,itemProp:"acceptedAnswer",itemType:"https://schema.org/Answer",...r,children:[ge.jsx("span",{className:ve(
|
|
485
|
+
`,t),itemScope:!0,itemProp:"acceptedAnswer",itemType:"https://schema.org/Answer",...r,children:[ge.jsx("span",{className:ve(gc,"!leading-none"),"aria-hidden":"true",children:"A"}),ge.jsx("span",{itemProp:"text",children:n})]})},i_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("h1",{className:ve(`
|
|
372
486
|
text-h-lg-m
|
|
373
487
|
sm:text-h-lg
|
|
374
488
|
pt-[2rem]
|
|
375
489
|
sm:pt-[6.5rem]
|
|
376
|
-
`,t),...r,children:n})},
|
|
490
|
+
`,t),...r,children:n})},a_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("h2",{className:ve(`
|
|
377
491
|
text-h-med-m
|
|
378
492
|
sm:text-h-med
|
|
379
493
|
pt-[4rem]
|
|
380
494
|
sm:pt-[4.5rem]
|
|
381
|
-
`,t),...r,children:n})},
|
|
495
|
+
`,t),...r,children:n})},s_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("h3",{className:ve(`
|
|
382
496
|
text-h-sm-m
|
|
383
497
|
sm:text-h-sm
|
|
384
498
|
pt-[4rem]
|
|
385
499
|
sm:pt-[4.5rem]
|
|
386
|
-
`,t),...r,children:n})},
|
|
500
|
+
`,t),...r,children:n})},o_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("h4",{className:ve(`
|
|
387
501
|
text-h-xs-m
|
|
388
502
|
sm:text-h-xs
|
|
389
503
|
pt-[3.5rem]
|
|
390
504
|
sm:pt-[4.5rem]
|
|
391
|
-
`,t),...r,children:n})},
|
|
505
|
+
`,t),...r,children:n})},l_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("h5",{className:ve(`
|
|
392
506
|
text-h-xxs-m
|
|
393
507
|
sm:text-h-xxs
|
|
394
508
|
pt-[3rem]
|
|
395
509
|
sm:pt-[4rem]
|
|
396
|
-
`,t),...r,children:n})},
|
|
510
|
+
`,t),...r,children:n})},c_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("h6",{className:ve(`
|
|
397
511
|
text-h-xxs-m
|
|
398
512
|
sm:text-h-xxs
|
|
399
513
|
pt-[2.5rem]
|
|
400
514
|
sm:pt-[3.5rem]
|
|
401
|
-
`,t),...r,children:n})},
|
|
515
|
+
`,t),...r,children:n})},f_=La((e,t)=>{const{as:n="button",variant:r="solid-fill",size:u="lg",iconLayout:i="left",icon:a,rounded:l,className:c,children:f,...d}=e,h=`${u==="xs"?"scale-105":"scale-125"}`,g=`
|
|
402
516
|
inline-block
|
|
403
517
|
align-middle
|
|
404
518
|
mb-1
|
|
@@ -406,49 +520,49 @@ Check the top-level render call using <`+_+">.")}return h}function Cr(s,h){if(!(
|
|
|
406
520
|
font-light
|
|
407
521
|
leading-[0px]
|
|
408
522
|
antialiased
|
|
409
|
-
`,E=`${l?"aspect-square !rounded-full !py-0":""}`,D=!!f;return ge.
|
|
523
|
+
`,E=`${l?"aspect-square !rounded-full !py-0":""}`,D=!!f;return ge.jsx(n,{className:ve(hc,pc(r),mc(u),E,c),...d,ref:t,children:ge.jsxs("span",{children:[i==="left"&&ge.jsx("span",{className:ve(g,h,f&&"mr-1"),"aria-hidden":D,children:a}),f,i==="right"&&ge.jsx("span",{className:ve(g,h,f&&"ml-1"),"aria-hidden":D,children:a})]})})});f_.displayName="IconButton";const wa=La((e,t)=>{var n;const{as:r="a",className:u,children:i,...a}=e,l=`
|
|
410
524
|
cursor-pointer
|
|
411
525
|
text-blue-1000
|
|
412
526
|
active:text-orange-700
|
|
413
527
|
visited:text-magenta-900
|
|
414
|
-
${
|
|
415
|
-
${
|
|
528
|
+
${wt.focusRoundedWithBg}
|
|
529
|
+
${wt.underline}
|
|
416
530
|
disabled:border-sumi-500
|
|
417
531
|
[overflow-wrap:anywhere]
|
|
418
|
-
`;return
|
|
532
|
+
`;return(n=e.href)!=null&&n.startsWith("http")||e.target==="_blank"?ge.jsxs(r,{className:ve(l,u),target:"_blank",rel:"noopener noreferrer",...a,ref:t,children:[ge.jsx("span",{children:i}),ge.jsx(nu,{opticalSize:16,altText:"Opens in new tab",className:"ml-0.5",children:"open_in_new"})]}):ge.jsx(r,{className:ve(l,u),...a,ref:t,children:i})});wa.displayName="Link";const ea=e=>{const{className:t,children:n,...r}=e;return ge.jsx("ul",{className:ve(`
|
|
419
533
|
list-disc
|
|
420
534
|
[&_&]:list-circle
|
|
421
535
|
[&_&_&]:list-square
|
|
422
536
|
pl-8
|
|
423
|
-
`,t),...r,children:n})},
|
|
537
|
+
`,t),...r,children:n})},d_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("ol",{className:ve(`
|
|
424
538
|
list-decimal
|
|
425
539
|
[&_&]:list-lower-latin
|
|
426
540
|
pl-8
|
|
427
|
-
`,t),...r,children:n})},
|
|
541
|
+
`,t),...r,children:n})},h_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("pre",{className:ve(`
|
|
428
542
|
p-4
|
|
429
543
|
bg-sumi-50
|
|
430
544
|
rounded-lg
|
|
431
545
|
whitespace-pre-wrap
|
|
432
546
|
overflow-y-scroll
|
|
433
|
-
`,t),...r,children:n})},
|
|
547
|
+
`,t),...r,children:n})},Uu=`
|
|
434
548
|
border
|
|
435
549
|
border-collapse
|
|
436
550
|
border-solid-grey-420
|
|
437
|
-
`,
|
|
551
|
+
`,p_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("table",{className:ve(Uu,t),...r,children:n})},m_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("caption",{className:ve("text-left",t),...r,children:n})},E_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("thead",{className:ve(t),...r,children:n})},b_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("tbody",{className:ve(t),...r,children:n})},g_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("th",{className:ve(`
|
|
438
552
|
p-2
|
|
439
553
|
bg-[#f8f8fb]
|
|
440
554
|
text-label
|
|
441
555
|
text-left
|
|
442
|
-
`,
|
|
556
|
+
`,Uu,t),...r,children:n})},T_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("tr",{className:ve("",Uu,t),...r,children:n})},__=e=>{const{className:t,children:n,...r}=e;return ge.jsx("td",{className:ve(`
|
|
443
557
|
p-2
|
|
444
558
|
text-label
|
|
445
|
-
`,
|
|
559
|
+
`,Uu,t),...r,children:n})},A_=e=>{const{className:t,children:n,...r}=e;return ge.jsx("div",{className:ve(`
|
|
446
560
|
w-full
|
|
447
561
|
overflow-x-auto
|
|
448
562
|
whitespace-nowrap
|
|
449
563
|
print:overflow-visible
|
|
450
564
|
print:whitespace-normal
|
|
451
|
-
`,t),...r,children:n})},
|
|
565
|
+
`,t),...r,children:n})},y_=rt.forwardRef((e,t)=>{const{className:n,children:r,...u}=e;return ge.jsx("ul",{ref:t,role:"menu",className:ve(n,`
|
|
452
566
|
font-normal
|
|
453
567
|
whitespace-nowrap
|
|
454
568
|
|
|
@@ -462,31 +576,31 @@ Check the top-level render call using <`+_+">.")}return h}function Cr(s,h){if(!(
|
|
|
462
576
|
border-solid-grey-420
|
|
463
577
|
has-[>:nth-child(7)]:rounded-r-none
|
|
464
578
|
|
|
465
|
-
`),...u,children:r})});
|
|
579
|
+
`),...u,children:r})});y_.displayName="PopoverMenu";const C_=rt.forwardRef((e,t)=>{const{className:n,children:r,...u}=e,i=`
|
|
466
580
|
py-1.5 pl-1.5 pr-4
|
|
467
581
|
flex
|
|
468
582
|
items-center
|
|
469
583
|
gap-x-1.5
|
|
470
584
|
hover:bg-solid-grey-50
|
|
471
|
-
${
|
|
472
|
-
`,
|
|
585
|
+
${wt.focusRectCondensedWithBg}
|
|
586
|
+
`,a=`
|
|
473
587
|
!text-blue-1000
|
|
474
588
|
!bg-blue-100
|
|
475
589
|
font-bold
|
|
476
|
-
`,l=u["aria-current"]??!1;return ge.jsx("li",{role:"presentation",children:ge.jsxs("a",{"aria-current":l,ref:t,role:"menuitem",className:ve(
|
|
590
|
+
`,l=u["aria-current"]??!1;return ge.jsx("li",{role:"presentation",children:ge.jsxs("a",{"aria-current":l,ref:t,role:"menuitem",className:ve(i,l&&a),...u,children:[ge.jsx(nu,{opticalSize:20,className:`flex-none ${!l&&"invisible"}`,children:"check"}),ge.jsx("span",{className:wt.hoverUnderline,children:r})]})})});C_.displayName="PopoverMenuItem";const ur=e=>e.type==="containerDirective"||e.type==="leafDirective"||e.type==="textDirective",Pa=e=>e.type==="containerDirective",D_=e=>e.type==="textDirective",x_=e=>e.type==="heading",S_=()=>e=>{Nt(e,ur,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,l=r.width,c=r.height,f=r.allow||"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",d=r.referrerpolicy||"strict-origin-when-cross-origin";n.hName="iframe",n.hProperties={title:a,src:`https://www.youtube-nocookie.com/embed/${u}`,width:l,height:c,frameBorder:0,allow:f,referrerpolicy:d,allowFullScreen:!0,loading:"lazy"}}})},ta={}.hasOwnProperty;function Tc(e,t,n){const r=n&&R_(n);function u(i,a,...l){let c=-1,f;if(i==null){f={type:"root",children:[]};const d=a;l.unshift(d)}else if(f=bl(i,t),f.tagName=f.tagName.toLowerCase(),r&&ta.call(r,f.tagName)&&(f.tagName=r[f.tagName]),k_(a))l.unshift(a);else{let d;for(d in a)ta.call(a,d)&&N_(e,f.properties,d,a[d])}for(;++c<l.length;)na(f.children,l[c]);return f.type==="element"&&f.tagName==="template"&&(f.content={type:"root",children:f.children},f.children=[]),f}return u}function k_(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 N_(e,t,n,r){const u=au(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=Zr(r):u.commaSeparated?a=ku(r):u.commaOrSpaceSeparated?a=Zr(ku(r).join(" ")):a=co(u,u.property,r):Array.isArray(r)?a=r.concat():a=u.property==="style"?I_(r):String(r);if(Array.isArray(a)){const l=[];for(;++i<a.length;){const c=co(u,u.property,a[i]);l[i]=c}a=l}if(u.property==="className"&&Array.isArray(t.className)){const l=a;a=t.className.concat(l)}t[u.property]=a}}function na(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;)na(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?na(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function co(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||qn(n)===qn(t)))return!0}return n}function I_(e){const t=[];let n;for(n in e)ta.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function R_(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const O_=["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"],gn=Tc(sr,"div");Tc(_n,"g",O_);const L_=()=>e=>{Nt(e,ur,t=>{t.data=t.data??{};const n=gn(t.name,t.attributes||{});t.data.hName=n.tagName,t.data.hProperties=n.properties})},F_=()=>e=>{Nt(e,D_,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=gn(r,t.attributes).properties})},v_=()=>e=>{Nt(e,Pa,t=>{if(!t.name.startsWith("grid-cols-"))return;t.attributes=t.attributes??{},t.attributes.as==="list"&&(t.attributes.as=void 0,t.attributes["data-behavior"]="list");const n=Number.parseInt(t.name.split("-").pop()||"1"),r={1:"md:grid-cols-1",2:"md:grid-cols-2",3:"md:grid-cols-3",4:"md:grid-cols-4",5:"md:grid-cols-5",6:"md:grid-cols-6",7:"md:grid-cols-6",8:"md:grid-cols-6",9:"md:grid-cols-6",10:"md:grid-cols-6",11:"md:grid-cols-6",12:"md:grid-cols-12"};t.data=t.data??{};const u="div";t.data.hName=u,t.attributes.class=`flex flex-col md:grid ${r[n]} gap-8`,t.data.hProperties=gn(u,t.attributes).properties})},w_=()=>e=>{Nt(e,Pa,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=gn(n,t.attributes).properties,t.children.forEach(r=>{if(!ur(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=gn(u,r.attributes).properties})})},P_=()=>e=>{Nt(e,ur,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=gn(n,t.attributes).properties,t.children.forEach(r=>{if(!ur(r))return;r.data=r.data??{};let u="div";r.name==="card-img"&&(u="img"),r.data.hName=u,r.attributes=r.attributes??{},r.attributes["data-node"]=r.name,r.data.hProperties=gn(u,r.attributes).properties})})},B_=()=>e=>{Nt(e,Pa,t=>{if(t.name!=="faq")return;t.data=t.data??{};const n="dl";t.data.hName=n,t.data.hProperties=gn(n,t.attributes||{}).properties,t.children.forEach(r=>{if(!ur(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=gn(u,r.attributes||{}).properties})})},M_=()=>(e,t)=>{const n=[],r=new fc;Nt(e,x_,i=>{const a={id:r.slug(Kr(i)),depth:i.depth,value:Kr(i)};n.push(a)}),t.data.fm||(t.data.fm={}),t.data.fm.headings=PT(n)},_c=({items:e})=>Ye.jsx(Ye.Fragment,{children:e.map(t=>Ye.jsxs("li",{children:[Ye.jsx(wa,{href:`#${t.id}`,children:t.value}),t.children?Ye.jsx(ea,{children:Ye.jsx(_c,{items:t.children})}):null]},t.id))}),H_=e=>{const{className:t,children:n,...r}=e;return Ye.jsx(A_,{children:Ye.jsx(p_,{className:rr(t),...r,children:n})})},U_=e=>{const{children:t,href:n,...r}=e;return r["data-node"]==="link-button"?Ye.jsx(Fa,{as:"a",variant:"secondary",href:n,children:t}):Ye.jsx(wa,{href:n,...r,children:t})},j_=e=>{const{children:t,className:n,...r}=e;if(r["data-node"]==="card"){if(r["data-behavior"]==="link"){const i=r["data-href"];return Ye.jsx(ZT,{href:i,className:rr(n),children:t})}return Ye.jsx(Ec,{className:rr(n),children:t})}return Ye.jsx("article",{className:n,...r,children:t})},z_=e=>{const{children:t,...n}=e,r=n["data-node"];return r==="card-title"?Ye.jsx(e_,{children:t}):r==="card-description"?Ye.jsx(KT,{children:t}):r==="card-footer"?Ye.jsx(JT,{children:t}):n["data-behavior"]==="list"?Ye.jsx("ul",{className:n.className,children:rt.Children.map(t,u=>Ye.jsx("li",{className:"sm:grid",children:u},Math.random()))}):Ye.jsx("div",{...n,children:t})},Y_=e=>{const{children:t,className:n,...r}=e;return r["data-node"]==="card-img"?Ye.jsx(GT,{className:rr("w-full aspect-[352/226]",n),...r}):r["data-node"]==="cell-img"?Ye.jsx("img",{className:rr("mb-4",n),...r}):Ye.jsx("img",{className:n,...r})},$_=e=>{const{className:t,children:n,...r}=e,u=`
|
|
477
591
|
my-8
|
|
478
|
-
`;let
|
|
592
|
+
`;let i=`
|
|
479
593
|
aspect-video
|
|
480
594
|
w-full
|
|
481
595
|
max-w-[470px]
|
|
482
|
-
`;return(e.width||e.height)&&(
|
|
596
|
+
`;return(e.width||e.height)&&(i=`
|
|
483
597
|
aspect-video
|
|
484
598
|
w-full
|
|
485
599
|
lg:aspect-auto
|
|
486
600
|
lg:w-[${e.width}px]
|
|
487
601
|
lg:h-[${e.height}px]
|
|
488
|
-
`),Ye.jsx("iframe",{className:
|
|
602
|
+
`),Ye.jsx("iframe",{className:rr(u,i,t),...r,children:n})},V_=({children:e,showToc:t,tocTitle:n="目次",shiftHeding:r=0})=>{const[u,i]=rt.useState([]),[a,l]=rt.useState(Ye.jsx(rt.Fragment,{})),c=E=>th().use(M_).processSync(E).data.fm.headings.filter(O=>O.depth<3),f=rt.useCallback(()=>{(async()=>{var D;location.hash&&((D=document.getElementById(decodeURI(location.hash.substring(1))))==null||D.scrollIntoView())})()},[]);rt.useEffect(()=>{i(c(e)),l(h(e))},[e]);const d={...Sc,components:{a:U_,article:j_,button:Fa,code:t_,dl:n_,dt:r_,dd:u_,h1:i_,h2:a_,h3:s_,h4:o_,h5:l_,h6:c_,iframe:$_,img:Y_,ul:ea,ol:d_,pre:h_,table:H_,caption:m_,thead:E_,tbody:b_,th:g_,tr:T_,td:__,div:z_}},h=E=>zo().use(ko).use(Lp).use(Sm).use(E1).use(L_).use(S_).use(F_).use(w_).use(P_).use(B_).use(v_).use(h1,{allowDangerousHtml:!0}).use(Pg).use(Wg,{target:"_blank"}).use(Xg,{shift:r}).use(wT).use(NT,d).processSync(E).result;return Ye.jsxs("div",{ref:f,className:"py-8 flex flex-col gap-8",children:[t&&Ye.jsxs("nav",{className:`
|
|
489
603
|
rounded-3xl
|
|
490
604
|
p-10
|
|
491
605
|
bg-wood-50
|
|
492
|
-
`,children:[Ye.jsx("h2",{className:"mb-4 font-bold text-h-xs-m sm:text-h-xs",children:n}),Ye.jsx(
|
|
606
|
+
`,children:[Ye.jsx("h2",{className:"mb-4 font-bold text-h-xs-m sm:text-h-xs",children:n}),Ye.jsx(ea,{children:Ye.jsx(_c,{items:u})})]}),a]})};exports.Markdown=V_;
|