,"+(622+e+t)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 c69,-144,104.5,-217.7,106.5,-221 l`+e/2.075+" -"+e+` c5.3,-9.3,12,-14,20,-14 H400000v`+(40+e)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z M`+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},Xa=function(e,t){return"M263,"+(601+e+t)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+e/2.084+" -"+e+` c4.7,-7.3,11,-11,19,-11 H40000v`+(40+e)+`H1012.3 s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},ja=function(e,t){return"M983 "+(10+e+t)+` l`+e/3.13+" -"+e+` c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},Za=function(e,t){return"M424,"+(2398+e+t)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 l`+e/4.223+" -"+e+`c4,-6.7,10,-10,18,-10 H400000 v`+(40+e)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+t+` h400000v`+(40+e)+"h-400000z"},Ka=function(e,t){return"M473,"+(2713+e+t)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 606zM`+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},Ja=function(e){var t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},Qa=function(e,t,r){var a=r-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+` H742v`+a+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 219 661 l218 661zM702 `+t+"H400000v"+(40+e)+"H742z"},_a=function(e,t,r){t=1e3*t;var a="";switch(e){case"sqrtMain":a=Ya(t,oe);break;case"sqrtSize1":a=Xa(t,oe);break;case"sqrtSize2":a=ja(t,oe);break;case"sqrtSize3":a=Za(t,oe);break;case"sqrtSize4":a=Ka(t,oe);break;case"sqrtTall":a=Qa(t,oe,r)}return a},en=function(e,t){switch(e){case"\u239C":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z");case"\u239F":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23A2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23A5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23AA":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23D0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z");default:return""}},Zt={doubleleftarrow:`M262 157 l10-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 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 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 c2 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 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 -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l -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 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 -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 -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 -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 c-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 -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 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 -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 c-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 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 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 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 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 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 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 H435C64 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 435 0h399565z`,leftgroupunder:`M400000 262 H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 -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 -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 -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 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 -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 -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 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 -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 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 -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 -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 -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 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 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-70-101l-7-8h399905v-40H95l7-8 c28.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 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 c-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 -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 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 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 c100.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 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 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 -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 -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z m368.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 60.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 -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 c0 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 -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 85.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 -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 c0 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 -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 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 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 -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 -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 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l -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 s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 c124.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 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 -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 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 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 -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 -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 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 -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 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 m0 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 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 -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 -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 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 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 -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z m0-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 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 -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 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 M399960 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 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 -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 -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 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 -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 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 c-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 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 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 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 -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 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 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 -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 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 c1 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 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 -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 -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 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 -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 -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 c-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 -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 -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 -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, -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, -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, -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, -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 c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 c-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 s-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 121.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 s2.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 c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-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 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 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-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 -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 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 c2,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 c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -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 c-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 M0 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 c1.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, 1c0,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, -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z M93 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 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -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 c-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 M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},tn=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+` v1715 h263 v84 H319z MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+` v1799 H0 v-84 H319z MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v602 h84z M403 1759 V0 H319 V1759 v`+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v602 h84z M347 1759 V0 h-84 V1759 v`+t+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, -36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+` c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},be=function(){function l(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var e=l.prototype;return e.hasClass=function(r){return L.contains(this.classes,r)},e.toNode=function(){for(var r=document.createDocumentFragment(),a=0;a=5?e=0:l>=3?e=1:e=2,!nt[e]){var t=nt[e]={cssEmPerMu:Ce.quad[e]/18};for(var r in Ce)Ce.hasOwnProperty(r)&&(t[r]=Ce[r][e])}return nt[e]}var nn=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Jt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Qt=function(e,t){return t.size<2?e:nn[e-1][t.size-1]},_t=function(){function l(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||l.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=Jt[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}var e=l.prototype;return e.extend=function(r){var a={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in r)r.hasOwnProperty(n)&&(a[n]=r[n]);return new l(a)},e.havingStyle=function(r){return this.style===r?this:this.extend({style:r,size:Qt(this.textSize,r)})},e.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},e.havingSize=function(r){return this.size===r&&this.textSize===r?this:this.extend({style:this.style.text(),size:r,textSize:r,sizeMultiplier:Jt[r-1]})},e.havingBaseStyle=function(r){r=r||this.style.text();var a=Qt(l.BASESIZE,r);return this.size===a&&this.textSize===l.BASESIZE&&this.style===r?this:this.extend({style:r,size:a})},e.havingBaseSizing=function(){var r;switch(this.style.id){case 4:case 5:r=3;break;case 6:case 7:r=1;break;default:r=6}return this.extend({style:this.style.text(),size:r})},e.withColor=function(r){return this.extend({color:r})},e.withPhantom=function(){return this.extend({phantom:!0})},e.withFont=function(r){return this.extend({font:r})},e.withTextFontFamily=function(r){return this.extend({fontFamily:r,font:""})},e.withTextFontWeight=function(r){return this.extend({fontWeight:r,font:""})},e.withTextFontShape=function(r){return this.extend({fontShape:r,font:""})},e.sizingClasses=function(r){return r.size!==this.size?["sizing","reset-size"+r.size,"size"+this.size]:[]},e.baseSizingClasses=function(){return this.size!==l.BASESIZE?["sizing","reset-size"+this.size,"size"+l.BASESIZE]:[]},e.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=an(this.size)),this._fontMetrics},e.getColor=function(){return this.phantom?"transparent":this.color},l}();_t.BASESIZE=6;var ln=_t,it={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},sn={ex:!0,em:!0,mu:!0},er=function(e){return typeof e!="string"&&(e=e.unit),e in it||e in sn||e==="ex"},i0=function(e,t){var r;if(e.unit in it)r=it[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit==="mu")r=t.fontMetrics().cssEmPerMu;else{var a;if(t.style.isTight()?a=t.havingStyle(t.style.text()):a=t,e.unit==="ex")r=a.fontMetrics().xHeight;else if(e.unit==="em")r=a.fontMetrics().quad;else throw new k("Invalid unit: '"+e.unit+"'");a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},T=function(e){return+e.toFixed(4)+"em"},Y0=function(e){return e.filter(function(t){return t}).join(" ")},tr=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var a=t.getColor();a&&(this.style.color=a)}},rr=function(e){var t=document.createElement(e);t.className=Y0(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&t.setAttribute(a,this.attributes[a]);for(var n=0;n",t},ye=function(){function l(t,r,a,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,tr.call(this,t,a,n),this.children=r||[]}var e=l.prototype;return e.setAttribute=function(r,a){this.attributes[r]=a},e.hasClass=function(r){return L.contains(this.classes,r)},e.toNode=function(){return rr.call(this,"span")},e.toMarkup=function(){return ar.call(this,"span")},l}(),lt=function(){function l(t,r,a,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,tr.call(this,r,n),this.children=a||[],this.setAttribute("href",t)}var e=l.prototype;return e.setAttribute=function(r,a){this.attributes[r]=a},e.hasClass=function(r){return L.contains(this.classes,r)},e.toNode=function(){return rr.call(this,"a")},e.toMarkup=function(){return ar.call(this,"a")},l}(),on=function(){function l(t,r,a){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=a}var e=l.prototype;return e.hasClass=function(r){return L.contains(this.classes,r)},e.toNode=function(){var r=document.createElement("img");r.src=this.src,r.alt=this.alt,r.className="mord";for(var a in this.style)this.style.hasOwnProperty(a)&&(r.style[a]=this.style[a]);return r},e.toMarkup=function(){var r=""+this.alt+"0&&(a=document.createElement("span"),a.style.marginRight=T(this.italic)),this.classes.length>0&&(a=a||document.createElement("span"),a.className=Y0(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(a=a||document.createElement("span"),a.style[n]=this.style[n]);return a?(a.appendChild(r),a):r},e.toMarkup=function(){var r=!1,a="0&&(n+="margin-right:"+this.italic+"em;");for(var s in this.style)this.style.hasOwnProperty(s)&&(n+=L.hyphenate(s)+":"+this.style[s]+";");n&&(r=!0,a+=' style="'+L.escape(n)+'"');var u=L.escape(this.text);return r?(a+=">",a+=u,a+="",a):u},l}(),H0=function(){function l(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}var e=l.prototype;return e.toNode=function(){var r="http://www.w3.org/2000/svg",a=document.createElementNS(r,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&a.setAttribute(n,this.attributes[n]);for(var s=0;s":""},l}(),st=function(){function l(t){this.attributes=void 0,this.attributes=t||{}}var e=l.prototype;return e.toNode=function(){var r="http://www.w3.org/2000/svg",a=document.createElementNS(r,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&a.setAttribute(n,this.attributes[n]);return a},e.toMarkup=function(){var r=" but got "+String(l)+".")}var mn={bin:1,close:1,inner:1,open:1,punct:1,rel:1},cn={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},De={math:{},text:{}},l0=De;function i(l,e,t,r,a,n){De[l][a]={font:e,group:t,replace:r},n&&r&&(De[l][r]=De[l][a])}var o="math",M="text",h="main",f="ams",n0="accent-token",E="bin",g0="close",ue="inner",H="mathord",m0="op-token",k0="open",Ne="punct",p="rel",P0="spacing",g="textord";i(o,h,p,"\u2261","\\equiv",!0),i(o,h,p,"\u227A","\\prec",!0),i(o,h,p,"\u227B","\\succ",!0),i(o,h,p,"\u223C","\\sim",!0),i(o,h,p,"\u22A5","\\perp"),i(o,h,p,"\u2AAF","\\preceq",!0),i(o,h,p,"\u2AB0","\\succeq",!0),i(o,h,p,"\u2243","\\simeq",!0),i(o,h,p,"\u2223","\\mid",!0),i(o,h,p,"\u226A","\\ll",!0),i(o,h,p,"\u226B","\\gg",!0),i(o,h,p,"\u224D","\\asymp",!0),i(o,h,p,"\u2225","\\parallel"),i(o,h,p,"\u22C8","\\bowtie",!0),i(o,h,p,"\u2323","\\smile",!0),i(o,h,p,"\u2291","\\sqsubseteq",!0),i(o,h,p,"\u2292","\\sqsupseteq",!0),i(o,h,p,"\u2250","\\doteq",!0),i(o,h,p,"\u2322","\\frown",!0),i(o,h,p,"\u220B","\\ni",!0),i(o,h,p,"\u221D","\\propto",!0),i(o,h,p,"\u22A2","\\vdash",!0),i(o,h,p,"\u22A3","\\dashv",!0),i(o,h,p,"\u220B","\\owns"),i(o,h,Ne,".","\\ldotp"),i(o,h,Ne,"\u22C5","\\cdotp"),i(o,h,g,"#","\\#"),i(M,h,g,"#","\\#"),i(o,h,g,"&","\\&"),i(M,h,g,"&","\\&"),i(o,h,g,"\u2135","\\aleph",!0),i(o,h,g,"\u2200","\\forall",!0),i(o,h,g,"\u210F","\\hbar",!0),i(o,h,g,"\u2203","\\exists",!0),i(o,h,g,"\u2207","\\nabla",!0),i(o,h,g,"\u266D","\\flat",!0),i(o,h,g,"\u2113","\\ell",!0),i(o,h,g,"\u266E","\\natural",!0),i(o,h,g,"\u2663","\\clubsuit",!0),i(o,h,g,"\u2118","\\wp",!0),i(o,h,g,"\u266F","\\sharp",!0),i(o,h,g,"\u2662","\\diamondsuit",!0),i(o,h,g,"\u211C","\\Re",!0),i(o,h,g,"\u2661","\\heartsuit",!0),i(o,h,g,"\u2111","\\Im",!0),i(o,h,g,"\u2660","\\spadesuit",!0),i(o,h,g,"\xA7","\\S",!0),i(M,h,g,"\xA7","\\S"),i(o,h,g,"\xB6","\\P",!0),i(M,h,g,"\xB6","\\P"),i(o,h,g,"\u2020","\\dag"),i(M,h,g,"\u2020","\\dag"),i(M,h,g,"\u2020","\\textdagger"),i(o,h,g,"\u2021","\\ddag"),i(M,h,g,"\u2021","\\ddag"),i(M,h,g,"\u2021","\\textdaggerdbl"),i(o,h,g0,"\u23B1","\\rmoustache",!0),i(o,h,k0,"\u23B0","\\lmoustache",!0),i(o,h,g0,"\u27EF","\\rgroup",!0),i(o,h,k0,"\u27EE","\\lgroup",!0),i(o,h,E,"\u2213","\\mp",!0),i(o,h,E,"\u2296","\\ominus",!0),i(o,h,E,"\u228E","\\uplus",!0),i(o,h,E,"\u2293","\\sqcap",!0),i(o,h,E,"\u2217","\\ast"),i(o,h,E,"\u2294","\\sqcup",!0),i(o,h,E,"\u25EF","\\bigcirc",!0),i(o,h,E,"\u2219","\\bullet",!0),i(o,h,E,"\u2021","\\ddagger"),i(o,h,E,"\u2240","\\wr",!0),i(o,h,E,"\u2A3F","\\amalg"),i(o,h,E,"&","\\And"),i(o,h,p,"\u27F5","\\longleftarrow",!0),i(o,h,p,"\u21D0","\\Leftarrow",!0),i(o,h,p,"\u27F8","\\Longleftarrow",!0),i(o,h,p,"\u27F6","\\longrightarrow",!0),i(o,h,p,"\u21D2","\\Rightarrow",!0),i(o,h,p,"\u27F9","\\Longrightarrow",!0),i(o,h,p,"\u2194","\\leftrightarrow",!0),i(o,h,p,"\u27F7","\\longleftrightarrow",!0),i(o,h,p,"\u21D4","\\Leftrightarrow",!0),i(o,h,p,"\u27FA","\\Longleftrightarrow",!0),i(o,h,p,"\u21A6","\\mapsto",!0),i(o,h,p,"\u27FC","\\longmapsto",!0),i(o,h,p,"\u2197","\\nearrow",!0),i(o,h,p,"\u21A9","\\hookleftarrow",!0),i(o,h,p,"\u21AA","\\hookrightarrow",!0),i(o,h,p,"\u2198","\\searrow",!0),i(o,h,p,"\u21BC","\\leftharpoonup",!0),i(o,h,p,"\u21C0","\\rightharpoonup",!0),i(o,h,p,"\u2199","\\swarrow",!0),i(o,h,p,"\u21BD","\\leftharpoondown",!0),i(o,h,p,"\u21C1","\\rightharpoondown",!0),i(o,h,p,"\u2196","\\nwarrow",!0),i(o,h,p,"\u21CC","\\rightleftharpoons",!0),i(o,f,p,"\u226E","\\nless",!0),i(o,f,p,"\uE010","\\@nleqslant"),i(o,f,p,"\uE011","\\@nleqq"),i(o,f,p,"\u2A87","\\lneq",!0),i(o,f,p,"\u2268","\\lneqq",!0),i(o,f,p,"\uE00C","\\@lvertneqq"),i(o,f,p,"\u22E6","\\lnsim",!0),i(o,f,p,"\u2A89","\\lnapprox",!0),i(o,f,p,"\u2280","\\nprec",!0),i(o,f,p,"\u22E0","\\npreceq",!0),i(o,f,p,"\u22E8","\\precnsim",!0),i(o,f,p,"\u2AB9","\\precnapprox",!0),i(o,f,p,"\u2241","\\nsim",!0),i(o,f,p,"\uE006","\\@nshortmid"),i(o,f,p,"\u2224","\\nmid",!0),i(o,f,p,"\u22AC","\\nvdash",!0),i(o,f,p,"\u22AD","\\nvDash",!0),i(o,f,p,"\u22EA","\\ntriangleleft"),i(o,f,p,"\u22EC","\\ntrianglelefteq",!0),i(o,f,p,"\u228A","\\subsetneq",!0),i(o,f,p,"\uE01A","\\@varsubsetneq"),i(o,f,p,"\u2ACB","\\subsetneqq",!0),i(o,f,p,"\uE017","\\@varsubsetneqq"),i(o,f,p,"\u226F","\\ngtr",!0),i(o,f,p,"\uE00F","\\@ngeqslant"),i(o,f,p,"\uE00E","\\@ngeqq"),i(o,f,p,"\u2A88","\\gneq",!0),i(o,f,p,"\u2269","\\gneqq",!0),i(o,f,p,"\uE00D","\\@gvertneqq"),i(o,f,p,"\u22E7","\\gnsim",!0),i(o,f,p,"\u2A8A","\\gnapprox",!0),i(o,f,p,"\u2281","\\nsucc",!0),i(o,f,p,"\u22E1","\\nsucceq",!0),i(o,f,p,"\u22E9","\\succnsim",!0),i(o,f,p,"\u2ABA","\\succnapprox",!0),i(o,f,p,"\u2246","\\ncong",!0),i(o,f,p,"\uE007","\\@nshortparallel"),i(o,f,p,"\u2226","\\nparallel",!0),i(o,f,p,"\u22AF","\\nVDash",!0),i(o,f,p,"\u22EB","\\ntriangleright"),i(o,f,p,"\u22ED","\\ntrianglerighteq",!0),i(o,f,p,"\uE018","\\@nsupseteqq"),i(o,f,p,"\u228B","\\supsetneq",!0),i(o,f,p,"\uE01B","\\@varsupsetneq"),i(o,f,p,"\u2ACC","\\supsetneqq",!0),i(o,f,p,"\uE019","\\@varsupsetneqq"),i(o,f,p,"\u22AE","\\nVdash",!0),i(o,f,p,"\u2AB5","\\precneqq",!0),i(o,f,p,"\u2AB6","\\succneqq",!0),i(o,f,p,"\uE016","\\@nsubseteqq"),i(o,f,E,"\u22B4","\\unlhd"),i(o,f,E,"\u22B5","\\unrhd"),i(o,f,p,"\u219A","\\nleftarrow",!0),i(o,f,p,"\u219B","\\nrightarrow",!0),i(o,f,p,"\u21CD","\\nLeftarrow",!0),i(o,f,p,"\u21CF","\\nRightarrow",!0),i(o,f,p,"\u21AE","\\nleftrightarrow",!0),i(o,f,p,"\u21CE","\\nLeftrightarrow",!0),i(o,f,p,"\u25B3","\\vartriangle"),i(o,f,g,"\u210F","\\hslash"),i(o,f,g,"\u25BD","\\triangledown"),i(o,f,g,"\u25CA","\\lozenge"),i(o,f,g,"\u24C8","\\circledS"),i(o,f,g,"\xAE","\\circledR"),i(M,f,g,"\xAE","\\circledR"),i(o,f,g,"\u2221","\\measuredangle",!0),i(o,f,g,"\u2204","\\nexists"),i(o,f,g,"\u2127","\\mho"),i(o,f,g,"\u2132","\\Finv",!0),i(o,f,g,"\u2141","\\Game",!0),i(o,f,g,"\u2035","\\backprime"),i(o,f,g,"\u25B2","\\blacktriangle"),i(o,f,g,"\u25BC","\\blacktriangledown"),i(o,f,g,"\u25A0","\\blacksquare"),i(o,f,g,"\u29EB","\\blacklozenge"),i(o,f,g,"\u2605","\\bigstar"),i(o,f,g,"\u2222","\\sphericalangle",!0),i(o,f,g,"\u2201","\\complement",!0),i(o,f,g,"\xF0","\\eth",!0),i(M,h,g,"\xF0","\xF0"),i(o,f,g,"\u2571","\\diagup"),i(o,f,g,"\u2572","\\diagdown"),i(o,f,g,"\u25A1","\\square"),i(o,f,g,"\u25A1","\\Box"),i(o,f,g,"\u25CA","\\Diamond"),i(o,f,g,"\xA5","\\yen",!0),i(M,f,g,"\xA5","\\yen",!0),i(o,f,g,"\u2713","\\checkmark",!0),i(M,f,g,"\u2713","\\checkmark"),i(o,f,g,"\u2136","\\beth",!0),i(o,f,g,"\u2138","\\daleth",!0),i(o,f,g,"\u2137","\\gimel",!0),i(o,f,g,"\u03DD","\\digamma",!0),i(o,f,g,"\u03F0","\\varkappa"),i(o,f,k0,"\u250C","\\@ulcorner",!0),i(o,f,g0,"\u2510","\\@urcorner",!0),i(o,f,k0,"\u2514","\\@llcorner",!0),i(o,f,g0,"\u2518","\\@lrcorner",!0),i(o,f,p,"\u2266","\\leqq",!0),i(o,f,p,"\u2A7D","\\leqslant",!0),i(o,f,p,"\u2A95","\\eqslantless",!0),i(o,f,p,"\u2272","\\lesssim",!0),i(o,f,p,"\u2A85","\\lessapprox",!0),i(o,f,p,"\u224A","\\approxeq",!0),i(o,f,E,"\u22D6","\\lessdot"),i(o,f,p,"\u22D8","\\lll",!0),i(o,f,p,"\u2276","\\lessgtr",!0),i(o,f,p,"\u22DA","\\lesseqgtr",!0),i(o,f,p,"\u2A8B","\\lesseqqgtr",!0),i(o,f,p,"\u2251","\\doteqdot"),i(o,f,p,"\u2253","\\risingdotseq",!0),i(o,f,p,"\u2252","\\fallingdotseq",!0),i(o,f,p,"\u223D","\\backsim",!0),i(o,f,p,"\u22CD","\\backsimeq",!0),i(o,f,p,"\u2AC5","\\subseteqq",!0),i(o,f,p,"\u22D0","\\Subset",!0),i(o,f,p,"\u228F","\\sqsubset",!0),i(o,f,p,"\u227C","\\preccurlyeq",!0),i(o,f,p,"\u22DE","\\curlyeqprec",!0),i(o,f,p,"\u227E","\\precsim",!0),i(o,f,p,"\u2AB7","\\precapprox",!0),i(o,f,p,"\u22B2","\\vartriangleleft"),i(o,f,p,"\u22B4","\\trianglelefteq"),i(o,f,p,"\u22A8","\\vDash",!0),i(o,f,p,"\u22AA","\\Vvdash",!0),i(o,f,p,"\u2323","\\smallsmile"),i(o,f,p,"\u2322","\\smallfrown"),i(o,f,p,"\u224F","\\bumpeq",!0),i(o,f,p,"\u224E","\\Bumpeq",!0),i(o,f,p,"\u2267","\\geqq",!0),i(o,f,p,"\u2A7E","\\geqslant",!0),i(o,f,p,"\u2A96","\\eqslantgtr",!0),i(o,f,p,"\u2273","\\gtrsim",!0),i(o,f,p,"\u2A86","\\gtrapprox",!0),i(o,f,E,"\u22D7","\\gtrdot"),i(o,f,p,"\u22D9","\\ggg",!0),i(o,f,p,"\u2277","\\gtrless",!0),i(o,f,p,"\u22DB","\\gtreqless",!0),i(o,f,p,"\u2A8C","\\gtreqqless",!0),i(o,f,p,"\u2256","\\eqcirc",!0),i(o,f,p,"\u2257","\\circeq",!0),i(o,f,p,"\u225C","\\triangleq",!0),i(o,f,p,"\u223C","\\thicksim"),i(o,f,p,"\u2248","\\thickapprox"),i(o,f,p,"\u2AC6","\\supseteqq",!0),i(o,f,p,"\u22D1","\\Supset",!0),i(o,f,p,"\u2290","\\sqsupset",!0),i(o,f,p,"\u227D","\\succcurlyeq",!0),i(o,f,p,"\u22DF","\\curlyeqsucc",!0),i(o,f,p,"\u227F","\\succsim",!0),i(o,f,p,"\u2AB8","\\succapprox",!0),i(o,f,p,"\u22B3","\\vartriangleright"),i(o,f,p,"\u22B5","\\trianglerighteq"),i(o,f,p,"\u22A9","\\Vdash",!0),i(o,f,p,"\u2223","\\shortmid"),i(o,f,p,"\u2225","\\shortparallel"),i(o,f,p,"\u226C","\\between",!0),i(o,f,p,"\u22D4","\\pitchfork",!0),i(o,f,p,"\u221D","\\varpropto"),i(o,f,p,"\u25C0","\\blacktriangleleft"),i(o,f,p,"\u2234","\\therefore",!0),i(o,f,p,"\u220D","\\backepsilon"),i(o,f,p,"\u25B6","\\blacktriangleright"),i(o,f,p,"\u2235","\\because",!0),i(o,f,p,"\u22D8","\\llless"),i(o,f,p,"\u22D9","\\gggtr"),i(o,f,E,"\u22B2","\\lhd"),i(o,f,E,"\u22B3","\\rhd"),i(o,f,p,"\u2242","\\eqsim",!0),i(o,h,p,"\u22C8","\\Join"),i(o,f,p,"\u2251","\\Doteq",!0),i(o,f,E,"\u2214","\\dotplus",!0),i(o,f,E,"\u2216","\\smallsetminus"),i(o,f,E,"\u22D2","\\Cap",!0),i(o,f,E,"\u22D3","\\Cup",!0),i(o,f,E,"\u2A5E","\\doublebarwedge",!0),i(o,f,E,"\u229F","\\boxminus",!0),i(o,f,E,"\u229E","\\boxplus",!0),i(o,f,E,"\u22C7","\\divideontimes",!0),i(o,f,E,"\u22C9","\\ltimes",!0),i(o,f,E,"\u22CA","\\rtimes",!0),i(o,f,E,"\u22CB","\\leftthreetimes",!0),i(o,f,E,"\u22CC","\\rightthreetimes",!0),i(o,f,E,"\u22CF","\\curlywedge",!0),i(o,f,E,"\u22CE","\\curlyvee",!0),i(o,f,E,"\u229D","\\circleddash",!0),i(o,f,E,"\u229B","\\circledast",!0),i(o,f,E,"\u22C5","\\centerdot"),i(o,f,E,"\u22BA","\\intercal",!0),i(o,f,E,"\u22D2","\\doublecap"),i(o,f,E,"\u22D3","\\doublecup"),i(o,f,E,"\u22A0","\\boxtimes",!0),i(o,f,p,"\u21E2","\\dashrightarrow",!0),i(o,f,p,"\u21E0","\\dashleftarrow",!0),i(o,f,p,"\u21C7","\\leftleftarrows",!0),i(o,f,p,"\u21C6","\\leftrightarrows",!0),i(o,f,p,"\u21DA","\\Lleftarrow",!0),i(o,f,p,"\u219E","\\twoheadleftarrow",!0),i(o,f,p,"\u21A2","\\leftarrowtail",!0),i(o,f,p,"\u21AB","\\looparrowleft",!0),i(o,f,p,"\u21CB","\\leftrightharpoons",!0),i(o,f,p,"\u21B6","\\curvearrowleft",!0),i(o,f,p,"\u21BA","\\circlearrowleft",!0),i(o,f,p,"\u21B0","\\Lsh",!0),i(o,f,p,"\u21C8","\\upuparrows",!0),i(o,f,p,"\u21BF","\\upharpoonleft",!0),i(o,f,p,"\u21C3","\\downharpoonleft",!0),i(o,h,p,"\u22B6","\\origof",!0),i(o,h,p,"\u22B7","\\imageof",!0),i(o,f,p,"\u22B8","\\multimap",!0),i(o,f,p,"\u21AD","\\leftrightsquigarrow",!0),i(o,f,p,"\u21C9","\\rightrightarrows",!0),i(o,f,p,"\u21C4","\\rightleftarrows",!0),i(o,f,p,"\u21A0","\\twoheadrightarrow",!0),i(o,f,p,"\u21A3","\\rightarrowtail",!0),i(o,f,p,"\u21AC","\\looparrowright",!0),i(o,f,p,"\u21B7","\\curvearrowright",!0),i(o,f,p,"\u21BB","\\circlearrowright",!0),i(o,f,p,"\u21B1","\\Rsh",!0),i(o,f,p,"\u21CA","\\downdownarrows",!0),i(o,f,p,"\u21BE","\\upharpoonright",!0),i(o,f,p,"\u21C2","\\downharpoonright",!0),i(o,f,p,"\u21DD","\\rightsquigarrow",!0),i(o,f,p,"\u21DD","\\leadsto"),i(o,f,p,"\u21DB","\\Rrightarrow",!0),i(o,f,p,"\u21BE","\\restriction"),i(o,h,g,"\u2018","`"),i(o,h,g,"$","\\$"),i(M,h,g,"$","\\$"),i(M,h,g,"$","\\textdollar"),i(o,h,g,"%","\\%"),i(M,h,g,"%","\\%"),i(o,h,g,"_","\\_"),i(M,h,g,"_","\\_"),i(M,h,g,"_","\\textunderscore"),i(o,h,g,"\u2220","\\angle",!0),i(o,h,g,"\u221E","\\infty",!0),i(o,h,g,"\u2032","\\prime"),i(o,h,g,"\u25B3","\\triangle"),i(o,h,g,"\u0393","\\Gamma",!0),i(o,h,g,"\u0394","\\Delta",!0),i(o,h,g,"\u0398","\\Theta",!0),i(o,h,g,"\u039B","\\Lambda",!0),i(o,h,g,"\u039E","\\Xi",!0),i(o,h,g,"\u03A0","\\Pi",!0),i(o,h,g,"\u03A3","\\Sigma",!0),i(o,h,g,"\u03A5","\\Upsilon",!0),i(o,h,g,"\u03A6","\\Phi",!0),i(o,h,g,"\u03A8","\\Psi",!0),i(o,h,g,"\u03A9","\\Omega",!0),i(o,h,g,"A","\u0391"),i(o,h,g,"B","\u0392"),i(o,h,g,"E","\u0395"),i(o,h,g,"Z","\u0396"),i(o,h,g,"H","\u0397"),i(o,h,g,"I","\u0399"),i(o,h,g,"K","\u039A"),i(o,h,g,"M","\u039C"),i(o,h,g,"N","\u039D"),i(o,h,g,"O","\u039F"),i(o,h,g,"P","\u03A1"),i(o,h,g,"T","\u03A4"),i(o,h,g,"X","\u03A7"),i(o,h,g,"\xAC","\\neg",!0),i(o,h,g,"\xAC","\\lnot"),i(o,h,g,"\u22A4","\\top"),i(o,h,g,"\u22A5","\\bot"),i(o,h,g,"\u2205","\\emptyset"),i(o,f,g,"\u2205","\\varnothing"),i(o,h,H,"\u03B1","\\alpha",!0),i(o,h,H,"\u03B2","\\beta",!0),i(o,h,H,"\u03B3","\\gamma",!0),i(o,h,H,"\u03B4","\\delta",!0),i(o,h,H,"\u03F5","\\epsilon",!0),i(o,h,H,"\u03B6","\\zeta",!0),i(o,h,H,"\u03B7","\\eta",!0),i(o,h,H,"\u03B8","\\theta",!0),i(o,h,H,"\u03B9","\\iota",!0),i(o,h,H,"\u03BA","\\kappa",!0),i(o,h,H,"\u03BB","\\lambda",!0),i(o,h,H,"\u03BC","\\mu",!0),i(o,h,H,"\u03BD","\\nu",!0),i(o,h,H,"\u03BE","\\xi",!0),i(o,h,H,"\u03BF","\\omicron",!0),i(o,h,H,"\u03C0","\\pi",!0),i(o,h,H,"\u03C1","\\rho",!0),i(o,h,H,"\u03C3","\\sigma",!0),i(o,h,H,"\u03C4","\\tau",!0),i(o,h,H,"\u03C5","\\upsilon",!0),i(o,h,H,"\u03D5","\\phi",!0),i(o,h,H,"\u03C7","\\chi",!0),i(o,h,H,"\u03C8","\\psi",!0),i(o,h,H,"\u03C9","\\omega",!0),i(o,h,H,"\u03B5","\\varepsilon",!0),i(o,h,H,"\u03D1","\\vartheta",!0),i(o,h,H,"\u03D6","\\varpi",!0),i(o,h,H,"\u03F1","\\varrho",!0),i(o,h,H,"\u03C2","\\varsigma",!0),i(o,h,H,"\u03C6","\\varphi",!0),i(o,h,E,"\u2217","*",!0),i(o,h,E,"+","+"),i(o,h,E,"\u2212","-",!0),i(o,h,E,"\u22C5","\\cdot",!0),i(o,h,E,"\u2218","\\circ",!0),i(o,h,E,"\xF7","\\div",!0),i(o,h,E,"\xB1","\\pm",!0),i(o,h,E,"\xD7","\\times",!0),i(o,h,E,"\u2229","\\cap",!0),i(o,h,E,"\u222A","\\cup",!0),i(o,h,E,"\u2216","\\setminus",!0),i(o,h,E,"\u2227","\\land"),i(o,h,E,"\u2228","\\lor"),i(o,h,E,"\u2227","\\wedge",!0),i(o,h,E,"\u2228","\\vee",!0),i(o,h,g,"\u221A","\\surd"),i(o,h,k0,"\u27E8","\\langle",!0),i(o,h,k0,"\u2223","\\lvert"),i(o,h,k0,"\u2225","\\lVert"),i(o,h,g0,"?","?"),i(o,h,g0,"!","!"),i(o,h,g0,"\u27E9","\\rangle",!0),i(o,h,g0,"\u2223","\\rvert"),i(o,h,g0,"\u2225","\\rVert"),i(o,h,p,"=","="),i(o,h,p,":",":"),i(o,h,p,"\u2248","\\approx",!0),i(o,h,p,"\u2245","\\cong",!0),i(o,h,p,"\u2265","\\ge"),i(o,h,p,"\u2265","\\geq",!0),i(o,h,p,"\u2190","\\gets"),i(o,h,p,">","\\gt",!0),i(o,h,p,"\u2208","\\in",!0),i(o,h,p,"\uE020","\\@not"),i(o,h,p,"\u2282","\\subset",!0),i(o,h,p,"\u2283","\\supset",!0),i(o,h,p,"\u2286","\\subseteq",!0),i(o,h,p,"\u2287","\\supseteq",!0),i(o,f,p,"\u2288","\\nsubseteq",!0),i(o,f,p,"\u2289","\\nsupseteq",!0),i(o,h,p,"\u22A8","\\models"),i(o,h,p,"\u2190","\\leftarrow",!0),i(o,h,p,"\u2264","\\le"),i(o,h,p,"\u2264","\\leq",!0),i(o,h,p,"<","\\lt",!0),i(o,h,p,"\u2192","\\rightarrow",!0),i(o,h,p,"\u2192","\\to"),i(o,f,p,"\u2271","\\ngeq",!0),i(o,f,p,"\u2270","\\nleq",!0),i(o,h,P0,"\xA0","\\ "),i(o,h,P0,"\xA0","\\space"),i(o,h,P0,"\xA0","\\nobreakspace"),i(M,h,P0,"\xA0","\\ "),i(M,h,P0,"\xA0"," "),i(M,h,P0,"\xA0","\\space"),i(M,h,P0,"\xA0","\\nobreakspace"),i(o,h,P0,null,"\\nobreak"),i(o,h,P0,null,"\\allowbreak"),i(o,h,Ne,",",","),i(o,h,Ne,";",";"),i(o,f,E,"\u22BC","\\barwedge",!0),i(o,f,E,"\u22BB","\\veebar",!0),i(o,h,E,"\u2299","\\odot",!0),i(o,h,E,"\u2295","\\oplus",!0),i(o,h,E,"\u2297","\\otimes",!0),i(o,h,g,"\u2202","\\partial",!0),i(o,h,E,"\u2298","\\oslash",!0),i(o,f,E,"\u229A","\\circledcirc",!0),i(o,f,E,"\u22A1","\\boxdot",!0),i(o,h,E,"\u25B3","\\bigtriangleup"),i(o,h,E,"\u25BD","\\bigtriangledown"),i(o,h,E,"\u2020","\\dagger"),i(o,h,E,"\u22C4","\\diamond"),i(o,h,E,"\u22C6","\\star"),i(o,h,E,"\u25C3","\\triangleleft"),i(o,h,E,"\u25B9","\\triangleright"),i(o,h,k0,"{","\\{"),i(M,h,g,"{","\\{"),i(M,h,g,"{","\\textbraceleft"),i(o,h,g0,"}","\\}"),i(M,h,g,"}","\\}"),i(M,h,g,"}","\\textbraceright"),i(o,h,k0,"{","\\lbrace"),i(o,h,g0,"}","\\rbrace"),i(o,h,k0,"[","\\lbrack",!0),i(M,h,g,"[","\\lbrack",!0),i(o,h,g0,"]","\\rbrack",!0),i(M,h,g,"]","\\rbrack",!0),i(o,h,k0,"(","\\lparen",!0),i(o,h,g0,")","\\rparen",!0),i(M,h,g,"<","\\textless",!0),i(M,h,g,">","\\textgreater",!0),i(o,h,k0,"\u230A","\\lfloor",!0),i(o,h,g0,"\u230B","\\rfloor",!0),i(o,h,k0,"\u2308","\\lceil",!0),i(o,h,g0,"\u2309","\\rceil",!0),i(o,h,g,"\\","\\backslash"),i(o,h,g,"\u2223","|"),i(o,h,g,"\u2223","\\vert"),i(M,h,g,"|","\\textbar",!0),i(o,h,g,"\u2225","\\|"),i(o,h,g,"\u2225","\\Vert"),i(M,h,g,"\u2225","\\textbardbl"),i(M,h,g,"~","\\textasciitilde"),i(M,h,g,"\\","\\textbackslash"),i(M,h,g,"^","\\textasciicircum"),i(o,h,p,"\u2191","\\uparrow",!0),i(o,h,p,"\u21D1","\\Uparrow",!0),i(o,h,p,"\u2193","\\downarrow",!0),i(o,h,p,"\u21D3","\\Downarrow",!0),i(o,h,p,"\u2195","\\updownarrow",!0),i(o,h,p,"\u21D5","\\Updownarrow",!0),i(o,h,m0,"\u2210","\\coprod"),i(o,h,m0,"\u22C1","\\bigvee"),i(o,h,m0,"\u22C0","\\bigwedge"),i(o,h,m0,"\u2A04","\\biguplus"),i(o,h,m0,"\u22C2","\\bigcap"),i(o,h,m0,"\u22C3","\\bigcup"),i(o,h,m0,"\u222B","\\int"),i(o,h,m0,"\u222B","\\intop"),i(o,h,m0,"\u222C","\\iint"),i(o,h,m0,"\u222D","\\iiint"),i(o,h,m0,"\u220F","\\prod"),i(o,h,m0,"\u2211","\\sum"),i(o,h,m0,"\u2A02","\\bigotimes"),i(o,h,m0,"\u2A01","\\bigoplus"),i(o,h,m0,"\u2A00","\\bigodot"),i(o,h,m0,"\u222E","\\oint"),i(o,h,m0,"\u222F","\\oiint"),i(o,h,m0,"\u2230","\\oiiint"),i(o,h,m0,"\u2A06","\\bigsqcup"),i(o,h,m0,"\u222B","\\smallint"),i(M,h,ue,"\u2026","\\textellipsis"),i(o,h,ue,"\u2026","\\mathellipsis"),i(M,h,ue,"\u2026","\\ldots",!0),i(o,h,ue,"\u2026","\\ldots",!0),i(o,h,ue,"\u22EF","\\@cdots",!0),i(o,h,ue,"\u22F1","\\ddots",!0),i(o,h,g,"\u22EE","\\varvdots"),i(o,h,n0,"\u02CA","\\acute"),i(o,h,n0,"\u02CB","\\grave"),i(o,h,n0,"\xA8","\\ddot"),i(o,h,n0,"~","\\tilde"),i(o,h,n0,"\u02C9","\\bar"),i(o,h,n0,"\u02D8","\\breve"),i(o,h,n0,"\u02C7","\\check"),i(o,h,n0,"^","\\hat"),i(o,h,n0,"\u20D7","\\vec"),i(o,h,n0,"\u02D9","\\dot"),i(o,h,n0,"\u02DA","\\mathring"),i(o,h,H,"\uE131","\\@imath"),i(o,h,H,"\uE237","\\@jmath"),i(o,h,g,"\u0131","\u0131"),i(o,h,g,"\u0237","\u0237"),i(M,h,g,"\u0131","\\i",!0),i(M,h,g,"\u0237","\\j",!0),i(M,h,g,"\xDF","\\ss",!0),i(M,h,g,"\xE6","\\ae",!0),i(M,h,g,"\u0153","\\oe",!0),i(M,h,g,"\xF8","\\o",!0),i(M,h,g,"\xC6","\\AE",!0),i(M,h,g,"\u0152","\\OE",!0),i(M,h,g,"\xD8","\\O",!0),i(M,h,n0,"\u02CA","\\'"),i(M,h,n0,"\u02CB","\\`"),i(M,h,n0,"\u02C6","\\^"),i(M,h,n0,"\u02DC","\\~"),i(M,h,n0,"\u02C9","\\="),i(M,h,n0,"\u02D8","\\u"),i(M,h,n0,"\u02D9","\\."),i(M,h,n0,"\xB8","\\c"),i(M,h,n0,"\u02DA","\\r"),i(M,h,n0,"\u02C7","\\v"),i(M,h,n0,"\xA8",'\\"'),i(M,h,n0,"\u02DD","\\H"),i(M,h,n0,"\u25EF","\\textcircled");var ir={"--":!0,"---":!0,"``":!0,"''":!0};i(M,h,g,"\u2013","--",!0),i(M,h,g,"\u2013","\\textendash"),i(M,h,g,"\u2014","---",!0),i(M,h,g,"\u2014","\\textemdash"),i(M,h,g,"\u2018","`",!0),i(M,h,g,"\u2018","\\textquoteleft"),i(M,h,g,"\u2019","'",!0),i(M,h,g,"\u2019","\\textquoteright"),i(M,h,g,"\u201C","``",!0),i(M,h,g,"\u201C","\\textquotedblleft"),i(M,h,g,"\u201D","''",!0),i(M,h,g,"\u201D","\\textquotedblright"),i(o,h,g,"\xB0","\\degree",!0),i(M,h,g,"\xB0","\\degree"),i(M,h,g,"\xB0","\\textdegree",!0),i(o,h,g,"\xA3","\\pounds"),i(o,h,g,"\xA3","\\mathsterling",!0),i(M,h,g,"\xA3","\\pounds"),i(M,h,g,"\xA3","\\textsterling",!0),i(o,f,g,"\u2720","\\maltese"),i(M,f,g,"\u2720","\\maltese");for(var lr='0123456789/@."',ot=0;ott&&(t=s.height),s.depth>r&&(r=s.depth),s.maxFontSize>a&&(a=s.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=a},x0=function(e,t,r,a){var n=new ye(e,t,r,a);return dt(n),n},mr=function(e,t,r,a){return new ye(e,t,r,a)},yn=function(e,t,r){var a=x0([e],[],t);return a.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),a.style.borderBottomWidth=T(a.height),a.maxFontSize=1,a},xn=function(e,t,r,a){var n=new lt(e,t,r,a);return dt(n),n},cr=function(e){var t=new be(e);return dt(t),t},wn=function(e,t){return e instanceof be?x0([],[e],t):e},kn=function(e){if(e.positionType==="individualShift"){for(var t=e.children,r=[t[0]],a=-t[0].shift-t[0].elem.depth,n=a,s=1;s0&&(n.push(Ge(s,e)),s=[]),n.push(r[u]));s.length>0&&n.push(Ge(s,e));var d;t?(d=Ge(d0(t,e,!0)),d.classes=["tag"],n.push(d)):a&&n.push(a);var v=V0(["katex-html"],n);if(v.setAttribute("aria-hidden","true"),d){var y=d.children[0];y.style.height=T(v.height+v.depth),v.depth&&(y.style.verticalAlign=T(-v.depth))}return v}function br(l){return new be(l)}var B0=function(){function l(t,r,a){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=a||[]}var e=l.prototype;return e.setAttribute=function(r,a){this.attributes[r]=a},e.getAttribute=function(r){return this.attributes[r]},e.toNode=function(){var r=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&r.setAttribute(a,this.attributes[a]);this.classes.length>0&&(r.className=Y0(this.classes));for(var n=0;n0&&(r+=' class ="'+L.escape(Y0(this.classes))+'"'),r+=">";for(var n=0;n",r},e.toText=function(){return this.children.map(function(r){return r.toText()}).join("")},l}(),we=function(){function l(t){this.text=void 0,this.text=t}var e=l.prototype;return e.toNode=function(){return document.createTextNode(this.text)},e.toMarkup=function(){return L.escape(this.toText())},e.toText=function(){return this.text},l}(),qn=function(){function l(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character="\u200A":t>=.1666&&t<=.1667?this.character="\u2009":t>=.2222&&t<=.2223?this.character="\u2005":t>=.2777&&t<=.2778?this.character="\u2005\u200A":t>=-.05556&&t<=-.05555?this.character="\u200A\u2063":t>=-.1667&&t<=-.1666?this.character="\u2009\u2063":t>=-.2223&&t<=-.2222?this.character="\u205F\u2063":t>=-.2778&&t<=-.2777?this.character="\u2005\u2063":this.character=null}var e=l.prototype;return e.toNode=function(){if(this.character)return document.createTextNode(this.character);var r=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return r.setAttribute("width",T(this.width)),r},e.toMarkup=function(){return this.character?""+this.character+"":''},e.toText=function(){return this.character?this.character:" "},l}(),B={MathNode:B0,TextNode:we,SpaceNode:qn,newDocumentFragment:br},z0=function(e,t,r){return l0[t][e]&&l0[t][e].replace&&e.charCodeAt(0)!==55349&&!(ir.hasOwnProperty(e)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(e=l0[t][e].replace),new B.TextNode(e)},vt=function(e){return e.length===1?e[0]:new B.MathNode("mrow",e)},gt=function(e,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var r=t.font;if(!r||r==="mathnormal")return null;var a=e.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var n=e.text;if(L.contains(["\\imath","\\jmath"],n))return null;l0[a][n]&&l0[a][n].replace&&(n=l0[a][n].replace);var s=b.fontMap[r].fontName;return at(n,s,a)?b.fontMap[r].variant:null},w0=function(e,t,r){if(e.length===1){var a=t0(e[0],t);return r&&a instanceof B0&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var n=[],s,u=0;u0&&(A.text=A.text.slice(0,1)+"\u0338"+A.text.slice(1),n.pop())}}}n.push(m),s=m}return n},Z0=function(e,t,r){return vt(w0(e,t,r))},t0=function(e,t){if(!e)return new B.MathNode("mrow");if(He[e.type]){var r=He[e.type](e,t);return r}else throw new k("Got group of unknown type: '"+e.type+"'")};function yr(l,e,t,r,a){var n=w0(l,t),s;n.length===1&&n[0]instanceof B0&&L.contains(["mrow","mtable"],n[0].type)?s=n[0]:s=new B.MathNode("mrow",n);var u=new B.MathNode("annotation",[new B.TextNode(e)]);u.setAttribute("encoding","application/x-tex");var m=new B.MathNode("semantics",[s,u]),d=new B.MathNode("math",[m]);d.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&d.setAttribute("display","block");var v=a?"katex":"katex-mathml";return b.makeSpan([v],[d])}var xr=function(e){return new ln({style:e.displayMode?O.DISPLAY:O.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},wr=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=b.makeSpan(r,[e])}return e},Fn=function(e,t,r){var a=xr(r),n;if(r.output==="mathml")return yr(e,t,a,r.displayMode,!0);if(r.output==="html"){var s=pt(e,a);n=b.makeSpan(["katex"],[s])}else{var u=yr(e,t,a,r.displayMode,!1),m=pt(e,a);n=b.makeSpan(["katex"],[u,m])}return wr(n,r)},Rn=function(e,t,r){var a=xr(r),n=pt(e,a),s=b.makeSpan(["katex"],[n]);return wr(s,r)},G1=null,In={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},On=function(e){var t=new B.MathNode("mo",[new B.TextNode(In[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Ln={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Hn=function(e){return e.type==="ordgroup"?e.body.length:1},Pn=function(e,t){function r(){var m=4e5,d=e.label.slice(1);if(L.contains(["widehat","widecheck","widetilde","utilde"],d)){var v=e,y=Hn(v.base),x,w,A;if(y>5)d==="widehat"||d==="widecheck"?(x=420,m=2364,A=.42,w=d+"4"):(x=312,m=2340,A=.34,w="tilde4");else{var z=[1,1,2,2,3,3][y];d==="widehat"||d==="widecheck"?(m=[0,1062,2364,2364,2364][z],x=[0,239,300,360,420][z],A=[0,.24,.3,.3,.36,.42][z],w=d+z):(m=[0,600,1033,2339,2340][z],x=[0,260,286,306,312][z],A=[0,.26,.286,.3,.306,.34][z],w="tilde"+z)}var C=new X0(w),q=new H0([C],{width:"100%",height:T(A),viewBox:"0 0 "+m+" "+x,preserveAspectRatio:"none"});return{span:b.makeSvgSpan([],[q],t),minWidth:0,height:A}}else{var F=[],R=Ln[d],Z=R[0],U=R[1],Q=R[2],j=Q/1e3,_=Z.length,r0,p0;if(_===1){var S0=R[3];r0=["hide-tail"],p0=[S0]}else if(_===2)r0=["halfarrow-left","halfarrow-right"],p0=["xMinYMin","xMaxYMin"];else if(_===3)r0=["brace-left","brace-center","brace-right"],p0=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+_+" children.");for(var o0=0;o0<_;o0++){var ie=new X0(Z[o0]),T0=new H0([ie],{width:"400em",height:T(j),viewBox:"0 0 "+m+" "+Q,preserveAspectRatio:p0[o0]+" slice"}),b0=b.makeSvgSpan([r0[o0]],[T0],t);if(_===1)return{span:b0,minWidth:U,height:j};b0.style.height=T(j),F.push(b0)}return{span:b.makeSpan(["stretchy"],F,t),minWidth:U,height:j}}}var a=r(),n=a.span,s=a.minWidth,u=a.height;return n.height=u,n.style.height=T(u),s>0&&(n.style.minWidth=T(s)),n},Gn=function(e,t,r,a,n){var s,u=e.height+e.depth+r+a;if(/fbox|color|angl/.test(t)){if(s=b.makeSpan(["stretchy",t],[],n),t==="fbox"){var m=n.color&&n.getColor();m&&(s.style.borderColor=m)}}else{var d=[];/^[bx]cancel$/.test(t)&&d.push(new st({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&d.push(new st({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var v=new H0(d,{width:"100%",height:T(u)});s=b.makeSvgSpan([],[v],n)}return s.height=u,s.style.height=T(u),s},$0={encloseSpan:Gn,mathMLnode:On,svgSpan:Pn};function $(l,e){if(!l||l.type!==e)throw new Error("Expected node of type "+e+", but got "+(l?"node of type "+l.type:String(l)));return l}function bt(l){var e=Ve(l);if(!e)throw new Error("Expected node of symbol group type, but got "+(l?"node of type "+l.type:String(l)));return e}function Ve(l){return l&&(l.type==="atom"||cn.hasOwnProperty(l.type))?l:null}var yt=function(e,t){var r,a,n;e&&e.type==="supsub"?(a=$(e.base,"accent"),r=a.base,e.base=r,n=hn(X(e,t)),e.base=a):(a=$(e,"accent"),r=a.base);var s=X(r,t.havingCrampedStyle()),u=a.isShifty&&L.isCharacterBox(r),m=0;if(u){var d=L.getBaseElem(r),v=X(d,t.havingCrampedStyle());m=nr(v).skew}var y=a.label==="\\c",x=y?s.height+s.depth:Math.min(s.height,t.fontMetrics().xHeight),w;if(a.isStretchy)w=$0.svgSpan(a,t),w=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:w,wrapperClasses:["svg-align"],wrapperStyle:m>0?{width:"calc(100% - "+T(2*m)+")",marginLeft:T(2*m)}:void 0}]},t);else{var A,z;a.label==="\\vec"?(A=b.staticSvg("vec",t),z=b.svgData.vec[1]):(A=b.makeOrd({mode:a.mode,text:a.label},t,"textord"),A=nr(A),A.italic=0,z=A.width,y&&(x+=A.depth)),w=b.makeSpan(["accent-body"],[A]);var C=a.label==="\\textcircled";C&&(w.classes.push("accent-full"),x=s.height);var q=m;C||(q-=z/2),w.style.left=T(q),a.label==="\\textcircled"&&(w.style.top=".2em"),w=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-x},{type:"elem",elem:w}]},t)}var F=b.makeSpan(["mord","accent"],[w],t);return n?(n.children[0]=F,n.height=Math.max(F.height,n.height),n.classes[0]="mord",n):F},kr=function(e,t){var r=e.isStretchy?$0.mathMLnode(e.label):new B.MathNode("mo",[z0(e.label,e.mode)]),a=new B.MathNode("mover",[t0(e.base,t),r]);return a.setAttribute("accent","true"),a},Vn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(l){return"\\"+l}).join("|"));D({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(e,t){var r=Pe(t[0]),a=!Vn.test(e.funcName),n=!a||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:n,base:r}},htmlBuilder:yt,mathmlBuilder:kr}),D({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:function(e,t){var r=t[0],a=e.parser.mode;return a==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:yt,mathmlBuilder:kr}),D({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var r=e.parser,a=e.funcName,n=t[0];return{type:"accentUnder",mode:r.mode,label:a,base:n}},htmlBuilder:function(e,t){var r=X(e.base,t),a=$0.svgSpan(e,t),n=e.label==="\\utilde"?.12:0,s=b.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},t);return b.makeSpan(["mord","accentunder"],[s],t)},mathmlBuilder:function(e,t){var r=$0.mathMLnode(e.label),a=new B.MathNode("munder",[t0(e.base,t),r]);return a.setAttribute("accentunder","true"),a}});var $e=function(e){var t=new B.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};D({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,r){var a=e.parser,n=e.funcName;return{type:"xArrow",mode:a.mode,label:n,body:t[0],below:r[0]}},htmlBuilder:function(e,t){var r=t.style,a=t.havingStyle(r.sup()),n=b.wrapFragment(X(e.body,a,t),t),s=e.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(s+"-arrow-pad");var u;e.below&&(a=t.havingStyle(r.sub()),u=b.wrapFragment(X(e.below,a,t),t),u.classes.push(s+"-arrow-pad"));var m=$0.svgSpan(e,t),d=-t.fontMetrics().axisHeight+.5*m.height,v=-t.fontMetrics().axisHeight-.5*m.height-.111;(n.depth>.25||e.label==="\\xleftequilibrium")&&(v-=n.depth);var y;if(u){var x=-t.fontMetrics().axisHeight+u.height+.5*m.height+.111;y=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:v},{type:"elem",elem:m,shift:d},{type:"elem",elem:u,shift:x}]},t)}else y=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:v},{type:"elem",elem:m,shift:d}]},t);return y.children[0].children[0].children[1].classes.push("svg-align"),b.makeSpan(["mrel","x-arrow"],[y],t)},mathmlBuilder:function(e,t){var r=$0.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(e.body){var n=$e(t0(e.body,t));if(e.below){var s=$e(t0(e.below,t));a=new B.MathNode("munderover",[r,s,n])}else a=new B.MathNode("mover",[r,n])}else if(e.below){var u=$e(t0(e.below,t));a=new B.MathNode("munder",[r,u])}else a=$e(),a=new B.MathNode("mover",[r,a]);return a}});var $n=b.makeSpan;function Sr(l,e){var t=d0(l.body,e,!0);return $n([l.mclass],t,e)}function Ar(l,e){var t,r=w0(l.body,e);return l.mclass==="minner"?t=new B.MathNode("mpadded",r):l.mclass==="mord"?l.isCharacterBox?(t=r[0],t.type="mi"):t=new B.MathNode("mi",r):(l.isCharacterBox?(t=r[0],t.type="mo"):t=new B.MathNode("mo",r),l.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):l.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):l.mclass==="mopen"||l.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):l.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}D({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler:function(e,t){var r=e.parser,a=e.funcName,n=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+a.slice(5),body:h0(n),isCharacterBox:L.isCharacterBox(n)}},htmlBuilder:Sr,mathmlBuilder:Ar});var Ue=function(e){var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};D({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(e,t){var r=e.parser;return{type:"mclass",mode:r.mode,mclass:Ue(t[0]),body:h0(t[1]),isCharacterBox:L.isCharacterBox(t[1])}}}),D({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(e,t){var r=e.parser,a=e.funcName,n=t[1],s=t[0],u;a!=="\\stackrel"?u=Ue(n):u="mrel";var m={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:h0(n)},d={type:"supsub",mode:s.mode,base:m,sup:a==="\\underset"?null:s,sub:a==="\\underset"?s:null};return{type:"mclass",mode:r.mode,mclass:u,body:[d],isCharacterBox:L.isCharacterBox(d)}},htmlBuilder:Sr,mathmlBuilder:Ar}),D({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser;return{type:"pmb",mode:r.mode,mclass:Ue(t[0]),body:h0(t[0])}},htmlBuilder:function(e,t){var r=d0(e.body,t,!0),a=b.makeSpan([e.mclass],r,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder:function(e,t){var r=w0(e.body,t),a=new B.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var Un={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Mr=function(){return{type:"styling",body:[],mode:"math",style:"display"}},Br=function(e){return e.type==="textord"&&e.text==="@"},Wn=function(e,t){return(e.type==="mathord"||e.type==="atom")&&e.text===t};function Yn(l,e,t){var r=Un[l];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(r,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var a=t.callFunction("\\\\cdleft",[e[0]],[]),n={type:"atom",text:r,mode:"math",family:"rel"},s=t.callFunction("\\Big",[n],[]),u=t.callFunction("\\\\cdright",[e[1]],[]),m={type:"ordgroup",mode:"math",body:[a,s,u]};return t.callFunction("\\\\cdparent",[m],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var d={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[d],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Xn(l){var e=[];for(l.gullet.beginGroup(),l.gullet.macros.set("\\cr","\\\\\\relax"),l.gullet.beginGroup();;){e.push(l.parseExpression(!1,"\\\\")),l.gullet.endGroup(),l.gullet.beginGroup();var t=l.fetch().text;if(t==="&"||t==="\\\\")l.consume();else if(t==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new k("Expected \\\\ or \\cr or \\end",l.nextToken)}for(var r=[],a=[r],n=0;n-1))if("<>AV".indexOf(d)>-1)for(var y=0;y<2;y++){for(var x=!0,w=m+1;wAV=|." after @',s[m]);var A=Yn(d,v,l),z={type:"styling",body:[A],mode:"math",style:"display"};r.push(z),u=Mr()}n%2===0?r.push(u):r.shift(),r=[],a.push(r)}l.gullet.endGroup(),l.gullet.endGroup();var C=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:C,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}D({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler:function(e,t){var r=e.parser,a=e.funcName;return{type:"cdlabel",mode:r.mode,side:a.slice(4),label:t[0]}},htmlBuilder:function(e,t){var r=t.havingStyle(t.style.sup()),a=b.wrapFragment(X(e.label,r,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=T(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder:function(e,t){var r=new B.MathNode("mrow",[t0(e.label,t)]);return r=new B.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new B.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),D({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler:function(e,t){var r=e.parser;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder:function(e,t){var r=b.wrapFragment(X(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:function(e,t){return new B.MathNode("mrow",[t0(e.fragment,t)])}}),D({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){for(var r=e.parser,a=$(t[0],"ordgroup"),n=a.body,s="",u=0;u=1114111)throw new k("\\@char with invalid code point "+s);return d<=65535?v=String.fromCharCode(d):(d-=65536,v=String.fromCharCode((d>>10)+55296,(d&1023)+56320)),{type:"textord",mode:r.mode,text:v}}});var zr=function(e,t){var r=d0(e.body,t.withColor(e.color),!1);return b.makeFragment(r)},Tr=function(e,t){var r=w0(e.body,t.withColor(e.color)),a=new B.MathNode("mstyle",r);return a.setAttribute("mathcolor",e.color),a};D({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler:function(e,t){var r=e.parser,a=$(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:a,body:h0(n)}},htmlBuilder:zr,mathmlBuilder:Tr}),D({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler:function(e,t){var r=e.parser,a=e.breakOnTokenText,n=$(t[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var s=r.parseExpression(!0,a);return{type:"color",mode:r.mode,color:n,body:s}},htmlBuilder:zr,mathmlBuilder:Tr}),D({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler:function(e,t,r){var a=e.parser,n=a.gullet.future().text==="["?a.parseSizeGroup(!0):null,s=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:s,size:n&&$(n,"size").value}},htmlBuilder:function(e,t){var r=b.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=T(i0(e.size,t)))),r},mathmlBuilder:function(e,t){var r=new B.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",T(i0(e.size,t)))),r}});var xt={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Cr=function(e){var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new k("Expected a control sequence",e);return t},jn=function(e){var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},Dr=function(e,t,r,a){var n=e.gullet.macros.get(r.text);n==null&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,a)};D({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler:function(e){var t=e.parser,r=e.funcName;t.consumeSpaces();var a=t.fetch();if(xt[a.text])return(r==="\\global"||r==="\\\\globallong")&&(a.text=xt[a.text]),$(t.parseFunction(),"internal");throw new k("Invalid token after macro prefix",a)}}),D({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,r=e.funcName,a=t.gullet.popToken(),n=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new k("Expected a control sequence",a);for(var s=0,u,m=[[]];t.gullet.future().text!=="{";)if(a=t.gullet.popToken(),a.text==="#"){if(t.gullet.future().text==="{"){u=t.gullet.future(),m[s].push("{");break}if(a=t.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new k('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==s+1)throw new k('Argument number "'+a.text+'" out of order');s++,m.push([])}else{if(a.text==="EOF")throw new k("Expected a macro definition");m[s].push(a.text)}var d=t.gullet.consumeArg(),v=d.tokens;return u&&v.unshift(u),(r==="\\edef"||r==="\\xdef")&&(v=t.gullet.expandTokens(v),v.reverse()),t.gullet.macros.set(n,{tokens:v,numArgs:s,delimiters:m},r===xt[r]),{type:"internal",mode:t.mode}}}),D({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,r=e.funcName,a=Cr(t.gullet.popToken());t.gullet.consumeSpaces();var n=jn(t);return Dr(t,a,n,r==="\\\\globallet"),{type:"internal",mode:t.mode}}}),D({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e){var t=e.parser,r=e.funcName,a=Cr(t.gullet.popToken()),n=t.gullet.popToken(),s=t.gullet.popToken();return Dr(t,a,s,r==="\\\\globalfuture"),t.gullet.pushToken(s),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var ke=function(e,t,r){var a=l0.math[e]&&l0.math[e].replace,n=at(a||e,t,r);if(!n)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return n},wt=function(e,t,r,a){var n=r.havingBaseStyle(t),s=b.makeSpan(a.concat(n.sizingClasses(r)),[e],r),u=n.sizeMultiplier/r.sizeMultiplier;return s.height*=u,s.depth*=u,s.maxFontSize=n.sizeMultiplier,s},Nr=function(e,t,r){var a=t.havingBaseStyle(r),n=(1-t.sizeMultiplier/a.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=T(n),e.height-=n,e.depth+=n},Zn=function(e,t,r,a,n,s){var u=b.makeSymbol(e,"Main-Regular",n,a),m=wt(u,t,a,s);return r&&Nr(m,a,t),m},Kn=function(e,t,r,a){return b.makeSymbol(e,"Size"+t+"-Regular",r,a)},Er=function(e,t,r,a,n,s){var u=Kn(e,t,n,a),m=wt(b.makeSpan(["delimsizing","size"+t],[u],a),O.TEXT,a,s);return r&&Nr(m,a,O.TEXT),m},kt=function(e,t,r){var a;t==="Size1-Regular"?a="delim-size1":a="delim-size4";var n=b.makeSpan(["delimsizinginner",a],[b.makeSpan([],[b.makeSymbol(e,t,r)])]);return{type:"elem",elem:n}},St=function(e,t,r){var a=q0["Size4-Regular"][e.charCodeAt(0)]?q0["Size4-Regular"][e.charCodeAt(0)][4]:q0["Size1-Regular"][e.charCodeAt(0)][4],n=new X0("inner",en(e,Math.round(1e3*t))),s=new H0([n],{width:T(a),height:T(t),style:"width:"+T(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),u=b.makeSvgSpan([],[s],r);return u.height=t,u.style.height=T(t),u.style.width=T(a),{type:"elem",elem:u}},At=.008,We={type:"kern",size:-1*At},Jn=["|","\\lvert","\\rvert","\\vert"],Qn=["\\|","\\lVert","\\rVert","\\Vert"],qr=function(e,t,r,a,n,s){var u,m,d,v,y="",x=0;u=d=v=e,m=null;var w="Size1-Regular";e==="\\uparrow"?d=v="\u23D0":e==="\\Uparrow"?d=v="\u2016":e==="\\downarrow"?u=d="\u23D0":e==="\\Downarrow"?u=d="\u2016":e==="\\updownarrow"?(u="\\uparrow",d="\u23D0",v="\\downarrow"):e==="\\Updownarrow"?(u="\\Uparrow",d="\u2016",v="\\Downarrow"):L.contains(Jn,e)?(d="\u2223",y="vert",x=333):L.contains(Qn,e)?(d="\u2225",y="doublevert",x=556):e==="["||e==="\\lbrack"?(u="\u23A1",d="\u23A2",v="\u23A3",w="Size4-Regular",y="lbrack",x=667):e==="]"||e==="\\rbrack"?(u="\u23A4",d="\u23A5",v="\u23A6",w="Size4-Regular",y="rbrack",x=667):e==="\\lfloor"||e==="\u230A"?(d=u="\u23A2",v="\u23A3",w="Size4-Regular",y="lfloor",x=667):e==="\\lceil"||e==="\u2308"?(u="\u23A1",d=v="\u23A2",w="Size4-Regular",y="lceil",x=667):e==="\\rfloor"||e==="\u230B"?(d=u="\u23A5",v="\u23A6",w="Size4-Regular",y="rfloor",x=667):e==="\\rceil"||e==="\u2309"?(u="\u23A4",d=v="\u23A5",w="Size4-Regular",y="rceil",x=667):e==="("||e==="\\lparen"?(u="\u239B",d="\u239C",v="\u239D",w="Size4-Regular",y="lparen",x=875):e===")"||e==="\\rparen"?(u="\u239E",d="\u239F",v="\u23A0",w="Size4-Regular",y="rparen",x=875):e==="\\{"||e==="\\lbrace"?(u="\u23A7",m="\u23A8",v="\u23A9",d="\u23AA",w="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(u="\u23AB",m="\u23AC",v="\u23AD",d="\u23AA",w="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(u="\u23A7",v="\u23A9",d="\u23AA",w="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(u="\u23AB",v="\u23AD",d="\u23AA",w="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(u="\u23A7",v="\u23AD",d="\u23AA",w="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(u="\u23AB",v="\u23A9",d="\u23AA",w="Size4-Regular");var A=ke(u,w,n),z=A.height+A.depth,C=ke(d,w,n),q=C.height+C.depth,F=ke(v,w,n),R=F.height+F.depth,Z=0,U=1;if(m!==null){var Q=ke(m,w,n);Z=Q.height+Q.depth,U=2}var j=z+R+Z,_=Math.max(0,Math.ceil((t-j)/(U*q))),r0=j+_*U*q,p0=a.fontMetrics().axisHeight;r&&(p0*=a.sizeMultiplier);var S0=r0/2-p0,o0=[];if(y.length>0){var ie=r0-z-R,T0=Math.round(r0*1e3),b0=tn(y,Math.round(ie*1e3)),Q0=new X0(y,b0),me=(x/1e3).toFixed(3)+"em",ce=(T0/1e3).toFixed(3)+"em",$t=new H0([Q0],{width:me,height:ce,viewBox:"0 0 "+x+" "+T0}),_0=b.makeSvgSpan([],[$t],a);_0.height=T0/1e3,_0.style.width=me,_0.style.height=ce,o0.push({type:"elem",elem:_0})}else{if(o0.push(kt(v,w,n)),o0.push(We),m===null){var ee=r0-z-R+2*At;o0.push(St(d,ee,a))}else{var C0=(r0-z-R-Z)/2+2*At;o0.push(St(d,C0,a)),o0.push(We),o0.push(kt(m,w,n)),o0.push(We),o0.push(St(d,C0,a))}o0.push(We),o0.push(kt(u,w,n))}var Me=a.havingBaseStyle(O.TEXT),Ut=b.makeVList({positionType:"bottom",positionData:S0,children:o0},Me);return wt(b.makeSpan(["delimsizing","mult"],[Ut],Me),O.TEXT,a,s)},Mt=80,Bt=.08,zt=function(e,t,r,a,n){var s=_a(e,a,r),u=new X0(e,s),m=new H0([u],{width:"400em",height:T(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return b.makeSvgSpan(["hide-tail"],[m],n)},_n=function(e,t){var r=t.havingBaseSizing(),a=Or("\\surd",e*r.sizeMultiplier,Ir,r),n=r.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),u,m=0,d=0,v=0,y;return a.type==="small"?(v=1e3+1e3*s+Mt,e<1?n=1:e<1.4&&(n=.7),m=(1+s+Bt)/n,d=(1+s)/n,u=zt("sqrtMain",m,v,s,t),u.style.minWidth="0.853em",y=.833/n):a.type==="large"?(v=(1e3+Mt)*Se[a.size],d=(Se[a.size]+s)/n,m=(Se[a.size]+s+Bt)/n,u=zt("sqrtSize"+a.size,m,v,s,t),u.style.minWidth="1.02em",y=1/n):(m=e+s+Bt,d=e+s,v=Math.floor(1e3*e+s)+Mt,u=zt("sqrtTall",m,v,s,t),u.style.minWidth="0.742em",y=1.056),u.height=d,u.style.height=T(m),{span:u,advanceWidth:y,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*n}},Fr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],e1=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Rr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Se=[0,1.2,1.8,2.4,3],t1=function(e,t,r,a,n){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),L.contains(Fr,e)||L.contains(Rr,e))return Er(e,t,!1,r,a,n);if(L.contains(e1,e))return qr(e,Se[t],!1,r,a,n);throw new k("Illegal delimiter: '"+e+"'")},r1=[{type:"small",style:O.SCRIPTSCRIPT},{type:"small",style:O.SCRIPT},{type:"small",style:O.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],a1=[{type:"small",style:O.SCRIPTSCRIPT},{type:"small",style:O.SCRIPT},{type:"small",style:O.TEXT},{type:"stack"}],Ir=[{type:"small",style:O.SCRIPTSCRIPT},{type:"small",style:O.SCRIPT},{type:"small",style:O.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],n1=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Or=function(e,t,r,a){for(var n=Math.min(2,3-a.style.size),s=n;st)return r[s]}return r[r.length-1]},Lr=function(e,t,r,a,n,s){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var u;L.contains(Rr,e)?u=r1:L.contains(Fr,e)?u=Ir:u=a1;var m=Or(e,t,u,a);return m.type==="small"?Zn(e,m.style,r,a,n,s):m.type==="large"?Er(e,m.size,r,a,n,s):qr(e,t,r,a,n,s)},i1=function(e,t,r,a,n,s){var u=a.fontMetrics().axisHeight*a.sizeMultiplier,m=901,d=5/a.fontMetrics().ptPerEm,v=Math.max(t-u,r+u),y=Math.max(v/500*m,2*v-d);return Lr(e,y,!0,a,n,s)},U0={sqrtImage:_n,sizedDelim:t1,sizeToMaxHeight:Se,customSizedDelim:Lr,leftRightDelim:i1},Hr={"\\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}},l1=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Ye(l,e){var t=Ve(l);if(t&&L.contains(l1,t.text))return t;throw t?new k("Invalid delimiter '"+t.text+"' after '"+e.funcName+"'",l):new k("Invalid delimiter type '"+l.type+"'",l)}D({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:function(e,t){var r=Ye(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Hr[e.funcName].size,mclass:Hr[e.funcName].mclass,delim:r.text}},htmlBuilder:function(e,t){return e.delim==="."?b.makeSpan([e.mclass]):U0.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];e.delim!=="."&&t.push(z0(e.delim,e.mode));var r=new B.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=T(U0.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}});function Pr(l){if(!l.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}D({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(e,t){var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new k("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Ye(t[0],e).text,color:r}}}),D({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:function(e,t){var r=Ye(t[0],e),a=e.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var s=$(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:r.text,right:s.delim,rightColor:s.color}},htmlBuilder:function(e,t){Pr(e);for(var r=d0(e.body,t,!0,["mopen","mclose"]),a=0,n=0,s=!1,u=0;u-1?"mpadded":"menclose",[t0(e.body,t)]);switch(e.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*r+"pt"),a.setAttribute("height","+"+2*r+"pt"),a.setAttribute("lspace",r+"pt"),a.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);a.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};D({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(e,t,r){var a=e.parser,n=e.funcName,s=$(t[0],"color-token").color,u=t[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:s,body:u}},htmlBuilder:Tt,mathmlBuilder:Ct}),D({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(e,t,r){var a=e.parser,n=e.funcName,s=$(t[0],"color-token").color,u=$(t[1],"color-token").color,m=t[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:u,borderColor:s,body:m}},htmlBuilder:Tt,mathmlBuilder:Ct}),D({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){var r=e.parser;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),D({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(e,t){var r=e.parser,a=e.funcName,n=t[0];return{type:"enclose",mode:r.mode,label:a,body:n}},htmlBuilder:Tt,mathmlBuilder:Ct}),D({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(e,t){var r=e.parser;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var Gr={};function F0(l){for(var e=l.type,t=l.names,r=l.props,a=l.handler,n=l.htmlBuilder,s=l.mathmlBuilder,u={type:e,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},m=0;m1||!v)&&z.pop(),q.length0&&(R+=.25),d.push({pos:R,isDashed:Je[Qe]})}for(Z(s[0]),r=0;r0&&(S0+=F,j=u)){var fe=void 0;(a>0||e.hskipBeforeAndAfter)&&(fe=L.deflt(C0.pregap,x),fe!==0&&(b0=b.makeSpan(["arraycolsep"],[]),b0.style.width=T(fe),T0.push(b0)));var pe=[];for(r=0;r0){for(var F1=b.makeLineSpan("hline",t,v),R1=b.makeLineSpan("hdashline",t,v),Wt=[{type:"elem",elem:m,shift:0}];d.length>0;){var Ma=d.pop(),Ba=Ma.pos-o0;Ma.isDashed?Wt.push({type:"elem",elem:R1,shift:Ba}):Wt.push({type:"elem",elem:F1,shift:Ba})}m=b.makeVList({positionType:"individualShift",children:Wt},t)}if(me.length===0)return b.makeSpan(["mord"],[m],t);var Yt=b.makeVList({positionType:"individualShift",children:me},t);return Yt=b.makeSpan(["tag"],[Yt],t),b.makeFragment([m,Yt])},s1={c:"center ",l:"left ",r:"right "},O0=function(e,t){for(var r=[],a=new B.MathNode("mtd",[],["mtr-glue"]),n=new B.MathNode("mtd",[],["mml-eqn-num"]),s=0;s0){var A=e.cols,z="",C=!1,q=0,F=A.length;A[0].type==="separator"&&(x+="top ",q=1),A[A.length-1].type==="separator"&&(x+="bottom ",F-=1);for(var R=q;R0?"left ":"",x+=_[_.length-1].length>0?"right ":"";for(var r0=1;r0<_.length-1;r0++)j+=_[r0].length===0?"none ":_[r0][0]?"dashed ":"solid ";return/[sd]/.test(j)&&v.setAttribute("rowlines",j.trim()),x!==""&&(v=new B.MathNode("menclose",[v]),v.setAttribute("notation",x.trim())),e.arraystretch&&e.arraystretch<1&&(v=new B.MathNode("mstyle",[v]),v.setAttribute("scriptlevel","1")),v},Ur=function(e,t){e.envName.indexOf("ed")===-1&&Xe(e);var r=[],a=e.envName.indexOf("at")>-1?"alignat":"align",n=e.envName==="split",s=K0(e.parser,{cols:r,addJot:!0,autoTag:n?void 0:Dt(e.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:n?2:void 0,leqno:e.parser.settings.leqno},"display"),u,m=0,d={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var v="",y=0;y0&&w&&(C=1),r[A]={type:"align",align:z,pregap:C,postgap:0}}return s.colSeparationType=w?"align":"alignat",s};F0({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var r=Ve(t[0]),a=r?[t[0]]:$(t[0],"ordgroup").body,n=a.map(function(u){var m=bt(u),d=m.text;if("lcr".indexOf(d)!==-1)return{type:"align",align:d};if(d==="|")return{type:"separator",separator:"|"};if(d===":")return{type:"separator",separator:":"};throw new k("Unknown column alignment: "+d,u)}),s={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return K0(e.parser,s,Nt(e.envName))},htmlBuilder:I0,mathmlBuilder:O0}),F0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var n=e.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,"lcr".indexOf(r)===-1)throw new k("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:r}]}}var s=K0(e.parser,a,Nt(e.envName)),u=Math.max.apply(Math,[0].concat(s.body.map(function(m){return m.length})));return s.cols=new Array(u).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:I0,mathmlBuilder:O0}),F0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t={arraystretch:.5},r=K0(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:I0,mathmlBuilder:O0}),F0({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,t){var r=Ve(t[0]),a=r?[t[0]]:$(t[0],"ordgroup").body,n=a.map(function(u){var m=bt(u),d=m.text;if("lc".indexOf(d)!==-1)return{type:"align",align:d};throw new k("Unknown column alignment: "+d,u)});if(n.length>1)throw new k("{subarray} can contain only one column");var s={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=K0(e.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new k("{subarray} can contain only one column");return s},htmlBuilder:I0,mathmlBuilder:O0}),F0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=K0(e.parser,t,Nt(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:I0,mathmlBuilder:O0}),F0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Ur,htmlBuilder:I0,mathmlBuilder:O0}),F0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(e){L.contains(["gather","gather*"],e.envName)&&Xe(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Dt(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return K0(e.parser,t,"display")},htmlBuilder:I0,mathmlBuilder:O0}),F0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Ur,htmlBuilder:I0,mathmlBuilder:O0}),F0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(e){Xe(e);var t={autoTag:Dt(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return K0(e.parser,t,"display")},htmlBuilder:I0,mathmlBuilder:O0}),F0({type:"array",names:["CD"],props:{numArgs:0},handler:function(e){return Xe(e),Xn(e.parser)},htmlBuilder:I0,mathmlBuilder:O0}),c("\\nonumber","\\gdef\\@eqnsw{0}"),c("\\notag","\\nonumber"),D({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(e,t){throw new k(e.funcName+" valid only within array environment")}});var o1=Gr,Wr=o1;D({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(e,t){var r=e.parser,a=e.funcName,n=t[0];if(n.type!=="ordgroup")throw new k("Invalid environment name",n);for(var s="",u=0;u=O.SCRIPT.id?r.text():O.DISPLAY:e==="text"&&r.size===O.DISPLAY.size?r=O.TEXT:e==="script"?r=O.SCRIPT:e==="scriptscript"&&(r=O.SCRIPTSCRIPT),r},Et=function(e,t){var r=Zr(e.size,t.style),a=r.fracNum(),n=r.fracDen(),s;s=t.havingStyle(a);var u=X(e.numer,s,t);if(e.continued){var m=8.5/t.fontMetrics().ptPerEm,d=3.5/t.fontMetrics().ptPerEm;u.height=u.height0?z=3*w:z=7*w,C=t.fontMetrics().denom1):(x>0?(A=t.fontMetrics().num2,z=w):(A=t.fontMetrics().num3,z=3*w),C=t.fontMetrics().denom2);var q;if(y){var R=t.fontMetrics().axisHeight;A-u.depth-(R+.5*x)0&&(t=e,t=t==="."?null:t),t};D({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler:function(e,t){var r=e.parser,a=t[4],n=t[5],s=Pe(t[0]),u=s.type==="atom"&&s.family==="open"?Jr(s.text):null,m=Pe(t[1]),d=m.type==="atom"&&m.family==="close"?Jr(m.text):null,v=$(t[2],"size"),y,x=null;v.isBlank?y=!0:(x=v.value,y=x.number>0);var w="auto",A=t[3];if(A.type==="ordgroup"){if(A.body.length>0){var z=$(A.body[0],"textord");w=Kr[Number(z.text)]}}else A=$(A,"textord"),w=Kr[Number(A.text)];return{type:"genfrac",mode:r.mode,numer:a,denom:n,continued:!1,hasBarLine:y,barSize:x,leftDelim:u,rightDelim:d,size:w}},htmlBuilder:Et,mathmlBuilder:qt}),D({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var r=e.parser,a=e.funcName,n=e.token;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:$(t[0],"size").value,token:n}}}),D({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,t){var r=e.parser,a=e.funcName,n=t[0],s=f0($(t[1],"infix").size),u=t[2],m=s.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:u,continued:!1,hasBarLine:m,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Et,mathmlBuilder:qt});var Qr=function(e,t){var r=t.style,a,n;e.type==="supsub"?(a=e.sup?X(e.sup,t.havingStyle(r.sup()),t):X(e.sub,t.havingStyle(r.sub()),t),n=$(e.base,"horizBrace")):n=$(e,"horizBrace");var s=X(n.base,t.havingBaseStyle(O.DISPLAY)),u=$0.svgSpan(n,t),m;if(n.isOver?(m=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:u}]},t),m.children[0].children[0].children[1].classes.push("svg-align")):(m=b.makeVList({positionType:"bottom",positionData:s.depth+.1+u.height,children:[{type:"elem",elem:u},{type:"kern",size:.1},{type:"elem",elem:s}]},t),m.children[0].children[0].children[0].classes.push("svg-align")),a){var d=b.makeSpan(["mord",n.isOver?"mover":"munder"],[m],t);n.isOver?m=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:d},{type:"kern",size:.2},{type:"elem",elem:a}]},t):m=b.makeVList({positionType:"bottom",positionData:d.depth+.2+a.height+a.depth,children:[{type:"elem",elem:a},{type:"kern",size:.2},{type:"elem",elem:d}]},t)}return b.makeSpan(["mord",n.isOver?"mover":"munder"],[m],t)},u1=function(e,t){var r=$0.mathMLnode(e.label);return new B.MathNode(e.isOver?"mover":"munder",[t0(e.base,t),r])};D({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var r=e.parser,a=e.funcName;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:t[0]}},htmlBuilder:Qr,mathmlBuilder:u1}),D({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var r=e.parser,a=t[1],n=$(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:h0(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var r=d0(e.body,t,!1);return b.makeAnchor(e.href,[],r,t)},mathmlBuilder:function(e,t){var r=Z0(e.body,t);return r instanceof B0||(r=new B0("mrow",[r])),r.setAttribute("href",e.href),r}}),D({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,t){var r=e.parser,a=$(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var n=[],s=0;s0&&(a=i0(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=i0(e.width,t));var s={height:T(r+a)};n>0&&(s.width=T(n)),a>0&&(s.verticalAlign=T(-a));var u=new on(e.src,e.alt,s);return u.height=r,u.depth=a,u},mathmlBuilder:function(e,t){var r=new B.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var a=i0(e.height,t),n=0;if(e.totalheight.number>0&&(n=i0(e.totalheight,t)-a,r.setAttribute("valign",T(-n))),r.setAttribute("height",T(a+n)),e.width.number>0){var s=i0(e.width,t);r.setAttribute("width",T(s))}return r.setAttribute("src",e.src),r}}),D({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler:function(e,t){var r=e.parser,a=e.funcName,n=$(t[0],"size");if(r.settings.strict){var s=a[1]==="m",u=n.value.unit==="mu";s?(u||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+n.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):u&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder:function(e,t){return b.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var r=i0(e.dimension,t);return new B.SpaceNode(r)}}),D({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser,a=e.funcName,n=t[0];return{type:"lap",mode:r.mode,alignment:a.slice(5),body:n}},htmlBuilder:function(e,t){var r;e.alignment==="clap"?(r=b.makeSpan([],[X(e.body,t)]),r=b.makeSpan(["inner"],[r],t)):r=b.makeSpan(["inner"],[X(e.body,t)]);var a=b.makeSpan(["fix"],[]),n=b.makeSpan([e.alignment],[r,a],t),s=b.makeSpan(["strut"]);return s.style.height=T(n.height+n.depth),n.depth&&(s.style.verticalAlign=T(-n.depth)),n.children.unshift(s),n=b.makeSpan(["thinbox"],[n],t),b.makeSpan(["mord","vbox"],[n],t)},mathmlBuilder:function(e,t){var r=new B.MathNode("mpadded",[t0(e.body,t)]);if(e.alignment!=="rlap"){var a=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",a+"width")}return r.setAttribute("width","0px"),r}}),D({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var r=e.funcName,a=e.parser,n=a.mode;a.switchMode("math");var s=r==="\\("?"\\)":"$",u=a.parseExpression(!1,s);return a.expect(s),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",body:u}}}),D({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new k("Mismatched "+e.funcName)}});var _r=function(e,t){switch(t.style.size){case O.DISPLAY.size:return e.display;case O.TEXT.size:return e.text;case O.SCRIPT.size:return e.script;case O.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};D({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(e,t){var r=e.parser;return{type:"mathchoice",mode:r.mode,display:h0(t[0]),text:h0(t[1]),script:h0(t[2]),scriptscript:h0(t[3])}},htmlBuilder:function(e,t){var r=_r(e,t),a=d0(r,t,!1);return b.makeFragment(a)},mathmlBuilder:function(e,t){var r=_r(e,t);return Z0(r,t)}});var ea=function(e,t,r,a,n,s,u){e=b.makeSpan([],[e]);var m=r&&L.isCharacterBox(r),d,v;if(t){var y=X(t,a.havingStyle(n.sup()),a);v={elem:y,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-y.depth)}}if(r){var x=X(r,a.havingStyle(n.sub()),a);d={elem:x,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-x.height)}}var w;if(v&&d){var A=a.fontMetrics().bigOpSpacing5+d.elem.height+d.elem.depth+d.kern+e.depth+u;w=b.makeVList({positionType:"bottom",positionData:A,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:d.elem,marginLeft:T(-s)},{type:"kern",size:d.kern},{type:"elem",elem:e},{type:"kern",size:v.kern},{type:"elem",elem:v.elem,marginLeft:T(s)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(d){var z=e.height-u;w=b.makeVList({positionType:"top",positionData:z,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:d.elem,marginLeft:T(-s)},{type:"kern",size:d.kern},{type:"elem",elem:e}]},a)}else if(v){var C=e.depth+u;w=b.makeVList({positionType:"bottom",positionData:C,children:[{type:"elem",elem:e},{type:"kern",size:v.kern},{type:"elem",elem:v.elem,marginLeft:T(s)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else return e;var q=[w];if(d&&s!==0&&!m){var F=b.makeSpan(["mspace"],[],a);F.style.marginRight=T(s),q.unshift(F)}return b.makeSpan(["mop","op-limits"],q,a)},ta=["\\smallint"],he=function(e,t){var r,a,n=!1,s;e.type==="supsub"?(r=e.sup,a=e.sub,s=$(e.base,"op"),n=!0):s=$(e,"op");var u=t.style,m=!1;u.size===O.DISPLAY.size&&s.symbol&&!L.contains(ta,s.name)&&(m=!0);var d;if(s.symbol){var v=m?"Size2-Regular":"Size1-Regular",y="";if((s.name==="\\oiint"||s.name==="\\oiiint")&&(y=s.name.slice(1),s.name=y==="oiint"?"\\iint":"\\iiint"),d=b.makeSymbol(s.name,v,"math",t,["mop","op-symbol",m?"large-op":"small-op"]),y.length>0){var x=d.italic,w=b.staticSvg(y+"Size"+(m?"2":"1"),t);d=b.makeVList({positionType:"individualShift",children:[{type:"elem",elem:d,shift:0},{type:"elem",elem:w,shift:m?.08:0}]},t),s.name="\\"+y,d.classes.unshift("mop"),d.italic=x}}else if(s.body){var A=d0(s.body,t,!0);A.length===1&&A[0]instanceof M0?(d=A[0],d.classes[0]="mop"):d=b.makeSpan(["mop"],A,t)}else{for(var z=[],C=1;C0){for(var m=s.body.map(function(x){var w=x.text;return typeof w=="string"?{type:"textord",mode:x.mode,text:w}:x}),d=d0(m,t.withFont("mathrm"),!0),v=0;v=0?m.setAttribute("height",T(n)):(m.setAttribute("height",T(n)),m.setAttribute("depth",T(-n))),m.setAttribute("voffset",T(n)),m}});function aa(l,e,t){for(var r=d0(l,e,!1),a=e.sizeMultiplier/t.sizeMultiplier,n=0;nr.height+r.depth+u&&(u=(u+w-r.height-r.depth)/2);var A=v.height-r.height-u-y;r.style.paddingLeft=T(x);var z=b.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+A)},{type:"elem",elem:v},{type:"kern",size:y}]},t);if(e.index){var C=t.havingStyle(O.SCRIPTSCRIPT),q=X(e.index,C,t),F=.6*(z.height-z.depth),R=b.makeVList({positionType:"shift",positionData:-F,children:[{type:"elem",elem:q}]},t),Z=b.makeSpan(["root"],[R]);return b.makeSpan(["mord","sqrt"],[Z,z],t)}else return b.makeSpan(["mord","sqrt"],[z],t)},mathmlBuilder:function(e,t){var r=e.body,a=e.index;return a?new B.MathNode("mroot",[t0(r,t),t0(a,t)]):new B.MathNode("msqrt",[t0(r,t)])}});var ia={display:O.DISPLAY,text:O.TEXT,script:O.SCRIPT,scriptscript:O.SCRIPTSCRIPT};D({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(e,t){var r=e.breakOnTokenText,a=e.funcName,n=e.parser,s=n.parseExpression(!0,r),u=a.slice(1,a.length-5);return{type:"styling",mode:n.mode,style:u,body:s}},htmlBuilder:function(e,t){var r=ia[e.style],a=t.havingStyle(r).withFont("");return aa(e.body,a,t)},mathmlBuilder:function(e,t){var r=ia[e.style],a=t.havingStyle(r),n=w0(e.body,a),s=new B.MathNode("mstyle",n),u={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},m=u[e.style];return s.setAttribute("scriptlevel",m[0]),s.setAttribute("displaystyle",m[1]),s}});var f1=function(e,t){var r=e.base;if(r)if(r.type==="op"){var a=r.limits&&(t.style.size===O.DISPLAY.size||r.alwaysHandleSupSub);return a?he:null}else if(r.type==="operatorname"){var n=r.alwaysHandleSupSub&&(t.style.size===O.DISPLAY.size||r.limits);return n?ra:null}else{if(r.type==="accent")return L.isCharacterBox(r.base)?yt:null;if(r.type==="horizBrace"){var s=!e.sub;return s===r.isOver?Qr:null}else return null}else return null};ne({type:"supsub",htmlBuilder:function(e,t){var r=f1(e,t);if(r)return r(e,t);var a=e.base,n=e.sup,s=e.sub,u=X(a,t),m,d,v=t.fontMetrics(),y=0,x=0,w=a&&L.isCharacterBox(a);if(n){var A=t.havingStyle(t.style.sup());m=X(n,A,t),w||(y=u.height-A.fontMetrics().supDrop*A.sizeMultiplier/t.sizeMultiplier)}if(s){var z=t.havingStyle(t.style.sub());d=X(s,z,t),w||(x=u.depth+z.fontMetrics().subDrop*z.sizeMultiplier/t.sizeMultiplier)}var C;t.style===O.DISPLAY?C=v.sup1:t.style.cramped?C=v.sup3:C=v.sup2;var q=t.sizeMultiplier,F=T(.5/v.ptPerEm/q),R=null;if(d){var Z=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(u instanceof M0||Z)&&(R=T(-u.italic))}var U;if(m&&d){y=Math.max(y,C,m.depth+.25*v.xHeight),x=Math.max(x,v.sub2);var Q=v.defaultRuleThickness,j=4*Q;if(y-m.depth-(d.height-x)0&&(y+=_,x-=_)}var r0=[{type:"elem",elem:d,shift:x,marginRight:F,marginLeft:R},{type:"elem",elem:m,shift:-y,marginRight:F}];U=b.makeVList({positionType:"individualShift",children:r0},t)}else if(d){x=Math.max(x,v.sub1,d.height-.8*v.xHeight);var p0=[{type:"elem",elem:d,marginLeft:R,marginRight:F}];U=b.makeVList({positionType:"shift",positionData:x,children:p0},t)}else if(m)y=Math.max(y,C,m.depth+.25*v.xHeight),U=b.makeVList({positionType:"shift",positionData:-y,children:[{type:"elem",elem:m,marginRight:F}]},t);else throw new Error("supsub must have either sup or sub.");var S0=ft(u,"right")||"mord";return b.makeSpan([S0],[u,b.makeSpan(["msupsub"],[U])],t)},mathmlBuilder:function(e,t){var r=!1,a,n;e.base&&e.base.type==="horizBrace"&&(n=!!e.sup,n===e.base.isOver&&(r=!0,a=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var s=[t0(e.base,t)];e.sub&&s.push(t0(e.sub,t)),e.sup&&s.push(t0(e.sup,t));var u;if(r)u=a?"mover":"munder";else if(e.sub)if(e.sup){var v=e.base;v&&v.type==="op"&&v.limits&&t.style===O.DISPLAY||v&&v.type==="operatorname"&&v.alwaysHandleSupSub&&(t.style===O.DISPLAY||v.limits)?u="munderover":u="msubsup"}else{var d=e.base;d&&d.type==="op"&&d.limits&&(t.style===O.DISPLAY||d.alwaysHandleSupSub)||d&&d.type==="operatorname"&&d.alwaysHandleSupSub&&(d.limits||t.style===O.DISPLAY)?u="munder":u="msub"}else{var m=e.base;m&&m.type==="op"&&m.limits&&(t.style===O.DISPLAY||m.alwaysHandleSupSub)||m&&m.type==="operatorname"&&m.alwaysHandleSupSub&&(m.limits||t.style===O.DISPLAY)?u="mover":u="msup"}return new B.MathNode(u,s)}}),ne({type:"atom",htmlBuilder:function(e,t){return b.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var r=new B.MathNode("mo",[z0(e.text,e.mode)]);if(e.family==="bin"){var a=gt(e,t);a==="bold-italic"&&r.setAttribute("mathvariant",a)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var la={mi:"italic",mn:"normal",mtext:"normal"};ne({type:"mathord",htmlBuilder:function(e,t){return b.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var r=new B.MathNode("mi",[z0(e.text,e.mode,t)]),a=gt(e,t)||"italic";return a!==la[r.type]&&r.setAttribute("mathvariant",a),r}}),ne({type:"textord",htmlBuilder:function(e,t){return b.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var r=z0(e.text,e.mode,t),a=gt(e,t)||"normal",n;return e.mode==="text"?n=new B.MathNode("mtext",[r]):/[0-9]/.test(e.text)?n=new B.MathNode("mn",[r]):e.text==="\\prime"?n=new B.MathNode("mo",[r]):n=new B.MathNode("mi",[r]),a!==la[n.type]&&n.setAttribute("mathvariant",a),n}});var Rt={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},It={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ne({type:"spacing",htmlBuilder:function(e,t){if(It.hasOwnProperty(e.text)){var r=It[e.text].className||"";if(e.mode==="text"){var a=b.makeOrd(e,t,"textord");return a.classes.push(r),a}else return b.makeSpan(["mspace",r],[b.mathsym(e.text,e.mode,t)],t)}else{if(Rt.hasOwnProperty(e.text))return b.makeSpan(["mspace",Rt[e.text]],[],t);throw new k('Unknown type of space "'+e.text+'"')}},mathmlBuilder:function(e,t){var r;if(It.hasOwnProperty(e.text))r=new B.MathNode("mtext",[new B.TextNode("\xA0")]);else{if(Rt.hasOwnProperty(e.text))return new B.MathNode("mspace");throw new k('Unknown type of space "'+e.text+'"')}return r}});var sa=function(){var e=new B.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ne({type:"tag",mathmlBuilder:function(e,t){var r=new B.MathNode("mtable",[new B.MathNode("mtr",[sa(),new B.MathNode("mtd",[Z0(e.body,t)]),sa(),new B.MathNode("mtd",[Z0(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var oa={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ua={"\\textbf":"textbf","\\textmd":"textmd"},p1={"\\textit":"textit","\\textup":"textup"},ha=function(e,t){var r=e.font;return r?oa[r]?t.withTextFontFamily(oa[r]):ua[r]?t.withTextFontWeight(ua[r]):t.withTextFontShape(p1[r]):t};D({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(e,t){var r=e.parser,a=e.funcName,n=t[0];return{type:"text",mode:r.mode,body:h0(n),font:a}},htmlBuilder:function(e,t){var r=ha(e,t),a=d0(e.body,r,!0);return b.makeSpan(["mord","text"],a,r)},mathmlBuilder:function(e,t){var r=ha(e,t);return Z0(e.body,r)}}),D({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder:function(e,t){var r=X(e.body,t),a=b.makeLineSpan("underline-line",t),n=t.fontMetrics().defaultRuleThickness,s=b.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:r}]},t);return b.makeSpan(["mord","underline"],[s],t)},mathmlBuilder:function(e,t){var r=new B.MathNode("mo",[new B.TextNode("\u203E")]);r.setAttribute("stretchy","true");var a=new B.MathNode("munder",[t0(e.body,t),r]);return a.setAttribute("accentunder","true"),a}}),D({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(e,t){var r=e.parser;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder:function(e,t){var r=X(e.body,t),a=t.fontMetrics().axisHeight,n=.5*(r.height-a-(r.depth+a));return b.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:function(e,t){return new B.MathNode("mpadded",[t0(e.body,t)],["vcenter"])}}),D({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,r){throw new k("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var r=ma(e),a=[],n=t.havingStyle(t.style.text()),s=0;s0;)this.endGroup()},e.has=function(r){return this.current.hasOwnProperty(r)||this.builtins.hasOwnProperty(r)},e.get=function(r){return this.current.hasOwnProperty(r)?this.current[r]:this.builtins[r]},e.set=function(r,a,n){if(n===void 0&&(n=!1),n){for(var s=0;s0&&(this.undefStack[this.undefStack.length-1][r]=a)}else{var u=this.undefStack[this.undefStack.length-1];u&&!u.hasOwnProperty(r)&&(u[r]=this.current[r])}a==null?delete this.current[r]:this.current[r]=a},l}(),A1=Vr,M1=A1;c("\\noexpand",function(l){var e=l.popToken();return l.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}}),c("\\expandafter",function(l){var e=l.popToken();return l.expandOnce(!0),{tokens:[e],numArgs:0}}),c("\\@firstoftwo",function(l){var e=l.consumeArgs(2);return{tokens:e[0],numArgs:0}}),c("\\@secondoftwo",function(l){var e=l.consumeArgs(2);return{tokens:e[1],numArgs:0}}),c("\\@ifnextchar",function(l){var e=l.consumeArgs(3);l.consumeSpaces();var t=l.future();return e[0].length===1&&e[0][0].text===t.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}}),c("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),c("\\TextOrMath",function(l){var e=l.consumeArgs(2);return l.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var fa={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};c("\\char",function(l){var e=l.popToken(),t,r="";if(e.text==="'")t=8,e=l.popToken();else if(e.text==='"')t=16,e=l.popToken();else if(e.text==="`")if(e=l.popToken(),e.text[0]==="\\")r=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new k("\\char` missing argument");r=e.text.charCodeAt(0)}else t=10;if(t){if(r=fa[e.text],r==null||r>=t)throw new k("Invalid base-"+t+" digit "+e.text);for(var a;(a=fa[l.future().text])!=null&&a":"\\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"};c("\\dots",function(l){var e="\\dotso",t=l.expandAfterFuture().text;return t in pa?e=pa[t]:(t.slice(0,4)==="\\not"||t in l0.math&&L.contains(["bin","rel"],l0.math[t].group))&&(e="\\dotsb"),e});var Ht={")":!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};c("\\dotso",function(l){var e=l.future().text;return e in Ht?"\\ldots\\,":"\\ldots"}),c("\\dotsc",function(l){var e=l.future().text;return e in Ht&&e!==","?"\\ldots\\,":"\\ldots"}),c("\\cdots",function(l){var e=l.future().text;return e in Ht?"\\@cdots\\,":"\\@cdots"}),c("\\dotsb","\\cdots"),c("\\dotsm","\\cdots"),c("\\dotsi","\\!\\cdots"),c("\\dotsx","\\ldots\\,"),c("\\DOTSI","\\relax"),c("\\DOTSB","\\relax"),c("\\DOTSX","\\relax"),c("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),c("\\,","\\tmspace+{3mu}{.1667em}"),c("\\thinspace","\\,"),c("\\>","\\mskip{4mu}"),c("\\:","\\tmspace+{4mu}{.2222em}"),c("\\medspace","\\:"),c("\\;","\\tmspace+{5mu}{.2777em}"),c("\\thickspace","\\;"),c("\\!","\\tmspace-{3mu}{.1667em}"),c("\\negthinspace","\\!"),c("\\negmedspace","\\tmspace-{4mu}{.2222em}"),c("\\negthickspace","\\tmspace-{5mu}{.277em}"),c("\\enspace","\\kern.5em "),c("\\enskip","\\hskip.5em\\relax"),c("\\quad","\\hskip1em\\relax"),c("\\qquad","\\hskip2em\\relax"),c("\\tag","\\@ifstar\\tag@literal\\tag@paren"),c("\\tag@paren","\\tag@literal{({#1})}"),c("\\tag@literal",function(l){if(l.macros.get("\\df@tag"))throw new k("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),c("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),c("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),c("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),c("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),c("\\newline","\\\\\\relax"),c("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var va=T(q0["Main-Regular"]["T".charCodeAt(0)][1]-.7*q0["Main-Regular"]["A".charCodeAt(0)][1]);c("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+va+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),c("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+va+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),c("\\hspace","\\@ifstar\\@hspacer\\@hspace"),c("\\@hspace","\\hskip #1\\relax"),c("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),c("\\ordinarycolon",":"),c("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),c("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),c("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),c("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),c("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),c("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),c("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),c("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),c("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),c("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),c("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),c("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),c("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),c("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),c("\u2237","\\dblcolon"),c("\u2239","\\eqcolon"),c("\u2254","\\coloneqq"),c("\u2255","\\eqqcolon"),c("\u2A74","\\Coloneqq"),c("\\ratio","\\vcentcolon"),c("\\coloncolon","\\dblcolon"),c("\\colonequals","\\coloneqq"),c("\\coloncolonequals","\\Coloneqq"),c("\\equalscolon","\\eqqcolon"),c("\\equalscoloncolon","\\Eqqcolon"),c("\\colonminus","\\coloneq"),c("\\coloncolonminus","\\Coloneq"),c("\\minuscolon","\\eqcolon"),c("\\minuscoloncolon","\\Eqcolon"),c("\\coloncolonapprox","\\Colonapprox"),c("\\coloncolonsim","\\Colonsim"),c("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),c("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),c("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),c("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),c("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),c("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),c("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),c("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),c("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),c("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),c("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),c("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),c("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),c("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),c("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),c("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),c("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),c("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),c("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),c("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),c("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),c("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),c("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),c("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),c("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),c("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),c("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),c("\\imath","\\html@mathml{\\@imath}{\u0131}"),c("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),c("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),c("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),c("\u27E6","\\llbracket"),c("\u27E7","\\rrbracket"),c("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),c("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),c("\u2983","\\lBrace"),c("\u2984","\\rBrace"),c("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),c("\u29B5","\\minuso"),c("\\darr","\\downarrow"),c("\\dArr","\\Downarrow"),c("\\Darr","\\Downarrow"),c("\\lang","\\langle"),c("\\rang","\\rangle"),c("\\uarr","\\uparrow"),c("\\uArr","\\Uparrow"),c("\\Uarr","\\Uparrow"),c("\\N","\\mathbb{N}"),c("\\R","\\mathbb{R}"),c("\\Z","\\mathbb{Z}"),c("\\alef","\\aleph"),c("\\alefsym","\\aleph"),c("\\Alpha","\\mathrm{A}"),c("\\Beta","\\mathrm{B}"),c("\\bull","\\bullet"),c("\\Chi","\\mathrm{X}"),c("\\clubs","\\clubsuit"),c("\\cnums","\\mathbb{C}"),c("\\Complex","\\mathbb{C}"),c("\\Dagger","\\ddagger"),c("\\diamonds","\\diamondsuit"),c("\\empty","\\emptyset"),c("\\Epsilon","\\mathrm{E}"),c("\\Eta","\\mathrm{H}"),c("\\exist","\\exists"),c("\\harr","\\leftrightarrow"),c("\\hArr","\\Leftrightarrow"),c("\\Harr","\\Leftrightarrow"),c("\\hearts","\\heartsuit"),c("\\image","\\Im"),c("\\infin","\\infty"),c("\\Iota","\\mathrm{I}"),c("\\isin","\\in"),c("\\Kappa","\\mathrm{K}"),c("\\larr","\\leftarrow"),c("\\lArr","\\Leftarrow"),c("\\Larr","\\Leftarrow"),c("\\lrarr","\\leftrightarrow"),c("\\lrArr","\\Leftrightarrow"),c("\\Lrarr","\\Leftrightarrow"),c("\\Mu","\\mathrm{M}"),c("\\natnums","\\mathbb{N}"),c("\\Nu","\\mathrm{N}"),c("\\Omicron","\\mathrm{O}"),c("\\plusmn","\\pm"),c("\\rarr","\\rightarrow"),c("\\rArr","\\Rightarrow"),c("\\Rarr","\\Rightarrow"),c("\\real","\\Re"),c("\\reals","\\mathbb{R}"),c("\\Reals","\\mathbb{R}"),c("\\Rho","\\mathrm{P}"),c("\\sdot","\\cdot"),c("\\sect","\\S"),c("\\spades","\\spadesuit"),c("\\sub","\\subset"),c("\\sube","\\subseteq"),c("\\supe","\\supseteq"),c("\\Tau","\\mathrm{T}"),c("\\thetasym","\\vartheta"),c("\\weierp","\\wp"),c("\\Zeta","\\mathrm{Z}"),c("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),c("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),c("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),c("\\bra","\\mathinner{\\langle{#1}|}"),c("\\ket","\\mathinner{|{#1}\\rangle}"),c("\\braket","\\mathinner{\\langle{#1}\\rangle}"),c("\\Bra","\\left\\langle#1\\right|"),c("\\Ket","\\left|#1\\right\\rangle");var ga=function(e){return function(t){var r=t.consumeArg().tokens,a=t.consumeArg().tokens,n=t.consumeArg().tokens,s=t.consumeArg().tokens,u=t.macros.get("|"),m=t.macros.get("\\|");t.macros.beginGroup();var d=function(w){return function(A){e&&(A.macros.set("|",u),n.length&&A.macros.set("\\|",m));var z=w;if(!w&&n.length){var C=A.future();C.text==="|"&&(A.popToken(),z=!0)}return{tokens:z?n:a,numArgs:0}}};t.macros.set("|",d(!1)),n.length&&t.macros.set("\\|",d(!0));var v=t.consumeArg().tokens,y=t.expandTokens([].concat(s,v,r));return t.macros.endGroup(),{tokens:y.reverse(),numArgs:0}}};c("\\bra@ket",ga(!1)),c("\\bra@set",ga(!0)),c("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),c("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),c("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),c("\\angln","{\\angl n}"),c("\\blue","\\textcolor{##6495ed}{#1}"),c("\\orange","\\textcolor{##ffa500}{#1}"),c("\\pink","\\textcolor{##ff00af}{#1}"),c("\\red","\\textcolor{##df0030}{#1}"),c("\\green","\\textcolor{##28ae7b}{#1}"),c("\\gray","\\textcolor{gray}{#1}"),c("\\purple","\\textcolor{##9d38bd}{#1}"),c("\\blueA","\\textcolor{##ccfaff}{#1}"),c("\\blueB","\\textcolor{##80f6ff}{#1}"),c("\\blueC","\\textcolor{##63d9ea}{#1}"),c("\\blueD","\\textcolor{##11accd}{#1}"),c("\\blueE","\\textcolor{##0c7f99}{#1}"),c("\\tealA","\\textcolor{##94fff5}{#1}"),c("\\tealB","\\textcolor{##26edd5}{#1}"),c("\\tealC","\\textcolor{##01d1c1}{#1}"),c("\\tealD","\\textcolor{##01a995}{#1}"),c("\\tealE","\\textcolor{##208170}{#1}"),c("\\greenA","\\textcolor{##b6ffb0}{#1}"),c("\\greenB","\\textcolor{##8af281}{#1}"),c("\\greenC","\\textcolor{##74cf70}{#1}"),c("\\greenD","\\textcolor{##1fab54}{#1}"),c("\\greenE","\\textcolor{##0d923f}{#1}"),c("\\goldA","\\textcolor{##ffd0a9}{#1}"),c("\\goldB","\\textcolor{##ffbb71}{#1}"),c("\\goldC","\\textcolor{##ff9c39}{#1}"),c("\\goldD","\\textcolor{##e07d10}{#1}"),c("\\goldE","\\textcolor{##a75a05}{#1}"),c("\\redA","\\textcolor{##fca9a9}{#1}"),c("\\redB","\\textcolor{##ff8482}{#1}"),c("\\redC","\\textcolor{##f9685d}{#1}"),c("\\redD","\\textcolor{##e84d39}{#1}"),c("\\redE","\\textcolor{##bc2612}{#1}"),c("\\maroonA","\\textcolor{##ffbde0}{#1}"),c("\\maroonB","\\textcolor{##ff92c6}{#1}"),c("\\maroonC","\\textcolor{##ed5fa6}{#1}"),c("\\maroonD","\\textcolor{##ca337c}{#1}"),c("\\maroonE","\\textcolor{##9e034e}{#1}"),c("\\purpleA","\\textcolor{##ddd7ff}{#1}"),c("\\purpleB","\\textcolor{##c6b9fc}{#1}"),c("\\purpleC","\\textcolor{##aa87ff}{#1}"),c("\\purpleD","\\textcolor{##7854ab}{#1}"),c("\\purpleE","\\textcolor{##543b78}{#1}"),c("\\mintA","\\textcolor{##f5f9e8}{#1}"),c("\\mintB","\\textcolor{##edf2df}{#1}"),c("\\mintC","\\textcolor{##e0e5cc}{#1}"),c("\\grayA","\\textcolor{##f6f7f7}{#1}"),c("\\grayB","\\textcolor{##f0f1f2}{#1}"),c("\\grayC","\\textcolor{##e3e5e6}{#1}"),c("\\grayD","\\textcolor{##d6d8da}{#1}"),c("\\grayE","\\textcolor{##babec2}{#1}"),c("\\grayF","\\textcolor{##888d93}{#1}"),c("\\grayG","\\textcolor{##626569}{#1}"),c("\\grayH","\\textcolor{##3b3e40}{#1}"),c("\\grayI","\\textcolor{##21242c}{#1}"),c("\\kaBlue","\\textcolor{##314453}{#1}"),c("\\kaGreen","\\textcolor{##71B307}{#1}");var ba={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},B1=function(){function l(t,r,a){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new S1(M1,r.macros),this.mode=a,this.stack=[]}var e=l.prototype;return e.feed=function(r){this.lexer=new da(r,this.settings)},e.switchMode=function(r){this.mode=r},e.beginGroup=function(){this.macros.beginGroup()},e.endGroup=function(){this.macros.endGroup()},e.endGroups=function(){this.macros.endGroups()},e.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},e.popToken=function(){return this.future(),this.stack.pop()},e.pushToken=function(r){this.stack.push(r)},e.pushTokens=function(r){var a;(a=this.stack).push.apply(a,r)},e.scanArgument=function(r){var a,n,s;if(r){if(this.consumeSpaces(),this.future().text!=="[")return null;a=this.popToken();var u=this.consumeArg(["]"]);s=u.tokens,n=u.end}else{var m=this.consumeArg();s=m.tokens,a=m.start,n=m.end}return this.pushToken(new R0("EOF",n.loc)),this.pushTokens(s),a.range(n,"")},e.consumeSpaces=function(){for(;;){var r=this.future();if(r.text===" ")this.stack.pop();else break}},e.consumeArg=function(r){var a=[],n=r&&r.length>0;n||this.consumeSpaces();var s=this.future(),u,m=0,d=0;do{if(u=this.popToken(),a.push(u),u.text==="{")++m;else if(u.text==="}"){if(--m,m===-1)throw new k("Extra }",u)}else if(u.text==="EOF")throw new k("Unexpected end of input in a macro argument, expected '"+(r&&n?r[d]:"}")+"'",u);if(r&&n)if((m===0||m===1&&r[d]==="{")&&u.text===r[d]){if(++d,d===r.length){a.splice(-d,d);break}}else d=0}while(m!==0||n);return s.text==="{"&&a[a.length-1].text==="}"&&(a.pop(),a.shift()),a.reverse(),{tokens:a,start:s,end:u}},e.consumeArgs=function(r,a){if(a){if(a.length!==r+1)throw new k("The length of delimiters doesn't match the number of args!");for(var n=a[0],s=0;sthis.settings.maxExpand)throw new k("Too many expansions: infinite loop or need to increase maxExpand setting");var u=s.tokens,m=this.consumeArgs(s.numArgs,s.delimiters);if(s.numArgs){u=u.slice();for(var d=u.length-1;d>=0;--d){var v=u[d];if(v.text==="#"){if(d===0)throw new k("Incomplete placeholder at end of macro body",v);if(v=u[--d],v.text==="#")u.splice(d+1,1);else if(/^[1-9]$/.test(v.text)){var y;(y=u).splice.apply(y,[d,2].concat(m[+v.text-1]))}else throw new k("Not a valid argument number",v)}}}return this.pushTokens(u),u},e.expandAfterFuture=function(){return this.expandOnce(),this.future()},e.expandNextToken=function(){for(;;){var r=this.expandOnce();if(r instanceof R0)return r.treatAsRelax&&(r.text="\\relax"),this.stack.pop()}throw new Error},e.expandMacro=function(r){return this.macros.has(r)?this.expandTokens([new R0(r)]):void 0},e.expandTokens=function(r){var a=[],n=this.stack.length;for(this.pushTokens(r);this.stack.length>n;){var s=this.expandOnce(!0);s instanceof R0&&(s.treatAsRelax&&(s.noexpand=!1,s.treatAsRelax=!1),a.push(this.stack.pop()))}return a},e.expandMacroAsText=function(r){var a=this.expandMacro(r);return a&&a.map(function(n){return n.text}).join("")},e._getExpansion=function(r){var a=this.macros.get(r);if(a==null)return a;if(r.length===1){var n=this.lexer.catcodes[r];if(n!=null&&n!==13)return}var s=typeof a=="function"?a(this):a;if(typeof s=="string"){var u=0;if(s.indexOf("#")!==-1)for(var m=s.replace(/##/g,"");m.indexOf("#"+(u+1))!==-1;)++u;for(var d=new da(s,this.settings),v=[],y=d.lex();y.text!=="EOF";)v.push(y),y=d.lex();v.reverse();var x={tokens:v,numArgs:u};return x}return s},e.isDefined=function(r){return this.macros.has(r)||J0.hasOwnProperty(r)||l0.math.hasOwnProperty(r)||l0.text.hasOwnProperty(r)||ba.hasOwnProperty(r)},e.isExpandable=function(r){var a=this.macros.get(r);return a!=null?typeof a=="string"||typeof a=="function"||!a.unexpandable:J0.hasOwnProperty(r)&&!J0[r].primitive},l}(),ya=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,je=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),Pt={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},xa={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},wa=function(){function l(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new B1(t,r,this.mode),this.settings=r,this.leftrightDepth=0}var e=l.prototype;return e.expect=function(r,a){if(a===void 0&&(a=!0),this.fetch().text!==r)throw new k("Expected '"+r+"', got '"+this.fetch().text+"'",this.fetch());a&&this.consume()},e.consume=function(){this.nextToken=null},e.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},e.switchMode=function(r){this.mode=r,this.gullet.switchMode(r)},e.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var r=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),r}finally{this.gullet.endGroups()}},e.subparse=function(r){var a=this.nextToken;this.consume(),this.gullet.pushToken(new R0("}")),this.gullet.pushTokens(r);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=a,n},e.parseExpression=function(r,a){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var s=this.fetch();if(l.endOfExpression.indexOf(s.text)!==-1||a&&s.text===a||r&&J0[s.text]&&J0[s.text].infix)break;var u=this.parseAtom(a);if(u){if(u.type==="internal")continue}else break;n.push(u)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)},e.handleInfixNodes=function(r){for(var a=-1,n,s=0;s=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+a[0]+'" used in math mode',r);var d=l0[this.mode][a].group,v=N0.range(r),y;if(mn.hasOwnProperty(d)){var x=d;y={type:"atom",mode:this.mode,family:x,loc:v,text:a}}else y={type:d,mode:this.mode,loc:v,text:a};m=y}else if(a.charCodeAt(0)>=128)this.settings.strict&&(jt(a.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+a[0]+'" used in math mode',r):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+a[0]+'"'+(" ("+a.charCodeAt(0)+")"),r)),m={type:"textord",mode:"text",loc:N0.range(r),text:a};else return null;if(this.consume(),u)for(var w=0;w{"use strict";var Ca=Ta();function Da(S,N){let I=S.src[N-1],k=S.src[N],V=S.src[N+1];if(k!=="$")return{can_open:!1,can_close:!1};let P=!1,W=!1;return I!=="$"&&I!=="\\"&&(I===void 0||Na(I)||!Ea(I))&&(P=!0),V!=="$"&&(V==null||Na(V)||!Ea(V))&&(W=!0),{can_open:P,can_close:W}}function Na(S){return/^\s$/u.test(S)}function Ea(S){return/^[\w\d]$/u.test(S)}function qa(S,N){let I=S.src[N-1],k=S.src[N],V=S.src[N+1],P=S.src[N+2];return k==="$"&&I!=="$"&&I!=="\\"&&V==="$"&&P!=="$"?{can_open:!0,can_close:!0}:{can_open:!1,can_close:!1}}function I1(S,N){if(S.src[S.pos]!=="$")return!1;let I=S.tokens.at(-1);if(I?.type==="html_inline"&&/^<\w+.+[^/]>$/.test(I.content))return;let k=Da(S,S.pos);if(!k.can_open)return N||(S.pending+="$"),S.pos+=1,!0;let V=S.pos+1,P=V,W;for(;(P=S.src.indexOf("$",P))!==-1;){for(W=P-1;S.src[W]==="\\";)W-=1;if((P-W)%2==1)break;P+=1}if(P===-1)return N||(S.pending+="$"),S.pos=V,!0;if(P-V===0)return N||(S.pending+="$$"),S.pos=V+1,!0;if(k=Da(S,P),!k.can_close)return N||(S.pending+="$"),S.pos=V,!0;if(!N){let K=S.push("math_inline","math",0);K.markup="$",K.content=S.src.slice(V,P)}return S.pos=P+1,!0}function O1(S,N,I,k){var V,P,W,K=!1,a0,Y=S.bMarks[N]+S.tShift[N],J=S.eMarks[N];if(Y+2>J||S.src.slice(Y,Y+2)!=="$$")return!1;Y+=2;let u0=S.src.slice(Y,J);if(k)return!0;for(u0.trim().slice(-2)==="$$"&&(u0=u0.trim().slice(0,-2),K=!0),P=N;!K&&(P++,!(P>=I||(Y=S.bMarks[P]+S.tShift[P],J=S.eMarks[P],Y0){let u0=S.bMarks[N-1]+S.tShift[N-1],e0=S.eMarks[N-1],f0=S.src.slice(u0,e0);if(!/^\s*$/.test(f0))return!1}if(k)return!0;let Y=N;if(!/\\end[\{\}\w]*\s*$/.test(a0)){let u0=0;for(;!P&&(Y++,!(Y>=I||(W=S.bMarks[Y]+S.tShift[Y],K=S.eMarks[Y],W"u")return!1;let Y=k.slice(0,K+1).reduce((J,u0)=>J+u0.length,0)+K+1;if(!N){let J=S.push("math_inline_bare_block","math",0);J.block=!0,J.markup="$$",J.content=I.slice(1,Y)}return S.pos=S.pos+Y,!0}function Fa(S,N,I,k){let V=S.tokens;for(let P=V.length-1;P>=0;P--){let W=V[P],K=[];if(W.type!=="html_block")continue;let a0=W.content;for(let Y of a0.matchAll(k)){let J=Y.groups.html_before_math,u0=Y.groups.math,e0=Y.groups.html_after_math;J&&K.push({...W,type:"html_block",map:null,content:J}),u0&&K.push({...W,type:N,map:null,content:u0,markup:I,block:!0,tag:"math"}),e0&&K.push({...W,type:"html_block",map:null,content:e0})}K.length>0&&V.splice(P,1,...K)}return!0}function _e(S){return S.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}Ra.exports=function(N,I){I=I||{};let k=I.enableBareBlocks,V=I.enableMathBlockInHtml,P=I.enableMathInlineInHtml,W=e0=>{let f0=/\\begin\{(align|equation|gather|cd|alignat)\}/ig.test(e0);try{return Ca.renderToString(e0,{...I,displayMode:f0})}catch(te){return I.throwOnError&&console.log(te),`${_e(te.toString())}`}},K=(e0,f0)=>W(e0[f0].content),a0=e0=>{try{return`

${Ca.renderToString(e0,{...I,displayMode:!0})}

`}catch(f0){return I.throwOnError&&console.log(f0),`

${_e(f0.toString())}

`}},Y=(e0,f0)=>a0(e0[f0].content)+` `;N.inline.ruler.after("escape","math_inline",I1),N.inline.ruler.after("escape","math_inline_block",H1),k&&N.inline.ruler.before("text","math_inline_bare_block",P1),N.block.ruler.after("blockquote","math_block",(e0,f0,te,L)=>k&&L1(e0,f0,te,L)?!0:O1(e0,f0,te,L),{alt:["paragraph","reference","blockquote","list"]});let J=/(?[\s\S]*?)\$\$(?[\s\S]+?)\$\$(?(?:(?!\$\$[\s\S]+?\$\$)[\s\S])*)/gm,u0=/(?[\s\S]*?)\$(?.*?)\$(?(?:(?!\$.*?\$)[\s\S])*)/gm;V&&N.core.ruler.push("math_block_in_html_block",e0=>Fa(e0,"math_block","$$",J)),P&&N.core.ruler.push("math_inline_in_html_block",e0=>Fa(e0,"math_inline","$",u0)),N.renderer.rules.math_inline=K,N.renderer.rules.math_inline_block=Y,N.renderer.rules.math_inline_bare_block=Y,N.renderer.rules.math_block=Y}});var Oa=import.meta.url.replace(/katex.js$/,"katex.min.css");async function U1(S){let N=await S.getRenderer("vscode.markdown-it-renderer");if(!N)throw new Error("Could not load 'vscode.markdown-it-renderer'");let I=document.createElement("link");I.rel="stylesheet",I.classList.add("markdown-style"),I.href=Oa;let k=document.createElement("link");k.rel="stylesheet",k.href=Oa,document.head.appendChild(k);let V=document.createElement("style");V.textContent=` .katex-error { color: var(--vscode-editorError-foreground); } .katex-block { counter-reset: katexEqnNo mmlEqnNo; } `;let P=document.createElement("template");P.classList.add("markdown-style"),P.content.appendChild(V),P.content.appendChild(I),document.head.appendChild(P);let W=Ia(),K={};N.extendMarkdownIt(a0=>a0.use(W,{globalGroup:!0,enableBareBlocks:!0,macros:K}))}export{U1 as activate}; A Eo