@schmitech/chatbot-widget 0.4.8 → 0.4.9

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.
@@ -14,15 +14,15 @@
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
- */return e.NODE_ENV!=="production"&&function(){var t=J,r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),b=Symbol.iterator,C="@@iterator";function w(T){if(T===null||typeof T!="object")return null;var j=b&&T[b]||T[C];return typeof j=="function"?j:null}var A=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function z(T){{for(var j=arguments.length,Z=new Array(j>1?j-1:0),se=1;se<j;se++)Z[se-1]=arguments[se];D("error",T,Z)}}function D(T,j,Z){{var se=A.ReactDebugCurrentFrame,ke=se.getStackAddendum();ke!==""&&(j+="%s",Z=Z.concat([ke]));var Ee=Z.map(function(ye){return String(ye)});Ee.unshift("Warning: "+j),Function.prototype.apply.call(console[T],console,Ee)}}var L=!1,I=!1,P=!1,X=!1,H=!1,N;N=Symbol.for("react.module.reference");function V(T){return!!(typeof T=="string"||typeof T=="function"||T===i||T===l||H||T===a||T===f||T===h||X||T===v||L||I||P||typeof T=="object"&&T!==null&&(T.$$typeof===p||T.$$typeof===d||T.$$typeof===o||T.$$typeof===s||T.$$typeof===u||T.$$typeof===N||T.getModuleId!==void 0))}function G(T,j,Z){var se=T.displayName;if(se)return se;var ke=j.displayName||j.name||"";return ke!==""?Z+"("+ke+")":Z}function le(T){return T.displayName||"Context"}function re(T){if(T==null)return null;if(typeof T.tag=="number"&&z("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof T=="function")return T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case i:return"Fragment";case n:return"Portal";case l:return"Profiler";case a:return"StrictMode";case f:return"Suspense";case h:return"SuspenseList"}if(typeof T=="object")switch(T.$$typeof){case s:var j=T;return le(j)+".Consumer";case o:var Z=T;return le(Z._context)+".Provider";case u:return G(T,T.render,"ForwardRef");case d:var se=T.displayName||null;return se!==null?se:re(T.type)||"Memo";case p:{var ke=T,Ee=ke._payload,ye=ke._init;try{return re(ye(Ee))}catch{return null}}}return null}var Q=Object.assign,he=0,de,xe,Ve,S,ze,Se,E;function He(){}He.__reactDisabledLog=!0;function Ge(){{if(he===0){de=console.log,xe=console.info,Ve=console.warn,S=console.error,ze=console.group,Se=console.groupCollapsed,E=console.groupEnd;var T={configurable:!0,enumerable:!0,value:He,writable:!0};Object.defineProperties(console,{info:T,log:T,warn:T,error:T,group:T,groupCollapsed:T,groupEnd:T})}he++}}function Ne(){{if(he--,he===0){var T={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},T,{value:de}),info:Q({},T,{value:xe}),warn:Q({},T,{value:Ve}),error:Q({},T,{value:S}),group:Q({},T,{value:ze}),groupCollapsed:Q({},T,{value:Se}),groupEnd:Q({},T,{value:E})})}he<0&&z("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var We=A.ReactCurrentDispatcher,Le;function Ye(T,j,Z){{if(Le===void 0)try{throw Error()}catch(ke){var se=ke.stack.trim().match(/\n( *(at )?)/);Le=se&&se[1]||""}return`
18
- `+Le+T}}var $e=!1,ut;{var lr=typeof WeakMap=="function"?WeakMap:Map;ut=new lr}function je(T,j){if(!T||$e)return"";{var Z=ut.get(T);if(Z!==void 0)return Z}var se;$e=!0;var ke=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ee;Ee=We.current,We.current=null,Ge();try{if(j){var ye=function(){throw Error()};if(Object.defineProperty(ye.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ye,[])}catch(ht){se=ht}Reflect.construct(T,[],ye)}else{try{ye.call()}catch(ht){se=ht}T.call(ye.prototype)}}else{try{throw Error()}catch(ht){se=ht}T()}}catch(ht){if(ht&&se&&typeof ht.stack=="string"){for(var ge=ht.stack.split(`
17
+ */return e.NODE_ENV!=="production"&&function(){var t=J,r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),b=Symbol.iterator,C="@@iterator";function w(T){if(T===null||typeof T!="object")return null;var j=b&&T[b]||T[C];return typeof j=="function"?j:null}var A=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function z(T){{for(var j=arguments.length,Z=new Array(j>1?j-1:0),se=1;se<j;se++)Z[se-1]=arguments[se];D("error",T,Z)}}function D(T,j,Z){{var se=A.ReactDebugCurrentFrame,we=se.getStackAddendum();we!==""&&(j+="%s",Z=Z.concat([we]));var Ae=Z.map(function(ye){return String(ye)});Ae.unshift("Warning: "+j),Function.prototype.apply.call(console[T],console,Ae)}}var L=!1,I=!1,P=!1,X=!1,H=!1,N;N=Symbol.for("react.module.reference");function V(T){return!!(typeof T=="string"||typeof T=="function"||T===i||T===l||H||T===a||T===f||T===h||X||T===v||L||I||P||typeof T=="object"&&T!==null&&(T.$$typeof===p||T.$$typeof===d||T.$$typeof===o||T.$$typeof===s||T.$$typeof===u||T.$$typeof===N||T.getModuleId!==void 0))}function G(T,j,Z){var se=T.displayName;if(se)return se;var we=j.displayName||j.name||"";return we!==""?Z+"("+we+")":Z}function le(T){return T.displayName||"Context"}function re(T){if(T==null)return null;if(typeof T.tag=="number"&&z("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof T=="function")return T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case i:return"Fragment";case n:return"Portal";case l:return"Profiler";case a:return"StrictMode";case f:return"Suspense";case h:return"SuspenseList"}if(typeof T=="object")switch(T.$$typeof){case s:var j=T;return le(j)+".Consumer";case o:var Z=T;return le(Z._context)+".Provider";case u:return G(T,T.render,"ForwardRef");case d:var se=T.displayName||null;return se!==null?se:re(T.type)||"Memo";case p:{var we=T,Ae=we._payload,ye=we._init;try{return re(ye(Ae))}catch{return null}}}return null}var Q=Object.assign,he=0,de,Ie,Ve,S,Me,ke,E;function He(){}He.__reactDisabledLog=!0;function Ge(){{if(he===0){de=console.log,Ie=console.info,Ve=console.warn,S=console.error,Me=console.group,ke=console.groupCollapsed,E=console.groupEnd;var T={configurable:!0,enumerable:!0,value:He,writable:!0};Object.defineProperties(console,{info:T,log:T,warn:T,error:T,group:T,groupCollapsed:T,groupEnd:T})}he++}}function Ne(){{if(he--,he===0){var T={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},T,{value:de}),info:Q({},T,{value:Ie}),warn:Q({},T,{value:Ve}),error:Q({},T,{value:S}),group:Q({},T,{value:Me}),groupCollapsed:Q({},T,{value:ke}),groupEnd:Q({},T,{value:E})})}he<0&&z("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var We=A.ReactCurrentDispatcher,Le;function Ye(T,j,Z){{if(Le===void 0)try{throw Error()}catch(we){var se=we.stack.trim().match(/\n( *(at )?)/);Le=se&&se[1]||""}return`
18
+ `+Le+T}}var $e=!1,ut;{var lr=typeof WeakMap=="function"?WeakMap:Map;ut=new lr}function je(T,j){if(!T||$e)return"";{var Z=ut.get(T);if(Z!==void 0)return Z}var se;$e=!0;var we=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ae;Ae=We.current,We.current=null,Ge();try{if(j){var ye=function(){throw Error()};if(Object.defineProperty(ye.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ye,[])}catch(ht){se=ht}Reflect.construct(T,[],ye)}else{try{ye.call()}catch(ht){se=ht}T.call(ye.prototype)}}else{try{throw Error()}catch(ht){se=ht}T()}}catch(ht){if(ht&&se&&typeof ht.stack=="string"){for(var ge=ht.stack.split(`
19
19
  `),it=se.stack.split(`
20
20
  `),Fe=ge.length-1,qe=it.length-1;Fe>=1&&qe>=0&&ge[Fe]!==it[qe];)qe--;for(;Fe>=1&&qe>=0;Fe--,qe--)if(ge[Fe]!==it[qe]){if(Fe!==1||qe!==1)do if(Fe--,qe--,qe<0||ge[Fe]!==it[qe]){var St=`
21
- `+ge[Fe].replace(" at new "," at ");return T.displayName&&St.includes("<anonymous>")&&(St=St.replace("<anonymous>",T.displayName)),typeof T=="function"&&ut.set(T,St),St}while(Fe>=1&&qe>=0);break}}}finally{$e=!1,We.current=Ee,Ne(),Error.prepareStackTrace=ke}var _r=T?T.displayName||T.name:"",kr=_r?Ye(_r):"";return typeof T=="function"&&ut.set(T,kr),kr}function Et(T,j,Z){return je(T,!1)}function Xt(T){var j=T.prototype;return!!(j&&j.isReactComponent)}function Ft(T,j,Z){if(T==null)return"";if(typeof T=="function")return je(T,Xt(T));if(typeof T=="string")return Ye(T);switch(T){case f:return Ye("Suspense");case h:return Ye("SuspenseList")}if(typeof T=="object")switch(T.$$typeof){case u:return Et(T.render);case d:return Ft(T.type,j,Z);case p:{var se=T,ke=se._payload,Ee=se._init;try{return Ft(Ee(ke),j,Z)}catch{}}}return""}var kt=Object.prototype.hasOwnProperty,$t={},Pt=A.ReactDebugCurrentFrame;function br(T){if(T){var j=T._owner,Z=Ft(T.type,T._source,j?j.type:null);Pt.setExtraStackFrame(Z)}else Pt.setExtraStackFrame(null)}function ta(T,j,Z,se,ke){{var Ee=Function.call.bind(kt);for(var ye in T)if(Ee(T,ye)){var ge=void 0;try{if(typeof T[ye]!="function"){var it=Error((se||"React class")+": "+Z+" type `"+ye+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof T[ye]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw it.name="Invariant Violation",it}ge=T[ye](j,ye,se,Z,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Fe){ge=Fe}ge&&!(ge instanceof Error)&&(br(ke),z("%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).",se||"React class",Z,ye,typeof ge),br(null)),ge instanceof Error&&!(ge.message in $t)&&($t[ge.message]=!0,br(ke),z("Failed %s type: %s",Z,ge.message),br(null))}}}var ra=Array.isArray;function cn(T){return ra(T)}function na(T){{var j=typeof Symbol=="function"&&Symbol.toStringTag,Z=j&&T[Symbol.toStringTag]||T.constructor.name||"Object";return Z}}function ia(T){try{return R(T),!1}catch{return!0}}function R(T){return""+T}function Y(T){if(ia(T))return z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",na(T)),R(T)}var oe=A.ReactCurrentOwner,pe={key:!0,ref:!0,__self:!0,__source:!0},we,ct;function Kt(T){if(kt.call(T,"ref")){var j=Object.getOwnPropertyDescriptor(T,"ref").get;if(j&&j.isReactWarning)return!1}return T.ref!==void 0}function Ct(T){if(kt.call(T,"key")){var j=Object.getOwnPropertyDescriptor(T,"key").get;if(j&&j.isReactWarning)return!1}return T.key!==void 0}function xr(T,j){typeof T.ref=="string"&&oe.current}function wr(T,j){{var Z=function(){we||(we=!0,z("%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)",j))};Z.isReactWarning=!0,Object.defineProperty(T,"key",{get:Z,configurable:!0})}}function nt(T,j){{var Z=function(){ct||(ct=!0,z("%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)",j))};Z.isReactWarning=!0,Object.defineProperty(T,"ref",{get:Z,configurable:!0})}}var or=function(T,j,Z,se,ke,Ee,ye){var ge={$$typeof:r,type:T,key:j,ref:Z,props:ye,_owner:Ee};return ge._store={},Object.defineProperty(ge._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ge,"_self",{configurable:!1,enumerable:!1,writable:!1,value:se}),Object.defineProperty(ge,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ke}),Object.freeze&&(Object.freeze(ge.props),Object.freeze(ge)),ge};function Mt(T,j,Z,se,ke){{var Ee,ye={},ge=null,it=null;Z!==void 0&&(Y(Z),ge=""+Z),Ct(j)&&(Y(j.key),ge=""+j.key),Kt(j)&&(it=j.ref,xr(j,ke));for(Ee in j)kt.call(j,Ee)&&!pe.hasOwnProperty(Ee)&&(ye[Ee]=j[Ee]);if(T&&T.defaultProps){var Fe=T.defaultProps;for(Ee in Fe)ye[Ee]===void 0&&(ye[Ee]=Fe[Ee])}if(ge||it){var qe=typeof T=="function"?T.displayName||T.name||"Unknown":T;ge&&wr(ye,qe),it&&nt(ye,qe)}return or(T,ge,it,ke,se,oe.current,ye)}}var aa=A.ReactCurrentOwner,Iu=A.ReactDebugCurrentFrame;function Pr(T){if(T){var j=T._owner,Z=Ft(T.type,T._source,j?j.type:null);Iu.setExtraStackFrame(Z)}else Iu.setExtraStackFrame(null)}var la;la=!1;function oa(T){return typeof T=="object"&&T!==null&&T.$$typeof===r}function Nu(){{if(aa.current){var T=re(aa.current.type);if(T)return`
21
+ `+ge[Fe].replace(" at new "," at ");return T.displayName&&St.includes("<anonymous>")&&(St=St.replace("<anonymous>",T.displayName)),typeof T=="function"&&ut.set(T,St),St}while(Fe>=1&&qe>=0);break}}}finally{$e=!1,We.current=Ae,Ne(),Error.prepareStackTrace=we}var _r=T?T.displayName||T.name:"",kr=_r?Ye(_r):"";return typeof T=="function"&&ut.set(T,kr),kr}function Et(T,j,Z){return je(T,!1)}function Xt(T){var j=T.prototype;return!!(j&&j.isReactComponent)}function Ft(T,j,Z){if(T==null)return"";if(typeof T=="function")return je(T,Xt(T));if(typeof T=="string")return Ye(T);switch(T){case f:return Ye("Suspense");case h:return Ye("SuspenseList")}if(typeof T=="object")switch(T.$$typeof){case u:return Et(T.render);case d:return Ft(T.type,j,Z);case p:{var se=T,we=se._payload,Ae=se._init;try{return Ft(Ae(we),j,Z)}catch{}}}return""}var kt=Object.prototype.hasOwnProperty,$t={},Pt=A.ReactDebugCurrentFrame;function br(T){if(T){var j=T._owner,Z=Ft(T.type,T._source,j?j.type:null);Pt.setExtraStackFrame(Z)}else Pt.setExtraStackFrame(null)}function ta(T,j,Z,se,we){{var Ae=Function.call.bind(kt);for(var ye in T)if(Ae(T,ye)){var ge=void 0;try{if(typeof T[ye]!="function"){var it=Error((se||"React class")+": "+Z+" type `"+ye+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof T[ye]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw it.name="Invariant Violation",it}ge=T[ye](j,ye,se,Z,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Fe){ge=Fe}ge&&!(ge instanceof Error)&&(br(we),z("%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).",se||"React class",Z,ye,typeof ge),br(null)),ge instanceof Error&&!(ge.message in $t)&&($t[ge.message]=!0,br(we),z("Failed %s type: %s",Z,ge.message),br(null))}}}var ra=Array.isArray;function cn(T){return ra(T)}function na(T){{var j=typeof Symbol=="function"&&Symbol.toStringTag,Z=j&&T[Symbol.toStringTag]||T.constructor.name||"Object";return Z}}function ia(T){try{return R(T),!1}catch{return!0}}function R(T){return""+T}function Y(T){if(ia(T))return z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",na(T)),R(T)}var oe=A.ReactCurrentOwner,pe={key:!0,ref:!0,__self:!0,__source:!0},xe,ct;function Kt(T){if(kt.call(T,"ref")){var j=Object.getOwnPropertyDescriptor(T,"ref").get;if(j&&j.isReactWarning)return!1}return T.ref!==void 0}function Ct(T){if(kt.call(T,"key")){var j=Object.getOwnPropertyDescriptor(T,"key").get;if(j&&j.isReactWarning)return!1}return T.key!==void 0}function xr(T,j){typeof T.ref=="string"&&oe.current}function wr(T,j){{var Z=function(){xe||(xe=!0,z("%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)",j))};Z.isReactWarning=!0,Object.defineProperty(T,"key",{get:Z,configurable:!0})}}function nt(T,j){{var Z=function(){ct||(ct=!0,z("%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)",j))};Z.isReactWarning=!0,Object.defineProperty(T,"ref",{get:Z,configurable:!0})}}var or=function(T,j,Z,se,we,Ae,ye){var ge={$$typeof:r,type:T,key:j,ref:Z,props:ye,_owner:Ae};return ge._store={},Object.defineProperty(ge._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ge,"_self",{configurable:!1,enumerable:!1,writable:!1,value:se}),Object.defineProperty(ge,"_source",{configurable:!1,enumerable:!1,writable:!1,value:we}),Object.freeze&&(Object.freeze(ge.props),Object.freeze(ge)),ge};function Mt(T,j,Z,se,we){{var Ae,ye={},ge=null,it=null;Z!==void 0&&(Y(Z),ge=""+Z),Ct(j)&&(Y(j.key),ge=""+j.key),Kt(j)&&(it=j.ref,xr(j,we));for(Ae in j)kt.call(j,Ae)&&!pe.hasOwnProperty(Ae)&&(ye[Ae]=j[Ae]);if(T&&T.defaultProps){var Fe=T.defaultProps;for(Ae in Fe)ye[Ae]===void 0&&(ye[Ae]=Fe[Ae])}if(ge||it){var qe=typeof T=="function"?T.displayName||T.name||"Unknown":T;ge&&wr(ye,qe),it&&nt(ye,qe)}return or(T,ge,it,we,se,oe.current,ye)}}var aa=A.ReactCurrentOwner,Iu=A.ReactDebugCurrentFrame;function Pr(T){if(T){var j=T._owner,Z=Ft(T.type,T._source,j?j.type:null);Iu.setExtraStackFrame(Z)}else Iu.setExtraStackFrame(null)}var la;la=!1;function oa(T){return typeof T=="object"&&T!==null&&T.$$typeof===r}function Nu(){{if(aa.current){var T=re(aa.current.type);if(T)return`
22
22
 
23
23
  Check the render method of \``+T+"`."}return""}}function r3(T){return""}var Ou={};function n3(T){{var j=Nu();if(!j){var Z=typeof T=="string"?T:T.displayName||T.name;Z&&(j=`
24
24
 
25
- Check the top-level render call using <`+Z+">.")}return j}}function Ru(T,j){{if(!T._store||T._store.validated||T.key!=null)return;T._store.validated=!0;var Z=n3(j);if(Ou[Z])return;Ou[Z]=!0;var se="";T&&T._owner&&T._owner!==aa.current&&(se=" It was passed a child from "+re(T._owner.type)+"."),Pr(T),z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Z,se),Pr(null)}}function Du(T,j){{if(typeof T!="object")return;if(cn(T))for(var Z=0;Z<T.length;Z++){var se=T[Z];oa(se)&&Ru(se,j)}else if(oa(T))T._store&&(T._store.validated=!0);else if(T){var ke=w(T);if(typeof ke=="function"&&ke!==T.entries)for(var Ee=ke.call(T),ye;!(ye=Ee.next()).done;)oa(ye.value)&&Ru(ye.value,j)}}}function i3(T){{var j=T.type;if(j==null||typeof j=="string")return;var Z;if(typeof j=="function")Z=j.propTypes;else if(typeof j=="object"&&(j.$$typeof===u||j.$$typeof===d))Z=j.propTypes;else return;if(Z){var se=re(j);ta(Z,T.props,"prop",se,T)}else if(j.PropTypes!==void 0&&!la){la=!0;var ke=re(j);z("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ke||"Unknown")}typeof j.getDefaultProps=="function"&&!j.getDefaultProps.isReactClassApproved&&z("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function a3(T){{for(var j=Object.keys(T.props),Z=0;Z<j.length;Z++){var se=j[Z];if(se!=="children"&&se!=="key"){Pr(T),z("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",se),Pr(null);break}}T.ref!==null&&(Pr(T),z("Invalid attribute `ref` supplied to `React.Fragment`."),Pr(null))}}var Lu={};function Bu(T,j,Z,se,ke,Ee){{var ye=V(T);if(!ye){var ge="";(T===void 0||typeof T=="object"&&T!==null&&Object.keys(T).length===0)&&(ge+=" 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 it=r3();it?ge+=it:ge+=Nu();var Fe;T===null?Fe="null":cn(T)?Fe="array":T!==void 0&&T.$$typeof===r?(Fe="<"+(re(T.type)||"Unknown")+" />",ge=" Did you accidentally export a JSX literal instead of a component?"):Fe=typeof T,z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Fe,ge)}var qe=Mt(T,j,Z,ke,Ee);if(qe==null)return qe;if(ye){var St=j.children;if(St!==void 0)if(se)if(cn(St)){for(var _r=0;_r<St.length;_r++)Du(St[_r],T);Object.freeze&&Object.freeze(St)}else z("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 Du(St,T)}if(kt.call(j,"key")){var kr=re(T),ht=Object.keys(j).filter(function(h3){return h3!=="key"}),sa=ht.length>0?"{key: someKey, "+ht.join(": ..., ")+": ...}":"{key: someKey}";if(!Lu[kr+sa]){var c3=ht.length>0?"{"+ht.join(": ..., ")+": ...}":"{}";z(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+Z+">.")}return j}}function Ru(T,j){{if(!T._store||T._store.validated||T.key!=null)return;T._store.validated=!0;var Z=n3(j);if(Ou[Z])return;Ou[Z]=!0;var se="";T&&T._owner&&T._owner!==aa.current&&(se=" It was passed a child from "+re(T._owner.type)+"."),Pr(T),z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Z,se),Pr(null)}}function Du(T,j){{if(typeof T!="object")return;if(cn(T))for(var Z=0;Z<T.length;Z++){var se=T[Z];oa(se)&&Ru(se,j)}else if(oa(T))T._store&&(T._store.validated=!0);else if(T){var we=w(T);if(typeof we=="function"&&we!==T.entries)for(var Ae=we.call(T),ye;!(ye=Ae.next()).done;)oa(ye.value)&&Ru(ye.value,j)}}}function i3(T){{var j=T.type;if(j==null||typeof j=="string")return;var Z;if(typeof j=="function")Z=j.propTypes;else if(typeof j=="object"&&(j.$$typeof===u||j.$$typeof===d))Z=j.propTypes;else return;if(Z){var se=re(j);ta(Z,T.props,"prop",se,T)}else if(j.PropTypes!==void 0&&!la){la=!0;var we=re(j);z("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",we||"Unknown")}typeof j.getDefaultProps=="function"&&!j.getDefaultProps.isReactClassApproved&&z("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function a3(T){{for(var j=Object.keys(T.props),Z=0;Z<j.length;Z++){var se=j[Z];if(se!=="children"&&se!=="key"){Pr(T),z("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",se),Pr(null);break}}T.ref!==null&&(Pr(T),z("Invalid attribute `ref` supplied to `React.Fragment`."),Pr(null))}}var Lu={};function Bu(T,j,Z,se,we,Ae){{var ye=V(T);if(!ye){var ge="";(T===void 0||typeof T=="object"&&T!==null&&Object.keys(T).length===0)&&(ge+=" 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 it=r3();it?ge+=it:ge+=Nu();var Fe;T===null?Fe="null":cn(T)?Fe="array":T!==void 0&&T.$$typeof===r?(Fe="<"+(re(T.type)||"Unknown")+" />",ge=" Did you accidentally export a JSX literal instead of a component?"):Fe=typeof T,z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Fe,ge)}var qe=Mt(T,j,Z,we,Ae);if(qe==null)return qe;if(ye){var St=j.children;if(St!==void 0)if(se)if(cn(St)){for(var _r=0;_r<St.length;_r++)Du(St[_r],T);Object.freeze&&Object.freeze(St)}else z("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 Du(St,T)}if(kt.call(j,"key")){var kr=re(T),ht=Object.keys(j).filter(function(h3){return h3!=="key"}),sa=ht.length>0?"{key: someKey, "+ht.join(": ..., ")+": ...}":"{key: someKey}";if(!Lu[kr+sa]){var c3=ht.length>0?"{"+ht.join(": ..., ")+": ...}":"{}";z(`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:
@@ -106,10 +106,8 @@ React keys must be passed directly to JSX without using spread:
106
106
  * LICENSE file in the root directory of this source tree.
107
107
  */return e.NODE_ENV!=="production"&&function(){function t(f,h){return f===h&&(f!==0||1/f===1/h)||f!==f&&h!==h}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=J,n=va(),i=typeof Object.is=="function"?Object.is:t,a=n.useSyncExternalStore,l=r.useRef,o=r.useEffect,s=r.useMemo,u=r.useDebugValue;ci.useSyncExternalStoreWithSelector=function(f,h,d,p,v){var b=l(null);if(b.current===null){var C={hasValue:!1,value:null};b.current=C}else C=b.current;b=s(function(){function A(P){if(!z){if(z=!0,D=P,P=p(P),v!==void 0&&C.hasValue){var X=C.value;if(v(X,P))return L=X}return L=P}if(X=L,i(D,P))return X;var H=p(P);return v!==void 0&&v(X,H)?(D=P,X):(D=P,L=H)}var z=!1,D,L,I=d===void 0?null:d;return[function(){return A(h())},I===null?void 0:function(){return A(I())}]},[h,d,p,v]);var w=a(f,b[0],b[1]);return o(function(){C.hasValue=!0,C.value=w},[w]),u(w),w},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),ci}var nc={};nc.NODE_ENV==="production"?li.exports=tc():li.exports=rc();var ic=li.exports;const ac=ii(ic),xa={},{useDebugValue:lc}=J,{useSyncExternalStoreWithSelector:oc}=ac;let wa=!1;const sc=e=>e;function uc(e,t=sc,r){(xa?"production":void 0)!=="production"&&r&&!wa&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),wa=!0);const n=oc(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,r);return lc(n),n}const ka=e=>{(xa?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?Zu(e):e,r=(n,i)=>uc(t,n,i);return Object.assign(r,t),r},cc=e=>e?ka(e):ka;let hi=null,Sa=null,Ta=null;const Sr=(e,t=null,r=null)=>{if(!e||typeof e!="string")throw new Error("API URL must be a valid string");if(t!==null&&typeof t!="string")throw new Error("API key must be a valid string or null");if(r!==null&&typeof r!="string")throw new Error("Session ID must be a valid string or null");hi=e,Sa=t,Ta=r},hc=()=>{if(!hi)throw new Error("API URL not configured. Please call configureApi() with your server URL before using any API functions.");return hi},fc=()=>Sa,mc=()=>Ta,pc=(e,t={})=>{e.startsWith("https:");const r={Connection:"keep-alive","X-Request-ID":Date.now().toString(36)+Math.random().toString(36).substring(2)},n=fc();n&&(r["X-API-Key"]=n);const i=mc();return i&&(r["X-Session-ID"]=i),{...t,headers:{...t.headers,...r}}},dc=(e,t=!0)=>({jsonrpc:"2.0",method:"tools/call",params:{name:"chat",arguments:{messages:[{role:"user",content:e}],stream:t}},id:Date.now().toString(36)+Math.random().toString(36).substring(2)});async function*gc(e,t=!0){var r,n,i,a,l,o,s,u,f;try{const h=hc(),d=new AbortController,p=setTimeout(()=>d.abort(),6e4),v=await fetch(`${h}/v1/chat`,{...pc(h,{method:"POST",headers:{"Content-Type":"application/json",Accept:t?"text/event-stream":"application/json"},body:JSON.stringify(dc(e,t))}),signal:d.signal});if(clearTimeout(p),!v.ok){const z=await v.text();throw new Error(`Network response was not ok: ${v.status} ${z}`)}if(!t){const z=await v.json();if(z.error)throw new Error(`MCP Error: ${z.error.message}`);(a=(i=(n=(r=z.result)==null?void 0:r.output)==null?void 0:n.messages)==null?void 0:i[0])!=null&&a.content&&(yield{text:z.result.output.messages[0].content,done:!0});return}const b=(l=v.body)==null?void 0:l.getReader();if(!b)throw new Error("No reader available");const C=new TextDecoder;let w="",A="";try{for(;;){const{done:z,value:D}=await b.read();if(z)break;const L=C.decode(D,{stream:!0});w+=L;const I=w.split(`
108
108
  `);w=I.pop()||"";for(const P of I)if(P.trim()&&P.startsWith("data: "))try{const X=P.slice(6).trim();if(X==="[DONE]"){yield{text:"",done:!0};break}const H=JSON.parse(X);if(H.result){let N="";if(H.result.type==="start")continue;if(H.result.type==="chunk"&&H.result.chunk?N=H.result.chunk.content:H.result.type==="complete"&&(s=(o=H.result.output)==null?void 0:o.messages)!=null&&s[0]&&(N=H.result.output.messages[0].content),N){const V=Aa(N,A);V?(A+=V,yield{text:V,done:H.result.type==="complete"}):H.result.type==="complete"&&(yield{text:"",done:!0})}}}catch(X){console.warn("Error parsing JSON chunk:",P,"Error:",X)}}}finally{b.releaseLock()}if(w&&w.startsWith("data: "))try{const z=w.slice(6).trim();if(z!=="[DONE]"){const D=JSON.parse(z);if((f=(u=D.result)==null?void 0:u.chunk)!=null&&f.content){const L=Aa(D.result.chunk.content,A);L&&(yield{text:L,done:D.result.type==="complete"})}}}catch(z){console.warn("Error parsing final JSON buffer:",w,"Error:",z)}}catch(h){h.name==="AbortError"?yield{text:"Connection timed out. Please check if the server is running.",done:!0}:h.name==="TypeError"&&h.message.includes("Failed to fetch")?yield{text:"Could not connect to the server. Please check if the server is running.",done:!0}:yield{text:`Error: ${h.message}`,done:!0}}}function Aa(e,t){if(!t)return e;if(t.endsWith(e))return"";if(e.length>t.length){if(e.startsWith(t))return e.slice(t.length);let r=0;const n=Math.min(t.length,e.length);for(;r<n&&t[r]===e[r];)r++;if(r>t.length/2)return e.slice(r)}return e}function vc(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}const fi="orbit_session_id";function Tr(){if(typeof window<"u"&&window.CHATBOT_SESSION_ID)return window.CHATBOT_SESSION_ID;let e=sessionStorage.getItem(fi);return e||(e=vc(),sessionStorage.setItem(fi,e)),typeof window<"u"&&(window.CHATBOT_SESSION_ID=e),e}function mi(e){typeof window>"u"||(sessionStorage.setItem(fi,e),window.CHATBOT_SESSION_ID=e)}let ve={MAX_MESSAGE_LENGTH:250,MAX_SUGGESTED_QUESTION_LENGTH:120,MAX_SUGGESTED_QUESTION_QUERY_LENGTH:200,WINDOW_DIMENSIONS:{HEIGHT:"600px",MAX_HEIGHT:"calc(100vh - 80px)",BREAKPOINTS:{SM:640,MD:768,LG:1024},WIDTHS:{SM:"480px",MD:"600px",LG:"700px"}},SCROLL_THRESHOLDS:{BOTTOM_THRESHOLD:10,TOP_THRESHOLD:10,SHOW_SCROLL_TOP_OFFSET:200},ANIMATIONS:{SCROLL_TIMEOUT:300,TOGGLE_DELAY:100,ANIMATION_SCROLL_INTERVAL:100,COPY_FEEDBACK_DURATION:2e3,VISIBILITY_SKIP_THRESHOLD:1e3},BUTTON_SIZES:{CHAT_BUTTON:{width:"68px",height:"68px"},SEND_BUTTON:{width:"52px",height:"52px"},ICON_SIZES:{HEADER:28,WELCOME:56,BUTTON:20,SEND:24,MINIMIZE:28}}};const yc=`
109
- @import url('https://fonts.googleapis.com/css2?family=Mona+Sans:ital,wght@0,200..900;1,200..900&display=swap');
110
-
111
109
  body, button, input, textarea {
112
- font-family: 'Mona Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
110
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
113
111
  }
114
112
 
115
113
  /* Complete focus ring removal - covers all browsers and scenarios */
@@ -403,10 +401,10 @@ React keys must be passed directly to JSX without using spread:
403
401
  .input-modern:focus {
404
402
  transform: translateY(-1px);
405
403
  }
406
- `,bc=e=>{const{BREAKPOINTS:t,WIDTHS:r}=ve.WINDOW_DIMENSIONS;return e<t.SM?"100%":e<t.MD?r.SM:e<t.LG?r.MD:r.LG},xc=e=>e<ve.WINDOW_DIMENSIONS.BREAKPOINTS.SM?"100%":ve.WINDOW_DIMENSIONS.WIDTHS.SM,wc='Mona Sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',kc=(e,t)=>({color:e>=t*.9?"#ef4444":"#6b7280",backgroundColor:e>=t*.9?"rgba(239, 68, 68, 0.1)":"rgba(107, 114, 128, 0.1)",fontSize:"0.7rem"});function Sc(e){Object.assign(ve,e)}let Ea=!1;function Tc(){if(Ea)return!0;try{if(typeof window<"u"){let e,t,r;if(window.CHATBOT_API_URL&&window.CHATBOT_API_KEY)e=window.CHATBOT_API_URL,t=window.CHATBOT_API_KEY;else if(ei&&ti)try{e=ei(),t=ti()}catch{}return!e||!t?(console.warn("API URL or API Key not configured"),!1):(window.CHATBOT_SESSION_ID?(r=window.CHATBOT_SESSION_ID,mi(r)):r=Tr(),Sr(e,t,r),Ea=!0,!0)}}catch(e){console.error("Failed to configure API:",e)}return!1}const pi=cc((e,t)=>({messages:[],isLoading:!1,error:null,sessionId:Tr(),getSessionId:()=>t().sessionId,sendMessage:async r=>{try{const n=ve.MAX_SUGGESTED_QUESTION_QUERY_LENGTH;let i=r;if(r.length>n&&(i=r.substring(0,n)),!Tc())throw new Error("API not properly configured");e(l=>({messages:[...l.messages,{role:"user",content:i}],isLoading:!0,error:null})),e(l=>({messages:[...l.messages,{role:"assistant",content:""}]}));let a=!1;try{for await(const l of gc(i))l.text&&(t().appendToLastMessage(l.text),a=!0);a||t().appendToLastMessage("No response received from the server. Please try again later.")}catch(l){console.error("Chat API error:",l),t().appendToLastMessage("Sorry, there was an error processing your request.")}e({isLoading:!1})}catch(n){console.error("Chat store error:",n),e(i=>({isLoading:!1,error:`Failed to send message: ${n instanceof Error?n.message:"Unknown error"}`}))}},appendToLastMessage:r=>{e(n=>{const i=[...n.messages],a=i[i.length-1];return a&&a.role==="assistant"&&(i[i.length-1]={...a,content:a.content+r}),{messages:i}})},clearMessages:()=>{e({messages:[]})}})),Ca={primary:"#EC994B",secondary:"#1E3A8A",background:"#FFFFFF",text:{primary:"#1F2937",secondary:"#6B7280",inverse:"#FFFFFF"},input:{background:"#FFFFFF",border:"#D1D5DB"},message:{user:"#1E3A8A",userText:"#FFFFFF",assistant:"#FFFFFF"},suggestedQuestions:{background:"#F3F4F6",text:"#1F2937",hoverBackground:"#E5E7EB"},chatButton:{background:"#ffffff",hoverBackground:"#f8fafc"}},ur=()=>({header:{title:"AI Assistant"},theme:Ca,welcome:{title:"Hello! How can I help you today?",description:"I'm your AI assistant, ready to help with any questions you might have."},suggestedQuestions:[{text:"What can you help me with?",query:"What can you help me with?"},{text:"Tell me about your features",query:"Tell me about your features"},{text:"How do I get started?",query:"How do I get started?"}]}),Ac=e=>ni.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-messages-square-icon lucide-messages-square",...e},ni.createElement("path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z"}),ni.createElement("path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1"})),Ec=e=>{const[t,r]=J.useState(!1),[n,i]=J.useState(!1),[a,l]=J.useState(!1),o=J.useRef(null),s=J.useRef(null),u=J.useRef(!0),f=J.useRef(),h=J.useCallback((v=!1)=>{if(o.current){const{scrollHeight:b}=o.current;o.current.scrollTo({top:b,behavior:v?"auto":"smooth"}),setTimeout(()=>{d()},v?0:ve.ANIMATIONS.SCROLL_TIMEOUT)}},[]),d=J.useCallback(()=>{if(o.current&&!e){const{scrollTop:v,scrollHeight:b,clientHeight:C}=o.current,w=Math.abs(b-v-C)<ve.SCROLL_THRESHOLDS.BOTTOM_THRESHOLD,A=v<ve.SCROLL_THRESHOLDS.TOP_THRESHOLD;r(!A&&v>ve.SCROLL_THRESHOLDS.SHOW_SCROLL_TOP_OFFSET),i(!w)}},[e]),p=J.useCallback(()=>{o.current&&(l(!0),o.current.scrollTo({top:0,behavior:"smooth"}),setTimeout(()=>{l(!1),d()},ve.ANIMATIONS.SCROLL_TIMEOUT))},[d]);return{showScrollTop:t,showScrollBottom:n,isScrolling:a,messagesContainerRef:o,messagesEndRef:s,shouldScrollRef:u,scrollTimeoutRef:f,scrollToBottom:h,scrollToTop:p,handleScroll:d}},Cc=()=>{const[e,t]=J.useState(!1),r=J.useRef(new Set),n=J.useRef(new Map),i=J.useRef(!1),a=J.useRef(null),l=J.useCallback((u,f,h)=>{r.current.add(u),u===f-1&&(t(!1),setTimeout(()=>h(),50))},[]),o=J.useCallback(u=>r.current.has(u),[]),s=J.useCallback(()=>{r.current.clear(),n.current.clear(),t(!1)},[]);return{isAnimating:e,animatedMessagesRef:r,typingProgressRef:n,isTypingRef:i,lastMessageRef:a,markMessageAnimated:l,hasBeenAnimated:o,clearAnimationTrackers:s,setIsAnimating:t}},Mc=({onSendMessage:e,isLoading:t,isOpen:r})=>{const[n,i]=J.useState(""),[a,l]=J.useState(!1),o=J.useRef(null),s=J.useCallback(p=>{const v=p.target.value;v.length<=ve.MAX_MESSAGE_LENGTH&&i(v)},[]),u=J.useCallback(()=>{n.trim()&&!t&&(e(n.trim()),i(""))},[n,t,e]),f=J.useCallback(p=>{p.key==="Enter"&&!p.shiftKey&&(p.preventDefault(),u())},[u]),h=J.useCallback(()=>{i("")},[]),d=J.useCallback(()=>{o.current&&o.current.focus()},[]);return J.useEffect(()=>{r&&o.current&&o.current.focus()},[r]),{message:n,isFocused:a,inputRef:o,handleMessageChange:s,handleKeyDown:f,handleSendMessage:u,setIsFocused:l,clearMessage:h,focusInput:d}};function Ma(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=Ma(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function cr(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=Ma(e))&&(n&&(n+=" "),n+=t);return n}function p3(){}function d3(){}function za(e){const t=[],r=String(e||"");let n=r.indexOf(","),i=0,a=!1;for(;!a;){n===-1&&(n=r.length,a=!0);const l=r.slice(i,n).trim();(l||!a)&&t.push(l),i=n+1,n=r.indexOf(",",i)}return t}function zc(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const Ic=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Nc=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Oc={};function Ia(e,t){return(Oc.jsx?Nc:Ic).test(e)}const Rc=/[ \t\n\f\r]/g;function Dc(e){return typeof e=="object"?e.type==="text"?Na(e.value):!1:Na(e)}function Na(e){return e.replace(Rc,"")===""}class Vr{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}Vr.prototype.normal={},Vr.prototype.property={},Vr.prototype.space=void 0;function Oa(e,t){const r={},n={};for(const i of e)Object.assign(r,i.property),Object.assign(n,i.normal);return new Vr(r,n,t)}function Gr(e){return e.toLowerCase()}class at{constructor(t,r){this.attribute=r,this.property=t}}at.prototype.attribute="",at.prototype.booleanish=!1,at.prototype.boolean=!1,at.prototype.commaOrSpaceSeparated=!1,at.prototype.commaSeparated=!1,at.prototype.defined=!1,at.prototype.mustUseProperty=!1,at.prototype.number=!1,at.prototype.overloadedBoolean=!1,at.prototype.property="",at.prototype.spaceSeparated=!1,at.prototype.space=void 0;let Lc=0;const ue=hr(),Pe=hr(),di=hr(),U=hr(),Ce=hr(),Ar=hr(),ft=hr();function hr(){return 2**++Lc}const gi=Object.freeze(Object.defineProperty({__proto__:null,boolean:ue,booleanish:Pe,commaOrSpaceSeparated:ft,commaSeparated:Ar,number:U,overloadedBoolean:di,spaceSeparated:Ce},Symbol.toStringTag,{value:"Module"})),vi=Object.keys(gi);class yi extends at{constructor(t,r,n,i){let a=-1;if(super(t,r),Ra(this,"space",i),typeof n=="number")for(;++a<vi.length;){const l=vi[a];Ra(this,vi[a],(n&gi[l])===gi[l])}}}yi.prototype.defined=!0;function Ra(e,t,r){r&&(e[t]=r)}function Er(e){const t={},r={};for(const[n,i]of Object.entries(e.properties)){const a=new yi(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[Gr(n)]=n,r[Gr(a.attribute)]=n}return new Vr(t,r,e.space)}const Da=Er({properties:{ariaActiveDescendant:null,ariaAtomic:Pe,ariaAutoComplete:null,ariaBusy:Pe,ariaChecked:Pe,ariaColCount:U,ariaColIndex:U,ariaColSpan:U,ariaControls:Ce,ariaCurrent:null,ariaDescribedBy:Ce,ariaDetails:null,ariaDisabled:Pe,ariaDropEffect:Ce,ariaErrorMessage:null,ariaExpanded:Pe,ariaFlowTo:Ce,ariaGrabbed:Pe,ariaHasPopup:null,ariaHidden:Pe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ce,ariaLevel:U,ariaLive:null,ariaModal:Pe,ariaMultiLine:Pe,ariaMultiSelectable:Pe,ariaOrientation:null,ariaOwns:Ce,ariaPlaceholder:null,ariaPosInSet:U,ariaPressed:Pe,ariaReadOnly:Pe,ariaRelevant:null,ariaRequired:Pe,ariaRoleDescription:Ce,ariaRowCount:U,ariaRowIndex:U,ariaRowSpan:U,ariaSelected:Pe,ariaSetSize:U,ariaSort:null,ariaValueMax:U,ariaValueMin:U,ariaValueNow:U,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function La(e,t){return t in e?e[t]:t}function Ba(e,t){return La(e,t.toLowerCase())}const Bc=Er({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ar,acceptCharset:Ce,accessKey:Ce,action:null,allow:null,allowFullScreen:ue,allowPaymentRequest:ue,allowUserMedia:ue,alt:null,as:null,async:ue,autoCapitalize:null,autoComplete:Ce,autoFocus:ue,autoPlay:ue,blocking:Ce,capture:null,charSet:null,checked:ue,cite:null,className:Ce,cols:U,colSpan:null,content:null,contentEditable:Pe,controls:ue,controlsList:Ce,coords:U|Ar,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ue,defer:ue,dir:null,dirName:null,disabled:ue,download:di,draggable:Pe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ue,formTarget:null,headers:Ce,height:U,hidden:di,high:U,href:null,hrefLang:null,htmlFor:Ce,httpEquiv:Ce,id:null,imageSizes:null,imageSrcSet:null,inert:ue,inputMode:null,integrity:null,is:null,isMap:ue,itemId:null,itemProp:Ce,itemRef:Ce,itemScope:ue,itemType:Ce,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ue,low:U,manifest:null,max:null,maxLength:U,media:null,method:null,min:null,minLength:U,multiple:ue,muted:ue,name:null,nonce:null,noModule:ue,noValidate:ue,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:ue,optimum:U,pattern:null,ping:Ce,placeholder:null,playsInline:ue,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ue,referrerPolicy:null,rel:Ce,required:ue,reversed:ue,rows:U,rowSpan:U,sandbox:Ce,scope:null,scoped:ue,seamless:ue,selected:ue,shadowRootClonable:ue,shadowRootDelegatesFocus:ue,shadowRootMode:null,shape:null,size:U,sizes:null,slot:null,span:U,spellCheck:Pe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:U,step:null,style:null,tabIndex:U,target:null,title:null,translate:null,type:null,typeMustMatch:ue,useMap:null,value:Pe,width:U,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ce,axis:null,background:null,bgColor:null,border:U,borderColor:null,bottomMargin:U,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ue,declare:ue,event:null,face:null,frame:null,frameBorder:null,hSpace:U,leftMargin:U,link:null,longDesc:null,lowSrc:null,marginHeight:U,marginWidth:U,noResize:ue,noHref:ue,noShade:ue,noWrap:ue,object:null,profile:null,prompt:null,rev:null,rightMargin:U,rules:null,scheme:null,scrolling:Pe,standby:null,summary:null,text:null,topMargin:U,valueType:null,version:null,vAlign:null,vLink:null,vSpace:U,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ue,disableRemotePlayback:ue,prefix:null,property:null,results:U,security:null,unselectable:null},space:"html",transform:Ba}),Fc=Er({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"},properties:{about:ft,accentHeight:U,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:U,amplitude:U,arabicForm:null,ascent:U,attributeName:null,attributeType:null,azimuth:U,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:U,by:null,calcMode:null,capHeight:U,className:Ce,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:U,diffuseConstant:U,direction:null,display:null,dur:null,divisor:U,dominantBaseline:null,download:ue,dx:null,dy:null,edgeMode:null,editable:null,elevation:U,enableBackground:null,end:null,event:null,exponent:U,externalResourcesRequired:null,fill:null,fillOpacity:U,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ar,g2:Ar,glyphName:Ar,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:U,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:U,horizOriginX:U,horizOriginY:U,id:null,ideographic:U,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:U,k:U,k1:U,k2:U,k3:U,k4:U,kernelMatrix:ft,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:U,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:U,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:U,overlineThickness:U,paintOrder:null,panose1:null,path:null,pathLength:U,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ce,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:U,pointsAtY:U,pointsAtZ:U,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:U,specularExponent:U,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:U,strikethroughThickness:U,string:null,stroke:null,strokeDashArray:ft,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:U,strokeOpacity:U,strokeWidth:null,style:null,surfaceScale:U,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ft,tabIndex:U,tableValues:null,target:null,targetX:U,targetY:U,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ft,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:U,underlineThickness:U,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:U,values:null,vAlphabetic:U,vMathematical:U,vectorEffect:null,vHanging:U,vIdeographic:U,version:null,vertAdvY:U,vertOriginX:U,vertOriginY:U,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:U,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:La}),Fa=Er({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Pa=Er({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ba}),_a=Er({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Pc={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"},_c=/[A-Z]/g,Ha=/-[a-z]/g,Hc=/^data[-\w.:]+$/i;function ja(e,t){const r=Gr(t);let n=t,i=at;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Hc.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Ha,qc);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Ha.test(a)){let l=a.replace(_c,jc);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=yi}return new i(n,t)}function jc(e){return"-"+e.toLowerCase()}function qc(e){return e.charAt(1).toUpperCase()}const qa=Oa([Da,Bc,Fa,Pa,_a],"html"),pn=Oa([Da,Fc,Fa,Pa,_a],"svg");function Ua(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Uc(e){return e.join(" ").trim()}var bi={},Va=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Vc=/\n/g,Gc=/^\s*/,Wc=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Yc=/^:\s*/,Xc=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,$c=/^[;\s]*/,Kc=/^\s+|\s+$/g,Qc=`
407
- `,Ga="/",Wa="*",fr="",Zc="comment",Jc="declaration",e1=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,n=1;function i(v){var b=v.match(Vc);b&&(r+=b.length);var C=v.lastIndexOf(Qc);n=~C?v.length-C:n+v.length}function a(){var v={line:r,column:n};return function(b){return b.position=new l(v),u(),b}}function l(v){this.start=v,this.end={line:r,column:n},this.source=t.source}l.prototype.content=e;function o(v){var b=new Error(t.source+":"+r+":"+n+": "+v);if(b.reason=v,b.filename=t.source,b.line=r,b.column=n,b.source=e,!t.silent)throw b}function s(v){var b=v.exec(e);if(b){var C=b[0];return i(C),e=e.slice(C.length),b}}function u(){s(Gc)}function f(v){var b;for(v=v||[];b=h();)b!==!1&&v.push(b);return v}function h(){var v=a();if(!(Ga!=e.charAt(0)||Wa!=e.charAt(1))){for(var b=2;fr!=e.charAt(b)&&(Wa!=e.charAt(b)||Ga!=e.charAt(b+1));)++b;if(b+=2,fr===e.charAt(b-1))return o("End of comment missing");var C=e.slice(2,b-2);return n+=2,i(C),e=e.slice(b),n+=2,v({type:Zc,comment:C})}}function d(){var v=a(),b=s(Wc);if(b){if(h(),!s(Yc))return o("property missing ':'");var C=s(Xc),w=v({type:Jc,property:Ya(b[0].replace(Va,fr)),value:C?Ya(C[0].replace(Va,fr)):fr});return s($c),w}}function p(){var v=[];f(v);for(var b;b=d();)b!==!1&&(v.push(b),f(v));return v}return u(),p()};function Ya(e){return e?e.replace(Kc,fr):fr}var t1=hn&&hn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bi,"__esModule",{value:!0}),bi.default=n1;var r1=t1(e1);function n1(e,t){var r=null;if(!e||typeof e!="string")return r;var n=(0,r1.default)(e),i=typeof t=="function";return n.forEach(function(a){if(a.type==="declaration"){var l=a.property,o=a.value;i?t(l,o,a):o&&(r=r||{},r[l]=o)}}),r}var dn={};Object.defineProperty(dn,"__esModule",{value:!0}),dn.camelCase=void 0;var i1=/^--[a-zA-Z0-9_-]+$/,a1=/-([a-z])/g,l1=/^[^-]+$/,o1=/^-(webkit|moz|ms|o|khtml)-/,s1=/^-(ms)-/,u1=function(e){return!e||l1.test(e)||i1.test(e)},c1=function(e,t){return t.toUpperCase()},Xa=function(e,t){return"".concat(t,"-")},h1=function(e,t){return t===void 0&&(t={}),u1(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(s1,Xa):e=e.replace(o1,Xa),e.replace(a1,c1))};dn.camelCase=h1;var f1=hn&&hn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},m1=f1(bi),p1=dn;function xi(e,t){var r={};return!e||typeof e!="string"||(0,m1.default)(e,function(n,i){n&&i&&(r[(0,p1.camelCase)(n,t)]=i)}),r}xi.default=xi;var d1=xi;const g1=ii(d1),$a=Ka("end"),wi=Ka("start");function Ka(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function v1(e){const t=wi(e),r=$a(e);if(t&&r)return{start:t,end:r}}function Wr(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?ki(e):""}function ki(e){return Za(e&&e.line)+":"+Za(e&&e.column)}function Qa(e){return ki(e&&e.start)+"-"+ki(e&&e.end)}function Za(e){return e&&typeof e=="number"?e:1}class Ke extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},l=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof t=="string"?i=t:!a.cause&&t&&(l=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof n=="string"){const s=n.indexOf(":");s===-1?a.ruleId=n:(a.source=n.slice(0,s),a.ruleId=n.slice(s+1))}if(!a.place&&a.ancestors&&a.ancestors){const s=a.ancestors[a.ancestors.length-1];s&&(a.place=s.position)}const o=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=o?o.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=o?o.line:void 0,this.name=Wr(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=l&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}Ke.prototype.file="",Ke.prototype.name="",Ke.prototype.reason="",Ke.prototype.message="",Ke.prototype.stack="",Ke.prototype.column=void 0,Ke.prototype.line=void 0,Ke.prototype.ancestors=void 0,Ke.prototype.cause=void 0,Ke.prototype.fatal=void 0,Ke.prototype.place=void 0,Ke.prototype.ruleId=void 0,Ke.prototype.source=void 0;const Si={}.hasOwnProperty,y1=new Map,b1=/[A-Z]/g,x1=new Set(["table","tbody","thead","tfoot","tr"]),w1=new Set(["td","th"]),Ja="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function k1(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=I1(r,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");n=z1(r,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?pn:qa,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=el(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function el(e,t,r){if(t.type==="element")return S1(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return T1(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return E1(e,t,r);if(t.type==="mdxjsEsm")return A1(e,t);if(t.type==="root")return C1(e,t,r);if(t.type==="text")return M1(e,t)}function S1(e,t,r){const n=e.schema;let i=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(i=pn,e.schema=i),e.ancestors.push(t);const a=rl(e,t.tagName,!1),l=N1(e,t);let o=Ai(e,t);return x1.has(t.tagName)&&(o=o.filter(function(s){return typeof s=="string"?!Dc(s):!0})),tl(e,l,a,t),Ti(l,o),e.ancestors.pop(),e.schema=n,e.create(t,a,l,r)}function T1(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}Yr(e,t.position)}function A1(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Yr(e,t.position)}function E1(e,t,r){const n=e.schema;let i=n;t.name==="svg"&&n.space==="html"&&(i=pn,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:rl(e,t.name,!0),l=O1(e,t),o=Ai(e,t);return tl(e,l,a,t),Ti(l,o),e.ancestors.pop(),e.schema=n,e.create(t,a,l,r)}function C1(e,t,r){const n={};return Ti(n,Ai(e,t)),e.create(t,e.Fragment,n,r)}function M1(e,t){return t.value}function tl(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function Ti(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function z1(e,t,r){return n;function n(i,a,l,o){const u=Array.isArray(l.children)?r:t;return o?u(a,l,o):u(a,l)}}function I1(e,t){return r;function r(n,i,a,l){const o=Array.isArray(a.children),s=wi(n);return t(i,a,l,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function N1(e,t){const r={};let n,i;for(i in t.properties)if(i!=="children"&&Si.call(t.properties,i)){const a=R1(e,i,t.properties[i]);if(a){const[l,o]=a;e.tableCellAlignToStyle&&l==="align"&&typeof o=="string"&&w1.has(t.tagName)?n=o:r[l]=o}}if(n){const a=r.style||(r.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function O1(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const a=n.data.estree.body[0];a.type;const l=a.expression;l.type;const o=l.properties[0];o.type,Object.assign(r,e.evaluater.evaluateExpression(o.argument))}else Yr(e,t.position);else{const i=n.name;let a;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const o=n.value.data.estree.body[0];o.type,a=e.evaluater.evaluateExpression(o.expression)}else Yr(e,t.position);else a=n.value===null?!0:n.value;r[i]=a}return r}function Ai(e,t){const r=[];let n=-1;const i=e.passKeys?new Map:y1;for(;++n<t.children.length;){const a=t.children[n];let l;if(e.passKeys){const s=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(s){const u=i.get(s)||0;l=s+"-"+u,i.set(s,u+1)}}const o=el(e,a,l);o!==void 0&&r.push(o)}return r}function R1(e,t,r){const n=ja(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?zc(r):Uc(r)),n.property==="style"){let i=typeof r=="object"?r:D1(e,String(r));return e.stylePropertyNameCase==="css"&&(i=L1(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&n.space?Pc[n.property]||n.property:n.attribute,r]}}function D1(e,t){try{return g1(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,i=new Ke("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Ja+"#cannot-parse-style-attribute",i}}function rl(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,l;for(;++a<i.length;){const o=Ia(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};l=l?{type:"MemberExpression",object:l,property:o,computed:!!(a&&o.type==="Literal"),optional:!1}:o}n=l}else n=Ia(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const i=n.value;return Si.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(n);Yr(e)}function Yr(e,t){const r=new Ke("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Ja+"#cannot-handle-mdx-estrees-without-createevaluater",r}function L1(e){const t={};let r;for(r in e)Si.call(e,r)&&(t[B1(r)]=e[r]);return t}function B1(e){let t=e.replace(b1,F1);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function F1(e){return"-"+e.toLowerCase()}const Ei={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},P1={};function Ci(e,t){const r=P1,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return nl(e,n,i)}function nl(e,t,r){if(_1(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return il(e.children,t,r)}return Array.isArray(e)?il(e,t,r):""}function il(e,t,r){const n=[];let i=-1;for(;++i<e.length;)n[i]=nl(e[i],t,r);return n.join("")}function _1(e){return!!(e&&typeof e=="object")}const al=document.createElement("i");function Mi(e){const t="&"+e+";";al.innerHTML=t;const r=al.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function mt(e,t,r,n){const i=e.length;let a=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)l=Array.from(n),l.unshift(t,r),e.splice(...l);else for(r&&e.splice(t,r);a<n.length;)l=n.slice(a,a+1e4),l.unshift(t,0),e.splice(...l),a+=1e4,t+=1e4}function vt(e,t){return e.length>0?(mt(e,e.length,0,t),e):t}const ll={}.hasOwnProperty;function ol(e){const t={};let r=-1;for(;++r<e.length;)H1(t,e[r]);return t}function H1(e,t){let r;for(r in t){const i=(ll.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];let l;if(a)for(l in a){ll.call(i,l)||(i[l]=[]);const o=a[l];j1(i[l],Array.isArray(o)?o:o?[o]:[])}}}function j1(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);mt(e,0,0,n)}function sl(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function Tt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ze=Qt(/[A-Za-z]/),Qe=Qt(/[\dA-Za-z]/),q1=Qt(/[#-'*+\--9=?A-Z^-~]/);function gn(e){return e!==null&&(e<32||e===127)}const zi=Qt(/\d/),U1=Qt(/[\dA-Fa-f]/),V1=Qt(/[!-/:-@[-`{-~]/);function ee(e){return e!==null&&e<-2}function Te(e){return e!==null&&(e<0||e===32)}function me(e){return e===-2||e===-1||e===32}const vn=Qt(new RegExp("\\p{P}|\\p{S}","u")),mr=Qt(/\s/);function Qt(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function Cr(e){const t=[];let r=-1,n=0,i=0;for(;++r<e.length;){const a=e.charCodeAt(r);let l="";if(a===37&&Qe(e.charCodeAt(r+1))&&Qe(e.charCodeAt(r+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(l=String.fromCharCode(a));else if(a>55295&&a<57344){const o=e.charCodeAt(r+1);a<56320&&o>56319&&o<57344?(l=String.fromCharCode(a,o),i=1):l="�"}else l=String.fromCharCode(a);l&&(t.push(e.slice(n,r),encodeURIComponent(l)),n=r+i+1,l=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}function fe(e,t,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return l;function l(s){return me(s)?(e.enter(r),o(s)):t(s)}function o(s){return me(s)&&a++<i?(e.consume(s),o):(e.exit(r),t(s))}}const G1={tokenize:W1};function W1(e){const t=e.attempt(this.parser.constructs.contentInitial,n,i);let r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),fe(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){const s=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=s),r=s,l(o)}function l(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return ee(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),l)}}const Y1={tokenize:X1},ul={tokenize:$1};function X1(e){const t=this,r=[];let n=0,i,a,l;return o;function o(z){if(n<r.length){const D=r[n];return t.containerState=D[1],e.attempt(D[0].continuation,s,u)(z)}return u(z)}function s(z){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&A();const D=t.events.length;let L=D,I;for(;L--;)if(t.events[L][0]==="exit"&&t.events[L][1].type==="chunkFlow"){I=t.events[L][1].end;break}w(n);let P=D;for(;P<t.events.length;)t.events[P][1].end={...I},P++;return mt(t.events,L+1,0,t.events.slice(D)),t.events.length=P,u(z)}return o(z)}function u(z){if(n===r.length){if(!i)return d(z);if(i.currentConstruct&&i.currentConstruct.concrete)return v(z);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(ul,f,h)(z)}function f(z){return i&&A(),w(n),d(z)}function h(z){return t.parser.lazy[t.now().line]=n!==r.length,l=t.now().offset,v(z)}function d(z){return t.containerState={},e.attempt(ul,p,v)(z)}function p(z){return n++,r.push([t.currentConstruct,t.containerState]),d(z)}function v(z){if(z===null){i&&A(),w(0),e.consume(z);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),b(z)}function b(z){if(z===null){C(e.exit("chunkFlow"),!0),w(0),e.consume(z);return}return ee(z)?(e.consume(z),C(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(z),b)}function C(z,D){const L=t.sliceStream(z);if(D&&L.push(null),z.previous=a,a&&(a.next=z),a=z,i.defineSkip(z.start),i.write(L),t.parser.lazy[z.start.line]){let I=i.events.length;for(;I--;)if(i.events[I][1].start.offset<l&&(!i.events[I][1].end||i.events[I][1].end.offset>l))return;const P=t.events.length;let X=P,H,N;for(;X--;)if(t.events[X][0]==="exit"&&t.events[X][1].type==="chunkFlow"){if(H){N=t.events[X][1].end;break}H=!0}for(w(n),I=P;I<t.events.length;)t.events[I][1].end={...N},I++;mt(t.events,X+1,0,t.events.slice(P)),t.events.length=I}}function w(z){let D=r.length;for(;D-- >z;){const L=r[D];t.containerState=L[1],L[0].exit.call(t,e)}r.length=z}function A(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function $1(e,t,r){return fe(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Mr(e){if(e===null||Te(e)||mr(e))return 1;if(vn(e))return 2}function yn(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}const Ii={name:"attention",resolveAll:K1,tokenize:Q1};function K1(e,t){let r=-1,n,i,a,l,o,s,u,f;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const h={...e[n][1].end},d={...e[r][1].start};cl(h,-s),cl(d,s),l={type:s>1?"strongSequence":"emphasisSequence",start:h,end:{...e[n][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:d},a={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},i={type:s>1?"strong":"emphasis",start:{...l.start},end:{...o.end}},e[n][1].end={...l.start},e[r][1].start={...o.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=vt(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=vt(u,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",a,t]]),u=vt(u,yn(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),u=vt(u,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(f=2,u=vt(u,[["enter",e[r][1],t],["exit",e[r][1],t]])):f=0,mt(e,n-1,r-n+3,u),r=n+u.length-f-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function Q1(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=Mr(n);let a;return l;function l(s){return a=s,e.enter("attentionSequence"),o(s)}function o(s){if(s===a)return e.consume(s),o;const u=e.exit("attentionSequence"),f=Mr(s),h=!f||f===2&&i||r.includes(s),d=!i||i===2&&f||r.includes(n);return u._open=!!(a===42?h:h&&(i||!d)),u._close=!!(a===42?d:d&&(f||!h)),t(s)}}function cl(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Z1={name:"autolink",tokenize:J1};function J1(e,t,r){let n=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(p){return Ze(p)?(e.consume(p),l):p===64?r(p):u(p)}function l(p){return p===43||p===45||p===46||Qe(p)?(n=1,o(p)):u(p)}function o(p){return p===58?(e.consume(p),n=0,s):(p===43||p===45||p===46||Qe(p))&&n++<32?(e.consume(p),o):(n=0,u(p))}function s(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||gn(p)?r(p):(e.consume(p),s)}function u(p){return p===64?(e.consume(p),f):q1(p)?(e.consume(p),u):r(p)}function f(p){return Qe(p)?h(p):r(p)}function h(p){return p===46?(e.consume(p),n=0,f):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):d(p)}function d(p){if((p===45||Qe(p))&&n++<63){const v=p===45?d:h;return e.consume(p),v}return r(p)}}const Xr={partial:!0,tokenize:eh};function eh(e,t,r){return n;function n(a){return me(a)?fe(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||ee(a)?t(a):r(a)}}const hl={continuation:{tokenize:rh},exit:nh,name:"blockQuote",tokenize:th};function th(e,t,r){const n=this;return i;function i(l){if(l===62){const o=n.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),a}return r(l)}function a(l){return me(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function rh(e,t,r){const n=this;return i;function i(l){return me(l)?fe(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):a(l)}function a(l){return e.attempt(hl,t,r)(l)}}function nh(e){e.exit("blockQuote")}const fl={name:"characterEscape",tokenize:ih};function ih(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return V1(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}const ml={name:"characterReference",tokenize:ah};function ah(e,t,r){const n=this;let i=0,a,l;return o;function o(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),s}function s(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,l=Qe,f(h))}function u(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,l=U1,f):(e.enter("characterReferenceValue"),a=7,l=zi,f(h))}function f(h){if(h===59&&i){const d=e.exit("characterReferenceValue");return l===Qe&&!Mi(n.sliceSerialize(d))?r(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(h)&&i++<a?(e.consume(h),f):r(h)}}const pl={partial:!0,tokenize:oh},dl={concrete:!0,name:"codeFenced",tokenize:lh};function lh(e,t,r){const n=this,i={partial:!0,tokenize:L};let a=0,l=0,o;return s;function s(I){return u(I)}function u(I){const P=n.events[n.events.length-1];return a=P&&P[1].type==="linePrefix"?P[2].sliceSerialize(P[1],!0).length:0,o=I,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(I)}function f(I){return I===o?(l++,e.consume(I),f):l<3?r(I):(e.exit("codeFencedFenceSequence"),me(I)?fe(e,h,"whitespace")(I):h(I))}function h(I){return I===null||ee(I)?(e.exit("codeFencedFence"),n.interrupt?t(I):e.check(pl,b,D)(I)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(I))}function d(I){return I===null||ee(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(I)):me(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),fe(e,p,"whitespace")(I)):I===96&&I===o?r(I):(e.consume(I),d)}function p(I){return I===null||ee(I)?h(I):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),v(I))}function v(I){return I===null||ee(I)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(I)):I===96&&I===o?r(I):(e.consume(I),v)}function b(I){return e.attempt(i,D,C)(I)}function C(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),w}function w(I){return a>0&&me(I)?fe(e,A,"linePrefix",a+1)(I):A(I)}function A(I){return I===null||ee(I)?e.check(pl,b,D)(I):(e.enter("codeFlowValue"),z(I))}function z(I){return I===null||ee(I)?(e.exit("codeFlowValue"),A(I)):(e.consume(I),z)}function D(I){return e.exit("codeFenced"),t(I)}function L(I,P,X){let H=0;return N;function N(Q){return I.enter("lineEnding"),I.consume(Q),I.exit("lineEnding"),V}function V(Q){return I.enter("codeFencedFence"),me(Q)?fe(I,G,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):G(Q)}function G(Q){return Q===o?(I.enter("codeFencedFenceSequence"),le(Q)):X(Q)}function le(Q){return Q===o?(H++,I.consume(Q),le):H>=l?(I.exit("codeFencedFenceSequence"),me(Q)?fe(I,re,"whitespace")(Q):re(Q)):X(Q)}function re(Q){return Q===null||ee(Q)?(I.exit("codeFencedFence"),P(Q)):X(Q)}}}function oh(e,t,r){const n=this;return i;function i(l){return l===null?r(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a)}function a(l){return n.parser.lazy[n.now().line]?r(l):t(l)}}const Ni={name:"codeIndented",tokenize:uh},sh={partial:!0,tokenize:ch};function uh(e,t,r){const n=this;return i;function i(u){return e.enter("codeIndented"),fe(e,a,"linePrefix",5)(u)}function a(u){const f=n.events[n.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?l(u):r(u)}function l(u){return u===null?s(u):ee(u)?e.attempt(sh,l,s)(u):(e.enter("codeFlowValue"),o(u))}function o(u){return u===null||ee(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),o)}function s(u){return e.exit("codeIndented"),t(u)}}function ch(e,t,r){const n=this;return i;function i(l){return n.parser.lazy[n.now().line]?r(l):ee(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):fe(e,a,"linePrefix",5)(l)}function a(l){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(l):ee(l)?i(l):r(l)}}const hh={name:"codeText",previous:mh,resolve:fh,tokenize:ph};function fh(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function mh(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ph(e,t,r){let n=0,i,a;return l;function l(h){return e.enter("codeText"),e.enter("codeTextSequence"),o(h)}function o(h){return h===96?(e.consume(h),n++,o):(e.exit("codeTextSequence"),s(h))}function s(h){return h===null?r(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),s):h===96?(a=e.enter("codeTextSequence"),i=0,f(h)):ee(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),s):(e.enter("codeTextData"),u(h))}function u(h){return h===null||h===32||h===96||ee(h)?(e.exit("codeTextData"),s(h)):(e.consume(h),u)}function f(h){return h===96?(e.consume(h),i++,f):i===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(a.type="codeTextData",u(h))}}class dh{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,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const i=r||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&$r(this.left,n),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),$r(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),$r(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 r=this.left.splice(t,Number.POSITIVE_INFINITY);$r(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);$r(this.left,r.reverse())}}}function $r(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function gl(e){const t={};let r=-1,n,i,a,l,o,s,u;const f=new dh(e);for(;++r<f.length;){for(;r in t;)r=t[r];if(n=f.get(r),r&&n[1].type==="chunkFlow"&&f.get(r-1)[1].type==="listItemPrefix"&&(s=n[1]._tokenizer.events,a=0,a<s.length&&s[a][1].type==="lineEndingBlank"&&(a+=2),a<s.length&&s[a][1].type==="content"))for(;++a<s.length&&s[a][1].type!=="content";)s[a][1].type==="chunkText"&&(s[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,gh(f,r)),r=t[r],u=!0);else if(n[1]._container){for(a=r,i=void 0;a--;)if(l=f.get(a),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=a);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(n[1].end={...f.get(i)[1].start},o=f.slice(i,r),o.unshift(n),f.splice(i,r-i+1,o))}}return mt(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!u}function gh(e,t){const r=e.get(t)[1],n=e.get(t)[2];let i=t-1;const a=[];let l=r._tokenizer;l||(l=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const o=l.events,s=[],u={};let f,h,d=-1,p=r,v=0,b=0;const C=[b];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(f=n.sliceStream(p),p.next||f.push(null),h&&l.defineSkip(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(f),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),h=p,p=p.next}for(p=r;++d<o.length;)o[d][0]==="exit"&&o[d-1][0]==="enter"&&o[d][1].type===o[d-1][1].type&&o[d][1].start.line!==o[d][1].end.line&&(b=d+1,C.push(b),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):C.pop(),d=C.length;d--;){const w=o.slice(C[d],C[d+1]),A=a.pop();s.push([A,A+w.length-1]),e.splice(A,2,w)}for(s.reverse(),d=-1;++d<s.length;)u[v+s[d][0]]=v+s[d][1],v+=s[d][1]-s[d][0]-1;return u}const vh={resolve:bh,tokenize:xh},yh={partial:!0,tokenize:wh};function bh(e){return gl(e),e}function xh(e,t){let r;return n;function n(o){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):ee(o)?e.check(yh,l,a)(o):(e.consume(o),i)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function l(o){return e.consume(o),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function wh(e,t,r){const n=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),fe(e,a,"linePrefix")}function a(l){if(l===null||ee(l))return r(l);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(l):e.interrupt(n.parser.constructs.flow,r,t)(l)}}function vl(e,t,r,n,i,a,l,o,s){const u=s||Number.POSITIVE_INFINITY;let f=0;return h;function h(w){return w===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(w),e.exit(a),d):w===null||w===32||w===41||gn(w)?r(w):(e.enter(n),e.enter(l),e.enter(o),e.enter("chunkString",{contentType:"string"}),b(w))}function d(w){return w===62?(e.enter(a),e.consume(w),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===62?(e.exit("chunkString"),e.exit(o),d(w)):w===null||w===60||ee(w)?r(w):(e.consume(w),w===92?v:p)}function v(w){return w===60||w===62||w===92?(e.consume(w),p):p(w)}function b(w){return!f&&(w===null||w===41||Te(w))?(e.exit("chunkString"),e.exit(o),e.exit(l),e.exit(n),t(w)):f<u&&w===40?(e.consume(w),f++,b):w===41?(e.consume(w),f--,b):w===null||w===32||w===40||gn(w)?r(w):(e.consume(w),w===92?C:b)}function C(w){return w===40||w===41||w===92?(e.consume(w),b):b(w)}}function yl(e,t,r,n,i,a){const l=this;let o=0,s;return u;function u(p){return e.enter(n),e.enter(i),e.consume(p),e.exit(i),e.enter(a),f}function f(p){return o>999||p===null||p===91||p===93&&!s||p===94&&!o&&"_hiddenFootnoteSupport"in l.parser.constructs?r(p):p===93?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(n),t):ee(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||ee(p)||o++>999?(e.exit("chunkString"),f(p)):(e.consume(p),s||(s=!me(p)),p===92?d:h)}function d(p){return p===91||p===92||p===93?(e.consume(p),o++,h):h(p)}}function bl(e,t,r,n,i,a){let l;return o;function o(d){return d===34||d===39||d===40?(e.enter(n),e.enter(i),e.consume(d),e.exit(i),l=d===40?41:d,s):r(d)}function s(d){return d===l?(e.enter(i),e.consume(d),e.exit(i),e.exit(n),t):(e.enter(a),u(d))}function u(d){return d===l?(e.exit(a),s(l)):d===null?r(d):ee(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),fe(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===l||d===null||ee(d)?(e.exit("chunkString"),u(d)):(e.consume(d),d===92?h:f)}function h(d){return d===l||d===92?(e.consume(d),f):f(d)}}function Kr(e,t){let r;return n;function n(i){return ee(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):me(i)?fe(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}const kh={name:"definition",tokenize:Th},Sh={partial:!0,tokenize:Ah};function Th(e,t,r){const n=this;let i;return a;function a(p){return e.enter("definition"),l(p)}function l(p){return yl.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return i=Tt(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),s):r(p)}function s(p){return Te(p)?Kr(e,u)(p):u(p)}function u(p){return vl(e,f,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(Sh,h,h)(p)}function h(p){return me(p)?fe(e,d,"whitespace")(p):d(p)}function d(p){return p===null||ee(p)?(e.exit("definition"),n.parser.defined.push(i),t(p)):r(p)}}function Ah(e,t,r){return n;function n(o){return Te(o)?Kr(e,i)(o):r(o)}function i(o){return bl(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return me(o)?fe(e,l,"whitespace")(o):l(o)}function l(o){return o===null||ee(o)?t(o):r(o)}}const Eh={name:"hardBreakEscape",tokenize:Ch};function Ch(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return ee(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}const Mh={name:"headingAtx",resolve:zh,tokenize:Ih};function zh(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},mt(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Ih(e,t,r){let n=0;return i;function i(f){return e.enter("atxHeading"),a(f)}function a(f){return e.enter("atxHeadingSequence"),l(f)}function l(f){return f===35&&n++<6?(e.consume(f),l):f===null||Te(f)?(e.exit("atxHeadingSequence"),o(f)):r(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),s(f)):f===null||ee(f)?(e.exit("atxHeading"),t(f)):me(f)?fe(e,o,"whitespace")(f):(e.enter("atxHeadingText"),u(f))}function s(f){return f===35?(e.consume(f),s):(e.exit("atxHeadingSequence"),o(f))}function u(f){return f===null||f===35||Te(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),u)}}const Nh=["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"],xl=["pre","script","style","textarea"],Oh={concrete:!0,name:"htmlFlow",resolveTo:Lh,tokenize:Bh},Rh={partial:!0,tokenize:Ph},Dh={partial:!0,tokenize:Fh};function Lh(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 Bh(e,t,r){const n=this;let i,a,l,o,s;return u;function u(E){return f(E)}function f(E){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(E),h}function h(E){return E===33?(e.consume(E),d):E===47?(e.consume(E),a=!0,b):E===63?(e.consume(E),i=3,n.interrupt?t:S):Ze(E)?(e.consume(E),l=String.fromCharCode(E),C):r(E)}function d(E){return E===45?(e.consume(E),i=2,p):E===91?(e.consume(E),i=5,o=0,v):Ze(E)?(e.consume(E),i=4,n.interrupt?t:S):r(E)}function p(E){return E===45?(e.consume(E),n.interrupt?t:S):r(E)}function v(E){const He="CDATA[";return E===He.charCodeAt(o++)?(e.consume(E),o===He.length?n.interrupt?t:G:v):r(E)}function b(E){return Ze(E)?(e.consume(E),l=String.fromCharCode(E),C):r(E)}function C(E){if(E===null||E===47||E===62||Te(E)){const He=E===47,Ge=l.toLowerCase();return!He&&!a&&xl.includes(Ge)?(i=1,n.interrupt?t(E):G(E)):Nh.includes(l.toLowerCase())?(i=6,He?(e.consume(E),w):n.interrupt?t(E):G(E)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(E):a?A(E):z(E))}return E===45||Qe(E)?(e.consume(E),l+=String.fromCharCode(E),C):r(E)}function w(E){return E===62?(e.consume(E),n.interrupt?t:G):r(E)}function A(E){return me(E)?(e.consume(E),A):N(E)}function z(E){return E===47?(e.consume(E),N):E===58||E===95||Ze(E)?(e.consume(E),D):me(E)?(e.consume(E),z):N(E)}function D(E){return E===45||E===46||E===58||E===95||Qe(E)?(e.consume(E),D):L(E)}function L(E){return E===61?(e.consume(E),I):me(E)?(e.consume(E),L):z(E)}function I(E){return E===null||E===60||E===61||E===62||E===96?r(E):E===34||E===39?(e.consume(E),s=E,P):me(E)?(e.consume(E),I):X(E)}function P(E){return E===s?(e.consume(E),s=null,H):E===null||ee(E)?r(E):(e.consume(E),P)}function X(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||Te(E)?L(E):(e.consume(E),X)}function H(E){return E===47||E===62||me(E)?z(E):r(E)}function N(E){return E===62?(e.consume(E),V):r(E)}function V(E){return E===null||ee(E)?G(E):me(E)?(e.consume(E),V):r(E)}function G(E){return E===45&&i===2?(e.consume(E),he):E===60&&i===1?(e.consume(E),de):E===62&&i===4?(e.consume(E),ze):E===63&&i===3?(e.consume(E),S):E===93&&i===5?(e.consume(E),Ve):ee(E)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Rh,Se,le)(E)):E===null||ee(E)?(e.exit("htmlFlowData"),le(E)):(e.consume(E),G)}function le(E){return e.check(Dh,re,Se)(E)}function re(E){return e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),Q}function Q(E){return E===null||ee(E)?le(E):(e.enter("htmlFlowData"),G(E))}function he(E){return E===45?(e.consume(E),S):G(E)}function de(E){return E===47?(e.consume(E),l="",xe):G(E)}function xe(E){if(E===62){const He=l.toLowerCase();return xl.includes(He)?(e.consume(E),ze):G(E)}return Ze(E)&&l.length<8?(e.consume(E),l+=String.fromCharCode(E),xe):G(E)}function Ve(E){return E===93?(e.consume(E),S):G(E)}function S(E){return E===62?(e.consume(E),ze):E===45&&i===2?(e.consume(E),S):G(E)}function ze(E){return E===null||ee(E)?(e.exit("htmlFlowData"),Se(E)):(e.consume(E),ze)}function Se(E){return e.exit("htmlFlow"),t(E)}}function Fh(e,t,r){const n=this;return i;function i(l){return ee(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):r(l)}function a(l){return n.parser.lazy[n.now().line]?r(l):t(l)}}function Ph(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Xr,t,r)}}const _h={name:"htmlText",tokenize:Hh};function Hh(e,t,r){const n=this;let i,a,l;return o;function o(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),s}function s(S){return S===33?(e.consume(S),u):S===47?(e.consume(S),L):S===63?(e.consume(S),z):Ze(S)?(e.consume(S),X):r(S)}function u(S){return S===45?(e.consume(S),f):S===91?(e.consume(S),a=0,v):Ze(S)?(e.consume(S),A):r(S)}function f(S){return S===45?(e.consume(S),p):r(S)}function h(S){return S===null?r(S):S===45?(e.consume(S),d):ee(S)?(l=h,de(S)):(e.consume(S),h)}function d(S){return S===45?(e.consume(S),p):h(S)}function p(S){return S===62?he(S):S===45?d(S):h(S)}function v(S){const ze="CDATA[";return S===ze.charCodeAt(a++)?(e.consume(S),a===ze.length?b:v):r(S)}function b(S){return S===null?r(S):S===93?(e.consume(S),C):ee(S)?(l=b,de(S)):(e.consume(S),b)}function C(S){return S===93?(e.consume(S),w):b(S)}function w(S){return S===62?he(S):S===93?(e.consume(S),w):b(S)}function A(S){return S===null||S===62?he(S):ee(S)?(l=A,de(S)):(e.consume(S),A)}function z(S){return S===null?r(S):S===63?(e.consume(S),D):ee(S)?(l=z,de(S)):(e.consume(S),z)}function D(S){return S===62?he(S):z(S)}function L(S){return Ze(S)?(e.consume(S),I):r(S)}function I(S){return S===45||Qe(S)?(e.consume(S),I):P(S)}function P(S){return ee(S)?(l=P,de(S)):me(S)?(e.consume(S),P):he(S)}function X(S){return S===45||Qe(S)?(e.consume(S),X):S===47||S===62||Te(S)?H(S):r(S)}function H(S){return S===47?(e.consume(S),he):S===58||S===95||Ze(S)?(e.consume(S),N):ee(S)?(l=H,de(S)):me(S)?(e.consume(S),H):he(S)}function N(S){return S===45||S===46||S===58||S===95||Qe(S)?(e.consume(S),N):V(S)}function V(S){return S===61?(e.consume(S),G):ee(S)?(l=V,de(S)):me(S)?(e.consume(S),V):H(S)}function G(S){return S===null||S===60||S===61||S===62||S===96?r(S):S===34||S===39?(e.consume(S),i=S,le):ee(S)?(l=G,de(S)):me(S)?(e.consume(S),G):(e.consume(S),re)}function le(S){return S===i?(e.consume(S),i=void 0,Q):S===null?r(S):ee(S)?(l=le,de(S)):(e.consume(S),le)}function re(S){return S===null||S===34||S===39||S===60||S===61||S===96?r(S):S===47||S===62||Te(S)?H(S):(e.consume(S),re)}function Q(S){return S===47||S===62||Te(S)?H(S):r(S)}function he(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):r(S)}function de(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),xe}function xe(S){return me(S)?fe(e,Ve,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):Ve(S)}function Ve(S){return e.enter("htmlTextData"),l(S)}}const Oi={name:"labelEnd",resolveAll:Vh,resolveTo:Gh,tokenize:Wh},jh={tokenize:Yh},qh={tokenize:Xh},Uh={tokenize:$h};function Vh(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const i=n.type==="labelImage"?4:2;n.type="data",t+=i}}return e.length!==r.length&&mt(e,0,e.length,r),e}function Gh(e,t){let r=e.length,n=0,i,a,l,o;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(l=r);const s={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[a][1].start},end:{...e[l][1].end}},f={type:"labelText",start:{...e[a+n+2][1].end},end:{...e[l-2][1].start}};return o=[["enter",s,t],["enter",u,t]],o=vt(o,e.slice(a+1,a+n+3)),o=vt(o,[["enter",f,t]]),o=vt(o,yn(t.parser.constructs.insideSpan.null,e.slice(a+n+4,l-3),t)),o=vt(o,[["exit",f,t],e[l-2],e[l-1],["exit",u,t]]),o=vt(o,e.slice(l+1)),o=vt(o,[["exit",s,t]]),mt(e,a,e.length,o),e}function Wh(e,t,r){const n=this;let i=n.events.length,a,l;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return o;function o(d){return a?a._inactive?h(d):(l=n.parser.defined.includes(Tt(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),s):r(d)}function s(d){return d===40?e.attempt(jh,f,l?f:h)(d):d===91?e.attempt(qh,f,l?u:h)(d):l?f(d):h(d)}function u(d){return e.attempt(Uh,f,h)(d)}function f(d){return t(d)}function h(d){return a._balanced=!0,r(d)}}function Yh(e,t,r){return n;function n(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return Te(h)?Kr(e,a)(h):a(h)}function a(h){return h===41?f(h):vl(e,l,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function l(h){return Te(h)?Kr(e,s)(h):f(h)}function o(h){return r(h)}function s(h){return h===34||h===39||h===40?bl(e,u,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):f(h)}function u(h){return Te(h)?Kr(e,f)(h):f(h)}function f(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):r(h)}}function Xh(e,t,r){const n=this;return i;function i(o){return yl.call(n,e,a,l,"reference","referenceMarker","referenceString")(o)}function a(o){return n.parser.defined.includes(Tt(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(o):r(o)}function l(o){return r(o)}}function $h(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}const Kh={name:"labelStartImage",resolveAll:Oi.resolveAll,tokenize:Qh};function Qh(e,t,r){const n=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),a}function a(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),l):r(o)}function l(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}const Zh={name:"labelStartLink",resolveAll:Oi.resolveAll,tokenize:Jh};function Jh(e,t,r){const n=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),a}function a(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(l):t(l)}}const Ri={name:"lineEnding",tokenize:ef};function ef(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),fe(e,t,"linePrefix")}}const bn={name:"thematicBreak",tokenize:tf};function tf(e,t,r){let n=0,i;return a;function a(u){return e.enter("thematicBreak"),l(u)}function l(u){return i=u,o(u)}function o(u){return u===i?(e.enter("thematicBreakSequence"),s(u)):n>=3&&(u===null||ee(u))?(e.exit("thematicBreak"),t(u)):r(u)}function s(u){return u===i?(e.consume(u),n++,s):(e.exit("thematicBreakSequence"),me(u)?fe(e,o,"whitespace")(u):o(u))}}const lt={continuation:{tokenize:lf},exit:sf,name:"list",tokenize:af},rf={partial:!0,tokenize:uf},nf={partial:!0,tokenize:of};function af(e,t,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return o;function o(p){const v=n.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(v==="listUnordered"?!n.containerState.marker||p===n.containerState.marker:zi(p)){if(n.containerState.type||(n.containerState.type=v,e.enter(v,{_container:!0})),v==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(bn,r,u)(p):u(p);if(!n.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(p)}return r(p)}function s(p){return zi(p)&&++l<10?(e.consume(p),s):(!n.interrupt||l<2)&&(n.containerState.marker?p===n.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):r(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||p,e.check(Xr,n.interrupt?r:f,e.attempt(rf,d,h))}function f(p){return n.containerState.initialBlankLine=!0,a++,d(p)}function h(p){return me(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),d):r(p)}function d(p){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function lf(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(Xr,i,a);function i(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,fe(e,t,"listItemIndent",n.containerState.size+1)(o)}function a(o){return n.containerState.furtherBlankLines||!me(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,l(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(nf,t,l)(o))}function l(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,fe(e,e.attempt(lt,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function of(e,t,r){const n=this;return fe(e,i,"listItemIndent",n.containerState.size+1);function i(a){const l=n.events[n.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===n.containerState.size?t(a):r(a)}}function sf(e){e.exit(this.containerState.type)}function uf(e,t,r){const n=this;return fe(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const l=n.events[n.events.length-1];return!me(a)&&l&&l[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}const wl={name:"setextUnderline",resolveTo:cf,tokenize:hf};function cf(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);const l={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",l,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end={...e[a][1].end}):e[n][1]=l,e.push(["exit",l,t]),e}function hf(e,t,r){const n=this;let i;return a;function a(u){let f=n.events.length,h;for(;f--;)if(n.events[f][1].type!=="lineEnding"&&n.events[f][1].type!=="linePrefix"&&n.events[f][1].type!=="content"){h=n.events[f][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||h)?(e.enter("setextHeadingLine"),i=u,l(u)):r(u)}function l(u){return e.enter("setextHeadingLineSequence"),o(u)}function o(u){return u===i?(e.consume(u),o):(e.exit("setextHeadingLineSequence"),me(u)?fe(e,s,"lineSuffix")(u):s(u))}function s(u){return u===null||ee(u)?(e.exit("setextHeadingLine"),t(u)):r(u)}}const ff={tokenize:mf};function mf(e){const t=this,r=e.attempt(Xr,n,e.attempt(this.parser.constructs.flowInitial,i,fe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(vh,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const pf={resolveAll:Sl()},df=kl("string"),gf=kl("text");function kl(e){return{resolveAll:Sl(e==="text"?vf:void 0),tokenize:t};function t(r){const n=this,i=this.parser.constructs[e],a=r.attempt(i,l,o);return l;function l(f){return u(f)?a(f):o(f)}function o(f){if(f===null){r.consume(f);return}return r.enter("data"),r.consume(f),s}function s(f){return u(f)?(r.exit("data"),a(f)):(r.consume(f),s)}function u(f){if(f===null)return!0;const h=i[f];let d=-1;if(h)for(;++d<h.length;){const p=h[d];if(!p.previous||p.previous.call(n,n.previous))return!0}return!1}}}function Sl(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function vf(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],i=t.sliceStream(n);let a=i.length,l=-1,o=0,s;for(;a--;){const u=i[a];if(typeof u=="string"){for(l=u.length;u.charCodeAt(l-1)===32;)o++,l--;if(l)break;l=-1}else if(u===-2)s=!0,o++;else if(u!==-1){a++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(o=0),o){const u={type:r===e.length||s||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?l:n.start._bufferIndex+l,_index:n.start._index+a,line:n.end.line,column:n.end.column-o,offset:n.end.offset-o},end:{...n.end}};n.end={...u.start},n.start.offset===n.end.offset?Object.assign(n,u):(e.splice(r,0,["enter",u,t],["exit",u,t]),r+=2)}r++}return e}const yf=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:kh},disable:{null:[]},document:{42:lt,43:lt,45:lt,48:lt,49:lt,50:lt,51:lt,52:lt,53:lt,54:lt,55:lt,56:lt,57:lt,62:hl},flow:{35:Mh,42:bn,45:[wl,bn],60:Oh,61:wl,95:bn,96:dl,126:dl},flowInitial:{[-2]:Ni,[-1]:Ni,32:Ni},insideSpan:{null:[Ii,pf]},string:{38:ml,92:fl},text:{[-5]:Ri,[-4]:Ri,[-3]:Ri,33:Kh,38:ml,42:Ii,60:[Z1,_h],91:Zh,92:[Eh,fl],93:Oi,95:Ii,96:hh}},Symbol.toStringTag,{value:"Module"}));function bf(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const i={},a=[];let l=[],o=[];const s={attempt:P(L),check:P(I),consume:A,enter:z,exit:D,interrupt:P(I,{interrupt:!0})},u={code:null,containerState:{},defineSkip:b,events:[],now:v,parser:e,previous:null,sliceSerialize:d,sliceStream:p,write:h};let f=t.tokenize.call(u,s);return t.resolveAll&&a.push(t),u;function h(V){return l=vt(l,V),C(),l[l.length-1]!==null?[]:(X(t,0),u.events=yn(a,u.events,u),u.events)}function d(V,G){return wf(p(V),G)}function p(V){return xf(l,V)}function v(){const{_bufferIndex:V,_index:G,line:le,column:re,offset:Q}=n;return{_bufferIndex:V,_index:G,line:le,column:re,offset:Q}}function b(V){i[V.line]=V.column,N()}function C(){let V;for(;n._index<l.length;){const G=l[n._index];if(typeof G=="string")for(V=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===V&&n._bufferIndex<G.length;)w(G.charCodeAt(n._bufferIndex));else w(G)}}function w(V){f=f(V)}function A(V){ee(V)?(n.line++,n.column=1,n.offset+=V===-3?2:1,N()):V!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===l[n._index].length&&(n._bufferIndex=-1,n._index++)),u.previous=V}function z(V,G){const le=G||{};return le.type=V,le.start=v(),u.events.push(["enter",le,u]),o.push(le),le}function D(V){const G=o.pop();return G.end=v(),u.events.push(["exit",G,u]),G}function L(V,G){X(V,G.from)}function I(V,G){G.restore()}function P(V,G){return le;function le(re,Q,he){let de,xe,Ve,S;return Array.isArray(re)?Se(re):"tokenize"in re?Se([re]):ze(re);function ze(Ne){return We;function We(Le){const Ye=Le!==null&&Ne[Le],$e=Le!==null&&Ne.null,ut=[...Array.isArray(Ye)?Ye:Ye?[Ye]:[],...Array.isArray($e)?$e:$e?[$e]:[]];return Se(ut)(Le)}}function Se(Ne){return de=Ne,xe=0,Ne.length===0?he:E(Ne[xe])}function E(Ne){return We;function We(Le){return S=H(),Ve=Ne,Ne.partial||(u.currentConstruct=Ne),Ne.name&&u.parser.constructs.disable.null.includes(Ne.name)?Ge():Ne.tokenize.call(G?Object.assign(Object.create(u),G):u,s,He,Ge)(Le)}}function He(Ne){return V(Ve,S),Q}function Ge(Ne){return S.restore(),++xe<de.length?E(de[xe]):he}}}function X(V,G){V.resolveAll&&!a.includes(V)&&a.push(V),V.resolve&&mt(u.events,G,u.events.length-G,V.resolve(u.events.slice(G),u)),V.resolveTo&&(u.events=V.resolveTo(u.events,u))}function H(){const V=v(),G=u.previous,le=u.currentConstruct,re=u.events.length,Q=Array.from(o);return{from:re,restore:he};function he(){n=V,u.previous=G,u.currentConstruct=le,u.events.length=re,o=Q,N()}}function N(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function xf(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let l;if(r===i)l=[e[r].slice(n,a)];else{if(l=e.slice(r,i),n>-1){const o=l[0];typeof o=="string"?l[0]=o.slice(n):l.shift()}a>0&&l.push(e[i].slice(0,a))}return l}function wf(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const a=e[r];let l;if(typeof a=="string")l=a;else switch(a){case-5:{l="\r";break}case-4:{l=`
404
+ `,bc=e=>{const{BREAKPOINTS:t,WIDTHS:r}=ve.WINDOW_DIMENSIONS;return e<t.SM?"100%":e<t.MD?r.SM:e<t.LG?r.MD:r.LG},xc=e=>e<ve.WINDOW_DIMENSIONS.BREAKPOINTS.SM?"100%":ve.WINDOW_DIMENSIONS.WIDTHS.SM,wc="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif",kc=(e,t)=>({color:e>=t*.9?"#ef4444":"#6b7280",backgroundColor:e>=t*.9?"rgba(239, 68, 68, 0.1)":"rgba(107, 114, 128, 0.1)",fontSize:"0.7rem"});function Sc(e){Object.assign(ve,e)}let Ea=!1;function Tc(){if(Ea)return!0;try{if(typeof window<"u"){let e,t,r;if(window.CHATBOT_API_URL&&window.CHATBOT_API_KEY)e=window.CHATBOT_API_URL,t=window.CHATBOT_API_KEY;else if(ei&&ti)try{e=ei(),t=ti()}catch{}return!e||!t?(console.warn("API URL or API Key not configured"),!1):(window.CHATBOT_SESSION_ID?(r=window.CHATBOT_SESSION_ID,mi(r)):r=Tr(),Sr(e,t,r),Ea=!0,!0)}}catch(e){console.error("Failed to configure API:",e)}return!1}const pi=cc((e,t)=>({messages:[],isLoading:!1,error:null,sessionId:Tr(),getSessionId:()=>t().sessionId,sendMessage:async r=>{try{const n=ve.MAX_SUGGESTED_QUESTION_QUERY_LENGTH;let i=r;if(r.length>n&&(i=r.substring(0,n)),!Tc())throw new Error("API not properly configured");e(l=>({messages:[...l.messages,{role:"user",content:i}],isLoading:!0,error:null})),e(l=>({messages:[...l.messages,{role:"assistant",content:""}]}));let a=!1;try{for await(const l of gc(i))l.text&&(t().appendToLastMessage(l.text),a=!0);a||t().appendToLastMessage("No response received from the server. Please try again later.")}catch(l){console.error("Chat API error:",l),t().appendToLastMessage("Sorry, there was an error processing your request.")}e({isLoading:!1})}catch(n){console.error("Chat store error:",n),e(i=>({isLoading:!1,error:`Failed to send message: ${n instanceof Error?n.message:"Unknown error"}`}))}},appendToLastMessage:r=>{e(n=>{const i=[...n.messages],a=i[i.length-1];return a&&a.role==="assistant"&&(i[i.length-1]={...a,content:a.content+r}),{messages:i}})},clearMessages:()=>{e({messages:[]})}})),Ca={primary:"#EC994B",secondary:"#1E3A8A",background:"#FFFFFF",text:{primary:"#1F2937",secondary:"#6B7280",inverse:"#FFFFFF"},input:{background:"#FFFFFF",border:"#D1D5DB"},message:{user:"#1E3A8A",userText:"#FFFFFF",assistant:"#FFFFFF"},suggestedQuestions:{background:"#F3F4F6",text:"#1F2937",hoverBackground:"#E5E7EB"},chatButton:{background:"#ffffff",hoverBackground:"#f8fafc"}},ur=()=>({header:{title:"AI Assistant"},theme:Ca,welcome:{title:"Hello! How can I help you today?",description:"I'm your AI assistant, ready to help with any questions you might have."},suggestedQuestions:[{text:"What can you help me with?",query:"What can you help me with?"},{text:"Tell me about your features",query:"Tell me about your features"},{text:"How do I get started?",query:"How do I get started?"}]}),Ac=e=>ni.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-messages-square-icon lucide-messages-square",...e},ni.createElement("path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z"}),ni.createElement("path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1"})),Ec=e=>{const[t,r]=J.useState(!1),[n,i]=J.useState(!1),[a,l]=J.useState(!1),o=J.useRef(null),s=J.useRef(null),u=J.useRef(!0),f=J.useRef(),h=J.useCallback((v=!1)=>{if(o.current){const{scrollHeight:b}=o.current;o.current.scrollTo({top:b,behavior:v?"auto":"smooth"}),setTimeout(()=>{d()},v?0:ve.ANIMATIONS.SCROLL_TIMEOUT)}},[]),d=J.useCallback(()=>{if(o.current&&!e){const{scrollTop:v,scrollHeight:b,clientHeight:C}=o.current,w=Math.abs(b-v-C)<ve.SCROLL_THRESHOLDS.BOTTOM_THRESHOLD,A=v<ve.SCROLL_THRESHOLDS.TOP_THRESHOLD;r(!A&&v>ve.SCROLL_THRESHOLDS.SHOW_SCROLL_TOP_OFFSET),i(!w)}},[e]),p=J.useCallback(()=>{o.current&&(l(!0),o.current.scrollTo({top:0,behavior:"smooth"}),setTimeout(()=>{l(!1),d()},ve.ANIMATIONS.SCROLL_TIMEOUT))},[d]);return{showScrollTop:t,showScrollBottom:n,isScrolling:a,messagesContainerRef:o,messagesEndRef:s,shouldScrollRef:u,scrollTimeoutRef:f,scrollToBottom:h,scrollToTop:p,handleScroll:d}},Cc=()=>{const[e,t]=J.useState(!1),r=J.useRef(new Set),n=J.useRef(new Map),i=J.useRef(!1),a=J.useRef(null),l=J.useCallback((u,f,h)=>{r.current.add(u),u===f-1&&(t(!1),setTimeout(()=>h(),50))},[]),o=J.useCallback(u=>r.current.has(u),[]),s=J.useCallback(()=>{r.current.clear(),n.current.clear(),t(!1)},[]);return{isAnimating:e,animatedMessagesRef:r,typingProgressRef:n,isTypingRef:i,lastMessageRef:a,markMessageAnimated:l,hasBeenAnimated:o,clearAnimationTrackers:s,setIsAnimating:t}},Mc=({onSendMessage:e,isLoading:t,isOpen:r})=>{const[n,i]=J.useState(""),[a,l]=J.useState(!1),o=J.useRef(null),s=J.useCallback(p=>{const v=p.target.value;v.length<=ve.MAX_MESSAGE_LENGTH&&i(v)},[]),u=J.useCallback(()=>{n.trim()&&!t&&(e(n.trim()),i(""))},[n,t,e]),f=J.useCallback(p=>{p.key==="Enter"&&!p.shiftKey&&(p.preventDefault(),u())},[u]),h=J.useCallback(()=>{i("")},[]),d=J.useCallback(()=>{o.current&&o.current.focus()},[]);return J.useEffect(()=>{r&&o.current&&o.current.focus()},[r]),{message:n,isFocused:a,inputRef:o,handleMessageChange:s,handleKeyDown:f,handleSendMessage:u,setIsFocused:l,clearMessage:h,focusInput:d}};function Ma(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=Ma(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function cr(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=Ma(e))&&(n&&(n+=" "),n+=t);return n}function p3(){}function d3(){}function za(e){const t=[],r=String(e||"");let n=r.indexOf(","),i=0,a=!1;for(;!a;){n===-1&&(n=r.length,a=!0);const l=r.slice(i,n).trim();(l||!a)&&t.push(l),i=n+1,n=r.indexOf(",",i)}return t}function zc(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const Ic=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Nc=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Oc={};function Ia(e,t){return(Oc.jsx?Nc:Ic).test(e)}const Rc=/[ \t\n\f\r]/g;function Dc(e){return typeof e=="object"?e.type==="text"?Na(e.value):!1:Na(e)}function Na(e){return e.replace(Rc,"")===""}class Vr{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}Vr.prototype.normal={},Vr.prototype.property={},Vr.prototype.space=void 0;function Oa(e,t){const r={},n={};for(const i of e)Object.assign(r,i.property),Object.assign(n,i.normal);return new Vr(r,n,t)}function Gr(e){return e.toLowerCase()}class at{constructor(t,r){this.attribute=r,this.property=t}}at.prototype.attribute="",at.prototype.booleanish=!1,at.prototype.boolean=!1,at.prototype.commaOrSpaceSeparated=!1,at.prototype.commaSeparated=!1,at.prototype.defined=!1,at.prototype.mustUseProperty=!1,at.prototype.number=!1,at.prototype.overloadedBoolean=!1,at.prototype.property="",at.prototype.spaceSeparated=!1,at.prototype.space=void 0;let Lc=0;const ue=hr(),Pe=hr(),di=hr(),U=hr(),Ee=hr(),Ar=hr(),ft=hr();function hr(){return 2**++Lc}const gi=Object.freeze(Object.defineProperty({__proto__:null,boolean:ue,booleanish:Pe,commaOrSpaceSeparated:ft,commaSeparated:Ar,number:U,overloadedBoolean:di,spaceSeparated:Ee},Symbol.toStringTag,{value:"Module"})),vi=Object.keys(gi);class yi extends at{constructor(t,r,n,i){let a=-1;if(super(t,r),Ra(this,"space",i),typeof n=="number")for(;++a<vi.length;){const l=vi[a];Ra(this,vi[a],(n&gi[l])===gi[l])}}}yi.prototype.defined=!0;function Ra(e,t,r){r&&(e[t]=r)}function Er(e){const t={},r={};for(const[n,i]of Object.entries(e.properties)){const a=new yi(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[Gr(n)]=n,r[Gr(a.attribute)]=n}return new Vr(t,r,e.space)}const Da=Er({properties:{ariaActiveDescendant:null,ariaAtomic:Pe,ariaAutoComplete:null,ariaBusy:Pe,ariaChecked:Pe,ariaColCount:U,ariaColIndex:U,ariaColSpan:U,ariaControls:Ee,ariaCurrent:null,ariaDescribedBy:Ee,ariaDetails:null,ariaDisabled:Pe,ariaDropEffect:Ee,ariaErrorMessage:null,ariaExpanded:Pe,ariaFlowTo:Ee,ariaGrabbed:Pe,ariaHasPopup:null,ariaHidden:Pe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ee,ariaLevel:U,ariaLive:null,ariaModal:Pe,ariaMultiLine:Pe,ariaMultiSelectable:Pe,ariaOrientation:null,ariaOwns:Ee,ariaPlaceholder:null,ariaPosInSet:U,ariaPressed:Pe,ariaReadOnly:Pe,ariaRelevant:null,ariaRequired:Pe,ariaRoleDescription:Ee,ariaRowCount:U,ariaRowIndex:U,ariaRowSpan:U,ariaSelected:Pe,ariaSetSize:U,ariaSort:null,ariaValueMax:U,ariaValueMin:U,ariaValueNow:U,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function La(e,t){return t in e?e[t]:t}function Ba(e,t){return La(e,t.toLowerCase())}const Bc=Er({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ar,acceptCharset:Ee,accessKey:Ee,action:null,allow:null,allowFullScreen:ue,allowPaymentRequest:ue,allowUserMedia:ue,alt:null,as:null,async:ue,autoCapitalize:null,autoComplete:Ee,autoFocus:ue,autoPlay:ue,blocking:Ee,capture:null,charSet:null,checked:ue,cite:null,className:Ee,cols:U,colSpan:null,content:null,contentEditable:Pe,controls:ue,controlsList:Ee,coords:U|Ar,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ue,defer:ue,dir:null,dirName:null,disabled:ue,download:di,draggable:Pe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ue,formTarget:null,headers:Ee,height:U,hidden:di,high:U,href:null,hrefLang:null,htmlFor:Ee,httpEquiv:Ee,id:null,imageSizes:null,imageSrcSet:null,inert:ue,inputMode:null,integrity:null,is:null,isMap:ue,itemId:null,itemProp:Ee,itemRef:Ee,itemScope:ue,itemType:Ee,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ue,low:U,manifest:null,max:null,maxLength:U,media:null,method:null,min:null,minLength:U,multiple:ue,muted:ue,name:null,nonce:null,noModule:ue,noValidate:ue,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:ue,optimum:U,pattern:null,ping:Ee,placeholder:null,playsInline:ue,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ue,referrerPolicy:null,rel:Ee,required:ue,reversed:ue,rows:U,rowSpan:U,sandbox:Ee,scope:null,scoped:ue,seamless:ue,selected:ue,shadowRootClonable:ue,shadowRootDelegatesFocus:ue,shadowRootMode:null,shape:null,size:U,sizes:null,slot:null,span:U,spellCheck:Pe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:U,step:null,style:null,tabIndex:U,target:null,title:null,translate:null,type:null,typeMustMatch:ue,useMap:null,value:Pe,width:U,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ee,axis:null,background:null,bgColor:null,border:U,borderColor:null,bottomMargin:U,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ue,declare:ue,event:null,face:null,frame:null,frameBorder:null,hSpace:U,leftMargin:U,link:null,longDesc:null,lowSrc:null,marginHeight:U,marginWidth:U,noResize:ue,noHref:ue,noShade:ue,noWrap:ue,object:null,profile:null,prompt:null,rev:null,rightMargin:U,rules:null,scheme:null,scrolling:Pe,standby:null,summary:null,text:null,topMargin:U,valueType:null,version:null,vAlign:null,vLink:null,vSpace:U,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ue,disableRemotePlayback:ue,prefix:null,property:null,results:U,security:null,unselectable:null},space:"html",transform:Ba}),Fc=Er({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"},properties:{about:ft,accentHeight:U,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:U,amplitude:U,arabicForm:null,ascent:U,attributeName:null,attributeType:null,azimuth:U,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:U,by:null,calcMode:null,capHeight:U,className:Ee,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:U,diffuseConstant:U,direction:null,display:null,dur:null,divisor:U,dominantBaseline:null,download:ue,dx:null,dy:null,edgeMode:null,editable:null,elevation:U,enableBackground:null,end:null,event:null,exponent:U,externalResourcesRequired:null,fill:null,fillOpacity:U,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ar,g2:Ar,glyphName:Ar,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:U,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:U,horizOriginX:U,horizOriginY:U,id:null,ideographic:U,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:U,k:U,k1:U,k2:U,k3:U,k4:U,kernelMatrix:ft,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:U,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:U,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:U,overlineThickness:U,paintOrder:null,panose1:null,path:null,pathLength:U,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ee,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:U,pointsAtY:U,pointsAtZ:U,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:U,specularExponent:U,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:U,strikethroughThickness:U,string:null,stroke:null,strokeDashArray:ft,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:U,strokeOpacity:U,strokeWidth:null,style:null,surfaceScale:U,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ft,tabIndex:U,tableValues:null,target:null,targetX:U,targetY:U,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ft,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:U,underlineThickness:U,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:U,values:null,vAlphabetic:U,vMathematical:U,vectorEffect:null,vHanging:U,vIdeographic:U,version:null,vertAdvY:U,vertOriginX:U,vertOriginY:U,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:U,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:La}),Fa=Er({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Pa=Er({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ba}),_a=Er({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Pc={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"},_c=/[A-Z]/g,Ha=/-[a-z]/g,Hc=/^data[-\w.:]+$/i;function ja(e,t){const r=Gr(t);let n=t,i=at;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Hc.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Ha,qc);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Ha.test(a)){let l=a.replace(_c,jc);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=yi}return new i(n,t)}function jc(e){return"-"+e.toLowerCase()}function qc(e){return e.charAt(1).toUpperCase()}const qa=Oa([Da,Bc,Fa,Pa,_a],"html"),pn=Oa([Da,Fc,Fa,Pa,_a],"svg");function Ua(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Uc(e){return e.join(" ").trim()}var bi={},Va=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Vc=/\n/g,Gc=/^\s*/,Wc=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Yc=/^:\s*/,Xc=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,$c=/^[;\s]*/,Kc=/^\s+|\s+$/g,Qc=`
405
+ `,Ga="/",Wa="*",fr="",Zc="comment",Jc="declaration",e1=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,n=1;function i(v){var b=v.match(Vc);b&&(r+=b.length);var C=v.lastIndexOf(Qc);n=~C?v.length-C:n+v.length}function a(){var v={line:r,column:n};return function(b){return b.position=new l(v),u(),b}}function l(v){this.start=v,this.end={line:r,column:n},this.source=t.source}l.prototype.content=e;function o(v){var b=new Error(t.source+":"+r+":"+n+": "+v);if(b.reason=v,b.filename=t.source,b.line=r,b.column=n,b.source=e,!t.silent)throw b}function s(v){var b=v.exec(e);if(b){var C=b[0];return i(C),e=e.slice(C.length),b}}function u(){s(Gc)}function f(v){var b;for(v=v||[];b=h();)b!==!1&&v.push(b);return v}function h(){var v=a();if(!(Ga!=e.charAt(0)||Wa!=e.charAt(1))){for(var b=2;fr!=e.charAt(b)&&(Wa!=e.charAt(b)||Ga!=e.charAt(b+1));)++b;if(b+=2,fr===e.charAt(b-1))return o("End of comment missing");var C=e.slice(2,b-2);return n+=2,i(C),e=e.slice(b),n+=2,v({type:Zc,comment:C})}}function d(){var v=a(),b=s(Wc);if(b){if(h(),!s(Yc))return o("property missing ':'");var C=s(Xc),w=v({type:Jc,property:Ya(b[0].replace(Va,fr)),value:C?Ya(C[0].replace(Va,fr)):fr});return s($c),w}}function p(){var v=[];f(v);for(var b;b=d();)b!==!1&&(v.push(b),f(v));return v}return u(),p()};function Ya(e){return e?e.replace(Kc,fr):fr}var t1=hn&&hn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bi,"__esModule",{value:!0}),bi.default=n1;var r1=t1(e1);function n1(e,t){var r=null;if(!e||typeof e!="string")return r;var n=(0,r1.default)(e),i=typeof t=="function";return n.forEach(function(a){if(a.type==="declaration"){var l=a.property,o=a.value;i?t(l,o,a):o&&(r=r||{},r[l]=o)}}),r}var dn={};Object.defineProperty(dn,"__esModule",{value:!0}),dn.camelCase=void 0;var i1=/^--[a-zA-Z0-9_-]+$/,a1=/-([a-z])/g,l1=/^[^-]+$/,o1=/^-(webkit|moz|ms|o|khtml)-/,s1=/^-(ms)-/,u1=function(e){return!e||l1.test(e)||i1.test(e)},c1=function(e,t){return t.toUpperCase()},Xa=function(e,t){return"".concat(t,"-")},h1=function(e,t){return t===void 0&&(t={}),u1(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(s1,Xa):e=e.replace(o1,Xa),e.replace(a1,c1))};dn.camelCase=h1;var f1=hn&&hn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},m1=f1(bi),p1=dn;function xi(e,t){var r={};return!e||typeof e!="string"||(0,m1.default)(e,function(n,i){n&&i&&(r[(0,p1.camelCase)(n,t)]=i)}),r}xi.default=xi;var d1=xi;const g1=ii(d1),$a=Ka("end"),wi=Ka("start");function Ka(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function v1(e){const t=wi(e),r=$a(e);if(t&&r)return{start:t,end:r}}function Wr(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?ki(e):""}function ki(e){return Za(e&&e.line)+":"+Za(e&&e.column)}function Qa(e){return ki(e&&e.start)+"-"+ki(e&&e.end)}function Za(e){return e&&typeof e=="number"?e:1}class Ke extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},l=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof t=="string"?i=t:!a.cause&&t&&(l=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof n=="string"){const s=n.indexOf(":");s===-1?a.ruleId=n:(a.source=n.slice(0,s),a.ruleId=n.slice(s+1))}if(!a.place&&a.ancestors&&a.ancestors){const s=a.ancestors[a.ancestors.length-1];s&&(a.place=s.position)}const o=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=o?o.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=o?o.line:void 0,this.name=Wr(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=l&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}Ke.prototype.file="",Ke.prototype.name="",Ke.prototype.reason="",Ke.prototype.message="",Ke.prototype.stack="",Ke.prototype.column=void 0,Ke.prototype.line=void 0,Ke.prototype.ancestors=void 0,Ke.prototype.cause=void 0,Ke.prototype.fatal=void 0,Ke.prototype.place=void 0,Ke.prototype.ruleId=void 0,Ke.prototype.source=void 0;const Si={}.hasOwnProperty,y1=new Map,b1=/[A-Z]/g,x1=new Set(["table","tbody","thead","tfoot","tr"]),w1=new Set(["td","th"]),Ja="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function k1(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=I1(r,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");n=z1(r,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?pn:qa,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=el(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function el(e,t,r){if(t.type==="element")return S1(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return T1(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return E1(e,t,r);if(t.type==="mdxjsEsm")return A1(e,t);if(t.type==="root")return C1(e,t,r);if(t.type==="text")return M1(e,t)}function S1(e,t,r){const n=e.schema;let i=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(i=pn,e.schema=i),e.ancestors.push(t);const a=rl(e,t.tagName,!1),l=N1(e,t);let o=Ai(e,t);return x1.has(t.tagName)&&(o=o.filter(function(s){return typeof s=="string"?!Dc(s):!0})),tl(e,l,a,t),Ti(l,o),e.ancestors.pop(),e.schema=n,e.create(t,a,l,r)}function T1(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}Yr(e,t.position)}function A1(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Yr(e,t.position)}function E1(e,t,r){const n=e.schema;let i=n;t.name==="svg"&&n.space==="html"&&(i=pn,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:rl(e,t.name,!0),l=O1(e,t),o=Ai(e,t);return tl(e,l,a,t),Ti(l,o),e.ancestors.pop(),e.schema=n,e.create(t,a,l,r)}function C1(e,t,r){const n={};return Ti(n,Ai(e,t)),e.create(t,e.Fragment,n,r)}function M1(e,t){return t.value}function tl(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function Ti(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function z1(e,t,r){return n;function n(i,a,l,o){const u=Array.isArray(l.children)?r:t;return o?u(a,l,o):u(a,l)}}function I1(e,t){return r;function r(n,i,a,l){const o=Array.isArray(a.children),s=wi(n);return t(i,a,l,o,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function N1(e,t){const r={};let n,i;for(i in t.properties)if(i!=="children"&&Si.call(t.properties,i)){const a=R1(e,i,t.properties[i]);if(a){const[l,o]=a;e.tableCellAlignToStyle&&l==="align"&&typeof o=="string"&&w1.has(t.tagName)?n=o:r[l]=o}}if(n){const a=r.style||(r.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function O1(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const a=n.data.estree.body[0];a.type;const l=a.expression;l.type;const o=l.properties[0];o.type,Object.assign(r,e.evaluater.evaluateExpression(o.argument))}else Yr(e,t.position);else{const i=n.name;let a;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const o=n.value.data.estree.body[0];o.type,a=e.evaluater.evaluateExpression(o.expression)}else Yr(e,t.position);else a=n.value===null?!0:n.value;r[i]=a}return r}function Ai(e,t){const r=[];let n=-1;const i=e.passKeys?new Map:y1;for(;++n<t.children.length;){const a=t.children[n];let l;if(e.passKeys){const s=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(s){const u=i.get(s)||0;l=s+"-"+u,i.set(s,u+1)}}const o=el(e,a,l);o!==void 0&&r.push(o)}return r}function R1(e,t,r){const n=ja(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?zc(r):Uc(r)),n.property==="style"){let i=typeof r=="object"?r:D1(e,String(r));return e.stylePropertyNameCase==="css"&&(i=L1(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&n.space?Pc[n.property]||n.property:n.attribute,r]}}function D1(e,t){try{return g1(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,i=new Ke("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Ja+"#cannot-parse-style-attribute",i}}function rl(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,l;for(;++a<i.length;){const o=Ia(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};l=l?{type:"MemberExpression",object:l,property:o,computed:!!(a&&o.type==="Literal"),optional:!1}:o}n=l}else n=Ia(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const i=n.value;return Si.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(n);Yr(e)}function Yr(e,t){const r=new Ke("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Ja+"#cannot-handle-mdx-estrees-without-createevaluater",r}function L1(e){const t={};let r;for(r in e)Si.call(e,r)&&(t[B1(r)]=e[r]);return t}function B1(e){let t=e.replace(b1,F1);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function F1(e){return"-"+e.toLowerCase()}const Ei={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},P1={};function Ci(e,t){const r=P1,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return nl(e,n,i)}function nl(e,t,r){if(_1(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return il(e.children,t,r)}return Array.isArray(e)?il(e,t,r):""}function il(e,t,r){const n=[];let i=-1;for(;++i<e.length;)n[i]=nl(e[i],t,r);return n.join("")}function _1(e){return!!(e&&typeof e=="object")}const al=document.createElement("i");function Mi(e){const t="&"+e+";";al.innerHTML=t;const r=al.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function mt(e,t,r,n){const i=e.length;let a=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)l=Array.from(n),l.unshift(t,r),e.splice(...l);else for(r&&e.splice(t,r);a<n.length;)l=n.slice(a,a+1e4),l.unshift(t,0),e.splice(...l),a+=1e4,t+=1e4}function vt(e,t){return e.length>0?(mt(e,e.length,0,t),e):t}const ll={}.hasOwnProperty;function ol(e){const t={};let r=-1;for(;++r<e.length;)H1(t,e[r]);return t}function H1(e,t){let r;for(r in t){const i=(ll.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];let l;if(a)for(l in a){ll.call(i,l)||(i[l]=[]);const o=a[l];j1(i[l],Array.isArray(o)?o:o?[o]:[])}}}function j1(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);mt(e,0,0,n)}function sl(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function Tt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ze=Qt(/[A-Za-z]/),Qe=Qt(/[\dA-Za-z]/),q1=Qt(/[#-'*+\--9=?A-Z^-~]/);function gn(e){return e!==null&&(e<32||e===127)}const zi=Qt(/\d/),U1=Qt(/[\dA-Fa-f]/),V1=Qt(/[!-/:-@[-`{-~]/);function ee(e){return e!==null&&e<-2}function Se(e){return e!==null&&(e<0||e===32)}function me(e){return e===-2||e===-1||e===32}const vn=Qt(new RegExp("\\p{P}|\\p{S}","u")),mr=Qt(/\s/);function Qt(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function Cr(e){const t=[];let r=-1,n=0,i=0;for(;++r<e.length;){const a=e.charCodeAt(r);let l="";if(a===37&&Qe(e.charCodeAt(r+1))&&Qe(e.charCodeAt(r+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(l=String.fromCharCode(a));else if(a>55295&&a<57344){const o=e.charCodeAt(r+1);a<56320&&o>56319&&o<57344?(l=String.fromCharCode(a,o),i=1):l="�"}else l=String.fromCharCode(a);l&&(t.push(e.slice(n,r),encodeURIComponent(l)),n=r+i+1,l=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}function fe(e,t,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return l;function l(s){return me(s)?(e.enter(r),o(s)):t(s)}function o(s){return me(s)&&a++<i?(e.consume(s),o):(e.exit(r),t(s))}}const G1={tokenize:W1};function W1(e){const t=e.attempt(this.parser.constructs.contentInitial,n,i);let r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),fe(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){const s=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=s),r=s,l(o)}function l(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return ee(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),l)}}const Y1={tokenize:X1},ul={tokenize:$1};function X1(e){const t=this,r=[];let n=0,i,a,l;return o;function o(z){if(n<r.length){const D=r[n];return t.containerState=D[1],e.attempt(D[0].continuation,s,u)(z)}return u(z)}function s(z){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&A();const D=t.events.length;let L=D,I;for(;L--;)if(t.events[L][0]==="exit"&&t.events[L][1].type==="chunkFlow"){I=t.events[L][1].end;break}w(n);let P=D;for(;P<t.events.length;)t.events[P][1].end={...I},P++;return mt(t.events,L+1,0,t.events.slice(D)),t.events.length=P,u(z)}return o(z)}function u(z){if(n===r.length){if(!i)return d(z);if(i.currentConstruct&&i.currentConstruct.concrete)return v(z);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(ul,f,h)(z)}function f(z){return i&&A(),w(n),d(z)}function h(z){return t.parser.lazy[t.now().line]=n!==r.length,l=t.now().offset,v(z)}function d(z){return t.containerState={},e.attempt(ul,p,v)(z)}function p(z){return n++,r.push([t.currentConstruct,t.containerState]),d(z)}function v(z){if(z===null){i&&A(),w(0),e.consume(z);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),b(z)}function b(z){if(z===null){C(e.exit("chunkFlow"),!0),w(0),e.consume(z);return}return ee(z)?(e.consume(z),C(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(z),b)}function C(z,D){const L=t.sliceStream(z);if(D&&L.push(null),z.previous=a,a&&(a.next=z),a=z,i.defineSkip(z.start),i.write(L),t.parser.lazy[z.start.line]){let I=i.events.length;for(;I--;)if(i.events[I][1].start.offset<l&&(!i.events[I][1].end||i.events[I][1].end.offset>l))return;const P=t.events.length;let X=P,H,N;for(;X--;)if(t.events[X][0]==="exit"&&t.events[X][1].type==="chunkFlow"){if(H){N=t.events[X][1].end;break}H=!0}for(w(n),I=P;I<t.events.length;)t.events[I][1].end={...N},I++;mt(t.events,X+1,0,t.events.slice(P)),t.events.length=I}}function w(z){let D=r.length;for(;D-- >z;){const L=r[D];t.containerState=L[1],L[0].exit.call(t,e)}r.length=z}function A(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function $1(e,t,r){return fe(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Mr(e){if(e===null||Se(e)||mr(e))return 1;if(vn(e))return 2}function yn(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}const Ii={name:"attention",resolveAll:K1,tokenize:Q1};function K1(e,t){let r=-1,n,i,a,l,o,s,u,f;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const h={...e[n][1].end},d={...e[r][1].start};cl(h,-s),cl(d,s),l={type:s>1?"strongSequence":"emphasisSequence",start:h,end:{...e[n][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:d},a={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},i={type:s>1?"strong":"emphasis",start:{...l.start},end:{...o.end}},e[n][1].end={...l.start},e[r][1].start={...o.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=vt(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=vt(u,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",a,t]]),u=vt(u,yn(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),u=vt(u,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(f=2,u=vt(u,[["enter",e[r][1],t],["exit",e[r][1],t]])):f=0,mt(e,n-1,r-n+3,u),r=n+u.length-f-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function Q1(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=Mr(n);let a;return l;function l(s){return a=s,e.enter("attentionSequence"),o(s)}function o(s){if(s===a)return e.consume(s),o;const u=e.exit("attentionSequence"),f=Mr(s),h=!f||f===2&&i||r.includes(s),d=!i||i===2&&f||r.includes(n);return u._open=!!(a===42?h:h&&(i||!d)),u._close=!!(a===42?d:d&&(f||!h)),t(s)}}function cl(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Z1={name:"autolink",tokenize:J1};function J1(e,t,r){let n=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(p){return Ze(p)?(e.consume(p),l):p===64?r(p):u(p)}function l(p){return p===43||p===45||p===46||Qe(p)?(n=1,o(p)):u(p)}function o(p){return p===58?(e.consume(p),n=0,s):(p===43||p===45||p===46||Qe(p))&&n++<32?(e.consume(p),o):(n=0,u(p))}function s(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||gn(p)?r(p):(e.consume(p),s)}function u(p){return p===64?(e.consume(p),f):q1(p)?(e.consume(p),u):r(p)}function f(p){return Qe(p)?h(p):r(p)}function h(p){return p===46?(e.consume(p),n=0,f):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):d(p)}function d(p){if((p===45||Qe(p))&&n++<63){const v=p===45?d:h;return e.consume(p),v}return r(p)}}const Xr={partial:!0,tokenize:eh};function eh(e,t,r){return n;function n(a){return me(a)?fe(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||ee(a)?t(a):r(a)}}const hl={continuation:{tokenize:rh},exit:nh,name:"blockQuote",tokenize:th};function th(e,t,r){const n=this;return i;function i(l){if(l===62){const o=n.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),a}return r(l)}function a(l){return me(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function rh(e,t,r){const n=this;return i;function i(l){return me(l)?fe(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):a(l)}function a(l){return e.attempt(hl,t,r)(l)}}function nh(e){e.exit("blockQuote")}const fl={name:"characterEscape",tokenize:ih};function ih(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return V1(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}const ml={name:"characterReference",tokenize:ah};function ah(e,t,r){const n=this;let i=0,a,l;return o;function o(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),s}function s(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,l=Qe,f(h))}function u(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,l=U1,f):(e.enter("characterReferenceValue"),a=7,l=zi,f(h))}function f(h){if(h===59&&i){const d=e.exit("characterReferenceValue");return l===Qe&&!Mi(n.sliceSerialize(d))?r(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(h)&&i++<a?(e.consume(h),f):r(h)}}const pl={partial:!0,tokenize:oh},dl={concrete:!0,name:"codeFenced",tokenize:lh};function lh(e,t,r){const n=this,i={partial:!0,tokenize:L};let a=0,l=0,o;return s;function s(I){return u(I)}function u(I){const P=n.events[n.events.length-1];return a=P&&P[1].type==="linePrefix"?P[2].sliceSerialize(P[1],!0).length:0,o=I,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(I)}function f(I){return I===o?(l++,e.consume(I),f):l<3?r(I):(e.exit("codeFencedFenceSequence"),me(I)?fe(e,h,"whitespace")(I):h(I))}function h(I){return I===null||ee(I)?(e.exit("codeFencedFence"),n.interrupt?t(I):e.check(pl,b,D)(I)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(I))}function d(I){return I===null||ee(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(I)):me(I)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),fe(e,p,"whitespace")(I)):I===96&&I===o?r(I):(e.consume(I),d)}function p(I){return I===null||ee(I)?h(I):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),v(I))}function v(I){return I===null||ee(I)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(I)):I===96&&I===o?r(I):(e.consume(I),v)}function b(I){return e.attempt(i,D,C)(I)}function C(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),w}function w(I){return a>0&&me(I)?fe(e,A,"linePrefix",a+1)(I):A(I)}function A(I){return I===null||ee(I)?e.check(pl,b,D)(I):(e.enter("codeFlowValue"),z(I))}function z(I){return I===null||ee(I)?(e.exit("codeFlowValue"),A(I)):(e.consume(I),z)}function D(I){return e.exit("codeFenced"),t(I)}function L(I,P,X){let H=0;return N;function N(Q){return I.enter("lineEnding"),I.consume(Q),I.exit("lineEnding"),V}function V(Q){return I.enter("codeFencedFence"),me(Q)?fe(I,G,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):G(Q)}function G(Q){return Q===o?(I.enter("codeFencedFenceSequence"),le(Q)):X(Q)}function le(Q){return Q===o?(H++,I.consume(Q),le):H>=l?(I.exit("codeFencedFenceSequence"),me(Q)?fe(I,re,"whitespace")(Q):re(Q)):X(Q)}function re(Q){return Q===null||ee(Q)?(I.exit("codeFencedFence"),P(Q)):X(Q)}}}function oh(e,t,r){const n=this;return i;function i(l){return l===null?r(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a)}function a(l){return n.parser.lazy[n.now().line]?r(l):t(l)}}const Ni={name:"codeIndented",tokenize:uh},sh={partial:!0,tokenize:ch};function uh(e,t,r){const n=this;return i;function i(u){return e.enter("codeIndented"),fe(e,a,"linePrefix",5)(u)}function a(u){const f=n.events[n.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?l(u):r(u)}function l(u){return u===null?s(u):ee(u)?e.attempt(sh,l,s)(u):(e.enter("codeFlowValue"),o(u))}function o(u){return u===null||ee(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),o)}function s(u){return e.exit("codeIndented"),t(u)}}function ch(e,t,r){const n=this;return i;function i(l){return n.parser.lazy[n.now().line]?r(l):ee(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):fe(e,a,"linePrefix",5)(l)}function a(l){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(l):ee(l)?i(l):r(l)}}const hh={name:"codeText",previous:mh,resolve:fh,tokenize:ph};function fh(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function mh(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ph(e,t,r){let n=0,i,a;return l;function l(h){return e.enter("codeText"),e.enter("codeTextSequence"),o(h)}function o(h){return h===96?(e.consume(h),n++,o):(e.exit("codeTextSequence"),s(h))}function s(h){return h===null?r(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),s):h===96?(a=e.enter("codeTextSequence"),i=0,f(h)):ee(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),s):(e.enter("codeTextData"),u(h))}function u(h){return h===null||h===32||h===96||ee(h)?(e.exit("codeTextData"),s(h)):(e.consume(h),u)}function f(h){return h===96?(e.consume(h),i++,f):i===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(a.type="codeTextData",u(h))}}class dh{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,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const i=r||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&$r(this.left,n),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),$r(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),$r(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 r=this.left.splice(t,Number.POSITIVE_INFINITY);$r(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);$r(this.left,r.reverse())}}}function $r(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function gl(e){const t={};let r=-1,n,i,a,l,o,s,u;const f=new dh(e);for(;++r<f.length;){for(;r in t;)r=t[r];if(n=f.get(r),r&&n[1].type==="chunkFlow"&&f.get(r-1)[1].type==="listItemPrefix"&&(s=n[1]._tokenizer.events,a=0,a<s.length&&s[a][1].type==="lineEndingBlank"&&(a+=2),a<s.length&&s[a][1].type==="content"))for(;++a<s.length&&s[a][1].type!=="content";)s[a][1].type==="chunkText"&&(s[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,gh(f,r)),r=t[r],u=!0);else if(n[1]._container){for(a=r,i=void 0;a--;)if(l=f.get(a),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=a);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(n[1].end={...f.get(i)[1].start},o=f.slice(i,r),o.unshift(n),f.splice(i,r-i+1,o))}}return mt(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!u}function gh(e,t){const r=e.get(t)[1],n=e.get(t)[2];let i=t-1;const a=[];let l=r._tokenizer;l||(l=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const o=l.events,s=[],u={};let f,h,d=-1,p=r,v=0,b=0;const C=[b];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(f=n.sliceStream(p),p.next||f.push(null),h&&l.defineSkip(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(f),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),h=p,p=p.next}for(p=r;++d<o.length;)o[d][0]==="exit"&&o[d-1][0]==="enter"&&o[d][1].type===o[d-1][1].type&&o[d][1].start.line!==o[d][1].end.line&&(b=d+1,C.push(b),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):C.pop(),d=C.length;d--;){const w=o.slice(C[d],C[d+1]),A=a.pop();s.push([A,A+w.length-1]),e.splice(A,2,w)}for(s.reverse(),d=-1;++d<s.length;)u[v+s[d][0]]=v+s[d][1],v+=s[d][1]-s[d][0]-1;return u}const vh={resolve:bh,tokenize:xh},yh={partial:!0,tokenize:wh};function bh(e){return gl(e),e}function xh(e,t){let r;return n;function n(o){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):ee(o)?e.check(yh,l,a)(o):(e.consume(o),i)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function l(o){return e.consume(o),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function wh(e,t,r){const n=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),fe(e,a,"linePrefix")}function a(l){if(l===null||ee(l))return r(l);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(l):e.interrupt(n.parser.constructs.flow,r,t)(l)}}function vl(e,t,r,n,i,a,l,o,s){const u=s||Number.POSITIVE_INFINITY;let f=0;return h;function h(w){return w===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(w),e.exit(a),d):w===null||w===32||w===41||gn(w)?r(w):(e.enter(n),e.enter(l),e.enter(o),e.enter("chunkString",{contentType:"string"}),b(w))}function d(w){return w===62?(e.enter(a),e.consume(w),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===62?(e.exit("chunkString"),e.exit(o),d(w)):w===null||w===60||ee(w)?r(w):(e.consume(w),w===92?v:p)}function v(w){return w===60||w===62||w===92?(e.consume(w),p):p(w)}function b(w){return!f&&(w===null||w===41||Se(w))?(e.exit("chunkString"),e.exit(o),e.exit(l),e.exit(n),t(w)):f<u&&w===40?(e.consume(w),f++,b):w===41?(e.consume(w),f--,b):w===null||w===32||w===40||gn(w)?r(w):(e.consume(w),w===92?C:b)}function C(w){return w===40||w===41||w===92?(e.consume(w),b):b(w)}}function yl(e,t,r,n,i,a){const l=this;let o=0,s;return u;function u(p){return e.enter(n),e.enter(i),e.consume(p),e.exit(i),e.enter(a),f}function f(p){return o>999||p===null||p===91||p===93&&!s||p===94&&!o&&"_hiddenFootnoteSupport"in l.parser.constructs?r(p):p===93?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(n),t):ee(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||ee(p)||o++>999?(e.exit("chunkString"),f(p)):(e.consume(p),s||(s=!me(p)),p===92?d:h)}function d(p){return p===91||p===92||p===93?(e.consume(p),o++,h):h(p)}}function bl(e,t,r,n,i,a){let l;return o;function o(d){return d===34||d===39||d===40?(e.enter(n),e.enter(i),e.consume(d),e.exit(i),l=d===40?41:d,s):r(d)}function s(d){return d===l?(e.enter(i),e.consume(d),e.exit(i),e.exit(n),t):(e.enter(a),u(d))}function u(d){return d===l?(e.exit(a),s(l)):d===null?r(d):ee(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),fe(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===l||d===null||ee(d)?(e.exit("chunkString"),u(d)):(e.consume(d),d===92?h:f)}function h(d){return d===l||d===92?(e.consume(d),f):f(d)}}function Kr(e,t){let r;return n;function n(i){return ee(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):me(i)?fe(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}const kh={name:"definition",tokenize:Th},Sh={partial:!0,tokenize:Ah};function Th(e,t,r){const n=this;let i;return a;function a(p){return e.enter("definition"),l(p)}function l(p){return yl.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return i=Tt(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),s):r(p)}function s(p){return Se(p)?Kr(e,u)(p):u(p)}function u(p){return vl(e,f,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(Sh,h,h)(p)}function h(p){return me(p)?fe(e,d,"whitespace")(p):d(p)}function d(p){return p===null||ee(p)?(e.exit("definition"),n.parser.defined.push(i),t(p)):r(p)}}function Ah(e,t,r){return n;function n(o){return Se(o)?Kr(e,i)(o):r(o)}function i(o){return bl(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return me(o)?fe(e,l,"whitespace")(o):l(o)}function l(o){return o===null||ee(o)?t(o):r(o)}}const Eh={name:"hardBreakEscape",tokenize:Ch};function Ch(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return ee(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}const Mh={name:"headingAtx",resolve:zh,tokenize:Ih};function zh(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},mt(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Ih(e,t,r){let n=0;return i;function i(f){return e.enter("atxHeading"),a(f)}function a(f){return e.enter("atxHeadingSequence"),l(f)}function l(f){return f===35&&n++<6?(e.consume(f),l):f===null||Se(f)?(e.exit("atxHeadingSequence"),o(f)):r(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),s(f)):f===null||ee(f)?(e.exit("atxHeading"),t(f)):me(f)?fe(e,o,"whitespace")(f):(e.enter("atxHeadingText"),u(f))}function s(f){return f===35?(e.consume(f),s):(e.exit("atxHeadingSequence"),o(f))}function u(f){return f===null||f===35||Se(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),u)}}const Nh=["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"],xl=["pre","script","style","textarea"],Oh={concrete:!0,name:"htmlFlow",resolveTo:Lh,tokenize:Bh},Rh={partial:!0,tokenize:Ph},Dh={partial:!0,tokenize:Fh};function Lh(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 Bh(e,t,r){const n=this;let i,a,l,o,s;return u;function u(E){return f(E)}function f(E){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(E),h}function h(E){return E===33?(e.consume(E),d):E===47?(e.consume(E),a=!0,b):E===63?(e.consume(E),i=3,n.interrupt?t:S):Ze(E)?(e.consume(E),l=String.fromCharCode(E),C):r(E)}function d(E){return E===45?(e.consume(E),i=2,p):E===91?(e.consume(E),i=5,o=0,v):Ze(E)?(e.consume(E),i=4,n.interrupt?t:S):r(E)}function p(E){return E===45?(e.consume(E),n.interrupt?t:S):r(E)}function v(E){const He="CDATA[";return E===He.charCodeAt(o++)?(e.consume(E),o===He.length?n.interrupt?t:G:v):r(E)}function b(E){return Ze(E)?(e.consume(E),l=String.fromCharCode(E),C):r(E)}function C(E){if(E===null||E===47||E===62||Se(E)){const He=E===47,Ge=l.toLowerCase();return!He&&!a&&xl.includes(Ge)?(i=1,n.interrupt?t(E):G(E)):Nh.includes(l.toLowerCase())?(i=6,He?(e.consume(E),w):n.interrupt?t(E):G(E)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(E):a?A(E):z(E))}return E===45||Qe(E)?(e.consume(E),l+=String.fromCharCode(E),C):r(E)}function w(E){return E===62?(e.consume(E),n.interrupt?t:G):r(E)}function A(E){return me(E)?(e.consume(E),A):N(E)}function z(E){return E===47?(e.consume(E),N):E===58||E===95||Ze(E)?(e.consume(E),D):me(E)?(e.consume(E),z):N(E)}function D(E){return E===45||E===46||E===58||E===95||Qe(E)?(e.consume(E),D):L(E)}function L(E){return E===61?(e.consume(E),I):me(E)?(e.consume(E),L):z(E)}function I(E){return E===null||E===60||E===61||E===62||E===96?r(E):E===34||E===39?(e.consume(E),s=E,P):me(E)?(e.consume(E),I):X(E)}function P(E){return E===s?(e.consume(E),s=null,H):E===null||ee(E)?r(E):(e.consume(E),P)}function X(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||Se(E)?L(E):(e.consume(E),X)}function H(E){return E===47||E===62||me(E)?z(E):r(E)}function N(E){return E===62?(e.consume(E),V):r(E)}function V(E){return E===null||ee(E)?G(E):me(E)?(e.consume(E),V):r(E)}function G(E){return E===45&&i===2?(e.consume(E),he):E===60&&i===1?(e.consume(E),de):E===62&&i===4?(e.consume(E),Me):E===63&&i===3?(e.consume(E),S):E===93&&i===5?(e.consume(E),Ve):ee(E)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Rh,ke,le)(E)):E===null||ee(E)?(e.exit("htmlFlowData"),le(E)):(e.consume(E),G)}function le(E){return e.check(Dh,re,ke)(E)}function re(E){return e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),Q}function Q(E){return E===null||ee(E)?le(E):(e.enter("htmlFlowData"),G(E))}function he(E){return E===45?(e.consume(E),S):G(E)}function de(E){return E===47?(e.consume(E),l="",Ie):G(E)}function Ie(E){if(E===62){const He=l.toLowerCase();return xl.includes(He)?(e.consume(E),Me):G(E)}return Ze(E)&&l.length<8?(e.consume(E),l+=String.fromCharCode(E),Ie):G(E)}function Ve(E){return E===93?(e.consume(E),S):G(E)}function S(E){return E===62?(e.consume(E),Me):E===45&&i===2?(e.consume(E),S):G(E)}function Me(E){return E===null||ee(E)?(e.exit("htmlFlowData"),ke(E)):(e.consume(E),Me)}function ke(E){return e.exit("htmlFlow"),t(E)}}function Fh(e,t,r){const n=this;return i;function i(l){return ee(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):r(l)}function a(l){return n.parser.lazy[n.now().line]?r(l):t(l)}}function Ph(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Xr,t,r)}}const _h={name:"htmlText",tokenize:Hh};function Hh(e,t,r){const n=this;let i,a,l;return o;function o(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),s}function s(S){return S===33?(e.consume(S),u):S===47?(e.consume(S),L):S===63?(e.consume(S),z):Ze(S)?(e.consume(S),X):r(S)}function u(S){return S===45?(e.consume(S),f):S===91?(e.consume(S),a=0,v):Ze(S)?(e.consume(S),A):r(S)}function f(S){return S===45?(e.consume(S),p):r(S)}function h(S){return S===null?r(S):S===45?(e.consume(S),d):ee(S)?(l=h,de(S)):(e.consume(S),h)}function d(S){return S===45?(e.consume(S),p):h(S)}function p(S){return S===62?he(S):S===45?d(S):h(S)}function v(S){const Me="CDATA[";return S===Me.charCodeAt(a++)?(e.consume(S),a===Me.length?b:v):r(S)}function b(S){return S===null?r(S):S===93?(e.consume(S),C):ee(S)?(l=b,de(S)):(e.consume(S),b)}function C(S){return S===93?(e.consume(S),w):b(S)}function w(S){return S===62?he(S):S===93?(e.consume(S),w):b(S)}function A(S){return S===null||S===62?he(S):ee(S)?(l=A,de(S)):(e.consume(S),A)}function z(S){return S===null?r(S):S===63?(e.consume(S),D):ee(S)?(l=z,de(S)):(e.consume(S),z)}function D(S){return S===62?he(S):z(S)}function L(S){return Ze(S)?(e.consume(S),I):r(S)}function I(S){return S===45||Qe(S)?(e.consume(S),I):P(S)}function P(S){return ee(S)?(l=P,de(S)):me(S)?(e.consume(S),P):he(S)}function X(S){return S===45||Qe(S)?(e.consume(S),X):S===47||S===62||Se(S)?H(S):r(S)}function H(S){return S===47?(e.consume(S),he):S===58||S===95||Ze(S)?(e.consume(S),N):ee(S)?(l=H,de(S)):me(S)?(e.consume(S),H):he(S)}function N(S){return S===45||S===46||S===58||S===95||Qe(S)?(e.consume(S),N):V(S)}function V(S){return S===61?(e.consume(S),G):ee(S)?(l=V,de(S)):me(S)?(e.consume(S),V):H(S)}function G(S){return S===null||S===60||S===61||S===62||S===96?r(S):S===34||S===39?(e.consume(S),i=S,le):ee(S)?(l=G,de(S)):me(S)?(e.consume(S),G):(e.consume(S),re)}function le(S){return S===i?(e.consume(S),i=void 0,Q):S===null?r(S):ee(S)?(l=le,de(S)):(e.consume(S),le)}function re(S){return S===null||S===34||S===39||S===60||S===61||S===96?r(S):S===47||S===62||Se(S)?H(S):(e.consume(S),re)}function Q(S){return S===47||S===62||Se(S)?H(S):r(S)}function he(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):r(S)}function de(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),Ie}function Ie(S){return me(S)?fe(e,Ve,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):Ve(S)}function Ve(S){return e.enter("htmlTextData"),l(S)}}const Oi={name:"labelEnd",resolveAll:Vh,resolveTo:Gh,tokenize:Wh},jh={tokenize:Yh},qh={tokenize:Xh},Uh={tokenize:$h};function Vh(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const i=n.type==="labelImage"?4:2;n.type="data",t+=i}}return e.length!==r.length&&mt(e,0,e.length,r),e}function Gh(e,t){let r=e.length,n=0,i,a,l,o;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(l=r);const s={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[a][1].start},end:{...e[l][1].end}},f={type:"labelText",start:{...e[a+n+2][1].end},end:{...e[l-2][1].start}};return o=[["enter",s,t],["enter",u,t]],o=vt(o,e.slice(a+1,a+n+3)),o=vt(o,[["enter",f,t]]),o=vt(o,yn(t.parser.constructs.insideSpan.null,e.slice(a+n+4,l-3),t)),o=vt(o,[["exit",f,t],e[l-2],e[l-1],["exit",u,t]]),o=vt(o,e.slice(l+1)),o=vt(o,[["exit",s,t]]),mt(e,a,e.length,o),e}function Wh(e,t,r){const n=this;let i=n.events.length,a,l;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return o;function o(d){return a?a._inactive?h(d):(l=n.parser.defined.includes(Tt(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),s):r(d)}function s(d){return d===40?e.attempt(jh,f,l?f:h)(d):d===91?e.attempt(qh,f,l?u:h)(d):l?f(d):h(d)}function u(d){return e.attempt(Uh,f,h)(d)}function f(d){return t(d)}function h(d){return a._balanced=!0,r(d)}}function Yh(e,t,r){return n;function n(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return Se(h)?Kr(e,a)(h):a(h)}function a(h){return h===41?f(h):vl(e,l,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function l(h){return Se(h)?Kr(e,s)(h):f(h)}function o(h){return r(h)}function s(h){return h===34||h===39||h===40?bl(e,u,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):f(h)}function u(h){return Se(h)?Kr(e,f)(h):f(h)}function f(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):r(h)}}function Xh(e,t,r){const n=this;return i;function i(o){return yl.call(n,e,a,l,"reference","referenceMarker","referenceString")(o)}function a(o){return n.parser.defined.includes(Tt(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(o):r(o)}function l(o){return r(o)}}function $h(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}const Kh={name:"labelStartImage",resolveAll:Oi.resolveAll,tokenize:Qh};function Qh(e,t,r){const n=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),a}function a(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),l):r(o)}function l(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}const Zh={name:"labelStartLink",resolveAll:Oi.resolveAll,tokenize:Jh};function Jh(e,t,r){const n=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),a}function a(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(l):t(l)}}const Ri={name:"lineEnding",tokenize:ef};function ef(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),fe(e,t,"linePrefix")}}const bn={name:"thematicBreak",tokenize:tf};function tf(e,t,r){let n=0,i;return a;function a(u){return e.enter("thematicBreak"),l(u)}function l(u){return i=u,o(u)}function o(u){return u===i?(e.enter("thematicBreakSequence"),s(u)):n>=3&&(u===null||ee(u))?(e.exit("thematicBreak"),t(u)):r(u)}function s(u){return u===i?(e.consume(u),n++,s):(e.exit("thematicBreakSequence"),me(u)?fe(e,o,"whitespace")(u):o(u))}}const lt={continuation:{tokenize:lf},exit:sf,name:"list",tokenize:af},rf={partial:!0,tokenize:uf},nf={partial:!0,tokenize:of};function af(e,t,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return o;function o(p){const v=n.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(v==="listUnordered"?!n.containerState.marker||p===n.containerState.marker:zi(p)){if(n.containerState.type||(n.containerState.type=v,e.enter(v,{_container:!0})),v==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(bn,r,u)(p):u(p);if(!n.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(p)}return r(p)}function s(p){return zi(p)&&++l<10?(e.consume(p),s):(!n.interrupt||l<2)&&(n.containerState.marker?p===n.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):r(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||p,e.check(Xr,n.interrupt?r:f,e.attempt(rf,d,h))}function f(p){return n.containerState.initialBlankLine=!0,a++,d(p)}function h(p){return me(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),d):r(p)}function d(p){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function lf(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(Xr,i,a);function i(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,fe(e,t,"listItemIndent",n.containerState.size+1)(o)}function a(o){return n.containerState.furtherBlankLines||!me(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,l(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(nf,t,l)(o))}function l(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,fe(e,e.attempt(lt,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function of(e,t,r){const n=this;return fe(e,i,"listItemIndent",n.containerState.size+1);function i(a){const l=n.events[n.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===n.containerState.size?t(a):r(a)}}function sf(e){e.exit(this.containerState.type)}function uf(e,t,r){const n=this;return fe(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const l=n.events[n.events.length-1];return!me(a)&&l&&l[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}const wl={name:"setextUnderline",resolveTo:cf,tokenize:hf};function cf(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);const l={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",l,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end={...e[a][1].end}):e[n][1]=l,e.push(["exit",l,t]),e}function hf(e,t,r){const n=this;let i;return a;function a(u){let f=n.events.length,h;for(;f--;)if(n.events[f][1].type!=="lineEnding"&&n.events[f][1].type!=="linePrefix"&&n.events[f][1].type!=="content"){h=n.events[f][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||h)?(e.enter("setextHeadingLine"),i=u,l(u)):r(u)}function l(u){return e.enter("setextHeadingLineSequence"),o(u)}function o(u){return u===i?(e.consume(u),o):(e.exit("setextHeadingLineSequence"),me(u)?fe(e,s,"lineSuffix")(u):s(u))}function s(u){return u===null||ee(u)?(e.exit("setextHeadingLine"),t(u)):r(u)}}const ff={tokenize:mf};function mf(e){const t=this,r=e.attempt(Xr,n,e.attempt(this.parser.constructs.flowInitial,i,fe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(vh,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const pf={resolveAll:Sl()},df=kl("string"),gf=kl("text");function kl(e){return{resolveAll:Sl(e==="text"?vf:void 0),tokenize:t};function t(r){const n=this,i=this.parser.constructs[e],a=r.attempt(i,l,o);return l;function l(f){return u(f)?a(f):o(f)}function o(f){if(f===null){r.consume(f);return}return r.enter("data"),r.consume(f),s}function s(f){return u(f)?(r.exit("data"),a(f)):(r.consume(f),s)}function u(f){if(f===null)return!0;const h=i[f];let d=-1;if(h)for(;++d<h.length;){const p=h[d];if(!p.previous||p.previous.call(n,n.previous))return!0}return!1}}}function Sl(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function vf(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],i=t.sliceStream(n);let a=i.length,l=-1,o=0,s;for(;a--;){const u=i[a];if(typeof u=="string"){for(l=u.length;u.charCodeAt(l-1)===32;)o++,l--;if(l)break;l=-1}else if(u===-2)s=!0,o++;else if(u!==-1){a++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(o=0),o){const u={type:r===e.length||s||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?l:n.start._bufferIndex+l,_index:n.start._index+a,line:n.end.line,column:n.end.column-o,offset:n.end.offset-o},end:{...n.end}};n.end={...u.start},n.start.offset===n.end.offset?Object.assign(n,u):(e.splice(r,0,["enter",u,t],["exit",u,t]),r+=2)}r++}return e}const yf=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:kh},disable:{null:[]},document:{42:lt,43:lt,45:lt,48:lt,49:lt,50:lt,51:lt,52:lt,53:lt,54:lt,55:lt,56:lt,57:lt,62:hl},flow:{35:Mh,42:bn,45:[wl,bn],60:Oh,61:wl,95:bn,96:dl,126:dl},flowInitial:{[-2]:Ni,[-1]:Ni,32:Ni},insideSpan:{null:[Ii,pf]},string:{38:ml,92:fl},text:{[-5]:Ri,[-4]:Ri,[-3]:Ri,33:Kh,38:ml,42:Ii,60:[Z1,_h],91:Zh,92:[Eh,fl],93:Oi,95:Ii,96:hh}},Symbol.toStringTag,{value:"Module"}));function bf(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const i={},a=[];let l=[],o=[];const s={attempt:P(L),check:P(I),consume:A,enter:z,exit:D,interrupt:P(I,{interrupt:!0})},u={code:null,containerState:{},defineSkip:b,events:[],now:v,parser:e,previous:null,sliceSerialize:d,sliceStream:p,write:h};let f=t.tokenize.call(u,s);return t.resolveAll&&a.push(t),u;function h(V){return l=vt(l,V),C(),l[l.length-1]!==null?[]:(X(t,0),u.events=yn(a,u.events,u),u.events)}function d(V,G){return wf(p(V),G)}function p(V){return xf(l,V)}function v(){const{_bufferIndex:V,_index:G,line:le,column:re,offset:Q}=n;return{_bufferIndex:V,_index:G,line:le,column:re,offset:Q}}function b(V){i[V.line]=V.column,N()}function C(){let V;for(;n._index<l.length;){const G=l[n._index];if(typeof G=="string")for(V=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===V&&n._bufferIndex<G.length;)w(G.charCodeAt(n._bufferIndex));else w(G)}}function w(V){f=f(V)}function A(V){ee(V)?(n.line++,n.column=1,n.offset+=V===-3?2:1,N()):V!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===l[n._index].length&&(n._bufferIndex=-1,n._index++)),u.previous=V}function z(V,G){const le=G||{};return le.type=V,le.start=v(),u.events.push(["enter",le,u]),o.push(le),le}function D(V){const G=o.pop();return G.end=v(),u.events.push(["exit",G,u]),G}function L(V,G){X(V,G.from)}function I(V,G){G.restore()}function P(V,G){return le;function le(re,Q,he){let de,Ie,Ve,S;return Array.isArray(re)?ke(re):"tokenize"in re?ke([re]):Me(re);function Me(Ne){return We;function We(Le){const Ye=Le!==null&&Ne[Le],$e=Le!==null&&Ne.null,ut=[...Array.isArray(Ye)?Ye:Ye?[Ye]:[],...Array.isArray($e)?$e:$e?[$e]:[]];return ke(ut)(Le)}}function ke(Ne){return de=Ne,Ie=0,Ne.length===0?he:E(Ne[Ie])}function E(Ne){return We;function We(Le){return S=H(),Ve=Ne,Ne.partial||(u.currentConstruct=Ne),Ne.name&&u.parser.constructs.disable.null.includes(Ne.name)?Ge():Ne.tokenize.call(G?Object.assign(Object.create(u),G):u,s,He,Ge)(Le)}}function He(Ne){return V(Ve,S),Q}function Ge(Ne){return S.restore(),++Ie<de.length?E(de[Ie]):he}}}function X(V,G){V.resolveAll&&!a.includes(V)&&a.push(V),V.resolve&&mt(u.events,G,u.events.length-G,V.resolve(u.events.slice(G),u)),V.resolveTo&&(u.events=V.resolveTo(u.events,u))}function H(){const V=v(),G=u.previous,le=u.currentConstruct,re=u.events.length,Q=Array.from(o);return{from:re,restore:he};function he(){n=V,u.previous=G,u.currentConstruct=le,u.events.length=re,o=Q,N()}}function N(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function xf(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let l;if(r===i)l=[e[r].slice(n,a)];else{if(l=e.slice(r,i),n>-1){const o=l[0];typeof o=="string"?l[0]=o.slice(n):l.shift()}a>0&&l.push(e[i].slice(0,a))}return l}function wf(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const a=e[r];let l;if(typeof a=="string")l=a;else switch(a){case-5:{l="\r";break}case-4:{l=`
408
406
  `;break}case-3:{l=`\r
409
- `;break}case-2:{l=t?" ":" ";break}case-1:{if(!t&&i)continue;l=" ";break}default:l=String.fromCharCode(a)}i=a===-2,n.push(l)}return n.join("")}function kf(e){const n={constructs:ol([yf,...(e||{}).extensions||[]]),content:i(G1),defined:[],document:i(Y1),flow:i(ff),lazy:{},string:i(df),text:i(gf)};return n;function i(a){return l;function l(o){return bf(n,a,o)}}}function Sf(e){for(;!gl(e););return e}const Tl=/[\0\t\n\r]/g;function Tf(){let e=1,t="",r=!0,n;return i;function i(a,l,o){const s=[];let u,f,h,d,p;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(l||void 0).decode(a)),h=0,t="",r&&(a.charCodeAt(0)===65279&&h++,r=void 0);h<a.length;){if(Tl.lastIndex=h,u=Tl.exec(a),d=u&&u.index!==void 0?u.index:a.length,p=a.charCodeAt(d),!u){t=a.slice(h);break}if(p===10&&h===d&&n)s.push(-3),n=void 0;else switch(n&&(s.push(-5),n=void 0),h<d&&(s.push(a.slice(h,d)),e+=d-h),p){case 0:{s.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,s.push(-2);e++<f;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:n=!0,e=1}h=d+1}return o&&(n&&s.push(-5),t&&s.push(t),s.push(null)),s}}const Af=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ef(e){return e.replace(Af,Cf)}function Cf(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),a=i===120||i===88;return sl(r.slice(a?2:1),a?16:10)}return Mi(r)||e}const Al={}.hasOwnProperty;function Mf(e,t,r){return typeof t!="string"&&(r=t,t=void 0),zf(r)(Sf(kf(r).document().write(Tf()(e,t,!0))))}function zf(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Pt),autolinkProtocol:H,autolinkEmail:H,atxHeading:a(Xt),blockQuote:a($e),characterEscape:H,characterReference:H,codeFenced:a(ut),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:a(ut,l),codeText:a(lr,l),codeTextData:H,data:H,codeFlowValue:H,definition:a(je),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:a(Et),hardBreakEscape:a(Ft),hardBreakTrailing:a(Ft),htmlFlow:a(kt,l),htmlFlowData:H,htmlText:a(kt,l),htmlTextData:H,image:a($t),label:l,link:a(Pt),listItem:a(ta),listItemValue:d,listOrdered:a(br,h),listUnordered:a(br),paragraph:a(ra),reference:E,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:a(Xt),strong:a(cn),thematicBreak:a(ia)},exit:{atxHeading:s(),atxHeadingSequence:L,autolink:s(),autolinkEmail:Ye,autolinkProtocol:Le,blockQuote:s(),characterEscapeValue:N,characterReferenceMarkerHexadecimal:Ge,characterReferenceMarkerNumeric:Ge,characterReferenceValue:Ne,characterReference:We,codeFenced:s(C),codeFencedFence:b,codeFencedFenceInfo:p,codeFencedFenceMeta:v,codeFlowValue:N,codeIndented:s(w),codeText:s(Q),codeTextData:N,data:N,definition:s(),definitionDestinationString:D,definitionLabelString:A,definitionTitleString:z,emphasis:s(),hardBreakEscape:s(G),hardBreakTrailing:s(G),htmlFlow:s(le),htmlFlowData:N,htmlText:s(re),htmlTextData:N,image:s(de),label:Ve,labelText:xe,lineEnding:V,link:s(he),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:He,resourceDestinationString:S,resourceTitleString:ze,resource:Se,setextHeading:s(X),setextHeadingLineSequence:P,setextHeadingText:I,strong:s(),thematicBreak:s()}};El(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(R){let Y={type:"root",children:[]};const oe={stack:[Y],tokenStack:[],config:t,enter:o,exit:u,buffer:l,resume:f,data:r},pe=[];let we=-1;for(;++we<R.length;)if(R[we][1].type==="listOrdered"||R[we][1].type==="listUnordered")if(R[we][0]==="enter")pe.push(we);else{const ct=pe.pop();we=i(R,ct,we)}for(we=-1;++we<R.length;){const ct=t[R[we][0]];Al.call(ct,R[we][1].type)&&ct[R[we][1].type].call(Object.assign({sliceSerialize:R[we][2].sliceSerialize},oe),R[we][1])}if(oe.tokenStack.length>0){const ct=oe.tokenStack[oe.tokenStack.length-1];(ct[1]||Cl).call(oe,void 0,ct[0])}for(Y.position={start:Zt(R.length>0?R[0][1].start:{line:1,column:1,offset:0}),end:Zt(R.length>0?R[R.length-2][1].end:{line:1,column:1,offset:0})},we=-1;++we<t.transforms.length;)Y=t.transforms[we](Y)||Y;return Y}function i(R,Y,oe){let pe=Y-1,we=-1,ct=!1,Kt,Ct,xr,wr;for(;++pe<=oe;){const nt=R[pe];switch(nt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{nt[0]==="enter"?we++:we--,wr=void 0;break}case"lineEndingBlank":{nt[0]==="enter"&&(Kt&&!wr&&!we&&!xr&&(xr=pe),wr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:wr=void 0}if(!we&&nt[0]==="enter"&&nt[1].type==="listItemPrefix"||we===-1&&nt[0]==="exit"&&(nt[1].type==="listUnordered"||nt[1].type==="listOrdered")){if(Kt){let or=pe;for(Ct=void 0;or--;){const Mt=R[or];if(Mt[1].type==="lineEnding"||Mt[1].type==="lineEndingBlank"){if(Mt[0]==="exit")continue;Ct&&(R[Ct][1].type="lineEndingBlank",ct=!0),Mt[1].type="lineEnding",Ct=or}else if(!(Mt[1].type==="linePrefix"||Mt[1].type==="blockQuotePrefix"||Mt[1].type==="blockQuotePrefixWhitespace"||Mt[1].type==="blockQuoteMarker"||Mt[1].type==="listItemIndent"))break}xr&&(!Ct||xr<Ct)&&(Kt._spread=!0),Kt.end=Object.assign({},Ct?R[Ct][1].start:nt[1].end),R.splice(Ct||pe,0,["exit",Kt,nt[2]]),pe++,oe++}if(nt[1].type==="listItemPrefix"){const or={type:"listItem",_spread:!1,start:Object.assign({},nt[1].start),end:void 0};Kt=or,R.splice(pe,0,["enter",or,nt[2]]),pe++,oe++,xr=void 0,wr=!0}}}return R[Y][1]._spread=ct,oe}function a(R,Y){return oe;function oe(pe){o.call(this,R(pe),pe),Y&&Y.call(this,pe)}}function l(){this.stack.push({type:"fragment",children:[]})}function o(R,Y,oe){this.stack[this.stack.length-1].children.push(R),this.stack.push(R),this.tokenStack.push([Y,oe||void 0]),R.position={start:Zt(Y.start),end:void 0}}function s(R){return Y;function Y(oe){R&&R.call(this,oe),u.call(this,oe)}}function u(R,Y){const oe=this.stack.pop(),pe=this.tokenStack.pop();if(pe)pe[0].type!==R.type&&(Y?Y.call(this,R,pe[0]):(pe[1]||Cl).call(this,R,pe[0]));else throw new Error("Cannot close `"+R.type+"` ("+Wr({start:R.start,end:R.end})+"): it’s not open");oe.position.end=Zt(R.end)}function f(){return Ci(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function d(R){if(this.data.expectingFirstListItemValue){const Y=this.stack[this.stack.length-2];Y.start=Number.parseInt(this.sliceSerialize(R),10),this.data.expectingFirstListItemValue=void 0}}function p(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.lang=R}function v(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.meta=R}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.value=R.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.value=R.replace(/(\r?\n|\r)$/g,"")}function A(R){const Y=this.resume(),oe=this.stack[this.stack.length-1];oe.label=Y,oe.identifier=Tt(this.sliceSerialize(R)).toLowerCase()}function z(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.title=R}function D(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.url=R}function L(R){const Y=this.stack[this.stack.length-1];if(!Y.depth){const oe=this.sliceSerialize(R).length;Y.depth=oe}}function I(){this.data.setextHeadingSlurpLineEnding=!0}function P(R){const Y=this.stack[this.stack.length-1];Y.depth=this.sliceSerialize(R).codePointAt(0)===61?1:2}function X(){this.data.setextHeadingSlurpLineEnding=void 0}function H(R){const oe=this.stack[this.stack.length-1].children;let pe=oe[oe.length-1];(!pe||pe.type!=="text")&&(pe=na(),pe.position={start:Zt(R.start),end:void 0},oe.push(pe)),this.stack.push(pe)}function N(R){const Y=this.stack.pop();Y.value+=this.sliceSerialize(R),Y.position.end=Zt(R.end)}function V(R){const Y=this.stack[this.stack.length-1];if(this.data.atHardBreak){const oe=Y.children[Y.children.length-1];oe.position.end=Zt(R.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Y.type)&&(H.call(this,R),N.call(this,R))}function G(){this.data.atHardBreak=!0}function le(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.value=R}function re(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.value=R}function Q(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.value=R}function he(){const R=this.stack[this.stack.length-1];if(this.data.inReference){const Y=this.data.referenceType||"shortcut";R.type+="Reference",R.referenceType=Y,delete R.url,delete R.title}else delete R.identifier,delete R.label;this.data.referenceType=void 0}function de(){const R=this.stack[this.stack.length-1];if(this.data.inReference){const Y=this.data.referenceType||"shortcut";R.type+="Reference",R.referenceType=Y,delete R.url,delete R.title}else delete R.identifier,delete R.label;this.data.referenceType=void 0}function xe(R){const Y=this.sliceSerialize(R),oe=this.stack[this.stack.length-2];oe.label=Ef(Y),oe.identifier=Tt(Y).toLowerCase()}function Ve(){const R=this.stack[this.stack.length-1],Y=this.resume(),oe=this.stack[this.stack.length-1];if(this.data.inReference=!0,oe.type==="link"){const pe=R.children;oe.children=pe}else oe.alt=Y}function S(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.url=R}function ze(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.title=R}function Se(){this.data.inReference=void 0}function E(){this.data.referenceType="collapsed"}function He(R){const Y=this.resume(),oe=this.stack[this.stack.length-1];oe.label=Y,oe.identifier=Tt(this.sliceSerialize(R)).toLowerCase(),this.data.referenceType="full"}function Ge(R){this.data.characterReferenceType=R.type}function Ne(R){const Y=this.sliceSerialize(R),oe=this.data.characterReferenceType;let pe;oe?(pe=sl(Y,oe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):pe=Mi(Y);const we=this.stack[this.stack.length-1];we.value+=pe}function We(R){const Y=this.stack.pop();Y.position.end=Zt(R.end)}function Le(R){N.call(this,R);const Y=this.stack[this.stack.length-1];Y.url=this.sliceSerialize(R)}function Ye(R){N.call(this,R);const Y=this.stack[this.stack.length-1];Y.url="mailto:"+this.sliceSerialize(R)}function $e(){return{type:"blockquote",children:[]}}function ut(){return{type:"code",lang:null,meta:null,value:""}}function lr(){return{type:"inlineCode",value:""}}function je(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Et(){return{type:"emphasis",children:[]}}function Xt(){return{type:"heading",depth:0,children:[]}}function Ft(){return{type:"break"}}function kt(){return{type:"html",value:""}}function $t(){return{type:"image",title:null,url:"",alt:null}}function Pt(){return{type:"link",title:null,url:"",children:[]}}function br(R){return{type:"list",ordered:R.type==="listOrdered",start:null,spread:R._spread,children:[]}}function ta(R){return{type:"listItem",spread:R._spread,checked:null,children:[]}}function ra(){return{type:"paragraph",children:[]}}function cn(){return{type:"strong",children:[]}}function na(){return{type:"text",value:""}}function ia(){return{type:"thematicBreak"}}}function Zt(e){return{line:e.line,column:e.column,offset:e.offset}}function El(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?El(e,n):If(e,n)}}function If(e,t){let r;for(r in t)if(Al.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function Cl(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Wr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Wr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Wr({start:t.start,end:t.end})+") is still open")}function Nf(e){const t=this;t.parser=r;function r(n){return Mf(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Of(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function Rf(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
407
+ `;break}case-2:{l=t?" ":" ";break}case-1:{if(!t&&i)continue;l=" ";break}default:l=String.fromCharCode(a)}i=a===-2,n.push(l)}return n.join("")}function kf(e){const n={constructs:ol([yf,...(e||{}).extensions||[]]),content:i(G1),defined:[],document:i(Y1),flow:i(ff),lazy:{},string:i(df),text:i(gf)};return n;function i(a){return l;function l(o){return bf(n,a,o)}}}function Sf(e){for(;!gl(e););return e}const Tl=/[\0\t\n\r]/g;function Tf(){let e=1,t="",r=!0,n;return i;function i(a,l,o){const s=[];let u,f,h,d,p;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(l||void 0).decode(a)),h=0,t="",r&&(a.charCodeAt(0)===65279&&h++,r=void 0);h<a.length;){if(Tl.lastIndex=h,u=Tl.exec(a),d=u&&u.index!==void 0?u.index:a.length,p=a.charCodeAt(d),!u){t=a.slice(h);break}if(p===10&&h===d&&n)s.push(-3),n=void 0;else switch(n&&(s.push(-5),n=void 0),h<d&&(s.push(a.slice(h,d)),e+=d-h),p){case 0:{s.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,s.push(-2);e++<f;)s.push(-1);break}case 10:{s.push(-4),e=1;break}default:n=!0,e=1}h=d+1}return o&&(n&&s.push(-5),t&&s.push(t),s.push(null)),s}}const Af=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ef(e){return e.replace(Af,Cf)}function Cf(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),a=i===120||i===88;return sl(r.slice(a?2:1),a?16:10)}return Mi(r)||e}const Al={}.hasOwnProperty;function Mf(e,t,r){return typeof t!="string"&&(r=t,t=void 0),zf(r)(Sf(kf(r).document().write(Tf()(e,t,!0))))}function zf(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Pt),autolinkProtocol:H,autolinkEmail:H,atxHeading:a(Xt),blockQuote:a($e),characterEscape:H,characterReference:H,codeFenced:a(ut),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:a(ut,l),codeText:a(lr,l),codeTextData:H,data:H,codeFlowValue:H,definition:a(je),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:a(Et),hardBreakEscape:a(Ft),hardBreakTrailing:a(Ft),htmlFlow:a(kt,l),htmlFlowData:H,htmlText:a(kt,l),htmlTextData:H,image:a($t),label:l,link:a(Pt),listItem:a(ta),listItemValue:d,listOrdered:a(br,h),listUnordered:a(br),paragraph:a(ra),reference:E,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:a(Xt),strong:a(cn),thematicBreak:a(ia)},exit:{atxHeading:s(),atxHeadingSequence:L,autolink:s(),autolinkEmail:Ye,autolinkProtocol:Le,blockQuote:s(),characterEscapeValue:N,characterReferenceMarkerHexadecimal:Ge,characterReferenceMarkerNumeric:Ge,characterReferenceValue:Ne,characterReference:We,codeFenced:s(C),codeFencedFence:b,codeFencedFenceInfo:p,codeFencedFenceMeta:v,codeFlowValue:N,codeIndented:s(w),codeText:s(Q),codeTextData:N,data:N,definition:s(),definitionDestinationString:D,definitionLabelString:A,definitionTitleString:z,emphasis:s(),hardBreakEscape:s(G),hardBreakTrailing:s(G),htmlFlow:s(le),htmlFlowData:N,htmlText:s(re),htmlTextData:N,image:s(de),label:Ve,labelText:Ie,lineEnding:V,link:s(he),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:He,resourceDestinationString:S,resourceTitleString:Me,resource:ke,setextHeading:s(X),setextHeadingLineSequence:P,setextHeadingText:I,strong:s(),thematicBreak:s()}};El(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(R){let Y={type:"root",children:[]};const oe={stack:[Y],tokenStack:[],config:t,enter:o,exit:u,buffer:l,resume:f,data:r},pe=[];let xe=-1;for(;++xe<R.length;)if(R[xe][1].type==="listOrdered"||R[xe][1].type==="listUnordered")if(R[xe][0]==="enter")pe.push(xe);else{const ct=pe.pop();xe=i(R,ct,xe)}for(xe=-1;++xe<R.length;){const ct=t[R[xe][0]];Al.call(ct,R[xe][1].type)&&ct[R[xe][1].type].call(Object.assign({sliceSerialize:R[xe][2].sliceSerialize},oe),R[xe][1])}if(oe.tokenStack.length>0){const ct=oe.tokenStack[oe.tokenStack.length-1];(ct[1]||Cl).call(oe,void 0,ct[0])}for(Y.position={start:Zt(R.length>0?R[0][1].start:{line:1,column:1,offset:0}),end:Zt(R.length>0?R[R.length-2][1].end:{line:1,column:1,offset:0})},xe=-1;++xe<t.transforms.length;)Y=t.transforms[xe](Y)||Y;return Y}function i(R,Y,oe){let pe=Y-1,xe=-1,ct=!1,Kt,Ct,xr,wr;for(;++pe<=oe;){const nt=R[pe];switch(nt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{nt[0]==="enter"?xe++:xe--,wr=void 0;break}case"lineEndingBlank":{nt[0]==="enter"&&(Kt&&!wr&&!xe&&!xr&&(xr=pe),wr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:wr=void 0}if(!xe&&nt[0]==="enter"&&nt[1].type==="listItemPrefix"||xe===-1&&nt[0]==="exit"&&(nt[1].type==="listUnordered"||nt[1].type==="listOrdered")){if(Kt){let or=pe;for(Ct=void 0;or--;){const Mt=R[or];if(Mt[1].type==="lineEnding"||Mt[1].type==="lineEndingBlank"){if(Mt[0]==="exit")continue;Ct&&(R[Ct][1].type="lineEndingBlank",ct=!0),Mt[1].type="lineEnding",Ct=or}else if(!(Mt[1].type==="linePrefix"||Mt[1].type==="blockQuotePrefix"||Mt[1].type==="blockQuotePrefixWhitespace"||Mt[1].type==="blockQuoteMarker"||Mt[1].type==="listItemIndent"))break}xr&&(!Ct||xr<Ct)&&(Kt._spread=!0),Kt.end=Object.assign({},Ct?R[Ct][1].start:nt[1].end),R.splice(Ct||pe,0,["exit",Kt,nt[2]]),pe++,oe++}if(nt[1].type==="listItemPrefix"){const or={type:"listItem",_spread:!1,start:Object.assign({},nt[1].start),end:void 0};Kt=or,R.splice(pe,0,["enter",or,nt[2]]),pe++,oe++,xr=void 0,wr=!0}}}return R[Y][1]._spread=ct,oe}function a(R,Y){return oe;function oe(pe){o.call(this,R(pe),pe),Y&&Y.call(this,pe)}}function l(){this.stack.push({type:"fragment",children:[]})}function o(R,Y,oe){this.stack[this.stack.length-1].children.push(R),this.stack.push(R),this.tokenStack.push([Y,oe||void 0]),R.position={start:Zt(Y.start),end:void 0}}function s(R){return Y;function Y(oe){R&&R.call(this,oe),u.call(this,oe)}}function u(R,Y){const oe=this.stack.pop(),pe=this.tokenStack.pop();if(pe)pe[0].type!==R.type&&(Y?Y.call(this,R,pe[0]):(pe[1]||Cl).call(this,R,pe[0]));else throw new Error("Cannot close `"+R.type+"` ("+Wr({start:R.start,end:R.end})+"): it’s not open");oe.position.end=Zt(R.end)}function f(){return Ci(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function d(R){if(this.data.expectingFirstListItemValue){const Y=this.stack[this.stack.length-2];Y.start=Number.parseInt(this.sliceSerialize(R),10),this.data.expectingFirstListItemValue=void 0}}function p(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.lang=R}function v(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.meta=R}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.value=R.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.value=R.replace(/(\r?\n|\r)$/g,"")}function A(R){const Y=this.resume(),oe=this.stack[this.stack.length-1];oe.label=Y,oe.identifier=Tt(this.sliceSerialize(R)).toLowerCase()}function z(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.title=R}function D(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.url=R}function L(R){const Y=this.stack[this.stack.length-1];if(!Y.depth){const oe=this.sliceSerialize(R).length;Y.depth=oe}}function I(){this.data.setextHeadingSlurpLineEnding=!0}function P(R){const Y=this.stack[this.stack.length-1];Y.depth=this.sliceSerialize(R).codePointAt(0)===61?1:2}function X(){this.data.setextHeadingSlurpLineEnding=void 0}function H(R){const oe=this.stack[this.stack.length-1].children;let pe=oe[oe.length-1];(!pe||pe.type!=="text")&&(pe=na(),pe.position={start:Zt(R.start),end:void 0},oe.push(pe)),this.stack.push(pe)}function N(R){const Y=this.stack.pop();Y.value+=this.sliceSerialize(R),Y.position.end=Zt(R.end)}function V(R){const Y=this.stack[this.stack.length-1];if(this.data.atHardBreak){const oe=Y.children[Y.children.length-1];oe.position.end=Zt(R.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Y.type)&&(H.call(this,R),N.call(this,R))}function G(){this.data.atHardBreak=!0}function le(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.value=R}function re(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.value=R}function Q(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.value=R}function he(){const R=this.stack[this.stack.length-1];if(this.data.inReference){const Y=this.data.referenceType||"shortcut";R.type+="Reference",R.referenceType=Y,delete R.url,delete R.title}else delete R.identifier,delete R.label;this.data.referenceType=void 0}function de(){const R=this.stack[this.stack.length-1];if(this.data.inReference){const Y=this.data.referenceType||"shortcut";R.type+="Reference",R.referenceType=Y,delete R.url,delete R.title}else delete R.identifier,delete R.label;this.data.referenceType=void 0}function Ie(R){const Y=this.sliceSerialize(R),oe=this.stack[this.stack.length-2];oe.label=Ef(Y),oe.identifier=Tt(Y).toLowerCase()}function Ve(){const R=this.stack[this.stack.length-1],Y=this.resume(),oe=this.stack[this.stack.length-1];if(this.data.inReference=!0,oe.type==="link"){const pe=R.children;oe.children=pe}else oe.alt=Y}function S(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.url=R}function Me(){const R=this.resume(),Y=this.stack[this.stack.length-1];Y.title=R}function ke(){this.data.inReference=void 0}function E(){this.data.referenceType="collapsed"}function He(R){const Y=this.resume(),oe=this.stack[this.stack.length-1];oe.label=Y,oe.identifier=Tt(this.sliceSerialize(R)).toLowerCase(),this.data.referenceType="full"}function Ge(R){this.data.characterReferenceType=R.type}function Ne(R){const Y=this.sliceSerialize(R),oe=this.data.characterReferenceType;let pe;oe?(pe=sl(Y,oe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):pe=Mi(Y);const xe=this.stack[this.stack.length-1];xe.value+=pe}function We(R){const Y=this.stack.pop();Y.position.end=Zt(R.end)}function Le(R){N.call(this,R);const Y=this.stack[this.stack.length-1];Y.url=this.sliceSerialize(R)}function Ye(R){N.call(this,R);const Y=this.stack[this.stack.length-1];Y.url="mailto:"+this.sliceSerialize(R)}function $e(){return{type:"blockquote",children:[]}}function ut(){return{type:"code",lang:null,meta:null,value:""}}function lr(){return{type:"inlineCode",value:""}}function je(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Et(){return{type:"emphasis",children:[]}}function Xt(){return{type:"heading",depth:0,children:[]}}function Ft(){return{type:"break"}}function kt(){return{type:"html",value:""}}function $t(){return{type:"image",title:null,url:"",alt:null}}function Pt(){return{type:"link",title:null,url:"",children:[]}}function br(R){return{type:"list",ordered:R.type==="listOrdered",start:null,spread:R._spread,children:[]}}function ta(R){return{type:"listItem",spread:R._spread,checked:null,children:[]}}function ra(){return{type:"paragraph",children:[]}}function cn(){return{type:"strong",children:[]}}function na(){return{type:"text",value:""}}function ia(){return{type:"thematicBreak"}}}function Zt(e){return{line:e.line,column:e.column,offset:e.offset}}function El(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?El(e,n):If(e,n)}}function If(e,t){let r;for(r in t)if(Al.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function Cl(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Wr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Wr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Wr({start:t.start,end:t.end})+") is still open")}function Nf(e){const t=this;t.parser=r;function r(n){return Mf(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Of(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function Rf(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
410
408
  `}]}function Df(e,t){const r=t.value?t.value+`
411
409
  `:"",n={};t.lang&&(n.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function Lf(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Bf(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Ff(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),i=Cr(n.toLowerCase()),a=e.footnoteOrder.indexOf(n);let l,o=e.footnoteCounts.get(n);o===void 0?(o=0,e.footnoteOrder.push(n),l=e.footnoteOrder.length):l=a+1,o+=1,e.footnoteCounts.set(n,o);const s={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,s);const u={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,u),e.applyData(t,u)}function Pf(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function _f(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function Ml(e,t){const r=t.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=n:i.push({type:"text",value:n}),i}function Hf(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Ml(e,t);const i={src:Cr(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(i.title=n.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function jf(e,t){const r={src:Cr(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function qf(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function Uf(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Ml(e,t);const i={href:Cr(n.url||"")};n.title!==null&&n.title!==void 0&&(i.title=n.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function Vf(e,t){const r={href:Cr(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Gf(e,t,r){const n=e.all(t),i=r?Wf(r):zl(t),a={},l=[];if(typeof t.checked=="boolean"){const f=n[0];let h;f&&f.type==="element"&&f.tagName==="p"?h=f:(h={type:"element",tagName:"p",properties:{},children:[]},n.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:[]}),a.className=["task-list-item"]}let o=-1;for(;++o<n.length;){const f=n[o];(i||o!==0||f.type!=="element"||f.tagName!=="p")&&l.push({type:"text",value:`
412
410
  `}),f.type==="element"&&f.tagName==="p"&&!i?l.push(...f.children):l.push(f)}const s=n[n.length-1];s&&(i||s.type!=="element"||s.tagName!=="p")&&l.push({type:"text",value:`
@@ -674,13 +672,13 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6
674
672
  c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
675
673
  c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
676
674
  l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
677
- -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class rn{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return te.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var Nt={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Nn={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},so={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function B4(e,t){Nt[e]=t}function t0(e,t,r){if(!Nt[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),i=Nt[t][n];if(!i&&e[0]in so&&(n=so[e[0]].charCodeAt(0),i=Nt[t][n]),!i&&r==="text"&&lo(n)&&(i=Nt[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var r0={};function F4(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!r0[t]){var r=r0[t]={cssEmPerMu:Nn.quad[t]/18};for(var n in Nn)Nn.hasOwnProperty(n)&&(r[n]=Nn[n][t])}return r0[t]}var P4=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],uo=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],co=function(t,r){return r.size<2?t:P4[t-1][r.size-1]};class Ht{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||Ht.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=uo[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new Ht(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:co(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:uo[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=co(Ht.BASESIZE,t);return this.size===r&&this.textSize===Ht.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Ht.BASESIZE?["sizing","reset-size"+this.size,"size"+Ht.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=F4(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Ht.BASESIZE=6;var n0={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},_4={ex:!0,em:!0,mu:!0},ho=function(t){return typeof t!="string"&&(t=t.unit),t in n0||t in _4||t==="ex"},Oe=function(t,r){var n;if(t.unit in n0)n=n0[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var i;if(r.style.isTight()?i=r.havingStyle(r.style.text()):i=r,t.unit==="ex")n=i.fontMetrics().xHeight;else if(t.unit==="em")n=i.fontMetrics().quad;else throw new q("Invalid unit: '"+t.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},W=function(t){return+t.toFixed(4)+"em"},er=function(t){return t.filter(r=>r).join(" ")},fo=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var i=r.getColor();i&&(this.style.color=i)}},mo=function(t){var r=document.createElement(t);r.className=er(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&r.setAttribute(i,this.attributes[i]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r},H4=/[\s"'>/=\x00-\x1f]/,po=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+te.escape(er(this.classes))+'"');var n="";for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=te.hyphenate(i)+":"+this.style[i]+";");n&&(r+=' style="'+te.escape(n)+'"');for(var a in this.attributes)if(this.attributes.hasOwnProperty(a)){if(H4.test(a))throw new q("Invalid attribute name '"+a+"'");r+=" "+a+'="'+te.escape(this.attributes[a])+'"'}r+=">";for(var l=0;l<this.children.length;l++)r+=this.children[l].toMarkup();return r+="</"+t+">",r};class nn{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,fo.call(this,t,n,i),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return te.contains(this.classes,t)}toNode(){return mo.call(this,"span")}toMarkup(){return po.call(this,"span")}}class i0{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,fo.call(this,r,i),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return te.contains(this.classes,t)}toNode(){return mo.call(this,"a")}toMarkup(){return po.call(this,"a")}}class j4{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return te.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+te.escape(this.src)+'"'+(' alt="'+te.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=te.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+te.escape(r)+'"'),t+="'/>",t}}var q4={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class xt{constructor(t,r,n,i,a,l,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=i||0,this.skew=a||0,this.width=l||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var u=A4(this.text.charCodeAt(0));u&&this.classes.push(u+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=q4[this.text])}hasClass(t){return te.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=W(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=er(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=te.escape(er(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=te.hyphenate(i)+":"+this.style[i]+";");n&&(t=!0,r+=' style="'+te.escape(n)+'"');var a=te.escape(this.text);return t?(r+=">",r+=a,r+="</span>",r):a}}class jt{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+te.escape(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class tr{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",oo[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+te.escape(this.alternate)+'"/>':'<path d="'+te.escape(oo[this.pathName])+'"/>'}}class a0{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+te.escape(this.attributes[r])+'"');return t+="/>",t}}function go(e){if(e instanceof xt)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function U4(e){if(e instanceof nn)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var V4={bin:1,close:1,inner:1,open:1,punct:1,rel:1},G4={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Me={math:{},text:{}};function c(e,t,r,n,i,a){Me[e][i]={font:t,group:r,replace:n},a&&n&&(Me[e][n]=Me[e][i])}var m="math",F="text",g="main",x="ams",Ie="accent-token",K="bin",et="close",Rr="inner",ie="mathord",_e="op-token",dt="open",On="punct",k="rel",qt="spacing",M="textord";c(m,g,k,"≡","\\equiv",!0),c(m,g,k,"≺","\\prec",!0),c(m,g,k,"≻","\\succ",!0),c(m,g,k,"∼","\\sim",!0),c(m,g,k,"⊥","\\perp"),c(m,g,k,"⪯","\\preceq",!0),c(m,g,k,"⪰","\\succeq",!0),c(m,g,k,"≃","\\simeq",!0),c(m,g,k,"∣","\\mid",!0),c(m,g,k,"≪","\\ll",!0),c(m,g,k,"≫","\\gg",!0),c(m,g,k,"≍","\\asymp",!0),c(m,g,k,"∥","\\parallel"),c(m,g,k,"⋈","\\bowtie",!0),c(m,g,k,"⌣","\\smile",!0),c(m,g,k,"⊑","\\sqsubseteq",!0),c(m,g,k,"⊒","\\sqsupseteq",!0),c(m,g,k,"≐","\\doteq",!0),c(m,g,k,"⌢","\\frown",!0),c(m,g,k,"∋","\\ni",!0),c(m,g,k,"∝","\\propto",!0),c(m,g,k,"⊢","\\vdash",!0),c(m,g,k,"⊣","\\dashv",!0),c(m,g,k,"∋","\\owns"),c(m,g,On,".","\\ldotp"),c(m,g,On,"⋅","\\cdotp"),c(m,g,M,"#","\\#"),c(F,g,M,"#","\\#"),c(m,g,M,"&","\\&"),c(F,g,M,"&","\\&"),c(m,g,M,"ℵ","\\aleph",!0),c(m,g,M,"∀","\\forall",!0),c(m,g,M,"ℏ","\\hbar",!0),c(m,g,M,"∃","\\exists",!0),c(m,g,M,"∇","\\nabla",!0),c(m,g,M,"♭","\\flat",!0),c(m,g,M,"ℓ","\\ell",!0),c(m,g,M,"♮","\\natural",!0),c(m,g,M,"♣","\\clubsuit",!0),c(m,g,M,"℘","\\wp",!0),c(m,g,M,"♯","\\sharp",!0),c(m,g,M,"♢","\\diamondsuit",!0),c(m,g,M,"ℜ","\\Re",!0),c(m,g,M,"♡","\\heartsuit",!0),c(m,g,M,"ℑ","\\Im",!0),c(m,g,M,"♠","\\spadesuit",!0),c(m,g,M,"§","\\S",!0),c(F,g,M,"§","\\S"),c(m,g,M,"¶","\\P",!0),c(F,g,M,"¶","\\P"),c(m,g,M,"†","\\dag"),c(F,g,M,"†","\\dag"),c(F,g,M,"†","\\textdagger"),c(m,g,M,"‡","\\ddag"),c(F,g,M,"‡","\\ddag"),c(F,g,M,"‡","\\textdaggerdbl"),c(m,g,et,"⎱","\\rmoustache",!0),c(m,g,dt,"⎰","\\lmoustache",!0),c(m,g,et,"⟯","\\rgroup",!0),c(m,g,dt,"⟮","\\lgroup",!0),c(m,g,K,"∓","\\mp",!0),c(m,g,K,"⊖","\\ominus",!0),c(m,g,K,"⊎","\\uplus",!0),c(m,g,K,"⊓","\\sqcap",!0),c(m,g,K,"∗","\\ast"),c(m,g,K,"⊔","\\sqcup",!0),c(m,g,K,"◯","\\bigcirc",!0),c(m,g,K,"∙","\\bullet",!0),c(m,g,K,"‡","\\ddagger"),c(m,g,K,"≀","\\wr",!0),c(m,g,K,"⨿","\\amalg"),c(m,g,K,"&","\\And"),c(m,g,k,"⟵","\\longleftarrow",!0),c(m,g,k,"⇐","\\Leftarrow",!0),c(m,g,k,"⟸","\\Longleftarrow",!0),c(m,g,k,"⟶","\\longrightarrow",!0),c(m,g,k,"⇒","\\Rightarrow",!0),c(m,g,k,"⟹","\\Longrightarrow",!0),c(m,g,k,"↔","\\leftrightarrow",!0),c(m,g,k,"⟷","\\longleftrightarrow",!0),c(m,g,k,"⇔","\\Leftrightarrow",!0),c(m,g,k,"⟺","\\Longleftrightarrow",!0),c(m,g,k,"↦","\\mapsto",!0),c(m,g,k,"⟼","\\longmapsto",!0),c(m,g,k,"↗","\\nearrow",!0),c(m,g,k,"↩","\\hookleftarrow",!0),c(m,g,k,"↪","\\hookrightarrow",!0),c(m,g,k,"↘","\\searrow",!0),c(m,g,k,"↼","\\leftharpoonup",!0),c(m,g,k,"⇀","\\rightharpoonup",!0),c(m,g,k,"↙","\\swarrow",!0),c(m,g,k,"↽","\\leftharpoondown",!0),c(m,g,k,"⇁","\\rightharpoondown",!0),c(m,g,k,"↖","\\nwarrow",!0),c(m,g,k,"⇌","\\rightleftharpoons",!0),c(m,x,k,"≮","\\nless",!0),c(m,x,k,"","\\@nleqslant"),c(m,x,k,"","\\@nleqq"),c(m,x,k,"⪇","\\lneq",!0),c(m,x,k,"≨","\\lneqq",!0),c(m,x,k,"","\\@lvertneqq"),c(m,x,k,"⋦","\\lnsim",!0),c(m,x,k,"⪉","\\lnapprox",!0),c(m,x,k,"⊀","\\nprec",!0),c(m,x,k,"⋠","\\npreceq",!0),c(m,x,k,"⋨","\\precnsim",!0),c(m,x,k,"⪹","\\precnapprox",!0),c(m,x,k,"≁","\\nsim",!0),c(m,x,k,"","\\@nshortmid"),c(m,x,k,"∤","\\nmid",!0),c(m,x,k,"⊬","\\nvdash",!0),c(m,x,k,"⊭","\\nvDash",!0),c(m,x,k,"⋪","\\ntriangleleft"),c(m,x,k,"⋬","\\ntrianglelefteq",!0),c(m,x,k,"⊊","\\subsetneq",!0),c(m,x,k,"","\\@varsubsetneq"),c(m,x,k,"⫋","\\subsetneqq",!0),c(m,x,k,"","\\@varsubsetneqq"),c(m,x,k,"≯","\\ngtr",!0),c(m,x,k,"","\\@ngeqslant"),c(m,x,k,"","\\@ngeqq"),c(m,x,k,"⪈","\\gneq",!0),c(m,x,k,"≩","\\gneqq",!0),c(m,x,k,"","\\@gvertneqq"),c(m,x,k,"⋧","\\gnsim",!0),c(m,x,k,"⪊","\\gnapprox",!0),c(m,x,k,"⊁","\\nsucc",!0),c(m,x,k,"⋡","\\nsucceq",!0),c(m,x,k,"⋩","\\succnsim",!0),c(m,x,k,"⪺","\\succnapprox",!0),c(m,x,k,"≆","\\ncong",!0),c(m,x,k,"","\\@nshortparallel"),c(m,x,k,"∦","\\nparallel",!0),c(m,x,k,"⊯","\\nVDash",!0),c(m,x,k,"⋫","\\ntriangleright"),c(m,x,k,"⋭","\\ntrianglerighteq",!0),c(m,x,k,"","\\@nsupseteqq"),c(m,x,k,"⊋","\\supsetneq",!0),c(m,x,k,"","\\@varsupsetneq"),c(m,x,k,"⫌","\\supsetneqq",!0),c(m,x,k,"","\\@varsupsetneqq"),c(m,x,k,"⊮","\\nVdash",!0),c(m,x,k,"⪵","\\precneqq",!0),c(m,x,k,"⪶","\\succneqq",!0),c(m,x,k,"","\\@nsubseteqq"),c(m,x,K,"⊴","\\unlhd"),c(m,x,K,"⊵","\\unrhd"),c(m,x,k,"↚","\\nleftarrow",!0),c(m,x,k,"↛","\\nrightarrow",!0),c(m,x,k,"⇍","\\nLeftarrow",!0),c(m,x,k,"⇏","\\nRightarrow",!0),c(m,x,k,"↮","\\nleftrightarrow",!0),c(m,x,k,"⇎","\\nLeftrightarrow",!0),c(m,x,k,"△","\\vartriangle"),c(m,x,M,"ℏ","\\hslash"),c(m,x,M,"▽","\\triangledown"),c(m,x,M,"◊","\\lozenge"),c(m,x,M,"Ⓢ","\\circledS"),c(m,x,M,"®","\\circledR"),c(F,x,M,"®","\\circledR"),c(m,x,M,"∡","\\measuredangle",!0),c(m,x,M,"∄","\\nexists"),c(m,x,M,"℧","\\mho"),c(m,x,M,"Ⅎ","\\Finv",!0),c(m,x,M,"⅁","\\Game",!0),c(m,x,M,"‵","\\backprime"),c(m,x,M,"▲","\\blacktriangle"),c(m,x,M,"▼","\\blacktriangledown"),c(m,x,M,"■","\\blacksquare"),c(m,x,M,"⧫","\\blacklozenge"),c(m,x,M,"★","\\bigstar"),c(m,x,M,"∢","\\sphericalangle",!0),c(m,x,M,"∁","\\complement",!0),c(m,x,M,"ð","\\eth",!0),c(F,g,M,"ð","ð"),c(m,x,M,"╱","\\diagup"),c(m,x,M,"╲","\\diagdown"),c(m,x,M,"□","\\square"),c(m,x,M,"□","\\Box"),c(m,x,M,"◊","\\Diamond"),c(m,x,M,"¥","\\yen",!0),c(F,x,M,"¥","\\yen",!0),c(m,x,M,"✓","\\checkmark",!0),c(F,x,M,"✓","\\checkmark"),c(m,x,M,"ℶ","\\beth",!0),c(m,x,M,"ℸ","\\daleth",!0),c(m,x,M,"ℷ","\\gimel",!0),c(m,x,M,"ϝ","\\digamma",!0),c(m,x,M,"ϰ","\\varkappa"),c(m,x,dt,"┌","\\@ulcorner",!0),c(m,x,et,"┐","\\@urcorner",!0),c(m,x,dt,"└","\\@llcorner",!0),c(m,x,et,"┘","\\@lrcorner",!0),c(m,x,k,"≦","\\leqq",!0),c(m,x,k,"⩽","\\leqslant",!0),c(m,x,k,"⪕","\\eqslantless",!0),c(m,x,k,"≲","\\lesssim",!0),c(m,x,k,"⪅","\\lessapprox",!0),c(m,x,k,"≊","\\approxeq",!0),c(m,x,K,"⋖","\\lessdot"),c(m,x,k,"⋘","\\lll",!0),c(m,x,k,"≶","\\lessgtr",!0),c(m,x,k,"⋚","\\lesseqgtr",!0),c(m,x,k,"⪋","\\lesseqqgtr",!0),c(m,x,k,"≑","\\doteqdot"),c(m,x,k,"≓","\\risingdotseq",!0),c(m,x,k,"≒","\\fallingdotseq",!0),c(m,x,k,"∽","\\backsim",!0),c(m,x,k,"⋍","\\backsimeq",!0),c(m,x,k,"⫅","\\subseteqq",!0),c(m,x,k,"⋐","\\Subset",!0),c(m,x,k,"⊏","\\sqsubset",!0),c(m,x,k,"≼","\\preccurlyeq",!0),c(m,x,k,"⋞","\\curlyeqprec",!0),c(m,x,k,"≾","\\precsim",!0),c(m,x,k,"⪷","\\precapprox",!0),c(m,x,k,"⊲","\\vartriangleleft"),c(m,x,k,"⊴","\\trianglelefteq"),c(m,x,k,"⊨","\\vDash",!0),c(m,x,k,"⊪","\\Vvdash",!0),c(m,x,k,"⌣","\\smallsmile"),c(m,x,k,"⌢","\\smallfrown"),c(m,x,k,"≏","\\bumpeq",!0),c(m,x,k,"≎","\\Bumpeq",!0),c(m,x,k,"≧","\\geqq",!0),c(m,x,k,"⩾","\\geqslant",!0),c(m,x,k,"⪖","\\eqslantgtr",!0),c(m,x,k,"≳","\\gtrsim",!0),c(m,x,k,"⪆","\\gtrapprox",!0),c(m,x,K,"⋗","\\gtrdot"),c(m,x,k,"⋙","\\ggg",!0),c(m,x,k,"≷","\\gtrless",!0),c(m,x,k,"⋛","\\gtreqless",!0),c(m,x,k,"⪌","\\gtreqqless",!0),c(m,x,k,"≖","\\eqcirc",!0),c(m,x,k,"≗","\\circeq",!0),c(m,x,k,"≜","\\triangleq",!0),c(m,x,k,"∼","\\thicksim"),c(m,x,k,"≈","\\thickapprox"),c(m,x,k,"⫆","\\supseteqq",!0),c(m,x,k,"⋑","\\Supset",!0),c(m,x,k,"⊐","\\sqsupset",!0),c(m,x,k,"≽","\\succcurlyeq",!0),c(m,x,k,"⋟","\\curlyeqsucc",!0),c(m,x,k,"≿","\\succsim",!0),c(m,x,k,"⪸","\\succapprox",!0),c(m,x,k,"⊳","\\vartriangleright"),c(m,x,k,"⊵","\\trianglerighteq"),c(m,x,k,"⊩","\\Vdash",!0),c(m,x,k,"∣","\\shortmid"),c(m,x,k,"∥","\\shortparallel"),c(m,x,k,"≬","\\between",!0),c(m,x,k,"⋔","\\pitchfork",!0),c(m,x,k,"∝","\\varpropto"),c(m,x,k,"◀","\\blacktriangleleft"),c(m,x,k,"∴","\\therefore",!0),c(m,x,k,"∍","\\backepsilon"),c(m,x,k,"▶","\\blacktriangleright"),c(m,x,k,"∵","\\because",!0),c(m,x,k,"⋘","\\llless"),c(m,x,k,"⋙","\\gggtr"),c(m,x,K,"⊲","\\lhd"),c(m,x,K,"⊳","\\rhd"),c(m,x,k,"≂","\\eqsim",!0),c(m,g,k,"⋈","\\Join"),c(m,x,k,"≑","\\Doteq",!0),c(m,x,K,"∔","\\dotplus",!0),c(m,x,K,"∖","\\smallsetminus"),c(m,x,K,"⋒","\\Cap",!0),c(m,x,K,"⋓","\\Cup",!0),c(m,x,K,"⩞","\\doublebarwedge",!0),c(m,x,K,"⊟","\\boxminus",!0),c(m,x,K,"⊞","\\boxplus",!0),c(m,x,K,"⋇","\\divideontimes",!0),c(m,x,K,"⋉","\\ltimes",!0),c(m,x,K,"⋊","\\rtimes",!0),c(m,x,K,"⋋","\\leftthreetimes",!0),c(m,x,K,"⋌","\\rightthreetimes",!0),c(m,x,K,"⋏","\\curlywedge",!0),c(m,x,K,"⋎","\\curlyvee",!0),c(m,x,K,"⊝","\\circleddash",!0),c(m,x,K,"⊛","\\circledast",!0),c(m,x,K,"⋅","\\centerdot"),c(m,x,K,"⊺","\\intercal",!0),c(m,x,K,"⋒","\\doublecap"),c(m,x,K,"⋓","\\doublecup"),c(m,x,K,"⊠","\\boxtimes",!0),c(m,x,k,"⇢","\\dashrightarrow",!0),c(m,x,k,"⇠","\\dashleftarrow",!0),c(m,x,k,"⇇","\\leftleftarrows",!0),c(m,x,k,"⇆","\\leftrightarrows",!0),c(m,x,k,"⇚","\\Lleftarrow",!0),c(m,x,k,"↞","\\twoheadleftarrow",!0),c(m,x,k,"↢","\\leftarrowtail",!0),c(m,x,k,"↫","\\looparrowleft",!0),c(m,x,k,"⇋","\\leftrightharpoons",!0),c(m,x,k,"↶","\\curvearrowleft",!0),c(m,x,k,"↺","\\circlearrowleft",!0),c(m,x,k,"↰","\\Lsh",!0),c(m,x,k,"⇈","\\upuparrows",!0),c(m,x,k,"↿","\\upharpoonleft",!0),c(m,x,k,"⇃","\\downharpoonleft",!0),c(m,g,k,"⊶","\\origof",!0),c(m,g,k,"⊷","\\imageof",!0),c(m,x,k,"⊸","\\multimap",!0),c(m,x,k,"↭","\\leftrightsquigarrow",!0),c(m,x,k,"⇉","\\rightrightarrows",!0),c(m,x,k,"⇄","\\rightleftarrows",!0),c(m,x,k,"↠","\\twoheadrightarrow",!0),c(m,x,k,"↣","\\rightarrowtail",!0),c(m,x,k,"↬","\\looparrowright",!0),c(m,x,k,"↷","\\curvearrowright",!0),c(m,x,k,"↻","\\circlearrowright",!0),c(m,x,k,"↱","\\Rsh",!0),c(m,x,k,"⇊","\\downdownarrows",!0),c(m,x,k,"↾","\\upharpoonright",!0),c(m,x,k,"⇂","\\downharpoonright",!0),c(m,x,k,"⇝","\\rightsquigarrow",!0),c(m,x,k,"⇝","\\leadsto"),c(m,x,k,"⇛","\\Rrightarrow",!0),c(m,x,k,"↾","\\restriction"),c(m,g,M,"‘","`"),c(m,g,M,"$","\\$"),c(F,g,M,"$","\\$"),c(F,g,M,"$","\\textdollar"),c(m,g,M,"%","\\%"),c(F,g,M,"%","\\%"),c(m,g,M,"_","\\_"),c(F,g,M,"_","\\_"),c(F,g,M,"_","\\textunderscore"),c(m,g,M,"∠","\\angle",!0),c(m,g,M,"∞","\\infty",!0),c(m,g,M,"′","\\prime"),c(m,g,M,"△","\\triangle"),c(m,g,M,"Γ","\\Gamma",!0),c(m,g,M,"Δ","\\Delta",!0),c(m,g,M,"Θ","\\Theta",!0),c(m,g,M,"Λ","\\Lambda",!0),c(m,g,M,"Ξ","\\Xi",!0),c(m,g,M,"Π","\\Pi",!0),c(m,g,M,"Σ","\\Sigma",!0),c(m,g,M,"Υ","\\Upsilon",!0),c(m,g,M,"Φ","\\Phi",!0),c(m,g,M,"Ψ","\\Psi",!0),c(m,g,M,"Ω","\\Omega",!0),c(m,g,M,"A","Α"),c(m,g,M,"B","Β"),c(m,g,M,"E","Ε"),c(m,g,M,"Z","Ζ"),c(m,g,M,"H","Η"),c(m,g,M,"I","Ι"),c(m,g,M,"K","Κ"),c(m,g,M,"M","Μ"),c(m,g,M,"N","Ν"),c(m,g,M,"O","Ο"),c(m,g,M,"P","Ρ"),c(m,g,M,"T","Τ"),c(m,g,M,"X","Χ"),c(m,g,M,"¬","\\neg",!0),c(m,g,M,"¬","\\lnot"),c(m,g,M,"⊤","\\top"),c(m,g,M,"⊥","\\bot"),c(m,g,M,"∅","\\emptyset"),c(m,x,M,"∅","\\varnothing"),c(m,g,ie,"α","\\alpha",!0),c(m,g,ie,"β","\\beta",!0),c(m,g,ie,"γ","\\gamma",!0),c(m,g,ie,"δ","\\delta",!0),c(m,g,ie,"ϵ","\\epsilon",!0),c(m,g,ie,"ζ","\\zeta",!0),c(m,g,ie,"η","\\eta",!0),c(m,g,ie,"θ","\\theta",!0),c(m,g,ie,"ι","\\iota",!0),c(m,g,ie,"κ","\\kappa",!0),c(m,g,ie,"λ","\\lambda",!0),c(m,g,ie,"μ","\\mu",!0),c(m,g,ie,"ν","\\nu",!0),c(m,g,ie,"ξ","\\xi",!0),c(m,g,ie,"ο","\\omicron",!0),c(m,g,ie,"π","\\pi",!0),c(m,g,ie,"ρ","\\rho",!0),c(m,g,ie,"σ","\\sigma",!0),c(m,g,ie,"τ","\\tau",!0),c(m,g,ie,"υ","\\upsilon",!0),c(m,g,ie,"ϕ","\\phi",!0),c(m,g,ie,"χ","\\chi",!0),c(m,g,ie,"ψ","\\psi",!0),c(m,g,ie,"ω","\\omega",!0),c(m,g,ie,"ε","\\varepsilon",!0),c(m,g,ie,"ϑ","\\vartheta",!0),c(m,g,ie,"ϖ","\\varpi",!0),c(m,g,ie,"ϱ","\\varrho",!0),c(m,g,ie,"ς","\\varsigma",!0),c(m,g,ie,"φ","\\varphi",!0),c(m,g,K,"∗","*",!0),c(m,g,K,"+","+"),c(m,g,K,"−","-",!0),c(m,g,K,"⋅","\\cdot",!0),c(m,g,K,"∘","\\circ",!0),c(m,g,K,"÷","\\div",!0),c(m,g,K,"±","\\pm",!0),c(m,g,K,"×","\\times",!0),c(m,g,K,"∩","\\cap",!0),c(m,g,K,"∪","\\cup",!0),c(m,g,K,"∖","\\setminus",!0),c(m,g,K,"∧","\\land"),c(m,g,K,"∨","\\lor"),c(m,g,K,"∧","\\wedge",!0),c(m,g,K,"∨","\\vee",!0),c(m,g,M,"√","\\surd"),c(m,g,dt,"⟨","\\langle",!0),c(m,g,dt,"∣","\\lvert"),c(m,g,dt,"∥","\\lVert"),c(m,g,et,"?","?"),c(m,g,et,"!","!"),c(m,g,et,"⟩","\\rangle",!0),c(m,g,et,"∣","\\rvert"),c(m,g,et,"∥","\\rVert"),c(m,g,k,"=","="),c(m,g,k,":",":"),c(m,g,k,"≈","\\approx",!0),c(m,g,k,"≅","\\cong",!0),c(m,g,k,"≥","\\ge"),c(m,g,k,"≥","\\geq",!0),c(m,g,k,"←","\\gets"),c(m,g,k,">","\\gt",!0),c(m,g,k,"∈","\\in",!0),c(m,g,k,"","\\@not"),c(m,g,k,"⊂","\\subset",!0),c(m,g,k,"⊃","\\supset",!0),c(m,g,k,"⊆","\\subseteq",!0),c(m,g,k,"⊇","\\supseteq",!0),c(m,x,k,"⊈","\\nsubseteq",!0),c(m,x,k,"⊉","\\nsupseteq",!0),c(m,g,k,"⊨","\\models"),c(m,g,k,"←","\\leftarrow",!0),c(m,g,k,"≤","\\le"),c(m,g,k,"≤","\\leq",!0),c(m,g,k,"<","\\lt",!0),c(m,g,k,"→","\\rightarrow",!0),c(m,g,k,"→","\\to"),c(m,x,k,"≱","\\ngeq",!0),c(m,x,k,"≰","\\nleq",!0),c(m,g,qt," ","\\ "),c(m,g,qt," ","\\space"),c(m,g,qt," ","\\nobreakspace"),c(F,g,qt," ","\\ "),c(F,g,qt," "," "),c(F,g,qt," ","\\space"),c(F,g,qt," ","\\nobreakspace"),c(m,g,qt,null,"\\nobreak"),c(m,g,qt,null,"\\allowbreak"),c(m,g,On,",",","),c(m,g,On,";",";"),c(m,x,K,"⊼","\\barwedge",!0),c(m,x,K,"⊻","\\veebar",!0),c(m,g,K,"⊙","\\odot",!0),c(m,g,K,"⊕","\\oplus",!0),c(m,g,K,"⊗","\\otimes",!0),c(m,g,M,"∂","\\partial",!0),c(m,g,K,"⊘","\\oslash",!0),c(m,x,K,"⊚","\\circledcirc",!0),c(m,x,K,"⊡","\\boxdot",!0),c(m,g,K,"△","\\bigtriangleup"),c(m,g,K,"▽","\\bigtriangledown"),c(m,g,K,"†","\\dagger"),c(m,g,K,"⋄","\\diamond"),c(m,g,K,"⋆","\\star"),c(m,g,K,"◃","\\triangleleft"),c(m,g,K,"▹","\\triangleright"),c(m,g,dt,"{","\\{"),c(F,g,M,"{","\\{"),c(F,g,M,"{","\\textbraceleft"),c(m,g,et,"}","\\}"),c(F,g,M,"}","\\}"),c(F,g,M,"}","\\textbraceright"),c(m,g,dt,"{","\\lbrace"),c(m,g,et,"}","\\rbrace"),c(m,g,dt,"[","\\lbrack",!0),c(F,g,M,"[","\\lbrack",!0),c(m,g,et,"]","\\rbrack",!0),c(F,g,M,"]","\\rbrack",!0),c(m,g,dt,"(","\\lparen",!0),c(m,g,et,")","\\rparen",!0),c(F,g,M,"<","\\textless",!0),c(F,g,M,">","\\textgreater",!0),c(m,g,dt,"⌊","\\lfloor",!0),c(m,g,et,"⌋","\\rfloor",!0),c(m,g,dt,"⌈","\\lceil",!0),c(m,g,et,"⌉","\\rceil",!0),c(m,g,M,"\\","\\backslash"),c(m,g,M,"∣","|"),c(m,g,M,"∣","\\vert"),c(F,g,M,"|","\\textbar",!0),c(m,g,M,"∥","\\|"),c(m,g,M,"∥","\\Vert"),c(F,g,M,"∥","\\textbardbl"),c(F,g,M,"~","\\textasciitilde"),c(F,g,M,"\\","\\textbackslash"),c(F,g,M,"^","\\textasciicircum"),c(m,g,k,"↑","\\uparrow",!0),c(m,g,k,"⇑","\\Uparrow",!0),c(m,g,k,"↓","\\downarrow",!0),c(m,g,k,"⇓","\\Downarrow",!0),c(m,g,k,"↕","\\updownarrow",!0),c(m,g,k,"⇕","\\Updownarrow",!0),c(m,g,_e,"∐","\\coprod"),c(m,g,_e,"⋁","\\bigvee"),c(m,g,_e,"⋀","\\bigwedge"),c(m,g,_e,"⨄","\\biguplus"),c(m,g,_e,"⋂","\\bigcap"),c(m,g,_e,"⋃","\\bigcup"),c(m,g,_e,"∫","\\int"),c(m,g,_e,"∫","\\intop"),c(m,g,_e,"∬","\\iint"),c(m,g,_e,"∭","\\iiint"),c(m,g,_e,"∏","\\prod"),c(m,g,_e,"∑","\\sum"),c(m,g,_e,"⨂","\\bigotimes"),c(m,g,_e,"⨁","\\bigoplus"),c(m,g,_e,"⨀","\\bigodot"),c(m,g,_e,"∮","\\oint"),c(m,g,_e,"∯","\\oiint"),c(m,g,_e,"∰","\\oiiint"),c(m,g,_e,"⨆","\\bigsqcup"),c(m,g,_e,"∫","\\smallint"),c(F,g,Rr,"…","\\textellipsis"),c(m,g,Rr,"…","\\mathellipsis"),c(F,g,Rr,"…","\\ldots",!0),c(m,g,Rr,"…","\\ldots",!0),c(m,g,Rr,"⋯","\\@cdots",!0),c(m,g,Rr,"⋱","\\ddots",!0),c(m,g,M,"⋮","\\varvdots"),c(F,g,M,"⋮","\\varvdots"),c(m,g,Ie,"ˊ","\\acute"),c(m,g,Ie,"ˋ","\\grave"),c(m,g,Ie,"¨","\\ddot"),c(m,g,Ie,"~","\\tilde"),c(m,g,Ie,"ˉ","\\bar"),c(m,g,Ie,"˘","\\breve"),c(m,g,Ie,"ˇ","\\check"),c(m,g,Ie,"^","\\hat"),c(m,g,Ie,"⃗","\\vec"),c(m,g,Ie,"˙","\\dot"),c(m,g,Ie,"˚","\\mathring"),c(m,g,ie,"","\\@imath"),c(m,g,ie,"","\\@jmath"),c(m,g,M,"ı","ı"),c(m,g,M,"ȷ","ȷ"),c(F,g,M,"ı","\\i",!0),c(F,g,M,"ȷ","\\j",!0),c(F,g,M,"ß","\\ss",!0),c(F,g,M,"æ","\\ae",!0),c(F,g,M,"œ","\\oe",!0),c(F,g,M,"ø","\\o",!0),c(F,g,M,"Æ","\\AE",!0),c(F,g,M,"Œ","\\OE",!0),c(F,g,M,"Ø","\\O",!0),c(F,g,Ie,"ˊ","\\'"),c(F,g,Ie,"ˋ","\\`"),c(F,g,Ie,"ˆ","\\^"),c(F,g,Ie,"˜","\\~"),c(F,g,Ie,"ˉ","\\="),c(F,g,Ie,"˘","\\u"),c(F,g,Ie,"˙","\\."),c(F,g,Ie,"¸","\\c"),c(F,g,Ie,"˚","\\r"),c(F,g,Ie,"ˇ","\\v"),c(F,g,Ie,"¨",'\\"'),c(F,g,Ie,"˝","\\H"),c(F,g,Ie,"◯","\\textcircled");var vo={"--":!0,"---":!0,"``":!0,"''":!0};c(F,g,M,"–","--",!0),c(F,g,M,"–","\\textendash"),c(F,g,M,"—","---",!0),c(F,g,M,"—","\\textemdash"),c(F,g,M,"‘","`",!0),c(F,g,M,"‘","\\textquoteleft"),c(F,g,M,"’","'",!0),c(F,g,M,"’","\\textquoteright"),c(F,g,M,"“","``",!0),c(F,g,M,"“","\\textquotedblleft"),c(F,g,M,"”","''",!0),c(F,g,M,"”","\\textquotedblright"),c(m,g,M,"°","\\degree",!0),c(F,g,M,"°","\\degree"),c(F,g,M,"°","\\textdegree",!0),c(m,g,M,"£","\\pounds"),c(m,g,M,"£","\\mathsterling",!0),c(F,g,M,"£","\\pounds"),c(F,g,M,"£","\\textsterling",!0),c(m,x,M,"✠","\\maltese"),c(F,x,M,"✠","\\maltese");for(var yo='0123456789/@."',l0=0;l0<yo.length;l0++){var bo=yo.charAt(l0);c(m,g,M,bo,bo)}for(var xo='0123456789!@*()-=+";:?/.,',o0=0;o0<xo.length;o0++){var wo=xo.charAt(o0);c(F,g,M,wo,wo)}for(var Rn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",s0=0;s0<Rn.length;s0++){var Dn=Rn.charAt(s0);c(m,g,ie,Dn,Dn),c(F,g,M,Dn,Dn)}c(m,x,M,"C","ℂ"),c(F,x,M,"C","ℂ"),c(m,x,M,"H","ℍ"),c(F,x,M,"H","ℍ"),c(m,x,M,"N","ℕ"),c(F,x,M,"N","ℕ"),c(m,x,M,"P","ℙ"),c(F,x,M,"P","ℙ"),c(m,x,M,"Q","ℚ"),c(F,x,M,"Q","ℚ"),c(m,x,M,"R","ℝ"),c(F,x,M,"R","ℝ"),c(m,x,M,"Z","ℤ"),c(F,x,M,"Z","ℤ"),c(m,g,ie,"h","ℎ"),c(F,g,ie,"h","ℎ");for(var ae="",tt=0;tt<Rn.length;tt++){var De=Rn.charAt(tt);ae=String.fromCharCode(55349,56320+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56372+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56424+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56580+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56684+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56736+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56788+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56840+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56944+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),tt<26&&(ae=String.fromCharCode(55349,56632+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56476+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae))}ae="𝕜",c(m,g,ie,"k",ae),c(F,g,M,"k",ae);for(var pr=0;pr<10;pr++){var rr=pr.toString();ae=String.fromCharCode(55349,57294+pr),c(m,g,ie,rr,ae),c(F,g,M,rr,ae),ae=String.fromCharCode(55349,57314+pr),c(m,g,ie,rr,ae),c(F,g,M,rr,ae),ae=String.fromCharCode(55349,57324+pr),c(m,g,ie,rr,ae),c(F,g,M,rr,ae),ae=String.fromCharCode(55349,57334+pr),c(m,g,ie,rr,ae),c(F,g,M,rr,ae)}for(var u0="ÐÞþ",c0=0;c0<u0.length;c0++){var Ln=u0.charAt(c0);c(m,g,ie,Ln,Ln),c(F,g,M,Ln,Ln)}var Bn=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],ko=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],W4=function(t,r){var n=t.charCodeAt(0),i=t.charCodeAt(1),a=(n-55296)*1024+(i-56320)+65536,l=r==="math"?0:1;if(119808<=a&&a<120484){var o=Math.floor((a-119808)/26);return[Bn[o][2],Bn[o][l]]}else if(120782<=a&&a<=120831){var s=Math.floor((a-120782)/10);return[ko[s][2],ko[s][l]]}else{if(a===120485||a===120486)return[Bn[0][2],Bn[0][l]];if(120486<a&&a<120782)return["",""];throw new q("Unsupported character: "+t)}},Fn=function(t,r,n){return Me[n][t]&&Me[n][t].replace&&(t=Me[n][t].replace),{value:t,metrics:t0(t,r,n)}},At=function(t,r,n,i,a){var l=Fn(t,r,n),o=l.metrics;t=l.value;var s;if(o){var u=o.italic;(n==="text"||i&&i.font==="mathit")&&(u=0),s=new xt(t,o.height,o.depth,u,o.skew,o.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),s=new xt(t,0,0,0,0,0,a);if(i){s.maxFontSize=i.sizeMultiplier,i.style.isTight()&&s.classes.push("mtight");var f=i.getColor();f&&(s.style.color=f)}return s},Y4=function(t,r,n,i){return i===void 0&&(i=[]),n.font==="boldsymbol"&&Fn(t,"Main-Bold",r).metrics?At(t,"Main-Bold",r,n,i.concat(["mathbf"])):t==="\\"||Me[r][t].font==="main"?At(t,"Main-Regular",r,n,i):At(t,"AMS-Regular",r,n,i.concat(["amsrm"]))},X4=function(t,r,n,i,a){return a!=="textord"&&Fn(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},$4=function(t,r,n){var i=t.mode,a=t.text,l=["mord"],o=i==="math"||i==="text"&&r.font,s=o?r.font:r.fontFamily,u="",f="";if(a.charCodeAt(0)===55349&&([u,f]=W4(a,i)),u.length>0)return At(a,u,i,r,l.concat(f));if(s){var h,d;if(s==="boldsymbol"){var p=X4(a,i,r,l,n);h=p.fontName,d=[p.fontClass]}else o?(h=Ao[s].fontName,d=[s]):(h=Pn(s,r.fontWeight,r.fontShape),d=[s,r.fontWeight,r.fontShape]);if(Fn(a,h,i).metrics)return At(a,h,i,r,l.concat(d));if(vo.hasOwnProperty(a)&&h.slice(0,10)==="Typewriter"){for(var v=[],b=0;b<a.length;b++)v.push(At(a[b],h,i,r,l.concat(d)));return To(v)}}if(n==="mathord")return At(a,"Math-Italic",i,r,l.concat(["mathnormal"]));if(n==="textord"){var C=Me[i][a]&&Me[i][a].font;if(C==="ams"){var w=Pn("amsrm",r.fontWeight,r.fontShape);return At(a,w,i,r,l.concat("amsrm",r.fontWeight,r.fontShape))}else if(C==="main"||!C){var A=Pn("textrm",r.fontWeight,r.fontShape);return At(a,A,i,r,l.concat(r.fontWeight,r.fontShape))}else{var z=Pn(C,r.fontWeight,r.fontShape);return At(a,z,i,r,l.concat(z,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},K4=(e,t)=>{if(er(e.classes)!==er(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},Q4=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof xt&&n instanceof xt&&K4(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},h0=function(t){for(var r=0,n=0,i=0,a=0;a<t.children.length;a++){var l=t.children[a];l.height>r&&(r=l.height),l.depth>n&&(n=l.depth),l.maxFontSize>i&&(i=l.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=i},ot=function(t,r,n,i){var a=new nn(t,r,n,i);return h0(a),a},So=(e,t,r,n)=>new nn(e,t,r,n),Z4=function(t,r,n){var i=ot([t],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=W(i.height),i.maxFontSize=1,i},J4=function(t,r,n,i){var a=new i0(t,r,n,i);return h0(a),a},To=function(t){var r=new rn(t);return h0(r),r},ep=function(t,r){return t instanceof rn?ot([],[t],r):t},tp=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,l=1;l<r.length;l++){var o=-r[l].shift-a-r[l].elem.depth,s=o-(r[l-1].elem.height+r[l-1].elem.depth);a=a+o,n.push({type:"kern",size:s}),n.push(r[l])}return{children:n,depth:i}}var u;if(t.positionType==="top"){for(var f=t.positionData,h=0;h<t.children.length;h++){var d=t.children[h];f-=d.type==="kern"?d.size:d.elem.height+d.elem.depth}u=f}else if(t.positionType==="bottom")u=-t.positionData;else{var p=t.children[0];if(p.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")u=-p.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")u=-p.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:u}},rp=function(t,r){for(var{children:n,depth:i}=tp(t),a=0,l=0;l<n.length;l++){var o=n[l];if(o.type==="elem"){var s=o.elem;a=Math.max(a,s.maxFontSize,s.height)}}a+=2;var u=ot(["pstrut"],[]);u.style.height=W(a);for(var f=[],h=i,d=i,p=i,v=0;v<n.length;v++){var b=n[v];if(b.type==="kern")p+=b.size;else{var C=b.elem,w=b.wrapperClasses||[],A=b.wrapperStyle||{},z=ot(w,[u,C],void 0,A);z.style.top=W(-a-p-C.depth),b.marginLeft&&(z.style.marginLeft=b.marginLeft),b.marginRight&&(z.style.marginRight=b.marginRight),f.push(z),p+=C.height+C.depth}h=Math.min(h,p),d=Math.max(d,p)}var D=ot(["vlist"],f);D.style.height=W(d);var L;if(h<0){var I=ot([],[]),P=ot(["vlist"],[I]);P.style.height=W(-h);var X=ot(["vlist-s"],[new xt("​")]);L=[ot(["vlist-r"],[D,X]),ot(["vlist-r"],[P])]}else L=[ot(["vlist-r"],[D])];var H=ot(["vlist-t"],L);return L.length===2&&H.classes.push("vlist-t2"),H.height=d,H.depth=-h,H},np=(e,t)=>{var r=ot(["mspace"],[],t),n=Oe(e,t);return r.style.marginRight=W(n),r},Pn=function(t,r,n){var i="";switch(t){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=t}var a;return r==="textbf"&&n==="textit"?a="BoldItalic":r==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",i+"-"+a},Ao={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Eo={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},ip=function(t,r){var[n,i,a]=Eo[t],l=new tr(n),o=new jt([l],{width:W(i),height:W(a),style:"width:"+W(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),s=So(["overlay"],[o],r);return s.height=a,s.style.height=W(a),s.style.width=W(i),s},O={fontMap:Ao,makeSymbol:At,mathsym:Y4,makeSpan:ot,makeSvgSpan:So,makeLineSpan:Z4,makeAnchor:J4,makeFragment:To,wrapFragment:ep,makeVList:rp,makeOrd:$4,makeGlue:np,staticSvg:ip,svgData:Eo,tryCombineChars:Q4},Re={number:3,unit:"mu"},dr={number:4,unit:"mu"},Ut={number:5,unit:"mu"},ap={mord:{mop:Re,mbin:dr,mrel:Ut,minner:Re},mop:{mord:Re,mop:Re,mrel:Ut,minner:Re},mbin:{mord:dr,mop:dr,mopen:dr,minner:dr},mrel:{mord:Ut,mop:Ut,mopen:Ut,minner:Ut},mopen:{},mclose:{mop:Re,mbin:dr,mrel:Ut,minner:Re},mpunct:{mord:Re,mop:Re,mrel:Ut,mopen:Re,mclose:Re,mpunct:Re,minner:Re},minner:{mord:Re,mop:Re,mbin:dr,mrel:Ut,mopen:Re,mpunct:Re,minner:Re}},lp={mord:{mop:Re},mop:{mord:Re,mop:Re},mbin:{},mrel:{},mopen:{},mclose:{mop:Re},mpunct:{},minner:{mop:Re}},Co={},_n={},Hn={};function $(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:l}=e,o={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},s=0;s<r.length;++s)Co[r[s]]=o;t&&(a&&(_n[t]=a),l&&(Hn[t]=l))}function gr(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;$({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var jn=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Be=function(t){return t.type==="ordgroup"?t.body:[t]},Vt=O.makeSpan,op=["leftmost","mbin","mopen","mrel","mop","mpunct"],sp=["rightmost","mrel","mclose","mpunct"],up={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT},cp={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ue=function(t,r,n,i){i===void 0&&(i=[null,null]);for(var a=[],l=0;l<t.length;l++){var o=be(t[l],r);if(o instanceof rn){var s=o.children;a.push(...s)}else a.push(o)}if(O.tryCombineChars(a),!n)return a;var u=r;if(t.length===1){var f=t[0];f.type==="sizing"?u=r.havingSize(f.size):f.type==="styling"&&(u=r.havingStyle(up[f.style]))}var h=Vt([i[0]||"leftmost"],[],r),d=Vt([i[1]||"rightmost"],[],r),p=n==="root";return Mo(a,(v,b)=>{var C=b.classes[0],w=v.classes[0];C==="mbin"&&te.contains(sp,w)?b.classes[0]="mord":w==="mbin"&&te.contains(op,C)&&(v.classes[0]="mord")},{node:h},d,p),Mo(a,(v,b)=>{var C=f0(b),w=f0(v),A=C&&w?v.hasClass("mtight")?lp[C][w]:ap[C][w]:null;if(A)return O.makeGlue(A,u)},{node:h},d,p),a},Mo=function e(t,r,n,i,a){i&&t.push(i);for(var l=0;l<t.length;l++){var o=t[l],s=zo(o);if(s){e(s.children,r,n,null,a);continue}var u=!o.hasClass("mspace");if(u){var f=r(o,n.node);f&&(n.insertAfter?n.insertAfter(f):(t.unshift(f),l++))}u?n.node=o:a&&o.hasClass("newline")&&(n.node=Vt(["leftmost"])),n.insertAfter=(h=>d=>{t.splice(h+1,0,d),l++})(l)}i&&t.pop()},zo=function(t){return t instanceof rn||t instanceof i0||t instanceof nn&&t.hasClass("enclosing")?t:null},hp=function e(t,r){var n=zo(t);if(n){var i=n.children;if(i.length){if(r==="right")return e(i[i.length-1],"right");if(r==="left")return e(i[0],"left")}}return t},f0=function(t,r){return t?(r&&(t=hp(t,r)),cp[t.classes[0]]||null):null},an=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return Vt(r.concat(n))},be=function(t,r,n){if(!t)return Vt();if(_n[t.type]){var i=_n[t.type](t,r);if(n&&r.size!==n.size){i=Vt(r.sizingClasses(n),[i],r);var a=r.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new q("Got group of unknown type: '"+t.type+"'")};function qn(e,t){var r=Vt(["base"],e,t),n=Vt(["strut"]);return n.style.height=W(r.height+r.depth),r.depth&&(n.style.verticalAlign=W(-r.depth)),r.children.unshift(n),r}function m0(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=Ue(e,t,"root"),i;n.length===2&&n[1].hasClass("tag")&&(i=n.pop());for(var a=[],l=[],o=0;o<n.length;o++)if(l.push(n[o]),n[o].hasClass("mbin")||n[o].hasClass("mrel")||n[o].hasClass("allowbreak")){for(var s=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,l.push(n[o]),n[o].hasClass("nobreak")&&(s=!0);s||(a.push(qn(l,t)),l=[])}else n[o].hasClass("newline")&&(l.pop(),l.length>0&&(a.push(qn(l,t)),l=[]),a.push(n[o]));l.length>0&&a.push(qn(l,t));var u;r?(u=qn(Ue(r,t,!0)),u.classes=["tag"],a.push(u)):i&&a.push(i);var f=Vt(["katex-html"],a);if(f.setAttribute("aria-hidden","true"),u){var h=u.children[0];h.style.height=W(f.height+f.depth),f.depth&&(h.style.verticalAlign=W(-f.depth))}return f}function Io(e){return new rn(e)}class gt{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=er(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof Ot&&this.children[n+1]instanceof Ot){for(var i=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof Ot;)i+=this.children[++n].toText();t.appendChild(new Ot(i).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=te.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+te.escape(er(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Ot{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return te.escape(this.toText())}toText(){return this.text}}class fp{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",W(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+W(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var _={MathNode:gt,TextNode:Ot,SpaceNode:fp,newDocumentFragment:Io},wt=function(t,r,n){return Me[r][t]&&Me[r][t].replace&&t.charCodeAt(0)!==55349&&!(vo.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Me[r][t].replace),new _.TextNode(t)},p0=function(t){return t.length===1?t[0]:new _.MathNode("mrow",t)},d0=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var i=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var a=t.text;if(te.contains(["\\imath","\\jmath"],a))return null;Me[i][a]&&Me[i][a].replace&&(a=Me[i][a].replace);var l=O.fontMap[n].fontName;return t0(a,l,i)?O.fontMap[n].variant:null};function g0(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Ot&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof Ot&&r.text===","}else return!1}var st=function(t,r,n){if(t.length===1){var i=Ae(t[0],r);return n&&i instanceof gt&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],l,o=0;o<t.length;o++){var s=Ae(t[o],r);if(s instanceof gt&&l instanceof gt){if(s.type==="mtext"&&l.type==="mtext"&&s.getAttribute("mathvariant")===l.getAttribute("mathvariant")){l.children.push(...s.children);continue}else if(s.type==="mn"&&l.type==="mn"){l.children.push(...s.children);continue}else if(g0(s)&&l.type==="mn"){l.children.push(...s.children);continue}else if(s.type==="mn"&&g0(l))s.children=[...l.children,...s.children],a.pop();else if((s.type==="msup"||s.type==="msub")&&s.children.length>=1&&(l.type==="mn"||g0(l))){var u=s.children[0];u instanceof gt&&u.type==="mn"&&(u.children=[...l.children,...u.children],a.pop())}else if(l.type==="mi"&&l.children.length===1){var f=l.children[0];if(f instanceof Ot&&f.text==="̸"&&(s.type==="mo"||s.type==="mi"||s.type==="mn")){var h=s.children[0];h instanceof Ot&&h.text.length>0&&(h.text=h.text.slice(0,1)+"̸"+h.text.slice(1),a.pop())}}}a.push(s),l=s}return a},nr=function(t,r,n){return p0(st(t,r,n))},Ae=function(t,r){if(!t)return new _.MathNode("mrow");if(Hn[t.type]){var n=Hn[t.type](t,r);return n}else throw new q("Got group of unknown type: '"+t.type+"'")};function No(e,t,r,n,i){var a=st(e,r),l;a.length===1&&a[0]instanceof gt&&te.contains(["mrow","mtable"],a[0].type)?l=a[0]:l=new _.MathNode("mrow",a);var o=new _.MathNode("annotation",[new _.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var s=new _.MathNode("semantics",[l,o]),u=new _.MathNode("math",[s]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&u.setAttribute("display","block");var f=i?"katex":"katex-mathml";return O.makeSpan([f],[u])}var Oo=function(t){return new Ht({style:t.displayMode?ne.DISPLAY:ne.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Ro=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=O.makeSpan(n,[t])}return t},mp=function(t,r,n){var i=Oo(n),a;if(n.output==="mathml")return No(t,r,i,n.displayMode,!0);if(n.output==="html"){var l=m0(t,i);a=O.makeSpan(["katex"],[l])}else{var o=No(t,r,i,n.displayMode,!1),s=m0(t,i);a=O.makeSpan(["katex"],[o,s])}return Ro(a,n)},pp=function(t,r,n){var i=Oo(n),a=m0(t,i),l=O.makeSpan(["katex"],[a]);return Ro(l,n)},dp={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},gp=function(t){var r=new _.MathNode("mo",[new _.TextNode(dp[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},vp={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},yp=function(t){return t.type==="ordgroup"?t.body.length:1},bp=function(t,r){function n(){var o=4e5,s=t.label.slice(1);if(te.contains(["widehat","widecheck","widetilde","utilde"],s)){var u=t,f=yp(u.base),h,d,p;if(f>5)s==="widehat"||s==="widecheck"?(h=420,o=2364,p=.42,d=s+"4"):(h=312,o=2340,p=.34,d="tilde4");else{var v=[1,1,2,2,3,3][f];s==="widehat"||s==="widecheck"?(o=[0,1062,2364,2364,2364][v],h=[0,239,300,360,420][v],p=[0,.24,.3,.3,.36,.42][v],d=s+v):(o=[0,600,1033,2339,2340][v],h=[0,260,286,306,312][v],p=[0,.26,.286,.3,.306,.34][v],d="tilde"+v)}var b=new tr(d),C=new jt([b],{width:"100%",height:W(p),viewBox:"0 0 "+o+" "+h,preserveAspectRatio:"none"});return{span:O.makeSvgSpan([],[C],r),minWidth:0,height:p}}else{var w=[],A=vp[s],[z,D,L]=A,I=L/1e3,P=z.length,X,H;if(P===1){var N=A[3];X=["hide-tail"],H=[N]}else if(P===2)X=["halfarrow-left","halfarrow-right"],H=["xMinYMin","xMaxYMin"];else if(P===3)X=["brace-left","brace-center","brace-right"],H=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
678
- `+P+" children.");for(var V=0;V<P;V++){var G=new tr(z[V]),le=new jt([G],{width:"400em",height:W(I),viewBox:"0 0 "+o+" "+L,preserveAspectRatio:H[V]+" slice"}),re=O.makeSvgSpan([X[V]],[le],r);if(P===1)return{span:re,minWidth:D,height:I};re.style.height=W(I),w.push(re)}return{span:O.makeSpan(["stretchy"],w,r),minWidth:D,height:I}}}var{span:i,minWidth:a,height:l}=n();return i.height=l,i.style.height=W(l),a>0&&(i.style.minWidth=W(a)),i},xp=function(t,r,n,i,a){var l,o=t.height+t.depth+n+i;if(/fbox|color|angl/.test(r)){if(l=O.makeSpan(["stretchy",r],[],a),r==="fbox"){var s=a.color&&a.getColor();s&&(l.style.borderColor=s)}}else{var u=[];/^[bx]cancel$/.test(r)&&u.push(new a0({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&u.push(new a0({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var f=new jt(u,{width:"100%",height:W(o)});l=O.makeSvgSpan([],[f],a)}return l.height=o,l.style.height=W(o),l},Gt={encloseSpan:xp,mathMLnode:gp,svgSpan:bp};function ce(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function v0(e){var t=Un(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Un(e){return e&&(e.type==="atom"||G4.hasOwnProperty(e.type))?e:null}var y0=(e,t)=>{var r,n,i;e&&e.type==="supsub"?(n=ce(e.base,"accent"),r=n.base,e.base=r,i=U4(be(e,t)),e.base=n):(n=ce(e,"accent"),r=n.base);var a=be(r,t.havingCrampedStyle()),l=n.isShifty&&te.isCharacterBox(r),o=0;if(l){var s=te.getBaseElem(r),u=be(s,t.havingCrampedStyle());o=go(u).skew}var f=n.label==="\\c",h=f?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),d;if(n.isStretchy)d=Gt.svgSpan(n,t),d=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+W(2*o)+")",marginLeft:W(2*o)}:void 0}]},t);else{var p,v;n.label==="\\vec"?(p=O.staticSvg("vec",t),v=O.svgData.vec[1]):(p=O.makeOrd({mode:n.mode,text:n.label},t,"textord"),p=go(p),p.italic=0,v=p.width,f&&(h+=p.depth)),d=O.makeSpan(["accent-body"],[p]);var b=n.label==="\\textcircled";b&&(d.classes.push("accent-full"),h=a.height);var C=o;b||(C-=v/2),d.style.left=W(C),n.label==="\\textcircled"&&(d.style.top=".2em"),d=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-h},{type:"elem",elem:d}]},t)}var w=O.makeSpan(["mord","accent"],[d],t);return i?(i.children[0]=w,i.height=Math.max(w.height,i.height),i.classes[0]="mord",i):w},Do=(e,t)=>{var r=e.isStretchy?Gt.mathMLnode(e.label):new _.MathNode("mo",[wt(e.label,e.mode)]),n=new _.MathNode("mover",[Ae(e.base,t),r]);return n.setAttribute("accent","true"),n},wp=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));$({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=jn(t[0]),n=!wp.test(e.funcName),i=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:y0,mathmlBuilder:Do}),$({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:y0,mathmlBuilder:Do}),$({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(e,t)=>{var r=be(e.base,t),n=Gt.svgSpan(e,t),i=e.label==="\\utilde"?.12:0,a=O.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},t);return O.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=Gt.mathMLnode(e.label),n=new _.MathNode("munder",[Ae(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Vn=e=>{var t=new _.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};$({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:i}=e;return{type:"xArrow",mode:n.mode,label:i,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),i=O.wrapFragment(be(e.body,n,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var l;e.below&&(n=t.havingStyle(r.sub()),l=O.wrapFragment(be(e.below,n,t),t),l.classes.push(a+"-arrow-pad"));var o=Gt.svgSpan(e,t),s=-t.fontMetrics().axisHeight+.5*o.height,u=-t.fontMetrics().axisHeight-.5*o.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(u-=i.depth);var f;if(l){var h=-t.fontMetrics().axisHeight+l.height+.5*o.height+.111;f=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:o,shift:s},{type:"elem",elem:l,shift:h}]},t)}else f=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:o,shift:s}]},t);return f.children[0].children[0].children[1].classes.push("svg-align"),O.makeSpan(["mrel","x-arrow"],[f],t)},mathmlBuilder(e,t){var r=Gt.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var i=Vn(Ae(e.body,t));if(e.below){var a=Vn(Ae(e.below,t));n=new _.MathNode("munderover",[r,a,i])}else n=new _.MathNode("mover",[r,i])}else if(e.below){var l=Vn(Ae(e.below,t));n=new _.MathNode("munder",[r,l])}else n=Vn(),n=new _.MathNode("mover",[r,n]);return n}});var kp=O.makeSpan;function Lo(e,t){var r=Ue(e.body,t,!0);return kp([e.mclass],r,t)}function Bo(e,t){var r,n=st(e.body,t);return e.mclass==="minner"?r=new _.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new _.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new _.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}$({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Be(i),isCharacterBox:te.isCharacterBox(i)}},htmlBuilder:Lo,mathmlBuilder:Bo});var Gn=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};$({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:Gn(t[0]),body:Be(t[1]),isCharacterBox:te.isCharacterBox(t[1])}}}),$({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,i=t[1],a=t[0],l;n!=="\\stackrel"?l=Gn(i):l="mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Be(i)},s={type:"supsub",mode:a.mode,base:o,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:l,body:[s],isCharacterBox:te.isCharacterBox(s)}},htmlBuilder:Lo,mathmlBuilder:Bo}),$({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:Gn(t[0]),body:Be(t[0])}},htmlBuilder(e,t){var r=Ue(e.body,t,!0),n=O.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=st(e.body,t),n=new _.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var Sp={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Fo=()=>({type:"styling",body:[],mode:"math",style:"display"}),Po=e=>e.type==="textord"&&e.text==="@",Tp=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Ap(e,t,r){var n=Sp[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:n,mode:"math",family:"rel"},l=r.callFunction("\\Big",[a],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),s={type:"ordgroup",mode:"math",body:[i,l,o]};return r.callFunction("\\\\cdparent",[s],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var u={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[u],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Ep(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new q("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],i=[n],a=0;a<t.length;a++){for(var l=t[a],o=Fo(),s=0;s<l.length;s++)if(!Po(l[s]))o.body.push(l[s]);else{n.push(o),s+=1;var u=v0(l[s]).text,f=new Array(2);if(f[0]={type:"ordgroup",mode:"math",body:[]},f[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(u)>-1))if("<>AV".indexOf(u)>-1)for(var h=0;h<2;h++){for(var d=!0,p=s+1;p<l.length;p++){if(Tp(l[p],u)){d=!1,s=p;break}if(Po(l[p]))throw new q("Missing a "+u+" character to complete a CD arrow.",l[p]);f[h].body.push(l[p])}if(d)throw new q("Missing a "+u+" character to complete a CD arrow.",l[s])}else throw new q('Expected one of "<>AV=|." after @',l[s]);var v=Ap(u,f,e),b={type:"styling",body:[v],mode:"math",style:"display"};n.push(b),o=Fo()}a%2===0?n.push(o):n.shift(),n=[],i.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var C=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:C,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}$({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=O.wrapFragment(be(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=W(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new _.MathNode("mrow",[Ae(e.label,t)]);return r=new _.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new _.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),$({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=O.wrapFragment(be(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new _.MathNode("mrow",[Ae(e.fragment,t)])}}),$({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=ce(t[0],"ordgroup"),i=n.body,a="",l=0;l<i.length;l++){var o=ce(i[l],"textord");a+=o.text}var s=parseInt(a),u;if(isNaN(s))throw new q("\\@char has non-numeric argument "+a);if(s<0||s>=1114111)throw new q("\\@char with invalid code point "+a);return s<=65535?u=String.fromCharCode(s):(s-=65536,u=String.fromCharCode((s>>10)+55296,(s&1023)+56320)),{type:"textord",mode:r.mode,text:u}}});var _o=(e,t)=>{var r=Ue(e.body,t.withColor(e.color),!1);return O.makeFragment(r)},Ho=(e,t)=>{var r=st(e.body,t.withColor(e.color)),n=new _.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};$({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=ce(t[0],"color-token").color,i=t[1];return{type:"color",mode:r.mode,color:n,body:Be(i)}},htmlBuilder:_o,mathmlBuilder:Ho}),$({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,i=ce(t[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:_o,mathmlBuilder:Ho}),$({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&ce(i,"size").value}},htmlBuilder(e,t){var r=O.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=W(Oe(e.size,t)))),r},mathmlBuilder(e,t){var r=new _.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",W(Oe(e.size,t)))),r}});var b0={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},jo=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new q("Expected a control sequence",e);return t},Cp=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},qo=(e,t,r,n)=>{var i=e.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,i,n)};$({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(b0[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=b0[n.text]),ce(t.parseFunction(),"internal");throw new q("Invalid token after macro prefix",n)}}),$({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new q("Expected a control sequence",n);for(var a=0,l,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){l=t.gullet.future(),o[a].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new q('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new q('Argument number "'+n.text+'" out of order');a++,o.push([])}else{if(n.text==="EOF")throw new q("Expected a macro definition");o[a].push(n.text)}var{tokens:s}=t.gullet.consumeArg();return l&&s.unshift(l),(r==="\\edef"||r==="\\xdef")&&(s=t.gullet.expandTokens(s),s.reverse()),t.gullet.macros.set(i,{tokens:s,numArgs:a,delimiters:o},r===b0[r]),{type:"internal",mode:t.mode}}}),$({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=jo(t.gullet.popToken());t.gullet.consumeSpaces();var i=Cp(t);return qo(t,n,i,r==="\\\\globallet"),{type:"internal",mode:t.mode}}}),$({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=jo(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return qo(t,n,a,r==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var ln=function(t,r,n){var i=Me.math[t]&&Me.math[t].replace,a=t0(i||t,r,n);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return a},x0=function(t,r,n,i){var a=n.havingBaseStyle(r),l=O.makeSpan(i.concat(a.sizingClasses(n)),[t],n),o=a.sizeMultiplier/n.sizeMultiplier;return l.height*=o,l.depth*=o,l.maxFontSize=a.sizeMultiplier,l},Uo=function(t,r,n){var i=r.havingBaseStyle(n),a=(1-r.sizeMultiplier/i.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=W(a),t.height-=a,t.depth+=a},Mp=function(t,r,n,i,a,l){var o=O.makeSymbol(t,"Main-Regular",a,i),s=x0(o,r,i,l);return n&&Uo(s,i,r),s},zp=function(t,r,n,i){return O.makeSymbol(t,"Size"+r+"-Regular",n,i)},Vo=function(t,r,n,i,a,l){var o=zp(t,r,a,i),s=x0(O.makeSpan(["delimsizing","size"+r],[o],i),ne.TEXT,i,l);return n&&Uo(s,i,ne.TEXT),s},w0=function(t,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=O.makeSpan(["delimsizinginner",i],[O.makeSpan([],[O.makeSymbol(t,r,n)])]);return{type:"elem",elem:a}},k0=function(t,r,n){var i=Nt["Size4-Regular"][t.charCodeAt(0)]?Nt["Size4-Regular"][t.charCodeAt(0)][4]:Nt["Size1-Regular"][t.charCodeAt(0)][4],a=new tr("inner",D4(t,Math.round(1e3*r))),l=new jt([a],{width:W(i),height:W(r),style:"width:"+W(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=O.makeSvgSpan([],[l],n);return o.height=r,o.style.height=W(r),o.style.width=W(i),{type:"elem",elem:o}},S0=.008,Wn={type:"kern",size:-1*S0},Ip=["|","\\lvert","\\rvert","\\vert"],Np=["\\|","\\lVert","\\rVert","\\Vert"],Go=function(t,r,n,i,a,l){var o,s,u,f,h="",d=0;o=u=f=t,s=null;var p="Size1-Regular";t==="\\uparrow"?u=f="⏐":t==="\\Uparrow"?u=f="‖":t==="\\downarrow"?o=u="⏐":t==="\\Downarrow"?o=u="‖":t==="\\updownarrow"?(o="\\uparrow",u="⏐",f="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",u="‖",f="\\Downarrow"):te.contains(Ip,t)?(u="∣",h="vert",d=333):te.contains(Np,t)?(u="∥",h="doublevert",d=556):t==="["||t==="\\lbrack"?(o="⎡",u="⎢",f="⎣",p="Size4-Regular",h="lbrack",d=667):t==="]"||t==="\\rbrack"?(o="⎤",u="⎥",f="⎦",p="Size4-Regular",h="rbrack",d=667):t==="\\lfloor"||t==="⌊"?(u=o="⎢",f="⎣",p="Size4-Regular",h="lfloor",d=667):t==="\\lceil"||t==="⌈"?(o="⎡",u=f="⎢",p="Size4-Regular",h="lceil",d=667):t==="\\rfloor"||t==="⌋"?(u=o="⎥",f="⎦",p="Size4-Regular",h="rfloor",d=667):t==="\\rceil"||t==="⌉"?(o="⎤",u=f="⎥",p="Size4-Regular",h="rceil",d=667):t==="("||t==="\\lparen"?(o="⎛",u="⎜",f="⎝",p="Size4-Regular",h="lparen",d=875):t===")"||t==="\\rparen"?(o="⎞",u="⎟",f="⎠",p="Size4-Regular",h="rparen",d=875):t==="\\{"||t==="\\lbrace"?(o="⎧",s="⎨",f="⎩",u="⎪",p="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",s="⎬",f="⎭",u="⎪",p="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",f="⎩",u="⎪",p="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",f="⎭",u="⎪",p="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",f="⎭",u="⎪",p="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",f="⎩",u="⎪",p="Size4-Regular");var v=ln(o,p,a),b=v.height+v.depth,C=ln(u,p,a),w=C.height+C.depth,A=ln(f,p,a),z=A.height+A.depth,D=0,L=1;if(s!==null){var I=ln(s,p,a);D=I.height+I.depth,L=2}var P=b+z+D,X=Math.max(0,Math.ceil((r-P)/(L*w))),H=P+X*L*w,N=i.fontMetrics().axisHeight;n&&(N*=i.sizeMultiplier);var V=H/2-N,G=[];if(h.length>0){var le=H-b-z,re=Math.round(H*1e3),Q=L4(h,Math.round(le*1e3)),he=new tr(h,Q),de=(d/1e3).toFixed(3)+"em",xe=(re/1e3).toFixed(3)+"em",Ve=new jt([he],{width:de,height:xe,viewBox:"0 0 "+d+" "+re}),S=O.makeSvgSpan([],[Ve],i);S.height=re/1e3,S.style.width=de,S.style.height=xe,G.push({type:"elem",elem:S})}else{if(G.push(w0(f,p,a)),G.push(Wn),s===null){var ze=H-b-z+2*S0;G.push(k0(u,ze,i))}else{var Se=(H-b-z-D)/2+2*S0;G.push(k0(u,Se,i)),G.push(Wn),G.push(w0(s,p,a)),G.push(Wn),G.push(k0(u,Se,i))}G.push(Wn),G.push(w0(o,p,a))}var E=i.havingBaseStyle(ne.TEXT),He=O.makeVList({positionType:"bottom",positionData:V,children:G},E);return x0(O.makeSpan(["delimsizing","mult"],[He],E),ne.TEXT,i,l)},T0=80,A0=.08,E0=function(t,r,n,i,a){var l=R4(t,i,n),o=new tr(t,l),s=new jt([o],{width:"400em",height:W(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return O.makeSvgSpan(["hide-tail"],[s],a)},Op=function(t,r){var n=r.havingBaseSizing(),i=$o("\\surd",t*n.sizeMultiplier,Xo,n),a=n.sizeMultiplier,l=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,s=0,u=0,f=0,h;return i.type==="small"?(f=1e3+1e3*l+T0,t<1?a=1:t<1.4&&(a=.7),s=(1+l+A0)/a,u=(1+l)/a,o=E0("sqrtMain",s,f,l,r),o.style.minWidth="0.853em",h=.833/a):i.type==="large"?(f=(1e3+T0)*on[i.size],u=(on[i.size]+l)/a,s=(on[i.size]+l+A0)/a,o=E0("sqrtSize"+i.size,s,f,l,r),o.style.minWidth="1.02em",h=1/a):(s=t+l+A0,u=t+l,f=Math.floor(1e3*t+l)+T0,o=E0("sqrtTall",s,f,l,r),o.style.minWidth="0.742em",h=1.056),o.height=u,o.style.height=W(s),{span:o,advanceWidth:h,ruleWidth:(r.fontMetrics().sqrtRuleThickness+l)*a}},Wo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Rp=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Yo=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],on=[0,1.2,1.8,2.4,3],Dp=function(t,r,n,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),te.contains(Wo,t)||te.contains(Yo,t))return Vo(t,r,!1,n,i,a);if(te.contains(Rp,t))return Go(t,on[r],!1,n,i,a);throw new q("Illegal delimiter: '"+t+"'")},Lp=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Bp=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"stack"}],Xo=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Fp=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},$o=function(t,r,n,i){for(var a=Math.min(2,3-i.style.size),l=a;l<n.length&&n[l].type!=="stack";l++){var o=ln(t,Fp(n[l]),"math"),s=o.height+o.depth;if(n[l].type==="small"){var u=i.havingBaseStyle(n[l].style);s*=u.sizeMultiplier}if(s>r)return n[l]}return n[n.length-1]},Ko=function(t,r,n,i,a,l){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;te.contains(Yo,t)?o=Lp:te.contains(Wo,t)?o=Xo:o=Bp;var s=$o(t,r,o,i);return s.type==="small"?Mp(t,s.style,n,i,a,l):s.type==="large"?Vo(t,s.size,n,i,a,l):Go(t,r,n,i,a,l)},Pp=function(t,r,n,i,a,l){var o=i.fontMetrics().axisHeight*i.sizeMultiplier,s=901,u=5/i.fontMetrics().ptPerEm,f=Math.max(r-o,n+o),h=Math.max(f/500*s,2*f-u);return Ko(t,h,!0,i,a,l)},Wt={sqrtImage:Op,sizedDelim:Dp,sizeToMaxHeight:on,customSizedDelim:Ko,leftRightDelim:Pp},Qo={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},_p=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Yn(e,t){var r=Un(e);if(r&&te.contains(_p,r.text))return r;throw r?new q("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new q("Invalid delimiter type '"+e.type+"'",e)}$({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=Yn(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Qo[e.funcName].size,mclass:Qo[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?O.makeSpan([e.mclass]):Wt.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(wt(e.delim,e.mode));var r=new _.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=W(Wt.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function Zo(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}$({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new q("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Yn(t[0],e).text,color:r}}}),$({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Yn(t[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=ce(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Zo(e);for(var r=Ue(e.body,t,!0,["mopen","mclose"]),n=0,i=0,a=!1,l=0;l<r.length;l++)r[l].isMiddle?a=!0:(n=Math.max(r[l].height,n),i=Math.max(r[l].depth,i));n*=t.sizeMultiplier,i*=t.sizeMultiplier;var o;if(e.left==="."?o=an(t,["mopen"]):o=Wt.leftRightDelim(e.left,n,i,t,e.mode,["mopen"]),r.unshift(o),a)for(var s=1;s<r.length;s++){var u=r[s],f=u.isMiddle;f&&(r[s]=Wt.leftRightDelim(f.delim,n,i,f.options,e.mode,[]))}var h;if(e.right===".")h=an(t,["mclose"]);else{var d=e.rightColor?t.withColor(e.rightColor):t;h=Wt.leftRightDelim(e.right,n,i,d,e.mode,["mclose"])}return r.push(h),O.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{Zo(e);var r=st(e.body,t);if(e.left!=="."){var n=new _.MathNode("mo",[wt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var i=new _.MathNode("mo",[wt(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return p0(r)}}),$({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Yn(t[0],e);if(!e.parser.leftrightDepth)throw new q("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=an(t,[]);else{r=Wt.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?wt("|","text"):wt(e.delim,e.mode),n=new _.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var C0=(e,t)=>{var r=O.wrapFragment(be(e.body,t),t),n=e.label.slice(1),i=t.sizeMultiplier,a,l=0,o=te.isCharacterBox(e.body);if(n==="sout")a=O.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,l=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var s=Oe({number:.6,unit:"pt"},t),u=Oe({number:.35,unit:"ex"},t),f=t.havingBaseSizing();i=i/f.sizeMultiplier;var h=r.height+r.depth+s+u;r.style.paddingLeft=W(h/2+s);var d=Math.floor(1e3*h*i),p=N4(d),v=new jt([new tr("phase",p)],{width:"400em",height:W(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});a=O.makeSvgSpan(["hide-tail"],[v],t),a.style.height=W(h),l=r.depth+s+u}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var b=0,C=0,w=0;/box/.test(n)?(w=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),b=t.fontMetrics().fboxsep+(n==="colorbox"?0:w),C=b):n==="angl"?(w=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),b=4*w,C=Math.max(0,.25-r.depth)):(b=o?.2:0,C=b),a=Gt.encloseSpan(r,n,b,C,t),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=W(w)):n==="angl"&&w!==.049&&(a.style.borderTopWidth=W(w),a.style.borderRightWidth=W(w)),l=r.depth+C,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var A;if(e.backgroundColor)A=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:r,shift:0}]},t);else{var z=/cancel|phase/.test(n)?["svg-align"]:[];A=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:l,wrapperClasses:z}]},t)}return/cancel/.test(n)&&(A.height=r.height,A.depth=r.depth),/cancel/.test(n)&&!o?O.makeSpan(["mord","cancel-lap"],[A],t):O.makeSpan(["mord"],[A],t)},M0=(e,t)=>{var r=0,n=new _.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ae(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};$({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=ce(t[0],"color-token").color,l=t[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:l}},htmlBuilder:C0,mathmlBuilder:M0}),$({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=ce(t[0],"color-token").color,l=ce(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:l,borderColor:a,body:o}},htmlBuilder:C0,mathmlBuilder:M0}),$({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),$({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:C0,mathmlBuilder:M0}),$({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var Jo={};function Rt(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:l}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},s=0;s<r.length;++s)Jo[r[s]]=o;a&&(_n[t]=a),l&&(Hn[t]=l)}var es={};function y(e,t){es[e]=t}function ts(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var Xn=e=>{var t=e.parser.settings;if(!t.displayMode)throw new q("{"+e.envName+"} can be used only in display mode.")};function z0(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function ir(e,t,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:l,colSeparationType:o,autoTag:s,singleRow:u,emptySingleRow:f,maxNumCols:h,leqno:d}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var p=e.gullet.expandMacroAsText("\\arraystretch");if(p==null)l=1;else if(l=parseFloat(p),!l||l<0)throw new q("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var v=[],b=[v],C=[],w=[],A=s!=null?[]:void 0;function z(){s&&e.gullet.macros.set("\\@eqnsw","1",!0)}function D(){A&&(e.gullet.macros.get("\\df@tag")?(A.push(e.subparse([new yt("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):A.push(!!s&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(z(),w.push(ts(e));;){var L=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),L={type:"ordgroup",mode:e.mode,body:L},r&&(L={type:"styling",mode:e.mode,style:r,body:[L]}),v.push(L);var I=e.fetch().text;if(I==="&"){if(h&&v.length===h){if(u||o)throw new q("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(I==="\\end"){D(),v.length===1&&L.type==="styling"&&L.body[0].body.length===0&&(b.length>1||!f)&&b.pop(),w.length<b.length+1&&w.push([]);break}else if(I==="\\\\"){e.consume();var P=void 0;e.gullet.future().text!==" "&&(P=e.parseSizeGroup(!0)),C.push(P?P.value:null),D(),w.push(ts(e)),v=[],b.push(v),z()}else throw new q("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:l,body:b,cols:a,rowGaps:C,hskipBeforeAndAfter:n,hLinesBeforeRow:w,colSeparationType:o,tags:A,leqno:d}}function I0(e){return e.slice(0,1)==="d"?"display":"text"}var Dt=function(t,r){var n,i,a=t.body.length,l=t.hLinesBeforeRow,o=0,s=new Array(a),u=[],f=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),h=1/r.fontMetrics().ptPerEm,d=5*h;if(t.colSeparationType&&t.colSeparationType==="small"){var p=r.havingStyle(ne.SCRIPT).sizeMultiplier;d=.2778*(p/r.sizeMultiplier)}var v=t.colSeparationType==="CD"?Oe({number:3,unit:"ex"},r):12*h,b=3*h,C=t.arraystretch*v,w=.7*C,A=.3*C,z=0;function D($t){for(var Pt=0;Pt<$t.length;++Pt)Pt>0&&(z+=.25),u.push({pos:z,isDashed:$t[Pt]})}for(D(l[0]),n=0;n<t.body.length;++n){var L=t.body[n],I=w,P=A;o<L.length&&(o=L.length);var X=new Array(L.length);for(i=0;i<L.length;++i){var H=be(L[i],r);P<H.depth&&(P=H.depth),I<H.height&&(I=H.height),X[i]=H}var N=t.rowGaps[n],V=0;N&&(V=Oe(N,r),V>0&&(V+=A,P<V&&(P=V),V=0)),t.addJot&&(P+=b),X.height=I,X.depth=P,z+=I,X.pos=z,z+=P+V,s[n]=X,D(l[n+1])}var G=z/2+r.fontMetrics().axisHeight,le=t.cols||[],re=[],Q,he,de=[];if(t.tags&&t.tags.some($t=>$t))for(n=0;n<a;++n){var xe=s[n],Ve=xe.pos-G,S=t.tags[n],ze=void 0;S===!0?ze=O.makeSpan(["eqn-num"],[],r):S===!1?ze=O.makeSpan([],[],r):ze=O.makeSpan([],Ue(S,r,!0),r),ze.depth=xe.depth,ze.height=xe.height,de.push({type:"elem",elem:ze,shift:Ve})}for(i=0,he=0;i<o||he<le.length;++i,++he){for(var Se=le[he]||{},E=!0;Se.type==="separator";){if(E||(Q=O.makeSpan(["arraycolsep"],[]),Q.style.width=W(r.fontMetrics().doubleRuleSep),re.push(Q)),Se.separator==="|"||Se.separator===":"){var He=Se.separator==="|"?"solid":"dashed",Ge=O.makeSpan(["vertical-separator"],[],r);Ge.style.height=W(z),Ge.style.borderRightWidth=W(f),Ge.style.borderRightStyle=He,Ge.style.margin="0 "+W(-f/2);var Ne=z-G;Ne&&(Ge.style.verticalAlign=W(-Ne)),re.push(Ge)}else throw new q("Invalid separator type: "+Se.separator);he++,Se=le[he]||{},E=!1}if(!(i>=o)){var We=void 0;(i>0||t.hskipBeforeAndAfter)&&(We=te.deflt(Se.pregap,d),We!==0&&(Q=O.makeSpan(["arraycolsep"],[]),Q.style.width=W(We),re.push(Q)));var Le=[];for(n=0;n<a;++n){var Ye=s[n],$e=Ye[i];if($e){var ut=Ye.pos-G;$e.depth=Ye.depth,$e.height=Ye.height,Le.push({type:"elem",elem:$e,shift:ut})}}Le=O.makeVList({positionType:"individualShift",children:Le},r),Le=O.makeSpan(["col-align-"+(Se.align||"c")],[Le]),re.push(Le),(i<o-1||t.hskipBeforeAndAfter)&&(We=te.deflt(Se.postgap,d),We!==0&&(Q=O.makeSpan(["arraycolsep"],[]),Q.style.width=W(We),re.push(Q)))}}if(s=O.makeSpan(["mtable"],re),u.length>0){for(var lr=O.makeLineSpan("hline",r,f),je=O.makeLineSpan("hdashline",r,f),Et=[{type:"elem",elem:s,shift:0}];u.length>0;){var Xt=u.pop(),Ft=Xt.pos-G;Xt.isDashed?Et.push({type:"elem",elem:je,shift:Ft}):Et.push({type:"elem",elem:lr,shift:Ft})}s=O.makeVList({positionType:"individualShift",children:Et},r)}if(de.length===0)return O.makeSpan(["mord"],[s],r);var kt=O.makeVList({positionType:"individualShift",children:de},r);return kt=O.makeSpan(["tag"],[kt],r),O.makeFragment([s,kt])},Hp={c:"center ",l:"left ",r:"right "},Lt=function(t,r){for(var n=[],i=new _.MathNode("mtd",[],["mtr-glue"]),a=new _.MathNode("mtd",[],["mml-eqn-num"]),l=0;l<t.body.length;l++){for(var o=t.body[l],s=[],u=0;u<o.length;u++)s.push(new _.MathNode("mtd",[Ae(o[u],r)]));t.tags&&t.tags[l]&&(s.unshift(i),s.push(i),t.leqno?s.unshift(a):s.push(a)),n.push(new _.MathNode("mtr",s))}var f=new _.MathNode("mtable",n),h=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);f.setAttribute("rowspacing",W(h));var d="",p="";if(t.cols&&t.cols.length>0){var v=t.cols,b="",C=!1,w=0,A=v.length;v[0].type==="separator"&&(d+="top ",w=1),v[v.length-1].type==="separator"&&(d+="bottom ",A-=1);for(var z=w;z<A;z++)v[z].type==="align"?(p+=Hp[v[z].align],C&&(b+="none "),C=!0):v[z].type==="separator"&&C&&(b+=v[z].separator==="|"?"solid ":"dashed ",C=!1);f.setAttribute("columnalign",p.trim()),/[sd]/.test(b)&&f.setAttribute("columnlines",b.trim())}if(t.colSeparationType==="align"){for(var D=t.cols||[],L="",I=1;I<D.length;I++)L+=I%2?"0em ":"1em ";f.setAttribute("columnspacing",L.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?f.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?f.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?f.setAttribute("columnspacing","0.5em"):f.setAttribute("columnspacing","1em");var P="",X=t.hLinesBeforeRow;d+=X[0].length>0?"left ":"",d+=X[X.length-1].length>0?"right ":"";for(var H=1;H<X.length-1;H++)P+=X[H].length===0?"none ":X[H][0]?"dashed ":"solid ";return/[sd]/.test(P)&&f.setAttribute("rowlines",P.trim()),d!==""&&(f=new _.MathNode("menclose",[f]),f.setAttribute("notation",d.trim())),t.arraystretch&&t.arraystretch<1&&(f=new _.MathNode("mstyle",[f]),f.setAttribute("scriptlevel","1")),f},rs=function(t,r){t.envName.indexOf("ed")===-1&&Xn(t);var n=[],i=t.envName.indexOf("at")>-1?"alignat":"align",a=t.envName==="split",l=ir(t.parser,{cols:n,addJot:!0,autoTag:a?void 0:z0(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),o,s=0,u={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var f="",h=0;h<r[0].body.length;h++){var d=ce(r[0].body[h],"textord");f+=d.text}o=Number(f),s=o*2}var p=!s;l.body.forEach(function(w){for(var A=1;A<w.length;A+=2){var z=ce(w[A],"styling"),D=ce(z.body[0],"ordgroup");D.body.unshift(u)}if(p)s<w.length&&(s=w.length);else{var L=w.length/2;if(o<L)throw new q("Too many math in a row: "+("expected "+o+", but got "+L),w[0])}});for(var v=0;v<s;++v){var b="r",C=0;v%2===1?b="l":v>0&&p&&(C=1),n[v]={type:"align",align:b,pregap:C,postgap:0}}return l.colSeparationType=p?"align":"alignat",l};Rt({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=Un(t[0]),n=r?[t[0]]:ce(t[0],"ordgroup").body,i=n.map(function(l){var o=v0(l),s=o.text;if("lcr".indexOf(s)!==-1)return{type:"align",align:s};if(s==="|")return{type:"separator",separator:"|"};if(s===":")return{type:"separator",separator:":"};throw new q("Unknown column alignment: "+s,l)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return ir(e.parser,a,I0(e.envName))},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,"lcr".indexOf(r)===-1)throw new q("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=ir(e.parser,n,I0(e.envName)),l=Math.max(0,...a.body.map(o=>o.length));return a.cols=new Array(l).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=ir(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=Un(t[0]),n=r?[t[0]]:ce(t[0],"ordgroup").body,i=n.map(function(l){var o=v0(l),s=o.text;if("lc".indexOf(s)!==-1)return{type:"align",align:s};throw new q("Unknown column alignment: "+s,l)});if(i.length>1)throw new q("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=ir(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new q("{subarray} can contain only one column");return a},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=ir(e.parser,t,I0(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:rs,htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){te.contains(["gather","gather*"],e.envName)&&Xn(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:z0(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return ir(e.parser,t,"display")},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:rs,htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Xn(e);var t={autoTag:z0(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return ir(e.parser,t,"display")},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Xn(e),Ep(e.parser)},htmlBuilder:Dt,mathmlBuilder:Lt}),y("\\nonumber","\\gdef\\@eqnsw{0}"),y("\\notag","\\nonumber"),$({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new q(e.funcName+" valid only within array environment")}});var ns=Jo;$({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];if(i.type!=="ordgroup")throw new q("Invalid environment name",i);for(var a="",l=0;l<i.body.length;++l)a+=ce(i.body[l],"textord").text;if(n==="\\begin"){if(!ns.hasOwnProperty(a))throw new q("No such environment: "+a,i);var o=ns[a],{args:s,optArgs:u}=r.parseArguments("\\begin{"+a+"}",o),f={mode:r.mode,envName:a,parser:r},h=o.handler(f,s,u);r.expect("\\end",!1);var d=r.nextToken,p=ce(r.parseFunction(),"environment");if(p.name!==a)throw new q("Mismatch: \\begin{"+a+"} matched by \\end{"+p.name+"}",d);return h}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var is=(e,t)=>{var r=e.font,n=t.withFont(r);return be(e.body,n)},as=(e,t)=>{var r=e.font,n=t.withFont(r);return Ae(e.body,n)},ls={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};$({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=jn(t[0]),a=n;return a in ls&&(a=ls[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:is,mathmlBuilder:as}),$({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],i=te.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:Gn(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}}}),$({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:i}=e,{mode:a}=r,l=r.parseExpression(!0,i),o="math"+n.slice(1);return{type:"font",mode:a,font:o,body:{type:"ordgroup",mode:r.mode,body:l}}},htmlBuilder:is,mathmlBuilder:as});var os=(e,t)=>{var r=t;return e==="display"?r=r.id>=ne.SCRIPT.id?r.text():ne.DISPLAY:e==="text"&&r.size===ne.DISPLAY.size?r=ne.TEXT:e==="script"?r=ne.SCRIPT:e==="scriptscript"&&(r=ne.SCRIPTSCRIPT),r},N0=(e,t)=>{var r=os(e.size,t.style),n=r.fracNum(),i=r.fracDen(),a;a=t.havingStyle(n);var l=be(e.numer,a,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,s=3.5/t.fontMetrics().ptPerEm;l.height=l.height<o?o:l.height,l.depth=l.depth<s?s:l.depth}a=t.havingStyle(i);var u=be(e.denom,a,t),f,h,d;e.hasBarLine?(e.barSize?(h=Oe(e.barSize,t),f=O.makeLineSpan("frac-line",t,h)):f=O.makeLineSpan("frac-line",t),h=f.height,d=f.height):(f=null,h=0,d=t.fontMetrics().defaultRuleThickness);var p,v,b;r.size===ne.DISPLAY.size||e.size==="display"?(p=t.fontMetrics().num1,h>0?v=3*d:v=7*d,b=t.fontMetrics().denom1):(h>0?(p=t.fontMetrics().num2,v=d):(p=t.fontMetrics().num3,v=3*d),b=t.fontMetrics().denom2);var C;if(f){var A=t.fontMetrics().axisHeight;p-l.depth-(A+.5*h)<v&&(p+=v-(p-l.depth-(A+.5*h))),A-.5*h-(u.height-b)<v&&(b+=v-(A-.5*h-(u.height-b)));var z=-(A-.5*h);C=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:b},{type:"elem",elem:f,shift:z},{type:"elem",elem:l,shift:-p}]},t)}else{var w=p-l.depth-(u.height-b);w<v&&(p+=.5*(v-w),b+=.5*(v-w)),C=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:b},{type:"elem",elem:l,shift:-p}]},t)}a=t.havingStyle(r),C.height*=a.sizeMultiplier/t.sizeMultiplier,C.depth*=a.sizeMultiplier/t.sizeMultiplier;var D;r.size===ne.DISPLAY.size?D=t.fontMetrics().delim1:r.size===ne.SCRIPTSCRIPT.size?D=t.havingStyle(ne.SCRIPT).fontMetrics().delim2:D=t.fontMetrics().delim2;var L,I;return e.leftDelim==null?L=an(t,["mopen"]):L=Wt.customSizedDelim(e.leftDelim,D,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?I=O.makeSpan([]):e.rightDelim==null?I=an(t,["mclose"]):I=Wt.customSizedDelim(e.rightDelim,D,!0,t.havingStyle(r),e.mode,["mclose"]),O.makeSpan(["mord"].concat(a.sizingClasses(t)),[L,O.makeSpan(["mfrac"],[C]),I],t)},O0=(e,t)=>{var r=new _.MathNode("mfrac",[Ae(e.numer,t),Ae(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=Oe(e.barSize,t);r.setAttribute("linethickness",W(n))}var i=os(e.size,t.style);if(i.size!==t.style.size){r=new _.MathNode("mstyle",[r]);var a=i.size===ne.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var l=[];if(e.leftDelim!=null){var o=new _.MathNode("mo",[new _.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),l.push(o)}if(l.push(r),e.rightDelim!=null){var s=new _.MathNode("mo",[new _.TextNode(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),l.push(s)}return p0(l)}return r};$({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1],l,o=null,s=null,u="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":l=!0;break;case"\\\\atopfrac":l=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":l=!1,o="(",s=")";break;case"\\\\bracefrac":l=!1,o="\\{",s="\\}";break;case"\\\\brackfrac":l=!1,o="[",s="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:l,leftDelim:o,rightDelim:s,size:u,barSize:null}},htmlBuilder:N0,mathmlBuilder:O0}),$({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),$({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:i,token:n}}});var ss=["display","text","script","scriptscript"],us=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};$({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],i=t[5],a=jn(t[0]),l=a.type==="atom"&&a.family==="open"?us(a.text):null,o=jn(t[1]),s=o.type==="atom"&&o.family==="close"?us(o.text):null,u=ce(t[2],"size"),f,h=null;u.isBlank?f=!0:(h=u.value,f=h.number>0);var d="auto",p=t[3];if(p.type==="ordgroup"){if(p.body.length>0){var v=ce(p.body[0],"textord");d=ss[Number(v.text)]}}else p=ce(p,"textord"),d=ss[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:f,barSize:h,leftDelim:l,rightDelim:s,size:d}},htmlBuilder:N0,mathmlBuilder:O0}),$({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:i}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:ce(t[0],"size").value,token:i}}}),$({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=g4(ce(t[1],"infix").size),l=t[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:l,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:N0,mathmlBuilder:O0});var cs=(e,t)=>{var r=t.style,n,i;e.type==="supsub"?(n=e.sup?be(e.sup,t.havingStyle(r.sup()),t):be(e.sub,t.havingStyle(r.sub()),t),i=ce(e.base,"horizBrace")):i=ce(e,"horizBrace");var a=be(i.base,t.havingBaseStyle(ne.DISPLAY)),l=Gt.svgSpan(i,t),o;if(i.isOver?(o=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:l}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=O.makeVList({positionType:"bottom",positionData:a.depth+.1+l.height,children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:a}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),n){var s=O.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t);i.isOver?o=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:n}]},t):o=O.makeVList({positionType:"bottom",positionData:s.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:s}]},t)}return O.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t)},jp=(e,t)=>{var r=Gt.mathMLnode(e.label);return new _.MathNode(e.isOver?"mover":"munder",[Ae(e.base,t),r])};$({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:cs,mathmlBuilder:jp}),$({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],i=ce(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:Be(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Ue(e.body,t,!1);return O.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=nr(e.body,t);return r instanceof gt||(r=new gt("mrow",[r])),r.setAttribute("href",e.href),r}}),$({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=ce(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<n.length;a++){var l=n[a];l==="~"&&(l="\\textasciitilde"),i.push({type:"textord",mode:"text",text:l})}var o={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:Be(o)}}}),$({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:Be(t[0])}},htmlBuilder(e,t){var r=Ue(e.body,t,!1);return O.makeFragment(r)},mathmlBuilder(e,t){return new _.MathNode("mrow",st(e.body,t))}}),$({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:i}=e,a=ce(t[0],"raw").string,l=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,s={};switch(n){case"\\htmlClass":s.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":s.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":s.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var u=a.split(","),f=0;f<u.length;f++){var h=u[f].split("=");if(h.length!==2)throw new q("Error parsing key-value for \\htmlData");s["data-"+h[0].trim()]=h[1].trim()}o={command:"\\htmlData",attributes:s};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:s,body:Be(l)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=Ue(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var i=O.makeSpan(n,r,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>nr(e.body,t)}),$({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Be(t[0]),mathml:Be(t[1])}},htmlBuilder:(e,t)=>{var r=Ue(e.html,t,!1);return O.makeFragment(r)},mathmlBuilder:(e,t)=>nr(e.mathml,t)});var R0=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new q("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!ho(n))throw new q("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};$({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},l={number:0,unit:"em"},o="";if(r[0])for(var s=ce(r[0],"raw").string,u=s.split(","),f=0;f<u.length;f++){var h=u[f].split("=");if(h.length===2){var d=h[1].trim();switch(h[0].trim()){case"alt":o=d;break;case"width":i=R0(d);break;case"height":a=R0(d);break;case"totalheight":l=R0(d);break;default:throw new q("Invalid key: '"+h[0]+"' in \\includegraphics.")}}}var p=ce(t[0],"url").url;return o===""&&(o=p,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:n.mode,alt:o,width:i,height:a,totalheight:l,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=Oe(e.height,t),n=0;e.totalheight.number>0&&(n=Oe(e.totalheight,t)-r);var i=0;e.width.number>0&&(i=Oe(e.width,t));var a={height:W(r+n)};i>0&&(a.width=W(i)),n>0&&(a.verticalAlign=W(-n));var l=new j4(e.src,e.alt,a);return l.height=r,l.depth=n,l},mathmlBuilder:(e,t)=>{var r=new _.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=Oe(e.height,t),i=0;if(e.totalheight.number>0&&(i=Oe(e.totalheight,t)-n,r.setAttribute("valign",W(-i))),r.setAttribute("height",W(n+i)),e.width.number>0){var a=Oe(e.width,t);r.setAttribute("width",W(a))}return r.setAttribute("src",e.src),r}}),$({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=ce(t[0],"size");if(r.settings.strict){var a=n[1]==="m",l=i.value.unit==="mu";a?(l||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):l&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(e,t){return O.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=Oe(e.dimension,t);return new _.SpaceNode(r)}}),$({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=O.makeSpan([],[be(e.body,t)]),r=O.makeSpan(["inner"],[r],t)):r=O.makeSpan(["inner"],[be(e.body,t)]);var n=O.makeSpan(["fix"],[]),i=O.makeSpan([e.alignment],[r,n],t),a=O.makeSpan(["strut"]);return a.style.height=W(i.height+i.depth),i.depth&&(a.style.verticalAlign=W(-i.depth)),i.children.unshift(a),i=O.makeSpan(["thinbox"],[i],t),O.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var r=new _.MathNode("mpadded",[Ae(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),$({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,i=n.mode;n.switchMode("math");var a=r==="\\("?"\\)":"$",l=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:l}}}),$({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new q("Mismatched "+e.funcName)}});var hs=(e,t)=>{switch(t.style.size){case ne.DISPLAY.size:return e.display;case ne.TEXT.size:return e.text;case ne.SCRIPT.size:return e.script;case ne.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};$({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Be(t[0]),text:Be(t[1]),script:Be(t[2]),scriptscript:Be(t[3])}},htmlBuilder:(e,t)=>{var r=hs(e,t),n=Ue(r,t,!1);return O.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=hs(e,t);return nr(r,t)}});var fs=(e,t,r,n,i,a,l)=>{e=O.makeSpan([],[e]);var o=r&&te.isCharacterBox(r),s,u;if(t){var f=be(t,n.havingStyle(i.sup()),n);u={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-f.depth)}}if(r){var h=be(r,n.havingStyle(i.sub()),n);s={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-h.height)}}var d;if(u&&s){var p=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+l;d=O.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:W(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:W(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var v=e.height-l;d=O.makeVList({positionType:"top",positionData:v,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:W(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else if(u){var b=e.depth+l;d=O.makeVList({positionType:"bottom",positionData:b,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:W(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var C=[d];if(s&&a!==0&&!o){var w=O.makeSpan(["mspace"],[],n);w.style.marginRight=W(a),C.unshift(w)}return O.makeSpan(["mop","op-limits"],C,n)},ms=["\\smallint"],Dr=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=ce(e.base,"op"),i=!0):a=ce(e,"op");var l=t.style,o=!1;l.size===ne.DISPLAY.size&&a.symbol&&!te.contains(ms,a.name)&&(o=!0);var s;if(a.symbol){var u=o?"Size2-Regular":"Size1-Regular",f="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(f=a.name.slice(1),a.name=f==="oiint"?"\\iint":"\\iiint"),s=O.makeSymbol(a.name,u,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),f.length>0){var h=s.italic,d=O.staticSvg(f+"Size"+(o?"2":"1"),t);s=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:d,shift:o?.08:0}]},t),a.name="\\"+f,s.classes.unshift("mop"),s.italic=h}}else if(a.body){var p=Ue(a.body,t,!0);p.length===1&&p[0]instanceof xt?(s=p[0],s.classes[0]="mop"):s=O.makeSpan(["mop"],p,t)}else{for(var v=[],b=1;b<a.name.length;b++)v.push(O.mathsym(a.name[b],a.mode,t));s=O.makeSpan(["mop"],v,t)}var C=0,w=0;return(s instanceof xt||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift&&(C=(s.height-s.depth)/2-t.fontMetrics().axisHeight,w=s.italic),i?fs(s,r,n,t,l,w,C):(C&&(s.style.position="relative",s.style.top=W(C)),s)},sn=(e,t)=>{var r;if(e.symbol)r=new gt("mo",[wt(e.name,e.mode)]),te.contains(ms,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new gt("mo",st(e.body,t));else{r=new gt("mi",[new Ot(e.name.slice(1))]);var n=new gt("mo",[wt("⁡","text")]);e.parentIsSupSub?r=new gt("mrow",[r,n]):r=Io([r,n])}return r},qp={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};$({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=n;return i.length===1&&(i=qp[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Dr,mathmlBuilder:sn}),$({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Be(n)}},htmlBuilder:Dr,mathmlBuilder:sn});var Up={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};$({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Dr,mathmlBuilder:sn}),$({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Dr,mathmlBuilder:sn}),$({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=Up[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Dr,mathmlBuilder:sn});var ps=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=ce(e.base,"operatorname"),i=!0):a=ce(e,"operatorname");var l;if(a.body.length>0){for(var o=a.body.map(h=>{var d=h.text;return typeof d=="string"?{type:"textord",mode:h.mode,text:d}:h}),s=Ue(o,t.withFont("mathrm"),!0),u=0;u<s.length;u++){var f=s[u];f instanceof xt&&(f.text=f.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}l=O.makeSpan(["mop"],s,t)}else l=O.makeSpan(["mop"],[],t);return i?fs(l,r,n,t,t.style,0,0):l},Vp=(e,t)=>{for(var r=st(e.body,t.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(!(a instanceof _.SpaceNode))if(a instanceof _.MathNode)switch(a.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var l=a.children[0];a.children.length===1&&l instanceof _.TextNode?l.text=l.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(f=>f.toText()).join("");r=[new _.TextNode(o)]}var s=new _.MathNode("mi",r);s.setAttribute("mathvariant","normal");var u=new _.MathNode("mo",[wt("⁡","text")]);return e.parentIsSupSub?new _.MathNode("mrow",[s,u]):_.newDocumentFragment([s,u])};$({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"operatorname",mode:r.mode,body:Be(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:ps,mathmlBuilder:Vp}),y("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),gr({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?O.makeFragment(Ue(e.body,t,!1)):O.makeSpan(["mord"],Ue(e.body,t,!0),t)},mathmlBuilder(e,t){return nr(e.body,t,!0)}}),$({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=be(e.body,t.havingCrampedStyle()),n=O.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},t);return O.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var r=new _.MathNode("mo",[new _.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new _.MathNode("mover",[Ae(e.body,t),r]);return n.setAttribute("accent","true"),n}}),$({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:Be(n)}},htmlBuilder:(e,t)=>{var r=Ue(e.body,t.withPhantom(),!1);return O.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=st(e.body,t);return new _.MathNode("mphantom",r)}}),$({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=O.makeSpan([],[be(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),O.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=st(Be(e.body),t),n=new _.MathNode("mphantom",r),i=new _.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),$({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=O.makeSpan(["inner"],[be(e.body,t.withPhantom())]),n=O.makeSpan(["fix"],[]);return O.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=st(Be(e.body),t),n=new _.MathNode("mphantom",r),i=new _.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i}}),$({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=ce(t[0],"size").value,i=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(e,t){var r=be(e.body,t),n=Oe(e.dy,t);return O.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new _.MathNode("mpadded",[Ae(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),$({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),$({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,i=r[0],a=ce(t[0],"size"),l=ce(t[1],"size");return{type:"rule",mode:n.mode,shift:i&&ce(i,"size").value,width:a.value,height:l.value}},htmlBuilder(e,t){var r=O.makeSpan(["mord","rule"],[],t),n=Oe(e.width,t),i=Oe(e.height,t),a=e.shift?Oe(e.shift,t):0;return r.style.borderRightWidth=W(n),r.style.borderTopWidth=W(i),r.style.bottom=W(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=i*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Oe(e.width,t),n=Oe(e.height,t),i=e.shift?Oe(e.shift,t):0,a=t.color&&t.getColor()||"black",l=new _.MathNode("mspace");l.setAttribute("mathbackground",a),l.setAttribute("width",W(r)),l.setAttribute("height",W(n));var o=new _.MathNode("mpadded",[l]);return i>=0?o.setAttribute("height",W(i)):(o.setAttribute("height",W(i)),o.setAttribute("depth",W(-i))),o.setAttribute("voffset",W(i)),o}});function ds(e,t,r){for(var n=Ue(e,t,!1),i=t.sizeMultiplier/r.sizeMultiplier,a=0;a<n.length;a++){var l=n[a].classes.indexOf("sizing");l<0?Array.prototype.push.apply(n[a].classes,t.sizingClasses(r)):n[a].classes[l+1]==="reset-size"+t.size&&(n[a].classes[l+1]="reset-size"+r.size),n[a].height*=i,n[a].depth*=i}return O.makeFragment(n)}var gs=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Gp=(e,t)=>{var r=t.havingSize(e.size);return ds(e.body,r,t)};$({type:"sizing",names:gs,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:gs.indexOf(n)+1,body:a}},htmlBuilder:Gp,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=st(e.body,r),i=new _.MathNode("mstyle",n);return i.setAttribute("mathsize",W(r.sizeMultiplier)),i}}),$({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,i=!1,a=!1,l=r[0]&&ce(r[0],"ordgroup");if(l)for(var o="",s=0;s<l.body.length;++s){var u=l.body[s];if(o=u.text,o==="t")i=!0;else if(o==="b")a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var f=t[0];return{type:"smash",mode:n.mode,body:f,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var r=O.makeSpan([],[be(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var i=0;i<r.children.length;i++)r.children[i].depth=0;var a=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return O.makeSpan(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new _.MathNode("mpadded",[Ae(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),$({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,i=r[0],a=t[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(e,t){var r=be(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=O.wrapFragment(r,t);var n=t.fontMetrics(),i=n.defaultRuleThickness,a=i;t.style.id<ne.TEXT.id&&(a=t.fontMetrics().xHeight);var l=i+a/4,o=r.height+r.depth+l+i,{span:s,ruleWidth:u,advanceWidth:f}=Wt.sqrtImage(o,t),h=s.height-u;h>r.height+r.depth+l&&(l=(l+h-r.height-r.depth)/2);var d=s.height-r.height-l-u;r.style.paddingLeft=W(f);var p=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:s},{type:"kern",size:u}]},t);if(e.index){var v=t.havingStyle(ne.SCRIPTSCRIPT),b=be(e.index,v,t),C=.6*(p.height-p.depth),w=O.makeVList({positionType:"shift",positionData:-C,children:[{type:"elem",elem:b}]},t),A=O.makeSpan(["root"],[w]);return O.makeSpan(["mord","sqrt"],[A,p],t)}else return O.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new _.MathNode("mroot",[Ae(r,t),Ae(n,t)]):new _.MathNode("msqrt",[Ae(r,t)])}});var vs={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT};$({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!0,r),l=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:l,body:a}},htmlBuilder(e,t){var r=vs[e.style],n=t.havingStyle(r).withFont("");return ds(e.body,n,t)},mathmlBuilder(e,t){var r=vs[e.style],n=t.havingStyle(r),i=st(e.body,n),a=new _.MathNode("mstyle",i),l={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=l[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var Wp=function(t,r){var n=t.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===ne.DISPLAY.size||n.alwaysHandleSupSub);return i?Dr:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(r.style.size===ne.DISPLAY.size||n.limits);return a?ps:null}else{if(n.type==="accent")return te.isCharacterBox(n.base)?y0:null;if(n.type==="horizBrace"){var l=!t.sub;return l===n.isOver?cs:null}else return null}else return null};gr({type:"supsub",htmlBuilder(e,t){var r=Wp(e,t);if(r)return r(e,t);var{base:n,sup:i,sub:a}=e,l=be(n,t),o,s,u=t.fontMetrics(),f=0,h=0,d=n&&te.isCharacterBox(n);if(i){var p=t.havingStyle(t.style.sup());o=be(i,p,t),d||(f=l.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(a){var v=t.havingStyle(t.style.sub());s=be(a,v,t),d||(h=l.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}var b;t.style===ne.DISPLAY?b=u.sup1:t.style.cramped?b=u.sup3:b=u.sup2;var C=t.sizeMultiplier,w=W(.5/u.ptPerEm/C),A=null;if(s){var z=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(l instanceof xt||z)&&(A=W(-l.italic))}var D;if(o&&s){f=Math.max(f,b,o.depth+.25*u.xHeight),h=Math.max(h,u.sub2);var L=u.defaultRuleThickness,I=4*L;if(f-o.depth-(s.height-h)<I){h=I-(f-o.depth)+s.height;var P=.8*u.xHeight-(f-o.depth);P>0&&(f+=P,h-=P)}var X=[{type:"elem",elem:s,shift:h,marginRight:w,marginLeft:A},{type:"elem",elem:o,shift:-f,marginRight:w}];D=O.makeVList({positionType:"individualShift",children:X},t)}else if(s){h=Math.max(h,u.sub1,s.height-.8*u.xHeight);var H=[{type:"elem",elem:s,marginLeft:A,marginRight:w}];D=O.makeVList({positionType:"shift",positionData:h,children:H},t)}else if(o)f=Math.max(f,b,o.depth+.25*u.xHeight),D=O.makeVList({positionType:"shift",positionData:-f,children:[{type:"elem",elem:o,marginRight:w}]},t);else throw new Error("supsub must have either sup or sub.");var N=f0(l,"right")||"mord";return O.makeSpan([N],[l,O.makeSpan(["msupsub"],[D])],t)},mathmlBuilder(e,t){var r=!1,n,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[Ae(e.base,t)];e.sub&&a.push(Ae(e.sub,t)),e.sup&&a.push(Ae(e.sup,t));var l;if(r)l=n?"mover":"munder";else if(e.sub)if(e.sup){var u=e.base;u&&u.type==="op"&&u.limits&&t.style===ne.DISPLAY||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(t.style===ne.DISPLAY||u.limits)?l="munderover":l="msubsup"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===ne.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===ne.DISPLAY)?l="munder":l="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===ne.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===ne.DISPLAY)?l="mover":l="msup"}return new _.MathNode(l,a)}}),gr({type:"atom",htmlBuilder(e,t){return O.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new _.MathNode("mo",[wt(e.text,e.mode)]);if(e.family==="bin"){var n=d0(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var ys={mi:"italic",mn:"normal",mtext:"normal"};gr({type:"mathord",htmlBuilder(e,t){return O.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new _.MathNode("mi",[wt(e.text,e.mode,t)]),n=d0(e,t)||"italic";return n!==ys[r.type]&&r.setAttribute("mathvariant",n),r}}),gr({type:"textord",htmlBuilder(e,t){return O.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=wt(e.text,e.mode,t),n=d0(e,t)||"normal",i;return e.mode==="text"?i=new _.MathNode("mtext",[r]):/[0-9]/.test(e.text)?i=new _.MathNode("mn",[r]):e.text==="\\prime"?i=new _.MathNode("mo",[r]):i=new _.MathNode("mi",[r]),n!==ys[i.type]&&i.setAttribute("mathvariant",n),i}});var D0={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},L0={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};gr({type:"spacing",htmlBuilder(e,t){if(L0.hasOwnProperty(e.text)){var r=L0[e.text].className||"";if(e.mode==="text"){var n=O.makeOrd(e,t,"textord");return n.classes.push(r),n}else return O.makeSpan(["mspace",r],[O.mathsym(e.text,e.mode,t)],t)}else{if(D0.hasOwnProperty(e.text))return O.makeSpan(["mspace",D0[e.text]],[],t);throw new q('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(L0.hasOwnProperty(e.text))r=new _.MathNode("mtext",[new _.TextNode(" ")]);else{if(D0.hasOwnProperty(e.text))return new _.MathNode("mspace");throw new q('Unknown type of space "'+e.text+'"')}return r}});var bs=()=>{var e=new _.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};gr({type:"tag",mathmlBuilder(e,t){var r=new _.MathNode("mtable",[new _.MathNode("mtr",[bs(),new _.MathNode("mtd",[nr(e.body,t)]),bs(),new _.MathNode("mtd",[nr(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var xs={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ws={"\\textbf":"textbf","\\textmd":"textmd"},Yp={"\\textit":"textit","\\textup":"textup"},ks=(e,t)=>{var r=e.font;if(r){if(xs[r])return t.withTextFontFamily(xs[r]);if(ws[r])return t.withTextFontWeight(ws[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(Yp[r])};$({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"text",mode:r.mode,body:Be(i),font:n}},htmlBuilder(e,t){var r=ks(e,t),n=Ue(e.body,r,!0);return O.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=ks(e,t);return nr(e.body,r)}}),$({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=be(e.body,t),n=O.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=O.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},t);return O.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var r=new _.MathNode("mo",[new _.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new _.MathNode("munder",[Ae(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),$({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=be(e.body,t),n=t.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return O.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new _.MathNode("mpadded",[Ae(e.body,t)],["vcenter"])}}),$({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new q("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Ss(e),n=[],i=t.havingStyle(t.style.text()),a=0;a<r.length;a++){var l=r[a];l==="~"&&(l="\\textasciitilde"),n.push(O.makeSymbol(l,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return O.makeSpan(["mord","text"].concat(i.sizingClasses(t)),O.tryCombineChars(n),i)},mathmlBuilder(e,t){var r=new _.TextNode(Ss(e)),n=new _.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Ss=e=>e.body.replace(/ /g,e.star?"␣":" "),ar=Co,Ts=`[ \r
675
+ -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class rn{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return te.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var Nt={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Nn={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},so={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function B4(e,t){Nt[e]=t}function t0(e,t,r){if(!Nt[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),i=Nt[t][n];if(!i&&e[0]in so&&(n=so[e[0]].charCodeAt(0),i=Nt[t][n]),!i&&r==="text"&&lo(n)&&(i=Nt[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var r0={};function F4(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!r0[t]){var r=r0[t]={cssEmPerMu:Nn.quad[t]/18};for(var n in Nn)Nn.hasOwnProperty(n)&&(r[n]=Nn[n][t])}return r0[t]}var P4=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],uo=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],co=function(t,r){return r.size<2?t:P4[t-1][r.size-1]};class Ht{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||Ht.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=uo[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new Ht(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:co(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:uo[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=co(Ht.BASESIZE,t);return this.size===r&&this.textSize===Ht.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Ht.BASESIZE?["sizing","reset-size"+this.size,"size"+Ht.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=F4(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Ht.BASESIZE=6;var n0={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},_4={ex:!0,em:!0,mu:!0},ho=function(t){return typeof t!="string"&&(t=t.unit),t in n0||t in _4||t==="ex"},Oe=function(t,r){var n;if(t.unit in n0)n=n0[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var i;if(r.style.isTight()?i=r.havingStyle(r.style.text()):i=r,t.unit==="ex")n=i.fontMetrics().xHeight;else if(t.unit==="em")n=i.fontMetrics().quad;else throw new q("Invalid unit: '"+t.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},W=function(t){return+t.toFixed(4)+"em"},er=function(t){return t.filter(r=>r).join(" ")},fo=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var i=r.getColor();i&&(this.style.color=i)}},mo=function(t){var r=document.createElement(t);r.className=er(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&r.setAttribute(i,this.attributes[i]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r},H4=/[\s"'>/=\x00-\x1f]/,po=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+te.escape(er(this.classes))+'"');var n="";for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=te.hyphenate(i)+":"+this.style[i]+";");n&&(r+=' style="'+te.escape(n)+'"');for(var a in this.attributes)if(this.attributes.hasOwnProperty(a)){if(H4.test(a))throw new q("Invalid attribute name '"+a+"'");r+=" "+a+'="'+te.escape(this.attributes[a])+'"'}r+=">";for(var l=0;l<this.children.length;l++)r+=this.children[l].toMarkup();return r+="</"+t+">",r};class nn{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,fo.call(this,t,n,i),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return te.contains(this.classes,t)}toNode(){return mo.call(this,"span")}toMarkup(){return po.call(this,"span")}}class i0{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,fo.call(this,r,i),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return te.contains(this.classes,t)}toNode(){return mo.call(this,"a")}toMarkup(){return po.call(this,"a")}}class j4{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return te.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+te.escape(this.src)+'"'+(' alt="'+te.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=te.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+te.escape(r)+'"'),t+="'/>",t}}var q4={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class xt{constructor(t,r,n,i,a,l,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=i||0,this.skew=a||0,this.width=l||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var u=A4(this.text.charCodeAt(0));u&&this.classes.push(u+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=q4[this.text])}hasClass(t){return te.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=W(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=er(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=te.escape(er(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=te.hyphenate(i)+":"+this.style[i]+";");n&&(t=!0,r+=' style="'+te.escape(n)+'"');var a=te.escape(this.text);return t?(r+=">",r+=a,r+="</span>",r):a}}class jt{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+te.escape(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class tr{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",oo[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+te.escape(this.alternate)+'"/>':'<path d="'+te.escape(oo[this.pathName])+'"/>'}}class a0{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+te.escape(this.attributes[r])+'"');return t+="/>",t}}function go(e){if(e instanceof xt)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function U4(e){if(e instanceof nn)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var V4={bin:1,close:1,inner:1,open:1,punct:1,rel:1},G4={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ce={math:{},text:{}};function c(e,t,r,n,i,a){Ce[e][i]={font:t,group:r,replace:n},a&&n&&(Ce[e][n]=Ce[e][i])}var m="math",F="text",g="main",x="ams",ze="accent-token",K="bin",et="close",Rr="inner",ie="mathord",_e="op-token",dt="open",On="punct",k="rel",qt="spacing",M="textord";c(m,g,k,"≡","\\equiv",!0),c(m,g,k,"≺","\\prec",!0),c(m,g,k,"≻","\\succ",!0),c(m,g,k,"∼","\\sim",!0),c(m,g,k,"⊥","\\perp"),c(m,g,k,"⪯","\\preceq",!0),c(m,g,k,"⪰","\\succeq",!0),c(m,g,k,"≃","\\simeq",!0),c(m,g,k,"∣","\\mid",!0),c(m,g,k,"≪","\\ll",!0),c(m,g,k,"≫","\\gg",!0),c(m,g,k,"≍","\\asymp",!0),c(m,g,k,"∥","\\parallel"),c(m,g,k,"⋈","\\bowtie",!0),c(m,g,k,"⌣","\\smile",!0),c(m,g,k,"⊑","\\sqsubseteq",!0),c(m,g,k,"⊒","\\sqsupseteq",!0),c(m,g,k,"≐","\\doteq",!0),c(m,g,k,"⌢","\\frown",!0),c(m,g,k,"∋","\\ni",!0),c(m,g,k,"∝","\\propto",!0),c(m,g,k,"⊢","\\vdash",!0),c(m,g,k,"⊣","\\dashv",!0),c(m,g,k,"∋","\\owns"),c(m,g,On,".","\\ldotp"),c(m,g,On,"⋅","\\cdotp"),c(m,g,M,"#","\\#"),c(F,g,M,"#","\\#"),c(m,g,M,"&","\\&"),c(F,g,M,"&","\\&"),c(m,g,M,"ℵ","\\aleph",!0),c(m,g,M,"∀","\\forall",!0),c(m,g,M,"ℏ","\\hbar",!0),c(m,g,M,"∃","\\exists",!0),c(m,g,M,"∇","\\nabla",!0),c(m,g,M,"♭","\\flat",!0),c(m,g,M,"ℓ","\\ell",!0),c(m,g,M,"♮","\\natural",!0),c(m,g,M,"♣","\\clubsuit",!0),c(m,g,M,"℘","\\wp",!0),c(m,g,M,"♯","\\sharp",!0),c(m,g,M,"♢","\\diamondsuit",!0),c(m,g,M,"ℜ","\\Re",!0),c(m,g,M,"♡","\\heartsuit",!0),c(m,g,M,"ℑ","\\Im",!0),c(m,g,M,"♠","\\spadesuit",!0),c(m,g,M,"§","\\S",!0),c(F,g,M,"§","\\S"),c(m,g,M,"¶","\\P",!0),c(F,g,M,"¶","\\P"),c(m,g,M,"†","\\dag"),c(F,g,M,"†","\\dag"),c(F,g,M,"†","\\textdagger"),c(m,g,M,"‡","\\ddag"),c(F,g,M,"‡","\\ddag"),c(F,g,M,"‡","\\textdaggerdbl"),c(m,g,et,"⎱","\\rmoustache",!0),c(m,g,dt,"⎰","\\lmoustache",!0),c(m,g,et,"⟯","\\rgroup",!0),c(m,g,dt,"⟮","\\lgroup",!0),c(m,g,K,"∓","\\mp",!0),c(m,g,K,"⊖","\\ominus",!0),c(m,g,K,"⊎","\\uplus",!0),c(m,g,K,"⊓","\\sqcap",!0),c(m,g,K,"∗","\\ast"),c(m,g,K,"⊔","\\sqcup",!0),c(m,g,K,"◯","\\bigcirc",!0),c(m,g,K,"∙","\\bullet",!0),c(m,g,K,"‡","\\ddagger"),c(m,g,K,"≀","\\wr",!0),c(m,g,K,"⨿","\\amalg"),c(m,g,K,"&","\\And"),c(m,g,k,"⟵","\\longleftarrow",!0),c(m,g,k,"⇐","\\Leftarrow",!0),c(m,g,k,"⟸","\\Longleftarrow",!0),c(m,g,k,"⟶","\\longrightarrow",!0),c(m,g,k,"⇒","\\Rightarrow",!0),c(m,g,k,"⟹","\\Longrightarrow",!0),c(m,g,k,"↔","\\leftrightarrow",!0),c(m,g,k,"⟷","\\longleftrightarrow",!0),c(m,g,k,"⇔","\\Leftrightarrow",!0),c(m,g,k,"⟺","\\Longleftrightarrow",!0),c(m,g,k,"↦","\\mapsto",!0),c(m,g,k,"⟼","\\longmapsto",!0),c(m,g,k,"↗","\\nearrow",!0),c(m,g,k,"↩","\\hookleftarrow",!0),c(m,g,k,"↪","\\hookrightarrow",!0),c(m,g,k,"↘","\\searrow",!0),c(m,g,k,"↼","\\leftharpoonup",!0),c(m,g,k,"⇀","\\rightharpoonup",!0),c(m,g,k,"↙","\\swarrow",!0),c(m,g,k,"↽","\\leftharpoondown",!0),c(m,g,k,"⇁","\\rightharpoondown",!0),c(m,g,k,"↖","\\nwarrow",!0),c(m,g,k,"⇌","\\rightleftharpoons",!0),c(m,x,k,"≮","\\nless",!0),c(m,x,k,"","\\@nleqslant"),c(m,x,k,"","\\@nleqq"),c(m,x,k,"⪇","\\lneq",!0),c(m,x,k,"≨","\\lneqq",!0),c(m,x,k,"","\\@lvertneqq"),c(m,x,k,"⋦","\\lnsim",!0),c(m,x,k,"⪉","\\lnapprox",!0),c(m,x,k,"⊀","\\nprec",!0),c(m,x,k,"⋠","\\npreceq",!0),c(m,x,k,"⋨","\\precnsim",!0),c(m,x,k,"⪹","\\precnapprox",!0),c(m,x,k,"≁","\\nsim",!0),c(m,x,k,"","\\@nshortmid"),c(m,x,k,"∤","\\nmid",!0),c(m,x,k,"⊬","\\nvdash",!0),c(m,x,k,"⊭","\\nvDash",!0),c(m,x,k,"⋪","\\ntriangleleft"),c(m,x,k,"⋬","\\ntrianglelefteq",!0),c(m,x,k,"⊊","\\subsetneq",!0),c(m,x,k,"","\\@varsubsetneq"),c(m,x,k,"⫋","\\subsetneqq",!0),c(m,x,k,"","\\@varsubsetneqq"),c(m,x,k,"≯","\\ngtr",!0),c(m,x,k,"","\\@ngeqslant"),c(m,x,k,"","\\@ngeqq"),c(m,x,k,"⪈","\\gneq",!0),c(m,x,k,"≩","\\gneqq",!0),c(m,x,k,"","\\@gvertneqq"),c(m,x,k,"⋧","\\gnsim",!0),c(m,x,k,"⪊","\\gnapprox",!0),c(m,x,k,"⊁","\\nsucc",!0),c(m,x,k,"⋡","\\nsucceq",!0),c(m,x,k,"⋩","\\succnsim",!0),c(m,x,k,"⪺","\\succnapprox",!0),c(m,x,k,"≆","\\ncong",!0),c(m,x,k,"","\\@nshortparallel"),c(m,x,k,"∦","\\nparallel",!0),c(m,x,k,"⊯","\\nVDash",!0),c(m,x,k,"⋫","\\ntriangleright"),c(m,x,k,"⋭","\\ntrianglerighteq",!0),c(m,x,k,"","\\@nsupseteqq"),c(m,x,k,"⊋","\\supsetneq",!0),c(m,x,k,"","\\@varsupsetneq"),c(m,x,k,"⫌","\\supsetneqq",!0),c(m,x,k,"","\\@varsupsetneqq"),c(m,x,k,"⊮","\\nVdash",!0),c(m,x,k,"⪵","\\precneqq",!0),c(m,x,k,"⪶","\\succneqq",!0),c(m,x,k,"","\\@nsubseteqq"),c(m,x,K,"⊴","\\unlhd"),c(m,x,K,"⊵","\\unrhd"),c(m,x,k,"↚","\\nleftarrow",!0),c(m,x,k,"↛","\\nrightarrow",!0),c(m,x,k,"⇍","\\nLeftarrow",!0),c(m,x,k,"⇏","\\nRightarrow",!0),c(m,x,k,"↮","\\nleftrightarrow",!0),c(m,x,k,"⇎","\\nLeftrightarrow",!0),c(m,x,k,"△","\\vartriangle"),c(m,x,M,"ℏ","\\hslash"),c(m,x,M,"▽","\\triangledown"),c(m,x,M,"◊","\\lozenge"),c(m,x,M,"Ⓢ","\\circledS"),c(m,x,M,"®","\\circledR"),c(F,x,M,"®","\\circledR"),c(m,x,M,"∡","\\measuredangle",!0),c(m,x,M,"∄","\\nexists"),c(m,x,M,"℧","\\mho"),c(m,x,M,"Ⅎ","\\Finv",!0),c(m,x,M,"⅁","\\Game",!0),c(m,x,M,"‵","\\backprime"),c(m,x,M,"▲","\\blacktriangle"),c(m,x,M,"▼","\\blacktriangledown"),c(m,x,M,"■","\\blacksquare"),c(m,x,M,"⧫","\\blacklozenge"),c(m,x,M,"★","\\bigstar"),c(m,x,M,"∢","\\sphericalangle",!0),c(m,x,M,"∁","\\complement",!0),c(m,x,M,"ð","\\eth",!0),c(F,g,M,"ð","ð"),c(m,x,M,"╱","\\diagup"),c(m,x,M,"╲","\\diagdown"),c(m,x,M,"□","\\square"),c(m,x,M,"□","\\Box"),c(m,x,M,"◊","\\Diamond"),c(m,x,M,"¥","\\yen",!0),c(F,x,M,"¥","\\yen",!0),c(m,x,M,"✓","\\checkmark",!0),c(F,x,M,"✓","\\checkmark"),c(m,x,M,"ℶ","\\beth",!0),c(m,x,M,"ℸ","\\daleth",!0),c(m,x,M,"ℷ","\\gimel",!0),c(m,x,M,"ϝ","\\digamma",!0),c(m,x,M,"ϰ","\\varkappa"),c(m,x,dt,"┌","\\@ulcorner",!0),c(m,x,et,"┐","\\@urcorner",!0),c(m,x,dt,"└","\\@llcorner",!0),c(m,x,et,"┘","\\@lrcorner",!0),c(m,x,k,"≦","\\leqq",!0),c(m,x,k,"⩽","\\leqslant",!0),c(m,x,k,"⪕","\\eqslantless",!0),c(m,x,k,"≲","\\lesssim",!0),c(m,x,k,"⪅","\\lessapprox",!0),c(m,x,k,"≊","\\approxeq",!0),c(m,x,K,"⋖","\\lessdot"),c(m,x,k,"⋘","\\lll",!0),c(m,x,k,"≶","\\lessgtr",!0),c(m,x,k,"⋚","\\lesseqgtr",!0),c(m,x,k,"⪋","\\lesseqqgtr",!0),c(m,x,k,"≑","\\doteqdot"),c(m,x,k,"≓","\\risingdotseq",!0),c(m,x,k,"≒","\\fallingdotseq",!0),c(m,x,k,"∽","\\backsim",!0),c(m,x,k,"⋍","\\backsimeq",!0),c(m,x,k,"⫅","\\subseteqq",!0),c(m,x,k,"⋐","\\Subset",!0),c(m,x,k,"⊏","\\sqsubset",!0),c(m,x,k,"≼","\\preccurlyeq",!0),c(m,x,k,"⋞","\\curlyeqprec",!0),c(m,x,k,"≾","\\precsim",!0),c(m,x,k,"⪷","\\precapprox",!0),c(m,x,k,"⊲","\\vartriangleleft"),c(m,x,k,"⊴","\\trianglelefteq"),c(m,x,k,"⊨","\\vDash",!0),c(m,x,k,"⊪","\\Vvdash",!0),c(m,x,k,"⌣","\\smallsmile"),c(m,x,k,"⌢","\\smallfrown"),c(m,x,k,"≏","\\bumpeq",!0),c(m,x,k,"≎","\\Bumpeq",!0),c(m,x,k,"≧","\\geqq",!0),c(m,x,k,"⩾","\\geqslant",!0),c(m,x,k,"⪖","\\eqslantgtr",!0),c(m,x,k,"≳","\\gtrsim",!0),c(m,x,k,"⪆","\\gtrapprox",!0),c(m,x,K,"⋗","\\gtrdot"),c(m,x,k,"⋙","\\ggg",!0),c(m,x,k,"≷","\\gtrless",!0),c(m,x,k,"⋛","\\gtreqless",!0),c(m,x,k,"⪌","\\gtreqqless",!0),c(m,x,k,"≖","\\eqcirc",!0),c(m,x,k,"≗","\\circeq",!0),c(m,x,k,"≜","\\triangleq",!0),c(m,x,k,"∼","\\thicksim"),c(m,x,k,"≈","\\thickapprox"),c(m,x,k,"⫆","\\supseteqq",!0),c(m,x,k,"⋑","\\Supset",!0),c(m,x,k,"⊐","\\sqsupset",!0),c(m,x,k,"≽","\\succcurlyeq",!0),c(m,x,k,"⋟","\\curlyeqsucc",!0),c(m,x,k,"≿","\\succsim",!0),c(m,x,k,"⪸","\\succapprox",!0),c(m,x,k,"⊳","\\vartriangleright"),c(m,x,k,"⊵","\\trianglerighteq"),c(m,x,k,"⊩","\\Vdash",!0),c(m,x,k,"∣","\\shortmid"),c(m,x,k,"∥","\\shortparallel"),c(m,x,k,"≬","\\between",!0),c(m,x,k,"⋔","\\pitchfork",!0),c(m,x,k,"∝","\\varpropto"),c(m,x,k,"◀","\\blacktriangleleft"),c(m,x,k,"∴","\\therefore",!0),c(m,x,k,"∍","\\backepsilon"),c(m,x,k,"▶","\\blacktriangleright"),c(m,x,k,"∵","\\because",!0),c(m,x,k,"⋘","\\llless"),c(m,x,k,"⋙","\\gggtr"),c(m,x,K,"⊲","\\lhd"),c(m,x,K,"⊳","\\rhd"),c(m,x,k,"≂","\\eqsim",!0),c(m,g,k,"⋈","\\Join"),c(m,x,k,"≑","\\Doteq",!0),c(m,x,K,"∔","\\dotplus",!0),c(m,x,K,"∖","\\smallsetminus"),c(m,x,K,"⋒","\\Cap",!0),c(m,x,K,"⋓","\\Cup",!0),c(m,x,K,"⩞","\\doublebarwedge",!0),c(m,x,K,"⊟","\\boxminus",!0),c(m,x,K,"⊞","\\boxplus",!0),c(m,x,K,"⋇","\\divideontimes",!0),c(m,x,K,"⋉","\\ltimes",!0),c(m,x,K,"⋊","\\rtimes",!0),c(m,x,K,"⋋","\\leftthreetimes",!0),c(m,x,K,"⋌","\\rightthreetimes",!0),c(m,x,K,"⋏","\\curlywedge",!0),c(m,x,K,"⋎","\\curlyvee",!0),c(m,x,K,"⊝","\\circleddash",!0),c(m,x,K,"⊛","\\circledast",!0),c(m,x,K,"⋅","\\centerdot"),c(m,x,K,"⊺","\\intercal",!0),c(m,x,K,"⋒","\\doublecap"),c(m,x,K,"⋓","\\doublecup"),c(m,x,K,"⊠","\\boxtimes",!0),c(m,x,k,"⇢","\\dashrightarrow",!0),c(m,x,k,"⇠","\\dashleftarrow",!0),c(m,x,k,"⇇","\\leftleftarrows",!0),c(m,x,k,"⇆","\\leftrightarrows",!0),c(m,x,k,"⇚","\\Lleftarrow",!0),c(m,x,k,"↞","\\twoheadleftarrow",!0),c(m,x,k,"↢","\\leftarrowtail",!0),c(m,x,k,"↫","\\looparrowleft",!0),c(m,x,k,"⇋","\\leftrightharpoons",!0),c(m,x,k,"↶","\\curvearrowleft",!0),c(m,x,k,"↺","\\circlearrowleft",!0),c(m,x,k,"↰","\\Lsh",!0),c(m,x,k,"⇈","\\upuparrows",!0),c(m,x,k,"↿","\\upharpoonleft",!0),c(m,x,k,"⇃","\\downharpoonleft",!0),c(m,g,k,"⊶","\\origof",!0),c(m,g,k,"⊷","\\imageof",!0),c(m,x,k,"⊸","\\multimap",!0),c(m,x,k,"↭","\\leftrightsquigarrow",!0),c(m,x,k,"⇉","\\rightrightarrows",!0),c(m,x,k,"⇄","\\rightleftarrows",!0),c(m,x,k,"↠","\\twoheadrightarrow",!0),c(m,x,k,"↣","\\rightarrowtail",!0),c(m,x,k,"↬","\\looparrowright",!0),c(m,x,k,"↷","\\curvearrowright",!0),c(m,x,k,"↻","\\circlearrowright",!0),c(m,x,k,"↱","\\Rsh",!0),c(m,x,k,"⇊","\\downdownarrows",!0),c(m,x,k,"↾","\\upharpoonright",!0),c(m,x,k,"⇂","\\downharpoonright",!0),c(m,x,k,"⇝","\\rightsquigarrow",!0),c(m,x,k,"⇝","\\leadsto"),c(m,x,k,"⇛","\\Rrightarrow",!0),c(m,x,k,"↾","\\restriction"),c(m,g,M,"‘","`"),c(m,g,M,"$","\\$"),c(F,g,M,"$","\\$"),c(F,g,M,"$","\\textdollar"),c(m,g,M,"%","\\%"),c(F,g,M,"%","\\%"),c(m,g,M,"_","\\_"),c(F,g,M,"_","\\_"),c(F,g,M,"_","\\textunderscore"),c(m,g,M,"∠","\\angle",!0),c(m,g,M,"∞","\\infty",!0),c(m,g,M,"′","\\prime"),c(m,g,M,"△","\\triangle"),c(m,g,M,"Γ","\\Gamma",!0),c(m,g,M,"Δ","\\Delta",!0),c(m,g,M,"Θ","\\Theta",!0),c(m,g,M,"Λ","\\Lambda",!0),c(m,g,M,"Ξ","\\Xi",!0),c(m,g,M,"Π","\\Pi",!0),c(m,g,M,"Σ","\\Sigma",!0),c(m,g,M,"Υ","\\Upsilon",!0),c(m,g,M,"Φ","\\Phi",!0),c(m,g,M,"Ψ","\\Psi",!0),c(m,g,M,"Ω","\\Omega",!0),c(m,g,M,"A","Α"),c(m,g,M,"B","Β"),c(m,g,M,"E","Ε"),c(m,g,M,"Z","Ζ"),c(m,g,M,"H","Η"),c(m,g,M,"I","Ι"),c(m,g,M,"K","Κ"),c(m,g,M,"M","Μ"),c(m,g,M,"N","Ν"),c(m,g,M,"O","Ο"),c(m,g,M,"P","Ρ"),c(m,g,M,"T","Τ"),c(m,g,M,"X","Χ"),c(m,g,M,"¬","\\neg",!0),c(m,g,M,"¬","\\lnot"),c(m,g,M,"⊤","\\top"),c(m,g,M,"⊥","\\bot"),c(m,g,M,"∅","\\emptyset"),c(m,x,M,"∅","\\varnothing"),c(m,g,ie,"α","\\alpha",!0),c(m,g,ie,"β","\\beta",!0),c(m,g,ie,"γ","\\gamma",!0),c(m,g,ie,"δ","\\delta",!0),c(m,g,ie,"ϵ","\\epsilon",!0),c(m,g,ie,"ζ","\\zeta",!0),c(m,g,ie,"η","\\eta",!0),c(m,g,ie,"θ","\\theta",!0),c(m,g,ie,"ι","\\iota",!0),c(m,g,ie,"κ","\\kappa",!0),c(m,g,ie,"λ","\\lambda",!0),c(m,g,ie,"μ","\\mu",!0),c(m,g,ie,"ν","\\nu",!0),c(m,g,ie,"ξ","\\xi",!0),c(m,g,ie,"ο","\\omicron",!0),c(m,g,ie,"π","\\pi",!0),c(m,g,ie,"ρ","\\rho",!0),c(m,g,ie,"σ","\\sigma",!0),c(m,g,ie,"τ","\\tau",!0),c(m,g,ie,"υ","\\upsilon",!0),c(m,g,ie,"ϕ","\\phi",!0),c(m,g,ie,"χ","\\chi",!0),c(m,g,ie,"ψ","\\psi",!0),c(m,g,ie,"ω","\\omega",!0),c(m,g,ie,"ε","\\varepsilon",!0),c(m,g,ie,"ϑ","\\vartheta",!0),c(m,g,ie,"ϖ","\\varpi",!0),c(m,g,ie,"ϱ","\\varrho",!0),c(m,g,ie,"ς","\\varsigma",!0),c(m,g,ie,"φ","\\varphi",!0),c(m,g,K,"∗","*",!0),c(m,g,K,"+","+"),c(m,g,K,"−","-",!0),c(m,g,K,"⋅","\\cdot",!0),c(m,g,K,"∘","\\circ",!0),c(m,g,K,"÷","\\div",!0),c(m,g,K,"±","\\pm",!0),c(m,g,K,"×","\\times",!0),c(m,g,K,"∩","\\cap",!0),c(m,g,K,"∪","\\cup",!0),c(m,g,K,"∖","\\setminus",!0),c(m,g,K,"∧","\\land"),c(m,g,K,"∨","\\lor"),c(m,g,K,"∧","\\wedge",!0),c(m,g,K,"∨","\\vee",!0),c(m,g,M,"√","\\surd"),c(m,g,dt,"⟨","\\langle",!0),c(m,g,dt,"∣","\\lvert"),c(m,g,dt,"∥","\\lVert"),c(m,g,et,"?","?"),c(m,g,et,"!","!"),c(m,g,et,"⟩","\\rangle",!0),c(m,g,et,"∣","\\rvert"),c(m,g,et,"∥","\\rVert"),c(m,g,k,"=","="),c(m,g,k,":",":"),c(m,g,k,"≈","\\approx",!0),c(m,g,k,"≅","\\cong",!0),c(m,g,k,"≥","\\ge"),c(m,g,k,"≥","\\geq",!0),c(m,g,k,"←","\\gets"),c(m,g,k,">","\\gt",!0),c(m,g,k,"∈","\\in",!0),c(m,g,k,"","\\@not"),c(m,g,k,"⊂","\\subset",!0),c(m,g,k,"⊃","\\supset",!0),c(m,g,k,"⊆","\\subseteq",!0),c(m,g,k,"⊇","\\supseteq",!0),c(m,x,k,"⊈","\\nsubseteq",!0),c(m,x,k,"⊉","\\nsupseteq",!0),c(m,g,k,"⊨","\\models"),c(m,g,k,"←","\\leftarrow",!0),c(m,g,k,"≤","\\le"),c(m,g,k,"≤","\\leq",!0),c(m,g,k,"<","\\lt",!0),c(m,g,k,"→","\\rightarrow",!0),c(m,g,k,"→","\\to"),c(m,x,k,"≱","\\ngeq",!0),c(m,x,k,"≰","\\nleq",!0),c(m,g,qt," ","\\ "),c(m,g,qt," ","\\space"),c(m,g,qt," ","\\nobreakspace"),c(F,g,qt," ","\\ "),c(F,g,qt," "," "),c(F,g,qt," ","\\space"),c(F,g,qt," ","\\nobreakspace"),c(m,g,qt,null,"\\nobreak"),c(m,g,qt,null,"\\allowbreak"),c(m,g,On,",",","),c(m,g,On,";",";"),c(m,x,K,"⊼","\\barwedge",!0),c(m,x,K,"⊻","\\veebar",!0),c(m,g,K,"⊙","\\odot",!0),c(m,g,K,"⊕","\\oplus",!0),c(m,g,K,"⊗","\\otimes",!0),c(m,g,M,"∂","\\partial",!0),c(m,g,K,"⊘","\\oslash",!0),c(m,x,K,"⊚","\\circledcirc",!0),c(m,x,K,"⊡","\\boxdot",!0),c(m,g,K,"△","\\bigtriangleup"),c(m,g,K,"▽","\\bigtriangledown"),c(m,g,K,"†","\\dagger"),c(m,g,K,"⋄","\\diamond"),c(m,g,K,"⋆","\\star"),c(m,g,K,"◃","\\triangleleft"),c(m,g,K,"▹","\\triangleright"),c(m,g,dt,"{","\\{"),c(F,g,M,"{","\\{"),c(F,g,M,"{","\\textbraceleft"),c(m,g,et,"}","\\}"),c(F,g,M,"}","\\}"),c(F,g,M,"}","\\textbraceright"),c(m,g,dt,"{","\\lbrace"),c(m,g,et,"}","\\rbrace"),c(m,g,dt,"[","\\lbrack",!0),c(F,g,M,"[","\\lbrack",!0),c(m,g,et,"]","\\rbrack",!0),c(F,g,M,"]","\\rbrack",!0),c(m,g,dt,"(","\\lparen",!0),c(m,g,et,")","\\rparen",!0),c(F,g,M,"<","\\textless",!0),c(F,g,M,">","\\textgreater",!0),c(m,g,dt,"⌊","\\lfloor",!0),c(m,g,et,"⌋","\\rfloor",!0),c(m,g,dt,"⌈","\\lceil",!0),c(m,g,et,"⌉","\\rceil",!0),c(m,g,M,"\\","\\backslash"),c(m,g,M,"∣","|"),c(m,g,M,"∣","\\vert"),c(F,g,M,"|","\\textbar",!0),c(m,g,M,"∥","\\|"),c(m,g,M,"∥","\\Vert"),c(F,g,M,"∥","\\textbardbl"),c(F,g,M,"~","\\textasciitilde"),c(F,g,M,"\\","\\textbackslash"),c(F,g,M,"^","\\textasciicircum"),c(m,g,k,"↑","\\uparrow",!0),c(m,g,k,"⇑","\\Uparrow",!0),c(m,g,k,"↓","\\downarrow",!0),c(m,g,k,"⇓","\\Downarrow",!0),c(m,g,k,"↕","\\updownarrow",!0),c(m,g,k,"⇕","\\Updownarrow",!0),c(m,g,_e,"∐","\\coprod"),c(m,g,_e,"⋁","\\bigvee"),c(m,g,_e,"⋀","\\bigwedge"),c(m,g,_e,"⨄","\\biguplus"),c(m,g,_e,"⋂","\\bigcap"),c(m,g,_e,"⋃","\\bigcup"),c(m,g,_e,"∫","\\int"),c(m,g,_e,"∫","\\intop"),c(m,g,_e,"∬","\\iint"),c(m,g,_e,"∭","\\iiint"),c(m,g,_e,"∏","\\prod"),c(m,g,_e,"∑","\\sum"),c(m,g,_e,"⨂","\\bigotimes"),c(m,g,_e,"⨁","\\bigoplus"),c(m,g,_e,"⨀","\\bigodot"),c(m,g,_e,"∮","\\oint"),c(m,g,_e,"∯","\\oiint"),c(m,g,_e,"∰","\\oiiint"),c(m,g,_e,"⨆","\\bigsqcup"),c(m,g,_e,"∫","\\smallint"),c(F,g,Rr,"…","\\textellipsis"),c(m,g,Rr,"…","\\mathellipsis"),c(F,g,Rr,"…","\\ldots",!0),c(m,g,Rr,"…","\\ldots",!0),c(m,g,Rr,"⋯","\\@cdots",!0),c(m,g,Rr,"⋱","\\ddots",!0),c(m,g,M,"⋮","\\varvdots"),c(F,g,M,"⋮","\\varvdots"),c(m,g,ze,"ˊ","\\acute"),c(m,g,ze,"ˋ","\\grave"),c(m,g,ze,"¨","\\ddot"),c(m,g,ze,"~","\\tilde"),c(m,g,ze,"ˉ","\\bar"),c(m,g,ze,"˘","\\breve"),c(m,g,ze,"ˇ","\\check"),c(m,g,ze,"^","\\hat"),c(m,g,ze,"⃗","\\vec"),c(m,g,ze,"˙","\\dot"),c(m,g,ze,"˚","\\mathring"),c(m,g,ie,"","\\@imath"),c(m,g,ie,"","\\@jmath"),c(m,g,M,"ı","ı"),c(m,g,M,"ȷ","ȷ"),c(F,g,M,"ı","\\i",!0),c(F,g,M,"ȷ","\\j",!0),c(F,g,M,"ß","\\ss",!0),c(F,g,M,"æ","\\ae",!0),c(F,g,M,"œ","\\oe",!0),c(F,g,M,"ø","\\o",!0),c(F,g,M,"Æ","\\AE",!0),c(F,g,M,"Œ","\\OE",!0),c(F,g,M,"Ø","\\O",!0),c(F,g,ze,"ˊ","\\'"),c(F,g,ze,"ˋ","\\`"),c(F,g,ze,"ˆ","\\^"),c(F,g,ze,"˜","\\~"),c(F,g,ze,"ˉ","\\="),c(F,g,ze,"˘","\\u"),c(F,g,ze,"˙","\\."),c(F,g,ze,"¸","\\c"),c(F,g,ze,"˚","\\r"),c(F,g,ze,"ˇ","\\v"),c(F,g,ze,"¨",'\\"'),c(F,g,ze,"˝","\\H"),c(F,g,ze,"◯","\\textcircled");var vo={"--":!0,"---":!0,"``":!0,"''":!0};c(F,g,M,"–","--",!0),c(F,g,M,"–","\\textendash"),c(F,g,M,"—","---",!0),c(F,g,M,"—","\\textemdash"),c(F,g,M,"‘","`",!0),c(F,g,M,"‘","\\textquoteleft"),c(F,g,M,"’","'",!0),c(F,g,M,"’","\\textquoteright"),c(F,g,M,"“","``",!0),c(F,g,M,"“","\\textquotedblleft"),c(F,g,M,"”","''",!0),c(F,g,M,"”","\\textquotedblright"),c(m,g,M,"°","\\degree",!0),c(F,g,M,"°","\\degree"),c(F,g,M,"°","\\textdegree",!0),c(m,g,M,"£","\\pounds"),c(m,g,M,"£","\\mathsterling",!0),c(F,g,M,"£","\\pounds"),c(F,g,M,"£","\\textsterling",!0),c(m,x,M,"✠","\\maltese"),c(F,x,M,"✠","\\maltese");for(var yo='0123456789/@."',l0=0;l0<yo.length;l0++){var bo=yo.charAt(l0);c(m,g,M,bo,bo)}for(var xo='0123456789!@*()-=+";:?/.,',o0=0;o0<xo.length;o0++){var wo=xo.charAt(o0);c(F,g,M,wo,wo)}for(var Rn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",s0=0;s0<Rn.length;s0++){var Dn=Rn.charAt(s0);c(m,g,ie,Dn,Dn),c(F,g,M,Dn,Dn)}c(m,x,M,"C","ℂ"),c(F,x,M,"C","ℂ"),c(m,x,M,"H","ℍ"),c(F,x,M,"H","ℍ"),c(m,x,M,"N","ℕ"),c(F,x,M,"N","ℕ"),c(m,x,M,"P","ℙ"),c(F,x,M,"P","ℙ"),c(m,x,M,"Q","ℚ"),c(F,x,M,"Q","ℚ"),c(m,x,M,"R","ℝ"),c(F,x,M,"R","ℝ"),c(m,x,M,"Z","ℤ"),c(F,x,M,"Z","ℤ"),c(m,g,ie,"h","ℎ"),c(F,g,ie,"h","ℎ");for(var ae="",tt=0;tt<Rn.length;tt++){var De=Rn.charAt(tt);ae=String.fromCharCode(55349,56320+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56372+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56424+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56580+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56684+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56736+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56788+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56840+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56944+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),tt<26&&(ae=String.fromCharCode(55349,56632+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae),ae=String.fromCharCode(55349,56476+tt),c(m,g,ie,De,ae),c(F,g,M,De,ae))}ae="𝕜",c(m,g,ie,"k",ae),c(F,g,M,"k",ae);for(var pr=0;pr<10;pr++){var rr=pr.toString();ae=String.fromCharCode(55349,57294+pr),c(m,g,ie,rr,ae),c(F,g,M,rr,ae),ae=String.fromCharCode(55349,57314+pr),c(m,g,ie,rr,ae),c(F,g,M,rr,ae),ae=String.fromCharCode(55349,57324+pr),c(m,g,ie,rr,ae),c(F,g,M,rr,ae),ae=String.fromCharCode(55349,57334+pr),c(m,g,ie,rr,ae),c(F,g,M,rr,ae)}for(var u0="ÐÞþ",c0=0;c0<u0.length;c0++){var Ln=u0.charAt(c0);c(m,g,ie,Ln,Ln),c(F,g,M,Ln,Ln)}var Bn=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],ko=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],W4=function(t,r){var n=t.charCodeAt(0),i=t.charCodeAt(1),a=(n-55296)*1024+(i-56320)+65536,l=r==="math"?0:1;if(119808<=a&&a<120484){var o=Math.floor((a-119808)/26);return[Bn[o][2],Bn[o][l]]}else if(120782<=a&&a<=120831){var s=Math.floor((a-120782)/10);return[ko[s][2],ko[s][l]]}else{if(a===120485||a===120486)return[Bn[0][2],Bn[0][l]];if(120486<a&&a<120782)return["",""];throw new q("Unsupported character: "+t)}},Fn=function(t,r,n){return Ce[n][t]&&Ce[n][t].replace&&(t=Ce[n][t].replace),{value:t,metrics:t0(t,r,n)}},At=function(t,r,n,i,a){var l=Fn(t,r,n),o=l.metrics;t=l.value;var s;if(o){var u=o.italic;(n==="text"||i&&i.font==="mathit")&&(u=0),s=new xt(t,o.height,o.depth,u,o.skew,o.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),s=new xt(t,0,0,0,0,0,a);if(i){s.maxFontSize=i.sizeMultiplier,i.style.isTight()&&s.classes.push("mtight");var f=i.getColor();f&&(s.style.color=f)}return s},Y4=function(t,r,n,i){return i===void 0&&(i=[]),n.font==="boldsymbol"&&Fn(t,"Main-Bold",r).metrics?At(t,"Main-Bold",r,n,i.concat(["mathbf"])):t==="\\"||Ce[r][t].font==="main"?At(t,"Main-Regular",r,n,i):At(t,"AMS-Regular",r,n,i.concat(["amsrm"]))},X4=function(t,r,n,i,a){return a!=="textord"&&Fn(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},$4=function(t,r,n){var i=t.mode,a=t.text,l=["mord"],o=i==="math"||i==="text"&&r.font,s=o?r.font:r.fontFamily,u="",f="";if(a.charCodeAt(0)===55349&&([u,f]=W4(a,i)),u.length>0)return At(a,u,i,r,l.concat(f));if(s){var h,d;if(s==="boldsymbol"){var p=X4(a,i,r,l,n);h=p.fontName,d=[p.fontClass]}else o?(h=Ao[s].fontName,d=[s]):(h=Pn(s,r.fontWeight,r.fontShape),d=[s,r.fontWeight,r.fontShape]);if(Fn(a,h,i).metrics)return At(a,h,i,r,l.concat(d));if(vo.hasOwnProperty(a)&&h.slice(0,10)==="Typewriter"){for(var v=[],b=0;b<a.length;b++)v.push(At(a[b],h,i,r,l.concat(d)));return To(v)}}if(n==="mathord")return At(a,"Math-Italic",i,r,l.concat(["mathnormal"]));if(n==="textord"){var C=Ce[i][a]&&Ce[i][a].font;if(C==="ams"){var w=Pn("amsrm",r.fontWeight,r.fontShape);return At(a,w,i,r,l.concat("amsrm",r.fontWeight,r.fontShape))}else if(C==="main"||!C){var A=Pn("textrm",r.fontWeight,r.fontShape);return At(a,A,i,r,l.concat(r.fontWeight,r.fontShape))}else{var z=Pn(C,r.fontWeight,r.fontShape);return At(a,z,i,r,l.concat(z,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},K4=(e,t)=>{if(er(e.classes)!==er(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},Q4=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof xt&&n instanceof xt&&K4(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},h0=function(t){for(var r=0,n=0,i=0,a=0;a<t.children.length;a++){var l=t.children[a];l.height>r&&(r=l.height),l.depth>n&&(n=l.depth),l.maxFontSize>i&&(i=l.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=i},ot=function(t,r,n,i){var a=new nn(t,r,n,i);return h0(a),a},So=(e,t,r,n)=>new nn(e,t,r,n),Z4=function(t,r,n){var i=ot([t],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=W(i.height),i.maxFontSize=1,i},J4=function(t,r,n,i){var a=new i0(t,r,n,i);return h0(a),a},To=function(t){var r=new rn(t);return h0(r),r},ep=function(t,r){return t instanceof rn?ot([],[t],r):t},tp=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,l=1;l<r.length;l++){var o=-r[l].shift-a-r[l].elem.depth,s=o-(r[l-1].elem.height+r[l-1].elem.depth);a=a+o,n.push({type:"kern",size:s}),n.push(r[l])}return{children:n,depth:i}}var u;if(t.positionType==="top"){for(var f=t.positionData,h=0;h<t.children.length;h++){var d=t.children[h];f-=d.type==="kern"?d.size:d.elem.height+d.elem.depth}u=f}else if(t.positionType==="bottom")u=-t.positionData;else{var p=t.children[0];if(p.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")u=-p.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")u=-p.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:u}},rp=function(t,r){for(var{children:n,depth:i}=tp(t),a=0,l=0;l<n.length;l++){var o=n[l];if(o.type==="elem"){var s=o.elem;a=Math.max(a,s.maxFontSize,s.height)}}a+=2;var u=ot(["pstrut"],[]);u.style.height=W(a);for(var f=[],h=i,d=i,p=i,v=0;v<n.length;v++){var b=n[v];if(b.type==="kern")p+=b.size;else{var C=b.elem,w=b.wrapperClasses||[],A=b.wrapperStyle||{},z=ot(w,[u,C],void 0,A);z.style.top=W(-a-p-C.depth),b.marginLeft&&(z.style.marginLeft=b.marginLeft),b.marginRight&&(z.style.marginRight=b.marginRight),f.push(z),p+=C.height+C.depth}h=Math.min(h,p),d=Math.max(d,p)}var D=ot(["vlist"],f);D.style.height=W(d);var L;if(h<0){var I=ot([],[]),P=ot(["vlist"],[I]);P.style.height=W(-h);var X=ot(["vlist-s"],[new xt("​")]);L=[ot(["vlist-r"],[D,X]),ot(["vlist-r"],[P])]}else L=[ot(["vlist-r"],[D])];var H=ot(["vlist-t"],L);return L.length===2&&H.classes.push("vlist-t2"),H.height=d,H.depth=-h,H},np=(e,t)=>{var r=ot(["mspace"],[],t),n=Oe(e,t);return r.style.marginRight=W(n),r},Pn=function(t,r,n){var i="";switch(t){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=t}var a;return r==="textbf"&&n==="textit"?a="BoldItalic":r==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",i+"-"+a},Ao={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Eo={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},ip=function(t,r){var[n,i,a]=Eo[t],l=new tr(n),o=new jt([l],{width:W(i),height:W(a),style:"width:"+W(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),s=So(["overlay"],[o],r);return s.height=a,s.style.height=W(a),s.style.width=W(i),s},O={fontMap:Ao,makeSymbol:At,mathsym:Y4,makeSpan:ot,makeSvgSpan:So,makeLineSpan:Z4,makeAnchor:J4,makeFragment:To,wrapFragment:ep,makeVList:rp,makeOrd:$4,makeGlue:np,staticSvg:ip,svgData:Eo,tryCombineChars:Q4},Re={number:3,unit:"mu"},dr={number:4,unit:"mu"},Ut={number:5,unit:"mu"},ap={mord:{mop:Re,mbin:dr,mrel:Ut,minner:Re},mop:{mord:Re,mop:Re,mrel:Ut,minner:Re},mbin:{mord:dr,mop:dr,mopen:dr,minner:dr},mrel:{mord:Ut,mop:Ut,mopen:Ut,minner:Ut},mopen:{},mclose:{mop:Re,mbin:dr,mrel:Ut,minner:Re},mpunct:{mord:Re,mop:Re,mrel:Ut,mopen:Re,mclose:Re,mpunct:Re,minner:Re},minner:{mord:Re,mop:Re,mbin:dr,mrel:Ut,mopen:Re,mpunct:Re,minner:Re}},lp={mord:{mop:Re},mop:{mord:Re,mop:Re},mbin:{},mrel:{},mopen:{},mclose:{mop:Re},mpunct:{},minner:{mop:Re}},Co={},_n={},Hn={};function $(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:l}=e,o={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},s=0;s<r.length;++s)Co[r[s]]=o;t&&(a&&(_n[t]=a),l&&(Hn[t]=l))}function gr(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;$({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var jn=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Be=function(t){return t.type==="ordgroup"?t.body:[t]},Vt=O.makeSpan,op=["leftmost","mbin","mopen","mrel","mop","mpunct"],sp=["rightmost","mrel","mclose","mpunct"],up={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT},cp={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ue=function(t,r,n,i){i===void 0&&(i=[null,null]);for(var a=[],l=0;l<t.length;l++){var o=be(t[l],r);if(o instanceof rn){var s=o.children;a.push(...s)}else a.push(o)}if(O.tryCombineChars(a),!n)return a;var u=r;if(t.length===1){var f=t[0];f.type==="sizing"?u=r.havingSize(f.size):f.type==="styling"&&(u=r.havingStyle(up[f.style]))}var h=Vt([i[0]||"leftmost"],[],r),d=Vt([i[1]||"rightmost"],[],r),p=n==="root";return Mo(a,(v,b)=>{var C=b.classes[0],w=v.classes[0];C==="mbin"&&te.contains(sp,w)?b.classes[0]="mord":w==="mbin"&&te.contains(op,C)&&(v.classes[0]="mord")},{node:h},d,p),Mo(a,(v,b)=>{var C=f0(b),w=f0(v),A=C&&w?v.hasClass("mtight")?lp[C][w]:ap[C][w]:null;if(A)return O.makeGlue(A,u)},{node:h},d,p),a},Mo=function e(t,r,n,i,a){i&&t.push(i);for(var l=0;l<t.length;l++){var o=t[l],s=zo(o);if(s){e(s.children,r,n,null,a);continue}var u=!o.hasClass("mspace");if(u){var f=r(o,n.node);f&&(n.insertAfter?n.insertAfter(f):(t.unshift(f),l++))}u?n.node=o:a&&o.hasClass("newline")&&(n.node=Vt(["leftmost"])),n.insertAfter=(h=>d=>{t.splice(h+1,0,d),l++})(l)}i&&t.pop()},zo=function(t){return t instanceof rn||t instanceof i0||t instanceof nn&&t.hasClass("enclosing")?t:null},hp=function e(t,r){var n=zo(t);if(n){var i=n.children;if(i.length){if(r==="right")return e(i[i.length-1],"right");if(r==="left")return e(i[0],"left")}}return t},f0=function(t,r){return t?(r&&(t=hp(t,r)),cp[t.classes[0]]||null):null},an=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return Vt(r.concat(n))},be=function(t,r,n){if(!t)return Vt();if(_n[t.type]){var i=_n[t.type](t,r);if(n&&r.size!==n.size){i=Vt(r.sizingClasses(n),[i],r);var a=r.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new q("Got group of unknown type: '"+t.type+"'")};function qn(e,t){var r=Vt(["base"],e,t),n=Vt(["strut"]);return n.style.height=W(r.height+r.depth),r.depth&&(n.style.verticalAlign=W(-r.depth)),r.children.unshift(n),r}function m0(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=Ue(e,t,"root"),i;n.length===2&&n[1].hasClass("tag")&&(i=n.pop());for(var a=[],l=[],o=0;o<n.length;o++)if(l.push(n[o]),n[o].hasClass("mbin")||n[o].hasClass("mrel")||n[o].hasClass("allowbreak")){for(var s=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,l.push(n[o]),n[o].hasClass("nobreak")&&(s=!0);s||(a.push(qn(l,t)),l=[])}else n[o].hasClass("newline")&&(l.pop(),l.length>0&&(a.push(qn(l,t)),l=[]),a.push(n[o]));l.length>0&&a.push(qn(l,t));var u;r?(u=qn(Ue(r,t,!0)),u.classes=["tag"],a.push(u)):i&&a.push(i);var f=Vt(["katex-html"],a);if(f.setAttribute("aria-hidden","true"),u){var h=u.children[0];h.style.height=W(f.height+f.depth),f.depth&&(h.style.verticalAlign=W(-f.depth))}return f}function Io(e){return new rn(e)}class gt{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=er(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof Ot&&this.children[n+1]instanceof Ot){for(var i=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof Ot;)i+=this.children[++n].toText();t.appendChild(new Ot(i).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=te.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+te.escape(er(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Ot{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return te.escape(this.toText())}toText(){return this.text}}class fp{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",W(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+W(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var _={MathNode:gt,TextNode:Ot,SpaceNode:fp,newDocumentFragment:Io},wt=function(t,r,n){return Ce[r][t]&&Ce[r][t].replace&&t.charCodeAt(0)!==55349&&!(vo.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Ce[r][t].replace),new _.TextNode(t)},p0=function(t){return t.length===1?t[0]:new _.MathNode("mrow",t)},d0=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var i=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var a=t.text;if(te.contains(["\\imath","\\jmath"],a))return null;Ce[i][a]&&Ce[i][a].replace&&(a=Ce[i][a].replace);var l=O.fontMap[n].fontName;return t0(a,l,i)?O.fontMap[n].variant:null};function g0(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Ot&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof Ot&&r.text===","}else return!1}var st=function(t,r,n){if(t.length===1){var i=Te(t[0],r);return n&&i instanceof gt&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],l,o=0;o<t.length;o++){var s=Te(t[o],r);if(s instanceof gt&&l instanceof gt){if(s.type==="mtext"&&l.type==="mtext"&&s.getAttribute("mathvariant")===l.getAttribute("mathvariant")){l.children.push(...s.children);continue}else if(s.type==="mn"&&l.type==="mn"){l.children.push(...s.children);continue}else if(g0(s)&&l.type==="mn"){l.children.push(...s.children);continue}else if(s.type==="mn"&&g0(l))s.children=[...l.children,...s.children],a.pop();else if((s.type==="msup"||s.type==="msub")&&s.children.length>=1&&(l.type==="mn"||g0(l))){var u=s.children[0];u instanceof gt&&u.type==="mn"&&(u.children=[...l.children,...u.children],a.pop())}else if(l.type==="mi"&&l.children.length===1){var f=l.children[0];if(f instanceof Ot&&f.text==="̸"&&(s.type==="mo"||s.type==="mi"||s.type==="mn")){var h=s.children[0];h instanceof Ot&&h.text.length>0&&(h.text=h.text.slice(0,1)+"̸"+h.text.slice(1),a.pop())}}}a.push(s),l=s}return a},nr=function(t,r,n){return p0(st(t,r,n))},Te=function(t,r){if(!t)return new _.MathNode("mrow");if(Hn[t.type]){var n=Hn[t.type](t,r);return n}else throw new q("Got group of unknown type: '"+t.type+"'")};function No(e,t,r,n,i){var a=st(e,r),l;a.length===1&&a[0]instanceof gt&&te.contains(["mrow","mtable"],a[0].type)?l=a[0]:l=new _.MathNode("mrow",a);var o=new _.MathNode("annotation",[new _.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var s=new _.MathNode("semantics",[l,o]),u=new _.MathNode("math",[s]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&u.setAttribute("display","block");var f=i?"katex":"katex-mathml";return O.makeSpan([f],[u])}var Oo=function(t){return new Ht({style:t.displayMode?ne.DISPLAY:ne.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Ro=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=O.makeSpan(n,[t])}return t},mp=function(t,r,n){var i=Oo(n),a;if(n.output==="mathml")return No(t,r,i,n.displayMode,!0);if(n.output==="html"){var l=m0(t,i);a=O.makeSpan(["katex"],[l])}else{var o=No(t,r,i,n.displayMode,!1),s=m0(t,i);a=O.makeSpan(["katex"],[o,s])}return Ro(a,n)},pp=function(t,r,n){var i=Oo(n),a=m0(t,i),l=O.makeSpan(["katex"],[a]);return Ro(l,n)},dp={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},gp=function(t){var r=new _.MathNode("mo",[new _.TextNode(dp[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},vp={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},yp=function(t){return t.type==="ordgroup"?t.body.length:1},bp=function(t,r){function n(){var o=4e5,s=t.label.slice(1);if(te.contains(["widehat","widecheck","widetilde","utilde"],s)){var u=t,f=yp(u.base),h,d,p;if(f>5)s==="widehat"||s==="widecheck"?(h=420,o=2364,p=.42,d=s+"4"):(h=312,o=2340,p=.34,d="tilde4");else{var v=[1,1,2,2,3,3][f];s==="widehat"||s==="widecheck"?(o=[0,1062,2364,2364,2364][v],h=[0,239,300,360,420][v],p=[0,.24,.3,.3,.36,.42][v],d=s+v):(o=[0,600,1033,2339,2340][v],h=[0,260,286,306,312][v],p=[0,.26,.286,.3,.306,.34][v],d="tilde"+v)}var b=new tr(d),C=new jt([b],{width:"100%",height:W(p),viewBox:"0 0 "+o+" "+h,preserveAspectRatio:"none"});return{span:O.makeSvgSpan([],[C],r),minWidth:0,height:p}}else{var w=[],A=vp[s],[z,D,L]=A,I=L/1e3,P=z.length,X,H;if(P===1){var N=A[3];X=["hide-tail"],H=[N]}else if(P===2)X=["halfarrow-left","halfarrow-right"],H=["xMinYMin","xMaxYMin"];else if(P===3)X=["brace-left","brace-center","brace-right"],H=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
676
+ `+P+" children.");for(var V=0;V<P;V++){var G=new tr(z[V]),le=new jt([G],{width:"400em",height:W(I),viewBox:"0 0 "+o+" "+L,preserveAspectRatio:H[V]+" slice"}),re=O.makeSvgSpan([X[V]],[le],r);if(P===1)return{span:re,minWidth:D,height:I};re.style.height=W(I),w.push(re)}return{span:O.makeSpan(["stretchy"],w,r),minWidth:D,height:I}}}var{span:i,minWidth:a,height:l}=n();return i.height=l,i.style.height=W(l),a>0&&(i.style.minWidth=W(a)),i},xp=function(t,r,n,i,a){var l,o=t.height+t.depth+n+i;if(/fbox|color|angl/.test(r)){if(l=O.makeSpan(["stretchy",r],[],a),r==="fbox"){var s=a.color&&a.getColor();s&&(l.style.borderColor=s)}}else{var u=[];/^[bx]cancel$/.test(r)&&u.push(new a0({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&u.push(new a0({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var f=new jt(u,{width:"100%",height:W(o)});l=O.makeSvgSpan([],[f],a)}return l.height=o,l.style.height=W(o),l},Gt={encloseSpan:xp,mathMLnode:gp,svgSpan:bp};function ce(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function v0(e){var t=Un(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Un(e){return e&&(e.type==="atom"||G4.hasOwnProperty(e.type))?e:null}var y0=(e,t)=>{var r,n,i;e&&e.type==="supsub"?(n=ce(e.base,"accent"),r=n.base,e.base=r,i=U4(be(e,t)),e.base=n):(n=ce(e,"accent"),r=n.base);var a=be(r,t.havingCrampedStyle()),l=n.isShifty&&te.isCharacterBox(r),o=0;if(l){var s=te.getBaseElem(r),u=be(s,t.havingCrampedStyle());o=go(u).skew}var f=n.label==="\\c",h=f?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),d;if(n.isStretchy)d=Gt.svgSpan(n,t),d=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+W(2*o)+")",marginLeft:W(2*o)}:void 0}]},t);else{var p,v;n.label==="\\vec"?(p=O.staticSvg("vec",t),v=O.svgData.vec[1]):(p=O.makeOrd({mode:n.mode,text:n.label},t,"textord"),p=go(p),p.italic=0,v=p.width,f&&(h+=p.depth)),d=O.makeSpan(["accent-body"],[p]);var b=n.label==="\\textcircled";b&&(d.classes.push("accent-full"),h=a.height);var C=o;b||(C-=v/2),d.style.left=W(C),n.label==="\\textcircled"&&(d.style.top=".2em"),d=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-h},{type:"elem",elem:d}]},t)}var w=O.makeSpan(["mord","accent"],[d],t);return i?(i.children[0]=w,i.height=Math.max(w.height,i.height),i.classes[0]="mord",i):w},Do=(e,t)=>{var r=e.isStretchy?Gt.mathMLnode(e.label):new _.MathNode("mo",[wt(e.label,e.mode)]),n=new _.MathNode("mover",[Te(e.base,t),r]);return n.setAttribute("accent","true"),n},wp=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));$({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=jn(t[0]),n=!wp.test(e.funcName),i=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:y0,mathmlBuilder:Do}),$({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:y0,mathmlBuilder:Do}),$({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(e,t)=>{var r=be(e.base,t),n=Gt.svgSpan(e,t),i=e.label==="\\utilde"?.12:0,a=O.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},t);return O.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=Gt.mathMLnode(e.label),n=new _.MathNode("munder",[Te(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Vn=e=>{var t=new _.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};$({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:i}=e;return{type:"xArrow",mode:n.mode,label:i,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),i=O.wrapFragment(be(e.body,n,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var l;e.below&&(n=t.havingStyle(r.sub()),l=O.wrapFragment(be(e.below,n,t),t),l.classes.push(a+"-arrow-pad"));var o=Gt.svgSpan(e,t),s=-t.fontMetrics().axisHeight+.5*o.height,u=-t.fontMetrics().axisHeight-.5*o.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(u-=i.depth);var f;if(l){var h=-t.fontMetrics().axisHeight+l.height+.5*o.height+.111;f=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:o,shift:s},{type:"elem",elem:l,shift:h}]},t)}else f=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:o,shift:s}]},t);return f.children[0].children[0].children[1].classes.push("svg-align"),O.makeSpan(["mrel","x-arrow"],[f],t)},mathmlBuilder(e,t){var r=Gt.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var i=Vn(Te(e.body,t));if(e.below){var a=Vn(Te(e.below,t));n=new _.MathNode("munderover",[r,a,i])}else n=new _.MathNode("mover",[r,i])}else if(e.below){var l=Vn(Te(e.below,t));n=new _.MathNode("munder",[r,l])}else n=Vn(),n=new _.MathNode("mover",[r,n]);return n}});var kp=O.makeSpan;function Lo(e,t){var r=Ue(e.body,t,!0);return kp([e.mclass],r,t)}function Bo(e,t){var r,n=st(e.body,t);return e.mclass==="minner"?r=new _.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new _.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new _.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}$({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Be(i),isCharacterBox:te.isCharacterBox(i)}},htmlBuilder:Lo,mathmlBuilder:Bo});var Gn=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};$({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:Gn(t[0]),body:Be(t[1]),isCharacterBox:te.isCharacterBox(t[1])}}}),$({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,i=t[1],a=t[0],l;n!=="\\stackrel"?l=Gn(i):l="mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Be(i)},s={type:"supsub",mode:a.mode,base:o,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:l,body:[s],isCharacterBox:te.isCharacterBox(s)}},htmlBuilder:Lo,mathmlBuilder:Bo}),$({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:Gn(t[0]),body:Be(t[0])}},htmlBuilder(e,t){var r=Ue(e.body,t,!0),n=O.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=st(e.body,t),n=new _.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var Sp={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Fo=()=>({type:"styling",body:[],mode:"math",style:"display"}),Po=e=>e.type==="textord"&&e.text==="@",Tp=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Ap(e,t,r){var n=Sp[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:n,mode:"math",family:"rel"},l=r.callFunction("\\Big",[a],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),s={type:"ordgroup",mode:"math",body:[i,l,o]};return r.callFunction("\\\\cdparent",[s],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var u={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[u],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Ep(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new q("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],i=[n],a=0;a<t.length;a++){for(var l=t[a],o=Fo(),s=0;s<l.length;s++)if(!Po(l[s]))o.body.push(l[s]);else{n.push(o),s+=1;var u=v0(l[s]).text,f=new Array(2);if(f[0]={type:"ordgroup",mode:"math",body:[]},f[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(u)>-1))if("<>AV".indexOf(u)>-1)for(var h=0;h<2;h++){for(var d=!0,p=s+1;p<l.length;p++){if(Tp(l[p],u)){d=!1,s=p;break}if(Po(l[p]))throw new q("Missing a "+u+" character to complete a CD arrow.",l[p]);f[h].body.push(l[p])}if(d)throw new q("Missing a "+u+" character to complete a CD arrow.",l[s])}else throw new q('Expected one of "<>AV=|." after @',l[s]);var v=Ap(u,f,e),b={type:"styling",body:[v],mode:"math",style:"display"};n.push(b),o=Fo()}a%2===0?n.push(o):n.shift(),n=[],i.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var C=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:C,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}$({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=O.wrapFragment(be(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=W(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new _.MathNode("mrow",[Te(e.label,t)]);return r=new _.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new _.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),$({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=O.wrapFragment(be(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new _.MathNode("mrow",[Te(e.fragment,t)])}}),$({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=ce(t[0],"ordgroup"),i=n.body,a="",l=0;l<i.length;l++){var o=ce(i[l],"textord");a+=o.text}var s=parseInt(a),u;if(isNaN(s))throw new q("\\@char has non-numeric argument "+a);if(s<0||s>=1114111)throw new q("\\@char with invalid code point "+a);return s<=65535?u=String.fromCharCode(s):(s-=65536,u=String.fromCharCode((s>>10)+55296,(s&1023)+56320)),{type:"textord",mode:r.mode,text:u}}});var _o=(e,t)=>{var r=Ue(e.body,t.withColor(e.color),!1);return O.makeFragment(r)},Ho=(e,t)=>{var r=st(e.body,t.withColor(e.color)),n=new _.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};$({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=ce(t[0],"color-token").color,i=t[1];return{type:"color",mode:r.mode,color:n,body:Be(i)}},htmlBuilder:_o,mathmlBuilder:Ho}),$({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,i=ce(t[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:_o,mathmlBuilder:Ho}),$({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&ce(i,"size").value}},htmlBuilder(e,t){var r=O.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=W(Oe(e.size,t)))),r},mathmlBuilder(e,t){var r=new _.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",W(Oe(e.size,t)))),r}});var b0={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},jo=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new q("Expected a control sequence",e);return t},Cp=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},qo=(e,t,r,n)=>{var i=e.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,i,n)};$({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(b0[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=b0[n.text]),ce(t.parseFunction(),"internal");throw new q("Invalid token after macro prefix",n)}}),$({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new q("Expected a control sequence",n);for(var a=0,l,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){l=t.gullet.future(),o[a].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new q('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new q('Argument number "'+n.text+'" out of order');a++,o.push([])}else{if(n.text==="EOF")throw new q("Expected a macro definition");o[a].push(n.text)}var{tokens:s}=t.gullet.consumeArg();return l&&s.unshift(l),(r==="\\edef"||r==="\\xdef")&&(s=t.gullet.expandTokens(s),s.reverse()),t.gullet.macros.set(i,{tokens:s,numArgs:a,delimiters:o},r===b0[r]),{type:"internal",mode:t.mode}}}),$({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=jo(t.gullet.popToken());t.gullet.consumeSpaces();var i=Cp(t);return qo(t,n,i,r==="\\\\globallet"),{type:"internal",mode:t.mode}}}),$({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=jo(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return qo(t,n,a,r==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var ln=function(t,r,n){var i=Ce.math[t]&&Ce.math[t].replace,a=t0(i||t,r,n);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return a},x0=function(t,r,n,i){var a=n.havingBaseStyle(r),l=O.makeSpan(i.concat(a.sizingClasses(n)),[t],n),o=a.sizeMultiplier/n.sizeMultiplier;return l.height*=o,l.depth*=o,l.maxFontSize=a.sizeMultiplier,l},Uo=function(t,r,n){var i=r.havingBaseStyle(n),a=(1-r.sizeMultiplier/i.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=W(a),t.height-=a,t.depth+=a},Mp=function(t,r,n,i,a,l){var o=O.makeSymbol(t,"Main-Regular",a,i),s=x0(o,r,i,l);return n&&Uo(s,i,r),s},zp=function(t,r,n,i){return O.makeSymbol(t,"Size"+r+"-Regular",n,i)},Vo=function(t,r,n,i,a,l){var o=zp(t,r,a,i),s=x0(O.makeSpan(["delimsizing","size"+r],[o],i),ne.TEXT,i,l);return n&&Uo(s,i,ne.TEXT),s},w0=function(t,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=O.makeSpan(["delimsizinginner",i],[O.makeSpan([],[O.makeSymbol(t,r,n)])]);return{type:"elem",elem:a}},k0=function(t,r,n){var i=Nt["Size4-Regular"][t.charCodeAt(0)]?Nt["Size4-Regular"][t.charCodeAt(0)][4]:Nt["Size1-Regular"][t.charCodeAt(0)][4],a=new tr("inner",D4(t,Math.round(1e3*r))),l=new jt([a],{width:W(i),height:W(r),style:"width:"+W(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=O.makeSvgSpan([],[l],n);return o.height=r,o.style.height=W(r),o.style.width=W(i),{type:"elem",elem:o}},S0=.008,Wn={type:"kern",size:-1*S0},Ip=["|","\\lvert","\\rvert","\\vert"],Np=["\\|","\\lVert","\\rVert","\\Vert"],Go=function(t,r,n,i,a,l){var o,s,u,f,h="",d=0;o=u=f=t,s=null;var p="Size1-Regular";t==="\\uparrow"?u=f="⏐":t==="\\Uparrow"?u=f="‖":t==="\\downarrow"?o=u="⏐":t==="\\Downarrow"?o=u="‖":t==="\\updownarrow"?(o="\\uparrow",u="⏐",f="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",u="‖",f="\\Downarrow"):te.contains(Ip,t)?(u="∣",h="vert",d=333):te.contains(Np,t)?(u="∥",h="doublevert",d=556):t==="["||t==="\\lbrack"?(o="⎡",u="⎢",f="⎣",p="Size4-Regular",h="lbrack",d=667):t==="]"||t==="\\rbrack"?(o="⎤",u="⎥",f="⎦",p="Size4-Regular",h="rbrack",d=667):t==="\\lfloor"||t==="⌊"?(u=o="⎢",f="⎣",p="Size4-Regular",h="lfloor",d=667):t==="\\lceil"||t==="⌈"?(o="⎡",u=f="⎢",p="Size4-Regular",h="lceil",d=667):t==="\\rfloor"||t==="⌋"?(u=o="⎥",f="⎦",p="Size4-Regular",h="rfloor",d=667):t==="\\rceil"||t==="⌉"?(o="⎤",u=f="⎥",p="Size4-Regular",h="rceil",d=667):t==="("||t==="\\lparen"?(o="⎛",u="⎜",f="⎝",p="Size4-Regular",h="lparen",d=875):t===")"||t==="\\rparen"?(o="⎞",u="⎟",f="⎠",p="Size4-Regular",h="rparen",d=875):t==="\\{"||t==="\\lbrace"?(o="⎧",s="⎨",f="⎩",u="⎪",p="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",s="⎬",f="⎭",u="⎪",p="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",f="⎩",u="⎪",p="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",f="⎭",u="⎪",p="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",f="⎭",u="⎪",p="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",f="⎩",u="⎪",p="Size4-Regular");var v=ln(o,p,a),b=v.height+v.depth,C=ln(u,p,a),w=C.height+C.depth,A=ln(f,p,a),z=A.height+A.depth,D=0,L=1;if(s!==null){var I=ln(s,p,a);D=I.height+I.depth,L=2}var P=b+z+D,X=Math.max(0,Math.ceil((r-P)/(L*w))),H=P+X*L*w,N=i.fontMetrics().axisHeight;n&&(N*=i.sizeMultiplier);var V=H/2-N,G=[];if(h.length>0){var le=H-b-z,re=Math.round(H*1e3),Q=L4(h,Math.round(le*1e3)),he=new tr(h,Q),de=(d/1e3).toFixed(3)+"em",Ie=(re/1e3).toFixed(3)+"em",Ve=new jt([he],{width:de,height:Ie,viewBox:"0 0 "+d+" "+re}),S=O.makeSvgSpan([],[Ve],i);S.height=re/1e3,S.style.width=de,S.style.height=Ie,G.push({type:"elem",elem:S})}else{if(G.push(w0(f,p,a)),G.push(Wn),s===null){var Me=H-b-z+2*S0;G.push(k0(u,Me,i))}else{var ke=(H-b-z-D)/2+2*S0;G.push(k0(u,ke,i)),G.push(Wn),G.push(w0(s,p,a)),G.push(Wn),G.push(k0(u,ke,i))}G.push(Wn),G.push(w0(o,p,a))}var E=i.havingBaseStyle(ne.TEXT),He=O.makeVList({positionType:"bottom",positionData:V,children:G},E);return x0(O.makeSpan(["delimsizing","mult"],[He],E),ne.TEXT,i,l)},T0=80,A0=.08,E0=function(t,r,n,i,a){var l=R4(t,i,n),o=new tr(t,l),s=new jt([o],{width:"400em",height:W(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return O.makeSvgSpan(["hide-tail"],[s],a)},Op=function(t,r){var n=r.havingBaseSizing(),i=$o("\\surd",t*n.sizeMultiplier,Xo,n),a=n.sizeMultiplier,l=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,s=0,u=0,f=0,h;return i.type==="small"?(f=1e3+1e3*l+T0,t<1?a=1:t<1.4&&(a=.7),s=(1+l+A0)/a,u=(1+l)/a,o=E0("sqrtMain",s,f,l,r),o.style.minWidth="0.853em",h=.833/a):i.type==="large"?(f=(1e3+T0)*on[i.size],u=(on[i.size]+l)/a,s=(on[i.size]+l+A0)/a,o=E0("sqrtSize"+i.size,s,f,l,r),o.style.minWidth="1.02em",h=1/a):(s=t+l+A0,u=t+l,f=Math.floor(1e3*t+l)+T0,o=E0("sqrtTall",s,f,l,r),o.style.minWidth="0.742em",h=1.056),o.height=u,o.style.height=W(s),{span:o,advanceWidth:h,ruleWidth:(r.fontMetrics().sqrtRuleThickness+l)*a}},Wo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Rp=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Yo=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],on=[0,1.2,1.8,2.4,3],Dp=function(t,r,n,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),te.contains(Wo,t)||te.contains(Yo,t))return Vo(t,r,!1,n,i,a);if(te.contains(Rp,t))return Go(t,on[r],!1,n,i,a);throw new q("Illegal delimiter: '"+t+"'")},Lp=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Bp=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"stack"}],Xo=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Fp=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},$o=function(t,r,n,i){for(var a=Math.min(2,3-i.style.size),l=a;l<n.length&&n[l].type!=="stack";l++){var o=ln(t,Fp(n[l]),"math"),s=o.height+o.depth;if(n[l].type==="small"){var u=i.havingBaseStyle(n[l].style);s*=u.sizeMultiplier}if(s>r)return n[l]}return n[n.length-1]},Ko=function(t,r,n,i,a,l){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;te.contains(Yo,t)?o=Lp:te.contains(Wo,t)?o=Xo:o=Bp;var s=$o(t,r,o,i);return s.type==="small"?Mp(t,s.style,n,i,a,l):s.type==="large"?Vo(t,s.size,n,i,a,l):Go(t,r,n,i,a,l)},Pp=function(t,r,n,i,a,l){var o=i.fontMetrics().axisHeight*i.sizeMultiplier,s=901,u=5/i.fontMetrics().ptPerEm,f=Math.max(r-o,n+o),h=Math.max(f/500*s,2*f-u);return Ko(t,h,!0,i,a,l)},Wt={sqrtImage:Op,sizedDelim:Dp,sizeToMaxHeight:on,customSizedDelim:Ko,leftRightDelim:Pp},Qo={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},_p=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Yn(e,t){var r=Un(e);if(r&&te.contains(_p,r.text))return r;throw r?new q("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new q("Invalid delimiter type '"+e.type+"'",e)}$({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=Yn(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Qo[e.funcName].size,mclass:Qo[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?O.makeSpan([e.mclass]):Wt.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(wt(e.delim,e.mode));var r=new _.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=W(Wt.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function Zo(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}$({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new q("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Yn(t[0],e).text,color:r}}}),$({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Yn(t[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=ce(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Zo(e);for(var r=Ue(e.body,t,!0,["mopen","mclose"]),n=0,i=0,a=!1,l=0;l<r.length;l++)r[l].isMiddle?a=!0:(n=Math.max(r[l].height,n),i=Math.max(r[l].depth,i));n*=t.sizeMultiplier,i*=t.sizeMultiplier;var o;if(e.left==="."?o=an(t,["mopen"]):o=Wt.leftRightDelim(e.left,n,i,t,e.mode,["mopen"]),r.unshift(o),a)for(var s=1;s<r.length;s++){var u=r[s],f=u.isMiddle;f&&(r[s]=Wt.leftRightDelim(f.delim,n,i,f.options,e.mode,[]))}var h;if(e.right===".")h=an(t,["mclose"]);else{var d=e.rightColor?t.withColor(e.rightColor):t;h=Wt.leftRightDelim(e.right,n,i,d,e.mode,["mclose"])}return r.push(h),O.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{Zo(e);var r=st(e.body,t);if(e.left!=="."){var n=new _.MathNode("mo",[wt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var i=new _.MathNode("mo",[wt(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return p0(r)}}),$({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Yn(t[0],e);if(!e.parser.leftrightDepth)throw new q("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=an(t,[]);else{r=Wt.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?wt("|","text"):wt(e.delim,e.mode),n=new _.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var C0=(e,t)=>{var r=O.wrapFragment(be(e.body,t),t),n=e.label.slice(1),i=t.sizeMultiplier,a,l=0,o=te.isCharacterBox(e.body);if(n==="sout")a=O.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,l=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var s=Oe({number:.6,unit:"pt"},t),u=Oe({number:.35,unit:"ex"},t),f=t.havingBaseSizing();i=i/f.sizeMultiplier;var h=r.height+r.depth+s+u;r.style.paddingLeft=W(h/2+s);var d=Math.floor(1e3*h*i),p=N4(d),v=new jt([new tr("phase",p)],{width:"400em",height:W(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});a=O.makeSvgSpan(["hide-tail"],[v],t),a.style.height=W(h),l=r.depth+s+u}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var b=0,C=0,w=0;/box/.test(n)?(w=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),b=t.fontMetrics().fboxsep+(n==="colorbox"?0:w),C=b):n==="angl"?(w=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),b=4*w,C=Math.max(0,.25-r.depth)):(b=o?.2:0,C=b),a=Gt.encloseSpan(r,n,b,C,t),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=W(w)):n==="angl"&&w!==.049&&(a.style.borderTopWidth=W(w),a.style.borderRightWidth=W(w)),l=r.depth+C,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var A;if(e.backgroundColor)A=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:r,shift:0}]},t);else{var z=/cancel|phase/.test(n)?["svg-align"]:[];A=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:l,wrapperClasses:z}]},t)}return/cancel/.test(n)&&(A.height=r.height,A.depth=r.depth),/cancel/.test(n)&&!o?O.makeSpan(["mord","cancel-lap"],[A],t):O.makeSpan(["mord"],[A],t)},M0=(e,t)=>{var r=0,n=new _.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Te(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};$({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=ce(t[0],"color-token").color,l=t[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:l}},htmlBuilder:C0,mathmlBuilder:M0}),$({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=ce(t[0],"color-token").color,l=ce(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:l,borderColor:a,body:o}},htmlBuilder:C0,mathmlBuilder:M0}),$({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),$({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:C0,mathmlBuilder:M0}),$({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var Jo={};function Rt(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:l}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},s=0;s<r.length;++s)Jo[r[s]]=o;a&&(_n[t]=a),l&&(Hn[t]=l)}var es={};function y(e,t){es[e]=t}function ts(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var Xn=e=>{var t=e.parser.settings;if(!t.displayMode)throw new q("{"+e.envName+"} can be used only in display mode.")};function z0(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function ir(e,t,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:l,colSeparationType:o,autoTag:s,singleRow:u,emptySingleRow:f,maxNumCols:h,leqno:d}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var p=e.gullet.expandMacroAsText("\\arraystretch");if(p==null)l=1;else if(l=parseFloat(p),!l||l<0)throw new q("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var v=[],b=[v],C=[],w=[],A=s!=null?[]:void 0;function z(){s&&e.gullet.macros.set("\\@eqnsw","1",!0)}function D(){A&&(e.gullet.macros.get("\\df@tag")?(A.push(e.subparse([new yt("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):A.push(!!s&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(z(),w.push(ts(e));;){var L=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),L={type:"ordgroup",mode:e.mode,body:L},r&&(L={type:"styling",mode:e.mode,style:r,body:[L]}),v.push(L);var I=e.fetch().text;if(I==="&"){if(h&&v.length===h){if(u||o)throw new q("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(I==="\\end"){D(),v.length===1&&L.type==="styling"&&L.body[0].body.length===0&&(b.length>1||!f)&&b.pop(),w.length<b.length+1&&w.push([]);break}else if(I==="\\\\"){e.consume();var P=void 0;e.gullet.future().text!==" "&&(P=e.parseSizeGroup(!0)),C.push(P?P.value:null),D(),w.push(ts(e)),v=[],b.push(v),z()}else throw new q("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:l,body:b,cols:a,rowGaps:C,hskipBeforeAndAfter:n,hLinesBeforeRow:w,colSeparationType:o,tags:A,leqno:d}}function I0(e){return e.slice(0,1)==="d"?"display":"text"}var Dt=function(t,r){var n,i,a=t.body.length,l=t.hLinesBeforeRow,o=0,s=new Array(a),u=[],f=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),h=1/r.fontMetrics().ptPerEm,d=5*h;if(t.colSeparationType&&t.colSeparationType==="small"){var p=r.havingStyle(ne.SCRIPT).sizeMultiplier;d=.2778*(p/r.sizeMultiplier)}var v=t.colSeparationType==="CD"?Oe({number:3,unit:"ex"},r):12*h,b=3*h,C=t.arraystretch*v,w=.7*C,A=.3*C,z=0;function D($t){for(var Pt=0;Pt<$t.length;++Pt)Pt>0&&(z+=.25),u.push({pos:z,isDashed:$t[Pt]})}for(D(l[0]),n=0;n<t.body.length;++n){var L=t.body[n],I=w,P=A;o<L.length&&(o=L.length);var X=new Array(L.length);for(i=0;i<L.length;++i){var H=be(L[i],r);P<H.depth&&(P=H.depth),I<H.height&&(I=H.height),X[i]=H}var N=t.rowGaps[n],V=0;N&&(V=Oe(N,r),V>0&&(V+=A,P<V&&(P=V),V=0)),t.addJot&&(P+=b),X.height=I,X.depth=P,z+=I,X.pos=z,z+=P+V,s[n]=X,D(l[n+1])}var G=z/2+r.fontMetrics().axisHeight,le=t.cols||[],re=[],Q,he,de=[];if(t.tags&&t.tags.some($t=>$t))for(n=0;n<a;++n){var Ie=s[n],Ve=Ie.pos-G,S=t.tags[n],Me=void 0;S===!0?Me=O.makeSpan(["eqn-num"],[],r):S===!1?Me=O.makeSpan([],[],r):Me=O.makeSpan([],Ue(S,r,!0),r),Me.depth=Ie.depth,Me.height=Ie.height,de.push({type:"elem",elem:Me,shift:Ve})}for(i=0,he=0;i<o||he<le.length;++i,++he){for(var ke=le[he]||{},E=!0;ke.type==="separator";){if(E||(Q=O.makeSpan(["arraycolsep"],[]),Q.style.width=W(r.fontMetrics().doubleRuleSep),re.push(Q)),ke.separator==="|"||ke.separator===":"){var He=ke.separator==="|"?"solid":"dashed",Ge=O.makeSpan(["vertical-separator"],[],r);Ge.style.height=W(z),Ge.style.borderRightWidth=W(f),Ge.style.borderRightStyle=He,Ge.style.margin="0 "+W(-f/2);var Ne=z-G;Ne&&(Ge.style.verticalAlign=W(-Ne)),re.push(Ge)}else throw new q("Invalid separator type: "+ke.separator);he++,ke=le[he]||{},E=!1}if(!(i>=o)){var We=void 0;(i>0||t.hskipBeforeAndAfter)&&(We=te.deflt(ke.pregap,d),We!==0&&(Q=O.makeSpan(["arraycolsep"],[]),Q.style.width=W(We),re.push(Q)));var Le=[];for(n=0;n<a;++n){var Ye=s[n],$e=Ye[i];if($e){var ut=Ye.pos-G;$e.depth=Ye.depth,$e.height=Ye.height,Le.push({type:"elem",elem:$e,shift:ut})}}Le=O.makeVList({positionType:"individualShift",children:Le},r),Le=O.makeSpan(["col-align-"+(ke.align||"c")],[Le]),re.push(Le),(i<o-1||t.hskipBeforeAndAfter)&&(We=te.deflt(ke.postgap,d),We!==0&&(Q=O.makeSpan(["arraycolsep"],[]),Q.style.width=W(We),re.push(Q)))}}if(s=O.makeSpan(["mtable"],re),u.length>0){for(var lr=O.makeLineSpan("hline",r,f),je=O.makeLineSpan("hdashline",r,f),Et=[{type:"elem",elem:s,shift:0}];u.length>0;){var Xt=u.pop(),Ft=Xt.pos-G;Xt.isDashed?Et.push({type:"elem",elem:je,shift:Ft}):Et.push({type:"elem",elem:lr,shift:Ft})}s=O.makeVList({positionType:"individualShift",children:Et},r)}if(de.length===0)return O.makeSpan(["mord"],[s],r);var kt=O.makeVList({positionType:"individualShift",children:de},r);return kt=O.makeSpan(["tag"],[kt],r),O.makeFragment([s,kt])},Hp={c:"center ",l:"left ",r:"right "},Lt=function(t,r){for(var n=[],i=new _.MathNode("mtd",[],["mtr-glue"]),a=new _.MathNode("mtd",[],["mml-eqn-num"]),l=0;l<t.body.length;l++){for(var o=t.body[l],s=[],u=0;u<o.length;u++)s.push(new _.MathNode("mtd",[Te(o[u],r)]));t.tags&&t.tags[l]&&(s.unshift(i),s.push(i),t.leqno?s.unshift(a):s.push(a)),n.push(new _.MathNode("mtr",s))}var f=new _.MathNode("mtable",n),h=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);f.setAttribute("rowspacing",W(h));var d="",p="";if(t.cols&&t.cols.length>0){var v=t.cols,b="",C=!1,w=0,A=v.length;v[0].type==="separator"&&(d+="top ",w=1),v[v.length-1].type==="separator"&&(d+="bottom ",A-=1);for(var z=w;z<A;z++)v[z].type==="align"?(p+=Hp[v[z].align],C&&(b+="none "),C=!0):v[z].type==="separator"&&C&&(b+=v[z].separator==="|"?"solid ":"dashed ",C=!1);f.setAttribute("columnalign",p.trim()),/[sd]/.test(b)&&f.setAttribute("columnlines",b.trim())}if(t.colSeparationType==="align"){for(var D=t.cols||[],L="",I=1;I<D.length;I++)L+=I%2?"0em ":"1em ";f.setAttribute("columnspacing",L.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?f.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?f.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?f.setAttribute("columnspacing","0.5em"):f.setAttribute("columnspacing","1em");var P="",X=t.hLinesBeforeRow;d+=X[0].length>0?"left ":"",d+=X[X.length-1].length>0?"right ":"";for(var H=1;H<X.length-1;H++)P+=X[H].length===0?"none ":X[H][0]?"dashed ":"solid ";return/[sd]/.test(P)&&f.setAttribute("rowlines",P.trim()),d!==""&&(f=new _.MathNode("menclose",[f]),f.setAttribute("notation",d.trim())),t.arraystretch&&t.arraystretch<1&&(f=new _.MathNode("mstyle",[f]),f.setAttribute("scriptlevel","1")),f},rs=function(t,r){t.envName.indexOf("ed")===-1&&Xn(t);var n=[],i=t.envName.indexOf("at")>-1?"alignat":"align",a=t.envName==="split",l=ir(t.parser,{cols:n,addJot:!0,autoTag:a?void 0:z0(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),o,s=0,u={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var f="",h=0;h<r[0].body.length;h++){var d=ce(r[0].body[h],"textord");f+=d.text}o=Number(f),s=o*2}var p=!s;l.body.forEach(function(w){for(var A=1;A<w.length;A+=2){var z=ce(w[A],"styling"),D=ce(z.body[0],"ordgroup");D.body.unshift(u)}if(p)s<w.length&&(s=w.length);else{var L=w.length/2;if(o<L)throw new q("Too many math in a row: "+("expected "+o+", but got "+L),w[0])}});for(var v=0;v<s;++v){var b="r",C=0;v%2===1?b="l":v>0&&p&&(C=1),n[v]={type:"align",align:b,pregap:C,postgap:0}}return l.colSeparationType=p?"align":"alignat",l};Rt({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=Un(t[0]),n=r?[t[0]]:ce(t[0],"ordgroup").body,i=n.map(function(l){var o=v0(l),s=o.text;if("lcr".indexOf(s)!==-1)return{type:"align",align:s};if(s==="|")return{type:"separator",separator:"|"};if(s===":")return{type:"separator",separator:":"};throw new q("Unknown column alignment: "+s,l)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return ir(e.parser,a,I0(e.envName))},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,"lcr".indexOf(r)===-1)throw new q("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=ir(e.parser,n,I0(e.envName)),l=Math.max(0,...a.body.map(o=>o.length));return a.cols=new Array(l).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=ir(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=Un(t[0]),n=r?[t[0]]:ce(t[0],"ordgroup").body,i=n.map(function(l){var o=v0(l),s=o.text;if("lc".indexOf(s)!==-1)return{type:"align",align:s};throw new q("Unknown column alignment: "+s,l)});if(i.length>1)throw new q("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=ir(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new q("{subarray} can contain only one column");return a},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=ir(e.parser,t,I0(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:rs,htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){te.contains(["gather","gather*"],e.envName)&&Xn(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:z0(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return ir(e.parser,t,"display")},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:rs,htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Xn(e);var t={autoTag:z0(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return ir(e.parser,t,"display")},htmlBuilder:Dt,mathmlBuilder:Lt}),Rt({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Xn(e),Ep(e.parser)},htmlBuilder:Dt,mathmlBuilder:Lt}),y("\\nonumber","\\gdef\\@eqnsw{0}"),y("\\notag","\\nonumber"),$({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new q(e.funcName+" valid only within array environment")}});var ns=Jo;$({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];if(i.type!=="ordgroup")throw new q("Invalid environment name",i);for(var a="",l=0;l<i.body.length;++l)a+=ce(i.body[l],"textord").text;if(n==="\\begin"){if(!ns.hasOwnProperty(a))throw new q("No such environment: "+a,i);var o=ns[a],{args:s,optArgs:u}=r.parseArguments("\\begin{"+a+"}",o),f={mode:r.mode,envName:a,parser:r},h=o.handler(f,s,u);r.expect("\\end",!1);var d=r.nextToken,p=ce(r.parseFunction(),"environment");if(p.name!==a)throw new q("Mismatch: \\begin{"+a+"} matched by \\end{"+p.name+"}",d);return h}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var is=(e,t)=>{var r=e.font,n=t.withFont(r);return be(e.body,n)},as=(e,t)=>{var r=e.font,n=t.withFont(r);return Te(e.body,n)},ls={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};$({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=jn(t[0]),a=n;return a in ls&&(a=ls[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:is,mathmlBuilder:as}),$({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],i=te.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:Gn(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}}}),$({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:i}=e,{mode:a}=r,l=r.parseExpression(!0,i),o="math"+n.slice(1);return{type:"font",mode:a,font:o,body:{type:"ordgroup",mode:r.mode,body:l}}},htmlBuilder:is,mathmlBuilder:as});var os=(e,t)=>{var r=t;return e==="display"?r=r.id>=ne.SCRIPT.id?r.text():ne.DISPLAY:e==="text"&&r.size===ne.DISPLAY.size?r=ne.TEXT:e==="script"?r=ne.SCRIPT:e==="scriptscript"&&(r=ne.SCRIPTSCRIPT),r},N0=(e,t)=>{var r=os(e.size,t.style),n=r.fracNum(),i=r.fracDen(),a;a=t.havingStyle(n);var l=be(e.numer,a,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,s=3.5/t.fontMetrics().ptPerEm;l.height=l.height<o?o:l.height,l.depth=l.depth<s?s:l.depth}a=t.havingStyle(i);var u=be(e.denom,a,t),f,h,d;e.hasBarLine?(e.barSize?(h=Oe(e.barSize,t),f=O.makeLineSpan("frac-line",t,h)):f=O.makeLineSpan("frac-line",t),h=f.height,d=f.height):(f=null,h=0,d=t.fontMetrics().defaultRuleThickness);var p,v,b;r.size===ne.DISPLAY.size||e.size==="display"?(p=t.fontMetrics().num1,h>0?v=3*d:v=7*d,b=t.fontMetrics().denom1):(h>0?(p=t.fontMetrics().num2,v=d):(p=t.fontMetrics().num3,v=3*d),b=t.fontMetrics().denom2);var C;if(f){var A=t.fontMetrics().axisHeight;p-l.depth-(A+.5*h)<v&&(p+=v-(p-l.depth-(A+.5*h))),A-.5*h-(u.height-b)<v&&(b+=v-(A-.5*h-(u.height-b)));var z=-(A-.5*h);C=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:b},{type:"elem",elem:f,shift:z},{type:"elem",elem:l,shift:-p}]},t)}else{var w=p-l.depth-(u.height-b);w<v&&(p+=.5*(v-w),b+=.5*(v-w)),C=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:b},{type:"elem",elem:l,shift:-p}]},t)}a=t.havingStyle(r),C.height*=a.sizeMultiplier/t.sizeMultiplier,C.depth*=a.sizeMultiplier/t.sizeMultiplier;var D;r.size===ne.DISPLAY.size?D=t.fontMetrics().delim1:r.size===ne.SCRIPTSCRIPT.size?D=t.havingStyle(ne.SCRIPT).fontMetrics().delim2:D=t.fontMetrics().delim2;var L,I;return e.leftDelim==null?L=an(t,["mopen"]):L=Wt.customSizedDelim(e.leftDelim,D,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?I=O.makeSpan([]):e.rightDelim==null?I=an(t,["mclose"]):I=Wt.customSizedDelim(e.rightDelim,D,!0,t.havingStyle(r),e.mode,["mclose"]),O.makeSpan(["mord"].concat(a.sizingClasses(t)),[L,O.makeSpan(["mfrac"],[C]),I],t)},O0=(e,t)=>{var r=new _.MathNode("mfrac",[Te(e.numer,t),Te(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=Oe(e.barSize,t);r.setAttribute("linethickness",W(n))}var i=os(e.size,t.style);if(i.size!==t.style.size){r=new _.MathNode("mstyle",[r]);var a=i.size===ne.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var l=[];if(e.leftDelim!=null){var o=new _.MathNode("mo",[new _.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),l.push(o)}if(l.push(r),e.rightDelim!=null){var s=new _.MathNode("mo",[new _.TextNode(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),l.push(s)}return p0(l)}return r};$({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1],l,o=null,s=null,u="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":l=!0;break;case"\\\\atopfrac":l=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":l=!1,o="(",s=")";break;case"\\\\bracefrac":l=!1,o="\\{",s="\\}";break;case"\\\\brackfrac":l=!1,o="[",s="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:l,leftDelim:o,rightDelim:s,size:u,barSize:null}},htmlBuilder:N0,mathmlBuilder:O0}),$({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),$({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:i,token:n}}});var ss=["display","text","script","scriptscript"],us=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};$({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],i=t[5],a=jn(t[0]),l=a.type==="atom"&&a.family==="open"?us(a.text):null,o=jn(t[1]),s=o.type==="atom"&&o.family==="close"?us(o.text):null,u=ce(t[2],"size"),f,h=null;u.isBlank?f=!0:(h=u.value,f=h.number>0);var d="auto",p=t[3];if(p.type==="ordgroup"){if(p.body.length>0){var v=ce(p.body[0],"textord");d=ss[Number(v.text)]}}else p=ce(p,"textord"),d=ss[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:f,barSize:h,leftDelim:l,rightDelim:s,size:d}},htmlBuilder:N0,mathmlBuilder:O0}),$({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:i}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:ce(t[0],"size").value,token:i}}}),$({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=g4(ce(t[1],"infix").size),l=t[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:l,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:N0,mathmlBuilder:O0});var cs=(e,t)=>{var r=t.style,n,i;e.type==="supsub"?(n=e.sup?be(e.sup,t.havingStyle(r.sup()),t):be(e.sub,t.havingStyle(r.sub()),t),i=ce(e.base,"horizBrace")):i=ce(e,"horizBrace");var a=be(i.base,t.havingBaseStyle(ne.DISPLAY)),l=Gt.svgSpan(i,t),o;if(i.isOver?(o=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:l}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=O.makeVList({positionType:"bottom",positionData:a.depth+.1+l.height,children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:a}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),n){var s=O.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t);i.isOver?o=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:n}]},t):o=O.makeVList({positionType:"bottom",positionData:s.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:s}]},t)}return O.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t)},jp=(e,t)=>{var r=Gt.mathMLnode(e.label);return new _.MathNode(e.isOver?"mover":"munder",[Te(e.base,t),r])};$({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:cs,mathmlBuilder:jp}),$({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],i=ce(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:Be(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Ue(e.body,t,!1);return O.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=nr(e.body,t);return r instanceof gt||(r=new gt("mrow",[r])),r.setAttribute("href",e.href),r}}),$({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=ce(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<n.length;a++){var l=n[a];l==="~"&&(l="\\textasciitilde"),i.push({type:"textord",mode:"text",text:l})}var o={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:Be(o)}}}),$({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:Be(t[0])}},htmlBuilder(e,t){var r=Ue(e.body,t,!1);return O.makeFragment(r)},mathmlBuilder(e,t){return new _.MathNode("mrow",st(e.body,t))}}),$({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:i}=e,a=ce(t[0],"raw").string,l=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,s={};switch(n){case"\\htmlClass":s.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":s.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":s.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var u=a.split(","),f=0;f<u.length;f++){var h=u[f].split("=");if(h.length!==2)throw new q("Error parsing key-value for \\htmlData");s["data-"+h[0].trim()]=h[1].trim()}o={command:"\\htmlData",attributes:s};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:s,body:Be(l)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=Ue(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var i=O.makeSpan(n,r,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>nr(e.body,t)}),$({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Be(t[0]),mathml:Be(t[1])}},htmlBuilder:(e,t)=>{var r=Ue(e.html,t,!1);return O.makeFragment(r)},mathmlBuilder:(e,t)=>nr(e.mathml,t)});var R0=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new q("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!ho(n))throw new q("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};$({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},l={number:0,unit:"em"},o="";if(r[0])for(var s=ce(r[0],"raw").string,u=s.split(","),f=0;f<u.length;f++){var h=u[f].split("=");if(h.length===2){var d=h[1].trim();switch(h[0].trim()){case"alt":o=d;break;case"width":i=R0(d);break;case"height":a=R0(d);break;case"totalheight":l=R0(d);break;default:throw new q("Invalid key: '"+h[0]+"' in \\includegraphics.")}}}var p=ce(t[0],"url").url;return o===""&&(o=p,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:n.mode,alt:o,width:i,height:a,totalheight:l,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=Oe(e.height,t),n=0;e.totalheight.number>0&&(n=Oe(e.totalheight,t)-r);var i=0;e.width.number>0&&(i=Oe(e.width,t));var a={height:W(r+n)};i>0&&(a.width=W(i)),n>0&&(a.verticalAlign=W(-n));var l=new j4(e.src,e.alt,a);return l.height=r,l.depth=n,l},mathmlBuilder:(e,t)=>{var r=new _.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=Oe(e.height,t),i=0;if(e.totalheight.number>0&&(i=Oe(e.totalheight,t)-n,r.setAttribute("valign",W(-i))),r.setAttribute("height",W(n+i)),e.width.number>0){var a=Oe(e.width,t);r.setAttribute("width",W(a))}return r.setAttribute("src",e.src),r}}),$({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=ce(t[0],"size");if(r.settings.strict){var a=n[1]==="m",l=i.value.unit==="mu";a?(l||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):l&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(e,t){return O.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=Oe(e.dimension,t);return new _.SpaceNode(r)}}),$({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=O.makeSpan([],[be(e.body,t)]),r=O.makeSpan(["inner"],[r],t)):r=O.makeSpan(["inner"],[be(e.body,t)]);var n=O.makeSpan(["fix"],[]),i=O.makeSpan([e.alignment],[r,n],t),a=O.makeSpan(["strut"]);return a.style.height=W(i.height+i.depth),i.depth&&(a.style.verticalAlign=W(-i.depth)),i.children.unshift(a),i=O.makeSpan(["thinbox"],[i],t),O.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var r=new _.MathNode("mpadded",[Te(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),$({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,i=n.mode;n.switchMode("math");var a=r==="\\("?"\\)":"$",l=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:l}}}),$({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new q("Mismatched "+e.funcName)}});var hs=(e,t)=>{switch(t.style.size){case ne.DISPLAY.size:return e.display;case ne.TEXT.size:return e.text;case ne.SCRIPT.size:return e.script;case ne.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};$({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Be(t[0]),text:Be(t[1]),script:Be(t[2]),scriptscript:Be(t[3])}},htmlBuilder:(e,t)=>{var r=hs(e,t),n=Ue(r,t,!1);return O.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=hs(e,t);return nr(r,t)}});var fs=(e,t,r,n,i,a,l)=>{e=O.makeSpan([],[e]);var o=r&&te.isCharacterBox(r),s,u;if(t){var f=be(t,n.havingStyle(i.sup()),n);u={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-f.depth)}}if(r){var h=be(r,n.havingStyle(i.sub()),n);s={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-h.height)}}var d;if(u&&s){var p=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+l;d=O.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:W(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:W(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var v=e.height-l;d=O.makeVList({positionType:"top",positionData:v,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:W(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else if(u){var b=e.depth+l;d=O.makeVList({positionType:"bottom",positionData:b,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:W(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var C=[d];if(s&&a!==0&&!o){var w=O.makeSpan(["mspace"],[],n);w.style.marginRight=W(a),C.unshift(w)}return O.makeSpan(["mop","op-limits"],C,n)},ms=["\\smallint"],Dr=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=ce(e.base,"op"),i=!0):a=ce(e,"op");var l=t.style,o=!1;l.size===ne.DISPLAY.size&&a.symbol&&!te.contains(ms,a.name)&&(o=!0);var s;if(a.symbol){var u=o?"Size2-Regular":"Size1-Regular",f="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(f=a.name.slice(1),a.name=f==="oiint"?"\\iint":"\\iiint"),s=O.makeSymbol(a.name,u,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),f.length>0){var h=s.italic,d=O.staticSvg(f+"Size"+(o?"2":"1"),t);s=O.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:d,shift:o?.08:0}]},t),a.name="\\"+f,s.classes.unshift("mop"),s.italic=h}}else if(a.body){var p=Ue(a.body,t,!0);p.length===1&&p[0]instanceof xt?(s=p[0],s.classes[0]="mop"):s=O.makeSpan(["mop"],p,t)}else{for(var v=[],b=1;b<a.name.length;b++)v.push(O.mathsym(a.name[b],a.mode,t));s=O.makeSpan(["mop"],v,t)}var C=0,w=0;return(s instanceof xt||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift&&(C=(s.height-s.depth)/2-t.fontMetrics().axisHeight,w=s.italic),i?fs(s,r,n,t,l,w,C):(C&&(s.style.position="relative",s.style.top=W(C)),s)},sn=(e,t)=>{var r;if(e.symbol)r=new gt("mo",[wt(e.name,e.mode)]),te.contains(ms,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new gt("mo",st(e.body,t));else{r=new gt("mi",[new Ot(e.name.slice(1))]);var n=new gt("mo",[wt("⁡","text")]);e.parentIsSupSub?r=new gt("mrow",[r,n]):r=Io([r,n])}return r},qp={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};$({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=n;return i.length===1&&(i=qp[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Dr,mathmlBuilder:sn}),$({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Be(n)}},htmlBuilder:Dr,mathmlBuilder:sn});var Up={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};$({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Dr,mathmlBuilder:sn}),$({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Dr,mathmlBuilder:sn}),$({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=Up[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Dr,mathmlBuilder:sn});var ps=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=ce(e.base,"operatorname"),i=!0):a=ce(e,"operatorname");var l;if(a.body.length>0){for(var o=a.body.map(h=>{var d=h.text;return typeof d=="string"?{type:"textord",mode:h.mode,text:d}:h}),s=Ue(o,t.withFont("mathrm"),!0),u=0;u<s.length;u++){var f=s[u];f instanceof xt&&(f.text=f.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}l=O.makeSpan(["mop"],s,t)}else l=O.makeSpan(["mop"],[],t);return i?fs(l,r,n,t,t.style,0,0):l},Vp=(e,t)=>{for(var r=st(e.body,t.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(!(a instanceof _.SpaceNode))if(a instanceof _.MathNode)switch(a.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var l=a.children[0];a.children.length===1&&l instanceof _.TextNode?l.text=l.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(f=>f.toText()).join("");r=[new _.TextNode(o)]}var s=new _.MathNode("mi",r);s.setAttribute("mathvariant","normal");var u=new _.MathNode("mo",[wt("⁡","text")]);return e.parentIsSupSub?new _.MathNode("mrow",[s,u]):_.newDocumentFragment([s,u])};$({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"operatorname",mode:r.mode,body:Be(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:ps,mathmlBuilder:Vp}),y("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),gr({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?O.makeFragment(Ue(e.body,t,!1)):O.makeSpan(["mord"],Ue(e.body,t,!0),t)},mathmlBuilder(e,t){return nr(e.body,t,!0)}}),$({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=be(e.body,t.havingCrampedStyle()),n=O.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},t);return O.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var r=new _.MathNode("mo",[new _.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new _.MathNode("mover",[Te(e.body,t),r]);return n.setAttribute("accent","true"),n}}),$({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:Be(n)}},htmlBuilder:(e,t)=>{var r=Ue(e.body,t.withPhantom(),!1);return O.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=st(e.body,t);return new _.MathNode("mphantom",r)}}),$({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=O.makeSpan([],[be(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),O.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=st(Be(e.body),t),n=new _.MathNode("mphantom",r),i=new _.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),$({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=O.makeSpan(["inner"],[be(e.body,t.withPhantom())]),n=O.makeSpan(["fix"],[]);return O.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=st(Be(e.body),t),n=new _.MathNode("mphantom",r),i=new _.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i}}),$({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=ce(t[0],"size").value,i=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(e,t){var r=be(e.body,t),n=Oe(e.dy,t);return O.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new _.MathNode("mpadded",[Te(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),$({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),$({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,i=r[0],a=ce(t[0],"size"),l=ce(t[1],"size");return{type:"rule",mode:n.mode,shift:i&&ce(i,"size").value,width:a.value,height:l.value}},htmlBuilder(e,t){var r=O.makeSpan(["mord","rule"],[],t),n=Oe(e.width,t),i=Oe(e.height,t),a=e.shift?Oe(e.shift,t):0;return r.style.borderRightWidth=W(n),r.style.borderTopWidth=W(i),r.style.bottom=W(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=i*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Oe(e.width,t),n=Oe(e.height,t),i=e.shift?Oe(e.shift,t):0,a=t.color&&t.getColor()||"black",l=new _.MathNode("mspace");l.setAttribute("mathbackground",a),l.setAttribute("width",W(r)),l.setAttribute("height",W(n));var o=new _.MathNode("mpadded",[l]);return i>=0?o.setAttribute("height",W(i)):(o.setAttribute("height",W(i)),o.setAttribute("depth",W(-i))),o.setAttribute("voffset",W(i)),o}});function ds(e,t,r){for(var n=Ue(e,t,!1),i=t.sizeMultiplier/r.sizeMultiplier,a=0;a<n.length;a++){var l=n[a].classes.indexOf("sizing");l<0?Array.prototype.push.apply(n[a].classes,t.sizingClasses(r)):n[a].classes[l+1]==="reset-size"+t.size&&(n[a].classes[l+1]="reset-size"+r.size),n[a].height*=i,n[a].depth*=i}return O.makeFragment(n)}var gs=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Gp=(e,t)=>{var r=t.havingSize(e.size);return ds(e.body,r,t)};$({type:"sizing",names:gs,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:gs.indexOf(n)+1,body:a}},htmlBuilder:Gp,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=st(e.body,r),i=new _.MathNode("mstyle",n);return i.setAttribute("mathsize",W(r.sizeMultiplier)),i}}),$({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,i=!1,a=!1,l=r[0]&&ce(r[0],"ordgroup");if(l)for(var o="",s=0;s<l.body.length;++s){var u=l.body[s];if(o=u.text,o==="t")i=!0;else if(o==="b")a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var f=t[0];return{type:"smash",mode:n.mode,body:f,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var r=O.makeSpan([],[be(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var i=0;i<r.children.length;i++)r.children[i].depth=0;var a=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return O.makeSpan(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new _.MathNode("mpadded",[Te(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),$({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,i=r[0],a=t[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(e,t){var r=be(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=O.wrapFragment(r,t);var n=t.fontMetrics(),i=n.defaultRuleThickness,a=i;t.style.id<ne.TEXT.id&&(a=t.fontMetrics().xHeight);var l=i+a/4,o=r.height+r.depth+l+i,{span:s,ruleWidth:u,advanceWidth:f}=Wt.sqrtImage(o,t),h=s.height-u;h>r.height+r.depth+l&&(l=(l+h-r.height-r.depth)/2);var d=s.height-r.height-l-u;r.style.paddingLeft=W(f);var p=O.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:s},{type:"kern",size:u}]},t);if(e.index){var v=t.havingStyle(ne.SCRIPTSCRIPT),b=be(e.index,v,t),C=.6*(p.height-p.depth),w=O.makeVList({positionType:"shift",positionData:-C,children:[{type:"elem",elem:b}]},t),A=O.makeSpan(["root"],[w]);return O.makeSpan(["mord","sqrt"],[A,p],t)}else return O.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new _.MathNode("mroot",[Te(r,t),Te(n,t)]):new _.MathNode("msqrt",[Te(r,t)])}});var vs={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT};$({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!0,r),l=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:l,body:a}},htmlBuilder(e,t){var r=vs[e.style],n=t.havingStyle(r).withFont("");return ds(e.body,n,t)},mathmlBuilder(e,t){var r=vs[e.style],n=t.havingStyle(r),i=st(e.body,n),a=new _.MathNode("mstyle",i),l={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=l[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var Wp=function(t,r){var n=t.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===ne.DISPLAY.size||n.alwaysHandleSupSub);return i?Dr:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(r.style.size===ne.DISPLAY.size||n.limits);return a?ps:null}else{if(n.type==="accent")return te.isCharacterBox(n.base)?y0:null;if(n.type==="horizBrace"){var l=!t.sub;return l===n.isOver?cs:null}else return null}else return null};gr({type:"supsub",htmlBuilder(e,t){var r=Wp(e,t);if(r)return r(e,t);var{base:n,sup:i,sub:a}=e,l=be(n,t),o,s,u=t.fontMetrics(),f=0,h=0,d=n&&te.isCharacterBox(n);if(i){var p=t.havingStyle(t.style.sup());o=be(i,p,t),d||(f=l.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(a){var v=t.havingStyle(t.style.sub());s=be(a,v,t),d||(h=l.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}var b;t.style===ne.DISPLAY?b=u.sup1:t.style.cramped?b=u.sup3:b=u.sup2;var C=t.sizeMultiplier,w=W(.5/u.ptPerEm/C),A=null;if(s){var z=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(l instanceof xt||z)&&(A=W(-l.italic))}var D;if(o&&s){f=Math.max(f,b,o.depth+.25*u.xHeight),h=Math.max(h,u.sub2);var L=u.defaultRuleThickness,I=4*L;if(f-o.depth-(s.height-h)<I){h=I-(f-o.depth)+s.height;var P=.8*u.xHeight-(f-o.depth);P>0&&(f+=P,h-=P)}var X=[{type:"elem",elem:s,shift:h,marginRight:w,marginLeft:A},{type:"elem",elem:o,shift:-f,marginRight:w}];D=O.makeVList({positionType:"individualShift",children:X},t)}else if(s){h=Math.max(h,u.sub1,s.height-.8*u.xHeight);var H=[{type:"elem",elem:s,marginLeft:A,marginRight:w}];D=O.makeVList({positionType:"shift",positionData:h,children:H},t)}else if(o)f=Math.max(f,b,o.depth+.25*u.xHeight),D=O.makeVList({positionType:"shift",positionData:-f,children:[{type:"elem",elem:o,marginRight:w}]},t);else throw new Error("supsub must have either sup or sub.");var N=f0(l,"right")||"mord";return O.makeSpan([N],[l,O.makeSpan(["msupsub"],[D])],t)},mathmlBuilder(e,t){var r=!1,n,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[Te(e.base,t)];e.sub&&a.push(Te(e.sub,t)),e.sup&&a.push(Te(e.sup,t));var l;if(r)l=n?"mover":"munder";else if(e.sub)if(e.sup){var u=e.base;u&&u.type==="op"&&u.limits&&t.style===ne.DISPLAY||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(t.style===ne.DISPLAY||u.limits)?l="munderover":l="msubsup"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===ne.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===ne.DISPLAY)?l="munder":l="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===ne.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===ne.DISPLAY)?l="mover":l="msup"}return new _.MathNode(l,a)}}),gr({type:"atom",htmlBuilder(e,t){return O.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new _.MathNode("mo",[wt(e.text,e.mode)]);if(e.family==="bin"){var n=d0(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var ys={mi:"italic",mn:"normal",mtext:"normal"};gr({type:"mathord",htmlBuilder(e,t){return O.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new _.MathNode("mi",[wt(e.text,e.mode,t)]),n=d0(e,t)||"italic";return n!==ys[r.type]&&r.setAttribute("mathvariant",n),r}}),gr({type:"textord",htmlBuilder(e,t){return O.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=wt(e.text,e.mode,t),n=d0(e,t)||"normal",i;return e.mode==="text"?i=new _.MathNode("mtext",[r]):/[0-9]/.test(e.text)?i=new _.MathNode("mn",[r]):e.text==="\\prime"?i=new _.MathNode("mo",[r]):i=new _.MathNode("mi",[r]),n!==ys[i.type]&&i.setAttribute("mathvariant",n),i}});var D0={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},L0={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};gr({type:"spacing",htmlBuilder(e,t){if(L0.hasOwnProperty(e.text)){var r=L0[e.text].className||"";if(e.mode==="text"){var n=O.makeOrd(e,t,"textord");return n.classes.push(r),n}else return O.makeSpan(["mspace",r],[O.mathsym(e.text,e.mode,t)],t)}else{if(D0.hasOwnProperty(e.text))return O.makeSpan(["mspace",D0[e.text]],[],t);throw new q('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(L0.hasOwnProperty(e.text))r=new _.MathNode("mtext",[new _.TextNode(" ")]);else{if(D0.hasOwnProperty(e.text))return new _.MathNode("mspace");throw new q('Unknown type of space "'+e.text+'"')}return r}});var bs=()=>{var e=new _.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};gr({type:"tag",mathmlBuilder(e,t){var r=new _.MathNode("mtable",[new _.MathNode("mtr",[bs(),new _.MathNode("mtd",[nr(e.body,t)]),bs(),new _.MathNode("mtd",[nr(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var xs={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ws={"\\textbf":"textbf","\\textmd":"textmd"},Yp={"\\textit":"textit","\\textup":"textup"},ks=(e,t)=>{var r=e.font;if(r){if(xs[r])return t.withTextFontFamily(xs[r]);if(ws[r])return t.withTextFontWeight(ws[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(Yp[r])};$({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"text",mode:r.mode,body:Be(i),font:n}},htmlBuilder(e,t){var r=ks(e,t),n=Ue(e.body,r,!0);return O.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=ks(e,t);return nr(e.body,r)}}),$({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=be(e.body,t),n=O.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=O.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},t);return O.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var r=new _.MathNode("mo",[new _.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new _.MathNode("munder",[Te(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),$({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=be(e.body,t),n=t.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return O.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new _.MathNode("mpadded",[Te(e.body,t)],["vcenter"])}}),$({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new q("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Ss(e),n=[],i=t.havingStyle(t.style.text()),a=0;a<r.length;a++){var l=r[a];l==="~"&&(l="\\textasciitilde"),n.push(O.makeSymbol(l,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return O.makeSpan(["mord","text"].concat(i.sizingClasses(t)),O.tryCombineChars(n),i)},mathmlBuilder(e,t){var r=new _.TextNode(Ss(e)),n=new _.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Ss=e=>e.body.replace(/ /g,e.star?"␣":" "),ar=Co,Ts=`[ \r
679
677
  ]`,Xp="\\\\[a-zA-Z@]+",$p="\\\\[^\uD800-\uDFFF]",Kp="("+Xp+")"+Ts+"*",Qp=`\\\\(
680
678
  |[ \r ]+
681
679
  ?)[ \r ]*`,B0="[̀-ͯ]",Zp=new RegExp(B0+"+$"),Jp="("+Ts+"+)|"+(Qp+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(B0+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(B0+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Kp)+("|"+$p+")");class As{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(Jp,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new yt("EOF",new pt(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new q("Unexpected character: '"+t[r]+"'",new yt(t[r],new pt(this,r,r+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=t.indexOf(`
682
- `,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new yt(i,new pt(this,r,this.tokenRegex.lastIndex))}}class ed{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new q("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var td=es;y("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),y("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),y("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}}),y("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}}),y("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),y("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),y("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Es={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};y("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new q("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=Es[t.text],n==null||n>=r)throw new q("Invalid base-"+r+" digit "+t.text);for(var i;(i=Es[e.future().text])!=null&&i<r;)n*=r,n+=i,e.popToken()}return"\\@char{"+n+"}"});var F0=(e,t,r,n)=>{var i=e.consumeArg().tokens;if(i.length!==1)throw new q("\\newcommand's first argument must be a macro name");var a=i[0].text,l=e.isDefined(a);if(l&&!t)throw new q("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!l&&!r)throw new q("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var o=0;if(i=e.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var s="",u=e.expandNextToken();u.text!=="]"&&u.text!=="EOF";)s+=u.text,u=e.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new q("Invalid number of arguments: "+s);o=parseInt(s),i=e.consumeArg().tokens}return l&&n||e.macros.set(a,{tokens:i,numArgs:o}),""};y("\\newcommand",e=>F0(e,!1,!0,!1)),y("\\renewcommand",e=>F0(e,!0,!1,!1)),y("\\providecommand",e=>F0(e,!0,!0,!0)),y("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""}),y("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""}),y("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),ar[r],Me.math[r],Me.text[r]),""}),y("\\bgroup","{"),y("\\egroup","}"),y("~","\\nobreakspace"),y("\\lq","`"),y("\\rq","'"),y("\\aa","\\r a"),y("\\AA","\\r A"),y("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),y("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),y("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),y("ℬ","\\mathscr{B}"),y("ℰ","\\mathscr{E}"),y("ℱ","\\mathscr{F}"),y("ℋ","\\mathscr{H}"),y("ℐ","\\mathscr{I}"),y("ℒ","\\mathscr{L}"),y("ℳ","\\mathscr{M}"),y("ℛ","\\mathscr{R}"),y("ℭ","\\mathfrak{C}"),y("ℌ","\\mathfrak{H}"),y("ℨ","\\mathfrak{Z}"),y("\\Bbbk","\\Bbb{k}"),y("·","\\cdotp"),y("\\llap","\\mathllap{\\textrm{#1}}"),y("\\rlap","\\mathrlap{\\textrm{#1}}"),y("\\clap","\\mathclap{\\textrm{#1}}"),y("\\mathstrut","\\vphantom{(}"),y("\\underbar","\\underline{\\text{#1}}"),y("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),y("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),y("\\ne","\\neq"),y("≠","\\neq"),y("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),y("∉","\\notin"),y("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),y("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),y("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),y("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),y("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),y("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),y("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),y("⟂","\\perp"),y("‼","\\mathclose{!\\mkern-0.8mu!}"),y("∌","\\notni"),y("⌜","\\ulcorner"),y("⌝","\\urcorner"),y("⌞","\\llcorner"),y("⌟","\\lrcorner"),y("©","\\copyright"),y("®","\\textregistered"),y("️","\\textregistered"),y("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),y("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),y("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),y("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),y("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),y("⋮","\\vdots"),y("\\varGamma","\\mathit{\\Gamma}"),y("\\varDelta","\\mathit{\\Delta}"),y("\\varTheta","\\mathit{\\Theta}"),y("\\varLambda","\\mathit{\\Lambda}"),y("\\varXi","\\mathit{\\Xi}"),y("\\varPi","\\mathit{\\Pi}"),y("\\varSigma","\\mathit{\\Sigma}"),y("\\varUpsilon","\\mathit{\\Upsilon}"),y("\\varPhi","\\mathit{\\Phi}"),y("\\varPsi","\\mathit{\\Psi}"),y("\\varOmega","\\mathit{\\Omega}"),y("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),y("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),y("\\boxed","\\fbox{$\\displaystyle{#1}$}"),y("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),y("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),y("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),y("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),y("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Cs={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};y("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Cs?t=Cs[r]:(r.slice(0,4)==="\\not"||r in Me.math&&te.contains(["bin","rel"],Me.math[r].group))&&(t="\\dotsb"),t});var P0={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};y("\\dotso",function(e){var t=e.future().text;return t in P0?"\\ldots\\,":"\\ldots"}),y("\\dotsc",function(e){var t=e.future().text;return t in P0&&t!==","?"\\ldots\\,":"\\ldots"}),y("\\cdots",function(e){var t=e.future().text;return t in P0?"\\@cdots\\,":"\\@cdots"}),y("\\dotsb","\\cdots"),y("\\dotsm","\\cdots"),y("\\dotsi","\\!\\cdots"),y("\\dotsx","\\ldots\\,"),y("\\DOTSI","\\relax"),y("\\DOTSB","\\relax"),y("\\DOTSX","\\relax"),y("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),y("\\,","\\tmspace+{3mu}{.1667em}"),y("\\thinspace","\\,"),y("\\>","\\mskip{4mu}"),y("\\:","\\tmspace+{4mu}{.2222em}"),y("\\medspace","\\:"),y("\\;","\\tmspace+{5mu}{.2777em}"),y("\\thickspace","\\;"),y("\\!","\\tmspace-{3mu}{.1667em}"),y("\\negthinspace","\\!"),y("\\negmedspace","\\tmspace-{4mu}{.2222em}"),y("\\negthickspace","\\tmspace-{5mu}{.277em}"),y("\\enspace","\\kern.5em "),y("\\enskip","\\hskip.5em\\relax"),y("\\quad","\\hskip1em\\relax"),y("\\qquad","\\hskip2em\\relax"),y("\\tag","\\@ifstar\\tag@literal\\tag@paren"),y("\\tag@paren","\\tag@literal{({#1})}"),y("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new q("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),y("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),y("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),y("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),y("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),y("\\newline","\\\\\\relax"),y("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ms=W(Nt["Main-Regular"][84][1]-.7*Nt["Main-Regular"][65][1]);y("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ms+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),y("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ms+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),y("\\hspace","\\@ifstar\\@hspacer\\@hspace"),y("\\@hspace","\\hskip #1\\relax"),y("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),y("\\ordinarycolon",":"),y("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),y("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),y("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),y("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),y("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),y("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),y("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),y("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),y("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),y("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),y("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),y("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),y("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),y("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),y("∷","\\dblcolon"),y("∹","\\eqcolon"),y("≔","\\coloneqq"),y("≕","\\eqqcolon"),y("⩴","\\Coloneqq"),y("\\ratio","\\vcentcolon"),y("\\coloncolon","\\dblcolon"),y("\\colonequals","\\coloneqq"),y("\\coloncolonequals","\\Coloneqq"),y("\\equalscolon","\\eqqcolon"),y("\\equalscoloncolon","\\Eqqcolon"),y("\\colonminus","\\coloneq"),y("\\coloncolonminus","\\Coloneq"),y("\\minuscolon","\\eqcolon"),y("\\minuscoloncolon","\\Eqcolon"),y("\\coloncolonapprox","\\Colonapprox"),y("\\coloncolonsim","\\Colonsim"),y("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),y("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),y("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),y("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),y("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),y("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),y("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),y("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),y("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),y("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),y("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),y("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),y("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),y("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),y("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),y("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),y("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),y("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),y("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),y("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),y("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),y("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),y("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),y("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),y("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),y("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),y("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),y("\\imath","\\html@mathml{\\@imath}{ı}"),y("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),y("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),y("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),y("⟦","\\llbracket"),y("⟧","\\rrbracket"),y("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),y("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),y("⦃","\\lBrace"),y("⦄","\\rBrace"),y("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),y("⦵","\\minuso"),y("\\darr","\\downarrow"),y("\\dArr","\\Downarrow"),y("\\Darr","\\Downarrow"),y("\\lang","\\langle"),y("\\rang","\\rangle"),y("\\uarr","\\uparrow"),y("\\uArr","\\Uparrow"),y("\\Uarr","\\Uparrow"),y("\\N","\\mathbb{N}"),y("\\R","\\mathbb{R}"),y("\\Z","\\mathbb{Z}"),y("\\alef","\\aleph"),y("\\alefsym","\\aleph"),y("\\Alpha","\\mathrm{A}"),y("\\Beta","\\mathrm{B}"),y("\\bull","\\bullet"),y("\\Chi","\\mathrm{X}"),y("\\clubs","\\clubsuit"),y("\\cnums","\\mathbb{C}"),y("\\Complex","\\mathbb{C}"),y("\\Dagger","\\ddagger"),y("\\diamonds","\\diamondsuit"),y("\\empty","\\emptyset"),y("\\Epsilon","\\mathrm{E}"),y("\\Eta","\\mathrm{H}"),y("\\exist","\\exists"),y("\\harr","\\leftrightarrow"),y("\\hArr","\\Leftrightarrow"),y("\\Harr","\\Leftrightarrow"),y("\\hearts","\\heartsuit"),y("\\image","\\Im"),y("\\infin","\\infty"),y("\\Iota","\\mathrm{I}"),y("\\isin","\\in"),y("\\Kappa","\\mathrm{K}"),y("\\larr","\\leftarrow"),y("\\lArr","\\Leftarrow"),y("\\Larr","\\Leftarrow"),y("\\lrarr","\\leftrightarrow"),y("\\lrArr","\\Leftrightarrow"),y("\\Lrarr","\\Leftrightarrow"),y("\\Mu","\\mathrm{M}"),y("\\natnums","\\mathbb{N}"),y("\\Nu","\\mathrm{N}"),y("\\Omicron","\\mathrm{O}"),y("\\plusmn","\\pm"),y("\\rarr","\\rightarrow"),y("\\rArr","\\Rightarrow"),y("\\Rarr","\\Rightarrow"),y("\\real","\\Re"),y("\\reals","\\mathbb{R}"),y("\\Reals","\\mathbb{R}"),y("\\Rho","\\mathrm{P}"),y("\\sdot","\\cdot"),y("\\sect","\\S"),y("\\spades","\\spadesuit"),y("\\sub","\\subset"),y("\\sube","\\subseteq"),y("\\supe","\\supseteq"),y("\\Tau","\\mathrm{T}"),y("\\thetasym","\\vartheta"),y("\\weierp","\\wp"),y("\\Zeta","\\mathrm{Z}"),y("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),y("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),y("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),y("\\bra","\\mathinner{\\langle{#1}|}"),y("\\ket","\\mathinner{|{#1}\\rangle}"),y("\\braket","\\mathinner{\\langle{#1}\\rangle}"),y("\\Bra","\\left\\langle#1\\right|"),y("\\Ket","\\left|#1\\right\\rangle");var zs=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,l=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var s=h=>d=>{e&&(d.macros.set("|",l),i.length&&d.macros.set("\\|",o));var p=h;if(!h&&i.length){var v=d.future();v.text==="|"&&(d.popToken(),p=!0)}return{tokens:p?i:n,numArgs:0}};t.macros.set("|",s(!1)),i.length&&t.macros.set("\\|",s(!0));var u=t.consumeArg().tokens,f=t.expandTokens([...a,...u,...r]);return t.macros.endGroup(),{tokens:f.reverse(),numArgs:0}};y("\\bra@ket",zs(!1)),y("\\bra@set",zs(!0)),y("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),y("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),y("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),y("\\angln","{\\angl n}"),y("\\blue","\\textcolor{##6495ed}{#1}"),y("\\orange","\\textcolor{##ffa500}{#1}"),y("\\pink","\\textcolor{##ff00af}{#1}"),y("\\red","\\textcolor{##df0030}{#1}"),y("\\green","\\textcolor{##28ae7b}{#1}"),y("\\gray","\\textcolor{gray}{#1}"),y("\\purple","\\textcolor{##9d38bd}{#1}"),y("\\blueA","\\textcolor{##ccfaff}{#1}"),y("\\blueB","\\textcolor{##80f6ff}{#1}"),y("\\blueC","\\textcolor{##63d9ea}{#1}"),y("\\blueD","\\textcolor{##11accd}{#1}"),y("\\blueE","\\textcolor{##0c7f99}{#1}"),y("\\tealA","\\textcolor{##94fff5}{#1}"),y("\\tealB","\\textcolor{##26edd5}{#1}"),y("\\tealC","\\textcolor{##01d1c1}{#1}"),y("\\tealD","\\textcolor{##01a995}{#1}"),y("\\tealE","\\textcolor{##208170}{#1}"),y("\\greenA","\\textcolor{##b6ffb0}{#1}"),y("\\greenB","\\textcolor{##8af281}{#1}"),y("\\greenC","\\textcolor{##74cf70}{#1}"),y("\\greenD","\\textcolor{##1fab54}{#1}"),y("\\greenE","\\textcolor{##0d923f}{#1}"),y("\\goldA","\\textcolor{##ffd0a9}{#1}"),y("\\goldB","\\textcolor{##ffbb71}{#1}"),y("\\goldC","\\textcolor{##ff9c39}{#1}"),y("\\goldD","\\textcolor{##e07d10}{#1}"),y("\\goldE","\\textcolor{##a75a05}{#1}"),y("\\redA","\\textcolor{##fca9a9}{#1}"),y("\\redB","\\textcolor{##ff8482}{#1}"),y("\\redC","\\textcolor{##f9685d}{#1}"),y("\\redD","\\textcolor{##e84d39}{#1}"),y("\\redE","\\textcolor{##bc2612}{#1}"),y("\\maroonA","\\textcolor{##ffbde0}{#1}"),y("\\maroonB","\\textcolor{##ff92c6}{#1}"),y("\\maroonC","\\textcolor{##ed5fa6}{#1}"),y("\\maroonD","\\textcolor{##ca337c}{#1}"),y("\\maroonE","\\textcolor{##9e034e}{#1}"),y("\\purpleA","\\textcolor{##ddd7ff}{#1}"),y("\\purpleB","\\textcolor{##c6b9fc}{#1}"),y("\\purpleC","\\textcolor{##aa87ff}{#1}"),y("\\purpleD","\\textcolor{##7854ab}{#1}"),y("\\purpleE","\\textcolor{##543b78}{#1}"),y("\\mintA","\\textcolor{##f5f9e8}{#1}"),y("\\mintB","\\textcolor{##edf2df}{#1}"),y("\\mintC","\\textcolor{##e0e5cc}{#1}"),y("\\grayA","\\textcolor{##f6f7f7}{#1}"),y("\\grayB","\\textcolor{##f0f1f2}{#1}"),y("\\grayC","\\textcolor{##e3e5e6}{#1}"),y("\\grayD","\\textcolor{##d6d8da}{#1}"),y("\\grayE","\\textcolor{##babec2}{#1}"),y("\\grayF","\\textcolor{##888d93}{#1}"),y("\\grayG","\\textcolor{##626569}{#1}"),y("\\grayH","\\textcolor{##3b3e40}{#1}"),y("\\grayI","\\textcolor{##21242c}{#1}"),y("\\kaBlue","\\textcolor{##314453}{#1}"),y("\\kaGreen","\\textcolor{##71B307}{#1}");var Is={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class rd{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new ed(td,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new As(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,i;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:r,end:n}=this.consumeArg());return this.pushToken(new yt("EOF",n.loc)),this.pushTokens(i),r.range(n,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var i=this.future(),a,l=0,o=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++l;else if(a.text==="}"){if(--l,l===-1)throw new q("Extra }",a)}else if(a.text==="EOF")throw new q("Unexpected end of input in a macro argument, expected '"+(t&&n?t[o]:"}")+"'",a);if(t&&n)if((l===0||l===1&&t[o]==="{")&&a.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=0}while(l!==0||n);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:a}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new q("The length of delimiters doesn't match the number of args!");for(var n=r[0],i=0;i<n.length;i++){var a=this.popToken();if(n[i]!==a.text)throw new q("Use of the macro doesn't match its definition",a)}}for(var l=[],o=0;o<t;o++)l.push(this.consumeArg(r&&r[o+1]).tokens);return l}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new q("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,i=r.noexpand?null:this._getExpansion(n);if(i==null||t&&i.unexpandable){if(t&&i==null&&n[0]==="\\"&&!this.isDefined(n))throw new q("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var a=i.tokens,l=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var o=a.length-1;o>=0;--o){var s=a[o];if(s.text==="#"){if(o===0)throw new q("Incomplete placeholder at end of macro body",s);if(s=a[--o],s.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(s.text))a.splice(o,2,...l[+s.text-1]);else throw new q("Not a valid argument number",s)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new yt(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(i)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var i=typeof r=="function"?r(this):r;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var l=i.replace(/##/g,"");l.indexOf("#"+(a+1))!==-1;)++a;for(var o=new As(i,this.settings),s=[],u=o.lex();u.text!=="EOF";)s.push(u),u=o.lex();s.reverse();var f={tokens:s,numArgs:a};return f}return i}isDefined(t){return this.macros.has(t)||ar.hasOwnProperty(t)||Me.math.hasOwnProperty(t)||Me.text.hasOwnProperty(t)||Is.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:ar.hasOwnProperty(t)&&!ar[t].primitive}}var Ns=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,$n=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),_0={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Os={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Kn{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new rd(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new q("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new yt("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(Kn.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||t&&ar[i.text]&&ar[i.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;n.push(a)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,i=0;i<t.length;i++)if(t[i].type==="infix"){if(r!==-1)throw new q("only one infix operator per group",t[i].token);r=i,n=t[i].replaceWith}if(r!==-1&&n){var a,l,o=t.slice(0,r),s=t.slice(r+1);o.length===1&&o[0].type==="ordgroup"?a=o[0]:a={type:"ordgroup",mode:this.mode,body:o},s.length===1&&s[0].type==="ordgroup"?l=s[0]:l={type:"ordgroup",mode:this.mode,body:s};var u;return n==="\\\\abovefrac"?u=this.callFunction(n,[a,t[r],l],[]):u=this.callFunction(n,[a,l],[]),[u]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var i;do{var a;i=this.parseGroup(t)}while(((a=i)==null?void 0:a.type)==="internal");if(!i)throw new q("Expected group after '"+n+"'",r);return i}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var i={type:"text",mode:this.mode,body:r},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return a}parseAtom(t){var r=this.parseGroup("atom",t);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,i;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(r&&r.type==="op"){var l=a.text==="\\limits";r.limits=l,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=a.text==="\\limits");else throw new q("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(n)throw new q("Double superscript",a);n=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new q("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(n)throw new q("Double superscript",a);var o={type:"textord",mode:this.mode,text:"\\prime"},s=[o];for(this.consume();this.fetch().text==="'";)s.push(o),this.consume();this.fetch().text==="^"&&s.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:s}}else if($n[a.text]){var u=Ns.test(a.text),f=[];for(f.push(new yt($n[a.text])),this.consume();;){var h=this.fetch().text;if(!$n[h]||Ns.test(h)!==u)break;f.unshift(new yt($n[h])),this.consume()}var d=this.subparse(f);u?i={type:"ordgroup",mode:"math",body:d}:n={type:"ordgroup",mode:"math",body:d}}else break}return n||i?{type:"supsub",mode:this.mode,base:r,sup:n,sub:i}:r}parseFunction(t,r){var n=this.fetch(),i=n.text,a=ar[i];if(!a)return null;if(this.consume(),r&&r!=="atom"&&!a.allowedInArgument)throw new q("Got function '"+i+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!a.allowedInText)throw new q("Can't use function '"+i+"' in text mode",n);if(this.mode==="math"&&a.allowedInMath===!1)throw new q("Can't use function '"+i+"' in math mode",n);var{args:l,optArgs:o}=this.parseArguments(i,a);return this.callFunction(i,l,o,n,t)}callFunction(t,r,n,i,a){var l={funcName:t,parser:this,token:i,breakOnTokenText:a},o=ar[t];if(o&&o.handler)return o.handler(l,r,n);throw new q("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var i=[],a=[],l=0;l<n;l++){var o=r.argTypes&&r.argTypes[l],s=l<r.numOptionalArgs;(r.primitive&&o==null||r.type==="sqrt"&&l===1&&a[0]==null)&&(o="primitive");var u=this.parseGroupOfType("argument to '"+t+"'",o,s);if(s)a.push(u);else if(u!=null)i.push(u);else throw new q("Null argument, please report this as a bug")}return{args:i,optArgs:a}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var i=this.parseArgumentGroup(n,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text"}:null}case"raw":{var a=this.parseStringGroup("raw",n);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(n)throw new q("A primitive argument cannot be optional");var l=this.parseGroup(t);if(l==null)throw new q("Expected group as "+t,this.fetch());return l}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new q("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var i="",a;(a=this.fetch()).text!=="EOF";)i+=a.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(t,r){for(var n=this.fetch(),i=n,a="",l;(l=this.fetch()).text!=="EOF"&&t.test(a+l.text);)i=l,a+=i.text,this.consume();if(a==="")throw new q("Invalid "+r+": '"+n.text+"'",n);return n.range(i,a)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new q("Invalid color: '"+r.text+"'",r);var i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!i)throw new q("Invalid size: '"+r.text+"'",r);var a={number:+(i[1]+i[2]),unit:i[3]};if(!ho(a))throw new q("Invalid unit: '"+a.unit+"'",r);return{type:"size",mode:this.mode,value:a,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var i=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var l={type:"ordgroup",mode:this.mode,loc:n.loc,body:a};return r&&this.switchMode(i),l}parseGroup(t,r){var n=this.fetch(),i=n.text,a;if(i==="{"||i==="\\begingroup"){this.consume();var l=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,l),s=this.fetch();this.expect(l),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:pt.range(n,s),body:o,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(r,t)||this.parseSymbol(),a==null&&i[0]==="\\"&&!Is.hasOwnProperty(i)){if(this.settings.throwOnError)throw new q("Undefined control sequence: "+i,n);a=this.formatUnsupportedCmd(i),this.consume()}return a}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var i=t[n],a=i.text;a==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:pt.range(i,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:pt.range(i,t[n+1]),text:"--"}),r-=1)),(a==="'"||a==="`")&&t[n+1].text===a&&(t.splice(n,2,{type:"textord",mode:"text",loc:pt.range(i,t[n+1]),text:a+a}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),i=n.charAt(0)==="*";if(i&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new q(`\\verb assertion failed --
683
- please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}Os.hasOwnProperty(r[0])&&!Me[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=Os[r[0]]+r.slice(1));var a=Zp.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var l;if(Me[this.mode][r]){this.settings.strict&&this.mode==="math"&&u0.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=Me[this.mode][r].group,s=pt.range(t),u;if(V4.hasOwnProperty(o)){var f=o;u={type:"atom",mode:this.mode,family:f,loc:s,text:r}}else u={type:o,mode:this.mode,loc:s,text:r};l=u}else if(r.charCodeAt(0)>=128)this.settings.strict&&(lo(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),l={type:"textord",mode:"text",loc:pt.range(t),text:r};else return null;if(this.consume(),a)for(var h=0;h<a[0].length;h++){var d=a[0][h];if(!_0[d])throw new q("Unknown accent ' "+d+"'",t);var p=_0[d][this.mode]||_0[d].text;if(!p)throw new q("Accent "+d+" unsupported in "+this.mode+" mode",t);l={type:"accent",mode:this.mode,loc:pt.range(t),label:p,isStretchy:!1,isShifty:!0,base:l}}return l}}Kn.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var H0=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Kn(t,r);delete n.gullet.macros.current["\\df@tag"];var i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new q("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new yt("\\df@tag")])}]}return i},Rs=function(t,r,n){r.textContent="";var i=j0(t,n).toNode();r.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Rs=function(){throw new q("KaTeX doesn't work in quirks mode.")});var nd=function(t,r){var n=j0(t,r).toMarkup();return n},id=function(t,r){var n=new Zi(r);return H0(t,n)},Ds=function(t,r,n){if(n.throwOnError||!(t instanceof q))throw t;var i=O.makeSpan(["katex-error"],[new xt(r)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+n.errorColor),i},j0=function(t,r){var n=new Zi(r);try{var i=H0(t,n);return mp(i,t,n)}catch(a){return Ds(a,t,n)}},ad=function(t,r){var n=new Zi(r);try{var i=H0(t,n);return pp(i,t,n)}catch(a){return Ds(a,t,n)}},ld="0.16.22",od={Span:nn,Anchor:i0,SymbolNode:xt,SvgNode:jt,PathNode:tr,LineNode:a0},Ls={version:ld,render:Rs,renderToString:nd,ParseError:q,SETTINGS_SCHEMA:Mn,__parse:id,__renderToDomTree:j0,__renderToHTMLTree:ad,__setFontMetrics:B4,__defineSymbol:c,__defineFunction:$,__defineMacro:y,__domTree:od};const sd={};function ud(e){const t=this,r=e||sd,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),l=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(o4(r)),a.push(Jm()),l.push(e4(r))}const Bs=/[#.]/g;function cd(e,t){const r=e||"",n={};let i=0,a,l;for(;i<r.length;){Bs.lastIndex=i;const o=Bs.exec(r),s=r.slice(i,o?o.index:r.length);s&&(a?a==="#"?n.id=s:Array.isArray(n.className)?n.className.push(s):n.className=[s]:l=s,i+=s.length),o&&(a=o[0],i++)}return{type:"element",tagName:l||t||"div",properties:n,children:[]}}function Fs(e,t,r){const n=r?pd(r):void 0;function i(a,l,...o){let s;if(a==null){s={type:"root",children:[]};const u=l;o.unshift(u)}else{s=cd(a,t);const u=s.tagName.toLowerCase(),f=n?n.get(u):void 0;if(s.tagName=f||u,hd(l))o.unshift(l);else for(const[h,d]of Object.entries(l))fd(e,s.properties,h,d)}for(const u of o)q0(s.children,u);return s.type==="element"&&s.tagName==="template"&&(s.content={type:"root",children:s.children},s.children=[]),s}return i}function hd(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const i=t[n];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const a=i;for(const l of a)if(typeof l!="number"&&typeof l!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function fd(e,t,r,n){const i=ja(e,r);let a;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;a=n}else typeof n=="boolean"?a=n:typeof n=="string"?i.spaceSeparated?a=Ua(n):i.commaSeparated?a=za(n):i.commaOrSpaceSeparated?a=Ua(za(n).join(" ")):a=Ps(i,i.property,n):Array.isArray(n)?a=[...n]:a=i.property==="style"?md(n):String(n);if(Array.isArray(a)){const l=[];for(const o of a)l.push(Ps(i,i.property,o));a=l}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function q0(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const r of t)q0(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?q0(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Ps(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||Gr(r)===Gr(t)))return!0}return r}function md(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function pd(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const dd=["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"],gd=Fs(qa,"div"),vd=Fs(pn,"g",dd),U0={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function yd(e,t){return _s(e,{})||{type:"root",children:[]}}function _s(e,t){const r=bd(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function bd(e,t){switch(e.nodeType){case 1:return Sd(e,t);case 3:return wd(e);case 8:return kd(e);case 9:return Hs(e,t);case 10:return xd();case 11:return Hs(e,t);default:return}}function Hs(e,t){return{type:"root",children:js(e,t)}}function xd(){return{type:"doctype"}}function wd(e){return{type:"text",value:e.nodeValue||""}}function kd(e){return{type:"comment",value:e.nodeValue||""}}function Sd(e,t){const r=e.namespaceURI,n=r===U0.svg?vd:gd,i=r===U0.html?e.tagName.toLowerCase():e.tagName,a=r===U0.html&&i==="template"?e.content:e,l=e.getAttributeNames(),o={};let s=-1;for(;++s<l.length;)o[l[s]]=e.getAttribute(l[s])||"";return n(i,o,js(a,t))}function js(e,t){const r=e.childNodes,n=[];let i=-1;for(;++i<r.length;){const a=_s(r[i],t);a!==void 0&&n.push(a)}return n}new DOMParser;function Td(e,t){const r=Ad(e);return yd(r)}function Ad(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const qs=function(e,t,r){const n=Jr(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]},vr=function(e){if(e==null)return Md;if(typeof e=="string")return Cd(e);if(typeof e=="object")return Ed(e);if(typeof e=="function")return V0(e);throw new Error("Expected function, string, or array as `test`")};function Ed(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=vr(e[r]);return V0(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function Cd(e){return V0(t);function t(r){return r.tagName===e}}function V0(e){return t;function t(r,n,i){return!!(zd(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function Md(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function zd(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const Us=/\n/g,Vs=/[\t ]+/g,G0=vr("br"),Gs=vr(Fd),Id=vr("p"),Ws=vr("tr"),Nd=vr(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",Bd,Pd]),Ys=vr(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Od(e,t){const r=t||{},n="children"in e?e.children:[],i=Ys(e),a=Ks(e,{whitespace:r.whitespace||"normal"}),l=[];(e.type==="text"||e.type==="comment")&&l.push(...$s(e,{breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<n.length;)l.push(...Xs(n[o],e,{whitespace:a,breakBefore:o?void 0:i,breakAfter:o<n.length-1?G0(n[o+1]):i}));const s=[];let u;for(o=-1;++o<l.length;){const f=l[o];typeof f=="number"?u!==void 0&&f>u&&(u=f):f&&(u!==void 0&&u>-1&&s.push(`
680
+ `,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new yt(i,new pt(this,r,this.tokenRegex.lastIndex))}}class ed{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new q("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var td=es;y("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),y("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),y("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}}),y("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}}),y("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),y("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),y("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Es={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};y("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new q("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=Es[t.text],n==null||n>=r)throw new q("Invalid base-"+r+" digit "+t.text);for(var i;(i=Es[e.future().text])!=null&&i<r;)n*=r,n+=i,e.popToken()}return"\\@char{"+n+"}"});var F0=(e,t,r,n)=>{var i=e.consumeArg().tokens;if(i.length!==1)throw new q("\\newcommand's first argument must be a macro name");var a=i[0].text,l=e.isDefined(a);if(l&&!t)throw new q("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!l&&!r)throw new q("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var o=0;if(i=e.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var s="",u=e.expandNextToken();u.text!=="]"&&u.text!=="EOF";)s+=u.text,u=e.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new q("Invalid number of arguments: "+s);o=parseInt(s),i=e.consumeArg().tokens}return l&&n||e.macros.set(a,{tokens:i,numArgs:o}),""};y("\\newcommand",e=>F0(e,!1,!0,!1)),y("\\renewcommand",e=>F0(e,!0,!1,!1)),y("\\providecommand",e=>F0(e,!0,!0,!0)),y("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""}),y("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""}),y("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),ar[r],Ce.math[r],Ce.text[r]),""}),y("\\bgroup","{"),y("\\egroup","}"),y("~","\\nobreakspace"),y("\\lq","`"),y("\\rq","'"),y("\\aa","\\r a"),y("\\AA","\\r A"),y("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),y("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),y("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),y("ℬ","\\mathscr{B}"),y("ℰ","\\mathscr{E}"),y("ℱ","\\mathscr{F}"),y("ℋ","\\mathscr{H}"),y("ℐ","\\mathscr{I}"),y("ℒ","\\mathscr{L}"),y("ℳ","\\mathscr{M}"),y("ℛ","\\mathscr{R}"),y("ℭ","\\mathfrak{C}"),y("ℌ","\\mathfrak{H}"),y("ℨ","\\mathfrak{Z}"),y("\\Bbbk","\\Bbb{k}"),y("·","\\cdotp"),y("\\llap","\\mathllap{\\textrm{#1}}"),y("\\rlap","\\mathrlap{\\textrm{#1}}"),y("\\clap","\\mathclap{\\textrm{#1}}"),y("\\mathstrut","\\vphantom{(}"),y("\\underbar","\\underline{\\text{#1}}"),y("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),y("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),y("\\ne","\\neq"),y("≠","\\neq"),y("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),y("∉","\\notin"),y("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),y("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),y("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),y("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),y("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),y("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),y("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),y("⟂","\\perp"),y("‼","\\mathclose{!\\mkern-0.8mu!}"),y("∌","\\notni"),y("⌜","\\ulcorner"),y("⌝","\\urcorner"),y("⌞","\\llcorner"),y("⌟","\\lrcorner"),y("©","\\copyright"),y("®","\\textregistered"),y("️","\\textregistered"),y("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),y("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),y("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),y("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),y("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),y("⋮","\\vdots"),y("\\varGamma","\\mathit{\\Gamma}"),y("\\varDelta","\\mathit{\\Delta}"),y("\\varTheta","\\mathit{\\Theta}"),y("\\varLambda","\\mathit{\\Lambda}"),y("\\varXi","\\mathit{\\Xi}"),y("\\varPi","\\mathit{\\Pi}"),y("\\varSigma","\\mathit{\\Sigma}"),y("\\varUpsilon","\\mathit{\\Upsilon}"),y("\\varPhi","\\mathit{\\Phi}"),y("\\varPsi","\\mathit{\\Psi}"),y("\\varOmega","\\mathit{\\Omega}"),y("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),y("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),y("\\boxed","\\fbox{$\\displaystyle{#1}$}"),y("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),y("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),y("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),y("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),y("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Cs={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};y("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Cs?t=Cs[r]:(r.slice(0,4)==="\\not"||r in Ce.math&&te.contains(["bin","rel"],Ce.math[r].group))&&(t="\\dotsb"),t});var P0={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};y("\\dotso",function(e){var t=e.future().text;return t in P0?"\\ldots\\,":"\\ldots"}),y("\\dotsc",function(e){var t=e.future().text;return t in P0&&t!==","?"\\ldots\\,":"\\ldots"}),y("\\cdots",function(e){var t=e.future().text;return t in P0?"\\@cdots\\,":"\\@cdots"}),y("\\dotsb","\\cdots"),y("\\dotsm","\\cdots"),y("\\dotsi","\\!\\cdots"),y("\\dotsx","\\ldots\\,"),y("\\DOTSI","\\relax"),y("\\DOTSB","\\relax"),y("\\DOTSX","\\relax"),y("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),y("\\,","\\tmspace+{3mu}{.1667em}"),y("\\thinspace","\\,"),y("\\>","\\mskip{4mu}"),y("\\:","\\tmspace+{4mu}{.2222em}"),y("\\medspace","\\:"),y("\\;","\\tmspace+{5mu}{.2777em}"),y("\\thickspace","\\;"),y("\\!","\\tmspace-{3mu}{.1667em}"),y("\\negthinspace","\\!"),y("\\negmedspace","\\tmspace-{4mu}{.2222em}"),y("\\negthickspace","\\tmspace-{5mu}{.277em}"),y("\\enspace","\\kern.5em "),y("\\enskip","\\hskip.5em\\relax"),y("\\quad","\\hskip1em\\relax"),y("\\qquad","\\hskip2em\\relax"),y("\\tag","\\@ifstar\\tag@literal\\tag@paren"),y("\\tag@paren","\\tag@literal{({#1})}"),y("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new q("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),y("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),y("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),y("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),y("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),y("\\newline","\\\\\\relax"),y("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ms=W(Nt["Main-Regular"][84][1]-.7*Nt["Main-Regular"][65][1]);y("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ms+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),y("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ms+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),y("\\hspace","\\@ifstar\\@hspacer\\@hspace"),y("\\@hspace","\\hskip #1\\relax"),y("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),y("\\ordinarycolon",":"),y("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),y("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),y("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),y("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),y("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),y("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),y("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),y("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),y("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),y("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),y("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),y("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),y("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),y("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),y("∷","\\dblcolon"),y("∹","\\eqcolon"),y("≔","\\coloneqq"),y("≕","\\eqqcolon"),y("⩴","\\Coloneqq"),y("\\ratio","\\vcentcolon"),y("\\coloncolon","\\dblcolon"),y("\\colonequals","\\coloneqq"),y("\\coloncolonequals","\\Coloneqq"),y("\\equalscolon","\\eqqcolon"),y("\\equalscoloncolon","\\Eqqcolon"),y("\\colonminus","\\coloneq"),y("\\coloncolonminus","\\Coloneq"),y("\\minuscolon","\\eqcolon"),y("\\minuscoloncolon","\\Eqcolon"),y("\\coloncolonapprox","\\Colonapprox"),y("\\coloncolonsim","\\Colonsim"),y("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),y("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),y("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),y("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),y("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),y("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),y("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),y("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),y("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),y("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),y("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),y("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),y("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),y("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),y("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),y("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),y("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),y("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),y("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),y("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),y("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),y("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),y("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),y("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),y("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),y("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),y("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),y("\\imath","\\html@mathml{\\@imath}{ı}"),y("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),y("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),y("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),y("⟦","\\llbracket"),y("⟧","\\rrbracket"),y("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),y("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),y("⦃","\\lBrace"),y("⦄","\\rBrace"),y("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),y("⦵","\\minuso"),y("\\darr","\\downarrow"),y("\\dArr","\\Downarrow"),y("\\Darr","\\Downarrow"),y("\\lang","\\langle"),y("\\rang","\\rangle"),y("\\uarr","\\uparrow"),y("\\uArr","\\Uparrow"),y("\\Uarr","\\Uparrow"),y("\\N","\\mathbb{N}"),y("\\R","\\mathbb{R}"),y("\\Z","\\mathbb{Z}"),y("\\alef","\\aleph"),y("\\alefsym","\\aleph"),y("\\Alpha","\\mathrm{A}"),y("\\Beta","\\mathrm{B}"),y("\\bull","\\bullet"),y("\\Chi","\\mathrm{X}"),y("\\clubs","\\clubsuit"),y("\\cnums","\\mathbb{C}"),y("\\Complex","\\mathbb{C}"),y("\\Dagger","\\ddagger"),y("\\diamonds","\\diamondsuit"),y("\\empty","\\emptyset"),y("\\Epsilon","\\mathrm{E}"),y("\\Eta","\\mathrm{H}"),y("\\exist","\\exists"),y("\\harr","\\leftrightarrow"),y("\\hArr","\\Leftrightarrow"),y("\\Harr","\\Leftrightarrow"),y("\\hearts","\\heartsuit"),y("\\image","\\Im"),y("\\infin","\\infty"),y("\\Iota","\\mathrm{I}"),y("\\isin","\\in"),y("\\Kappa","\\mathrm{K}"),y("\\larr","\\leftarrow"),y("\\lArr","\\Leftarrow"),y("\\Larr","\\Leftarrow"),y("\\lrarr","\\leftrightarrow"),y("\\lrArr","\\Leftrightarrow"),y("\\Lrarr","\\Leftrightarrow"),y("\\Mu","\\mathrm{M}"),y("\\natnums","\\mathbb{N}"),y("\\Nu","\\mathrm{N}"),y("\\Omicron","\\mathrm{O}"),y("\\plusmn","\\pm"),y("\\rarr","\\rightarrow"),y("\\rArr","\\Rightarrow"),y("\\Rarr","\\Rightarrow"),y("\\real","\\Re"),y("\\reals","\\mathbb{R}"),y("\\Reals","\\mathbb{R}"),y("\\Rho","\\mathrm{P}"),y("\\sdot","\\cdot"),y("\\sect","\\S"),y("\\spades","\\spadesuit"),y("\\sub","\\subset"),y("\\sube","\\subseteq"),y("\\supe","\\supseteq"),y("\\Tau","\\mathrm{T}"),y("\\thetasym","\\vartheta"),y("\\weierp","\\wp"),y("\\Zeta","\\mathrm{Z}"),y("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),y("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),y("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),y("\\bra","\\mathinner{\\langle{#1}|}"),y("\\ket","\\mathinner{|{#1}\\rangle}"),y("\\braket","\\mathinner{\\langle{#1}\\rangle}"),y("\\Bra","\\left\\langle#1\\right|"),y("\\Ket","\\left|#1\\right\\rangle");var zs=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,l=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var s=h=>d=>{e&&(d.macros.set("|",l),i.length&&d.macros.set("\\|",o));var p=h;if(!h&&i.length){var v=d.future();v.text==="|"&&(d.popToken(),p=!0)}return{tokens:p?i:n,numArgs:0}};t.macros.set("|",s(!1)),i.length&&t.macros.set("\\|",s(!0));var u=t.consumeArg().tokens,f=t.expandTokens([...a,...u,...r]);return t.macros.endGroup(),{tokens:f.reverse(),numArgs:0}};y("\\bra@ket",zs(!1)),y("\\bra@set",zs(!0)),y("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),y("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),y("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),y("\\angln","{\\angl n}"),y("\\blue","\\textcolor{##6495ed}{#1}"),y("\\orange","\\textcolor{##ffa500}{#1}"),y("\\pink","\\textcolor{##ff00af}{#1}"),y("\\red","\\textcolor{##df0030}{#1}"),y("\\green","\\textcolor{##28ae7b}{#1}"),y("\\gray","\\textcolor{gray}{#1}"),y("\\purple","\\textcolor{##9d38bd}{#1}"),y("\\blueA","\\textcolor{##ccfaff}{#1}"),y("\\blueB","\\textcolor{##80f6ff}{#1}"),y("\\blueC","\\textcolor{##63d9ea}{#1}"),y("\\blueD","\\textcolor{##11accd}{#1}"),y("\\blueE","\\textcolor{##0c7f99}{#1}"),y("\\tealA","\\textcolor{##94fff5}{#1}"),y("\\tealB","\\textcolor{##26edd5}{#1}"),y("\\tealC","\\textcolor{##01d1c1}{#1}"),y("\\tealD","\\textcolor{##01a995}{#1}"),y("\\tealE","\\textcolor{##208170}{#1}"),y("\\greenA","\\textcolor{##b6ffb0}{#1}"),y("\\greenB","\\textcolor{##8af281}{#1}"),y("\\greenC","\\textcolor{##74cf70}{#1}"),y("\\greenD","\\textcolor{##1fab54}{#1}"),y("\\greenE","\\textcolor{##0d923f}{#1}"),y("\\goldA","\\textcolor{##ffd0a9}{#1}"),y("\\goldB","\\textcolor{##ffbb71}{#1}"),y("\\goldC","\\textcolor{##ff9c39}{#1}"),y("\\goldD","\\textcolor{##e07d10}{#1}"),y("\\goldE","\\textcolor{##a75a05}{#1}"),y("\\redA","\\textcolor{##fca9a9}{#1}"),y("\\redB","\\textcolor{##ff8482}{#1}"),y("\\redC","\\textcolor{##f9685d}{#1}"),y("\\redD","\\textcolor{##e84d39}{#1}"),y("\\redE","\\textcolor{##bc2612}{#1}"),y("\\maroonA","\\textcolor{##ffbde0}{#1}"),y("\\maroonB","\\textcolor{##ff92c6}{#1}"),y("\\maroonC","\\textcolor{##ed5fa6}{#1}"),y("\\maroonD","\\textcolor{##ca337c}{#1}"),y("\\maroonE","\\textcolor{##9e034e}{#1}"),y("\\purpleA","\\textcolor{##ddd7ff}{#1}"),y("\\purpleB","\\textcolor{##c6b9fc}{#1}"),y("\\purpleC","\\textcolor{##aa87ff}{#1}"),y("\\purpleD","\\textcolor{##7854ab}{#1}"),y("\\purpleE","\\textcolor{##543b78}{#1}"),y("\\mintA","\\textcolor{##f5f9e8}{#1}"),y("\\mintB","\\textcolor{##edf2df}{#1}"),y("\\mintC","\\textcolor{##e0e5cc}{#1}"),y("\\grayA","\\textcolor{##f6f7f7}{#1}"),y("\\grayB","\\textcolor{##f0f1f2}{#1}"),y("\\grayC","\\textcolor{##e3e5e6}{#1}"),y("\\grayD","\\textcolor{##d6d8da}{#1}"),y("\\grayE","\\textcolor{##babec2}{#1}"),y("\\grayF","\\textcolor{##888d93}{#1}"),y("\\grayG","\\textcolor{##626569}{#1}"),y("\\grayH","\\textcolor{##3b3e40}{#1}"),y("\\grayI","\\textcolor{##21242c}{#1}"),y("\\kaBlue","\\textcolor{##314453}{#1}"),y("\\kaGreen","\\textcolor{##71B307}{#1}");var Is={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class rd{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new ed(td,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new As(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,i;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:r,end:n}=this.consumeArg());return this.pushToken(new yt("EOF",n.loc)),this.pushTokens(i),r.range(n,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var i=this.future(),a,l=0,o=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++l;else if(a.text==="}"){if(--l,l===-1)throw new q("Extra }",a)}else if(a.text==="EOF")throw new q("Unexpected end of input in a macro argument, expected '"+(t&&n?t[o]:"}")+"'",a);if(t&&n)if((l===0||l===1&&t[o]==="{")&&a.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=0}while(l!==0||n);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:a}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new q("The length of delimiters doesn't match the number of args!");for(var n=r[0],i=0;i<n.length;i++){var a=this.popToken();if(n[i]!==a.text)throw new q("Use of the macro doesn't match its definition",a)}}for(var l=[],o=0;o<t;o++)l.push(this.consumeArg(r&&r[o+1]).tokens);return l}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new q("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,i=r.noexpand?null:this._getExpansion(n);if(i==null||t&&i.unexpandable){if(t&&i==null&&n[0]==="\\"&&!this.isDefined(n))throw new q("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var a=i.tokens,l=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var o=a.length-1;o>=0;--o){var s=a[o];if(s.text==="#"){if(o===0)throw new q("Incomplete placeholder at end of macro body",s);if(s=a[--o],s.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(s.text))a.splice(o,2,...l[+s.text-1]);else throw new q("Not a valid argument number",s)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new yt(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(i)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var i=typeof r=="function"?r(this):r;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var l=i.replace(/##/g,"");l.indexOf("#"+(a+1))!==-1;)++a;for(var o=new As(i,this.settings),s=[],u=o.lex();u.text!=="EOF";)s.push(u),u=o.lex();s.reverse();var f={tokens:s,numArgs:a};return f}return i}isDefined(t){return this.macros.has(t)||ar.hasOwnProperty(t)||Ce.math.hasOwnProperty(t)||Ce.text.hasOwnProperty(t)||Is.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:ar.hasOwnProperty(t)&&!ar[t].primitive}}var Ns=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,$n=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),_0={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Os={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Kn{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new rd(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new q("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new yt("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(Kn.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||t&&ar[i.text]&&ar[i.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;n.push(a)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,i=0;i<t.length;i++)if(t[i].type==="infix"){if(r!==-1)throw new q("only one infix operator per group",t[i].token);r=i,n=t[i].replaceWith}if(r!==-1&&n){var a,l,o=t.slice(0,r),s=t.slice(r+1);o.length===1&&o[0].type==="ordgroup"?a=o[0]:a={type:"ordgroup",mode:this.mode,body:o},s.length===1&&s[0].type==="ordgroup"?l=s[0]:l={type:"ordgroup",mode:this.mode,body:s};var u;return n==="\\\\abovefrac"?u=this.callFunction(n,[a,t[r],l],[]):u=this.callFunction(n,[a,l],[]),[u]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var i;do{var a;i=this.parseGroup(t)}while(((a=i)==null?void 0:a.type)==="internal");if(!i)throw new q("Expected group after '"+n+"'",r);return i}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var i={type:"text",mode:this.mode,body:r},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return a}parseAtom(t){var r=this.parseGroup("atom",t);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,i;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(r&&r.type==="op"){var l=a.text==="\\limits";r.limits=l,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=a.text==="\\limits");else throw new q("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(n)throw new q("Double superscript",a);n=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new q("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(n)throw new q("Double superscript",a);var o={type:"textord",mode:this.mode,text:"\\prime"},s=[o];for(this.consume();this.fetch().text==="'";)s.push(o),this.consume();this.fetch().text==="^"&&s.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:s}}else if($n[a.text]){var u=Ns.test(a.text),f=[];for(f.push(new yt($n[a.text])),this.consume();;){var h=this.fetch().text;if(!$n[h]||Ns.test(h)!==u)break;f.unshift(new yt($n[h])),this.consume()}var d=this.subparse(f);u?i={type:"ordgroup",mode:"math",body:d}:n={type:"ordgroup",mode:"math",body:d}}else break}return n||i?{type:"supsub",mode:this.mode,base:r,sup:n,sub:i}:r}parseFunction(t,r){var n=this.fetch(),i=n.text,a=ar[i];if(!a)return null;if(this.consume(),r&&r!=="atom"&&!a.allowedInArgument)throw new q("Got function '"+i+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!a.allowedInText)throw new q("Can't use function '"+i+"' in text mode",n);if(this.mode==="math"&&a.allowedInMath===!1)throw new q("Can't use function '"+i+"' in math mode",n);var{args:l,optArgs:o}=this.parseArguments(i,a);return this.callFunction(i,l,o,n,t)}callFunction(t,r,n,i,a){var l={funcName:t,parser:this,token:i,breakOnTokenText:a},o=ar[t];if(o&&o.handler)return o.handler(l,r,n);throw new q("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var i=[],a=[],l=0;l<n;l++){var o=r.argTypes&&r.argTypes[l],s=l<r.numOptionalArgs;(r.primitive&&o==null||r.type==="sqrt"&&l===1&&a[0]==null)&&(o="primitive");var u=this.parseGroupOfType("argument to '"+t+"'",o,s);if(s)a.push(u);else if(u!=null)i.push(u);else throw new q("Null argument, please report this as a bug")}return{args:i,optArgs:a}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var i=this.parseArgumentGroup(n,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text"}:null}case"raw":{var a=this.parseStringGroup("raw",n);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(n)throw new q("A primitive argument cannot be optional");var l=this.parseGroup(t);if(l==null)throw new q("Expected group as "+t,this.fetch());return l}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new q("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var i="",a;(a=this.fetch()).text!=="EOF";)i+=a.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(t,r){for(var n=this.fetch(),i=n,a="",l;(l=this.fetch()).text!=="EOF"&&t.test(a+l.text);)i=l,a+=i.text,this.consume();if(a==="")throw new q("Invalid "+r+": '"+n.text+"'",n);return n.range(i,a)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new q("Invalid color: '"+r.text+"'",r);var i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!i)throw new q("Invalid size: '"+r.text+"'",r);var a={number:+(i[1]+i[2]),unit:i[3]};if(!ho(a))throw new q("Invalid unit: '"+a.unit+"'",r);return{type:"size",mode:this.mode,value:a,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var i=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var l={type:"ordgroup",mode:this.mode,loc:n.loc,body:a};return r&&this.switchMode(i),l}parseGroup(t,r){var n=this.fetch(),i=n.text,a;if(i==="{"||i==="\\begingroup"){this.consume();var l=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,l),s=this.fetch();this.expect(l),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:pt.range(n,s),body:o,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(r,t)||this.parseSymbol(),a==null&&i[0]==="\\"&&!Is.hasOwnProperty(i)){if(this.settings.throwOnError)throw new q("Undefined control sequence: "+i,n);a=this.formatUnsupportedCmd(i),this.consume()}return a}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var i=t[n],a=i.text;a==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:pt.range(i,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:pt.range(i,t[n+1]),text:"--"}),r-=1)),(a==="'"||a==="`")&&t[n+1].text===a&&(t.splice(n,2,{type:"textord",mode:"text",loc:pt.range(i,t[n+1]),text:a+a}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),i=n.charAt(0)==="*";if(i&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new q(`\\verb assertion failed --
681
+ please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}Os.hasOwnProperty(r[0])&&!Ce[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=Os[r[0]]+r.slice(1));var a=Zp.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var l;if(Ce[this.mode][r]){this.settings.strict&&this.mode==="math"&&u0.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=Ce[this.mode][r].group,s=pt.range(t),u;if(V4.hasOwnProperty(o)){var f=o;u={type:"atom",mode:this.mode,family:f,loc:s,text:r}}else u={type:o,mode:this.mode,loc:s,text:r};l=u}else if(r.charCodeAt(0)>=128)this.settings.strict&&(lo(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),l={type:"textord",mode:"text",loc:pt.range(t),text:r};else return null;if(this.consume(),a)for(var h=0;h<a[0].length;h++){var d=a[0][h];if(!_0[d])throw new q("Unknown accent ' "+d+"'",t);var p=_0[d][this.mode]||_0[d].text;if(!p)throw new q("Accent "+d+" unsupported in "+this.mode+" mode",t);l={type:"accent",mode:this.mode,loc:pt.range(t),label:p,isStretchy:!1,isShifty:!0,base:l}}return l}}Kn.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var H0=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Kn(t,r);delete n.gullet.macros.current["\\df@tag"];var i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new q("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new yt("\\df@tag")])}]}return i},Rs=function(t,r,n){r.textContent="";var i=j0(t,n).toNode();r.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Rs=function(){throw new q("KaTeX doesn't work in quirks mode.")});var nd=function(t,r){var n=j0(t,r).toMarkup();return n},id=function(t,r){var n=new Zi(r);return H0(t,n)},Ds=function(t,r,n){if(n.throwOnError||!(t instanceof q))throw t;var i=O.makeSpan(["katex-error"],[new xt(r)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+n.errorColor),i},j0=function(t,r){var n=new Zi(r);try{var i=H0(t,n);return mp(i,t,n)}catch(a){return Ds(a,t,n)}},ad=function(t,r){var n=new Zi(r);try{var i=H0(t,n);return pp(i,t,n)}catch(a){return Ds(a,t,n)}},ld="0.16.22",od={Span:nn,Anchor:i0,SymbolNode:xt,SvgNode:jt,PathNode:tr,LineNode:a0},Ls={version:ld,render:Rs,renderToString:nd,ParseError:q,SETTINGS_SCHEMA:Mn,__parse:id,__renderToDomTree:j0,__renderToHTMLTree:ad,__setFontMetrics:B4,__defineSymbol:c,__defineFunction:$,__defineMacro:y,__domTree:od};const sd={};function ud(e){const t=this,r=e||sd,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),l=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(o4(r)),a.push(Jm()),l.push(e4(r))}const Bs=/[#.]/g;function cd(e,t){const r=e||"",n={};let i=0,a,l;for(;i<r.length;){Bs.lastIndex=i;const o=Bs.exec(r),s=r.slice(i,o?o.index:r.length);s&&(a?a==="#"?n.id=s:Array.isArray(n.className)?n.className.push(s):n.className=[s]:l=s,i+=s.length),o&&(a=o[0],i++)}return{type:"element",tagName:l||t||"div",properties:n,children:[]}}function Fs(e,t,r){const n=r?pd(r):void 0;function i(a,l,...o){let s;if(a==null){s={type:"root",children:[]};const u=l;o.unshift(u)}else{s=cd(a,t);const u=s.tagName.toLowerCase(),f=n?n.get(u):void 0;if(s.tagName=f||u,hd(l))o.unshift(l);else for(const[h,d]of Object.entries(l))fd(e,s.properties,h,d)}for(const u of o)q0(s.children,u);return s.type==="element"&&s.tagName==="template"&&(s.content={type:"root",children:s.children},s.children=[]),s}return i}function hd(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const i=t[n];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const a=i;for(const l of a)if(typeof l!="number"&&typeof l!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function fd(e,t,r,n){const i=ja(e,r);let a;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;a=n}else typeof n=="boolean"?a=n:typeof n=="string"?i.spaceSeparated?a=Ua(n):i.commaSeparated?a=za(n):i.commaOrSpaceSeparated?a=Ua(za(n).join(" ")):a=Ps(i,i.property,n):Array.isArray(n)?a=[...n]:a=i.property==="style"?md(n):String(n);if(Array.isArray(a)){const l=[];for(const o of a)l.push(Ps(i,i.property,o));a=l}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function q0(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const r of t)q0(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?q0(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Ps(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||Gr(r)===Gr(t)))return!0}return r}function md(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function pd(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const dd=["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"],gd=Fs(qa,"div"),vd=Fs(pn,"g",dd),U0={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function yd(e,t){return _s(e,{})||{type:"root",children:[]}}function _s(e,t){const r=bd(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function bd(e,t){switch(e.nodeType){case 1:return Sd(e,t);case 3:return wd(e);case 8:return kd(e);case 9:return Hs(e,t);case 10:return xd();case 11:return Hs(e,t);default:return}}function Hs(e,t){return{type:"root",children:js(e,t)}}function xd(){return{type:"doctype"}}function wd(e){return{type:"text",value:e.nodeValue||""}}function kd(e){return{type:"comment",value:e.nodeValue||""}}function Sd(e,t){const r=e.namespaceURI,n=r===U0.svg?vd:gd,i=r===U0.html?e.tagName.toLowerCase():e.tagName,a=r===U0.html&&i==="template"?e.content:e,l=e.getAttributeNames(),o={};let s=-1;for(;++s<l.length;)o[l[s]]=e.getAttribute(l[s])||"";return n(i,o,js(a,t))}function js(e,t){const r=e.childNodes,n=[];let i=-1;for(;++i<r.length;){const a=_s(r[i],t);a!==void 0&&n.push(a)}return n}new DOMParser;function Td(e,t){const r=Ad(e);return yd(r)}function Ad(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const qs=function(e,t,r){const n=Jr(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]},vr=function(e){if(e==null)return Md;if(typeof e=="string")return Cd(e);if(typeof e=="object")return Ed(e);if(typeof e=="function")return V0(e);throw new Error("Expected function, string, or array as `test`")};function Ed(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=vr(e[r]);return V0(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function Cd(e){return V0(t);function t(r){return r.tagName===e}}function V0(e){return t;function t(r,n,i){return!!(zd(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function Md(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function zd(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const Us=/\n/g,Vs=/[\t ]+/g,G0=vr("br"),Gs=vr(Fd),Id=vr("p"),Ws=vr("tr"),Nd=vr(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",Bd,Pd]),Ys=vr(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Od(e,t){const r=t||{},n="children"in e?e.children:[],i=Ys(e),a=Ks(e,{whitespace:r.whitespace||"normal"}),l=[];(e.type==="text"||e.type==="comment")&&l.push(...$s(e,{breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<n.length;)l.push(...Xs(n[o],e,{whitespace:a,breakBefore:o?void 0:i,breakAfter:o<n.length-1?G0(n[o+1]):i}));const s=[];let u;for(o=-1;++o<l.length;){const f=l[o];typeof f=="number"?u!==void 0&&f>u&&(u=f):f&&(u!==void 0&&u>-1&&s.push(`
684
682
  `.repeat(u)||" "),u=-1,s.push(f))}return s.join("")}function Xs(e,t,r){return e.type==="element"?Rd(e,t,r):e.type==="text"?r.whitespace==="normal"?$s(e,r):Dd(e):[]}function Rd(e,t,r){const n=Ks(e,r),i=e.children||[];let a=-1,l=[];if(Nd(e))return l;let o,s;for(G0(e)||Ws(e)&&qs(t,e,Ws)?s=`
685
683
  `:Id(e)?(o=2,s=2):Ys(e)&&(o=1,s=1);++a<i.length;)l=l.concat(Xs(i[a],e,{whitespace:n,breakBefore:a?void 0:o,breakAfter:a<i.length-1?G0(i[a+1]):s}));return Gs(e)&&qs(t,e,Gs)&&l.push(" "),o&&l.unshift(o),s&&l.push(s),l}function $s(e,t){const r=String(e.value),n=[],i=[];let a=0;for(;a<=r.length;){Us.lastIndex=a;const s=Us.exec(r),u=s&&"index"in s?s.index:r.length;n.push(Ld(r.slice(a,u).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),a===0?t.breakBefore:!0,u===r.length?t.breakAfter:!0)),a=u+1}let l=-1,o;for(;++l<n.length;)n[l].charCodeAt(n[l].length-1)===8203||l<n.length-1&&n[l+1].charCodeAt(0)===8203?(i.push(n[l]),o=void 0):n[l]?(typeof o=="number"&&i.push(o),i.push(n[l]),o=0):(l===0||l===n.length-1)&&i.push(0);return i}function Dd(e){return[String(e.value)]}function Ld(e,t,r){const n=[];let i=0,a;for(;i<e.length;){Vs.lastIndex=i;const l=Vs.exec(e);a=l?l.index:e.length,!i&&!a&&l&&!t&&n.push(""),i!==a&&n.push(e.slice(i,a)),i=l?a+l[0].length:a}return i!==a&&!r&&n.push(""),n.join(" ")}function Ks(e,t){if(e.type==="element"){const r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function Bd(e){return!!(e.properties||{}).hidden}function Fd(e){return e.tagName==="td"||e.tagName==="th"}function Pd(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const _d={},Hd=[];function jd(e){const t=e||_d;return function(r,n){_i(r,"element",function(i,a){const l=Array.isArray(i.properties.className)?i.properties.className:Hd,o=l.includes("language-math"),s=l.includes("math-display"),u=l.includes("math-inline");let f=s;if(!o&&!s&&!u)return;let h=a[a.length-1],d=i;if(i.tagName==="code"&&o&&h&&h.type==="element"&&h.tagName==="pre"&&(d=h,h=a[a.length-2],f=!0),!h)return;const p=Od(d,{whitespace:"pre"});let v;try{v=Ls.renderToString(p,{...t,displayMode:f,throwOnError:!0})}catch(C){const w=C,A=w.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...a,i],cause:w,place:i.position,ruleId:A,source:"rehype-katex"});try{v=Ls.renderToString(p,{...t,displayMode:f,strict:"ignore",throwOnError:!1})}catch{v=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(C)},children:[{type:"text",value:p}]}]}}typeof v=="string"&&(v=Td(v).children);const b=h.children.indexOf(d);return h.children.splice(b,1,...v),Hl})}}function Qs(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,i=r.indexOf(t);for(;i!==-1;)n++,i=r.indexOf(t,i+t.length);return n}function qd(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Ud(e,t,r){const i=Jr((r||{}).ignore||[]),a=Vd(t);let l=-1;for(;++l<a.length;)_i(e,"text",o);function o(u,f){let h=-1,d;for(;++h<f.length;){const p=f[h],v=d?d.children:void 0;if(i(p,v?v.indexOf(p):void 0,d))return;d=p}if(d)return s(u,f)}function s(u,f){const h=f[f.length-1],d=a[l][0],p=a[l][1];let v=0;const C=h.children.indexOf(u);let w=!1,A=[];d.lastIndex=0;let z=d.exec(u.value);for(;z;){const D=z.index,L={index:z.index,input:z.input,stack:[...f,u]};let I=p(...z,L);if(typeof I=="string"&&(I=I.length>0?{type:"text",value:I}:void 0),I===!1?d.lastIndex=D+1:(v!==D&&A.push({type:"text",value:u.value.slice(v,D)}),Array.isArray(I)?A.push(...I):I&&A.push(I),v=D+z[0].length,w=!0),!d.global)break;z=d.exec(u.value)}return w?(v<u.value.length&&A.push({type:"text",value:u.value.slice(v)}),h.children.splice(C,1,...A)):A=[u],C+A.length}}function Vd(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const i=r[n];t.push([Gd(i[0]),Wd(i[1])])}return t}function Gd(e){return typeof e=="string"?new RegExp(qd(e),"g"):e}function Wd(e){return typeof e=="function"?e:function(){return e}}const W0="phrasing",Y0=["autolink","link","image","label"];function Yd(){return{transforms:[e5],enter:{literalAutolink:$d,literalAutolinkEmail:X0,literalAutolinkHttp:X0,literalAutolinkWww:X0},exit:{literalAutolink:Jd,literalAutolinkEmail:Zd,literalAutolinkHttp:Kd,literalAutolinkWww:Qd}}}function Xd(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:W0,notInConstruct:Y0},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:W0,notInConstruct:Y0},{character:":",before:"[ps]",after:"\\/",inConstruct:W0,notInConstruct:Y0}]}}function $d(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function X0(e){this.config.enter.autolinkProtocol.call(this,e)}function Kd(e){this.config.exit.autolinkProtocol.call(this,e)}function Qd(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 Zd(e){this.config.exit.autolinkEmail.call(this,e)}function Jd(e){this.exit(e)}function e5(e){Ud(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,t5],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),r5]],{ignore:["link","linkReference"]})}function t5(e,t,r,n,i){let a="";if(!Zs(i)||(/^w/i.test(t)&&(r=t+r,t="",a="http://"),!n5(r)))return!1;const l=i5(r+n);if(!l[0])return!1;const o={type:"link",title:null,url:a+t+l[0],children:[{type:"text",value:t+l[0]}]};return l[1]?[o,{type:"text",value:l[1]}]:o}function r5(e,t,r,n){return!Zs(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function n5(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 i5(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const i=Qs(e,"(");let a=Qs(e,")");for(;n!==-1&&i>a;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),a++;return[e,r]}function Zs(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||mr(r)||vn(r))&&(!t||r!==47)}Js.peek=m5;function a5(){this.buffer()}function l5(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function o5(){this.buffer()}function s5(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function u5(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Tt(this.sliceSerialize(e)).toLowerCase(),r.label=t}function c5(e){this.exit(e)}function h5(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Tt(this.sliceSerialize(e)).toLowerCase(),r.label=t}function f5(e){this.exit(e)}function m5(){return"["}function Js(e,t,r,n){const i=r.createTracker(n);let a=i.move("[^");const l=r.enter("footnoteReference"),o=r.enter("reference");return a+=i.move(r.safe(r.associationId(e),{after:"]",before:a})),o(),l(),a+=i.move("]"),a}function p5(){return{enter:{gfmFootnoteCallString:a5,gfmFootnoteCall:l5,gfmFootnoteDefinitionLabelString:o5,gfmFootnoteDefinition:s5},exit:{gfmFootnoteCallString:u5,gfmFootnoteCall:c5,gfmFootnoteDefinitionLabelString:h5,gfmFootnoteDefinition:f5}}}function d5(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:Js},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,i,a,l){const o=a.createTracker(l);let s=o.move("[^");const u=a.enter("footnoteDefinition"),f=a.enter("label");return s+=o.move(a.safe(a.associationId(n),{before:s,after:"]"})),f(),s+=o.move("]:"),n.children&&n.children.length>0&&(o.shift(4),s+=o.move((t?`
686
684
  `:" ")+a.indentLines(a.containerFlow(n,o.current()),t?eu:g5))),u(),s}}function g5(e,t,r){return t===0?e:eu(e,t,r)}function eu(e,t,r){return(r?"":" ")+e}const v5=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];tu.peek=k5;function y5(){return{canContainEols:["delete"],enter:{strikethrough:x5},exit:{strikethrough:w5}}}function b5(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:v5}],handlers:{delete:tu}}}function x5(e){this.enter({type:"delete",children:[]},e)}function w5(e){this.exit(e)}function tu(e,t,r,n){const i=r.createTracker(n),a=r.enter("strikethrough");let l=i.move("~~");return l+=r.containerPhrasing(e,{...i.current(),before:l,after:"~"}),l+=i.move("~~"),a(),l}function k5(){return"~"}function S5(e){return e.length}function T5(e,t){const r=t||{},n=(r.align||[]).concat(),i=r.stringLength||S5,a=[],l=[],o=[],s=[];let u=0,f=-1;for(;++f<e.length;){const b=[],C=[];let w=-1;for(e[f].length>u&&(u=e[f].length);++w<e[f].length;){const A=A5(e[f][w]);if(r.alignDelimiters!==!1){const z=i(A);C[w]=z,(s[w]===void 0||z>s[w])&&(s[w]=z)}b.push(A)}l[f]=b,o[f]=C}let h=-1;if(typeof n=="object"&&"length"in n)for(;++h<u;)a[h]=ru(n[h]);else{const b=ru(n);for(;++h<u;)a[h]=b}h=-1;const d=[],p=[];for(;++h<u;){const b=a[h];let C="",w="";b===99?(C=":",w=":"):b===108?C=":":b===114&&(w=":");let A=r.alignDelimiters===!1?1:Math.max(1,s[h]-C.length-w.length);const z=C+"-".repeat(A)+w;r.alignDelimiters!==!1&&(A=C.length+A+w.length,A>s[h]&&(s[h]=A),p[h]=A),d[h]=z}l.splice(1,0,d),o.splice(1,0,p),f=-1;const v=[];for(;++f<l.length;){const b=l[f],C=o[f];h=-1;const w=[];for(;++h<u;){const A=b[h]||"";let z="",D="";if(r.alignDelimiters!==!1){const L=s[h]-(C[h]||0),I=a[h];I===114?z=" ".repeat(L):I===99?L%2?(z=" ".repeat(L/2+.5),D=" ".repeat(L/2-.5)):(z=" ".repeat(L/2),D=z):D=" ".repeat(L)}r.delimiterStart!==!1&&!h&&w.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&A==="")&&(r.delimiterStart!==!1||h)&&w.push(" "),r.alignDelimiters!==!1&&w.push(z),w.push(A),r.alignDelimiters!==!1&&w.push(D),r.padding!==!1&&w.push(" "),(r.delimiterEnd!==!1||h!==u-1)&&w.push("|")}v.push(r.delimiterEnd===!1?w.join("").replace(/ +$/,""):w.join(""))}return v.join(`
@@ -697,7 +695,7 @@ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
697
695
  `))+1))}const l="#".repeat(i),o=r.enter("headingAtx"),s=r.enter("phrasing");a.move(l+" ");let u=r.containerPhrasing(e,{before:"# ",after:`
698
696
  `,...a.current()});return/^[\t ]/.test(u)&&(u=un(u.charCodeAt(0))+u.slice(1)),u=u?l+" "+u:l,r.options.closeAtx&&(u+=" "+l),s(),o(),u}lu.peek=P5;function lu(e){return e.value||""}function P5(){return"<"}ou.peek=_5;function ou(e,t,r,n){const i=$0(r),a=i==='"'?"Quote":"Apostrophe",l=r.enter("image");let o=r.enter("label");const s=r.createTracker(n);let u=s.move("![");return u+=s.move(r.safe(e.alt,{before:u,after:"]",...s.current()})),u+=s.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(r.safe(e.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(o=r.enter("destinationRaw"),u+=s.move(r.safe(e.url,{before:u,after:e.title?" ":")",...s.current()}))),o(),e.title&&(o=r.enter(`title${a}`),u+=s.move(" "+i),u+=s.move(r.safe(e.title,{before:u,after:i,...s.current()})),u+=s.move(i),o()),u+=s.move(")"),l(),u}function _5(){return"!"}su.peek=H5;function su(e,t,r,n){const i=e.referenceType,a=r.enter("imageReference");let l=r.enter("label");const o=r.createTracker(n);let s=o.move("![");const u=r.safe(e.alt,{before:s,after:"]",...o.current()});s+=o.move(u+"]["),l();const f=r.stack;r.stack=[],l=r.enter("reference");const h=r.safe(r.associationId(e),{before:s,after:"]",...o.current()});return l(),r.stack=f,a(),i==="full"||!u||u!==h?s+=o.move(h+"]"):i==="shortcut"?s=s.slice(0,-1):s+=o.move("]"),s}function H5(){return"!"}uu.peek=j5;function uu(e,t,r){let n=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++a<r.unsafe.length;){const l=r.unsafe[a],o=r.compilePattern(l);let s;if(l.atBreak)for(;s=o.exec(n);){let u=s.index;n.charCodeAt(u)===10&&n.charCodeAt(u-1)===13&&u--,n=n.slice(0,u)+" "+n.slice(s.index+1)}}return i+n+i}function j5(){return"`"}function cu(e,t){const r=Ci(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}hu.peek=q5;function hu(e,t,r,n){const i=$0(r),a=i==='"'?"Quote":"Apostrophe",l=r.createTracker(n);let o,s;if(cu(e,r)){const f=r.stack;r.stack=[],o=r.enter("autolink");let h=l.move("<");return h+=l.move(r.containerPhrasing(e,{before:h,after:">",...l.current()})),h+=l.move(">"),o(),r.stack=f,h}o=r.enter("link"),s=r.enter("label");let u=l.move("[");return u+=l.move(r.containerPhrasing(e,{before:u,after:"](",...l.current()})),u+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(r.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(s=r.enter("destinationRaw"),u+=l.move(r.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=r.enter(`title${a}`),u+=l.move(" "+i),u+=l.move(r.safe(e.title,{before:u,after:i,...l.current()})),u+=l.move(i),s()),u+=l.move(")"),o(),u}function q5(e,t,r){return cu(e,r)?"<":"["}fu.peek=U5;function fu(e,t,r,n){const i=e.referenceType,a=r.enter("linkReference");let l=r.enter("label");const o=r.createTracker(n);let s=o.move("[");const u=r.containerPhrasing(e,{before:s,after:"]",...o.current()});s+=o.move(u+"]["),l();const f=r.stack;r.stack=[],l=r.enter("reference");const h=r.safe(r.associationId(e),{before:s,after:"]",...o.current()});return l(),r.stack=f,a(),i==="full"||!u||u!==h?s+=o.move(h+"]"):i==="shortcut"?s=s.slice(0,-1):s+=o.move("]"),s}function U5(){return"["}function K0(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 V5(e){const t=K0(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function G5(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 mu(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 W5(e,t,r,n){const i=r.enter("list"),a=r.bulletCurrent;let l=e.ordered?G5(r):K0(r);const o=e.ordered?l==="."?")":".":V5(r);let s=t&&r.bulletLastUsed?l===r.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&f&&(!f.children||!f.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(s=!0),mu(r)===l&&f){let h=-1;for(;++h<e.children.length;){const d=e.children[h];if(d&&d.type==="listItem"&&d.children&&d.children[0]&&d.children[0].type==="thematicBreak"){s=!0;break}}}}s&&(l=o),r.bulletCurrent=l;const u=r.containerFlow(e,n);return r.bulletLastUsed=l,r.bulletCurrent=a,i(),u}function Y5(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 X5(e,t,r,n){const i=Y5(r);let a=r.bulletCurrent||K0(r);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let l=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(l=Math.ceil(l/4)*4);const o=r.createTracker(n);o.move(a+" ".repeat(l-a.length)),o.shift(l);const s=r.enter("listItem"),u=r.indentLines(r.containerFlow(e,o.current()),f);return s(),u;function f(h,d,p){return d?(p?"":" ".repeat(l))+h:(p?a:a+" ".repeat(l-a.length))+h}}function $5(e,t,r,n){const i=r.enter("paragraph"),a=r.enter("phrasing"),l=r.containerPhrasing(e,n);return a(),i(),l}const K5=Jr(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Q5(e,t,r,n){return(e.children.some(function(l){return K5(l)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function Z5(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}pu.peek=J5;function pu(e,t,r,n){const i=Z5(r),a=r.enter("strong"),l=r.createTracker(n),o=l.move(i+i);let s=l.move(r.containerPhrasing(e,{after:i,before:o,...l.current()}));const u=s.charCodeAt(0),f=Qn(n.before.charCodeAt(n.before.length-1),u,i);f.inside&&(s=un(u)+s.slice(1));const h=s.charCodeAt(s.length-1),d=Qn(n.after.charCodeAt(0),h,i);d.inside&&(s=s.slice(0,-1)+un(h));const p=l.move(i+i);return a(),r.attentionEncodeSurroundingInfo={after:d.outside,before:f.outside},o+s+p}function J5(e,t,r){return r.options.strong||"*"}function e6(e,t,r,n){return r.safe(e.value,n)}function t6(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 r6(e,t,r){const n=(mu(r)+(r.options.ruleSpaces?" ":"")).repeat(t6(r));return r.options.ruleSpaces?n.slice(0,-1):n}const du={blockquote:E5,break:iu,code:N5,definition:R5,emphasis:au,hardBreak:iu,heading:F5,html:lu,image:ou,imageReference:su,inlineCode:uu,link:hu,linkReference:fu,list:W5,listItem:X5,paragraph:$5,root:Q5,strong:pu,text:e6,thematicBreak:r6};function n6(){return{enter:{table:i6,tableData:gu,tableHeader:gu,tableRow:l6},exit:{codeText:o6,table:a6,tableData:Q0,tableHeader:Q0,tableRow:Q0}}}function i6(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function a6(e){this.exit(e),this.data.inTable=void 0}function l6(e){this.enter({type:"tableRow",children:[]},e)}function Q0(e){this.exit(e)}function gu(e){this.enter({type:"tableCell",children:[]},e)}function o6(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,s6));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function s6(e,t){return t==="|"?t:e}function u6(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,i=t.stringLength,a=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
699
697
  `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:l,tableCell:s,tableRow:o}};function l(p,v,b,C){return u(f(p,b,C),p.align)}function o(p,v,b,C){const w=h(p,b,C),A=u([w]);return A.slice(0,A.indexOf(`
700
- `))}function s(p,v,b,C){const w=b.enter("tableCell"),A=b.enter("phrasing"),z=b.containerPhrasing(p,{...C,before:a,after:a});return A(),w(),z}function u(p,v){return T5(p,{align:v,alignDelimiters:n,padding:r,stringLength:i})}function f(p,v,b){const C=p.children;let w=-1;const A=[],z=v.enter("table");for(;++w<C.length;)A[w]=h(C[w],v,b);return z(),A}function h(p,v,b){const C=p.children;let w=-1;const A=[],z=v.enter("tableRow");for(;++w<C.length;)A[w]=s(C[w],p,v,b);return z(),A}function d(p,v,b){let C=du.inlineCode(p,v,b);return b.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function c6(){return{exit:{taskListCheckValueChecked:vu,taskListCheckValueUnchecked:vu,paragraph:f6}}}function h6(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:m6}}}function vu(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function f6(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const i=t.children;let a=-1,l;for(;++a<i.length;){const o=i[a];if(o.type==="paragraph"){l=o;break}}l===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function m6(e,t,r,n){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",l="["+(e.checked?"x":" ")+"] ",o=r.createTracker(n);a&&o.move(l);let s=du.listItem(e,t,r,{...n,...o.current()});return a&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),s;function u(f){return f+l}}function p6(){return[Yd(),p5(),y5(),n6(),c6()]}function d6(e){return{extensions:[Xd(),d5(e),b5(),u6(e),h6()]}}const g6={tokenize:k6,partial:!0},yu={tokenize:S6,partial:!0},bu={tokenize:T6,partial:!0},xu={tokenize:A6,partial:!0},v6={tokenize:E6,partial:!0},wu={name:"wwwAutolink",tokenize:x6,previous:Su},ku={name:"protocolAutolink",tokenize:w6,previous:Tu},Yt={name:"emailAutolink",tokenize:b6,previous:Au},Bt={};function y6(){return{text:Bt}}let yr=48;for(;yr<123;)Bt[yr]=Yt,yr++,yr===58?yr=65:yr===91&&(yr=97);Bt[43]=Yt,Bt[45]=Yt,Bt[46]=Yt,Bt[95]=Yt,Bt[72]=[Yt,ku],Bt[104]=[Yt,ku],Bt[87]=[Yt,wu],Bt[119]=[Yt,wu];function b6(e,t,r){const n=this;let i,a;return l;function l(h){return!Z0(h)||!Au.call(n,n.previous)||J0(n.events)?r(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(h))}function o(h){return Z0(h)?(e.consume(h),o):h===64?(e.consume(h),s):r(h)}function s(h){return h===46?e.check(v6,f,u)(h):h===45||h===95||Qe(h)?(a=!0,e.consume(h),s):f(h)}function u(h){return e.consume(h),i=!0,s}function f(h){return a&&i&&Ze(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):r(h)}}function x6(e,t,r){const n=this;return i;function i(l){return l!==87&&l!==119||!Su.call(n,n.previous)||J0(n.events)?r(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(g6,e.attempt(yu,e.attempt(bu,a),r),r)(l))}function a(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function w6(e,t,r){const n=this;let i="",a=!1;return l;function l(h){return(h===72||h===104)&&Tu.call(n,n.previous)&&!J0(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(h),e.consume(h),o):r(h)}function o(h){if(Ze(h)&&i.length<5)return i+=String.fromCodePoint(h),e.consume(h),o;if(h===58){const d=i.toLowerCase();if(d==="http"||d==="https")return e.consume(h),s}return r(h)}function s(h){return h===47?(e.consume(h),a?u:(a=!0,s)):r(h)}function u(h){return h===null||gn(h)||Te(h)||mr(h)||vn(h)?r(h):e.attempt(yu,e.attempt(bu,f),r)(h)}function f(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function k6(e,t,r){let n=0;return i;function i(l){return(l===87||l===119)&&n<3?(n++,e.consume(l),i):l===46&&n===3?(e.consume(l),a):r(l)}function a(l){return l===null?r(l):t(l)}}function S6(e,t,r){let n,i,a;return l;function l(u){return u===46||u===95?e.check(xu,s,o)(u):u===null||Te(u)||mr(u)||u!==45&&vn(u)?s(u):(a=!0,e.consume(u),l)}function o(u){return u===95?n=!0:(i=n,n=void 0),e.consume(u),l}function s(u){return i||n||!a?r(u):t(u)}}function T6(e,t){let r=0,n=0;return i;function i(l){return l===40?(r++,e.consume(l),i):l===41&&n<r?a(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(xu,t,a)(l):l===null||Te(l)||mr(l)?t(l):(e.consume(l),i)}function a(l){return l===41&&n++,e.consume(l),i}}function A6(e,t,r){return n;function n(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),n):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||Te(o)||mr(o)?t(o):r(o)}function i(o){return o===null||o===40||o===91||Te(o)||mr(o)?t(o):n(o)}function a(o){return Ze(o)?l(o):r(o)}function l(o){return o===59?(e.consume(o),n):Ze(o)?(e.consume(o),l):r(o)}}function E6(e,t,r){return n;function n(a){return e.consume(a),i}function i(a){return Qe(a)?r(a):t(a)}}function Su(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Te(e)}function Tu(e){return!Ze(e)}function Au(e){return!(e===47||Z0(e))}function Z0(e){return e===43||e===45||e===46||e===95||Qe(e)}function J0(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const C6={tokenize:L6,partial:!0};function M6(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:O6,continuation:{tokenize:R6},exit:D6}},text:{91:{name:"gfmFootnoteCall",tokenize:N6},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:z6,resolveTo:I6}}}}function z6(e,t,r){const n=this;let i=n.events.length;const a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let l;for(;i--;){const s=n.events[i][1];if(s.type==="labelImage"){l=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return o;function o(s){if(!l||!l._balanced)return r(s);const u=Tt(n.sliceSerialize({start:l.end,end:n.now()}));return u.codePointAt(0)!==94||!a.includes(u.slice(1))?r(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s))}}function I6(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},o=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",l,t],["exit",l,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...o),e}function N6(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a=0,l;return o;function o(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),s}function s(h){return h!==94?r(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(h){if(a>999||h===93&&!l||h===null||h===91||Te(h))return r(h);if(h===93){e.exit("chunkString");const d=e.exit("gfmFootnoteCallString");return i.includes(Tt(n.sliceSerialize(d)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(h)}return Te(h)||(l=!0),a++,e.consume(h),h===92?f:u}function f(h){return h===91||h===92||h===93?(e.consume(h),a++,u):u(h)}}function O6(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,l=0,o;return s;function s(v){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(v){return v===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):r(v)}function f(v){if(l>999||v===93&&!o||v===null||v===91||Te(v))return r(v);if(v===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return a=Tt(n.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Te(v)||(o=!0),l++,e.consume(v),v===92?h:f}function h(v){return v===91||v===92||v===93?(e.consume(v),l++,f):f(v)}function d(v){return v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),i.includes(a)||i.push(a),fe(e,p,"gfmFootnoteDefinitionWhitespace")):r(v)}function p(v){return t(v)}}function R6(e,t,r){return e.check(Xr,t,e.attempt(C6,t,r))}function D6(e){e.exit("gfmFootnoteDefinition")}function L6(e,t,r){const n=this;return fe(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const l=n.events[n.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(a):r(a)}}function B6(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:a,resolveAll:i};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function i(l,o){let s=-1;for(;++s<l.length;)if(l[s][0]==="enter"&&l[s][1].type==="strikethroughSequenceTemporary"&&l[s][1]._close){let u=s;for(;u--;)if(l[u][0]==="exit"&&l[u][1].type==="strikethroughSequenceTemporary"&&l[u][1]._open&&l[s][1].end.offset-l[s][1].start.offset===l[u][1].end.offset-l[u][1].start.offset){l[s][1].type="strikethroughSequence",l[u][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},l[u][1].start),end:Object.assign({},l[s][1].end)},h={type:"strikethroughText",start:Object.assign({},l[u][1].end),end:Object.assign({},l[s][1].start)},d=[["enter",f,o],["enter",l[u][1],o],["exit",l[u][1],o],["enter",h,o]],p=o.parser.constructs.insideSpan.null;p&&mt(d,d.length,0,yn(p,l.slice(u+1,s),o)),mt(d,d.length,0,[["exit",h,o],["enter",l[s][1],o],["exit",l[s][1],o],["exit",f,o]]),mt(l,u-1,s-u+3,d),s=u+d.length-2;break}}for(s=-1;++s<l.length;)l[s][1].type==="strikethroughSequenceTemporary"&&(l[s][1].type="data");return l}function a(l,o,s){const u=this.previous,f=this.events;let h=0;return d;function d(v){return u===126&&f[f.length-1][1].type!=="characterEscape"?s(v):(l.enter("strikethroughSequenceTemporary"),p(v))}function p(v){const b=Mr(u);if(v===126)return h>1?s(v):(l.consume(v),h++,p);if(h<2&&!r)return s(v);const C=l.exit("strikethroughSequenceTemporary"),w=Mr(v);return C._open=!w||w===2&&!!b,C._close=!b||b===2&&!!w,o(v)}}}class F6{constructor(){this.map=[]}add(t,r,n){P6(this,t,r,n)}consume(t){if(this.map.sort(function(a,l){return a[0]-l[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let i=n.pop();for(;i;){for(const a of i)t.push(a);i=n.pop()}this.map.length=0}}function P6(e,t,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=r,e.map[i][2].push(...n);return}i+=1}e.map.push([t,r,n])}}function _6(e,t){let r=!1;const n=[];for(;t<e.length;){const i=e[t];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function H6(){return{flow:{null:{name:"table",tokenize:j6,resolveAll:q6}}}}function j6(e,t,r){const n=this;let i=0,a=0,l;return o;function o(N){let V=n.events.length-1;for(;V>-1;){const re=n.events[V][1].type;if(re==="lineEnding"||re==="linePrefix")V--;else break}const G=V>-1?n.events[V][1].type:null,le=G==="tableHead"||G==="tableRow"?I:s;return le===I&&n.parser.lazy[n.now().line]?r(N):le(N)}function s(N){return e.enter("tableHead"),e.enter("tableRow"),u(N)}function u(N){return N===124||(l=!0,a+=1),f(N)}function f(N){return N===null?r(N):ee(N)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),p):r(N):me(N)?fe(e,f,"whitespace")(N):(a+=1,l&&(l=!1,i+=1),N===124?(e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),l=!0,f):(e.enter("data"),h(N)))}function h(N){return N===null||N===124||Te(N)?(e.exit("data"),f(N)):(e.consume(N),N===92?d:h)}function d(N){return N===92||N===124?(e.consume(N),h):h(N)}function p(N){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(N):(e.enter("tableDelimiterRow"),l=!1,me(N)?fe(e,v,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):v(N))}function v(N){return N===45||N===58?C(N):N===124?(l=!0,e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),b):L(N)}function b(N){return me(N)?fe(e,C,"whitespace")(N):C(N)}function C(N){return N===58?(a+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(N),e.exit("tableDelimiterMarker"),w):N===45?(a+=1,w(N)):N===null||ee(N)?D(N):L(N)}function w(N){return N===45?(e.enter("tableDelimiterFiller"),A(N)):L(N)}function A(N){return N===45?(e.consume(N),A):N===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(N),e.exit("tableDelimiterMarker"),z):(e.exit("tableDelimiterFiller"),z(N))}function z(N){return me(N)?fe(e,D,"whitespace")(N):D(N)}function D(N){return N===124?v(N):N===null||ee(N)?!l||i!==a?L(N):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(N)):L(N)}function L(N){return r(N)}function I(N){return e.enter("tableRow"),P(N)}function P(N){return N===124?(e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),P):N===null||ee(N)?(e.exit("tableRow"),t(N)):me(N)?fe(e,P,"whitespace")(N):(e.enter("data"),X(N))}function X(N){return N===null||N===124||Te(N)?(e.exit("data"),P(N)):(e.consume(N),N===92?H:X)}function H(N){return N===92||N===124?(e.consume(N),X):X(N)}}function q6(e,t){let r=-1,n=!0,i=0,a=[0,0,0,0],l=[0,0,0,0],o=!1,s=0,u,f,h;const d=new F6;for(;++r<e.length;){const p=e[r],v=p[1];p[0]==="enter"?v.type==="tableHead"?(o=!1,s!==0&&(Eu(d,t,s,u,f),f=void 0,s=0),u={type:"table",start:Object.assign({},v.start),end:Object.assign({},v.end)},d.add(r,0,[["enter",u,t]])):v.type==="tableRow"||v.type==="tableDelimiterRow"?(n=!0,h=void 0,a=[0,0,0,0],l=[0,r+1,0,0],o&&(o=!1,f={type:"tableBody",start:Object.assign({},v.start),end:Object.assign({},v.end)},d.add(r,0,[["enter",f,t]])),i=v.type==="tableDelimiterRow"?2:f?3:1):i&&(v.type==="data"||v.type==="tableDelimiterMarker"||v.type==="tableDelimiterFiller")?(n=!1,l[2]===0&&(a[1]!==0&&(l[0]=l[1],h=Zn(d,t,a,i,void 0,h),a=[0,0,0,0]),l[2]=r)):v.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(l[0]=l[1],h=Zn(d,t,a,i,void 0,h)),a=l,l=[a[1],r,0,0])):v.type==="tableHead"?(o=!0,s=r):v.type==="tableRow"||v.type==="tableDelimiterRow"?(s=r,a[1]!==0?(l[0]=l[1],h=Zn(d,t,a,i,r,h)):l[1]!==0&&(h=Zn(d,t,l,i,r,h)),i=0):i&&(v.type==="data"||v.type==="tableDelimiterMarker"||v.type==="tableDelimiterFiller")&&(l[3]=r)}for(s!==0&&Eu(d,t,s,u,f),d.consume(t.events),r=-1;++r<t.events.length;){const p=t.events[r];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=_6(t.events,r))}return e}function Zn(e,t,r,n,i,a){const l=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(a.end=Object.assign({},Lr(t.events,r[0])),e.add(r[0],0,[["exit",a,t]]));const s=Lr(t.events,r[1]);if(a={type:l,start:Object.assign({},s),end:Object.assign({},s)},e.add(r[1],0,[["enter",a,t]]),r[2]!==0){const u=Lr(t.events,r[2]),f=Lr(t.events,r[3]),h={type:o,start:Object.assign({},u),end:Object.assign({},f)};if(e.add(r[2],0,[["enter",h,t]]),n!==2){const d=t.events[r[2]],p=t.events[r[3]];if(d[1].end=Object.assign({},p[1].end),d[1].type="chunkText",d[1].contentType="text",r[3]>r[2]+1){const v=r[2]+1,b=r[3]-r[2]-1;e.add(v,b,[])}}e.add(r[3]+1,0,[["exit",h,t]])}return i!==void 0&&(a.end=Object.assign({},Lr(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function Eu(e,t,r,n,i){const a=[],l=Lr(t.events,r);i&&(i.end=Object.assign({},l),a.push(["exit",i,t])),n.end=Object.assign({},l),a.push(["exit",n,t]),e.add(r+1,0,a)}function Lr(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const U6={name:"tasklistCheck",tokenize:G6};function V6(){return{text:{91:U6}}}function G6(e,t,r){const n=this;return i;function i(s){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),a)}function a(s){return Te(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),l):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),l):r(s)}function l(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):r(s)}function o(s){return ee(s)?t(s):me(s)?e.check({tokenize:W6},t,r)(s):r(s)}}function W6(e,t,r){return fe(e,n,"whitespace");function n(i){return i===null?r(i):t(i)}}function Y6(e){return ol([y6(),M6(),B6(e),H6(),V6()])}const X6={};function $6(e){const t=this,r=e||X6,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),l=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(Y6(r)),a.push(p6()),l.push(d6(r))}const K6=e=>{if(!e||typeof e!="string")return"";let t=e;try{t=t.replace(/\r\n/g,`
698
+ `))}function s(p,v,b,C){const w=b.enter("tableCell"),A=b.enter("phrasing"),z=b.containerPhrasing(p,{...C,before:a,after:a});return A(),w(),z}function u(p,v){return T5(p,{align:v,alignDelimiters:n,padding:r,stringLength:i})}function f(p,v,b){const C=p.children;let w=-1;const A=[],z=v.enter("table");for(;++w<C.length;)A[w]=h(C[w],v,b);return z(),A}function h(p,v,b){const C=p.children;let w=-1;const A=[],z=v.enter("tableRow");for(;++w<C.length;)A[w]=s(C[w],p,v,b);return z(),A}function d(p,v,b){let C=du.inlineCode(p,v,b);return b.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function c6(){return{exit:{taskListCheckValueChecked:vu,taskListCheckValueUnchecked:vu,paragraph:f6}}}function h6(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:m6}}}function vu(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function f6(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const i=t.children;let a=-1,l;for(;++a<i.length;){const o=i[a];if(o.type==="paragraph"){l=o;break}}l===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function m6(e,t,r,n){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",l="["+(e.checked?"x":" ")+"] ",o=r.createTracker(n);a&&o.move(l);let s=du.listItem(e,t,r,{...n,...o.current()});return a&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),s;function u(f){return f+l}}function p6(){return[Yd(),p5(),y5(),n6(),c6()]}function d6(e){return{extensions:[Xd(),d5(e),b5(),u6(e),h6()]}}const g6={tokenize:k6,partial:!0},yu={tokenize:S6,partial:!0},bu={tokenize:T6,partial:!0},xu={tokenize:A6,partial:!0},v6={tokenize:E6,partial:!0},wu={name:"wwwAutolink",tokenize:x6,previous:Su},ku={name:"protocolAutolink",tokenize:w6,previous:Tu},Yt={name:"emailAutolink",tokenize:b6,previous:Au},Bt={};function y6(){return{text:Bt}}let yr=48;for(;yr<123;)Bt[yr]=Yt,yr++,yr===58?yr=65:yr===91&&(yr=97);Bt[43]=Yt,Bt[45]=Yt,Bt[46]=Yt,Bt[95]=Yt,Bt[72]=[Yt,ku],Bt[104]=[Yt,ku],Bt[87]=[Yt,wu],Bt[119]=[Yt,wu];function b6(e,t,r){const n=this;let i,a;return l;function l(h){return!Z0(h)||!Au.call(n,n.previous)||J0(n.events)?r(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(h))}function o(h){return Z0(h)?(e.consume(h),o):h===64?(e.consume(h),s):r(h)}function s(h){return h===46?e.check(v6,f,u)(h):h===45||h===95||Qe(h)?(a=!0,e.consume(h),s):f(h)}function u(h){return e.consume(h),i=!0,s}function f(h){return a&&i&&Ze(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):r(h)}}function x6(e,t,r){const n=this;return i;function i(l){return l!==87&&l!==119||!Su.call(n,n.previous)||J0(n.events)?r(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(g6,e.attempt(yu,e.attempt(bu,a),r),r)(l))}function a(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function w6(e,t,r){const n=this;let i="",a=!1;return l;function l(h){return(h===72||h===104)&&Tu.call(n,n.previous)&&!J0(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(h),e.consume(h),o):r(h)}function o(h){if(Ze(h)&&i.length<5)return i+=String.fromCodePoint(h),e.consume(h),o;if(h===58){const d=i.toLowerCase();if(d==="http"||d==="https")return e.consume(h),s}return r(h)}function s(h){return h===47?(e.consume(h),a?u:(a=!0,s)):r(h)}function u(h){return h===null||gn(h)||Se(h)||mr(h)||vn(h)?r(h):e.attempt(yu,e.attempt(bu,f),r)(h)}function f(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function k6(e,t,r){let n=0;return i;function i(l){return(l===87||l===119)&&n<3?(n++,e.consume(l),i):l===46&&n===3?(e.consume(l),a):r(l)}function a(l){return l===null?r(l):t(l)}}function S6(e,t,r){let n,i,a;return l;function l(u){return u===46||u===95?e.check(xu,s,o)(u):u===null||Se(u)||mr(u)||u!==45&&vn(u)?s(u):(a=!0,e.consume(u),l)}function o(u){return u===95?n=!0:(i=n,n=void 0),e.consume(u),l}function s(u){return i||n||!a?r(u):t(u)}}function T6(e,t){let r=0,n=0;return i;function i(l){return l===40?(r++,e.consume(l),i):l===41&&n<r?a(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(xu,t,a)(l):l===null||Se(l)||mr(l)?t(l):(e.consume(l),i)}function a(l){return l===41&&n++,e.consume(l),i}}function A6(e,t,r){return n;function n(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),n):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||Se(o)||mr(o)?t(o):r(o)}function i(o){return o===null||o===40||o===91||Se(o)||mr(o)?t(o):n(o)}function a(o){return Ze(o)?l(o):r(o)}function l(o){return o===59?(e.consume(o),n):Ze(o)?(e.consume(o),l):r(o)}}function E6(e,t,r){return n;function n(a){return e.consume(a),i}function i(a){return Qe(a)?r(a):t(a)}}function Su(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Se(e)}function Tu(e){return!Ze(e)}function Au(e){return!(e===47||Z0(e))}function Z0(e){return e===43||e===45||e===46||e===95||Qe(e)}function J0(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const C6={tokenize:L6,partial:!0};function M6(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:O6,continuation:{tokenize:R6},exit:D6}},text:{91:{name:"gfmFootnoteCall",tokenize:N6},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:z6,resolveTo:I6}}}}function z6(e,t,r){const n=this;let i=n.events.length;const a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let l;for(;i--;){const s=n.events[i][1];if(s.type==="labelImage"){l=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return o;function o(s){if(!l||!l._balanced)return r(s);const u=Tt(n.sliceSerialize({start:l.end,end:n.now()}));return u.codePointAt(0)!==94||!a.includes(u.slice(1))?r(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s))}}function I6(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},o=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",l,t],["exit",l,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...o),e}function N6(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a=0,l;return o;function o(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),s}function s(h){return h!==94?r(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",u)}function u(h){if(a>999||h===93&&!l||h===null||h===91||Se(h))return r(h);if(h===93){e.exit("chunkString");const d=e.exit("gfmFootnoteCallString");return i.includes(Tt(n.sliceSerialize(d)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(h)}return Se(h)||(l=!0),a++,e.consume(h),h===92?f:u}function f(h){return h===91||h===92||h===93?(e.consume(h),a++,u):u(h)}}function O6(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,l=0,o;return s;function s(v){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(v){return v===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):r(v)}function f(v){if(l>999||v===93&&!o||v===null||v===91||Se(v))return r(v);if(v===93){e.exit("chunkString");const b=e.exit("gfmFootnoteDefinitionLabelString");return a=Tt(n.sliceSerialize(b)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(v),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Se(v)||(o=!0),l++,e.consume(v),v===92?h:f}function h(v){return v===91||v===92||v===93?(e.consume(v),l++,f):f(v)}function d(v){return v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),i.includes(a)||i.push(a),fe(e,p,"gfmFootnoteDefinitionWhitespace")):r(v)}function p(v){return t(v)}}function R6(e,t,r){return e.check(Xr,t,e.attempt(C6,t,r))}function D6(e){e.exit("gfmFootnoteDefinition")}function L6(e,t,r){const n=this;return fe(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const l=n.events[n.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(a):r(a)}}function B6(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:a,resolveAll:i};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function i(l,o){let s=-1;for(;++s<l.length;)if(l[s][0]==="enter"&&l[s][1].type==="strikethroughSequenceTemporary"&&l[s][1]._close){let u=s;for(;u--;)if(l[u][0]==="exit"&&l[u][1].type==="strikethroughSequenceTemporary"&&l[u][1]._open&&l[s][1].end.offset-l[s][1].start.offset===l[u][1].end.offset-l[u][1].start.offset){l[s][1].type="strikethroughSequence",l[u][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},l[u][1].start),end:Object.assign({},l[s][1].end)},h={type:"strikethroughText",start:Object.assign({},l[u][1].end),end:Object.assign({},l[s][1].start)},d=[["enter",f,o],["enter",l[u][1],o],["exit",l[u][1],o],["enter",h,o]],p=o.parser.constructs.insideSpan.null;p&&mt(d,d.length,0,yn(p,l.slice(u+1,s),o)),mt(d,d.length,0,[["exit",h,o],["enter",l[s][1],o],["exit",l[s][1],o],["exit",f,o]]),mt(l,u-1,s-u+3,d),s=u+d.length-2;break}}for(s=-1;++s<l.length;)l[s][1].type==="strikethroughSequenceTemporary"&&(l[s][1].type="data");return l}function a(l,o,s){const u=this.previous,f=this.events;let h=0;return d;function d(v){return u===126&&f[f.length-1][1].type!=="characterEscape"?s(v):(l.enter("strikethroughSequenceTemporary"),p(v))}function p(v){const b=Mr(u);if(v===126)return h>1?s(v):(l.consume(v),h++,p);if(h<2&&!r)return s(v);const C=l.exit("strikethroughSequenceTemporary"),w=Mr(v);return C._open=!w||w===2&&!!b,C._close=!b||b===2&&!!w,o(v)}}}class F6{constructor(){this.map=[]}add(t,r,n){P6(this,t,r,n)}consume(t){if(this.map.sort(function(a,l){return a[0]-l[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let i=n.pop();for(;i;){for(const a of i)t.push(a);i=n.pop()}this.map.length=0}}function P6(e,t,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=r,e.map[i][2].push(...n);return}i+=1}e.map.push([t,r,n])}}function _6(e,t){let r=!1;const n=[];for(;t<e.length;){const i=e[t];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function H6(){return{flow:{null:{name:"table",tokenize:j6,resolveAll:q6}}}}function j6(e,t,r){const n=this;let i=0,a=0,l;return o;function o(N){let V=n.events.length-1;for(;V>-1;){const re=n.events[V][1].type;if(re==="lineEnding"||re==="linePrefix")V--;else break}const G=V>-1?n.events[V][1].type:null,le=G==="tableHead"||G==="tableRow"?I:s;return le===I&&n.parser.lazy[n.now().line]?r(N):le(N)}function s(N){return e.enter("tableHead"),e.enter("tableRow"),u(N)}function u(N){return N===124||(l=!0,a+=1),f(N)}function f(N){return N===null?r(N):ee(N)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),p):r(N):me(N)?fe(e,f,"whitespace")(N):(a+=1,l&&(l=!1,i+=1),N===124?(e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),l=!0,f):(e.enter("data"),h(N)))}function h(N){return N===null||N===124||Se(N)?(e.exit("data"),f(N)):(e.consume(N),N===92?d:h)}function d(N){return N===92||N===124?(e.consume(N),h):h(N)}function p(N){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(N):(e.enter("tableDelimiterRow"),l=!1,me(N)?fe(e,v,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):v(N))}function v(N){return N===45||N===58?C(N):N===124?(l=!0,e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),b):L(N)}function b(N){return me(N)?fe(e,C,"whitespace")(N):C(N)}function C(N){return N===58?(a+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(N),e.exit("tableDelimiterMarker"),w):N===45?(a+=1,w(N)):N===null||ee(N)?D(N):L(N)}function w(N){return N===45?(e.enter("tableDelimiterFiller"),A(N)):L(N)}function A(N){return N===45?(e.consume(N),A):N===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(N),e.exit("tableDelimiterMarker"),z):(e.exit("tableDelimiterFiller"),z(N))}function z(N){return me(N)?fe(e,D,"whitespace")(N):D(N)}function D(N){return N===124?v(N):N===null||ee(N)?!l||i!==a?L(N):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(N)):L(N)}function L(N){return r(N)}function I(N){return e.enter("tableRow"),P(N)}function P(N){return N===124?(e.enter("tableCellDivider"),e.consume(N),e.exit("tableCellDivider"),P):N===null||ee(N)?(e.exit("tableRow"),t(N)):me(N)?fe(e,P,"whitespace")(N):(e.enter("data"),X(N))}function X(N){return N===null||N===124||Se(N)?(e.exit("data"),P(N)):(e.consume(N),N===92?H:X)}function H(N){return N===92||N===124?(e.consume(N),X):X(N)}}function q6(e,t){let r=-1,n=!0,i=0,a=[0,0,0,0],l=[0,0,0,0],o=!1,s=0,u,f,h;const d=new F6;for(;++r<e.length;){const p=e[r],v=p[1];p[0]==="enter"?v.type==="tableHead"?(o=!1,s!==0&&(Eu(d,t,s,u,f),f=void 0,s=0),u={type:"table",start:Object.assign({},v.start),end:Object.assign({},v.end)},d.add(r,0,[["enter",u,t]])):v.type==="tableRow"||v.type==="tableDelimiterRow"?(n=!0,h=void 0,a=[0,0,0,0],l=[0,r+1,0,0],o&&(o=!1,f={type:"tableBody",start:Object.assign({},v.start),end:Object.assign({},v.end)},d.add(r,0,[["enter",f,t]])),i=v.type==="tableDelimiterRow"?2:f?3:1):i&&(v.type==="data"||v.type==="tableDelimiterMarker"||v.type==="tableDelimiterFiller")?(n=!1,l[2]===0&&(a[1]!==0&&(l[0]=l[1],h=Zn(d,t,a,i,void 0,h),a=[0,0,0,0]),l[2]=r)):v.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(l[0]=l[1],h=Zn(d,t,a,i,void 0,h)),a=l,l=[a[1],r,0,0])):v.type==="tableHead"?(o=!0,s=r):v.type==="tableRow"||v.type==="tableDelimiterRow"?(s=r,a[1]!==0?(l[0]=l[1],h=Zn(d,t,a,i,r,h)):l[1]!==0&&(h=Zn(d,t,l,i,r,h)),i=0):i&&(v.type==="data"||v.type==="tableDelimiterMarker"||v.type==="tableDelimiterFiller")&&(l[3]=r)}for(s!==0&&Eu(d,t,s,u,f),d.consume(t.events),r=-1;++r<t.events.length;){const p=t.events[r];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=_6(t.events,r))}return e}function Zn(e,t,r,n,i,a){const l=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(a.end=Object.assign({},Lr(t.events,r[0])),e.add(r[0],0,[["exit",a,t]]));const s=Lr(t.events,r[1]);if(a={type:l,start:Object.assign({},s),end:Object.assign({},s)},e.add(r[1],0,[["enter",a,t]]),r[2]!==0){const u=Lr(t.events,r[2]),f=Lr(t.events,r[3]),h={type:o,start:Object.assign({},u),end:Object.assign({},f)};if(e.add(r[2],0,[["enter",h,t]]),n!==2){const d=t.events[r[2]],p=t.events[r[3]];if(d[1].end=Object.assign({},p[1].end),d[1].type="chunkText",d[1].contentType="text",r[3]>r[2]+1){const v=r[2]+1,b=r[3]-r[2]-1;e.add(v,b,[])}}e.add(r[3]+1,0,[["exit",h,t]])}return i!==void 0&&(a.end=Object.assign({},Lr(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function Eu(e,t,r,n,i){const a=[],l=Lr(t.events,r);i&&(i.end=Object.assign({},l),a.push(["exit",i,t])),n.end=Object.assign({},l),a.push(["exit",n,t]),e.add(r+1,0,a)}function Lr(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const U6={name:"tasklistCheck",tokenize:G6};function V6(){return{text:{91:U6}}}function G6(e,t,r){const n=this;return i;function i(s){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),a)}function a(s){return Se(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),l):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),l):r(s)}function l(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):r(s)}function o(s){return ee(s)?t(s):me(s)?e.check({tokenize:W6},t,r)(s):r(s)}}function W6(e,t,r){return fe(e,n,"whitespace");function n(i){return i===null?r(i):t(i)}}function Y6(e){return ol([y6(),M6(),B6(e),H6(),V6()])}const X6={};function $6(e){const t=this,r=e||X6,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),l=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(Y6(r)),a.push(p6()),l.push(d6(r))}const K6=e=>{if(!e||typeof e!="string")return"";let t=e;try{t=t.replace(/\r\n/g,`
701
699
  `).replace(/\r/g,`
702
700
  `),t=t.replace(/\\\[\s*([\s\S]*?)\s*\\\]/g,(n,i)=>{const a=i.trim();return a?`
703
701
  $$${a}$$
@@ -713,8 +711,8 @@ $1 $2
713
711
 
714
712
  `),t=t.replace(/\n```/g,"\n\n```"),t=t.replace(/```\n/g,"```\n\n"),t=t.replace(/[ \t]+$/gm,"");const r=new RegExp("(?<!\\]\\()(?<!\\$)(https?:\\/\\/[^\\s)$]+)(?!\\))(?!\\$)","g");t=t.replace(r,"[$1]($1)"),t=t.trim(),t&&!t.endsWith(`
715
713
  `)&&(t+=`
716
- `)}catch(r){return console.warn("Error preprocessing markdown:",r),e}return t},Q6=({children:e,href:t,...r})=>B.jsx("a",{...r,href:t,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 underline decoration-1 underline-offset-2 transition-colors duration-200",style:{wordBreak:"break-word",overflowWrap:"break-word"},children:e}),Cu=({content:e,className:t=""})=>{const r=K6(e);return r?B.jsx("div",{className:`markdown-content ${t}`,style:{color:"inherit",fontSize:"inherit",lineHeight:"1.6",wordBreak:"break-word",overflowWrap:"break-word",maxWidth:"100%"},children:B.jsx(Xm,{remarkPlugins:[ud,$6],rehypePlugins:[jd],components:{a:Q6,p:({children:n,...i})=>B.jsx("p",{...i,style:{color:"inherit",margin:"0 0 12px 0",lineHeight:"1.6",wordBreak:"break-word",overflowWrap:"break-word"},children:n}),h1:({children:n,...i})=>B.jsx("h1",{...i,style:{color:"inherit",margin:"20px 0 12px 0",fontSize:"1.5em",fontWeight:"600",lineHeight:"1.4"},children:n}),h2:({children:n,...i})=>B.jsx("h2",{...i,style:{color:"inherit",margin:"18px 0 10px 0",fontSize:"1.3em",fontWeight:"600",lineHeight:"1.4"},children:n}),h3:({children:n,...i})=>B.jsx("h3",{...i,style:{color:"inherit",margin:"16px 0 8px 0",fontSize:"1.2em",fontWeight:"600",lineHeight:"1.4"},children:n}),h4:({children:n,...i})=>B.jsx("h4",{...i,style:{color:"inherit",margin:"14px 0 6px 0",fontSize:"1.1em",fontWeight:"600",lineHeight:"1.4"},children:n}),h5:({children:n,...i})=>B.jsx("h5",{...i,style:{color:"inherit",margin:"12px 0 6px 0",fontSize:"1.05em",fontWeight:"600",lineHeight:"1.4"},children:n}),h6:({children:n,...i})=>B.jsx("h6",{...i,style:{color:"inherit",margin:"12px 0 6px 0",fontSize:"1em",fontWeight:"600",lineHeight:"1.4"},children:n}),ul:({children:n,...i})=>B.jsx("ul",{...i,style:{color:"inherit",margin:"8px 0 12px 0",paddingLeft:"20px",listStyleType:"disc"},children:n}),ol:({children:n,...i})=>B.jsx("ol",{...i,style:{color:"inherit",margin:"8px 0 12px 0",paddingLeft:"20px",listStyleType:"decimal"},children:n}),li:({children:n,...i})=>B.jsx("li",{...i,style:{color:"inherit",marginBottom:"4px",lineHeight:"1.6"},children:n}),pre:({children:n,...i})=>B.jsx("pre",{...i,style:{overflow:"auto",padding:"12px 16px",margin:"12px 0",borderRadius:"6px",backgroundColor:"rgba(0, 0, 0, 0.06)",border:"1px solid rgba(0, 0, 0, 0.1)",fontSize:"0.9em",lineHeight:"1.4",fontFamily:'Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},children:n}),code:({children:n,...i})=>i.inline?B.jsx("code",{...i,style:{padding:"2px 6px",borderRadius:"4px",backgroundColor:"rgba(0, 0, 0, 0.06)",border:"1px solid rgba(0, 0, 0, 0.1)",fontSize:"0.9em",fontFamily:'Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},children:n}):B.jsx("code",{...i,style:{fontSize:"0.9em",fontFamily:'Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},children:n}),blockquote:({children:n,...i})=>B.jsx("blockquote",{...i,style:{margin:"12px 0",paddingLeft:"16px",borderLeft:"4px solid rgba(0, 0, 0, 0.2)",fontStyle:"italic",color:"inherit",opacity:.8},children:n}),hr:({...n})=>B.jsx("hr",{...n,style:{margin:"20px 0",border:"none",borderTop:"1px solid rgba(0, 0, 0, 0.2)",opacity:.5}}),table:({children:n,...i})=>B.jsx("div",{style:{overflowX:"auto",margin:"12px 0"},children:B.jsx("table",{...i,style:{width:"100%",borderCollapse:"collapse",fontSize:"0.9em"},children:n})}),thead:({children:n,...i})=>B.jsx("thead",{...i,style:{backgroundColor:"rgba(0, 0, 0, 0.05)"},children:n}),th:({children:n,...i})=>B.jsx("th",{...i,style:{padding:"8px 12px",border:"1px solid rgba(0, 0, 0, 0.2)",fontWeight:"600",textAlign:"left"},children:n}),td:({children:n,...i})=>B.jsx("td",{...i,style:{padding:"8px 12px",border:"1px solid rgba(0, 0, 0, 0.2)"},children:n}),br:({...n})=>B.jsx("br",{...n})},children:r})}):null},Z6=({content:e,onComplete:t,messageIndex:r,inputRef:n,hasBeenAnimated:i,typingProgressRef:a,isTypingRef:l,setIsAnimating:o,scrollToBottom:s})=>{const[u,f]=J.useState(()=>{const D=a.current.get(r);return D?e.slice(0,D):""}),[h,d]=J.useState(!0),p=J.useRef(a.current.get(r)||0),v=J.useRef(!1),b=J.useRef(),C=J.useRef(!1),w=J.useRef(e);J.useEffect(()=>{if(i(r)){f(e),d(!1),t(),a.current.set(r,e.length);return}if(C.current&&e!==w.current){w.current=e;return}if(!C.current)return C.current=!0,w.current=e,setTimeout(()=>{A()},10),()=>{b.current&&cancelAnimationFrame(b.current)}},[r,e,i,t]);const A=()=>{if(v.current||!C.current)return;v.current=!0,l.current=!0,o(!0);let D=p.current,L=0,I=0;const P=15;d(D===0);const X=H=>{if(!(!v.current||!C.current)){if(H-I<P){b.current=requestAnimationFrame(X);return}if(I=H,D<w.current.length){const N=w.current.slice(0,D+1);f(N),a.current.set(r,D+1),D===0&&d(!1),H-L>ve.ANIMATIONS.ANIMATION_SCROLL_INTERVAL&&(s(),L=H),D++,p.current=D,b.current=requestAnimationFrame(X)}else z()}};setTimeout(()=>{v.current&&C.current&&(b.current=requestAnimationFrame(X))},0)},z=()=>{l.current=!1,t(),v.current=!1,o(!1),s(),a.current.set(r,w.current.length)};return J.useEffect(()=>{const D=()=>{v.current&&(b.current&&cancelAnimationFrame(b.current),f(w.current),d(!1),z(),a.current.set(r,w.current.length))},L=n.current;return L&&L.addEventListener("input",D),()=>{L&&L.removeEventListener("input",D)}},[n]),J.useEffect(()=>{let D=null;const L=()=>{if(document.hidden)b.current&&(cancelAnimationFrame(b.current),v.current=!1),D=Date.now();else if(C.current&&!v.current&&p.current>0&&p.current<w.current.length){const I=Date.now();D&&I-D>ve.ANIMATIONS.VISIBILITY_SKIP_THRESHOLD?(f(w.current),d(!1),z(),a.current.set(r,w.current.length)):A(),D=null}};return document.addEventListener("visibilitychange",L),()=>{document.removeEventListener("visibilitychange",L)}},[]),h&&p.current===0?B.jsxs("div",{className:"text-gray-500",children:[B.jsx("span",{className:"font-medium",children:"Thinking"}),B.jsxs("span",{className:"animate-dots ml-1",children:[B.jsx("span",{className:"dot",children:"."}),B.jsx("span",{className:"dot",children:"."}),B.jsx("span",{className:"dot",children:"."})]})]}):B.jsx("div",{children:B.jsx(Cu,{content:u})})},J6=({message:e,index:t,isLatestAssistantMessage:r,showTypingAnimation:n,theme:i,copiedMessageId:a,onCopyToClipboard:l,onMarkMessageAnimated:o,messagesLength:s,scrollToBottom:u,inputRef:f,hasBeenAnimated:h,typingProgressRef:d,isTypingRef:p,setIsAnimating:v,formatTime:b,lastMessageRef:C})=>{const w=new Date;return w.setMinutes(w.getMinutes()-(s-t)),B.jsx("div",{className:cr("flex",e.role==="user"?"justify-end":"justify-start"),ref:t===s-1?C:null,children:B.jsxs("div",{className:cr("max-w-[85%] rounded-xl p-4 shadow-sm"),style:{background:e.role==="user"?i.message.user:i.message.assistant,color:e.role==="user"?i.message.userText:i.text.primary,border:e.role==="assistant"?`1px solid ${i.input.border}`:"none",width:"100%",maxWidth:"85%",wordWrap:"break-word",overflowWrap:"anywhere",borderRadius:e.role==="assistant"?"0.75rem":void 0},children:[e.role==="assistant"?e.content?!h(t)&&r?B.jsx(Z6,{content:e.content,onComplete:()=>o(t,s,u),messageIndex:t,inputRef:f,hasBeenAnimated:h,typingProgressRef:d,isTypingRef:p,setIsAnimating:v,scrollToBottom:u}):B.jsx(Cu,{content:e.content}):B.jsxs("div",{className:"text-gray-500",children:[B.jsx("span",{className:"font-medium",children:"Thinking"}),B.jsxs("span",{className:"animate-dots ml-1",children:[B.jsx("span",{className:"dot",children:"."}),B.jsx("span",{className:"dot",children:"."}),B.jsx("span",{className:"dot",children:"."})]})]}):B.jsx("p",{className:"text-base",style:{overflowWrap:"anywhere",wordBreak:"break-word",whiteSpace:"pre-wrap",width:"100%"},children:e.content}),B.jsxs("div",{className:cr("flex text-xs mt-2",e.role==="user"?"justify-start text-white/70":"justify-between text-gray-400"),children:[B.jsx("span",{children:b(w)}),e.role==="assistant"&&!n&&B.jsxs("div",{className:"relative",children:[B.jsx("button",{onClick:()=>l(e.content,t),className:"ml-2 p-1 rounded-full",style:{color:i.text.secondary,transition:"color 0.2s ease",background:"transparent",border:"none",outline:"none"},onMouseEnter:A=>{A.currentTarget.style.setProperty("color",i.text.primary,"important"),A.currentTarget.style.setProperty("background","transparent","important")},onMouseLeave:A=>{A.currentTarget.style.setProperty("color",i.text.secondary,"important"),A.currentTarget.style.setProperty("background","transparent","important")},onMouseDown:A=>{A.currentTarget.style.setProperty("color",i.text.primary,"important"),A.currentTarget.style.setProperty("background","transparent","important"),A.currentTarget.style.setProperty("transform","none","important")},onMouseUp:A=>{A.currentTarget.style.setProperty("color",i.text.primary,"important"),A.currentTarget.style.setProperty("background","transparent","important")},"aria-label":"Copy to clipboard",children:a===t?B.jsx(Gu,{size:16}):B.jsx(Xu,{size:16})}),a===t&&B.jsx("div",{className:"absolute bottom-full right-0 mb-1 px-2 py-1 text-xs rounded-md shadow-sm animate-fade-in-out whitespace-nowrap",style:{backgroundColor:i.secondary,color:i.text.inverse},children:"Copied!"})]})]})]})})},e3=({messages:e,isLoading:t,theme:r,currentConfig:n,showScrollTop:i,showScrollBottom:a,isAnimating:l,messagesContainerRef:o,messagesEndRef:s,scrollToTop:u,scrollToBottom:f,handleScroll:h,sendMessage:d,focusInput:p,copiedMessageId:v,onCopyToClipboard:b,onMarkMessageAnimated:C,inputRef:w,hasBeenAnimated:A,typingProgressRef:z,isTypingRef:D,setIsAnimating:L,formatTime:I,lastMessageRef:P,maxSuggestedQuestionLength:X,maxSuggestedQuestionQueryLength:H})=>B.jsxs("div",{ref:o,className:"flex-1 p-2 overflow-y-auto scroll-smooth relative messages-container",style:{background:r.input.background,overflowY:"auto"},onScroll:h,children:[i&&B.jsx("button",{onClick:u,className:"sticky top-3 left-[calc(100%-48px)] z-10 flex items-center justify-center p-2 rounded-full shadow-md",style:{backgroundColor:r.primary,color:r.text.inverse},"aria-label":"Scroll to top",title:"Scroll to top",children:B.jsx(Yu,{size:ve.BUTTON_SIZES.ICON_SIZES.BUTTON})}),a&&!l&&B.jsx("button",{onClick:()=>f(),className:"sticky bottom-3 left-[calc(100%-48px)] z-10 flex items-center justify-center p-2 rounded-full shadow-md",style:{backgroundColor:r.primary,color:r.text.inverse},"aria-label":"Scroll to bottom",title:"Scroll to bottom",children:B.jsx(Wu,{size:ve.BUTTON_SIZES.ICON_SIZES.BUTTON})}),e.length===0?B.jsxs("div",{className:"py-4",children:[B.jsx("div",{className:"w-full px-3 mb-4",children:B.jsxs("div",{className:"max-w-lg mx-auto sm:max-w-2xl",children:[B.jsx("h4",{className:"font-medium text-lg mb-2 text-left px-1",style:{color:r.text.primary},children:n.welcome.title}),B.jsx("p",{className:"text-base text-left px-1 py-2",style:{color:r.text.secondary},children:n.welcome.description})]})}),B.jsx("div",{className:"w-full px-3",children:B.jsx("div",{className:"flex flex-col gap-1 max-w-lg mx-auto sm:max-w-2xl",children:n.suggestedQuestions.slice(0,6).map((N,V)=>{var he,de;const G=H??ve.MAX_SUGGESTED_QUESTION_QUERY_LENGTH,le=X??ve.MAX_SUGGESTED_QUESTION_LENGTH,re=((he=N.query)==null?void 0:he.length)>G?N.query.substring(0,G):N.query,Q=((de=N.text)==null?void 0:de.length)>le?`${N.text.substring(0,le)}...`:N.text;return B.jsx("button",{onClick:()=>{d(re),setTimeout(()=>{p()},ve.ANIMATIONS.TOGGLE_DELAY)},className:"flex items-center w-full cursor-pointer px-1 py-3 text-left text-base rounded-xl transition-all duration-200 ease-in-out bg-transparent border border-transparent hover:border-primary/40 focus:outline-none focus:ring-2 focus:ring-primary/30",style:{color:r.suggestedQuestions.text,minHeight:"48px",fontWeight:500},onMouseEnter:xe=>{xe.currentTarget.style.setProperty("background","transparent","important"),xe.currentTarget.style.setProperty("backgroundColor","transparent","important")},onMouseLeave:xe=>{xe.currentTarget.style.setProperty("background","transparent","important"),xe.currentTarget.style.setProperty("backgroundColor","transparent","important")},title:re,children:B.jsx("span",{className:"flex-1 truncate",children:Q})},V)})})})]}):B.jsxs("div",{className:"space-y-3",children:[e.map((N,V)=>{const G=N.role==="assistant"&&V===e.length-1,le=G&&t;return B.jsx(J6,{message:N,index:V,isLatestAssistantMessage:G,showTypingAnimation:le,theme:r,copiedMessageId:v,onCopyToClipboard:b,onMarkMessageAnimated:C,messagesLength:e.length,scrollToBottom:f,inputRef:w,hasBeenAnimated:A,typingProgressRef:z,isTypingRef:D,setIsAnimating:L,formatTime:I,lastMessageRef:P},V)}),t&&e.length===0&&B.jsx("div",{className:"flex justify-start",children:B.jsx("div",{className:"bg-white border border-gray-200 rounded-xl rounded-tl-none max-w-[85%] p-4 shadow-sm",children:B.jsxs("div",{className:"text-gray-500",children:[B.jsx("span",{className:"font-medium text-lg",children:"Thinking"}),B.jsxs("span",{className:"animate-dots ml-1",children:[B.jsx("span",{className:"dot",children:"."}),B.jsx("span",{className:"dot",children:"."}),B.jsx("span",{className:"dot",children:"."})]})]})})}),B.jsx("div",{ref:s})]})]}),t3=({message:e,isFocused:t,isLoading:r,theme:n,inputRef:i,handleMessageChange:a,handleKeyDown:l,handleSendMessage:o,setIsFocused:s})=>B.jsxs("div",{className:"p-4 border-t-0 shrink-0 relative",style:{background:`${n.input.background} !important`,backgroundColor:`${n.input.background} !important`},children:[B.jsx("div",{className:"absolute top-0 left-0 right-0 h-px",style:{background:"linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent)"}}),B.jsxs("div",{className:cr("relative rounded-2xl transition-all duration-300 overflow-hidden input-modern shadow-soft",t?"ring-2 ring-opacity-50":"ring-0"),style:{borderColor:t?n.secondary:n.input.border,border:"1px solid",background:`${n.input.background} !important`,backgroundColor:`${n.input.background} !important`,boxShadow:"none"},children:[B.jsx("textarea",{ref:i,value:e,onChange:a,onKeyDown:l,onFocus:()=>s(!0),onBlur:()=>s(!1),placeholder:"Type your message...",maxLength:ve.MAX_MESSAGE_LENGTH,id:"chat-message-input",name:"chat-message-input",className:"w-full resize-none",style:{background:`${n.input.background} !important`,backgroundColor:`${n.input.background} !important`,color:n.text.primary,height:"52px",minHeight:"52px",maxHeight:"120px",overflow:"auto",lineHeight:"1.5",boxSizing:"border-box",fontWeight:"400",textAlign:"left",border:"none !important",boxShadow:"none !important",outline:"none !important",paddingLeft:"24px",paddingRight:"60px",paddingTop:"16px",paddingBottom:"16px",fontSize:"16px",fontFamily:"inherit"}}),B.jsxs("button",{onClick:o,disabled:!e.trim()||r,className:cr("absolute right-2 top-1/2 transform -translate-y-1/2 rounded-xl transition-all duration-300 flex items-center justify-center shrink-0 overflow-hidden group",e.trim()&&!r?"hover:scale-105":"cursor-not-allowed opacity-50"),style:{background:e.trim()&&!r?`linear-gradient(135deg, ${n.secondary}, ${n.secondary}e6)`:"linear-gradient(135deg, #e5e7eb, #f3f4f6)",color:e.trim()&&!r?"white":"#9ca3af",width:"48px",height:"44px",minHeight:"44px",padding:"0",border:"none",boxShadow:e.trim()&&!r?`0 4px 12px -2px ${n.secondary}40, 0 2px 4px -1px ${n.secondary}20`:"0 2px 4px -1px rgba(0, 0, 0, 0.1)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,position:"absolute",zIndex:10,transform:"translateY(-50%)"},onMouseEnter:u=>{u.currentTarget.style.setProperty("transform","translateY(-50%)","important"),e.trim()&&!r&&u.currentTarget.style.setProperty("boxShadow",`0 6px 16px -2px ${n.secondary}50, 0 4px 8px -1px ${n.secondary}30`,"important")},onMouseLeave:u=>{u.currentTarget.style.setProperty("transform","translateY(-50%)","important"),e.trim()&&!r&&u.currentTarget.style.setProperty("boxShadow",`0 4px 12px -2px ${n.secondary}40, 0 2px 4px -1px ${n.secondary}20`,"important")},"aria-label":"Send message",children:[B.jsx("div",{className:"absolute inset-0 opacity-0 transition-opacity duration-300 group-hover:opacity-100",style:{background:"linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0))"}}),B.jsx($u,{size:ve.BUTTON_SIZES.ICON_SIZES.SEND,className:"transition-transform duration-200 drop-shadow-sm",style:{strokeWidth:2}})]}),e.length>0&&B.jsxs("div",{className:"absolute bottom-2 right-16 text-xs px-2.5 py-1 rounded-full transition-all duration-200 backdrop-blur-sm",style:{...kc(e.length,ve.MAX_MESSAGE_LENGTH),backdropFilter:"blur(8px)",WebkitBackdropFilter:"blur(8px)",fontWeight:"500"},children:[e.length,"/",ve.MAX_MESSAGE_LENGTH]})]})]}),Jn=e=>{var ut,lr;const[t,r]=J.useState(!1),[n,i]=J.useState(!1),[a,l]=J.useState(!1),[o,s]=J.useState(null),{isAnimating:u,typingProgressRef:f,isTypingRef:h,lastMessageRef:d,markMessageAnimated:p,hasBeenAnimated:v,clearAnimationTrackers:b,setIsAnimating:C}=Cc(),{showScrollTop:w,showScrollBottom:A,messagesContainerRef:z,messagesEndRef:D,shouldScrollRef:L,scrollTimeoutRef:I,scrollToBottom:P,scrollToTop:X,handleScroll:H}=Ec(u),[N,V]=J.useState(window.innerWidth);J.useEffect(()=>{const je=()=>V(window.innerWidth);return window.addEventListener("resize",je),()=>window.removeEventListener("resize",je)},[]);const G=ur(),[le,re]=J.useState({...G,...e}),Q=le.theme||Ca;J.useEffect(()=>{e.apiUrl&&e.apiKey&&e.sessionId&&Sr(e.apiUrl,e.apiKey,e.sessionId)},[e.apiUrl,e.apiKey,e.sessionId]),J.useEffect(()=>{const je=Et=>{re(Et.detail)};return window.addEventListener("chatbot-config-update",je),()=>{window.removeEventListener("chatbot-config-update",je)}},[]),J.useEffect(()=>{e&&re(je=>({...je,...e}))},[e]),J.useEffect(()=>{Sc({MAX_SUGGESTED_QUESTION_LENGTH:e.maxSuggestedQuestionLength??ve.MAX_SUGGESTED_QUESTION_LENGTH,MAX_SUGGESTED_QUESTION_QUERY_LENGTH:e.maxSuggestedQuestionQueryLength??ve.MAX_SUGGESTED_QUESTION_QUERY_LENGTH})},[e.maxSuggestedQuestionLength,e.maxSuggestedQuestionQueryLength]);const{messages:he,isLoading:de,sendMessage:xe,clearMessages:Ve}=pi(),{message:S,isFocused:ze,inputRef:Se,handleMessageChange:E,handleKeyDown:He,handleSendMessage:Ge,setIsFocused:Ne,focusInput:We}=Mc({onSendMessage:je=>{L.current=!0,xe(je),setTimeout(()=>P(!0),ve.ANIMATIONS.TOGGLE_DELAY)},isLoading:de,isOpen:t});J.useEffect(()=>{he.length===0&&b()},[he.length,b]);const Le=()=>{r(!t),t||(i(!1),setTimeout(()=>P(!0),ve.ANIMATIONS.TOGGLE_DELAY))},Ye=async(je,Et)=>{try{await navigator.clipboard.writeText(je),s(Et),setTimeout(()=>{s(null)},ve.ANIMATIONS.COPY_FEEDBACK_DURATION)}catch(Xt){console.error("Failed to copy text: ",Xt)}},$e=je=>je.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return J.useEffect(()=>{(de||he.length===0)&&P(!0)},[he,de,P]),J.useEffect(()=>()=>{I.current&&clearTimeout(I.current)},[I]),B.jsxs("div",{className:"fixed bottom-8 right-8 z-50 flex flex-col items-end font-sans",style:{fontFamily:wc},children:[t&&B.jsxs("div",{className:"mb-4 w-full rounded-2xl shadow-elegant flex flex-col overflow-hidden border-0 transition-all duration-300 ease-in-out animate-slide-in-up backdrop-blur-lg",style:{background:Q.input.background,height:ve.WINDOW_DIMENSIONS.HEIGHT,maxHeight:ve.WINDOW_DIMENSIONS.MAX_HEIGHT,width:bc(N),minWidth:xc(N),backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",border:"1px solid rgba(255, 255, 255, 0.2)",boxShadow:`
714
+ `)}catch(r){return console.warn("Error preprocessing markdown:",r),e}return t},Q6=({children:e,href:t,...r})=>B.jsx("a",{...r,href:t,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:text-blue-800 underline decoration-1 underline-offset-2 transition-colors duration-200",style:{wordBreak:"break-word",overflowWrap:"break-word"},children:e}),Cu=({content:e,className:t=""})=>{const r=K6(e);return r?B.jsx("div",{className:`markdown-content ${t}`,style:{color:"inherit",fontSize:"inherit",lineHeight:"1.6",wordBreak:"break-word",overflowWrap:"break-word",maxWidth:"100%"},children:B.jsx(Xm,{remarkPlugins:[ud,$6],rehypePlugins:[jd],components:{a:Q6,p:({children:n,...i})=>B.jsx("p",{...i,style:{color:"inherit",margin:"0 0 12px 0",lineHeight:"1.6",wordBreak:"break-word",overflowWrap:"break-word"},children:n}),h1:({children:n,...i})=>B.jsx("h1",{...i,style:{color:"inherit",margin:"20px 0 12px 0",fontSize:"1.5em",fontWeight:"600",lineHeight:"1.4"},children:n}),h2:({children:n,...i})=>B.jsx("h2",{...i,style:{color:"inherit",margin:"18px 0 10px 0",fontSize:"1.3em",fontWeight:"600",lineHeight:"1.4"},children:n}),h3:({children:n,...i})=>B.jsx("h3",{...i,style:{color:"inherit",margin:"16px 0 8px 0",fontSize:"1.2em",fontWeight:"600",lineHeight:"1.4"},children:n}),h4:({children:n,...i})=>B.jsx("h4",{...i,style:{color:"inherit",margin:"14px 0 6px 0",fontSize:"1.1em",fontWeight:"600",lineHeight:"1.4"},children:n}),h5:({children:n,...i})=>B.jsx("h5",{...i,style:{color:"inherit",margin:"12px 0 6px 0",fontSize:"1.05em",fontWeight:"600",lineHeight:"1.4"},children:n}),h6:({children:n,...i})=>B.jsx("h6",{...i,style:{color:"inherit",margin:"12px 0 6px 0",fontSize:"1em",fontWeight:"600",lineHeight:"1.4"},children:n}),ul:({children:n,...i})=>B.jsx("ul",{...i,style:{color:"inherit",margin:"8px 0 12px 0",paddingLeft:"20px",listStyleType:"disc"},children:n}),ol:({children:n,...i})=>B.jsx("ol",{...i,style:{color:"inherit",margin:"8px 0 12px 0",paddingLeft:"20px",listStyleType:"decimal"},children:n}),li:({children:n,...i})=>B.jsx("li",{...i,style:{color:"inherit",marginBottom:"4px",lineHeight:"1.6"},children:n}),pre:({children:n,...i})=>B.jsx("pre",{...i,style:{overflow:"auto",padding:"12px 16px",margin:"12px 0",borderRadius:"6px",backgroundColor:"rgba(0, 0, 0, 0.06)",border:"1px solid rgba(0, 0, 0, 0.1)",fontSize:"0.9em",lineHeight:"1.4",fontFamily:'Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},children:n}),code:({children:n,...i})=>i.inline?B.jsx("code",{...i,style:{padding:"2px 6px",borderRadius:"4px",backgroundColor:"rgba(0, 0, 0, 0.06)",border:"1px solid rgba(0, 0, 0, 0.1)",fontSize:"0.9em",fontFamily:'Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},children:n}):B.jsx("code",{...i,style:{fontSize:"0.9em",fontFamily:'Monaco, Consolas, "Liberation Mono", "Courier New", monospace'},children:n}),blockquote:({children:n,...i})=>B.jsx("blockquote",{...i,style:{margin:"12px 0",paddingLeft:"16px",borderLeft:"4px solid rgba(0, 0, 0, 0.2)",fontStyle:"italic",color:"inherit",opacity:.8},children:n}),hr:({...n})=>B.jsx("hr",{...n,style:{margin:"20px 0",border:"none",borderTop:"1px solid rgba(0, 0, 0, 0.2)",opacity:.5}}),table:({children:n,...i})=>B.jsx("div",{style:{overflowX:"auto",margin:"12px 0"},children:B.jsx("table",{...i,style:{width:"100%",borderCollapse:"collapse",fontSize:"0.9em"},children:n})}),thead:({children:n,...i})=>B.jsx("thead",{...i,style:{backgroundColor:"rgba(0, 0, 0, 0.05)"},children:n}),th:({children:n,...i})=>B.jsx("th",{...i,style:{padding:"8px 12px",border:"1px solid rgba(0, 0, 0, 0.2)",fontWeight:"600",textAlign:"left"},children:n}),td:({children:n,...i})=>B.jsx("td",{...i,style:{padding:"8px 12px",border:"1px solid rgba(0, 0, 0, 0.2)"},children:n}),br:({...n})=>B.jsx("br",{...n})},children:r})}):null},Z6=({content:e,onComplete:t,messageIndex:r,inputRef:n,hasBeenAnimated:i,typingProgressRef:a,isTypingRef:l,setIsAnimating:o,scrollToBottom:s})=>{const[u,f]=J.useState(()=>{const D=a.current.get(r);return D?e.slice(0,D):""}),[h,d]=J.useState(!0),p=J.useRef(a.current.get(r)||0),v=J.useRef(!1),b=J.useRef(),C=J.useRef(!1),w=J.useRef(e);J.useEffect(()=>{if(i(r)){f(e),d(!1),t(),a.current.set(r,e.length);return}if(C.current&&e!==w.current){w.current=e;return}if(!C.current)return C.current=!0,w.current=e,setTimeout(()=>{A()},10),()=>{b.current&&cancelAnimationFrame(b.current)}},[r,e,i,t]);const A=()=>{if(v.current||!C.current)return;v.current=!0,l.current=!0,o(!0);let D=p.current,L=0,I=0;const P=15;d(D===0);const X=H=>{if(!(!v.current||!C.current)){if(H-I<P){b.current=requestAnimationFrame(X);return}if(I=H,D<w.current.length){const N=w.current.slice(0,D+1);f(N),a.current.set(r,D+1),D===0&&d(!1),H-L>ve.ANIMATIONS.ANIMATION_SCROLL_INTERVAL&&(s(),L=H),D++,p.current=D,b.current=requestAnimationFrame(X)}else z()}};setTimeout(()=>{v.current&&C.current&&(b.current=requestAnimationFrame(X))},0)},z=()=>{l.current=!1,t(),v.current=!1,o(!1),s(),a.current.set(r,w.current.length)};return J.useEffect(()=>{const D=()=>{v.current&&(b.current&&cancelAnimationFrame(b.current),f(w.current),d(!1),z(),a.current.set(r,w.current.length))},L=n.current;return L&&L.addEventListener("input",D),()=>{L&&L.removeEventListener("input",D)}},[n]),J.useEffect(()=>{let D=null;const L=()=>{if(document.hidden)b.current&&(cancelAnimationFrame(b.current),v.current=!1),D=Date.now();else if(C.current&&!v.current&&p.current>0&&p.current<w.current.length){const I=Date.now();D&&I-D>ve.ANIMATIONS.VISIBILITY_SKIP_THRESHOLD?(f(w.current),d(!1),z(),a.current.set(r,w.current.length)):A(),D=null}};return document.addEventListener("visibilitychange",L),()=>{document.removeEventListener("visibilitychange",L)}},[]),h&&p.current===0?B.jsxs("div",{className:"text-gray-500",children:[B.jsx("span",{className:"font-medium",children:"Thinking"}),B.jsxs("span",{className:"animate-dots ml-1",children:[B.jsx("span",{className:"dot",children:"."}),B.jsx("span",{className:"dot",children:"."}),B.jsx("span",{className:"dot",children:"."})]})]}):B.jsx("div",{children:B.jsx(Cu,{content:u})})},J6=({message:e,index:t,isLatestAssistantMessage:r,showTypingAnimation:n,theme:i,copiedMessageId:a,onCopyToClipboard:l,onMarkMessageAnimated:o,messagesLength:s,scrollToBottom:u,inputRef:f,hasBeenAnimated:h,typingProgressRef:d,isTypingRef:p,setIsAnimating:v,formatTime:b,lastMessageRef:C})=>{const w=new Date;return w.setMinutes(w.getMinutes()-(s-t)),B.jsx("div",{className:cr("flex",e.role==="user"?"justify-end":"justify-start"),ref:t===s-1?C:null,children:B.jsxs("div",{className:cr("max-w-[85%] rounded-xl p-4 shadow-sm"),style:{background:e.role==="user"?i.message.user:i.message.assistant,color:e.role==="user"?i.message.userText:i.text.primary,border:e.role==="assistant"?`1px solid ${i.input.border}`:"none",width:"100%",maxWidth:"85%",wordWrap:"break-word",overflowWrap:"anywhere",borderRadius:e.role==="assistant"?"0.75rem":void 0},children:[e.role==="assistant"?e.content?!h(t)&&r?B.jsx(Z6,{content:e.content,onComplete:()=>o(t,s,u),messageIndex:t,inputRef:f,hasBeenAnimated:h,typingProgressRef:d,isTypingRef:p,setIsAnimating:v,scrollToBottom:u}):B.jsx(Cu,{content:e.content}):B.jsxs("div",{className:"text-gray-500",children:[B.jsx("span",{className:"font-medium",children:"Thinking"}),B.jsxs("span",{className:"animate-dots ml-1",children:[B.jsx("span",{className:"dot",children:"."}),B.jsx("span",{className:"dot",children:"."}),B.jsx("span",{className:"dot",children:"."})]})]}):B.jsx("p",{className:"text-base",style:{overflowWrap:"anywhere",wordBreak:"break-word",whiteSpace:"pre-wrap",width:"100%"},children:e.content}),B.jsxs("div",{className:cr("flex text-xs mt-2",e.role==="user"?"justify-start text-white/70":"justify-between text-gray-400"),children:[B.jsx("span",{children:b(w)}),e.role==="assistant"&&!n&&B.jsxs("div",{className:"relative",children:[B.jsx("button",{onClick:()=>l(e.content,t),className:"ml-2 p-1 rounded-full",style:{color:i.text.secondary,transition:"color 0.2s ease",background:"transparent",border:"none",outline:"none"},onMouseEnter:A=>{A.currentTarget.style.setProperty("color",i.text.primary,"important"),A.currentTarget.style.setProperty("background","transparent","important")},onMouseLeave:A=>{A.currentTarget.style.setProperty("color",i.text.secondary,"important"),A.currentTarget.style.setProperty("background","transparent","important")},onMouseDown:A=>{A.currentTarget.style.setProperty("color",i.text.primary,"important"),A.currentTarget.style.setProperty("background","transparent","important"),A.currentTarget.style.setProperty("transform","none","important")},onMouseUp:A=>{A.currentTarget.style.setProperty("color",i.text.primary,"important"),A.currentTarget.style.setProperty("background","transparent","important")},"aria-label":"Copy to clipboard",children:a===t?B.jsx(Gu,{size:16}):B.jsx(Xu,{size:16})}),a===t&&B.jsx("div",{className:"absolute bottom-full right-0 mb-1 px-2 py-1 text-xs rounded-md shadow-sm animate-fade-in-out whitespace-nowrap",style:{backgroundColor:i.secondary,color:i.text.inverse},children:"Copied!"})]})]})]})})},e3=({messages:e,isLoading:t,theme:r,currentConfig:n,showScrollTop:i,showScrollBottom:a,isAnimating:l,messagesContainerRef:o,messagesEndRef:s,scrollToTop:u,scrollToBottom:f,handleScroll:h,sendMessage:d,focusInput:p,copiedMessageId:v,onCopyToClipboard:b,onMarkMessageAnimated:C,inputRef:w,hasBeenAnimated:A,typingProgressRef:z,isTypingRef:D,setIsAnimating:L,formatTime:I,lastMessageRef:P,maxSuggestedQuestionLength:X,maxSuggestedQuestionQueryLength:H})=>B.jsxs("div",{ref:o,className:"flex-1 p-2 overflow-y-auto scroll-smooth relative messages-container",style:{background:r.input.background,overflowY:"auto"},onScroll:h,children:[i&&B.jsx("button",{onClick:u,className:"sticky top-3 left-[calc(100%-48px)] z-10 flex items-center justify-center p-2 rounded-full shadow-md",style:{backgroundColor:r.primary,color:r.text.inverse},"aria-label":"Scroll to top",title:"Scroll to top",children:B.jsx(Yu,{size:ve.BUTTON_SIZES.ICON_SIZES.BUTTON})}),a&&!l&&B.jsx("button",{onClick:()=>f(),className:"sticky bottom-3 left-[calc(100%-48px)] z-10 flex items-center justify-center p-2 rounded-full shadow-md",style:{backgroundColor:r.primary,color:r.text.inverse},"aria-label":"Scroll to bottom",title:"Scroll to bottom",children:B.jsx(Wu,{size:ve.BUTTON_SIZES.ICON_SIZES.BUTTON})}),e.length===0?B.jsxs("div",{className:"py-4",children:[B.jsx("div",{className:"w-full px-3 mb-6 text-center",children:B.jsxs("div",{className:"max-w-lg mx-auto sm:max-w-2xl",children:[B.jsx("h4",{className:"font-bold text-2xl mb-2 text-center px-1",style:{color:r.text.primary},children:n.welcome.title}),B.jsx("p",{className:"text-xl text-center px-1 py-2",style:{color:r.text.secondary},children:n.welcome.description})]})}),B.jsx("div",{className:"w-full px-3",children:B.jsx("div",{className:"flex flex-col gap-2 max-w-lg mx-auto sm:max-w-2xl pl-2 items-center",children:n.suggestedQuestions.slice(0,6).map((N,V)=>{var he,de;const G=H??ve.MAX_SUGGESTED_QUESTION_QUERY_LENGTH,le=X??ve.MAX_SUGGESTED_QUESTION_LENGTH,re=((he=N.query)==null?void 0:he.length)>G?N.query.substring(0,G):N.query,Q=((de=N.text)==null?void 0:de.length)>le?`${N.text.substring(0,le)}...`:N.text;return B.jsx("div",{className:"flex items-center w-full px-1 py-1.5 text-base rounded-xl justify-center",style:{minHeight:"36px",background:"transparent"},children:B.jsx("span",{onClick:()=>{d(re),setTimeout(()=>{p()},ve.ANIMATIONS.TOGGLE_DELAY)},className:"truncate hover:text-primary transition-colors duration-200 cursor-pointer text-center w-full text-base",style:{color:r.suggestedQuestions.text,fontWeight:500},title:re,children:Q})},V)})})})]}):B.jsxs("div",{className:"space-y-3",children:[e.map((N,V)=>{const G=N.role==="assistant"&&V===e.length-1,le=G&&t;return B.jsx(J6,{message:N,index:V,isLatestAssistantMessage:G,showTypingAnimation:le,theme:r,copiedMessageId:v,onCopyToClipboard:b,onMarkMessageAnimated:C,messagesLength:e.length,scrollToBottom:f,inputRef:w,hasBeenAnimated:A,typingProgressRef:z,isTypingRef:D,setIsAnimating:L,formatTime:I,lastMessageRef:P},V)}),t&&e.length===0&&B.jsx("div",{className:"flex justify-start",children:B.jsx("div",{className:"bg-white border border-gray-200 rounded-xl rounded-tl-none max-w-[85%] p-4 shadow-sm",children:B.jsxs("div",{className:"text-gray-500",children:[B.jsx("span",{className:"font-medium text-lg",children:"Thinking"}),B.jsxs("span",{className:"animate-dots ml-1",children:[B.jsx("span",{className:"dot",children:"."}),B.jsx("span",{className:"dot",children:"."}),B.jsx("span",{className:"dot",children:"."})]})]})})}),B.jsx("div",{ref:s})]})]}),t3=({message:e,isFocused:t,isLoading:r,theme:n,inputRef:i,handleMessageChange:a,handleKeyDown:l,handleSendMessage:o,setIsFocused:s})=>B.jsxs("div",{className:"p-4 border-t-0 shrink-0 relative",style:{background:`${n.input.background} !important`,backgroundColor:`${n.input.background} !important`},children:[B.jsx("div",{className:"absolute top-0 left-0 right-0 h-px",style:{background:"linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent)"}}),B.jsxs("div",{className:cr("relative rounded-2xl transition-all duration-300 overflow-hidden input-modern shadow-soft",t?"ring-2 ring-opacity-50":"ring-0"),style:{borderColor:t?n.secondary:n.input.border,border:"1px solid",background:`${n.input.background} !important`,backgroundColor:`${n.input.background} !important`,boxShadow:"none"},children:[B.jsx("textarea",{ref:i,value:e,onChange:a,onKeyDown:l,onFocus:()=>s(!0),onBlur:()=>s(!1),placeholder:"Type your message...",maxLength:ve.MAX_MESSAGE_LENGTH,id:"chat-message-input",name:"chat-message-input",className:"w-full resize-none",style:{background:`${n.input.background} !important`,backgroundColor:`${n.input.background} !important`,color:n.text.primary,height:"52px",minHeight:"52px",maxHeight:"120px",overflow:"auto",lineHeight:"1.5",boxSizing:"border-box",fontWeight:"400",textAlign:"left",border:"none !important",boxShadow:"none !important",outline:"none !important",paddingLeft:"24px",paddingRight:"60px",paddingTop:"16px",paddingBottom:"16px",fontSize:"16px",fontFamily:"inherit"}}),B.jsxs("button",{onClick:o,disabled:!e.trim()||r,className:cr("absolute right-2 top-1/2 transform -translate-y-1/2 rounded-xl transition-all duration-300 flex items-center justify-center shrink-0 overflow-hidden group",e.trim()&&!r?"hover:scale-105":"cursor-not-allowed opacity-50"),style:{background:e.trim()&&!r?`linear-gradient(135deg, ${n.secondary}, ${n.secondary}e6)`:"linear-gradient(135deg, #e5e7eb, #f3f4f6)",color:e.trim()&&!r?"white":"#9ca3af",width:"48px",height:"44px",minHeight:"44px",padding:"0",border:"none",boxShadow:e.trim()&&!r?`0 4px 12px -2px ${n.secondary}40, 0 2px 4px -1px ${n.secondary}20`:"0 2px 4px -1px rgba(0, 0, 0, 0.1)",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,position:"absolute",zIndex:10,transform:"translateY(-50%)"},onMouseEnter:u=>{u.currentTarget.style.setProperty("transform","translateY(-50%)","important"),e.trim()&&!r&&u.currentTarget.style.setProperty("boxShadow",`0 6px 16px -2px ${n.secondary}50, 0 4px 8px -1px ${n.secondary}30`,"important")},onMouseLeave:u=>{u.currentTarget.style.setProperty("transform","translateY(-50%)","important"),e.trim()&&!r&&u.currentTarget.style.setProperty("boxShadow",`0 4px 12px -2px ${n.secondary}40, 0 2px 4px -1px ${n.secondary}20`,"important")},"aria-label":"Send message",children:[B.jsx("div",{className:"absolute inset-0 opacity-0 transition-opacity duration-300 group-hover:opacity-100",style:{background:"linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0))"}}),B.jsx($u,{size:ve.BUTTON_SIZES.ICON_SIZES.SEND,className:"transition-transform duration-200 drop-shadow-sm",style:{strokeWidth:2}})]}),e.length>0&&B.jsxs("div",{className:"absolute bottom-2 right-16 text-xs px-2.5 py-1 rounded-full transition-all duration-200 backdrop-blur-sm",style:{...kc(e.length,ve.MAX_MESSAGE_LENGTH),backdropFilter:"blur(8px)",WebkitBackdropFilter:"blur(8px)",fontWeight:"500"},children:[e.length,"/",ve.MAX_MESSAGE_LENGTH]})]})]}),Jn=e=>{var ut,lr;const[t,r]=J.useState(!1),[n,i]=J.useState(!1),[a,l]=J.useState(!1),[o,s]=J.useState(null),{isAnimating:u,typingProgressRef:f,isTypingRef:h,lastMessageRef:d,markMessageAnimated:p,hasBeenAnimated:v,clearAnimationTrackers:b,setIsAnimating:C}=Cc(),{showScrollTop:w,showScrollBottom:A,messagesContainerRef:z,messagesEndRef:D,shouldScrollRef:L,scrollTimeoutRef:I,scrollToBottom:P,scrollToTop:X,handleScroll:H}=Ec(u),[N,V]=J.useState(window.innerWidth);J.useEffect(()=>{const je=()=>V(window.innerWidth);return window.addEventListener("resize",je),()=>window.removeEventListener("resize",je)},[]);const G=ur(),[le,re]=J.useState({...G,...e}),Q=le.theme||Ca;J.useEffect(()=>{e.apiUrl&&e.apiKey&&e.sessionId&&Sr(e.apiUrl,e.apiKey,e.sessionId)},[e.apiUrl,e.apiKey,e.sessionId]),J.useEffect(()=>{const je=Et=>{re(Et.detail)};return window.addEventListener("chatbot-config-update",je),()=>{window.removeEventListener("chatbot-config-update",je)}},[]),J.useEffect(()=>{e&&re(je=>({...je,...e}))},[e]),J.useEffect(()=>{Sc({MAX_SUGGESTED_QUESTION_LENGTH:e.maxSuggestedQuestionLength??ve.MAX_SUGGESTED_QUESTION_LENGTH,MAX_SUGGESTED_QUESTION_QUERY_LENGTH:e.maxSuggestedQuestionQueryLength??ve.MAX_SUGGESTED_QUESTION_QUERY_LENGTH})},[e.maxSuggestedQuestionLength,e.maxSuggestedQuestionQueryLength]);const{messages:he,isLoading:de,sendMessage:Ie,clearMessages:Ve}=pi(),{message:S,isFocused:Me,inputRef:ke,handleMessageChange:E,handleKeyDown:He,handleSendMessage:Ge,setIsFocused:Ne,focusInput:We}=Mc({onSendMessage:je=>{L.current=!0,Ie(je),setTimeout(()=>P(!0),ve.ANIMATIONS.TOGGLE_DELAY)},isLoading:de,isOpen:t});J.useEffect(()=>{he.length===0&&b()},[he.length,b]);const Le=()=>{r(!t),t||(i(!1),setTimeout(()=>P(!0),ve.ANIMATIONS.TOGGLE_DELAY))},Ye=async(je,Et)=>{try{await navigator.clipboard.writeText(je),s(Et),setTimeout(()=>{s(null)},ve.ANIMATIONS.COPY_FEEDBACK_DURATION)}catch(Xt){console.error("Failed to copy text: ",Xt)}},$e=je=>je.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"});return J.useEffect(()=>{(de||he.length===0)&&P(!0)},[he,de,P]),J.useEffect(()=>()=>{I.current&&clearTimeout(I.current)},[I]),B.jsxs("div",{className:"fixed bottom-8 right-8 z-50 flex flex-col items-end font-sans",style:{fontFamily:wc},children:[t&&B.jsxs("div",{className:"mb-4 w-full rounded-2xl shadow-elegant flex flex-col overflow-hidden border-0 transition-all duration-300 ease-in-out animate-slide-in-up backdrop-blur-lg",style:{background:Q.input.background,height:ve.WINDOW_DIMENSIONS.HEIGHT,maxHeight:ve.WINDOW_DIMENSIONS.MAX_HEIGHT,width:bc(N),minWidth:xc(N),backdropFilter:"blur(20px)",WebkitBackdropFilter:"blur(20px)",border:"1px solid rgba(255, 255, 255, 0.2)",boxShadow:`
717
715
  0 25px 50px -12px rgba(0, 0, 0, 0.15),
718
716
  0 0 0 1px rgba(255, 255, 255, 0.1),
719
717
  inset 0 1px 0 rgba(255, 255, 255, 0.1)
720
- `},children:[B.jsxs("div",{className:"p-2.5 flex justify-between items-center shrink-0 relative overflow-hidden",style:{background:`linear-gradient(135deg, ${Q.primary}, ${Q.primary}e6)`,color:Q.text.inverse},children:[B.jsx("div",{className:"absolute inset-0 opacity-20",style:{background:"linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0))"}}),B.jsx("div",{className:"flex items-center relative z-10 w-full px-3",children:B.jsx("div",{className:"max-w-lg mx-auto sm:max-w-2xl w-full",children:B.jsx("h3",{className:"text-lg font-semibold tracking-tight text-left px-1",children:le.header.title})})}),B.jsxs("div",{className:"flex items-center space-x-2 relative z-10",children:[B.jsx("button",{onClick:()=>{Ve(),b()},className:"btn-modern transition-all duration-200 p-2 rounded-xl hover:bg-white hover:bg-opacity-20 animate-button-hover",style:{color:Q.text.inverse},"aria-label":"Clear conversation",title:"Clear conversation",children:B.jsx(Ku,{size:ve.BUTTON_SIZES.ICON_SIZES.SEND,className:"drop-shadow-sm"})}),B.jsx("button",{onClick:Le,className:"btn-modern transition-all duration-200 p-2 rounded-xl hover:bg-white hover:bg-opacity-20 animate-button-hover",style:{color:Q.text.inverse},"aria-label":"Minimize chat",children:B.jsx(fa,{size:ve.BUTTON_SIZES.ICON_SIZES.MINIMIZE,className:"text-white opacity-90 drop-shadow-sm"})})]})]}),B.jsx(e3,{messages:he,isLoading:de,theme:Q,currentConfig:le,showScrollTop:w,showScrollBottom:A,isAnimating:u,messagesContainerRef:z,messagesEndRef:D,scrollToTop:X,scrollToBottom:P,handleScroll:H,sendMessage:xe,focusInput:We,copiedMessageId:o,onCopyToClipboard:Ye,onMarkMessageAnimated:p,inputRef:Se,hasBeenAnimated:v,typingProgressRef:f,isTypingRef:h,setIsAnimating:C,formatTime:$e,lastMessageRef:d,maxSuggestedQuestionLength:e.maxSuggestedQuestionLength,maxSuggestedQuestionQueryLength:e.maxSuggestedQuestionQueryLength}),B.jsx(t3,{message:S,isFocused:ze,isLoading:de,theme:Q,inputRef:Se,handleMessageChange:E,handleKeyDown:He,handleSendMessage:Ge,setIsFocused:Ne})]}),B.jsxs("div",{className:"relative",children:[n&&!t&&B.jsx("span",{className:"absolute -top-2 -right-2 h-5 w-5 bg-gradient-to-r from-orange-500 to-red-500 rounded-full animate-pulse-glow z-10 shadow-lg",children:B.jsx("span",{className:"absolute inset-0 rounded-full bg-white opacity-30"})}),B.jsxs("button",{onClick:Le,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),className:cr("btn-modern rounded-2xl shadow-floating flex items-center justify-center transition-all duration-500 relative overflow-hidden group",a&&!t&&"animate-pulse-glow",!t&&"animate-float"),style:{background:t?`linear-gradient(135deg, ${Q.primary}, ${Q.primary}e6)`:`linear-gradient(135deg, ${((ut=Q.chatButton)==null?void 0:ut.background)||"#ffffff"}, ${((lr=Q.chatButton)==null?void 0:lr.hoverBackground)||"#f8fafc"})`,color:t?void 0:Q.text.primary,border:t?"none":"1px solid rgba(0, 0, 0, 0.1)",width:ve.BUTTON_SIZES.CHAT_BUTTON.width,height:ve.BUTTON_SIZES.CHAT_BUTTON.height,transform:a?"translateY(-2px) scale(1.05)":"translateY(0) scale(1)",boxShadow:t?"0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04)":"0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},"aria-label":t?"Close chat":"Open chat",children:[B.jsx("div",{className:cr("absolute inset-0 opacity-0 transition-opacity duration-300",a&&"opacity-100"),style:{background:"linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0))"}}),t?B.jsx(fa,{size:ve.BUTTON_SIZES.ICON_SIZES.MINIMIZE,className:"text-white opacity-90 drop-shadow-sm relative z-10"}):B.jsx(Ac,{width:48,height:48,className:"relative z-10 transition-transform duration-300 group-hover:scale-110 drop-shadow-sm",style:{filter:"drop-shadow(0 2px 4px rgba(0,0,0,0.1))"}})]})]}),B.jsx("style",{children:yc})]})};let Br=null,Fr=null,rt=null;function ei(){if(!Br)if(typeof window<"u"&&window.CHATBOT_API_URL)Br=window.CHATBOT_API_URL;else throw new Error("API URL not set. Call setApiUrl or use injectChatWidget to configure the API URL.");return Br}function ti(){if(!Fr)if(typeof window<"u"&&window.CHATBOT_API_KEY)Fr=window.CHATBOT_API_KEY;else throw new Error("API key not set. Call setApiKey or use injectChatWidget to configure the API key.");return Fr}function Mu(e){if(Br=e,typeof window<"u"&&(window.CHATBOT_API_URL=e,Fr)){const t=Tr();Sr(e,Fr,t)}}function zu(e){if(Fr=e,typeof window<"u"&&(window.CHATBOT_API_KEY=e,Br)){const t=Tr();Sr(Br,e,t)}}function ea(e){typeof window>"u"||(rt={...ur(),...rt,...e,header:{...ur().header,...rt==null?void 0:rt.header,...e.header},welcome:{...ur().welcome,...rt==null?void 0:rt.welcome,...e.welcome},suggestedQuestions:e.suggestedQuestions||(rt==null?void 0:rt.suggestedQuestions)||ur().suggestedQuestions,theme:{...ur().theme,...rt==null?void 0:rt.theme,...e.theme}},window.dispatchEvent(new CustomEvent("chatbot-config-update",{detail:rt})))}function ri(e){try{let t;e.sessionId?(t=e.sessionId,mi(t)):t=Tr(),window.CHATBOT_API_URL=e.apiUrl,window.CHATBOT_API_KEY=e.apiKey,window.CHATBOT_SESSION_ID=t,e.widgetConfig&&ea(e.widgetConfig),Sr(e.apiUrl,e.apiKey,t);const r=document.querySelector(e.containerSelector||"#chatbot-widget");if(!r){console.error("Chatbot container not found");return}Hr.createRoot(r).render(J.createElement(Jn,{sessionId:t,apiUrl:e.apiUrl,apiKey:e.apiKey,...e.widgetConfig}))}catch(t){console.error("Failed to inject chatbot widget:",t)}}typeof window<"u"&&(window.initChatbotWidget=e=>{document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>ri(e)):ri(e)},window.ChatbotWidget={ChatWidget:Jn,useChatStore:pi,injectChatWidget:ri,setApiUrl:Mu,getApiUrl:ei,setApiKey:zu,getApiKey:ti,updateWidgetConfig:ea,configureApi:(e,t,r)=>{const n=r||Tr();r&&mi(r),Sr(e,t,n)}}),Xe.ChatWidget=Jn,Xe.default=Jn,Xe.getApiKey=ti,Xe.getApiUrl=ei,Xe.getChatConfig=ur,Xe.injectChatWidget=ri,Xe.setApiKey=zu,Xe.setApiUrl=Mu,Xe.updateWidgetConfig=ea,Xe.useChatStore=pi,Object.defineProperties(Xe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
718
+ `},children:[B.jsxs("div",{className:"p-2.5 flex justify-between items-center shrink-0 relative overflow-hidden",style:{background:`linear-gradient(135deg, ${Q.primary}, ${Q.primary}e6)`,color:Q.text.inverse},children:[B.jsx("div",{className:"absolute inset-0 opacity-20",style:{background:"linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0))"}}),B.jsx("div",{className:"flex items-center relative z-10 w-full px-3",children:B.jsx("div",{className:"max-w-lg mx-auto sm:max-w-2xl w-full",children:B.jsx("h3",{className:"text-xl font-semibold tracking-tight text-left px-1",children:le.header.title})})}),B.jsxs("div",{className:"flex items-center space-x-2 relative z-10",children:[B.jsx("button",{onClick:()=>{Ve(),b()},className:"btn-modern transition-all duration-200 p-2 rounded-xl hover:bg-white hover:bg-opacity-20 animate-button-hover",style:{color:Q.text.inverse},"aria-label":"Clear conversation",title:"Clear conversation",children:B.jsx(Ku,{size:ve.BUTTON_SIZES.ICON_SIZES.SEND,className:"drop-shadow-sm"})}),B.jsx("button",{onClick:Le,className:"btn-modern transition-all duration-200 p-2 rounded-xl hover:bg-white hover:bg-opacity-20 animate-button-hover",style:{color:Q.text.inverse},"aria-label":"Minimize chat",children:B.jsx(fa,{size:ve.BUTTON_SIZES.ICON_SIZES.MINIMIZE,className:"text-white opacity-90 drop-shadow-sm"})})]})]}),B.jsx(e3,{messages:he,isLoading:de,theme:Q,currentConfig:le,showScrollTop:w,showScrollBottom:A,isAnimating:u,messagesContainerRef:z,messagesEndRef:D,scrollToTop:X,scrollToBottom:P,handleScroll:H,sendMessage:Ie,focusInput:We,copiedMessageId:o,onCopyToClipboard:Ye,onMarkMessageAnimated:p,inputRef:ke,hasBeenAnimated:v,typingProgressRef:f,isTypingRef:h,setIsAnimating:C,formatTime:$e,lastMessageRef:d,maxSuggestedQuestionLength:e.maxSuggestedQuestionLength,maxSuggestedQuestionQueryLength:e.maxSuggestedQuestionQueryLength}),B.jsx(t3,{message:S,isFocused:Me,isLoading:de,theme:Q,inputRef:ke,handleMessageChange:E,handleKeyDown:He,handleSendMessage:Ge,setIsFocused:Ne})]}),B.jsxs("div",{className:"relative",children:[n&&!t&&B.jsx("span",{className:"absolute -top-2 -right-2 h-5 w-5 bg-gradient-to-r from-orange-500 to-red-500 rounded-full animate-pulse-glow z-10 shadow-lg",children:B.jsx("span",{className:"absolute inset-0 rounded-full bg-white opacity-30"})}),B.jsxs("button",{onClick:Le,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),className:cr("btn-modern rounded-2xl shadow-floating flex items-center justify-center transition-all duration-500 relative overflow-hidden group",a&&!t&&"animate-pulse-glow",!t&&"animate-float"),style:{background:t?`linear-gradient(135deg, ${Q.primary}, ${Q.primary}e6)`:`linear-gradient(135deg, ${((ut=Q.chatButton)==null?void 0:ut.background)||"#ffffff"}, ${((lr=Q.chatButton)==null?void 0:lr.hoverBackground)||"#f8fafc"})`,color:t?void 0:Q.text.primary,border:t?"none":"1px solid rgba(0, 0, 0, 0.1)",width:ve.BUTTON_SIZES.CHAT_BUTTON.width,height:ve.BUTTON_SIZES.CHAT_BUTTON.height,transform:a?"translateY(-2px) scale(1.05)":"translateY(0) scale(1)",boxShadow:t?"0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04)":"0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)"},"aria-label":t?"Close chat":"Open chat",children:[B.jsx("div",{className:cr("absolute inset-0 opacity-0 transition-opacity duration-300",a&&"opacity-100"),style:{background:"linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0))"}}),t?B.jsx(fa,{size:ve.BUTTON_SIZES.ICON_SIZES.MINIMIZE,className:"text-white opacity-90 drop-shadow-sm relative z-10"}):B.jsx(Ac,{width:48,height:48,className:"relative z-10 transition-transform duration-300 group-hover:scale-110 drop-shadow-sm",style:{filter:"drop-shadow(0 2px 4px rgba(0,0,0,0.1))"}})]})]}),B.jsx("style",{children:yc})]})};let Br=null,Fr=null,rt=null;function ei(){if(!Br)if(typeof window<"u"&&window.CHATBOT_API_URL)Br=window.CHATBOT_API_URL;else throw new Error("API URL not set. Call setApiUrl or use injectChatWidget to configure the API URL.");return Br}function ti(){if(!Fr)if(typeof window<"u"&&window.CHATBOT_API_KEY)Fr=window.CHATBOT_API_KEY;else throw new Error("API key not set. Call setApiKey or use injectChatWidget to configure the API key.");return Fr}function Mu(e){if(Br=e,typeof window<"u"&&(window.CHATBOT_API_URL=e,Fr)){const t=Tr();Sr(e,Fr,t)}}function zu(e){if(Fr=e,typeof window<"u"&&(window.CHATBOT_API_KEY=e,Br)){const t=Tr();Sr(Br,e,t)}}function ea(e){typeof window>"u"||(rt={...ur(),...rt,...e,header:{...ur().header,...rt==null?void 0:rt.header,...e.header},welcome:{...ur().welcome,...rt==null?void 0:rt.welcome,...e.welcome},suggestedQuestions:e.suggestedQuestions||(rt==null?void 0:rt.suggestedQuestions)||ur().suggestedQuestions,theme:{...ur().theme,...rt==null?void 0:rt.theme,...e.theme}},window.dispatchEvent(new CustomEvent("chatbot-config-update",{detail:rt})))}function ri(e){try{let t;e.sessionId?(t=e.sessionId,mi(t)):t=Tr(),window.CHATBOT_API_URL=e.apiUrl,window.CHATBOT_API_KEY=e.apiKey,window.CHATBOT_SESSION_ID=t,e.widgetConfig&&ea(e.widgetConfig),Sr(e.apiUrl,e.apiKey,t);const r=document.querySelector(e.containerSelector||"#chatbot-widget");if(!r){console.error("Chatbot container not found");return}Hr.createRoot(r).render(J.createElement(Jn,{sessionId:t,apiUrl:e.apiUrl,apiKey:e.apiKey,...e.widgetConfig}))}catch(t){console.error("Failed to inject chatbot widget:",t)}}typeof window<"u"&&(window.initChatbotWidget=e=>{document.readyState==="loading"?document.addEventListener("DOMContentLoaded",()=>ri(e)):ri(e)},window.ChatbotWidget={ChatWidget:Jn,useChatStore:pi,injectChatWidget:ri,setApiUrl:Mu,getApiUrl:ei,setApiKey:zu,getApiKey:ti,updateWidgetConfig:ea,configureApi:(e,t,r)=>{const n=r||Tr();r&&mi(r),Sr(e,t,n)}}),Xe.ChatWidget=Jn,Xe.default=Jn,Xe.getApiKey=ti,Xe.getApiUrl=ei,Xe.getChatConfig=ur,Xe.injectChatWidget=ri,Xe.setApiKey=zu,Xe.setApiUrl=Mu,Xe.updateWidgetConfig=ea,Xe.useChatStore=pi,Object.defineProperties(Xe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});