@liascript/editor 1.1.43--1.1.0 → 1.1.43--2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/Ably.140d23cc.js +1 -0
  3. package/dist/Ably.9f94dcaa.js +1 -0
  4. package/dist/Base.3a2c10c6.js +1 -0
  5. package/dist/Base.a8e9a8eb.js +1 -0
  6. package/dist/Nostr.2b404c26.js +1 -0
  7. package/dist/Nostr.2c8140ac.js +1 -0
  8. package/dist/Nostr.329b3a71.js +1 -0
  9. package/dist/Nostr.d5c9f5db.js +1 -0
  10. package/dist/Worker.12f8469e.js +1 -0
  11. package/dist/icon.3b38d96d.woff +0 -0
  12. package/dist/{icon.820972b3.eot → icon.65af9f04.ttf} +0 -0
  13. package/dist/icon.81ed0c3f.svg +1 -0
  14. package/dist/{icon.cef53a8a.ttf → icon.8f14d2a8.eot} +0 -0
  15. package/dist/icon.a46f4539.woff2 +0 -0
  16. package/dist/index.2a418dd8.css +1 -0
  17. package/dist/{index.f3cf8710.js → index.45a4dd9b.js} +2 -2
  18. package/dist/index.4ae92b65.js +1 -0
  19. package/dist/index.638c2ff6.js +1 -0
  20. package/dist/index.646a7ae0.js +1 -0
  21. package/dist/{index.e62c9000.js → index.6d17c2da.js} +1 -1
  22. package/dist/index.8ef51bd5.js +6 -0
  23. package/dist/index.931d5a80.js +34 -0
  24. package/dist/index.9ecf099d.js +1 -0
  25. package/dist/index.a89e1a4c.js +1 -0
  26. package/dist/index.b1a8e24f.js +1 -0
  27. package/dist/index.c18b1883.js +1 -0
  28. package/dist/index.c7acbc74.css +1 -0
  29. package/dist/index.cb6253c2.js +1 -0
  30. package/dist/index.e92af917.js +1 -0
  31. package/dist/index.ecd8f2b1.js +1 -0
  32. package/dist/index.ff48c76f.js +1 -0
  33. package/dist/index.html +1 -1
  34. package/dist/jszip.min.a7b69263.js +13 -0
  35. package/dist/network.svg +174 -0
  36. package/dist/pako.esm.e6a51df7.js +1 -0
  37. package/package.json +5 -4
  38. package/dist/Base.605d9ab5.js +0 -1
  39. package/dist/Worker.c04a8a05.js +0 -1
  40. package/dist/icon.67cbd343.svg +0 -1
  41. package/dist/icon.6ae69fb4.woff +0 -0
  42. package/dist/icon.e475baaf.woff2 +0 -0
  43. package/dist/index.0adf7e2c.js +0 -1
  44. package/dist/index.51910d37.js +0 -1
  45. package/dist/index.58cd83ac.css +0 -1
  46. package/dist/index.5ccb12af.css +0 -1
  47. package/dist/index.acb4205d.js +0 -1
  48. package/dist/index.b2e146d5.js +0 -1
@@ -0,0 +1 @@
1
+ function t(t){return t&&t.__esModule?t.default:t}var e={};"undefined"!=typeof self&&self,e=function(){var t={d:function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}},e={};t.d(e,{default:function(){return no}});class r extends Error{constructor(t,e){let n,o,s="KaTeX parse error: "+t;const a=e&&e.loc;if(a&&a.start<=a.end){const t=a.lexer.input;n=a.start,o=a.end,n===t.length?s+=" at end of input: ":s+=" at position "+(n+1)+": ";const e=t.slice(n,o).replace(/[^]/g,"$&̲");let r,i;r=n>15?"…"+t.slice(n-15,n):t.slice(0,n),i=o+15<t.length?t.slice(o,o+15)+"…":t.slice(o),s+=r+e+i}super(s),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,r.prototype),this.position=n,null!=n&&null!=o&&(this.length=o-n),this.rawMessage=t}}var n=r;const o=/([A-Z])/g,s={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},a=/[&><"']/g,i=t=>String(t).replace(a,(t=>s[t])),l=t=>"ordgroup"===t.type||"color"===t.type?1===t.body.length?l(t.body[0]):t:"font"===t.type?l(t.body):t,c=new Set(["mathord","textord","atom"]),h=t=>c.has(l(t).type),u={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:t=>"#"+t},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:t=>Math.max(0,t),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:t=>Math.max(0,t),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:t=>Math.max(0,t),cli:"-e, --max-expand <n>",cliProcessor:t=>"Infinity"===t?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function m(t,e,r,n){const o=Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0,s=Object.prototype.hasOwnProperty.call(n,"processor")?n.processor:void 0;t[e]=void 0!==o?s?s(o):o:function(t){return Object.prototype.hasOwnProperty.call(t,"default")&&void 0!==t.default?t.default:function(t){if("string"!=typeof t)return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}(Array.isArray(t.type)?t.type[0]:t.type)}(n)}class p{constructor(t){void 0===t&&(t={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(const e of Object.keys(u)){const r=u[e];r&&m(this,e,t,r)}}reportNonstrict(t,e,r){let o=this.strict;if("function"==typeof o&&(o=o(t,e,r)),o&&"ignore"!==o){if(!0===o||"error"===o)throw new n("LaTeX-incompatible input and strict mode is set to 'error': "+e+" ["+t+"]",r);"warn"===o?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+e+" ["+t+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+o+"': "+e+" ["+t+"]")}}useStrictBehavior(t,e,r){let n=this.strict;if("function"==typeof n)try{n=n(t,e,r)}catch(t){n="error"}return!(!n||"ignore"===n||!0!==n&&"error"!==n&&("warn"===n?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+e+" ["+t+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+e+" ["+t+"]"),1)))}isTrusted(t){if("url"in t&&t.url&&!t.protocol){const e=(t=>{const e=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return e?":"!==e[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(e[1])?e[1].toLowerCase():null:"_relative"})(t.url);if(null==e)return!1;t.protocol=e}const e="function"==typeof this.trust?this.trust(t):this.trust;return Boolean(e)}}class d{constructor(t,e,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=e,this.cramped=r}sup(){return f[g[this.id]]}sub(){return f[b[this.id]]}fracNum(){return f[y[this.id]]}fracDen(){return f[x[this.id]]}cramp(){return f[w[this.id]]}text(){return f[v[this.id]]}isTight(){return this.size>=2}}const f=[new d(0,0,!1),new d(1,0,!0),new d(2,1,!1),new d(3,1,!0),new d(4,2,!1),new d(5,2,!0),new d(6,3,!1),new d(7,3,!0)],g=[4,5,4,5,6,7,6,7],b=[5,5,5,5,7,7,7,7],y=[2,3,4,5,6,7,6,7],x=[3,3,5,5,7,7,7,7],w=[1,1,3,3,5,5,7,7],v=[0,1,2,3,2,3,2,3];var k={DISPLAY:f[0],TEXT:f[2],SCRIPT:f[4],SCRIPTSCRIPT:f[6]};const S=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],z=[];function A(t){for(let e=0;e<z.length;e+=2)if(t>=z[e]&&t<=z[e+1])return!0;return!1}S.forEach((t=>t.blocks.forEach((t=>z.push(...t)))));const M=t=>t+" "+t,_={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:M("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:M("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:M("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:M("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:M("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:M("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:M("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:M("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class T{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){const t=document.createDocumentFragment();for(let e=0;e<this.children.length;e++)t.appendChild(this.children[e].toNode());return t}toMarkup(){let t="";for(let e=0;e<this.children.length;e++)t+=this.children[e].toMarkup();return t}toText(){return this.children.map((t=>{if("toText"in t)return t.toText();throw new Error("Expected MathDomNode with toText, got "+t.constructor.name)})).join("")}}const q={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},C={ex:!0,em:!0,mu:!0},B=function(t){return"string"!=typeof t&&(t=t.unit),t in q||t in C||"ex"===t},O=function(t,e){let r;if(t.unit in q)r=q[t.unit]/e.fontMetrics().ptPerEm/e.sizeMultiplier;else if("mu"===t.unit)r=e.fontMetrics().cssEmPerMu;else{let o;if(o=e.style.isTight()?e.havingStyle(e.style.text()):e,"ex"===t.unit)r=o.fontMetrics().xHeight;else{if("em"!==t.unit)throw new n("Invalid unit: '"+t.unit+"'");r=o.fontMetrics().quad}o!==e&&(r*=o.sizeMultiplier/e.sizeMultiplier)}return Math.min(t.number*r,e.maxSize)},I=function(t){return+t.toFixed(4)+"em"},E=function(t){return t.filter((t=>t)).join(" ")},$=function(t){let e="";for(const r of Object.keys(t)){const n=t[r];void 0!==n&&(e+=r.replace(o,"-$1").toLowerCase()+":"+n+";")}return e},R=function(t,e,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},e){e.style.isTight()&&this.classes.push("mtight");const t=e.getColor();t&&(this.style.color=t)}},H=function(t){const e=document.createElement(t);e.className=E(this.classes),Object.assign(e.style,this.style);for(const t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);for(let t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e},D=/[\s"'>/=\x00-\x1f]/,N=function(t){let e="<"+t;this.classes.length&&(e+=' class="'+i(E(this.classes))+'"');const r=$(this.style);r&&(e+=' style="'+i(r)+'"');for(const t of Object.keys(this.attributes)){if(D.test(t))throw new n("Invalid attribute name '"+t+"'");e+=" "+t+'="'+i(this.attributes[t])+'"'}e+=">";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e+="</"+t+">",e};class L{constructor(t,e,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,R.call(this,t,r,n),this.children=e||[]}setAttribute(t,e){this.attributes[t]=e}hasClass(t){return this.classes.includes(t)}toNode(){return H.call(this,"span")}toMarkup(){return N.call(this,"span")}}class P{constructor(t,e,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,R.call(this,e,n),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,e){this.attributes[t]=e}hasClass(t){return this.classes.includes(t)}toNode(){return H.call(this,"a")}toMarkup(){return N.call(this,"a")}}class F{constructor(t,e,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=e,this.src=t,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=r}hasClass(t){return this.classes.includes(t)}toNode(){const t=document.createElement("img");return t.src=this.src,t.alt=this.alt,t.className="mord",Object.assign(t.style,this.style),t}toMarkup(){let t='<img src="'+i(this.src)+'" alt="'+i(this.alt)+'"';const e=$(this.style);return e&&(t+=' style="'+i(e)+'"'),t+="'/>",t}}const G={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};class V{constructor(t,e,r,n,o,s,a,i){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=e||0,this.depth=r||0,this.italic=n||0,this.skew=o||0,this.width=s||0,this.classes=a||[],this.style=i||{},this.maxFontSize=0;const l=function(t){for(let e=0;e<S.length;e++){const r=S[e];for(let e=0;e<r.blocks.length;e++){const n=r.blocks[e];if(t>=n[0]&&t<=n[1])return r.name}}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=G[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){const t=document.createTextNode(this.text);let e=null;return this.italic>0&&(e=document.createElement("span"),e.style.marginRight=I(this.italic)),this.classes.length>0&&(e=e||document.createElement("span"),e.className=E(this.classes)),Object.keys(this.style).length>0&&(e=e||document.createElement("span"),Object.assign(e.style,this.style)),e?(e.appendChild(t),e):t}toMarkup(){let t=!1,e="<span";this.classes.length&&(t=!0,e+=' class="',e+=i(E(this.classes)),e+='"');let r="";this.italic>0&&(r+="margin-right:"+I(this.italic)+";"),r+=$(this.style),r&&(t=!0,e+=' style="'+i(r)+'"');const n=i(this.text);return t?(e+=">",e+=n,e+="</span>",e):n}}class U{constructor(t,e){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=e||{}}toNode(){const t=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const e of Object.keys(this.attributes))t.setAttribute(e,this.attributes[e]);for(let e=0;e<this.children.length;e++)t.appendChild(this.children[e].toNode());return t}toMarkup(){let t='<svg xmlns="http://www.w3.org/2000/svg"';for(const e of Object.keys(this.attributes))t+=" "+e+'="'+i(this.attributes[e])+'"';t+=">";for(let e=0;e<this.children.length;e++)t+=this.children[e].toMarkup();return t+="</svg>",t}}class X{constructor(t,e){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=e}toNode(){const t=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",_[this.pathName]),t}toMarkup(){return this.alternate?'<path d="'+i(this.alternate)+'"/>':'<path d="'+i(_[this.pathName])+'"/>'}}class j{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){const t=document.createElementNS("http://www.w3.org/2000/svg","line");for(const e of Object.keys(this.attributes))t.setAttribute(e,this.attributes[e]);return t}toMarkup(){let t="<line";for(const e of Object.keys(this.attributes))t+=" "+e+'="'+i(this.attributes[e])+'"';return t+="/>",t}}var W={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const Y={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Z={"Å":"A","Ð":"D","Þ":"o","å":"a","ð":"d","þ":"o","А":"A","Б":"B","В":"B","Г":"F","Д":"A","Е":"E","Ж":"K","З":"3","И":"N","Й":"N","К":"K","Л":"N","М":"M","Н":"H","О":"O","П":"N","Р":"P","С":"C","Т":"T","У":"y","Ф":"O","Х":"X","Ц":"U","Ч":"h","Ш":"W","Щ":"W","Ъ":"B","Ы":"X","Ь":"B","Э":"3","Ю":"X","Я":"R","а":"a","б":"b","в":"a","г":"r","д":"y","е":"e","ж":"m","з":"e","и":"n","й":"n","к":"n","л":"n","м":"m","н":"n","о":"o","п":"n","р":"p","с":"c","т":"o","у":"y","ф":"b","х":"x","ц":"n","ч":"n","ш":"w","щ":"w","ъ":"a","ы":"m","ь":"a","э":"e","ю":"m","я":"r"};function K(t,e,r){if(!W[e])throw new Error("Font metrics not found for font: "+e+".");let n=t.charCodeAt(0),o=W[e][n];if(!o&&t[0]in Z&&(n=Z[t[0]].charCodeAt(0),o=W[e][n]),o||"text"!==r||A(n)&&(o=W[e][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}const J={},Q={math:{},text:{}};var tt=Q;function et(t,e,r,n,o,s){Q[t][o]={font:e,group:r,replace:n},s&&n&&(Q[t][n]=Q[t][o])}const rt="math",nt="text",ot="main",st="ams",at="accent-token",it="bin",lt="close",ct="inner",ht="mathord",ut="op-token",mt="open",pt="punct",dt="rel",ft="spacing",gt="textord";et(rt,ot,dt,"≡","\\equiv",!0),et(rt,ot,dt,"≺","\\prec",!0),et(rt,ot,dt,"≻","\\succ",!0),et(rt,ot,dt,"∼","\\sim",!0),et(rt,ot,dt,"⊥","\\perp"),et(rt,ot,dt,"⪯","\\preceq",!0),et(rt,ot,dt,"⪰","\\succeq",!0),et(rt,ot,dt,"≃","\\simeq",!0),et(rt,ot,dt,"∣","\\mid",!0),et(rt,ot,dt,"≪","\\ll",!0),et(rt,ot,dt,"≫","\\gg",!0),et(rt,ot,dt,"≍","\\asymp",!0),et(rt,ot,dt,"∥","\\parallel"),et(rt,ot,dt,"⋈","\\bowtie",!0),et(rt,ot,dt,"⌣","\\smile",!0),et(rt,ot,dt,"⊑","\\sqsubseteq",!0),et(rt,ot,dt,"⊒","\\sqsupseteq",!0),et(rt,ot,dt,"≐","\\doteq",!0),et(rt,ot,dt,"⌢","\\frown",!0),et(rt,ot,dt,"∋","\\ni",!0),et(rt,ot,dt,"∝","\\propto",!0),et(rt,ot,dt,"⊢","\\vdash",!0),et(rt,ot,dt,"⊣","\\dashv",!0),et(rt,ot,dt,"∋","\\owns"),et(rt,ot,pt,".","\\ldotp"),et(rt,ot,pt,"⋅","\\cdotp"),et(rt,ot,pt,"⋅","·"),et(nt,ot,gt,"⋅","·"),et(rt,ot,gt,"#","\\#"),et(nt,ot,gt,"#","\\#"),et(rt,ot,gt,"&","\\&"),et(nt,ot,gt,"&","\\&"),et(rt,ot,gt,"ℵ","\\aleph",!0),et(rt,ot,gt,"∀","\\forall",!0),et(rt,ot,gt,"ℏ","\\hbar",!0),et(rt,ot,gt,"∃","\\exists",!0),et(rt,ot,gt,"∇","\\nabla",!0),et(rt,ot,gt,"♭","\\flat",!0),et(rt,ot,gt,"ℓ","\\ell",!0),et(rt,ot,gt,"♮","\\natural",!0),et(rt,ot,gt,"♣","\\clubsuit",!0),et(rt,ot,gt,"℘","\\wp",!0),et(rt,ot,gt,"♯","\\sharp",!0),et(rt,ot,gt,"♢","\\diamondsuit",!0),et(rt,ot,gt,"ℜ","\\Re",!0),et(rt,ot,gt,"♡","\\heartsuit",!0),et(rt,ot,gt,"ℑ","\\Im",!0),et(rt,ot,gt,"♠","\\spadesuit",!0),et(rt,ot,gt,"§","\\S",!0),et(nt,ot,gt,"§","\\S"),et(rt,ot,gt,"¶","\\P",!0),et(nt,ot,gt,"¶","\\P"),et(rt,ot,gt,"†","\\dag"),et(nt,ot,gt,"†","\\dag"),et(nt,ot,gt,"†","\\textdagger"),et(rt,ot,gt,"‡","\\ddag"),et(nt,ot,gt,"‡","\\ddag"),et(nt,ot,gt,"‡","\\textdaggerdbl"),et(rt,ot,lt,"⎱","\\rmoustache",!0),et(rt,ot,mt,"⎰","\\lmoustache",!0),et(rt,ot,lt,"⟯","\\rgroup",!0),et(rt,ot,mt,"⟮","\\lgroup",!0),et(rt,ot,it,"∓","\\mp",!0),et(rt,ot,it,"⊖","\\ominus",!0),et(rt,ot,it,"⊎","\\uplus",!0),et(rt,ot,it,"⊓","\\sqcap",!0),et(rt,ot,it,"∗","\\ast"),et(rt,ot,it,"⊔","\\sqcup",!0),et(rt,ot,it,"◯","\\bigcirc",!0),et(rt,ot,it,"∙","\\bullet",!0),et(rt,ot,it,"‡","\\ddagger"),et(rt,ot,it,"≀","\\wr",!0),et(rt,ot,it,"⨿","\\amalg"),et(rt,ot,it,"&","\\And"),et(rt,ot,dt,"⟵","\\longleftarrow",!0),et(rt,ot,dt,"⇐","\\Leftarrow",!0),et(rt,ot,dt,"⟸","\\Longleftarrow",!0),et(rt,ot,dt,"⟶","\\longrightarrow",!0),et(rt,ot,dt,"⇒","\\Rightarrow",!0),et(rt,ot,dt,"⟹","\\Longrightarrow",!0),et(rt,ot,dt,"↔","\\leftrightarrow",!0),et(rt,ot,dt,"⟷","\\longleftrightarrow",!0),et(rt,ot,dt,"⇔","\\Leftrightarrow",!0),et(rt,ot,dt,"⟺","\\Longleftrightarrow",!0),et(rt,ot,dt,"↦","\\mapsto",!0),et(rt,ot,dt,"⟼","\\longmapsto",!0),et(rt,ot,dt,"↗","\\nearrow",!0),et(rt,ot,dt,"↩","\\hookleftarrow",!0),et(rt,ot,dt,"↪","\\hookrightarrow",!0),et(rt,ot,dt,"↘","\\searrow",!0),et(rt,ot,dt,"↼","\\leftharpoonup",!0),et(rt,ot,dt,"⇀","\\rightharpoonup",!0),et(rt,ot,dt,"↙","\\swarrow",!0),et(rt,ot,dt,"↽","\\leftharpoondown",!0),et(rt,ot,dt,"⇁","\\rightharpoondown",!0),et(rt,ot,dt,"↖","\\nwarrow",!0),et(rt,ot,dt,"⇌","\\rightleftharpoons",!0),et(rt,st,dt,"≮","\\nless",!0),et(rt,st,dt,"","\\@nleqslant"),et(rt,st,dt,"","\\@nleqq"),et(rt,st,dt,"⪇","\\lneq",!0),et(rt,st,dt,"≨","\\lneqq",!0),et(rt,st,dt,"","\\@lvertneqq"),et(rt,st,dt,"⋦","\\lnsim",!0),et(rt,st,dt,"⪉","\\lnapprox",!0),et(rt,st,dt,"⊀","\\nprec",!0),et(rt,st,dt,"⋠","\\npreceq",!0),et(rt,st,dt,"⋨","\\precnsim",!0),et(rt,st,dt,"⪹","\\precnapprox",!0),et(rt,st,dt,"≁","\\nsim",!0),et(rt,st,dt,"","\\@nshortmid"),et(rt,st,dt,"∤","\\nmid",!0),et(rt,st,dt,"⊬","\\nvdash",!0),et(rt,st,dt,"⊭","\\nvDash",!0),et(rt,st,dt,"⋪","\\ntriangleleft"),et(rt,st,dt,"⋬","\\ntrianglelefteq",!0),et(rt,st,dt,"⊊","\\subsetneq",!0),et(rt,st,dt,"","\\@varsubsetneq"),et(rt,st,dt,"⫋","\\subsetneqq",!0),et(rt,st,dt,"","\\@varsubsetneqq"),et(rt,st,dt,"≯","\\ngtr",!0),et(rt,st,dt,"","\\@ngeqslant"),et(rt,st,dt,"","\\@ngeqq"),et(rt,st,dt,"⪈","\\gneq",!0),et(rt,st,dt,"≩","\\gneqq",!0),et(rt,st,dt,"","\\@gvertneqq"),et(rt,st,dt,"⋧","\\gnsim",!0),et(rt,st,dt,"⪊","\\gnapprox",!0),et(rt,st,dt,"⊁","\\nsucc",!0),et(rt,st,dt,"⋡","\\nsucceq",!0),et(rt,st,dt,"⋩","\\succnsim",!0),et(rt,st,dt,"⪺","\\succnapprox",!0),et(rt,st,dt,"≆","\\ncong",!0),et(rt,st,dt,"","\\@nshortparallel"),et(rt,st,dt,"∦","\\nparallel",!0),et(rt,st,dt,"⊯","\\nVDash",!0),et(rt,st,dt,"⋫","\\ntriangleright"),et(rt,st,dt,"⋭","\\ntrianglerighteq",!0),et(rt,st,dt,"","\\@nsupseteqq"),et(rt,st,dt,"⊋","\\supsetneq",!0),et(rt,st,dt,"","\\@varsupsetneq"),et(rt,st,dt,"⫌","\\supsetneqq",!0),et(rt,st,dt,"","\\@varsupsetneqq"),et(rt,st,dt,"⊮","\\nVdash",!0),et(rt,st,dt,"⪵","\\precneqq",!0),et(rt,st,dt,"⪶","\\succneqq",!0),et(rt,st,dt,"","\\@nsubseteqq"),et(rt,st,it,"⊴","\\unlhd"),et(rt,st,it,"⊵","\\unrhd"),et(rt,st,dt,"↚","\\nleftarrow",!0),et(rt,st,dt,"↛","\\nrightarrow",!0),et(rt,st,dt,"⇍","\\nLeftarrow",!0),et(rt,st,dt,"⇏","\\nRightarrow",!0),et(rt,st,dt,"↮","\\nleftrightarrow",!0),et(rt,st,dt,"⇎","\\nLeftrightarrow",!0),et(rt,st,dt,"△","\\vartriangle"),et(rt,st,gt,"ℏ","\\hslash"),et(rt,st,gt,"▽","\\triangledown"),et(rt,st,gt,"◊","\\lozenge"),et(rt,st,gt,"Ⓢ","\\circledS"),et(rt,st,gt,"®","\\circledR"),et(nt,st,gt,"®","\\circledR"),et(rt,st,gt,"∡","\\measuredangle",!0),et(rt,st,gt,"∄","\\nexists"),et(rt,st,gt,"℧","\\mho"),et(rt,st,gt,"Ⅎ","\\Finv",!0),et(rt,st,gt,"⅁","\\Game",!0),et(rt,st,gt,"‵","\\backprime"),et(rt,st,gt,"▲","\\blacktriangle"),et(rt,st,gt,"▼","\\blacktriangledown"),et(rt,st,gt,"■","\\blacksquare"),et(rt,st,gt,"⧫","\\blacklozenge"),et(rt,st,gt,"★","\\bigstar"),et(rt,st,gt,"∢","\\sphericalangle",!0),et(rt,st,gt,"∁","\\complement",!0),et(rt,st,gt,"ð","\\eth",!0),et(nt,ot,gt,"ð","ð"),et(rt,st,gt,"╱","\\diagup"),et(rt,st,gt,"╲","\\diagdown"),et(rt,st,gt,"□","\\square"),et(rt,st,gt,"□","\\Box"),et(rt,st,gt,"◊","\\Diamond"),et(rt,st,gt,"¥","\\yen",!0),et(nt,st,gt,"¥","\\yen",!0),et(rt,st,gt,"✓","\\checkmark",!0),et(nt,st,gt,"✓","\\checkmark"),et(rt,st,gt,"ℶ","\\beth",!0),et(rt,st,gt,"ℸ","\\daleth",!0),et(rt,st,gt,"ℷ","\\gimel",!0),et(rt,st,gt,"ϝ","\\digamma",!0),et(rt,st,gt,"ϰ","\\varkappa"),et(rt,st,mt,"┌","\\@ulcorner",!0),et(rt,st,lt,"┐","\\@urcorner",!0),et(rt,st,mt,"└","\\@llcorner",!0),et(rt,st,lt,"┘","\\@lrcorner",!0),et(rt,st,dt,"≦","\\leqq",!0),et(rt,st,dt,"⩽","\\leqslant",!0),et(rt,st,dt,"⪕","\\eqslantless",!0),et(rt,st,dt,"≲","\\lesssim",!0),et(rt,st,dt,"⪅","\\lessapprox",!0),et(rt,st,dt,"≊","\\approxeq",!0),et(rt,st,it,"⋖","\\lessdot"),et(rt,st,dt,"⋘","\\lll",!0),et(rt,st,dt,"≶","\\lessgtr",!0),et(rt,st,dt,"⋚","\\lesseqgtr",!0),et(rt,st,dt,"⪋","\\lesseqqgtr",!0),et(rt,st,dt,"≑","\\doteqdot"),et(rt,st,dt,"≓","\\risingdotseq",!0),et(rt,st,dt,"≒","\\fallingdotseq",!0),et(rt,st,dt,"∽","\\backsim",!0),et(rt,st,dt,"⋍","\\backsimeq",!0),et(rt,st,dt,"⫅","\\subseteqq",!0),et(rt,st,dt,"⋐","\\Subset",!0),et(rt,st,dt,"⊏","\\sqsubset",!0),et(rt,st,dt,"≼","\\preccurlyeq",!0),et(rt,st,dt,"⋞","\\curlyeqprec",!0),et(rt,st,dt,"≾","\\precsim",!0),et(rt,st,dt,"⪷","\\precapprox",!0),et(rt,st,dt,"⊲","\\vartriangleleft"),et(rt,st,dt,"⊴","\\trianglelefteq"),et(rt,st,dt,"⊨","\\vDash",!0),et(rt,st,dt,"⊪","\\Vvdash",!0),et(rt,st,dt,"⌣","\\smallsmile"),et(rt,st,dt,"⌢","\\smallfrown"),et(rt,st,dt,"≏","\\bumpeq",!0),et(rt,st,dt,"≎","\\Bumpeq",!0),et(rt,st,dt,"≧","\\geqq",!0),et(rt,st,dt,"⩾","\\geqslant",!0),et(rt,st,dt,"⪖","\\eqslantgtr",!0),et(rt,st,dt,"≳","\\gtrsim",!0),et(rt,st,dt,"⪆","\\gtrapprox",!0),et(rt,st,it,"⋗","\\gtrdot"),et(rt,st,dt,"⋙","\\ggg",!0),et(rt,st,dt,"≷","\\gtrless",!0),et(rt,st,dt,"⋛","\\gtreqless",!0),et(rt,st,dt,"⪌","\\gtreqqless",!0),et(rt,st,dt,"≖","\\eqcirc",!0),et(rt,st,dt,"≗","\\circeq",!0),et(rt,st,dt,"≜","\\triangleq",!0),et(rt,st,dt,"∼","\\thicksim"),et(rt,st,dt,"≈","\\thickapprox"),et(rt,st,dt,"⫆","\\supseteqq",!0),et(rt,st,dt,"⋑","\\Supset",!0),et(rt,st,dt,"⊐","\\sqsupset",!0),et(rt,st,dt,"≽","\\succcurlyeq",!0),et(rt,st,dt,"⋟","\\curlyeqsucc",!0),et(rt,st,dt,"≿","\\succsim",!0),et(rt,st,dt,"⪸","\\succapprox",!0),et(rt,st,dt,"⊳","\\vartriangleright"),et(rt,st,dt,"⊵","\\trianglerighteq"),et(rt,st,dt,"⊩","\\Vdash",!0),et(rt,st,dt,"∣","\\shortmid"),et(rt,st,dt,"∥","\\shortparallel"),et(rt,st,dt,"≬","\\between",!0),et(rt,st,dt,"⋔","\\pitchfork",!0),et(rt,st,dt,"∝","\\varpropto"),et(rt,st,dt,"◀","\\blacktriangleleft"),et(rt,st,dt,"∴","\\therefore",!0),et(rt,st,dt,"∍","\\backepsilon"),et(rt,st,dt,"▶","\\blacktriangleright"),et(rt,st,dt,"∵","\\because",!0),et(rt,st,dt,"⋘","\\llless"),et(rt,st,dt,"⋙","\\gggtr"),et(rt,st,it,"⊲","\\lhd"),et(rt,st,it,"⊳","\\rhd"),et(rt,st,dt,"≂","\\eqsim",!0),et(rt,ot,dt,"⋈","\\Join"),et(rt,st,dt,"≑","\\Doteq",!0),et(rt,st,it,"∔","\\dotplus",!0),et(rt,st,it,"∖","\\smallsetminus"),et(rt,st,it,"⋒","\\Cap",!0),et(rt,st,it,"⋓","\\Cup",!0),et(rt,st,it,"⩞","\\doublebarwedge",!0),et(rt,st,it,"⊟","\\boxminus",!0),et(rt,st,it,"⊞","\\boxplus",!0),et(rt,st,it,"⋇","\\divideontimes",!0),et(rt,st,it,"⋉","\\ltimes",!0),et(rt,st,it,"⋊","\\rtimes",!0),et(rt,st,it,"⋋","\\leftthreetimes",!0),et(rt,st,it,"⋌","\\rightthreetimes",!0),et(rt,st,it,"⋏","\\curlywedge",!0),et(rt,st,it,"⋎","\\curlyvee",!0),et(rt,st,it,"⊝","\\circleddash",!0),et(rt,st,it,"⊛","\\circledast",!0),et(rt,st,it,"⋅","\\centerdot"),et(rt,st,it,"⊺","\\intercal",!0),et(rt,st,it,"⋒","\\doublecap"),et(rt,st,it,"⋓","\\doublecup"),et(rt,st,it,"⊠","\\boxtimes",!0),et(rt,st,dt,"⇢","\\dashrightarrow",!0),et(rt,st,dt,"⇠","\\dashleftarrow",!0),et(rt,st,dt,"⇇","\\leftleftarrows",!0),et(rt,st,dt,"⇆","\\leftrightarrows",!0),et(rt,st,dt,"⇚","\\Lleftarrow",!0),et(rt,st,dt,"↞","\\twoheadleftarrow",!0),et(rt,st,dt,"↢","\\leftarrowtail",!0),et(rt,st,dt,"↫","\\looparrowleft",!0),et(rt,st,dt,"⇋","\\leftrightharpoons",!0),et(rt,st,dt,"↶","\\curvearrowleft",!0),et(rt,st,dt,"↺","\\circlearrowleft",!0),et(rt,st,dt,"↰","\\Lsh",!0),et(rt,st,dt,"⇈","\\upuparrows",!0),et(rt,st,dt,"↿","\\upharpoonleft",!0),et(rt,st,dt,"⇃","\\downharpoonleft",!0),et(rt,ot,dt,"⊶","\\origof",!0),et(rt,ot,dt,"⊷","\\imageof",!0),et(rt,st,dt,"⊸","\\multimap",!0),et(rt,st,dt,"↭","\\leftrightsquigarrow",!0),et(rt,st,dt,"⇉","\\rightrightarrows",!0),et(rt,st,dt,"⇄","\\rightleftarrows",!0),et(rt,st,dt,"↠","\\twoheadrightarrow",!0),et(rt,st,dt,"↣","\\rightarrowtail",!0),et(rt,st,dt,"↬","\\looparrowright",!0),et(rt,st,dt,"↷","\\curvearrowright",!0),et(rt,st,dt,"↻","\\circlearrowright",!0),et(rt,st,dt,"↱","\\Rsh",!0),et(rt,st,dt,"⇊","\\downdownarrows",!0),et(rt,st,dt,"↾","\\upharpoonright",!0),et(rt,st,dt,"⇂","\\downharpoonright",!0),et(rt,st,dt,"⇝","\\rightsquigarrow",!0),et(rt,st,dt,"⇝","\\leadsto"),et(rt,st,dt,"⇛","\\Rrightarrow",!0),et(rt,st,dt,"↾","\\restriction"),et(rt,ot,gt,"‘","`"),et(rt,ot,gt,"$","\\$"),et(nt,ot,gt,"$","\\$"),et(nt,ot,gt,"$","\\textdollar"),et(rt,ot,gt,"%","\\%"),et(nt,ot,gt,"%","\\%"),et(rt,ot,gt,"_","\\_"),et(nt,ot,gt,"_","\\_"),et(nt,ot,gt,"_","\\textunderscore"),et(rt,ot,gt,"∠","\\angle",!0),et(rt,ot,gt,"∞","\\infty",!0),et(rt,ot,gt,"′","\\prime"),et(rt,ot,gt,"△","\\triangle"),et(rt,ot,gt,"Γ","\\Gamma",!0),et(rt,ot,gt,"Δ","\\Delta",!0),et(rt,ot,gt,"Θ","\\Theta",!0),et(rt,ot,gt,"Λ","\\Lambda",!0),et(rt,ot,gt,"Ξ","\\Xi",!0),et(rt,ot,gt,"Π","\\Pi",!0),et(rt,ot,gt,"Σ","\\Sigma",!0),et(rt,ot,gt,"Υ","\\Upsilon",!0),et(rt,ot,gt,"Φ","\\Phi",!0),et(rt,ot,gt,"Ψ","\\Psi",!0),et(rt,ot,gt,"Ω","\\Omega",!0),et(rt,ot,gt,"A","Α"),et(rt,ot,gt,"B","Β"),et(rt,ot,gt,"E","Ε"),et(rt,ot,gt,"Z","Ζ"),et(rt,ot,gt,"H","Η"),et(rt,ot,gt,"I","Ι"),et(rt,ot,gt,"K","Κ"),et(rt,ot,gt,"M","Μ"),et(rt,ot,gt,"N","Ν"),et(rt,ot,gt,"O","Ο"),et(rt,ot,gt,"P","Ρ"),et(rt,ot,gt,"T","Τ"),et(rt,ot,gt,"X","Χ"),et(rt,ot,gt,"¬","\\neg",!0),et(rt,ot,gt,"¬","\\lnot"),et(rt,ot,gt,"⊤","\\top"),et(rt,ot,gt,"⊥","\\bot"),et(rt,ot,gt,"∅","\\emptyset"),et(rt,st,gt,"∅","\\varnothing"),et(rt,ot,ht,"α","\\alpha",!0),et(rt,ot,ht,"β","\\beta",!0),et(rt,ot,ht,"γ","\\gamma",!0),et(rt,ot,ht,"δ","\\delta",!0),et(rt,ot,ht,"ϵ","\\epsilon",!0),et(rt,ot,ht,"ζ","\\zeta",!0),et(rt,ot,ht,"η","\\eta",!0),et(rt,ot,ht,"θ","\\theta",!0),et(rt,ot,ht,"ι","\\iota",!0),et(rt,ot,ht,"κ","\\kappa",!0),et(rt,ot,ht,"λ","\\lambda",!0),et(rt,ot,ht,"μ","\\mu",!0),et(rt,ot,ht,"ν","\\nu",!0),et(rt,ot,ht,"ξ","\\xi",!0),et(rt,ot,ht,"ο","\\omicron",!0),et(rt,ot,ht,"π","\\pi",!0),et(rt,ot,ht,"ρ","\\rho",!0),et(rt,ot,ht,"σ","\\sigma",!0),et(rt,ot,ht,"τ","\\tau",!0),et(rt,ot,ht,"υ","\\upsilon",!0),et(rt,ot,ht,"ϕ","\\phi",!0),et(rt,ot,ht,"χ","\\chi",!0),et(rt,ot,ht,"ψ","\\psi",!0),et(rt,ot,ht,"ω","\\omega",!0),et(rt,ot,ht,"ε","\\varepsilon",!0),et(rt,ot,ht,"ϑ","\\vartheta",!0),et(rt,ot,ht,"ϖ","\\varpi",!0),et(rt,ot,ht,"ϱ","\\varrho",!0),et(rt,ot,ht,"ς","\\varsigma",!0),et(rt,ot,ht,"φ","\\varphi",!0),et(rt,ot,it,"∗","*",!0),et(rt,ot,it,"+","+"),et(rt,ot,it,"−","-",!0),et(rt,ot,it,"⋅","\\cdot",!0),et(rt,ot,it,"∘","\\circ",!0),et(rt,ot,it,"÷","\\div",!0),et(rt,ot,it,"±","\\pm",!0),et(rt,ot,it,"×","\\times",!0),et(rt,ot,it,"∩","\\cap",!0),et(rt,ot,it,"∪","\\cup",!0),et(rt,ot,it,"∖","\\setminus",!0),et(rt,ot,it,"∧","\\land"),et(rt,ot,it,"∨","\\lor"),et(rt,ot,it,"∧","\\wedge",!0),et(rt,ot,it,"∨","\\vee",!0),et(rt,ot,gt,"√","\\surd"),et(rt,ot,mt,"⟨","\\langle",!0),et(rt,ot,mt,"∣","\\lvert"),et(rt,ot,mt,"∥","\\lVert"),et(rt,ot,lt,"?","?"),et(rt,ot,lt,"!","!"),et(rt,ot,lt,"⟩","\\rangle",!0),et(rt,ot,lt,"∣","\\rvert"),et(rt,ot,lt,"∥","\\rVert"),et(rt,ot,dt,"=","="),et(rt,ot,dt,":",":"),et(rt,ot,dt,"≈","\\approx",!0),et(rt,ot,dt,"≅","\\cong",!0),et(rt,ot,dt,"≥","\\ge"),et(rt,ot,dt,"≥","\\geq",!0),et(rt,ot,dt,"←","\\gets"),et(rt,ot,dt,">","\\gt",!0),et(rt,ot,dt,"∈","\\in",!0),et(rt,ot,dt,"","\\@not"),et(rt,ot,dt,"⊂","\\subset",!0),et(rt,ot,dt,"⊃","\\supset",!0),et(rt,ot,dt,"⊆","\\subseteq",!0),et(rt,ot,dt,"⊇","\\supseteq",!0),et(rt,st,dt,"⊈","\\nsubseteq",!0),et(rt,st,dt,"⊉","\\nsupseteq",!0),et(rt,ot,dt,"⊨","\\models"),et(rt,ot,dt,"←","\\leftarrow",!0),et(rt,ot,dt,"≤","\\le"),et(rt,ot,dt,"≤","\\leq",!0),et(rt,ot,dt,"<","\\lt",!0),et(rt,ot,dt,"→","\\rightarrow",!0),et(rt,ot,dt,"→","\\to"),et(rt,st,dt,"≱","\\ngeq",!0),et(rt,st,dt,"≰","\\nleq",!0),et(rt,ot,ft," ","\\ "),et(rt,ot,ft," ","\\space"),et(rt,ot,ft," ","\\nobreakspace"),et(nt,ot,ft," ","\\ "),et(nt,ot,ft," "," "),et(nt,ot,ft," ","\\space"),et(nt,ot,ft," ","\\nobreakspace"),et(rt,ot,ft,"","\\nobreak"),et(rt,ot,ft,"","\\allowbreak"),et(rt,ot,pt,",",","),et(rt,ot,pt,";",";"),et(rt,st,it,"⊼","\\barwedge",!0),et(rt,st,it,"⊻","\\veebar",!0),et(rt,ot,it,"⊙","\\odot",!0),et(rt,ot,it,"⊕","\\oplus",!0),et(rt,ot,it,"⊗","\\otimes",!0),et(rt,ot,gt,"∂","\\partial",!0),et(rt,ot,it,"⊘","\\oslash",!0),et(rt,st,it,"⊚","\\circledcirc",!0),et(rt,st,it,"⊡","\\boxdot",!0),et(rt,ot,it,"△","\\bigtriangleup"),et(rt,ot,it,"▽","\\bigtriangledown"),et(rt,ot,it,"†","\\dagger"),et(rt,ot,it,"⋄","\\diamond"),et(rt,ot,it,"⋆","\\star"),et(rt,ot,it,"◃","\\triangleleft"),et(rt,ot,it,"▹","\\triangleright"),et(rt,ot,mt,"{","\\{"),et(nt,ot,gt,"{","\\{"),et(nt,ot,gt,"{","\\textbraceleft"),et(rt,ot,lt,"}","\\}"),et(nt,ot,gt,"}","\\}"),et(nt,ot,gt,"}","\\textbraceright"),et(rt,ot,mt,"{","\\lbrace"),et(rt,ot,lt,"}","\\rbrace"),et(rt,ot,mt,"[","\\lbrack",!0),et(nt,ot,gt,"[","\\lbrack",!0),et(rt,ot,lt,"]","\\rbrack",!0),et(nt,ot,gt,"]","\\rbrack",!0),et(rt,ot,mt,"(","\\lparen",!0),et(rt,ot,lt,")","\\rparen",!0),et(nt,ot,gt,"<","\\textless",!0),et(nt,ot,gt,">","\\textgreater",!0),et(rt,ot,mt,"⌊","\\lfloor",!0),et(rt,ot,lt,"⌋","\\rfloor",!0),et(rt,ot,mt,"⌈","\\lceil",!0),et(rt,ot,lt,"⌉","\\rceil",!0),et(rt,ot,gt,"\\","\\backslash"),et(rt,ot,gt,"∣","|"),et(rt,ot,gt,"∣","\\vert"),et(nt,ot,gt,"|","\\textbar",!0),et(rt,ot,gt,"∥","\\|"),et(rt,ot,gt,"∥","\\Vert"),et(nt,ot,gt,"∥","\\textbardbl"),et(nt,ot,gt,"~","\\textasciitilde"),et(nt,ot,gt,"\\","\\textbackslash"),et(nt,ot,gt,"^","\\textasciicircum"),et(rt,ot,dt,"↑","\\uparrow",!0),et(rt,ot,dt,"⇑","\\Uparrow",!0),et(rt,ot,dt,"↓","\\downarrow",!0),et(rt,ot,dt,"⇓","\\Downarrow",!0),et(rt,ot,dt,"↕","\\updownarrow",!0),et(rt,ot,dt,"⇕","\\Updownarrow",!0),et(rt,ot,ut,"∐","\\coprod"),et(rt,ot,ut,"⋁","\\bigvee"),et(rt,ot,ut,"⋀","\\bigwedge"),et(rt,ot,ut,"⨄","\\biguplus"),et(rt,ot,ut,"⋂","\\bigcap"),et(rt,ot,ut,"⋃","\\bigcup"),et(rt,ot,ut,"∫","\\int"),et(rt,ot,ut,"∫","\\intop"),et(rt,ot,ut,"∬","\\iint"),et(rt,ot,ut,"∭","\\iiint"),et(rt,ot,ut,"∏","\\prod"),et(rt,ot,ut,"∑","\\sum"),et(rt,ot,ut,"⨂","\\bigotimes"),et(rt,ot,ut,"⨁","\\bigoplus"),et(rt,ot,ut,"⨀","\\bigodot"),et(rt,ot,ut,"∮","\\oint"),et(rt,ot,ut,"∯","\\oiint"),et(rt,ot,ut,"∰","\\oiiint"),et(rt,ot,ut,"⨆","\\bigsqcup"),et(rt,ot,ut,"∫","\\smallint"),et(nt,ot,ct,"…","\\textellipsis"),et(rt,ot,ct,"…","\\mathellipsis"),et(nt,ot,ct,"…","\\ldots",!0),et(rt,ot,ct,"…","\\ldots",!0),et(rt,ot,ct,"⋯","\\@cdots",!0),et(rt,ot,ct,"⋱","\\ddots",!0),et(rt,ot,gt,"⋮","\\varvdots"),et(nt,ot,gt,"⋮","\\varvdots"),et(rt,ot,at,"ˊ","\\acute"),et(rt,ot,at,"ˋ","\\grave"),et(rt,ot,at,"¨","\\ddot"),et(rt,ot,at,"~","\\tilde"),et(rt,ot,at,"ˉ","\\bar"),et(rt,ot,at,"˘","\\breve"),et(rt,ot,at,"ˇ","\\check"),et(rt,ot,at,"^","\\hat"),et(rt,ot,at,"⃗","\\vec"),et(rt,ot,at,"˙","\\dot"),et(rt,ot,at,"˚","\\mathring"),et(rt,ot,ht,"","\\@imath"),et(rt,ot,ht,"","\\@jmath"),et(rt,ot,gt,"ı","ı"),et(rt,ot,gt,"ȷ","ȷ"),et(nt,ot,gt,"ı","\\i",!0),et(nt,ot,gt,"ȷ","\\j",!0),et(nt,ot,gt,"ß","\\ss",!0),et(nt,ot,gt,"æ","\\ae",!0),et(nt,ot,gt,"œ","\\oe",!0),et(nt,ot,gt,"ø","\\o",!0),et(nt,ot,gt,"Æ","\\AE",!0),et(nt,ot,gt,"Œ","\\OE",!0),et(nt,ot,gt,"Ø","\\O",!0),et(nt,ot,at,"ˊ","\\'"),et(nt,ot,at,"ˋ","\\`"),et(nt,ot,at,"ˆ","\\^"),et(nt,ot,at,"˜","\\~"),et(nt,ot,at,"ˉ","\\="),et(nt,ot,at,"˘","\\u"),et(nt,ot,at,"˙","\\."),et(nt,ot,at,"¸","\\c"),et(nt,ot,at,"˚","\\r"),et(nt,ot,at,"ˇ","\\v"),et(nt,ot,at,"¨",'\\"'),et(nt,ot,at,"˝","\\H"),et(nt,ot,at,"◯","\\textcircled");const bt={"--":!0,"---":!0,"``":!0,"''":!0};et(nt,ot,gt,"–","--",!0),et(nt,ot,gt,"–","\\textendash"),et(nt,ot,gt,"—","---",!0),et(nt,ot,gt,"—","\\textemdash"),et(nt,ot,gt,"‘","`",!0),et(nt,ot,gt,"‘","\\textquoteleft"),et(nt,ot,gt,"’","'",!0),et(nt,ot,gt,"’","\\textquoteright"),et(nt,ot,gt,"“","``",!0),et(nt,ot,gt,"“","\\textquotedblleft"),et(nt,ot,gt,"”","''",!0),et(nt,ot,gt,"”","\\textquotedblright"),et(rt,ot,gt,"°","\\degree",!0),et(nt,ot,gt,"°","\\degree"),et(nt,ot,gt,"°","\\textdegree",!0),et(rt,ot,gt,"£","\\pounds"),et(rt,ot,gt,"£","\\mathsterling",!0),et(nt,ot,gt,"£","\\pounds"),et(nt,ot,gt,"£","\\textsterling",!0),et(rt,st,gt,"✠","\\maltese"),et(nt,st,gt,"✠","\\maltese");for(let t=0;t<14;t++){const e='0123456789/@."'.charAt(t);et(rt,ot,gt,e,e)}for(let t=0;t<25;t++){const e='0123456789!@*()-=+";:?/.,'.charAt(t);et(nt,ot,gt,e,e)}const yt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let t=0;t<52;t++){const e=yt.charAt(t);et(rt,ot,ht,e,e),et(nt,ot,gt,e,e)}let xt;et(rt,st,gt,"C","ℂ"),et(nt,st,gt,"C","ℂ"),et(rt,st,gt,"H","ℍ"),et(nt,st,gt,"H","ℍ"),et(rt,st,gt,"N","ℕ"),et(nt,st,gt,"N","ℕ"),et(rt,st,gt,"P","ℙ"),et(nt,st,gt,"P","ℙ"),et(rt,st,gt,"Q","ℚ"),et(nt,st,gt,"Q","ℚ"),et(rt,st,gt,"R","ℝ"),et(nt,st,gt,"R","ℝ"),et(rt,st,gt,"Z","ℤ"),et(nt,st,gt,"Z","ℤ"),et(rt,ot,ht,"h","ℎ"),et(nt,ot,ht,"h","ℎ");for(let t=0;t<52;t++){const e=yt.charAt(t);xt=String.fromCharCode(55349,56320+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt),xt=String.fromCharCode(55349,56372+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt),xt=String.fromCharCode(55349,56424+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt),xt=String.fromCharCode(55349,56580+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt),xt=String.fromCharCode(55349,56684+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt),xt=String.fromCharCode(55349,56736+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt),xt=String.fromCharCode(55349,56788+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt),xt=String.fromCharCode(55349,56840+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt),xt=String.fromCharCode(55349,56944+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt),t<26&&(xt=String.fromCharCode(55349,56632+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt),xt=String.fromCharCode(55349,56476+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt))}xt=String.fromCharCode(55349,56668),et(rt,ot,ht,"k",xt),et(nt,ot,gt,"k",xt);for(let t=0;t<10;t++){const e=t.toString();xt=String.fromCharCode(55349,57294+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt),xt=String.fromCharCode(55349,57314+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt),xt=String.fromCharCode(55349,57324+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt),xt=String.fromCharCode(55349,57334+t),et(rt,ot,ht,e,xt),et(nt,ot,gt,e,xt)}for(let t=0;t<3;t++){const e="ÐÞþ".charAt(t);et(rt,ot,ht,e,e),et(nt,ot,gt,e,e)}const wt={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},vt={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},kt={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},St={mathClass:"",textClass:"",font:""},zt={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},At={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},Mt={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},_t={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},Tt={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},qt={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},Ct={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},Bt=[wt,wt,vt,vt,kt,kt,{mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},St,St,St,zt,zt,At,At,Mt,Mt,_t,_t,Tt,Tt,qt,qt,St,St,Ct,Ct],Ot=[wt,St,_t,Tt,Ct],It=function(t,e,r){if(tt[r][t]){const e=tt[r][t].replace;e&&(t=e)}return{value:t,metrics:K(t,e,r)}},Et=function(t,e,r,n,o){const s=It(t,e,r),a=s.metrics;let i;if(t=s.value,a){let e=a.italic;("text"===r||n&&"mathit"===n.font)&&(e=0),i=new V(t,a.height,a.depth,e,a.skew,a.width,o)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+t+"' in style '"+e+"' and mode '"+r+"'"),i=new V(t,0,0,0,0,0,o);if(n){i.maxFontSize=n.sizeMultiplier,n.style.isTight()&&i.classes.push("mtight");const t=n.getColor();t&&(i.style.color=t)}return i},$t=function(t,e,r,n){return void 0===n&&(n=[]),"boldsymbol"===r.font&&It(t,"Main-Bold",e).metrics?Et(t,"Main-Bold",e,r,n.concat(["mathbf"])):"\\"===t||"main"===tt[e][t].font?Et(t,"Main-Regular",e,r,n):Et(t,"AMS-Regular",e,r,n.concat(["amsrm"]))},Rt=function(t,e){const r="mathord"===t.type?"mathord":"textord",o=t.mode,s=t.text,a=["mord"],i=e.font,l=e.fontFamily,c=e.fontWeight,h=e.fontShape,u="math"===o||"text"===o&&!!i,m=u?i:l;let p="",d="";if(55349===s.charCodeAt(0)){const t=(t=>{const e=1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536;if(119808<=e&&e<120484){const t=Math.floor((e-119808)/26);return Bt[t]}if(120782<=e&&e<=120831){const t=Math.floor((e-120782)/10);return Ot[t]}if(120485===e||120486===e)return Bt[0];if(120486<e&&e<120782)return St;throw new n("Unsupported character: "+t)})(s);p=t.font,d=t[o+"Class"]}if(p)return Et(s,p,o,e,a.concat(d));if(m){let t,n;if("boldsymbol"===m){const e=function(t,e,r){return"textord"!==r&&It(t,"Math-BoldItalic",e).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(s,o,r);t=e.fontName,n=[e.fontClass]}else u?(t=Wt[i].fontName,n=[i]):(t=jt(l,c,h),n=[l,c,h]);if(It(s,t,o).metrics)return Et(s,t,o,e,a.concat(n));if(Object.prototype.hasOwnProperty.call(bt,s)&&"Typewriter"===t.slice(0,10)){const r=[];for(let i=0;i<s.length;i++)r.push(Et(s[i],t,o,e,a.concat(n)));return Gt(r)}}if("mathord"===r)return Et(s,"Math-Italic",o,e,a.concat(["mathnormal"]));if("textord"===r){const t=tt[o][s]&&tt[o][s].font;if("ams"===t){const t=jt("amsrm",c,h);return Et(s,t,o,e,a.concat("amsrm",c,h))}if("main"!==t&&t){const r=jt(t,c,h);return Et(s,r,o,e,a.concat(r,c,h))}{const t=jt("textrm",c,h);return Et(s,t,o,e,a.concat(c,h))}}throw new Error("unexpected type: "+r+" in makeOrd")},Ht=(t,e)=>{if(E(t.classes)!==E(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize||0!==t.italic&&t.hasClass("mathnormal"))return!1;if(1===t.classes.length){const e=t.classes[0];if("mbin"===e||"mord"===e)return!1}for(const r of Object.keys(t.style))if(t.style[r]!==e.style[r])return!1;for(const r of Object.keys(e.style))if(t.style[r]!==e.style[r])return!1;return!0},Dt=t=>{for(let e=0;e<t.length-1;e++){const r=t[e],n=t[e+1];r instanceof V&&n instanceof V&&Ht(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,t.splice(e+1,1),e--)}return t},Nt=function(t){let e=0,r=0,n=0;for(let o=0;o<t.children.length;o++){const s=t.children[o];s.height>e&&(e=s.height),s.depth>r&&(r=s.depth),s.maxFontSize>n&&(n=s.maxFontSize)}t.height=e,t.depth=r,t.maxFontSize=n},Lt=function(t,e,r,n){const o=new L(t,e,r,n);return Nt(o),o},Pt=(t,e,r,n)=>new L(t,e,r,n),Ft=function(t,e,r){const n=Lt([t],[],e);return n.height=Math.max(r||e.fontMetrics().defaultRuleThickness,e.minRuleThickness),n.style.borderBottomWidth=I(n.height),n.maxFontSize=1,n},Gt=function(t){const e=new T(t);return Nt(e),e},Vt=function(t,e){return t instanceof T?Lt([],[t],e):t},Ut=function(t,e){const r=function(t){if("individualShift"===t.positionType){const e=t.children,r=[e[0]],n=-e[0].shift-e[0].elem.depth;let o=n;for(let t=1;t<e.length;t++){const n=-e[t].shift-o-e[t].elem.depth,s=n-(e[t-1].elem.height+e[t-1].elem.depth);o+=n,r.push({type:"kern",size:s}),r.push(e[t])}return{children:r,depth:n}}let e;if("top"===t.positionType){let r=t.positionData;for(let e=0;e<t.children.length;e++){const n=t.children[e];r-="kern"===n.type?n.size:n.elem.height+n.elem.depth}e=r}else if("bottom"===t.positionType)e=-t.positionData;else{const r=t.children[0];if("elem"!==r.type)throw new Error('First child must have type "elem".');if("shift"===t.positionType)e=-r.elem.depth-t.positionData;else{if("firstBaseline"!==t.positionType)throw new Error("Invalid positionType "+t.positionType+".");e=-r.elem.depth}}return{children:t.children,depth:e}}(t),n=r.children,o=r.depth;let s=0;for(let t=0;t<n.length;t++){const e=n[t];if("elem"===e.type){const t=e.elem;s=Math.max(s,t.maxFontSize,t.height)}}s+=2;const a=Lt(["pstrut"],[]);a.style.height=I(s);const i=[];let l=o,c=o,h=o;for(let t=0;t<n.length;t++){const e=n[t];if("kern"===e.type)h+=e.size;else{const t=e.elem,r=e.wrapperClasses||[],n=e.wrapperStyle||{},o=Lt(r,[a,t],void 0,n);o.style.top=I(-s-h-t.depth),e.marginLeft&&(o.style.marginLeft=e.marginLeft),e.marginRight&&(o.style.marginRight=e.marginRight),i.push(o),h+=t.height+t.depth}l=Math.min(l,h),c=Math.max(c,h)}const u=Lt(["vlist"],i);let m;if(u.style.height=I(c),l<0){const t=Lt([],[]),e=Lt(["vlist"],[t]);e.style.height=I(-l);const r=Lt(["vlist-s"],[new V("​")]);m=[Lt(["vlist-r"],[u,r]),Lt(["vlist-r"],[e])]}else m=[Lt(["vlist-r"],[u])];const p=Lt(["vlist-t"],m);return 2===m.length&&p.classes.push("vlist-t2"),p.height=c,p.depth=-l,p},Xt=(t,e)=>{const r=Lt(["mspace"],[],e),n=O(t,e);return r.style.marginRight=I(n),r},jt=(t,e,r)=>{let n,o;switch(t){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=t}return o="textbf"===e&&"textit"===r?"BoldItalic":"textbf"===e?"Bold":"textit"===r?"Italic":"Regular",n+"-"+o},Wt={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Yt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Zt=function(t,e){const r=Yt[t],n=r[0],o=r[1],s=r[2],a=new X(n),i=new U([a],{width:I(o),height:I(s),style:"width:"+I(o),viewBox:"0 0 "+1e3*o+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),l=Pt(["katex-overlay"],[i],e);return l.height=s,l.style.height=I(s),l.style.width=I(o),l},Kt={number:3,unit:"mu"},Jt={number:4,unit:"mu"},Qt={number:5,unit:"mu"},te={mord:{mop:Kt,mbin:Jt,mrel:Qt,minner:Kt},mop:{mord:Kt,mop:Kt,mrel:Qt,minner:Kt},mbin:{mord:Jt,mop:Jt,mopen:Jt,minner:Jt},mrel:{mord:Qt,mop:Qt,mopen:Qt,minner:Qt},mopen:{},mclose:{mop:Kt,mbin:Jt,mrel:Qt,minner:Kt},mpunct:{mord:Kt,mop:Kt,mrel:Qt,mopen:Kt,mclose:Kt,mpunct:Kt,minner:Kt},minner:{mord:Kt,mop:Kt,mbin:Jt,mrel:Qt,mopen:Kt,mpunct:Kt,minner:Kt}},ee={mord:{mop:Kt},mop:{mord:Kt,mop:Kt},mbin:{},mrel:{},mopen:{},mclose:{mop:Kt},mpunct:{},minner:{mop:Kt}},re={},ne={},oe={};function se(t){const e=t.type,r=t.names,n=t.htmlBuilder,o=t.mathmlBuilder;for(let e=0;e<r.length;++e)re[r[e]]=t;e&&(n&&(ne[e]=n),o&&(oe[e]=o))}function ae(t){let e=t.type,r=t.htmlBuilder,n=t.mathmlBuilder;r&&(ne[e]=r),n&&(oe[e]=n)}const ie=function(t){return"ordgroup"===t.type&&1===t.body.length?t.body[0]:t},le=function(t){return"ordgroup"===t.type?t.body:[t]},ce=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),he=new Set(["rightmost","mrel","mclose","mpunct"]),ue={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT},me={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},pe=function(t,e,r,n){void 0===n&&(n=[null,null]);const o=[];for(let r=0;r<t.length;r++){const n=xe(t[r],e);if(n instanceof T){const t=n.children;o.push(...t)}else o.push(n)}if(Dt(o),!r)return o;let s=e;if(1===t.length){const r=t[0];"sizing"===r.type?s=e.havingSize(r.size):"styling"===r.type&&(s=e.havingStyle(ue[r.style]))}const a=Lt([n[0]||"leftmost"],[],e),i=Lt([n[1]||"rightmost"],[],e),l="root"===r;return de(o,((t,e)=>{const r=e.classes[0],n=t.classes[0];"mbin"===r&&he.has(n)?e.classes[0]="mord":"mbin"===n&&ce.has(r)&&(t.classes[0]="mord")}),{node:a},i,l),de(o,((t,e)=>{var r,n;const o=be(e),a=be(t),i=o&&a?t.hasClass("mtight")?null==(r=ee[o])?void 0:r[a]:null==(n=te[o])?void 0:n[a]:null;if(i)return Xt(i,s)}),{node:a},i,l),o},de=function(t,e,r,n,o){n&&t.push(n);let s=0;for(;s<t.length;s++){const n=t[s],a=fe(n);if(a){de(a.children,e,r,null,o);continue}const i=!n.hasClass("mspace");if(i){const o=e(n,r.node);o&&(r.insertAfter?r.insertAfter(o):(t.unshift(o),s++))}i?r.node=n:o&&n.hasClass("katex-newline")&&(r.node=Lt(["leftmost"])),r.insertAfter=(e=>r=>{t.splice(e+1,0,r),s++})(s)}n&&t.pop()},fe=function(t){return t instanceof T||t instanceof P||t instanceof L&&t.hasClass("enclosing")?t:null},ge=function(t,e){const r=fe(t);if(r){const t=r.children;if(t.length){if("right"===e)return ge(t[t.length-1],"right");if("left"===e)return ge(t[0],"left")}}return t},be=function(t,e){if(!t)return null;e&&(t=ge(t,e));const r=t.classes[0];return me[r]||null},ye=function(t,e){const r=["nulldelimiter"].concat(t.baseSizingClasses());return Lt(e.concat(r))},xe=function(t,e,r){if(!t)return Lt();if(ne[t.type]){let n=ne[t.type](t,e);if(r&&e.size!==r.size){n=Lt(e.sizingClasses(r),[n],e);const t=e.sizeMultiplier/r.sizeMultiplier;n.height*=t,n.depth*=t}return n}throw new n("Got group of unknown type: '"+t.type+"'")};function we(t,e){const r=Lt(["katex-base"],t,e),n=Lt(["katex-strut"]);return n.style.height=I(r.height+r.depth),r.depth&&(n.style.verticalAlign=I(-r.depth)),r.children.unshift(n),r}function ve(t,e){let r=null;1===t.length&&"tag"===t[0].type&&(r=t[0].tag,t=t[0].body);const n=pe(t,e,"root");let o;2===n.length&&n[1].hasClass("katex-tag")&&(o=n.pop());const s=[];let a,i=[];for(let t=0;t<n.length;t++)if(i.push(n[t]),n[t].hasClass("mbin")||n[t].hasClass("mrel")||n[t].hasClass("allowbreak")){let r=!1;for(;t<n.length-1&&n[t+1].hasClass("mspace")&&!n[t+1].hasClass("katex-newline");)t++,i.push(n[t]),n[t].hasClass("nobreak")&&(r=!0);r||(s.push(we(i,e)),i=[])}else n[t].hasClass("katex-newline")&&(i.pop(),i.length>0&&(s.push(we(i,e)),i=[]),s.push(n[t]));i.length>0&&s.push(we(i,e)),r?(a=we(pe(r,e,!0),e),a.classes=["katex-tag"],s.push(a)):o&&s.push(o);const l=Lt(["katex-html"],s);if(l.setAttribute("aria-hidden","true"),a){const t=a.children[0];t.style.height=I(l.height+l.depth),l.depth&&(t.style.verticalAlign=I(-l.depth))}return l}function ke(t){return new T(t)}class Se{constructor(t,e,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=e||[],this.classes=r||[]}setAttribute(t,e){this.attributes[t]=e}getAttribute(t){return this.attributes[t]}toNode(){const t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const e of Object.entries(this.attributes)){const r=e[0],n=e[1];t.setAttribute(r,n)}this.classes.length>0&&(t.className=E(this.classes));for(let e=0;e<this.children.length;e++)if(this.children[e]instanceof ze&&this.children[e+1]instanceof ze){let r=this.children[e].toText()+this.children[++e].toText();for(;this.children[e+1]instanceof ze;)r+=this.children[++e].toText();t.appendChild(new ze(r).toNode())}else t.appendChild(this.children[e].toNode());return t}toMarkup(){let t="<"+this.type;for(const e of Object.entries(this.attributes)){const r=e[0],n=e[1];t+=" "+r+'="',t+=i(n),t+='"'}this.classes.length>0&&(t+=' class ="'+i(E(this.classes))+'"'),t+=">";for(let e=0;e<this.children.length;e++)t+=this.children[e].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map((t=>t.toText())).join("")}}class ze{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return i(this.toText())}toText(){return this.text}}class Ae{constructor(t){this.width=void 0,this.character=void 0,this.width=t,this.character=t>=.05555&&t<=.05556?" ":t>=.1666&&t<=.1667?" ":t>=.2222&&t<=.2223?" ":t>=.2777&&t<=.2778?"  ":t>=-.05556&&t<=-.05555?" ⁣":t>=-.1667&&t<=-.1666?" ⁣":t>=-.2223&&t<=-.2222?" ⁣":t>=-.2778&&t<=-.2777?" ⁣":null}toNode(){if(this.character)return document.createTextNode(this.character);{const t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",I(this.width)),t}}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+I(this.width)+'"/>'}toText(){return this.character?this.character:" "}}const Me=new Set(["\\imath","\\jmath"]),_e=new Set(["mrow","mtable"]),Te=function(t,e,r){var n,o;return tt[e][t]&&tt[e][t].replace&&55349!==t.charCodeAt(0)&&(!Object.prototype.hasOwnProperty.call(bt,t)||"tt"!==(null==r||null==(n=r.fontFamily)?void 0:n.slice(4,6))&&"tt"!==(null==r||null==(o=r.font)?void 0:o.slice(4,6)))&&(t=tt[e][t].replace),new ze(t)},qe=function(t){return 1===t.length?t[0]:new Se("mrow",t)},Ce={mathit:"italic",boldsymbol:t=>"textord"===t.type?"bold":"bold-italic",mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},Be=(t,e)=>{if("text"===t.mode){if("texttt"===e.fontFamily)return"monospace";if("textsf"===e.fontFamily)return"textit"===e.fontShape&&"textbf"===e.fontWeight?"sans-serif-bold-italic":"textit"===e.fontShape?"sans-serif-italic":"textbf"===e.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===e.fontShape&&"textbf"===e.fontWeight)return"bold-italic";if("textit"===e.fontShape)return"italic";if("textbf"===e.fontWeight)return"bold"}const r=e.font;if(!r||"mathnormal"===r)return null;const n=t.mode,o=Ce[r];if(o)return"function"==typeof o?o(t):o;let s=t.text;if(Me.has(s))return null;if(tt[n][s]){const t=tt[n][s].replace;t&&(s=t)}return K(s,Wt[r].fontName,n)?Wt[r].variant:null};function Oe(t){if(!t)return!1;if("mi"===t.type&&1===t.children.length){const e=t.children[0];return e instanceof ze&&"."===e.text}if("mo"===t.type&&1===t.children.length&&"true"===t.getAttribute("separator")&&"0em"===t.getAttribute("lspace")&&"0em"===t.getAttribute("rspace")){const e=t.children[0];return e instanceof ze&&","===e.text}return!1}const Ie=function(t,e,r){if(1===t.length){const n=$e(t[0],e);return r&&n instanceof Se&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}const n=[];let o;for(let r=0;r<t.length;r++){const s=$e(t[r],e);if(s instanceof Se&&o instanceof Se){if("mtext"===s.type&&"mtext"===o.type&&s.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...s.children);continue}if("mn"===s.type&&"mn"===o.type){o.children.push(...s.children);continue}if(Oe(s)&&"mn"===o.type){o.children.push(...s.children);continue}if("mn"===s.type&&Oe(o))s.children=[...o.children,...s.children],n.pop();else if(("msup"===s.type||"msub"===s.type)&&s.children.length>=1&&("mn"===o.type||Oe(o))){const t=s.children[0];t instanceof Se&&"mn"===t.type&&(t.children=[...o.children,...t.children],n.pop())}else if("mi"===o.type&&1===o.children.length){const t=o.children[0];if(t instanceof ze&&"̸"===t.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){const t=s.children[0];t instanceof ze&&t.text.length>0&&(t.text=t.text.slice(0,1)+"̸"+t.text.slice(1),n.pop())}}}n.push(s),o=s}return n},Ee=function(t,e,r){return qe(Ie(t,e,r))},$e=function(t,e){if(!t)return new Se("mrow");if(oe[t.type])return oe[t.type](t,e);throw new n("Got group of unknown type: '"+t.type+"'")};function Re(t,e,r,n,o){const s=Ie(t,r);let a;a=1===s.length&&s[0]instanceof Se&&_e.has(s[0].type)?s[0]:new Se("mrow",s);const i=new Se("annotation",[new ze(e)]);i.setAttribute("encoding","application/x-tex");const l=new Se("semantics",[a,i]),c=new Se("math",[l]);return c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&c.setAttribute("display","block"),Lt([o?"katex":"katex-mathml"],[c])}const He=[[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]],De=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ne=function(t,e){return e.size<2?t:He[t-1][e.size-1]};class Le{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||Le.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=De[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){const e={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(e,t),new Le(e)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Ne(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:De[t-1]})}havingBaseStyle(t){t=t||this.style.text();const e=Ne(Le.BASESIZE,t);return this.size===e&&this.textSize===Le.BASESIZE&&this.style===t?this:this.extend({style:t,size:e})}havingBaseSizing(){let t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["katex-sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Le.BASESIZE?["katex-sizing","reset-size"+this.size,"size"+Le.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(t){let e;if(e=t>=5?0:t>=3?1:2,!J[e]){const t=J[e]={cssEmPerMu:Y.quad[e]/18};for(const r of Object.keys(Y))t[r]=Y[r][e]}return J[e]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Le.BASESIZE=6;var Pe=Le;const Fe=function(t){return new Pe({style:t.displayMode?k.DISPLAY:k.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Ge=function(t,e){if(e.displayMode){const r=["katex-display"];e.leqno&&r.push("leqno"),e.fleqn&&r.push("fleqn"),t=Lt(r,[t])}return t},Ve={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Ue=function(t){const e=new Se("mo",[new ze(Ve[t.replace(/^\\/,"")])]);return e.setAttribute("stretchy","true"),e},Xe={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},je=new Set(["widehat","widecheck","widetilde","utilde"]),We=function(t,e){const r=function(){let r=4e5;const n=t.label.slice(1);if(je.has(n)&&"base"in t){const o="ordgroup"===t.base.type?t.base.body.length:1;let s,a,i;if(o>5)"widehat"===n||"widecheck"===n?(s=420,r=2364,i=.42,a=n+"4"):(s=312,r=2340,i=.34,a="tilde4");else{const t=[1,1,2,2,3,3][o];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][t],s=[0,239,300,360,420][t],i=[0,.24,.3,.3,.36,.42][t],a=n+t):(r=[0,600,1033,2339,2340][t],s=[0,260,286,306,312][t],i=[0,.26,.286,.3,.306,.34][t],a="tilde"+t)}const l=new X(a),c=new U([l],{width:"100%",height:I(i),viewBox:"0 0 "+r+" "+s,preserveAspectRatio:"none"});return{span:Pt([],[c],e),minWidth:0,height:i}}{const t=[],o=Xe[n];if(!o)throw new Error('No SVG data for "'+n+'".');const s=o[0],a=o[1],i=o[2],l=i/1e3,c=s.length;let h,u;if(1===c){if(4!==o.length)throw new Error('Expected 4-tuple for single-path SVG data "'+n+'".');h=["hide-tail"],u=[o[3]]}else if(2===c)h=["halfarrow-left","halfarrow-right"],u=["xMinYMin","xMaxYMin"];else{if(3!==c)throw new Error("Correct katexImagesData or update code here to support\n "+c+" children.");h=["brace-left","brace-center","brace-right"],u=["xMinYMin","xMidYMin","xMaxYMin"]}for(let n=0;n<c;n++){const o=new X(s[n]),m=new U([o],{width:"400em",height:I(l),viewBox:"0 0 "+r+" "+i,preserveAspectRatio:u[n]+" slice"}),p=Pt([h[n]],[m],e);if(1===c)return{span:p,minWidth:a,height:l};p.style.height=I(l),t.push(p)}return{span:Lt(["katex-stretchy"],t,e),minWidth:a,height:l}}}(),n=r.span,o=r.minWidth,s=r.height;return n.height=s,n.style.height=I(s),o>0&&(n.style.minWidth=I(o)),n},Ye=new Set(["bin","close","inner","open","punct","rel"]),Ze=new Set(["accent-token","mathord","op-token","spacing","textord"]);function Ke(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function Je(t){const e=Qe(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function Qe(t){return"atom"===t.type||Ze.has(t.type)?t:null}function tr(t,e,r){let o="";for(const s of t.body)if("textord"===s.type)o+=s.text;else{if(!r||"spacing"!==s.type||" "!==s.text)throw new n(e,t);o+=" "}return o}const er=t=>{return t instanceof V?t:((e=t)instanceof L||e instanceof P||e instanceof T)&&1===t.children.length?er(t.children[0]):void 0;var e},rr=(t,e)=>{let r,n,o;t&&"supsub"===t.type?(n=Ke(t.base,"accent"),r=n.base,t.base=r,o=function(t){if(t instanceof L)return t;throw new Error("Expected span<HtmlDomNode> but got "+String(t)+".")}(xe(t,e)),t.base=n):(n=Ke(t,"accent"),r=n.base);const s=xe(r,e.havingCrampedStyle());let a=0;var i,l;n.isShifty&&h(r)&&(a=null!=(i=null==(l=er(s))?void 0:l.skew)?i:0);const c="\\c"===n.label;let u,m=c?s.height+s.depth:Math.min(s.height,e.fontMetrics().xHeight);if(n.isStretchy)u=We(n,e),u=Ut({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:u,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+I(2*a)+")",marginLeft:I(2*a)}:void 0}]});else{let t,r;"\\vec"===n.label?(t=Zt("vec",e),r=Yt.vec[1]):(t=Rt({type:"textord",mode:n.mode,text:n.label},e),t=function(t){if(t instanceof V)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}(t),t.italic=0,r=t.width,c&&(m+=t.depth)),u=Lt(["accent-body"],[t]);const o="\\textcircled"===n.label;o&&(u.classes.push("accent-full"),m=s.height);let i=a;o||(i-=r/2),u.style.left=I(i),"\\textcircled"===n.label&&(u.style.top=".2em"),u=Ut({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-m},{type:"elem",elem:u}]})}const p=Lt(["mord","katex-accent"],[u],e);return o?(o.children[0]=p,o.height=Math.max(p.height,o.height),o.classes[0]="mord",o):p},nr=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((t=>"\\"+t)).join("|"));se({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"],numArgs:1,handler:(t,e)=>{const r=ie(e[0]),n=!nr.test(t.funcName),o=!n||"\\widehat"===t.funcName||"\\widetilde"===t.funcName||"\\widecheck"===t.funcName;return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:n,isShifty:o,base:r}},htmlBuilder:rr,mathmlBuilder:(t,e)=>{const r=t.isStretchy?Ue(t.label):new Se("mo",[Te(t.label,t.mode)]),n=new Se("mover",[$e(t.base,e),r]);return n.setAttribute("accent","true"),n}}),se({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"],handler:(t,e)=>{const r=e[0];let n=t.parser.mode;return"math"===n&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}}}),se({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],numArgs:1,handler:(t,e)=>{let r=t.parser,n=t.funcName;const o=e[0];return{type:"accentUnder",mode:r.mode,label:n,base:o}},htmlBuilder:(t,e)=>{const r=xe(t.base,e),n=We(t,e),o="\\utilde"===t.label?.12:0,s=Ut({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:r}]});return Lt(["mord","accentunder"],[s],e)},mathmlBuilder:(t,e)=>{const r=Ue(t.label),n=new Se("munder",[$e(t.base,e),r]);return n.setAttribute("accentunder","true"),n}});const or=t=>{const e=new Se("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};se({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"],numArgs:1,numOptionalArgs:1,handler(t,e,r){let n=t.parser,o=t.funcName;return{type:"xArrow",mode:n.mode,label:o,body:e[0],below:r[0]}},htmlBuilder(t,e){const r=e.style;let n=e.havingStyle(r.sup());const o=Vt(xe(t.body,n,e),e),s="\\x"===t.label.slice(0,2)?"x":"cd";let a;o.classes.push(s+"-arrow-pad"),t.below&&(n=e.havingStyle(r.sub()),a=Vt(xe(t.below,n,e),e),a.classes.push(s+"-arrow-pad"));const i=We(t,e),l=-e.fontMetrics().axisHeight+.5*i.height;let c,h=-e.fontMetrics().axisHeight-.5*i.height-.111;if((o.depth>.25||"\\xleftequilibrium"===t.label)&&(h-=o.depth),a){const t=-e.fontMetrics().axisHeight+a.height+.5*i.height+.111;c=Ut({positionType:"individualShift",children:[{type:"elem",elem:o,shift:h},{type:"elem",elem:i,shift:l,wrapperClasses:["svg-align"]},{type:"elem",elem:a,shift:t}]})}else c=Ut({positionType:"individualShift",children:[{type:"elem",elem:o,shift:h},{type:"elem",elem:i,shift:l,wrapperClasses:["svg-align"]}]});return Lt(["mrel","x-arrow"],[c],e)},mathmlBuilder(t,e){const r=Ue(t.label);let n;if(r.setAttribute("minsize","x"===t.label.charAt(0)?"1.75em":"3.0em"),t.body){const o=or($e(t.body,e));if(t.below){const s=or($e(t.below,e));n=new Se("munderover",[r,s,o])}else n=new Se("mover",[r,o])}else if(t.below){const o=or($e(t.below,e));n=new Se("munder",[r,o])}else n=or(),n=new Se("mover",[r,n]);return n}}),se({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],numArgs:1,primitive:!0,handler(t,e){let r=t.parser,n=t.funcName;const o=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:le(o),isCharacterBox:h(o)}},htmlBuilder:function(t,e){const r=pe(t.body,e,!0);return Lt([t.mclass],r,e)},mathmlBuilder:function(t,e){let r;const n=Ie(t.body,e);return"minner"===t.mclass?r=new Se("mpadded",n):"mord"===t.mclass?t.isCharacterBox?(r=n[0],r.type="mi"):r=new Se("mi",n):(t.isCharacterBox?(r=n[0],r.type="mo"):r=new Se("mo",n),"mbin"===t.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===t.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"!==t.mclass&&"mclose"!==t.mclass||(r.attributes.lspace="0em",r.attributes.rspace="0em")),r}});const sr=t=>{const e="ordgroup"===t.type&&t.body.length?t.body[0]:t;return"atom"!==e.type||"bin"!==e.family&&"rel"!==e.family?"mord":"m"+e.family};se({type:"mclass",names:["\\@binrel"],numArgs:2,handler:(t,e)=>({type:"mclass",mode:t.parser.mode,mclass:sr(e[0]),body:le(e[1]),isCharacterBox:h(e[1])})}),se({type:"mclass",names:["\\stackrel","\\overset","\\underset"],numArgs:2,handler(t,e){let r=t.parser,n=t.funcName;const o=e[1],s=e[0];let a;a="\\stackrel"!==n?sr(o):"mrel";const i={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==n,body:le(o)},l="\\underset"===n?{type:"supsub",mode:s.mode,base:i,sub:s}:{type:"supsub",mode:s.mode,base:i,sup:s};return{type:"mclass",mode:r.mode,mclass:a,body:[l],isCharacterBox:h(l)}}}),se({type:"pmb",names:["\\pmb"],numArgs:1,allowedInText:!0,handler:(t,e)=>({type:"pmb",mode:t.parser.mode,mclass:sr(e[0]),body:le(e[0])}),htmlBuilder(t,e){const r=pe(t.body,e,!0),n=Lt([t.mclass],r,e);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(t,e){const r=Ie(t.body,e),n=new Se("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});const ar={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},ir=t=>"textord"===t.type&&"@"===t.text;function lr(t,e,r){const n=ar[t];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{const t={type:"atom",text:n,mode:"math",family:"rel"},o={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[e[0]],[]),r.callFunction("\\Big",[t],[]),r.callFunction("\\\\cdright",[e[1]],[])]};return r.callFunction("\\\\cdparent",[o],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const t={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[t],[])}default:return{type:"textord",text:" ",mode:"math"}}}se({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],numArgs:1,handler(t,e){let r=t.parser,n=t.funcName;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:e[0]}},htmlBuilder(t,e){const r=e.havingStyle(e.style.sup()),n=Vt(xe(t.label,r,e),e);return n.classes.push("cd-label-"+t.side),n.style.bottom=I(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(t,e){let r=new Se("mrow",[$e(t.label,e)]);return r=new Se("mpadded",[r]),r.setAttribute("width","0"),"left"===t.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new Se("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),se({type:"cdlabelparent",names:["\\\\cdparent"],numArgs:1,handler:(t,e)=>({type:"cdlabelparent",mode:t.parser.mode,fragment:e[0]}),htmlBuilder(t,e){const r=Vt(xe(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(t,e)=>new Se("mrow",[$e(t.fragment,e)])}),se({type:"textord",names:["\\@char"],numArgs:1,allowedInText:!0,handler(t,e){let r=t.parser;const o=tr(Ke(e[0],"ordgroup"),"\\@char has non-numeric argument");let s,a=parseInt(o);if(isNaN(a))throw new n("\\@char has non-numeric argument "+o);if(a<0||a>=1114111)throw new n("\\@char with invalid code point "+o);return a<=65535?s=String.fromCharCode(a):(a-=65536,s=String.fromCharCode(55296+(a>>10),56320+(1023&a))),{type:"textord",mode:r.mode,text:s}}}),se({type:"color",names:["\\textcolor"],numArgs:2,allowedInText:!0,argTypes:["color","original"],handler(t,e){let r=t.parser;const n=Ke(e[0],"color-token").color,o=e[1];return{type:"color",mode:r.mode,color:n,body:le(o)}},htmlBuilder:(t,e)=>{const r=pe(t.body,e.withColor(t.color),!1);return Gt(r)},mathmlBuilder:(t,e)=>{const r=Ie(t.body,e.withColor(t.color)),n=new Se("mstyle",r);return n.setAttribute("mathcolor",t.color),n}}),se({type:"color",names:["\\color"],numArgs:1,allowedInText:!0,argTypes:["color"],handler(t,e){let r=t.parser,n=t.breakOnTokenText;const o=Ke(e[0],"color-token").color;r.gullet.macros.set("\\current@color",o);const s=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:o,body:s}}}),se({type:"cr",names:["\\\\"],numArgs:0,numOptionalArgs:0,allowedInText:!0,handler(t,e,r){let n=t.parser;const o="["===n.gullet.future().text?n.parseSizeGroup(!0):null,s=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:s,size:o&&Ke(o,"size").value}},htmlBuilder(t,e){const r=Lt(["mspace"],[],e);return t.newLine&&(r.classes.push("katex-newline"),t.size&&(r.style.marginTop=I(O(t.size,e)))),r},mathmlBuilder(t,e){const r=new Se("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",I(O(t.size,e)))),r}});const cr={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},hr=t=>{const e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new n("Expected a control sequence",t);return e},ur=(t,e,r,n)=>{let o=t.gullet.macros.get(r.text);null==o&&(r.noexpand=!0,o={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,o,n)};se({type:"internal",names:["\\global","\\long","\\\\globallong"],numArgs:0,allowedInText:!0,handler(t){let e=t.parser,r=t.funcName;e.consumeSpaces();const o=e.fetch();if(cr[o.text])return"\\global"!==r&&"\\\\globallong"!==r||(o.text=cr[o.text]),Ke(e.parseFunction(),"internal");throw new n("Invalid token after macro prefix",o)}}),se({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],numArgs:0,allowedInText:!0,primitive:!0,handler(t){let e=t.parser,r=t.funcName,o=e.gullet.popToken();const s=o.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(s))throw new n("Expected a control sequence",o);let a,i=0;const l=[[]];for(;"{"!==e.gullet.future().text;)if(o=e.gullet.popToken(),"#"===o.text){if("{"===e.gullet.future().text){a=e.gullet.future(),l[i].push("{");break}if(o=e.gullet.popToken(),!/^[1-9]$/.test(o.text))throw new n('Invalid argument number "'+o.text+'"');if(parseInt(o.text)!==i+1)throw new n('Argument number "'+o.text+'" out of order');i++,l.push([])}else{if("EOF"===o.text)throw new n("Expected a macro definition");l[i].push(o.text)}let c=e.gullet.consumeArg().tokens;return a&&c.unshift(a),"\\edef"!==r&&"\\xdef"!==r||(c=e.gullet.expandTokens(c),c.reverse()),e.gullet.macros.set(s,{tokens:c,numArgs:i,delimiters:l},r===cr[r]),{type:"internal",mode:e.mode}}}),se({type:"internal",names:["\\let","\\\\globallet"],numArgs:0,allowedInText:!0,primitive:!0,handler(t){let e=t.parser,r=t.funcName;const n=hr(e.gullet.popToken());e.gullet.consumeSpaces();const o=(t=>{let e=t.gullet.popToken();return"="===e.text&&(e=t.gullet.popToken()," "===e.text&&(e=t.gullet.popToken())),e})(e);return ur(e,n,o,"\\\\globallet"===r),{type:"internal",mode:e.mode}}}),se({type:"internal",names:["\\futurelet","\\\\globalfuture"],numArgs:0,allowedInText:!0,primitive:!0,handler(t){let e=t.parser,r=t.funcName;const n=hr(e.gullet.popToken()),o=e.gullet.popToken(),s=e.gullet.popToken();return ur(e,n,s,"\\\\globalfuture"===r),e.gullet.pushToken(s),e.gullet.pushToken(o),{type:"internal",mode:e.mode}}});const mr=function(t,e,r){const n=K(tt.math[t]&&tt.math[t].replace||t,e,r);if(!n)throw new Error("Unsupported symbol "+t+" and font size "+e+".");return n},pr=function(t,e,r,n){const o=r.havingBaseStyle(e),s=Lt(n.concat(o.sizingClasses(r)),[t],r),a=o.sizeMultiplier/r.sizeMultiplier;return s.height*=a,s.depth*=a,s.maxFontSize=o.sizeMultiplier,s},dr=function(t,e,r){const n=e.havingBaseStyle(r),o=(1-e.sizeMultiplier/n.sizeMultiplier)*e.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=I(o),t.height-=o,t.depth+=o},fr=function(t,e,r,n,o,s){const a=function(t,e,r,n){return Et(t,"Size"+e+"-Regular",r,n)}(t,e,o,n),i=pr(Lt(["delimsizing","size"+e],[a],n),k.TEXT,n,s);return r&&dr(i,n,k.TEXT),i},gr=function(t,e,r){let n;return n="Size1-Regular"===e?"delim-size1":"delim-size4",{type:"elem",elem:Lt(["delimsizinginner",n],[Lt([],[Et(t,e,r)])])}},br=function(t,e,r){const n=W["Size4-Regular"][t.charCodeAt(0)]?W["Size4-Regular"][t.charCodeAt(0)][4]:W["Size1-Regular"][t.charCodeAt(0)][4],o=new X("inner",function(t,e){switch(t){case"⎜":return M("M291 0 H417 V"+e+" H291z");case"∣":return M("M145 0 H188 V"+e+" H145z");case"∥":return M("M145 0 H188 V"+e+" H145z")+M("M367 0 H410 V"+e+" H367z");case"⎟":return M("M457 0 H583 V"+e+" H457z");case"⎢":return M("M319 0 H403 V"+e+" H319z");case"⎥":return M("M263 0 H347 V"+e+" H263z");case"⎪":return M("M384 0 H504 V"+e+" H384z");case"⏐":return M("M312 0 H355 V"+e+" H312z");case"‖":return M("M257 0 H300 V"+e+" H257z")+M("M478 0 H521 V"+e+" H478z");default:return""}}(t,Math.round(1e3*e))),s=new U([o],{width:I(n),height:I(e),style:"width:"+I(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*e),preserveAspectRatio:"xMinYMin"}),a=Pt([],[s],r);return a.height=e,a.style.height=I(e),a.style.width=I(n),{type:"elem",elem:a}},yr={type:"kern",size:-.008},xr=new Set(["|","\\lvert","\\rvert","\\vert"]),wr=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),vr=function(t,e,r,n,o,s){let a,i,l,c,h="",u=0;a=l=c=t,i=null;let m="Size1-Regular";"\\uparrow"===t?l=c="⏐":"\\Uparrow"===t?l=c="‖":"\\downarrow"===t?a=l="⏐":"\\Downarrow"===t?a=l="‖":"\\updownarrow"===t?(a="\\uparrow",l="⏐",c="\\downarrow"):"\\Updownarrow"===t?(a="\\Uparrow",l="‖",c="\\Downarrow"):xr.has(t)?(l="∣",h="vert",u=333):wr.has(t)?(l="∥",h="doublevert",u=556):"["===t||"\\lbrack"===t?(a="⎡",l="⎢",c="⎣",m="Size4-Regular",h="lbrack",u=667):"]"===t||"\\rbrack"===t?(a="⎤",l="⎥",c="⎦",m="Size4-Regular",h="rbrack",u=667):"\\lfloor"===t||"⌊"===t?(l=a="⎢",c="⎣",m="Size4-Regular",h="lfloor",u=667):"\\lceil"===t||"⌈"===t?(a="⎡",l=c="⎢",m="Size4-Regular",h="lceil",u=667):"\\rfloor"===t||"⌋"===t?(l=a="⎥",c="⎦",m="Size4-Regular",h="rfloor",u=667):"\\rceil"===t||"⌉"===t?(a="⎤",l=c="⎥",m="Size4-Regular",h="rceil",u=667):"("===t||"\\lparen"===t?(a="⎛",l="⎜",c="⎝",m="Size4-Regular",h="lparen",u=875):")"===t||"\\rparen"===t?(a="⎞",l="⎟",c="⎠",m="Size4-Regular",h="rparen",u=875):"\\{"===t||"\\lbrace"===t?(a="⎧",i="⎨",c="⎩",l="⎪",m="Size4-Regular"):"\\}"===t||"\\rbrace"===t?(a="⎫",i="⎬",c="⎭",l="⎪",m="Size4-Regular"):"\\lgroup"===t||"⟮"===t?(a="⎧",c="⎩",l="⎪",m="Size4-Regular"):"\\rgroup"===t||"⟯"===t?(a="⎫",c="⎭",l="⎪",m="Size4-Regular"):"\\lmoustache"===t||"⎰"===t?(a="⎧",c="⎭",l="⎪",m="Size4-Regular"):"\\rmoustache"!==t&&"⎱"!==t||(a="⎫",c="⎩",l="⎪",m="Size4-Regular");const p=mr(a,m,o),d=p.height+p.depth,f=mr(l,m,o),g=f.height+f.depth,b=mr(c,m,o),y=b.height+b.depth;let x=0,w=1;if(null!==i){const t=mr(i,m,o);x=t.height+t.depth,w=2}const v=d+y+x,S=v+Math.max(0,Math.ceil((e-v)/(w*g)))*w*g;let z=n.fontMetrics().axisHeight;r&&(z*=n.sizeMultiplier);const A=S/2-z,M=[];if(h.length>0){const t=S-d-y,e=Math.round(1e3*S),r=function(t,e){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+e+" v1759 v84 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+e+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+e+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+e+" v1759 h84z";case"vert":return"M145 15 v585 v"+e+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-e+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+e+" v585 h43z";case"doublevert":return"M145 15 v585 v"+e+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-e+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+e+" v585 h43z\nM367 15 v585 v"+e+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-e+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+e+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+e+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+e+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+e+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+e+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+e+" v602 h84z\nM403 1759 V0 H319 V1759 v"+e+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+e+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+e+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(e+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(e+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(e+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(e+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(h,Math.round(1e3*t)),o=new X(h,r),s=I(u/1e3),a=I(e/1e3),i=new U([o],{width:s,height:a,viewBox:"0 0 "+u+" "+e}),l=Pt([],[i],n);l.height=e/1e3,l.style.width=s,l.style.height=a,M.push({type:"elem",elem:l})}else{if(M.push(gr(c,m,o)),M.push(yr),null===i){const t=S-d-y+.016;M.push(br(l,t,n))}else{const t=(S-d-y-x)/2+.016;M.push(br(l,t,n)),M.push(yr),M.push(gr(i,m,o)),M.push(yr),M.push(br(l,t,n))}M.push(yr),M.push(gr(a,m,o))}const _=n.havingBaseStyle(k.TEXT),T=Ut({positionType:"bottom",positionData:A,children:M});return pr(Lt(["delimsizing","mult"],[T],_),k.TEXT,n,s)},kr=.08,Sr=function(t,e,r,n,o){const s=function(t,e,r){e*=1e3;let n="";switch(t){case"sqrtMain":n=function(t,e){return"M95,"+(622+t+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+t/2.075+" -"+t+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+t)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+t)+" 80h400000v"+(40+t)+"h-400000z"}(e);break;case"sqrtSize1":n=function(t,e){return"M263,"+(601+t+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+t/2.084+" -"+t+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+t)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+t)+" 80h400000v"+(40+t)+"h-400000z"}(e);break;case"sqrtSize2":n=function(t,e){return"M983 "+(10+t+80)+"\nl"+t/3.13+" -"+t+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+t)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+t)+" 80h400000v"+(40+t)+"h-400000z"}(e);break;case"sqrtSize3":n=function(t,e){return"M424,"+(2398+t+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+t/4.223+" -"+t+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+t)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+t)+" 80\nh400000v"+(40+t)+"h-400000z"}(e);break;case"sqrtSize4":n=function(t,e){return"M473,"+(2713+t+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+t/5.298+" -"+t+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+t)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+t)+" 80h400000v"+(40+t)+"H1017.7z"}(e);break;case"sqrtTall":n=function(t,e,r){return"M702 "+(t+80)+"H400000"+(40+t)+"\nH742v"+(r-54-80-t)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 80H400000v"+(40+t)+"H742z"}(e,0,r)}return n}(t,n,r),a=new X(t,s),i=new U([a],{width:"400em",height:I(e),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Pt(["hide-tail"],[i],o)},zr=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),Ar=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Mr=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),_r=[0,1.2,1.8,2.4,3],Tr=function(t,e,r,o,s){if("<"===t||"\\lt"===t||"⟨"===t?t="\\langle":">"!==t&&"\\gt"!==t&&"⟩"!==t||(t="\\rangle"),zr.has(t)||Mr.has(t))return fr(t,e,!1,r,o,s);if(Ar.has(t))return vr(t,_r[e],!1,r,o,s);throw new n("Illegal delimiter: '"+t+"'")},qr=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Cr=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"stack"}],Br=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Or=function(t){if("small"===t.type)return"Main-Regular";if("large"===t.type)return"Size"+t.size+"-Regular";if("stack"===t.type)return"Size4-Regular";{const e=t.type;throw new Error("Add support for delim type '"+e+"' here.")}},Ir=function(t,e,r,n){for(let o=Math.min(2,3-n.style.size);o<r.length;o++){const s=r[o];if("stack"===s.type)break;const a=mr(t,Or(s),"math");let i=a.height+a.depth;if("small"===s.type&&(i*=n.havingBaseStyle(s.style).sizeMultiplier),i>e)return s}return r[r.length-1]},Er=function(t,e,r,n,o,s){let a;"<"===t||"\\lt"===t||"⟨"===t?t="\\langle":">"!==t&&"\\gt"!==t&&"⟩"!==t||(t="\\rangle"),a=Mr.has(t)?qr:zr.has(t)?Br:Cr;const i=Ir(t,e,a,n);return"small"===i.type?function(t,e,r,n,o,s){const a=Et(t,"Main-Regular",o,n),i=pr(a,e,n,s);return r&&dr(i,n,e),i}(t,i.style,r,n,o,s):"large"===i.type?fr(t,i.size,r,n,o,s):vr(t,e,r,n,o,s)},$r=function(t,e,r,n,o,s){const a=n.fontMetrics().axisHeight*n.sizeMultiplier,i=5/n.fontMetrics().ptPerEm,l=Math.max(e-a,r+a),c=Math.max(l/500*901,2*l-i);return Er(t,c,!0,n,o,s)},Rr={"\\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}},Hr=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function Dr(t){return"isMiddle"in t}function Nr(t,e){const r=Qe(t);if(r&&Hr.has(r.text))return r;throw new n(r?"Invalid delimiter '"+r.text+"' after '"+e.funcName+"'":"Invalid delimiter type '"+t.type+"'",t)}function Lr(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}se({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],numArgs:1,argTypes:["primitive"],handler:(t,e)=>{const r=Nr(ie(e[0]),t);return{type:"delimsizing",mode:t.parser.mode,size:Rr[t.funcName].size,mclass:Rr[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>"."===t.delim?Lt([t.mclass]):Tr(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{const e=[];"."!==t.delim&&e.push(Te(t.delim,t.mode));const r=new Se("mo",e);"mopen"===t.mclass||"mclose"===t.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");const n=I(_r[t.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}}),se({type:"leftright-right",names:["\\right"],numArgs:1,primitive:!0,handler:(t,e)=>{const r=t.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new n("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:Nr(e[0],t).text,color:r}}}),se({type:"leftright",names:["\\left"],numArgs:1,primitive:!0,handler:(t,e)=>{const r=Nr(e[0],t),n=t.parser;++n.leftrightDepth;const o=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);const s=Ke(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:o,left:r.text,right:s.delim,rightColor:s.color}},htmlBuilder:(t,e)=>{Lr(t);const r=pe(t.body,e,!0,["mopen","mclose"]);let n,o,s=0,a=0,i=!1;for(let t=0;t<r.length;t++)Dr(r[t])?i=!0:(s=Math.max(r[t].height,s),a=Math.max(r[t].depth,a));if(s*=e.sizeMultiplier,a*=e.sizeMultiplier,n="."===t.left?ye(e,["mopen"]):$r(t.left,s,a,e,t.mode,["mopen"]),r.unshift(n),i)for(let e=1;e<r.length;e++){const n=r[e];if(Dr(n)){const o=n.isMiddle;r[e]=$r(o.delim,s,a,o.options,t.mode,[])}}if("."===t.right)o=ye(e,["mclose"]);else{const r=t.rightColor?e.withColor(t.rightColor):e;o=$r(t.right,s,a,r,t.mode,["mclose"])}return r.push(o),Lt(["minner"],r,e)},mathmlBuilder:(t,e)=>{Lr(t);const r=Ie(t.body,e);if("."!==t.left){const e=new Se("mo",[Te(t.left,t.mode)]);e.setAttribute("fence","true"),r.unshift(e)}if("."!==t.right){const e=new Se("mo",[Te(t.right,t.mode)]);e.setAttribute("fence","true"),t.rightColor&&e.setAttribute("mathcolor",t.rightColor),r.push(e)}return qe(r)}}),se({type:"middle",names:["\\middle"],numArgs:1,primitive:!0,handler:(t,e)=>{const r=Nr(e[0],t);if(!t.parser.leftrightDepth)throw new n("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{let r;return"."===t.delim?r=ye(e,[]):(r=Tr(t.delim,1,e,t.mode,[]),r.isMiddle={delim:t.delim,options:e}),r},mathmlBuilder:(t,e)=>{const r="\\vert"===t.delim||"|"===t.delim?Te("|","text"):Te(t.delim,t.mode),n=new Se("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}}),se({type:"enclose",names:["\\colorbox"],numArgs:2,allowedInText:!0,argTypes:["color","hbox"],handler(t,e,r){let n=t.parser,o=t.funcName;const s=Ke(e[0],"color-token").color,a=e[1];return{type:"enclose",mode:n.mode,label:o,backgroundColor:s,body:a}},htmlBuilder:(t,e)=>{const r=Vt(xe(t.body,e),e),n=t.label.slice(1);let o,s,a=e.sizeMultiplier;const i=h(t.body);if("sout"===n)o=Lt(["katex-stretchy","katex-sout"]),o.height=e.fontMetrics().defaultRuleThickness/a,s=-.5*e.fontMetrics().xHeight;else if("phase"===n){const t=O({number:.6,unit:"pt"},e),n=O({number:.35,unit:"ex"},e);a/=e.havingBaseSizing().sizeMultiplier;const i=r.height+r.depth+t+n;r.style.paddingLeft=I(i/2+t);const c=Math.floor(1e3*i*a),h="M400000 "+(l=c)+" H0 L"+l/2+" 0 l65 45 L145 "+(l-80)+" H400000z",u=new U([new X("phase",h)],{width:"400em",height:I(c/1e3),viewBox:"0 0 400000 "+c,preserveAspectRatio:"xMinYMin slice"});o=Pt(["hide-tail"],[u],e),o.style.height=I(i),s=r.depth+t+n}else{let a,l;/cancel/.test(n)?i||r.classes.push("cancel-pad"):"angl"===n?r.classes.push("anglpad"):r.classes.push("boxpad");let c=0;/box/.test(n)?(c=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),a=e.fontMetrics().fboxsep+("colorbox"===n?0:c),l=a):"angl"===n?(c=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),a=4*c,l=Math.max(0,.25-r.depth)):(a=i?.2:0,l=a),o=function(t,e,r,n,o){let s;const a=t.height+t.depth+r+n;if(/fbox|color|angl/.test(e)){if(s=Lt(["katex-stretchy",e],[],o),"fbox"===e){const t=o.color&&o.getColor();t&&(s.style.borderColor=t)}}else{const t=[];/^[bx]cancel$/.test(e)&&t.push(new j({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(e)&&t.push(new j({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const r=new U(t,{width:"100%",height:I(a)});s=Pt([],[r],o)}return s.height=a,s.style.height=I(a),s}(r,n,a,l,e),/fbox|boxed|fcolorbox/.test(n)?(o.style.borderStyle="solid",o.style.borderWidth=I(c)):"angl"===n&&.049!==c&&(o.style.borderTopWidth=I(c),o.style.borderRightWidth=I(c)),s=r.depth+l,t.backgroundColor&&(o.style.backgroundColor=t.backgroundColor,t.borderColor&&(o.style.borderColor=t.borderColor))}var l;let c;if(t.backgroundColor)c=Ut({positionType:"individualShift",children:[{type:"elem",elem:o,shift:s},{type:"elem",elem:r,shift:0}]});else{const t=/cancel|phase/.test(n)?["svg-align"]:[];c=Ut({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:o,shift:s,wrapperClasses:t}]})}return/cancel/.test(n)&&(c.height=r.height,c.depth=r.depth),/cancel/.test(n)&&!i?Lt(["mord","cancel-lap"],[c],e):Lt(["mord"],[c],e)},mathmlBuilder:(t,e)=>{let r;const n=new Se(t.label.includes("colorbox")?"mpadded":"menclose",[$e(t.body,e)]);switch(t.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),"\\fcolorbox"===t.label){const r=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);n.setAttribute("style","border: "+I(r)+" solid "+t.borderColor)}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return t.backgroundColor&&n.setAttribute("mathbackground",t.backgroundColor),n}}),se({type:"enclose",names:["\\fcolorbox"],numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"],handler(t,e,r){let n=t.parser,o=t.funcName;const s=Ke(e[0],"color-token").color,a=Ke(e[1],"color-token").color,i=e[2];return{type:"enclose",mode:n.mode,label:o,backgroundColor:a,borderColor:s,body:i}}}),se({type:"enclose",names:["\\fbox"],numArgs:1,argTypes:["hbox"],allowedInText:!0,handler:(t,e)=>({type:"enclose",mode:t.parser.mode,label:"\\fbox",body:e[0]})}),se({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],numArgs:1,handler(t,e){let r=t.parser,n=t.funcName;const o=e[0];return{type:"enclose",mode:r.mode,label:n,body:o}}}),se({type:"enclose",names:["\\sout"],numArgs:1,allowedInText:!0,handler(t,e){let r=t.parser,n=t.funcName;"math"===r.mode&&r.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");const o=e[0];return{type:"enclose",mode:r.mode,label:n,body:o}}}),se({type:"enclose",names:["\\angl"],numArgs:1,argTypes:["hbox"],allowedInText:!1,handler:(t,e)=>({type:"enclose",mode:t.parser.mode,label:"\\angl",body:e[0]})});const Pr={};function Fr(t){let e=t.type,r=t.names,n=t.props,o=t.handler,s=t.htmlBuilder,a=t.mathmlBuilder;const i={type:e,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:o};for(let t=0;t<r.length;++t)Pr[r[t]]=i;s&&(ne[e]=s),a&&(oe[e]=a)}const Gr={};function Vr(t,e){Gr[t]=e}class Ur{constructor(t,e,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=e,this.end=r}static range(t,e){return e?t&&t.loc&&e.loc&&t.loc.lexer===e.loc.lexer?new Ur(t.loc.lexer,t.loc.start,e.loc.end):null:t&&t.loc}}class Xr{constructor(t,e){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=e}range(t,e){return new Xr(e,Ur.range(this,t))}}function jr(t){const e=[];t.consumeSpaces();let r=t.fetch().text;for("\\relax"===r&&(t.consume(),t.consumeSpaces(),r=t.fetch().text);"\\hline"===r||"\\hdashline"===r;)t.consume(),e.push("\\hdashline"===r),t.consumeSpaces(),r=t.fetch().text;return e}const Wr=t=>{if(!t.parser.settings.displayMode)throw new n("{"+t.envName+"} can be used only in display mode.")},Yr=new Set(["gather","gather*"]);function Zr(t){if(!t.includes("ed"))return!t.includes("*")}function Kr(t,e,r){let o=e.hskipBeforeAndAfter,s=e.addJot,a=e.cols,i=e.arraystretch,l=e.colSeparationType,c=e.autoTag,h=e.singleRow,u=e.emptySingleRow,m=e.maxNumCols,p=e.leqno;if(t.gullet.beginGroup(),h||t.gullet.macros.set("\\cr","\\\\\\relax"),!i){const e=t.gullet.expandMacroAsText("\\arraystretch");if(null==e)i=1;else if(i=parseFloat(e),!i||i<0)throw new n("Invalid \\arraystretch: "+e)}t.gullet.beginGroup();let d=[];const f=[d],g=[],b=[],y=null!=c?[]:void 0;function x(){c&&t.gullet.macros.set("\\@eqnsw","1",!0)}function w(){y&&(t.gullet.macros.get("\\df@tag")?(y.push(t.subparse([new Xr("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):y.push(Boolean(c)&&"1"===t.gullet.macros.get("\\@eqnsw")))}for(x(),b.push(jr(t));;){const e=t.parseExpression(!1,h?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup();let o={type:"ordgroup",mode:t.mode,body:e};r&&(o={type:"styling",mode:t.mode,style:r,resetFont:!0,body:[o]}),d.push(o);const s=t.fetch().text;if("&"===s){if(m&&d.length===m){if(h||l)throw new n("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else{if("\\end"===s){w(),1===d.length&&"styling"===o.type&&1===o.body.length&&"ordgroup"===o.body[0].type&&0===o.body[0].body.length&&(f.length>1||!u)&&f.pop(),b.length<f.length+1&&b.push([]);break}if("\\\\"!==s)throw new n("Expected & or \\\\ or \\cr or \\end",t.nextToken);{let e;t.consume()," "!==t.gullet.future().text&&(e=t.parseSizeGroup(!0)),g.push(e?e.value:null),w(),b.push(jr(t)),d=[],f.push(d),x()}}}return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:t.mode,addJot:s,arraystretch:i,body:f,cols:a,rowGaps:g,hskipBeforeAndAfter:o,hLinesBeforeRow:b,colSeparationType:l,tags:y,leqno:p}}function Jr(t){return"d"===t.slice(0,1)?"display":"text"}const Qr=function(t,e){let r,o;const s=t.body.length,a=t.hLinesBeforeRow;let i=0;const l=new Array(s),c=[],h=Math.max(e.fontMetrics().arrayRuleWidth,e.minRuleThickness),u=1/e.fontMetrics().ptPerEm;let m=5*u;t.colSeparationType&&"small"===t.colSeparationType&&(m=e.havingStyle(k.SCRIPT).sizeMultiplier/e.sizeMultiplier*.2778);const p="CD"===t.colSeparationType?O({number:3,unit:"ex"},e):12*u,d=3*u,f=t.arraystretch*p,g=.7*f,b=.3*f;let y=0;function x(t){for(let e=0;e<t.length;++e)e>0&&(y+=.25),c.push({pos:y,isDashed:t[e]})}for(x(a[0]),r=0;r<t.body.length;++r){const n=t.body[r];let s=g,c=b;i<n.length&&(i=n.length);const h={cells:new Array(n.length),height:0,depth:0,pos:0};for(o=0;o<n.length;++o){const t=xe(n[o],e);c<t.depth&&(c=t.depth),s<t.height&&(s=t.height),h.cells[o]=t}const u=t.rowGaps[r];let m=0;u&&(m=O(u,e),m>0&&(m+=b,c<m&&(c=m),m=0)),t.addJot&&r<t.body.length-1&&(c+=d),h.height=s,h.depth=c,y+=s,h.pos=y,y+=c+m,l[r]=h,x(a[r+1])}const w=y/2+e.fontMetrics().axisHeight,v=t.cols||[],S=[];let z,A;const M=[];if(t.tags&&t.tags.some((t=>t)))for(r=0;r<s;++r){const n=l[r],o=n.pos-w,s=t.tags[r];let a;a=!0===s?Lt(["eqn-num"],[],e):Lt([],!1===s?[]:pe(s,e,!0),e),a.depth=n.depth,a.height=n.height,M.push({type:"elem",elem:a,shift:o})}for(o=0,A=0;o<i||A<v.length;++o,++A){var _;let a,c=v[A],u=!0;for(;"separator"===(null==(T=c)?void 0:T.type);){var T;if(u||(z=Lt(["arraycolsep"],[]),z.style.width=I(e.fontMetrics().doubleRuleSep),S.push(z)),"|"!==c.separator&&":"!==c.separator)throw new n("Invalid separator type: "+c.separator);{const t="|"===c.separator?"solid":"dashed",r=Lt(["vertical-separator"],[],e);r.style.height=I(y),r.style.borderRightWidth=I(h),r.style.borderRightStyle=t,r.style.margin="0 "+I(-h/2);const n=y-w;n&&(r.style.verticalAlign=I(-n)),S.push(r)}A++,c=v[A],u=!1}if(o>=i)continue;var q,C;(o>0||t.hskipBeforeAndAfter)&&(a=null!=(q=null==(C=c)?void 0:C.pregap)?q:m,0!==a&&(z=Lt(["arraycolsep"],[]),z.style.width=I(a),S.push(z)));const p=[];for(r=0;r<s;++r){const t=l[r],e=t.cells[o];if(!e)continue;const n=t.pos-w;e.depth=t.depth,e.height=t.height,p.push({type:"elem",elem:e,shift:n})}const d=Ut({positionType:"individualShift",children:p}),f=Lt(["col-align-"+((null==(_=c)?void 0:_.align)||"c")],[d]);var B,E;S.push(f),(o<i-1||t.hskipBeforeAndAfter)&&(a=null!=(B=null==(E=c)?void 0:E.postgap)?B:m,0!==a&&(z=Lt(["arraycolsep"],[]),z.style.width=I(a),S.push(z)))}let $=Lt(["mtable"],S);if(c.length>0){const t=Ft("katex-hline",e,h),r=Ft("katex-hdashline",e,h),n=[{type:"elem",elem:$,shift:0}];for(;c.length>0;){const e=c.pop(),o=e.pos-w;e.isDashed?n.push({type:"elem",elem:r,shift:o}):n.push({type:"elem",elem:t,shift:o})}$=Ut({positionType:"individualShift",children:n})}if(0===M.length)return Lt(["mord"],[$],e);{const t=Ut({positionType:"individualShift",children:M}),r=Lt(["katex-tag"],[t],e);return Gt([$,r])}},tn={c:"center ",l:"left ",r:"right "},en=function(t,e){const r=[],n=new Se("mtd",[],["mtr-glue"]),o=new Se("mtd",[],["mml-eqn-num"]);for(let s=0;s<t.body.length;s++){const a=t.body[s],i=[];for(let t=0;t<a.length;t++)i.push(new Se("mtd",[$e(a[t],e)]));t.tags&&t.tags[s]&&(i.unshift(n),i.push(n),t.leqno?i.unshift(o):i.push(o)),r.push(new Se("mtr",i))}let s=new Se("mtable",r);const a=.5===t.arraystretch?.1:.16+t.arraystretch-1+(t.addJot?.09:0);s.setAttribute("rowspacing",I(a));let i="",l="";if(t.cols&&t.cols.length>0){const e=t.cols;let r="",n=!1,o=0,a=e.length;"separator"===e[0].type&&(i+="top ",o=1),"separator"===e[e.length-1].type&&(i+="bottom ",a-=1);for(let t=o;t<a;t++){const o=e[t];"align"===o.type?(l+=tn[o.align],n&&(r+="none "),n=!0):"separator"===o.type&&n&&(r+="|"===o.separator?"solid ":"dashed ",n=!1)}s.setAttribute("columnalign",l.trim()),/[sd]/.test(r)&&s.setAttribute("columnlines",r.trim())}if("align"===t.colSeparationType){const e=t.cols||[];let r="";for(let t=1;t<e.length;t++)r+=t%2?"0em ":"1em ";s.setAttribute("columnspacing",r.trim())}else"alignat"===t.colSeparationType||"gather"===t.colSeparationType?s.setAttribute("columnspacing","0em"):"small"===t.colSeparationType?s.setAttribute("columnspacing","0.2778em"):"CD"===t.colSeparationType?s.setAttribute("columnspacing","0.5em"):s.setAttribute("columnspacing","1em");let c="";const h=t.hLinesBeforeRow;i+=h[0].length>0?"left ":"",i+=h[h.length-1].length>0?"right ":"";for(let t=1;t<h.length-1;t++)c+=0===h[t].length?"none ":h[t][0]?"dashed ":"solid ";return/[sd]/.test(c)&&s.setAttribute("rowlines",c.trim()),""!==i&&(s=new Se("menclose",[s]),s.setAttribute("notation",i.trim())),t.arraystretch&&t.arraystretch<1&&(s=new Se("mstyle",[s]),s.setAttribute("scriptlevel","1")),s},rn=function(t,e){t.envName.includes("ed")||Wr(t);const r=[],o="split"===t.envName,s=Kr(t.parser,{cols:r,addJot:!0,autoTag:o?void 0:Zr(t.envName),emptySingleRow:!0,colSeparationType:t.envName.includes("at")?"alignat":"align",maxNumCols:o?2:void 0,leqno:t.parser.settings.leqno},"display");let a=0,i=0;const l={type:"ordgroup",mode:t.mode,body:[]};if(e[0]&&"ordgroup"===e[0].type){const t="Number of columns should be a positive integer",r=tr(e[0],t);if(!/^[0-9]+$/.test(r)||Number(r)<1)throw new n(t,e[0]);a=Number(r),i=2*a}const c=!i;s.body.forEach((function(t){for(let e=1;e<t.length;e+=2){const r=Ke(t[e],"styling");Ke(r.body[0],"ordgroup").body.unshift(l)}if(c)i<t.length&&(i=t.length);else{const e=t.length/2;if(a<e)throw new n("Too many math in a row: expected "+a+", but got "+e,t[0])}}));for(let t=0;t<i;++t){let e="r",n=0;t%2==1?e="l":t>0&&c&&(n=1),r[t]={type:"align",align:e,pregap:n,postgap:0}}return s.colSeparationType=c?"align":"alignat",s};Fr({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){const r=(Qe(e[0])?[e[0]]:Ke(e[0],"ordgroup").body).map((function(t){const e=Je(t).text;if("lcr".includes(e))return{type:"align",align:e};if("|"===e)return{type:"separator",separator:"|"};if(":"===e)return{type:"separator",separator:":"};throw new n("Unknown column alignment: "+e,t)})),o={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Kr(t.parser,o,Jr(t.envName))},htmlBuilder:Qr,mathmlBuilder:en}),Fr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){const e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")];let r="c";const o={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===t.envName.charAt(t.envName.length-1)){const e=t.parser;if(e.consumeSpaces(),"["===e.fetch().text){if(e.consume(),e.consumeSpaces(),r=e.fetch().text,!"lcr".includes(r))throw new n("Expected l or c or r",e.nextToken);e.consume(),e.consumeSpaces(),e.expect("]"),e.consume(),o.cols=[{type:"align",align:r}]}}const s=Kr(t.parser,o,Jr(t.envName)),a=Math.max(0,...s.body.map((t=>t.length)));return s.cols=new Array(a).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[s],left:e[0],right:e[1],rightColor:void 0}:s},htmlBuilder:Qr,mathmlBuilder:en}),Fr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){const e=Kr(t.parser,{arraystretch:.5},"script");return e.colSeparationType="small",e},htmlBuilder:Qr,mathmlBuilder:en}),Fr({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){const r=(Qe(e[0])?[e[0]]:Ke(e[0],"ordgroup").body).map((function(t){const e=Je(t).text;if("lc".includes(e))return{type:"align",align:e};throw new n("Unknown column alignment: "+e,t)}));if(r.length>1)throw new n("{subarray} can contain only one column");const o={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5},s=Kr(t.parser,o,"script");if(s.body.length>0&&s.body[0].length>1)throw new n("{subarray} can contain only one column");return s},htmlBuilder:Qr,mathmlBuilder:en}),Fr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){const e=Kr(t.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Jr(t.envName));return{type:"leftright",mode:t.mode,body:[e],left:t.envName.includes("r")?".":"\\{",right:t.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:Qr,mathmlBuilder:en}),Fr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:rn,htmlBuilder:Qr,mathmlBuilder:en}),Fr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){Yr.has(t.envName)&&Wr(t);const e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Zr(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return Kr(t.parser,e,"display")},htmlBuilder:Qr,mathmlBuilder:en}),Fr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:rn,htmlBuilder:Qr,mathmlBuilder:en}),Fr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){Wr(t);const e={autoTag:Zr(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return Kr(t.parser,e,"display")},htmlBuilder:Qr,mathmlBuilder:en}),Fr({type:"array",names:["CD"],props:{numArgs:0},handler:t=>(Wr(t),function(t){const e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();const r=t.fetch().text;if("&"!==r&&"\\\\"!==r){if("\\end"===r){0===e[e.length-1].length&&e.pop();break}throw new n("Expected \\\\ or \\cr or \\end",t.nextToken)}t.consume()}let r=[];const o=[r];for(let i=0;i<e.length;i++){const l=e[i];let c={type:"styling",body:[],mode:"math",style:"display",resetFont:!0};for(let e=0;e<l.length;e++)if(ir(l[e])){r.push(c),e+=1;const o=Je(l[e]).text,i=new Array(2);if(i[0]={type:"ordgroup",mode:"math",body:[]},i[1]={type:"ordgroup",mode:"math",body:[]},"=|.".includes(o));else{if(!"<>AV".includes(o))throw new n('Expected one of "<>AV=|." after @',l[e]);for(let t=0;t<2;t++){let r=!0;for(let c=e+1;c<l.length;c++){if(a=o,("mathord"===(s=l[c]).type||"atom"===s.type)&&s.text===a){r=!1,e=c;break}if(ir(l[c]))throw new n("Missing a "+o+" character to complete a CD arrow.",l[c]);i[t].body.push(l[c])}if(r)throw new n("Missing a "+o+" character to complete a CD arrow.",l[e])}}const h={type:"styling",body:[lr(o,i,t)],mode:"math",style:"display",resetFont:!0};r.push(h),c={type:"styling",body:[],mode:"math",style:"display",resetFont:!0}}else c.body.push(l[e]);i%2==0?r.push(c):r.shift(),r=[],o.push(r)}var s,a;return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:"math",body:o,arraystretch:1,addJot:!0,rowGaps:[null],cols:new Array(o[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25}),colSeparationType:"CD",hLinesBeforeRow:new Array(o.length+1).fill([])}}(t.parser)),htmlBuilder:Qr,mathmlBuilder:en}),Vr("\\nonumber","\\gdef\\@eqnsw{0}"),Vr("\\notag","\\nonumber"),se({type:"text",names:["\\hline","\\hdashline"],numArgs:0,allowedInText:!0,allowedInMath:!0,handler(t,e){throw new n(t.funcName+" valid only within array environment")}});var nn=Pr;se({type:"environment",names:["\\begin","\\end"],numArgs:1,argTypes:["text"],handler(t,e){let r=t.parser,o=t.funcName;const s=e[0];if("ordgroup"!==s.type)throw new n("Invalid environment name",s);const a=tr(s,"Environment name should contain only text characters and spaces",!0);if("\\begin"===o){if(!Object.prototype.hasOwnProperty.call(nn,a))throw new n("No such environment: "+a,s);const t=nn[a],e=r.parseArguments("\\begin{"+a+"}",t),o=e.args,i=e.optArgs,l={mode:r.mode,envName:a,parser:r},c=t.handler(l,o,i);r.expect("\\end",!1);const h=r.nextToken,u=Ke(r.parseFunction(),"environment");if(u.name!==a)throw new n("Mismatch: \\begin{"+a+"} matched by \\end{"+u.name+"}",h);return c}return{type:"environment",mode:r.mode,name:a,nameGroup:s}}});const on={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};se({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],numArgs:1,allowedInArgument:!0,handler:(t,e)=>{let r=t.parser,n=t.funcName;const o=ie(e[0]),s=n in on?on[n]:n;return{type:"font",mode:r.mode,font:s.slice(1),body:o}},htmlBuilder:(t,e)=>{const r=t.font,n=e.withFont(r);return xe(t.body,n)},mathmlBuilder:(t,e)=>{const r=t.font,n=e.withFont(r);return $e(t.body,n)}}),se({type:"mclass",names:["\\boldsymbol","\\bm"],numArgs:1,handler:(t,e)=>{let r=t.parser;const n=e[0];return{type:"mclass",mode:r.mode,mclass:sr(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:h(n)}}}),se({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],numArgs:0,allowedInText:!0,handler:(t,e)=>{let r=t.parser,n=t.funcName,o=t.breakOnTokenText;const s=r.mode,a=r.parseExpression(!0,o);return{type:"font",mode:s,font:"math"+n.slice(1),body:{type:"ordgroup",mode:r.mode,body:a}}}});const sn=(t,e)=>e?{type:"styling",mode:t.mode,style:e,body:[t]}:t;se({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],numArgs:2,allowedInArgument:!0,handler:(t,e)=>{let r=t.parser,n=t.funcName;const o=e[0],s=e[1];let a,i=null,l=null;switch(n){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,i="(",l=")";break;case"\\\\bracefrac":a=!1,i="\\{",l="\\}";break;case"\\\\brackfrac":a=!1,i="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}const c="\\cfrac"===n;let h=null;return c||n.startsWith("\\d")?h="display":n.startsWith("\\t")&&(h="text"),sn({type:"genfrac",mode:r.mode,numer:o,denom:s,continued:c,hasBarLine:a,leftDelim:i,rightDelim:l,barSize:null},h)},htmlBuilder:(t,e)=>{const r=e.style,n=r.fracNum(),o=r.fracDen();let s;s=e.havingStyle(n);const a=xe(t.numer,s,e);if(t.continued){const t=8.5/e.fontMetrics().ptPerEm,r=3.5/e.fontMetrics().ptPerEm;a.height=a.height<t?t:a.height,a.depth=a.depth<r?r:a.depth}s=e.havingStyle(o);const i=xe(t.denom,s,e);let l,c,h,u,m,p,d,f,g,b;if(t.hasBarLine?(t.barSize?(c=O(t.barSize,e),l=Ft("frac-line",e,c)):l=Ft("frac-line",e),c=l.height,h=l.height):(l=null,c=0,h=e.fontMetrics().defaultRuleThickness),r.size===k.DISPLAY.size?(u=e.fontMetrics().num1,m=c>0?3*h:7*h,p=e.fontMetrics().denom1):(c>0?(u=e.fontMetrics().num2,m=h):(u=e.fontMetrics().num3,m=3*h),p=e.fontMetrics().denom2),l){const t=e.fontMetrics().axisHeight;u-a.depth-(t+.5*c)<m&&(u+=m-(u-a.depth-(t+.5*c))),t-.5*c-(i.height-p)<m&&(p+=m-(t-.5*c-(i.height-p))),d=Ut({positionType:"individualShift",children:[{type:"elem",elem:i,shift:p},{type:"elem",elem:l,shift:-(t-.5*c)},{type:"elem",elem:a,shift:-u}]})}else{const t=u-a.depth-(i.height-p);t<m&&(u+=.5*(m-t),p+=.5*(m-t)),d=Ut({positionType:"individualShift",children:[{type:"elem",elem:i,shift:p},{type:"elem",elem:a,shift:-u}]})}return s=e.havingStyle(r),d.height*=s.sizeMultiplier/e.sizeMultiplier,d.depth*=s.sizeMultiplier/e.sizeMultiplier,f=r.size===k.DISPLAY.size?e.fontMetrics().delim1:r.size===k.SCRIPTSCRIPT.size?e.havingStyle(k.SCRIPT).fontMetrics().delim2:e.fontMetrics().delim2,g=null==t.leftDelim?ye(e,["mopen"]):Er(t.leftDelim,f,!0,e.havingStyle(r),t.mode,["mopen"]),b=t.continued?Lt([]):null==t.rightDelim?ye(e,["mclose"]):Er(t.rightDelim,f,!0,e.havingStyle(r),t.mode,["mclose"]),Lt(["mord"].concat(s.sizingClasses(e)),[g,Lt(["mfrac"],[d]),b],e)},mathmlBuilder:(t,e)=>{const r=new Se("mfrac",[$e(t.numer,e),$e(t.denom,e)]);if(t.hasBarLine){if(t.barSize){const n=O(t.barSize,e);r.setAttribute("linethickness",I(n))}}else r.setAttribute("linethickness","0px");if(null!=t.leftDelim||null!=t.rightDelim){const e=[];if(null!=t.leftDelim){const r=new Se("mo",[new ze(t.leftDelim.replace("\\",""))]);r.setAttribute("fence","true"),e.push(r)}if(e.push(r),null!=t.rightDelim){const r=new Se("mo",[new ze(t.rightDelim.replace("\\",""))]);r.setAttribute("fence","true"),e.push(r)}return qe(e)}return r}}),se({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],numArgs:0,infix:!0,handler(t){let e,r=t.parser,n=t.funcName,o=t.token;switch(n){case"\\over":e="\\frac";break;case"\\choose":e="\\binom";break;case"\\atop":e="\\\\atopfrac";break;case"\\brace":e="\\\\bracefrac";break;case"\\brack":e="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:e,token:o}}});const an=["display","text","script","scriptscript"],ln=function(t){let e=null;return t.length>0&&(e=t,e="."===e?null:e),e};se({type:"genfrac",names:["\\genfrac"],numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"],handler(t,e){let r=t.parser;const n=e[4],o=e[5],s=ie(e[0]),a="atom"===s.type&&"open"===s.family?ln(s.text):null,i=ie(e[1]),l="atom"===i.type&&"close"===i.family?ln(i.text):null,c=Ke(e[2],"size");let h,u=null;c.isBlank?h=!0:(u=c.value,h=u.number>0);let m=null,p=e[3];if("ordgroup"===p.type){if(p.body.length>0){const t=Ke(p.body[0],"textord");m=an[Number(t.text)]}}else p=Ke(p,"textord"),m=an[Number(p.text)];return sn({type:"genfrac",mode:r.mode,numer:n,denom:o,continued:!1,hasBarLine:h,barSize:u,leftDelim:a,rightDelim:l},m)}}),se({type:"infix",names:["\\above"],numArgs:1,argTypes:["size"],infix:!0,handler(t,e){let r=t.parser,n=(t.funcName,t.token);return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ke(e[0],"size").value,token:n}}}),se({type:"genfrac",names:["\\\\abovefrac"],numArgs:3,argTypes:["math","size","math"],handler:(t,e)=>{let r=t.parser;t.funcName;const n=e[0],o=Ke(e[1],"infix").size;if(!o)throw new Error("\\\\abovefrac expected size, but got "+String(o));const s=e[2],a=o.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:s,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null}}});const cn=(t,e)=>{const r=e.style;let n,o;"supsub"===t.type?(n=t.sup?xe(t.sup,e.havingStyle(r.sup()),e):xe(t.sub,e.havingStyle(r.sub()),e),o=Ke(t.base,"horizBrace")):o=Ke(t,"horizBrace");const s=xe(o.base,e.havingBaseStyle(k.DISPLAY)),a=We(o,e);let i;if(i=o.isOver?Ut({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a,wrapperClasses:["svg-align"]}]}):Ut({positionType:"bottom",positionData:s.depth+.1+a.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:s}]}),n){const t=Lt(["minner",o.isOver?"mover":"munder"],[i],e);i=o.isOver?Ut({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:.2},{type:"elem",elem:n}]}):Ut({positionType:"bottom",positionData:t.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:t}]})}return Lt(["minner",o.isOver?"mover":"munder"],[i],e)};se({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],numArgs:1,handler(t,e){let r=t.parser,n=t.funcName;return{type:"horizBrace",mode:r.mode,label:n,isOver:n.includes("\\over"),base:e[0]}},htmlBuilder:cn,mathmlBuilder:(t,e)=>{const r=Ue(t.label);return new Se(t.isOver?"mover":"munder",[$e(t.base,e),r])}}),se({type:"href",names:["\\href"],numArgs:2,argTypes:["url","original"],allowedInText:!0,handler:(t,e)=>{let r=t.parser;const n=e[1],o=Ke(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:r.mode,href:o,body:le(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{const r=pe(t.body,e,!1);return function(t,e,r,n){const o=new P(t,[],r,n);return Nt(o),o}(t.href,0,r,e)},mathmlBuilder:(t,e)=>{let r=Ee(t.body,e);return r instanceof Se||(r=new Se("mrow",[r])),r.setAttribute("href",t.href),r}}),se({type:"href",names:["\\url"],numArgs:1,argTypes:["url"],allowedInText:!0,handler:(t,e)=>{let r=t.parser;const n=Ke(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");const o=[];for(let t=0;t<n.length;t++){let e=n[t];"~"===e&&(e="\\textasciitilde"),o.push({type:"textord",mode:"text",text:e})}const s={type:"text",mode:r.mode,font:"\\texttt",body:o};return{type:"href",mode:r.mode,href:n,body:le(s)}}}),se({type:"hbox",names:["\\hbox"],numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0,handler:(t,e)=>({type:"hbox",mode:t.parser.mode,body:le(e[0])}),htmlBuilder(t,e){const r=pe(t.body,e.withFont(""),!1);return Gt(r)},mathmlBuilder:(t,e)=>new Se("mrow",Ie(t.body,e.withFont("")))}),se({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],numArgs:2,argTypes:["raw","original"],allowedInText:!0,handler:(t,e)=>{let r=t.parser,o=t.funcName;t.token;const s=Ke(e[0],"raw").string,a=e[1];let i;r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");const l={};switch(o){case"\\htmlClass":l.class=s,i={command:"\\htmlClass",class:s};break;case"\\htmlId":l.id=s,i={command:"\\htmlId",id:s};break;case"\\htmlStyle":l.style=s,i={command:"\\htmlStyle",style:s};break;case"\\htmlData":{const t="{,}",e=[];let r="";for(let n=0;n<s.length;n++)s.startsWith(t,n)?(r+=",",n+=t.length-1):","===s[n]?(e.push(r),r=""):r+=s[n];e.push(r);for(let t=0;t<e.length;t++){const r=e[t],o=r.indexOf("=");if(o<0)throw new n("\\htmlData key/value '"+r+"' missing equals sign");const s=r.slice(0,o),a=r.slice(o+1);l["data-"+s.trim()]=a}i={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(i)?{type:"html",mode:r.mode,attributes:l,body:le(a)}:r.formatUnsupportedCmd(o)},htmlBuilder:(t,e)=>{const r=pe(t.body,e,!1),n=["enclosing"];t.attributes.class&&n.push(...t.attributes.class.trim().split(/\s+/));const o=Lt(n,r,e);for(const e of Object.entries(t.attributes)){const t=e[0],r=e[1];"class"!==t&&o.setAttribute(t,r)}return o},mathmlBuilder:(t,e)=>Ee(t.body,e)}),se({type:"htmlmathml",names:["\\html@mathml"],numArgs:2,allowedInArgument:!0,allowedInText:!0,handler:(t,e)=>({type:"htmlmathml",mode:t.parser.mode,html:le(e[0]),mathml:le(e[1])}),htmlBuilder:(t,e)=>{const r=pe(t.html,e,!1);return Gt(r)},mathmlBuilder:(t,e)=>Ee(t.mathml,e)});const hn=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};{const e=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!e)throw new n("Invalid size: '"+t+"' in \\includegraphics");const r={number:+(e[1]+e[2]),unit:e[3]};if(!B(r))throw new n("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r}};se({type:"includegraphics",names:["\\includegraphics"],numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1,handler:(t,e,r)=>{let o=t.parser,s={number:0,unit:"em"},a={number:.9,unit:"em"},i={number:0,unit:"em"},l="";if(r[0]){const t=Ke(r[0],"raw").string.split(",");for(let e=0;e<t.length;e++){const r=t[e].split("=");if(2===r.length){const t=r[1].trim();switch(r[0].trim()){case"alt":l=t;break;case"width":s=hn(t);break;case"height":a=hn(t);break;case"totalheight":i=hn(t);break;default:throw new n("Invalid key: '"+r[0]+"' in \\includegraphics.")}}}}const c=Ke(e[0],"url").url;return""===l&&(l=c,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),o.settings.isTrusted({command:"\\includegraphics",url:c})?{type:"includegraphics",mode:o.mode,alt:l,width:s,height:a,totalheight:i,src:c}:o.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(t,e)=>{const r=O(t.height,e);let n=0;t.totalheight.number>0&&(n=O(t.totalheight,e)-r);let o=0;t.width.number>0&&(o=O(t.width,e));const s={height:I(r+n)};o>0&&(s.width=I(o)),n>0&&(s.verticalAlign=I(-n));const a=new F(t.src,t.alt,s);return a.height=r,a.depth=n,a},mathmlBuilder:(t,e)=>{const r=new Se("mglyph",[]);r.setAttribute("alt",t.alt);const n=O(t.height,e);let o=0;if(t.totalheight.number>0&&(o=O(t.totalheight,e)-n,r.setAttribute("valign",I(-o))),r.setAttribute("height",I(n+o)),t.width.number>0){const n=O(t.width,e);r.setAttribute("width",I(n))}return r.setAttribute("src",t.src),r}}),se({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0,handler(t,e){let r=t.parser,n=t.funcName;const o=Ke(e[0],"size");if(r.settings.strict){const t="m"===n[1],e="mu"===o.value.unit;t?(e||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+o.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):e&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:o.value}},htmlBuilder:(t,e)=>Xt(t.dimension,e),mathmlBuilder(t,e){const r=O(t.dimension,e);return new Ae(r)}}),se({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],numArgs:1,allowedInText:!0,handler:(t,e)=>{let r=t.parser,n=t.funcName;const o=e[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:o}},htmlBuilder:(t,e)=>{let r;"clap"===t.alignment?(r=Lt([],[xe(t.body,e)]),r=Lt(["katex-inner"],[r],e)):r=Lt(["katex-inner"],[xe(t.body,e)]);const n=Lt(["katex-fix"],[]);let o=Lt([t.alignment],[r,n],e);const s=Lt(["katex-strut"]);return s.style.height=I(o.height+o.depth),o.depth&&(s.style.verticalAlign=I(-o.depth)),o.children.unshift(s),o=Lt(["katex-thinbox"],[o],e),Lt(["mord","katex-vbox"],[o],e)},mathmlBuilder:(t,e)=>{const r=new Se("mpadded",[$e(t.body,e)]);if("rlap"!==t.alignment){const e="llap"===t.alignment?"-1":"-0.5";r.setAttribute("lspace",e+"width")}return r.setAttribute("width","0px"),r}}),se({type:"styling",names:["\\(","$"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(t,e){let r=t.funcName,n=t.parser;const o=n.mode;n.switchMode("math");const s="\\("===r?"\\)":"$",a=n.parseExpression(!1,s);return n.expect(s),n.switchMode(o),{type:"styling",mode:n.mode,style:"text",resetFont:!0,body:a}}}),se({type:"text",names:["\\)","\\]"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(t,e){throw new n("Mismatched "+t.funcName)}});const un=(t,e)=>{switch(e.style.size){case k.DISPLAY.size:return t.display;case k.TEXT.size:return t.text;case k.SCRIPT.size:return t.script;case k.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};se({type:"mathchoice",names:["\\mathchoice"],numArgs:4,primitive:!0,handler:(t,e)=>({type:"mathchoice",mode:t.parser.mode,display:le(e[0]),text:le(e[1]),script:le(e[2]),scriptscript:le(e[3])}),htmlBuilder:(t,e)=>{const r=un(t,e),n=pe(r,e,!1);return Gt(n)},mathmlBuilder:(t,e)=>{const r=un(t,e);return Ee(r,e)}});const mn=(t,e,r,n,o,s,a)=>{t=Lt([],[t]);const i=r&&h(r);let l,c,u;if(e){const t=xe(e,n.havingStyle(o.sup()),n);c={elem:t,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-t.depth)}}if(r){const t=xe(r,n.havingStyle(o.sub()),n);l={elem:t,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-t.height)}}if(c&&l){const e=n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+t.depth+a;u=Ut({positionType:"bottom",positionData:e,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:I(-s)},{type:"kern",size:l.kern},{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:I(s)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else if(l){const e=t.height-a;u=Ut({positionType:"top",positionData:e,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:I(-s)},{type:"kern",size:l.kern},{type:"elem",elem:t}]})}else{if(!c)return t;{const e=t.depth+a;u=Ut({positionType:"bottom",positionData:e,children:[{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:I(s)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}}const m=[u];if(l&&0!==s&&!i){const t=Lt(["mspace"],[],n);t.style.marginRight=I(s),m.unshift(t)}return Lt(["mop","op-limits"],m,n)},pn=new Set(["\\smallint"]),dn=(t,e)=>{let r,n,o,s=!1;"supsub"===t.type?(r=t.sup,n=t.sub,o=Ke(t.base,"op"),s=!0):o=Ke(t,"op");const a=e.style;let i,l,c=!1;if(a.size===k.DISPLAY.size&&o.symbol&&!pn.has(o.name)&&(c=!0),o.symbol){const t=c?"Size2-Regular":"Size1-Regular";let r="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(r=o.name.slice(1),o.name="oiint"===r?"\\iint":"\\iiint"),i=Et(o.name,t,"math",e,["mop","op-symbol",c?"large-op":"small-op"]),l=i.italic,r.length>0){const t=Zt(r+"Size"+(c?"2":"1"),e);i=Ut({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:t,shift:c?.08:0}]}),o.name="\\"+r,i.classes.unshift("mop"),i.italic=l}}else if(o.body){const t=pe(o.body,e,!0);1===t.length&&t[0]instanceof V?(i=t[0],i.classes[0]="mop"):i=Lt(["mop"],t,e)}else{const t=[];for(let r=1;r<o.name.length;r++)t.push($t(o.name[r],o.mode,e));i=Lt(["mop"],t,e)}let h=0,u=0;var m;return(i instanceof V||"\\oiint"===o.name||"\\oiiint"===o.name)&&!o.suppressBaseShift&&(h=(i.height-i.depth)/2-e.fontMetrics().axisHeight,u=null!=(m=i.italic)?m:0),s?mn(i,r,n,e,a,u,h):(h&&(i.style.position="relative",i.style.top=I(h)),i)},fn={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};se({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],numArgs:0,handler:(t,e)=>{let r=t.parser,n=t.funcName;return 1===n.length&&(n=fn[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:dn,mathmlBuilder:(t,e)=>{let r;if(t.symbol)r=new Se("mo",[Te(t.name,t.mode)]),pn.has(t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new Se("mo",Ie(t.body,e));else{r=new Se("mi",[new ze(t.name.slice(1))]);const e=new Se("mo",[Te("⁡","text")]);r=t.parentIsSupSub?new Se("mrow",[r,e]):ke([r,e])}return r}}),se({type:"op",names:["\\mathop"],numArgs:1,primitive:!0,handler:(t,e)=>{let r=t.parser;const n=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:le(n)}}});const gn={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};se({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],numArgs:0,handler(t){let e=t.parser,r=t.funcName;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}}}),se({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],numArgs:0,handler(t){let e=t.parser,r=t.funcName;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}}}),se({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],numArgs:0,allowedInArgument:!0,handler(t){let e=t.parser,r=t.funcName;return 1===r.length&&(r=gn[r]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}}});const bn=(t,e)=>{let r,n,o,s,a=!1;if("supsub"===t.type?(r=t.sup,n=t.sub,o=Ke(t.base,"operatorname"),a=!0):o=Ke(t,"operatorname"),o.body.length>0){const t=o.body.map((t=>{const e="text"in t?t.text:void 0;return"string"==typeof e?{type:"textord",mode:t.mode,text:e}:t})),r=pe(t,e.withFont("mathrm"),!0);for(let t=0;t<r.length;t++){const e=r[t];e instanceof V&&(e.text=e.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=Lt(["mop"],r,e)}else s=Lt(["mop"],[],e);return a?mn(s,r,n,e,e.style,0,0):s};function yn(t,e,r){const n=pe(t,e,!1),o=e.sizeMultiplier/r.sizeMultiplier;for(let t=0;t<n.length;t++){const s=n[t].classes.indexOf("katex-sizing");s<0?Array.prototype.push.apply(n[t].classes,e.sizingClasses(r)):n[t].classes[s+1]==="reset-size"+e.size&&(n[t].classes[s+1]="reset-size"+r.size),n[t].height*=o,n[t].depth*=o}return Gt(n)}se({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],numArgs:1,handler:(t,e)=>{let r=t.parser,n=t.funcName;const o=e[0];return{type:"operatorname",mode:r.mode,body:le(o),alwaysHandleSupSub:"\\operatornamewithlimits"===n,limits:!1,parentIsSupSub:!1}},htmlBuilder:bn,mathmlBuilder:(t,e)=>{let r=Ie(t.body,e.withFont("mathrm")),n=!0;for(let t=0;t<r.length;t++){const e=r[t];if(e instanceof Ae);else if(e instanceof Se)switch(e.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{const t=e.children[0];1===e.children.length&&t instanceof ze?t.text=t.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){const t=r.map((t=>t.toText())).join("");r=[new ze(t)]}const o=new Se("mi",r);o.setAttribute("mathvariant","normal");const s=new Se("mo",[Te("⁡","text")]);return t.parentIsSupSub?new Se("mrow",[o,s]):ke([o,s])}}),Vr("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),ae({type:"ordgroup",htmlBuilder:(t,e)=>t.semisimple?Gt(pe(t.body,e,!1)):Lt(["mord"],pe(t.body,e,!0),e),mathmlBuilder:(t,e)=>Ee(t.body,e,!0)}),se({type:"overline",names:["\\overline"],numArgs:1,handler(t,e){let r=t.parser;const n=e[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(t,e){const r=xe(t.body,e.havingCrampedStyle()),n=Ft("overline-line",e),o=e.fontMetrics().defaultRuleThickness,s=Ut({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n},{type:"kern",size:o}]});return Lt(["mord","katex-overline"],[s],e)},mathmlBuilder(t,e){const r=new Se("mo",[new ze("‾")]);r.setAttribute("stretchy","true");const n=new Se("mover",[$e(t.body,e),r]);return n.setAttribute("accent","true"),n}}),se({type:"phantom",names:["\\phantom"],numArgs:1,allowedInText:!0,handler:(t,e)=>{let r=t.parser;const n=e[0];return{type:"phantom",mode:r.mode,body:le(n)}},htmlBuilder:(t,e)=>{const r=pe(t.body,e.withPhantom(),!1);return Gt(r)},mathmlBuilder:(t,e)=>{const r=Ie(t.body,e);return new Se("mphantom",r)}}),Vr("\\hphantom","\\smash{\\phantom{#1}}"),se({type:"vphantom",names:["\\vphantom"],numArgs:1,allowedInText:!0,handler:(t,e)=>{let r=t.parser;const n=e[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(t,e)=>{const r=Lt(["katex-inner"],[xe(t.body,e.withPhantom())]),n=Lt(["katex-fix"],[]);return Lt(["mord","rlap"],[r,n],e)},mathmlBuilder:(t,e)=>{const r=Ie(le(t.body),e),n=new Se("mphantom",r),o=new Se("mpadded",[n]);return o.setAttribute("width","0px"),o}}),se({type:"raisebox",names:["\\raisebox"],numArgs:2,argTypes:["size","hbox"],allowedInText:!0,handler(t,e){let r=t.parser;const n=Ke(e[0],"size").value,o=e[1];return{type:"raisebox",mode:r.mode,dy:n,body:o}},htmlBuilder(t,e){const r=xe(t.body,e),n=O(t.dy,e);return Ut({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]})},mathmlBuilder(t,e){const r=new Se("mpadded",[$e(t.body,e)]),n=t.dy.number+t.dy.unit;return r.setAttribute("voffset",n),r}}),se({type:"internal",names:["\\relax"],numArgs:0,allowedInText:!0,allowedInArgument:!0,handler:t=>({type:"internal",mode:t.parser.mode})}),se({type:"rule",names:["\\rule"],numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"],handler(t,e,r){let n=t.parser;const o=r[0],s=Ke(e[0],"size"),a=Ke(e[1],"size");return{type:"rule",mode:n.mode,shift:o&&Ke(o,"size").value,width:s.value,height:a.value}},htmlBuilder(t,e){const r=Lt(["mord","katex-rule"],[],e),n=O(t.width,e),o=O(t.height,e),s=t.shift?O(t.shift,e):0;return r.style.borderRightWidth=I(n),r.style.borderTopWidth=I(o),r.style.bottom=I(s),r.width=n,r.height=o+s,r.depth=-s,r.maxFontSize=1.125*o*e.sizeMultiplier,r},mathmlBuilder(t,e){const r=O(t.width,e),n=O(t.height,e),o=t.shift?O(t.shift,e):0,s=e.color&&e.getColor()||"black",a=new Se("mspace");a.setAttribute("mathbackground",s),a.setAttribute("width",I(r)),a.setAttribute("height",I(n));const i=new Se("mpadded",[a]);return o>=0?i.setAttribute("height",I(o)):(i.setAttribute("height",I(o)),i.setAttribute("depth",I(-o))),i.setAttribute("voffset",I(o)),i}});const xn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];se({type:"sizing",names:xn,numArgs:0,allowedInText:!0,handler:(t,e)=>{let r=t.breakOnTokenText,n=t.funcName,o=t.parser;const s=o.parseExpression(!1,r);return{type:"sizing",mode:o.mode,size:xn.indexOf(n)+1,body:s}},htmlBuilder:(t,e)=>{const r=e.havingSize(t.size);return yn(t.body,r,e)},mathmlBuilder:(t,e)=>{const r=e.havingSize(t.size),n=Ie(t.body,r),o=new Se("mstyle",n);return o.setAttribute("mathsize",I(r.sizeMultiplier)),o}}),se({type:"smash",names:["\\smash"],numArgs:1,numOptionalArgs:1,allowedInText:!0,handler:(t,e,r)=>{let n=t.parser,o=!1,s=!1;const a=r[0]&&Ke(r[0],"ordgroup");if(a){let t;for(let e=0;e<a.body.length;++e)if(t=Je(a.body[e]).text,"t"===t)o=!0;else{if("b"!==t){o=!1,s=!1;break}s=!0}}else o=!0,s=!0;const i=e[0];return{type:"smash",mode:n.mode,body:i,smashHeight:o,smashDepth:s}},htmlBuilder:(t,e)=>{const r=Lt([],[xe(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0),t.smashDepth&&(r.depth=0),t.smashHeight&&t.smashDepth)return Lt(["mord","katex-smash"],[r],e);if(r.children)for(let e=0;e<r.children.length;e++)t.smashHeight&&(r.children[e].height=0),t.smashDepth&&(r.children[e].depth=0);const n=Ut({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return Lt(["mord"],[n],e)},mathmlBuilder:(t,e)=>{const r=new Se("mpadded",[$e(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}}),se({type:"sqrt",names:["\\sqrt"],numArgs:1,numOptionalArgs:1,handler(t,e,r){let n=t.parser;const o=r[0],s=e[0];return{type:"sqrt",mode:n.mode,body:s,index:o}},htmlBuilder(t,e){let r=xe(t.body,e.havingCrampedStyle());0===r.height&&(r.height=e.fontMetrics().xHeight),r=Vt(r,e);const n=e.fontMetrics().defaultRuleThickness;let o=n;e.style.id<k.TEXT.id&&(o=e.fontMetrics().xHeight);let s=n+o/4;const a=function(t,e){const r=e.havingBaseSizing(),n=Ir("\\surd",t*r.sizeMultiplier,Br,r);let o=r.sizeMultiplier;const s=Math.max(0,e.minRuleThickness-e.fontMetrics().sqrtRuleThickness);let a,i,l,c,h;return"small"===n.type?(c=1e3+1e3*s+80,t<1?o=1:t<1.4&&(o=.7),i=(1+s+kr)/o,l=(1+s)/o,a=Sr("sqrtMain",i,c,s,e),a.style.minWidth="0.853em",h=.833/o):"large"===n.type?(c=1080*_r[n.size],l=(_r[n.size]+s)/o,i=(_r[n.size]+s+kr)/o,a=Sr("sqrtSize"+n.size,i,c,s,e),a.style.minWidth="1.02em",h=1/o):(i=t+s+kr,l=t+s,c=Math.floor(1e3*t+s)+80,a=Sr("sqrtTall",i,c,s,e),a.style.minWidth="0.742em",h=1.056),a.height=l,a.style.height=I(i),{span:a,advanceWidth:h,ruleWidth:(e.fontMetrics().sqrtRuleThickness+s)*o}}(r.height+r.depth+s+n,e),i=a.span,l=a.ruleWidth,c=a.advanceWidth,h=i.height-l;h>r.height+r.depth+s&&(s=(s+h-r.height-r.depth)/2);const u=i.height-r.height-s-l;r.style.paddingLeft=I(c);const m=Ut({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+u)},{type:"elem",elem:i},{type:"kern",size:l}]});if(t.index){const r=e.havingStyle(k.SCRIPTSCRIPT),n=xe(t.index,r,e),o=.6*(m.height-m.depth),s=Ut({positionType:"shift",positionData:-o,children:[{type:"elem",elem:n}]}),a=Lt(["katex-root"],[s]);return Lt(["mord","sqrt"],[a,m],e)}return Lt(["mord","sqrt"],[m],e)},mathmlBuilder(t,e){const r=t.body,n=t.index;return n?new Se("mroot",[$e(r,e),$e(n,e)]):new Se("msqrt",[$e(r,e)])}});const wn={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT};se({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],numArgs:0,allowedInText:!0,primitive:!0,handler(t,e){let r=t.breakOnTokenText,n=t.funcName,o=t.parser;const s=o.parseExpression(!0,r),a=n.slice(1,n.length-5);if(!(a in wn))throw new Error("Unknown style: "+a);return{type:"styling",mode:o.mode,style:a,body:s}},htmlBuilder(t,e){const r=wn[t.style];let n=e.havingStyle(r);return t.resetFont&&(n=n.withFont("")),yn(t.body,n,e)},mathmlBuilder(t,e){const r=wn[t.style];let n=e.havingStyle(r);t.resetFont&&(n=n.withFont(""));const o=Ie(t.body,n),s=new Se("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[t.style];return s.setAttribute("scriptlevel",a[0]),s.setAttribute("displaystyle",a[1]),s}}),ae({type:"supsub",htmlBuilder(t,e){const r=function(t,e){const r=t.base;return r?"op"===r.type?r.limits&&(e.style.size===k.DISPLAY.size||r.alwaysHandleSupSub)?dn:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(e.style.size===k.DISPLAY.size||r.limits)?bn:null:"accent"===r.type?h(r.base)?rr:null:"horizBrace"===r.type&&!t.sub===r.isOver?cn:null:null}(t,e);if(r)return r(t,e);const n=t.base,o=t.sup,s=t.sub,a=xe(n,e);let i,l;const c=e.fontMetrics();let u=0,m=0;const p=n&&h(n);if(o){const t=e.havingStyle(e.style.sup());i=xe(o,t,e),p||(u=a.height-t.fontMetrics().supDrop*t.sizeMultiplier/e.sizeMultiplier)}if(s){const t=e.havingStyle(e.style.sub());l=xe(s,t,e),p||(m=a.depth+t.fontMetrics().subDrop*t.sizeMultiplier/e.sizeMultiplier)}let d;d=e.style===k.DISPLAY?c.sup1:e.style.cramped?c.sup3:c.sup2;const f=e.sizeMultiplier,g=I(.5/c.ptPerEm/f);let b,y=null;if(l){const e=t.base&&"op"===t.base.type&&t.base.name&&("\\oiint"===t.base.name||"\\oiiint"===t.base.name);var x;(a instanceof V||e)&&(y=I(-(null!=(x=a.italic)?x:0)))}if(i&&l){u=Math.max(u,d,i.depth+.25*c.xHeight),m=Math.max(m,c.sub2);const t=4*c.defaultRuleThickness;if(u-i.depth-(l.height-m)<t){m=t-(u-i.depth)+l.height;const e=.8*c.xHeight-(u-i.depth);e>0&&(u+=e,m-=e)}b=Ut({positionType:"individualShift",children:[{type:"elem",elem:l,shift:m,marginRight:g,marginLeft:y},{type:"elem",elem:i,shift:-u,marginRight:g}]})}else if(l)m=Math.max(m,c.sub1,l.height-.8*c.xHeight),b=Ut({positionType:"shift",positionData:m,children:[{type:"elem",elem:l,marginLeft:y,marginRight:g}]});else{if(!i)throw new Error("supsub must have either sup or sub.");u=Math.max(u,d,i.depth+.25*c.xHeight),b=Ut({positionType:"shift",positionData:-u,children:[{type:"elem",elem:i,marginRight:g}]})}const w=be(a,"right")||"mord";return Lt([w],[a,Lt(["msupsub"],[b])],e)},mathmlBuilder(t,e){let r,n,o=!1;t.base&&"horizBrace"===t.base.type&&(n=!!t.sup,n===t.base.isOver&&(o=!0,r=t.base.isOver)),!t.base||"op"!==t.base.type&&"operatorname"!==t.base.type||(t.base.parentIsSupSub=!0);const s=[$e(t.base,e)];let a;if(t.sub&&s.push($e(t.sub,e)),t.sup&&s.push($e(t.sup,e)),o)a=r?"mover":"munder";else if(t.sub)if(t.sup){const r=t.base;a=r&&"op"===r.type&&r.limits&&e.style===k.DISPLAY||r&&"operatorname"===r.type&&r.alwaysHandleSupSub&&(e.style===k.DISPLAY||r.limits)?"munderover":"msubsup"}else{const r=t.base;a=r&&"op"===r.type&&r.limits&&(e.style===k.DISPLAY||r.alwaysHandleSupSub)||r&&"operatorname"===r.type&&r.alwaysHandleSupSub&&(r.limits||e.style===k.DISPLAY)?"munder":"msub"}else{const r=t.base;a=r&&"op"===r.type&&r.limits&&(e.style===k.DISPLAY||r.alwaysHandleSupSub)||r&&"operatorname"===r.type&&r.alwaysHandleSupSub&&(r.limits||e.style===k.DISPLAY)?"mover":"msup"}return new Se(a,s)}}),ae({type:"atom",htmlBuilder:(t,e)=>$t(t.text,t.mode,e,["m"+t.family]),mathmlBuilder(t,e){const r=new Se("mo",[Te(t.text,t.mode)]);if("bin"===t.family){const n=Be(t,e);"bold-italic"===n&&r.setAttribute("mathvariant",n)}else"punct"===t.family?r.setAttribute("separator","true"):"open"!==t.family&&"close"!==t.family||r.setAttribute("stretchy","false");return r}});const vn={mi:"italic",mn:"normal",mtext:"normal"};ae({type:"mathord",htmlBuilder:(t,e)=>Rt(t,e),mathmlBuilder(t,e){const r=new Se("mi",[Te(t.text,t.mode,e)]),n=Be(t,e)||"italic";return n!==vn[r.type]&&r.setAttribute("mathvariant",n),r}}),ae({type:"textord",htmlBuilder:(t,e)=>Rt(t,e),mathmlBuilder(t,e){const r=Te(t.text,t.mode,e),n=Be(t,e)||"normal";let o;return o="text"===t.mode?new Se("mtext",[r]):/[0-9]/.test(t.text)?new Se("mn",[r]):"\\prime"===t.text?new Se("mo",[r]):new Se("mi",[r]),n!==vn[o.type]&&o.setAttribute("mathvariant",n),o}});const kn=new Map([["\\nobreak","nobreak"],["\\allowbreak","allowbreak"]]),Sn=new Map([[" ",{}],["\\ ",{}],["~",{className:"nobreak"}],["\\space",{}],["\\nobreakspace",{className:"nobreak"}]]);ae({type:"spacing",htmlBuilder(t,e){const r=Sn.get(t.text),o=kn.get(t.text);if(r){const n=r.className||"";if("text"===t.mode){const r=Rt(t,e);return r.classes.push(n),r}return Lt(["mspace",n],[$t(t.text,t.mode,e)],e)}if(o)return Lt(["mspace",o],[],e);throw new n('Unknown type of space "'+t.text+'"')},mathmlBuilder(t,e){let r;if(!Sn.has(t.text)){if(kn.has(t.text))return new Se("mspace");throw new n('Unknown type of space "'+t.text+'"')}return r=new Se("mtext",[new ze(" ")]),r}});const zn=()=>{const t=new Se("mtd",[]);return t.setAttribute("width","50%"),t};ae({type:"tag",mathmlBuilder(t,e){const r=new Se("mtable",[new Se("mtr",[zn(),new Se("mtd",[Ee(t.body,e)]),zn(),new Se("mtd",[Ee(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});const An={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Mn={"\\textbf":"textbf","\\textmd":"textmd"},_n={"\\textit":"textit","\\textup":"textup"},Tn=(t,e)=>{const r=t.font;return r?An[r]?e.withTextFontFamily(An[r]):Mn[r]?e.withTextFontWeight(Mn[r]):"\\emph"===r?"textit"===e.fontShape?e.withTextFontShape("textup"):e.withTextFontShape("textit"):e.withTextFontShape(_n[r]):e};se({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0,handler(t,e){let r=t.parser,n=t.funcName;const o=e[0];return{type:"text",mode:r.mode,body:le(o),font:n}},htmlBuilder(t,e){const r=Tn(t,e),n=pe(t.body,r,!0);return Lt(["mord","text"],n,r)},mathmlBuilder(t,e){const r=Tn(t,e);return Ee(t.body,r)}}),se({type:"underline",names:["\\underline"],numArgs:1,allowedInText:!0,handler:(t,e)=>({type:"underline",mode:t.parser.mode,body:e[0]}),htmlBuilder(t,e){const r=xe(t.body,e),n=Ft("underline-line",e),o=e.fontMetrics().defaultRuleThickness,s=Ut({positionType:"top",positionData:r.height,children:[{type:"kern",size:o},{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r}]});return Lt(["mord","katex-underline"],[s],e)},mathmlBuilder(t,e){const r=new Se("mo",[new ze("‾")]);r.setAttribute("stretchy","true");const n=new Se("munder",[$e(t.body,e),r]);return n.setAttribute("accentunder","true"),n}}),se({type:"vcenter",names:["\\vcenter"],numArgs:1,argTypes:["original"],allowedInText:!1,handler:(t,e)=>({type:"vcenter",mode:t.parser.mode,body:e[0]}),htmlBuilder(t,e){const r=xe(t.body,e),n=e.fontMetrics().axisHeight,o=.5*(r.height-n-(r.depth+n));return Ut({positionType:"shift",positionData:o,children:[{type:"elem",elem:r}]})},mathmlBuilder(t,e){const r=new Se("mpadded",[$e(t.body,e)],["vcenter"]);return new Se("mrow",[r])}}),se({type:"verb",names:["\\verb"],numArgs:0,allowedInText:!0,handler(t,e,r){throw new n("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){const r=qn(t),n=[],o=e.havingStyle(e.style.text());for(let e=0;e<r.length;e++){let s=r[e];"~"===s&&(s="\\textasciitilde"),n.push(Et(s,"Typewriter-Regular",t.mode,o,["mord","texttt"]))}return Lt(["mord","text"].concat(o.sizingClasses(e)),Dt(n),o)},mathmlBuilder(t,e){const r=new ze(qn(t)),n=new Se("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});const qn=t=>t.body.replace(/ /g,t.star?"␣":" ");var Cn=re;const Bn="[ \r\n\t]",On="(\\\\[a-zA-Z@]+)"+Bn+"*",In="[̀-ͯ]",En=new RegExp(In+"+$"),$n="("+Bn+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧‪-퟿豈-￿]"+In+"*|[\ud800-\udbff][\udc00-\udfff]"+In+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+On+"|\\\\[^\ud800-\udfff])";class Rn{constructor(t,e){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=e,this.tokenRegex=new RegExp($n,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,e){this.catcodes[t]=e}lex(){const t=this.input,e=this.tokenRegex.lastIndex;if(e===t.length)return new Xr("EOF",new Ur(this,e,e));const r=this.tokenRegex.exec(t);if(null===r||r.index!==e)throw new n("Unexpected character: '"+t[e]+"'",new Xr(t[e],new Ur(this,e,e+1)));const o=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[o]){const e=t.indexOf("\n",this.tokenRegex.lastIndex);return-1===e?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=e+1,this.lex()}return new Xr(o,new Ur(this,e,this.tokenRegex.lastIndex))}}class Hn{constructor(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=e,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new n("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const t=this.undefStack.pop();for(const e of Object.keys(t))void 0===t[e]?delete this.current[e]:this.current[e]=t[e]}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return Object.prototype.hasOwnProperty.call(this.current,t)||Object.prototype.hasOwnProperty.call(this.builtins,t)}get(t){return Object.prototype.hasOwnProperty.call(this.current,t)?this.current[t]:Object.prototype.hasOwnProperty.call(this.builtins,t)?this.builtins[t]:void 0}set(t,e,r){if(void 0===r&&(r=!1),r){for(let e=0;e<this.undefStack.length;e++)delete this.undefStack[e][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=e)}else{const e=this.undefStack[this.undefStack.length-1];e&&!Object.prototype.hasOwnProperty.call(e,t)&&(e[t]=Object.prototype.hasOwnProperty.call(this.current,t)?this.current[t]:void 0)}null==e?delete this.current[t]:this.current[t]=e}}var Dn=Gr;Vr("\\noexpand",(function(t){const e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}})),Vr("\\expandafter",(function(t){const e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}})),Vr("\\@firstoftwo",(function(t){return{tokens:t.consumeArgs(2)[0],numArgs:0}})),Vr("\\@secondoftwo",(function(t){return{tokens:t.consumeArgs(2)[1],numArgs:0}})),Vr("\\@ifnextchar",(function(t){const e=t.consumeArgs(3);t.consumeSpaces();const r=t.future();return 1===e[0].length&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}})),Vr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Vr("\\TextOrMath",(function(t){const e=t.consumeArgs(2);return"text"===t.mode?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}}));const Nn={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Vr("\\char",(function(t){let e,r=t.popToken(),o=0;if("'"===r.text)e=8,r=t.popToken();else if('"'===r.text)e=16,r=t.popToken();else if("`"===r.text)if(r=t.popToken(),"\\"===r.text[0])o=r.text.charCodeAt(1);else{if("EOF"===r.text)throw new n("\\char` missing argument");o=r.text.charCodeAt(0)}else e=10;if(e){if(o=Nn[r.text],null==o||o>=e)throw new n("Invalid base-"+e+" digit "+r.text);let s;for(;null!=(s=Nn[t.future().text])&&s<e;)o*=e,o+=s,t.popToken()}return"\\@char{"+o+"}"}));const Ln=(t,e,r,o)=>{let s=t.consumeArg().tokens;if(1!==s.length)throw new n("\\newcommand's first argument must be a macro name");const a=s[0].text,i=t.isDefined(a);if(i&&!e)throw new n("\\newcommand{"+a+"} attempting to redefine "+a+"; use \\renewcommand");if(!i&&!r)throw new n("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");let l=0;if(s=t.consumeArg().tokens,1===s.length&&"["===s[0].text){let e="",r=t.expandNextToken();for(;"]"!==r.text&&"EOF"!==r.text;)e+=r.text,r=t.expandNextToken();if(!e.match(/^\s*[0-9]+\s*$/))throw new n("Invalid number of arguments: "+e);l=parseInt(e),s=t.consumeArg().tokens}return i&&o||t.macros.set(a,{tokens:s,numArgs:l}),""};Vr("\\newcommand",(t=>Ln(t,!1,!0,!1))),Vr("\\renewcommand",(t=>Ln(t,!0,!1,!1))),Vr("\\providecommand",(t=>Ln(t,!0,!0,!0))),Vr("\\message",(t=>{const e=t.consumeArgs(1)[0];return console.log(e.reverse().map((t=>t.text)).join("")),""})),Vr("\\errmessage",(t=>{const e=t.consumeArgs(1)[0];return console.error(e.reverse().map((t=>t.text)).join("")),""})),Vr("\\show",(t=>{const e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),Cn[r],tt.math[r],tt.text[r]),""})),Vr("\\bgroup","{"),Vr("\\egroup","}"),Vr("~","\\nobreakspace"),Vr("\\lq","`"),Vr("\\rq","'"),Vr("\\aa","\\r a"),Vr("\\AA","\\r A"),Vr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),Vr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Vr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),Vr("ℬ","\\mathscr{B}"),Vr("ℰ","\\mathscr{E}"),Vr("ℱ","\\mathscr{F}"),Vr("ℋ","\\mathscr{H}"),Vr("ℐ","\\mathscr{I}"),Vr("ℒ","\\mathscr{L}"),Vr("ℳ","\\mathscr{M}"),Vr("ℛ","\\mathscr{R}"),Vr("ℭ","\\mathfrak{C}"),Vr("ℌ","\\mathfrak{H}"),Vr("ℨ","\\mathfrak{Z}"),Vr("\\Bbbk","\\Bbb{k}"),Vr("\\llap","\\mathllap{\\textrm{#1}}"),Vr("\\rlap","\\mathrlap{\\textrm{#1}}"),Vr("\\clap","\\mathclap{\\textrm{#1}}"),Vr("\\mathstrut","\\vphantom{(}"),Vr("\\underbar","\\underline{\\text{#1}}"),Vr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}'),Vr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),Vr("\\ne","\\neq"),Vr("≠","\\neq"),Vr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),Vr("∉","\\notin"),Vr("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),Vr("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),Vr("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),Vr("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),Vr("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),Vr("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),Vr("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),Vr("⟂","\\perp"),Vr("‼","\\mathclose{!\\mkern-0.8mu!}"),Vr("∌","\\notni"),Vr("⌜","\\ulcorner"),Vr("⌝","\\urcorner"),Vr("⌞","\\llcorner"),Vr("⌟","\\lrcorner"),Vr("©","\\copyright"),Vr("®","\\textregistered"),Vr("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Vr("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Vr("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Vr("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Vr("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),Vr("⋮","\\vdots"),Vr("\\varGamma","\\mathit{\\Gamma}"),Vr("\\varDelta","\\mathit{\\Delta}"),Vr("\\varTheta","\\mathit{\\Theta}"),Vr("\\varLambda","\\mathit{\\Lambda}"),Vr("\\varXi","\\mathit{\\Xi}"),Vr("\\varPi","\\mathit{\\Pi}"),Vr("\\varSigma","\\mathit{\\Sigma}"),Vr("\\varUpsilon","\\mathit{\\Upsilon}"),Vr("\\varPhi","\\mathit{\\Phi}"),Vr("\\varPsi","\\mathit{\\Psi}"),Vr("\\varOmega","\\mathit{\\Omega}"),Vr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Vr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Vr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Vr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Vr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Vr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),Vr("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),Vr("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");const Pn={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},Fn=new Set(["bin","rel"]);Vr("\\dots",(function(t){let e="\\dotso";const r=t.expandAfterFuture().text;return r in Pn?e=Pn[r]:("\\not"===r.slice(0,4)||r in tt.math&&Fn.has(tt.math[r].group))&&(e="\\dotsb"),e}));const Gn={")":!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};Vr("\\dotso",(function(t){return t.future().text in Gn?"\\ldots\\,":"\\ldots"})),Vr("\\dotsc",(function(t){const e=t.future().text;return e in Gn&&","!==e?"\\ldots\\,":"\\ldots"})),Vr("\\cdots",(function(t){return t.future().text in Gn?"\\@cdots\\,":"\\@cdots"})),Vr("\\dotsb","\\cdots"),Vr("\\dotsm","\\cdots"),Vr("\\dotsi","\\!\\cdots"),Vr("\\dotsx","\\ldots\\,"),Vr("\\DOTSI","\\relax"),Vr("\\DOTSB","\\relax"),Vr("\\DOTSX","\\relax"),Vr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Vr("\\,","\\tmspace+{3mu}{.1667em}"),Vr("\\thinspace","\\,"),Vr("\\>","\\mskip{4mu}"),Vr("\\:","\\tmspace+{4mu}{.2222em}"),Vr("\\medspace","\\:"),Vr("\\;","\\tmspace+{5mu}{.2777em}"),Vr("\\thickspace","\\;"),Vr("\\!","\\tmspace-{3mu}{.1667em}"),Vr("\\negthinspace","\\!"),Vr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Vr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Vr("\\enspace","\\kern.5em "),Vr("\\enskip","\\hskip.5em\\relax"),Vr("\\quad","\\hskip1em\\relax"),Vr("\\qquad","\\hskip2em\\relax"),Vr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Vr("\\tag@paren","\\tag@literal{({#1})}"),Vr("\\tag@literal",(t=>{if(t.macros.get("\\df@tag"))throw new n("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Vr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Vr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Vr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Vr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Vr("\\newline","\\\\\\relax"),Vr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const Vn=I(W["Main-Regular"]["T".charCodeAt(0)][1]-.7*W["Main-Regular"]["A".charCodeAt(0)][1]);Vr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Vn+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Vr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Vn+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Vr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Vr("\\@hspace","\\hskip #1\\relax"),Vr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Vr("\\ordinarycolon",":"),Vr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Vr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Vr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Vr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Vr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Vr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Vr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Vr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Vr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Vr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Vr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Vr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Vr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Vr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Vr("∷","\\dblcolon"),Vr("∹","\\eqcolon"),Vr("≔","\\coloneqq"),Vr("≕","\\eqqcolon"),Vr("⩴","\\Coloneqq"),Vr("\\ratio","\\vcentcolon"),Vr("\\coloncolon","\\dblcolon"),Vr("\\colonequals","\\coloneqq"),Vr("\\coloncolonequals","\\Coloneqq"),Vr("\\equalscolon","\\eqqcolon"),Vr("\\equalscoloncolon","\\Eqqcolon"),Vr("\\colonminus","\\coloneq"),Vr("\\coloncolonminus","\\Coloneq"),Vr("\\minuscolon","\\eqcolon"),Vr("\\minuscoloncolon","\\Eqcolon"),Vr("\\coloncolonapprox","\\Colonapprox"),Vr("\\coloncolonsim","\\Colonsim"),Vr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Vr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Vr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Vr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Vr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Vr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Vr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Vr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Vr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Vr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Vr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Vr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Vr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Vr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Vr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Vr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Vr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Vr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Vr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Vr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Vr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Vr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Vr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Vr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Vr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Vr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Vr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Vr("\\imath","\\html@mathml{\\@imath}{ı}"),Vr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Vr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Vr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Vr("⟦","\\llbracket"),Vr("⟧","\\rrbracket"),Vr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Vr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Vr("⦃","\\lBrace"),Vr("⦄","\\rBrace"),Vr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Vr("⦵","\\minuso"),Vr("\\darr","\\downarrow"),Vr("\\dArr","\\Downarrow"),Vr("\\Darr","\\Downarrow"),Vr("\\lang","\\langle"),Vr("\\rang","\\rangle"),Vr("\\uarr","\\uparrow"),Vr("\\uArr","\\Uparrow"),Vr("\\Uarr","\\Uparrow"),Vr("\\N","\\mathbb{N}"),Vr("\\R","\\mathbb{R}"),Vr("\\Z","\\mathbb{Z}"),Vr("\\alef","\\aleph"),Vr("\\alefsym","\\aleph"),Vr("\\Alpha","\\mathrm{A}"),Vr("\\Beta","\\mathrm{B}"),Vr("\\bull","\\bullet"),Vr("\\Chi","\\mathrm{X}"),Vr("\\clubs","\\clubsuit"),Vr("\\cnums","\\mathbb{C}"),Vr("\\Complex","\\mathbb{C}"),Vr("\\Dagger","\\ddagger"),Vr("\\diamonds","\\diamondsuit"),Vr("\\empty","\\emptyset"),Vr("\\Epsilon","\\mathrm{E}"),Vr("\\Eta","\\mathrm{H}"),Vr("\\exist","\\exists"),Vr("\\harr","\\leftrightarrow"),Vr("\\hArr","\\Leftrightarrow"),Vr("\\Harr","\\Leftrightarrow"),Vr("\\hearts","\\heartsuit"),Vr("\\image","\\Im"),Vr("\\infin","\\infty"),Vr("\\Iota","\\mathrm{I}"),Vr("\\isin","\\in"),Vr("\\Kappa","\\mathrm{K}"),Vr("\\larr","\\leftarrow"),Vr("\\lArr","\\Leftarrow"),Vr("\\Larr","\\Leftarrow"),Vr("\\lrarr","\\leftrightarrow"),Vr("\\lrArr","\\Leftrightarrow"),Vr("\\Lrarr","\\Leftrightarrow"),Vr("\\Mu","\\mathrm{M}"),Vr("\\natnums","\\mathbb{N}"),Vr("\\Nu","\\mathrm{N}"),Vr("\\Omicron","\\mathrm{O}"),Vr("\\plusmn","\\pm"),Vr("\\rarr","\\rightarrow"),Vr("\\rArr","\\Rightarrow"),Vr("\\Rarr","\\Rightarrow"),Vr("\\real","\\Re"),Vr("\\reals","\\mathbb{R}"),Vr("\\Reals","\\mathbb{R}"),Vr("\\Rho","\\mathrm{P}"),Vr("\\sdot","\\cdot"),Vr("\\sect","\\S"),Vr("\\spades","\\spadesuit"),Vr("\\sub","\\subset"),Vr("\\sube","\\subseteq"),Vr("\\supe","\\supseteq"),Vr("\\Tau","\\mathrm{T}"),Vr("\\thetasym","\\vartheta"),Vr("\\weierp","\\wp"),Vr("\\Zeta","\\mathrm{Z}"),Vr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Vr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Vr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Vr("\\bra","\\mathinner{\\langle{#1}|}"),Vr("\\ket","\\mathinner{|{#1}\\rangle}"),Vr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Vr("\\Bra","\\left\\langle#1\\right|"),Vr("\\Ket","\\left|#1\\right\\rangle");const Un=t=>e=>{const r=e.consumeArg().tokens,n=e.consumeArg().tokens,o=e.consumeArg().tokens,s=e.consumeArg().tokens,a=e.macros.get("|"),i=e.macros.get("\\|");e.macros.beginGroup();const l=e=>r=>{t&&(r.macros.set("|",a),o.length&&r.macros.set("\\|",i));let s=e;return!e&&o.length&&"|"===r.future().text&&(r.popToken(),s=!0),{tokens:s?o:n,numArgs:0}};e.macros.set("|",l(!1)),o.length&&e.macros.set("\\|",l(!0));const c=e.consumeArg().tokens,h=e.expandTokens([...s,...c,...r]);return e.macros.endGroup(),{tokens:h.reverse(),numArgs:0}};Vr("\\bra@ket",Un(!1)),Vr("\\bra@set",Un(!0)),Vr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Vr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Vr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Vr("\\angln","{\\angl n}"),Vr("\\blue","\\textcolor{##6495ed}{#1}"),Vr("\\orange","\\textcolor{##ffa500}{#1}"),Vr("\\pink","\\textcolor{##ff00af}{#1}"),Vr("\\red","\\textcolor{##df0030}{#1}"),Vr("\\green","\\textcolor{##28ae7b}{#1}"),Vr("\\gray","\\textcolor{gray}{#1}"),Vr("\\purple","\\textcolor{##9d38bd}{#1}"),Vr("\\blueA","\\textcolor{##ccfaff}{#1}"),Vr("\\blueB","\\textcolor{##80f6ff}{#1}"),Vr("\\blueC","\\textcolor{##63d9ea}{#1}"),Vr("\\blueD","\\textcolor{##11accd}{#1}"),Vr("\\blueE","\\textcolor{##0c7f99}{#1}"),Vr("\\tealA","\\textcolor{##94fff5}{#1}"),Vr("\\tealB","\\textcolor{##26edd5}{#1}"),Vr("\\tealC","\\textcolor{##01d1c1}{#1}"),Vr("\\tealD","\\textcolor{##01a995}{#1}"),Vr("\\tealE","\\textcolor{##208170}{#1}"),Vr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Vr("\\greenB","\\textcolor{##8af281}{#1}"),Vr("\\greenC","\\textcolor{##74cf70}{#1}"),Vr("\\greenD","\\textcolor{##1fab54}{#1}"),Vr("\\greenE","\\textcolor{##0d923f}{#1}"),Vr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Vr("\\goldB","\\textcolor{##ffbb71}{#1}"),Vr("\\goldC","\\textcolor{##ff9c39}{#1}"),Vr("\\goldD","\\textcolor{##e07d10}{#1}"),Vr("\\goldE","\\textcolor{##a75a05}{#1}"),Vr("\\redA","\\textcolor{##fca9a9}{#1}"),Vr("\\redB","\\textcolor{##ff8482}{#1}"),Vr("\\redC","\\textcolor{##f9685d}{#1}"),Vr("\\redD","\\textcolor{##e84d39}{#1}"),Vr("\\redE","\\textcolor{##bc2612}{#1}"),Vr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Vr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Vr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Vr("\\maroonD","\\textcolor{##ca337c}{#1}"),Vr("\\maroonE","\\textcolor{##9e034e}{#1}"),Vr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Vr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Vr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Vr("\\purpleD","\\textcolor{##7854ab}{#1}"),Vr("\\purpleE","\\textcolor{##543b78}{#1}"),Vr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Vr("\\mintB","\\textcolor{##edf2df}{#1}"),Vr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Vr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Vr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Vr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Vr("\\grayD","\\textcolor{##d6d8da}{#1}"),Vr("\\grayE","\\textcolor{##babec2}{#1}"),Vr("\\grayF","\\textcolor{##888d93}{#1}"),Vr("\\grayG","\\textcolor{##626569}{#1}"),Vr("\\grayH","\\textcolor{##3b3e40}{#1}"),Vr("\\grayI","\\textcolor{##21242c}{#1}"),Vr("\\kaBlue","\\textcolor{##314453}{#1}"),Vr("\\kaGreen","\\textcolor{##71B307}{#1}");const Xn={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class jn{constructor(t,e,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=e,this.expansionCount=0,this.feed(t),this.macros=new Hn(Dn,e.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new Rn(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){let e,r,n;if(t){if(this.consumeSpaces(),"["!==this.future().text)return null;e=this.popToken();var o=this.consumeArg(["]"]);n=o.tokens,r=o.end}else{var s=this.consumeArg();n=s.tokens,e=s.start,r=s.end}return this.pushToken(new Xr("EOF",r.loc)),this.pushTokens(n),new Xr("",Ur.range(e,r))}consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()}consumeArg(t){const e=[],r=t&&t.length>0;r||this.consumeSpaces();const o=this.future();let s,a=0,i=0;do{if(s=this.popToken(),e.push(s),"{"===s.text)++a;else if("}"===s.text){if(--a,-1===a)throw new n("Extra }",s)}else if("EOF"===s.text)throw new n("Unexpected end of input in a macro argument, expected '"+(t&&r?t[i]:"}")+"'",s);if(t&&r)if((0===a||1===a&&"{"===t[i])&&s.text===t[i]){if(++i,i===t.length){e.splice(-i,i);break}}else i=0}while(0!==a||r);return"{"===o.text&&"}"===e[e.length-1].text&&(e.pop(),e.shift()),e.reverse(),{tokens:e,start:o,end:s}}consumeArgs(t,e){if(e){if(e.length!==t+1)throw new n("The length of delimiters doesn't match the number of args!");const r=e[0];for(let t=0;t<r.length;t++){const e=this.popToken();if(r[t]!==e.text)throw new n("Use of the macro doesn't match its definition",e)}}const r=[];for(let n=0;n<t;n++)r.push(this.consumeArg(e&&e[n+1]).tokens);return r}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new n("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){const e=this.popToken(),r=e.text,o=e.noexpand?null:this._getExpansion(r);if(null==o||t&&o.unexpandable){if(t&&null==o&&"\\"===r[0]&&!this.isDefined(r))throw new n("Undefined control sequence: "+r);return this.pushToken(e),!1}this.countExpansion(1);let s=o.tokens;const a=this.consumeArgs(o.numArgs,o.delimiters);if(o.numArgs){s=s.slice();for(let t=s.length-1;t>=0;--t){let e=s[t];if("#"===e.text){if(0===t)throw new n("Incomplete placeholder at end of macro body",e);if(e=s[--t],"#"===e.text)s.splice(t+1,1);else{if(!/^[1-9]$/.test(e.text))throw new n("Not a valid argument number",e);s.splice(t,2,...a[+e.text-1])}}}}return this.pushTokens(s),s.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){const t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}}expandMacro(t){return this.macros.has(t)?this.expandTokens([new Xr(t)]):void 0}expandTokens(t){const e=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(!1===this.expandOnce(!0)){const t=this.stack.pop();t.treatAsRelax&&(t.noexpand=!1,t.treatAsRelax=!1),e.push(t)}return this.countExpansion(e.length),e}expandMacroAsText(t){const e=this.expandMacro(t);return e?e.map((t=>t.text)).join(""):e}_getExpansion(t){const e=this.macros.get(t);if(null==e)return e;if(1===t.length){const e=this.lexer.catcodes[t];if(null!=e&&13!==e)return}const r="function"==typeof e?e(this):e;if("string"==typeof r){let t=0;if(r.includes("#")){const e=r.replace(/##/g,"");for(;e.includes("#"+(t+1));)++t}const e=new Rn(r,this.settings),n=[];let o=e.lex();for(;"EOF"!==o.text;)n.push(o),o=e.lex();return n.reverse(),{tokens:n,numArgs:t}}return r}isDefined(t){return this.macros.has(t)||Object.prototype.hasOwnProperty.call(Cn,t)||Object.prototype.hasOwnProperty.call(tt.math,t)||Object.prototype.hasOwnProperty.call(tt.text,t)||Object.prototype.hasOwnProperty.call(Xn,t)}isExpandable(t){const e=this.macros.get(t);return null!=e?"string"==typeof e||"function"==typeof e||!e.unexpandable:Object.prototype.hasOwnProperty.call(Cn,t)&&!Cn[t].primitive}}const Wn=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Yn=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g","ʰ":"h","ⁱ":"i","ʲ":"j","ᵏ":"k","ˡ":"l","ᵐ":"m","ⁿ":"n","ᵒ":"o","ᵖ":"p","ʳ":"r","ˢ":"s","ᵗ":"t","ᵘ":"u","ᵛ":"v","ʷ":"w","ˣ":"x","ʸ":"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Zn={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Kn={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class Jn{constructor(t,e){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 jn(t,e,this.mode),this.settings=e,this.leftrightDepth=0,this.nextToken=null}expect(t,e){if(void 0===e&&(e=!0),this.fetch().text!==t)throw new n("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());e&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){const e=this.nextToken;this.consume(),this.gullet.pushToken(new Xr("}")),this.gullet.pushTokens(t);const r=this.parseExpression(!1);return this.expect("}"),this.nextToken=e,r}parseExpression(t,e){const r=[];for(;;){"math"===this.mode&&this.consumeSpaces();const n=this.fetch();if(Jn.endOfExpression.has(n.text))break;if(e&&n.text===e)break;if(t&&Cn[n.text]&&Cn[n.text].infix)break;const o=this.parseAtom(e);if(!o)break;"internal"!==o.type&&r.push(o)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){let e,r=-1;for(let o=0;o<t.length;o++){const s=t[o];if("infix"===s.type){if(-1!==r)throw new n("only one infix operator per group",s.token);r=o,e=s.replaceWith}}if(-1!==r&&e){let n,o;const s=t.slice(0,r),a=t.slice(r+1);let i;return n=1===s.length&&"ordgroup"===s[0].type?s[0]:{type:"ordgroup",mode:this.mode,body:s},o=1===a.length&&"ordgroup"===a[0].type?a[0]:{type:"ordgroup",mode:this.mode,body:a},i="\\\\abovefrac"===e?this.callFunction(e,[n,t[r],o],[]):this.callFunction(e,[n,o],[]),[i]}return t}handleSupSubscript(t){const e=this.fetch(),r=e.text;let o;this.consume(),this.consumeSpaces();do{var s;o=this.parseGroup(t)}while("internal"===(null==(s=o)?void 0:s.type));if(!o)throw new n("Expected group after '"+r+"'",e);return o}formatUnsupportedCmd(t){const e=[];for(let r=0;r<t.length;r++)e.push({type:"textord",mode:"text",text:t[r]});const r={type:"text",mode:this.mode,body:e};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[r]}}parseAtom(t){const e=this.parseGroup("atom",t);if("internal"===(null==e?void 0:e.type))return e;if("text"===this.mode)return e;let r,o;for(;;){this.consumeSpaces();const t=this.fetch();if("\\limits"===t.text||"\\nolimits"===t.text){if(e&&"op"===e.type)e.limits="\\limits"===t.text,e.alwaysHandleSupSub=!0;else{if(!e||"operatorname"!==e.type)throw new n("Limit controls must follow a math operator",t);e.alwaysHandleSupSub&&(e.limits="\\limits"===t.text)}this.consume()}else if("^"===t.text){if(r)throw new n("Double superscript",t);r=this.handleSupSubscript("superscript")}else if("_"===t.text){if(o)throw new n("Double subscript",t);o=this.handleSupSubscript("subscript")}else if("'"===t.text){if(r)throw new n("Double superscript",t);const e={type:"textord",mode:this.mode,text:"\\prime"},o=[e];for(this.consume();"'"===this.fetch().text;)o.push(e),this.consume();"^"===this.fetch().text&&o.push(this.handleSupSubscript("superscript")),r={type:"ordgroup",mode:this.mode,body:o}}else{if(!Yn[t.text])break;{const e=Wn.test(t.text),n=[];for(n.push(new Xr(Yn[t.text])),this.consume();;){const t=this.fetch().text;if(!Yn[t])break;if(Wn.test(t)!==e)break;n.unshift(new Xr(Yn[t])),this.consume()}const s=this.subparse(n);e?o={type:"ordgroup",mode:"math",body:s}:r={type:"ordgroup",mode:"math",body:s}}}}return r&&o?{type:"supsub",mode:this.mode,base:e,sup:r,sub:o}:r?{type:"supsub",mode:this.mode,base:e,sup:r}:o?{type:"supsub",mode:this.mode,base:e,sub:o}:e}parseFunction(t,e){const r=this.fetch(),o=r.text,s=Cn[o];if(!s)return null;if(this.consume(),e&&"atom"!==e&&!s.allowedInArgument)throw new n("Got function '"+o+"' with no arguments"+(e?" as "+e:""),r);if("text"===this.mode&&!s.allowedInText)throw new n("Can't use function '"+o+"' in text mode",r);if("math"===this.mode&&!1===s.allowedInMath)throw new n("Can't use function '"+o+"' in math mode",r);const a=this.parseArguments(o,s),i=a.args,l=a.optArgs;return this.callFunction(o,i,l,r,t)}callFunction(t,e,r,o,s){const a={funcName:t,parser:this,token:o,breakOnTokenText:s},i=Cn[t];if(i&&i.handler)return i.handler(a,e,r);throw new n("No function handler for "+t)}parseArguments(t,e){var r;const o=null!=(r=e.numOptionalArgs)?r:0,s=e.numArgs+o;if(0===s)return{args:[],optArgs:[]};const a=[],i=[];for(let r=0;r<s;r++){var l;let s=null==(l=e.argTypes)?void 0:l[r];const c=r<o;("primitive"in e&&e.primitive&&null==s||"sqrt"===e.type&&1===r&&null==i[0])&&(s="primitive");const h=this.parseGroupOfType("argument to '"+t+"'",s,c);if(c)i.push(h);else{if(null==h)throw new n("Null argument, please report this as a bug");a.push(h)}}return{args:a,optArgs:i}}parseGroupOfType(t,e,r){switch(e){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,e);case"hbox":{const t=this.parseArgumentGroup(r,"text");return null!=t?{type:"styling",mode:t.mode,body:[t],style:"text",resetFont:!0}:null}case"raw":{const t=this.parseStringGroup(r);return null!=t?{type:"raw",mode:"text",string:t.text}:null}case"primitive":{if(r)throw new n("A primitive argument cannot be optional");const e=this.parseGroup(t);if(null==e)throw new n("Expected group as "+t,this.fetch());return e}case"original":case void 0:return this.parseArgumentGroup(r);default:throw new n("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(t){const e=this.gullet.scanArgument(t);if(null==e)return null;let r,n="";for(;"EOF"!==(r=this.fetch()).text;)n+=r.text,this.consume();return this.consume(),e.text=n,e}parseRegexGroup(t,e){const r=this.fetch();let o,s=r,a="";for(;"EOF"!==(o=this.fetch()).text&&t.test(a+o.text);)s=o,a+=s.text,this.consume();if(""===a)throw new n("Invalid "+e+": '"+r.text+"'",r);return r.range(s,a)}parseColorGroup(t){const e=this.parseStringGroup(t);if(null==e)return null;const r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(e.text);if(!r)throw new n("Invalid color: '"+e.text+"'",e);let o=r[0];return/^[0-9a-f]{6}$/i.test(o)&&(o="#"+o),{type:"color-token",mode:this.mode,color:o}}parseSizeGroup(t){let e,r=!1;if(this.gullet.consumeSpaces(),e=t||"{"===this.gullet.future().text?this.parseStringGroup(t):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"),!e)return null;t||0!==e.text.length||(e.text="0pt",r=!0);const o=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e.text);if(!o)throw new n("Invalid size: '"+e.text+"'",e);const s={number:+(o[1]+o[2]),unit:o[3]};if(!B(s))throw new n("Invalid unit: '"+s.unit+"'",e);return{type:"size",mode:this.mode,value:s,isBlank:r}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);const e=this.parseStringGroup(t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==e)return null;const r=e.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(t,e){const r=this.gullet.scanArgument(t);if(null==r)return null;const n=this.mode;e&&this.switchMode(e),this.gullet.beginGroup();const o=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();const s={type:"ordgroup",mode:this.mode,loc:r.loc,body:o};return e&&this.switchMode(n),s}parseGroup(t,e){const r=this.fetch(),o=r.text;let s;if("{"===o||"\\begingroup"===o){this.consume();const t="{"===o?"}":"\\endgroup";this.gullet.beginGroup();const e=this.parseExpression(!1,t),n=this.fetch();this.expect(t),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:Ur.range(r,n),body:e,semisimple:"\\begingroup"===o||void 0}}else if(s=this.parseFunction(e,t)||this.parseSymbol(),null==s&&"\\"===o[0]&&!Object.prototype.hasOwnProperty.call(Xn,o)){if(this.settings.throwOnError)throw new n("Undefined control sequence: "+o,r);s=this.formatUnsupportedCmd(o),this.consume()}return s}formLigatures(t){let e=t.length-1;for(let r=0;r<e;++r){const n=t[r];if("textord"!==n.type)continue;const o=n.text,s=t[r+1];if(s&&"textord"===s.type){if("-"===o&&"-"===s.text){const o=t[r+2];r+1<e&&o&&"textord"===o.type&&"-"===o.text?(t.splice(r,3,{type:"textord",mode:"text",loc:Ur.range(n,o),text:"---"}),e-=2):(t.splice(r,2,{type:"textord",mode:"text",loc:Ur.range(n,s),text:"--"}),e-=1)}"'"!==o&&"`"!==o||s.text!==o||(t.splice(r,2,{type:"textord",mode:"text",loc:Ur.range(n,s),text:o+o}),e-=1)}}}parseSymbol(){const t=this.fetch();let e=t.text;if(/^\\verb[^a-zA-Z]/.test(e)){this.consume();let t=e.slice(5);const r="*"===t.charAt(0);if(r&&(t=t.slice(1)),t.length<2||t.charAt(0)!==t.slice(-1))throw new n("\\verb assertion failed --\n please report what input caused this bug");return t=t.slice(1,-1),{type:"verb",mode:"text",body:t,star:r}}Object.prototype.hasOwnProperty.call(Kn,e[0])&&!tt[this.mode][e[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+e[0]+'" used in math mode',t),e=Kn[e[0]]+e.slice(1));const r=En.exec(e);let o;if(r&&(e=e.substring(0,r.index),"i"===e?e="ı":"j"===e&&(e="ȷ")),tt[this.mode][e]){this.settings.strict&&"math"===this.mode&&"ÐÞþ".includes(e)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+e[0]+'" used in math mode',t);const r=tt[this.mode][e].group,n=Ur.range(t);let a;s=r,a=Ye.has(s)?{type:"atom",mode:this.mode,family:r,loc:n,text:e}:{type:r,mode:this.mode,loc:n,text:e},o=a}else{if(!(e.charCodeAt(0)>=128))return null;this.settings.strict&&(A(e.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+e[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+e[0]+'" ('+e.charCodeAt(0)+")",t)),o={type:"textord",mode:"text",loc:Ur.range(t),text:e}}var s;if(this.consume(),r)for(let e=0;e<r[0].length;e++){const s=r[0][e];if(!Zn[s])throw new n("Unknown accent ' "+s+"'",t);const a=Zn[s][this.mode]||Zn[s].text;if(!a)throw new n("Accent "+s+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:Ur.range(t),label:a,isStretchy:!1,isShifty:!0,base:o}}return o}}Jn.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var Qn=function(t,e){if(!("string"==typeof t||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");const r=new Jn(t,e);delete r.gullet.macros.current["\\df@tag"];let o=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!e.displayMode)throw new n("\\tag works only in display equations");o=[{type:"tag",mode:"text",body:o,tag:r.subparse([new Xr("\\df@tag")])}]}return o};let to=function(t,e,r){e.textContent="";const n=ro(t,r).toNode();e.appendChild(n)};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),to=function(){throw new n("KaTeX doesn't work in quirks mode.")});const eo=function(t,e,r){if(r.throwOnError||!(t instanceof n))throw t;const o=Lt(["katex-error"],[new V(e)]);return o.setAttribute("title",t.toString()),o.setAttribute("style","color:"+r.errorColor),o},ro=function(t,e){const r=new p(e);try{return function(t,e,r){const n=Fe(r);let o;if("mathml"===r.output)return Re(t,e,n,r.displayMode,!0);if("html"===r.output){const e=ve(t,n);o=Lt(["katex"],[e])}else{const s=Re(t,e,n,r.displayMode,!1),a=ve(t,n);o=Lt(["katex"],[s,a])}return Ge(o,r)}(Qn(t,r),t,r)}catch(e){return eo(e,t,r)}};var no={version:"0.18.4",render:to,renderToString:function(t,e){return ro(t,e).toMarkup()},ParseError:n,SETTINGS_SCHEMA:u,__parse:function(t,e){const r=new p(e);return Qn(t,r)},__renderToDomTree:ro,__renderToHTMLTree:function(t,e){const r=new p(e);try{return function(t,e,r){const n=ve(t,Fe(r)),o=Lt(["katex"],[n]);return Ge(o,r)}(Qn(t,r),0,r)}catch(e){return eo(e,t,r)}},__setFontMetrics:function(t,e){W[t]=e},__defineSymbol:et,__defineFunction:se,__defineMacro:Vr,__domTree:{Span:L,Anchor:P,SymbolNode:V,SvgNode:U,PathNode:X,LineNode:j}};return e.default}();const r={"(":"left parenthesis",")":"right parenthesis","[":"open bracket","]":"close bracket","\\{":"left brace","\\}":"right brace","\\lvert":"open vertical bar","\\rvert":"close vertical bar","|":"vertical bar","\\uparrow":"up arrow","\\Uparrow":"up arrow","\\downarrow":"down arrow","\\Downarrow":"down arrow","\\updownarrow":"up down arrow","\\leftarrow":"left arrow","\\Leftarrow":"left arrow","\\rightarrow":"right arrow","\\Rightarrow":"right arrow","\\langle":"open angle","\\rangle":"close angle","\\lfloor":"open floor","\\rfloor":"close floor","\\int":"integral","\\intop":"integral","\\lim":"limit","\\ln":"natural log","\\log":"log","\\sin":"sine","\\cos":"cosine","\\tan":"tangent","\\cot":"cotangent","\\sum":"sum","/":"slash",",":"comma",".":"point","-":"negative","+":"plus","~":"tilde",":":"colon","?":"question mark","'":"apostrophe","\\%":"percent"," ":"space","\\ ":"space","\\$":"dollar sign","\\angle":"angle","\\degree":"degree","\\circ":"circle","\\vec":"vector","\\triangle":"triangle","\\pi":"pi","\\prime":"prime","\\infty":"infinity","\\alpha":"alpha","\\beta":"beta","\\gamma":"gamma","\\omega":"omega","\\theta":"theta","\\sigma":"sigma","\\lambda":"lambda","\\tau":"tau","\\Delta":"delta","\\delta":"delta","\\mu":"mu","\\rho":"rho","\\nabla":"del","\\ell":"ell","\\ldots":"dots","\\hat":"hat","\\acute":"acute"},n={prime:"prime",degree:"degrees",circle:"degrees",2:"squared",3:"cubed"},o={"|":"open vertical bar",".":""},s={"|":"close vertical bar",".":""},a={"+":"plus","-":"minus","\\pm":"plus minus","\\cdot":"dot","*":"times","/":"divided by","\\times":"times","\\div":"divided by","\\circ":"circle","\\bullet":"bullet"},i={"=":"equals","\\approx":"approximately equals","≠":"does not equal","\\geq":"is greater than or equal to","\\ge":"is greater than or equal to","\\leq":"is less than or equal to","\\le":"is less than or equal to",">":"is greater than","<":"is less than","\\leftarrow":"left arrow","\\Leftarrow":"left arrow","\\rightarrow":"right arrow","\\Rightarrow":"right arrow",":":"colon"},l={"\\underleftarrow":"left arrow","\\underrightarrow":"right arrow","\\underleftrightarrow":"left-right arrow","\\undergroup":"group","\\underlinesegment":"line segment","\\utilde":"tilde"},c=(t,e,n)=>{if(!t)return;let l;l="open"===e?t in o?o[t]:r[t]||t:"close"===e?t in s?s[t]:r[t]||t:"bin"===e?a[t]||t:"rel"===e?i[t]||t:r[t]||t,/^\d+$/.test(l)&&n.length>0&&"string"==typeof n[n.length-1]&&/^\d+$/.test(n[n.length-1])?n[n.length-1]+=l:l&&n.push(l)},h=(t,e)=>{const r=[];t.push(r),e(r)},u=(t,e)=>["equation",...p(m(t,[],e)).filter((t=>!/^(start text|end text|left parenthesis|right parenthesis)$/.test(t)))],m=(t,e=[],r)=>{if(t instanceof Array)for(let n=0;n<t.length;n++)m(t[n],e,r);else((t,e,r)=>{switch(t.type){case"accent":h(e,(e=>{m(t.base,e,r),e.push("with"),c(t.label,"normal",e),e.push("on top")}));break;case"accentUnder":h(e,(e=>{m(t.base,e,r),e.push("with"),c(l[t.label],"normal",e),e.push("underneath")}));break;case"accent-token":case"color-token":case"kern":case"leftright-right":case"size":case"infix":case"internal":break;case"atom":{const{text:r}=t;switch(t.family){case"bin":c(r,"bin",e);break;case"close":c(r,"close",e);break;case"inner":c(t.text,"inner",e);break;case"open":c(r,"open",e);break;case"punct":c(r,"punct",e);break;case"rel":c(r,"rel",e);break;default:throw t.family.empty,new Error(`"${t.family}" is not a valid atom type`)}break}case"color":{const n=t.color.replace(/katex-/,"");h(e,(e=>{e.push("start color "+n),m(t.body,e,r),e.push("end color "+n)}));break}case"delimsizing":t.delim&&"."!==t.delim&&c(t.delim,"normal",e);break;case"genfrac":h(e,(e=>{const{leftDelim:n,rightDelim:o}=t;t.hasBarLine?(e.push("start fraction"),n&&c(n,"open",e),m(t.numer,e,r),e.push("divided by"),m(t.denom,e,r),o&&c(o,"close",e),e.push("end fraction")):(e.push("start binomial"),n&&c(n,"open",e),m(t.numer,e,r),e.push("over"),m(t.denom,e,r),o&&c(o,"close",e),e.push("end binomial"))}));break;case"hbox":case"lap":case"ordgroup":case"raisebox":case"sizing":case"styling":case"smash":case"vcenter":case"operatorname":case"font":case"html":m(t.body,e,r);break;case"leftright":h(e,(e=>{c(t.left,"open",e),m(t.body,e,r),c(t.right,"close",e)}));break;case"mathord":c(t.text,"normal",e);break;case"op":{const{body:n,name:o}=t;n?m(n,e,r):o&&c(o,"normal",e);break}case"op-token":case"textord":c(t.text,r,e);break;case"overline":h(e,(function(e){e.push("start overline"),m(t.body,e,r),e.push("end overline")}));break;case"pmb":e.push("bold");break;case"phantom":e.push("empty space");break;case"rule":e.push("rectangle");break;case"spacing":e.push("space");break;case"sqrt":h(e,(e=>{const{body:n,index:o}=t;if(o)return"3"===p(m(o,[],r)).join(",")?(e.push("cube root of"),m(n,e,r),void e.push("end cube root")):(e.push("root"),e.push("start index"),m(o,e,r),void e.push("end index"));e.push("square root of"),m(n,e,r),e.push("end square root")}));break;case"supsub":{const{base:o,sub:s,sup:a}=t;let i=!1;if(o&&(m(o,e,r),i="op"===o.type&&"\\log"===o.name),s){const t=i?"base":"subscript";h(e,(function(e){e.push(`start ${t}`),m(s,e,r),e.push(`end ${t}`)}))}a&&h(e,(function(t){const e=p(m(a,[],r)).join(",");e in n?t.push(n[e]):(t.push("start superscript"),m(a,t,r),t.push("end superscript"))}));break}case"text":if("\\textbf"===t.font){h(e,(function(e){e.push("start bold text"),m(t.body,e,r),e.push("end bold text")}));break}h(e,(function(e){e.push("start text"),m(t.body,e,r),e.push("end text")}));break;case"enclose":if(/cancel/.test(t.label)){h(e,(function(e){e.push("start cancel"),m(t.body,e,r),e.push("end cancel")}));break}if(/box/.test(t.label)){h(e,(function(e){e.push("start box"),m(t.body,e,r),e.push("end box")}));break}if(/sout/.test(t.label)){h(e,(function(e){e.push("start strikeout"),m(t.body,e,r),e.push("end strikeout")}));break}if(/phase/.test(t.label)){h(e,(function(e){e.push("start phase angle"),m(t.body,e,r),e.push("end phase angle")}));break}throw new Error(`KaTeX-a11y: enclose node with ${t.label} not supported yet`);case"vphantom":throw new Error("KaTeX-a11y: vphantom not implemented yet");case"hphantom":throw new Error("KaTeX-a11y: hphantom not implemented yet");case"array":h(e,(e=>{e.push("start array"),t.body.forEach(((n,o)=>{e.push(`row ${o+1}`),n.forEach((t=>h(e,(e=>m(t,e,r)))));const s=t.tags?.[o];Array.isArray(s)&&e.push(u(s,r))})),e.push("end array")}));break;case"raw":throw new Error("KaTeX-a11y: raw not implemented yet");case"url":throw new Error("KaTeX-a11y: url not implemented yet");case"tag":m(t.body,e,r),e.push(u(t.tag,r));break;case"verb":c("start verbatim","normal",e),c(t.body,"normal",e),c("end verbatim","normal",e);break;case"environment":throw new Error("KaTeX-a11y: environment not implemented yet");case"horizBrace":c(`start ${t.label.slice(1)}`,"normal",e),m(t.base,e,r),c(`end ${t.label.slice(1)}`,"normal",e);break;case"includegraphics":throw new Error("KaTeX-a11y: includegraphics not implemented yet");case"href":throw new Error("KaTeX-a11y: href not implemented yet");case"cr":throw new Error("KaTeX-a11y: cr not implemented yet");case"underline":h(e,(function(e){e.push("start underline"),m(t.body,e,r),e.push("end underline")}));break;case"xArrow":throw new Error("KaTeX-a11y: xArrow not implemented yet");case"cdlabel":throw new Error("KaTeX-a11y: cdlabel not implemented yet");case"cdlabelparent":throw new Error("KaTeX-a11y: cdlabelparent not implemented yet");case"mclass":{const r=t.mclass.slice(1);m(t.body,e,r);break}case"mathchoice":m(t.text,e,r);break;case"htmlmathml":m(t.mathml,e,r);break;case"middle":c(t.delim,r,e);break;default:throw t.type.empty,new Error("KaTeX a11y un-recognized type: "+t.type)}})(t,e,r);return e},p=function(t){let e=[];return t.forEach((function(t){t instanceof Array?e=e.concat(p(t)):e.push(t)})),e};var d=function(r,n){const o=t(e).__parse(r,n),s=m(o,[],"normal");return p(s).join(", ")};t(e).__defineMacro("\\ce",(function(t){return g(t.consumeArgs(1)[0],"ce")})),t(e).__defineMacro("\\pu",(function(t){return g(t.consumeArgs(1)[0],"pu")})),t(e).__defineMacro("\\tripledash","{\\vphantom{-}\\raisebox{2.56mu}{$\\mkern2mu\\tiny\\text{-}\\mkern1mu\\text{-}\\mkern1mu\\text{-}\\mkern2mu$}}");var g=function(t,e){for(var r="",n=t.length&&t[t.length-1].loc.start,o=t.length-1;o>=0;o--)t[o].loc.start>n&&(r+=" ",n=t[o].loc.start),r+=t[o].text,n+=t[o].text.length;return b.go(f.go(r,e))},f={go:function(t,e){if(!t)return[];void 0===e&&(e="ce");var r,n="0",o={parenthesisLevel:0};t=(t=(t=t.replace(/\n/g," ")).replace(/[\u2212\u2013\u2014\u2010]/g,"-")).replace(/[\u2026]/g,"...");for(var s=10,a=[];;){r!==t?(s=10,r=t):s--;var i=f.stateMachines[e],l=i.transitions[n]||i.transitions["*"];t:for(var c=0;c<l.length;c++){var h=f.patterns.match_(l[c].pattern,t);if(h){for(var u=l[c].task,m=0;m<u.action_.length;m++){var p;if(i.actions[u.action_[m].type_])p=i.actions[u.action_[m].type_](o,h.match_,u.action_[m].option);else{if(!f.actions[u.action_[m].type_])throw["MhchemBugA","mhchem bug A. Please report. ("+u.action_[m].type_+")"];p=f.actions[u.action_[m].type_](o,h.match_,u.action_[m].option)}f.concatArray(a,p)}if(n=u.nextState||n,!(t.length>0))return a;if(u.revisit||(t=h.remainder),!u.toContinue)break t}}if(s<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(t,e){if(e)if(Array.isArray(e))for(var r=0;r<e.length;r++)t.push(e[r]);else t.push(e)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(t){var e=t.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:([eE]|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return e&&e[0]?{match_:e.splice(1),remainder:t.substr(e[0].length)}:null},"(-)(9)^(-9)":function(t){var e=t.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return e&&e[0]?{match_:e.splice(1),remainder:t.substr(e[0].length)}:null},"state of aggregation $":function(t){var e=f.patterns.findObserveGroups(t,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(e&&e.remainder.match(/^($|[\s,;\)\]\}])/))return e;var r=t.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return r?{match_:r[0],remainder:t.substr(r[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(t){return f.patterns.findObserveGroups(t,"^{","","","}")},"^($...$)":function(t){return f.patterns.findObserveGroups(t,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(t){return f.patterns.findObserveGroups(t,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(t){return f.patterns.findObserveGroups(t,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(t){return f.patterns.findObserveGroups(t,"_{","","","}")},"_($...$)":function(t){return f.patterns.findObserveGroups(t,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(t){return f.patterns.findObserveGroups(t,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(t){return f.patterns.findObserveGroups(t,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(t){return f.patterns.findObserveGroups(t,"","{","}","")},"{(...)}":function(t){return f.patterns.findObserveGroups(t,"{","","","}")},"$...$":function(t){return f.patterns.findObserveGroups(t,"","$","$","")},"${(...)}$":function(t){return f.patterns.findObserveGroups(t,"${","","","}$")},"$(...)$":function(t){return f.patterns.findObserveGroups(t,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(t){return f.patterns.findObserveGroups(t,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(t){return f.patterns.findObserveGroups(t,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(t){return f.patterns.findObserveGroups(t,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(t){return f.patterns.findObserveGroups(t,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(t){return f.patterns.findObserveGroups(t,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(t){return f.patterns.findObserveGroups(t,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(t){return f.patterns.findObserveGroups(t,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(t){return f.patterns.findObserveGroups(t,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(t){return f.patterns.findObserveGroups(t,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(t){return f.patterns.findObserveGroups(t,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(t){return f.patterns.findObserveGroups(t,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(t){return f.patterns.findObserveGroups(t,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(t){var e;if(e=t.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/))return{match_:e[0],remainder:t.substr(e[0].length)};var r=f.patterns.findObserveGroups(t,"","$","$","");return r&&(e=r.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/))?{match_:e[0],remainder:t.substr(e[0].length)}:null},amount2:function(t){return this.amount(t)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(t){if(t.match(/^\([a-z]+\)$/))return null;var e=t.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return e?{match_:e[0],remainder:t.substr(e[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(t,e,r,n,o,s,a,i,l,c){var h=function(t,e){if("string"==typeof e)return 0!==t.indexOf(e)?null:e;var r=t.match(e);return r?r[0]:null},u=h(t,e);if(null===u)return null;if(t=t.substr(u.length),null===(u=h(t,r)))return null;var m=function(t,e,r){for(var n=0;e<t.length;){var o=t.charAt(e),s=h(t.substr(e),r);if(null!==s&&0===n)return{endMatchBegin:e,endMatchEnd:e+s.length};if("{"===o)n++;else if("}"===o){if(0===n)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];n--}e++}return null}(t,u.length,n||o);if(null===m)return null;var p=t.substring(0,n?m.endMatchEnd:m.endMatchBegin);if(s||a){var d=this.findObserveGroups(t.substr(m.endMatchEnd),s,a,i,l);if(null===d)return null;var f=[p,d.match_];return{match_:c?f.join(""):f,remainder:d.remainder}}return{match_:p,remainder:t.substr(m.endMatchEnd)}},match_:function(t,e){var r=f.patterns.patterns[t];if(void 0===r)throw["MhchemBugP","mhchem bug P. Please report. ("+t+")"];if("function"==typeof r)return f.patterns.patterns[t](e);var n=e.match(r);return n?{match_:n[2]?[n[1],n[2]]:n[1]?n[1]:n[0],remainder:e.substr(n[0].length)}:null}},actions:{"a=":function(t,e){t.a=(t.a||"")+e},"b=":function(t,e){t.b=(t.b||"")+e},"p=":function(t,e){t.p=(t.p||"")+e},"o=":function(t,e){t.o=(t.o||"")+e},"q=":function(t,e){t.q=(t.q||"")+e},"d=":function(t,e){t.d=(t.d||"")+e},"rm=":function(t,e){t.rm=(t.rm||"")+e},"text=":function(t,e){t.text_=(t.text_||"")+e},insert:function(t,e,r){return{type_:r}},"insert+p1":function(t,e,r){return{type_:r,p1:e}},"insert+p1+p2":function(t,e,r){return{type_:r,p1:e[0],p2:e[1]}},copy:function(t,e){return e},rm:function(t,e){return{type_:"rm",p1:e||""}},text:function(t,e){return f.go(e,"text")},"{text}":function(t,e){var r=["{"];return f.concatArray(r,f.go(e,"text")),r.push("}"),r},"tex-math":function(t,e){return f.go(e,"tex-math")},"tex-math tight":function(t,e){return f.go(e,"tex-math tight")},bond:function(t,e,r){return{type_:"bond",kind_:r||e}},"color0-output":function(t,e){return{type_:"color0",color:e[0]}},ce:function(t,e){return f.go(e)},"1/2":function(t,e){var r=[];e.match(/^[+\-]/)&&(r.push(e.substr(0,1)),e=e.substr(1));var n=e.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return n[1]=n[1].replace(/\$/g,""),r.push({type_:"frac",p1:n[1],p2:n[2]}),n[3]&&(n[3]=n[3].replace(/\$/g,""),r.push({type_:"tex-math",p1:n[3]})),r},"9,9":function(t,e){return f.go(e,"9,9")}},createTransitions:function(t){var e,r,n,o,s={};for(e in t)for(r in t[e])for(n=r.split("|"),t[e][r].stateArray=n,o=0;o<n.length;o++)s[n[o]]=[];for(e in t)for(r in t[e])for(n=t[e][r].stateArray||[],o=0;o<n.length;o++){var a=t[e][r];if(a.action_){a.action_=[].concat(a.action_);for(var i=0;i<a.action_.length;i++)"string"==typeof a.action_[i]&&(a.action_[i]={type_:a.action_[i]})}else a.action_=[];for(var l=e.split("|"),c=0;c<l.length;c++)if("*"===n[o])for(var h in s)s[h].push({pattern:l[c],task:a});else s[n[o]].push({pattern:l[c],task:a})}return s},stateMachines:{}};f.stateMachines={ce:{transitions:f.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(t,e){var r;if((t.d||"").match(/^[0-9]+$/)){var n=t.d;t.d=void 0,r=this.output(t),t.b=n}else r=this.output(t);return f.actions["o="](t,e),r},"d= kv":function(t,e){t.d=e,t.dType="kv"},"charge or bond":function(t,e){if(t.beginsWithBond){var r=[];return f.concatArray(r,this.output(t)),f.concatArray(r,f.actions.bond(t,e,"-")),r}t.d=e},"- after o/d":function(t,e,r){var n=f.patterns.match_("orbital",t.o||""),o=f.patterns.match_("one lowercase greek letter $",t.o||""),s=f.patterns.match_("one lowercase latin letter $",t.o||""),a=f.patterns.match_("$one lowercase latin letter$ $",t.o||""),i="-"===e&&(n&&""===n.remainder||o||s||a);!i||t.a||t.b||t.p||t.d||t.q||n||!s||(t.o="$"+t.o+"$");var l=[];return i?(f.concatArray(l,this.output(t)),l.push({type_:"hyphen"})):(n=f.patterns.match_("digits",t.d||""),r&&n&&""===n.remainder?(f.concatArray(l,f.actions["d="](t,e)),f.concatArray(l,this.output(t))):(f.concatArray(l,this.output(t)),f.concatArray(l,f.actions.bond(t,e,"-")))),l},"a to o":function(t){t.o=t.a,t.a=void 0},"sb=true":function(t){t.sb=!0},"sb=false":function(t){t.sb=!1},"beginsWithBond=true":function(t){t.beginsWithBond=!0},"beginsWithBond=false":function(t){t.beginsWithBond=!1},"parenthesisLevel++":function(t){t.parenthesisLevel++},"parenthesisLevel--":function(t){t.parenthesisLevel--},"state of aggregation":function(t,e){return{type_:"state of aggregation",p1:f.go(e,"o")}},comma:function(t,e){var r=e.replace(/\s*$/,"");return r!==e&&0===t.parenthesisLevel?{type_:"comma enumeration L",p1:r}:{type_:"comma enumeration M",p1:r}},output:function(t,e,r){var n,o,s;for(var a in t.r?(o="M"===t.rdt?f.go(t.rd,"tex-math"):"T"===t.rdt?[{type_:"text",p1:t.rd||""}]:f.go(t.rd),s="M"===t.rqt?f.go(t.rq,"tex-math"):"T"===t.rqt?[{type_:"text",p1:t.rq||""}]:f.go(t.rq),n={type_:"arrow",r:t.r,rd:o,rq:s}):(n=[],(t.a||t.b||t.p||t.o||t.q||t.d||r)&&(t.sb&&n.push({type_:"entitySkip"}),t.o||t.q||t.d||t.b||t.p||2===r?t.o||t.q||t.d||!t.b&&!t.p?t.o&&"kv"===t.dType&&f.patterns.match_("d-oxidation$",t.d||"")?t.dType="oxidation":t.o&&"kv"===t.dType&&!t.q&&(t.dType=void 0):(t.o=t.a,t.d=t.b,t.q=t.p,t.a=t.b=t.p=void 0):(t.o=t.a,t.a=void 0),n.push({type_:"chemfive",a:f.go(t.a,"a"),b:f.go(t.b,"bd"),p:f.go(t.p,"pq"),o:f.go(t.o,"o"),q:f.go(t.q,"pq"),d:f.go(t.d,"oxidation"===t.dType?"oxidation":"bd"),dType:t.dType}))),t)"parenthesisLevel"!==a&&"beginsWithBond"!==a&&delete t[a];return n},"oxidation-output":function(t,e){var r=["{"];return f.concatArray(r,f.go(e,"oxidation")),r.push("}"),r},"frac-output":function(t,e){return{type_:"frac-ce",p1:f.go(e[0]),p2:f.go(e[1])}},"overset-output":function(t,e){return{type_:"overset",p1:f.go(e[0]),p2:f.go(e[1])}},"underset-output":function(t,e){return{type_:"underset",p1:f.go(e[0]),p2:f.go(e[1])}},"underbrace-output":function(t,e){return{type_:"underbrace",p1:f.go(e[0]),p2:f.go(e[1])}},"color-output":function(t,e){return{type_:"color",color1:e[0],color2:f.go(e[1])}},"r=":function(t,e){t.r=e},"rdt=":function(t,e){t.rdt=e},"rd=":function(t,e){t.rd=e},"rqt=":function(t,e){t.rqt=e},"rq=":function(t,e){t.rq=e},operator:function(t,e,r){return{type_:"operator",kind_:r||e}}}},a:{transitions:f.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:f.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:f.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(t){if(t.text_){var e={type_:"text",p1:t.text_};for(var r in t)delete t[r];return e}}}},pq:{transitions:f.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(t,e){return{type_:"state of aggregation subscript",p1:f.go(e,"o")}},"color-output":function(t,e){return{type_:"color",color1:e[0],color2:f.go(e[1],"pq")}}}},bd:{transitions:f.createTransitions({empty:{"*":{}},x$:{0:{nextState:"!f",revisit:!0}},formula$:{0:{nextState:"f",revisit:!0}},else:{0:{nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(t,e){return{type_:"color",color1:e[0],color2:f.go(e[1],"bd")}}}},oxidation:{transitions:f.createTransitions({empty:{"*":{}},"roman numeral":{"*":{action_:"roman-numeral"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},else:{"*":{action_:"copy"}}}),actions:{"roman-numeral":function(t,e){return{type_:"roman numeral",p1:e||""}}}},"tex-math":{transitions:f.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(t){if(t.o){var e={type_:"tex-math",p1:t.o};for(var r in t)delete t[r];return e}}}},"tex-math tight":{transitions:f.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(t,e){t.o=(t.o||"")+"{"+e+"}"},output:function(t){if(t.o){var e={type_:"tex-math",p1:t.o};for(var r in t)delete t[r];return e}}}},"9,9":{transitions:f.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:f.createTransitions({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(t,e){var r=[];return"+-"===e[0]||"+/-"===e[0]?r.push("\\pm "):e[0]&&r.push(e[0]),e[1]&&(f.concatArray(r,f.go(e[1],"pu-9,9")),e[2]&&(e[2].match(/[,.]/)?f.concatArray(r,f.go(e[2],"pu-9,9")):r.push(e[2])),e[3]=e[4]||e[3],e[3]&&(e[3]=e[3].trim(),"e"===e[3]||"*"===e[3].substr(0,1)?r.push({type_:"cdot"}):r.push({type_:"times"}))),e[3]&&r.push("10^{"+e[5]+"}"),r},"number^":function(t,e){var r=[];return"+-"===e[0]||"+/-"===e[0]?r.push("\\pm "):e[0]&&r.push(e[0]),f.concatArray(r,f.go(e[1],"pu-9,9")),r.push("^{"+e[2]+"}"),r},operator:function(t,e,r){return{type_:"operator",kind_:r||e}},space:function(){return{type_:"pu-space-1"}},output:function(t){var e,r=f.patterns.match_("{(...)}",t.d||"");r&&""===r.remainder&&(t.d=r.match_);var n=f.patterns.match_("{(...)}",t.q||"");if(n&&""===n.remainder&&(t.q=n.match_),t.d&&(t.d=t.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),t.d=t.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),t.q){t.q=t.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),t.q=t.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var o={d:f.go(t.d,"pu"),q:f.go(t.q,"pu")};"//"===t.o?e={type_:"pu-frac",p1:o.d,p2:o.q}:(e=o.d,o.d.length>1||o.q.length>1?e.push({type_:" / "}):e.push({type_:"/"}),f.concatArray(e,o.q))}else e=f.go(t.d,"pu-2");for(var s in t)delete t[s];return e}}},"pu-2":{transitions:f.createTransitions({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(t,e){t.rm+="^{"+e+"}"},space:function(){return{type_:"pu-space-2"}},output:function(t){var e=[];if(t.rm){var r=f.patterns.match_("{(...)}",t.rm||"");e=r&&""===r.remainder?f.go(r.match_,"pu"):{type_:"rm",p1:t.rm}}for(var n in t)delete t[n];return e}}},"pu-9,9":{transitions:f.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(t){var e=[];if(t.text_=t.text_||"",t.text_.length>4){var r=t.text_.length%3;0===r&&(r=3);for(var n=t.text_.length-3;n>0;n-=3)e.push(t.text_.substr(n,3)),e.push({type_:"1000 separator"});e.push(t.text_.substr(0,r)),e.reverse()}else e.push(t.text_);for(var o in t)delete t[o];return e},"output-o":function(t){var e=[];if(t.text_=t.text_||"",t.text_.length>4){for(var r=t.text_.length-3,n=0;n<r;n+=3)e.push(t.text_.substr(n,3)),e.push({type_:"1000 separator"});e.push(t.text_.substr(n))}else e.push(t.text_);for(var o in t)delete t[o];return e}}}};var b={go:function(t,e){if(!t)return"";for(var r="",n=!1,o=0;o<t.length;o++){var s=t[o];"string"==typeof s?r+=s:(r+=b._go2(s),"1st-level escape"===s.type_&&(n=!0))}return e||n||!r||(r="{"+r+"}"),r},_goInner:function(t){return t?b.go(t,!0):t},_go2:function(t){var e;switch(t.type_){case"chemfive":e="";var r={a:b._goInner(t.a),b:b._goInner(t.b),p:b._goInner(t.p),o:b._goInner(t.o),q:b._goInner(t.q),d:b._goInner(t.d)};r.a&&(r.a.match(/^[+\-]/)&&(r.a="{"+r.a+"}"),e+=r.a+"\\,"),(r.b||r.p)&&(e+="{\\vphantom{X}}",e+="^{\\hphantom{"+(r.b||"")+"}}_{\\hphantom{"+(r.p||"")+"}}",e+="{\\vphantom{X}}",e+="^{\\smash[t]{\\vphantom{2}}\\mathllap{"+(r.b||"")+"}}",e+="_{\\vphantom{2}\\mathllap{\\smash[t]{"+(r.p||"")+"}}}"),r.o&&(r.o.match(/^[+\-]/)&&(r.o="{"+r.o+"}"),e+=r.o),"kv"===t.dType?((r.d||r.q)&&(e+="{\\vphantom{X}}"),r.d&&(e+="^{"+r.d+"}"),r.q&&(e+="_{\\smash[t]{"+r.q+"}}")):"oxidation"===t.dType?(r.d&&(e+="{\\vphantom{X}}",e+="^{"+r.d+"}"),r.q&&(e+="{\\vphantom{X}}",e+="_{\\smash[t]{"+r.q+"}}")):(r.q&&(e+="{\\vphantom{X}}",e+="_{\\smash[t]{"+r.q+"}}"),r.d&&(e+="{\\vphantom{X}}",e+="^{"+r.d+"}"));break;case"rm":case"roman numeral":e="\\mathrm{"+t.p1+"}";break;case"text":t.p1.match(/[\^_]/)?(t.p1=t.p1.replace(" ","~").replace("-","\\text{-}"),e="\\mathrm{"+t.p1+"}"):e="\\text{"+t.p1+"}";break;case"state of aggregation":e="\\mskip2mu "+b._goInner(t.p1);break;case"state of aggregation subscript":e="\\mskip1mu "+b._goInner(t.p1);break;case"bond":if(!(e=b._getBond(t.kind_)))throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+t.kind_+")"];break;case"frac":var n="\\frac{"+t.p1+"}{"+t.p2+"}";e="\\mathchoice{\\textstyle"+n+"}{"+n+"}{"+n+"}{"+n+"}";break;case"pu-frac":var o="\\frac{"+b._goInner(t.p1)+"}{"+b._goInner(t.p2)+"}";e="\\mathchoice{\\textstyle"+o+"}{"+o+"}{"+o+"}{"+o+"}";break;case"tex-math":case"1st-level escape":e=t.p1+" ";break;case"frac-ce":e="\\frac{"+b._goInner(t.p1)+"}{"+b._goInner(t.p2)+"}";break;case"overset":e="\\overset{"+b._goInner(t.p1)+"}{"+b._goInner(t.p2)+"}";break;case"underset":e="\\underset{"+b._goInner(t.p1)+"}{"+b._goInner(t.p2)+"}";break;case"underbrace":e="\\underbrace{"+b._goInner(t.p1)+"}_{"+b._goInner(t.p2)+"}";break;case"color":e="{\\color{"+t.color1+"}{"+b._goInner(t.color2)+"}}";break;case"color0":e="\\color{"+t.color+"}";break;case"arrow":var s={rd:b._goInner(t.rd),rq:b._goInner(t.rq)},a="\\x"+b._getArrow(t.r);s.rq&&(a+="[{"+s.rq+"}]"),e=a+=s.rd?"{"+s.rd+"}":"{}";break;case"operator":e=b._getOperator(t.kind_);break;case"space":e=" ";break;case"entitySkip":case"pu-space-1":e="~";break;case"pu-space-2":e="\\mkern3mu ";break;case"1000 separator":e="\\mkern2mu ";break;case"commaDecimal":e="{,}";break;case"comma enumeration L":e="{"+t.p1+"}\\mkern6mu ";break;case"comma enumeration M":e="{"+t.p1+"}\\mkern3mu ";break;case"comma enumeration S":e="{"+t.p1+"}\\mkern1mu ";break;case"hyphen":e="\\text{-}";break;case"addition compound":e="\\,{\\cdot}\\,";break;case"electron dot":e="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":e="{\\times}";break;case"prime":e="\\prime ";break;case"cdot":e="\\cdot ";break;case"tight cdot":e="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":e="\\times ";break;case"circa":e="{\\sim}";break;case"^":e="uparrow";break;case"v":e="downarrow";break;case"ellipsis":e="\\ldots ";break;case"/":e="/";break;case" / ":e="\\,/\\,";break;default:throw["MhchemBugT","mhchem bug T. Please report."]}return e},_getArrow:function(t){switch(t){case"->":case"→":case"⟶":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<--\x3e":return"rightleftarrows";case"<=>":case"⇌":return"rightleftharpoons";case"<=>>":return"rightequilibrium";case"<<=>":return"leftequilibrium";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(t){switch(t){case"-":case"1":return"{-}";case"=":case"2":return"{=}";case"#":case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\mathrlap{\\raisebox{-.1em}{$-$}}\\raisebox{.1em}{$\\tripledash$}}";case"~=":case"~--":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"-~-":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$-$}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(t){switch(t){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":case"$\\approx$":return" {}\\approx{} ";case"v":case"(v)":return" \\downarrow{} ";case"^":case"(^)":return" \\uparrow{} ";default:throw["MhchemBugT","mhchem bug T. Please report."]}}},y=null;customElements.define("lia-formula",class extends HTMLElement{macros_={};constructor(){super(),this.span=document.createElement("span"),this.label=document.createElement("span"),this.label.style.display="none",this.label.setAttribute("aria-hidden","true"),this.formula_=""}connectedCallback(){const t=this.attachShadow({mode:"open"});let e=document.createElement("style");e.textContent=this.extractKatexStyles(),t.appendChild(e),t.appendChild(this.span),this.appendChild(this.label),this.formula_=this.getAttribute("formula")||"";const r=this.getAttribute("macros");if(r)try{this.macros_=JSON.parse(r)}catch(t){console.warn("formula: reading macros ->",t instanceof Error?t.message:String(t))}this.render()}extractKatexStyles(){if(null!==y)return y;y="";const t=document.styleSheets;for(let e=0;e<t.length;e++){let r=t[e];try{let t=r.cssRules||r.rules;for(let e=0;e<t.length;e++){let r=t[e];r.selectorText&&r.selectorText.includes(".katex")&&(y+=r.cssText+"\n")}}catch(t){console.warn("formula: cannot access stylesheets ->",t instanceof Error?t.message:String(t))}}return y}displayMode(){try{const t=this.getAttribute("displayMode")||"false";return!!JSON.parse(t)}catch(t){}return!1}render(){if(this.formula_&&this.span){let r;null===this.formula_.match(/\\(gdef)|(xdef)|(global\\def)(global\\edef)|(global\\let)|(global\\futurelet)\\/g)&&Object.keys(this.macros_).length>0&&(r=this.macros_);try{t(e).render(this.formula_,this.span,{throwOnError:!1,displayMode:this.displayMode(),trust:!0,macros:r,output:"htmlAndMathml"})}catch(t){console.warn("formula: render ->",t.message)}if(this.span.setAttribute("role","math"),null===this.getAttribute("aria-label")){let t=this.formula_;try{t=d(t,{displayMode:this.displayMode()})}catch(t){console.warn("formula: render a11y ->",t instanceof Error?t.message:String(t))}this.span.setAttribute("aria-label",t),this.label.innerHTML=t}}}get formula(){return this.formula_}set formula(t){this.formula_!==t&&(this.formula_=t,this.render())}get macros(){return this.macros_}set macros(t){JSON.stringify(this.macros_)!==JSON.stringify(t)&&(this.macros_=t,this.render())}disconnectedCallback(){this.span.innerHTML="",this.label.innerHTML=""}});