2 lines
341 KiB
Plaintext
2 lines
341 KiB
Plaintext
/*! For license information please see editor-kit~1.ac300fc6.js.LICENSE.txt */
|
||
"use strict";(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["21248"],{149640:function(e,t,r){r.d(t,{r:function(){return i}});var n=r(454746);function i(e,t){var r=e.hasLineMarker(),i=t.hasLineMarker();return!!(i!==r||i&&r&&!(0,n.X)(e.getLineAttributes(),t.getLineAttributes()))}},257305:function(e,t,r){r.d(t,{Z:function(){return a},t:function(){return i}});var n=r(194055);function i(e,t){var r,i,a;void 0===e&&(e={});try{for(var o=(0,n.c)(Object.keys(e)),s=o.next();!s.done;s=o.next()){var l=s.value,h=null===(a=t.get(l))||void 0===a?void 0:a.displayEnter;if("boolean"==typeof h)return h;if("function"==typeof h)return h(e[l])}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return!0}function a(e){return!!Object.entries(e.schemas).find(function(e){var t=(0,n._)(e,2),e=t[0],t=t[1];return"displayEnter"===e&&(!1===t||"function"==typeof t)})}},939903:function(e,t,r){r.d(t,{AO:function(){return o},Yo:function(){return i},qK:function(){return a}});var n=r(85359);function i(e){if(!(e instanceof Element))return{width:0,height:0,left:0,right:0,top:0,bottom:0};var t=window.getComputedStyle(e),r=(parseFloat(t.paddingLeft)||0)+(parseFloat(t.paddingRight)||0),n=(parseFloat(t.paddingTop)||0)+(parseFloat(t.paddingBottom)||0),t=e.getBoundingClientRect();return{width:e.clientWidth-r,height:e.clientHeight-n,left:t.left,right:t.right,top:t.top,bottom:t.bottom}}function a(e,t){var r,n,i=null;return document.caretPositionFromPoint?(i=document.caretPositionFromPoint(e,t))&&(r=i.offsetNode,n=i.offset):document.caretRangeFromPoint&&(i=document.caretRangeFromPoint(e,t))&&(r=i.startContainer,n=i.startOffset),{range:i,textNode:r,offset:n}}function o(){var e="";return!n.Xh.mobile||n.Xh.isIPad&&!n.Xh.isBytedanceApp||(e+=" editor-kit-mobile ",n.Xh.isAndroid?e+=" android ":n.Xh.isIOS&&(e+=" ios ")),n.Xh.isIPad&&(e+=" ipad "),e}},852158:function(e,t,r){function n(){return!0}function i(){return!1}function a(e){return"function"==typeof e&&"number"!==e.nodeType}r.d(t,{ar:function(){return i},cI:function(){return n},mf:function(){return a}})},980334:function(e,t,r){r.d(t,{g:function(){return l}});var n=r("775549"),i=r("194055"),a=new(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.eventTypes=new Map,t.extractEvents=function(e){return"change"===e.type?new n.O(e,e.target):null},t}return(0,i.d)(t,e),t}(r("653586").p)),o=r("984338"),s=[r("340381").M,o.P,a];function l(e){for(var t=null,r=0;r<s.length;r++){var i=s[r].extractEvents(e);if(i){t=i;break}}return t||(t=new n.O(e,e.target)),t}},175489:function(e,t,r){r.d(t,{Y:function(){return o}});var n=r(194055),i=r(723520),a=r(273150),o=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.dataTransfer=null,n.evtTargetSelection=null,(0,i.uc)(n,a.Y,t,r),n}return(0,n.d)(t,e),t}(r(880001).U)},514516:function(e,t,r){r.d(t,{$:function(){return o}});var n=r(194055),i=r(723520),a=r(273150),o=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.key="",n.location=0,n.ctrlKey=!1,n.shiftKey=!1,n.altKey=!1,n.metaKey=!1,n.repeat=!1,n.locale="",n.charCode=0,n.keyCode=0,n.which=function(){return 0},(0,i.uc)(n,a.Nf,t,r),n}return(0,n.d)(t,e),t}(r(560932).D)},49483:function(e,t,r){r.d(t,{DT:function(){return i},Uk:function(){return n}});var n=/[\u0030-\u0039\u0041-\u005A\u0061-\u007A\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\u1FFF\u3040-\u9FFF\uF900-\uFDFF\uFE70-\uFEFE\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFDC]/,i=String.fromCharCode(8203)},327430:function(e,t,r){function n(e,t){return{left:e.left-t.left,right:e.right-t.left,top:e.top-t.top,bottom:e.bottom-t.top}}function i(e,t){var r;void 0!==t.line&&(r=e.length()-1,t.line=Math.max(Math.min(r,t.line),0),void 0!==t.offset&&(e=e.getLine(t.line).getModelText().length-1,t.offset=Math.max(Math.min(e,t.offset),0)))}function a(){return{left:0,right:0,top:0,bottom:0,width:0,height:0}}function o(e){return{left:e.left,top:e.top,bottom:e.bottom,right:e.right,width:e.width,height:e.height}}function s(e,t){return[e.zoneId,e.line,e.offset,t].filter(function(e){return void 0!==e}).join("-")}r.d(t,{BZ:function(){return a},ah:function(){return s},r3:function(){return o},s8:function(){return n},xR:function(){return i}})},194055:function(e,t,r){r.d(t,{_:function(){return c},a:function(){return s},b:function(){return a},c:function(){return u},d:function(){return i},e:function(){return d},f:function(){return o},g:function(){return l},h:function(){return h}});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function o(e,t){var r={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)0>t.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}function s(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;0<=s;s--)(i=e[s])&&(o=(a<3?i(o):3<a?i(t,r,o):i(t,r))||o);return 3<a&&o&&Object.defineProperty(t,r,o),o}function l(e,t,r,n){return new(r=r||Promise)(function(i,a){function o(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(o,s)}l((n=n.apply(e,t||[])).next())})}function h(e,t){var r,n,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o={next:s(0),throw:s(1),return:s(2)};return"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,(o=i?[2&o[0],i.value]:o)[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=0<(i=a.trys).length&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function u(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||0<t--)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}function d(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e}},162114:function(e,t,r){r.d(t,{a:function(){return k},d:function(){return M},e:function(){return z},f:function(){return A},g:function(){return T},i:function(){return N},r:function(){return C},w:function(){return E}});var n=r(194055),i=r(931173),a=r(261359),o=r(457341),s=r(481685),l=r(464675),h=r(332535),u=r(993137),c=r(650054),d=r(85359),m=r(192219),p=r(399582),f=r(559016),g=r(3627);r(294484);var v=r(636661),y=r(195229),b=r(809721),x=function(){function e(e){this.pasteTimes=0,this.Rn="",this.s=e}var t=e.prototype;return e.isBlob=function(e){var t=e.types,r=e.files,n=1===t.length&&r&&r.length,e=2===t.length&&t.includes("text/plain")&&t.includes("Files"),r=2===t.length&&t.includes("text/html")&&t.includes("Files"),t=d.Xh.safari&&t.includes("Files")&&t.includes("text/uri-list");return n||e||r||t},t.Nn=function(e,t,r){var i=!1;(r=void 0===r?{}:r).canPrevent&&(t.preventDefault=function(){i=!0}),r.pickKey&&(a=function(e,t){return t&&(e[r.pickKey]=t),e});var a=this.s.pluginManager.call(e,t,{cb:a});return(0,n.b)((0,n.b)({},a),{defaultPrevented:i})},t.onPaste=function(t){var r=t.clipboardData;if(r){var a=this.s,o=new g.y(t,t.target),l=null,h=this.s.clipboard.dataHelper,u=h.getCustomData(r,c.iC);this.Rn=h.getCustomData(r,c.K6);var d,m=/data-editor-unique-id="([0-9a-zA-Z]+)"/;u?(l=(0,v.CX)(u))&&(d=l.editorUniqueId):h.getTypes(r).includes("text/html")&&m.test(h.getData(r,"text/html"))&&(d=m.exec(h.getData(r,"text/html"))[1]),(m=this.Rn&&this.Rn===a.businessKey)||a.log('[Paste][onPaste] Copy from different business "'+this.Rn+'"'),(m=m||a.clipboard.canInternalPasteWhitelist.includes(this.Rn))||this.Rn,this.xn(d);try{this.s.triggerEditorEvent(f.r.PASTE,o)}catch(e){a.error({e:e,message:"[Paste][onPaste][Warning] call paste event failed.",level:i.W.ERROR})}if(!o.isDefaultPrevented()){if(r={text:h.getData(r,"text/plain"),types:h.getTypes(r),files:e.isBlob(r)?r.files:void 0,fromBusinessKey:this.Rn},l&&m){var p=l.deltas;return this.zn(t,new s.D(p),(0,n.b)((0,n.b)({},r),{isInternalPaste:!0}))}l=(m=this.Un(t)).node,p=m.defaultPrevented,m=m.clipboardHasElement,p||(m=this.deserialize((0,n.b)({node:l},r),m),a.log("[Paste][onPaste] paste node is:",l),this.zn(t,m,(0,n.b)((0,n.b)({},r),{isInternalPaste:!1})))}}},t.xn=function(e){e===this.s.editorUniqueId?this.pasteTimes++:(this.s.clipboard.from=null,this.pasteTimes=0)},t.getPasteInfo=function(){return{pasteFrom:this.s.clipboard.from,pasteTimes:this.pasteTimes}},t.Un=function(e){var t=e.clipboardData,r=t.types,n=t.files,i=this.s.clipboard.dataHelper,a=i.getData(e.clipboardData,"text/html"),o=i.getData(e.clipboardData,"text/plain"),t=B(a),i=(new DOMParser).parseFromString(t,"text/html").body,a=!!i.firstElementChild;return L(i),n={UNSAFE_HTML:t,node:i,text:o,files:n},e=this.Nn("UNSAFE_editorNormalizePasteNode",{types:r,data:n,event:e},{canPrevent:!0}),{node:n.node,defaultPrevented:e.defaultPrevented,clipboardHasElement:a}},t.zn=function(e,t,r){e.stopImmediatePropagation(),e.preventDefault();var o=this.s,s=o.selection.getSelection(),h=s.start,u=h.zoneId,c=h.line,h=null===(m=o.getContentState().getZoneState(u))||void 0===m?void 0:m.getLine(c);if(h){var d,m=Object.keys(t.deltas);m[0]!==a.S&&1===m.length&&(d=t.get(m[0]),t=t.replace(m[0],d.create((0,n.b)((0,n.b)({},d),{zoneId:a.S})))),t.get(a.S)||(d=function(e){var t=null;return Object.keys(e.deltas).forEach(function(r){var n,r=e.get(r);r instanceof l.I&&!t&&(n=!1,r.forEach(function(e){(null===(e=e.attributes)||void 0===e?void 0:e.zoneId)&&!t&&(n=!0)}),n&&(t=r.zoneId))}),t}(t))&&(g=t.get(d),t=t.replace(d,g.create((0,n.b)((0,n.b)({},g),{zoneId:a.S}))));var g=t.get(a.S);u!==a.S&&g&&t.replace(a.S,new l.I({zoneId:u,ops:g.ops}));var v=t.get(u);if(A(v,"\n")&&(g=v.reduce(function(e,t,r){return r===v.ops.length-1&&t.insert?e.insert(t.insert.slice(0,-1),t.attributes):e.push(t)},new l.I({zoneId:u})),t.replace(u,g)),e={deltaSet:t,zoneId:u,lineState:h,event:e,isInternalPaste:r.isInternalPaste},!this.Nn("editorWillPaste",e,{canPrevent:!0,pickKey:"deltaSet"}).defaultPrevented){e=(0,p.N)(s,h,e.deltaSet),o.log("[Paste][applyPaste] paste apply delta:",e),o.getContentState().apply(e,{type:"applyPaste"});try{o.call(f.r.DID_PASTE,{deltaSet:e,UNSAFE_text:r.text,isInternalPaste:r.isInternalPaste})}catch(e){o.error({e:e,level:i.W.ERROR,message:"[Paste][applyPaste] "+e.message})}}}else o.error({message:"[Paste][applyPaste][Warning] can't get lineState! zone: "+u+" line: "+c,level:i.W.ERROR})},t.deserialize=function(e,t){var r=e.node,n=e.html,i=e.text;return"files"in e&&e.files?this.Bn(e.files,e.types):r&&(r.hasChildNodes()||t)?this.Hn(r):null!=(n=(n=n&&B(n))?(new DOMParser).parseFromString(n,"text/html"):null)&&n.body&&n.body.hasChildNodes()?(L(n.body),this.Hn(n.body)):i?this.Zn(i):(new s.D).concat(new l.I)},t.Hn=function(e){var t,r=this,n=e.childNodes;return 0===n.length?t=(new s.D).concat(new l.I):1===n.length?t=this.Hn(e.childNodes[0]):1<n.length&&(t=Array.from(e.childNodes).reduce(function(e,t){var n=r.Hn(t);return n.forEach(function(t){try{var a=t.zoneId,o=e.get(a);o?0<t.ops.length&&t.ops.forEach(function(e){(0,s.i)(e)||(0,s.b)(e)||o.ops.push(e)}):e.add(t.create(t))}catch(t){r.s.error({err:t,message:"[Paste][traverse][Warning] deserialize traverse failed.",level:i.W.ERROR}),n.compose(e,!0,!1)}}),e},new s.D)),this.Nn("deserialize",{node:e,zoneId:a.S,deltaSet:t,types:["text/html"],fromBusinessKey:this.Rn},{pickKey:"deltaSet"}).deltaSet},t.Zn=function(e){var t=(new s.D).compose(new l.I);return this.Nn("deserialize",{text:e,zoneId:a.S,deltaSet:t,types:["text/plain"],fromBusinessKey:this.Rn},{pickKey:"deltaSet"}).deltaSet},t.Bn=function(e,t){var r=(new s.D).compose(new l.I);return this.Nn("deserialize",{files:e,zoneId:a.S,deltaSet:r,types:t,fromBusinessKey:this.Rn},{pickKey:"deltaSet"}).deltaSet},e}(),w=function(){function e(e){this.s=e}var t=e.prototype;return t.onCopy=function(e,t){var r=this.s;return r.copyable?this.Fn(e,t):(r.call(c.HY),e.preventDefault(),void e.stopImmediatePropagation())},t.onCut=function(e,t){var r=this.s;return r.copyable?r.isEditable()?this.Fn(e,t,!0):void 0:(r.call(c.HY),e.preventDefault(),void e.stopImmediatePropagation())},t.slice=function(e){var t=this.s,r=e.start,n=e.end,e=t.getContentState().getZoneState(r.zoneId),t=new s.D;return e&&e&&r.zoneId===n.zoneId?(n=new l.I({zoneId:r.zoneId,ops:D(e,r,n)}),t.add(r.zoneId,n),t):t},t.Wn=function(e){if(e.isCollapsed())return e;var t=e.start,r=t.zoneId,n=t.line,t=t.offset,r=this.s.getContentState().getZoneState(r),n=null===(n=null==r?void 0:r.getLine(n))||void 0===n?void 0:n.getLineMarker();return n&&t===n&&(e.start.offset-=n),e},t.Fn=function(e,t,r){void 0===r&&(r=!1);var i=this.s;t=t||this.Wn(i.selection.getSelection());var a,o,l,h,u,m=[];this.s.pluginManager.call("shouldPreventCopy",{e:e,html:""},{cb:function(e,t){return m.push(t),e}}),m.includes(!0)||(d.Xh.isAndroid&&i.isEditable()&&i.selection.updateBrowserSelection(),u=new g.y(e,e.target),i.triggerEditorEvent(e.type,u),u.isDefaultPrevented()||(e.preventDefault(),e.stopImmediatePropagation(),a={deltaSet:h=this.slice(t),range:t,customCopyDatas:[]},this.Kn(a),o={zoneId:(t=a.range).start.zoneId,deltaSet:h=a.deltaSet,node:null,customCopyDatas:a.customCopyDatas},i.clipboard.from=r?f.r.CUT:f.r.COPY,i.clipboard.resetPasteTimes(),this.serialize(o),l=function(e){return Array.from(e.childNodes).reduce(function(e,t){return e+function e(t){if(t instanceof Text)return t.textContent;if(!(t instanceof Element))return"";var r="";return t.childNodes.forEach(function(t){r+=e(t)}),t.getAttribute(c.mX)&&(r+="\n"),r}(t)},"").slice(0,-1)}(o.node),d.Xh.windows&&(l=l.replace(/\n/g,"\r\n")),u=(0,n.b)((0,n.b)({},o),{text:l}),this.Yn(u),a=u.node,o=u.customCopyDatas,l=u.text,h=u.deltaSet,u=e.clipboardData||window.clipboardData,e=i.clipboard.dataHelper,a&&0<a.childElementCount&&e.setData(u,{text:l,html:function(e){return e.replace(/<(?:img|iframe)[^>]*(data-no-request-)src=[^>]*>/g,function(e,t){return e.replace(t,"")})}(function(e){var t=document.createElement("div");return t.appendChild(e),t.innerHTML}(a))}),0!==o.length&&e.setCustomData(u,o),(0,s.p)(h)||(e.setCustomData(u,[{key:c.iC,data:JSON.stringify({deltas:h.deltas,editorUniqueId:this.s.editorUniqueId})}]),e.setCustomData(u,[{key:c.K6,data:i.businessKey}])),!0===r&&(i.triggerEditorEvent(f.r.WILL_DELETE_FROM_CUT).shouldPrevent||(t=(r=t||i.selection.getSelection()).start,r=r.end,i.getContentState().deleteText({start:t,end:r},{type:"handleCut"})))))},t.serialize=function(e){var t=this,r=e.deltaSet,n=e.zoneId,i=r.get(n);if(!i)return e;var a=document.createDocumentFragment();return i.eachLine(function(r,o,l){var d=document.createDocumentFragment(),m=t.s.modulesContainer.get(y.h.ZoneState),p=t.s.getContentState(),p=p.getZoneState(n)||new m(n,r,p.schema),p={lineState:new b.V(r,p),index:l,callHookFrom:"serialize"};t.s.callAll("_editorLineStateWillRender",p),p.lineState.getOps().forEach(function(n){var i;(0,s.d)(n)&&!(0,h.eV)(n)&&(i=n.insert.replace(/\n/g,"")||"",i=document.createTextNode(i),n=t.$n(Object.assign(e,{type:u.T.LEAF,node:i,op:n,lineDelta:r})),d.appendChild(n.node))}),(p=document.createElement("div")).style.whiteSpace="pre-wrap",o=t.$n(Object.assign(e,{type:u.T.LINE,node:d,lineNode:p,lineAttributes:o,lineDelta:r})),p.appendChild(o.node),p.dataset.zoneId=i.zoneId,p.dataset.lineIndex=String(l),p.setAttribute(c.mX,"true"),a.appendChild(p)}),r=this.$n(N(Object.assign(e,{type:u.T.ROOT,node:a}),{tagAttribute:""})),Object.assign(e,{node:r.node})},t.$n=function(e){return this.s.pluginManager.call("serialize",e,{cb:function(t){return e=t}}),e},t.Kn=function(e){return this.s.pluginManager.call("editorWillCopy",e)},t.Yn=function(e){return this.s.pluginManager.call("editorWillSetClipboard",e)},(0,n.a)([o.W],e.prototype,"onCopy",null),(0,n.a)([o.W],e.prototype,"onCut",null),(0,n.a)([o.W],e.prototype,"slice",null),e}(),S=(0,i.K)(function(e){this.editor.error(e)})(i.W.ERROR),k=function(){function e(e,t){this.from=null,this.canInternalPasteWhitelist=[],this.s=e,this.dataHelper=new m.Z(t),this.Gn=new x(e),this.Vn=new w(e)}var t=e.prototype;return t.deserialize=function(e,t){return this.Gn.deserialize(e,t)},t.serialize=function(e){return this.Vn.serialize(e)},t.onCopy=function(e){return this.Vn.onCopy(e)},t.onPaste=function(e){this.Gn.onPaste(e)},t.slice=function(e){return this.Vn.slice(e)},t.onCut=function(e){return this.Vn.onCut(e)},t.resetPasteTimes=function(){this.Gn.pasteTimes=0},t.getPasteInfo=function(){return this.Gn.getPasteInfo()},t.setCanInternalPasteWhitelist=function(e){this.canInternalPasteWhitelist=e},t.setDataToClipboard=function(e){var t=e.data,r=e.type;t&&t.html&&(e=(0,n.b)((0,n.b)({},t),{type:r}),this.s.callAll("beforeSetDataToClipboard",e),this.from=r,this.resetPasteTimes(),this.dataHelper.setDataWithoutEvent(Object.assign({},t,{html:this.Jn(e.html)})))},t.copyRange=function(e){this.Qn(e,"copy")},t.cutRange=function(e){this.Qn(e,"cut")},t.Qn=function(e,t){function r(r){if(n.s){switch(r.stopPropagation(),r.stopImmediatePropagation(),t){case"copy":n.Vn.onCopy(r,e);break;case"cut":n.Vn.onCut(r,e)}r.preventDefault()}}var n=this,i=this.s,a=document.createElement("textarea"),i=d.Xh.isIPad?i.getOuterContainer():document.body;i.appendChild(a),a.addEventListener(t,r),a.style.position="fixed",a.style.left="-10000000px",a.value=" ",a.focus(),a.select(),document.execCommand(t),a.removeEventListener(t,r),i.removeChild(a)},t.Jn=function(e){return e?((e=$((new DOMParser).parseFromString(e,"text/html").body)).children().first().attr("data-editor-unique-id",this.s.editorUniqueId),e.html()):e},(0,n.a)([S],e.prototype,"deserialize",null),(0,n.a)([S],e.prototype,"serialize",null),(0,n.a)([S],e.prototype,"onCopy",null),(0,n.a)([S],e.prototype,"onPaste",null),(0,n.a)([S],e.prototype,"onCut",null),(0,n.a)([S],e.prototype,"setDataToClipboard",null),(0,n.a)([S],e.prototype,"copyRange",null),(0,n.a)([S],e.prototype,"cutRange",null),e}();function M(e,t,r,i){void 0===i&&(i=!0);var a=new s.D;return e.forEach(function(e,o){a=o===t?(o=e.create({zoneId:o}),o=e.reduce(function(e,t){if(!t.insert||null!==(a=t.attributes)&&void 0!==a&&a.lmkr)return e.push(t);var a,o=i?(0,n.b)((0,n.b)({},t.attributes),r):(0,n.b)((0,n.b)({},r),t.attributes);if("string"!=typeof t.insert)e.insert(t.insert.id,o);else for(var s=t.insert;0<s.length;){var l=s.includes("\n"),h=s.split("\n",1)[0],u=s.substring(h.length+1);e.insert(s=h,o),s=u,l&&e.insertEnter(t.attributes)}return e},o),a.concat(o)):a.concat(e)}),a}function z(e,t,r,i){void 0===i&&(i=!0);var a=new s.D;return e.forEach(function(e,o){var h;a=o===t&&e instanceof l.I?(h=new l.I({zoneId:o}),e.eachLine(function(e){e.ops.forEach(function(e,t){0===t?(t=null!==(t=e.attributes)&&void 0!==t?t:{},(0,s.k)(e)?h.insert("*",i?(0,n.b)((0,n.b)({},t),r):(0,n.b)((0,n.b)({},r),t)):h.insertLineMarker(r).push(e)):h.push(e)})}),a.concat(h)):a.concat(e)}),a}function A(e,t){for(var r="",n=e.ops.length-1;0<=n&&r.length<t.length;--n){var i=e.ops[n];if("string"!=typeof i.insert)break;r=i.insert+r}return r.slice(-1*t.length)===t}function T(e,t){for(var r="",n=0;n<e.ops.length&&r.length<t.length;n++){var i=e.ops[n];if("string"!=typeof i.insert)break;r+=i.insert}return r.slice(0,t.length)===t}function C(e,t,r){return e.reduce(function(e,n){var i=n.attributes;if(!i||!n.insert)return e.push(n);var a=Object.keys(i).reduce(function(e,n){var a,o,s=i[n];return t({key:n,value:s})?(a=(o=r({key:n,value:s})).key,o=o.value,e[a]=o):e[n]=s,e},{});return e.insert(n.insert,a),e},e.create({zoneId:e.zoneId,zoneType:e.zoneType}))}function E(e,t){var r=e.type,n=e.node,i=e.op,a=t.tagAttribute;return r===u.T.LEAF&&i&&i.attributes&&i.attributes[a]?(a=t.wrapTag||c.c5[a],(a=document.createElement(a)).appendChild(n),Object.assign(e,{node:a})):e}function I(e){var t=[];try{t=JSON.parse(e.getAttribute(c.fF)||"[]")}catch(e){t=[]}return t}function N(e,t){var r,i,a=e.type,o=e.node,s=e.lineAttributes,l=t.tagAttribute,h=t.wrapNodesInfo,s=s&&s[l],l=t.wrapTag||c.c5[l]||s;if(a===u.T.LINE&&s&&(o instanceof Element||((s=document.createElement("div")).appendChild(o),o=s),l&&!h&&(h=[{tag:l}]),o.setAttribute(c.fF,JSON.stringify((0,n.e)(h,I(o))))),a===u.T.ROOT){var d=[],a=Array.from(o.querySelectorAll("["+c.mX+"]"));try{for(var m=(0,n.c)(a),p=m.next();!p.done;p=m.next())!function(e){var t=e.querySelectorAll("["+c.fF+"]")[0];if(!t)return d=[];var r=I(t);if(r.length){t.removeAttribute(c.fF);var i=[],a=document.createElement(r[0].tag);r.reduce(function(e,o,s){var l,h,u,c=o.tag,m=o.style,p=o.attributes,o=o.split,f=document.createElement(c);if(m)try{for(var g=(l=void 0,(0,n.c)(Object.entries(m))),v=g.next();!v.done;v=g.next()){var y=(0,n._)(v.value,2),b=y[0],x=y[1];f.style[b]=x}}catch(e){l={error:e}}finally{try{v&&!v.done&&(h=g.return)&&h.call(g)}finally{if(l)throw l.error}}if(p)try{for(var w=(M=void 0,(0,n.c)(Object.entries(p))),S=w.next();!S.done;S=w.next()){var k=(0,n._)(S.value,2),b=k[0],x=k[1];f.setAttribute(b,x)}}catch(e){M={error:e}}finally{try{S&&!S.done&&(u=w.return)&&u.call(w)}finally{if(M)throw M.error}}var M=d[s];return!o&&M&&M.tagName.toLowerCase()===c.toLowerCase()?!(f=M).getAttribute("start")&&null!=p&&p.start&&f.setAttribute("start",p.start):d=[],i.push(f),0===s?a=f:e.appendChild(f),s===r.length-1&&f.appendChild(t),f},a),d=i,e.parentNode.insertBefore(a,e),e.hasChildNodes()||e.parentNode.removeChild(e)}}(p.value)}catch(e){r={error:e}}finally{try{p&&!p.done&&(i=m.return)&&i.call(m)}finally{if(r)throw r.error}}}return Object.assign(e,{node:o})}function L(e){try{Array.from(e.querySelectorAll("style")).forEach(function(t){var r,n;t.textContent&&/\}?(\S+)\s*{[\s\S]*?white-space\s*:\s*pre[\s\S]*?}/.test(t.textContent)&&(!(r=/\}?(\S+)\s*{[\s\S]*?white-space\s*:\s*pre[\s\S]*?}/.exec(t.textContent.replace(/<!--[\s\S]*?-->/,"")))||(t=/white-space\s*:\s*pre.*?(?=;| |})/.exec(r[0]))&&(n=t[0].split(":")[1],Array.from(e.querySelectorAll(r[1])).forEach(function(e){e instanceof HTMLElement&&(e.style.whiteSpace=n.trim())})))})}catch(e){}var t=["."+c.Z6,".ignore-dom","style","script"];Array.from(e.querySelectorAll(t.join(","))).forEach(function(e){e.innerHTML=""}),Array.from(e.childNodes).forEach(function(e){var t;e.nodeType!==Node.TEXT_NODE&&e.nodeType!==Node.ELEMENT_NODE&&null!==(t=e.parentNode)&&void 0!==t&&t.removeChild(e)})}function B(e){var t="<([^\\/][^>]+|[^>\\/]+)>",r="<\\/([^>]+)>",n=RegExp(t+"\\n+\\s*?"+t,"g"),i=RegExp(t+"\\n+\\s*?"+r,"g"),t=RegExp(r+"\\n+\\s*?"+t,"g"),r=RegExp(r+"\\n+\\s*?"+r,"g");return e.replace(/\r\n/g,"\n").replace(/\n+$/g,"").replace(/(\x3C!--[\s\S]*?-->)\n+\s*/g,"$1").replace(i,function(e,t,r){return t.split(" ")[0]!==r.split(" ")[0]?"<"+t+"></"+r+">":e}).replace(t,"</$1><$2>").replace(n,"<$1><$2>").replace(r,"</$1></$2>").replace(n,"<$1><$2>").replace(r,"</$1></$2>")}var O=function(e,t,r){var i=[],a=0;return e.getOps().forEach(function(e){var o,l,h;null!=e&&e.insert&&"string"==typeof e.insert&&(o=(0,s.a)(e),a<=r&&t<=a+o&&(l=Math.max(0,t-a))<(h=Math.min(o,r-a))&&i.push({insert:e.insert.slice(l,h),attributes:(0,n.b)({},e.attributes)}),a+=o)}),i},D=function(e,t,r){for(var i=[],a=Math.max(0,t.line),o=Math.min(r.line,e.length()-1),s=a;s<=o;s++){var l=e.getLine(s);t.line===o?i.push.apply(i,(0,n.e)(O(l,t.offset,r.offset))):s===a?i.push.apply(i,(0,n.e)(O(l,t.offset,l.length()))):s===o?i.push.apply(i,(0,n.e)(O(l,0,r.offset))):i.push.apply(i,(0,n.e)(O(l,0,l.length())))}return i}},527839:function(e,t,r){r.d(t,{H:function(){return c}});var n=r(194055),i=r(734795);r(294484);var a=r(283138),o=r(651271),s=r(611437),l=r(455793),h=r(401328);r(101199);var u=r(818376),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.zs=!1,t.Xr=null,t.Vr=null,t.Qr=null,t.renderContext=null,t.$r=null,t.handleTextViewRef=function(e){e?t.ec(e):t.tc()},t.handleRef=function(e){t.props.editor.trace.add({extra:{refDom:!!e}}),e?t.nc(e):t.ic()},t}(0,n.d)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.sc(),this.rc(),this.zs=!0,this.props.editor.trace.add({type:"Mount"})},r.componentDidUpdate=function(){this.sc(),this.rc(),this.props.editor.trace.add({type:"Update"})},r.componentWillUnmount=function(){this.zs=!1,this.Vr&&this.viewModel._deleteLeaf(this.Vr),this.Xr&&this.viewModel._deleteLeaf(this.Xr);var e=this.Vr||this.Xr;e&&e.firstChild&&e.removeChild(e.firstChild),this.cc()},r.cc=function(){var e,t,r=this.props.state.reactInXInstanceList;try{for(var i=(0,n.c)(r),a=i.next();!a.done;a=i.next())a.value.unmount()}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}},r.componentWillReceiveProps=function(e){var t=e.state,e=this.props.state;t.setNode(e.getNode()),t.reactInXInstanceList=e.reactInXInstanceList},r.shouldComponentForceUpdate=function(e){var t=e.state;return this.props.state.offset!==t.offset||(t=this.props.state.getNode(),this.oc(t)!==e.state.op.insert||!(null==t||!t.querySelector(".inline-code")))},r.oc=function(e){if(!e)return"";var t=e.querySelector("["+i.eu+"]");return t?t.getAttribute(i.eu):e.textContent},r.ec=function(e){this.Vr&&this.viewModel._deleteLeaf(this.Vr),this.Vr=e},r.tc=function(){this.Vr&&this.viewModel._deleteLeaf(this.Vr),this.Vr=null},r.nc=function(e){(this.Xr=e).hasAttribute(i.nV)&&e.hasAttribute(i.MB)&&(this.Vr=null)},r.ic=function(){this.Xr=null},r.rc=function(){var e,t,r;this.Xr&&(e=this.Xr,t=(r=this.props).state,r=r.editor,this.zs&&this.uc(e),e.__leafModel=this.leafModel,e.__index=t.index,e.__key=t.getCustomKey()||t.getKey(),r.trace.add({extra:{updateLeafNode:!!e,lineKey:null!==(r=null===(r=t.parent)||void 0===r?void 0:r.getKey())&&void 0!==r?r:null}}),t.setNode(e))},r.sc=function(){var e=this,t=e.Xr,r=e.Vr,e=e.viewModel;t&&e._setLeaf(t,this.leafModel),r&&e._setLeaf(r,this.leafModel)},Object.defineProperty(r,"viewModel",{get:function(){return this.props.editor._getViewModel()},enumerable:!1,configurable:!0}),Object.defineProperty(r,"leafModel",{get:function(){var e=this.props.state,t=e.op,r=e.parent;return{op:t,start:e.offset,lineState:r,index:e.index+(r.hasLineMarker()?1:0)}},enumerable:!1,configurable:!0}),r.lc=function(){var e=this.props,t=e.state,r=e.context,i=e.editor,o=i.trace,s=t.op,l=t.parent,e=a.ZP.createElement(h.y,{data:t,editor:i,_ref:this.handleTextViewRef});o.add({extra:{renderPluginsTextView:!!e,leavesCount:null!==(t=null==l?void 0:l.leaves.length)&&void 0!==t?t:0}}),i=(r=(0,u.ru)(l,s,e,(0,n.b)((0,n.b)({},r),{editor:i,zoneId:l.getZoneId(),index:l.index}))).view,r=r.renderContext,o.add({extra:{pluginRendererCustomView:!!i,leavesCount:null!==(l=null==l?void 0:l.leaves.length)&&void 0!==l?l:0}}),this.Qr=r,this.$r=i},r.preRender=function(){return this.lc(),{key:this.Qr.key}},r.render=function(){var e,t,r=this.props,s=r.state,l=r.context,u=s.op;this.Qr&&this.$r||this.lc();var c=this.$r,d=this.Qr,m=d.style,r=d.class,p=d.domAttributes,d=d.key;this.renderContext=this.Qr,this.$r=null,this.Qr=null,d&&s.setCustomKey(d),d={className:""},m&&(d.style=m),r&&(d.className=r),null!==(u=u.attributes)&&void 0!==u&&u.displayEnter&&(d.className+=" not-display-enter");var f={},g={},u=Object.keys(p);try{for(var v=(0,n.c)(u),y=v.next();!y.done;y=v.next()){var b=y.value;b.startsWith("data-")?g[b]=p[b]:f[b]=p[b]}}catch(t){e={error:t}}finally{try{y&&!y.done&&(t=v.return)&&t.call(v)}finally{if(e)throw e.error}}return l.class="",(null==c?void 0:c.type)===h.y?(c.props=(0,n.b)((0,n.b)((0,n.b)((0,n.b)({},c.props),g),f),((l={style:d.style,className:d.className})[i.MB]=!0,l._ref=this.handleRef,l)),c):c instanceof HTMLElement&&c.hasAttribute(i.nV)?this._c(c,(0,n.b)((0,n.b)((0,n.b)((0,n.b)({},c.props),f),{style:d.style,className:d.className}),g)):a.ZP.createElement(o.T,(0,n.b)({},d,f,g,((d={})[i.MB]=!0,d),{ref:this.handleRef}),c)},r._c=function(e,t){return t[i.MB]=!0,(0,s.T)(e,t),(0,l.F)([this.handleRef,e,null]),e},r.uc=function(e){var t=this;e.childNodes.forEach(function(e){var r=e.parentNode;if(r instanceof HTMLElement){if(e instanceof HTMLElement){var n=e.classList;if(e.hasAttribute(i.eu)||null!=n&&n.contains(i.Z6)||null!=n&&n.contains(i.rG))return}else if(e.nodeType===Node.TEXT_NODE&&!r.closest("["+i.nV+"]")&&!r.closest("["+i.VI+"]")&&!r.closest("["+i.sq+"]")&&e.textContent!==i.T6)return void r.removeChild(e);null!==(r=e.childNodes)&&void 0!==r&&r.length&&e instanceof HTMLElement&&t.uc(e)}})},t}(a.ZP.Component)},489883:function(e,t,r){r.d(t,{K:function(){return i},c:function(){return c}});var n,i,a=r(194055),o=r(457341),s=r(559016);r(294484);var l=r(651419),h=r(101199),u=r(52236);(n=i=i||{}).IMG="img",n.TEXT="span",n.VIEW="div";var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.editor=t.context,t.option={},t._events={},t._selected=!1,t._ref=h.createRef(),t._prevSel=null,t._handleEditorSelectionChange=function(){var e;if(t.option.selectEventEnabled){var r,n,i,a=null;try{a=(0,l.Ve)(t._ref.current,t.editor)}catch(e){}a&&(r=t.editor.selection.getSelection(a.start.zoneId),n=!t._prevSel&&!r||!t._prevSel&&(null==r?void 0:r.isCollapsed())||(null===(e=t._prevSel)||void 0===e?void 0:e.isCollapsed())&&!r||(null===(n=t._prevSel)||void 0===n?void 0:n.isCollapsed())&&(null==r?void 0:r.isCollapsed()),t._prevSel=r,n||(n=a.start,a=a.end,(a=r&&r.start.zoneId===n.zoneId&&r.start<=n&&r.end>=a)&&!t._selected?(i=t._events.select,t._selected=!0,null!=i&&i.call(i)):!a&&t._selected&&(i=t._events.deselect,t._selected=!1,null!=i&&i.call(i))))}},t}(0,a.d)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.updateEventCb(),this.editor=this.context,this._bindEditorEvents()},r.componentDidUpdate=function(e){this.updateEventCb()},r.componentWillUnmount=function(){this.editor.off(s.r.SELECTION_CHANGE_AND_DOM_UPDATE,this._handleEditorSelectionChange)},r.updateEventCb=function(){var e=this;this._events=Object.keys(this.props).filter(function(e){return e.startsWith("on")}).reduce(function(t,r){return t[(0,l.Le)(r)]=e.props[r],t},{})},r._bindEditorEvents=function(){var e=this;this.option.selectEventEnabled&&l.ZG.find(function(t){return e._events[t]})&&this.editor.on(s.r.SELECTION_CHANGE_AND_DOM_UPDATE,this._handleEditorSelectionChange)},r._triggerEventCallback=function(e,t){var r=this._events[e.type],n=(0,l.Br)(e);r&&(l.Dg.includes((0,l.J$)(t))&&(e=(0,l.Ve)(e.currentTarget,this.editor),n.evtTargetSelection=e),r.call(r,n))},r._handleSynthesisEvents=function(e){this._triggerEventCallback(e,e.nativeEvent)},r.render=function(){var e=this,t=this.tagName,r=Object.keys(this.props).reduce(function(t,r){return r.startsWith("on")?t[r]=l.eb.includes((0,l.Le)(r))?void 0:e._handleSynthesisEvents:t[r]=e.props[r],t},{});return h.createElement(t,(0,a.b)({ref:this._ref},r),this.props.children)},t.contextType=u.rU,(0,a.a)([o.W],t.prototype,"_bindEditorEvents",null),(0,a.a)([o.W],t.prototype,"_triggerEventCallback",null),(0,a.a)([o.W],t.prototype,"_handleSynthesisEvents",null),t}(h.PureComponent)},651271:function(e,t,r){r.d(t,{B:function(){return V},C:function(){return Y},D:function(){return H},F:function(){return P},O:function(){return X},T:function(){return F},n:function(){return U},o:function(){return W},q:function(){return K},r:function(){return C}});var n=r(494403),i=r(159751),a=r(696519),o=r(454746),s=r(611437),l=r(87456),h=r(455793);r(101199);var u=r(378374);r(890710);var c=r(92203),d=r(777767),m=r(959679),p=r(125270),f=r(186331),g=r(128168),v=r(548553);function y(e){return e.startsWith(l.Gm)}function b(e,t,r){var n,i=e.type,a=e.props;if("function"==typeof i&&a.state){var o=new i(a);if(!new Set((null===(n=null==r?void 0:r.previousParentState)||void 0===n?void 0:n.getState())||[]).has(a.state)&&(a.state.instance=o),o.preRender){var s=o.preRender().key;if(s)return a.state.setCustomKey(s),s}}return e.props.key||""+t}function x(e){return void 0!==e.__index&&void 0!==e.__key}function w(e,t){if(e.nodeType!==Node.TEXT_NODE){var r,n,a=e.__index,o=e.__key;if(o&&!y(o)&&void 0!==a){var s=null==t?void 0:t.getItemByIndex(a);if(!s)return;var l=s.instance;if(!l)return;D(l);return}try{for(var h=(0,i.a)(Array.from(e.childNodes)),u=h.next();!u.done;u=h.next()){var c=u.value;w(c,t)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}}}function S(e,t,r){for(var n,o,s,l=[],h=3;h<arguments.length;h++)l[h-3]=arguments[h];if((null==l?void 0:l.length)===1&&(0,d.CR)(null===(s=l[0])||void 0===s?void 0:s.type))return m.GE.apply(void 0,(0,i.d)([e,t,r],l));var u=[];try{for(var c=(0,i.a)(l),p=c.next();!p.done;p=c.next()){var f=p.value,g=f.type,v=f.ref,y=f.props,b=y.children,x=S.apply(void 0,(0,i.d)([g,(0,a.C)(y,["children"]),v],b));x&&u.push(x)}}catch(e){n={error:e}}finally{try{p&&!p.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}return m.GE.apply(void 0,(0,i.d)([e,t,r],u))}function k(e,t){(0,h.aZ)("DOM");for(var r,n,o,s,u,m=e.type,p=e.ref,f=e.props,g=f.children,v=S.apply(void 0,(0,i.d)([m,(0,a.C)(f,["children"]),p],g)),y=[];h.L3.length;)!function(){var a=(0,i.b)(null!==(a=h.L3.shift())&&void 0!==a?a:[],3),m=a[0],p=a[1],f=a[2];if(!p&&!f)return;if(f&&(0,d.AL)(f)){y.push(f);var g=(null==t?void 0:t.renderContext)||(null===(r=null===(b=null==t?void 0:t.reactInXInstances)||void 0===b?void 0:b[0])||void 0===r?void 0:r.props.pluginRenderContext);if(g)f.props.pluginRenderContext=g;else for(var v=0;v<h.L3.length;++v){var b=(0,i.b)(h.L3[v],3),x=b[2];if((null===(o=null===(n=null==x?void 0:x.props)||void 0===n?void 0:n.state)||void 0===o?void 0:o.reactInXInstanceList)&&Array.isArray(x.props.state.reactInXInstanceList)&&x.renderContext){f.props.pluginRenderContext=x.renderContext;break}}}var w=null===(u=null===(s=null==f?void 0:f.props)||void 0===s?void 0:s.state)||void 0===u?void 0:u.reactInXInstanceList;Array.isArray(w)&&y.length&&(w.splice.apply(w,(0,i.d)([0,w.length],y)),y.length=0),m&&!(p instanceof DocumentFragment)&&R(function(){m(p)},{vNode:e}),f instanceof c.y&&h.Xd.push({type:l.A5.DID_MOUNT,callback:function(){f.componentDidMount()},info:{instance:f}})}();var b=null==t?void 0:t.reactInXInstances;if(y.length&&b){for(;(null==b?void 0:b.length)>0;)b.pop();b.push.apply(b,(0,i.d)(y))}return(0,h.aZ)("V-DOM"),v}function M(e,t,r,n){for(var a,o,s=[],l=e.length-1;l>=0;--l){var h=e[l],u=h.node,c=h.vNode,d=h.shouldMove;if(u)s.push.apply(s,(0,i.d)(z(c,u,(0,i.e)((0,i.e)({},n),{referenceNode:r})))),d&&s.push((0,v.gX)(u,u.parentNode,r)),r=u;else{var m=k(c,{reactInXInstances:(null===(a=null==n?void 0:n.parentState)||void 0===a?void 0:a.reactInXInstanceList)||(null===(o=c.props.state)||void 0===o?void 0:o.reactInXInstanceList)});s.push((0,v.gX)(m,t,r)),r=m}}return s}function z(e,t,r){var a,s,u,c,p,g,S,T,C,E,I,L,O,D,R,P,H,F,_,V,U,X=[];if(Array.isArray(e)&&(t instanceof NodeList||Array.isArray(t)))return X.push.apply(X,(0,i.d)(function(e,t,r){var n,a,o=r.parentNode,s=[],h=[],u=0,c=0,d=!1,m=0;function p(e){return e-m}for(;c<e.length;++c){var f=t[c];if(!f)break;var g=e[c],S=f.__key||""+c,z=b(g,c-m,r);if(!d&&(d=x(f)),"function"==typeof g.type&&g.type.__ignore&&m++,!function(e,t){if(y(e)&&y(t)){var r=e.slice(l.Gm.length).split(l.rC),n=new Set(t.slice(l.Gm.length).split(l.rC));return r.some(function(e){return n.has(e)})}return e===t}(S,z))break;u=c,h.push({node:f,vNode:g})}if(c===e.length){for(var A=c;A<t.length;++A){var f=t[A],T=x(f);(T||!d&&!T)&&w(f,r.previousParentState),s.push((0,v.ZA)(f))}return s.push.apply(s,(0,i.d)(M(h,o,null,r))),s}if(c===t.length){for(var C=null,A=e.length-1;A>=c;--A){var g=e[A],E=k(g,{reactInXInstances:(null===(n=null==r?void 0:r.parentState)||void 0===n?void 0:n.reactInXInstanceList)||(null===(a=g.props.state)||void 0===a?void 0:a.reactInXInstanceList)});s.push((0,v.gX)(E,o,C)),C=E}return s.push.apply(s,(0,i.d)(M(h,o,C,r))),s}for(var I=new Map,A=c;A<t.length;++A)!function(e){var r=t[e],n=r.__key||""+e;!d&&(d=x(r)),y(n)?n.slice(l.Gm.length).split(l.rC).forEach(function(e){I.set(""+l.Gm+e,r)}):I.set(n,r)}(A);for(;c<e.length;++c)!function(){var t,n=e[c],i=b(n,c-m,r);if(y(i)?i.slice(l.Gm.length).split(l.rC).some(function(e){return!!I.has(""+l.Gm+e)&&(t=I.get(""+l.Gm+e),!0)}):t=I.get(i),t){var a=t.__index,o=a<u;h.push({node:t,vNode:n,shouldMove:o}),u=o?u:a,y(i)?t.__key.slice(l.Gm.length).split(l.rC).forEach(function(e){I.delete(""+l.Gm+e)}):I.delete(i)}else h.push({node:null,vNode:n})}();return s.push.apply(s,(0,i.d)(M(h,o,null,r))),Array.from(I.keys()).forEach(function(e){if(y(e)){if(I.has(e)){var t=I.get(e);w(t,r.previousParentState),s.push((0,v.ZA)(t)),t.__key.slice(l.Gm.length).split(l.rC).forEach(function(e){I.delete(""+l.Gm+e)})}}else{var n=I.get(e),i=x(n);(i||!d&&!i)&&w(n,r.previousParentState),s.push((0,v.ZA)(n)),I.delete(e)}}),s}(e,t,r))),X;var W=e,G=[];if(!(0,f.b)(e.type)){var K=null==t?void 0:t.__index;if(e.props.state&&r.parentState&&void 0!==K){var Y=e.props.state,j=null===(c=r.previousParentState)||void 0===c?void 0:c.getItemByIndex(K);if(!j)return X;var Z=j.getContainer()||t;if(!Z)return X;r={parentNode:Z,parentState:Y,previousParentState:(null===(p=j.instance)||void 0===p?void 0:p.state)||j};var Q=j.instance;if(!Q)return X;var J=(0,i.e)((0,i.e)({},Q.props),{state:Y});if(q(Q,J),Q.props=J,Y.instance=Q,(0,o.X)(Y.getViewContent(),j.getViewContent())){if(!N(Y.instance,Y))return!function e(t,r){if(!(null==r?void 0:r.instance)||!t)return;t.instance=r.instance;var n,a,o,s,l,h=(0,i.e)((0,i.e)({},t.instance.props),{state:t});q(t.instance,h),t.instance.props=h;var u=null===(o=t.getState)||void 0===o?void 0:o.call(t);if(!!u)if(Array.isArray(u))try{for(var c=(0,i.a)(u),d=c.next();!d.done;d=c.next()){var m=d.value,p=m.index,f=void 0!==p&&(null===(s=null==r?void 0:r.getItemByIndex)||void 0===s?void 0:s.call(r,p));e(m,f)}}catch(e){n={error:e}}finally{try{d&&!d.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}else{var p=u.index,f=void 0!==p&&(null===(l=null==r?void 0:r.getItemByIndex)||void 0===l?void 0:l.call(r,p));e(u,f)}}(Y,j),B(Y.instance,j),[];B(Y.instance,j)}}W=(u=(0,i.b)(function e(t){var r,n,a=t.type,o=t.props,s=[];if("function"==typeof a){var l=void 0;if((null===(r=t.props.state)||void 0===r?void 0:r.instance)?(l=t.props.state.instance,s.unshift({instance:l,prevState:t.props.state})):(l=new a(o),s.unshift({instance:l,prevState:null})),null===(n=l.preRender)||void 0===n||n.call(l),t=l.render(),!(0,f.b)(t.type)){var h=(0,i.b)(e(t),2),u=h[0],c=h[1];return s.unshift.apply(s,(0,i.d)(c)),[u,s]}return[t,s]}return(0,f.b)(t.type)?[t,s]:[null,s]}(e),2))[0],G=u[1]}if(!W)return t&&X.push((0,v.ZA)(t)),X;if(a=W,(s=t)&&s.nodeType!==Node.TEXT_NODE&&function(e){return n.D_[e.type]}(a)===function(e){return e.tagName.toLowerCase()}(s)){X.push.apply(X,(0,i.d)(function(e,t){var r=e.props,n=["key","ref"],a=[],o=[];return Object.keys(r).forEach(function(e){if("children"===e){var s=r.children,l=t.childNodes;if(1===s.length&&"string"==typeof s[0]){if(1===l.length&&l[0]instanceof Text)l[0].nodeValue!==s[0]&&o.push((0,v.uA)(t,s[0]));else{l.forEach(function(e){o.push((0,v.ZA)(e))});var h=document.createTextNode(s[0]);o.push((0,v.gX)(h,t,null))}}}else if(!n.includes(e)&&!e.startsWith("on")){var u=t.getAttribute("className"===e?"class":e),c=[null,void 0].includes(r[e])?"":r[e];null===u?c&&("style"!==e||"style"===e&&Object.keys(c).length)&&("style"===e?a.push.apply(a,(0,i.d)(A(c,{}))):a.push({type:v.Yz.ATTRIBUTES,key:e,value:c})):u!==c.toString()&&("style"===e?a.push.apply(a,(0,i.d)(A(c,u))):a.push({type:v.Yz.ATTRIBUTES,key:e,value:c}))}}),a.length&&o.push((0,v._c)(t,a)),o}(W,t)));var ee=W.props.children;if((null==ee?void 0:ee.length)===1&&"string"==typeof ee[0])return null==G||G.forEach(function(e){B(e.instance,e.prevState)}),X;if(ee.length>1||(null===(g=null==t?void 0:t.childNodes)||void 0===g?void 0:g.length)>1)X.push.apply(X,(0,i.d)(z(ee,null==t?void 0:t.childNodes,(0,i.e)((0,i.e)({},r),{parentNode:t}))));else{var et=null===(T=null===(S=r.parentState)||void 0===S?void 0:S.reactInXInstanceList)||void 0===T?void 0:T[0],er=null===(C=null==et?void 0:et.props)||void 0===C?void 0:C.container;if(er===t){if((0,d.CR)(ee[0].type)){var en=null===(I=null===(E=r.parentState)||void 0===E?void 0:E.instance)||void 0===I?void 0:I.renderContext;(function(e,t){h.Xd.push({type:l.A5.REACT_IN_X_FORCE_UPDATE,callback:function(){e.forceUpdate(t)},info:{instance:e}})})(et,en)}else{(function(e){e.unmount()})(et);var en=null===(O=null===(L=r.parentState)||void 0===L?void 0:L.instance)||void 0===O?void 0:O.renderContext,ei=k(ee[0],{reactInXInstances:(null===(D=null==r?void 0:r.parentState)||void 0===D?void 0:D.reactInXInstanceList)||(null===(R=e.props.state)||void 0===R?void 0:R.reactInXInstanceList),renderContext:en});X.push((0,v.gX)(ei,t,null))}}else if(er&&(0,d.CR)(ee[0].type)){(function(e){e.unmount()})(et);var ea=(0,m.LM)(ee[0].type,(0,i.e)((0,i.e)({},ee[0].props),{container:t})).instance,en=null===(H=null===(P=r.parentState)||void 0===P?void 0:P.instance)||void 0===H?void 0:H.renderContext;ea.props.pluginRenderContext=en;var eo=(null===(F=null==r?void 0:r.parentState)||void 0===F?void 0:F.reactInXInstanceList)||(null===(_=e.props.state)||void 0===_?void 0:_.reactInXInstanceList);eo&&eo.splice(0,1,ea),h.Xd.push({type:l.A5.DID_MOUNT,callback:function(){null==ea||ea.componentDidMount()},info:{instance:ea}})}else ee.length&&X.push.apply(X,(0,i.d)(z(ee[0],null==t?void 0:t.firstChild,(0,i.e)((0,i.e)({},r),{parentNode:t}))))}}else{var Z=null==t?void 0:t.parentElement;if(!Z)return null==G||G.forEach(function(e){B(e.instance,e.prevState)}),X;X.push((0,v.ZA)(t));var ei=k(e,{reactInXInstances:(null===(V=null==r?void 0:r.parentState)||void 0===V?void 0:V.reactInXInstanceList)||(null===(U=e.props.state)||void 0===U?void 0:U.reactInXInstanceList)});X.push((0,v.gX)(ei,Z,r.referenceNode||null))}return null==G||G.forEach(function(e){B(e.instance,e.prevState)}),X}function A(e,t){"string"==typeof e&&(e=(0,g.R)(e)),"string"==typeof t&&(t=(0,g.R)(t));var r,n,i,a,o=[];if("string"==typeof e)o.push({type:v.Yz.STYLE,key:"cssText",value:e});else{if("string"==typeof t&&(o.push({type:v.Yz.STYLE,key:"cssText",value:""}),t=""),t)for(var s in t)!(e&&s in e)&&o.push({type:v.Yz.STYLE,key:s,value:""});if(e)for(var l in e)(!t||(null===(n=null===(r=e[l])||void 0===r?void 0:r.trim)||void 0===n?void 0:n.call(r))!==(null===(a=null===(i=t[l])||void 0===i?void 0:i.trim)||void 0===a?void 0:a.call(i)))&&o.push({type:v.Yz.STYLE,key:l,value:e[l]})}return o}function T(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r]}function C(e){var t=e.diffResult,r=e.previousState,n=e.ReactContextProvider;if((0,h.RM)(n),!function(e){return h.gS.get(e.constructor)}(t.state)){T("Can not find component for state.",t.state);return}(0,h.WC)(),(0,h.aZ)("V-DOM");var i=I(t,r);E(h.u1),(0,v.MA)(i),E(h.Xd),(0,h.RM)(null)}function E(e){for(;e.length;){var t=e.shift();t&&(0,t.callback)()}}function I(e,t){var r,n,a,o=e.state,s=e.changes,u=e.ignoreForceUpdate,p=[],f=t.instance,g=t.parent;if(!f){if(g)throw Error("The previousParentState.instance should not be null.");return!function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r]}("The previousParentState.instance should not be null."),p}var y=(0,i.e)((0,i.e)({},f.props),{state:o});q(f,y);var b=!u&&(!s||N(f,o,{changes:s}));if(f.props=y,o.instance=f,b){var x=f.render(),w=o.getContainer();return w?(p.push.apply(p,(0,i.d)(z(x,o.getNode(),{parentNode:w,parentState:o,previousParentState:t}))),B(f,t),p):(T("The parentNode should not be empty."),p)}if(!s||0===s.length)return p;var S=f.childrenCommonProps?(0,i.e)({},f.childrenCommonProps):null;if(!S){for(var k=t.getState(),M=0;M<k.length;++M){var A=k[M].instance;if(A){S=A.props;break}}}for(var C={parentState:o,referenceNode:null},M=s.length-1;M>=0;--M){var E=s[M];switch(E.type){case l.Uu.LINE_DELETE:case l.Uu.LEAF_DELETE:var L=!0;E.type===l.Uu.LINE_DELETE&&(L=null===(r=E.shouldBeAppliedToDOMTree)||void 0===r||r),function(e,t,r){void 0===r&&(r=!0),e.forEach(function(e){var n=e.getNode();if(!n)throw Error("The previousState._node should not be empty when reconcile unmounted child.");r&&t.push((0,v.ZA)(n)),e.instance&&D(e.instance)})}(E.deletes,p,L);break;case l.Uu.LINE_INSERT:case l.Uu.LEAF_INSERT:var O=E.inserts,L=!0;E.type===l.Uu.LINE_INSERT&&(E.referenceNode&&(C.referenceNode=E.referenceNode),L=null===(n=E.shouldBeAppliedToDOMTree)||void 0===n||n);for(var P=O.length-1;P>=0;--P){var H=O[P].state;C.referenceNode=function(e,t,r){var n,a,o,s=e.state,u=e.referenceNode,p=e.parentState,f=e.shouldBeAppliedToDOMTree,g=h.gS.get(s.constructor);if(g){(0,h.aZ)("DOM");var y=(0,m.az)(g,(0,i.e)((0,i.e)({},t),{state:s,key:s.getKey()}));if(y){y=Array.isArray(y)?y[0]:y;for(;h.L3.length;)!function(){var e=(0,i.b)(null!==(m=h.L3.shift())&&void 0!==m?m:[],3),t=e[0],r=e[1],s=e[2];if(!r&&!s)return;if(s&&(0,d.AL)(s))for(var u=0;u<h.L3.length;++u){var m=(0,i.b)(h.L3[u],3),p=m[2];if((null===(a=null===(n=null==p?void 0:p.props)||void 0===n?void 0:n.state)||void 0===a?void 0:a.reactInXInstanceList)&&Array.isArray(p.props.state.reactInXInstanceList)&&p.renderContext){s.props.pluginRenderContext=p.renderContext,Array.isArray(null===(o=p.props.state)||void 0===o?void 0:o.reactInXInstanceList)&&p.props.state.reactInXInstanceList.push(s);break}}t&&!(r instanceof DocumentFragment)&&R(function(){t(r)},{instance:s}),s instanceof c.y&&h.Xd.push({type:l.A5.DID_MOUNT,callback:function(){var e;null===(e=s.componentDidMount)||void 0===e||e.call(s)},info:{instance:s}})}();(0,h.aZ)("V-DOM");var b=p.getContainer();return u&&u.parentNode&&u.parentNode!==b&&(b=u.parentNode),(void 0===f||f)&&r.push((0,v.gX)(y,b,u)),y}return null}throw Error("The component of the state map could not be found.")}((0,i.e)((0,i.e)({state:H},C),{shouldBeAppliedToDOMTree:L}),S,p)}break;case l.Uu.LINE_UPDATE:case l.Uu.LEAF_UPDATE:var O=E.inserts,F=E.deletes,_=E.type===l.Uu.LEAF_UPDATE&&E.shouldMove,L=!0;E.type===l.Uu.LINE_UPDATE&&(E.referenceNode&&(C.referenceNode=E.referenceNode),L=null===(a=E.shouldBeAppliedToDOMTree)||void 0===a||a);for(var P=O.length-1;P>=0;--P){var V=O[P],U=V.state,X=V.changes,W=F[P];(function(e,t,r){void 0===r&&(r=!0);var n,a=e.state,o=e.referenceNode,s=e.parentState,l=e.shouldMove,h=e.previousState.instance;if(!h){T("The instance of previous state should not be empty.");return}var u=h.state||e.previousState,c=s.getContainer();if(!c)throw Error("The parent node should not be empty.");var d=u.getNode();if(!d)throw Error("The previousState._node should not be empty.");if(!c.contains(d)&&r&&t.push((0,v.gX)(d,c,o||null)),function(e){return void 0!==e.leaves}(e.state)&&(null===(n=e.changes)||void 0===n?void 0:n.length))t.push.apply(t,(0,i.d)(I({state:e.state,changes:e.changes},u)));else{var m=(0,i.e)((0,i.e)({},h.props),{state:a});q(h,m),h.props=m,a.instance=h;var p=h.render();r&&t.push.apply(t,(0,i.d)(z(p,d,{parentNode:d,parentState:a,previousParentState:u,referenceNode:o}))),l&&t.push((0,v.gX)(d,c,o)),B(h,u)}})((0,i.e)({state:U,previousState:W,changes:X,shouldMove:_},C),p,L),C.referenceNode=W.getNode()}break;case l.Uu.LINE_CONSTANT:case l.Uu.LEAF_CONSTANT:for(var O=E.inserts,F=E.deletes,_=E.type===l.Uu.LEAF_CONSTANT&&E.shouldMove,P=O.length-1;P>=0;--P){var U=O[P].state,W=F[P];(function(e,t){var r=e.state,n=e.previousState,a=e.parentState,o=e.shouldMove,s=e.referenceNode,l=n.instance;if(l){var h=(0,i.e)((0,i.e)({},l.props),{state:r});q(l,h);var u=N(l,r,{isStateConstant:!0});l.props=h,r.instance=l;var c=r.getNode(),d=a.getContainer();if(u){var m=l.render();if(c){if(t.push.apply(t,(0,i.d)(z(m,c,{parentNode:c,parentState:r}))),!d)throw Error("The parent node should not be empty.");o&&t.push((0,v.gX)(c,d,s)),B(l,n)}else throw Error("The node of state should not be empty.")}else"getCustomKey"in n&&"setCustomKey"in r&&n.getCustomKey()&&r.setCustomKey(n.getCustomKey()),o&&c&&d&&t.push((0,v.gX)(c,d,s))}else throw Error("The instance of previousState should not be empty.")})((0,i.e)({state:U,previousState:W,shouldMove:_},C),p),C.referenceNode=W.getNode()}}}return B(f,t),p}function N(e,t,r){void 0===r&&(r={});var n=(0,i.e)((0,i.e)({},e.props),{state:t});return!!(null==e?void 0:e.shouldComponentForceUpdate(n,r))}function L(e){e.unmount()}function B(e,t){if(!!e.componentDidUpdate){var r=t?(0,i.e)((0,i.e)({},e.props),{state:t}):(0,i.e)({},e.props);h.Xd.push({type:l.A5.DID_UPDATE,callback:function(){e.componentDidUpdate(r)},info:{instance:e}})}}function O(e){if(!!e.componentWillUnmount)h.u1.push({type:l.A5.WILL_UNMOUNT,callback:function(){e.componentWillUnmount()},info:{instance:e}})}function D(e){O(e);var t=e.render();(t=Array.isArray(t)?t:[t]).forEach(function(e){"string"!=typeof e&&!function e(t){if(!(0,d.CR)(t.type)){if((0,f.b)(t.type))"function"==typeof t.ref&&function(e,t){h.u1.push({type:l.A5.DETACH_REF,callback:function(){e(null)},info:t})}(t.ref),n=t.props.children;else if("function"==typeof t.type){var r,n,i=t.type,a=void 0;O(a=(null===(r=t.props.state)||void 0===r?void 0:r.instance)?t.props.state.instance:new i(t.props)),n=a.render()}else(0,f.C)(t.type)&&(n=t.props.children);(Array.isArray(n)?n:[n]).forEach(function(t){"string"!=typeof t&&e(t)})}}(e)})}function R(e,t){h.Xd.push({type:l.A5.ATTACH_REF,callback:e,info:t})}function q(e,t){e.componentWillReceiveProps(t)}var P=n.HY,H=n.ZC,F=n.xv,_=n.BG,V=n.Ul,U=n.Li,X=n.Ol,W=n.Li,G=n.A,K=n.Br,Y=Object.freeze({__proto__:null,Fragment:P,Div:H,Text:F,ZeroSpace:_,BulletList:V,Bullet:U,OrderedList:X,Ordered:W,A:G,Br:K,createElement:m.az,cloneElement:m.Tm,isValidElement:m.l$,Component:c.y,render:p.Z,unmount:p.a,reconcile:C,ReactInX:d.I2,isReactInXClass:d.CR,PluginRenderContext:u.x,setDOMAttributes:s.T})},689791:function(e,t,r){r.d(t,{J:function(){return i}});var n=r(611437);function i(e){var t=document.createElement("a");return(0,n.T)(t,e),t}},159751:function(e,t,r){r.d(t,{_:function(){return o},a:function(){return s},b:function(){return l},c:function(){return i},d:function(){return h},e:function(){return a}});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}function h(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(l(arguments[t]));return e}},265044:function(e,t,r){r.d(t,{b:function(){return s}});var n,i=r(144847),a=r(495907),o=r(101199),s=o.forwardRef(function(e,t){var r=e.getKatex,s=e.outerClass,l=e.counterIndex,h=e.value,u=e.placeholder,c=e.errorPlaceholder,d=e.viewDisplay,m=void 0===d?a.v.inline:d,p=e.forceDisplayStyle,f=void 0===p||p,g=e.onClick,v=e.onTouchStart,y=e.onTouchEnd,b=e.onTouchMove,x=e.onMouseEnter,w=e.onMouseLeave,S=e.onDidRender,k=e.onMouseDown,M=(0,o.useRef)(null),z=(0,o.useRef)(null),A=(0,i.a)((0,o.useState)({}),2),T=A[0],C=A[1],E=(0,i.a)((0,o.useState)(!1),2),I=E[0],N=E[1],L=(0,i.a)((0,o.useState)(""),2),B=L[0],O=L[1],D=(0,i.a)((0,o.useState)(null),2),R=D[0],q=D[1];(0,o.useEffect)(function(){r&&r().then(function(e){q(e)})},[r]);var P=(0,o.useCallback)(function(){var e=M.current,t=null==e?void 0:e.querySelector(".editor-kit-equation-view-content"),r=null==e?void 0:e.querySelector(".katex-display .base"),n=null==e?void 0:e.querySelector(".katex-display .tag");if(e&&t){var i=e.closest(".ace-line"),a=(null==i?void 0:i.offsetWidth)||0,o=a-4,s=0,l=!1;r&&n&&(l=o<(s=r.offsetWidth+n.offsetWidth)+n.offsetWidth);var h=Math.max(s,(r||t).offsetWidth||0);if(o>0&&h>=0){var u=Math.min(o/(h+1),1);C({transform:"scale("+u+")"}),N(u<1||l),null==S||S()}}},[S]);(0,o.useImperativeHandle)(t,function(){return{getViewElement:function(){return M.current},resize:function(){P()}}},[P]);var H=(0,o.useCallback)(function(){return(0,i._)(void 0,void 0,void 0,function(){return(0,i.b)(this,function(e){return[2,new Promise(function(e){var t=function(t){void 0===t&&(t=1e3),setTimeout(function(){e(!0)},t)};if(document.fonts){var r=new Date().valueOf();document.fonts.ready.then(function(){new Date().valueOf()-r>100?t():e(!0)})}else t()})]})})},[]),F=(0,o.useRef)(null),_=(0,o.useCallback)(function(){if(!!R)F.current&&(clearTimeout(F.current),F.current=null),F.current=setTimeout(function(){return(0,i._)(void 0,void 0,void 0,function(){return(0,i.b)(this,function(e){switch(e.label){case 0:if(e.trys.push([0,3,,4]),!(h&&h.trim()&&z.current))return[3,2];return[4,H()];case 1:e.sent(),R.render(""+(f?String.raw(n||(n=(0,i.i)(["displaystyle "],["\\displaystyle "]))):"")+h.trim(),z.current,{displayMode:"block"===m,leqno:!1,fleqn:!1,throwOnError:!0,strict:"warn",trust:!1,output:"html"}),O(""),e.label=2;case 2:return setTimeout(P),null==S||S(),[3,4];case 3:return O(e.sent().message),null==S||S(),[3,4];case 4:return[2]}})})},100)},[h,R,m,f,P,S,H]);(0,o.useEffect)(function(){_()},[_]);var V=(0,o.useMemo)(function(){return!h||!h.trim()},[h]),U=(0,o.useMemo)(function(){return!!B},[B]),X=(0,o.useMemo)(function(){return V||U},[V,U]),W=!V&&U;return o.createElement("div",{ref:M,className:"editor-kit-equation-view "+(void 0===s?"":s)+" "+(X?"placeholder":"")+" "+(I?"overflow-numbering":""),style:(0,i.g)((0,i.g)((0,i.g)({},"block"!==m||I?{}:{width:"100%"}),void 0!==l?{counterReset:"katexEqnNo "+l}:{}),W?{}:T),onClick:g,onMouseDown:k,onTouchStart:v,onTouchEnd:y,onTouchMove:b,onMouseEnter:x,onMouseLeave:w},o.createElement("div",{ref:z,className:"editor-kit-equation-view-content",style:(0,i.g)({},X?{width:0,height:0,display:"none"}:{})}),o.createElement("div",{className:"editor-kit-equation-view-placeholder"},V&&u,W&&c))})},518022:function(e,t,r){r.d(t,{X:function(){return d}});var n=r(144847),i=r(162114),a=r(559016),o=r(993137),s=r(386308),l=r(464675),h=r(754209);r(399884),r(707574);var u={24:"h1",20:"h2",18:"h3"},c=function(e,t,r){var n=/(?:^| )heading-(\S+)/.exec(t);if(/^h\d+$/.test(e))return e;if(n)return n[1];var i=/font-size: (\d+)px/.exec(r);return r&&(r.indexOf("font-weight: bold;")>-1||r.indexOf("font-weight: 700;")>-1)&&i&&u[i[1]]?u[i[1]]:null},d=function(e){function t(r){var n=r.editor,o=e.call(this)||this;return o.name="Heading",o.deserialize=function(e){var t=e.node,r=e.deltaSet,n=e.zoneId;if(t instanceof HTMLElement){var a=t.tagName,o=t.className,s=t.getAttribute("style")||"",l=c(a.toLowerCase(),o,s);if(l)return(0,i.e)(r,n,{heading:l})}return r},o.editorWillPaste=function(e){var t=e.deltaSet,r=e.zoneId,n=o.editor,i=n.selection.getSelection().start,a=n.getContentState().getZoneState(r);if(!a)return;var s=a.getLine(i.line);if(!!s){if(s.isTextEmpty())return t;var h=t.get(r),u=h.ops[0];if(!u||!u.attributes||!u.attributes.heading)return t;var c=h.reduce(function(e,t,r){return 0===r?e:e.push(t)},new l.I({zoneId:r}));return t.replace(r,c)}},o.handleDeleteKey=function(e){var r=o.editor.selection.getSelection(),n=r.start,i=o.editor.getContentState(),a=i.getActiveZone().getLine(n.line);if(!!(e.isBackward&&r.isCollapsed()&&a&&r.start.offset===a.getLineMarker())&&!!a.getLineAttributes().toMap()[t.KEY])i.setLineAttributes(n.zoneId,n.line,{heading:""}),e.stopEvent(),e.preventEvent(),e.e.preventDefault()},o.editor=n,n.registerCommand(t.KEY,function(e){var r=e.value;(0,h.B)(n,t.KEY,r,!0)}),o.editor.on(a.r.DELETE_KEY,o.handleDeleteKey,895),o}(0,n.d)(t,e);var r=t.prototype;return r.destroy=function(){this.editor.off(a.r.DELETE_KEY,this.handleDeleteKey)},r.renderLine=function(e){var r=e.lineState,n=e.children,i=r.getLineAttributes().toMap()[t.KEY];return i&&(e.lineClass+=" heading-"+i),n},r.serialize=function(e){var r=e.type,n=e.node,i=e.lineAttributes,a=i&&i[t.KEY];if(r===o.T.LINE&&a){var s=6>=Number(a.match(/\d+/)[0])?document.createElement(a):document.createElement("span");s.appendChild(n),s.classList.add("heading-"+a),e.node=s}return e},r.editorWillDoReturnKey=function(e){var r=e.delta,n=e.editor,i=n.selection.getSelection(),a=n.getContentState().getActiveZone(),o=a.getZoneId(),s=a.getLine(i.start.line);if(!s)return;var h=s.getLineAttributes().toMap(),u=i.toPosition(),c=u.start,d=u.len;if(!!h[t.KEY]&&!d){if(i.end.offset===s.length()-1){var m=e.delta.ops.filter(function(e){var t;return null===(t=e.attributes)||void 0===t?void 0:t.lmkr});if(m.length>0)m[0].attributes&&(m[0].attributes.heading="");else{h.heading="";var p=new l.I({zoneId:o}).retain(c).insertEnter().insertLineMarker(h);e.delta=r.compose(p)}}}},r.editorWillDoDeleteKey=function(e){var r=e.deltaSet,i=e.editor,a=i.selection.getSelection(),o=i.getContentState().getActiveZone(),s=o.getZoneId(),h=o.getLine(a.start.line);if(!h)return;var u=h.previousSibling(),c=h.getLineAttributes().toMap(),d=a.toPosition(),m=d.start,p=d.len,f=1===a.start.offset;if(!!u&&!p&&!!c[t.KEY]&&!!f){var g=Number(u.hasLineMarker()),v=u.isEmpty(),y=u.getLineAttributes().toMap(),b=Object.keys(y).find(function(e){return!["author","lmkr","insertorder","lineguid","align"].includes(e)}),x=r.get(s).ops.length;if(!b&&v&&!x){var w=new l.I({zoneId:s});g?w.retain(m-3).retain(1,(0,n.g)((0,n.g)({},y),{heading:c[t.KEY]})).delete(2):w.retain(m-2).insertLineMarker((0,n.g)((0,n.g)({},y),{heading:c[t.KEY]})).delete(2),e.deltaSet=r.compose(w)}}},t.KEY="heading",t}(s.S)},238501:function(e,t,r){r.d(t,{f:function(){return y}});var n=r(144847),i=r(236836),a=r(85359),o=r(97930),s=r(559016),l=r(993137),h=r(386308),u=r(430970),c=r(464675),d=r(481685),m=r(101201);r(399884),r(707574);var p=r(323145),f=r(101199),g={display:"block",boxSizing:"content-box",padding:"13px 0 12px",overflow:"hidden",height:"1px",backgroundOrigin:"content-box",backgroundImage:"linear-gradient(90deg, "+p.xS+", "+p.xS+")",backgroundRepeat:"no-repeat",border:"0"},v=function(e){function t(t){var r=e.call(this,t)||this;return r.handleSelect=function(){r.setState({isSelected:!0})},r.handleDeSelect=function(){r.setState({isSelected:!1})},r.state={isSelected:!1},r}return(0,n.d)(t,e),t.prototype.render=function(){var e=this.state.isSelected?(0,n.g)((0,n.g)({},g),{backgroundImage:"linear-gradient(90deg, "+p.YC+", "+p.YC+")"}):g;return f.createElement(i.Z,{contentEditable:!1,style:e,"data-faketext":" ",onSelect:this.handleSelect,onDeselect:this.handleDeSelect})},t}(f.Component),y=function(e){function t(r){var i=r.editor,l=e.call(this)||this;return l.name="HorizontalLine",l.handleKeyDown=function(e){if(a.Xh.mobile&&"Backspace"===e.key){var t=l.editor,r=t.selection.getSelection();if(r.isCollapsed()){var n=r.start.line-1,i=l.editor.getContentState().getActiveZone().getLine(n);if(i&&l.isHorizontalLine(n)&&0===r.start.offset){var o=i.getOffset(),s=o.start,h=o.end,u=new c.I({zoneId:i.getZoneId()}).retain(s).delete(h-s);t.getContentState().apply(u),e.preventDefault(),e.preventEvent(),e.stopEvent()}}}else if("Enter"===e.key){var t=l.editor,r=t.selection.getSelection();if(!r.isCollapsed()){var s=r.start,h=r.end;if(s.line===h.line&&l.isHorizontalLine(s.line)){var d=r.toPosition(),m=d.start,p=d.len,f=r.start.zoneId,u=new c.I({zoneId:f}).retain(m+p).insertEnterAndLineMarker();t.getContentState().apply(u),e.preventDefault(),e.preventEvent(),e.stopEvent(),t.selection.setSelection({start:{line:s.line+1,offset:1,zoneId:f},end:{line:s.line+1,offset:1,zoneId:f}})}}}},l.handleSelectionChange=function(e){var r,i=e.current;if(!i.isCollapsed())return;var a=i.start,s=a.zoneId,h=a.line,u=null===(r=l.editor.getContentState().getZoneState(s))||void 0===r?void 0:r.getLine(h);if(!!u){if(u.getAttributes().toMap()[t.KEY]){var c=i.start,d=i.end,m=u.getModelText().length-1,p=new o.e({editor:l.editor,start:(0,n.g)((0,n.g)({},c),{offset:u.getLineMarker()}),end:(0,n.g)((0,n.g)({},d),{offset:Math.min(m,u.getLineMarker()+1)})});l.editor.selection.setSelection(p)}}},l.editor=i,i.on(s.r.SELECTION_CHANGE,l.handleSelectionChange),i.registerCommand(t.KEY,function(){l.doInsertHorizontalLine()}),i.on(s.r.KEYDOWN,l.handleKeyDown),l}(0,n.d)(t,e);var r=t.prototype;return r.isHorizontalLine=function(e){var r=this.editor.getContentState().getActiveZone().getLine(e);if(!r)return!1;var n=r.getOps();return r.getLineAttributes().toMap()[t.KEY]||n.length&&n.filter(function(e){var r;return null===(r=e.attributes)||void 0===r?void 0:r[t.KEY]}).length},r.match=function(e){return e===t.KEY},r.render=function(e){return e.class+=" horizontal-line",f.createElement(v,null)},r.serialize=function(e){var t=e.type,r=e.op,n=r&&r.attributes&&r.attributes["horizontal-line"];if(t===l.T.LEAF&&n){var i=document.createElement("span");i.classList.add("horizontal-line");var a=document.createElement("hr");a.classList.add("horizontal-line"),i.appendChild(a),e.node=i}return e},r.deserialize=function(e){var t=e.node,r=e.deltaSet,n=e.zoneId,i=new d.D;if(t instanceof HTMLElement){var a=t.tagName,o=t.className,s="HR"===a&&!o.includes("horizontal-line"),l="SPAN"===a&&o.includes("horizontal-line");if(s||l)return r.forEach(function(e,t){if(t===n&&e instanceof c.I){var r=e.create(e);r.insert(" ",{"horizontal-line":"true"}),i=i.concat(r)}else i=i.concat(e)}),i}return r},r.doInsertHorizontalLine=function(e){var r,n=null!=e?e:this.editor.selection.getSelection(),i=n.start,a=n.end,o=this.editor.getContentState().getZoneState(i.zoneId);if(!o)return;var s=o.getLine(i.line),l=o.getLine(a.line);if(!s||!l)return;var h=o.pointToOffset(i),u=o.pointToOffset(a);if(null!==h&&null!==u){var d=s.hasLineMarker()?1:0,p=s.getLineAttributes().every(function(e){return m.$.includes(e[0])}),f=i.line===a.line&&i.offset===a.offset,g=a.line===o.length()-1,v=((r={})[t.KEY]="true",r);if(f){if(i.offset!==d&&s.isEndOfLine(i.offset)){if(g){var y=new c.I({zoneId:i.zoneId}).retain(h).insertEnterAndLineMarker().insert(" ",v).insertEnterAndLineMarker();this.editor.getContentState().apply(y,{type:"insertHorizontalLine"})}else{var y=new c.I({zoneId:i.zoneId}).retain(h).insertEnterAndLineMarker().insert(" ",v).insertEnterAndLineMarker();this.editor.getContentState().apply(y,{type:"insertHorizontalLine"});var b={zoneId:i.zoneId,line:i.line+2,offset:0};this.editor.selection.setSelection({start:b,end:b},!0)}}else if(0===i.line&&i.offset===d&&"0"===i.zoneId){var y=new c.I({zoneId:i.zoneId}).retain(h).insertEnterAndLineMarker().insert(" ",v).insertEnterAndLineMarker();this.editor.getContentState().apply(y,{type:"insertHorizontalLine"})}else if(a.offset===d&&p){var y=new c.I({zoneId:i.zoneId}).retain(h).insert(" ",v).insertEnterAndLineMarker();this.editor.getContentState().apply(y,{type:"insertHorizontalLine"})}else if(d&&a.offset===d){var y=new c.I({zoneId:i.zoneId}).retain(h).insertEnterAndLineMarker().insert(" ",v).insertEnterAndLineMarker();this.editor.getContentState().apply(y,{type:"insertHorizontalLine"})}else{var y=new c.I({zoneId:i.zoneId}).retain(h).insertEnterAndLineMarker().insert(" ",v).insertEnterAndLineMarker();this.editor.getContentState().apply(y,{type:"insertHorizontalLine"})}}else{var y=new c.I({zoneId:i.zoneId}).retain(h).delete(u-h).insertEnterAndLineMarker().insert(" ",v).insertEnterAndLineMarker();this.editor.getContentState().apply(y,{type:"insertHorizontalLine"})}}},r.destroy=function(){this.editor.off(s.r.SELECTION_CHANGE,this.handleSelectionChange),this.editor.off(s.r.KEYDOWN,this.handleKeyDown)},t.KEY="horizontal-line",(0,n.e)([(0,u.x)()],t.prototype,"render",null),t}(h.S)},441642:function(e,t,r){r.d(t,{$p:function(){return b},MO:function(){return d},VB:function(){return w},XR:function(){return y},aj:function(){return f},jB:function(){return u},pp:function(){return p},tZ:function(){return v},tf:function(){return c},uf:function(){return x},xo:function(){return g}});var n=r(144847),i=r(464675);r(399884);var a=r(390485);r(707574);var o=r(809919),s=r(988957),l=["image/jpeg","image/bmp","image/png","image/gif","image/x-icon"];function h(e){return e/Math.abs(e)}function u(e){var t=e.direction,r=e.alignment,i=e.imageSize,a=e.moveVector,o=e.imageMaxWidth,l=e.uuid,u=function(e){var t,r,i,a,o,l,u=e.direction,c=e.alignment,d=e.imageSize,m=e.moveVector,p=e.imageMaxWidth;var f=(t=u,r=d,i="t"===t[0]?-1:1,a="l"===t[1]?-1:1,{width:r.width*a,height:r.height*i}),g=[h(f.width),h(f.height)],v=m.x,y=m.y,b="center"===c?2:1,x=d.width/b,w=d.height,S=f.width/b,k=f.height,M=p/b,z=S*k<0?-1:1,A=y*S*z<k*v*z;try{for(var T=(0,n.c)([["left","tr","top"],["center","tl","top"],["center","tr","top"],["right","tl","top"],["left","bl","side"],["right","br","side"]]),C=T.next();!C.done;C=T.next()){var E=C.value;E[0]===c&&E[1]===u&&(A="top"===E[2])}}catch(e){o={error:e}}finally{try{C&&!C.done&&(l=T.return)&&l.call(T)}finally{if(o)throw o.error}}var I=(0,n.a)((A?[S+v,k*(S+v)/S]:[S*(k+y)/k,k+y]).map(function(e,t){return e*g[t]}),2),N=I[0],L=I[1],B=[x<w?s.Wd/b:s.Wd*x/w,x<w?s.Wd/b*w/x:s.Wd],O=[M,M*w/x],D=(0,n.a)([Math.round(Math.min(O[0],Math.max(B[0],N))),Math.round(Math.min(O[1],Math.max(B[1],L)))],2);return{width:D[0]*b,height:D[1]}}({direction:t,alignment:r,imageSize:i,moveVector:a,imageMaxWidth:o}),m=u.width,p=u.height;if(m!==i.width||p!==i.height)(function(e,t,r){var n,i=c(r),a=document.querySelector("#"+i);null===(n=null==a?void 0:a.parentNode)||void 0===n||n.removeChild(a),(a=document.createElement("style")).setAttribute("id",i),a.textContent=d(r)+"{\n width: "+e+"px!important;\n }",document.body.appendChild(a)})(m,p,l)}function c(e){return"image-resize-rect-style-"+e}function d(e){return'.image-wrapper img[data-uuid="'+e+'"]'}var m=(0,o.D)(6);function p(){var e,t,r=document.createElement("input");try{for(var i=(0,n.c)(Object.entries({type:"file",id:m,multiple:"true",style:"display: none;",accept:"image/png, image/gif, image/jpeg, image/bmp, image/x-icon"})),a=i.next();!a.done;a=i.next()){var o=(0,n.a)(a.value,2),s=o[0],l=o[1];r.setAttribute(s,l)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return document.body.appendChild(r),r}function f(e){document.body.removeChild(e)}function g(){return(0,o.D)(8)}function v(e){e.forEach(function(e){if(e instanceof i.I)e.forEach(function(e){var t;if(!!(null===(t=e.attributes)||void 0===t?void 0:t.image))e.attributes.uuid=g()})})}function y(e){var t,r;try{for(var i=(0,n.c)(Array.from(e)),a=i.next();!a.done;a=i.next()){var o=a.value;if(!o||!l.includes(o.type))return!1}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return!!e.length}function b(e){var t=e.clipboardData;if(!t)return!1;var r=t.types,n=t.items,i=JSON.stringify(r),o=1===r.length&&"Files"===r[0],s=2===r.length&&/("text\/plain","Files"|"Files","text\/plain")/.test(i),l=2===r.length&&/"text\/html","Files"|"Files","text\/html"/.test(i),h=a.Z.isSafari&&/"Files","text\/uri-list"/.test(i);if(o||s||l||h){var u=Array.prototype.slice.call(void 0===n?[]:n).filter(function(e){return"file"===e.kind}),c=u.filter(function(e){return 0===e.type.indexOf("image/")});return c.length===u.length&&c.map(function(e){return e.getAsFile()}).filter(function(e){return!!e}).length>0}return!1}var x=function(e,t){var r=e.start,n=e.end,i=r.zoneId,a=t.getContentState().getZoneState(i);if(!a)return{start:!1,end:!1};var o=a.getLine(r.line),s=a.getLine(n.line);return o&&s?{start:w(o),end:w(s)}:{start:!1,end:!1}};function w(e){return e.getOps().some(function(e){return function(e){var t;return null===(t=e.attributes)||void 0===t?void 0:t.image}(e)})}},271867:function(e,t,r){r.d(t,{A:function(){return d}});var n=r(144847),i=r(993137),a=r(734795),o=r(649146),s=r(386308),l=r(464675),h=r(708180),u=r(154463);r(399884),r(707574),r(741704);var c=r(372321),d=function(e){function t(t){var r=t.editor,n=e.call(this)||this;return n.name="Indent",n.textIndentClass="text-indent",n.editor=r,r.registerCommand(h.P.INDENT_LEFT,function(){(0,u.u)(r,"indent",!1)}),r.registerCommand(h.P.INDENT_RIGHT,function(){(0,u.u)(r,"indent",!0)}),n}(0,n.d)(t,e);var r=t.prototype;return r.match=function(e){return e===t.KEY||"list"===e},r.renderLine=function(e){var r=e.lineState,n=e.children;if(r.getLineAttributes().toMap()[t.KEY]){var i=e.lineClass?" ":"";e.lineClass+=""+(i+this.textIndentClass)}return n},r.editorWillDoDeleteKey=function(e){var t=e.deltaSet,r=e.editor,n=r.getContentState().getActiveZone(),i=n.getZoneId(),a=r.selection.getSelection(),o=n.getLine(a.start.line);if(!!o){var s=o.getLineAttributes().toMap(),h=1===a.start.offset,u=a.toPosition(),c=u.start,d=u.len;if(!t.get(i).ops.length&&s["text-indent"]&&h&&!d){s["text-indent"]="";var m=new l.I({zoneId:i}).retain(c-1).retain(1,s);e.deltaSet=t.compose(m)}}},r.serialize=function(e){var r=e.type,n=e.lineAttributes,o=e.node;if(r===i.T.LINE&&n&&n[t.KEY]){if(n.list)o.classList&&o.style?(o.classList.add(this.textIndentClass),o.style["text-indent"]="2em"):this.editor.error({message:"call hook failed: serialize. plugin: Indent",level:a.WV.ERROR});else{var s=document.createElement("div");s.setAttribute("style","text-indent: 2em"),s.appendChild(o),s.classList.add(this.textIndentClass),e.node=s}}return e},r.deserialize=function(e){var t=this,r=e.node,n=e.deltaSet,i=e.zoneId;if(!(r instanceof HTMLElement))return n;var a=Array.from(r.classList),o=a.find(function(e){return e.startsWith("indent")});if(a.find(function(e){return e===t.textIndentClass})&&(0,c.J)(n,i,{"text-indent":"true"}),o){var s=Number(o.split("indent")[1]);Number(s)>=1&&(0,c.J)(n,i,{list:"indent"+s})}return n},t.KEY="text-indent",(0,n.e)([(0,o.gv)(1002)],t.prototype,"serialize",null),(0,n.e)([(0,o.gv)(1001)],t.prototype,"deserialize",null),t}(s.S)},190303:function(e,t,r){r.d(t,{f:function(){return o}});var n=r(144847),i=r(386308);r(399884),r(707574);var a=r(120161),o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.name="PlainTextHandler",t}return(0,n.d)(t,e),t.prototype.editorWillPaste=function(e){var t=e.deltaSet,r=e.zoneId,n=t.get(r),i=n.ops[0];return i&&i.attributes&&i.attributes.lmkr&&(0,a.f)(i.attributes)?(n.ops.shift(),t):t},t}(i.S)},316228:function(e,t,r){r.d(t,{n:function(){return h}});var n=r("144847"),i=r("559016"),a=r("162114"),o=r("650054");r("399884"),r("707574");var s=r("386308"),l=r("811492"),h=function(e){function t(r){var n=e.call(this,r)||this;n.handleInput=function(e){"formatStrikeThrough"===e.inputType&&(e.preventEvent(),e.preventDefault(),e.stopEvent(),n.editor.toggleAttribute(t.KEY))};var a=n.editor;return a.registerCommand(t.KEY,function(){a.toggleAttribute(t.KEY)}),a.on(i.r.INPUT,n.handleInput),n}(0,n.d)(t,e);var r=t.prototype;return r.deserialize=function(e){var t=e.node,r=e.deltaSet,n=e.zoneId;if(t instanceof HTMLElement){var i=t.tagName,o=t.getAttribute("style")||"";if("S"===i||"STRIKE"===i||/\btext-decoration:([^;]*?\s|\s*)line-through\b/i.test(o))return(0,a.d)(r,n,{strikethrough:"true"},!1)}return r},r.serialize=function(e){return(0,a.w)(e,{tagAttribute:"strikethrough",wrapTag:o.c5.strikethrough})},t}(function(e){function t(t){var r=t.editor,n=e.call(this)||this;return n.name="Strikethrough",n.editor=r,n}(0,n.d)(t,e);var r=t.prototype;return r.match=function(e){return e===t.KEY},r.render=function(e){var t=e.children,r=e.style,n=r.textDecoration||"";return r.textDecoration=n+" line-through",e.class+=" strike-through",t},t.KEY="strikethrough",(0,n.e)([l.P],t.prototype,"render",null),t}(s.S))},764675:function(e,t,r){var n,i=r(101199),a=r(283051);function o(){return!n&&((n=document.createElement("div")).setAttribute("id","editor-kit-toolbar-portal"),document.body.appendChild(n)),n}t.Z=function(e){var t=e.children,r=e.text;return(0,i.createElement)(a.u,{getPopupContainer:o,title:r},t)}},179087:function(e,t,r){var n=r(144847);r(399884),r(707574);var i=r(454746),a=r(101199);r(469935);var o=r(606601),s=r(846673),l=r(539606),h=r(648352),u=r(82386),c="fontcolor",d="backgroundcolor",m=(0,a.memo)(function(e){var t=e.activeAttr,r=e.disabledKeys,i=e.extra,m=void 0===i?{}:i,p=e.i18n,f=(0,a.useMemo)(function(){var e=m.fontPlate||s.T$,t=m.backgroundPlate||s.VV;return{backgroundPlate:(0,u.Q)(t),fontPlate:e,defaultFontColor:m.defaultFontColor||e[0][0],defaultBGColor:m.defaultBGColor||(0,u.E)("#fff67acc")}},[m.fontPlate,m.backgroundPlate]),g=f.backgroundPlate,v=f.fontPlate,y=f.defaultFontColor,b=f.defaultBGColor,x=(0,n.a)((0,a.useState)(y),2),w=x[0],S=x[1],k=(0,n.a)((0,a.useState)(b),2),M=k[0],z=k[1],A=r.includes(c)||r.includes(d),T=t[d],C=t[c],E=void 0!==T||void 0!==C,I=a.createElement(h.Z,{bgColor:T,fontColor:C,backgroundPlate:g,fontPlate:v,onBGColorChange:z,onFontColorChange:S,i18n:p,disabled:A});return a.createElement(l.Z,{buttonContent:a.createElement("div",{className:"editor-kit-toolbar-v2-color_plate-btn",style:{background:E?T:M,color:E?C:w},"plugin-key":JSON.stringify([d,c]),"plugin-value":JSON.stringify([M,w]),"plugin-disabled":null==A?void 0:A.toString()},a.createElement(o.Z,null)),dropdownProps:{overlay:I,disabled:A}})},function(e,t){return e.disabledKeys.includes(c)===t.disabledKeys.includes(c)&&e.disabledKeys.includes(d)===t.disabledKeys.includes(d)&&e.i18n===t.i18n&&e.activeAttr[d]===t.activeAttr[d]&&e.activeAttr[c]===t.activeAttr[c]&&(0,i.X)(e.extra,t.extra)});t.Z=m},390485:function(e,t,r){var n=r(399884),i=r.n(n),a=window.sessionStorage.getItem("__ENTER_FROM__"),o=window.User&&window.User.userAgent||navigator.userAgent||"",s=i().getParser(o),l={isFeishu:!1,isLark:!1,isLarkPcTab:!1,isLarkWindow:!1,isDocs:!1,isDocsSDK:!1,isAndroidSDK:!1,isIOSSDK:!1,isMobileSDK:!1,isFeed:!1,isIphoneX:!1,isIPad:!1,isMobile:!1,isMac:!1,isWindows:!1,isLinux:!1,isSafari:!1,isIE:!1,isSougou:!1,isIOS:!1,isAndroid:!1,isQQ:!1,isX5:!1,is360:!1,is360Fast:!1,isUc:!1,isBaiDu:!1,isLB:!1,oldIE:!1,modernIE:!1,kernel:"",isLarkTab:!1,isOldLarkTab:!1,isEdge:!1,isFF:!1,isChrome:!1,isWebKit:!1,isBytedanceApp:!1,isOpendoc:!1,isIPhoneSeries:function(){return!1},isIOSBelow12:function(){return!1},getChromeVersion:function(){return null},isPrimaryChrome:!1,isOpera:!1,is2345:!1,isMaxthon:!1,isTheWorld:!1,isH5:!1};l.isFeishu=/feishu/i.test(o),l.isLark=l.isFeishu||/lark/i.test(o),l.isLarkPcTab=l.isLark&&/TYPE\/PC_TAB/i.test(o),l.isLarkWindow=l.isLark&&"lark.window"===a,l.isDocs=/Docs/i.test(o),l.isDocsSDK=l.isLark&&l.isDocs,l.isAndroidSDK=/DocEditorSDk/i.test(o),l.isIOSSDK=/DocsSDK/i.test(o),l.isMobileSDK=l.isAndroidSDK||l.isIOSSDK,l.isFeed=/Feed/i.test(o)||/lark=1/.test(location.search)||/sourceType=feed/.test(location.search),l.isIphoneX=function(){return c("X")}()||!1,l.isIPad=/iPad/i.test(o),l.isMobile=s.getPlatformType(!0).includes("mobile"),l.isMac=s.getOSName(!0).includes("macos"),l.isWindows=s.getOSName(!0).includes("windows"),l.isLinux=s.getOSName(!0).includes("linux"),l.isSafari=s.getBrowserName(!0).includes("safari"),l.isIE=s.getBrowserName(!0).includes("internet explorer"),l.isIOS=!!o.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),l.isAndroid=o.indexOf("Android")>-1||o.indexOf("Adr")>-1||/OpenHarmony/.test(o),l.isQQ=/QQBrowser/i.test(o),l.isX5=/MQQBrowser/i.test(o),l.is360=/360SE/i.test(o),l.is360Fast=/360EE/i.test(o),l.isUc=/UBrowser/i.test(o),l.isBaiDu=/BIDUBrowser/i.test(o),l.is2345=/2345Explorer/i.test(o),l.isMaxthon=/Maxthon/i.test(o),l.isTheWorld=/TheWorld/i.test(o),l.isLB=/LBBROWSER/i.test(o),l.isEdge=/Edge/i.test(o),l.isFF=/Firefox/i.test(o),l.isOpera=/OPR/i.test(o),l.isWebKit=/AppleWebKit/i.test(o),l.isChrome=s.getBrowserName(!0).includes("chrome"),l.isPrimaryChrome=l.isChrome&&!l.isOpera&&!l.isLB&&!l.isUc&&!l.isBaiDu&&!l.is360&&!l.is360Fast&&!l.isQQ&&!l.isSougou&&!l.isEdge&&!l.is2345&&!l.isTheWorld&&!l.isMaxthon,l.isOpendoc=/opendoc=(true|1)/.test((location.search||"").toLowerCase())||/^\/component\//.test(location.pathname||"");if(l.isIE){var h=parseInt(String(s.getBrowserVersion()),10);l.oldIE=h<11,l.modernIE=h>=11}l.kernel=["msie","webkit","blink","gecko","msedge","tablet","mobile"].find(function(e){return s.getEngineName().toLowerCase().includes(e)}),l.isLarkTab=/from\/(old_)?lark_tab/i.test(o),l.isOldLarkTab=/from\/old_lark_tab/i.test(o);var u=l.isLark||l.isDocs;l.isBytedanceApp=u,l.isIPhoneSeries=c,l.isIOSBelow12=function(){var e=function(){if(!((e=navigator.userAgent).indexOf("iPhone")>0||e.indexOf("iPad")>0||e.indexOf("iPhone")>0))return null;var e,t=navigator.userAgent.match(/OS (\d+)_(\d+)_?(\d+)?/);return t?{major:+t[1],minor:+t[2]}:null}();return!!e&&e.major<12},l.getChromeVersion=function(){var e=navigator.userAgent.match(/Chrome\/([\d.]+)/i);return e&&e[1]?e[1]:null},l.isH5=l.isMobile&&!l.isBytedanceApp||l.isOpendoc&&l.isMobile;function c(e){var t=RegExp("(iPhone\\s"+e+")");return!!navigator.userAgent.match(t)}t.Z=l},811492:function(e,t,r){r.d(t,{P:function(){return n}});function n(e,t,r){var n=r.value;r.value=function(e){var t=e.children;return e.attributes.lmkr?t:n.apply(this,[e])}}},154463:function(e,t,r){r.d(t,{u:function(){return i}});var n="list",i=function(e,t,r){for(var i,a,o,s=e.selection.getSelection(),l=s.start,h=s.end,u=Math.min(l.line,h.line),c=Math.max(l.line,h.line),d=u;d<=c;d++){var m=e.getContentState().getLineAttributes(l.zoneId,d).toMap();if(m[n]){if(m[n].includes(t)){var p=parseInt(m[n].split(t)[1]);r?p<15&&e.getContentState().setLineAttributes(l.zoneId,d,((i={})[n]=""+t+ ++p,i)):1===p?e.getContentState().setLineAttributes(l.zoneId,d,((a={})[n]="",a)):e.getContentState().setLineAttributes(l.zoneId,d,((o={})[n]=""+t+--p,o))}}else m["text-indent"]&&"indent"===t?r?e.getContentState().setLineAttributes(l.zoneId,d,{list:"indent1"}):e.getContentState().setLineAttributes(l.zoneId,d,{"text-indent":""}):"indent"===t&&r&&e.getContentState().setLineAttributes(l.zoneId,d,{"text-indent":"true"})}}},167935:function(e,t,r){r.d(t,{A:function(){return i}});var n=r(455393);function i(e){var t,r,i={};try{for(var a=(0,n._)(e),o=a.next();!o.done;o=a.next()){var s=o.value;i[s[0]]=s[1]}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return i}},809919:function(e,t,r){r.d(t,{D:function(){return i}});var n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function i(e){void 0===e&&(e=20);for(var t="",r=0;r<e;r++){var i=Math.floor(Math.random()*n.length);t+=n[i]}return t}},61414:function(e,t,r){r.d(t,{h:function(){return i}});var n=Object.prototype.toString;function i(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":n.call(e)}},816329:function(e,t,r){r.d(t,{Q:function(){return n}});function n(e,t){var r=e.zoneId,n=e.line,i=e.offset;if(i<1)return!1;var a=t.getZoneState(r);if(!a)throw Error("isEndOfLine execute error: zoneId "+r+" does not exist.");var o=a.getLine(n);if(!o)throw Error("isEndOfLine execute error: zoneId "+r+" line "+n+" does not exist.");return i+1===o.length()}},793454:function(e,t,r){r.r(t),r.d(t,{ParseError:function(){return a},SETTINGS_SCHEMA:function(){return O},__defineFunction:function(){return tS},__defineMacro:function(){return rY},__defineSymbol:function(){return eL},__domTree:function(){return nQ},__parse:function(){return nK},__renderToDomTree:function(){return nj},__renderToHTMLTree:function(){return nZ},__setFontMetrics:function(){return en},default:function(){return nJ},render:function(){return nW},renderToString:function(){return nG},version:function(){return n$}});class n{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,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 n(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class i{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new i(t,n.range(this,e))}}class a{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+e,n=t&&t.loc;if(n&&n.start<=n.end){var i,o,s,l,h=n.lexer.input;i=n.start,o=n.end,i===h.length?r+=" at end of input: ":r+=" at position "+(i+1)+": ";var u=h.slice(i,o).replace(/[^]/g,"$&̲");s=i>15?"…"+h.slice(i-15,i):h.slice(0,i),r+=s+u+(l=o+15<h.length?h.slice(o,o+15)+"…":h.slice(o))}var c=Error(r);return c.name="ParseError",c.__proto__=a.prototype,c.position=i,null!=i&&null!=o&&(c.length=o-i),c.rawMessage=e,c}}a.prototype.__proto__=Error.prototype;var o,s,l,h,u,c,d,m,p,f,g,v,y,b,x,w,S,k,M,z,A,T,C=/([A-Z])/g,E={"&":"&",">":">","<":"<",'"':""","'":"'"},I=/[&><"']/g,N=function e(t){if("ordgroup"===t.type)return 1===t.body.length?e(t.body[0]):t;if("color"===t.type)return 1===t.body.length?e(t.body[0]):t;if("font"===t.type)return e(t.body);else return t},L=function(e){if(!e)throw Error("Expected non-null, but got "+String(e));return e},B={contains:function(e,t){return -1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(I,e=>E[e])},hyphenate:function(e){return e.replace(C,"-$1").toLowerCase()},getBaseElem:N,isCharacterBox:function(e){var t=N(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"===t[2]&&/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"}},O={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}};class D{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},O)if(O.hasOwnProperty(t)){var r=O[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:function(e){if(e.default)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{}}}(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 a("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e)+"]",r)}}useStrictBehavior(e,t,r){var n=this.strict;if("function"==typeof n)try{n=n(e,t,r)}catch(e){n="error"}if(!n||"ignore"===n)return!1;if(!0===n||"error"===n)return!0;if("warn"===n)return!1;else return!1}isTrusted(e){if(e.url&&!e.protocol){var t=B.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}return!!("function"==typeof this.trust?this.trust(e):this.trust)}}class R{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return q[P[this.id]]}sub(){return q[H[this.id]]}fracNum(){return q[F[this.id]]}fracDen(){return q[_[this.id]]}cramp(){return q[V[this.id]]}text(){return q[U[this.id]]}isTight(){return this.size>=2}}var q=[new R(0,0,!1),new R(1,0,!0),new R(2,1,!1),new R(3,1,!0),new R(4,2,!1),new R(5,2,!0),new R(6,3,!1),new R(7,3,!0)],P=[4,5,4,5,6,7,6,7],H=[5,5,5,5,7,7,7,7],F=[2,3,4,5,6,7,6,7],_=[3,3,5,5,7,7,7,7],V=[1,1,3,3,5,5,7,7],U=[0,1,2,3,2,3,2,3],X={DISPLAY:q[0],TEXT:q[2],SCRIPT:q[4],SCRIPTSCRIPT:q[6]},W=[{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]]}],G=[];function K(e){for(var t=0;t<G.length;t+=2)if(e>=G[t]&&e<=G[t+1])return!0;return!1}W.forEach(e=>e.blocks.forEach(e=>G.push(...e)));var Y=function(e,t,r){t*=1e3;var n,i,a,o,s,l,h,u,c,d,m,p,f="";switch(e){case"sqrtMain":;i=80,f="M95,"+(622+(n=t)+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"+n/2.075+" -"+n+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+n)+"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+n)+" "+i+"h400000v"+(40+n)+"h-400000z";break;case"sqrtSize1":;o=80,f="M263,"+(601+(a=t)+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"+a/2.084+" -"+a+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+a)+"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+a)+" "+o+"h400000v"+(40+a)+"h-400000z";break;case"sqrtSize2":;l=80,f="M983 "+(10+(s=t)+80)+"\nl"+s/3.13+" -"+s+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+s)+"\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+s)+" "+l+"h400000v"+(40+s)+"h-400000z";break;case"sqrtSize3":;u=80,f="M424,"+(2398+(h=t)+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"+h/4.223+" -"+h+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+h)+"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+h)+" "+u+"\nh400000v"+(40+h)+"h-400000z";break;case"sqrtSize4":;d=80,f="M473,"+(2713+(c=t)+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+c/5.298+" -"+c+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+c)+"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+c)+" "+d+"h400000v"+(40+c)+"H1017.7z";break;case"sqrtTall":;p=80,f="M702 "+((m=t)+80)+"H400000"+(40+m)+"\nH742v"+(r-54-p-m)+"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 "+p+"H400000v"+(40+m)+"H742z"}return f},j=function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t)+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t)+" H478z";default:return""}},Z={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:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 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:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 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:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",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"},Q=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 Error("Unknown stretchy delimiter.")}};class J{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return B.contains(this.classes,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 ee={"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:[-.00099,.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:[-.00099,.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:[-.00099,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-.00099,.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]}},et={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]},er={Å:"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 en(e,t){ee[e]=t}function ei(e,t,r){if(!ee[t])throw Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),i=ee[t][n];if(!i&&e[0]in er&&(n=er[e[0]].charCodeAt(0),i=ee[t][n]),!i&&"text"===r&&K(n)&&(i=ee[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var ea={},eo=[[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]],es=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],el=function(e,t){return t.size<2?e:eo[e-1][t.size-1]};class eh{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||eh.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=es[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};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new eh(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:el(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:es[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=el(eh.BASESIZE,e);return this.size===t&&this.textSize===eh.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!==eh.BASESIZE?["sizing","reset-size"+this.size,"size"+eh.BASESIZE]:[]}fontMetrics(){return!this._fontMetrics&&(this._fontMetrics=function(e){var t;if(!ea[t=e>=5?0:e>=3?1:2]){var r=ea[t]={cssEmPerMu:et.quad[t]/18};for(var n in et)et.hasOwnProperty(n)&&(r[n]=et[n][t])}return ea[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}eh.BASESIZE=6;var eu={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},ec={ex:!0,em:!0,mu:!0},ed=function(e){return"string"!=typeof e&&(e=e.unit),e in eu||e in ec||"ex"===e},em=function(e,t){var r,n;if(e.unit in eu)r=eu[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{if(n=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=n.fontMetrics().xHeight;else if("em"===e.unit)r=n.fontMetrics().quad;else throw new a("Invalid unit: '"+e.unit+"'");n!==t&&(r*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},ep=function(e){return+e.toFixed(4)+"em"},ef=function(e){return e.filter(e=>e).join(" ")},eg=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)}},ev=function(e){var t=document.createElement(e);for(var r in t.className=ef(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)t.appendChild(this.children[i].toNode());return t},ey=/[\s"'>/=\x00-\x1f]/,eb=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+B.escape(ef(this.classes))+'"');var r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=B.hyphenate(n)+":"+this.style[n]+";");for(var i in r&&(t+=' style="'+B.escape(r)+'"'),this.attributes)if(this.attributes.hasOwnProperty(i)){if(ey.test(i))throw new a("Invalid attribute name '"+i+"'");t+=" "+i+'="'+B.escape(this.attributes[i])+'"'}t+=">";for(var o=0;o<this.children.length;o++)t+=this.children[o].toMarkup();return t+="</"+e+">"};class ex{constructor(e,t,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,eg.call(this,e,r,n),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return B.contains(this.classes,e)}toNode(){return ev.call(this,"span")}toMarkup(){return eb.call(this,"span")}}class ew{constructor(e,t,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,eg.call(this,t,n),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return B.contains(this.classes,e)}toNode(){return ev.call(this,"a")}toMarkup(){return eb.call(this,"a")}}class eS{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return B.contains(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e='<img src="'+B.escape(this.src)+'"'+(' alt="'+B.escape(this.alt))+'"',t="";for(var r in this.style)this.style.hasOwnProperty(r)&&(t+=B.hyphenate(r)+":"+this.style[r]+";");return t&&(e+=' style="'+B.escape(t)+'"'),e+="'/>"}}var ek={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class eM{constructor(e,t,r,n,i,a,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=r||0,this.italic=n||0,this.skew=i||0,this.width=a||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t<W.length;t++){for(var r=W[t],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(e>=i[0]&&e<=i[1])return r.name}}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ek[this.text])}hasClass(e){return B.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=ep(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=ef(this.classes)),this.style)this.style.hasOwnProperty(r)&&((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="'+B.escape(ef(this.classes))+'"');var r="";for(var n in this.italic>0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(n)&&(r+=B.hyphenate(n)+":"+this.style[n]+";");r&&(e=!0,t+=' style="'+B.escape(r)+'"');var i=B.escape(this.text);return e?t+=">"+i+"</span>":i}}class ez{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&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 in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+B.escape(this.attributes[t])+'"');e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>"}}class eA{constructor(e,t){this.pathName=void 0,this.alternate=void 0,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",Z[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+B.escape(this.alternate)+'"/>':'<path d="'+B.escape(Z[this.pathName])+'"/>'}}class eT{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+B.escape(this.attributes[t])+'"');return e+="/>"}}function eC(e){if(e instanceof eM)return e;throw Error("Expected symbolNode but got "+String(e)+".")}var eE={bin:1,close:1,inner:1,open:1,punct:1,rel:1},eI={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},eN={math:{},text:{}};function eL(e,t,r,n,i,a){eN[e][i]={font:t,group:r,replace:n},a&&n&&(eN[e][n]=eN[e][i])}var eB="math",eO="text",eD="main",eR="accent-token",eq="close",eP="inner",eH="mathord",eF="op-token",e_="open",eV="punct",eU="spacing",eX="textord";eL(eB,eD,"rel","≡","\\equiv",!0),eL(eB,eD,"rel","≺","\\prec",!0),eL(eB,eD,"rel","≻","\\succ",!0),eL(eB,eD,"rel","∼","\\sim",!0),eL(eB,eD,"rel","⊥","\\perp"),eL(eB,eD,"rel","⪯","\\preceq",!0),eL(eB,eD,"rel","⪰","\\succeq",!0),eL(eB,eD,"rel","≃","\\simeq",!0),eL(eB,eD,"rel","∣","\\mid",!0),eL(eB,eD,"rel","≪","\\ll",!0),eL(eB,eD,"rel","≫","\\gg",!0),eL(eB,eD,"rel","≍","\\asymp",!0),eL(eB,eD,"rel","∥","\\parallel"),eL(eB,eD,"rel","⋈","\\bowtie",!0),eL(eB,eD,"rel","⌣","\\smile",!0),eL(eB,eD,"rel","⊑","\\sqsubseteq",!0),eL(eB,eD,"rel","⊒","\\sqsupseteq",!0),eL(eB,eD,"rel","≐","\\doteq",!0),eL(eB,eD,"rel","⌢","\\frown",!0),eL(eB,eD,"rel","∋","\\ni",!0),eL(eB,eD,"rel","∝","\\propto",!0),eL(eB,eD,"rel","⊢","\\vdash",!0),eL(eB,eD,"rel","⊣","\\dashv",!0),eL(eB,eD,"rel","∋","\\owns"),eL(eB,eD,eV,".","\\ldotp"),eL(eB,eD,eV,"⋅","\\cdotp"),eL(eB,eD,eX,"#","\\#"),eL(eO,eD,eX,"#","\\#"),eL(eB,eD,eX,"&","\\&"),eL(eO,eD,eX,"&","\\&"),eL(eB,eD,eX,"ℵ","\\aleph",!0),eL(eB,eD,eX,"∀","\\forall",!0),eL(eB,eD,eX,"ℏ","\\hbar",!0),eL(eB,eD,eX,"∃","\\exists",!0),eL(eB,eD,eX,"∇","\\nabla",!0),eL(eB,eD,eX,"♭","\\flat",!0),eL(eB,eD,eX,"ℓ","\\ell",!0),eL(eB,eD,eX,"♮","\\natural",!0),eL(eB,eD,eX,"♣","\\clubsuit",!0),eL(eB,eD,eX,"℘","\\wp",!0),eL(eB,eD,eX,"♯","\\sharp",!0),eL(eB,eD,eX,"♢","\\diamondsuit",!0),eL(eB,eD,eX,"ℜ","\\Re",!0),eL(eB,eD,eX,"♡","\\heartsuit",!0),eL(eB,eD,eX,"ℑ","\\Im",!0),eL(eB,eD,eX,"♠","\\spadesuit",!0),eL(eB,eD,eX,"\xa7","\\S",!0),eL(eO,eD,eX,"\xa7","\\S"),eL(eB,eD,eX,"\xb6","\\P",!0),eL(eO,eD,eX,"\xb6","\\P"),eL(eB,eD,eX,"†","\\dag"),eL(eO,eD,eX,"†","\\dag"),eL(eO,eD,eX,"†","\\textdagger"),eL(eB,eD,eX,"‡","\\ddag"),eL(eO,eD,eX,"‡","\\ddag"),eL(eO,eD,eX,"‡","\\textdaggerdbl"),eL(eB,eD,eq,"⎱","\\rmoustache",!0),eL(eB,eD,e_,"⎰","\\lmoustache",!0),eL(eB,eD,eq,"⟯","\\rgroup",!0),eL(eB,eD,e_,"⟮","\\lgroup",!0),eL(eB,eD,"bin","∓","\\mp",!0),eL(eB,eD,"bin","⊖","\\ominus",!0),eL(eB,eD,"bin","⊎","\\uplus",!0),eL(eB,eD,"bin","⊓","\\sqcap",!0),eL(eB,eD,"bin","∗","\\ast"),eL(eB,eD,"bin","⊔","\\sqcup",!0),eL(eB,eD,"bin","◯","\\bigcirc",!0),eL(eB,eD,"bin","∙","\\bullet",!0),eL(eB,eD,"bin","‡","\\ddagger"),eL(eB,eD,"bin","≀","\\wr",!0),eL(eB,eD,"bin","⨿","\\amalg"),eL(eB,eD,"bin","&","\\And"),eL(eB,eD,"rel","⟵","\\longleftarrow",!0),eL(eB,eD,"rel","⇐","\\Leftarrow",!0),eL(eB,eD,"rel","⟸","\\Longleftarrow",!0),eL(eB,eD,"rel","⟶","\\longrightarrow",!0),eL(eB,eD,"rel","⇒","\\Rightarrow",!0),eL(eB,eD,"rel","⟹","\\Longrightarrow",!0),eL(eB,eD,"rel","↔","\\leftrightarrow",!0),eL(eB,eD,"rel","⟷","\\longleftrightarrow",!0),eL(eB,eD,"rel","⇔","\\Leftrightarrow",!0),eL(eB,eD,"rel","⟺","\\Longleftrightarrow",!0),eL(eB,eD,"rel","↦","\\mapsto",!0),eL(eB,eD,"rel","⟼","\\longmapsto",!0),eL(eB,eD,"rel","↗","\\nearrow",!0),eL(eB,eD,"rel","↩","\\hookleftarrow",!0),eL(eB,eD,"rel","↪","\\hookrightarrow",!0),eL(eB,eD,"rel","↘","\\searrow",!0),eL(eB,eD,"rel","↼","\\leftharpoonup",!0),eL(eB,eD,"rel","⇀","\\rightharpoonup",!0),eL(eB,eD,"rel","↙","\\swarrow",!0),eL(eB,eD,"rel","↽","\\leftharpoondown",!0),eL(eB,eD,"rel","⇁","\\rightharpoondown",!0),eL(eB,eD,"rel","↖","\\nwarrow",!0),eL(eB,eD,"rel","⇌","\\rightleftharpoons",!0),eL(eB,"ams","rel","≮","\\nless",!0),eL(eB,"ams","rel","","\\@nleqslant"),eL(eB,"ams","rel","","\\@nleqq"),eL(eB,"ams","rel","⪇","\\lneq",!0),eL(eB,"ams","rel","≨","\\lneqq",!0),eL(eB,"ams","rel","","\\@lvertneqq"),eL(eB,"ams","rel","⋦","\\lnsim",!0),eL(eB,"ams","rel","⪉","\\lnapprox",!0),eL(eB,"ams","rel","⊀","\\nprec",!0),eL(eB,"ams","rel","⋠","\\npreceq",!0),eL(eB,"ams","rel","⋨","\\precnsim",!0),eL(eB,"ams","rel","⪹","\\precnapprox",!0),eL(eB,"ams","rel","≁","\\nsim",!0),eL(eB,"ams","rel","","\\@nshortmid"),eL(eB,"ams","rel","∤","\\nmid",!0),eL(eB,"ams","rel","⊬","\\nvdash",!0),eL(eB,"ams","rel","⊭","\\nvDash",!0),eL(eB,"ams","rel","⋪","\\ntriangleleft"),eL(eB,"ams","rel","⋬","\\ntrianglelefteq",!0),eL(eB,"ams","rel","⊊","\\subsetneq",!0),eL(eB,"ams","rel","","\\@varsubsetneq"),eL(eB,"ams","rel","⫋","\\subsetneqq",!0),eL(eB,"ams","rel","","\\@varsubsetneqq"),eL(eB,"ams","rel","≯","\\ngtr",!0),eL(eB,"ams","rel","","\\@ngeqslant"),eL(eB,"ams","rel","","\\@ngeqq"),eL(eB,"ams","rel","⪈","\\gneq",!0),eL(eB,"ams","rel","≩","\\gneqq",!0),eL(eB,"ams","rel","","\\@gvertneqq"),eL(eB,"ams","rel","⋧","\\gnsim",!0),eL(eB,"ams","rel","⪊","\\gnapprox",!0),eL(eB,"ams","rel","⊁","\\nsucc",!0),eL(eB,"ams","rel","⋡","\\nsucceq",!0),eL(eB,"ams","rel","⋩","\\succnsim",!0),eL(eB,"ams","rel","⪺","\\succnapprox",!0),eL(eB,"ams","rel","≆","\\ncong",!0),eL(eB,"ams","rel","","\\@nshortparallel"),eL(eB,"ams","rel","∦","\\nparallel",!0),eL(eB,"ams","rel","⊯","\\nVDash",!0),eL(eB,"ams","rel","⋫","\\ntriangleright"),eL(eB,"ams","rel","⋭","\\ntrianglerighteq",!0),eL(eB,"ams","rel","","\\@nsupseteqq"),eL(eB,"ams","rel","⊋","\\supsetneq",!0),eL(eB,"ams","rel","","\\@varsupsetneq"),eL(eB,"ams","rel","⫌","\\supsetneqq",!0),eL(eB,"ams","rel","","\\@varsupsetneqq"),eL(eB,"ams","rel","⊮","\\nVdash",!0),eL(eB,"ams","rel","⪵","\\precneqq",!0),eL(eB,"ams","rel","⪶","\\succneqq",!0),eL(eB,"ams","rel","","\\@nsubseteqq"),eL(eB,"ams","bin","⊴","\\unlhd"),eL(eB,"ams","bin","⊵","\\unrhd"),eL(eB,"ams","rel","↚","\\nleftarrow",!0),eL(eB,"ams","rel","↛","\\nrightarrow",!0),eL(eB,"ams","rel","⇍","\\nLeftarrow",!0),eL(eB,"ams","rel","⇏","\\nRightarrow",!0),eL(eB,"ams","rel","↮","\\nleftrightarrow",!0),eL(eB,"ams","rel","⇎","\\nLeftrightarrow",!0),eL(eB,"ams","rel","△","\\vartriangle"),eL(eB,"ams",eX,"ℏ","\\hslash"),eL(eB,"ams",eX,"▽","\\triangledown"),eL(eB,"ams",eX,"◊","\\lozenge"),eL(eB,"ams",eX,"Ⓢ","\\circledS"),eL(eB,"ams",eX,"\xae","\\circledR"),eL(eO,"ams",eX,"\xae","\\circledR"),eL(eB,"ams",eX,"∡","\\measuredangle",!0),eL(eB,"ams",eX,"∄","\\nexists"),eL(eB,"ams",eX,"℧","\\mho"),eL(eB,"ams",eX,"Ⅎ","\\Finv",!0),eL(eB,"ams",eX,"⅁","\\Game",!0),eL(eB,"ams",eX,"‵","\\backprime"),eL(eB,"ams",eX,"▲","\\blacktriangle"),eL(eB,"ams",eX,"▼","\\blacktriangledown"),eL(eB,"ams",eX,"■","\\blacksquare"),eL(eB,"ams",eX,"⧫","\\blacklozenge"),eL(eB,"ams",eX,"★","\\bigstar"),eL(eB,"ams",eX,"∢","\\sphericalangle",!0),eL(eB,"ams",eX,"∁","\\complement",!0),eL(eB,"ams",eX,"\xf0","\\eth",!0),eL(eO,eD,eX,"\xf0","\xf0"),eL(eB,"ams",eX,"╱","\\diagup"),eL(eB,"ams",eX,"╲","\\diagdown"),eL(eB,"ams",eX,"□","\\square"),eL(eB,"ams",eX,"□","\\Box"),eL(eB,"ams",eX,"◊","\\Diamond"),eL(eB,"ams",eX,"\xa5","\\yen",!0),eL(eO,"ams",eX,"\xa5","\\yen",!0),eL(eB,"ams",eX,"✓","\\checkmark",!0),eL(eO,"ams",eX,"✓","\\checkmark"),eL(eB,"ams",eX,"ℶ","\\beth",!0),eL(eB,"ams",eX,"ℸ","\\daleth",!0),eL(eB,"ams",eX,"ℷ","\\gimel",!0),eL(eB,"ams",eX,"ϝ","\\digamma",!0),eL(eB,"ams",eX,"ϰ","\\varkappa"),eL(eB,"ams",e_,"┌","\\@ulcorner",!0),eL(eB,"ams",eq,"┐","\\@urcorner",!0),eL(eB,"ams",e_,"└","\\@llcorner",!0),eL(eB,"ams",eq,"┘","\\@lrcorner",!0),eL(eB,"ams","rel","≦","\\leqq",!0),eL(eB,"ams","rel","⩽","\\leqslant",!0),eL(eB,"ams","rel","⪕","\\eqslantless",!0),eL(eB,"ams","rel","≲","\\lesssim",!0),eL(eB,"ams","rel","⪅","\\lessapprox",!0),eL(eB,"ams","rel","≊","\\approxeq",!0),eL(eB,"ams","bin","⋖","\\lessdot"),eL(eB,"ams","rel","⋘","\\lll",!0),eL(eB,"ams","rel","≶","\\lessgtr",!0),eL(eB,"ams","rel","⋚","\\lesseqgtr",!0),eL(eB,"ams","rel","⪋","\\lesseqqgtr",!0),eL(eB,"ams","rel","≑","\\doteqdot"),eL(eB,"ams","rel","≓","\\risingdotseq",!0),eL(eB,"ams","rel","≒","\\fallingdotseq",!0),eL(eB,"ams","rel","∽","\\backsim",!0),eL(eB,"ams","rel","⋍","\\backsimeq",!0),eL(eB,"ams","rel","⫅","\\subseteqq",!0),eL(eB,"ams","rel","⋐","\\Subset",!0),eL(eB,"ams","rel","⊏","\\sqsubset",!0),eL(eB,"ams","rel","≼","\\preccurlyeq",!0),eL(eB,"ams","rel","⋞","\\curlyeqprec",!0),eL(eB,"ams","rel","≾","\\precsim",!0),eL(eB,"ams","rel","⪷","\\precapprox",!0),eL(eB,"ams","rel","⊲","\\vartriangleleft"),eL(eB,"ams","rel","⊴","\\trianglelefteq"),eL(eB,"ams","rel","⊨","\\vDash",!0),eL(eB,"ams","rel","⊪","\\Vvdash",!0),eL(eB,"ams","rel","⌣","\\smallsmile"),eL(eB,"ams","rel","⌢","\\smallfrown"),eL(eB,"ams","rel","≏","\\bumpeq",!0),eL(eB,"ams","rel","≎","\\Bumpeq",!0),eL(eB,"ams","rel","≧","\\geqq",!0),eL(eB,"ams","rel","⩾","\\geqslant",!0),eL(eB,"ams","rel","⪖","\\eqslantgtr",!0),eL(eB,"ams","rel","≳","\\gtrsim",!0),eL(eB,"ams","rel","⪆","\\gtrapprox",!0),eL(eB,"ams","bin","⋗","\\gtrdot"),eL(eB,"ams","rel","⋙","\\ggg",!0),eL(eB,"ams","rel","≷","\\gtrless",!0),eL(eB,"ams","rel","⋛","\\gtreqless",!0),eL(eB,"ams","rel","⪌","\\gtreqqless",!0),eL(eB,"ams","rel","≖","\\eqcirc",!0),eL(eB,"ams","rel","≗","\\circeq",!0),eL(eB,"ams","rel","≜","\\triangleq",!0),eL(eB,"ams","rel","∼","\\thicksim"),eL(eB,"ams","rel","≈","\\thickapprox"),eL(eB,"ams","rel","⫆","\\supseteqq",!0),eL(eB,"ams","rel","⋑","\\Supset",!0),eL(eB,"ams","rel","⊐","\\sqsupset",!0),eL(eB,"ams","rel","≽","\\succcurlyeq",!0),eL(eB,"ams","rel","⋟","\\curlyeqsucc",!0),eL(eB,"ams","rel","≿","\\succsim",!0),eL(eB,"ams","rel","⪸","\\succapprox",!0),eL(eB,"ams","rel","⊳","\\vartriangleright"),eL(eB,"ams","rel","⊵","\\trianglerighteq"),eL(eB,"ams","rel","⊩","\\Vdash",!0),eL(eB,"ams","rel","∣","\\shortmid"),eL(eB,"ams","rel","∥","\\shortparallel"),eL(eB,"ams","rel","≬","\\between",!0),eL(eB,"ams","rel","⋔","\\pitchfork",!0),eL(eB,"ams","rel","∝","\\varpropto"),eL(eB,"ams","rel","◀","\\blacktriangleleft"),eL(eB,"ams","rel","∴","\\therefore",!0),eL(eB,"ams","rel","∍","\\backepsilon"),eL(eB,"ams","rel","▶","\\blacktriangleright"),eL(eB,"ams","rel","∵","\\because",!0),eL(eB,"ams","rel","⋘","\\llless"),eL(eB,"ams","rel","⋙","\\gggtr"),eL(eB,"ams","bin","⊲","\\lhd"),eL(eB,"ams","bin","⊳","\\rhd"),eL(eB,"ams","rel","≂","\\eqsim",!0),eL(eB,eD,"rel","⋈","\\Join"),eL(eB,"ams","rel","≑","\\Doteq",!0),eL(eB,"ams","bin","∔","\\dotplus",!0),eL(eB,"ams","bin","∖","\\smallsetminus"),eL(eB,"ams","bin","⋒","\\Cap",!0),eL(eB,"ams","bin","⋓","\\Cup",!0),eL(eB,"ams","bin","⩞","\\doublebarwedge",!0),eL(eB,"ams","bin","⊟","\\boxminus",!0),eL(eB,"ams","bin","⊞","\\boxplus",!0),eL(eB,"ams","bin","⋇","\\divideontimes",!0),eL(eB,"ams","bin","⋉","\\ltimes",!0),eL(eB,"ams","bin","⋊","\\rtimes",!0),eL(eB,"ams","bin","⋋","\\leftthreetimes",!0),eL(eB,"ams","bin","⋌","\\rightthreetimes",!0),eL(eB,"ams","bin","⋏","\\curlywedge",!0),eL(eB,"ams","bin","⋎","\\curlyvee",!0),eL(eB,"ams","bin","⊝","\\circleddash",!0),eL(eB,"ams","bin","⊛","\\circledast",!0),eL(eB,"ams","bin","⋅","\\centerdot"),eL(eB,"ams","bin","⊺","\\intercal",!0),eL(eB,"ams","bin","⋒","\\doublecap"),eL(eB,"ams","bin","⋓","\\doublecup"),eL(eB,"ams","bin","⊠","\\boxtimes",!0),eL(eB,"ams","rel","⇢","\\dashrightarrow",!0),eL(eB,"ams","rel","⇠","\\dashleftarrow",!0),eL(eB,"ams","rel","⇇","\\leftleftarrows",!0),eL(eB,"ams","rel","⇆","\\leftrightarrows",!0),eL(eB,"ams","rel","⇚","\\Lleftarrow",!0),eL(eB,"ams","rel","↞","\\twoheadleftarrow",!0),eL(eB,"ams","rel","↢","\\leftarrowtail",!0),eL(eB,"ams","rel","↫","\\looparrowleft",!0),eL(eB,"ams","rel","⇋","\\leftrightharpoons",!0),eL(eB,"ams","rel","↶","\\curvearrowleft",!0),eL(eB,"ams","rel","↺","\\circlearrowleft",!0),eL(eB,"ams","rel","↰","\\Lsh",!0),eL(eB,"ams","rel","⇈","\\upuparrows",!0),eL(eB,"ams","rel","↿","\\upharpoonleft",!0),eL(eB,"ams","rel","⇃","\\downharpoonleft",!0),eL(eB,eD,"rel","⊶","\\origof",!0),eL(eB,eD,"rel","⊷","\\imageof",!0),eL(eB,"ams","rel","⊸","\\multimap",!0),eL(eB,"ams","rel","↭","\\leftrightsquigarrow",!0),eL(eB,"ams","rel","⇉","\\rightrightarrows",!0),eL(eB,"ams","rel","⇄","\\rightleftarrows",!0),eL(eB,"ams","rel","↠","\\twoheadrightarrow",!0),eL(eB,"ams","rel","↣","\\rightarrowtail",!0),eL(eB,"ams","rel","↬","\\looparrowright",!0),eL(eB,"ams","rel","↷","\\curvearrowright",!0),eL(eB,"ams","rel","↻","\\circlearrowright",!0),eL(eB,"ams","rel","↱","\\Rsh",!0),eL(eB,"ams","rel","⇊","\\downdownarrows",!0),eL(eB,"ams","rel","↾","\\upharpoonright",!0),eL(eB,"ams","rel","⇂","\\downharpoonright",!0),eL(eB,"ams","rel","⇝","\\rightsquigarrow",!0),eL(eB,"ams","rel","⇝","\\leadsto"),eL(eB,"ams","rel","⇛","\\Rrightarrow",!0),eL(eB,"ams","rel","↾","\\restriction"),eL(eB,eD,eX,"‘","`"),eL(eB,eD,eX,"$","\\$"),eL(eO,eD,eX,"$","\\$"),eL(eO,eD,eX,"$","\\textdollar"),eL(eB,eD,eX,"%","\\%"),eL(eO,eD,eX,"%","\\%"),eL(eB,eD,eX,"_","\\_"),eL(eO,eD,eX,"_","\\_"),eL(eO,eD,eX,"_","\\textunderscore"),eL(eB,eD,eX,"∠","\\angle",!0),eL(eB,eD,eX,"∞","\\infty",!0),eL(eB,eD,eX,"′","\\prime"),eL(eB,eD,eX,"△","\\triangle"),eL(eB,eD,eX,"Γ","\\Gamma",!0),eL(eB,eD,eX,"Δ","\\Delta",!0),eL(eB,eD,eX,"Θ","\\Theta",!0),eL(eB,eD,eX,"Λ","\\Lambda",!0),eL(eB,eD,eX,"Ξ","\\Xi",!0),eL(eB,eD,eX,"Π","\\Pi",!0),eL(eB,eD,eX,"Σ","\\Sigma",!0),eL(eB,eD,eX,"Υ","\\Upsilon",!0),eL(eB,eD,eX,"Φ","\\Phi",!0),eL(eB,eD,eX,"Ψ","\\Psi",!0),eL(eB,eD,eX,"Ω","\\Omega",!0),eL(eB,eD,eX,"A","Α"),eL(eB,eD,eX,"B","Β"),eL(eB,eD,eX,"E","Ε"),eL(eB,eD,eX,"Z","Ζ"),eL(eB,eD,eX,"H","Η"),eL(eB,eD,eX,"I","Ι"),eL(eB,eD,eX,"K","Κ"),eL(eB,eD,eX,"M","Μ"),eL(eB,eD,eX,"N","Ν"),eL(eB,eD,eX,"O","Ο"),eL(eB,eD,eX,"P","Ρ"),eL(eB,eD,eX,"T","Τ"),eL(eB,eD,eX,"X","Χ"),eL(eB,eD,eX,"\xac","\\neg",!0),eL(eB,eD,eX,"\xac","\\lnot"),eL(eB,eD,eX,"⊤","\\top"),eL(eB,eD,eX,"⊥","\\bot"),eL(eB,eD,eX,"∅","\\emptyset"),eL(eB,"ams",eX,"∅","\\varnothing"),eL(eB,eD,eH,"α","\\alpha",!0),eL(eB,eD,eH,"β","\\beta",!0),eL(eB,eD,eH,"γ","\\gamma",!0),eL(eB,eD,eH,"δ","\\delta",!0),eL(eB,eD,eH,"ϵ","\\epsilon",!0),eL(eB,eD,eH,"ζ","\\zeta",!0),eL(eB,eD,eH,"η","\\eta",!0),eL(eB,eD,eH,"θ","\\theta",!0),eL(eB,eD,eH,"ι","\\iota",!0),eL(eB,eD,eH,"κ","\\kappa",!0),eL(eB,eD,eH,"λ","\\lambda",!0),eL(eB,eD,eH,"μ","\\mu",!0),eL(eB,eD,eH,"ν","\\nu",!0),eL(eB,eD,eH,"ξ","\\xi",!0),eL(eB,eD,eH,"ο","\\omicron",!0),eL(eB,eD,eH,"π","\\pi",!0),eL(eB,eD,eH,"ρ","\\rho",!0),eL(eB,eD,eH,"σ","\\sigma",!0),eL(eB,eD,eH,"τ","\\tau",!0),eL(eB,eD,eH,"υ","\\upsilon",!0),eL(eB,eD,eH,"ϕ","\\phi",!0),eL(eB,eD,eH,"χ","\\chi",!0),eL(eB,eD,eH,"ψ","\\psi",!0),eL(eB,eD,eH,"ω","\\omega",!0),eL(eB,eD,eH,"ε","\\varepsilon",!0),eL(eB,eD,eH,"ϑ","\\vartheta",!0),eL(eB,eD,eH,"ϖ","\\varpi",!0),eL(eB,eD,eH,"ϱ","\\varrho",!0),eL(eB,eD,eH,"ς","\\varsigma",!0),eL(eB,eD,eH,"φ","\\varphi",!0),eL(eB,eD,"bin","∗","*",!0),eL(eB,eD,"bin","+","+"),eL(eB,eD,"bin","−","-",!0),eL(eB,eD,"bin","⋅","\\cdot",!0),eL(eB,eD,"bin","∘","\\circ",!0),eL(eB,eD,"bin","\xf7","\\div",!0),eL(eB,eD,"bin","\xb1","\\pm",!0),eL(eB,eD,"bin","\xd7","\\times",!0),eL(eB,eD,"bin","∩","\\cap",!0),eL(eB,eD,"bin","∪","\\cup",!0),eL(eB,eD,"bin","∖","\\setminus",!0),eL(eB,eD,"bin","∧","\\land"),eL(eB,eD,"bin","∨","\\lor"),eL(eB,eD,"bin","∧","\\wedge",!0),eL(eB,eD,"bin","∨","\\vee",!0),eL(eB,eD,eX,"√","\\surd"),eL(eB,eD,e_,"⟨","\\langle",!0),eL(eB,eD,e_,"∣","\\lvert"),eL(eB,eD,e_,"∥","\\lVert"),eL(eB,eD,eq,"?","?"),eL(eB,eD,eq,"!","!"),eL(eB,eD,eq,"⟩","\\rangle",!0),eL(eB,eD,eq,"∣","\\rvert"),eL(eB,eD,eq,"∥","\\rVert"),eL(eB,eD,"rel","=","="),eL(eB,eD,"rel",":",":"),eL(eB,eD,"rel","≈","\\approx",!0),eL(eB,eD,"rel","≅","\\cong",!0),eL(eB,eD,"rel","≥","\\ge"),eL(eB,eD,"rel","≥","\\geq",!0),eL(eB,eD,"rel","←","\\gets"),eL(eB,eD,"rel",">","\\gt",!0),eL(eB,eD,"rel","∈","\\in",!0),eL(eB,eD,"rel","","\\@not"),eL(eB,eD,"rel","⊂","\\subset",!0),eL(eB,eD,"rel","⊃","\\supset",!0),eL(eB,eD,"rel","⊆","\\subseteq",!0),eL(eB,eD,"rel","⊇","\\supseteq",!0),eL(eB,"ams","rel","⊈","\\nsubseteq",!0),eL(eB,"ams","rel","⊉","\\nsupseteq",!0),eL(eB,eD,"rel","⊨","\\models"),eL(eB,eD,"rel","←","\\leftarrow",!0),eL(eB,eD,"rel","≤","\\le"),eL(eB,eD,"rel","≤","\\leq",!0),eL(eB,eD,"rel","<","\\lt",!0),eL(eB,eD,"rel","→","\\rightarrow",!0),eL(eB,eD,"rel","→","\\to"),eL(eB,"ams","rel","≱","\\ngeq",!0),eL(eB,"ams","rel","≰","\\nleq",!0),eL(eB,eD,eU,"\xa0","\\ "),eL(eB,eD,eU,"\xa0","\\space"),eL(eB,eD,eU,"\xa0","\\nobreakspace"),eL(eO,eD,eU,"\xa0","\\ "),eL(eO,eD,eU,"\xa0"," "),eL(eO,eD,eU,"\xa0","\\space"),eL(eO,eD,eU,"\xa0","\\nobreakspace"),eL(eB,eD,eU,null,"\\nobreak"),eL(eB,eD,eU,null,"\\allowbreak"),eL(eB,eD,eV,",",","),eL(eB,eD,eV,";",";"),eL(eB,"ams","bin","⊼","\\barwedge",!0),eL(eB,"ams","bin","⊻","\\veebar",!0),eL(eB,eD,"bin","⊙","\\odot",!0),eL(eB,eD,"bin","⊕","\\oplus",!0),eL(eB,eD,"bin","⊗","\\otimes",!0),eL(eB,eD,eX,"∂","\\partial",!0),eL(eB,eD,"bin","⊘","\\oslash",!0),eL(eB,"ams","bin","⊚","\\circledcirc",!0),eL(eB,"ams","bin","⊡","\\boxdot",!0),eL(eB,eD,"bin","△","\\bigtriangleup"),eL(eB,eD,"bin","▽","\\bigtriangledown"),eL(eB,eD,"bin","†","\\dagger"),eL(eB,eD,"bin","⋄","\\diamond"),eL(eB,eD,"bin","⋆","\\star"),eL(eB,eD,"bin","◃","\\triangleleft"),eL(eB,eD,"bin","▹","\\triangleright"),eL(eB,eD,e_,"{","\\{"),eL(eO,eD,eX,"{","\\{"),eL(eO,eD,eX,"{","\\textbraceleft"),eL(eB,eD,eq,"}","\\}"),eL(eO,eD,eX,"}","\\}"),eL(eO,eD,eX,"}","\\textbraceright"),eL(eB,eD,e_,"{","\\lbrace"),eL(eB,eD,eq,"}","\\rbrace"),eL(eB,eD,e_,"[","\\lbrack",!0),eL(eO,eD,eX,"[","\\lbrack",!0),eL(eB,eD,eq,"]","\\rbrack",!0),eL(eO,eD,eX,"]","\\rbrack",!0),eL(eB,eD,e_,"(","\\lparen",!0),eL(eB,eD,eq,")","\\rparen",!0),eL(eO,eD,eX,"<","\\textless",!0),eL(eO,eD,eX,">","\\textgreater",!0),eL(eB,eD,e_,"⌊","\\lfloor",!0),eL(eB,eD,eq,"⌋","\\rfloor",!0),eL(eB,eD,e_,"⌈","\\lceil",!0),eL(eB,eD,eq,"⌉","\\rceil",!0),eL(eB,eD,eX,"\\","\\backslash"),eL(eB,eD,eX,"∣","|"),eL(eB,eD,eX,"∣","\\vert"),eL(eO,eD,eX,"|","\\textbar",!0),eL(eB,eD,eX,"∥","\\|"),eL(eB,eD,eX,"∥","\\Vert"),eL(eO,eD,eX,"∥","\\textbardbl"),eL(eO,eD,eX,"~","\\textasciitilde"),eL(eO,eD,eX,"\\","\\textbackslash"),eL(eO,eD,eX,"^","\\textasciicircum"),eL(eB,eD,"rel","↑","\\uparrow",!0),eL(eB,eD,"rel","⇑","\\Uparrow",!0),eL(eB,eD,"rel","↓","\\downarrow",!0),eL(eB,eD,"rel","⇓","\\Downarrow",!0),eL(eB,eD,"rel","↕","\\updownarrow",!0),eL(eB,eD,"rel","⇕","\\Updownarrow",!0),eL(eB,eD,eF,"∐","\\coprod"),eL(eB,eD,eF,"⋁","\\bigvee"),eL(eB,eD,eF,"⋀","\\bigwedge"),eL(eB,eD,eF,"⨄","\\biguplus"),eL(eB,eD,eF,"⋂","\\bigcap"),eL(eB,eD,eF,"⋃","\\bigcup"),eL(eB,eD,eF,"∫","\\int"),eL(eB,eD,eF,"∫","\\intop"),eL(eB,eD,eF,"∬","\\iint"),eL(eB,eD,eF,"∭","\\iiint"),eL(eB,eD,eF,"∏","\\prod"),eL(eB,eD,eF,"∑","\\sum"),eL(eB,eD,eF,"⨂","\\bigotimes"),eL(eB,eD,eF,"⨁","\\bigoplus"),eL(eB,eD,eF,"⨀","\\bigodot"),eL(eB,eD,eF,"∮","\\oint"),eL(eB,eD,eF,"∯","\\oiint"),eL(eB,eD,eF,"∰","\\oiiint"),eL(eB,eD,eF,"⨆","\\bigsqcup"),eL(eB,eD,eF,"∫","\\smallint"),eL(eO,eD,eP,"…","\\textellipsis"),eL(eB,eD,eP,"…","\\mathellipsis"),eL(eO,eD,eP,"…","\\ldots",!0),eL(eB,eD,eP,"…","\\ldots",!0),eL(eB,eD,eP,"⋯","\\@cdots",!0),eL(eB,eD,eP,"⋱","\\ddots",!0),eL(eB,eD,eX,"⋮","\\varvdots"),eL(eO,eD,eX,"⋮","\\varvdots"),eL(eB,eD,eR,"ˊ","\\acute"),eL(eB,eD,eR,"ˋ","\\grave"),eL(eB,eD,eR,"\xa8","\\ddot"),eL(eB,eD,eR,"~","\\tilde"),eL(eB,eD,eR,"ˉ","\\bar"),eL(eB,eD,eR,"˘","\\breve"),eL(eB,eD,eR,"ˇ","\\check"),eL(eB,eD,eR,"^","\\hat"),eL(eB,eD,eR,"⃗","\\vec"),eL(eB,eD,eR,"˙","\\dot"),eL(eB,eD,eR,"˚","\\mathring"),eL(eB,eD,eH,"","\\@imath"),eL(eB,eD,eH,"","\\@jmath"),eL(eB,eD,eX,"ı","ı"),eL(eB,eD,eX,"ȷ","ȷ"),eL(eO,eD,eX,"ı","\\i",!0),eL(eO,eD,eX,"ȷ","\\j",!0),eL(eO,eD,eX,"\xdf","\\ss",!0),eL(eO,eD,eX,"\xe6","\\ae",!0),eL(eO,eD,eX,"œ","\\oe",!0),eL(eO,eD,eX,"\xf8","\\o",!0),eL(eO,eD,eX,"\xc6","\\AE",!0),eL(eO,eD,eX,"Œ","\\OE",!0),eL(eO,eD,eX,"\xd8","\\O",!0),eL(eO,eD,eR,"ˊ","\\'"),eL(eO,eD,eR,"ˋ","\\`"),eL(eO,eD,eR,"ˆ","\\^"),eL(eO,eD,eR,"˜","\\~"),eL(eO,eD,eR,"ˉ","\\="),eL(eO,eD,eR,"˘","\\u"),eL(eO,eD,eR,"˙","\\."),eL(eO,eD,eR,"\xb8","\\c"),eL(eO,eD,eR,"˚","\\r"),eL(eO,eD,eR,"ˇ","\\v"),eL(eO,eD,eR,"\xa8",'\\"'),eL(eO,eD,eR,"˝","\\H"),eL(eO,eD,eR,"◯","\\textcircled");var eW={"--":!0,"---":!0,"``":!0,"''":!0};eL(eO,eD,eX,"–","--",!0),eL(eO,eD,eX,"–","\\textendash"),eL(eO,eD,eX,"—","---",!0),eL(eO,eD,eX,"—","\\textemdash"),eL(eO,eD,eX,"‘","`",!0),eL(eO,eD,eX,"‘","\\textquoteleft"),eL(eO,eD,eX,"’","'",!0),eL(eO,eD,eX,"’","\\textquoteright"),eL(eO,eD,eX,"“","``",!0),eL(eO,eD,eX,"“","\\textquotedblleft"),eL(eO,eD,eX,"”","''",!0),eL(eO,eD,eX,"”","\\textquotedblright"),eL(eB,eD,eX,"\xb0","\\degree",!0),eL(eO,eD,eX,"\xb0","\\degree"),eL(eO,eD,eX,"\xb0","\\textdegree",!0),eL(eB,eD,eX,"\xa3","\\pounds"),eL(eB,eD,eX,"\xa3","\\mathsterling",!0),eL(eO,eD,eX,"\xa3","\\pounds"),eL(eO,eD,eX,"\xa3","\\textsterling",!0),eL(eB,"ams",eX,"✠","\\maltese"),eL(eO,"ams",eX,"✠","\\maltese");for(var eG='0123456789/@."',eK=0;eK<eG.length;eK++){var eY=eG.charAt(eK);eL(eB,eD,eX,eY,eY)}for(var ej='0123456789!@*()-=+";:?/.,',eZ=0;eZ<ej.length;eZ++){var e$=ej.charAt(eZ);eL(eO,eD,eX,e$,e$)}for(var eQ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",eJ=0;eJ<eQ.length;eJ++){var e0=eQ.charAt(eJ);eL(eB,eD,eH,e0,e0),eL(eO,eD,eX,e0,e0)}eL(eB,"ams",eX,"C","ℂ"),eL(eO,"ams",eX,"C","ℂ"),eL(eB,"ams",eX,"H","ℍ"),eL(eO,"ams",eX,"H","ℍ"),eL(eB,"ams",eX,"N","ℕ"),eL(eO,"ams",eX,"N","ℕ"),eL(eB,"ams",eX,"P","ℙ"),eL(eO,"ams",eX,"P","ℙ"),eL(eB,"ams",eX,"Q","ℚ"),eL(eO,"ams",eX,"Q","ℚ"),eL(eB,"ams",eX,"R","ℝ"),eL(eO,"ams",eX,"R","ℝ"),eL(eB,"ams",eX,"Z","ℤ"),eL(eO,"ams",eX,"Z","ℤ"),eL(eB,eD,eH,"h","ℎ"),eL(eO,eD,eH,"h","ℎ");for(var e1="",e4=0;e4<eQ.length;e4++){var e5=eQ.charAt(e4);eL(eB,eD,eH,e5,e1=String.fromCharCode(55349,56320+e4)),eL(eO,eD,eX,e5,e1),eL(eB,eD,eH,e5,e1=String.fromCharCode(55349,56372+e4)),eL(eO,eD,eX,e5,e1),eL(eB,eD,eH,e5,e1=String.fromCharCode(55349,56424+e4)),eL(eO,eD,eX,e5,e1),eL(eB,eD,eH,e5,e1=String.fromCharCode(55349,56580+e4)),eL(eO,eD,eX,e5,e1),eL(eB,eD,eH,e5,e1=String.fromCharCode(55349,56684+e4)),eL(eO,eD,eX,e5,e1),eL(eB,eD,eH,e5,e1=String.fromCharCode(55349,56736+e4)),eL(eO,eD,eX,e5,e1),eL(eB,eD,eH,e5,e1=String.fromCharCode(55349,56788+e4)),eL(eO,eD,eX,e5,e1),eL(eB,eD,eH,e5,e1=String.fromCharCode(55349,56840+e4)),eL(eO,eD,eX,e5,e1),eL(eB,eD,eH,e5,e1=String.fromCharCode(55349,56944+e4)),eL(eO,eD,eX,e5,e1),e4<26&&(eL(eB,eD,eH,e5,e1=String.fromCharCode(55349,56632+e4)),eL(eO,eD,eX,e5,e1),eL(eB,eD,eH,e5,e1=String.fromCharCode(55349,56476+e4)),eL(eO,eD,eX,e5,e1))}eL(eB,eD,eH,"k",e1=String.fromCharCode(55349,56668)),eL(eO,eD,eX,"k",e1);for(var e6=0;e6<10;e6++){var e3=e6.toString();eL(eB,eD,eH,e3,e1=String.fromCharCode(55349,57294+e6)),eL(eO,eD,eX,e3,e1),eL(eB,eD,eH,e3,e1=String.fromCharCode(55349,57314+e6)),eL(eO,eD,eX,e3,e1),eL(eB,eD,eH,e3,e1=String.fromCharCode(55349,57324+e6)),eL(eO,eD,eX,e3,e1),eL(eB,eD,eH,e3,e1=String.fromCharCode(55349,57334+e6)),eL(eO,eD,eX,e3,e1)}for(var e7="\xd0\xde\xfe",e8=0;e8<e7.length;e8++){var e2=e7.charAt(e8);eL(eB,eD,eH,e2,e2),eL(eO,eD,eX,e2,e2)}var e9=[["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"]],te=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],tt=function(e,t){var r=(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320)+65536,n="math"===t?0:1;if(119808<=r&&r<120484){var i=Math.floor((r-119808)/26);return[e9[i][2],e9[i][n]]}if(120782<=r&&r<=120831){var o=Math.floor((r-120782)/10);return[te[o][2],te[o][n]]}if(120485===r||120486===r)return[e9[0][2],e9[0][n]];else if(120486<r&&r<120782)return["",""];else throw new a("Unsupported character: "+e)},tr=function(e,t,r){return eN[r][e]&&eN[r][e].replace&&(e=eN[r][e].replace),{value:e,metrics:ei(e,t,r)}},tn=function(e,t,r,n,i){var a,o=tr(e,t,r),s=o.metrics;if(e=o.value,s){var l=s.italic;("text"===r||n&&"mathit"===n.font)&&(l=0),a=new eM(e,s.height,s.depth,l,s.skew,s.width,i)}else a=new eM(e,0,0,0,0,0,i);if(n){a.maxFontSize=n.sizeMultiplier,n.style.isTight()&&a.classes.push("mtight");var h=n.getColor();h&&(a.style.color=h)}return a},ti=(e,t)=>{if(ef(e.classes)!==ef(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},ta=function(e){for(var t=0,r=0,n=0,i=0;i<e.children.length;i++){var a=e.children[i];a.height>t&&(t=a.height),a.depth>r&&(r=a.depth),a.maxFontSize>n&&(n=a.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=n},to=function(e,t,r,n){var i=new ex(e,t,r,n);return ta(i),i},ts=(e,t,r,n)=>new ex(e,t,r,n),tl=function(e){var t=new J(e);return ta(t),t},th=function(e){if("individualShift"===e.positionType){for(var t,r=e.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,o=1;o<r.length;o++){var s=-r[o].shift-a-r[o].elem.depth,l=s-(r[o-1].elem.height+r[o-1].elem.depth);a+=s,n.push({type:"kern",size:l}),n.push(r[o])}return{children:n,depth:i}}if("top"===e.positionType){for(var h=e.positionData,u=0;u<e.children.length;u++){var c=e.children[u];h-="kern"===c.type?c.size:c.elem.height+c.elem.depth}t=h}else if("bottom"===e.positionType)t=-e.positionData;else{var d=e.children[0];if("elem"!==d.type)throw Error('First child must have type "elem".');if("shift"===e.positionType)t=-d.elem.depth-e.positionData;else if("firstBaseline"===e.positionType)t=-d.elem.depth;else throw Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:t}},tu=function(e,t,r){var n,i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}return i+"-"+(n="textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},tc={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"}},td={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},tm={fontMap:tc,makeSymbol:tn,mathsym:function(e,t,r,n){return(void 0===n&&(n=[]),"boldsymbol"===r.font&&tr(e,"Main-Bold",t).metrics)?tn(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===eN[t][e].font?tn(e,"Main-Regular",t,r,n):tn(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},makeSpan:to,makeSvgSpan:ts,makeLineSpan:function(e,t,r){var n=to([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=ep(n.height),n.maxFontSize=1,n},makeAnchor:function(e,t,r,n){var i=new ew(e,t,r,n);return ta(i),i},makeFragment:tl,wrapFragment:function(e,t){return e instanceof J?to([],[e],t):e},makeVList:function(e,t){for(var r,{children:n,depth:i}=th(e),a=0,o=0;o<n.length;o++){var s=n[o];if("elem"===s.type){var l=s.elem;a=Math.max(a,l.maxFontSize,l.height)}}a+=2;var h=to(["pstrut"],[]);h.style.height=ep(a);for(var u=[],c=i,d=i,m=i,p=0;p<n.length;p++){var f=n[p];if("kern"===f.type)m+=f.size;else{var g=f.elem,v=to(f.wrapperClasses||[],[h,g],void 0,f.wrapperStyle||{});v.style.top=ep(-a-m-g.depth),f.marginLeft&&(v.style.marginLeft=f.marginLeft),f.marginRight&&(v.style.marginRight=f.marginRight),u.push(v),m+=g.height+g.depth}c=Math.min(c,m),d=Math.max(d,m)}var y=to(["vlist"],u);if(y.style.height=ep(d),c<0){var b=to([],[]),x=to(["vlist"],[b]);x.style.height=ep(-c);var w=to(["vlist-s"],[new eM("")]);r=[to(["vlist-r"],[y,w]),to(["vlist-r"],[x])]}else r=[to(["vlist-r"],[y])];var S=to(["vlist-t"],r);return 2===r.length&&S.classes.push("vlist-t2"),S.height=d,S.depth=-c,S},makeOrd:function(e,t,r){var n=e.mode,i=e.text,a=["mord"],o="math"===n||"text"===n&&t.font,s=o?t.font:t.fontFamily,l="",h="";if(55349===i.charCodeAt(0)&&([l,h]=tt(i,n)),l.length>0)return tn(i,l,n,t,a.concat(h));if(s){if("boldsymbol"===s){var u,c,d,m,p,f,g=(u=i,c=n,d=0,m=0,"textord"!==r&&tr(u,"Math-BoldItalic",c).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"});p=g.fontName,f=[g.fontClass]}else o?(p=tc[s].fontName,f=[s]):(p=tu(s,t.fontWeight,t.fontShape),f=[s,t.fontWeight,t.fontShape]);if(tr(i,p,n).metrics)return tn(i,p,n,t,a.concat(f));if(eW.hasOwnProperty(i)&&"Typewriter"===p.slice(0,10)){for(var v=[],y=0;y<i.length;y++)v.push(tn(i[y],p,n,t,a.concat(f)));return tl(v)}}if("mathord"===r)return tn(i,"Math-Italic",n,t,a.concat(["mathnormal"]));if("textord"===r){var b=eN[n][i]&&eN[n][i].font;if("ams"===b)return tn(i,tu("amsrm",t.fontWeight,t.fontShape),n,t,a.concat("amsrm",t.fontWeight,t.fontShape));if("main"===b||!b)return tn(i,tu("textrm",t.fontWeight,t.fontShape),n,t,a.concat(t.fontWeight,t.fontShape));else{var x=tu(b,t.fontWeight,t.fontShape);return tn(i,x,n,t,a.concat(x,t.fontWeight,t.fontShape))}}throw Error("unexpected type: "+r+" in makeOrd")},makeGlue:(e,t)=>{var r=to(["mspace"],[],t),n=em(e,t);return r.style.marginRight=ep(n),r},staticSvg:function(e,t){var[r,n,i]=td[e],a=ts(["overlay"],[new ez([new eA(r)],{width:ep(n),height:ep(i),style:"width:"+ep(n),viewBox:"0 0 "+1e3*n+" "+1e3*i,preserveAspectRatio:"xMinYMin"})],t);return a.height=i,a.style.height=ep(i),a.style.width=ep(n),a},svgData:td,tryCombineChars:e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof eM&&n instanceof eM&&ti(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}},tp={number:3,unit:"mu"},tf={number:4,unit:"mu"},tg={number:5,unit:"mu"},tv={mord:{mop:tp,mbin:tf,mrel:tg,minner:tp},mop:{mord:tp,mop:tp,mrel:tg,minner:tp},mbin:{mord:tf,mop:tf,mopen:tf,minner:tf},mrel:{mord:tg,mop:tg,mopen:tg,minner:tg},mopen:{},mclose:{mop:tp,mbin:tf,mrel:tg,minner:tp},mpunct:{mord:tp,mop:tp,mrel:tg,mopen:tp,mclose:tp,mpunct:tp,minner:tp},minner:{mord:tp,mop:tp,mbin:tf,mrel:tg,mopen:tp,mpunct:tp,minner:tp}},ty={mord:{mop:tp},mop:{mord:tp,mop:tp},mbin:{},mrel:{},mopen:{},mclose:{mop:tp},mpunct:{},minner:{mop:tp}},tb={},tx={},tw={};function tS(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,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:i},l=0;l<r.length;++l)tb[r[l]]=s;t&&(a&&(tx[t]=a),o&&(tw[t]=o))}function tk(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;tS({type:t,names:[],props:{numArgs:0},handler(){throw Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var tM=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},tz=function(e){return"ordgroup"===e.type?e.body:[e]},tA=tm.makeSpan,tT=["leftmost","mbin","mopen","mrel","mop","mpunct"],tC=["rightmost","mrel","mclose","mpunct"],tE={display:X.DISPLAY,text:X.TEXT,script:X.SCRIPT,scriptscript:X.SCRIPTSCRIPT},tI={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},tN=function(e,t,r,n){void 0===n&&(n=[null,null]);for(var i=[],a=0;a<e.length;a++){var o=tq(e[a],t);if(o instanceof J){var s=o.children;i.push(...s)}else i.push(o)}if(tm.tryCombineChars(i),!r)return i;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(tE[h.style]))}var u=tA([n[0]||"leftmost"],[],t),c=tA([n[1]||"rightmost"],[],t),d="root"===r;return tL(i,(e,t)=>{var r=t.classes[0],n=e.classes[0];"mbin"===r&&B.contains(tC,n)?t.classes[0]="mord":"mbin"===n&&B.contains(tT,r)&&(e.classes[0]="mord")},{node:u},c,d),tL(i,(e,t)=>{var r=tD(t),n=tD(e),i=r&&n?e.hasClass("mtight")?ty[r][n]:tv[r][n]:null;if(i)return tm.makeGlue(i,l)},{node:u},c,d),i},tL=function e(t,r,n,i,a){i&&t.push(i);for(var o=0;o<t.length;o++){let i;var s=t[o],l=tB(s);if(l){e(l.children,r,n,null,a);continue}var h=!s.hasClass("mspace");if(h){var u=r(s,n.node);u&&(n.insertAfter?n.insertAfter(u):(t.unshift(u),o++))}h?n.node=s:a&&s.hasClass("newline")&&(n.node=tA(["leftmost"]));n.insertAfter=(i=o,e=>{t.splice(i+1,0,e),o++})}i&&t.pop()},tB=function(e){return e instanceof J||e instanceof ew||e instanceof ex&&e.hasClass("enclosing")?e:null},tO=function e(t,r){var n=tB(t);if(n){var i=n.children;if(i.length){if("right"===r)return e(i[i.length-1],"right");if("left"===r)return e(i[0],"left")}}return t},tD=function(e,t){return e?(t&&(e=tO(e,t)),tI[e.classes[0]]||null):null},tR=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return tA(t.concat(r))},tq=function(e,t,r){if(!e)return tA();if(tx[e.type]){var n=tx[e.type](e,t);if(r&&t.size!==r.size){n=tA(t.sizingClasses(r),[n],t);var i=t.sizeMultiplier/r.sizeMultiplier;n.height*=i,n.depth*=i}return n}throw new a("Got group of unknown type: '"+e.type+"'")};function tP(e,t){var r=tA(["base"],e,t),n=tA(["strut"]);return n.style.height=ep(r.height+r.depth),r.depth&&(n.style.verticalAlign=ep(-r.depth)),r.children.unshift(n),r}function tH(e,t){var r,n,i=null;1===e.length&&"tag"===e[0].type&&(i=e[0].tag,e=e[0].body);var a=tN(e,t,"root");2===a.length&&a[1].hasClass("tag")&&(r=a.pop());for(var 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(tP(s,t)),s=[])}else a[l].hasClass("newline")&&(s.pop(),s.length>0&&(o.push(tP(s,t)),s=[]),o.push(a[l]));s.length>0&&o.push(tP(s,t)),i?((n=tP(tN(i,t,!0))).classes=["tag"],o.push(n)):r&&o.push(r);var u=tA(["katex-html"],o);if(u.setAttribute("aria-hidden","true"),n){var c=n.children[0];c.style.height=ep(u.height+u.depth),u.depth&&(c.style.verticalAlign=ep(-u.depth))}return u}function tF(e){return new J(e)}class t_{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,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=ef(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof tV&&this.children[r+1]instanceof tV){for(var n=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof tV;)n+=this.children[++r].toText();e.appendChild(new tV(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+'="'+B.escape(this.attributes[t])+'"');this.classes.length>0&&(e+=' class ="'+B.escape(ef(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 tV{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return B.escape(this.toText())}toText(){return this.text}}var tU={MathNode:t_,TextNode:tV,SpaceNode:class e{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character=" ":e>=.1666&&e<=.1667?this.character=" ":e>=.2222&&e<=.2223?this.character=" ":e>=.2777&&e<=.2778?this.character=" ":e>=-.05556&&e<=-.05555?this.character=" ":e>=-.1667&&e<=-.1666?this.character=" ":e>=-.2223&&e<=-.2222?this.character=" ":e>=-.2778&&e<=-.2777?this.character=" ":this.character=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",ep(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ep(this.width)+'"/>'}toText(){return this.character?this.character:" "}},newDocumentFragment:tF},tX=function(e,t,r){return eN[t][e]&&eN[t][e].replace&&55349!==e.charCodeAt(0)&&!(eW.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6)))&&(e=eN[t][e].replace),new tU.TextNode(e)},tW=function(e){return 1===e.length?e[0]:new tU.MathNode("mrow",e)},tG=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily){if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"sans-serif-bold-italic";if("textit"===t.fontShape)return"sans-serif-italic";else if("textbf"===t.fontWeight)return"bold-sans-serif";else return"sans-serif"}if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";else if("textit"===t.fontShape)return"italic";else 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";else if("mathbb"===r)return"double-struck";else if("mathsfit"===r)return"sans-serif-italic";else if("mathfrak"===r)return"fraktur";else if("mathscr"===r||"mathcal"===r)return"script";else if("mathsf"===r)return"sans-serif";else if("mathtt"===r)return"monospace";var i=e.text;return B.contains(["\\imath","\\jmath"],i)?null:(eN[n][i]&&eN[n][i].replace&&(i=eN[n][i].replace),ei(i,tm.fontMap[r].fontName,n))?tm.fontMap[r].variant:null};function tK(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){var t=e.children[0];return t instanceof tV&&"."===t.text}if("mo"!==e.type||1!==e.children.length||"true"!==e.getAttribute("separator")||"0em"!==e.getAttribute("lspace")||"0em"!==e.getAttribute("rspace"))return!1;var r=e.children[0];return r instanceof tV&&","===r.text}var tY=function(e,t,r){if(1===e.length){var n,i=tZ(e[0],t);return r&&i instanceof t_&&"mo"===i.type&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],o=0;o<e.length;o++){var s=tZ(e[o],t);if(s instanceof t_&&n instanceof t_){if("mtext"===s.type&&"mtext"===n.type&&s.getAttribute("mathvariant")===n.getAttribute("mathvariant")){n.children.push(...s.children);continue}if("mn"===s.type&&"mn"===n.type){n.children.push(...s.children);continue}else if(tK(s)&&"mn"===n.type){n.children.push(...s.children);continue}else if("mn"===s.type&&tK(n))s.children=[...n.children,...s.children],a.pop();else if(("msup"===s.type||"msub"===s.type)&&s.children.length>=1&&("mn"===n.type||tK(n))){var l=s.children[0];l instanceof t_&&"mn"===l.type&&(l.children=[...n.children,...l.children],a.pop())}else if("mi"===n.type&&1===n.children.length){var h=n.children[0];if(h instanceof tV&&"̸"===h.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var u=s.children[0];u instanceof tV&&u.text.length>0&&(u.text=u.text.slice(0,1)+"̸"+u.text.slice(1),a.pop())}}}a.push(s),n=s}return a},tj=function(e,t,r){return tW(tY(e,t,r))},tZ=function(e,t){if(!e)return new tU.MathNode("mrow");if(tw[e.type])return tw[e.type](e,t);throw new a("Got group of unknown type: '"+e.type+"'")};function t$(e,t,r,n,i){var a,o=tY(e,r);a=1===o.length&&o[0]instanceof t_&&B.contains(["mrow","mtable"],o[0].type)?o[0]:new tU.MathNode("mrow",o);var s=new tU.MathNode("annotation",[new tU.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new tU.MathNode("semantics",[a,s]),h=new tU.MathNode("math",[l]);return h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&h.setAttribute("display","block"),tm.makeSpan([i?"katex":"katex-mathml"],[h])}var tQ=function(e){return new eh({style:e.displayMode?X.DISPLAY:X.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},tJ=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=tm.makeSpan(r,[e])}return e},t0=function(e,t,r){var n,i=tQ(r);if("mathml"===r.output)return t$(e,t,i,r.displayMode,!0);if("html"===r.output){var a=tH(e,i);n=tm.makeSpan(["katex"],[a])}else{var o=t$(e,t,i,r.displayMode,!1),s=tH(e,i);n=tm.makeSpan(["katex"],[o,s])}return tJ(n,r)},t1=function(e,t,r){var n=tH(e,tQ(r));return tJ(tm.makeSpan(["katex"],[n]),r)},t4={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},t5={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},t6={encloseSpan:function(e,t,r,n,i){var a,o=e.height+e.depth+r+n;if(/fbox|color|angl/.test(t)){if(a=tm.makeSpan(["stretchy",t],[],i),"fbox"===t){var s=i.color&&i.getColor();s&&(a.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new eT({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new eT({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new ez(l,{width:"100%",height:ep(o)});a=tm.makeSvgSpan([],[h],i)}return a.height=o,a.style.height=ep(o),a},mathMLnode:function(e){var t=new tU.MathNode("mo",[new tU.TextNode(t4[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},svgSpan:function(e,t){var{span:r,minWidth:n,height:i}=function(){var r=4e5,n=e.label.slice(1);if(B.contains(["widehat","widecheck","widetilde","utilde"],n)){var i,a,o,s,l="ordgroup"===(s=e.base).type?s.body.length:1;if(l>5)"widehat"===n||"widecheck"===n?(i=420,r=2364,o=.42,a=n+"4"):(i=312,r=2340,o=.34,a="tilde4");else{var h=[1,1,2,2,3,3][l];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][h],i=[0,239,300,360,420][h],o=[0,.24,.3,.3,.36,.42][h],a=n+h):(r=[0,600,1033,2339,2340][h],i=[0,260,286,306,312][h],o=[0,.26,.286,.3,.306,.34][h],a="tilde"+h)}var u=new ez([new eA(a)],{width:"100%",height:ep(o),viewBox:"0 0 "+r+" "+i,preserveAspectRatio:"none"});return{span:tm.makeSvgSpan([],[u],t),minWidth:0,height:o}}var c,d,m=[],p=t5[n],[f,g,v]=p,y=v/1e3,b=f.length;if(1===b){var x=p[3];c=["hide-tail"],d=[x]}else if(2===b)c=["halfarrow-left","halfarrow-right"],d=["xMinYMin","xMaxYMin"];else if(3===b)c=["brace-left","brace-center","brace-right"],d=["xMinYMin","xMidYMin","xMaxYMin"];else throw Error("Correct katexImagesData or update code here to support\n "+b+" children.");for(var w=0;w<b;w++){var S=new ez([new eA(f[w])],{width:"400em",height:ep(y),viewBox:"0 0 "+r+" "+v,preserveAspectRatio:d[w]+" slice"}),k=tm.makeSvgSpan([c[w]],[S],t);if(1===b)return{span:k,minWidth:g,height:y};k.style.height=ep(y),m.push(k)}return{span:tm.makeSpan(["stretchy"],m,t),minWidth:g,height:y}}();return r.height=i,r.style.height=ep(i),n>0&&(r.style.minWidth=ep(n)),r}};function t3(e,t){if(!e||e.type!==t)throw Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function t7(e){var t=t8(e);if(!t)throw Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function t8(e){return e&&("atom"===e.type||eI.hasOwnProperty(e.type))?e:null}var t2=(e,t)=>{e&&"supsub"===e.type?(s=(l=t3(e.base,"accent")).base,e.base=s,h=function(e){if(e instanceof ex)return e;throw Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(tq(e,t)),e.base=l):s=(l=t3(e,"accent")).base;var r=tq(s,t.havingCrampedStyle()),n=l.isShifty&&B.isCharacterBox(s),i=0;n&&(i=eC(tq(B.getBaseElem(s),t.havingCrampedStyle())).skew);var a="\\c"===l.label,o=a?r.height+r.depth:Math.min(r.height,t.fontMetrics().xHeight);if(l.isStretchy)u=t6.svgSpan(l,t),u=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"elem",elem:u,wrapperClasses:["svg-align"],wrapperStyle:i>0?{width:"calc(100% - "+ep(2*i)+")",marginLeft:ep(2*i)}:void 0}]},t);else{"\\vec"===l.label?(c=tm.staticSvg("vec",t),d=tm.svgData.vec[1]):((c=eC(c=tm.makeOrd({mode:l.mode,text:l.label},t,"textord"))).italic=0,d=c.width,a&&(o+=c.depth)),u=tm.makeSpan(["accent-body"],[c]);var s,l,h,u,c,d,m="\\textcircled"===l.label;m&&(u.classes.push("accent-full"),o=r.height);var p=i;!m&&(p-=d/2),u.style.left=ep(p),"\\textcircled"===l.label&&(u.style.top=".2em"),u=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:-o},{type:"elem",elem:u}]},t)}var f=tm.makeSpan(["mord","accent"],[u],t);return h?(h.children[0]=f,h.height=Math.max(f.height,h.height),h.classes[0]="mord",h):f},t9=(e,t)=>{var r=e.isStretchy?t6.mathMLnode(e.label):new tU.MathNode("mo",[tX(e.label,e.mode)]),n=new tU.MathNode("mover",[tZ(e.base,t),r]);return n.setAttribute("accent","true"),n},re=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));tS({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=tM(t[0]),n=!re.test(e.funcName),i=!n||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:t2,mathmlBuilder:t9}),tS({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:t2,mathmlBuilder:t9}),tS({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(e,t)=>{var r=tq(e.base,t),n=t6.svgSpan(e,t),i="\\utilde"===e.label?.12:0,a=tm.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},t);return tm.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=t6.mathMLnode(e.label),n=new tU.MathNode("munder",[tZ(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var rt=e=>{var t=new tU.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};tS({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:i}=e;return{type:"xArrow",mode:n.mode,label:i,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,n,i=t.style,a=t.havingStyle(i.sup()),o=tm.wrapFragment(tq(e.body,a,t),t),s="\\x"===e.label.slice(0,2)?"x":"cd";o.classes.push(s+"-arrow-pad"),e.below&&(a=t.havingStyle(i.sub()),(r=tm.wrapFragment(tq(e.below,a,t),t)).classes.push(s+"-arrow-pad"));var l=t6.svgSpan(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,u=-t.fontMetrics().axisHeight-.5*l.height-.111;if((o.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=o.depth),r){var c=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;n=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:c}]},t)}else n=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:l,shift:h}]},t);return n.children[0].children[0].children[1].classes.push("svg-align"),tm.makeSpan(["mrel","x-arrow"],[n],t)},mathmlBuilder(e,t){var r,n=t6.mathMLnode(e.label);if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var i=rt(tZ(e.body,t));if(e.below){var a=rt(tZ(e.below,t));r=new tU.MathNode("munderover",[n,a,i])}else r=new tU.MathNode("mover",[n,i])}else if(e.below){var o=rt(tZ(e.below,t));r=new tU.MathNode("munder",[n,o])}else r=rt(),r=new tU.MathNode("mover",[n,r]);return r}});var rr=tm.makeSpan;function rn(e,t){var r=tN(e.body,t,!0);return rr([e.mclass],r,t)}function ri(e,t){var r,n=tY(e.body,t);return"minner"===e.mclass?r=new tU.MathNode("mpadded",n):"mord"===e.mclass?e.isCharacterBox?(r=n[0]).type="mi":r=new tU.MathNode("mi",n):(e.isCharacterBox?(r=n[0]).type="mo":r=new tU.MathNode("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}tS({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:tz(i),isCharacterBox:B.isCharacterBox(i)}},htmlBuilder:rn,mathmlBuilder:ri});var ra=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"===t.type&&("bin"===t.family||"rel"===t.family)?"m"+t.family:"mord"};tS({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:ra(t[0]),body:tz(t[1]),isCharacterBox:B.isCharacterBox(t[1])}}}),tS({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:n,funcName:i}=e,a=t[1],o=t[0];r="\\stackrel"!==i?ra(a):"mrel";var s={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==i,body:tz(a)},l={type:"supsub",mode:o.mode,base:s,sup:"\\underset"===i?null:o,sub:"\\underset"===i?o:null};return{type:"mclass",mode:n.mode,mclass:r,body:[l],isCharacterBox:B.isCharacterBox(l)}},htmlBuilder:rn,mathmlBuilder:ri}),tS({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:ra(t[0]),body:tz(t[0])}},htmlBuilder(e,t){var r=tN(e.body,t,!0),n=tm.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=tY(e.body,t),n=new tU.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var ro={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},rs=()=>({type:"styling",body:[],mode:"math",style:"display"}),rl=e=>"textord"===e.type&&"@"===e.text,rh=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;tS({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=tm.wrapFragment(tq(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=ep(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new tU.MathNode("mrow",[tZ(e.label,t)]);return(r=new tU.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new tU.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),tS({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=tm.wrapFragment(tq(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new tU.MathNode("mrow",[tZ(e.fragment,t)])}),tS({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var r,{parser:n}=e,i=t3(t[0],"ordgroup").body,o="",s=0;s<i.length;s++)o+=t3(i[s],"textord").text;var l=parseInt(o);if(isNaN(l))throw new a("\\@char has non-numeric argument "+o);if(l<0||l>=1114111)throw new a("\\@char with invalid code point "+o);l<=65535?r=String.fromCharCode(l):(l-=65536,r=String.fromCharCode((l>>10)+55296,(1023&l)+56320));return{type:"textord",mode:n.mode,text:r}}});var ru=(e,t)=>{var r=tN(e.body,t.withColor(e.color),!1);return tm.makeFragment(r)},rc=(e,t)=>{var r=tY(e.body,t.withColor(e.color)),n=new tU.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};tS({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=t3(t[0],"color-token").color,i=t[1];return{type:"color",mode:r.mode,color:n,body:tz(i)}},htmlBuilder:ru,mathmlBuilder:rc}),tS({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,i=t3(t[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:ru,mathmlBuilder:rc}),tS({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,i="["===n.gullet.future().text?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&t3(i,"size").value}},htmlBuilder(e,t){var r=tm.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=ep(em(e.size,t)))),r},mathmlBuilder(e,t){var r=new tU.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",ep(em(e.size,t)))),r}});var rd={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},rm=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new a("Expected a control sequence",e);return t},rp=e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t},rf=(e,t,r,n)=>{var i=e.gullet.macros.get(r.text);null==i&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,i,n)};tS({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(rd[n.text])return("\\global"===r||"\\\\globallong"===r)&&(n.text=rd[n.text]),t3(t.parseFunction(),"internal");throw new a("Invalid token after macro prefix",n)}}),tS({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var t,{parser:r,funcName:n}=e,i=r.gullet.popToken(),o=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new a("Expected a control sequence",i);for(var s=0,l=[[]];"{"!==r.gullet.future().text;)if("#"===(i=r.gullet.popToken()).text){if("{"===r.gullet.future().text){t=r.gullet.future(),l[s].push("{");break}if(i=r.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new a('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==s+1)throw new a('Argument number "'+i.text+'" out of order');s++,l.push([])}else if("EOF"===i.text)throw new a("Expected a macro definition");else l[s].push(i.text);var{tokens:h}=r.gullet.consumeArg();return t&&h.unshift(t),("\\edef"===n||"\\xdef"===n)&&(h=r.gullet.expandTokens(h)).reverse(),r.gullet.macros.set(o,{tokens:h,numArgs:s,delimiters:l},n===rd[n]),{type:"internal",mode:r.mode}}}),tS({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=rm(t.gullet.popToken());t.gullet.consumeSpaces();var i=rp(t);return rf(t,n,i,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),tS({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=rm(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return rf(t,n,a,"\\\\globalfuture"===r),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var rg=function(e,t,r){var n=ei(eN.math[e]&&eN.math[e].replace||e,t,r);if(!n)throw Error("Unsupported symbol "+e+" and font size "+t+".");return n},rv=function(e,t,r,n){var i=r.havingBaseStyle(t),a=tm.makeSpan(n.concat(i.sizingClasses(r)),[e],r),o=i.sizeMultiplier/r.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},ry=function(e,t,r){var n=t.havingBaseStyle(r),i=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=ep(i),e.height-=i,e.depth+=i},rb=function(e,t,r,n,i,a){var o=rv(tm.makeSymbol(e,"Main-Regular",i,n),t,n,a);return r&&ry(o,n,t),o},rx=function(e,t,r,n,i,a){var o,s,l,h,u=(o=e,s=t,l=i,h=n,tm.makeSymbol(o,"Size"+s+"-Regular",l,h)),c=rv(tm.makeSpan(["delimsizing","size"+t],[u],n),X.TEXT,n,a);return r&&ry(c,n,X.TEXT),c},rw=function(e,t,r){var n;return n="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:tm.makeSpan(["delimsizinginner",n],[tm.makeSpan([],[tm.makeSymbol(e,t,r)])])}},rS=function(e,t,r){var n=ee["Size4-Regular"][e.charCodeAt(0)]?ee["Size4-Regular"][e.charCodeAt(0)][4]:ee["Size1-Regular"][e.charCodeAt(0)][4],i=new ez([new eA("inner",j(e,Math.round(1e3*t)))],{width:ep(n),height:ep(t),style:"width:"+ep(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=tm.makeSvgSpan([],[i],r);return a.height=t,a.style.height=ep(t),a.style.width=ep(n),{type:"elem",elem:a}},rk={type:"kern",size:-.008},rM=["|","\\lvert","\\rvert","\\vert"],rz=["\\|","\\lVert","\\rVert","\\Vert"],rA=function(e,t,r,n,i,a){var o,s,l,h,u="",c=0;o=l=h=e,s=null;var d="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"):B.contains(rM,e)?(l="∣",u="vert",c=333):B.contains(rz,e)?(l="∥",u="doublevert",c=556):"["===e||"\\lbrack"===e?(o="⎡",l="⎢",h="⎣",d="Size4-Regular",u="lbrack",c=667):"]"===e||"\\rbrack"===e?(o="⎤",l="⎥",h="⎦",d="Size4-Regular",u="rbrack",c=667):"\\lfloor"===e||"⌊"===e?(l=o="⎢",h="⎣",d="Size4-Regular",u="lfloor",c=667):"\\lceil"===e||"⌈"===e?(o="⎡",l=h="⎢",d="Size4-Regular",u="lceil",c=667):"\\rfloor"===e||"⌋"===e?(l=o="⎥",h="⎦",d="Size4-Regular",u="rfloor",c=667):"\\rceil"===e||"⌉"===e?(o="⎤",l=h="⎥",d="Size4-Regular",u="rceil",c=667):"("===e||"\\lparen"===e?(o="⎛",l="⎜",h="⎝",d="Size4-Regular",u="lparen",c=875):")"===e||"\\rparen"===e?(o="⎞",l="⎟",h="⎠",d="Size4-Regular",u="rparen",c=875):"\\{"===e||"\\lbrace"===e?(o="⎧",s="⎨",h="⎩",l="⎪",d="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="⎫",s="⎬",h="⎭",l="⎪",d="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(o="⎧",h="⎩",l="⎪",d="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(o="⎫",h="⎭",l="⎪",d="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(o="⎧",h="⎭",l="⎪",d="Size4-Regular"):("\\rmoustache"===e||"⎱"===e)&&(o="⎫",h="⎩",l="⎪",d="Size4-Regular");var m=rg(o,d,i),p=m.height+m.depth,f=rg(l,d,i),g=f.height+f.depth,v=rg(h,d,i),y=v.height+v.depth,b=0,x=1;if(null!==s){var w=rg(s,d,i);b=w.height+w.depth,x=2}var S=p+y+b,k=Math.max(0,Math.ceil((t-S)/(x*g))),M=S+k*x*g,z=n.fontMetrics().axisHeight;r&&(z*=n.sizeMultiplier);var A=M/2-z,T=[];if(u.length>0){var C=Math.round(1e3*M),E=Q(u,Math.round(1e3*(M-p-y))),I=new eA(u,E),N=(c/1e3).toFixed(3)+"em",L=(C/1e3).toFixed(3)+"em",O=new ez([I],{width:N,height:L,viewBox:"0 0 "+c+" "+C}),D=tm.makeSvgSpan([],[O],n);D.height=C/1e3,D.style.width=N,D.style.height=L,T.push({type:"elem",elem:D})}else{if(T.push(rw(h,d,i)),T.push(rk),null===s)T.push(rS(l,M-p-y+.016,n));else{var R=(M-p-y-b)/2+.016;T.push(rS(l,R,n)),T.push(rk),T.push(rw(s,d,i)),T.push(rk),T.push(rS(l,R,n))}T.push(rk),T.push(rw(o,d,i))}var q=n.havingBaseStyle(X.TEXT),P=tm.makeVList({positionType:"bottom",positionData:A,children:T},q);return rv(tm.makeSpan(["delimsizing","mult"],[P],q),X.TEXT,n,a)},rT=function(e,t,r,n,i){var a=Y(e,n,r),o=new ez([new eA(e,a)],{width:"400em",height:ep(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return tm.makeSvgSpan(["hide-tail"],[o],i)},rC=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],rE=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],rI=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],rN=[0,1.2,1.8,2.4,3],rL=[{type:"small",style:X.SCRIPTSCRIPT},{type:"small",style:X.SCRIPT},{type:"small",style:X.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],rB=[{type:"small",style:X.SCRIPTSCRIPT},{type:"small",style:X.SCRIPT},{type:"small",style:X.TEXT},{type:"stack"}],rO=[{type:"small",style:X.SCRIPTSCRIPT},{type:"small",style:X.SCRIPT},{type:"small",style:X.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],rD=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";else throw Error("Add support for delim type '"+e.type+"' here.")},rR=function(e,t,r,n){for(var i=Math.min(2,3-n.style.size),a=i;a<r.length&&"stack"!==r[a].type;a++){;var o=rg(e,rD(r[a]),"math"),s=o.height+o.depth;if("small"===r[a].type&&(s*=n.havingBaseStyle(r[a].style).sizeMultiplier),s>t)return r[a]}return r[r.length-1]},rq=function(e,t,r,n,i,a){"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":(">"===e||"\\gt"===e||"⟩"===e)&&(e="\\rangle"),o=B.contains(rI,e)?rL:B.contains(rC,e)?rO:rB;var o,s=rR(e,t,o,n);return"small"===s.type?rb(e,s.style,r,n,i,a):"large"===s.type?rx(e,s.size,r,n,i,a):rA(e,t,r,n,i,a)},rP={sqrtImage:function(e,t){var r,n,i=t.havingBaseSizing(),a=rR("\\surd",e*i.sizeMultiplier,rO,i),o=i.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,u=0;return"small"===a.type?(u=1e3+1e3*s+80,e<1?o=1:e<1.4&&(o=.7),l=(1+s+.08)/o,h=(1+s)/o,(r=rT("sqrtMain",l,u,s,t)).style.minWidth="0.853em",n=.833/o):"large"===a.type?(u=1080*rN[a.size],h=(rN[a.size]+s)/o,l=(rN[a.size]+s+.08)/o,(r=rT("sqrtSize"+a.size,l,u,s,t)).style.minWidth="1.02em",n=1/o):(l=e+s+.08,h=e+s,(r=rT("sqrtTall",l,u=Math.floor(1e3*e+s)+80,s,t)).style.minWidth="0.742em",n=1.056),r.height=h,r.style.height=ep(l),{span:r,advanceWidth:n,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*o}},sizedDelim:function(e,t,r,n,i){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":(">"===e||"\\gt"===e||"⟩"===e)&&(e="\\rangle"),B.contains(rC,e)||B.contains(rI,e))return rx(e,t,!1,r,n,i);if(B.contains(rE,e))return rA(e,rN[t],!1,r,n,i);throw new a("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:rN,customSizedDelim:rq,leftRightDelim:function(e,t,r,n,i,a){var o=n.fontMetrics().axisHeight*n.sizeMultiplier,s=5/n.fontMetrics().ptPerEm,l=Math.max(t-o,r+o);return rq(e,Math.max(l/500*901,2*l-s),!0,n,i,a)}},rH={"\\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}},rF=["(","\\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 r_(e,t){var r=t8(e);if(r&&B.contains(rF,r.text))return r;if(r)throw new a("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e);throw new a("Invalid delimiter type '"+e.type+"'",e)}function rV(e){if(!e.body)throw Error("Bug: The leftright ParseNode wasn't fully parsed.")}tS({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=r_(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:rH[e.funcName].size,mclass:rH[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?tm.makeSpan([e.mclass]):rP.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(tX(e.delim,e.mode));var r=new tU.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=ep(rP.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}}),tS({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 a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:r_(t[0],e).text,color:r}}}),tS({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=r_(t[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=t3(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{rV(e);for(var r,n,i=tN(e.body,t,!0,["mopen","mclose"]),a=0,o=0,s=!1,l=0;l<i.length;l++)i[l].isMiddle?s=!0:(a=Math.max(i[l].height,a),o=Math.max(i[l].depth,o));if(a*=t.sizeMultiplier,o*=t.sizeMultiplier,r="."===e.left?tR(t,["mopen"]):rP.leftRightDelim(e.left,a,o,t,e.mode,["mopen"]),i.unshift(r),s)for(var h=1;h<i.length;h++){var u=i[h].isMiddle;u&&(i[h]=rP.leftRightDelim(u.delim,a,o,u.options,e.mode,[]))}if("."===e.right)n=tR(t,["mclose"]);else{var c=e.rightColor?t.withColor(e.rightColor):t;n=rP.leftRightDelim(e.right,a,o,c,e.mode,["mclose"])}return i.push(n),tm.makeSpan(["minner"],i,t)},mathmlBuilder:(e,t)=>{rV(e);var r=tY(e.body,t);if("."!==e.left){var n=new tU.MathNode("mo",[tX(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==e.right){var i=new tU.MathNode("mo",[tX(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return tW(r)}}),tS({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=r_(t[0],e);if(!e.parser.leftrightDepth)throw new a("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=tR(t,[]);else{r=rP.sizedDelim(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?tX("|","text"):tX(e.delim,e.mode),n=new tU.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var rU=(e,t)=>{var r,n,i=tm.wrapFragment(tq(e.body,t),t),a=e.label.slice(1),o=t.sizeMultiplier,s=0,l=B.isCharacterBox(e.body);if("sout"===a)(r=tm.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/o,s=-.5*t.fontMetrics().xHeight;else if("phase"===a){var h,u=em({number:.6,unit:"pt"},t),c=em({number:.35,unit:"ex"},t);o/=t.havingBaseSizing().sizeMultiplier;var d=i.height+i.depth+u+c;i.style.paddingLeft=ep(d/2+u);var m=Math.floor(1e3*d*o);var p=new ez([new eA("phase","M400000 "+(h=m)+" H0 L"+h/2+" 0 l65 45 L145 "+(h-80)+" H400000z")],{width:"400em",height:ep(m/1e3),viewBox:"0 0 400000 "+m,preserveAspectRatio:"xMinYMin slice"});(r=tm.makeSvgSpan(["hide-tail"],[p],t)).style.height=ep(d),s=i.depth+u+c}else{/cancel/.test(a)?!l&&i.classes.push("cancel-pad"):"angl"===a?i.classes.push("anglpad"):i.classes.push("boxpad");var f=0,g=0,v=0;/box/.test(a)?(v=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),g=f=t.fontMetrics().fboxsep+("colorbox"===a?0:v)):"angl"===a?(f=4*(v=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),g=Math.max(0,.25-i.depth)):g=f=l?.2:0,r=t6.encloseSpan(i,a,f,g,t),/fbox|boxed|fcolorbox/.test(a)?(r.style.borderStyle="solid",r.style.borderWidth=ep(v)):"angl"===a&&.049!==v&&(r.style.borderTopWidth=ep(v),r.style.borderRightWidth=ep(v)),s=i.depth+g,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)n=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:s},{type:"elem",elem:i,shift:0}]},t);else{var y=/cancel|phase/.test(a)?["svg-align"]:[];n=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:r,shift:s,wrapperClasses:y}]},t)}return(/cancel/.test(a)&&(n.height=i.height,n.depth=i.depth),/cancel/.test(a)&&!l)?tm.makeSpan(["mord","cancel-lap"],[n],t):tm.makeSpan(["mord"],[n],t)},rX=(e,t)=>{var r=0,n=new tU.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[tZ(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 i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};tS({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=t3(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:rU,mathmlBuilder:rX}),tS({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=t3(t[0],"color-token").color,o=t3(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:rU,mathmlBuilder:rX}),tS({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]}}}),tS({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:rU,mathmlBuilder:rX}),tS({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 rW={};function rG(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<r.length;++l)rW[r[l]]=s;a&&(tx[t]=a),o&&(tw[t]=o)}var rK={};function rY(e,t){rK[e]=t}function rj(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 rZ=e=>{if(!e.parser.settings.displayMode)throw new a("{"+e.envName+"} can be used only in display mode.")};function r$(e){if(-1===e.indexOf("ed"))return -1===e.indexOf("*")}function rQ(e,t,r){var{hskipBeforeAndAfter:n,addJot:o,cols:s,arraystretch:l,colSeparationType:h,autoTag:u,singleRow:c,emptySingleRow:d,maxNumCols:m,leqno:p}=t;if(e.gullet.beginGroup(),!c&&e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var f=e.gullet.expandMacroAsText("\\arraystretch");if(null==f)l=1;else if(!(l=parseFloat(f))||l<0)throw new a("Invalid \\arraystretch: "+f)}e.gullet.beginGroup();var g=[],v=[g],y=[],b=[],x=null!=u?[]:void 0;function w(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function S(){x&&(e.gullet.macros.get("\\df@tag")?(x.push(e.subparse([new i("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):x.push(!!u&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(w(),b.push(rj(e));;){var k=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),k={type:"ordgroup",mode:e.mode,body:k},r&&(k={type:"styling",mode:e.mode,style:r,body:[k]}),g.push(k);var M=e.fetch().text;if("&"===M){if(m&&g.length===m){if(c||h)throw new a("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if("\\end"===M){S(),1===g.length&&"styling"===k.type&&0===k.body[0].body.length&&(v.length>1||!d)&&v.pop(),b.length<v.length+1&&b.push([]);break}else if("\\\\"===M){e.consume();var z=void 0;" "!==e.gullet.future().text&&(z=e.parseSizeGroup(!0)),y.push(z?z.value:null),S(),b.push(rj(e)),g=[],v.push(g),w()}else throw new a("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:o,arraystretch:l,body:v,cols:s,rowGaps:y,hskipBeforeAndAfter:n,hLinesBeforeRow:b,colSeparationType:h,tags:x,leqno:p}}function rJ(e){return"d"===e.slice(0,1)?"display":"text"}var r0=function(e,t){var r,n,i,o,s=e.body.length,l=e.hLinesBeforeRow,h=0,u=Array(s),c=[],d=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),m=1/t.fontMetrics().ptPerEm,p=5*m;e.colSeparationType&&"small"===e.colSeparationType&&(p=.2778*(t.havingStyle(X.SCRIPT).sizeMultiplier/t.sizeMultiplier));var f="CD"===e.colSeparationType?em({number:3,unit:"ex"},t):12*m,g=3*m,v=e.arraystretch*f,y=.7*v,b=.3*v,x=0;function w(e){for(var t=0;t<e.length;++t)t>0&&(x+=.25),c.push({pos:x,isDashed:e[t]})}for(w(l[0]),r=0;r<e.body.length;++r){var S=e.body[r],k=y,M=b;h<S.length&&(h=S.length);var z=Array(S.length);for(n=0;n<S.length;++n){var A=tq(S[n],t);M<A.depth&&(M=A.depth),k<A.height&&(k=A.height),z[n]=A}var T=e.rowGaps[r],C=0;T&&(C=em(T,t))>0&&(M<(C+=b)&&(M=C),C=0),e.addJot&&(M+=g),z.height=k,z.depth=M,x+=k,z.pos=x,x+=M+C,u[r]=z,w(l[r+1])}var E=x/2+t.fontMetrics().axisHeight,I=e.cols||[],N=[],L=[];if(e.tags&&e.tags.some(e=>e))for(r=0;r<s;++r){var O=u[r],D=O.pos-E,R=e.tags[r],q=void 0;(q=!0===R?tm.makeSpan(["eqn-num"],[],t):!1===R?tm.makeSpan([],[],t):tm.makeSpan([],tN(R,t,!0),t)).depth=O.depth,q.height=O.height,L.push({type:"elem",elem:q,shift:D})}for(n=0,o=0;n<h||o<I.length;++n,++o){for(var P=I[o]||{},H=!0;"separator"===P.type;){if(!H&&((i=tm.makeSpan(["arraycolsep"],[])).style.width=ep(t.fontMetrics().doubleRuleSep),N.push(i)),"|"===P.separator||":"===P.separator){var F="|"===P.separator?"solid":"dashed",_=tm.makeSpan(["vertical-separator"],[],t);_.style.height=ep(x),_.style.borderRightWidth=ep(d),_.style.borderRightStyle=F,_.style.margin="0 "+ep(-d/2);var V=x-E;V&&(_.style.verticalAlign=ep(-V)),N.push(_)}else throw new a("Invalid separator type: "+P.separator);P=I[++o]||{},H=!1}if(!(n>=h)){var U=void 0;(n>0||e.hskipBeforeAndAfter)&&0!==(U=B.deflt(P.pregap,p))&&((i=tm.makeSpan(["arraycolsep"],[])).style.width=ep(U),N.push(i));var W=[];for(r=0;r<s;++r){var G=u[r],K=G[n];if(!!K){var Y=G.pos-E;K.depth=G.depth,K.height=G.height,W.push({type:"elem",elem:K,shift:Y})}}W=tm.makeVList({positionType:"individualShift",children:W},t),W=tm.makeSpan(["col-align-"+(P.align||"c")],[W]),N.push(W),(n<h-1||e.hskipBeforeAndAfter)&&0!==(U=B.deflt(P.postgap,p))&&((i=tm.makeSpan(["arraycolsep"],[])).style.width=ep(U),N.push(i))}}if(u=tm.makeSpan(["mtable"],N),c.length>0){for(var j=tm.makeLineSpan("hline",t,d),Z=tm.makeLineSpan("hdashline",t,d),Q=[{type:"elem",elem:u,shift:0}];c.length>0;){var J=c.pop(),ee=J.pos-E;J.isDashed?Q.push({type:"elem",elem:Z,shift:ee}):Q.push({type:"elem",elem:j,shift:ee})}u=tm.makeVList({positionType:"individualShift",children:Q},t)}if(0===L.length)return tm.makeSpan(["mord"],[u],t);var et=tm.makeVList({positionType:"individualShift",children:L},t);return et=tm.makeSpan(["tag"],[et],t),tm.makeFragment([u,et])},r1={c:"center ",l:"left ",r:"right "},r4=function(e,t){for(var r=[],n=new tU.MathNode("mtd",[],["mtr-glue"]),i=new tU.MathNode("mtd",[],["mml-eqn-num"]),a=0;a<e.body.length;a++){for(var o=e.body[a],s=[],l=0;l<o.length;l++)s.push(new tU.MathNode("mtd",[tZ(o[l],t)]));e.tags&&e.tags[a]&&(s.unshift(n),s.push(n),e.leqno?s.unshift(i):s.push(i)),r.push(new tU.MathNode("mtr",s))}var h=new tU.MathNode("mtable",r),u=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);h.setAttribute("rowspacing",ep(u));var c="",d="";if(e.cols&&e.cols.length>0){var m=e.cols,p="",f=!1,g=0,v=m.length;"separator"===m[0].type&&(c+="top ",g=1),"separator"===m[m.length-1].type&&(c+="bottom ",v-=1);for(var y=g;y<v;y++)"align"===m[y].type?(d+=r1[m[y].align],f&&(p+="none "),f=!0):"separator"===m[y].type&&f&&(p+="|"===m[y].separator?"solid ":"dashed ",f=!1);h.setAttribute("columnalign",d.trim()),/[sd]/.test(p)&&h.setAttribute("columnlines",p.trim())}if("align"===e.colSeparationType){for(var b=e.cols||[],x="",w=1;w<b.length;w++)x+=w%2?"0em ":"1em ";h.setAttribute("columnspacing",x.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="",k=e.hLinesBeforeRow;c+=(k[0].length>0?"left ":"")+(k[k.length-1].length>0?"right ":"");for(var M=1;M<k.length-1;M++)S+=0===k[M].length?"none ":k[M][0]?"dashed ":"solid ";return/[sd]/.test(S)&&h.setAttribute("rowlines",S.trim()),""!==c&&(h=new tU.MathNode("menclose",[h])).setAttribute("notation",c.trim()),e.arraystretch&&e.arraystretch<1&&(h=new tU.MathNode("mstyle",[h])).setAttribute("scriptlevel","1"),h},r5=function(e,t){-1===e.envName.indexOf("ed")&&rZ(e);var r,n=[],i=e.envName.indexOf("at")>-1?"alignat":"align",o="split"===e.envName,s=rQ(e.parser,{cols:n,addJot:!0,autoTag:o?void 0:r$(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,h={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var u="",c=0;c<t[0].body.length;c++)u+=t3(t[0].body[c],"textord").text;l=2*(r=Number(u))}var d=!l;s.body.forEach(function(e){for(var t=1;t<e.length;t+=2){var n=t3(e[t],"styling");t3(n.body[0],"ordgroup").body.unshift(h)}if(d)l<e.length&&(l=e.length);else{var i=e.length/2;if(r<i)throw new a("Too many math in a row: "+("expected "+r+", but got ")+i,e[0])}});for(var m=0;m<l;++m){var p="r",f=0;m%2==1?p="l":m>0&&d&&(f=1),n[m]={type:"align",align:p,pregap:f,postgap:0}}return s.colSeparationType=d?"align":"alignat",s};rG({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(t8(t[0])?[t[0]]:t3(t[0],"ordgroup").body).map(function(e){var t=t7(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+t,e)}),n={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return rQ(e.parser,n,rJ(e.envName))},htmlBuilder:r0,mathmlBuilder:r4}),rG({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var i=e.parser;if(i.consumeSpaces(),"["===i.fetch().text){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,-1==="lcr".indexOf(r))throw new a("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var o=rQ(e.parser,n,rJ(e.envName)),s=Math.max(0,...o.body.map(e=>e.length));return o.cols=Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:r0,mathmlBuilder:r4}),rG({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=rQ(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:r0,mathmlBuilder:r4}),rG({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(t8(t[0])?[t[0]]:t3(t[0],"ordgroup").body).map(function(e){var t=t7(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new a("Unknown column alignment: "+t,e)});if(r.length>1)throw new a("{subarray} can contain only one column");var n={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((n=rQ(e.parser,n,"script")).body.length>0&&n.body[0].length>1)throw new a("{subarray} can contain only one column");return n},htmlBuilder:r0,mathmlBuilder:r4}),rG({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=rQ(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},rJ(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:r0,mathmlBuilder:r4}),rG({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:r5,htmlBuilder:r0,mathmlBuilder:r4}),rG({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){B.contains(["gather","gather*"],e.envName)&&rZ(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:r$(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return rQ(e.parser,t,"display")},htmlBuilder:r0,mathmlBuilder:r4}),rG({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:r5,htmlBuilder:r0,mathmlBuilder:r4}),rG({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){rZ(e);var t={autoTag:r$(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return rQ(e.parser,t,"display")},htmlBuilder:r0,mathmlBuilder:r4}),rG({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(rZ(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)e.consume();else if("\\end"===r){0===t[t.length-1].length&&t.pop();break}else throw new a("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],i=[n],o=0;o<t.length;o++){for(var s=t[o],l=rs(),h=0;h<s.length;h++)if(rl(s[h])){n.push(l);var u=t7(s[h+=1]).text,c=[,,];if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(u)>-1);else if("<>AV".indexOf(u)>-1)for(var d=0;d<2;d++){for(var m=!0,p=h+1;p<s.length;p++){if(rh(s[p],u)){m=!1,h=p;break}if(rl(s[p]))throw new a("Missing a "+u+" character to complete a CD arrow.",s[p]);c[d].body.push(s[p])}if(m)throw new a("Missing a "+u+" character to complete a CD arrow.",s[h])}else throw new a('Expected one of "<>AV=|." after @',s[h]);var f={type:"styling",body:[function(e,t,r){var n=ro[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var i=r.callFunction("\\\\cdleft",[t[0]],[]),a=r.callFunction("\\Big",[{type:"atom",text:n,mode:"math",family:"rel"}],[]),o=r.callFunction("\\\\cdright",[t[1]],[]);return r.callFunction("\\\\cdparent",[{type:"ordgroup",mode:"math",body:[i,a,o]}],[]);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"}}}(u,c,e)],mode:"math",style:"display"};n.push(f),l=rs()}else l.body.push(s[h]);o%2==0?n.push(l):n.shift(),n=[],i.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var g=Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:g,colSeparationType:"CD",hLinesBeforeRow:Array(i.length+1).fill([])}}(e.parser)),htmlBuilder:r0,mathmlBuilder:r4}),rK["\\nonumber"]="\\gdef\\@eqnsw{0}",rK["\\notag"]="\\nonumber",tS({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new a(e.funcName+" valid only within array environment")}});tS({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];if("ordgroup"!==i.type)throw new a("Invalid environment name",i);for(var o="",s=0;s<i.body.length;++s)o+=t3(i.body[s],"textord").text;if("\\begin"===n){if(!rW.hasOwnProperty(o))throw new a("No such environment: "+o,i);var l=rW[o],{args:h,optArgs:u}=r.parseArguments("\\begin{"+o+"}",l),c={mode:r.mode,envName:o,parser:r},d=l.handler(c,h,u);r.expect("\\end",!1);var m=r.nextToken,p=t3(r.parseFunction(),"environment");if(p.name!==o)throw new a("Mismatch: \\begin{"+o+"} matched by \\end{"+p.name+"}",m);return d}return{type:"environment",mode:r.mode,name:o,nameGroup:i}}});var r6=(e,t)=>{var r=e.font,n=t.withFont(r);return tq(e.body,n)},r3=(e,t)=>{var r=e.font,n=t.withFont(r);return tZ(e.body,n)},r7={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};tS({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=tM(t[0]),a=n;return a in r7&&(a=r7[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:r6,mathmlBuilder:r3}),tS({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],i=B.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:ra(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}}}),tS({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:i}=e,{mode:a}=r,o=r.parseExpression(!0,i);return{type:"font",mode:a,font:"math"+n.slice(1),body:{type:"ordgroup",mode:r.mode,body:o}}},htmlBuilder:r6,mathmlBuilder:r3});var r8=(e,t)=>{var r=t;return"display"===e?r=r.id>=X.SCRIPT.id?r.text():X.DISPLAY:"text"===e&&r.size===X.DISPLAY.size?r=X.TEXT:"script"===e?r=X.SCRIPT:"scriptscript"===e&&(r=X.SCRIPTSCRIPT),r},r2=(e,t)=>{var r,n,i,a,o,s,l,h,u,c,d,m=r8(e.size,t.style),p=m.fracNum(),f=m.fracDen();r=t.havingStyle(p);var g=tq(e.numer,r,t);if(e.continued){var v=8.5/t.fontMetrics().ptPerEm,y=3.5/t.fontMetrics().ptPerEm;g.height=g.height<v?v:g.height,g.depth=g.depth<y?y:g.depth}r=t.havingStyle(f);var b=tq(e.denom,r,t);if(e.hasBarLine?(e.barSize?(i=em(e.barSize,t),n=tm.makeLineSpan("frac-line",t,i)):n=tm.makeLineSpan("frac-line",t),i=n.height,a=n.height):(n=null,i=0,a=t.fontMetrics().defaultRuleThickness),m.size===X.DISPLAY.size||"display"===e.size?(o=t.fontMetrics().num1,s=i>0?3*a:7*a,l=t.fontMetrics().denom1):(i>0?(o=t.fontMetrics().num2,s=a):(o=t.fontMetrics().num3,s=3*a),l=t.fontMetrics().denom2),n){var x=t.fontMetrics().axisHeight;o-g.depth-(x+.5*i)<s&&(o+=s-(o-g.depth-(x+.5*i))),x-.5*i-(b.height-l)<s&&(l+=s-(x-.5*i-(b.height-l)));var w=-(x-.5*i);h=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:l},{type:"elem",elem:n,shift:w},{type:"elem",elem:g,shift:-o}]},t)}else{var S=o-g.depth-(b.height-l);S<s&&(o+=.5*(s-S),l+=.5*(s-S)),h=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:l},{type:"elem",elem:g,shift:-o}]},t)}return r=t.havingStyle(m),h.height*=r.sizeMultiplier/t.sizeMultiplier,h.depth*=r.sizeMultiplier/t.sizeMultiplier,u=m.size===X.DISPLAY.size?t.fontMetrics().delim1:m.size===X.SCRIPTSCRIPT.size?t.havingStyle(X.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,c=null==e.leftDelim?tR(t,["mopen"]):rP.customSizedDelim(e.leftDelim,u,!0,t.havingStyle(m),e.mode,["mopen"]),d=e.continued?tm.makeSpan([]):null==e.rightDelim?tR(t,["mclose"]):rP.customSizedDelim(e.rightDelim,u,!0,t.havingStyle(m),e.mode,["mclose"]),tm.makeSpan(["mord"].concat(r.sizingClasses(t)),[c,tm.makeSpan(["mfrac"],[h]),d],t)},r9=(e,t)=>{var r=new tU.MathNode("mfrac",[tZ(e.numer,t),tZ(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var n=em(e.barSize,t);r.setAttribute("linethickness",ep(n))}}else r.setAttribute("linethickness","0px");var i=r8(e.size,t.style);if(i.size!==t.style.size){r=new tU.MathNode("mstyle",[r]);var a=i.size===X.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var o=[];if(null!=e.leftDelim){var s=new tU.MathNode("mo",[new tU.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),o.push(s)}if(o.push(r),null!=e.rightDelim){var l=new tU.MathNode("mo",[new tU.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),o.push(l)}return tW(o)}return r};tS({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:n,funcName:i}=e,a=t[0],o=t[1],s=null,l=null,h="auto";switch(i){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 Error("Unrecognized genfrac command")}switch(i){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text"}return{type:"genfrac",mode:n.mode,continued:!1,numer:a,denom:o,hasBarLine:r,leftDelim:s,rightDelim:l,size:h,barSize:null}},htmlBuilder:r2,mathmlBuilder:r9}),tS({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),tS({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:n,token:i}=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 Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:i}}});var ne=["display","text","script","scriptscript"],nt=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};tS({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:n}=e,i=t[4],a=t[5],o=tM(t[0]),s="atom"===o.type&&"open"===o.family?nt(o.text):null,l=tM(t[1]),h="atom"===l.type&&"close"===l.family?nt(l.text):null,u=t3(t[2],"size"),c=null;r=!!u.isBlank||(c=u.value).number>0;var d="auto",m=t[3];return"ordgroup"===m.type?m.body.length>0&&(d=ne[Number(t3(m.body[0],"textord").text)]):d=ne[Number((m=t3(m,"textord")).text)],{type:"genfrac",mode:n.mode,numer:i,denom:a,continued:!1,hasBarLine:r,barSize:c,leftDelim:s,rightDelim:h,size:d}},htmlBuilder:r2,mathmlBuilder:r9}),tS({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:i}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:t3(t[0],"size").value,token:i}}}),tS({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=L(t3(t[1],"infix").size),o=t[2],s=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:r2,mathmlBuilder:r9});var nr=(e,t)=>{var r,n,i,a=t.style;"supsub"===e.type?(r=e.sup?tq(e.sup,t.havingStyle(a.sup()),t):tq(e.sub,t.havingStyle(a.sub()),t),n=t3(e.base,"horizBrace")):n=t3(e,"horizBrace");var o=tq(n.base,t.havingBaseStyle(X.DISPLAY)),s=t6.svgSpan(n,t);if(n.isOver?(i=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(i=tm.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=tm.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t);i=n.isOver?tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):tm.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return tm.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t)};tS({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:nr,mathmlBuilder:(e,t)=>{var r=t6.mathMLnode(e.label);return new tU.MathNode(e.isOver?"mover":"munder",[tZ(e.base,t),r])}}),tS({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],i=t3(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:tz(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=tN(e.body,t,!1);return tm.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=tj(e.body,t);return!(r instanceof t_)&&(r=new t_("mrow",[r])),r.setAttribute("href",e.href),r}}),tS({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t3(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<n.length;a++){var o=n[a];"~"===o&&(o="\\textasciitilde"),i.push({type:"textord",mode:"text",text:o})}var s={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:tz(s)}}}),tS({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:tz(t[0])}},htmlBuilder(e,t){var r=tN(e.body,t,!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>new tU.MathNode("mrow",tY(e.body,t))}),tS({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:n,funcName:i,token:o}=e,s=t3(t[0],"raw").string,l=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h={};switch(i){case"\\htmlClass":h.class=s,r={command:"\\htmlClass",class:s};break;case"\\htmlId":h.id=s,r={command:"\\htmlId",id:s};break;case"\\htmlStyle":h.style=s,r={command:"\\htmlStyle",style:s};break;case"\\htmlData":for(var u=s.split(","),c=0;c<u.length;c++){var d=u[c].split("=");if(2!==d.length)throw new a("Error parsing key-value for \\htmlData");h["data-"+d[0].trim()]=d[1].trim()}r={command:"\\htmlData",attributes:h};break;default:throw Error("Unrecognized html command")}return n.settings.isTrusted(r)?{type:"html",mode:n.mode,attributes:h,body:tz(l)}:n.formatUnsupportedCmd(i)},htmlBuilder:(e,t)=>{var r=tN(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var i=tm.makeSpan(n,r,t);for(var a in e.attributes)"class"!==a&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>tj(e.body,t)}),tS({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:tz(t[0]),mathml:tz(t[1])}},htmlBuilder:(e,t)=>{var r=tN(e.html,t,!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>tj(e.mathml,t)});var nn=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 a("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!ed(r))throw new a("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};tS({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,i={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(r[0]){for(var h=t3(r[0],"raw").string.split(","),u=0;u<h.length;u++){var c=h[u].split("=");if(2===c.length){var d=c[1].trim();switch(c[0].trim()){case"alt":l=d;break;case"width":i=nn(d);break;case"height":o=nn(d);break;case"totalheight":s=nn(d);break;default:throw new a("Invalid key: '"+c[0]+"' in \\includegraphics.")}}}}var m=t3(t[0],"url").url;return(""===l&&(l=(l=(l=m).replace(/^.*[\\/]/,"")).substring(0,l.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:m}))?{type:"includegraphics",mode:n.mode,alt:l,width:i,height:o,totalheight:s,src:m}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=em(e.height,t),n=0;e.totalheight.number>0&&(n=em(e.totalheight,t)-r);var i=0;e.width.number>0&&(i=em(e.width,t));var a={height:ep(r+n)};i>0&&(a.width=ep(i)),n>0&&(a.verticalAlign=ep(-n));var o=new eS(e.src,e.alt,a);return o.height=r,o.depth=n,o},mathmlBuilder:(e,t)=>{var r=new tU.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=em(e.height,t),i=0;if(e.totalheight.number>0&&(i=em(e.totalheight,t)-n,r.setAttribute("valign",ep(-i))),r.setAttribute("height",ep(n+i)),e.width.number>0){var a=em(e.width,t);r.setAttribute("width",ep(a))}return r.setAttribute("src",e.src),r}}),tS({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t3(t[0],"size");if(r.settings.strict){var a="m"===n[1],o="mu"===i.value.unit;a?(!o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.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:i.value}},htmlBuilder:(e,t)=>tm.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=em(e.dimension,t);return new tU.SpaceNode(r)}}),tS({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(e,t)=>{"clap"===e.alignment?(r=tm.makeSpan([],[tq(e.body,t)]),r=tm.makeSpan(["inner"],[r],t)):r=tm.makeSpan(["inner"],[tq(e.body,t)]);var r,n=tm.makeSpan(["fix"],[]),i=tm.makeSpan([e.alignment],[r,n],t),a=tm.makeSpan(["strut"]);return a.style.height=ep(i.height+i.depth),i.depth&&(a.style.verticalAlign=ep(-i.depth)),i.children.unshift(a),i=tm.makeSpan(["thinbox"],[i],t),tm.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var r=new tU.MathNode("mpadded",[tZ(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}}),tS({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,i=n.mode;n.switchMode("math");var a="\\("===r?"\\)":"$",o=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:o}}}),tS({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new a("Mismatched "+e.funcName)}});var ni=(e,t)=>{switch(t.style.size){case X.DISPLAY.size:return e.display;case X.TEXT.size:return e.text;case X.SCRIPT.size:return e.script;case X.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};tS({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:tz(t[0]),text:tz(t[1]),script:tz(t[2]),scriptscript:tz(t[3])}},htmlBuilder:(e,t)=>{var r=tN(ni(e,t),t,!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>tj(ni(e,t),t)});var na=(e,t,r,n,i,a,o)=>{e=tm.makeSpan([],[e]);var s,l,h,u=r&&B.isCharacterBox(r);if(t){var c=tq(t,n.havingStyle(i.sup()),n);l={elem:c,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var d=tq(r,n.havingStyle(i.sub()),n);s={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-d.height)}}if(l&&s){var m=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+o;h=tm.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:ep(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ep(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var p=e.height-o;h=tm.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:ep(-a)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else{if(!l)return e;var f=e.depth+o;h=tm.makeVList({positionType:"bottom",positionData:f,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ep(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}var g=[h];if(s&&0!==a&&!u){var v=tm.makeSpan(["mspace"],[],n);v.style.marginRight=ep(a),g.unshift(v)}return tm.makeSpan(["mop","op-limits"],g,n)},no=["\\smallint"],ns=(e,t)=>{var r,n,i,a,o=!1;"supsub"===e.type?(r=e.sup,n=e.sub,i=t3(e.base,"op"),o=!0):i=t3(e,"op");var s=t.style,l=!1;if(s.size===X.DISPLAY.size&&i.symbol&&!B.contains(no,i.name)&&(l=!0),i.symbol){var h=l?"Size2-Regular":"Size1-Regular",u="";if(("\\oiint"===i.name||"\\oiiint"===i.name)&&(u=i.name.slice(1),i.name="oiint"===u?"\\iint":"\\iiint"),a=tm.makeSymbol(i.name,h,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),u.length>0){var c=a.italic,d=tm.staticSvg(u+"Size"+(l?"2":"1"),t);a=tm.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:d,shift:l?.08:0}]},t),i.name="\\"+u,a.classes.unshift("mop"),a.italic=c}}else if(i.body){var m=tN(i.body,t,!0);1===m.length&&m[0]instanceof eM?(a=m[0]).classes[0]="mop":a=tm.makeSpan(["mop"],m,t)}else{for(var p=[],f=1;f<i.name.length;f++)p.push(tm.mathsym(i.name[f],i.mode,t));a=tm.makeSpan(["mop"],p,t)}var g=0,v=0;return((a instanceof eM||"\\oiint"===i.name||"\\oiiint"===i.name)&&!i.suppressBaseShift&&(g=(a.height-a.depth)/2-t.fontMetrics().axisHeight,v=a.italic),o)?na(a,r,n,t,s,v,g):(g&&(a.style.position="relative",a.style.top=ep(g)),a)},nl=(e,t)=>{var r;if(e.symbol)r=new t_("mo",[tX(e.name,e.mode)]),B.contains(no,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new t_("mo",tY(e.body,t));else{r=new t_("mi",[new tV(e.name.slice(1))]);var n=new t_("mo",[tX("","text")]);r=e.parentIsSupSub?new t_("mrow",[r,n]):tF([r,n])}return r},nh={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};tS({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=n;return 1===i.length&&(i=nh[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:ns,mathmlBuilder:nl}),tS({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:tz(n)}},htmlBuilder:ns,mathmlBuilder:nl});var nu={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};tS({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:ns,mathmlBuilder:nl}),tS({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:ns,mathmlBuilder:nl}),tS({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return 1===n.length&&(n=nu[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:ns,mathmlBuilder:nl});var nc=(e,t)=>{var r,n,i,a,o=!1;if("supsub"===e.type?(r=e.sup,n=e.sub,i=t3(e.base,"operatorname"),o=!0):i=t3(e,"operatorname"),i.body.length>0){for(var s=tN(i.body.map(e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}),t.withFont("mathrm"),!0),l=0;l<s.length;l++){var h=s[l];h instanceof eM&&(h.text=h.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}a=tm.makeSpan(["mop"],s,t)}else a=tm.makeSpan(["mop"],[],t);return o?na(a,r,n,t,t.style,0,0):a};function nd(e,t,r){for(var n=tN(e,t,!1),i=t.sizeMultiplier/r.sizeMultiplier,a=0;a<n.length;a++){var o=n[a].classes.indexOf("sizing");o<0?Array.prototype.push.apply(n[a].classes,t.sizingClasses(r)):n[a].classes[o+1]==="reset-size"+t.size&&(n[a].classes[o+1]="reset-size"+r.size),n[a].height*=i,n[a].depth*=i}return tm.makeFragment(n)}tS({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"operatorname",mode:r.mode,body:tz(i),alwaysHandleSupSub:"\\operatornamewithlimits"===n,limits:!1,parentIsSupSub:!1}},htmlBuilder:nc,mathmlBuilder:(e,t)=>{for(var r=tY(e.body,t.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(a instanceof tU.SpaceNode);else if(a instanceof tU.MathNode)switch(a.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var o=a.children[0];1===a.children.length&&o instanceof tU.TextNode?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 tU.TextNode(s)]}var l=new tU.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new tU.MathNode("mo",[tX("","text")]);return e.parentIsSupSub?new tU.MathNode("mrow",[l,h]):tU.newDocumentFragment([l,h])}}),rK["\\operatorname"]="\\@ifstar\\operatornamewithlimits\\operatorname@",tk({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?tm.makeFragment(tN(e.body,t,!1)):tm.makeSpan(["mord"],tN(e.body,t,!0),t),mathmlBuilder:(e,t)=>tj(e.body,t,!0)}),tS({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=tq(e.body,t.havingCrampedStyle()),n=tm.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},t);return tm.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var r=new tU.MathNode("mo",[new tU.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new tU.MathNode("mover",[tZ(e.body,t),r]);return n.setAttribute("accent","true"),n}}),tS({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:tz(n)}},htmlBuilder:(e,t)=>{var r=tN(e.body,t.withPhantom(),!1);return tm.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=tY(e.body,t);return new tU.MathNode("mphantom",r)}}),tS({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=tm.makeSpan([],[tq(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),tm.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=tY(tz(e.body),t),n=new tU.MathNode("mphantom",r),i=new tU.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),tS({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=tm.makeSpan(["inner"],[tq(e.body,t.withPhantom())]),n=tm.makeSpan(["fix"],[]);return tm.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=tY(tz(e.body),t),n=new tU.MathNode("mphantom",r),i=new tU.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i}}),tS({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=t3(t[0],"size").value,i=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(e,t){var r=tq(e.body,t),n=em(e.dy,t);return tm.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new tU.MathNode("mpadded",[tZ(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),tS({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),tS({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,i=r[0],a=t3(t[0],"size"),o=t3(t[1],"size");return{type:"rule",mode:n.mode,shift:i&&t3(i,"size").value,width:a.value,height:o.value}},htmlBuilder(e,t){var r=tm.makeSpan(["mord","rule"],[],t),n=em(e.width,t),i=em(e.height,t),a=e.shift?em(e.shift,t):0;return r.style.borderRightWidth=ep(n),r.style.borderTopWidth=ep(i),r.style.bottom=ep(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=1.125*i*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=em(e.width,t),n=em(e.height,t),i=e.shift?em(e.shift,t):0,a=t.color&&t.getColor()||"black",o=new tU.MathNode("mspace");o.setAttribute("mathbackground",a),o.setAttribute("width",ep(r)),o.setAttribute("height",ep(n));var s=new tU.MathNode("mpadded",[o]);return i>=0?s.setAttribute("height",ep(i)):(s.setAttribute("height",ep(i)),s.setAttribute("depth",ep(-i))),s.setAttribute("voffset",ep(i)),s}});var nm=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];tS({type:"sizing",names:nm,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:nm.indexOf(n)+1,body:a}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return nd(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=tY(e.body,r),i=new tU.MathNode("mstyle",n);return i.setAttribute("mathsize",ep(r.sizeMultiplier)),i}}),tS({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,i=!1,a=!1,o=r[0]&&t3(r[0],"ordgroup");if(o){for(var s="",l=0;l<o.body.length;++l)if("t"===(s=o.body[l].text))i=!0;else if("b"===s)a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var h=t[0];return{type:"smash",mode:n.mode,body:h,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var r=tm.makeSpan([],[tq(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var i=0;i<r.children.length;i++)r.children[i].depth=0;var a=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return tm.makeSpan(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new tU.MathNode("mpadded",[tZ(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),tS({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,i=r[0],a=t[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(e,t){var r=tq(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=tm.wrapFragment(r,t);var n=t.fontMetrics().defaultRuleThickness,i=n;t.style.id<X.TEXT.id&&(i=t.fontMetrics().xHeight);var a=n+i/4,o=r.height+r.depth+a+n,{span:s,ruleWidth:l,advanceWidth:h}=rP.sqrtImage(o,t),u=s.height-l;u>r.height+r.depth+a&&(a=(a+u-r.height-r.depth)/2);var c=s.height-r.height-a-l;r.style.paddingLeft=ep(h);var d=tm.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+c)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(!e.index)return tm.makeSpan(["mord","sqrt"],[d],t);var m=t.havingStyle(X.SCRIPTSCRIPT),p=tq(e.index,m,t),f=.6*(d.height-d.depth),g=tm.makeVList({positionType:"shift",positionData:-f,children:[{type:"elem",elem:p}]},t),v=tm.makeSpan(["root"],[g]);return tm.makeSpan(["mord","sqrt"],[v,d],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new tU.MathNode("mroot",[tZ(r,t),tZ(n,t)]):new tU.MathNode("msqrt",[tZ(r,t)])}});var np={display:X.DISPLAY,text:X.TEXT,script:X.SCRIPT,scriptscript:X.SCRIPTSCRIPT};tS({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!0,r),o=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var r=np[e.style],n=t.havingStyle(r).withFont("");return nd(e.body,n,t)},mathmlBuilder(e,t){var r=np[e.style],n=t.havingStyle(r),i=tY(e.body,n),a=new tU.MathNode("mstyle",i),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var nf=function(e,t){var r=e.base;if(!r)return null;if("op"===r.type)return r.limits&&(t.style.size===X.DISPLAY.size||r.alwaysHandleSupSub)?ns:null;if("operatorname"===r.type)return r.alwaysHandleSupSub&&(t.style.size===X.DISPLAY.size||r.limits)?nc:null;else if("accent"===r.type)return B.isCharacterBox(r.base)?t2:null;else if("horizBrace"===r.type)return!e.sub===r.isOver?nr:null;else return null};tk({type:"supsub",htmlBuilder(e,t){var r,n,i,a,o=nf(e,t);if(o)return o(e,t);var{base:s,sup:l,sub:h}=e,u=tq(s,t),c=t.fontMetrics(),d=0,m=0,p=s&&B.isCharacterBox(s);if(l){var f=t.havingStyle(t.style.sup());r=tq(l,f,t),!p&&(d=u.height-f.fontMetrics().supDrop*f.sizeMultiplier/t.sizeMultiplier)}if(h){var g=t.havingStyle(t.style.sub());n=tq(h,g,t),!p&&(m=u.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}i=t.style===X.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var v=t.sizeMultiplier,y=ep(.5/c.ptPerEm/v),b=null;if(n){var x=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(u instanceof eM||x)&&(b=ep(-u.italic))}if(r&&n){d=Math.max(d,i,r.depth+.25*c.xHeight),m=Math.max(m,c.sub2);var w=4*c.defaultRuleThickness;if(d-r.depth-(n.height-m)<w){m=w-(d-r.depth)+n.height;var S=.8*c.xHeight-(d-r.depth);S>0&&(d+=S,m-=S)}var k=[{type:"elem",elem:n,shift:m,marginRight:y,marginLeft:b},{type:"elem",elem:r,shift:-d,marginRight:y}];a=tm.makeVList({positionType:"individualShift",children:k},t)}else if(n){m=Math.max(m,c.sub1,n.height-.8*c.xHeight);var M=[{type:"elem",elem:n,marginLeft:b,marginRight:y}];a=tm.makeVList({positionType:"shift",positionData:m,children:M},t)}else if(r)d=Math.max(d,i,r.depth+.25*c.xHeight),a=tm.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:r,marginRight:y}]},t);else throw Error("supsub must have either sup or sub.");var z=tD(u,"right")||"mord";return tm.makeSpan([z],[u,tm.makeSpan(["msupsub"],[a])],t)},mathmlBuilder(e,t){var r,n,i=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(i=!0,r=e.base.isOver),e.base&&("op"===e.base.type||"operatorname"===e.base.type)&&(e.base.parentIsSupSub=!0);var a=[tZ(e.base,t)];if(e.sub&&a.push(tZ(e.sub,t)),e.sup&&a.push(tZ(e.sup,t)),i)n=r?"mover":"munder";else if(e.sub){if(e.sup){var o=e.base;n=o&&"op"===o.type&&o.limits&&t.style===X.DISPLAY?"munderover":o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(t.style===X.DISPLAY||o.limits)?"munderover":"msubsup"}else{var s=e.base;n=s&&"op"===s.type&&s.limits&&(t.style===X.DISPLAY||s.alwaysHandleSupSub)?"munder":s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===X.DISPLAY)?"munder":"msub"}}else{var l=e.base;n=l&&"op"===l.type&&l.limits&&(t.style===X.DISPLAY||l.alwaysHandleSupSub)?"mover":l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===X.DISPLAY)?"mover":"msup"}return new tU.MathNode(n,a)}}),tk({type:"atom",htmlBuilder:(e,t)=>tm.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new tU.MathNode("mo",[tX(e.text,e.mode)]);if("bin"===e.family){var n=tG(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 ng={mi:"italic",mn:"normal",mtext:"normal"};tk({type:"mathord",htmlBuilder:(e,t)=>tm.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new tU.MathNode("mi",[tX(e.text,e.mode,t)]),n=tG(e,t)||"italic";return n!==ng[r.type]&&r.setAttribute("mathvariant",n),r}}),tk({type:"textord",htmlBuilder:(e,t)=>tm.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,n=tX(e.text,e.mode,t),i=tG(e,t)||"normal";return i!==ng[(r="text"===e.mode?new tU.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new tU.MathNode("mn",[n]):"\\prime"===e.text?new tU.MathNode("mo",[n]):new tU.MathNode("mi",[n])).type]&&r.setAttribute("mathvariant",i),r}});var nv={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ny={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};tk({type:"spacing",htmlBuilder(e,t){if(ny.hasOwnProperty(e.text)){var r=ny[e.text].className||"";if("text"!==e.mode)return tm.makeSpan(["mspace",r],[tm.mathsym(e.text,e.mode,t)],t);var n=tm.makeOrd(e,t,"textord");return n.classes.push(r),n}if(nv.hasOwnProperty(e.text))return tm.makeSpan(["mspace",nv[e.text]],[],t);throw new a('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){var r;if(ny.hasOwnProperty(e.text))r=new tU.MathNode("mtext",[new tU.TextNode("\xa0")]);else if(nv.hasOwnProperty(e.text))return new tU.MathNode("mspace");else throw new a('Unknown type of space "'+e.text+'"');return r}});var nb=()=>{var e=new tU.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};tk({type:"tag",mathmlBuilder(e,t){var r=new tU.MathNode("mtable",[new tU.MathNode("mtr",[nb(),new tU.MathNode("mtd",[tj(e.body,t)]),nb(),new tU.MathNode("mtd",[tj(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var nx={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},nw={"\\textbf":"textbf","\\textmd":"textmd"},nS={"\\textit":"textit","\\textup":"textup"},nk=(e,t)=>{var r=e.font;if(!r)return t;if(nx[r])return t.withTextFontFamily(nx[r]);if(nw[r])return t.withTextFontWeight(nw[r]);else if("\\emph"===r)return"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit");return t.withTextFontShape(nS[r])};tS({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"text",mode:r.mode,body:tz(i),font:n}},htmlBuilder(e,t){var r=nk(e,t),n=tN(e.body,r,!0);return tm.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=nk(e,t);return tj(e.body,r)}}),tS({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=tq(e.body,t),n=tm.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=tm.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},t);return tm.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var r=new tU.MathNode("mo",[new tU.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new tU.MathNode("munder",[tZ(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),tS({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=tq(e.body,t),n=t.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return tm.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new tU.MathNode("mpadded",[tZ(e.body,t)],["vcenter"])}),tS({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=nM(e),n=[],i=t.havingStyle(t.style.text()),a=0;a<r.length;a++){var o=r[a];"~"===o&&(o="\\textasciitilde"),n.push(tm.makeSymbol(o,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return tm.makeSpan(["mord","text"].concat(i.sizingClasses(t)),tm.tryCombineChars(n),i)},mathmlBuilder(e,t){var r=new tU.TextNode(nM(e)),n=new tU.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var nM=e=>e.body.replace(/ /g,e.star?"␣":"\xa0"),nz="[ \r\n ]",nA="[̀-ͯ]",nT=RegExp(nA+"+$"),nC="("+nz+"+)|\\\\(\n|[ \r ]+\n?)[ \r ]*|([!-\\[\\]-‧-豈-]"+nA+"*|[\uD800-\uDBFF][\uDC00-\uDFFF]"+nA+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|(\\\\[a-zA-Z@]+)"+nz)+"*|\\\\[^\uD800-\uDFFF])";class nE{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=RegExp(nC,"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 i("EOF",new n(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new a("Unexpected character: '"+e[t]+"'",new i(e[t],new n(this,t,t+1)));var o=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[o]){var s=e.indexOf("\n",this.tokenRegex.lastIndex);return -1===s?(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=s+1,this.lex()}return new i(o,new n(this,t,this.tokenRegex.lastIndex))}}class nI{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new a("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 i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}o=function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}},rK["\\noexpand"]=o,s=function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}},rK["\\expandafter"]=s,l=function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}},rK["\\@firstoftwo"]=l,h=function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}},rK["\\@secondoftwo"]=h,u=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}},rK["\\@ifnextchar"]=u,rK["\\@ifstar"]="\\@ifnextchar *{\\@firstoftwo{#1}}",c=function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}},rK["\\TextOrMath"]=c;var nN={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};d=function(e){var t,r,n=e.popToken(),i="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text){if("\\"===(n=e.popToken()).text[0])i=n.text.charCodeAt(1);else if("EOF"===n.text)throw new a("\\char` missing argument");else i=n.text.charCodeAt(0)}else t=10;if(t){if(null==(i=nN[n.text])||i>=t)throw new a("Invalid base-"+t+" digit "+n.text);for(;null!=(r=nN[e.future().text])&&r<t;)i*=t,i+=r,e.popToken()}return"\\@char{"+i+"}"},rK["\\char"]=d;var nL=(e,t,r,n)=>{var i=e.consumeArg().tokens;if(1!==i.length)throw new a("\\newcommand's first argument must be a macro name");var o=i[0].text,s=e.isDefined(o);if(s&&!t)throw new a("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!s&&!r)throw new a("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var l=0;if(1===(i=e.consumeArg().tokens).length&&"["===i[0].text){for(var h="",u=e.expandNextToken();"]"!==u.text&&"EOF"!==u.text;)h+=u.text,u=e.expandNextToken();if(!h.match(/^\s*[0-9]+\s*$/))throw new a("Invalid number of arguments: "+h);l=parseInt(h),i=e.consumeArg().tokens}return!(s&&n)&&e.macros.set(o,{tokens:i,numArgs:l}),""};m=e=>nL(e,!1,!0,!1),rK["\\newcommand"]=m,p=e=>nL(e,!0,!1,!1),rK["\\renewcommand"]=p,f=e=>nL(e,!0,!0,!0),rK["\\providecommand"]=f,g=e=>(e.consumeArgs(1)[0],""),rK["\\message"]=g,v=e=>(e.consumeArgs(1)[0],""),rK["\\errmessage"]=v,y=e=>(e.popToken().text,""),rK["\\show"]=y,rK["\\bgroup"]="{",rK["\\egroup"]="}",rK["~"]="\\nobreakspace",rK["\\lq"]="`",rK["\\rq"]="'",rK["\\aa"]="\\r a",rK["\\AA"]="\\r A",rK["\\textcopyright"]="\\html@mathml{\\textcircled{c}}{\\char`\xa9}",rK["\\copyright"]="\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}",rK["\\textregistered"]="\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}",rK["ℬ"]="\\mathscr{B}",rK["ℰ"]="\\mathscr{E}",rK["ℱ"]="\\mathscr{F}",rK["ℋ"]="\\mathscr{H}",rK["ℐ"]="\\mathscr{I}",rK["ℒ"]="\\mathscr{L}",rK["ℳ"]="\\mathscr{M}",rK["ℛ"]="\\mathscr{R}",rK["ℭ"]="\\mathfrak{C}",rK["ℌ"]="\\mathfrak{H}",rK["ℨ"]="\\mathfrak{Z}",rK["\\Bbbk"]="\\Bbb{k}",rK["\xb7"]="\\cdotp",rK["\\llap"]="\\mathllap{\\textrm{#1}}",rK["\\rlap"]="\\mathrlap{\\textrm{#1}}",rK["\\clap"]="\\mathclap{\\textrm{#1}}",rK["\\mathstrut"]="\\vphantom{(}",rK["\\underbar"]="\\underline{\\text{#1}}",rK["\\not"]='\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}',rK["\\neq"]="\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}",rK["\\ne"]="\\neq",rK["≠"]="\\neq",rK["\\notin"]="\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}",rK["∉"]="\\notin",rK["≘"]="\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}",rK["≙"]="\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}",rK["≚"]="\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}",rK["≛"]="\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}",rK["≝"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}",rK["≞"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}",rK["≟"]="\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}",rK["⟂"]="\\perp",rK["‼"]="\\mathclose{!\\mkern-0.8mu!}",rK["∌"]="\\notni",rK["⌜"]="\\ulcorner",rK["⌝"]="\\urcorner",rK["⌞"]="\\llcorner",rK["⌟"]="\\lrcorner",rK["\xa9"]="\\copyright",rK["\xae"]="\\textregistered",rK["️"]="\\textregistered",rK["\\ulcorner"]='\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}',rK["\\urcorner"]='\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}',rK["\\llcorner"]='\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}',rK["\\lrcorner"]='\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}',rK["\\vdots"]="{\\varvdots\\rule{0pt}{15pt}}",rK["⋮"]="\\vdots",rK["\\varGamma"]="\\mathit{\\Gamma}",rK["\\varDelta"]="\\mathit{\\Delta}",rK["\\varTheta"]="\\mathit{\\Theta}",rK["\\varLambda"]="\\mathit{\\Lambda}",rK["\\varXi"]="\\mathit{\\Xi}",rK["\\varPi"]="\\mathit{\\Pi}",rK["\\varSigma"]="\\mathit{\\Sigma}",rK["\\varUpsilon"]="\\mathit{\\Upsilon}",rK["\\varPhi"]="\\mathit{\\Phi}",rK["\\varPsi"]="\\mathit{\\Psi}",rK["\\varOmega"]="\\mathit{\\Omega}",rK["\\substack"]="\\begin{subarray}{c}#1\\end{subarray}",rK["\\colon"]="\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax",rK["\\boxed"]="\\fbox{$\\displaystyle{#1}$}",rK["\\iff"]="\\DOTSB\\;\\Longleftrightarrow\\;",rK["\\implies"]="\\DOTSB\\;\\Longrightarrow\\;",rK["\\impliedby"]="\\DOTSB\\;\\Longleftarrow\\;",rK["\\dddot"]="{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}",rK["\\ddddot"]="{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}";var nB={",":"\\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"};b=function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in nB?t=nB[r]:"\\not"===r.slice(0,4)?t="\\dotsb":r in eN.math&&B.contains(["bin","rel"],eN.math[r].group)&&(t="\\dotsb"),t},rK["\\dots"]=b;var nO={")":!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};x=function(e){return e.future().text in nO?"\\ldots\\,":"\\ldots"},rK["\\dotso"]=x,w=function(e){var t=e.future().text;return t in nO&&","!==t?"\\ldots\\,":"\\ldots"},rK["\\dotsc"]=w,S=function(e){return e.future().text in nO?"\\@cdots\\,":"\\@cdots"},rK["\\cdots"]=S,rK["\\dotsb"]="\\cdots",rK["\\dotsm"]="\\cdots",rK["\\dotsi"]="\\!\\cdots",rK["\\dotsx"]="\\ldots\\,",rK["\\DOTSI"]="\\relax",rK["\\DOTSB"]="\\relax",rK["\\DOTSX"]="\\relax",rK["\\tmspace"]="\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax",rK["\\,"]="\\tmspace+{3mu}{.1667em}",rK["\\thinspace"]="\\,",rK["\\>"]="\\mskip{4mu}",rK["\\:"]="\\tmspace+{4mu}{.2222em}",rK["\\medspace"]="\\:",rK["\\;"]="\\tmspace+{5mu}{.2777em}",rK["\\thickspace"]="\\;",rK["\\!"]="\\tmspace-{3mu}{.1667em}",rK["\\negthinspace"]="\\!",rK["\\negmedspace"]="\\tmspace-{4mu}{.2222em}",rK["\\negthickspace"]="\\tmspace-{5mu}{.277em}",rK["\\enspace"]="\\kern.5em ",rK["\\enskip"]="\\hskip.5em\\relax",rK["\\quad"]="\\hskip1em\\relax",rK["\\qquad"]="\\hskip2em\\relax",rK["\\tag"]="\\@ifstar\\tag@literal\\tag@paren",rK["\\tag@paren"]="\\tag@literal{({#1})}",k=e=>{if(e.macros.get("\\df@tag"))throw new a("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"},rK["\\tag@literal"]=k,rK["\\bmod"]="\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}",rK["\\pod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)",rK["\\pmod"]="\\pod{{\\rm mod}\\mkern6mu#1}",rK["\\mod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1",rK["\\newline"]="\\\\\\relax",rK["\\TeX"]="\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}";var nD=ep(ee["Main-Regular"][84][1]-.7*ee["Main-Regular"][65][1]);M="\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+nD+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}",rK["\\LaTeX"]=M,z="\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+nD+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}",rK["\\KaTeX"]=z,rK["\\hspace"]="\\@ifstar\\@hspacer\\@hspace",rK["\\@hspace"]="\\hskip #1\\relax",rK["\\@hspacer"]="\\rule{0pt}{0pt}\\hskip #1\\relax",rK["\\ordinarycolon"]=":",rK["\\vcentcolon"]="\\mathrel{\\mathop\\ordinarycolon}",rK["\\dblcolon"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}',rK["\\coloneqq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}',rK["\\Coloneqq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}',rK["\\coloneq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}',rK["\\Coloneq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}',rK["\\eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}',rK["\\Eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}',rK["\\eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}',rK["\\Eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}',rK["\\colonapprox"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}',rK["\\Colonapprox"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}',rK["\\colonsim"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}',rK["\\Colonsim"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}',rK["∷"]="\\dblcolon",rK["∹"]="\\eqcolon",rK["≔"]="\\coloneqq",rK["≕"]="\\eqqcolon",rK["⩴"]="\\Coloneqq",rK["\\ratio"]="\\vcentcolon",rK["\\coloncolon"]="\\dblcolon",rK["\\colonequals"]="\\coloneqq",rK["\\coloncolonequals"]="\\Coloneqq",rK["\\equalscolon"]="\\eqqcolon",rK["\\equalscoloncolon"]="\\Eqqcolon",rK["\\colonminus"]="\\coloneq",rK["\\coloncolonminus"]="\\Coloneq",rK["\\minuscolon"]="\\eqcolon",rK["\\minuscoloncolon"]="\\Eqcolon",rK["\\coloncolonapprox"]="\\Colonapprox",rK["\\coloncolonsim"]="\\Colonsim",rK["\\simcolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rK["\\simcoloncolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",rK["\\approxcolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}",rK["\\approxcoloncolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",rK["\\notni"]="\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}",rK["\\limsup"]="\\DOTSB\\operatorname*{lim\\,sup}",rK["\\liminf"]="\\DOTSB\\operatorname*{lim\\,inf}",rK["\\injlim"]="\\DOTSB\\operatorname*{inj\\,lim}",rK["\\projlim"]="\\DOTSB\\operatorname*{proj\\,lim}",rK["\\varlimsup"]="\\DOTSB\\operatorname*{\\overline{lim}}",rK["\\varliminf"]="\\DOTSB\\operatorname*{\\underline{lim}}",rK["\\varinjlim"]="\\DOTSB\\operatorname*{\\underrightarrow{lim}}",rK["\\varprojlim"]="\\DOTSB\\operatorname*{\\underleftarrow{lim}}",rK["\\gvertneqq"]="\\html@mathml{\\@gvertneqq}{≩}",rK["\\lvertneqq"]="\\html@mathml{\\@lvertneqq}{≨}",rK["\\ngeqq"]="\\html@mathml{\\@ngeqq}{≱}",rK["\\ngeqslant"]="\\html@mathml{\\@ngeqslant}{≱}",rK["\\nleqq"]="\\html@mathml{\\@nleqq}{≰}",rK["\\nleqslant"]="\\html@mathml{\\@nleqslant}{≰}",rK["\\nshortmid"]="\\html@mathml{\\@nshortmid}{∤}",rK["\\nshortparallel"]="\\html@mathml{\\@nshortparallel}{∦}",rK["\\nsubseteqq"]="\\html@mathml{\\@nsubseteqq}{⊈}",rK["\\nsupseteqq"]="\\html@mathml{\\@nsupseteqq}{⊉}",rK["\\varsubsetneq"]="\\html@mathml{\\@varsubsetneq}{⊊}",rK["\\varsubsetneqq"]="\\html@mathml{\\@varsubsetneqq}{⫋}",rK["\\varsupsetneq"]="\\html@mathml{\\@varsupsetneq}{⊋}",rK["\\varsupsetneqq"]="\\html@mathml{\\@varsupsetneqq}{⫌}",rK["\\imath"]="\\html@mathml{\\@imath}{ı}",rK["\\jmath"]="\\html@mathml{\\@jmath}{ȷ}",rK["\\llbracket"]="\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}",rK["\\rrbracket"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}",rK["⟦"]="\\llbracket",rK["⟧"]="\\rrbracket",rK["\\lBrace"]="\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}",rK["\\rBrace"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}",rK["⦃"]="\\lBrace",rK["⦄"]="\\rBrace",rK["\\minuso"]="\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}",rK["⦵"]="\\minuso",rK["\\darr"]="\\downarrow",rK["\\dArr"]="\\Downarrow",rK["\\Darr"]="\\Downarrow",rK["\\lang"]="\\langle",rK["\\rang"]="\\rangle",rK["\\uarr"]="\\uparrow",rK["\\uArr"]="\\Uparrow",rK["\\Uarr"]="\\Uparrow",rK["\\N"]="\\mathbb{N}",rK["\\R"]="\\mathbb{R}",rK["\\Z"]="\\mathbb{Z}",rK["\\alef"]="\\aleph",rK["\\alefsym"]="\\aleph",rK["\\Alpha"]="\\mathrm{A}",rK["\\Beta"]="\\mathrm{B}",rK["\\bull"]="\\bullet",rK["\\Chi"]="\\mathrm{X}",rK["\\clubs"]="\\clubsuit",rK["\\cnums"]="\\mathbb{C}",rK["\\Complex"]="\\mathbb{C}",rK["\\Dagger"]="\\ddagger",rK["\\diamonds"]="\\diamondsuit",rK["\\empty"]="\\emptyset",rK["\\Epsilon"]="\\mathrm{E}",rK["\\Eta"]="\\mathrm{H}",rK["\\exist"]="\\exists",rK["\\harr"]="\\leftrightarrow",rK["\\hArr"]="\\Leftrightarrow",rK["\\Harr"]="\\Leftrightarrow",rK["\\hearts"]="\\heartsuit",rK["\\image"]="\\Im",rK["\\infin"]="\\infty",rK["\\Iota"]="\\mathrm{I}",rK["\\isin"]="\\in",rK["\\Kappa"]="\\mathrm{K}",rK["\\larr"]="\\leftarrow",rK["\\lArr"]="\\Leftarrow",rK["\\Larr"]="\\Leftarrow",rK["\\lrarr"]="\\leftrightarrow",rK["\\lrArr"]="\\Leftrightarrow",rK["\\Lrarr"]="\\Leftrightarrow",rK["\\Mu"]="\\mathrm{M}",rK["\\natnums"]="\\mathbb{N}",rK["\\Nu"]="\\mathrm{N}",rK["\\Omicron"]="\\mathrm{O}",rK["\\plusmn"]="\\pm",rK["\\rarr"]="\\rightarrow",rK["\\rArr"]="\\Rightarrow",rK["\\Rarr"]="\\Rightarrow",rK["\\real"]="\\Re",rK["\\reals"]="\\mathbb{R}",rK["\\Reals"]="\\mathbb{R}",rK["\\Rho"]="\\mathrm{P}",rK["\\sdot"]="\\cdot",rK["\\sect"]="\\S",rK["\\spades"]="\\spadesuit",rK["\\sub"]="\\subset",rK["\\sube"]="\\subseteq",rK["\\supe"]="\\supseteq",rK["\\Tau"]="\\mathrm{T}",rK["\\thetasym"]="\\vartheta",rK["\\weierp"]="\\wp",rK["\\Zeta"]="\\mathrm{Z}",rK["\\argmin"]="\\DOTSB\\operatorname*{arg\\,min}",rK["\\argmax"]="\\DOTSB\\operatorname*{arg\\,max}",rK["\\plim"]="\\DOTSB\\mathop{\\operatorname{plim}}\\limits",rK["\\bra"]="\\mathinner{\\langle{#1}|}",rK["\\ket"]="\\mathinner{|{#1}\\rangle}",rK["\\braket"]="\\mathinner{\\langle{#1}\\rangle}",rK["\\Bra"]="\\left\\langle#1\\right|",rK["\\Ket"]="\\left|#1\\right\\rangle";var nR=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",o),i.length&&r.macros.set("\\|",s));var a=t;return!t&&i.length&&"|"===r.future().text&&(r.popToken(),a=!0),{tokens:a?i:n,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,u=t.expandTokens([...a,...h,...r]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};A=nR(!1),rK["\\bra@ket"]=A,T=nR(!0),rK["\\bra@set"]=T,rK["\\Braket"]="\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}",rK["\\Set"]="\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}",rK["\\set"]="\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}",rK["\\angln"]="{\\angl n}",rK["\\blue"]="\\textcolor{##6495ed}{#1}",rK["\\orange"]="\\textcolor{##ffa500}{#1}",rK["\\pink"]="\\textcolor{##ff00af}{#1}",rK["\\red"]="\\textcolor{##df0030}{#1}",rK["\\green"]="\\textcolor{##28ae7b}{#1}",rK["\\gray"]="\\textcolor{gray}{#1}",rK["\\purple"]="\\textcolor{##9d38bd}{#1}",rK["\\blueA"]="\\textcolor{##ccfaff}{#1}",rK["\\blueB"]="\\textcolor{##80f6ff}{#1}",rK["\\blueC"]="\\textcolor{##63d9ea}{#1}",rK["\\blueD"]="\\textcolor{##11accd}{#1}",rK["\\blueE"]="\\textcolor{##0c7f99}{#1}",rK["\\tealA"]="\\textcolor{##94fff5}{#1}",rK["\\tealB"]="\\textcolor{##26edd5}{#1}",rK["\\tealC"]="\\textcolor{##01d1c1}{#1}",rK["\\tealD"]="\\textcolor{##01a995}{#1}",rK["\\tealE"]="\\textcolor{##208170}{#1}",rK["\\greenA"]="\\textcolor{##b6ffb0}{#1}",rK["\\greenB"]="\\textcolor{##8af281}{#1}",rK["\\greenC"]="\\textcolor{##74cf70}{#1}",rK["\\greenD"]="\\textcolor{##1fab54}{#1}",rK["\\greenE"]="\\textcolor{##0d923f}{#1}",rK["\\goldA"]="\\textcolor{##ffd0a9}{#1}",rK["\\goldB"]="\\textcolor{##ffbb71}{#1}",rK["\\goldC"]="\\textcolor{##ff9c39}{#1}",rK["\\goldD"]="\\textcolor{##e07d10}{#1}",rK["\\goldE"]="\\textcolor{##a75a05}{#1}",rK["\\redA"]="\\textcolor{##fca9a9}{#1}",rK["\\redB"]="\\textcolor{##ff8482}{#1}",rK["\\redC"]="\\textcolor{##f9685d}{#1}",rK["\\redD"]="\\textcolor{##e84d39}{#1}",rK["\\redE"]="\\textcolor{##bc2612}{#1}",rK["\\maroonA"]="\\textcolor{##ffbde0}{#1}",rK["\\maroonB"]="\\textcolor{##ff92c6}{#1}",rK["\\maroonC"]="\\textcolor{##ed5fa6}{#1}",rK["\\maroonD"]="\\textcolor{##ca337c}{#1}",rK["\\maroonE"]="\\textcolor{##9e034e}{#1}",rK["\\purpleA"]="\\textcolor{##ddd7ff}{#1}",rK["\\purpleB"]="\\textcolor{##c6b9fc}{#1}",rK["\\purpleC"]="\\textcolor{##aa87ff}{#1}",rK["\\purpleD"]="\\textcolor{##7854ab}{#1}",rK["\\purpleE"]="\\textcolor{##543b78}{#1}",rK["\\mintA"]="\\textcolor{##f5f9e8}{#1}",rK["\\mintB"]="\\textcolor{##edf2df}{#1}",rK["\\mintC"]="\\textcolor{##e0e5cc}{#1}",rK["\\grayA"]="\\textcolor{##f6f7f7}{#1}",rK["\\grayB"]="\\textcolor{##f0f1f2}{#1}",rK["\\grayC"]="\\textcolor{##e3e5e6}{#1}",rK["\\grayD"]="\\textcolor{##d6d8da}{#1}",rK["\\grayE"]="\\textcolor{##babec2}{#1}",rK["\\grayF"]="\\textcolor{##888d93}{#1}",rK["\\grayG"]="\\textcolor{##626569}{#1}",rK["\\grayH"]="\\textcolor{##3b3e40}{#1}",rK["\\grayI"]="\\textcolor{##21242c}{#1}",rK["\\kaBlue"]="\\textcolor{##314453}{#1}",rK["\\kaGreen"]="\\textcolor{##71B307}{#1}";var nq={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class nP{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new nI(rK,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new nE(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 i("EOF",r.loc)),this.pushTokens(n),t.range(r,"")}consumeSpaces(){for(;;)if(" "===this.future().text)this.stack.pop();else break}consumeArg(e){var t,r=[],n=e&&e.length>0;!n&&this.consumeSpaces();var i=this.future(),o=0,s=0;do{if(t=this.popToken(),r.push(t),"{"===t.text)++o;else if("}"===t.text){if(-1==--o)throw new a("Extra }",t)}else if("EOF"===t.text)throw new a("Unexpected end of input in a macro argument, expected '"+(e&&n?e[s]:"}")+"'",t);if(e&&n){if((0===o||1===o&&"{"===e[s])&&t.text===e[s]){if(++s===e.length){r.splice(-s,s);break}}else s=0}}while(0!==o||n);return"{"===i.text&&"}"===r[r.length-1].text&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:t}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new a("The length of delimiters doesn't match the number of args!");for(var r=t[0],n=0;n<r.length;n++){var i=this.popToken();if(r[n]!==i.text)throw new a("Use of the macro doesn't match its definition",i)}}for(var o=[],s=0;s<e;s++)o.push(this.consumeArg(t&&t[s+1]).tokens);return o}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new a("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 a("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var i=n.tokens,o=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){i=i.slice();for(var s=i.length-1;s>=0;--s){var l=i[s];if("#"===l.text){if(0===s)throw new a("Incomplete placeholder at end of macro body",l);if("#"===(l=i[--s]).text)i.splice(s+1,1);else if(/^[1-9]$/.test(l.text))i.splice(s,2,...o[+l.text-1]);else throw new a("Not a valid argument number",l)}}}return this.pushTokens(i),i.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}throw Error()}expandMacro(e){return this.macros.has(e)?this.expandTokens([new i(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 i=0;if(-1!==n.indexOf("#")){for(var a=n.replace(/##/g,"");-1!==a.indexOf("#"+(i+1));)++i}for(var o=new nE(n,this.settings),s=[],l=o.lex();"EOF"!==l.text;)s.push(l),l=o.lex();return s.reverse(),{tokens:s,numArgs:i}}return n}isDefined(e){return this.macros.has(e)||tb.hasOwnProperty(e)||eN.math.hasOwnProperty(e)||eN.text.hasOwnProperty(e)||nq.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:tb.hasOwnProperty(e)&&!tb[e].primitive}}var nH=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,nF=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","\xb9":"1","\xb2":"2","\xb3":"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",ᵝ:"β",ᵞ:"γ",ᵟ:"δ",ᵠ:"ϕ",ᵡ:"χ",ᶿ:"θ"}),n_={"́":{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"}},nV={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class nU{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new nP(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new a("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 i("}")),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(-1!==nU.endOfExpression.indexOf(n.text)||t&&n.text===t||e&&tb[n.text]&&tb[n.text].infix)break;var i=this.parseAtom(t);if(i){if("internal"===i.type)continue}else break;r.push(i)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t=-1,r=0;r<e.length;r++)if("infix"===e[r].type){if(-1!==t)throw new a("only one infix operator per group",e[r].token);t=r,n=e[r].replaceWith}if(-1===t||!n)return e;var n,i,o,s,l=e.slice(0,t),h=e.slice(t+1);return i=1===l.length&&"ordgroup"===l[0].type?l[0]:{type:"ordgroup",mode:this.mode,body:l},o=1===h.length&&"ordgroup"===h[0].type?h[0]:{type:"ordgroup",mode:this.mode,body:h},[s="\\\\abovefrac"===n?this.callFunction(n,[i,e[t],o],[]):this.callFunction(n,[i,o],[])]}handleSupSubscript(e){var t,r,n=this.fetch(),i=n.text;this.consume(),this.consumeSpaces();do t=this.parseGroup(e);while((null==(r=t)?void 0:r.type)==="internal");if(!t)throw new a("Expected group after '"+i+"'",n);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((null==n?void 0:n.type)==="internal"||"text"===this.mode)return n;for(;;){this.consumeSpaces();var o=this.fetch();if("\\limits"===o.text||"\\nolimits"===o.text){if(n&&"op"===n.type){var s="\\limits"===o.text;n.limits=s,n.alwaysHandleSupSub=!0}else if(n&&"operatorname"===n.type)n.alwaysHandleSupSub&&(n.limits="\\limits"===o.text);else throw new a("Limit controls must follow a math operator",o);this.consume()}else if("^"===o.text){if(t)throw new a("Double superscript",o);t=this.handleSupSubscript("superscript")}else if("_"===o.text){if(r)throw new a("Double subscript",o);r=this.handleSupSubscript("subscript")}else if("'"===o.text){if(t)throw new a("Double superscript",o);var l={type:"textord",mode:this.mode,text:"\\prime"},h=[l];for(this.consume();"'"===this.fetch().text;)h.push(l),this.consume();"^"===this.fetch().text&&h.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:h}}else if(nF[o.text]){var u=nH.test(o.text),c=[];for(c.push(new i(nF[o.text])),this.consume();;){var d=this.fetch().text;if(!nF[d]||nH.test(d)!==u)break;c.unshift(new i(nF[d])),this.consume()}var m=this.subparse(c);u?r={type:"ordgroup",mode:"math",body:m}:t={type:"ordgroup",mode:"math",body:m}}else break}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,i=tb[n];if(!i)return null;if(this.consume(),t&&"atom"!==t&&!i.allowedInArgument)throw new a("Got function '"+n+"' with no arguments"+(t?" as "+t:""),r);if("text"!==this.mode||i.allowedInText){if("math"===this.mode&&!1===i.allowedInMath)throw new a("Can't use function '"+n+"' in math mode",r)}else throw new a("Can't use function '"+n+"' in text mode",r);var{args:o,optArgs:s}=this.parseArguments(n,i);return this.callFunction(n,o,s,r,e)}callFunction(e,t,r,n,i){var o=tb[e];if(o&&o.handler)return o.handler({funcName:e,parser:this,token:n,breakOnTokenText:i},t,r);throw new a("No function handler for "+e)}parseArguments(e,t){var r=t.numArgs+t.numOptionalArgs;if(0===r)return{args:[],optArgs:[]};for(var n=[],i=[],o=0;o<r;o++){var s=t.argTypes&&t.argTypes[o],l=o<t.numOptionalArgs;(t.primitive&&null==s||"sqrt"===t.type&&1===o&&null==i[0])&&(s="primitive");var h=this.parseGroupOfType("argument to '"+e+"'",s,l);if(l)i.push(h);else if(null!=h)n.push(h);else throw new a("Null argument, please report this as a bug")}return{args:n,optArgs:i}}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 i=this.parseStringGroup("raw",r);return null!=i?{type:"raw",mode:"text",string:i.text}:null;case"primitive":if(r)throw new a("A primitive argument cannot be optional");var o=this.parseGroup(e);if(null==o)throw new a("Expected group as "+e,this.fetch());return o;case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new a("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(e,t){var r,n=this.gullet.scanArgument(t);if(null==n)return null;for(var i="";"EOF"!==(r=this.fetch()).text;)i+=r.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(e,t){for(var r,n=this.fetch(),i=n,o="";"EOF"!==(r=this.fetch()).text&&e.test(o+r.text);)o+=(i=r).text,this.consume();if(""===o)throw new a("Invalid "+t+": '"+n.text+"'",n);return n.range(i,o)}parseColorGroup(e){var t=this.parseStringGroup("color",e);if(null==t)return null;var r=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!r)throw new a("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 a("Invalid size: '"+t.text+"'",t);var i={number:+(n[1]+n[2]),unit:n[3]};if(!ed(i))throw new a("Invalid unit: '"+i.unit+"'",t);return{type:"size",mode:this.mode,value:i,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 i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var a={type:"ordgroup",mode:this.mode,loc:r.loc,body:i};return t&&this.switchMode(n),a}parseGroup(e,t){var r,i=this.fetch(),o=i.text;if("{"===o||"\\begingroup"===o){this.consume();var s="{"===o?"}":"\\endgroup";this.gullet.beginGroup();var l=this.parseExpression(!1,s),h=this.fetch();this.expect(s),this.gullet.endGroup(),r={type:"ordgroup",mode:this.mode,loc:n.range(i,h),body:l,semisimple:"\\begingroup"===o||void 0}}else if(null==(r=this.parseFunction(t,e)||this.parseSymbol())&&"\\"===o[0]&&!nq.hasOwnProperty(o)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+o,i);r=this.formatUnsupportedCmd(o),this.consume()}return r}formLigatures(e){for(var t=e.length-1,r=0;r<t;++r){var i=e[r],a=i.text;"-"===a&&"-"===e[r+1].text&&(r+1<t&&"-"===e[r+2].text?(e.splice(r,3,{type:"textord",mode:"text",loc:n.range(i,e[r+2]),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:n.range(i,e[r+1]),text:"--"}),t-=1)),("'"===a||"`"===a)&&e[r+1].text===a&&(e.splice(r,2,{type:"textord",mode:"text",loc:n.range(i,e[r+1]),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),i="*"===r.charAt(0);if(i&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new a("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:i}}nV.hasOwnProperty(t[0])&&!eN[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=nV[t[0]]+t.slice(1));var o=nT.exec(t);if(o&&("i"===(t=t.substring(0,o.index))?t="ı":"j"===t&&(t="ȷ")),eN[this.mode][t]){this.settings.strict&&"math"===this.mode&&e7.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var s,l,h=eN[this.mode][t].group,u=n.range(e);s=l=eE.hasOwnProperty(h)?{type:"atom",mode:this.mode,family:h,loc:u,text:t}:{type:h,mode:this.mode,loc:u,text:t}}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(K(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)),s={type:"textord",mode:"text",loc:n.range(e),text:t}}if(this.consume(),o)for(var c=0;c<o[0].length;c++){var d=o[0][c];if(!n_[d])throw new a("Unknown accent ' "+d+"'",e);var m=n_[d][this.mode]||n_[d].text;if(!m)throw new a("Accent "+d+" unsupported in "+this.mode+" mode",e);s={type:"accent",mode:this.mode,loc:n.range(e),label:m,isStretchy:!1,isShifty:!0,base:s}}return s}}nU.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var nX=function(e,t){if(!("string"==typeof e||e instanceof String))throw TypeError("KaTeX can only parse string typed expression");var r=new nU(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 a("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:r.subparse([new i("\\df@tag")])}]}return n},nW=function(e,t,r){t.textContent="";var n=nj(e,r).toNode();t.appendChild(n)};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&(nW=function(){throw new a("KaTeX doesn't work in quirks mode.")});var nG=function(e,t){return nj(e,t).toMarkup()},nK=function(e,t){return nX(e,new D(t))},nY=function(e,t,r){if(r.throwOnError||!(e instanceof a))throw e;var n=tm.makeSpan(["katex-error"],[new eM(t)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+r.errorColor),n},nj=function(e,t){var r=new D(t);try{var n=nX(e,r);return t0(n,e,r)}catch(t){return nY(t,e,r)}},nZ=function(e,t){var r=new D(t);try{var n=nX(e,r);return t1(n,e,r)}catch(t){return nY(t,e,r)}},n$="0.16.22",nQ={Span:ex,Anchor:ew,SymbolNode:eM,SvgNode:ez,PathNode:eA,LineNode:eT},nJ={version:n$,render:nW,renderToString:nG,ParseError:a,SETTINGS_SCHEMA:O,__parse:nK,__renderToDomTree:nj,__renderToHTMLTree:nZ,__setFontMetrics:en,__defineSymbol:eL,__defineFunction:tS,__defineMacro:rY,__domTree:nQ}}}]); |