@yoopta/themes-shadcn 6.0.2 → 6.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.js +1 -1
- package/dist/applyTheme.d.ts.map +1 -1
- package/dist/carousel.js +1 -1
- package/dist/chunks/button-f335deaa.js +1 -0
- package/dist/chunks/{dropdown-menu-eb328f8d.js → dropdown-menu-36750aec.js} +3 -3
- package/dist/chunks/{hover-card-d6a71398.js → hover-card-8048e9ce.js} +1 -1
- package/dist/chunks/index-371259c9.js +1 -0
- package/dist/chunks/{index-f85dae42.js → index-5b487f4e.js} +1 -1
- package/dist/chunks/{index-ba3032f8.js → index-a77c7d53.js} +1 -1
- package/dist/chunks/{index-23db6fea.js → index-bd6363d4.js} +1 -1
- package/dist/chunks/label-35a74462.js +1 -0
- package/dist/chunks/{language-select-89735035.js → language-select-ee2698cf.js} +1 -1
- package/dist/chunks/pen-d6258303.js +7 -0
- package/dist/chunks/popover-dae0ce5f.js +1 -0
- package/dist/chunks/{scroll-area-dae47c2c.js → scroll-area-8321348a.js} +1 -1
- package/dist/chunks/{select-a8bcd8b5.js → select-a3724728.js} +1 -1
- package/dist/chunks/separator-f4e74aca.js +1 -0
- package/dist/chunks/{tabs-294764a6.js → tabs-370c3f2c.js} +1 -1
- package/dist/chunks/{tooltip-65b9c3a0.js → tooltip-5defff1d.js} +2 -2
- package/dist/code-group.js +1 -1
- package/dist/code.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/embed/elements/embed/embed-inline-toolbar.d.ts.map +1 -1
- package/dist/embed.js +2 -2
- package/dist/emoji.js +1 -1
- package/dist/file/elements/file/file-inline-toolbar.d.ts.map +1 -1
- package/dist/file.js +3 -3
- package/dist/image/elements/image/image-inline-toolbar.d.ts.map +1 -1
- package/dist/image.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/link.js +1 -7
- package/dist/math/elements/math/math-edit.d.ts +13 -0
- package/dist/math/elements/math/math-edit.d.ts.map +1 -0
- package/dist/math/elements/math/math-element.d.ts +3 -0
- package/dist/math/elements/math/math-element.d.ts.map +1 -0
- package/dist/math/elements/math/math-preview.d.ts +10 -0
- package/dist/math/elements/math/math-preview.d.ts.map +1 -0
- package/dist/math/elements/math-block/math-block-element.d.ts +3 -0
- package/dist/math/elements/math-block/math-block-element.d.ts.map +1 -0
- package/dist/math/index.d.ts +15 -0
- package/dist/math/index.d.ts.map +1 -0
- package/dist/math.js +1 -0
- package/dist/mention.js +3 -3
- package/dist/steps.js +1 -1
- package/dist/table-of-contents/elements/table-of-contents.d.ts.map +1 -1
- package/dist/table-of-contents.js +1 -1
- package/dist/table.js +3 -3
- package/dist/tabs.js +1 -1
- package/dist/video/elements/video/video-inline-toolbar.d.ts.map +1 -1
- package/dist/video.js +2 -2
- package/package.json +20 -13
- package/dist/chunks/button-7aec29d6.js +0 -1
- package/dist/chunks/index-23c7fb16.js +0 -1
- package/dist/chunks/label-21d46c31.js +0 -1
- package/dist/chunks/popover-8e6ee2ab.js +0 -1
- package/dist/chunks/separator-219dc1f7.js +0 -1
package/dist/math.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useState as r,useRef as n,useEffect as a}from"react";import{YooptaPlugin as i,useYooptaEditor as o,generateId as s,Blocks as l,useYooptaReadOnly as h,Elements as c}from"@yoopta/editor";import{C as m,c as p}from"./chunks/index-0bca29df.js";import{B as u}from"./chunks/button-f335deaa.js";import{L as d}from"./chunks/label-35a74462.js";import{T as f}from"./chunks/trash-2-f36597ff.js";import{C as g}from"./chunks/check-06bd6a78.js";import{P as v}from"./chunks/pen-d6258303.js";import{H as b,a as y,b as x}from"./chunks/hover-card-8048e9ce.js";import{c as w}from"./chunks/utils-3345eade.js";import"./chunks/createLucideIcon-8605f860.js";import"./chunks/_tslib-35bb891d.js";import"react-dom";import"./chunks/index-a5cba5f7.js";import"./chunks/index-91a5b8d5.js";import"./chunks/index-17323747.js";import"./chunks/index-ff0e3962.js";import"./chunks/index-371259c9.js";import"./chunks/index-70f4e709.js";import"./chunks/index-bd6363d4.js";var k={ancestors(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:r=!1}=t,n=k.levels(e,t);return r?n.slice(1):n.slice(0,-1)},common(e,t){for(var r=[],n=0;n<e.length&&n<t.length;n++){var a=e[n];if(a!==t[n])break;r.push(a)}return r},compare(e,t){for(var r=Math.min(e.length,t.length),n=0;n<r;n++){if(e[n]<t[n])return-1;if(e[n]>t[n])return 1}return 0},endsAfter(e,t){var r=e.length-1,n=e.slice(0,r),a=t.slice(0,r),i=e[r],o=t[r];return k.equals(n,a)&&i>o},endsAt(e,t){var r=e.length,n=e.slice(0,r),a=t.slice(0,r);return k.equals(n,a)},endsBefore(e,t){var r=e.length-1,n=e.slice(0,r),a=t.slice(0,r),i=e[r],o=t[r];return k.equals(n,a)&&i<o},equals:(e,t)=>e.length===t.length&&e.every((e,r)=>e===t[r]),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>1===k.compare(e,t),isAncestor:(e,t)=>e.length<t.length&&0===k.compare(e,t),isBefore:(e,t)=>-1===k.compare(e,t),isChild:(e,t)=>e.length===t.length+1&&0===k.compare(e,t),isCommon:(e,t)=>e.length<=t.length&&0===k.compare(e,t),isDescendant:(e,t)=>e.length>t.length&&0===k.compare(e,t),isParent:(e,t)=>e.length+1===t.length&&0===k.compare(e,t),isPath:e=>Array.isArray(e)&&(0===e.length||"number"==typeof e[0]),isSibling(e,t){if(e.length!==t.length)return!1;var r=e.slice(0,-1),n=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&k.equals(r,n)},levels(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:r=!1}=t,n=[],a=0;a<=e.length;a++)n.push(e.slice(0,a));return r&&n.reverse(),n},next(e){if(0===e.length)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},operationCanTransformPath(e){switch(e.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(e){if(0===e.length)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(0===e.length)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!k.isAncestor(t,e)&&!k.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)return null;var n=[...e],{affinity:a="forward"}=r;if(0===e.length)return n;switch(t.type){case"insert_node":var{path:i}=t;(k.equals(i,n)||k.endsBefore(i,n)||k.isAncestor(i,n))&&(n[i.length-1]+=1);break;case"remove_node":var{path:o}=t;if(k.equals(o,n)||k.isAncestor(o,n))return null;k.endsBefore(o,n)&&(n[o.length-1]-=1);break;case"merge_node":var{path:s,position:l}=t;k.equals(s,n)||k.endsBefore(s,n)?n[s.length-1]-=1:k.isAncestor(s,n)&&(n[s.length-1]-=1,n[s.length]+=l);break;case"split_node":var{path:h,position:c}=t;if(k.equals(h,n)){if("forward"===a)n[n.length-1]+=1;else if("backward"!==a)return null}else k.endsBefore(h,n)?n[h.length-1]+=1:k.isAncestor(h,n)&&e[h.length]>=c&&(n[h.length-1]+=1,n[h.length]-=c);break;case"move_node":var{path:m,newPath:p}=t;if(k.equals(m,p))return n;if(k.isAncestor(m,n)||k.equals(m,n)){var u=p.slice();return k.endsBefore(m,p)&&m.length<p.length&&(u[m.length-1]-=1),u.concat(n.slice(m.length))}k.isSibling(m,p)&&(k.isAncestor(p,n)||k.equals(p,n))?k.endsBefore(m,n)?n[m.length-1]-=1:n[m.length-1]+=1:k.endsBefore(p,n)||k.equals(p,n)||k.isAncestor(p,n)?(k.endsBefore(m,n)&&(n[m.length-1]-=1),n[p.length-1]+=1):k.endsBefore(m,n)&&(k.equals(p,n)&&(n[p.length-1]+=1),n[m.length-1]-=1)}return n}};function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function z(e,t,r){return(t=function(e){var t=function(e){if("object"!==S(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==S(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===S(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var M=["anchor","focus"];function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var O={edges(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:r=!1}=t,{anchor:n,focus:a}=e;return O.isBackward(e)===r?[n,a]:[a,n]},end(e){var[,t]=O.edges(e);return t},equals:(e,t)=>X.equals(e.anchor,t.anchor)&&X.equals(e.focus,t.focus),surrounds(e,t){var r=O.intersection(e,t);return!!r&&O.equals(r,t)},includes(e,t){if(O.isRange(t)){if(O.includes(e,t.anchor)||O.includes(e,t.focus))return!0;var[r,n]=O.edges(e),[a,i]=O.edges(t);return X.isBefore(r,a)&&X.isAfter(n,i)}var[o,s]=O.edges(e),l=!1,h=!1;return X.isPoint(t)?(l=X.compare(t,o)>=0,h=X.compare(t,s)<=0):(l=k.compare(t,o.path)>=0,h=k.compare(t,s.path)<=0),l&&h},intersection(e,t){var r=A(e,M),[n,a]=O.edges(e),[i,o]=O.edges(t),s=X.isBefore(n,i)?i:n,l=X.isBefore(a,o)?a:o;return X.isBefore(l,s)?null:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach(function(t){z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({anchor:s,focus:l},r)},isBackward(e){var{anchor:t,focus:r}=e;return X.isAfter(t,r)},isCollapsed(e){var{anchor:t,focus:r}=e;return X.equals(t,r)},isExpanded:e=>!O.isCollapsed(e),isForward:e=>!O.isBackward(e),isRange:e=>V(e)&&X.isPoint(e.anchor)&&X.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=O.edges(e);return t},transform(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null===e)return null;var n,a,{affinity:i="inward"}=r;if("inward"===i){var o=O.isCollapsed(e);O.isForward(e)?(n="forward",a=o?n:"backward"):(n="backward",a=o?n:"forward")}else"outward"===i?O.isForward(e)?(n="backward",a="forward"):(n="forward",a="backward"):(n=i,a=i);var s=X.transform(e.anchor,t,{affinity:n}),l=X.transform(e.focus,t,{affinity:a});return s&&l?{anchor:s,focus:l}:null}},B=function(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!V(e)&&"function"!=typeof e.apply&&(t?P.isNodeList(e.children):Array.isArray(e.children))},C={isAncestor(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return V(e)&&P.isNodeList(e.children,{deep:t})},isElement:B,isElementList(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Array.isArray(e)&&e.every(e=>C.isElement(e,{deep:t}))},isElementProps:e=>void 0!==e.children,isElementType:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";return B(e)&&e[r]===t},matches(e,t){for(var r in t)if("children"!==r&&e[r]!==t[r])return!1;return!0}},q=["children"],E=["text"];function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach(function(t){z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var P={ancestor(e,t){var r=P.get(e,t);if(ee.isText(r))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat($.stringify(r)));return r},ancestors(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var n of k.ancestors(t,r)){var a=[P.ancestor(e,n),n];yield a}}()},child(e,t){if(ee.isText(e))throw new Error("Cannot get the child of a text node: ".concat($.stringify(e)));var r=e.children[t];if(null==r)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat($.stringify(e)));return r},children(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var{reverse:n=!1}=r,a=P.ancestor(e,t),{children:i}=a,o=n?i.length-1:0;n?o>=0:o<i.length;){var s=P.child(a,o),l=t.concat(o);yield[s,l],o=n?o-1:o+1}}()},common(e,t,r){var n=k.common(t,r);return[P.get(e,n),n]},descendant(e,t){var r=P.get(e,t);if(G.isEditor(r))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat($.stringify(r)));return r},descendants(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var[r,n]of P.nodes(e,t))0!==n.length&&(yield[r,n])}()},elements(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var[r,n]of P.nodes(e,t))C.isElement(r)&&(yield[r,n])}()},extractProps:e=>C.isAncestor(e)?A(e,q):A(e,E),first(e,t){for(var r=t.slice(),n=P.get(e,r);n&&!ee.isText(n)&&0!==n.children.length;)n=n.children[0],r.push(0);return[n,r]},fragment(e,t){var r={children:e.children},[n,a]=O.edges(t),i=P.nodes(r,{reverse:!0,pass:e=>{var[,r]=e;return!O.includes(t,r)}}),o=function(){if(!O.includes(t,s)){var e=s[s.length-1];se(r,k.parent(s),t=>ie(t,e,1))}k.equals(s,a.path)&&le(r,s,e=>{var t=e.text.slice(0,a.offset);return I(I({},e),{},{text:t})}),k.equals(s,n.path)&&le(r,s,e=>{var t=e.text.slice(n.offset);return I(I({},e),{},{text:t})})};for(var[,s]of i)o();return r.children},get(e,t){var r=P.getIf(e,t);if(void 0===r)throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat($.stringify(e)));return r},getIf(e,t){for(var r=e,n=0;n<t.length;n++){var a=t[n];if(ee.isText(r)||!r.children[a])return;r=r.children[a]}return r},has(e,t){for(var r=e,n=0;n<t.length;n++){var a=t[n];if(ee.isText(r)||!r.children[a])return!1;r=r.children[a]}return!0},isNode(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ee.isText(e)||C.isElement(e,{deep:t})||G.isEditor(e,{deep:t})},isNodeList(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Array.isArray(e)&&e.every(e=>P.isNode(e,{deep:t}))},last(e,t){for(var r=t.slice(),n=P.get(e,r);n&&!ee.isText(n)&&0!==n.children.length;){var a=n.children.length-1;n=n.children[a],r.push(a)}return[n,r]},leaf(e,t){var r=P.get(e,t);if(!ee.isText(r))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat($.stringify(r)));return r},levels(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function*(){for(var n of k.levels(t,r)){var a=P.get(e,n);yield[a,n]}}()},matches:(e,t)=>C.isElement(e)&&C.isElementProps(t)&&C.matches(e,t)||ee.isText(e)&&ee.isTextProps(t)&&ee.matches(e,t),nodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var{pass:r,reverse:n=!1}=t,{from:a=[],to:i}=t,o=new Set,s=[],l=e;!i||!(n?k.isBefore(s,i):k.isAfter(s,i));)if(o.has(l)||(yield[l,s]),o.has(l)||ee.isText(l)||0===l.children.length||null!=r&&!1!==r([l,s])){if(0===s.length)break;if(!n){var h=k.next(s);if(P.has(e,h)){s=h,l=P.get(e,s);continue}}n&&0!==s[s.length-1]?(s=k.previous(s),l=P.get(e,s)):(s=k.parent(s),l=P.get(e,s),o.add(l))}else{o.add(l);var c=n?l.children.length-1:0;k.isAncestor(s,a)&&(c=a[s.length]),s=s.concat(c),l=P.get(e,s)}}()},parent(e,t){var r=k.parent(t),n=P.get(e,r);if(ee.isText(n))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return n},string:e=>ee.isText(e)?e.text:e.children.map(P.string).join(""),texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function*(){for(var[r,n]of P.nodes(e,t))ee.isText(r)&&(yield[r,n])}()}};function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach(function(t){z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var D,H,L={isNodeOperation:e=>L.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!V(e))return!1;switch(e.type){case"insert_node":case"remove_node":return k.isPath(e.path)&&P.isNode(e.node);case"insert_text":case"remove_text":return"number"==typeof e.offset&&"string"==typeof e.text&&k.isPath(e.path);case"merge_node":return"number"==typeof e.position&&k.isPath(e.path)&&V(e.properties);case"move_node":return k.isPath(e.path)&&k.isPath(e.newPath);case"set_node":return k.isPath(e.path)&&V(e.properties)&&V(e.newProperties);case"set_selection":return null===e.properties&&O.isRange(e.newProperties)||null===e.newProperties&&O.isRange(e.properties)||V(e.properties)&&V(e.newProperties);case"split_node":return k.isPath(e.path)&&"number"==typeof e.position&&V(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every(e=>L.isOperation(e)),isSelectionOperation:e=>L.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>L.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return j(j({},e),{},{type:"remove_node"});case"insert_text":return j(j({},e),{},{type:"remove_text"});case"merge_node":return j(j({},e),{},{type:"split_node",path:k.previous(e.path)});case"move_node":var{newPath:t,path:r}=e;if(k.equals(t,r))return e;if(k.isSibling(r,t))return j(j({},e),{},{path:t,newPath:r});var n=k.transform(r,e),a=k.transform(k.next(r),e);return j(j({},e),{},{path:n,newPath:a});case"remove_node":return j(j({},e),{},{type:"insert_node"});case"remove_text":return j(j({},e),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:o}=e;return j(j({},e),{},{properties:o,newProperties:i});case"set_selection":var{properties:s,newProperties:l}=e;return j(j({},e),{},null==s?{properties:l,newProperties:null}:null==l?{properties:null,newProperties:s}:{properties:l,newProperties:s});case"split_node":return j(j({},e),{},{type:"merge_node",path:k.next(e.path)})}}},V=e=>"object"==typeof e&&null!==e,F=(e,t)=>{for(var r in e){var n=e[r],a=t[r];if(Array.isArray(n)&&Array.isArray(a)){if(n.length!==a.length)return!1;for(var i=0;i<n.length;i++)if(n[i]!==a[i])return!1}else if(V(n)&&V(a)){if(!F(n,a))return!1}else if(n!==a)return!1}for(var o in t)if(void 0===e[o]&&void 0!==t[o])return!1;return!0},_=e=>e.selection?e.selection:e.children.length>0?G.end(e,[]):[0];(H=D||(D={}))[H.None=0]="None",H[H.Extend=1]="Extend",H[H.ZWJ=2]="ZWJ",H[H.RI=4]="RI",H[H.Prepend=8]="Prepend",H[H.SpacingMark=16]="SpacingMark",H[H.L=32]="L",H[H.V=64]="V",H[H.T=128]="T",H[H.LV=256]="LV",H[H.LVT=512]="LVT",H[H.ExtPict=1024]="ExtPict",H[H.Any=2048]="Any",D.L,D.L,D.V,D.LV,D.LVT,D.LV,D.V,D.V,D.T,D.LVT,D.T,D.T,D.Any,D.Extend,D.ZWJ,D.Any,D.SpacingMark,D.Prepend,D.Any,D.ZWJ,D.ExtPict,D.RI,D.RI;var G={above:(e,t)=>e.above(t),addMark(e,t,r){e.addMark(t,r)},after:(e,t,r)=>e.after(t,r),before:(e,t,r)=>e.before(t,r),deleteBackward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:r="character"}=t;e.deleteBackward(r)},deleteForward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:r="character"}=t;e.deleteForward(r)},deleteFragment(e,t){e.deleteFragment(t)},edges:(e,t)=>e.edges(t),elementReadOnly(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.elementReadOnly(t)},end:(e,t)=>e.end(t),first:(e,t)=>e.first(t),fragment:(e,t)=>e.fragment(t),hasBlocks:(e,t)=>e.hasBlocks(t),hasInlines:(e,t)=>e.hasInlines(t),hasPath:(e,t)=>e.hasPath(t),hasTexts:(e,t)=>e.hasTexts(t),insertBreak(e){e.insertBreak()},insertFragment(e,t,r){e.insertFragment(t,r)},insertNode(e,t){e.insertNode(t)},insertSoftBreak(e){e.insertSoftBreak()},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>e.isBlock(t),isEdge:(e,t,r)=>e.isEdge(t,r),isEditor:e=>function(e){var{deep:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return!!V(e)&&("function"==typeof e.addMark&&"function"==typeof e.apply&&"function"==typeof e.deleteFragment&&"function"==typeof e.insertBreak&&"function"==typeof e.insertSoftBreak&&"function"==typeof e.insertFragment&&"function"==typeof e.insertNode&&"function"==typeof e.insertText&&"function"==typeof e.isElementReadOnly&&"function"==typeof e.isInline&&"function"==typeof e.isSelectable&&"function"==typeof e.isVoid&&"function"==typeof e.normalizeNode&&"function"==typeof e.onChange&&"function"==typeof e.removeMark&&"function"==typeof e.getDirtyPaths&&(null===e.marks||V(e.marks))&&(null===e.selection||O.isRange(e.selection))&&(!t||P.isNodeList(e.children))&&L.isOperationList(e.operations))}(e),isElementReadOnly:(e,t)=>e.isElementReadOnly(t),isEmpty:(e,t)=>e.isEmpty(t),isEnd:(e,t,r)=>e.isEnd(t,r),isInline:(e,t)=>e.isInline(t),isNormalizing:e=>e.isNormalizing(),isSelectable:(e,t)=>e.isSelectable(t),isStart:(e,t,r)=>e.isStart(t,r),isVoid:(e,t)=>e.isVoid(t),last:(e,t)=>e.last(t),leaf:(e,t,r)=>e.leaf(t,r),levels:(e,t)=>e.levels(t),marks:e=>e.getMarks(),next:(e,t)=>e.next(t),node:(e,t,r)=>e.node(t,r),nodes:(e,t)=>e.nodes(t),normalize(e,t){e.normalize(t)},parent:(e,t,r)=>e.parent(t,r),path:(e,t,r)=>e.path(t,r),pathRef:(e,t,r)=>e.pathRef(t,r),pathRefs:e=>e.pathRefs(),point:(e,t,r)=>e.point(t,r),pointRef:(e,t,r)=>e.pointRef(t,r),pointRefs:e=>e.pointRefs(),positions:(e,t)=>e.positions(t),previous:(e,t)=>e.previous(t),range:(e,t,r)=>e.range(t,r),rangeRef:(e,t,r)=>e.rangeRef(t,r),rangeRefs:e=>e.rangeRefs(),removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){e.setNormalizing(t)},start:(e,t)=>e.start(t),string:(e,t,r)=>e.string(t,r),unhangRange:(e,t,r)=>e.unhangRange(t,r),void:(e,t)=>e.void(t),withoutNormalizing(e,t){e.withoutNormalizing(t)},shouldMergeNodesRemovePrevNode:(e,t,r)=>e.shouldMergeNodesRemovePrevNode(t,r)};function U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?U(Object(r),!0).forEach(function(t){z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var X={compare(e,t){var r=k.compare(e.path,t.path);return 0===r?e.offset<t.offset?-1:e.offset>t.offset?1:0:r},isAfter:(e,t)=>1===X.compare(e,t),isBefore:(e,t)=>-1===X.compare(e,t),equals:(e,t)=>e.offset===t.offset&&k.equals(e.path,t.path),isPoint:e=>V(e)&&"number"==typeof e.offset&&k.isPath(e.path),transform(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null===e)return null;var{affinity:n="forward"}=r,{path:a,offset:i}=e;switch(t.type){case"insert_node":case"move_node":a=k.transform(a,t,r);break;case"insert_text":k.equals(t.path,a)&&(t.offset<i||t.offset===i&&"forward"===n)&&(i+=t.text.length);break;case"merge_node":k.equals(t.path,a)&&(i+=t.position),a=k.transform(a,t,r);break;case"remove_text":k.equals(t.path,a)&&t.offset<=i&&(i-=Math.min(i-t.offset,t.text.length));break;case"remove_node":if(k.equals(t.path,a)||k.isAncestor(t.path,a))return null;a=k.transform(a,t,r);break;case"split_node":if(k.equals(t.path,a)){if(t.position===i&&null==n)return null;(t.position<i||t.position===i&&"forward"===n)&&(i-=t.position,a=k.transform(a,t,W(W({},r),{},{affinity:"forward"})))}else a=k.transform(a,t,r);break;default:return e}return{path:a,offset:i}}},Y=void 0,$={setScrubber(e){Y=e},stringify:e=>JSON.stringify(e,Y)},Z=["text"],K=["anchor","focus","merge"];function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach(function(t){z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var ee={equals(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{loose:n=!1}=r;function a(e){return A(e,Z)}return F(n?a(e):e,n?a(t):t)},isText:e=>V(e)&&"string"==typeof e.text,isTextList:e=>Array.isArray(e)&&e.every(e=>ee.isText(e)),isTextProps:e=>void 0!==e.text,matches(e,t){for(var r in t)if("text"!==r&&(!e.hasOwnProperty(r)||e[r]!==t[r]))return!1;return!0},decorations(e,t){var r=[{leaf:Q({},e)}];for(var n of t){var{anchor:a,focus:i,merge:o}=n,s=A(n,K),[l,h]=O.edges(n),c=[],m=0,p=l.offset,u=h.offset,d=null!=o?o:Object.assign;for(var{leaf:f}of r){var{length:g}=f.text,v=m;if(m+=g,p<=v&&m<=u)d(f,s),c.push({leaf:f});else if(p!==u&&(p===m||u===v)||p>m||u<v||u===v&&0!==v)c.push({leaf:f});else{var b=f,y=void 0,x=void 0;if(u<m){var w=u-v;x={leaf:Q(Q({},b),{},{text:b.text.slice(w)})},b=Q(Q({},b),{},{text:b.text.slice(0,w)})}if(p>v){var k=p-v;y={leaf:Q(Q({},b),{},{text:b.text.slice(0,k)})},b=Q(Q({},b),{},{text:b.text.slice(k)})}d(b,s),y&&c.push(y),c.push({leaf:b}),x&&c.push(x)}}r=c}if(r.length>1){var S=0;for(var[z,M]of r.entries()){var T=S,B=T+M.leaf.text.length,C={start:T,end:B};0===z&&(C.isFirst=!0),z===r.length-1&&(C.isLast=!0),M.position=C,S=B}}return r}};function te(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function re(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?te(Object(r),!0).forEach(function(t){z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):te(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var ne=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return[...e.slice(0,t),...n,...e.slice(t)]},ae=function(e,t,r){for(var n=arguments.length,a=new Array(n>3?n-3:0),i=3;i<n;i++)a[i-3]=arguments[i];return[...e.slice(0,t),...a,...e.slice(t+r)]},ie=ae,oe=(e,t,r)=>{if(0===t.length)throw new Error("Cannot modify the editor");for(var n=P.get(e,t),a=t.slice(),i=r(n);a.length>1;){var o=a.pop(),s=P.get(e,a);i=re(re({},s),{},{children:ae(s.children,o,1,i)})}var l=a.pop();e.children=ae(e.children,l,1,i)},se=(e,t,r)=>{0===t.length?e.children=r(e.children):oe(e,t,e=>{if(ee.isText(e))throw new Error("Cannot get the element at path [".concat(t,"] because it refers to a leaf node: ").concat($.stringify(e)));return re(re({},e),{},{children:r(e.children)})})},le=(e,t,r)=>oe(e,t,e=>{if(!ee.isText(e))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat($.stringify(e)));return r(e)});function he(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach(function(t){z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var me={transform(e,t){var r=!1;switch(t.type){case"insert_node":var{path:n,node:a}=t;se(e,k.parent(n),e=>{var t=n[n.length-1];if(t>e.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(n,"] because the destination is past the end of the node."));return ne(e,t,a)}),r=!0;break;case"insert_text":var{path:i,offset:o,text:s}=t;if(0===s.length)break;le(e,i,e=>{var t=e.text.slice(0,o),r=e.text.slice(o);return ce(ce({},e),{},{text:t+s+r})}),r=!0;break;case"merge_node":var{path:l}=t,h=l[l.length-1],c=k.previous(l),m=c[c.length-1];se(e,k.parent(l),e=>{var t,r=e[h],n=e[m];if(ee.isText(r)&&ee.isText(n))t=ce(ce({},n),{},{text:n.text+r.text});else{if(ee.isText(r)||ee.isText(n))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(l,"] to nodes of different interfaces: ").concat($.stringify(r)," ").concat($.stringify(n)));t=ce(ce({},n),{},{children:n.children.concat(r.children)})}return ae(e,m,2,t)}),r=!0;break;case"move_node":var{path:p,newPath:u}=t,d=p[p.length-1];if(k.isAncestor(p,u))throw new Error("Cannot move a path [".concat(p,"] to new path [").concat(u,"] because the destination is inside itself."));var f=P.get(e,p);se(e,k.parent(p),e=>ie(e,d,1));var g=k.transform(p,t),v=g[g.length-1];se(e,k.parent(g),e=>ne(e,v,f)),r=!0;break;case"remove_node":var{path:b}=t,y=b[b.length-1];if(se(e,k.parent(b),e=>ie(e,y,1)),e.selection){var x=ce({},e.selection);for(var[w,S]of O.points(x)){var z=X.transform(w,t);if(null!=x&&null!=z)x[S]=z;else{var A=void 0,M=void 0;for(var[T,B]of P.texts(e)){if(-1!==k.compare(B,b)){M=[T,B];break}A=[T,B]}var C=!1;A&&M&&(C=!k.isSibling(A[1],b)&&(!!k.equals(M[1],b)||k.common(A[1],b).length<k.common(M[1],b).length)),A&&!C?x[S]={path:A[1],offset:A[0].text.length}:M?x[S]={path:M[1],offset:0}:x=null}}x&&O.equals(x,e.selection)||(e.selection=x)}break;case"remove_text":var{path:q,offset:E,text:N}=t;if(0===N.length)break;le(e,q,e=>{var t=e.text.slice(0,E),r=e.text.slice(E+N.length);return ce(ce({},e),{},{text:t+r})}),r=!0;break;case"set_node":var{path:I,properties:R,newProperties:j}=t;if(0===I.length)throw new Error("Cannot set properties on the root node!");oe(e,I,e=>{var t=ce({},e);for(var r in j){if("children"===r||"text"===r)throw new Error('Cannot set the "'.concat(r,'" property of nodes!'));var n=j[r];null==n?delete t[r]:t[r]=n}for(var a in R)j.hasOwnProperty(a)||delete t[a];return t});break;case"set_selection":var{newProperties:D}=t;if(null==D){e.selection=null;break}if(null==e.selection){if(!O.isRange(D))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat($.stringify(D)," when there is no current selection."));e.selection=ce({},D);break}var H=ce({},e.selection);for(var L in D){var V=D[L];if(null==V){if("anchor"===L||"focus"===L)throw new Error('Cannot remove the "'.concat(L,'" selection property'));delete H[L]}else H[L]=V}e.selection=H;break;case"split_node":var{path:F,position:_,properties:G}=t,U=F[F.length-1];if(0===F.length)throw new Error('Cannot apply a "split_node" operation at path ['.concat(F,"] because the root node cannot be split."));se(e,k.parent(F),e=>{var t,r,n=e[U];if(ee.isText(n)){var a=n.text.slice(0,_),i=n.text.slice(_);t=ce(ce({},n),{},{text:a}),r=ce(ce({},G),{},{text:i})}else{var o=n.children.slice(0,_),s=n.children.slice(_);t=ce(ce({},n),{},{children:o}),r=ce(ce({},G),{},{children:s})}return ae(e,U,1,t,r)}),r=!0}if(r&&e.selection){var W=ce({},e.selection);for(var[Y,Z]of O.points(W))W[Z]=X.transform(Y,t);O.equals(W,e.selection)||(e.selection=W)}}},pe={insertNodes(e,t,r){e.insertNodes(t,r)},liftNodes(e,t){e.liftNodes(t)},mergeNodes(e,t){e.mergeNodes(t)},moveNodes(e,t){e.moveNodes(t)},removeNodes(e,t){e.removeNodes(t)},setNodes(e,t,r){e.setNodes(t,r)},splitNodes(e,t){e.splitNodes(t)},unsetNodes(e,t,r){e.unsetNodes(t,r)},unwrapNodes(e,t){e.unwrapNodes(t)},wrapNodes(e,t,r){e.wrapNodes(t,r)}},ue={collapse(e,t){e.collapse(t)},deselect(e){e.deselect()},move(e,t){e.move(t)},select(e,t){e.select(t)},setPoint(e,t,r){e.setPoint(t,r)},setSelection(e,t){e.setSelection(t)}},de={delete(e,t){e.delete(t)},insertFragment(e,t,r){e.insertFragment(t,r)},insertText(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};G.withoutNormalizing(e,()=>{var{voids:n=!1}=r,{at:a=_(e)}=r;if(k.isPath(a)&&(a=G.range(e,a)),O.isRange(a))if(O.isCollapsed(a))a=a.anchor;else{var i=O.end(a);if(!n&&G.void(e,{at:i}))return;var o=O.start(a),s=G.pointRef(e,o),l=G.pointRef(e,i);ve.delete(e,{at:a,voids:n});var h=s.unref(),c=l.unref();a=h||c,ve.setSelection(e,{anchor:a,focus:a})}if(!(!n&&G.void(e,{at:a})||G.elementReadOnly(e,{at:a}))){var{path:m,offset:p}=a;t.length>0&&e.apply({type:"insert_text",path:m,offset:p,text:t})}})}};function fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(r),!0).forEach(function(t){z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var ve=ge(ge(ge(ge({},me),pe),ue),de);const be={buildMathInlineElement:(e,t)=>({id:s(),type:"math-inline",children:[{text:""}],props:{latex:t.props.latex,nodeType:"inlineVoid"}}),insertMathInline:(e,t,r)=>{const{slate:n}=r;if(!n||!n.selection)return;O.isCollapsed(n.selection)||ve.delete(n);const a={id:s(),type:"math-inline",children:[{text:""}],props:{latex:t,nodeType:"inlineVoid"}};if(ve.insertNodes(n,a),ve.move(n,{distance:1}),r.focus){const t=Object.keys(e.children).find(t=>{const r=e.children[t];return(null==r?void 0:r.meta.order)===e.path.current});t&&e.focusBlock(t)}},findMathInlineElements:(e,t={})=>{var r;try{const n=t.blockId?{id:t.blockId}:{at:null!==(r=t.at)&&void 0!==r?r:e.path.current},a=l.getBlockSlate(e,n);if(!a)return[];const i=[];for(const[e]of G.nodes(a,{at:[],match:e=>C.isElement(e)&&!G.isEditor(e)&&"math-inline"===e.type}))i.push(e);return i}catch(e){return[]}},updateMathInline:(e,t,r,n={})=>{var a;const i=n.blockId?{id:n.blockId}:{at:null!==(a=n.at)&&void 0!==a?a:e.path.current},o=l.getBlockSlate(e,i);if(!o)return;const s=Array.from(G.nodes(o,{at:[],match:e=>C.isElement(e)&&!G.isEditor(e)&&"math-inline"===e.type&&e.id===t}))[0];if(s){const[e,t]=s;ve.setNodes(o,{props:Object.assign(Object.assign({},e.props),{latex:r,nodeType:"inlineVoid"})},{at:t})}},deleteMathInline:(e,t,r={})=>{var n;const a=r.blockId?{id:r.blockId}:{at:null!==(n=r.at)&&void 0!==n?n:e.path.current},i=l.getBlockSlate(e,a);if(!i)return;const o=Array.from(G.nodes(i,{at:[],match:e=>C.isElement(e)&&!G.isEditor(e)&&"math-inline"===e.type&&e.id===t}))[0];if(o){const[,e]=o;ve.removeNodes(i,{at:e})}},openEditor:(e,t)=>{e.math.open(t)},closeEditor:e=>{e.math.close()}};class ye extends Error{constructor(e,t){var r,n,a="KaTeX parse error: "+e,i=t&&t.loc;if(i&&i.start<=i.end){var o=i.lexer.input;r=i.start,n=i.end,r===o.length?a+=" at end of input: ":a+=" at position "+(r+1)+": ";var s=o.slice(r,n).replace(/[^]/g,"$&̲");a+=(r>15?"…"+o.slice(r-15,r):o.slice(0,r))+s+(n+15<o.length?o.slice(n,n+15)+"…":o.slice(n))}super(a),this.name="ParseError",Object.setPrototypeOf(this,ye.prototype),this.position=r,null!=r&&null!=n&&(this.length=n-r),this.rawMessage=e}}var xe=/([A-Z])/g,we=e=>e.replace(xe,"-$1").toLowerCase(),ke={"&":"&",">":">","<":"<",'"':""","'":"'"},Se=/[&><"']/g,ze=e=>String(e).replace(Se,e=>ke[e]),Ae=e=>"ordgroup"===e.type||"color"===e.type?1===e.body.length?Ae(e.body[0]):e:"font"===e.type?Ae(e.body):e,Me=new Set(["mathord","textord","atom"]),Te=e=>Me.has(Ae(e).type),Oe={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function Be(e){if("default"in e)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Ce{constructor(e){for(var t of(void 0===e&&(e={}),e=e||{},Object.keys(Oe))){var r=Oe[t],n=e[t];this[t]=void 0!==n?r.processor?r.processor(n):n:Be(r)}}reportNonstrict(e,t,r){var n=this.strict;if("function"==typeof n&&(n=n(e,t,r)),n&&"ignore"!==n){if(!0===n||"error"===n)throw new ye("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",r);"warn"===n?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,r){var n=this.strict;if("function"==typeof n)try{n=n(e,t,r)}catch(e){n="error"}return!(!n||"ignore"===n||!0!==n&&"error"!==n&&("warn"===n?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]"),1)))}isTrusted(e){if("url"in e&&e.url&&!e.protocol){var t=(e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"})(e.url);if(null==t)return!1;e.protocol=t}var r="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(r)}}class qe{constructor(e,t,r){this.id=e,this.size=t,this.cramped=r}sup(){return Ee[Ne[this.id]]}sub(){return Ee[Ie[this.id]]}fracNum(){return Ee[Pe[this.id]]}fracDen(){return Ee[Re[this.id]]}cramp(){return Ee[je[this.id]]}text(){return Ee[De[this.id]]}isTight(){return this.size>=2}}var Ee=[new qe(0,0,!1),new qe(1,0,!0),new qe(2,1,!1),new qe(3,1,!0),new qe(4,2,!1),new qe(5,2,!0),new qe(6,3,!1),new qe(7,3,!0)],Ne=[4,5,4,5,6,7,6,7],Ie=[5,5,5,5,7,7,7,7],Pe=[2,3,4,5,6,7,6,7],Re=[3,3,5,5,7,7,7,7],je=[1,1,3,3,5,5,7,7],De=[0,1,2,3,2,3,2,3],He={DISPLAY:Ee[0],TEXT:Ee[2],SCRIPT:Ee[4],SCRIPTSCRIPT:Ee[6]},Le=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],Ve=[];function Fe(e){for(var t=0;t<Ve.length;t+=2)if(e>=Ve[t]&&e<=Ve[t+1])return!0;return!1}Le.forEach(e=>e.blocks.forEach(e=>Ve.push(...e)));var _e=e=>e+" "+e,Ge={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:_e("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:_e("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:_e("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:_e("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:_e("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:_e("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:_e("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:_e("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class Ue{constructor(e){this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return this.classes.includes(e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map(e=>e.toText()).join("")}}var We={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Xe={ex:!0,em:!0,mu:!0},Ye=function(e){return"string"!=typeof e&&(e=e.unit),e in We||e in Xe||"ex"===e},$e=function(e,t){var r;if(e.unit in We)r=We[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{var n;if(n=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=n.fontMetrics().xHeight;else{if("em"!==e.unit)throw new ye("Invalid unit: '"+e.unit+"'");r=n.fontMetrics().quad}n!==t&&(r*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},Ze=function(e){return+e.toFixed(4)+"em"},Ke=function(e){return e.filter(e=>e).join(" ")},Je=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var n=t.getColor();n&&(this.style.color=n)}},Qe=function(e){var t=document.createElement(e);for(var r of(t.className=Ke(this.classes),Object.keys(this.style)))t.style[r]=this.style[r];for(var n of Object.keys(this.attributes))t.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)t.appendChild(this.children[a].toNode());return t},et=/[\s"'>/=\x00-\x1f]/,tt=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+ze(Ke(this.classes))+'"');var r="";for(var n of Object.keys(this.style))r+=we(n)+":"+this.style[n]+";";for(var a of(r&&(t+=' style="'+ze(r)+'"'),Object.keys(this.attributes))){if(et.test(a))throw new ye("Invalid attribute name '"+a+"'");t+=" "+a+'="'+ze(this.attributes[a])+'"'}t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+"</"+e+">"};class rt{constructor(e,t,r,n){Je.call(this,e,r,n),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return Qe.call(this,"span")}toMarkup(){return tt.call(this,"span")}}class nt{constructor(e,t,r,n){Je.call(this,t,n),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return Qe.call(this,"a")}toMarkup(){return tt.call(this,"a")}}class at{constructor(e,t,r){this.alt=t,this.src=e,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=r}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement("img");for(var t of(e.src=this.src,e.alt=this.alt,e.className="mord",Object.keys(this.style)))e.style[t]=this.style[t];return e}toMarkup(){var e='<img src="'+ze(this.src)+'" alt="'+ze(this.alt)+'"',t="";for(var r of Object.keys(this.style))t+=we(r)+":"+this.style[r]+";";return t&&(e+=' style="'+ze(t)+'"'),e+"'/>"}}var it={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};class ot{constructor(e,t,r,n,a,i,o,s){this.text=e,this.height=t||0,this.depth=r||0,this.italic=n||0,this.skew=a||0,this.width=i||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t<Le.length;t++)for(var r=Le[t],n=0;n<r.blocks.length;n++){var a=r.blocks[n];if(e>=a[0]&&e<=a[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=it[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r of(this.italic>0&&((t=document.createElement("span")).style.marginRight=Ze(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=Ke(this.classes)),Object.keys(this.style)))(t=t||document.createElement("span")).style[r]=this.style[r];return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=ze(Ke(this.classes)),t+='"');var r="";for(var n of(this.italic>0&&(r+="margin-right:"+Ze(this.italic)+";"),Object.keys(this.style)))r+=we(n)+":"+this.style[n]+";";r&&(e=!0,t+=' style="'+ze(r)+'"');var a=ze(this.text);return e?(t+=">",t+=a,t+="</span>"):a}}class st{constructor(e,t){this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t of Object.keys(this.attributes))e+=" "+t+'="'+ze(this.attributes[t])+'"';e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+"</svg>"}}class lt{constructor(e,t){this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",Ge[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+ze(this.alternate)+'"/>':'<path d="'+ze(Ge[this.pathName])+'"/>'}}class ht{constructor(e){this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="<line";for(var t of Object.keys(this.attributes))e+=" "+t+'="'+ze(this.attributes[t])+'"';return e+"/>"}}var ct={"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]}},mt={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]},pt={"Å":"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 ut(e,t,r){if(!ct[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=ct[t][n];if(!a&&e[0]in pt&&(n=pt[e[0]].charCodeAt(0),a=ct[t][n]),a||"text"!==r||Fe(n)&&(a=ct[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var dt={},ft={bin:1,close:1,inner:1,open:1,punct:1,rel:1},gt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},vt={math:{},text:{}};function bt(e,t,r,n,a,i){vt[e][a]={font:t,group:r,replace:n},i&&n&&(vt[e][n]=vt[e][a])}var yt="math",xt="text",wt="main",kt="ams",St="accent-token",zt="bin",At="close",Mt="inner",Tt="mathord",Ot="op-token",Bt="open",Ct="punct",qt="rel",Et="spacing",Nt="textord";bt(yt,wt,qt,"≡","\\equiv",!0),bt(yt,wt,qt,"≺","\\prec",!0),bt(yt,wt,qt,"≻","\\succ",!0),bt(yt,wt,qt,"∼","\\sim",!0),bt(yt,wt,qt,"⊥","\\perp"),bt(yt,wt,qt,"⪯","\\preceq",!0),bt(yt,wt,qt,"⪰","\\succeq",!0),bt(yt,wt,qt,"≃","\\simeq",!0),bt(yt,wt,qt,"∣","\\mid",!0),bt(yt,wt,qt,"≪","\\ll",!0),bt(yt,wt,qt,"≫","\\gg",!0),bt(yt,wt,qt,"≍","\\asymp",!0),bt(yt,wt,qt,"∥","\\parallel"),bt(yt,wt,qt,"⋈","\\bowtie",!0),bt(yt,wt,qt,"⌣","\\smile",!0),bt(yt,wt,qt,"⊑","\\sqsubseteq",!0),bt(yt,wt,qt,"⊒","\\sqsupseteq",!0),bt(yt,wt,qt,"≐","\\doteq",!0),bt(yt,wt,qt,"⌢","\\frown",!0),bt(yt,wt,qt,"∋","\\ni",!0),bt(yt,wt,qt,"∝","\\propto",!0),bt(yt,wt,qt,"⊢","\\vdash",!0),bt(yt,wt,qt,"⊣","\\dashv",!0),bt(yt,wt,qt,"∋","\\owns"),bt(yt,wt,Ct,".","\\ldotp"),bt(yt,wt,Ct,"⋅","\\cdotp"),bt(yt,wt,Ct,"⋅","·"),bt(xt,wt,Nt,"⋅","·"),bt(yt,wt,Nt,"#","\\#"),bt(xt,wt,Nt,"#","\\#"),bt(yt,wt,Nt,"&","\\&"),bt(xt,wt,Nt,"&","\\&"),bt(yt,wt,Nt,"ℵ","\\aleph",!0),bt(yt,wt,Nt,"∀","\\forall",!0),bt(yt,wt,Nt,"ℏ","\\hbar",!0),bt(yt,wt,Nt,"∃","\\exists",!0),bt(yt,wt,Nt,"∇","\\nabla",!0),bt(yt,wt,Nt,"♭","\\flat",!0),bt(yt,wt,Nt,"ℓ","\\ell",!0),bt(yt,wt,Nt,"♮","\\natural",!0),bt(yt,wt,Nt,"♣","\\clubsuit",!0),bt(yt,wt,Nt,"℘","\\wp",!0),bt(yt,wt,Nt,"♯","\\sharp",!0),bt(yt,wt,Nt,"♢","\\diamondsuit",!0),bt(yt,wt,Nt,"ℜ","\\Re",!0),bt(yt,wt,Nt,"♡","\\heartsuit",!0),bt(yt,wt,Nt,"ℑ","\\Im",!0),bt(yt,wt,Nt,"♠","\\spadesuit",!0),bt(yt,wt,Nt,"§","\\S",!0),bt(xt,wt,Nt,"§","\\S"),bt(yt,wt,Nt,"¶","\\P",!0),bt(xt,wt,Nt,"¶","\\P"),bt(yt,wt,Nt,"†","\\dag"),bt(xt,wt,Nt,"†","\\dag"),bt(xt,wt,Nt,"†","\\textdagger"),bt(yt,wt,Nt,"‡","\\ddag"),bt(xt,wt,Nt,"‡","\\ddag"),bt(xt,wt,Nt,"‡","\\textdaggerdbl"),bt(yt,wt,At,"⎱","\\rmoustache",!0),bt(yt,wt,Bt,"⎰","\\lmoustache",!0),bt(yt,wt,At,"⟯","\\rgroup",!0),bt(yt,wt,Bt,"⟮","\\lgroup",!0),bt(yt,wt,zt,"∓","\\mp",!0),bt(yt,wt,zt,"⊖","\\ominus",!0),bt(yt,wt,zt,"⊎","\\uplus",!0),bt(yt,wt,zt,"⊓","\\sqcap",!0),bt(yt,wt,zt,"∗","\\ast"),bt(yt,wt,zt,"⊔","\\sqcup",!0),bt(yt,wt,zt,"◯","\\bigcirc",!0),bt(yt,wt,zt,"∙","\\bullet",!0),bt(yt,wt,zt,"‡","\\ddagger"),bt(yt,wt,zt,"≀","\\wr",!0),bt(yt,wt,zt,"⨿","\\amalg"),bt(yt,wt,zt,"&","\\And"),bt(yt,wt,qt,"⟵","\\longleftarrow",!0),bt(yt,wt,qt,"⇐","\\Leftarrow",!0),bt(yt,wt,qt,"⟸","\\Longleftarrow",!0),bt(yt,wt,qt,"⟶","\\longrightarrow",!0),bt(yt,wt,qt,"⇒","\\Rightarrow",!0),bt(yt,wt,qt,"⟹","\\Longrightarrow",!0),bt(yt,wt,qt,"↔","\\leftrightarrow",!0),bt(yt,wt,qt,"⟷","\\longleftrightarrow",!0),bt(yt,wt,qt,"⇔","\\Leftrightarrow",!0),bt(yt,wt,qt,"⟺","\\Longleftrightarrow",!0),bt(yt,wt,qt,"↦","\\mapsto",!0),bt(yt,wt,qt,"⟼","\\longmapsto",!0),bt(yt,wt,qt,"↗","\\nearrow",!0),bt(yt,wt,qt,"↩","\\hookleftarrow",!0),bt(yt,wt,qt,"↪","\\hookrightarrow",!0),bt(yt,wt,qt,"↘","\\searrow",!0),bt(yt,wt,qt,"↼","\\leftharpoonup",!0),bt(yt,wt,qt,"⇀","\\rightharpoonup",!0),bt(yt,wt,qt,"↙","\\swarrow",!0),bt(yt,wt,qt,"↽","\\leftharpoondown",!0),bt(yt,wt,qt,"⇁","\\rightharpoondown",!0),bt(yt,wt,qt,"↖","\\nwarrow",!0),bt(yt,wt,qt,"⇌","\\rightleftharpoons",!0),bt(yt,kt,qt,"≮","\\nless",!0),bt(yt,kt,qt,"","\\@nleqslant"),bt(yt,kt,qt,"","\\@nleqq"),bt(yt,kt,qt,"⪇","\\lneq",!0),bt(yt,kt,qt,"≨","\\lneqq",!0),bt(yt,kt,qt,"","\\@lvertneqq"),bt(yt,kt,qt,"⋦","\\lnsim",!0),bt(yt,kt,qt,"⪉","\\lnapprox",!0),bt(yt,kt,qt,"⊀","\\nprec",!0),bt(yt,kt,qt,"⋠","\\npreceq",!0),bt(yt,kt,qt,"⋨","\\precnsim",!0),bt(yt,kt,qt,"⪹","\\precnapprox",!0),bt(yt,kt,qt,"≁","\\nsim",!0),bt(yt,kt,qt,"","\\@nshortmid"),bt(yt,kt,qt,"∤","\\nmid",!0),bt(yt,kt,qt,"⊬","\\nvdash",!0),bt(yt,kt,qt,"⊭","\\nvDash",!0),bt(yt,kt,qt,"⋪","\\ntriangleleft"),bt(yt,kt,qt,"⋬","\\ntrianglelefteq",!0),bt(yt,kt,qt,"⊊","\\subsetneq",!0),bt(yt,kt,qt,"","\\@varsubsetneq"),bt(yt,kt,qt,"⫋","\\subsetneqq",!0),bt(yt,kt,qt,"","\\@varsubsetneqq"),bt(yt,kt,qt,"≯","\\ngtr",!0),bt(yt,kt,qt,"","\\@ngeqslant"),bt(yt,kt,qt,"","\\@ngeqq"),bt(yt,kt,qt,"⪈","\\gneq",!0),bt(yt,kt,qt,"≩","\\gneqq",!0),bt(yt,kt,qt,"","\\@gvertneqq"),bt(yt,kt,qt,"⋧","\\gnsim",!0),bt(yt,kt,qt,"⪊","\\gnapprox",!0),bt(yt,kt,qt,"⊁","\\nsucc",!0),bt(yt,kt,qt,"⋡","\\nsucceq",!0),bt(yt,kt,qt,"⋩","\\succnsim",!0),bt(yt,kt,qt,"⪺","\\succnapprox",!0),bt(yt,kt,qt,"≆","\\ncong",!0),bt(yt,kt,qt,"","\\@nshortparallel"),bt(yt,kt,qt,"∦","\\nparallel",!0),bt(yt,kt,qt,"⊯","\\nVDash",!0),bt(yt,kt,qt,"⋫","\\ntriangleright"),bt(yt,kt,qt,"⋭","\\ntrianglerighteq",!0),bt(yt,kt,qt,"","\\@nsupseteqq"),bt(yt,kt,qt,"⊋","\\supsetneq",!0),bt(yt,kt,qt,"","\\@varsupsetneq"),bt(yt,kt,qt,"⫌","\\supsetneqq",!0),bt(yt,kt,qt,"","\\@varsupsetneqq"),bt(yt,kt,qt,"⊮","\\nVdash",!0),bt(yt,kt,qt,"⪵","\\precneqq",!0),bt(yt,kt,qt,"⪶","\\succneqq",!0),bt(yt,kt,qt,"","\\@nsubseteqq"),bt(yt,kt,zt,"⊴","\\unlhd"),bt(yt,kt,zt,"⊵","\\unrhd"),bt(yt,kt,qt,"↚","\\nleftarrow",!0),bt(yt,kt,qt,"↛","\\nrightarrow",!0),bt(yt,kt,qt,"⇍","\\nLeftarrow",!0),bt(yt,kt,qt,"⇏","\\nRightarrow",!0),bt(yt,kt,qt,"↮","\\nleftrightarrow",!0),bt(yt,kt,qt,"⇎","\\nLeftrightarrow",!0),bt(yt,kt,qt,"△","\\vartriangle"),bt(yt,kt,Nt,"ℏ","\\hslash"),bt(yt,kt,Nt,"▽","\\triangledown"),bt(yt,kt,Nt,"◊","\\lozenge"),bt(yt,kt,Nt,"Ⓢ","\\circledS"),bt(yt,kt,Nt,"®","\\circledR"),bt(xt,kt,Nt,"®","\\circledR"),bt(yt,kt,Nt,"∡","\\measuredangle",!0),bt(yt,kt,Nt,"∄","\\nexists"),bt(yt,kt,Nt,"℧","\\mho"),bt(yt,kt,Nt,"Ⅎ","\\Finv",!0),bt(yt,kt,Nt,"⅁","\\Game",!0),bt(yt,kt,Nt,"‵","\\backprime"),bt(yt,kt,Nt,"▲","\\blacktriangle"),bt(yt,kt,Nt,"▼","\\blacktriangledown"),bt(yt,kt,Nt,"■","\\blacksquare"),bt(yt,kt,Nt,"⧫","\\blacklozenge"),bt(yt,kt,Nt,"★","\\bigstar"),bt(yt,kt,Nt,"∢","\\sphericalangle",!0),bt(yt,kt,Nt,"∁","\\complement",!0),bt(yt,kt,Nt,"ð","\\eth",!0),bt(xt,wt,Nt,"ð","ð"),bt(yt,kt,Nt,"╱","\\diagup"),bt(yt,kt,Nt,"╲","\\diagdown"),bt(yt,kt,Nt,"□","\\square"),bt(yt,kt,Nt,"□","\\Box"),bt(yt,kt,Nt,"◊","\\Diamond"),bt(yt,kt,Nt,"¥","\\yen",!0),bt(xt,kt,Nt,"¥","\\yen",!0),bt(yt,kt,Nt,"✓","\\checkmark",!0),bt(xt,kt,Nt,"✓","\\checkmark"),bt(yt,kt,Nt,"ℶ","\\beth",!0),bt(yt,kt,Nt,"ℸ","\\daleth",!0),bt(yt,kt,Nt,"ℷ","\\gimel",!0),bt(yt,kt,Nt,"ϝ","\\digamma",!0),bt(yt,kt,Nt,"ϰ","\\varkappa"),bt(yt,kt,Bt,"┌","\\@ulcorner",!0),bt(yt,kt,At,"┐","\\@urcorner",!0),bt(yt,kt,Bt,"└","\\@llcorner",!0),bt(yt,kt,At,"┘","\\@lrcorner",!0),bt(yt,kt,qt,"≦","\\leqq",!0),bt(yt,kt,qt,"⩽","\\leqslant",!0),bt(yt,kt,qt,"⪕","\\eqslantless",!0),bt(yt,kt,qt,"≲","\\lesssim",!0),bt(yt,kt,qt,"⪅","\\lessapprox",!0),bt(yt,kt,qt,"≊","\\approxeq",!0),bt(yt,kt,zt,"⋖","\\lessdot"),bt(yt,kt,qt,"⋘","\\lll",!0),bt(yt,kt,qt,"≶","\\lessgtr",!0),bt(yt,kt,qt,"⋚","\\lesseqgtr",!0),bt(yt,kt,qt,"⪋","\\lesseqqgtr",!0),bt(yt,kt,qt,"≑","\\doteqdot"),bt(yt,kt,qt,"≓","\\risingdotseq",!0),bt(yt,kt,qt,"≒","\\fallingdotseq",!0),bt(yt,kt,qt,"∽","\\backsim",!0),bt(yt,kt,qt,"⋍","\\backsimeq",!0),bt(yt,kt,qt,"⫅","\\subseteqq",!0),bt(yt,kt,qt,"⋐","\\Subset",!0),bt(yt,kt,qt,"⊏","\\sqsubset",!0),bt(yt,kt,qt,"≼","\\preccurlyeq",!0),bt(yt,kt,qt,"⋞","\\curlyeqprec",!0),bt(yt,kt,qt,"≾","\\precsim",!0),bt(yt,kt,qt,"⪷","\\precapprox",!0),bt(yt,kt,qt,"⊲","\\vartriangleleft"),bt(yt,kt,qt,"⊴","\\trianglelefteq"),bt(yt,kt,qt,"⊨","\\vDash",!0),bt(yt,kt,qt,"⊪","\\Vvdash",!0),bt(yt,kt,qt,"⌣","\\smallsmile"),bt(yt,kt,qt,"⌢","\\smallfrown"),bt(yt,kt,qt,"≏","\\bumpeq",!0),bt(yt,kt,qt,"≎","\\Bumpeq",!0),bt(yt,kt,qt,"≧","\\geqq",!0),bt(yt,kt,qt,"⩾","\\geqslant",!0),bt(yt,kt,qt,"⪖","\\eqslantgtr",!0),bt(yt,kt,qt,"≳","\\gtrsim",!0),bt(yt,kt,qt,"⪆","\\gtrapprox",!0),bt(yt,kt,zt,"⋗","\\gtrdot"),bt(yt,kt,qt,"⋙","\\ggg",!0),bt(yt,kt,qt,"≷","\\gtrless",!0),bt(yt,kt,qt,"⋛","\\gtreqless",!0),bt(yt,kt,qt,"⪌","\\gtreqqless",!0),bt(yt,kt,qt,"≖","\\eqcirc",!0),bt(yt,kt,qt,"≗","\\circeq",!0),bt(yt,kt,qt,"≜","\\triangleq",!0),bt(yt,kt,qt,"∼","\\thicksim"),bt(yt,kt,qt,"≈","\\thickapprox"),bt(yt,kt,qt,"⫆","\\supseteqq",!0),bt(yt,kt,qt,"⋑","\\Supset",!0),bt(yt,kt,qt,"⊐","\\sqsupset",!0),bt(yt,kt,qt,"≽","\\succcurlyeq",!0),bt(yt,kt,qt,"⋟","\\curlyeqsucc",!0),bt(yt,kt,qt,"≿","\\succsim",!0),bt(yt,kt,qt,"⪸","\\succapprox",!0),bt(yt,kt,qt,"⊳","\\vartriangleright"),bt(yt,kt,qt,"⊵","\\trianglerighteq"),bt(yt,kt,qt,"⊩","\\Vdash",!0),bt(yt,kt,qt,"∣","\\shortmid"),bt(yt,kt,qt,"∥","\\shortparallel"),bt(yt,kt,qt,"≬","\\between",!0),bt(yt,kt,qt,"⋔","\\pitchfork",!0),bt(yt,kt,qt,"∝","\\varpropto"),bt(yt,kt,qt,"◀","\\blacktriangleleft"),bt(yt,kt,qt,"∴","\\therefore",!0),bt(yt,kt,qt,"∍","\\backepsilon"),bt(yt,kt,qt,"▶","\\blacktriangleright"),bt(yt,kt,qt,"∵","\\because",!0),bt(yt,kt,qt,"⋘","\\llless"),bt(yt,kt,qt,"⋙","\\gggtr"),bt(yt,kt,zt,"⊲","\\lhd"),bt(yt,kt,zt,"⊳","\\rhd"),bt(yt,kt,qt,"≂","\\eqsim",!0),bt(yt,wt,qt,"⋈","\\Join"),bt(yt,kt,qt,"≑","\\Doteq",!0),bt(yt,kt,zt,"∔","\\dotplus",!0),bt(yt,kt,zt,"∖","\\smallsetminus"),bt(yt,kt,zt,"⋒","\\Cap",!0),bt(yt,kt,zt,"⋓","\\Cup",!0),bt(yt,kt,zt,"⩞","\\doublebarwedge",!0),bt(yt,kt,zt,"⊟","\\boxminus",!0),bt(yt,kt,zt,"⊞","\\boxplus",!0),bt(yt,kt,zt,"⋇","\\divideontimes",!0),bt(yt,kt,zt,"⋉","\\ltimes",!0),bt(yt,kt,zt,"⋊","\\rtimes",!0),bt(yt,kt,zt,"⋋","\\leftthreetimes",!0),bt(yt,kt,zt,"⋌","\\rightthreetimes",!0),bt(yt,kt,zt,"⋏","\\curlywedge",!0),bt(yt,kt,zt,"⋎","\\curlyvee",!0),bt(yt,kt,zt,"⊝","\\circleddash",!0),bt(yt,kt,zt,"⊛","\\circledast",!0),bt(yt,kt,zt,"⋅","\\centerdot"),bt(yt,kt,zt,"⊺","\\intercal",!0),bt(yt,kt,zt,"⋒","\\doublecap"),bt(yt,kt,zt,"⋓","\\doublecup"),bt(yt,kt,zt,"⊠","\\boxtimes",!0),bt(yt,kt,qt,"⇢","\\dashrightarrow",!0),bt(yt,kt,qt,"⇠","\\dashleftarrow",!0),bt(yt,kt,qt,"⇇","\\leftleftarrows",!0),bt(yt,kt,qt,"⇆","\\leftrightarrows",!0),bt(yt,kt,qt,"⇚","\\Lleftarrow",!0),bt(yt,kt,qt,"↞","\\twoheadleftarrow",!0),bt(yt,kt,qt,"↢","\\leftarrowtail",!0),bt(yt,kt,qt,"↫","\\looparrowleft",!0),bt(yt,kt,qt,"⇋","\\leftrightharpoons",!0),bt(yt,kt,qt,"↶","\\curvearrowleft",!0),bt(yt,kt,qt,"↺","\\circlearrowleft",!0),bt(yt,kt,qt,"↰","\\Lsh",!0),bt(yt,kt,qt,"⇈","\\upuparrows",!0),bt(yt,kt,qt,"↿","\\upharpoonleft",!0),bt(yt,kt,qt,"⇃","\\downharpoonleft",!0),bt(yt,wt,qt,"⊶","\\origof",!0),bt(yt,wt,qt,"⊷","\\imageof",!0),bt(yt,kt,qt,"⊸","\\multimap",!0),bt(yt,kt,qt,"↭","\\leftrightsquigarrow",!0),bt(yt,kt,qt,"⇉","\\rightrightarrows",!0),bt(yt,kt,qt,"⇄","\\rightleftarrows",!0),bt(yt,kt,qt,"↠","\\twoheadrightarrow",!0),bt(yt,kt,qt,"↣","\\rightarrowtail",!0),bt(yt,kt,qt,"↬","\\looparrowright",!0),bt(yt,kt,qt,"↷","\\curvearrowright",!0),bt(yt,kt,qt,"↻","\\circlearrowright",!0),bt(yt,kt,qt,"↱","\\Rsh",!0),bt(yt,kt,qt,"⇊","\\downdownarrows",!0),bt(yt,kt,qt,"↾","\\upharpoonright",!0),bt(yt,kt,qt,"⇂","\\downharpoonright",!0),bt(yt,kt,qt,"⇝","\\rightsquigarrow",!0),bt(yt,kt,qt,"⇝","\\leadsto"),bt(yt,kt,qt,"⇛","\\Rrightarrow",!0),bt(yt,kt,qt,"↾","\\restriction"),bt(yt,wt,Nt,"‘","`"),bt(yt,wt,Nt,"$","\\$"),bt(xt,wt,Nt,"$","\\$"),bt(xt,wt,Nt,"$","\\textdollar"),bt(yt,wt,Nt,"%","\\%"),bt(xt,wt,Nt,"%","\\%"),bt(yt,wt,Nt,"_","\\_"),bt(xt,wt,Nt,"_","\\_"),bt(xt,wt,Nt,"_","\\textunderscore"),bt(yt,wt,Nt,"∠","\\angle",!0),bt(yt,wt,Nt,"∞","\\infty",!0),bt(yt,wt,Nt,"′","\\prime"),bt(yt,wt,Nt,"△","\\triangle"),bt(yt,wt,Nt,"Γ","\\Gamma",!0),bt(yt,wt,Nt,"Δ","\\Delta",!0),bt(yt,wt,Nt,"Θ","\\Theta",!0),bt(yt,wt,Nt,"Λ","\\Lambda",!0),bt(yt,wt,Nt,"Ξ","\\Xi",!0),bt(yt,wt,Nt,"Π","\\Pi",!0),bt(yt,wt,Nt,"Σ","\\Sigma",!0),bt(yt,wt,Nt,"Υ","\\Upsilon",!0),bt(yt,wt,Nt,"Φ","\\Phi",!0),bt(yt,wt,Nt,"Ψ","\\Psi",!0),bt(yt,wt,Nt,"Ω","\\Omega",!0),bt(yt,wt,Nt,"A","Α"),bt(yt,wt,Nt,"B","Β"),bt(yt,wt,Nt,"E","Ε"),bt(yt,wt,Nt,"Z","Ζ"),bt(yt,wt,Nt,"H","Η"),bt(yt,wt,Nt,"I","Ι"),bt(yt,wt,Nt,"K","Κ"),bt(yt,wt,Nt,"M","Μ"),bt(yt,wt,Nt,"N","Ν"),bt(yt,wt,Nt,"O","Ο"),bt(yt,wt,Nt,"P","Ρ"),bt(yt,wt,Nt,"T","Τ"),bt(yt,wt,Nt,"X","Χ"),bt(yt,wt,Nt,"¬","\\neg",!0),bt(yt,wt,Nt,"¬","\\lnot"),bt(yt,wt,Nt,"⊤","\\top"),bt(yt,wt,Nt,"⊥","\\bot"),bt(yt,wt,Nt,"∅","\\emptyset"),bt(yt,kt,Nt,"∅","\\varnothing"),bt(yt,wt,Tt,"α","\\alpha",!0),bt(yt,wt,Tt,"β","\\beta",!0),bt(yt,wt,Tt,"γ","\\gamma",!0),bt(yt,wt,Tt,"δ","\\delta",!0),bt(yt,wt,Tt,"ϵ","\\epsilon",!0),bt(yt,wt,Tt,"ζ","\\zeta",!0),bt(yt,wt,Tt,"η","\\eta",!0),bt(yt,wt,Tt,"θ","\\theta",!0),bt(yt,wt,Tt,"ι","\\iota",!0),bt(yt,wt,Tt,"κ","\\kappa",!0),bt(yt,wt,Tt,"λ","\\lambda",!0),bt(yt,wt,Tt,"μ","\\mu",!0),bt(yt,wt,Tt,"ν","\\nu",!0),bt(yt,wt,Tt,"ξ","\\xi",!0),bt(yt,wt,Tt,"ο","\\omicron",!0),bt(yt,wt,Tt,"π","\\pi",!0),bt(yt,wt,Tt,"ρ","\\rho",!0),bt(yt,wt,Tt,"σ","\\sigma",!0),bt(yt,wt,Tt,"τ","\\tau",!0),bt(yt,wt,Tt,"υ","\\upsilon",!0),bt(yt,wt,Tt,"ϕ","\\phi",!0),bt(yt,wt,Tt,"χ","\\chi",!0),bt(yt,wt,Tt,"ψ","\\psi",!0),bt(yt,wt,Tt,"ω","\\omega",!0),bt(yt,wt,Tt,"ε","\\varepsilon",!0),bt(yt,wt,Tt,"ϑ","\\vartheta",!0),bt(yt,wt,Tt,"ϖ","\\varpi",!0),bt(yt,wt,Tt,"ϱ","\\varrho",!0),bt(yt,wt,Tt,"ς","\\varsigma",!0),bt(yt,wt,Tt,"φ","\\varphi",!0),bt(yt,wt,zt,"∗","*",!0),bt(yt,wt,zt,"+","+"),bt(yt,wt,zt,"−","-",!0),bt(yt,wt,zt,"⋅","\\cdot",!0),bt(yt,wt,zt,"∘","\\circ",!0),bt(yt,wt,zt,"÷","\\div",!0),bt(yt,wt,zt,"±","\\pm",!0),bt(yt,wt,zt,"×","\\times",!0),bt(yt,wt,zt,"∩","\\cap",!0),bt(yt,wt,zt,"∪","\\cup",!0),bt(yt,wt,zt,"∖","\\setminus",!0),bt(yt,wt,zt,"∧","\\land"),bt(yt,wt,zt,"∨","\\lor"),bt(yt,wt,zt,"∧","\\wedge",!0),bt(yt,wt,zt,"∨","\\vee",!0),bt(yt,wt,Nt,"√","\\surd"),bt(yt,wt,Bt,"⟨","\\langle",!0),bt(yt,wt,Bt,"∣","\\lvert"),bt(yt,wt,Bt,"∥","\\lVert"),bt(yt,wt,At,"?","?"),bt(yt,wt,At,"!","!"),bt(yt,wt,At,"⟩","\\rangle",!0),bt(yt,wt,At,"∣","\\rvert"),bt(yt,wt,At,"∥","\\rVert"),bt(yt,wt,qt,"=","="),bt(yt,wt,qt,":",":"),bt(yt,wt,qt,"≈","\\approx",!0),bt(yt,wt,qt,"≅","\\cong",!0),bt(yt,wt,qt,"≥","\\ge"),bt(yt,wt,qt,"≥","\\geq",!0),bt(yt,wt,qt,"←","\\gets"),bt(yt,wt,qt,">","\\gt",!0),bt(yt,wt,qt,"∈","\\in",!0),bt(yt,wt,qt,"","\\@not"),bt(yt,wt,qt,"⊂","\\subset",!0),bt(yt,wt,qt,"⊃","\\supset",!0),bt(yt,wt,qt,"⊆","\\subseteq",!0),bt(yt,wt,qt,"⊇","\\supseteq",!0),bt(yt,kt,qt,"⊈","\\nsubseteq",!0),bt(yt,kt,qt,"⊉","\\nsupseteq",!0),bt(yt,wt,qt,"⊨","\\models"),bt(yt,wt,qt,"←","\\leftarrow",!0),bt(yt,wt,qt,"≤","\\le"),bt(yt,wt,qt,"≤","\\leq",!0),bt(yt,wt,qt,"<","\\lt",!0),bt(yt,wt,qt,"→","\\rightarrow",!0),bt(yt,wt,qt,"→","\\to"),bt(yt,kt,qt,"≱","\\ngeq",!0),bt(yt,kt,qt,"≰","\\nleq",!0),bt(yt,wt,Et," ","\\ "),bt(yt,wt,Et," ","\\space"),bt(yt,wt,Et," ","\\nobreakspace"),bt(xt,wt,Et," ","\\ "),bt(xt,wt,Et," "," "),bt(xt,wt,Et," ","\\space"),bt(xt,wt,Et," ","\\nobreakspace"),bt(yt,wt,Et,null,"\\nobreak"),bt(yt,wt,Et,null,"\\allowbreak"),bt(yt,wt,Ct,",",","),bt(yt,wt,Ct,";",";"),bt(yt,kt,zt,"⊼","\\barwedge",!0),bt(yt,kt,zt,"⊻","\\veebar",!0),bt(yt,wt,zt,"⊙","\\odot",!0),bt(yt,wt,zt,"⊕","\\oplus",!0),bt(yt,wt,zt,"⊗","\\otimes",!0),bt(yt,wt,Nt,"∂","\\partial",!0),bt(yt,wt,zt,"⊘","\\oslash",!0),bt(yt,kt,zt,"⊚","\\circledcirc",!0),bt(yt,kt,zt,"⊡","\\boxdot",!0),bt(yt,wt,zt,"△","\\bigtriangleup"),bt(yt,wt,zt,"▽","\\bigtriangledown"),bt(yt,wt,zt,"†","\\dagger"),bt(yt,wt,zt,"⋄","\\diamond"),bt(yt,wt,zt,"⋆","\\star"),bt(yt,wt,zt,"◃","\\triangleleft"),bt(yt,wt,zt,"▹","\\triangleright"),bt(yt,wt,Bt,"{","\\{"),bt(xt,wt,Nt,"{","\\{"),bt(xt,wt,Nt,"{","\\textbraceleft"),bt(yt,wt,At,"}","\\}"),bt(xt,wt,Nt,"}","\\}"),bt(xt,wt,Nt,"}","\\textbraceright"),bt(yt,wt,Bt,"{","\\lbrace"),bt(yt,wt,At,"}","\\rbrace"),bt(yt,wt,Bt,"[","\\lbrack",!0),bt(xt,wt,Nt,"[","\\lbrack",!0),bt(yt,wt,At,"]","\\rbrack",!0),bt(xt,wt,Nt,"]","\\rbrack",!0),bt(yt,wt,Bt,"(","\\lparen",!0),bt(yt,wt,At,")","\\rparen",!0),bt(xt,wt,Nt,"<","\\textless",!0),bt(xt,wt,Nt,">","\\textgreater",!0),bt(yt,wt,Bt,"⌊","\\lfloor",!0),bt(yt,wt,At,"⌋","\\rfloor",!0),bt(yt,wt,Bt,"⌈","\\lceil",!0),bt(yt,wt,At,"⌉","\\rceil",!0),bt(yt,wt,Nt,"\\","\\backslash"),bt(yt,wt,Nt,"∣","|"),bt(yt,wt,Nt,"∣","\\vert"),bt(xt,wt,Nt,"|","\\textbar",!0),bt(yt,wt,Nt,"∥","\\|"),bt(yt,wt,Nt,"∥","\\Vert"),bt(xt,wt,Nt,"∥","\\textbardbl"),bt(xt,wt,Nt,"~","\\textasciitilde"),bt(xt,wt,Nt,"\\","\\textbackslash"),bt(xt,wt,Nt,"^","\\textasciicircum"),bt(yt,wt,qt,"↑","\\uparrow",!0),bt(yt,wt,qt,"⇑","\\Uparrow",!0),bt(yt,wt,qt,"↓","\\downarrow",!0),bt(yt,wt,qt,"⇓","\\Downarrow",!0),bt(yt,wt,qt,"↕","\\updownarrow",!0),bt(yt,wt,qt,"⇕","\\Updownarrow",!0),bt(yt,wt,Ot,"∐","\\coprod"),bt(yt,wt,Ot,"⋁","\\bigvee"),bt(yt,wt,Ot,"⋀","\\bigwedge"),bt(yt,wt,Ot,"⨄","\\biguplus"),bt(yt,wt,Ot,"⋂","\\bigcap"),bt(yt,wt,Ot,"⋃","\\bigcup"),bt(yt,wt,Ot,"∫","\\int"),bt(yt,wt,Ot,"∫","\\intop"),bt(yt,wt,Ot,"∬","\\iint"),bt(yt,wt,Ot,"∭","\\iiint"),bt(yt,wt,Ot,"∏","\\prod"),bt(yt,wt,Ot,"∑","\\sum"),bt(yt,wt,Ot,"⨂","\\bigotimes"),bt(yt,wt,Ot,"⨁","\\bigoplus"),bt(yt,wt,Ot,"⨀","\\bigodot"),bt(yt,wt,Ot,"∮","\\oint"),bt(yt,wt,Ot,"∯","\\oiint"),bt(yt,wt,Ot,"∰","\\oiiint"),bt(yt,wt,Ot,"⨆","\\bigsqcup"),bt(yt,wt,Ot,"∫","\\smallint"),bt(xt,wt,Mt,"…","\\textellipsis"),bt(yt,wt,Mt,"…","\\mathellipsis"),bt(xt,wt,Mt,"…","\\ldots",!0),bt(yt,wt,Mt,"…","\\ldots",!0),bt(yt,wt,Mt,"⋯","\\@cdots",!0),bt(yt,wt,Mt,"⋱","\\ddots",!0),bt(yt,wt,Nt,"⋮","\\varvdots"),bt(xt,wt,Nt,"⋮","\\varvdots"),bt(yt,wt,St,"ˊ","\\acute"),bt(yt,wt,St,"ˋ","\\grave"),bt(yt,wt,St,"¨","\\ddot"),bt(yt,wt,St,"~","\\tilde"),bt(yt,wt,St,"ˉ","\\bar"),bt(yt,wt,St,"˘","\\breve"),bt(yt,wt,St,"ˇ","\\check"),bt(yt,wt,St,"^","\\hat"),bt(yt,wt,St,"⃗","\\vec"),bt(yt,wt,St,"˙","\\dot"),bt(yt,wt,St,"˚","\\mathring"),bt(yt,wt,Tt,"","\\@imath"),bt(yt,wt,Tt,"","\\@jmath"),bt(yt,wt,Nt,"ı","ı"),bt(yt,wt,Nt,"ȷ","ȷ"),bt(xt,wt,Nt,"ı","\\i",!0),bt(xt,wt,Nt,"ȷ","\\j",!0),bt(xt,wt,Nt,"ß","\\ss",!0),bt(xt,wt,Nt,"æ","\\ae",!0),bt(xt,wt,Nt,"œ","\\oe",!0),bt(xt,wt,Nt,"ø","\\o",!0),bt(xt,wt,Nt,"Æ","\\AE",!0),bt(xt,wt,Nt,"Œ","\\OE",!0),bt(xt,wt,Nt,"Ø","\\O",!0),bt(xt,wt,St,"ˊ","\\'"),bt(xt,wt,St,"ˋ","\\`"),bt(xt,wt,St,"ˆ","\\^"),bt(xt,wt,St,"˜","\\~"),bt(xt,wt,St,"ˉ","\\="),bt(xt,wt,St,"˘","\\u"),bt(xt,wt,St,"˙","\\."),bt(xt,wt,St,"¸","\\c"),bt(xt,wt,St,"˚","\\r"),bt(xt,wt,St,"ˇ","\\v"),bt(xt,wt,St,"¨",'\\"'),bt(xt,wt,St,"˝","\\H"),bt(xt,wt,St,"◯","\\textcircled");var It={"--":!0,"---":!0,"``":!0,"''":!0};bt(xt,wt,Nt,"–","--",!0),bt(xt,wt,Nt,"–","\\textendash"),bt(xt,wt,Nt,"—","---",!0),bt(xt,wt,Nt,"—","\\textemdash"),bt(xt,wt,Nt,"‘","`",!0),bt(xt,wt,Nt,"‘","\\textquoteleft"),bt(xt,wt,Nt,"’","'",!0),bt(xt,wt,Nt,"’","\\textquoteright"),bt(xt,wt,Nt,"“","``",!0),bt(xt,wt,Nt,"“","\\textquotedblleft"),bt(xt,wt,Nt,"”","''",!0),bt(xt,wt,Nt,"”","\\textquotedblright"),bt(yt,wt,Nt,"°","\\degree",!0),bt(xt,wt,Nt,"°","\\degree"),bt(xt,wt,Nt,"°","\\textdegree",!0),bt(yt,wt,Nt,"£","\\pounds"),bt(yt,wt,Nt,"£","\\mathsterling",!0),bt(xt,wt,Nt,"£","\\pounds"),bt(xt,wt,Nt,"£","\\textsterling",!0),bt(yt,kt,Nt,"✠","\\maltese"),bt(xt,kt,Nt,"✠","\\maltese");for(var Pt=0;Pt<14;Pt++){var Rt='0123456789/@."'.charAt(Pt);bt(yt,wt,Nt,Rt,Rt)}for(var jt=0;jt<25;jt++){var Dt='0123456789!@*()-=+";:?/.,'.charAt(jt);bt(xt,wt,Nt,Dt,Dt)}for(var Ht="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Lt=0;Lt<52;Lt++){var Vt=Ht.charAt(Lt);bt(yt,wt,Tt,Vt,Vt),bt(xt,wt,Nt,Vt,Vt)}bt(yt,kt,Nt,"C","ℂ"),bt(xt,kt,Nt,"C","ℂ"),bt(yt,kt,Nt,"H","ℍ"),bt(xt,kt,Nt,"H","ℍ"),bt(yt,kt,Nt,"N","ℕ"),bt(xt,kt,Nt,"N","ℕ"),bt(yt,kt,Nt,"P","ℙ"),bt(xt,kt,Nt,"P","ℙ"),bt(yt,kt,Nt,"Q","ℚ"),bt(xt,kt,Nt,"Q","ℚ"),bt(yt,kt,Nt,"R","ℝ"),bt(xt,kt,Nt,"R","ℝ"),bt(yt,kt,Nt,"Z","ℤ"),bt(xt,kt,Nt,"Z","ℤ"),bt(yt,wt,Tt,"h","ℎ"),bt(xt,wt,Tt,"h","ℎ");for(var Ft="",_t=0;_t<52;_t++){var Gt=Ht.charAt(_t);bt(yt,wt,Tt,Gt,Ft=String.fromCharCode(55349,56320+_t)),bt(xt,wt,Nt,Gt,Ft),bt(yt,wt,Tt,Gt,Ft=String.fromCharCode(55349,56372+_t)),bt(xt,wt,Nt,Gt,Ft),bt(yt,wt,Tt,Gt,Ft=String.fromCharCode(55349,56424+_t)),bt(xt,wt,Nt,Gt,Ft),bt(yt,wt,Tt,Gt,Ft=String.fromCharCode(55349,56580+_t)),bt(xt,wt,Nt,Gt,Ft),bt(yt,wt,Tt,Gt,Ft=String.fromCharCode(55349,56684+_t)),bt(xt,wt,Nt,Gt,Ft),bt(yt,wt,Tt,Gt,Ft=String.fromCharCode(55349,56736+_t)),bt(xt,wt,Nt,Gt,Ft),bt(yt,wt,Tt,Gt,Ft=String.fromCharCode(55349,56788+_t)),bt(xt,wt,Nt,Gt,Ft),bt(yt,wt,Tt,Gt,Ft=String.fromCharCode(55349,56840+_t)),bt(xt,wt,Nt,Gt,Ft),bt(yt,wt,Tt,Gt,Ft=String.fromCharCode(55349,56944+_t)),bt(xt,wt,Nt,Gt,Ft),_t<26&&(bt(yt,wt,Tt,Gt,Ft=String.fromCharCode(55349,56632+_t)),bt(xt,wt,Nt,Gt,Ft),bt(yt,wt,Tt,Gt,Ft=String.fromCharCode(55349,56476+_t)),bt(xt,wt,Nt,Gt,Ft))}bt(yt,wt,Tt,"k",Ft=String.fromCharCode(55349,56668)),bt(xt,wt,Nt,"k",Ft);for(var Ut=0;Ut<10;Ut++){var Wt=Ut.toString();bt(yt,wt,Tt,Wt,Ft=String.fromCharCode(55349,57294+Ut)),bt(xt,wt,Nt,Wt,Ft),bt(yt,wt,Tt,Wt,Ft=String.fromCharCode(55349,57314+Ut)),bt(xt,wt,Nt,Wt,Ft),bt(yt,wt,Tt,Wt,Ft=String.fromCharCode(55349,57324+Ut)),bt(xt,wt,Nt,Wt,Ft),bt(yt,wt,Tt,Wt,Ft=String.fromCharCode(55349,57334+Ut)),bt(xt,wt,Nt,Wt,Ft)}for(var Xt=0;Xt<3;Xt++){var Yt="ÐÞþ".charAt(Xt);bt(yt,wt,Tt,Yt,Yt),bt(xt,wt,Nt,Yt,Yt)}var $t=[["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"]],Zt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Kt=function(e,t,r){if(vt[r][e]){var n=vt[r][e].replace;n&&(e=n)}return{value:e,metrics:ut(e,t,r)}},Jt=function(e,t,r,n,a){var i,o=Kt(e,t,r),s=o.metrics;if(e=o.value,s){var l=s.italic;("text"===r||n&&"mathit"===n.font)&&(l=0),i=new ot(e,s.height,s.depth,l,s.skew,s.width,a)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new ot(e,0,0,0,0,0,a);if(n){i.maxFontSize=n.sizeMultiplier,n.style.isTight()&&i.classes.push("mtight");var h=n.getColor();h&&(i.style.color=h)}return i},Qt=function(e,t,r,n){return void 0===n&&(n=[]),"boldsymbol"===r.font&&Kt(e,"Main-Bold",t).metrics?Jt(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===vt[t][e].font?Jt(e,"Main-Regular",t,r,n):Jt(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},er=function(e,t,r){var n=e.mode,a=e.text,i=["mord"],o="math"===n||"text"===n&&t.font,s=o?t.font:t.fontFamily,l="",h="";if(55349===a.charCodeAt(0)&&([l,h]=((e,t)=>{var r=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536,n="math"===t?0:1;if(119808<=r&&r<120484){var a=Math.floor((r-119808)/26);return[$t[a][2],$t[a][n]]}if(120782<=r&&r<=120831){var i=Math.floor((r-120782)/10);return[Zt[i][2],Zt[i][n]]}if(120485===r||120486===r)return[$t[0][2],$t[0][n]];if(120486<r&&r<120782)return["",""];throw new ye("Unsupported character: "+e)})(a,n)),l.length>0)return Jt(a,l,n,t,i.concat(h));if(s){var c,m;if("boldsymbol"===s){var p=function(e,t,r,n,a){return"textord"!==a&&Kt(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(a,n,0,0,r);c=p.fontName,m=[p.fontClass]}else o?(c=pr[s].fontName,m=[s]):(c=mr(s,t.fontWeight,t.fontShape),m=[s,t.fontWeight,t.fontShape]);if(Kt(a,c,n).metrics)return Jt(a,c,n,t,i.concat(m));if(It.hasOwnProperty(a)&&"Typewriter"===c.slice(0,10)){for(var u=[],d=0;d<a.length;d++)u.push(Jt(a[d],c,n,t,i.concat(m)));return sr(u)}}if("mathord"===r)return Jt(a,"Math-Italic",n,t,i.concat(["mathnormal"]));if("textord"===r){var f=vt[n][a]&&vt[n][a].font;if("ams"===f){var g=mr("amsrm",t.fontWeight,t.fontShape);return Jt(a,g,n,t,i.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==f&&f){var v=mr(f,t.fontWeight,t.fontShape);return Jt(a,v,n,t,i.concat(v,t.fontWeight,t.fontShape))}var b=mr("textrm",t.fontWeight,t.fontShape);return Jt(a,b,n,t,i.concat(t.fontWeight,t.fontShape))}throw new Error("unexpected type: "+r+" in makeOrd")},tr=(e,t)=>{if(Ke(e.classes)!==Ke(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||0!==e.italic&&e.hasClass("mathnormal"))return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var n of Object.keys(e.style))if(e.style[n]!==t.style[n])return!1;for(var a of Object.keys(t.style))if(e.style[a]!==t.style[a])return!1;return!0},rr=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof ot&&n instanceof ot&&tr(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},nr=function(e){for(var t=0,r=0,n=0,a=0;a<e.children.length;a++){var i=e.children[a];i.height>t&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>n&&(n=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=n},ar=function(e,t,r,n){var a=new rt(e,t,r,n);return nr(a),a},ir=(e,t,r,n)=>new rt(e,t,r,n),or=function(e,t,r){var n=ar([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=Ze(n.height),n.maxFontSize=1,n},sr=function(e){var t=new Ue(e);return nr(t),t},lr=function(e,t){return e instanceof Ue?ar([],[e],t):e},hr=function(e,t){for(var{children:r,depth:n}=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],n=-t[0].shift-t[0].elem.depth,a=n,i=1;i<t.length;i++){var o=-t[i].shift-a-t[i].elem.depth,s=o-(t[i-1].elem.height+t[i-1].elem.depth);a+=o,r.push({type:"kern",size:s}),r.push(t[i])}return{children:r,depth:n}}var l;if("top"===e.positionType){for(var h=e.positionData,c=0;c<e.children.length;c++){var m=e.children[c];h-="kern"===m.type?m.size:m.elem.height+m.elem.depth}l=h}else if("bottom"===e.positionType)l=-e.positionData;else{var p=e.children[0];if("elem"!==p.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)l=-p.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");l=-p.elem.depth}}return{children:e.children,depth:l}}(e),a=0,i=0;i<r.length;i++){var o=r[i];if("elem"===o.type){var s=o.elem;a=Math.max(a,s.maxFontSize,s.height)}}a+=2;var l=ar(["pstrut"],[]);l.style.height=Ze(a);for(var h=[],c=n,m=n,p=n,u=0;u<r.length;u++){var d=r[u];if("kern"===d.type)p+=d.size;else{var f=d.elem,g=d.wrapperClasses||[],v=d.wrapperStyle||{},b=ar(g,[l,f],void 0,v);b.style.top=Ze(-a-p-f.depth),d.marginLeft&&(b.style.marginLeft=d.marginLeft),d.marginRight&&(b.style.marginRight=d.marginRight),h.push(b),p+=f.height+f.depth}c=Math.min(c,p),m=Math.max(m,p)}var y,x=ar(["vlist"],h);if(x.style.height=Ze(m),c<0){var w=ar([],[]),k=ar(["vlist"],[w]);k.style.height=Ze(-c);var S=ar(["vlist-s"],[new ot("")]);y=[ar(["vlist-r"],[x,S]),ar(["vlist-r"],[k])]}else y=[ar(["vlist-r"],[x])];var z=ar(["vlist-t"],y);return 2===y.length&&z.classes.push("vlist-t2"),z.height=m,z.depth=-c,z},cr=(e,t)=>{var r=ar(["mspace"],[],t),n=$e(e,t);return r.style.marginRight=Ze(n),r},mr=function(e,t,r){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}return n+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},pr={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"}},ur={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},dr=function(e,t){var[r,n,a]=ur[e],i=new lt(r),o=new st([i],{width:Ze(n),height:Ze(a),style:"width:"+Ze(n),viewBox:"0 0 "+1e3*n+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),s=ir(["overlay"],[o],t);return s.height=a,s.style.height=Ze(a),s.style.width=Ze(n),s},fr={number:3,unit:"mu"},gr={number:4,unit:"mu"},vr={number:5,unit:"mu"},br={mord:{mop:fr,mbin:gr,mrel:vr,minner:fr},mop:{mord:fr,mop:fr,mrel:vr,minner:fr},mbin:{mord:gr,mop:gr,mopen:gr,minner:gr},mrel:{mord:vr,mop:vr,mopen:vr,minner:vr},mopen:{},mclose:{mop:fr,mbin:gr,mrel:vr,minner:fr},mpunct:{mord:fr,mop:fr,mrel:vr,mopen:fr,mclose:fr,mpunct:fr,minner:fr},minner:{mord:fr,mop:fr,mbin:gr,mrel:vr,mopen:fr,mpunct:fr,minner:fr}},yr={mord:{mop:fr},mop:{mord:fr,mop:fr},mbin:{},mrel:{},mopen:{},mclose:{mop:fr},mpunct:{},minner:{mop:fr}},xr={},wr={},kr={};function Sr(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:o}=e,s={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:void 0===n.allowedInMath||n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:a},l=0;l<r.length;++l)xr[r[l]]=s;t&&(i&&(wr[t]=i),o&&(kr[t]=o))}function zr(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;Sr({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var Ar=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},Mr=function(e){return"ordgroup"===e.type?e.body:[e]},Tr=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),Or=new Set(["rightmost","mrel","mclose","mpunct"]),Br={display:He.DISPLAY,text:He.TEXT,script:He.SCRIPT,scriptscript:He.SCRIPTSCRIPT},Cr={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},qr=function(e,t,r,n){void 0===n&&(n=[null,null]);for(var a=[],i=0;i<e.length;i++){var o=jr(e[i],t);if(o instanceof Ue){var s=o.children;a.push(...s)}else a.push(o)}if(rr(a),!r)return a;var l=t;if(1===e.length){var h=e[0];"sizing"===h.type?l=t.havingSize(h.size):"styling"===h.type&&(l=t.havingStyle(Br[h.style]))}var c=ar([n[0]||"leftmost"],[],t),m=ar([n[1]||"rightmost"],[],t),p="root"===r;return Er(a,(e,t)=>{var r=t.classes[0],n=e.classes[0];"mbin"===r&&Or.has(n)?t.classes[0]="mord":"mbin"===n&&Tr.has(r)&&(e.classes[0]="mord")},{node:c},m,p),Er(a,(e,t)=>{var r,n,a=Pr(t),i=Pr(e),o=a&&i?e.hasClass("mtight")?null==(r=yr[a])?void 0:r[i]:null==(n=br[a])?void 0:n[i]:null;if(o)return cr(o,l)},{node:c},m,p),a},Er=function(e,t,r,n,a){n&&e.push(n);for(var i=0;i<e.length;i++){var o=e[i],s=Nr(o);if(s)Er(s.children,t,r,null,a);else{var l=!o.hasClass("mspace");if(l){var h=t(o,r.node);h&&(r.insertAfter?r.insertAfter(h):(e.unshift(h),i++))}l?r.node=o:a&&o.hasClass("newline")&&(r.node=ar(["leftmost"])),r.insertAfter=(t=>r=>{e.splice(t+1,0,r),i++})(i)}}n&&e.pop()},Nr=function(e){return e instanceof Ue||e instanceof nt||e instanceof rt&&e.hasClass("enclosing")?e:null},Ir=function(e,t){var r=Nr(e);if(r){var n=r.children;if(n.length){if("right"===t)return Ir(n[n.length-1],"right");if("left"===t)return Ir(n[0],"left")}}return e},Pr=function(e,t){if(!e)return null;t&&(e=Ir(e,t));var r=e.classes[0];return Cr[r]||null},Rr=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return ar(t.concat(r))},jr=function(e,t,r){if(!e)return ar();if(wr[e.type]){var n=wr[e.type](e,t);if(r&&t.size!==r.size){n=ar(t.sizingClasses(r),[n],t);var a=t.sizeMultiplier/r.sizeMultiplier;n.height*=a,n.depth*=a}return n}throw new ye("Got group of unknown type: '"+e.type+"'")};function Dr(e,t){var r=ar(["base"],e,t),n=ar(["strut"]);return n.style.height=Ze(r.height+r.depth),r.depth&&(n.style.verticalAlign=Ze(-r.depth)),r.children.unshift(n),r}function Hr(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);var n,a=qr(e,t,"root");2===a.length&&a[1].hasClass("tag")&&(n=a.pop());for(var i,o=[],s=[],l=0;l<a.length;l++)if(s.push(a[l]),a[l].hasClass("mbin")||a[l].hasClass("mrel")||a[l].hasClass("allowbreak")){for(var h=!1;l<a.length-1&&a[l+1].hasClass("mspace")&&!a[l+1].hasClass("newline");)l++,s.push(a[l]),a[l].hasClass("nobreak")&&(h=!0);h||(o.push(Dr(s,t)),s=[])}else a[l].hasClass("newline")&&(s.pop(),s.length>0&&(o.push(Dr(s,t)),s=[]),o.push(a[l]));s.length>0&&o.push(Dr(s,t)),r?((i=Dr(qr(r,t,!0),t)).classes=["tag"],o.push(i)):n&&o.push(n);var c=ar(["katex-html"],o);if(c.setAttribute("aria-hidden","true"),i){var m=i.children[0];m.style.height=Ze(c.height+c.depth),c.depth&&(m.style.verticalAlign=Ze(-c.depth))}return c}function Lr(e){return new Ue(e)}class Vr{constructor(e,t,r){this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=Ke(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof Fr&&this.children[r+1]instanceof Fr){for(var n=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof Fr;)n+=this.children[++r].toText();e.appendChild(new Fr(n).toNode())}else e.appendChild(this.children[r].toNode());return e}toMarkup(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=ze(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+ze(Ke(this.classes))+'"'),e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+"</"+this.type+">"}toText(){return this.children.map(e=>e.toText()).join("")}}class Fr{constructor(e){this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return ze(this.toText())}toText(){return this.text}}class _r{constructor(e){this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?" ":e>=-.05556&&e<=-.05555?" ":e>=-.1667&&e<=-.1666?" ":e>=-.2223&&e<=-.2222?" ":e>=-.2778&&e<=-.2777?" ":null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",Ze(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Ze(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Gr=new Set(["\\imath","\\jmath"]),Ur=new Set(["mrow","mtable"]),Wr=function(e,t,r){return!vt[t][e]||!vt[t][e].replace||55349===e.charCodeAt(0)||It.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=vt[t][e].replace),new Fr(e)},Xr=function(e){return 1===e.length?e[0]:new Vr("mrow",e)},Yr=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var n=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";if("mathbb"===r)return"double-struck";if("mathsfit"===r)return"sans-serif-italic";if("mathfrak"===r)return"fraktur";if("mathscr"===r||"mathcal"===r)return"script";if("mathsf"===r)return"sans-serif";if("mathtt"===r)return"monospace";var a=e.text;if(Gr.has(a))return null;if(vt[n][a]){var i=vt[n][a].replace;i&&(a=i)}return ut(a,pr[r].fontName,n)?pr[r].variant:null};function $r(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){var t=e.children[0];return t instanceof Fr&&"."===t.text}if("mo"===e.type&&1===e.children.length&&"true"===e.getAttribute("separator")&&"0em"===e.getAttribute("lspace")&&"0em"===e.getAttribute("rspace")){var r=e.children[0];return r instanceof Fr&&","===r.text}return!1}var Zr=function(e,t,r){if(1===e.length){var n=Jr(e[0],t);return r&&n instanceof Vr&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var a,i=[],o=0;o<e.length;o++){var s=Jr(e[o],t);if(s instanceof Vr&&a instanceof Vr){if("mtext"===s.type&&"mtext"===a.type&&s.getAttribute("mathvariant")===a.getAttribute("mathvariant")){a.children.push(...s.children);continue}if("mn"===s.type&&"mn"===a.type){a.children.push(...s.children);continue}if($r(s)&&"mn"===a.type){a.children.push(...s.children);continue}if("mn"===s.type&&$r(a))s.children=[...a.children,...s.children],i.pop();else if(("msup"===s.type||"msub"===s.type)&&s.children.length>=1&&("mn"===a.type||$r(a))){var l=s.children[0];l instanceof Vr&&"mn"===l.type&&(l.children=[...a.children,...l.children],i.pop())}else if("mi"===a.type&&1===a.children.length){var h=a.children[0];if(h instanceof Fr&&"̸"===h.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var c=s.children[0];c instanceof Fr&&c.text.length>0&&(c.text=c.text.slice(0,1)+"̸"+c.text.slice(1),i.pop())}}}i.push(s),a=s}return i},Kr=function(e,t,r){return Xr(Zr(e,t,r))},Jr=function(e,t){if(!e)return new Vr("mrow");if(kr[e.type])return kr[e.type](e,t);throw new ye("Got group of unknown type: '"+e.type+"'")};function Qr(e,t,r,n,a){var i,o=Zr(e,r);i=1===o.length&&o[0]instanceof Vr&&Ur.has(o[0].type)?o[0]:new Vr("mrow",o);var s=new Vr("annotation",[new Fr(t)]);s.setAttribute("encoding","application/x-tex");var l=new Vr("semantics",[i,s]),h=new Vr("math",[l]);return h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&h.setAttribute("display","block"),ar([a?"katex":"katex-mathml"],[h])}var en=[[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]],tn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],rn=function(e,t){return t.size<2?e:en[e-1][t.size-1]};class nn{constructor(e){this.style=e.style,this.color=e.color,this.size=e.size||nn.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=tn[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={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};return Object.assign(t,e),new nn(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:rn(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:tn[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=rn(nn.BASESIZE,e);return this.size===t&&this.textSize===nn.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==nn.BASESIZE?["sizing","reset-size"+this.size,"size"+nn.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!dt[t=e>=5?0:e>=3?1:2]){var r=dt[t]={cssEmPerMu:mt.quad[t]/18};for(var n in mt)mt.hasOwnProperty(n)&&(r[n]=mt[n][t])}return dt[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}nn.BASESIZE=6;var an={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",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":"="},on=function(e){var t=new Vr("mo",[new Fr(an[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},sn={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],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],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]},ln=new Set(["widehat","widecheck","widetilde","utilde"]),hn=function(e,t){var{span:r,minWidth:n,height:a}=function(){var r=4e5,n=e.label.slice(1);if(ln.has(n)){var a,i,o,s=e,l="ordgroup"===s.base.type?s.base.body.length:1;if(l>5)"widehat"===n||"widecheck"===n?(a=420,r=2364,o=.42,i=n+"4"):(a=312,r=2340,o=.34,i="tilde4");else{var h=[1,1,2,2,3,3][l];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][h],a=[0,239,300,360,420][h],o=[0,.24,.3,.3,.36,.42][h],i=n+h):(r=[0,600,1033,2339,2340][h],a=[0,260,286,306,312][h],o=[0,.26,.286,.3,.306,.34][h],i="tilde"+h)}var c=new lt(i),m=new st([c],{width:"100%",height:Ze(o),viewBox:"0 0 "+r+" "+a,preserveAspectRatio:"none"});return{span:ir([],[m],t),minWidth:0,height:o}}var p,u,d=[],f=sn[n],[g,v,b]=f,y=b/1e3,x=g.length;if(1===x)p=["hide-tail"],u=[f[3]];else if(2===x)p=["halfarrow-left","halfarrow-right"],u=["xMinYMin","xMaxYMin"];else{if(3!==x)throw new Error("Correct katexImagesData or update code here to support\n "+x+" children.");p=["brace-left","brace-center","brace-right"],u=["xMinYMin","xMidYMin","xMaxYMin"]}for(var w=0;w<x;w++){var k=new lt(g[w]),S=new st([k],{width:"400em",height:Ze(y),viewBox:"0 0 "+r+" "+b,preserveAspectRatio:u[w]+" slice"}),z=ir([p[w]],[S],t);if(1===x)return{span:z,minWidth:v,height:y};z.style.height=Ze(y),d.push(z)}return{span:ar(["stretchy"],d,t),minWidth:v,height:y}}();return r.height=a,r.style.height=Ze(a),n>0&&(r.style.minWidth=Ze(n)),r};function cn(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 mn(e){var t=pn(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 pn(e){return e&&("atom"===e.type||gt.hasOwnProperty(e.type))?e:null}var un=e=>{return e instanceof ot?e:((t=e)instanceof rt||t instanceof nt||t instanceof Ue)&&1===e.children.length?un(e.children[0]):void 0;var t},dn=(e,t)=>{var r,n,a;e&&"supsub"===e.type?(r=(n=cn(e.base,"accent")).base,e.base=r,a=function(e){if(e instanceof rt)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(jr(e,t)),e.base=n):r=(n=cn(e,"accent")).base;var i,o,s=jr(r,t.havingCrampedStyle()),l=0;n.isShifty&&Te(r)&&(l=null!=(i=null==(o=un(s))?void 0:o.skew)?i:0);var h,c="\\c"===n.label,m=c?s.height+s.depth:Math.min(s.height,t.fontMetrics().xHeight);if(n.isStretchy)h=hn(n,t),h=hr({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:h,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+Ze(2*l)+")",marginLeft:Ze(2*l)}:void 0}]});else{var p,u;"\\vec"===n.label?(p=dr("vec",t),u=ur.vec[1]):(p=function(e){if(e instanceof ot)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}(p=er({type:"textord",mode:n.mode,text:n.label},t,"textord")),p.italic=0,u=p.width,c&&(m+=p.depth)),h=ar(["accent-body"],[p]);var d="\\textcircled"===n.label;d&&(h.classes.push("accent-full"),m=s.height);var f=l;d||(f-=u/2),h.style.left=Ze(f),"\\textcircled"===n.label&&(h.style.top=".2em"),h=hr({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-m},{type:"elem",elem:h}]})}var g=ar(["mord","accent"],[h],t);return a?(a.children[0]=g,a.height=Math.max(g.height,a.height),a.classes[0]="mord",a):g},fn=(e,t)=>{var r=e.isStretchy?on(e.label):new Vr("mo",[Wr(e.label,e.mode)]),n=new Vr("mover",[Jr(e.base,t),r]);return n.setAttribute("accent","true"),n},gn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Sr({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=Ar(t[0]),n=!gn.test(e.funcName),a=!n||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:dn,mathmlBuilder:fn}),Sr({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"math"===n&&(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:dn,mathmlBuilder:fn}),Sr({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=jr(e.base,t),n=hn(e,t),a="\\utilde"===e.label?.12:0,i=hr({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]});return ar(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=on(e.label),n=new Vr("munder",[Jr(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var vn=e=>{var t=new Vr("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};function bn(e,t){var r=qr(e.body,t,!0);return ar([e.mclass],r,t)}function yn(e,t){var r,n=Zr(e.body,t);return"minner"===e.mclass?r=new Vr("mpadded",n):"mord"===e.mclass?e.isCharacterBox?(r=n[0]).type="mi":r=new Vr("mi",n):(e.isCharacterBox?(r=n[0]).type="mo":r=new Vr("mo",n),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}Sr({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:a}=e;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,n=t.style,a=t.havingStyle(n.sup()),i=lr(jr(e.body,a,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(o+"-arrow-pad"),e.below&&(a=t.havingStyle(n.sub()),(r=lr(jr(e.below,a,t),t)).classes.push(o+"-arrow-pad"));var s,l=hn(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,c=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=i.depth),r){var m=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;s=hr({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:m}]})}else s=hr({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:l,shift:h}]});return s.children[0].children[0].children[1].classes.push("svg-align"),ar(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var r,n=on(e.label);if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var a=vn(Jr(e.body,t));if(e.below){var i=vn(Jr(e.below,t));r=new Vr("munderover",[n,i,a])}else r=new Vr("mover",[n,a])}else if(e.below){var o=vn(Jr(e.below,t));r=new Vr("munder",[n,o])}else r=vn(),r=new Vr("mover",[n,r]);return r}}),Sr({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Mr(a),isCharacterBox:Te(a)}},htmlBuilder:bn,mathmlBuilder:yn});var xn=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Sr({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:xn(t[0]),body:Mr(t[1]),isCharacterBox:Te(t[1])}}}),Sr({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:n,funcName:a}=e,i=t[1],o=t[0];r="\\stackrel"!==a?xn(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==a,body:Mr(i)},l={type:"supsub",mode:o.mode,base:s,sup:"\\underset"===a?null:o,sub:"\\underset"===a?o:null};return{type:"mclass",mode:n.mode,mclass:r,body:[l],isCharacterBox:Te(l)}},htmlBuilder:bn,mathmlBuilder:yn}),Sr({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:xn(t[0]),body:Mr(t[0])}},htmlBuilder(e,t){var r=qr(e.body,t,!0),n=ar([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=Zr(e.body,t),n=new Vr("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var wn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},kn=()=>({type:"styling",body:[],mode:"math",style:"display"}),Sn=e=>"textord"===e.type&&"@"===e.text,zn=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;function An(e,t,r){var n=wn[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var a={type:"atom",text:n,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[t[0]],[]),r.callFunction("\\Big",[a],[]),r.callFunction("\\\\cdright",[t[1]],[])]};return r.callFunction("\\\\cdparent",[i],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}Sr({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=lr(jr(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=Ze(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new Vr("mrow",[Jr(e.label,t)]);return(r=new Vr("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new Vr("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),Sr({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=lr(jr(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new Vr("mrow",[Jr(e.fragment,t)])}),Sr({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=cn(t[0],"ordgroup").body,a="",i=0;i<n.length;i++)a+=cn(n[i],"textord").text;var o,s=parseInt(a);if(isNaN(s))throw new ye("\\@char has non-numeric argument "+a);if(s<0||s>=1114111)throw new ye("\\@char with invalid code point "+a);return s<=65535?o=String.fromCharCode(s):(s-=65536,o=String.fromCharCode(55296+(s>>10),56320+(1023&s))),{type:"textord",mode:r.mode,text:o}}});var Mn=(e,t)=>{var r=qr(e.body,t.withColor(e.color),!1);return sr(r)},Tn=(e,t)=>{var r=Zr(e.body,t.withColor(e.color)),n=new Vr("mstyle",r);return n.setAttribute("mathcolor",e.color),n};Sr({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=cn(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:Mr(a)}},htmlBuilder:Mn,mathmlBuilder:Tn}),Sr({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=cn(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:i}},htmlBuilder:Mn,mathmlBuilder:Tn}),Sr({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,a="["===n.gullet.future().text?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&cn(a,"size").value}},htmlBuilder(e,t){var r=ar(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=Ze($e(e.size,t)))),r},mathmlBuilder(e,t){var r=new Vr("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",Ze($e(e.size,t)))),r}});var On={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Bn=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ye("Expected a control sequence",e);return t},Cn=(e,t,r,n)=>{var a=e.gullet.macros.get(r.text);null==a&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};Sr({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(On[n.text])return"\\global"!==r&&"\\\\globallong"!==r||(n.text=On[n.text]),cn(t.parseFunction(),"internal");throw new ye("Invalid token after macro prefix",n)}}),Sr({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(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new ye("Expected a control sequence",n);for(var i,o=0,s=[[]];"{"!==t.gullet.future().text;)if("#"===(n=t.gullet.popToken()).text){if("{"===t.gullet.future().text){i=t.gullet.future(),s[o].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new ye('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==o+1)throw new ye('Argument number "'+n.text+'" out of order');o++,s.push([])}else{if("EOF"===n.text)throw new ye("Expected a macro definition");s[o].push(n.text)}var{tokens:l}=t.gullet.consumeArg();return i&&l.unshift(i),"\\edef"!==r&&"\\xdef"!==r||(l=t.gullet.expandTokens(l)).reverse(),t.gullet.macros.set(a,{tokens:l,numArgs:o,delimiters:s},r===On[r]),{type:"internal",mode:t.mode}}}),Sr({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Bn(t.gullet.popToken());t.gullet.consumeSpaces();var a=(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t})(t);return Cn(t,n,a,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),Sr({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Bn(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return Cn(t,n,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var qn=function(e,t,r){var n=ut(vt.math[e]&&vt.math[e].replace||e,t,r);if(!n)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return n},En=function(e,t,r,n){var a=r.havingBaseStyle(t),i=ar(n.concat(a.sizingClasses(r)),[e],r),o=a.sizeMultiplier/r.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=a.sizeMultiplier,i},Nn=function(e,t,r){var n=t.havingBaseStyle(r),a=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Ze(a),e.height-=a,e.depth+=a},In=function(e,t,r,n,a,i){var o=function(e,t,r,n){return Jt(e,"Size"+t+"-Regular",r,n)}(e,t,a,n),s=En(ar(["delimsizing","size"+t],[o],n),He.TEXT,n,i);return r&&Nn(s,n,He.TEXT),s},Pn=function(e,t,r){return{type:"elem",elem:ar(["delimsizinginner","Size1-Regular"===t?"delim-size1":"delim-size4"],[ar([],[Jt(e,t,r)])])}},Rn=function(e,t,r){var n=ct["Size4-Regular"][e.charCodeAt(0)]?ct["Size4-Regular"][e.charCodeAt(0)][4]:ct["Size1-Regular"][e.charCodeAt(0)][4],a=new lt("inner",function(e,t){switch(e){case"⎜":return _e("M291 0 H417 V"+t+" H291z");case"∣":return _e("M145 0 H188 V"+t+" H145z");case"∥":return _e("M145 0 H188 V"+t+" H145z")+_e("M367 0 H410 V"+t+" H367z");case"⎟":return _e("M457 0 H583 V"+t+" H457z");case"⎢":return _e("M319 0 H403 V"+t+" H319z");case"⎥":return _e("M263 0 H347 V"+t+" H263z");case"⎪":return _e("M384 0 H504 V"+t+" H384z");case"⏐":return _e("M312 0 H355 V"+t+" H312z");case"‖":return _e("M257 0 H300 V"+t+" H257z")+_e("M478 0 H521 V"+t+" H478z");default:return""}}(e,Math.round(1e3*t))),i=new st([a],{width:Ze(n),height:Ze(t),style:"width:"+Ze(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=ir([],[i],r);return o.height=t,o.style.height=Ze(t),o.style.width=Ze(n),{type:"elem",elem:o}},jn={type:"kern",size:-.008},Dn=new Set(["|","\\lvert","\\rvert","\\vert"]),Hn=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),Ln=function(e,t,r,n,a,i){var o,s,l,h,c="",m=0;o=l=h=e,s=null;var p="Size1-Regular";"\\uparrow"===e?l=h="⏐":"\\Uparrow"===e?l=h="‖":"\\downarrow"===e?o=l="⏐":"\\Downarrow"===e?o=l="‖":"\\updownarrow"===e?(o="\\uparrow",l="⏐",h="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",l="‖",h="\\Downarrow"):Dn.has(e)?(l="∣",c="vert",m=333):Hn.has(e)?(l="∥",c="doublevert",m=556):"["===e||"\\lbrack"===e?(o="⎡",l="⎢",h="⎣",p="Size4-Regular",c="lbrack",m=667):"]"===e||"\\rbrack"===e?(o="⎤",l="⎥",h="⎦",p="Size4-Regular",c="rbrack",m=667):"\\lfloor"===e||"⌊"===e?(l=o="⎢",h="⎣",p="Size4-Regular",c="lfloor",m=667):"\\lceil"===e||"⌈"===e?(o="⎡",l=h="⎢",p="Size4-Regular",c="lceil",m=667):"\\rfloor"===e||"⌋"===e?(l=o="⎥",h="⎦",p="Size4-Regular",c="rfloor",m=667):"\\rceil"===e||"⌉"===e?(o="⎤",l=h="⎥",p="Size4-Regular",c="rceil",m=667):"("===e||"\\lparen"===e?(o="⎛",l="⎜",h="⎝",p="Size4-Regular",c="lparen",m=875):")"===e||"\\rparen"===e?(o="⎞",l="⎟",h="⎠",p="Size4-Regular",c="rparen",m=875):"\\{"===e||"\\lbrace"===e?(o="⎧",s="⎨",h="⎩",l="⎪",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="⎫",s="⎬",h="⎭",l="⎪",p="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(o="⎧",h="⎩",l="⎪",p="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(o="⎫",h="⎭",l="⎪",p="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(o="⎧",h="⎭",l="⎪",p="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(o="⎫",h="⎩",l="⎪",p="Size4-Regular");var u=qn(o,p,a),d=u.height+u.depth,f=qn(l,p,a),g=f.height+f.depth,v=qn(h,p,a),b=v.height+v.depth,y=0,x=1;if(null!==s){var w=qn(s,p,a);y=w.height+w.depth,x=2}var k=d+b+y,S=k+Math.max(0,Math.ceil((t-k)/(x*g)))*x*g,z=n.fontMetrics().axisHeight;r&&(z*=n.sizeMultiplier);var A=S/2-z,M=[];if(c.length>0){var T=S-d-b,O=Math.round(1e3*S),B=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-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,11\nc0,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\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-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.")}}(c,Math.round(1e3*T)),C=new lt(c,B),q=Ze(m/1e3),E=Ze(O/1e3),N=new st([C],{width:q,height:E,viewBox:"0 0 "+m+" "+O}),I=ir([],[N],n);I.height=O/1e3,I.style.width=q,I.style.height=E,M.push({type:"elem",elem:I})}else{if(M.push(Pn(h,p,a)),M.push(jn),null===s){var P=S-d-b+.016;M.push(Rn(l,P,n))}else{var R=(S-d-b-y)/2+.016;M.push(Rn(l,R,n)),M.push(jn),M.push(Pn(s,p,a)),M.push(jn),M.push(Rn(l,R,n))}M.push(jn),M.push(Pn(o,p,a))}var j=n.havingBaseStyle(He.TEXT),D=hr({positionType:"bottom",positionData:A,children:M});return En(ar(["delimsizing","mult"],[D],j),He.TEXT,n,i)},Vn=.08,Fn=function(e,t,r,n,a){var i=function(e,t,r){t*=1e3;var n="";switch(e){case"sqrtMain":n=function(e){return"M95,"+(622+e+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize1":n=function(e){return"M263,"+(601+e+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize2":n=function(e){return"M983 "+(10+e+80)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize3":n=function(e){return"M424,"+(2398+e+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" 80\nh400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize4":n=function(e){return"M473,"+(2713+e+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" 80h400000v"+(40+e)+"H1017.7z"}(t);break;case"sqrtTall":n=function(e,t,r){return"M702 "+(e+80)+"H400000"+(40+e)+"\nH742v"+(r-54-80-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 80H400000v"+(40+e)+"H742z"}(t,0,r)}return n}(e,n,r),o=new lt(e,i),s=new st([o],{width:"400em",height:Ze(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return ir(["hide-tail"],[s],a)},_n=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),Gn=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Un=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),Wn=[0,1.2,1.8,2.4,3],Xn=function(e,t,r,n,a){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),_n.has(e)||Un.has(e))return In(e,t,!1,r,n,a);if(Gn.has(e))return Ln(e,Wn[t],!1,r,n,a);throw new ye("Illegal delimiter: '"+e+"'")},Yn=[{type:"small",style:He.SCRIPTSCRIPT},{type:"small",style:He.SCRIPT},{type:"small",style:He.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],$n=[{type:"small",style:He.SCRIPTSCRIPT},{type:"small",style:He.SCRIPT},{type:"small",style:He.TEXT},{type:"stack"}],Zn=[{type:"small",style:He.SCRIPTSCRIPT},{type:"small",style:He.SCRIPT},{type:"small",style:He.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Kn=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";var t=e.type;throw new Error("Add support for delim type '"+t+"' here.")},Jn=function(e,t,r,n){for(var a=Math.min(2,3-n.style.size);a<r.length;a++){var i=r[a];if("stack"===i.type)break;var o=qn(e,Kn(i),"math"),s=o.height+o.depth;if("small"===i.type&&(s*=n.havingBaseStyle(i.style).sizeMultiplier),s>t)return i}return r[r.length-1]},Qn=function(e,t,r,n,a,i){var o;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),o=Un.has(e)?Yn:_n.has(e)?Zn:$n;var s=Jn(e,t,o,n);return"small"===s.type?function(e,t,r,n,a,i){var o=Jt(e,"Main-Regular",a,n),s=En(o,t,n,i);return r&&Nn(s,n,t),s}(e,s.style,r,n,a,i):"large"===s.type?In(e,s.size,r,n,a,i):Ln(e,t,r,n,a,i)},ea=function(e,t,r,n,a,i){var o=n.fontMetrics().axisHeight*n.sizeMultiplier,s=5/n.fontMetrics().ptPerEm,l=Math.max(t-o,r+o),h=Math.max(l/500*901,2*l-s);return Qn(e,h,!0,n,a,i)},ta={"\\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}},ra=new Set(["(","\\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 na(e,t){var r=pn(e);if(r&&ra.has(r.text))return r;throw new ye(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function aa(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Sr({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=na(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:ta[e.funcName].size,mclass:ta[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?ar([e.mclass]):Xn(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(Wr(e.delim,e.mode));var r=new Vr("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=Ze(Wn[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}}),Sr({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new ye("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:na(t[0],e).text,color:r}}}),Sr({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=na(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=cn(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{aa(e);for(var r,n,a=qr(e.body,t,!0,["mopen","mclose"]),i=0,o=0,s=!1,l=0;l<a.length;l++)a[l].isMiddle?s=!0:(i=Math.max(a[l].height,i),o=Math.max(a[l].depth,o));if(i*=t.sizeMultiplier,o*=t.sizeMultiplier,r="."===e.left?Rr(t,["mopen"]):ea(e.left,i,o,t,e.mode,["mopen"]),a.unshift(r),s)for(var h=1;h<a.length;h++){var c=a[h].isMiddle;c&&(a[h]=ea(c.delim,i,o,c.options,e.mode,[]))}if("."===e.right)n=Rr(t,["mclose"]);else{var m=e.rightColor?t.withColor(e.rightColor):t;n=ea(e.right,i,o,m,e.mode,["mclose"])}return a.push(n),ar(["minner"],a,t)},mathmlBuilder:(e,t)=>{aa(e);var r=Zr(e.body,t);if("."!==e.left){var n=new Vr("mo",[Wr(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==e.right){var a=new Vr("mo",[Wr(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return Xr(r)}}),Sr({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=na(t[0],e);if(!e.parser.leftrightDepth)throw new ye("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=Rr(t,[]);else{r=Xn(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?Wr("|","text"):Wr(e.delim,e.mode),n=new Vr("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var ia=(e,t)=>{var r,n,a,i=lr(jr(e.body,t),t),o=e.label.slice(1),s=t.sizeMultiplier,l=0,h=Te(e.body);if("sout"===o)(r=ar(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,l=-.5*t.fontMetrics().xHeight;else if("phase"===o){var c=$e({number:.6,unit:"pt"},t),m=$e({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var p=i.height+i.depth+c+m;i.style.paddingLeft=Ze(p/2+c);var u=Math.floor(1e3*p*s),d="M400000 "+(n=u)+" H0 L"+n/2+" 0 l65 45 L145 "+(n-80)+" H400000z",f=new st([new lt("phase",d)],{width:"400em",height:Ze(u/1e3),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});(r=ir(["hide-tail"],[f],t)).style.height=Ze(p),l=i.depth+c+m}else{/cancel/.test(o)?h||i.classes.push("cancel-pad"):"angl"===o?i.classes.push("anglpad"):i.classes.push("boxpad");var g=0,v=0,b=0;/box/.test(o)?(b=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),v=g=t.fontMetrics().fboxsep+("colorbox"===o?0:b)):"angl"===o?(g=4*(b=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),v=Math.max(0,.25-i.depth)):v=g=h?.2:0,r=function(e,t,r,n,a){var i,o=e.height+e.depth+r+n;if(/fbox|color|angl/.test(t)){if(i=ar(["stretchy",t],[],a),"fbox"===t){var s=a.color&&a.getColor();s&&(i.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new ht({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new ht({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new st(l,{width:"100%",height:Ze(o)});i=ir([],[h],a)}return i.height=o,i.style.height=Ze(o),i}(i,o,g,v,t),/fbox|boxed|fcolorbox/.test(o)?(r.style.borderStyle="solid",r.style.borderWidth=Ze(b)):"angl"===o&&.049!==b&&(r.style.borderTopWidth=Ze(b),r.style.borderRightWidth=Ze(b)),l=i.depth+v,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)a=hr({positionType:"individualShift",children:[{type:"elem",elem:r,shift:l},{type:"elem",elem:i,shift:0}]});else{var y=/cancel|phase/.test(o)?["svg-align"]:[];a=hr({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:r,shift:l,wrapperClasses:y}]})}return/cancel/.test(o)&&(a.height=i.height,a.depth=i.depth),/cancel/.test(o)&&!h?ar(["mord","cancel-lap"],[a],t):ar(["mord"],[a],t)},oa=(e,t)=>{var r=0,n=new Vr(e.label.includes("colorbox")?"mpadded":"menclose",[Jr(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"),"\\fcolorbox"===e.label){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+Ze(a)+" solid "+e.borderColor)}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};Sr({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=cn(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:o}},htmlBuilder:ia,mathmlBuilder:oa}),Sr({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=cn(t[0],"color-token").color,o=cn(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:o,borderColor:i,body:s}},htmlBuilder:ia,mathmlBuilder:oa}),Sr({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]}}}),Sr({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:ia,mathmlBuilder:oa}),Sr({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e;"math"===r.mode&&r.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:ia,mathmlBuilder:oa}),Sr({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 sa={};function la(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:o}=e,s={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},l=0;l<r.length;++l)sa[r[l]]=s;i&&(wr[t]=i),o&&(kr[t]=o)}var ha={};function ca(e,t){ha[e]=t}class ma{constructor(e,t,r){this.lexer=e,this.start=t,this.end=r}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new ma(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class pa{constructor(e,t){this.text=e,this.loc=t}range(e,t){return new pa(t,ma.range(this,e))}}function ua(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for("\\relax"===r&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);"\\hline"===r||"\\hdashline"===r;)e.consume(),t.push("\\hdashline"===r),e.consumeSpaces(),r=e.fetch().text;return t}var da=e=>{if(!e.parser.settings.displayMode)throw new ye("{"+e.envName+"} can be used only in display mode.")},fa=new Set(["gather","gather*"]);function ga(e){if(!e.includes("ed"))return!e.includes("*")}function va(e,t,r){var{hskipBeforeAndAfter:n,addJot:a,cols:i,arraystretch:o,colSeparationType:s,autoTag:l,singleRow:h,emptySingleRow:c,maxNumCols:m,leqno:p}=t;if(e.gullet.beginGroup(),h||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var u=e.gullet.expandMacroAsText("\\arraystretch");if(null==u)o=1;else if(!(o=parseFloat(u))||o<0)throw new ye("Invalid \\arraystretch: "+u)}e.gullet.beginGroup();var d=[],f=[d],g=[],v=[],b=null!=l?[]:void 0;function y(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function x(){b&&(e.gullet.macros.get("\\df@tag")?(b.push(e.subparse([new pa("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):b.push(Boolean(l)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(y(),v.push(ua(e));;){var w=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var k={type:"ordgroup",mode:e.mode,body:w};r&&(k={type:"styling",mode:e.mode,style:r,body:[k]}),d.push(k);var S=e.fetch().text;if("&"===S){if(m&&d.length===m){if(h||s)throw new ye("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===S){x(),1===d.length&&"styling"===k.type&&1===k.body.length&&"ordgroup"===k.body[0].type&&0===k.body[0].body.length&&(f.length>1||!c)&&f.pop(),v.length<f.length+1&&v.push([]);break}if("\\\\"!==S)throw new ye("Expected & or \\\\ or \\cr or \\end",e.nextToken);e.consume();var z=void 0;" "!==e.gullet.future().text&&(z=e.parseSizeGroup(!0)),g.push(z?z.value:null),x(),v.push(ua(e)),d=[],f.push(d),y()}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:o,body:f,cols:i,rowGaps:g,hskipBeforeAndAfter:n,hLinesBeforeRow:v,colSeparationType:s,tags:b,leqno:p}}function ba(e){return"d"===e.slice(0,1)?"display":"text"}var ya=function(e,t){var r,n,a=e.body.length,i=e.hLinesBeforeRow,o=0,s=new Array(a),l=[],h=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),c=1/t.fontMetrics().ptPerEm,m=5*c;e.colSeparationType&&"small"===e.colSeparationType&&(m=t.havingStyle(He.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);var p="CD"===e.colSeparationType?$e({number:3,unit:"ex"},t):12*c,u=3*c,d=e.arraystretch*p,f=.7*d,g=.3*d,v=0;function b(e){for(var t=0;t<e.length;++t)t>0&&(v+=.25),l.push({pos:v,isDashed:e[t]})}for(b(i[0]),r=0;r<e.body.length;++r){var y=e.body[r],x=f,w=g;o<y.length&&(o=y.length);var k=new Array(y.length);for(n=0;n<y.length;++n){var S=jr(y[n],t);w<S.depth&&(w=S.depth),x<S.height&&(x=S.height),k[n]=S}var z=e.rowGaps[r],A=0;z&&(A=$e(z,t))>0&&(w<(A+=g)&&(w=A),A=0),e.addJot&&r<e.body.length-1&&(w+=u),k.height=x,k.depth=w,v+=x,k.pos=v,v+=w+A,s[r]=k,b(i[r+1])}var M,T,O=v/2+t.fontMetrics().axisHeight,B=e.cols||[],C=[],q=[];if(e.tags&&e.tags.some(e=>e))for(r=0;r<a;++r){var E=s[r],N=E.pos-O,I=e.tags[r],P=void 0;(P=!0===I?ar(["eqn-num"],[],t):ar([],!1===I?[]:qr(I,t,!0),t)).depth=E.depth,P.height=E.height,q.push({type:"elem",elem:P,shift:N})}for(n=0,T=0;n<o||T<B.length;++n,++T){for(var R,j=B[T],D=!0;"separator"===(null==(H=j)?void 0:H.type);){var H;if(D||((M=ar(["arraycolsep"],[])).style.width=Ze(t.fontMetrics().doubleRuleSep),C.push(M)),"|"!==j.separator&&":"!==j.separator)throw new ye("Invalid separator type: "+j.separator);var L="|"===j.separator?"solid":"dashed",V=ar(["vertical-separator"],[],t);V.style.height=Ze(v),V.style.borderRightWidth=Ze(h),V.style.borderRightStyle=L,V.style.margin="0 "+Ze(-h/2);var F=v-O;F&&(V.style.verticalAlign=Ze(-F)),C.push(V),j=B[++T],D=!1}if(!(n>=o)){var _,G,U=void 0;(n>0||e.hskipBeforeAndAfter)&&0!==(U=null!=(_=null==(G=j)?void 0:G.pregap)?_:m)&&((M=ar(["arraycolsep"],[])).style.width=Ze(U),C.push(M));var W=[];for(r=0;r<a;++r){var X=s[r],Y=X[n];if(Y){var $=X.pos-O;Y.depth=X.depth,Y.height=X.height,W.push({type:"elem",elem:Y,shift:$})}}var Z,K,J=hr({positionType:"individualShift",children:W}),Q=ar(["col-align-"+((null==(R=j)?void 0:R.align)||"c")],[J]);C.push(Q),(n<o-1||e.hskipBeforeAndAfter)&&0!==(U=null!=(Z=null==(K=j)?void 0:K.postgap)?Z:m)&&((M=ar(["arraycolsep"],[])).style.width=Ze(U),C.push(M))}}var ee=ar(["mtable"],C);if(l.length>0){for(var te=or("hline",t,h),re=or("hdashline",t,h),ne=[{type:"elem",elem:ee,shift:0}];l.length>0;){var ae=l.pop(),ie=ae.pos-O;ae.isDashed?ne.push({type:"elem",elem:re,shift:ie}):ne.push({type:"elem",elem:te,shift:ie})}ee=hr({positionType:"individualShift",children:ne})}if(0===q.length)return ar(["mord"],[ee],t);var oe=hr({positionType:"individualShift",children:q}),se=ar(["tag"],[oe],t);return sr([ee,se])},xa={c:"center ",l:"left ",r:"right "},wa=function(e,t){for(var r=[],n=new Vr("mtd",[],["mtr-glue"]),a=new Vr("mtd",[],["mml-eqn-num"]),i=0;i<e.body.length;i++){for(var o=e.body[i],s=[],l=0;l<o.length;l++)s.push(new Vr("mtd",[Jr(o[l],t)]));e.tags&&e.tags[i]&&(s.unshift(n),s.push(n),e.leqno?s.unshift(a):s.push(a)),r.push(new Vr("mtr",s))}var h=new Vr("mtable",r),c=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);h.setAttribute("rowspacing",Ze(c));var m="",p="";if(e.cols&&e.cols.length>0){var u=e.cols,d="",f=!1,g=0,v=u.length;"separator"===u[0].type&&(m+="top ",g=1),"separator"===u[u.length-1].type&&(m+="bottom ",v-=1);for(var b=g;b<v;b++){var y=u[b];"align"===y.type?(p+=xa[y.align],f&&(d+="none "),f=!0):"separator"===y.type&&f&&(d+="|"===y.separator?"solid ":"dashed ",f=!1)}h.setAttribute("columnalign",p.trim()),/[sd]/.test(d)&&h.setAttribute("columnlines",d.trim())}if("align"===e.colSeparationType){for(var x=e.cols||[],w="",k=1;k<x.length;k++)w+=k%2?"0em ":"1em ";h.setAttribute("columnspacing",w.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?h.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?h.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?h.setAttribute("columnspacing","0.5em"):h.setAttribute("columnspacing","1em");var S="",z=e.hLinesBeforeRow;m+=z[0].length>0?"left ":"",m+=z[z.length-1].length>0?"right ":"";for(var A=1;A<z.length-1;A++)S+=0===z[A].length?"none ":z[A][0]?"dashed ":"solid ";return/[sd]/.test(S)&&h.setAttribute("rowlines",S.trim()),""!==m&&(h=new Vr("menclose",[h])).setAttribute("notation",m.trim()),e.arraystretch&&e.arraystretch<1&&(h=new Vr("mstyle",[h])).setAttribute("scriptlevel","1"),h},ka=function(e,t){e.envName.includes("ed")||da(e);var r=[],n=e.envName.includes("at")?"alignat":"align",a="split"===e.envName,i=va(e.parser,{cols:r,addJot:!0,autoTag:a?void 0:ga(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:a?2:void 0,leqno:e.parser.settings.leqno},"display"),o=0,s=0,l={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var h="",c=0;c<t[0].body.length;c++)h+=cn(t[0].body[c],"textord").text;o=Number(h),s=2*o}var m=!s;i.body.forEach(function(e){for(var t=1;t<e.length;t+=2){var r=cn(e[t],"styling");cn(r.body[0],"ordgroup").body.unshift(l)}if(m)s<e.length&&(s=e.length);else{var n=e.length/2;if(o<n)throw new ye("Too many math in a row: expected "+o+", but got "+n,e[0])}});for(var p=0;p<s;++p){var u="r",d=0;p%2==1?u="l":p>0&&m&&(d=1),r[p]={type:"align",align:u,pregap:d,postgap:0}}return i.colSeparationType=m?"align":"alignat",i};la({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(pn(t[0])?[t[0]]:cn(t[0],"ordgroup").body).map(function(e){var t=mn(e).text;if("lcr".includes(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new ye("Unknown column alignment: "+t,e)}),n={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return va(e.parser,n,ba(e.envName))},htmlBuilder:ya,mathmlBuilder:wa}),la({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 a=e.parser;if(a.consumeSpaces(),"["===a.fetch().text){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,!"lcr".includes(r))throw new ye("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var i=va(e.parser,n,ba(e.envName)),o=Math.max(0,...i.body.map(e=>e.length));return i.cols=new Array(o).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:ya,mathmlBuilder:wa}),la({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=va(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:ya,mathmlBuilder:wa}),la({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(pn(t[0])?[t[0]]:cn(t[0],"ordgroup").body).map(function(e){var t=mn(e).text;if("lc".includes(t))return{type:"align",align:t};throw new ye("Unknown column alignment: "+t,e)});if(r.length>1)throw new ye("{subarray} can contain only one column");var n={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5},a=va(e.parser,n,"script");if(a.body.length>0&&a.body[0].length>1)throw new ye("{subarray} can contain only one column");return a},htmlBuilder:ya,mathmlBuilder:wa}),la({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=va(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},ba(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:ya,mathmlBuilder:wa}),la({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:ka,htmlBuilder:ya,mathmlBuilder:wa}),la({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){fa.has(e.envName)&&da(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:ga(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return va(e.parser,t,"display")},htmlBuilder:ya,mathmlBuilder:wa}),la({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:ka,htmlBuilder:ya,mathmlBuilder:wa}),la({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){da(e);var t={autoTag:ga(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return va(e.parser,t,"display")},htmlBuilder:ya,mathmlBuilder:wa}),la({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(da(e),function(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){if("\\end"===r){0===t[t.length-1].length&&t.pop();break}throw new ye("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var n=[],a=[n],i=0;i<t.length;i++){for(var o=t[i],s=kn(),l=0;l<o.length;l++)if(Sn(o[l])){n.push(s);var h=mn(o[l+=1]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},"=|.".includes(h));else{if(!"<>AV".includes(h))throw new ye('Expected one of "<>AV=|." after @',o[l]);for(var m=0;m<2;m++){for(var p=!0,u=l+1;u<o.length;u++){if(zn(o[u],h)){p=!1,l=u;break}if(Sn(o[u]))throw new ye("Missing a "+h+" character to complete a CD arrow.",o[u]);c[m].body.push(o[u])}if(p)throw new ye("Missing a "+h+" character to complete a CD arrow.",o[l])}}var d={type:"styling",body:[An(h,c,e)],mode:"math",style:"display"};n.push(d),s=kn()}else s.body.push(o[l]);i%2==0?n.push(s):n.shift(),n=[],a.push(n)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25}),colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}(e.parser)),htmlBuilder:ya,mathmlBuilder:wa}),ca("\\nonumber","\\gdef\\@eqnsw{0}"),ca("\\notag","\\nonumber"),Sr({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ye(e.funcName+" valid only within array environment")}});var Sa=sa;Sr({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];if("ordgroup"!==a.type)throw new ye("Invalid environment name",a);for(var i="",o=0;o<a.body.length;++o)i+=cn(a.body[o],"textord").text;if("\\begin"===n){if(!Sa.hasOwnProperty(i))throw new ye("No such environment: "+i,a);var s=Sa[i],{args:l,optArgs:h}=r.parseArguments("\\begin{"+i+"}",s),c={mode:r.mode,envName:i,parser:r},m=s.handler(c,l,h);r.expect("\\end",!1);var p=r.nextToken,u=cn(r.parseFunction(),"environment");if(u.name!==i)throw new ye("Mismatch: \\begin{"+i+"} matched by \\end{"+u.name+"}",p);return m}return{type:"environment",mode:r.mode,name:i,nameGroup:a}}});var za=(e,t)=>{var r=e.font,n=t.withFont(r);return jr(e.body,n)},Aa=(e,t)=>{var r=e.font,n=t.withFont(r);return Jr(e.body,n)},Ma={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Sr({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,a=Ar(t[0]),i=n;return i in Ma&&(i=Ma[i]),{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:za,mathmlBuilder:Aa}),Sr({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:xn(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:Te(n)}}}),Sr({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:a}=e,{mode:i}=r,o=r.parseExpression(!0,a);return{type:"font",mode:i,font:"math"+n.slice(1),body:{type:"ordgroup",mode:r.mode,body:o}}},htmlBuilder:za,mathmlBuilder:Aa});var Ta=(e,t)=>t?{type:"styling",mode:e.mode,style:t,body:[e]}:e;Sr({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:n,funcName:a}=e,i=t[0],o=t[1],s=null,l=null;switch(a){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,s="(",l=")";break;case"\\\\bracefrac":r=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}var h="\\cfrac"===a,c=null;return h||a.startsWith("\\d")?c="display":a.startsWith("\\t")&&(c="text"),Ta({type:"genfrac",mode:n.mode,numer:i,denom:o,continued:h,hasBarLine:r,leftDelim:s,rightDelim:l,barSize:null},c)},htmlBuilder:(e,t)=>{var r,n=t.style,a=n.fracNum(),i=n.fracDen();r=t.havingStyle(a);var o=jr(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;o.height=o.height<s?s:o.height,o.depth=o.depth<l?l:o.depth}r=t.havingStyle(i);var h,c,m,p,u,d,f,g,v,b,y=jr(e.denom,r,t);if(e.hasBarLine?(e.barSize?(c=$e(e.barSize,t),h=or("frac-line",t,c)):h=or("frac-line",t),c=h.height,m=h.height):(h=null,c=0,m=t.fontMetrics().defaultRuleThickness),n.size===He.DISPLAY.size?(p=t.fontMetrics().num1,u=c>0?3*m:7*m,d=t.fontMetrics().denom1):(c>0?(p=t.fontMetrics().num2,u=m):(p=t.fontMetrics().num3,u=3*m),d=t.fontMetrics().denom2),h){var x=t.fontMetrics().axisHeight;p-o.depth-(x+.5*c)<u&&(p+=u-(p-o.depth-(x+.5*c))),x-.5*c-(y.height-d)<u&&(d+=u-(x-.5*c-(y.height-d))),f=hr({positionType:"individualShift",children:[{type:"elem",elem:y,shift:d},{type:"elem",elem:h,shift:-(x-.5*c)},{type:"elem",elem:o,shift:-p}]})}else{var w=p-o.depth-(y.height-d);w<u&&(p+=.5*(u-w),d+=.5*(u-w)),f=hr({positionType:"individualShift",children:[{type:"elem",elem:y,shift:d},{type:"elem",elem:o,shift:-p}]})}return r=t.havingStyle(n),f.height*=r.sizeMultiplier/t.sizeMultiplier,f.depth*=r.sizeMultiplier/t.sizeMultiplier,g=n.size===He.DISPLAY.size?t.fontMetrics().delim1:n.size===He.SCRIPTSCRIPT.size?t.havingStyle(He.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,v=null==e.leftDelim?Rr(t,["mopen"]):Qn(e.leftDelim,g,!0,t.havingStyle(n),e.mode,["mopen"]),b=e.continued?ar([]):null==e.rightDelim?Rr(t,["mclose"]):Qn(e.rightDelim,g,!0,t.havingStyle(n),e.mode,["mclose"]),ar(["mord"].concat(r.sizingClasses(t)),[v,ar(["mfrac"],[f]),b],t)},mathmlBuilder:(e,t)=>{var r=new Vr("mfrac",[Jr(e.numer,t),Jr(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var n=$e(e.barSize,t);r.setAttribute("linethickness",Ze(n))}}else r.setAttribute("linethickness","0px");if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var i=new Vr("mo",[new Fr(e.leftDelim.replace("\\",""))]);i.setAttribute("fence","true"),a.push(i)}if(a.push(r),null!=e.rightDelim){var o=new Vr("mo",[new Fr(e.rightDelim.replace("\\",""))]);o.setAttribute("fence","true"),a.push(o)}return Xr(a)}return r}}),Sr({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:n,token:a}=e;switch(n){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:a}}});var Oa=["display","text","script","scriptscript"],Ba=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};Sr({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:n}=e,a=t[4],i=t[5],o=Ar(t[0]),s="atom"===o.type&&"open"===o.family?Ba(o.text):null,l=Ar(t[1]),h="atom"===l.type&&"close"===l.family?Ba(l.text):null,c=cn(t[2],"size"),m=null;r=!!c.isBlank||(m=c.value).number>0;var p=null,u=t[3];if("ordgroup"===u.type){if(u.body.length>0){var d=cn(u.body[0],"textord");p=Oa[Number(d.text)]}}else u=cn(u,"textord"),p=Oa[Number(u.text)];return Ta({type:"genfrac",mode:n.mode,numer:a,denom:i,continued:!1,hasBarLine:r,barSize:m,leftDelim:s,rightDelim:h},p)}}),Sr({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:a}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:cn(t[0],"size").value,token:a}}}),Sr({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=cn(t[1],"infix").size;if(!i)throw new Error("\\\\abovefrac expected size, but got "+String(i));var o=t[2],s=i.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:o,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null}}});var Ca=(e,t)=>{var r,n,a=t.style;"supsub"===e.type?(r=e.sup?jr(e.sup,t.havingStyle(a.sup()),t):jr(e.sub,t.havingStyle(a.sub()),t),n=cn(e.base,"horizBrace")):n=cn(e,"horizBrace");var i,o=jr(n.base,t.havingBaseStyle(He.DISPLAY)),s=hn(n,t);if(n.isOver?(i=hr({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]})).children[0].children[0].children[1].classes.push("svg-align"):(i=hr({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]})).children[0].children[0].children[0].classes.push("svg-align"),r){var l=ar(["minner",n.isOver?"mover":"munder"],[i],t);i=n.isOver?hr({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]}):hr({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]})}return ar(["minner",n.isOver?"mover":"munder"],[i],t)};Sr({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:n.includes("\\over"),base:t[0]}},htmlBuilder:Ca,mathmlBuilder:(e,t)=>{var r=on(e.label);return new Vr(e.isOver?"mover":"munder",[Jr(e.base,t),r])}}),Sr({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=cn(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:Mr(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=qr(e.body,t,!1);return function(e,t,r,n){var a=new nt(e,[],r,n);return nr(a),a}(e.href,0,r,t)},mathmlBuilder:(e,t)=>{var r=Kr(e.body,t);return r instanceof Vr||(r=new Vr("mrow",[r])),r.setAttribute("href",e.href),r}}),Sr({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=cn(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<n.length;i++){var o=n[i];"~"===o&&(o="\\textasciitilde"),a.push({type:"textord",mode:"text",text:o})}var s={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:Mr(s)}}}),Sr({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:Mr(t[0])}},htmlBuilder(e,t){var r=qr(e.body,t,!1);return sr(r)},mathmlBuilder:(e,t)=>new Vr("mrow",Zr(e.body,t))}),Sr({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:n,funcName:a,token:i}=e,o=cn(t[0],"raw").string,s=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l={};switch(a){case"\\htmlClass":l.class=o,r={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,r={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,r={command:"\\htmlStyle",style:o};break;case"\\htmlData":for(var h=o.split(","),c=0;c<h.length;c++){var m=h[c],p=m.indexOf("=");if(p<0)throw new ye("\\htmlData key/value '"+m+"' missing equals sign");var u=m.slice(0,p),d=m.slice(p+1);l["data-"+u.trim()]=d}r={command:"\\htmlData",attributes:l};break;default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(r)?{type:"html",mode:n.mode,attributes:l,body:Mr(s)}:n.formatUnsupportedCmd(a)},htmlBuilder:(e,t)=>{var r=qr(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=ar(n,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&a.setAttribute(i,e.attributes[i]);return a},mathmlBuilder:(e,t)=>Kr(e.body,t)}),Sr({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Mr(t[0]),mathml:Mr(t[1])}},htmlBuilder:(e,t)=>{var r=qr(e.html,t,!1);return sr(r)},mathmlBuilder:(e,t)=>Kr(e.mathml,t)});var qa=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new ye("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!Ye(r))throw new ye("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};Sr({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,a={number:0,unit:"em"},i={number:.9,unit:"em"},o={number:0,unit:"em"},s="";if(r[0])for(var l=cn(r[0],"raw").string.split(","),h=0;h<l.length;h++){var c=l[h].split("=");if(2===c.length){var m=c[1].trim();switch(c[0].trim()){case"alt":s=m;break;case"width":a=qa(m);break;case"height":i=qa(m);break;case"totalheight":o=qa(m);break;default:throw new ye("Invalid key: '"+c[0]+"' in \\includegraphics.")}}}var p=cn(t[0],"url").url;return""===s&&(s=(s=(s=p).replace(/^.*[\\/]/,"")).substring(0,s.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:n.mode,alt:s,width:a,height:i,totalheight:o,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=$e(e.height,t),n=0;e.totalheight.number>0&&(n=$e(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=$e(e.width,t));var i={height:Ze(r+n)};a>0&&(i.width=Ze(a)),n>0&&(i.verticalAlign=Ze(-n));var o=new at(e.src,e.alt,i);return o.height=r,o.depth=n,o},mathmlBuilder:(e,t)=>{var r=new Vr("mglyph",[]);r.setAttribute("alt",e.alt);var n=$e(e.height,t),a=0;if(e.totalheight.number>0&&(a=$e(e.totalheight,t)-n,r.setAttribute("valign",Ze(-a))),r.setAttribute("height",Ze(n+a)),e.width.number>0){var i=$e(e.width,t);r.setAttribute("width",Ze(i))}return r.setAttribute("src",e.src),r}}),Sr({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,a=cn(t[0],"size");if(r.settings.strict){var i="m"===n[1],o="mu"===a.value.unit;i?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+a.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder:(e,t)=>cr(e.dimension,t),mathmlBuilder(e,t){var r=$e(e.dimension,t);return new _r(r)}}),Sr({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(e,t)=>{var r;"clap"===e.alignment?(r=ar([],[jr(e.body,t)]),r=ar(["inner"],[r],t)):r=ar(["inner"],[jr(e.body,t)]);var n=ar(["fix"],[]),a=ar([e.alignment],[r,n],t),i=ar(["strut"]);return i.style.height=Ze(a.height+a.depth),a.depth&&(i.style.verticalAlign=Ze(-a.depth)),a.children.unshift(i),a=ar(["thinbox"],[a],t),ar(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new Vr("mpadded",[Jr(e.body,t)]);if("rlap"!==e.alignment){var n="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),Sr({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,a=n.mode;n.switchMode("math");var i="\\("===r?"\\)":"$",o=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:o}}}),Sr({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ye("Mismatched "+e.funcName)}});var Ea=(e,t)=>{switch(t.style.size){case He.DISPLAY.size:return e.display;case He.TEXT.size:return e.text;case He.SCRIPT.size:return e.script;case He.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Sr({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Mr(t[0]),text:Mr(t[1]),script:Mr(t[2]),scriptscript:Mr(t[3])}},htmlBuilder:(e,t)=>{var r=Ea(e,t),n=qr(r,t,!1);return sr(n)},mathmlBuilder:(e,t)=>{var r=Ea(e,t);return Kr(r,t)}});var Na=(e,t,r,n,a,i,o)=>{e=ar([],[e]);var s,l,h,c=r&&Te(r);if(t){var m=jr(t,n.havingStyle(a.sup()),n);l={elem:m,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-m.depth)}}if(r){var p=jr(r,n.havingStyle(a.sub()),n);s={elem:p,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-p.height)}}if(l&&s){var u=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+o;h=hr({positionType:"bottom",positionData:u,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:Ze(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:Ze(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else if(s){var d=e.height-o;h=hr({positionType:"top",positionData:d,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:Ze(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]})}else{if(!l)return e;var f=e.depth+o;h=hr({positionType:"bottom",positionData:f,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:Ze(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}var g=[h];if(s&&0!==i&&!c){var v=ar(["mspace"],[],n);v.style.marginRight=Ze(i),g.unshift(v)}return ar(["mop","op-limits"],g,n)},Ia=new Set(["\\smallint"]),Pa=(e,t)=>{var r,n,a,i=!1;"supsub"===e.type?(r=e.sup,n=e.sub,a=cn(e.base,"op"),i=!0):a=cn(e,"op");var o,s=t.style,l=!1;if(s.size===He.DISPLAY.size&&a.symbol&&!Ia.has(a.name)&&(l=!0),a.symbol){var h=l?"Size2-Regular":"Size1-Regular",c="";if("\\oiint"!==a.name&&"\\oiiint"!==a.name||(c=a.name.slice(1),a.name="oiint"===c?"\\iint":"\\iiint"),o=Jt(a.name,h,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),c.length>0){var m=o.italic,p=dr(c+"Size"+(l?"2":"1"),t);o=hr({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:p,shift:l?.08:0}]}),a.name="\\"+c,o.classes.unshift("mop"),o.italic=m}}else if(a.body){var u=qr(a.body,t,!0);1===u.length&&u[0]instanceof ot?(o=u[0]).classes[0]="mop":o=ar(["mop"],u,t)}else{for(var d=[],f=1;f<a.name.length;f++)d.push(Qt(a.name[f],a.mode,t));o=ar(["mop"],d,t)}var g=0,v=0;return(o instanceof ot||"\\oiint"===a.name||"\\oiiint"===a.name)&&!a.suppressBaseShift&&(g=(o.height-o.depth)/2-t.fontMetrics().axisHeight,v=o.italic||0),i?Na(o,r,n,t,s,v,g):(g&&(o.style.position="relative",o.style.top=Ze(g)),o)},Ra=(e,t)=>{var r;if(e.symbol)r=new Vr("mo",[Wr(e.name,e.mode)]),Ia.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Vr("mo",Zr(e.body,t));else{r=new Vr("mi",[new Fr(e.name.slice(1))]);var n=new Vr("mo",[Wr("","text")]);r=e.parentIsSupSub?new Vr("mrow",[r,n]):Lr([r,n])}return r},ja={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Sr({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,a=n;return 1===a.length&&(a=ja[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Pa,mathmlBuilder:Ra}),Sr({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:Mr(n)}},htmlBuilder:Pa,mathmlBuilder:Ra});var Da={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Sr({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:Pa,mathmlBuilder:Ra}),Sr({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:Pa,mathmlBuilder:Ra}),Sr({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:r}=e,n=r;return 1===n.length&&(n=Da[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Pa,mathmlBuilder:Ra});var Ha=(e,t)=>{var r,n,a,i,o=!1;if("supsub"===e.type?(r=e.sup,n=e.sub,a=cn(e.base,"operatorname"),o=!0):a=cn(e,"operatorname"),a.body.length>0){for(var s=(a.body.map(e=>{var t="text"in e?e.text:void 0;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=qr(s,t.withFont("mathrm"),!0),h=0;h<l.length;h++){var c=l[h];c instanceof ot&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=ar(["mop"],l,t)}else i=ar(["mop"],[],t);return o?Na(i,r,n,t,t.style,0,0):i};function La(e,t,r){for(var n=qr(e,t,!1),a=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var o=n[i].classes.indexOf("sizing");o<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[o+1]==="reset-size"+t.size&&(n[i].classes[o+1]="reset-size"+r.size),n[i].height*=a,n[i].depth*=a}return sr(n)}Sr({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"operatorname",mode:r.mode,body:Mr(a),alwaysHandleSupSub:"\\operatornamewithlimits"===n,limits:!1,parentIsSupSub:!1}},htmlBuilder:Ha,mathmlBuilder:(e,t)=>{for(var r=Zr(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(i instanceof _r);else if(i instanceof Vr)switch(i.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":var o=i.children[0];1===i.children.length&&o instanceof Fr?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break;default:n=!1}else n=!1}if(n){var s=r.map(e=>e.toText()).join("");r=[new Fr(s)]}var l=new Vr("mi",r);l.setAttribute("mathvariant","normal");var h=new Vr("mo",[Wr("","text")]);return e.parentIsSupSub?new Vr("mrow",[l,h]):Lr([l,h])}}),ca("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),zr({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?sr(qr(e.body,t,!1)):ar(["mord"],qr(e.body,t,!0),t),mathmlBuilder:(e,t)=>Kr(e.body,t,!0)}),Sr({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=jr(e.body,t.havingCrampedStyle()),n=or("overline-line",t),a=t.fontMetrics().defaultRuleThickness,i=hr({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]});return ar(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new Vr("mo",[new Fr("‾")]);r.setAttribute("stretchy","true");var n=new Vr("mover",[Jr(e.body,t),r]);return n.setAttribute("accent","true"),n}}),Sr({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:Mr(n)}},htmlBuilder:(e,t)=>{var r=qr(e.body,t.withPhantom(),!1);return sr(r)},mathmlBuilder:(e,t)=>{var r=Zr(e.body,t);return new Vr("mphantom",r)}}),ca("\\hphantom","\\smash{\\phantom{#1}}"),Sr({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=ar(["inner"],[jr(e.body,t.withPhantom())]),n=ar(["fix"],[]);return ar(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=Zr(Mr(e.body),t),n=new Vr("mphantom",r),a=new Vr("mpadded",[n]);return a.setAttribute("width","0px"),a}}),Sr({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=cn(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=jr(e.body,t),n=$e(e.dy,t);return hr({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new Vr("mpadded",[Jr(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),Sr({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),Sr({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,a=r[0],i=cn(t[0],"size"),o=cn(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&cn(a,"size").value,width:i.value,height:o.value}},htmlBuilder(e,t){var r=ar(["mord","rule"],[],t),n=$e(e.width,t),a=$e(e.height,t),i=e.shift?$e(e.shift,t):0;return r.style.borderRightWidth=Ze(n),r.style.borderTopWidth=Ze(a),r.style.bottom=Ze(i),r.width=n,r.height=a+i,r.depth=-i,r.maxFontSize=1.125*a*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=$e(e.width,t),n=$e(e.height,t),a=e.shift?$e(e.shift,t):0,i=t.color&&t.getColor()||"black",o=new Vr("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",Ze(r)),o.setAttribute("height",Ze(n));var s=new Vr("mpadded",[o]);return a>=0?s.setAttribute("height",Ze(a)):(s.setAttribute("height",Ze(a)),s.setAttribute("depth",Ze(-a))),s.setAttribute("voffset",Ze(a)),s}});var Va=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Sr({type:"sizing",names:Va,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:Va.indexOf(n)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return La(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=Zr(e.body,r),a=new Vr("mstyle",n);return a.setAttribute("mathsize",Ze(r.sizeMultiplier)),a}}),Sr({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,a=!1,i=!1,o=r[0]&&cn(r[0],"ordgroup");if(o)for(var s="",l=0;l<o.body.length;++l)if("t"===(s=mn(o.body[l]).text))a=!0;else{if("b"!==s){a=!1,i=!1;break}i=!0}else a=!0,i=!0;var h=t[0];return{type:"smash",mode:n.mode,body:h,smashHeight:a,smashDepth:i}},htmlBuilder:(e,t)=>{var r=ar([],[jr(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0),e.smashDepth&&(r.depth=0),e.smashHeight&&e.smashDepth)return ar(["mord","smash"],[r],t);if(r.children)for(var n=0;n<r.children.length;n++)e.smashHeight&&(r.children[n].height=0),e.smashDepth&&(r.children[n].depth=0);var a=hr({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return ar(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new Vr("mpadded",[Jr(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),Sr({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,a=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(e,t){var r=jr(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=lr(r,t);var n=t.fontMetrics().defaultRuleThickness,a=n;t.style.id<He.TEXT.id&&(a=t.fontMetrics().xHeight);var i=n+a/4,o=r.height+r.depth+i+n,{span:s,ruleWidth:l,advanceWidth:h}=function(e,t){var r,n,a=t.havingBaseSizing(),i=Jn("\\surd",e*a.sizeMultiplier,Zn,a),o=a.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,c=0;return"small"===i.type?(e<1?o=1:e<1.4&&(o=.7),h=(1+s)/o,(r=Fn("sqrtMain",l=(1+s+Vn)/o,c=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",n=.833/o):"large"===i.type?(c=1080*Wn[i.size],h=(Wn[i.size]+s)/o,l=(Wn[i.size]+s+Vn)/o,(r=Fn("sqrtSize"+i.size,l,c,s,t)).style.minWidth="1.02em",n=1/o):(l=e+s+Vn,h=e+s,c=Math.floor(1e3*e+s)+80,(r=Fn("sqrtTall",l,c,s,t)).style.minWidth="0.742em",n=1.056),r.height=h,r.style.height=Ze(l),{span:r,advanceWidth:n,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*o}}(o,t),c=s.height-l;c>r.height+r.depth+i&&(i=(i+c-r.height-r.depth)/2);var m=s.height-r.height-i-l;r.style.paddingLeft=Ze(h);var p=hr({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+m)},{type:"elem",elem:s},{type:"kern",size:l}]});if(e.index){var u=t.havingStyle(He.SCRIPTSCRIPT),d=jr(e.index,u,t),f=.6*(p.height-p.depth),g=hr({positionType:"shift",positionData:-f,children:[{type:"elem",elem:d}]}),v=ar(["root"],[g]);return ar(["mord","sqrt"],[v,p],t)}return ar(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new Vr("mroot",[Jr(r,t),Jr(n,t)]):new Vr("msqrt",[Jr(r,t)])}});var Fa={display:He.DISPLAY,text:He.TEXT,script:He.SCRIPT,scriptscript:He.SCRIPTSCRIPT};Sr({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!0,r),o=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:o,body:i}},htmlBuilder(e,t){var r=Fa[e.style],n=t.havingStyle(r).withFont("");return La(e.body,n,t)},mathmlBuilder(e,t){var r=Fa[e.style],n=t.havingStyle(r),a=Zr(e.body,n),i=new Vr("mstyle",a),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}}),zr({type:"supsub",htmlBuilder(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===He.DISPLAY.size||r.alwaysHandleSupSub)?Pa:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===He.DISPLAY.size||r.limits)?Ha:null:"accent"===r.type?Te(r.base)?dn:null:"horizBrace"===r.type&&!e.sub===r.isOver?Ca:null:null}(e,t);if(r)return r(e,t);var n,a,i,{base:o,sup:s,sub:l}=e,h=jr(o,t),c=t.fontMetrics(),m=0,p=0,u=o&&Te(o);if(s){var d=t.havingStyle(t.style.sup());n=jr(s,d,t),u||(m=h.height-d.fontMetrics().supDrop*d.sizeMultiplier/t.sizeMultiplier)}if(l){var f=t.havingStyle(t.style.sub());a=jr(l,f,t),u||(p=h.depth+f.fontMetrics().subDrop*f.sizeMultiplier/t.sizeMultiplier)}i=t.style===He.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var g,v=t.sizeMultiplier,b=Ze(.5/c.ptPerEm/v),y=null;if(a){var x=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(h instanceof ot||x)&&(y=Ze(-h.italic))}if(n&&a){m=Math.max(m,i,n.depth+.25*c.xHeight),p=Math.max(p,c.sub2);var w=4*c.defaultRuleThickness;if(m-n.depth-(a.height-p)<w){p=w-(m-n.depth)+a.height;var k=.8*c.xHeight-(m-n.depth);k>0&&(m+=k,p-=k)}g=hr({positionType:"individualShift",children:[{type:"elem",elem:a,shift:p,marginRight:b,marginLeft:y},{type:"elem",elem:n,shift:-m,marginRight:b}]})}else if(a)p=Math.max(p,c.sub1,a.height-.8*c.xHeight),g=hr({positionType:"shift",positionData:p,children:[{type:"elem",elem:a,marginLeft:y,marginRight:b}]});else{if(!n)throw new Error("supsub must have either sup or sub.");m=Math.max(m,i,n.depth+.25*c.xHeight),g=hr({positionType:"shift",positionData:-m,children:[{type:"elem",elem:n,marginRight:b}]})}var S=Pr(h,"right")||"mord";return ar([S],[h,ar(["msupsub"],[g])],t)},mathmlBuilder(e,t){var r,n=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(n=!0,r=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var a,i=[Jr(e.base,t)];if(e.sub&&i.push(Jr(e.sub,t)),e.sup&&i.push(Jr(e.sup,t)),n)a=r?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;a=o&&"op"===o.type&&o.limits&&t.style===He.DISPLAY||o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(t.style===He.DISPLAY||o.limits)?"munderover":"msubsup"}else{var s=e.base;a=s&&"op"===s.type&&s.limits&&(t.style===He.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===He.DISPLAY)?"munder":"msub"}else{var l=e.base;a=l&&"op"===l.type&&l.limits&&(t.style===He.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===He.DISPLAY)?"mover":"msup"}return new Vr(a,i)}}),zr({type:"atom",htmlBuilder:(e,t)=>Qt(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new Vr("mo",[Wr(e.text,e.mode)]);if("bin"===e.family){var n=Yr(e,t);"bold-italic"===n&&r.setAttribute("mathvariant",n)}else"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false");return r}});var _a={mi:"italic",mn:"normal",mtext:"normal"};zr({type:"mathord",htmlBuilder:(e,t)=>er(e,t,"mathord"),mathmlBuilder(e,t){var r=new Vr("mi",[Wr(e.text,e.mode,t)]),n=Yr(e,t)||"italic";return n!==_a[r.type]&&r.setAttribute("mathvariant",n),r}}),zr({type:"textord",htmlBuilder:(e,t)=>er(e,t,"textord"),mathmlBuilder(e,t){var r,n=Wr(e.text,e.mode,t),a=Yr(e,t)||"normal";return r="text"===e.mode?new Vr("mtext",[n]):/[0-9]/.test(e.text)?new Vr("mn",[n]):"\\prime"===e.text?new Vr("mo",[n]):new Vr("mi",[n]),a!==_a[r.type]&&r.setAttribute("mathvariant",a),r}});var Ga={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ua={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};zr({type:"spacing",htmlBuilder(e,t){if(Ua.hasOwnProperty(e.text)){var r=Ua[e.text].className||"";if("text"===e.mode){var n=er(e,t,"textord");return n.classes.push(r),n}return ar(["mspace",r],[Qt(e.text,e.mode,t)],t)}if(Ga.hasOwnProperty(e.text))return ar(["mspace",Ga[e.text]],[],t);throw new ye('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!Ua.hasOwnProperty(e.text)){if(Ga.hasOwnProperty(e.text))return new Vr("mspace");throw new ye('Unknown type of space "'+e.text+'"')}return new Vr("mtext",[new Fr(" ")])}});var Wa=()=>{var e=new Vr("mtd",[]);return e.setAttribute("width","50%"),e};zr({type:"tag",mathmlBuilder(e,t){var r=new Vr("mtable",[new Vr("mtr",[Wa(),new Vr("mtd",[Kr(e.body,t)]),Wa(),new Vr("mtd",[Kr(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Xa={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ya={"\\textbf":"textbf","\\textmd":"textmd"},$a={"\\textit":"textit","\\textup":"textup"},Za=(e,t)=>{var r=e.font;return r?Xa[r]?t.withTextFontFamily(Xa[r]):Ya[r]?t.withTextFontWeight(Ya[r]):"\\emph"===r?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape($a[r]):t};Sr({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,a=t[0];return{type:"text",mode:r.mode,body:Mr(a),font:n}},htmlBuilder(e,t){var r=Za(e,t),n=qr(e.body,r,!0);return ar(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Za(e,t);return Kr(e.body,r)}}),Sr({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=jr(e.body,t),n=or("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=hr({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]});return ar(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new Vr("mo",[new Fr("‾")]);r.setAttribute("stretchy","true");var n=new Vr("munder",[Jr(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),Sr({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=jr(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return hr({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new Vr("mpadded",[Jr(e.body,t)],["vcenter"]);return new Vr("mrow",[r])}}),Sr({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new ye("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Ka(e),n=[],a=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var o=r[i];"~"===o&&(o="\\textasciitilde"),n.push(Jt(o,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return ar(["mord","text"].concat(a.sizingClasses(t)),rr(n),a)},mathmlBuilder(e,t){var r=new Fr(Ka(e)),n=new Vr("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Ka=e=>e.body.replace(/ /g,e.star?"␣":" "),Ja=xr,Qa="[ \r\n\t]",ei="(\\\\[a-zA-Z@]+)"+Qa+"*",ti="[̀-ͯ]",ri=new RegExp(ti+"+$"),ni="("+Qa+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧-豈-]"+ti+"*|[\ud800-\udbff][\udc00-\udfff]"+ti+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+ei+"|\\\\[^\ud800-\udfff])";class ai{constructor(e,t){this.input=e,this.settings=t,this.tokenRegex=new RegExp(ni,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new pa("EOF",new ma(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new ye("Unexpected character: '"+e[t]+"'",new pa(e[t],new ma(this,t,t+1)));var n=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[n]){var a=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===a?(this.tokenRegex.lastIndex=e.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 pa(n,new ma(this,t,this.tokenRegex.lastIndex))}}class ii{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new ye("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var n=0;n<this.undefStack.length;n++)delete this.undefStack[n][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(e)&&(a[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var oi=ha;ca("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),ca("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),ca("\\@firstoftwo",function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),ca("\\@secondoftwo",function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),ca("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),ca("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ca("\\TextOrMath",function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var si={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};ca("\\char",function(e){var t,r=e.popToken(),n=0;if("'"===r.text)t=8,r=e.popToken();else if('"'===r.text)t=16,r=e.popToken();else if("`"===r.text)if("\\"===(r=e.popToken()).text[0])n=r.text.charCodeAt(1);else{if("EOF"===r.text)throw new ye("\\char` missing argument");n=r.text.charCodeAt(0)}else t=10;if(t){if(null==(n=si[r.text])||n>=t)throw new ye("Invalid base-"+t+" digit "+r.text);for(var a;null!=(a=si[e.future().text])&&a<t;)n*=t,n+=a,e.popToken()}return"\\@char{"+n+"}"});var li=(e,t,r,n)=>{var a=e.consumeArg().tokens;if(1!==a.length)throw new ye("\\newcommand's first argument must be a macro name");var i=a[0].text,o=e.isDefined(i);if(o&&!t)throw new ye("\\newcommand{"+i+"} attempting to redefine "+i+"; use \\renewcommand");if(!o&&!r)throw new ye("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(1===(a=e.consumeArg().tokens).length&&"["===a[0].text){for(var l="",h=e.expandNextToken();"]"!==h.text&&"EOF"!==h.text;)l+=h.text,h=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new ye("Invalid number of arguments: "+l);s=parseInt(l),a=e.consumeArg().tokens}return o&&n||e.macros.set(i,{tokens:a,numArgs:s}),""};ca("\\newcommand",e=>li(e,!1,!0,!1)),ca("\\renewcommand",e=>li(e,!0,!1,!1)),ca("\\providecommand",e=>li(e,!0,!0,!0)),ca("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join("")),""}),ca("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join("")),""}),ca("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Ja[r],vt.math[r],vt.text[r]),""}),ca("\\bgroup","{"),ca("\\egroup","}"),ca("~","\\nobreakspace"),ca("\\lq","`"),ca("\\rq","'"),ca("\\aa","\\r a"),ca("\\AA","\\r A"),ca("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),ca("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ca("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),ca("ℬ","\\mathscr{B}"),ca("ℰ","\\mathscr{E}"),ca("ℱ","\\mathscr{F}"),ca("ℋ","\\mathscr{H}"),ca("ℐ","\\mathscr{I}"),ca("ℒ","\\mathscr{L}"),ca("ℳ","\\mathscr{M}"),ca("ℛ","\\mathscr{R}"),ca("ℭ","\\mathfrak{C}"),ca("ℌ","\\mathfrak{H}"),ca("ℨ","\\mathfrak{Z}"),ca("\\Bbbk","\\Bbb{k}"),ca("\\llap","\\mathllap{\\textrm{#1}}"),ca("\\rlap","\\mathrlap{\\textrm{#1}}"),ca("\\clap","\\mathclap{\\textrm{#1}}"),ca("\\mathstrut","\\vphantom{(}"),ca("\\underbar","\\underline{\\text{#1}}"),ca("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}'),ca("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),ca("\\ne","\\neq"),ca("≠","\\neq"),ca("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),ca("∉","\\notin"),ca("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),ca("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),ca("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),ca("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),ca("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),ca("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),ca("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),ca("⟂","\\perp"),ca("‼","\\mathclose{!\\mkern-0.8mu!}"),ca("∌","\\notni"),ca("⌜","\\ulcorner"),ca("⌝","\\urcorner"),ca("⌞","\\llcorner"),ca("⌟","\\lrcorner"),ca("©","\\copyright"),ca("®","\\textregistered"),ca("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),ca("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),ca("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),ca("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),ca("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),ca("⋮","\\vdots"),ca("\\varGamma","\\mathit{\\Gamma}"),ca("\\varDelta","\\mathit{\\Delta}"),ca("\\varTheta","\\mathit{\\Theta}"),ca("\\varLambda","\\mathit{\\Lambda}"),ca("\\varXi","\\mathit{\\Xi}"),ca("\\varPi","\\mathit{\\Pi}"),ca("\\varSigma","\\mathit{\\Sigma}"),ca("\\varUpsilon","\\mathit{\\Upsilon}"),ca("\\varPhi","\\mathit{\\Phi}"),ca("\\varPsi","\\mathit{\\Psi}"),ca("\\varOmega","\\mathit{\\Omega}"),ca("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ca("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),ca("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ca("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ca("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ca("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),ca("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),ca("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var hi={",":"\\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"},ci=new Set(["bin","rel"]);ca("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in hi?t=hi[r]:("\\not"===r.slice(0,4)||r in vt.math&&ci.has(vt.math[r].group))&&(t="\\dotsb"),t});var mi={")":!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};ca("\\dotso",function(e){return e.future().text in mi?"\\ldots\\,":"\\ldots"}),ca("\\dotsc",function(e){var t=e.future().text;return t in mi&&","!==t?"\\ldots\\,":"\\ldots"}),ca("\\cdots",function(e){return e.future().text in mi?"\\@cdots\\,":"\\@cdots"}),ca("\\dotsb","\\cdots"),ca("\\dotsm","\\cdots"),ca("\\dotsi","\\!\\cdots"),ca("\\dotsx","\\ldots\\,"),ca("\\DOTSI","\\relax"),ca("\\DOTSB","\\relax"),ca("\\DOTSX","\\relax"),ca("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ca("\\,","\\tmspace+{3mu}{.1667em}"),ca("\\thinspace","\\,"),ca("\\>","\\mskip{4mu}"),ca("\\:","\\tmspace+{4mu}{.2222em}"),ca("\\medspace","\\:"),ca("\\;","\\tmspace+{5mu}{.2777em}"),ca("\\thickspace","\\;"),ca("\\!","\\tmspace-{3mu}{.1667em}"),ca("\\negthinspace","\\!"),ca("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ca("\\negthickspace","\\tmspace-{5mu}{.277em}"),ca("\\enspace","\\kern.5em "),ca("\\enskip","\\hskip.5em\\relax"),ca("\\quad","\\hskip1em\\relax"),ca("\\qquad","\\hskip2em\\relax"),ca("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ca("\\tag@paren","\\tag@literal{({#1})}"),ca("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ye("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ca("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ca("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ca("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ca("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ca("\\newline","\\\\\\relax"),ca("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var pi=Ze(ct["Main-Regular"]["T".charCodeAt(0)][1]-.7*ct["Main-Regular"]["A".charCodeAt(0)][1]);ca("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+pi+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),ca("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+pi+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),ca("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ca("\\@hspace","\\hskip #1\\relax"),ca("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ca("\\ordinarycolon",":"),ca("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ca("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ca("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ca("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ca("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ca("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ca("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ca("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ca("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ca("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ca("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ca("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ca("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ca("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ca("∷","\\dblcolon"),ca("∹","\\eqcolon"),ca("≔","\\coloneqq"),ca("≕","\\eqqcolon"),ca("⩴","\\Coloneqq"),ca("\\ratio","\\vcentcolon"),ca("\\coloncolon","\\dblcolon"),ca("\\colonequals","\\coloneqq"),ca("\\coloncolonequals","\\Coloneqq"),ca("\\equalscolon","\\eqqcolon"),ca("\\equalscoloncolon","\\Eqqcolon"),ca("\\colonminus","\\coloneq"),ca("\\coloncolonminus","\\Coloneq"),ca("\\minuscolon","\\eqcolon"),ca("\\minuscoloncolon","\\Eqcolon"),ca("\\coloncolonapprox","\\Colonapprox"),ca("\\coloncolonsim","\\Colonsim"),ca("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ca("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ca("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ca("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ca("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),ca("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ca("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ca("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),ca("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),ca("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),ca("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),ca("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),ca("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),ca("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),ca("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),ca("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),ca("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),ca("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),ca("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),ca("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),ca("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),ca("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),ca("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),ca("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),ca("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),ca("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),ca("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),ca("\\imath","\\html@mathml{\\@imath}{ı}"),ca("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),ca("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),ca("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),ca("⟦","\\llbracket"),ca("⟧","\\rrbracket"),ca("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),ca("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),ca("⦃","\\lBrace"),ca("⦄","\\rBrace"),ca("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),ca("⦵","\\minuso"),ca("\\darr","\\downarrow"),ca("\\dArr","\\Downarrow"),ca("\\Darr","\\Downarrow"),ca("\\lang","\\langle"),ca("\\rang","\\rangle"),ca("\\uarr","\\uparrow"),ca("\\uArr","\\Uparrow"),ca("\\Uarr","\\Uparrow"),ca("\\N","\\mathbb{N}"),ca("\\R","\\mathbb{R}"),ca("\\Z","\\mathbb{Z}"),ca("\\alef","\\aleph"),ca("\\alefsym","\\aleph"),ca("\\Alpha","\\mathrm{A}"),ca("\\Beta","\\mathrm{B}"),ca("\\bull","\\bullet"),ca("\\Chi","\\mathrm{X}"),ca("\\clubs","\\clubsuit"),ca("\\cnums","\\mathbb{C}"),ca("\\Complex","\\mathbb{C}"),ca("\\Dagger","\\ddagger"),ca("\\diamonds","\\diamondsuit"),ca("\\empty","\\emptyset"),ca("\\Epsilon","\\mathrm{E}"),ca("\\Eta","\\mathrm{H}"),ca("\\exist","\\exists"),ca("\\harr","\\leftrightarrow"),ca("\\hArr","\\Leftrightarrow"),ca("\\Harr","\\Leftrightarrow"),ca("\\hearts","\\heartsuit"),ca("\\image","\\Im"),ca("\\infin","\\infty"),ca("\\Iota","\\mathrm{I}"),ca("\\isin","\\in"),ca("\\Kappa","\\mathrm{K}"),ca("\\larr","\\leftarrow"),ca("\\lArr","\\Leftarrow"),ca("\\Larr","\\Leftarrow"),ca("\\lrarr","\\leftrightarrow"),ca("\\lrArr","\\Leftrightarrow"),ca("\\Lrarr","\\Leftrightarrow"),ca("\\Mu","\\mathrm{M}"),ca("\\natnums","\\mathbb{N}"),ca("\\Nu","\\mathrm{N}"),ca("\\Omicron","\\mathrm{O}"),ca("\\plusmn","\\pm"),ca("\\rarr","\\rightarrow"),ca("\\rArr","\\Rightarrow"),ca("\\Rarr","\\Rightarrow"),ca("\\real","\\Re"),ca("\\reals","\\mathbb{R}"),ca("\\Reals","\\mathbb{R}"),ca("\\Rho","\\mathrm{P}"),ca("\\sdot","\\cdot"),ca("\\sect","\\S"),ca("\\spades","\\spadesuit"),ca("\\sub","\\subset"),ca("\\sube","\\subseteq"),ca("\\supe","\\supseteq"),ca("\\Tau","\\mathrm{T}"),ca("\\thetasym","\\vartheta"),ca("\\weierp","\\wp"),ca("\\Zeta","\\mathrm{Z}"),ca("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ca("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ca("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ca("\\bra","\\mathinner{\\langle{#1}|}"),ca("\\ket","\\mathinner{|{#1}\\rangle}"),ca("\\braket","\\mathinner{\\langle{#1}\\rangle}"),ca("\\Bra","\\left\\langle#1\\right|"),ca("\\Ket","\\left|#1\\right\\rangle");var ui=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",o),a.length&&r.macros.set("\\|",s));var i=t;return!t&&a.length&&"|"===r.future().text&&(r.popToken(),i=!0),{tokens:i?a:n,numArgs:0}};t.macros.set("|",l(!1)),a.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,c=t.expandTokens([...i,...h,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};ca("\\bra@ket",ui(!1)),ca("\\bra@set",ui(!0)),ca("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),ca("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),ca("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),ca("\\angln","{\\angl n}"),ca("\\blue","\\textcolor{##6495ed}{#1}"),ca("\\orange","\\textcolor{##ffa500}{#1}"),ca("\\pink","\\textcolor{##ff00af}{#1}"),ca("\\red","\\textcolor{##df0030}{#1}"),ca("\\green","\\textcolor{##28ae7b}{#1}"),ca("\\gray","\\textcolor{gray}{#1}"),ca("\\purple","\\textcolor{##9d38bd}{#1}"),ca("\\blueA","\\textcolor{##ccfaff}{#1}"),ca("\\blueB","\\textcolor{##80f6ff}{#1}"),ca("\\blueC","\\textcolor{##63d9ea}{#1}"),ca("\\blueD","\\textcolor{##11accd}{#1}"),ca("\\blueE","\\textcolor{##0c7f99}{#1}"),ca("\\tealA","\\textcolor{##94fff5}{#1}"),ca("\\tealB","\\textcolor{##26edd5}{#1}"),ca("\\tealC","\\textcolor{##01d1c1}{#1}"),ca("\\tealD","\\textcolor{##01a995}{#1}"),ca("\\tealE","\\textcolor{##208170}{#1}"),ca("\\greenA","\\textcolor{##b6ffb0}{#1}"),ca("\\greenB","\\textcolor{##8af281}{#1}"),ca("\\greenC","\\textcolor{##74cf70}{#1}"),ca("\\greenD","\\textcolor{##1fab54}{#1}"),ca("\\greenE","\\textcolor{##0d923f}{#1}"),ca("\\goldA","\\textcolor{##ffd0a9}{#1}"),ca("\\goldB","\\textcolor{##ffbb71}{#1}"),ca("\\goldC","\\textcolor{##ff9c39}{#1}"),ca("\\goldD","\\textcolor{##e07d10}{#1}"),ca("\\goldE","\\textcolor{##a75a05}{#1}"),ca("\\redA","\\textcolor{##fca9a9}{#1}"),ca("\\redB","\\textcolor{##ff8482}{#1}"),ca("\\redC","\\textcolor{##f9685d}{#1}"),ca("\\redD","\\textcolor{##e84d39}{#1}"),ca("\\redE","\\textcolor{##bc2612}{#1}"),ca("\\maroonA","\\textcolor{##ffbde0}{#1}"),ca("\\maroonB","\\textcolor{##ff92c6}{#1}"),ca("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ca("\\maroonD","\\textcolor{##ca337c}{#1}"),ca("\\maroonE","\\textcolor{##9e034e}{#1}"),ca("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ca("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ca("\\purpleC","\\textcolor{##aa87ff}{#1}"),ca("\\purpleD","\\textcolor{##7854ab}{#1}"),ca("\\purpleE","\\textcolor{##543b78}{#1}"),ca("\\mintA","\\textcolor{##f5f9e8}{#1}"),ca("\\mintB","\\textcolor{##edf2df}{#1}"),ca("\\mintC","\\textcolor{##e0e5cc}{#1}"),ca("\\grayA","\\textcolor{##f6f7f7}{#1}"),ca("\\grayB","\\textcolor{##f0f1f2}{#1}"),ca("\\grayC","\\textcolor{##e3e5e6}{#1}"),ca("\\grayD","\\textcolor{##d6d8da}{#1}"),ca("\\grayE","\\textcolor{##babec2}{#1}"),ca("\\grayF","\\textcolor{##888d93}{#1}"),ca("\\grayG","\\textcolor{##626569}{#1}"),ca("\\grayH","\\textcolor{##3b3e40}{#1}"),ca("\\grayI","\\textcolor{##21242c}{#1}"),ca("\\kaBlue","\\textcolor{##314453}{#1}"),ca("\\kaGreen","\\textcolor{##71B307}{#1}");var di={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class fi{constructor(e,t,r){this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new ii(oi,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new ai(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,n;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:n,end:r}=this.consumeArg(["]"]))}else({tokens:n,start:t,end:r}=this.consumeArg());return this.pushToken(new pa("EOF",r.loc)),this.pushTokens(n),new pa("",ma.range(t,r))}consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()}consumeArg(e){var t=[],r=e&&e.length>0;r||this.consumeSpaces();var n,a=this.future(),i=0,o=0;do{if(n=this.popToken(),t.push(n),"{"===n.text)++i;else if("}"===n.text){if(-1===--i)throw new ye("Extra }",n)}else if("EOF"===n.text)throw new ye("Unexpected end of input in a macro argument, expected '"+(e&&r?e[o]:"}")+"'",n);if(e&&r)if((0===i||1===i&&"{"===e[o])&&n.text===e[o]){if(++o===e.length){t.splice(-o,o);break}}else o=0}while(0!==i||r);return"{"===a.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:a,end:n}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new ye("The length of delimiters doesn't match the number of args!");for(var r=t[0],n=0;n<r.length;n++){var a=this.popToken();if(r[n]!==a.text)throw new ye("Use of the macro doesn't match its definition",a)}}for(var i=[],o=0;o<e;o++)i.push(this.consumeArg(t&&t[o+1]).tokens);return i}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new ye("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,n=t.noexpand?null:this._getExpansion(r);if(null==n||e&&n.unexpandable){if(e&&null==n&&"\\"===r[0]&&!this.isDefined(r))throw new ye("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var a=n.tokens,i=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs)for(var o=(a=a.slice()).length-1;o>=0;--o){var s=a[o];if("#"===s.text){if(0===o)throw new ye("Incomplete placeholder at end of macro body",s);if("#"===(s=a[--o]).text)a.splice(o+1,1);else{if(!/^[1-9]$/.test(s.text))throw new ye("Not a valid argument number",s);a.splice(o,2,...i[+s.text-1])}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}}expandMacro(e){return this.macros.has(e)?this.expandTokens([new pa(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),t.push(n)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var n="function"==typeof t?t(this):t;if("string"==typeof n){var a=0;if(n.includes("#"))for(var i=n.replace(/##/g,"");i.includes("#"+(a+1));)++a;for(var o=new ai(n,this.settings),s=[],l=o.lex();"EOF"!==l.text;)s.push(l),l=o.lex();return s.reverse(),{tokens:s,numArgs:a}}return n}isDefined(e){return this.macros.has(e)||Ja.hasOwnProperty(e)||vt.math.hasOwnProperty(e)||vt.text.hasOwnProperty(e)||di.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:Ja.hasOwnProperty(e)&&!Ja[e].primitive}}var gi=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,vi=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),bi={"́":{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"}},yi={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class xi{constructor(e,t){this.mode="math",this.gullet=new fi(e,t,this.mode),this.settings=t,this.leftrightDepth=0,this.nextToken=null}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new ye("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new pa("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var n=this.fetch();if(xi.endOfExpression.has(n.text))break;if(t&&n.text===t)break;if(e&&Ja[n.text]&&Ja[n.text].infix)break;var a=this.parseAtom(t);if(!a)break;"internal"!==a.type&&r.push(a)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t,r=-1,n=0;n<e.length;n++){var a=e[n];if("infix"===a.type){if(-1!==r)throw new ye("only one infix operator per group",a.token);r=n,t=a.replaceWith}}if(-1!==r&&t){var i,o,s=e.slice(0,r),l=e.slice(r+1);return i=1===s.length&&"ordgroup"===s[0].type?s[0]:{type:"ordgroup",mode:this.mode,body:s},o=1===l.length&&"ordgroup"===l[0].type?l[0]:{type:"ordgroup",mode:this.mode,body:l},["\\\\abovefrac"===t?this.callFunction(t,[i,e[r],o],[]):this.callFunction(t,[i,o],[])]}return e}handleSupSubscript(e){var t,r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();do{var a;t=this.parseGroup(e)}while("internal"===(null==(a=t)?void 0:a.type));if(!t)throw new ye("Expected group after '"+n+"'",r);return t}formatUnsupportedCmd(e){for(var t=[],r=0;r<e.length;r++)t.push({type:"textord",mode:"text",text:e[r]});var n={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]}}parseAtom(e){var t,r,n=this.parseGroup("atom",e);if("internal"===(null==n?void 0:n.type))return n;if("text"===this.mode)return n;for(;;){this.consumeSpaces();var a=this.fetch();if("\\limits"===a.text||"\\nolimits"===a.text){if(n&&"op"===n.type){var i="\\limits"===a.text;n.limits=i,n.alwaysHandleSupSub=!0}else{if(!n||"operatorname"!==n.type)throw new ye("Limit controls must follow a math operator",a);n.alwaysHandleSupSub&&(n.limits="\\limits"===a.text)}this.consume()}else if("^"===a.text){if(t)throw new ye("Double superscript",a);t=this.handleSupSubscript("superscript")}else if("_"===a.text){if(r)throw new ye("Double subscript",a);r=this.handleSupSubscript("subscript")}else if("'"===a.text){if(t)throw new ye("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")),t={type:"ordgroup",mode:this.mode,body:s}}else{if(!vi[a.text])break;var l=gi.test(a.text),h=[];for(h.push(new pa(vi[a.text])),this.consume();;){var c=this.fetch().text;if(!vi[c])break;if(gi.test(c)!==l)break;h.unshift(new pa(vi[c])),this.consume()}var m=this.subparse(h);l?r={type:"ordgroup",mode:"math",body:m}:t={type:"ordgroup",mode:"math",body:m}}}return t||r?{type:"supsub",mode:this.mode,base:n,sup:t,sub:r}:n}parseFunction(e,t){var r=this.fetch(),n=r.text,a=Ja[n];if(!a)return null;if(this.consume(),t&&"atom"!==t&&!a.allowedInArgument)throw new ye("Got function '"+n+"' with no arguments"+(t?" as "+t:""),r);if("text"===this.mode&&!a.allowedInText)throw new ye("Can't use function '"+n+"' in text mode",r);if("math"===this.mode&&!1===a.allowedInMath)throw new ye("Can't use function '"+n+"' in math mode",r);var{args:i,optArgs:o}=this.parseArguments(n,a);return this.callFunction(n,i,o,r,e)}callFunction(e,t,r,n,a){var i={funcName:e,parser:this,token:n,breakOnTokenText:a},o=Ja[e];if(o&&o.handler)return o.handler(i,t,r);throw new ye("No function handler for "+e)}parseArguments(e,t){var r=t.numArgs+t.numOptionalArgs;if(0===r)return{args:[],optArgs:[]};for(var n=[],a=[],i=0;i<r;i++){var o=t.argTypes&&t.argTypes[i],s=i<t.numOptionalArgs;("primitive"in t&&t.primitive&&null==o||"sqrt"===t.type&&1===i&&null==a[0])&&(o="primitive");var l=this.parseGroupOfType("argument to '"+e+"'",o,s);if(s)a.push(l);else{if(null==l)throw new ye("Null argument, please report this as a bug");n.push(l)}}return{args:n,optArgs:a}}parseGroupOfType(e,t,r){switch(t){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,t);case"hbox":var n=this.parseArgumentGroup(r,"text");return null!=n?{type:"styling",mode:n.mode,body:[n],style:"text"}:null;case"raw":var a=this.parseStringGroup("raw",r);return null!=a?{type:"raw",mode:"text",string:a.text}:null;case"primitive":if(r)throw new ye("A primitive argument cannot be optional");var i=this.parseGroup(e);if(null==i)throw new ye("Expected group as "+e,this.fetch());return i;case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new ye("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(e,t){var r=this.gullet.scanArgument(t);if(null==r)return null;for(var n,a="";"EOF"!==(n=this.fetch()).text;)a+=n.text,this.consume();return this.consume(),r.text=a,r}parseRegexGroup(e,t){for(var r,n=this.fetch(),a=n,i="";"EOF"!==(r=this.fetch()).text&&e.test(i+r.text);)i+=(a=r).text,this.consume();if(""===i)throw new ye("Invalid "+t+": '"+n.text+"'",n);return n.range(a,i)}parseColorGroup(e){var t=this.parseStringGroup("color",e);if(null==t)return null;var r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!r)throw new ye("Invalid color: '"+t.text+"'",t);var n=r[0];return/^[0-9a-f]{6}$/i.test(n)&&(n="#"+n),{type:"color-token",mode:this.mode,color:n}}parseSizeGroup(e){var t,r=!1;if(this.gullet.consumeSpaces(),!(t=e||"{"===this.gullet.future().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;e||0!==t.text.length||(t.text="0pt",r=!0);var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!n)throw new ye("Invalid size: '"+t.text+"'",t);var a={number:+(n[1]+n[2]),unit:n[3]};if(!Ye(a))throw new ye("Invalid unit: '"+a.unit+"'",t);return{type:"size",mode:this.mode,value:a,isBlank:r}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==t)return null;var r=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(e,t){var r=this.gullet.scanArgument(e);if(null==r)return null;var n=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var i={type:"ordgroup",mode:this.mode,loc:r.loc,body:a};return t&&this.switchMode(n),i}parseGroup(e,t){var r,n=this.fetch(),a=n.text;if("{"===a||"\\begingroup"===a){this.consume();var i="{"===a?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,i),s=this.fetch();this.expect(i),this.gullet.endGroup(),r={type:"ordgroup",mode:this.mode,loc:ma.range(n,s),body:o,semisimple:"\\begingroup"===a||void 0}}else if(null==(r=this.parseFunction(t,e)||this.parseSymbol())&&"\\"===a[0]&&!di.hasOwnProperty(a)){if(this.settings.throwOnError)throw new ye("Undefined control sequence: "+a,n);r=this.formatUnsupportedCmd(a),this.consume()}return r}formLigatures(e){for(var t=e.length-1,r=0;r<t;++r){var n=e[r];if("textord"===n.type){var a=n.text,i=e[r+1];if(i&&"textord"===i.type){if("-"===a&&"-"===i.text){var o=e[r+2];r+1<t&&o&&"textord"===o.type&&"-"===o.text?(e.splice(r,3,{type:"textord",mode:"text",loc:ma.range(n,o),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:ma.range(n,i),text:"--"}),t-=1)}"'"!==a&&"`"!==a||i.text!==a||(e.splice(r,2,{type:"textord",mode:"text",loc:ma.range(n,i),text:a+a}),t-=1)}}}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var r=t.slice(5),n="*"===r.charAt(0);if(n&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new ye("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:n}}yi.hasOwnProperty(t[0])&&!vt[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=yi[t[0]]+t.slice(1));var a,i=ri.exec(t);if(i&&("i"===(t=t.substring(0,i.index))?t="ı":"j"===t&&(t="ȷ")),vt[this.mode][t]){this.settings.strict&&"math"===this.mode&&"ÐÞþ".includes(t)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var o,s=vt[this.mode][t].group,l=ma.range(e);if(ft.hasOwnProperty(s)){var h=s;o={type:"atom",mode:this.mode,family:h,loc:l,text:t}}else o={type:s,mode:this.mode,loc:l,text:t};a=o}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(Fe(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),a={type:"textord",mode:"text",loc:ma.range(e),text:t}}if(this.consume(),i)for(var c=0;c<i[0].length;c++){var m=i[0][c];if(!bi[m])throw new ye("Unknown accent ' "+m+"'",e);var p=bi[m][this.mode]||bi[m].text;if(!p)throw new ye("Accent "+m+" unsupported in "+this.mode+" mode",e);a={type:"accent",mode:this.mode,loc:ma.range(e),label:p,isStretchy:!1,isShifty:!0,base:a}}return a}}xi.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&"undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.");var wi=function(e,t){var r=new Ce(t);try{return function(e,t,r){var n,a=function(e){return new nn({style:e.displayMode?He.DISPLAY:He.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})}(r);if("mathml"===r.output)return Qr(e,t,a,r.displayMode,!0);if("html"===r.output){var i=Hr(e,a);n=ar(["katex"],[i])}else{var o=Qr(e,t,a,r.displayMode,!1),s=Hr(e,a);n=ar(["katex"],[o,s])}return function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=ar(r,[e])}return e}(n,r)}(function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new xi(e,t);delete r.gullet.macros.current["\\df@tag"];var n=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new ye("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:r.subparse([new pa("\\df@tag")])}]}return n}(e,r),e,r)}catch(t){return function(e,t,r){if(r.throwOnError||!(e instanceof ye))throw e;var n=ar(["katex-error"],[new ot(t)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+r.errorColor),n}(t,e,r)}};function ki(e,t=!1){try{return function(e,t){return wi(e,t).toMarkup()}(e,{throwOnError:!1,displayMode:t,output:"htmlAndMathml"})}catch(e){return'<span style="color: red;">Invalid LaTeX</span>'}}new i({type:"MathInline",elements:e("math-inline",{render:r=>{const{element:n,attributes:a,children:i}=r,s=o(),{latex:l}=n.props,h=ki(l||"\\text{math}");return t("span",Object.assign({},a,{contentEditable:!1,"data-math-inline":!0,"data-latex":l,onClick:e=>{(null==s?void 0:s.math)&&s.math.open({element:n,blockId:r.blockId,anchorEl:e.currentTarget})},style:{cursor:"pointer"}},{children:[e("span",{dangerouslySetInnerHTML:{__html:h}}),i]}))},props:{latex:"",nodeType:"inlineVoid"},nodeType:"inlineVoid"}),options:{display:{title:"Math (Inline)",description:"Insert an inline math expression"}},commands:be,parsers:{html:{deserialize:{nodeNames:["SPAN"],parse:e=>{var t;if("SPAN"===e.nodeName&&e.hasAttribute("data-math-inline")){const r=null!==(t=e.getAttribute("data-latex"))&&void 0!==t?t:"";return{id:s(),type:"math-inline",children:[{text:""}],props:{latex:r,nodeType:"inlineVoid"}}}}},serialize:e=>{var t;const{latex:r}=null!==(t=e.props)&&void 0!==t?t:{},n=ki(r||"");return`<span data-math-inline data-latex="${encodeURIComponent(r||"")}">${n}</span>`}},markdown:{serialize:e=>{var t,r;return`$${null!==(r=null===(t=e.props)||void 0===t?void 0:t.latex)&&void 0!==r?r:""}$`}},email:{serialize:e=>{var t;const{latex:r}=null!==(t=e.props)&&void 0!==t?t:{};return`<span style="font-family: 'Times New Roman', serif;">${ki(r||"")}</span>`}}},extensions:e=>{const{isVoid:t,isInline:r,markableVoid:n}=e;return e.isVoid=e=>"math-inline"===e.type||t(e),e.isInline=e=>"math-inline"===e.type||r(e),e.markableVoid=e=>"math-inline"===e.type||n(e),e}});const Si={buildMathBlockElement:(e,t)=>({id:s(),type:"math-block",children:[{text:""}],props:{latex:t.props.latex,nodeType:"void"}}),updateMathBlock:(e,t,r)=>{const n=l.getBlockSlate(e,{id:t});if(!n)return;const a=Array.from(G.nodes(n,{at:[],match:e=>C.isElement(e)&&!G.isEditor(e)&&"math-block"===e.type}))[0];if(a){const[e,t]=a;ve.setNodes(n,{props:Object.assign(Object.assign({},e.props),{latex:r,nodeType:"void"})},{at:t})}},getMathBlockElement:(e,t={})=>{var r;try{const n=t.blockId?{id:t.blockId}:{at:null!==(r=t.at)&&void 0!==r?r:e.path.current},a=l.getBlockSlate(e,n);if(!a)return null;for(const[e]of G.nodes(a,{at:[],match:e=>C.isElement(e)&&!G.isEditor(e)&&"math-block"===e.type}))return e;return null}catch(e){return null}},openEditor:(e,t)=>{e.math.open(t)},closeEditor:e=>{e.math.close()}};new i({type:"MathBlock",elements:e("math-block",{render:r=>{const{element:n,attributes:a,children:i}=r,s=o(),{latex:l}=n.props,h=ki(l||"\\text{Enter math expression...}",!0);return t("div",Object.assign({},a,{contentEditable:!1,"data-math-block":!0,"data-latex":l,onClick:e=>{(null==s?void 0:s.math)&&s.math.open({element:n,blockId:r.blockId,anchorEl:e.currentTarget})},style:{padding:"1em 0",textAlign:"center",cursor:"pointer",minHeight:"3em",display:"flex",alignItems:"center",justifyContent:"center"}},{children:[e("span",{dangerouslySetInnerHTML:{__html:h}}),i]}))},props:{latex:"",nodeType:"void"},nodeType:"void"}),options:{display:{title:"Math (Block)",description:"Insert a display math equation"}},commands:Si,parsers:{html:{deserialize:{nodeNames:["DIV"],parse:e=>{var t;if("DIV"===e.nodeName&&e.hasAttribute("data-math-block")){const r=null!==(t=e.getAttribute("data-latex"))&&void 0!==t?t:"";return{id:s(),type:"math-block",children:[{text:""}],props:{latex:r,nodeType:"void"}}}}},serialize:e=>{var t;const{latex:r}=null!==(t=e.props)&&void 0!==t?t:{},n=ki(r||"",!0);return`<div data-math-block data-latex="${encodeURIComponent(r||"")}" style="text-align:center;padding:1em 0;">${n}</div>`}},markdown:{serialize:e=>{var t,r;return`$$\n${null!==(r=null===(t=e.props)||void 0===t?void 0:t.latex)&&void 0!==r?r:""}\n$$`}},email:{serialize:e=>{var t;const{latex:r}=null!==(t=e.props)&&void 0!==t?t:{};return`<div style="text-align:center;padding:1em 0;font-family:'Times New Roman',serif;">${ki(r||"",!0)}</div>`}}}});const zi=({textareaRef:r,editedLatex:n,onChangeLatex:a,onKeyDown:i,saveEdit:o,cancelEdit:s,deleteMath:l})=>{const h=ki(n||"",!1),c=n.trim().length>0;return t("div",{children:[e("div",Object.assign({className:"px-3 py-2.5 flex items-center justify-center min-h-[40px] border-b bg-muted/20"},{children:e("span",c?{className:"text-base text-foreground",dangerouslySetInnerHTML:{__html:h}}:Object.assign({className:"text-sm text-muted-foreground italic"},{children:"Type LaTeX below..."}))})),t("div",Object.assign({className:"p-2 space-y-2"},{children:[t("div",Object.assign({className:"space-y-1"},{children:[e(d,Object.assign({htmlFor:"math-latex",className:"text-xs"},{children:"LaTeX Expression"})),e("textarea",{id:"math-latex",ref:r,value:n,onChange:a,onKeyDown:i,placeholder:"e.g. E = mc^2",rows:2,className:"flex w-full rounded-md border border-input bg-background px-3 py-2 text-sm font-mono ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 resize-none",onMouseDown:e=>e.stopPropagation(),onClick:e=>e.stopPropagation()}),t("p",Object.assign({className:"text-[10px] text-muted-foreground"},{children:[/Mac|iPhone|iPad/.test(navigator.userAgent)?"⌘":"Ctrl","+Enter to save, Esc to cancel"]}))]})),t("div",Object.assign({className:"flex justify-between items-center"},{children:[t("div",Object.assign({className:"flex items-center gap-2"},{children:[e(u,Object.assign({size:"sm",variant:"default",className:"h-7 text-xs",onClick:o,disabled:!c},{children:"Save"})),e(u,Object.assign({size:"sm",variant:"ghost",className:"h-7 text-xs",onClick:s},{children:"Cancel"}))]})),e(u,Object.assign({size:"sm",variant:"ghost",className:"h-7 text-xs text-destructive hover:text-destructive hover:bg-destructive/10",onClick:l},{children:e(f,{className:"h-3.5 w-3.5"})}))]}))]}))]})},Ai=({latex:r,openEdit:n,copyLatex:a,copied:i})=>{const o=h(),s=ki(r||"",!1);return t("div",{children:[e("div",Object.assign({className:"px-3 py-2.5 flex items-center justify-center min-h-[40px] border-b"},{children:e("span",r?{className:"text-base text-foreground",dangerouslySetInnerHTML:{__html:s}}:Object.assign({className:"text-sm text-muted-foreground italic"},{children:"Empty expression"}))})),e("div",Object.assign({className:"px-3 py-1.5 border-b bg-muted/30"},{children:e("code",Object.assign({className:"text-xs text-muted-foreground font-mono break-all"},{children:r||"—"}))})),e("div",Object.assign({className:"px-2 py-1"},{children:t("div",Object.assign({className:"flex items-center gap-1"},{children:[e("div",Object.assign({className:"flex-1 min-w-0"},{children:e("span",Object.assign({className:"text-xs text-muted-foreground"},{children:"Inline Math"}))})),e("div",{className:"h-4 w-px bg-border"}),e(u,Object.assign({size:"sm",variant:"ghost",className:"h-7 w-7 p-0",onClick:a,title:i?"Copied!":"Copy LaTeX"},{children:i?e(g,{className:"h-3.5 w-3.5 text-green-600 dark:text-green-400"}):e(m,{className:"h-3.5 w-3.5"})})),!o&&e(u,Object.assign({size:"sm",variant:"ghost",className:"h-7 w-7 p-0",onClick:n,title:"Edit expression"},{children:e(v,{className:"h-3.5 w-3.5"})}))]}))}))]})},Mi=i=>{const{attributes:s,children:l,element:m,blockId:u}=i,d=o(),f=h(),{latex:g}=m.props,[v,k]=r(!1),[S,z]=r(null!=g?g:""),[A,M]=r(!1),T=n(null);a(()=>{z(null!=g?g:"")},[g]),a(()=>{v&&T.current&&(T.current.focus(),T.current.select())},[v]);const O=ki(g||"?",!1),B=!g||""===g.trim();return t(b,Object.assign({openDelay:100,closeDelay:100},{children:[e(y,Object.assign({asChild:!0},{children:t("span",Object.assign({},s,{contentEditable:!1,"data-math-inline":!0,"data-latex":g,className:w("inline-flex items-center align-baseline","transition-colors cursor-pointer",B?"bg-destructive/10 text-destructive":"bg-violet-500/10 text-violet-700 dark:text-violet-300 hover:bg-violet-500/15"),style:{borderRadius:"0.25rem",padding:"0.1em 0.35em",margin:"0 0.1em",fontSize:"0.95em",lineHeight:1.4,verticalAlign:"baseline"}},{children:[e("span",{dangerouslySetInnerHTML:{__html:O}}),l]}))})),e(x,Object.assign({className:"w-80 p-0",side:"top",align:"start",sideOffset:8,onMouseDown:e=>e.stopPropagation(),onClick:e=>e.stopPropagation()},{children:!f&&v?e(zi,{textareaRef:T,editedLatex:S,onChangeLatex:e=>z(e.target.value),onKeyDown:e=>{if("Enter"===e.key&&(e.metaKey||e.ctrlKey)){e.preventDefault(),e.stopPropagation();const t=c.getElementPath(d,{blockId:u,element:m});if(!t)return;c.updateElement(d,{blockId:u,type:"math-inline",path:t,props:{latex:S}}),k(!1)}else"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),z(null!=g?g:""),k(!1))},saveEdit:e=>{if(f)return;e.preventDefault(),e.stopPropagation();const t=c.getElementPath(d,{blockId:u,element:m});t&&(c.updateElement(d,{blockId:u,type:"math-inline",path:t,props:{latex:S}}),k(!1))},cancelEdit:e=>{e.preventDefault(),e.stopPropagation(),z(null!=g?g:""),k(!1)},deleteMath:e=>{if(f)return;e.preventDefault(),e.stopPropagation();const t=c.getElementPath(d,{blockId:u,element:m});t&&(c.deleteElement(d,{type:"math-inline",path:t,blockId:u}),k(!1))}}):e(Ai,{latex:g,openEdit:e=>{f||(e.preventDefault(),e.stopPropagation(),k(!0))},copyLatex:e=>{if(e.preventDefault(),e.stopPropagation(),g){p(g)&&(M(!0),setTimeout(()=>M(!1),1500))}},copied:A})}))]}))},Ti=i=>{const{attributes:s,children:l,element:b,blockId:y}=i,x=o(),k=h(),{latex:S}=b.props,[z,A]=r(!S),[M,T]=r(null!=S?S:""),[O,B]=r(!1),C=n(null);a(()=>{T(null!=S?S:"")},[S]),a(()=>{z&&C.current&&C.current.focus()},[z]);const q=()=>{if(k)return;const e=c.getElementPath(x,{blockId:y,element:b});e&&(c.updateElement(x,{blockId:y,type:"math-block",path:e,props:{latex:M}}),A(!1))},E=()=>{T(null!=S?S:""),S&&A(!1)},N=ki(S||"",!0),I=ki(M||"",!0),P=!!S&&""!==S.trim();return t("div",Object.assign({},s,{contentEditable:!1,"data-math-block":!0,"data-latex":S,className:w("rounded-lg transition-colors my-2 hover:bg-violet-500/5",z?"border-violet-500/40 bg-violet-500/5":P?"bg-card hover:border-violet-500/30 cursor-pointer":"bg-muted/20 cursor-pointer")},{children:[t("div",z&&!k?{children:[e("div",Object.assign({className:"px-2 py-2 flex items-center justify-center bg-muted/10"},{children:M.trim()?e("span",{className:"text-lg text-foreground",dangerouslySetInnerHTML:{__html:I}}):e("span",Object.assign({className:"text-sm text-muted-foreground italic"},{children:"Type a LaTeX expression below..."}))})),t("div",Object.assign({className:"p-3 space-y-2"},{children:[t("div",Object.assign({className:"space-y-1"},{children:[e(d,Object.assign({htmlFor:"math-block-latex",className:"text-xs"},{children:"LaTeX Expression"})),e("textarea",{id:"math-block-latex",ref:C,value:M,onChange:e=>T(e.target.value),onKeyDown:e=>{"Enter"===e.key&&(e.metaKey||e.ctrlKey)?(e.preventDefault(),e.stopPropagation(),q()):"Escape"===e.key&&(e.preventDefault(),e.stopPropagation(),E())},placeholder:"e.g. \\int_0^\\infty e^{-x^2} dx = \\frac{\\sqrt{\\pi}}{2}",rows:3,className:"flex w-full rounded-md border border-input bg-background px-3 py-2 text-sm font-mono ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 resize-y min-h-[60px]",onMouseDown:e=>e.stopPropagation(),onClick:e=>e.stopPropagation()}),t("p",Object.assign({className:"text-[10px] text-muted-foreground"},{children:[/Mac|iPhone|iPad/.test(navigator.userAgent)?"⌘":"Ctrl","+Enter to save, Esc to cancel"]}))]})),t("div",Object.assign({className:"flex justify-between items-center"},{children:[t("div",Object.assign({className:"flex items-center gap-2"},{children:[e(u,Object.assign({size:"sm",variant:"default",className:"h-7 text-xs",onMouseDown:e=>e.preventDefault(),onClick:e=>{e.preventDefault(),e.stopPropagation(),q()},disabled:!M.trim()},{children:"Save"})),P&&e(u,Object.assign({size:"sm",variant:"ghost",className:"h-7 text-xs",onMouseDown:e=>e.preventDefault(),onClick:e=>{e.preventDefault(),e.stopPropagation(),E()}},{children:"Cancel"}))]})),e(u,Object.assign({size:"sm",variant:"ghost",className:"h-7 text-xs text-destructive hover:text-destructive hover:bg-destructive/10",onMouseDown:e=>e.preventDefault(),onClick:e=>{e.preventDefault(),e.stopPropagation(),k||x.deleteBlock({blockId:y})}},{children:e(f,{className:"h-3.5 w-3.5"})}))]}))]}))]}:Object.assign({onClick:()=>!k&&A(!0),className:"relative group"},{children:[e("div",Object.assign({className:"px-2 py-2 flex items-center justify-center"},{children:e("span",P?{className:"text-lg text-foreground",dangerouslySetInnerHTML:{__html:N}}:Object.assign({className:"text-sm text-muted-foreground italic"},{children:"Click to add a math equation"}))})),P&&t("div",Object.assign({className:"absolute top-1.5 right-1.5 opacity-0 group-hover:opacity-100 transition-opacity flex items-center gap-1"},{children:[e(u,Object.assign({size:"sm",variant:"secondary",className:"h-6 w-6 p-0",onClick:e=>{e.stopPropagation(),S&&p(S)&&(B(!0),setTimeout(()=>B(!1),1500))},title:O?"Copied!":"Copy LaTeX"},{children:O?e(g,{className:"h-3 w-3 text-green-600 dark:text-green-400"}):e(m,{className:"h-3 w-3"})})),!k&&e(u,Object.assign({size:"sm",variant:"secondary",className:"h-6 w-6 p-0",onClick:e=>{e.stopPropagation(),A(!0)},title:"Edit expression"},{children:e(v,{className:"h-3 w-3"})}))]}))]})),l]}))},Oi={"math-inline":{render:Mi}},Bi={"math-block":{render:Ti}};export{Ti as MathBlockElement,Bi as MathBlockUI,zi as MathEdit,Mi as MathElement,Oi as MathInlineUI,Ai as MathPreview};
|