!function(A){var B={};function Q(g){if(B[g])return B[g].exports;var E=B[g]={i:g,l:!1,exports:{}};return A[g].call(E.exports,E,E.exports,Q),E.l=!0,E.exports}Q.m=A,Q.c=B,Q.d=function(A,B,g){Q.o(A,B)||Object.defineProperty(A,B,{enumerable:!0,get:g})},Q.r=function(A){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},Q.t=function(A,B){if(1&B&&(A=Q(A)),8&B)return A;if(4&B&&"object"==typeof A&&A&&A.__esModule)return A;var g=Object.create(null);if(Q.r(g),Object.defineProperty(g,"default",{enumerable:!0,value:A}),2&B&&"string"!=typeof A)for(var E in A)Q.d(g,E,function(B){return A[B]}.bind(null,E));return g},Q.n=function(A){var B=A&&A.__esModule?function(){return A.default}:function(){return A};return Q.d(B,"a",B),B},Q.o=function(A,B){return Object.prototype.hasOwnProperty.call(A,B)},Q.p="",Q(Q.s=64)}([function(A,B,Q){"use strict";A.exports=function(A,B){return B||(B={}),"string"!=typeof(A=A&&A.__esModule?A.default:A)?A:(/^['"].*['"]$/.test(A)&&(A=A.slice(1,-1)),B.hash&&(A+=B.hash),/["'() \t\n]/.test(A)||B.needQuotes?'"'.concat(A.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):A)}},function(A,B,Q){"use strict";var g=Q(3),E=Q.n(g),w=Q(0),I=Q.n(w),C=Q(4),Y=Q(5),M=Q(6),F=Q(7),c=Q(8),s=Q(9),U=Q(10),D=Q(11),i=Q(12),N=Q(13),G=Q(14),h=Q(15),t=Q(16),e=Q(17),y=Q(18),J=Q(19),H=Q(20),j=Q(21),o=Q(22),z=Q(23),r=Q(24),R=Q(25),n=Q(26),x=Q(27),a=Q(28),W=Q(29),S=Q(30),L=Q(31),m=Q(32),k=Q(33),l=Q(34),K=Q(35),T=Q(36),V=Q(37),b=Q(38),u=Q(39),d=Q(40),p=Q(41),X=Q(42),Z=Q(43),f=Q(44),O=Q(45),P=Q(46),v=Q(47),q=Q(48),_=Q(49),$=Q(50),AA=Q(51),BA=Q(52),QA=Q(53),gA=Q(54),EA=Q(55),wA=Q(56),IA=Q(57),CA=Q(58),YA=Q(59),MA=Q(60),FA=Q(61),cA=Q(62),sA=Q(63),UA=E()((function(A){return A[1]})),DA=I()(C.a),iA=I()(Y.a),NA=I()(M.a),GA=I()(F.a),hA=I()(c.a),tA=I()(s.a),eA=I()(U.a),yA=I()(D.a),JA=I()(i.a),HA=I()(N.a),jA=I()(G.a),oA=I()(h.a),zA=I()(t.a),rA=I()(e.a),RA=I()(y.a),nA=I()(J.a),xA=I()(H.a),aA=I()(j.a),WA=I()(o.a),SA=I()(z.a),LA=I()(r.a),mA=I()(R.a),kA=I()(n.a),lA=I()(x.a),KA=I()(a.a),TA=I()(W.a),VA=I()(S.a),bA=I()(L.a),uA=I()(m.a),dA=I()(k.a),pA=I()(l.a),XA=I()(K.a),ZA=I()(T.a),fA=I()(V.a),OA=I()(b.a),PA=I()(u.a),vA=I()(d.a),qA=I()(p.a),_A=I()(X.a),$A=I()(Z.a),AB=I()(f.a),BB=I()(O.a),QB=I()(P.a),gB=I()(v.a),EB=I()(q.a),wB=I()(_.a),IB=I()($.a),CB=I()(AA.a),YB=I()(BA.a),MB=I()(QA.a),FB=I()(gA.a),cB=I()(EA.a),sB=I()(wA.a),UB=I()(IA.a),DB=I()(CA.a),iB=I()(YA.a),NB=I()(MA.a),GB=I()(FA.a),hB=I()(cA.a),tB=I()(sA.a);UA.push([A.i,"@font-face{font-family:KaTeX_AMS;src:url("+DA+') format("woff2"),url('+iA+') format("woff"),url('+NA+') format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url('+GA+') format("woff2"),url('+hA+') format("woff"),url('+tA+') format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url('+eA+') format("woff2"),url('+yA+') format("woff"),url('+JA+') format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url('+HA+') format("woff2"),url('+jA+') format("woff"),url('+oA+') format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url('+zA+') format("woff2"),url('+rA+') format("woff"),url('+RA+') format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url('+nA+') format("woff2"),url('+xA+') format("woff"),url('+aA+') format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url('+WA+') format("woff2"),url('+SA+') format("woff"),url('+LA+') format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url('+mA+') format("woff2"),url('+kA+') format("woff"),url('+lA+') format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url('+KA+') format("woff2"),url('+TA+') format("woff"),url('+VA+') format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url('+bA+') format("woff2"),url('+uA+') format("woff"),url('+dA+') format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url('+pA+') format("woff2"),url('+XA+') format("woff"),url('+ZA+') format("truetype");font-weight:400;font-style:italic}@font-face{font-family:"KaTeX_SansSerif";src:url('+fA+') format("woff2"),url('+OA+') format("woff"),url('+PA+') format("truetype");font-weight:700;font-style:normal}@font-face{font-family:"KaTeX_SansSerif";src:url('+vA+') format("woff2"),url('+qA+') format("woff"),url('+_A+') format("truetype");font-weight:400;font-style:italic}@font-face{font-family:"KaTeX_SansSerif";src:url('+$A+') format("woff2"),url('+AB+') format("woff"),url('+BB+') format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url('+QB+') format("woff2"),url('+gB+') format("woff"),url('+EB+') format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url('+wB+') format("woff2"),url('+IB+') format("woff"),url('+CB+') format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url('+YB+') format("woff2"),url('+MB+') format("woff"),url('+FB+') format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url('+cB+') format("woff2"),url('+sB+') format("woff"),url('+UB+') format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url('+DB+') format("woff2"),url('+iB+') format("woff"),url('+NB+') format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url('+GB+') format("woff2"),url('+hB+') format("woff"),url('+tB+') format("truetype");font-weight:400;font-style:normal}.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto;border-color:currentColor}.katex *{-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.12.0"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .vbox{-ms-flex-direction:column;flex-direction:column;align-items:baseline}.katex .hbox,.katex .vbox{display:-ms-inline-flexbox;display:inline-flex}.katex .hbox{-ms-flex-direction:row;flex-direction:row;width:100%}.katex .thinbox{display:inline-flex;flex-direction:row;width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:0 solid;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}\n',""]),B.a=UA},function(A,B,Q){"use strict";var g,E=function(){return void 0===g&&(g=Boolean(window&&document&&document.all&&!window.atob)),g},w=function(){var A={};return function(B){if(void 0===A[B]){var Q=document.querySelector(B);if(window.HTMLIFrameElement&&Q instanceof window.HTMLIFrameElement)try{Q=Q.contentDocument.head}catch(A){Q=null}A[B]=Q}return A[B]}}(),I=[];function C(A){for(var B=-1,Q=0;Q{A.use(g)})},function(A,B,Q){"use strict";Q.r(B);var g=Q(2),E=Q.n(g),w=Q(1),I={insert:"head",singleton:!1};E()(w.a,I);B.default=w.a.locals||{}},function(A,B,Q){"use strict";var g=Q(67);function E(A,B){var Q,g,E=A.posMax,w=!0,I=!0;return Q=B>0?A.src.charCodeAt(B-1):-1,g=B+1<=E?A.src.charCodeAt(B+1):-1,(32===Q||9===Q||g>=48&&g<=57)&&(I=!1),32!==g&&9!==g||(w=!1),{can_open:w,can_close:I}}function w(A,B){var Q,g,w,I;if("$"!==A.src[A.pos])return!1;if(!E(A,A.pos).can_open)return B||(A.pending+="$"),A.pos+=1,!0;for(g=Q=A.pos+1;-1!==(g=A.src.indexOf("$",g));){for(I=g-1;"\\"===A.src[I];)I-=1;if((g-I)%2==1)break;g+=1}return-1===g?(B||(A.pending+="$"),A.pos=Q,!0):g-Q==0?(B||(A.pending+="$$"),A.pos=Q+1,!0):E(A,g).can_close?(B||((w=A.push("math_inline","math",0)).markup="$",w.content=A.src.slice(Q,g)),A.pos=g+1,!0):(B||(A.pending+="$"),A.pos=Q,!0)}function I(A,B,Q,g){var E,w,I,C,Y,M=!1,F=A.bMarks[B]+A.tShift[B],c=A.eMarks[B];if(F+2>c)return!1;if("$$"!==A.src.slice(F,F+2))return!1;if(F+=2,E=A.src.slice(F,c),g)return!0;for("$$"===E.trim().slice(-2)&&(E=E.trim().slice(0,-2),M=!0),I=B;!M&&!(++I>=Q)&&!((F=A.bMarks[I]+A.tShift[I])<(c=A.eMarks[I])&&A.tShift[I]/g,">").replace(/"/g,""").replace(/'/g,"'")}A.exports=function(A,B){B=B||{};A.inline.ruler.after("escape","math_inline",w),A.block.ruler.after("blockquote","math_block",I,{alt:["paragraph","reference","blockquote","list"]}),A.renderer.rules.math_inline=function(A,Q){return function(A){B.displayMode=!1;try{return g.renderToString(A,B)}catch(Q){return B.throwOnError&&console.log(Q),`${C(A)}`}}(A[Q].content)},A.renderer.rules.math_block=function(A,Q){return function(A){B.displayMode=!0;try{return"

"+g.renderToString(A,B)+"

"}catch(Q){return B.throwOnError&&console.log(Q),`

${C(A)}

`}}(A[Q].content)+"\n"}}},function(A,B,Q){var g;"undefined"!=typeof self&&self,g=function(){return function(A){var B={};function Q(g){if(B[g])return B[g].exports;var E=B[g]={i:g,l:!1,exports:{}};return A[g].call(E.exports,E,E.exports,Q),E.l=!0,E.exports}return Q.m=A,Q.c=B,Q.d=function(A,B,g){Q.o(A,B)||Object.defineProperty(A,B,{enumerable:!0,get:g})},Q.r=function(A){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},Q.t=function(A,B){if(1&B&&(A=Q(A)),8&B)return A;if(4&B&&"object"==typeof A&&A&&A.__esModule)return A;var g=Object.create(null);if(Q.r(g),Object.defineProperty(g,"default",{enumerable:!0,value:A}),2&B&&"string"!=typeof A)for(var E in A)Q.d(g,E,function(B){return A[B]}.bind(null,E));return g},Q.n=function(A){var B=A&&A.__esModule?function(){return A.default}:function(){return A};return Q.d(B,"a",B),B},Q.o=function(A,B){return Object.prototype.hasOwnProperty.call(A,B)},Q.p="",Q(Q.s=1)}([function(A,B,Q){},function(A,B,Q){"use strict";Q.r(B),Q(0);var g=function(){function A(A,B,Q){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=A,this.start=B,this.end=Q}return A.range=function(B,Q){return Q?B&&B.loc&&Q.loc&&B.loc.lexer===Q.loc.lexer?new A(B.loc.lexer,B.loc.start,Q.loc.end):null:B&&B.loc},A}(),E=function(){function A(A,B){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=A,this.loc=B}return A.prototype.range=function(B,Q){return new A(Q,g.range(this,B))},A}(),w=function A(B,Q){this.position=void 0;var g,E="KaTeX parse error: "+B,w=Q&&Q.loc;if(w&&w.start<=w.end){var I=w.lexer.input;g=w.start;var C=w.end;g===I.length?E+=" at end of input: ":E+=" at position "+(g+1)+": ";var Y=I.slice(g,C).replace(/[^]/g,"$&̲");E+=(g>15?"…"+I.slice(g-15,g):I.slice(0,g))+Y+(C+15":">","<":"<",'"':""","'":"'"},M=/[&><"']/g,F=function A(B){return"ordgroup"===B.type||"color"===B.type?1===B.body.length?A(B.body[0]):B:"font"===B.type?A(B.body):B},c={contains:function(A,B){return-1!==A.indexOf(B)},deflt:function(A,B){return void 0===A?B:A},escape:function(A){return String(A).replace(M,(function(A){return Y[A]}))},hyphenate:function(A){return A.replace(C,"-$1").toLowerCase()},getBaseElem:F,isCharacterBox:function(A){var B=F(A);return"mathord"===B.type||"textord"===B.type||"atom"===B.type},protocolFromUrl:function(A){var B=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(A);return null!=B?B[1]:"_relative"}},s=function(){function A(A){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,A=A||{},this.displayMode=c.deflt(A.displayMode,!1),this.output=c.deflt(A.output,"htmlAndMathml"),this.leqno=c.deflt(A.leqno,!1),this.fleqn=c.deflt(A.fleqn,!1),this.throwOnError=c.deflt(A.throwOnError,!0),this.errorColor=c.deflt(A.errorColor,"#cc0000"),this.macros=A.macros||{},this.minRuleThickness=Math.max(0,c.deflt(A.minRuleThickness,0)),this.colorIsTextColor=c.deflt(A.colorIsTextColor,!1),this.strict=c.deflt(A.strict,"warn"),this.trust=c.deflt(A.trust,!1),this.maxSize=Math.max(0,c.deflt(A.maxSize,1/0)),this.maxExpand=Math.max(0,c.deflt(A.maxExpand,1e3)),this.globalGroup=c.deflt(A.globalGroup,!1)}var B=A.prototype;return B.reportNonstrict=function(A,B,Q){var g=this.strict;if("function"==typeof g&&(g=g(A,B,Q)),g&&"ignore"!==g){if(!0===g||"error"===g)throw new I("LaTeX-incompatible input and strict mode is set to 'error': "+B+" ["+A+"]",Q);"warn"===g?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+B+" ["+A+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+g+"': "+B+" ["+A+"]")}},B.useStrictBehavior=function(A,B,Q){var g=this.strict;if("function"==typeof g)try{g=g(A,B,Q)}catch(A){g="error"}return!(!g||"ignore"===g||!0!==g&&"error"!==g&&("warn"===g?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+B+" ["+A+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+g+"': "+B+" ["+A+"]"),1)))},B.isTrusted=function(A){A.url&&!A.protocol&&(A.protocol=c.protocolFromUrl(A.url));var B="function"==typeof this.trust?this.trust(A):this.trust;return Boolean(B)},A}(),U=function(){function A(A,B,Q){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=A,this.size=B,this.cramped=Q}var B=A.prototype;return B.sup=function(){return D[i[this.id]]},B.sub=function(){return D[N[this.id]]},B.fracNum=function(){return D[G[this.id]]},B.fracDen=function(){return D[h[this.id]]},B.cramp=function(){return D[t[this.id]]},B.text=function(){return D[e[this.id]]},B.isTight=function(){return this.size>=2},A}(),D=[new U(0,0,!1),new U(1,0,!0),new U(2,1,!1),new U(3,1,!0),new U(4,2,!1),new U(5,2,!0),new U(6,3,!1),new U(7,3,!0)],i=[4,5,4,5,6,7,6,7],N=[5,5,5,5,7,7,7,7],G=[2,3,4,5,6,7,6,7],h=[3,3,5,5,7,7,7,7],t=[1,1,3,3,5,5,7,7],e=[0,1,2,3,2,3,2,3],y={DISPLAY:D[0],TEXT:D[2],SCRIPT:D[4],SCRIPTSCRIPT:D[6]},J=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],H=[];function j(A){for(var B=0;B=H[B]&&A<=H[B+1])return!0;return!1}J.forEach((function(A){return A.blocks.forEach((function(A){return H.push.apply(H,A)}))}));var o={leftParenInner:"M291 0 H417 V300 H291 z",rightParenInner:"M457 0 H583 V300 H457 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"},z=function(){function A(A){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=A,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var B=A.prototype;return B.hasClass=function(A){return c.contains(this.classes,A)},B.toNode=function(){for(var A=document.createDocumentFragment(),B=0;B"},a=function(){function A(A,B,Q,g){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,R.call(this,A,Q,g),this.children=B||[]}var B=A.prototype;return B.setAttribute=function(A,B){this.attributes[A]=B},B.hasClass=function(A){return c.contains(this.classes,A)},B.toNode=function(){return n.call(this,"span")},B.toMarkup=function(){return x.call(this,"span")},A}(),W=function(){function A(A,B,Q,g){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,R.call(this,B,g),this.children=Q||[],this.setAttribute("href",A)}var B=A.prototype;return B.setAttribute=function(A,B){this.attributes[A]=B},B.hasClass=function(A){return c.contains(this.classes,A)},B.toNode=function(){return n.call(this,"a")},B.toMarkup=function(){return x.call(this,"a")},A}(),S=function(){function A(A,B,Q){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=B,this.src=A,this.classes=["mord"],this.style=Q}var B=A.prototype;return B.hasClass=function(A){return c.contains(this.classes,A)},B.toNode=function(){var A=document.createElement("img");for(var B in A.src=this.src,A.alt=this.alt,A.className="mord",this.style)this.style.hasOwnProperty(B)&&(A.style[B]=this.style[B]);return A},B.toMarkup=function(){var A=""+this.alt+"=E[0]&&A<=E[1])return Q.name}return null}(this.text.charCodeAt(0));Y&&this.classes.push(Y+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=L[this.text])}var B=A.prototype;return B.hasClass=function(A){return c.contains(this.classes,A)},B.toNode=function(){var A=document.createTextNode(this.text),B=null;for(var Q in this.italic>0&&((B=document.createElement("span")).style.marginRight=this.italic+"em"),this.classes.length>0&&((B=B||document.createElement("span")).className=r(this.classes)),this.style)this.style.hasOwnProperty(Q)&&((B=B||document.createElement("span")).style[Q]=this.style[Q]);return B?(B.appendChild(A),B):A},B.toMarkup=function(){var A=!1,B="0&&(Q+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(g)&&(Q+=c.hyphenate(g)+":"+this.style[g]+";");Q&&(A=!0,B+=' style="'+c.escape(Q)+'"');var E=c.escape(this.text);return A?(B+=">",B+=E,B+=""):E},A}(),k=function(){function A(A,B){this.children=void 0,this.attributes=void 0,this.children=A||[],this.attributes=B||{}}var B=A.prototype;return B.toNode=function(){var A=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var B in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,B)&&A.setAttribute(B,this.attributes[B]);for(var Q=0;Q":""},A}(),K=function(){function A(A){this.attributes=void 0,this.attributes=A||{}}var B=A.prototype;return B.toNode=function(){var A=document.createElementNS("http://www.w3.org/2000/svg","line");for(var B in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,B)&&A.setAttribute(B,this.attributes[B]);return A},B.toMarkup=function(){var A="","\\gt",!0),P("math",v,BA,"∈","\\in",!0),P("math",v,BA,"","\\@not"),P("math",v,BA,"⊂","\\subset",!0),P("math",v,BA,"⊃","\\supset",!0),P("math",v,BA,"⊆","\\subseteq",!0),P("math",v,BA,"⊇","\\supseteq",!0),P("math",q,BA,"⊈","\\nsubseteq",!0),P("math",q,BA,"⊉","\\nsupseteq",!0),P("math",v,BA,"⊨","\\models"),P("math",v,BA,"←","\\leftarrow",!0),P("math",v,BA,"≤","\\le"),P("math",v,BA,"≤","\\leq",!0),P("math",v,BA,"<","\\lt",!0),P("math",v,BA,"→","\\rightarrow",!0),P("math",v,BA,"→","\\to"),P("math",q,BA,"≱","\\ngeq",!0),P("math",q,BA,"≰","\\nleq",!0),P("math",v,"spacing"," ","\\ "),P("math",v,"spacing"," ","~"),P("math",v,"spacing"," ","\\space"),P("math",v,"spacing"," ","\\nobreakspace"),P("text",v,"spacing"," ","\\ "),P("text",v,"spacing"," "," "),P("text",v,"spacing"," ","~"),P("text",v,"spacing"," ","\\space"),P("text",v,"spacing"," ","\\nobreakspace"),P("math",v,"spacing",null,"\\nobreak"),P("math",v,"spacing",null,"\\allowbreak"),P("math",v,"punct",",",","),P("math",v,"punct",";",";"),P("math",q,_,"⊼","\\barwedge",!0),P("math",q,_,"⊻","\\veebar",!0),P("math",v,_,"⊙","\\odot",!0),P("math",v,_,"⊕","\\oplus",!0),P("math",v,_,"⊗","\\otimes",!0),P("math",v,"textord","∂","\\partial",!0),P("math",v,_,"⊘","\\oslash",!0),P("math",q,_,"⊚","\\circledcirc",!0),P("math",q,_,"⊡","\\boxdot",!0),P("math",v,_,"△","\\bigtriangleup"),P("math",v,_,"▽","\\bigtriangledown"),P("math",v,_,"†","\\dagger"),P("math",v,_,"⋄","\\diamond"),P("math",v,_,"⋆","\\star"),P("math",v,_,"◃","\\triangleleft"),P("math",v,_,"▹","\\triangleright"),P("math",v,"open","{","\\{"),P("text",v,"textord","{","\\{"),P("text",v,"textord","{","\\textbraceleft"),P("math",v,"close","}","\\}"),P("text",v,"textord","}","\\}"),P("text",v,"textord","}","\\textbraceright"),P("math",v,"open","{","\\lbrace"),P("math",v,"close","}","\\rbrace"),P("math",v,"open","[","\\lbrack",!0),P("text",v,"textord","[","\\lbrack",!0),P("math",v,"close","]","\\rbrack",!0),P("text",v,"textord","]","\\rbrack",!0),P("math",v,"open","(","\\lparen",!0),P("math",v,"close",")","\\rparen",!0),P("text",v,"textord","<","\\textless",!0),P("text",v,"textord",">","\\textgreater",!0),P("math",v,"open","⌊","\\lfloor",!0),P("math",v,"close","⌋","\\rfloor",!0),P("math",v,"open","⌈","\\lceil",!0),P("math",v,"close","⌉","\\rceil",!0),P("math",v,"textord","\\","\\backslash"),P("math",v,"textord","∣","|"),P("math",v,"textord","∣","\\vert"),P("text",v,"textord","|","\\textbar",!0),P("math",v,"textord","∥","\\|"),P("math",v,"textord","∥","\\Vert"),P("text",v,"textord","∥","\\textbardbl"),P("text",v,"textord","~","\\textasciitilde"),P("text",v,"textord","\\","\\textbackslash"),P("text",v,"textord","^","\\textasciicircum"),P("math",v,BA,"↑","\\uparrow",!0),P("math",v,BA,"⇑","\\Uparrow",!0),P("math",v,BA,"↓","\\downarrow",!0),P("math",v,BA,"⇓","\\Downarrow",!0),P("math",v,BA,"↕","\\updownarrow",!0),P("math",v,BA,"⇕","\\Updownarrow",!0),P("math",v,AA,"∐","\\coprod"),P("math",v,AA,"⋁","\\bigvee"),P("math",v,AA,"⋀","\\bigwedge"),P("math",v,AA,"⨄","\\biguplus"),P("math",v,AA,"⋂","\\bigcap"),P("math",v,AA,"⋃","\\bigcup"),P("math",v,AA,"∫","\\int"),P("math",v,AA,"∫","\\intop"),P("math",v,AA,"∬","\\iint"),P("math",v,AA,"∭","\\iiint"),P("math",v,AA,"∏","\\prod"),P("math",v,AA,"∑","\\sum"),P("math",v,AA,"⨂","\\bigotimes"),P("math",v,AA,"⨁","\\bigoplus"),P("math",v,AA,"⨀","\\bigodot"),P("math",v,AA,"∮","\\oint"),P("math",v,AA,"⨆","\\bigsqcup"),P("math",v,AA,"∫","\\smallint"),P("text",v,"inner","…","\\textellipsis"),P("math",v,"inner","…","\\mathellipsis"),P("text",v,"inner","…","\\ldots",!0),P("math",v,"inner","…","\\ldots",!0),P("math",v,"inner","⋯","\\@cdots",!0),P("math",v,"inner","⋱","\\ddots",!0),P("math",v,"textord","⋮","\\varvdots"),P("math",v,"accent-token","ˊ","\\acute"),P("math",v,"accent-token","ˋ","\\grave"),P("math",v,"accent-token","¨","\\ddot"),P("math",v,"accent-token","~","\\tilde"),P("math",v,"accent-token","ˉ","\\bar"),P("math",v,"accent-token","˘","\\breve"),P("math",v,"accent-token","ˇ","\\check"),P("math",v,"accent-token","^","\\hat"),P("math",v,"accent-token","⃗","\\vec"),P("math",v,"accent-token","˙","\\dot"),P("math",v,"accent-token","˚","\\mathring"),P("math",v,$,"","\\@imath"),P("math",v,$,"","\\@jmath"),P("math",v,"textord","ı","ı"),P("math",v,"textord","ȷ","ȷ"),P("text",v,"textord","ı","\\i",!0),P("text",v,"textord","ȷ","\\j",!0),P("text",v,"textord","ß","\\ss",!0),P("text",v,"textord","æ","\\ae",!0),P("text",v,"textord","œ","\\oe",!0),P("text",v,"textord","ø","\\o",!0),P("text",v,"textord","Æ","\\AE",!0),P("text",v,"textord","Œ","\\OE",!0),P("text",v,"textord","Ø","\\O",!0),P("text",v,"accent-token","ˊ","\\'"),P("text",v,"accent-token","ˋ","\\`"),P("text",v,"accent-token","ˆ","\\^"),P("text",v,"accent-token","˜","\\~"),P("text",v,"accent-token","ˉ","\\="),P("text",v,"accent-token","˘","\\u"),P("text",v,"accent-token","˙","\\."),P("text",v,"accent-token","˚","\\r"),P("text",v,"accent-token","ˇ","\\v"),P("text",v,"accent-token","¨",'\\"'),P("text",v,"accent-token","˝","\\H"),P("text",v,"accent-token","◯","\\textcircled");var QA={"--":!0,"---":!0,"``":!0,"''":!0};P("text",v,"textord","–","--",!0),P("text",v,"textord","–","\\textendash"),P("text",v,"textord","—","---",!0),P("text",v,"textord","—","\\textemdash"),P("text",v,"textord","‘","`",!0),P("text",v,"textord","‘","\\textquoteleft"),P("text",v,"textord","’","'",!0),P("text",v,"textord","’","\\textquoteright"),P("text",v,"textord","“","``",!0),P("text",v,"textord","“","\\textquotedblleft"),P("text",v,"textord","”","''",!0),P("text",v,"textord","”","\\textquotedblright"),P("math",v,"textord","°","\\degree",!0),P("text",v,"textord","°","\\degree"),P("text",v,"textord","°","\\textdegree",!0),P("math",v,"textord","£","\\pounds"),P("math",v,"textord","£","\\mathsterling",!0),P("text",v,"textord","£","\\pounds"),P("text",v,"textord","£","\\textsterling",!0),P("math",q,"textord","✠","\\maltese"),P("text",q,"textord","✠","\\maltese");for(var gA=0;gA<'0123456789/@."'.length;gA++){var EA='0123456789/@."'.charAt(gA);P("math",v,"textord",EA,EA)}for(var wA=0;wA<'0123456789!@*()-=+";:?/.,'.length;wA++){var IA='0123456789!@*()-=+";:?/.,'.charAt(wA);P("text",v,"textord",IA,IA)}for(var CA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",YA=0;YA=5?0:A>=3?1:2]){var Q=p[B]={cssEmPerMu:b.quad[B]/18};for(var g in b)b.hasOwnProperty(g)&&(Q[g]=b[g][B])}return p[B]}(this.size)),this._fontMetrics},B.getColor=function(){return this.phantom?"transparent":this.color},A}();JA.BASESIZE=6;var HA=JA,jA={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},oA={ex:!0,em:!0,mu:!0},zA=function(A){return"string"!=typeof A&&(A=A.unit),A in jA||A in oA||"ex"===A},rA=function(A,B){var Q;if(A.unit in jA)Q=jA[A.unit]/B.fontMetrics().ptPerEm/B.sizeMultiplier;else if("mu"===A.unit)Q=B.fontMetrics().cssEmPerMu;else{var g;if(g=B.style.isTight()?B.havingStyle(B.style.text()):B,"ex"===A.unit)Q=g.fontMetrics().xHeight;else{if("em"!==A.unit)throw new I("Invalid unit: '"+A.unit+"'");Q=g.fontMetrics().quad}g!==B&&(Q*=g.sizeMultiplier/B.sizeMultiplier)}return Math.min(A.number*Q,B.maxSize)},RA=function(A,B,Q){return O[Q][A]&&O[Q][A].replace&&(A=O[Q][A].replace),{value:A,metrics:d(A,B,Q)}},nA=function(A,B,Q,g,E){var w,I=RA(A,B,Q),C=I.metrics;if(A=I.value,C){var Y=C.italic;("text"===Q||g&&"mathit"===g.font)&&(Y=0),w=new m(A,C.height,C.depth,Y,C.skew,C.width,E)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+A+"' in style '"+B+"' and mode '"+Q+"'"),w=new m(A,0,0,0,0,0,E);if(g){w.maxFontSize=g.sizeMultiplier,g.style.isTight()&&w.classes.push("mtight");var M=g.getColor();M&&(w.style.color=M)}return w},xA=function(A,B){if(r(A.classes)!==r(B.classes)||A.skew!==B.skew||A.maxFontSize!==B.maxFontSize)return!1;for(var Q in A.style)if(A.style.hasOwnProperty(Q)&&A.style[Q]!==B.style[Q])return!1;for(var g in B.style)if(B.style.hasOwnProperty(g)&&A.style[g]!==B.style[g])return!1;return!0},aA=function(A){for(var B=0,Q=0,g=0,E=0;EB&&(B=w.height),w.depth>Q&&(Q=w.depth),w.maxFontSize>g&&(g=w.maxFontSize)}A.height=B,A.depth=Q,A.maxFontSize=g},WA=function(A,B,Q,g){var E=new a(A,B,Q,g);return aA(E),E},SA=function(A,B,Q,g){return new a(A,B,Q,g)},LA=function(A){var B=new z(A);return aA(B),B},mA=function(A,B,Q){var g="";switch(A){case"amsrm":g="AMS";break;case"textrm":g="Main";break;case"textsf":g="SansSerif";break;case"texttt":g="Typewriter";break;default:g=A}return g+"-"+("textbf"===B&&"textit"===Q?"BoldItalic":"textbf"===B?"Bold":"textit"===B?"Italic":"Regular")},kA={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"},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"}},lA={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659],leftParenInner:["leftParenInner",.875,.3],rightParenInner:["rightParenInner",.875,.3]},KA={fontMap:kA,makeSymbol:nA,mathsym:function(A,B,Q,g){return void 0===g&&(g=[]),"boldsymbol"===Q.font&&RA(A,"Main-Bold",B).metrics?nA(A,"Main-Bold",B,Q,g.concat(["mathbf"])):"\\"===A||"main"===O[B][A].font?nA(A,"Main-Regular",B,Q,g):nA(A,"AMS-Regular",B,Q,g.concat(["amsrm"]))},makeSpan:WA,makeSvgSpan:SA,makeLineSpan:function(A,B,Q){var g=WA([A],[],B);return g.height=Math.max(Q||B.fontMetrics().defaultRuleThickness,B.minRuleThickness),g.style.borderBottomWidth=g.height+"em",g.maxFontSize=1,g},makeAnchor:function(A,B,Q,g){var E=new W(A,B,Q,g);return aA(E),E},makeFragment:LA,wrapFragment:function(A,B){return A instanceof z?WA([],[A],B):A},makeVList:function(A,B){for(var Q=function(A){if("individualShift"===A.positionType){for(var B=A.children,Q=[B[0]],g=-B[0].shift-B[0].elem.depth,E=g,w=1;w0&&(w.push(CB(I,B)),I=[]),w.push(E[C]));I.length>0&&w.push(CB(I,B)),Q&&((g=CB(BB(Q,B,!0))).classes=["tag"],w.push(g));var M=vA(["katex-html"],w);if(M.setAttribute("aria-hidden","true"),g){var F=g.children[0];F.style.height=M.height+M.depth+"em",F.style.verticalAlign=-M.depth+"em"}return M}function MB(A){return new z(A)}var FB=function(){function A(A,B){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=A,this.attributes={},this.children=B||[]}var B=A.prototype;return B.setAttribute=function(A,B){this.attributes[A]=B},B.getAttribute=function(A){return this.attributes[A]},B.toNode=function(){var A=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var B in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,B)&&A.setAttribute(B,this.attributes[B]);for(var Q=0;Q"},B.toText=function(){return this.children.map((function(A){return A.toText()})).join("")},A}(),cB=function(){function A(A){this.text=void 0,this.text=A}var B=A.prototype;return B.toNode=function(){return document.createTextNode(this.text)},B.toMarkup=function(){return c.escape(this.toText())},B.toText=function(){return this.text},A}(),sB={MathNode:FB,TextNode:cB,SpaceNode:function(){function A(A){this.width=void 0,this.character=void 0,this.width=A,this.character=A>=.05555&&A<=.05556?" ":A>=.1666&&A<=.1667?" ":A>=.2222&&A<=.2223?" ":A>=.2777&&A<=.2778?"  ":A>=-.05556&&A<=-.05555?" ⁣":A>=-.1667&&A<=-.1666?" ⁣":A>=-.2223&&A<=-.2222?" ⁣":A>=-.2778&&A<=-.2777?" ⁣":null}var B=A.prototype;return B.toNode=function(){if(this.character)return document.createTextNode(this.character);var A=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return A.setAttribute("width",this.width+"em"),A},B.toMarkup=function(){return this.character?""+this.character+"":''},B.toText=function(){return this.character?this.character:" "},A}(),newDocumentFragment:MB},UB=function(A,B,Q){return!O[B][A]||!O[B][A].replace||55349===A.charCodeAt(0)||QA.hasOwnProperty(A)&&Q&&(Q.fontFamily&&"tt"===Q.fontFamily.substr(4,2)||Q.font&&"tt"===Q.font.substr(4,2))||(A=O[B][A].replace),new sB.TextNode(A)},DB=function(A){return 1===A.length?A[0]:new sB.MathNode("mrow",A)},iB=function(A,B){if("texttt"===B.fontFamily)return"monospace";if("textsf"===B.fontFamily)return"textit"===B.fontShape&&"textbf"===B.fontWeight?"sans-serif-bold-italic":"textit"===B.fontShape?"sans-serif-italic":"textbf"===B.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===B.fontShape&&"textbf"===B.fontWeight)return"bold-italic";if("textit"===B.fontShape)return"italic";if("textbf"===B.fontWeight)return"bold";var Q=B.font;if(!Q||"mathnormal"===Q)return null;var g=A.mode;if("mathit"===Q)return"italic";if("boldsymbol"===Q)return"textord"===A.type?"bold":"bold-italic";if("mathbf"===Q)return"bold";if("mathbb"===Q)return"double-struck";if("mathfrak"===Q)return"fraktur";if("mathscr"===Q||"mathcal"===Q)return"script";if("mathsf"===Q)return"sans-serif";if("mathtt"===Q)return"monospace";var E=A.text;return c.contains(["\\imath","\\jmath"],E)?null:(O[g][E]&&O[g][E].replace&&(E=O[g][E].replace),d(E,KA.fontMap[Q].fontName,g)?KA.fontMap[Q].variant:null)},NB=function(A,B,Q){if(1===A.length){var g=hB(A[0],B);return Q&&g instanceof FB&&"mo"===g.type&&(g.setAttribute("lspace","0em"),g.setAttribute("rspace","0em")),[g]}for(var E,w=[],I=0;I0&&(U.text=U.text.slice(0,1)+"̸"+U.text.slice(1),w.pop())}}}w.push(C),E=C}return w},GB=function(A,B,Q){return DB(NB(A,B,Q))},hB=function(A,B){if(!A)return new sB.MathNode("mrow");if(ZA[A.type])return ZA[A.type](A,B);throw new I("Got group of unknown type: '"+A.type+"'")};function tB(A,B,Q,g,E){var w,I=NB(A,Q);w=1===I.length&&I[0]instanceof FB&&c.contains(["mrow","mtable"],I[0].type)?I[0]:new sB.MathNode("mrow",I);var C=new sB.MathNode("annotation",[new sB.TextNode(B)]);C.setAttribute("encoding","application/x-tex");var Y=new sB.MathNode("semantics",[w,C]),M=new sB.MathNode("math",[Y]);M.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),g&&M.setAttribute("display","block");var F=E?"katex":"katex-mathml";return KA.makeSpan([F],[M])}var eB=function(A){return new HA({style:A.displayMode?y.DISPLAY:y.TEXT,maxSize:A.maxSize,minRuleThickness:A.minRuleThickness})},yB=function(A,B){if(B.displayMode){var Q=["katex-display"];B.leqno&&Q.push("leqno"),B.fleqn&&Q.push("fleqn"),A=KA.makeSpan(Q,[A])}return A},JB=function(A,B,Q){var g,E=eB(Q);if("mathml"===Q.output)return tB(A,B,E,Q.displayMode,!0);if("html"===Q.output){var w=YB(A,E);g=KA.makeSpan(["katex"],[w])}else{var I=tB(A,B,E,Q.displayMode,!1),C=YB(A,E);g=KA.makeSpan(["katex"],[I,C])}return yB(g,Q)},HB={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:"⇋"},jB={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"],xleftarrow:[["leftarrow"],1.469,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"],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]},oB=function(A,B,Q,g){var E,w=A.height+A.depth+2*Q;if(/fbox|color/.test(B)){if(E=KA.makeSpan(["stretchy",B],[],g),"fbox"===B){var I=g.color&&g.getColor();I&&(E.style.borderColor=I)}}else{var C=[];/^[bx]cancel$/.test(B)&&C.push(new K({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(B)&&C.push(new K({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Y=new k(C,{width:"100%",height:w+"em"});E=KA.makeSvgSpan([],[Y],g)}return E.height=w,E.style.height=w+"em",E},zB=function(A){var B=new sB.MathNode("mo",[new sB.TextNode(HB[A.substr(1)])]);return B.setAttribute("stretchy","true"),B},rB=function(A,B){var Q=function(){var Q=4e5,g=A.label.substr(1);if(c.contains(["widehat","widecheck","widetilde","utilde"],g)){var E,w,I,C="ordgroup"===(D=A.base).type?D.body.length:1;if(C>5)"widehat"===g||"widecheck"===g?(E=420,Q=2364,I=.42,w=g+"4"):(E=312,Q=2340,I=.34,w="tilde4");else{var Y=[1,1,2,2,3,3][C];"widehat"===g||"widecheck"===g?(Q=[0,1062,2364,2364,2364][Y],E=[0,239,300,360,420][Y],I=[0,.24,.3,.3,.36,.42][Y],w=g+Y):(Q=[0,600,1033,2339,2340][Y],E=[0,260,286,306,312][Y],I=[0,.26,.286,.3,.306,.34][Y],w="tilde"+Y)}var M=new l(w),F=new k([M],{width:"100%",height:I+"em",viewBox:"0 0 "+Q+" "+E,preserveAspectRatio:"none"});return{span:KA.makeSvgSpan([],[F],B),minWidth:0,height:I}}var s,U,D,i=[],N=jB[g],G=N[0],h=N[1],t=N[2],e=t/1e3,y=G.length;if(1===y)s=["hide-tail"],U=[N[3]];else if(2===y)s=["halfarrow-left","halfarrow-right"],U=["xMinYMin","xMaxYMin"];else{if(3!==y)throw new Error("Correct katexImagesData or update code here to support\n "+y+" children.");s=["brace-left","brace-center","brace-right"],U=["xMinYMin","xMidYMin","xMaxYMin"]}for(var J=0;J0&&(g.style.minWidth=E+"em"),g};function RB(A,B){if(!A||A.type!==B)throw new Error("Expected node of type "+B+", but got "+(A?"node of type "+A.type:String(A)));return A}function nB(A){var B=xB(A);if(!B)throw new Error("Expected node of symbol group type, but got "+(A?"node of type "+A.type:String(A)));return B}function xB(A){return A&&("atom"===A.type||Z.hasOwnProperty(A.type))?A:null}var aB=function(A,B){var Q,g,E;A&&"supsub"===A.type?(Q=(g=RB(A.base,"accent")).base,A.base=Q,E=function(A){if(A instanceof a)return A;throw new Error("Expected span but got "+String(A)+".")}(IB(A,B)),A.base=g):Q=(g=RB(A,"accent")).base;var w=IB(Q,B.havingCrampedStyle()),I=0;if(g.isShifty&&c.isCharacterBox(Q)){var C=c.getBaseElem(Q);I=T(IB(C,B.havingCrampedStyle())).skew}var Y,M=Math.min(w.height,B.fontMetrics().xHeight);if(g.isStretchy)Y=rB(g,B),Y=KA.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:w},{type:"elem",elem:Y,wrapperClasses:["svg-align"],wrapperStyle:I>0?{width:"calc(100% - "+2*I+"em)",marginLeft:2*I+"em"}:void 0}]},B);else{var F,s;"\\vec"===g.label?(F=KA.staticSvg("vec",B),s=KA.svgData.vec[1]):((F=T(F=KA.makeOrd({mode:g.mode,text:g.label},B,"textord"))).italic=0,s=F.width),Y=KA.makeSpan(["accent-body"],[F]);var U="\\textcircled"===g.label;U&&(Y.classes.push("accent-full"),M=w.height);var D=I;U||(D-=s/2),Y.style.left=D+"em","\\textcircled"===g.label&&(Y.style.top=".2em"),Y=KA.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:w},{type:"kern",size:-M},{type:"elem",elem:Y}]},B)}var i=KA.makeSpan(["mord","accent"],[Y],B);return E?(E.children[0]=i,E.height=Math.max(i.height,E.height),E.classes[0]="mord",E):i},WB=function(A,B){var Q=A.isStretchy?zB(A.label):new sB.MathNode("mo",[UB(A.label,A.mode)]),g=new sB.MathNode("mover",[hB(A.base,B),Q]);return g.setAttribute("accent","true"),g},SB=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(A){return"\\"+A})).join("|"));fA({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:function(A,B){var Q=B[0],g=!SB.test(A.funcName),E=!g||"\\widehat"===A.funcName||"\\widetilde"===A.funcName||"\\widecheck"===A.funcName;return{type:"accent",mode:A.parser.mode,label:A.funcName,isStretchy:g,isShifty:E,base:Q}},htmlBuilder:aB,mathmlBuilder:WB}),fA({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(A,B){var Q=B[0];return{type:"accent",mode:A.parser.mode,label:A.funcName,isStretchy:!1,isShifty:!0,base:Q}},htmlBuilder:aB,mathmlBuilder:WB}),fA({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(A,B){var Q=A.parser,g=A.funcName,E=B[0];return{type:"accentUnder",mode:Q.mode,label:g,base:E}},htmlBuilder:function(A,B){var Q=IB(A.base,B),g=rB(A,B),E="\\utilde"===A.label?.12:0,w=KA.makeVList({positionType:"top",positionData:Q.height,children:[{type:"elem",elem:g,wrapperClasses:["svg-align"]},{type:"kern",size:E},{type:"elem",elem:Q}]},B);return KA.makeSpan(["mord","accentunder"],[w],B)},mathmlBuilder:function(A,B){var Q=zB(A.label),g=new sB.MathNode("munder",[hB(A.base,B),Q]);return g.setAttribute("accentunder","true"),g}});var LB=function(A){var B=new sB.MathNode("mpadded",A?[A]:[]);return B.setAttribute("width","+0.6em"),B.setAttribute("lspace","0.3em"),B};fA({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"],props:{numArgs:1,numOptionalArgs:1},handler:function(A,B,Q){var g=A.parser,E=A.funcName;return{type:"xArrow",mode:g.mode,label:E,body:B[0],below:Q[0]}},htmlBuilder:function(A,B){var Q,g=B.style,E=B.havingStyle(g.sup()),w=KA.wrapFragment(IB(A.body,E,B),B);w.classes.push("x-arrow-pad"),A.below&&(E=B.havingStyle(g.sub()),(Q=KA.wrapFragment(IB(A.below,E,B),B)).classes.push("x-arrow-pad"));var I,C=rB(A,B),Y=-B.fontMetrics().axisHeight+.5*C.height,M=-B.fontMetrics().axisHeight-.5*C.height-.111;if((w.depth>.25||"\\xleftequilibrium"===A.label)&&(M-=w.depth),Q){var F=-B.fontMetrics().axisHeight+Q.height+.5*C.height+.111;I=KA.makeVList({positionType:"individualShift",children:[{type:"elem",elem:w,shift:M},{type:"elem",elem:C,shift:Y},{type:"elem",elem:Q,shift:F}]},B)}else I=KA.makeVList({positionType:"individualShift",children:[{type:"elem",elem:w,shift:M},{type:"elem",elem:C,shift:Y}]},B);return I.children[0].children[0].children[1].classes.push("svg-align"),KA.makeSpan(["mrel","x-arrow"],[I],B)},mathmlBuilder:function(A,B){var Q,g=zB(A.label);if(A.body){var E=LB(hB(A.body,B));if(A.below){var w=LB(hB(A.below,B));Q=new sB.MathNode("munderover",[g,w,E])}else Q=new sB.MathNode("mover",[g,E])}else if(A.below){var I=LB(hB(A.below,B));Q=new sB.MathNode("munder",[g,I])}else Q=LB(),Q=new sB.MathNode("mover",[g,Q]);return Q}}),fA({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(A,B){for(var Q=A.parser,g=RB(B[0],"ordgroup").body,E="",w=0;w","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],qB=[0,1.2,1.8,2.4,3],_B=[{type:"small",style:y.SCRIPTSCRIPT},{type:"small",style:y.SCRIPT},{type:"small",style:y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],$B=[{type:"small",style:y.SCRIPTSCRIPT},{type:"small",style:y.SCRIPT},{type:"small",style:y.TEXT},{type:"stack"}],AQ=[{type:"small",style:y.SCRIPTSCRIPT},{type:"small",style:y.SCRIPT},{type:"small",style:y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],BQ=function(A){if("small"===A.type)return"Main-Regular";if("large"===A.type)return"Size"+A.size+"-Regular";if("stack"===A.type)return"Size4-Regular";throw new Error("Add support for delim type '"+A.type+"' here.")},QQ=function(A,B,Q,g){for(var E=Math.min(2,3-g.style.size);EB)return Q[E]}return Q[Q.length-1]},gQ=function(A,B,Q,g,E,w){var I;"<"===A||"\\lt"===A||"⟨"===A?A="\\langle":">"!==A&&"\\gt"!==A&&"⟩"!==A||(A="\\rangle"),I=c.contains(vB,A)?_B:c.contains(OB,A)?AQ:$B;var C=QQ(A,B,I,g);return"small"===C.type?function(A,B,Q,g,E,w){var I=KA.makeSymbol(A,"Main-Regular",E,g),C=bB(I,B,g,w);return Q&&uB(C,g,B),C}(A,C.style,Q,g,E,w):"large"===C.type?dB(A,C.size,Q,g,E,w):ZB(A,B,Q,g,E,w)},EQ=function(A,B){var Q,g,E=B.havingBaseSizing(),w=QQ("\\surd",A*E.sizeMultiplier,AQ,E),I=E.sizeMultiplier,C=Math.max(0,B.minRuleThickness-B.fontMetrics().sqrtRuleThickness),Y=0,M=0,F=0;return"small"===w.type?(A<1?I=1:A<1.4&&(I=.7),M=(1+C)/I,(Q=fB("sqrtMain",Y=(1+C+.08)/I,F=1e3+1e3*C+80,C,B)).style.minWidth="0.853em",g=.833/I):"large"===w.type?(F=1080*qB[w.size],M=(qB[w.size]+C)/I,Y=(qB[w.size]+C+.08)/I,(Q=fB("sqrtSize"+w.size,Y,F,C,B)).style.minWidth="1.02em",g=1/I):(Y=A+C+.08,M=A+C,F=Math.floor(1e3*A+C)+80,(Q=fB("sqrtTall",Y,F,C,B)).style.minWidth="0.742em",g=1.056),Q.height=M,Q.style.height=Y+"em",{span:Q,advanceWidth:g,ruleWidth:(B.fontMetrics().sqrtRuleThickness+C)*I}},wQ=function(A,B,Q,g,E){if("<"===A||"\\lt"===A||"⟨"===A?A="\\langle":">"!==A&&"\\gt"!==A&&"⟩"!==A||(A="\\rangle"),c.contains(OB,A)||c.contains(vB,A))return dB(A,B,!1,Q,g,E);if(c.contains(PB,A))return ZB(A,qB[B],!1,Q,g,E);throw new I("Illegal delimiter: '"+A+"'")},IQ=gQ,CQ=function(A,B,Q,g,E,w){var I=g.fontMetrics().axisHeight*g.sizeMultiplier,C=5/g.fontMetrics().ptPerEm,Y=Math.max(B-I,Q+I),M=Math.max(Y/500*901,2*Y-C);return gQ(A,M,!0,g,E,w)},YQ={"\\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}},MQ=["(","\\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 FQ(A,B){var Q=xB(A);if(Q&&c.contains(MQ,Q.text))return Q;throw new I(Q?"Invalid delimiter '"+Q.text+"' after '"+B.funcName+"'":"Invalid delimiter type '"+A.type+"'",A)}function cQ(A){if(!A.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}fA({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(A,B){var Q=FQ(B[0],A);return{type:"delimsizing",mode:A.parser.mode,size:YQ[A.funcName].size,mclass:YQ[A.funcName].mclass,delim:Q.text}},htmlBuilder:function(A,B){return"."===A.delim?KA.makeSpan([A.mclass]):wQ(A.delim,A.size,B,A.mode,[A.mclass])},mathmlBuilder:function(A){var B=[];"."!==A.delim&&B.push(UB(A.delim,A.mode));var Q=new sB.MathNode("mo",B);return"mopen"===A.mclass||"mclose"===A.mclass?Q.setAttribute("fence","true"):Q.setAttribute("fence","false"),Q}}),fA({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(A,B){var Q=A.parser.gullet.macros.get("\\current@color");if(Q&&"string"!=typeof Q)throw new I("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:A.parser.mode,delim:FQ(B[0],A).text,color:Q}}}),fA({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(A,B){var Q=FQ(B[0],A),g=A.parser;++g.leftrightDepth;var E=g.parseExpression(!1);--g.leftrightDepth,g.expect("\\right",!1);var w=RB(g.parseFunction(),"leftright-right");return{type:"leftright",mode:g.mode,body:E,left:Q.text,right:w.delim,rightColor:w.color}},htmlBuilder:function(A,B){cQ(A);for(var Q,g,E=BB(A.body,B,!0,["mopen","mclose"]),w=0,I=0,C=!1,Y=0;Y-1?"mpadded":"menclose",[hB(A.body,B)]);switch(A.label){case"\\cancel":g.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":g.setAttribute("notation","downdiagonalstrike");break;case"\\sout":g.setAttribute("notation","horizontalstrike");break;case"\\fbox":g.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(Q=B.fontMetrics().fboxsep*B.fontMetrics().ptPerEm,g.setAttribute("width","+"+2*Q+"pt"),g.setAttribute("height","+"+2*Q+"pt"),g.setAttribute("lspace",Q+"pt"),g.setAttribute("voffset",Q+"pt"),"\\fcolorbox"===A.label){var E=Math.max(B.fontMetrics().fboxrule,B.minRuleThickness);g.setAttribute("style","border: "+E+"em solid "+String(A.borderColor))}break;case"\\xcancel":g.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return A.backgroundColor&&g.setAttribute("mathbackground",A.backgroundColor),g};fA({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(A,B,Q){var g=A.parser,E=A.funcName,w=RB(B[0],"color-token").color,I=B[1];return{type:"enclose",mode:g.mode,label:E,backgroundColor:w,body:I}},htmlBuilder:sQ,mathmlBuilder:UQ}),fA({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(A,B,Q){var g=A.parser,E=A.funcName,w=RB(B[0],"color-token").color,I=RB(B[1],"color-token").color,C=B[2];return{type:"enclose",mode:g.mode,label:E,backgroundColor:I,borderColor:w,body:C}},htmlBuilder:sQ,mathmlBuilder:UQ}),fA({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(A,B){return{type:"enclose",mode:A.parser.mode,label:"\\fbox",body:B[0]}}}),fA({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(A,B,Q){var g=A.parser,E=A.funcName,w=B[0];return{type:"enclose",mode:g.mode,label:E,body:w}},htmlBuilder:sQ,mathmlBuilder:UQ});var DQ={};function iQ(A){for(var B=A.type,Q=A.names,g=A.props,E=A.handler,w=A.htmlBuilder,I=A.mathmlBuilder,C={type:B,numArgs:g.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:E},Y=0;Y0&&(t+=.25),M.push({pos:t,isDashed:A[B]})}for(e(w[0]),Q=0;Q0&&(j<(R+=h)&&(j=R),R=0),A.addJot&&(j+=i),o.height=H,o.depth=j,t+=H,o.pos=t,t+=j+R,Y[Q]=o,e(w[Q+1])}var n,x,a=t/2+B.fontMetrics().axisHeight,W=A.cols||[],S=[];for(g=0,x=0;g=C)){var K=void 0;(g>0||A.hskipBeforeAndAfter)&&0!==(K=c.deflt(L.pregap,U))&&((n=KA.makeSpan(["arraycolsep"],[])).style.width=K+"em",S.push(n));var T=[];for(Q=0;Q0){for(var d=KA.makeLineSpan("hline",B,F),p=KA.makeLineSpan("hdashline",B,F),X=[{type:"elem",elem:Y,shift:0}];M.length>0;){var Z=M.pop(),f=Z.pos-a;Z.isDashed?X.push({type:"elem",elem:p,shift:f}):X.push({type:"elem",elem:d,shift:f})}Y=KA.makeVList({positionType:"individualShift",children:X},B)}return KA.makeSpan(["mord"],[Y],B)},eQ={c:"center ",l:"left ",r:"right "},yQ=function(A,B){var Q=new sB.MathNode("mtable",A.body.map((function(A){return new sB.MathNode("mtr",A.map((function(A){return new sB.MathNode("mtd",[hB(A,B)])})))}))),g=.5===A.arraystretch?.1:.16+A.arraystretch-1+(A.addJot?.09:0);Q.setAttribute("rowspacing",g+"em");var E="",w="";if(A.cols&&A.cols.length>0){var I=A.cols,C="",Y=!1,M=0,F=I.length;"separator"===I[0].type&&(E+="top ",M=1),"separator"===I[I.length-1].type&&(E+="bottom ",F-=1);for(var c=M;c0?"left ":"",E+=N[N.length-1].length>0?"right ":"";for(var G=1;G0&&F&&(U=1),g[c]={type:"align",align:s,pregap:U,postgap:0}}return E.colSeparationType=F?"align":"alignat",E};iQ({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(A,B){var Q={cols:(xB(B[0])?[B[0]]:RB(B[0],"ordgroup").body).map((function(A){var B=nB(A).text;if(-1!=="lcr".indexOf(B))return{type:"align",align:B};if("|"===B)return{type:"separator",separator:"|"};if(":"===B)return{type:"separator",separator:":"};throw new I("Unknown column alignment: "+B,A)})),hskipBeforeAndAfter:!0};return GQ(A.parser,Q,hQ(A.envName))},htmlBuilder:tQ,mathmlBuilder:yQ}),iQ({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(A){var B={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[A.envName],Q=GQ(A.parser,{hskipBeforeAndAfter:!1},hQ(A.envName));return B?{type:"leftright",mode:A.mode,body:[Q],left:B[0],right:B[1],rightColor:void 0}:Q},htmlBuilder:tQ,mathmlBuilder:yQ}),iQ({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(A){var B=GQ(A.parser,{arraystretch:.5},"script");return B.colSeparationType="small",B},htmlBuilder:tQ,mathmlBuilder:yQ}),iQ({type:"array",names:["subarray"],props:{numArgs:1},handler:function(A,B){var Q=(xB(B[0])?[B[0]]:RB(B[0],"ordgroup").body).map((function(A){var B=nB(A).text;if(-1!=="lc".indexOf(B))return{type:"align",align:B};throw new I("Unknown column alignment: "+B,A)}));if(Q.length>1)throw new I("{subarray} can contain only one column");var g={cols:Q,hskipBeforeAndAfter:!1,arraystretch:.5};if((g=GQ(A.parser,g,"script")).body.length>0&&g.body[0].length>1)throw new I("{subarray} can contain only one column");return g},htmlBuilder:tQ,mathmlBuilder:yQ}),iQ({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(A){var B=GQ(A.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},hQ(A.envName));return{type:"leftright",mode:A.mode,body:[B],left:A.envName.indexOf("r")>-1?".":"\\{",right:A.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:tQ,mathmlBuilder:yQ}),iQ({type:"array",names:["aligned"],props:{numArgs:0},handler:JQ,htmlBuilder:tQ,mathmlBuilder:yQ}),iQ({type:"array",names:["gathered"],props:{numArgs:0},handler:function(A){return GQ(A.parser,{cols:[{type:"align",align:"c"}],addJot:!0},"display")},htmlBuilder:tQ,mathmlBuilder:yQ}),iQ({type:"array",names:["alignedat"],props:{numArgs:1},handler:JQ,htmlBuilder:tQ,mathmlBuilder:yQ}),fA({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(A,B){throw new I(A.funcName+" valid only within array environment")}});var HQ=DQ;fA({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(A,B){var Q=A.parser,g=A.funcName,E=B[0];if("ordgroup"!==E.type)throw new I("Invalid environment name",E);for(var w="",C=0;C=y.SCRIPT.id?Q.text():y.DISPLAY:"text"===A&&Q.size===y.DISPLAY.size?Q=y.TEXT:"script"===A?Q=y.SCRIPT:"scriptscript"===A&&(Q=y.SCRIPTSCRIPT),Q},WQ=function(A,B){var Q,g=aQ(A.size,B.style),E=g.fracNum(),w=g.fracDen();Q=B.havingStyle(E);var I=IB(A.numer,Q,B);if(A.continued){var C=8.5/B.fontMetrics().ptPerEm,Y=3.5/B.fontMetrics().ptPerEm;I.height=I.height0?3*c:7*c,D=B.fontMetrics().denom1):(F>0?(s=B.fontMetrics().num2,U=c):(s=B.fontMetrics().num3,U=3*c),D=B.fontMetrics().denom2),M){var e=B.fontMetrics().axisHeight;s-I.depth-(e+.5*F)0&&(B="."===(B=A)?null:B),B};fA({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(A,B){var Q,g=A.parser,E=B[4],w=B[5],I="atom"===B[0].type&&"open"===B[0].family?mQ(B[0].text):null,C="atom"===B[1].type&&"close"===B[1].family?mQ(B[1].text):null,Y=RB(B[2],"size"),M=null;Q=!!Y.isBlank||(M=Y.value).number>0;var F="auto",c=B[3];if("ordgroup"===c.type){if(c.body.length>0){var s=RB(c.body[0],"textord");F=LQ[Number(s.text)]}}else c=RB(c,"textord"),F=LQ[Number(c.text)];return{type:"genfrac",mode:g.mode,numer:E,denom:w,continued:!1,hasBarLine:Q,barSize:M,leftDelim:I,rightDelim:C,size:F}},htmlBuilder:WQ,mathmlBuilder:SQ}),fA({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(A,B){var Q=A.parser,g=(A.funcName,A.token);return{type:"infix",mode:Q.mode,replaceWith:"\\\\abovefrac",size:RB(B[0],"size").value,token:g}}}),fA({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(A,B){var Q=A.parser,g=(A.funcName,B[0]),E=function(A){if(!A)throw new Error("Expected non-null, but got "+String(A));return A}(RB(B[1],"infix").size),w=B[2],I=E.number>0;return{type:"genfrac",mode:Q.mode,numer:g,denom:w,continued:!1,hasBarLine:I,barSize:E,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:WQ,mathmlBuilder:SQ});var kQ=function(A,B){var Q,g,E=B.style;"supsub"===A.type?(Q=A.sup?IB(A.sup,B.havingStyle(E.sup()),B):IB(A.sub,B.havingStyle(E.sub()),B),g=RB(A.base,"horizBrace")):g=RB(A,"horizBrace");var w,I=IB(g.base,B.havingBaseStyle(y.DISPLAY)),C=rB(g,B);if(g.isOver?(w=KA.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:I},{type:"kern",size:.1},{type:"elem",elem:C}]},B)).children[0].children[0].children[1].classes.push("svg-align"):(w=KA.makeVList({positionType:"bottom",positionData:I.depth+.1+C.height,children:[{type:"elem",elem:C},{type:"kern",size:.1},{type:"elem",elem:I}]},B)).children[0].children[0].children[0].classes.push("svg-align"),Q){var Y=KA.makeSpan(["mord",g.isOver?"mover":"munder"],[w],B);w=g.isOver?KA.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Y},{type:"kern",size:.2},{type:"elem",elem:Q}]},B):KA.makeVList({positionType:"bottom",positionData:Y.depth+.2+Q.height+Q.depth,children:[{type:"elem",elem:Q},{type:"kern",size:.2},{type:"elem",elem:Y}]},B)}return KA.makeSpan(["mord",g.isOver?"mover":"munder"],[w],B)};fA({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(A,B){var Q=A.parser,g=A.funcName;return{type:"horizBrace",mode:Q.mode,label:g,isOver:/^\\over/.test(g),base:B[0]}},htmlBuilder:kQ,mathmlBuilder:function(A,B){var Q=zB(A.label);return new sB.MathNode(A.isOver?"mover":"munder",[hB(A.base,B),Q])}}),fA({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(A,B){var Q=A.parser,g=B[1],E=RB(B[0],"url").url;return Q.settings.isTrusted({command:"\\href",url:E})?{type:"href",mode:Q.mode,href:E,body:PA(g)}:Q.formatUnsupportedCmd("\\href")},htmlBuilder:function(A,B){var Q=BB(A.body,B,!1);return KA.makeAnchor(A.href,[],Q,B)},mathmlBuilder:function(A,B){var Q=GB(A.body,B);return Q instanceof FB||(Q=new FB("mrow",[Q])),Q.setAttribute("href",A.href),Q}}),fA({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(A,B){var Q=A.parser,g=RB(B[0],"url").url;if(!Q.settings.isTrusted({command:"\\url",url:g}))return Q.formatUnsupportedCmd("\\url");for(var E=[],w=0;w0&&(g=rA(A.totalheight,B)-Q,g=Number(g.toFixed(2)));var E=0;A.width.number>0&&(E=rA(A.width,B));var w={height:Q+g+"em"};E>0&&(w.width=E+"em"),g>0&&(w.verticalAlign=-g+"em");var I=new S(A.src,A.alt,w);return I.height=Q,I.depth=g,I},mathmlBuilder:function(A,B){var Q=new sB.MathNode("mglyph",[]);Q.setAttribute("alt",A.alt);var g=rA(A.height,B),E=0;if(A.totalheight.number>0&&(E=(E=rA(A.totalheight,B)-g).toFixed(2),Q.setAttribute("valign","-"+E+"em")),Q.setAttribute("height",g+E+"em"),A.width.number>0){var w=rA(A.width,B);Q.setAttribute("width",w+"em")}return Q.setAttribute("src",A.src),Q}}),fA({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(A,B){var Q=A.parser,g=A.funcName,E=RB(B[0],"size");if(Q.settings.strict){var w="m"===g[1],I="mu"===E.value.unit;w?(I||Q.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" supports only mu units, not "+E.value.unit+" units"),"math"!==Q.mode&&Q.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" works only in math mode")):I&&Q.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" doesn't support mu units")}return{type:"kern",mode:Q.mode,dimension:E.value}},htmlBuilder:function(A,B){return KA.makeGlue(A.dimension,B)},mathmlBuilder:function(A,B){var Q=rA(A.dimension,B);return new sB.SpaceNode(Q)}}),fA({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(A,B){var Q=A.parser,g=A.funcName,E=B[0];return{type:"lap",mode:Q.mode,alignment:g.slice(5),body:E}},htmlBuilder:function(A,B){var Q;"clap"===A.alignment?(Q=KA.makeSpan([],[IB(A.body,B)]),Q=KA.makeSpan(["inner"],[Q],B)):Q=KA.makeSpan(["inner"],[IB(A.body,B)]);var g=KA.makeSpan(["fix"],[]),E=KA.makeSpan([A.alignment],[Q,g],B),w=KA.makeSpan(["strut"]);return w.style.height=E.height+E.depth+"em",w.style.verticalAlign=-E.depth+"em",E.children.unshift(w),E=KA.makeSpan(["thinbox"],[E],B),KA.makeSpan(["mord","vbox"],[E],B)},mathmlBuilder:function(A,B){var Q=new sB.MathNode("mpadded",[hB(A.body,B)]);if("rlap"!==A.alignment){var g="llap"===A.alignment?"-1":"-0.5";Q.setAttribute("lspace",g+"width")}return Q.setAttribute("width","0px"),Q}}),fA({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(A,B){var Q=A.funcName,g=A.parser,E=g.mode;g.switchMode("math");var w="\\("===Q?"\\)":"$",I=g.parseExpression(!1,w);return g.expect(w),g.switchMode(E),{type:"styling",mode:g.mode,style:"text",body:I}}}),fA({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(A,B){throw new I("Mismatched "+A.funcName)}});var KQ=function(A,B){switch(B.style.size){case y.DISPLAY.size:return A.display;case y.TEXT.size:return A.text;case y.SCRIPT.size:return A.script;case y.SCRIPTSCRIPT.size:return A.scriptscript;default:return A.text}};fA({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(A,B){return{type:"mathchoice",mode:A.parser.mode,display:PA(B[0]),text:PA(B[1]),script:PA(B[2]),scriptscript:PA(B[3])}},htmlBuilder:function(A,B){var Q=KQ(A,B),g=BB(Q,B,!1);return KA.makeFragment(g)},mathmlBuilder:function(A,B){var Q=KQ(A,B);return GB(Q,B)}});var TQ=function(A,B,Q,g,E,w,I){var C,Y,M;if(A=KA.makeSpan([],[A]),B){var F=IB(B,g.havingStyle(E.sup()),g);Y={elem:F,kern:Math.max(g.fontMetrics().bigOpSpacing1,g.fontMetrics().bigOpSpacing3-F.depth)}}if(Q){var c=IB(Q,g.havingStyle(E.sub()),g);C={elem:c,kern:Math.max(g.fontMetrics().bigOpSpacing2,g.fontMetrics().bigOpSpacing4-c.height)}}if(Y&&C){var s=g.fontMetrics().bigOpSpacing5+C.elem.height+C.elem.depth+C.kern+A.depth+I;M=KA.makeVList({positionType:"bottom",positionData:s,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:C.elem,marginLeft:-w+"em"},{type:"kern",size:C.kern},{type:"elem",elem:A},{type:"kern",size:Y.kern},{type:"elem",elem:Y.elem,marginLeft:w+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}else if(C){var U=A.height-I;M=KA.makeVList({positionType:"top",positionData:U,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:C.elem,marginLeft:-w+"em"},{type:"kern",size:C.kern},{type:"elem",elem:A}]},g)}else{if(!Y)return A;var D=A.depth+I;M=KA.makeVList({positionType:"bottom",positionData:D,children:[{type:"elem",elem:A},{type:"kern",size:Y.kern},{type:"elem",elem:Y.elem,marginLeft:w+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}return KA.makeSpan(["mop","op-limits"],[M],g)},VQ=["\\smallint"],bQ=function(A,B){var Q,g,E,w=!1;"supsub"===A.type?(Q=A.sup,g=A.sub,E=RB(A.base,"op"),w=!0):E=RB(A,"op");var I,C=B.style,Y=!1;if(C.size===y.DISPLAY.size&&E.symbol&&!c.contains(VQ,E.name)&&(Y=!0),E.symbol){var M=Y?"Size2-Regular":"Size1-Regular",F="";if("\\oiint"!==E.name&&"\\oiiint"!==E.name||(F=E.name.substr(1),E.name="oiint"===F?"\\iint":"\\iiint"),I=KA.makeSymbol(E.name,M,"math",B,["mop","op-symbol",Y?"large-op":"small-op"]),F.length>0){var s=I.italic,U=KA.staticSvg(F+"Size"+(Y?"2":"1"),B);I=KA.makeVList({positionType:"individualShift",children:[{type:"elem",elem:I,shift:0},{type:"elem",elem:U,shift:Y?.08:0}]},B),E.name="\\"+F,I.classes.unshift("mop"),I.italic=s}}else if(E.body){var D=BB(E.body,B,!0);1===D.length&&D[0]instanceof m?(I=D[0]).classes[0]="mop":I=KA.makeSpan(["mop"],KA.tryCombineChars(D),B)}else{for(var i=[],N=1;N0){for(var C=E.body.map((function(A){var B=A.text;return"string"==typeof B?{type:"textord",mode:A.mode,text:B}:A})),Y=BB(C,B.withFont("mathrm"),!0),M=0;M=0?C.setAttribute("height","+"+E+"em"):(C.setAttribute("height",E+"em"),C.setAttribute("depth","+"+-E+"em")),C.setAttribute("voffset",E+"em"),C}});var fQ=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];fA({type:"sizing",names:fQ,props:{numArgs:0,allowedInText:!0},handler:function(A,B){var Q=A.breakOnTokenText,g=A.funcName,E=A.parser,w=E.parseExpression(!1,Q);return{type:"sizing",mode:E.mode,size:fQ.indexOf(g)+1,body:w}},htmlBuilder:function(A,B){var Q=B.havingSize(A.size);return ZQ(A.body,Q,B)},mathmlBuilder:function(A,B){var Q=B.havingSize(A.size),g=NB(A.body,Q),E=new sB.MathNode("mstyle",g);return E.setAttribute("mathsize",Q.sizeMultiplier+"em"),E}}),fA({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(A,B,Q){var g=A.parser,E=!1,w=!1,I=Q[0]&&RB(Q[0],"ordgroup");if(I)for(var C="",Y=0;YQ.height+Q.depth+w&&(w=(w+c-Q.height-Q.depth)/2);var s=Y.height-Q.height-w-M;Q.style.paddingLeft=F+"em";var U=KA.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Q,wrapperClasses:["svg-align"]},{type:"kern",size:-(Q.height+s)},{type:"elem",elem:Y},{type:"kern",size:M}]},B);if(A.index){var D=B.havingStyle(y.SCRIPTSCRIPT),i=IB(A.index,D,B),N=.6*(U.height-U.depth),G=KA.makeVList({positionType:"shift",positionData:-N,children:[{type:"elem",elem:i}]},B),h=KA.makeSpan(["root"],[G]);return KA.makeSpan(["mord","sqrt"],[h,U],B)}return KA.makeSpan(["mord","sqrt"],[U],B)},mathmlBuilder:function(A,B){var Q=A.body,g=A.index;return g?new sB.MathNode("mroot",[hB(Q,B),hB(g,B)]):new sB.MathNode("msqrt",[hB(Q,B)])}});var OQ={display:y.DISPLAY,text:y.TEXT,script:y.SCRIPT,scriptscript:y.SCRIPTSCRIPT};fA({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(A,B){var Q=A.breakOnTokenText,g=A.funcName,E=A.parser,w=E.parseExpression(!0,Q),I=g.slice(1,g.length-5);return{type:"styling",mode:E.mode,style:I,body:w}},htmlBuilder:function(A,B){var Q=OQ[A.style],g=B.havingStyle(Q).withFont("");return ZQ(A.body,g,B)},mathmlBuilder:function(A,B){var Q=OQ[A.style],g=B.havingStyle(Q),E=NB(A.body,g),w=new sB.MathNode("mstyle",E),I={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[A.style];return w.setAttribute("scriptlevel",I[0]),w.setAttribute("displaystyle",I[1]),w}}),OA({type:"supsub",htmlBuilder:function(A,B){var Q=function(A,B){var Q=A.base;return Q?"op"===Q.type?Q.limits&&(B.style.size===y.DISPLAY.size||Q.alwaysHandleSupSub)?bQ:null:"operatorname"===Q.type?Q.alwaysHandleSupSub&&(B.style.size===y.DISPLAY.size||Q.limits)?XQ:null:"accent"===Q.type?c.isCharacterBox(Q.base)?aB:null:"horizBrace"===Q.type&&!A.sub===Q.isOver?kQ:null:null}(A,B);if(Q)return Q(A,B);var g,E,w,I=A.base,C=A.sup,Y=A.sub,M=IB(I,B),F=B.fontMetrics(),s=0,U=0,D=I&&c.isCharacterBox(I);if(C){var i=B.havingStyle(B.style.sup());g=IB(C,i,B),D||(s=M.height-i.fontMetrics().supDrop*i.sizeMultiplier/B.sizeMultiplier)}if(Y){var N=B.havingStyle(B.style.sub());E=IB(Y,N,B),D||(U=M.depth+N.fontMetrics().subDrop*N.sizeMultiplier/B.sizeMultiplier)}w=B.style===y.DISPLAY?F.sup1:B.style.cramped?F.sup3:F.sup2;var G,h=B.sizeMultiplier,t=.5/F.ptPerEm/h+"em",e=null;if(E){var J=A.base&&"op"===A.base.type&&A.base.name&&("\\oiint"===A.base.name||"\\oiiint"===A.base.name);(M instanceof m||J)&&(e=-M.italic+"em")}if(g&&E){s=Math.max(s,w,g.depth+.25*F.xHeight),U=Math.max(U,F.sub2);var H=4*F.defaultRuleThickness;if(s-g.depth-(E.height-U)0&&(s+=j,U-=j)}var o=[{type:"elem",elem:E,shift:U,marginRight:t,marginLeft:e},{type:"elem",elem:g,shift:-s,marginRight:t}];G=KA.makeVList({positionType:"individualShift",children:o},B)}else if(E){U=Math.max(U,F.sub1,E.height-.8*F.xHeight);var z=[{type:"elem",elem:E,marginLeft:e,marginRight:t}];G=KA.makeVList({positionType:"shift",positionData:U,children:z},B)}else{if(!g)throw new Error("supsub must have either sup or sub.");s=Math.max(s,w,g.depth+.25*F.xHeight),G=KA.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:g,marginRight:t}]},B)}var r=EB(M,"right")||"mord";return KA.makeSpan([r],[M,KA.makeSpan(["msupsub"],[G])],B)},mathmlBuilder:function(A,B){var Q,g=!1;A.base&&"horizBrace"===A.base.type&&!!A.sup===A.base.isOver&&(g=!0,Q=A.base.isOver),!A.base||"op"!==A.base.type&&"operatorname"!==A.base.type||(A.base.parentIsSupSub=!0);var E,w=[hB(A.base,B)];if(A.sub&&w.push(hB(A.sub,B)),A.sup&&w.push(hB(A.sup,B)),g)E=Q?"mover":"munder";else if(A.sub)if(A.sup){var I=A.base;E=I&&"op"===I.type&&I.limits&&B.style===y.DISPLAY||I&&"operatorname"===I.type&&I.alwaysHandleSupSub&&(B.style===y.DISPLAY||I.limits)?"munderover":"msubsup"}else{var C=A.base;E=C&&"op"===C.type&&C.limits&&(B.style===y.DISPLAY||C.alwaysHandleSupSub)||C&&"operatorname"===C.type&&C.alwaysHandleSupSub&&(C.limits||B.style===y.DISPLAY)?"munder":"msub"}else{var Y=A.base;E=Y&&"op"===Y.type&&Y.limits&&(B.style===y.DISPLAY||Y.alwaysHandleSupSub)||Y&&"operatorname"===Y.type&&Y.alwaysHandleSupSub&&(Y.limits||B.style===y.DISPLAY)?"mover":"msup"}return new sB.MathNode(E,w)}}),OA({type:"atom",htmlBuilder:function(A,B){return KA.mathsym(A.text,A.mode,B,["m"+A.family])},mathmlBuilder:function(A,B){var Q=new sB.MathNode("mo",[UB(A.text,A.mode)]);if("bin"===A.family){var g=iB(A,B);"bold-italic"===g&&Q.setAttribute("mathvariant",g)}else"punct"===A.family?Q.setAttribute("separator","true"):"open"!==A.family&&"close"!==A.family||Q.setAttribute("stretchy","false");return Q}});var PQ={mi:"italic",mn:"normal",mtext:"normal"};OA({type:"mathord",htmlBuilder:function(A,B){return KA.makeOrd(A,B,"mathord")},mathmlBuilder:function(A,B){var Q=new sB.MathNode("mi",[UB(A.text,A.mode,B)]),g=iB(A,B)||"italic";return g!==PQ[Q.type]&&Q.setAttribute("mathvariant",g),Q}}),OA({type:"textord",htmlBuilder:function(A,B){return KA.makeOrd(A,B,"textord")},mathmlBuilder:function(A,B){var Q,g=UB(A.text,A.mode,B),E=iB(A,B)||"normal";return Q="text"===A.mode?new sB.MathNode("mtext",[g]):/[0-9]/.test(A.text)?new sB.MathNode("mn",[g]):"\\prime"===A.text?new sB.MathNode("mo",[g]):new sB.MathNode("mi",[g]),E!==PQ[Q.type]&&Q.setAttribute("mathvariant",E),Q}});var vQ={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},qQ={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};OA({type:"spacing",htmlBuilder:function(A,B){if(qQ.hasOwnProperty(A.text)){var Q=qQ[A.text].className||"";if("text"===A.mode){var g=KA.makeOrd(A,B,"textord");return g.classes.push(Q),g}return KA.makeSpan(["mspace",Q],[KA.mathsym(A.text,A.mode,B)],B)}if(vQ.hasOwnProperty(A.text))return KA.makeSpan(["mspace",vQ[A.text]],[],B);throw new I('Unknown type of space "'+A.text+'"')},mathmlBuilder:function(A,B){if(!qQ.hasOwnProperty(A.text)){if(vQ.hasOwnProperty(A.text))return new sB.MathNode("mspace");throw new I('Unknown type of space "'+A.text+'"')}return new sB.MathNode("mtext",[new sB.TextNode(" ")])}});var _Q=function(){var A=new sB.MathNode("mtd",[]);return A.setAttribute("width","50%"),A};OA({type:"tag",mathmlBuilder:function(A,B){var Q=new sB.MathNode("mtable",[new sB.MathNode("mtr",[_Q(),new sB.MathNode("mtd",[GB(A.body,B)]),_Q(),new sB.MathNode("mtd",[GB(A.tag,B)])])]);return Q.setAttribute("width","100%"),Q}});var $Q={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ag={"\\textbf":"textbf","\\textmd":"textmd"},Bg={"\\textit":"textit","\\textup":"textup"},Qg=function(A,B){var Q=A.font;return Q?$Q[Q]?B.withTextFontFamily($Q[Q]):Ag[Q]?B.withTextFontWeight(Ag[Q]):B.withTextFontShape(Bg[Q]):B};fA({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(A,B){var Q=A.parser,g=A.funcName,E=B[0];return{type:"text",mode:Q.mode,body:PA(E),font:g}},htmlBuilder:function(A,B){var Q=Qg(A,B),g=BB(A.body,Q,!0);return KA.makeSpan(["mord","text"],KA.tryCombineChars(g),Q)},mathmlBuilder:function(A,B){var Q=Qg(A,B);return GB(A.body,Q)}}),fA({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(A,B){return{type:"underline",mode:A.parser.mode,body:B[0]}},htmlBuilder:function(A,B){var Q=IB(A.body,B),g=KA.makeLineSpan("underline-line",B),E=B.fontMetrics().defaultRuleThickness,w=KA.makeVList({positionType:"top",positionData:Q.height,children:[{type:"kern",size:E},{type:"elem",elem:g},{type:"kern",size:3*E},{type:"elem",elem:Q}]},B);return KA.makeSpan(["mord","underline"],[w],B)},mathmlBuilder:function(A,B){var Q=new sB.MathNode("mo",[new sB.TextNode("‾")]);Q.setAttribute("stretchy","true");var g=new sB.MathNode("munder",[hB(A.body,B),Q]);return g.setAttribute("accentunder","true"),g}}),fA({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(A,B,Q){throw new I("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(A,B){for(var Q=gg(A),g=[],E=B.havingStyle(B.style.text()),w=0;w0&&(this.undefStack[this.undefStack.length-1][A]=B)}else{var E=this.undefStack[this.undefStack.length-1];E&&!E.hasOwnProperty(A)&&(E[A]=this.current[A])}this.current[A]=B},A}(),Mg={},Fg=Mg;function cg(A,B){Mg[A]=B}cg("\\noexpand",(function(A){var B=A.popToken();return A.isExpandable(B.text)&&(B.noexpand=!0,B.treatAsRelax=!0),{tokens:[B],numArgs:0}})),cg("\\expandafter",(function(A){var B=A.popToken();return A.expandOnce(!0),{tokens:[B],numArgs:0}})),cg("\\@firstoftwo",(function(A){return{tokens:A.consumeArgs(2)[0],numArgs:0}})),cg("\\@secondoftwo",(function(A){return{tokens:A.consumeArgs(2)[1],numArgs:0}})),cg("\\@ifnextchar",(function(A){var B=A.consumeArgs(3);A.consumeSpaces();var Q=A.future();return 1===B[0].length&&B[0][0].text===Q.text?{tokens:B[1],numArgs:0}:{tokens:B[2],numArgs:0}})),cg("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),cg("\\TextOrMath",(function(A){var B=A.consumeArgs(2);return"text"===A.mode?{tokens:B[0],numArgs:0}:{tokens:B[1],numArgs:0}}));var sg={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};cg("\\char",(function(A){var B,Q=A.popToken(),g="";if("'"===Q.text)B=8,Q=A.popToken();else if('"'===Q.text)B=16,Q=A.popToken();else if("`"===Q.text)if("\\"===(Q=A.popToken()).text[0])g=Q.text.charCodeAt(1);else{if("EOF"===Q.text)throw new I("\\char` missing argument");g=Q.text.charCodeAt(0)}else B=10;if(B){if(null==(g=sg[Q.text])||g>=B)throw new I("Invalid base-"+B+" digit "+Q.text);for(var E;null!=(E=sg[A.future().text])&&E":"\\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"};cg("\\dots",(function(A){var B="\\dotso",Q=A.expandAfterFuture().text;return Q in Dg?B=Dg[Q]:("\\not"===Q.substr(0,4)||Q in O.math&&c.contains(["bin","rel"],O.math[Q].group))&&(B="\\dotsb"),B}));var ig={")":!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};cg("\\dotso",(function(A){return A.future().text in ig?"\\ldots\\,":"\\ldots"})),cg("\\dotsc",(function(A){var B=A.future().text;return B in ig&&","!==B?"\\ldots\\,":"\\ldots"})),cg("\\cdots",(function(A){return A.future().text in ig?"\\@cdots\\,":"\\@cdots"})),cg("\\dotsb","\\cdots"),cg("\\dotsm","\\cdots"),cg("\\dotsi","\\!\\cdots"),cg("\\dotsx","\\ldots\\,"),cg("\\DOTSI","\\relax"),cg("\\DOTSB","\\relax"),cg("\\DOTSX","\\relax"),cg("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),cg("\\,","\\tmspace+{3mu}{.1667em}"),cg("\\thinspace","\\,"),cg("\\>","\\mskip{4mu}"),cg("\\:","\\tmspace+{4mu}{.2222em}"),cg("\\medspace","\\:"),cg("\\;","\\tmspace+{5mu}{.2777em}"),cg("\\thickspace","\\;"),cg("\\!","\\tmspace-{3mu}{.1667em}"),cg("\\negthinspace","\\!"),cg("\\negmedspace","\\tmspace-{4mu}{.2222em}"),cg("\\negthickspace","\\tmspace-{5mu}{.277em}"),cg("\\enspace","\\kern.5em "),cg("\\enskip","\\hskip.5em\\relax"),cg("\\quad","\\hskip1em\\relax"),cg("\\qquad","\\hskip2em\\relax"),cg("\\tag","\\@ifstar\\tag@literal\\tag@paren"),cg("\\tag@paren","\\tag@literal{({#1})}"),cg("\\tag@literal",(function(A){if(A.macros.get("\\df@tag"))throw new I("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),cg("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),cg("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),cg("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),cg("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),cg("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),cg("\\\\","\\newline"),cg("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ng=V["Main-Regular"]["T".charCodeAt(0)][1]-.7*V["Main-Regular"]["A".charCodeAt(0)][1]+"em";cg("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Ng+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),cg("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Ng+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),cg("\\hspace","\\@ifstar\\@hspacer\\@hspace"),cg("\\@hspace","\\hskip #1\\relax"),cg("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),cg("\\ordinarycolon",":"),cg("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),cg("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),cg("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),cg("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),cg("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),cg("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),cg("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),cg("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),cg("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),cg("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),cg("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),cg("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),cg("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),cg("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),cg("∷","\\dblcolon"),cg("∹","\\eqcolon"),cg("≔","\\coloneqq"),cg("≕","\\eqqcolon"),cg("⩴","\\Coloneqq"),cg("\\ratio","\\vcentcolon"),cg("\\coloncolon","\\dblcolon"),cg("\\colonequals","\\coloneqq"),cg("\\coloncolonequals","\\Coloneqq"),cg("\\equalscolon","\\eqqcolon"),cg("\\equalscoloncolon","\\Eqqcolon"),cg("\\colonminus","\\coloneq"),cg("\\coloncolonminus","\\Coloneq"),cg("\\minuscolon","\\eqcolon"),cg("\\minuscoloncolon","\\Eqcolon"),cg("\\coloncolonapprox","\\Colonapprox"),cg("\\coloncolonsim","\\Colonsim"),cg("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),cg("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),cg("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),cg("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),cg("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),cg("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),cg("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),cg("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),cg("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),cg("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),cg("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),cg("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),cg("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),cg("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),cg("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),cg("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),cg("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),cg("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),cg("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),cg("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),cg("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),cg("\\imath","\\html@mathml{\\@imath}{ı}"),cg("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),cg("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),cg("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),cg("⟦","\\llbracket"),cg("⟧","\\rrbracket"),cg("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),cg("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),cg("⦃","\\lBrace"),cg("⦄","\\rBrace"),cg("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),cg("⦵","\\minuso"),cg("\\darr","\\downarrow"),cg("\\dArr","\\Downarrow"),cg("\\Darr","\\Downarrow"),cg("\\lang","\\langle"),cg("\\rang","\\rangle"),cg("\\uarr","\\uparrow"),cg("\\uArr","\\Uparrow"),cg("\\Uarr","\\Uparrow"),cg("\\N","\\mathbb{N}"),cg("\\R","\\mathbb{R}"),cg("\\Z","\\mathbb{Z}"),cg("\\alef","\\aleph"),cg("\\alefsym","\\aleph"),cg("\\Alpha","\\mathrm{A}"),cg("\\Beta","\\mathrm{B}"),cg("\\bull","\\bullet"),cg("\\Chi","\\mathrm{X}"),cg("\\clubs","\\clubsuit"),cg("\\cnums","\\mathbb{C}"),cg("\\Complex","\\mathbb{C}"),cg("\\Dagger","\\ddagger"),cg("\\diamonds","\\diamondsuit"),cg("\\empty","\\emptyset"),cg("\\Epsilon","\\mathrm{E}"),cg("\\Eta","\\mathrm{H}"),cg("\\exist","\\exists"),cg("\\harr","\\leftrightarrow"),cg("\\hArr","\\Leftrightarrow"),cg("\\Harr","\\Leftrightarrow"),cg("\\hearts","\\heartsuit"),cg("\\image","\\Im"),cg("\\infin","\\infty"),cg("\\Iota","\\mathrm{I}"),cg("\\isin","\\in"),cg("\\Kappa","\\mathrm{K}"),cg("\\larr","\\leftarrow"),cg("\\lArr","\\Leftarrow"),cg("\\Larr","\\Leftarrow"),cg("\\lrarr","\\leftrightarrow"),cg("\\lrArr","\\Leftrightarrow"),cg("\\Lrarr","\\Leftrightarrow"),cg("\\Mu","\\mathrm{M}"),cg("\\natnums","\\mathbb{N}"),cg("\\Nu","\\mathrm{N}"),cg("\\Omicron","\\mathrm{O}"),cg("\\plusmn","\\pm"),cg("\\rarr","\\rightarrow"),cg("\\rArr","\\Rightarrow"),cg("\\Rarr","\\Rightarrow"),cg("\\real","\\Re"),cg("\\reals","\\mathbb{R}"),cg("\\Reals","\\mathbb{R}"),cg("\\Rho","\\mathrm{P}"),cg("\\sdot","\\cdot"),cg("\\sect","\\S"),cg("\\spades","\\spadesuit"),cg("\\sub","\\subset"),cg("\\sube","\\subseteq"),cg("\\supe","\\supseteq"),cg("\\Tau","\\mathrm{T}"),cg("\\thetasym","\\vartheta"),cg("\\weierp","\\wp"),cg("\\Zeta","\\mathrm{Z}"),cg("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),cg("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),cg("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),cg("\\bra","\\mathinner{\\langle{#1}|}"),cg("\\ket","\\mathinner{|{#1}\\rangle}"),cg("\\braket","\\mathinner{\\langle{#1}\\rangle}"),cg("\\Bra","\\left\\langle#1\\right|"),cg("\\Ket","\\left|#1\\right\\rangle"),cg("\\blue","\\textcolor{##6495ed}{#1}"),cg("\\orange","\\textcolor{##ffa500}{#1}"),cg("\\pink","\\textcolor{##ff00af}{#1}"),cg("\\red","\\textcolor{##df0030}{#1}"),cg("\\green","\\textcolor{##28ae7b}{#1}"),cg("\\gray","\\textcolor{gray}{#1}"),cg("\\purple","\\textcolor{##9d38bd}{#1}"),cg("\\blueA","\\textcolor{##ccfaff}{#1}"),cg("\\blueB","\\textcolor{##80f6ff}{#1}"),cg("\\blueC","\\textcolor{##63d9ea}{#1}"),cg("\\blueD","\\textcolor{##11accd}{#1}"),cg("\\blueE","\\textcolor{##0c7f99}{#1}"),cg("\\tealA","\\textcolor{##94fff5}{#1}"),cg("\\tealB","\\textcolor{##26edd5}{#1}"),cg("\\tealC","\\textcolor{##01d1c1}{#1}"),cg("\\tealD","\\textcolor{##01a995}{#1}"),cg("\\tealE","\\textcolor{##208170}{#1}"),cg("\\greenA","\\textcolor{##b6ffb0}{#1}"),cg("\\greenB","\\textcolor{##8af281}{#1}"),cg("\\greenC","\\textcolor{##74cf70}{#1}"),cg("\\greenD","\\textcolor{##1fab54}{#1}"),cg("\\greenE","\\textcolor{##0d923f}{#1}"),cg("\\goldA","\\textcolor{##ffd0a9}{#1}"),cg("\\goldB","\\textcolor{##ffbb71}{#1}"),cg("\\goldC","\\textcolor{##ff9c39}{#1}"),cg("\\goldD","\\textcolor{##e07d10}{#1}"),cg("\\goldE","\\textcolor{##a75a05}{#1}"),cg("\\redA","\\textcolor{##fca9a9}{#1}"),cg("\\redB","\\textcolor{##ff8482}{#1}"),cg("\\redC","\\textcolor{##f9685d}{#1}"),cg("\\redD","\\textcolor{##e84d39}{#1}"),cg("\\redE","\\textcolor{##bc2612}{#1}"),cg("\\maroonA","\\textcolor{##ffbde0}{#1}"),cg("\\maroonB","\\textcolor{##ff92c6}{#1}"),cg("\\maroonC","\\textcolor{##ed5fa6}{#1}"),cg("\\maroonD","\\textcolor{##ca337c}{#1}"),cg("\\maroonE","\\textcolor{##9e034e}{#1}"),cg("\\purpleA","\\textcolor{##ddd7ff}{#1}"),cg("\\purpleB","\\textcolor{##c6b9fc}{#1}"),cg("\\purpleC","\\textcolor{##aa87ff}{#1}"),cg("\\purpleD","\\textcolor{##7854ab}{#1}"),cg("\\purpleE","\\textcolor{##543b78}{#1}"),cg("\\mintA","\\textcolor{##f5f9e8}{#1}"),cg("\\mintB","\\textcolor{##edf2df}{#1}"),cg("\\mintC","\\textcolor{##e0e5cc}{#1}"),cg("\\grayA","\\textcolor{##f6f7f7}{#1}"),cg("\\grayB","\\textcolor{##f0f1f2}{#1}"),cg("\\grayC","\\textcolor{##e3e5e6}{#1}"),cg("\\grayD","\\textcolor{##d6d8da}{#1}"),cg("\\grayE","\\textcolor{##babec2}{#1}"),cg("\\grayF","\\textcolor{##888d93}{#1}"),cg("\\grayG","\\textcolor{##626569}{#1}"),cg("\\grayH","\\textcolor{##3b3e40}{#1}"),cg("\\grayI","\\textcolor{##21242c}{#1}"),cg("\\kaBlue","\\textcolor{##314453}{#1}"),cg("\\kaGreen","\\textcolor{##71B307}{#1}");var Gg={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},hg=function(){function A(A,B,Q){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=B,this.expansionCount=0,this.feed(A),this.macros=new Yg(Fg,B.macros),this.mode=Q,this.stack=[]}var B=A.prototype;return B.feed=function(A){this.lexer=new Cg(A,this.settings)},B.switchMode=function(A){this.mode=A},B.beginGroup=function(){this.macros.beginGroup()},B.endGroup=function(){this.macros.endGroup()},B.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},B.popToken=function(){return this.future(),this.stack.pop()},B.pushToken=function(A){this.stack.push(A)},B.pushTokens=function(A){var B;(B=this.stack).push.apply(B,A)},B.consumeSpaces=function(){for(;" "===this.future().text;)this.stack.pop()},B.consumeArgs=function(A){for(var B=[],Q=0;Qthis.settings.maxExpand)throw new I("Too many expansions: infinite loop or need to increase maxExpand setting");var E=g.tokens;if(g.numArgs)for(var w=this.consumeArgs(g.numArgs),C=(E=E.slice()).length-1;C>=0;--C){var Y=E[C];if("#"===Y.text){if(0===C)throw new I("Incomplete placeholder at end of macro body",Y);if("#"===(Y=E[--C]).text)E.splice(C+1,1);else{if(!/^[1-9]$/.test(Y.text))throw new I("Not a valid argument number",Y);var M;(M=E).splice.apply(M,[C,2].concat(w[+Y.text-1]))}}}return this.pushTokens(E),E},B.expandAfterFuture=function(){return this.expandOnce(),this.future()},B.expandNextToken=function(){for(;;){var A=this.expandOnce();if(A instanceof E){if("\\relax"!==A.text&&!A.treatAsRelax)return this.stack.pop();this.stack.pop()}}throw new Error},B.expandMacro=function(A){return this.macros.has(A)?this.expandTokens([new E(A)]):void 0},B.expandTokens=function(A){var B=[],Q=this.stack.length;for(this.pushTokens(A);this.stack.length>Q;){var g=this.expandOnce(!0);g instanceof E&&(g.treatAsRelax&&(g.noexpand=!1,g.treatAsRelax=!1),B.push(this.stack.pop()))}return B},B.expandMacroAsText=function(A){var B=this.expandMacro(A);return B?B.map((function(A){return A.text})).join(""):B},B._getExpansion=function(A){var B=this.macros.get(A);if(null==B)return B;var Q="function"==typeof B?B(this):B;if("string"==typeof Q){var g=0;if(-1!==Q.indexOf("#"))for(var E=Q.replace(/##/g,"");-1!==E.indexOf("#"+(g+1));)++g;for(var w=new Cg(Q,this.settings),I=[],C=w.lex();"EOF"!==C.text;)I.push(C),C=w.lex();return I.reverse(),{tokens:I,numArgs:g}}return Q},B.isDefined=function(A){return this.macros.has(A)||Eg.hasOwnProperty(A)||O.math.hasOwnProperty(A)||O.text.hasOwnProperty(A)||Gg.hasOwnProperty(A)},B.isExpandable=function(A){var B=this.macros.get(A);return null!=B?"string"==typeof B||"function"==typeof B||!B.unexpandable:Eg.hasOwnProperty(A)},A}(),tg={"́":{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"}},eg={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","č":"č","ĉ":"ĉ","ċ":"ċ","ď":"ď","ḋ":"ḋ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ĺ":"ĺ","ľ":"ľ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ď":"Ď","Ḋ":"Ḋ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ĺ":"Ĺ","Ľ":"Ľ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ť":"Ť","Ṫ":"Ṫ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"},yg=function(){function A(A,B){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 hg(A,B,this.mode),this.settings=B,this.leftrightDepth=0}var B=A.prototype;return B.expect=function(A,B){if(void 0===B&&(B=!0),this.fetch().text!==A)throw new I("Expected '"+A+"', got '"+this.fetch().text+"'",this.fetch());B&&this.consume()},B.consume=function(){this.nextToken=null},B.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},B.switchMode=function(A){this.mode=A,this.gullet.switchMode(A)},B.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var A=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),A},B.parseExpression=function(B,Q){for(var g=[];;){"math"===this.mode&&this.consumeSpaces();var E=this.fetch();if(-1!==A.endOfExpression.indexOf(E.text))break;if(Q&&E.text===Q)break;if(B&&Eg[E.text]&&Eg[E.text].infix)break;var w=this.parseAtom(Q);if(!w)break;"internal"!==w.type&&g.push(w)}return"text"===this.mode&&this.formLigatures(g),this.handleInfixNodes(g)},B.handleInfixNodes=function(A){for(var B,Q=-1,g=0;g0&&!M||0===C&&!M&&"math"===this.mode,c=this.parseGroupOfType("argument to '"+A+"'",Y,M,g,F);if(!c){if(M){w.push(null);continue}throw new I("Expected group after '"+A+"'",this.fetch())}(M?w:E).push(c)}return{args:E,optArgs:w}},B.parseGroupOfType=function(A,B,Q,g,E){switch(B){case"color":return E&&this.consumeSpaces(),this.parseColorGroup(Q);case"size":return E&&this.consumeSpaces(),this.parseSizeGroup(Q);case"url":return this.parseUrlGroup(Q,E);case"math":case"text":return this.parseGroup(A,Q,g,void 0,B,E);case"hbox":var w=this.parseGroup(A,Q,g,void 0,"text",E);return w?{type:"styling",mode:w.mode,body:[w],style:"text"}:w;case"raw":if(E&&this.consumeSpaces(),Q&&"{"===this.fetch().text)return null;var C=this.parseStringGroup("raw",Q,!0);if(C)return{type:"raw",mode:"text",string:C.text};throw new I("Expected raw group",this.fetch());case"original":case null:case void 0:return this.parseGroup(A,Q,g,void 0,void 0,E);default:throw new I("Unknown group type as "+A,this.fetch())}},B.consumeSpaces=function(){for(;" "===this.fetch().text;)this.consume()},B.parseStringGroup=function(A,B,Q){var g=B?"[":"{",E=B?"]":"}",w=this.fetch();if(w.text!==g){if(B)return null;if(Q&&"EOF"!==w.text&&/[^{}[\]]/.test(w.text))return this.consume(),w}var C=this.mode;this.mode="text",this.expect(g);for(var Y,M="",F=this.fetch(),c=0,s=F;(Y=this.fetch()).text!==E||Q&&c>0;){switch(Y.text){case"EOF":throw new I("Unexpected end of input in "+A,F.range(s,M));case g:c++;break;case E:c--}M+=(s=Y).text,this.consume()}return this.expect(E),this.mode=C,F.range(s,M)},B.parseRegexGroup=function(A,B){var Q=this.mode;this.mode="text";for(var g,E=this.fetch(),w=E,C="";"EOF"!==(g=this.fetch()).text&&A.test(C+g.text);)C+=(w=g).text,this.consume();if(""===C)throw new I("Invalid "+B+": '"+E.text+"'",E);return this.mode=Q,E.range(w,C)},B.parseColorGroup=function(A){var B=this.parseStringGroup("color",A);if(!B)return null;var Q=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(B.text);if(!Q)throw new I("Invalid color: '"+B.text+"'",B);var g=Q[0];return/^[0-9a-f]{6}$/i.test(g)&&(g="#"+g),{type:"color-token",mode:this.mode,color:g}},B.parseSizeGroup=function(A){var B,Q=!1;if(!(B=A||"{"===this.fetch().text?this.parseStringGroup("size",A):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;A||0!==B.text.length||(B.text="0pt",Q=!0);var g=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(B.text);if(!g)throw new I("Invalid size: '"+B.text+"'",B);var E={number:+(g[1]+g[2]),unit:g[3]};if(!zA(E))throw new I("Invalid unit: '"+E.unit+"'",B);return{type:"size",mode:this.mode,value:E,isBlank:Q}},B.parseUrlGroup=function(A,B){this.gullet.lexer.setCatcode("%",13);var Q=this.parseStringGroup("url",A,!0);if(this.gullet.lexer.setCatcode("%",14),!Q)return null;var g=Q.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:g}},B.parseGroup=function(B,Q,E,w,C,Y){var M=this.mode;C&&this.switchMode(C),Y&&this.consumeSpaces();var F,c=this.fetch(),s=c.text;if(Q?"["===s:"{"===s||"\\begingroup"===s){this.consume();var U=A.endOfGroup[s];this.gullet.beginGroup();var D=this.parseExpression(!1,U),i=this.fetch();this.expect(U),this.gullet.endGroup(),F={type:"ordgroup",mode:this.mode,loc:g.range(c,i),body:D,semisimple:"\\begingroup"===s||void 0}}else if(Q)F=null;else if(null==(F=this.parseFunction(w,B,E)||this.parseSymbol())&&"\\"===s[0]&&!Gg.hasOwnProperty(s)){if(this.settings.throwOnError)throw new I("Undefined control sequence: "+s,c);F=this.formatUnsupportedCmd(s),this.consume()}return C&&this.switchMode(M),F},B.formLigatures=function(A){for(var B=A.length-1,Q=0;Q=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+B[0]+'" used in math mode',A);var Y,M=O[this.mode][B].group,F=g.range(A);if(X.hasOwnProperty(M)){var c=M;Y={type:"atom",mode:this.mode,family:c,loc:F,text:B}}else Y={type:M,mode:this.mode,loc:F,text:B};w=Y}else{if(!(B.charCodeAt(0)>=128))return null;this.settings.strict&&(j(B.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+B[0]+'" used in math mode',A):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+B[0]+'" ('+B.charCodeAt(0)+")",A)),w={type:"textord",mode:"text",loc:g.range(A),text:B}}if(this.consume(),C)for(var s=0;s