cmcts-c-agent-embedding 1.0.65-vib → 1.1.2-cmcuni

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 (127) hide show
  1. package/dist/_basePickBy-1057a1b4.js +1 -0
  2. package/dist/_basePickBy-cbf78fb3.js +1 -0
  3. package/dist/_baseUniq-38ea2195.js +1 -0
  4. package/dist/_baseUniq-52a47b7b.js +1 -0
  5. package/dist/arc-6b847bc0.js +1 -0
  6. package/dist/arc-8928af28.js +1 -0
  7. package/dist/architecture-O4VJ6CD3-42323263.js +1 -0
  8. package/dist/architecture-O4VJ6CD3-b506967f.js +1 -0
  9. package/dist/architectureDiagram-VXUJARFQ-1bd867b6.js +1 -0
  10. package/dist/architectureDiagram-VXUJARFQ-2b851c59.js +1 -0
  11. package/dist/blockDiagram-VD42YOAC-5cea96b0.js +1 -0
  12. package/dist/blockDiagram-VD42YOAC-a909b757.js +1 -0
  13. package/dist/c4Diagram-YG6GDRKO-24d24519.js +1 -0
  14. package/dist/c4Diagram-YG6GDRKO-54783ab3.js +1 -0
  15. package/dist/channel-2af69aa2.js +1 -0
  16. package/dist/channel-f240e622.js +1 -0
  17. package/dist/chunk-4BX2VUAB-7747ae72.js +1 -0
  18. package/dist/chunk-4BX2VUAB-d05d937e.js +1 -0
  19. package/dist/chunk-55IACEB6-5a7b1be3.js +1 -0
  20. package/dist/chunk-55IACEB6-78729976.js +1 -0
  21. package/dist/chunk-B4BG7PRW-a97e69ff.js +1 -0
  22. package/dist/chunk-B4BG7PRW-cbf800c4.js +1 -0
  23. package/dist/chunk-DI55MBZ5-5dc4f926.js +1 -0
  24. package/dist/chunk-DI55MBZ5-95d71f6f.js +1 -0
  25. package/dist/chunk-FMBD7UC4-2c653fda.js +1 -0
  26. package/dist/chunk-FMBD7UC4-d75ed695.js +1 -0
  27. package/dist/chunk-QN33PNHL-0bf10733.js +1 -0
  28. package/dist/chunk-QN33PNHL-b00655c9.js +1 -0
  29. package/dist/chunk-QZHKN3VN-a979a9fe.js +1 -0
  30. package/dist/chunk-QZHKN3VN-d57979be.js +1 -0
  31. package/dist/chunk-TZMSLE5B-6755c559.js +1 -0
  32. package/dist/chunk-TZMSLE5B-ed6d6d7e.js +1 -0
  33. package/dist/classDiagram-2ON5EDUG-8b5a2a93.js +1 -0
  34. package/dist/classDiagram-2ON5EDUG-fa9ecfbb.js +1 -0
  35. package/dist/classDiagram-v2-WZHVMYZB-8b5a2a93.js +1 -0
  36. package/dist/classDiagram-v2-WZHVMYZB-fa9ecfbb.js +1 -0
  37. package/dist/clone-6cd174cf.js +1 -0
  38. package/dist/clone-8494eb3f.js +1 -0
  39. package/dist/components/Bot.d.ts.map +1 -1
  40. package/dist/components/bubbles/BotBubble.d.ts +0 -1
  41. package/dist/components/bubbles/BotBubble.d.ts.map +1 -1
  42. package/dist/components/bubbles/StarterPromptBubble.d.ts.map +1 -1
  43. package/dist/components/buttons/ConsultationButton.d.ts.map +1 -1
  44. package/dist/components/icons/AddImageIcon.d.ts.map +1 -1
  45. package/dist/components/index.d.ts +2 -0
  46. package/dist/components/index.d.ts.map +1 -1
  47. package/dist/components/inputs/textInput/components/TextInput.d.ts +3 -0
  48. package/dist/components/inputs/textInput/components/TextInput.d.ts.map +1 -1
  49. package/dist/components/modals/ZaloQRModal.d.ts.map +1 -1
  50. package/dist/cose-bilkent-S5V4N54A-2f5eb275.js +1 -0
  51. package/dist/cose-bilkent-S5V4N54A-3cda82b5.js +1 -0
  52. package/dist/cytoscape.esm-9acb9bfe.js +1 -0
  53. package/dist/dagre-6UL2VRFP-9b648c54.js +1 -0
  54. package/dist/dagre-6UL2VRFP-e997588d.js +1 -0
  55. package/dist/defaultLocale-1fe70b7d.js +1 -0
  56. package/dist/diagram-PSM6KHXK-1234d08d.js +1 -0
  57. package/dist/diagram-PSM6KHXK-15013de5.js +1 -0
  58. package/dist/diagram-QEK2KX5R-489b9505.js +1 -0
  59. package/dist/diagram-QEK2KX5R-9e94df2a.js +1 -0
  60. package/dist/diagram-S2PKOQOG-6fef3823.js +1 -0
  61. package/dist/diagram-S2PKOQOG-c943ed25.js +1 -0
  62. package/dist/erDiagram-Q2GNP2WA-2b1823f2.js +1 -0
  63. package/dist/erDiagram-Q2GNP2WA-7e6c6a04.js +1 -0
  64. package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -1
  65. package/dist/flowDiagram-NV44I4VS-709c6479.js +1 -0
  66. package/dist/flowDiagram-NV44I4VS-98a84da9.js +1 -0
  67. package/dist/ganttDiagram-LVOFAZNH-1d379d6a.js +1 -0
  68. package/dist/ganttDiagram-LVOFAZNH-d8342586.js +1 -0
  69. package/dist/gitGraph-ZV4HHKMB-788776f3.js +1 -0
  70. package/dist/gitGraph-ZV4HHKMB-ba420dcc.js +1 -0
  71. package/dist/gitGraphDiagram-NY62KEGX-804d1363.js +1 -0
  72. package/dist/gitGraphDiagram-NY62KEGX-919097ea.js +1 -0
  73. package/dist/graph-834f6046.js +1 -0
  74. package/dist/graph-db4953aa.js +1 -0
  75. package/dist/info-63CPKGFF-2dccc483.js +1 -0
  76. package/dist/info-63CPKGFF-ef40f1c4.js +1 -0
  77. package/dist/infoDiagram-F6ZHWCRC-579d50b4.js +1 -0
  78. package/dist/infoDiagram-F6ZHWCRC-c9877bad.js +1 -0
  79. package/dist/init-cf76ae07.js +1 -0
  80. package/dist/journeyDiagram-XKPGCS4Q-25d3c922.js +1 -0
  81. package/dist/journeyDiagram-XKPGCS4Q-2d2cda1c.js +1 -0
  82. package/dist/kanban-definition-3W4ZIXB7-c556bee0.js +1 -0
  83. package/dist/kanban-definition-3W4ZIXB7-cdb93ec0.js +1 -0
  84. package/dist/katex-0a18b0df.js +1 -0
  85. package/dist/layout-40652dba.js +1 -0
  86. package/dist/layout-54ffc604.js +1 -0
  87. package/dist/linear-2f639b72.js +1 -0
  88. package/dist/linear-ed2367ff.js +1 -0
  89. package/dist/mermaid-parser.core-0cfa7d2a.js +1 -0
  90. package/dist/mermaid-parser.core-10bed742.js +1 -0
  91. package/dist/mindmap-definition-VGOIOE7T-169f5fe5.js +1 -0
  92. package/dist/mindmap-definition-VGOIOE7T-dea1c792.js +1 -0
  93. package/dist/ordinal-221e41d7.js +1 -0
  94. package/dist/packet-HUATNLJX-6f2471ea.js +1 -0
  95. package/dist/packet-HUATNLJX-c69e28eb.js +1 -0
  96. package/dist/pie-WTHONI2E-4143e44b.js +1 -0
  97. package/dist/pie-WTHONI2E-82b1fe3f.js +1 -0
  98. package/dist/pieDiagram-ADFJNKIX-499eec78.js +1 -0
  99. package/dist/pieDiagram-ADFJNKIX-657effd5.js +1 -0
  100. package/dist/quadrantDiagram-AYHSOK5B-138a0c93.js +1 -0
  101. package/dist/quadrantDiagram-AYHSOK5B-91137c4d.js +1 -0
  102. package/dist/radar-NJJJXTRR-5e934a95.js +1 -0
  103. package/dist/radar-NJJJXTRR-94d77527.js +1 -0
  104. package/dist/requirementDiagram-UZGBJVZJ-a5d9fb39.js +1 -0
  105. package/dist/requirementDiagram-UZGBJVZJ-d7aeec99.js +1 -0
  106. package/dist/sankeyDiagram-TZEHDZUN-15053ae0.js +1 -0
  107. package/dist/sankeyDiagram-TZEHDZUN-aadd2125.js +1 -0
  108. package/dist/sequenceDiagram-WL72ISMW-12e778ef.js +1 -0
  109. package/dist/sequenceDiagram-WL72ISMW-9330a98a.js +1 -0
  110. package/dist/stateDiagram-FKZM4ZOC-01225f0f.js +1 -0
  111. package/dist/stateDiagram-FKZM4ZOC-af4836d7.js +1 -0
  112. package/dist/stateDiagram-v2-4FDKWEC3-4774cc10.js +1 -0
  113. package/dist/stateDiagram-v2-4FDKWEC3-5ef8e019.js +1 -0
  114. package/dist/timeline-definition-IT6M3QCI-9921f937.js +1 -0
  115. package/dist/timeline-definition-IT6M3QCI-a7a9bbec.js +1 -0
  116. package/dist/treemap-75Q7IDZK-100ddeb7.js +1 -0
  117. package/dist/treemap-75Q7IDZK-851117b4.js +1 -0
  118. package/dist/utils/index.d.ts +27 -5
  119. package/dist/utils/index.d.ts.map +1 -1
  120. package/dist/web-0016ac81.js +1 -0
  121. package/dist/web-4e6d8ea9.js +1 -0
  122. package/dist/web.js +1 -1
  123. package/dist/window.d.ts.map +1 -1
  124. package/dist/xychartDiagram-PRI3JC2R-003630a4.js +1 -0
  125. package/dist/xychartDiagram-PRI3JC2R-df869780.js +1 -0
  126. package/package.json +5 -3
  127. package/public/index.html +45 -32
@@ -0,0 +1 @@
1
+ class e{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}static range(t,r){return r?t&&t.loc&&r.loc&&t.loc.lexer===r.loc.lexer?new e(t.loc.lexer,t.loc.start,r.loc.end):null:t&&t.loc}}class t{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(r,a){return new t(a,e.range(this,r))}}class r{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var a,n,i,o="KaTeX parse error: "+e;return(t=((t=t&&t.loc)&&t.start<=t.end&&(a=t.lexer.input,n=t.start,i=t.end,n===a.length?o+=" at end of input: ":o+=" at position "+(n+1)+": ",t=a.slice(n,i).replace(/[^]/g,"$&̲"),o+=(15<n?"…"+a.slice(n-15,n):a.slice(0,n))+t+(i+15<a.length?a.slice(i,i+15)+"…":a.slice(i))),new Error(o))).name="ParseError",t.__proto__=r.prototype,null!=(t.position=n)&&null!=i&&(t.length=i-n),t.rawMessage=e,t}}r.prototype.__proto__=Error.prototype;var a=/([A-Z])/g,n={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},i=/[&><"']/g;var o=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},s={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(i,(e=>n[e]))},hyphenate:function(e){return e.replace(a,"-$1").toLowerCase()},getBaseElem:o,isCharacterBox:function(e){return"mathord"===(e=o(e)).type||"textord"===e.type||"atom"===e.type},protocolFromUrl:function(e){return(e=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e))?":"===e[2]&&/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(e[1])?e[1].toLowerCase():null:"_relative"}},l={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function h(e){if(e.default)return e.default;if(e=e.type,"string"!=typeof(e=Array.isArray(e)?e[0]:e))return e.enum[0];switch(e){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class m{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},l){var r;l.hasOwnProperty(t)&&(r=l[t],this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:h(r))}}reportNonstrict(e,t,a){var n=this.strict;if((n="function"==typeof n?n(e,t,a):n)&&"ignore"!==n){if(!0===n||"error"===n)throw new r("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",a);"warn"===n?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,r){var a=this.strict;if("function"==typeof a)try{a=a(e,t,r)}catch(e){a="error"}return!(!a||"ignore"===a||!0!==a&&"error"!==a&&("warn"===a?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+a+"': "+t+" ["+e+"]"),1))}isTrusted(e){if(e.url&&!e.protocol){var t=s.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}return t="function"==typeof this.trust?this.trust(e):this.trust,Boolean(t)}}class c{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return p[u[this.id]]}sub(){return p[d[this.id]]}fracNum(){return p[g[this.id]]}fracDen(){return p[f[this.id]]}cramp(){return p[b[this.id]]}text(){return p[y[this.id]]}isTight(){return 2<=this.size}}var p=[new c(0,0,!1),new c(1,0,!0),new c(2,1,!1),new c(3,1,!0),new c(4,2,!1),new c(5,2,!0),new c(6,3,!1),new c(7,3,!0)],u=[4,5,4,5,6,7,6,7],d=[5,5,5,5,7,7,7,7],g=[2,3,4,5,6,7,6,7],f=[3,3,5,5,7,7,7,7],b=[1,1,3,3,5,5,7,7],y=[0,1,2,3,2,3,2,3],x={DISPLAY:p[0],TEXT:p[2],SCRIPT:p[4],SCRIPTSCRIPT:p[6]},v=[{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]]}];var w=[];function k(e){for(var t=0;t<w.length;t+=2)if(e>=w[t]&&e<=w[t+1])return!0;return!1}v.forEach((e=>e.blocks.forEach((e=>w.push(...e)))));var S=80,M={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class z{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return s.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map((e=>e.toText())).join("")}}var A={"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]}},T={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]},B={"Å":"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 C(e,t){A[e]=t}function q(e,t,r){if(!A[t])throw new Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),n=A[t][a];if(!n&&e[0]in B&&(a=B[e[0]].charCodeAt(0),n=A[t][a]),n||"text"!==r||k(a)&&(n=A[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var N={};var I=[[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]],R=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],H=function(e,t){return t.size<2?e:I[e-1][t.size-1]};class O{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||O.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=R[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t,r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);return new O(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:H(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:R[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=H(O.BASESIZE,e);return this.size===t&&this.textSize===O.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==O.BASESIZE?["sizing","reset-size"+this.size,"size"+O.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t=5<=e?0:3<=e?1:2;if(!N[t]){var r,a=N[t]={cssEmPerMu:T.quad[t]/18};for(r in T)T.hasOwnProperty(r)&&(a[r]=T[r][t])}return N[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}O.BASESIZE=6;var E={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},L={ex:!0,em:!0,mu:!0},D=function(e){return(e="string"!=typeof e?e.unit:e)in E||e in L||"ex"===e},V=function(e,t){var a;if(e.unit in E)a=E[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)a=t.fontMetrics().cssEmPerMu;else{var n=t.style.isTight()?t.havingStyle(t.style.text()):t;if("ex"===e.unit)a=n.fontMetrics().xHeight;else{if("em"!==e.unit)throw new r("Invalid unit: '"+e.unit+"'");a=n.fontMetrics().quad}n!==t&&(a*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*a,t.maxSize)},P=function(e){return+e.toFixed(4)+"em"},F=function(e){return e.filter((e=>e)).join(" ")},G=function(e,t,r){this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t&&(t.style.isTight()&&this.classes.push("mtight"),e=t.getColor())&&(this.style.color=e)},U=function(e){var t,r,a=document.createElement(e);for(t in a.className=F(this.classes),this.style)this.style.hasOwnProperty(t)&&(a.style[t]=this.style[t]);for(r in this.attributes)this.attributes.hasOwnProperty(r)&&a.setAttribute(r,this.attributes[r]);for(var n=0;n<this.children.length;n++)a.appendChild(this.children[n].toNode());return a},Y=/[\s"'>/=\x00-\x1f]/,_=function(e){var t,a,n="<"+e,i=(this.classes.length&&(n+=' class="'+s.escape(F(this.classes))+'"'),"");for(t in this.style)this.style.hasOwnProperty(t)&&(i+=s.hyphenate(t)+":"+this.style[t]+";");for(a in i&&(n+=' style="'+s.escape(i)+'"'),this.attributes)if(this.attributes.hasOwnProperty(a)){if(Y.test(a))throw new r("Invalid attribute name '"+a+"'");n+=" "+a+'="'+s.escape(this.attributes[a])+'"'}n+=">";for(var o=0;o<this.children.length;o++)n+=this.children[o].toMarkup();return n+"</"+e+">"};class X{constructor(e,t,r,a){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,G.call(this,e,r,a),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return s.contains(this.classes,e)}toNode(){return U.call(this,"span")}toMarkup(){return _.call(this,"span")}}class W{constructor(e,t,r,a){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,G.call(this,t,a),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return s.contains(this.classes,e)}toNode(){return U.call(this,"a")}toMarkup(){return _.call(this,"a")}}class j{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return s.contains(this.classes,e)}toNode(){var e,t=document.createElement("img");for(e in t.src=this.src,t.alt=this.alt,t.className="mord",this.style)this.style.hasOwnProperty(e)&&(t.style[e]=this.style[e]);return t}toMarkup(){var e,t='<img src="'+s.escape(this.src)+'" alt="'+s.escape(this.alt)+'"',r="";for(e in this.style)this.style.hasOwnProperty(e)&&(r+=s.hyphenate(e)+":"+this.style[e]+";");return r&&(t+=' style="'+s.escape(r)+'"'),t+"'/>"}}var $={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};class Z{constructor(e,t,r,a,n,i,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=r||0,this.italic=a||0,this.skew=n||0,this.width=i||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0,e=function(e){for(var t=0;t<v.length;t++)for(var r=v[t],a=0;a<r.blocks.length;a++){var n=r.blocks[a];if(e>=n[0]&&e<=n[1])return r.name}return null}(this.text.charCodeAt(0)),e&&this.classes.push(e+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=$[this.text])}hasClass(e){return s.contains(this.classes,e)}toNode(){var e,t=document.createTextNode(this.text),r=null;for(e in 0<this.italic&&((r=document.createElement("span")).style.marginRight=P(this.italic)),0<this.classes.length&&((r=r||document.createElement("span")).className=F(this.classes)),this.style)this.style.hasOwnProperty(e)&&((r=r||document.createElement("span")).style[e]=this.style[e]);return r?(r.appendChild(t),r):t}toMarkup(){var e,t=!1,r="<span",a=(this.classes.length&&(t=!0,r=(r+=' class="')+s.escape(F(this.classes))+'"'),"");for(e in 0<this.italic&&(a+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(e)&&(a+=s.hyphenate(e)+":"+this.style[e]+";");a&&(t=!0,r+=' style="'+s.escape(a)+'"');var n=s.escape(this.text);return t?(r+=">")+n+"</span>":n}}class K{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e,t=document.createElementNS("http://www.w3.org/2000/svg","svg");for(e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&t.setAttribute(e,this.attributes[e]);for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){var e,t='<svg xmlns="http://www.w3.org/2000/svg"';for(e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&(t+=" "+e+'="'+s.escape(this.attributes[e])+'"');t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+"</svg>"}}class J{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",M[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+s.escape(this.alternate)+'"/>':'<path d="'+s.escape(M[this.pathName])+'"/>'}}class Q{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e,t=document.createElementNS("http://www.w3.org/2000/svg","line");for(e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&t.setAttribute(e,this.attributes[e]);return t}toMarkup(){var e,t="<line";for(e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&(t+=" "+e+'="'+s.escape(this.attributes[e])+'"');return t+"/>"}}function ee(e){if(e instanceof Z)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var te={bin:1,close:1,inner:1,open:1,punct:1,rel:1},re={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ae={math:{},text:{}};function ne(e,t,r,a,n,i){ae[e][n]={font:t,group:r,replace:a},i&&a&&(ae[e][a]=ae[e][n])}for(var ie="math",oe="text",se="main",le="ams",he="accent-token",me="bin",ce="close",pe="inner",ue="mathord",de="op-token",ge="open",fe="punct",be="rel",ye="spacing",xe="textord",ve=(ne(ie,se,be,"≡","\\equiv",!0),ne(ie,se,be,"≺","\\prec",!0),ne(ie,se,be,"≻","\\succ",!0),ne(ie,se,be,"∼","\\sim",!0),ne(ie,se,be,"⊥","\\perp"),ne(ie,se,be,"⪯","\\preceq",!0),ne(ie,se,be,"⪰","\\succeq",!0),ne(ie,se,be,"≃","\\simeq",!0),ne(ie,se,be,"∣","\\mid",!0),ne(ie,se,be,"≪","\\ll",!0),ne(ie,se,be,"≫","\\gg",!0),ne(ie,se,be,"≍","\\asymp",!0),ne(ie,se,be,"∥","\\parallel"),ne(ie,se,be,"⋈","\\bowtie",!0),ne(ie,se,be,"⌣","\\smile",!0),ne(ie,se,be,"⊑","\\sqsubseteq",!0),ne(ie,se,be,"⊒","\\sqsupseteq",!0),ne(ie,se,be,"≐","\\doteq",!0),ne(ie,se,be,"⌢","\\frown",!0),ne(ie,se,be,"∋","\\ni",!0),ne(ie,se,be,"∝","\\propto",!0),ne(ie,se,be,"⊢","\\vdash",!0),ne(ie,se,be,"⊣","\\dashv",!0),ne(ie,se,be,"∋","\\owns"),ne(ie,se,fe,".","\\ldotp"),ne(ie,se,fe,"⋅","\\cdotp"),ne(ie,se,xe,"#","\\#"),ne(oe,se,xe,"#","\\#"),ne(ie,se,xe,"&","\\&"),ne(oe,se,xe,"&","\\&"),ne(ie,se,xe,"ℵ","\\aleph",!0),ne(ie,se,xe,"∀","\\forall",!0),ne(ie,se,xe,"ℏ","\\hbar",!0),ne(ie,se,xe,"∃","\\exists",!0),ne(ie,se,xe,"∇","\\nabla",!0),ne(ie,se,xe,"♭","\\flat",!0),ne(ie,se,xe,"ℓ","\\ell",!0),ne(ie,se,xe,"♮","\\natural",!0),ne(ie,se,xe,"♣","\\clubsuit",!0),ne(ie,se,xe,"℘","\\wp",!0),ne(ie,se,xe,"♯","\\sharp",!0),ne(ie,se,xe,"♢","\\diamondsuit",!0),ne(ie,se,xe,"ℜ","\\Re",!0),ne(ie,se,xe,"♡","\\heartsuit",!0),ne(ie,se,xe,"ℑ","\\Im",!0),ne(ie,se,xe,"♠","\\spadesuit",!0),ne(ie,se,xe,"§","\\S",!0),ne(oe,se,xe,"§","\\S"),ne(ie,se,xe,"¶","\\P",!0),ne(oe,se,xe,"¶","\\P"),ne(ie,se,xe,"†","\\dag"),ne(oe,se,xe,"†","\\dag"),ne(oe,se,xe,"†","\\textdagger"),ne(ie,se,xe,"‡","\\ddag"),ne(oe,se,xe,"‡","\\ddag"),ne(oe,se,xe,"‡","\\textdaggerdbl"),ne(ie,se,ce,"⎱","\\rmoustache",!0),ne(ie,se,ge,"⎰","\\lmoustache",!0),ne(ie,se,ce,"⟯","\\rgroup",!0),ne(ie,se,ge,"⟮","\\lgroup",!0),ne(ie,se,me,"∓","\\mp",!0),ne(ie,se,me,"⊖","\\ominus",!0),ne(ie,se,me,"⊎","\\uplus",!0),ne(ie,se,me,"⊓","\\sqcap",!0),ne(ie,se,me,"∗","\\ast"),ne(ie,se,me,"⊔","\\sqcup",!0),ne(ie,se,me,"◯","\\bigcirc",!0),ne(ie,se,me,"∙","\\bullet",!0),ne(ie,se,me,"‡","\\ddagger"),ne(ie,se,me,"≀","\\wr",!0),ne(ie,se,me,"⨿","\\amalg"),ne(ie,se,me,"&","\\And"),ne(ie,se,be,"⟵","\\longleftarrow",!0),ne(ie,se,be,"⇐","\\Leftarrow",!0),ne(ie,se,be,"⟸","\\Longleftarrow",!0),ne(ie,se,be,"⟶","\\longrightarrow",!0),ne(ie,se,be,"⇒","\\Rightarrow",!0),ne(ie,se,be,"⟹","\\Longrightarrow",!0),ne(ie,se,be,"↔","\\leftrightarrow",!0),ne(ie,se,be,"⟷","\\longleftrightarrow",!0),ne(ie,se,be,"⇔","\\Leftrightarrow",!0),ne(ie,se,be,"⟺","\\Longleftrightarrow",!0),ne(ie,se,be,"↦","\\mapsto",!0),ne(ie,se,be,"⟼","\\longmapsto",!0),ne(ie,se,be,"↗","\\nearrow",!0),ne(ie,se,be,"↩","\\hookleftarrow",!0),ne(ie,se,be,"↪","\\hookrightarrow",!0),ne(ie,se,be,"↘","\\searrow",!0),ne(ie,se,be,"↼","\\leftharpoonup",!0),ne(ie,se,be,"⇀","\\rightharpoonup",!0),ne(ie,se,be,"↙","\\swarrow",!0),ne(ie,se,be,"↽","\\leftharpoondown",!0),ne(ie,se,be,"⇁","\\rightharpoondown",!0),ne(ie,se,be,"↖","\\nwarrow",!0),ne(ie,se,be,"⇌","\\rightleftharpoons",!0),ne(ie,le,be,"≮","\\nless",!0),ne(ie,le,be,"","\\@nleqslant"),ne(ie,le,be,"","\\@nleqq"),ne(ie,le,be,"⪇","\\lneq",!0),ne(ie,le,be,"≨","\\lneqq",!0),ne(ie,le,be,"","\\@lvertneqq"),ne(ie,le,be,"⋦","\\lnsim",!0),ne(ie,le,be,"⪉","\\lnapprox",!0),ne(ie,le,be,"⊀","\\nprec",!0),ne(ie,le,be,"⋠","\\npreceq",!0),ne(ie,le,be,"⋨","\\precnsim",!0),ne(ie,le,be,"⪹","\\precnapprox",!0),ne(ie,le,be,"≁","\\nsim",!0),ne(ie,le,be,"","\\@nshortmid"),ne(ie,le,be,"∤","\\nmid",!0),ne(ie,le,be,"⊬","\\nvdash",!0),ne(ie,le,be,"⊭","\\nvDash",!0),ne(ie,le,be,"⋪","\\ntriangleleft"),ne(ie,le,be,"⋬","\\ntrianglelefteq",!0),ne(ie,le,be,"⊊","\\subsetneq",!0),ne(ie,le,be,"","\\@varsubsetneq"),ne(ie,le,be,"⫋","\\subsetneqq",!0),ne(ie,le,be,"","\\@varsubsetneqq"),ne(ie,le,be,"≯","\\ngtr",!0),ne(ie,le,be,"","\\@ngeqslant"),ne(ie,le,be,"","\\@ngeqq"),ne(ie,le,be,"⪈","\\gneq",!0),ne(ie,le,be,"≩","\\gneqq",!0),ne(ie,le,be,"","\\@gvertneqq"),ne(ie,le,be,"⋧","\\gnsim",!0),ne(ie,le,be,"⪊","\\gnapprox",!0),ne(ie,le,be,"⊁","\\nsucc",!0),ne(ie,le,be,"⋡","\\nsucceq",!0),ne(ie,le,be,"⋩","\\succnsim",!0),ne(ie,le,be,"⪺","\\succnapprox",!0),ne(ie,le,be,"≆","\\ncong",!0),ne(ie,le,be,"","\\@nshortparallel"),ne(ie,le,be,"∦","\\nparallel",!0),ne(ie,le,be,"⊯","\\nVDash",!0),ne(ie,le,be,"⋫","\\ntriangleright"),ne(ie,le,be,"⋭","\\ntrianglerighteq",!0),ne(ie,le,be,"","\\@nsupseteqq"),ne(ie,le,be,"⊋","\\supsetneq",!0),ne(ie,le,be,"","\\@varsupsetneq"),ne(ie,le,be,"⫌","\\supsetneqq",!0),ne(ie,le,be,"","\\@varsupsetneqq"),ne(ie,le,be,"⊮","\\nVdash",!0),ne(ie,le,be,"⪵","\\precneqq",!0),ne(ie,le,be,"⪶","\\succneqq",!0),ne(ie,le,be,"","\\@nsubseteqq"),ne(ie,le,me,"⊴","\\unlhd"),ne(ie,le,me,"⊵","\\unrhd"),ne(ie,le,be,"↚","\\nleftarrow",!0),ne(ie,le,be,"↛","\\nrightarrow",!0),ne(ie,le,be,"⇍","\\nLeftarrow",!0),ne(ie,le,be,"⇏","\\nRightarrow",!0),ne(ie,le,be,"↮","\\nleftrightarrow",!0),ne(ie,le,be,"⇎","\\nLeftrightarrow",!0),ne(ie,le,be,"△","\\vartriangle"),ne(ie,le,xe,"ℏ","\\hslash"),ne(ie,le,xe,"▽","\\triangledown"),ne(ie,le,xe,"◊","\\lozenge"),ne(ie,le,xe,"Ⓢ","\\circledS"),ne(ie,le,xe,"®","\\circledR"),ne(oe,le,xe,"®","\\circledR"),ne(ie,le,xe,"∡","\\measuredangle",!0),ne(ie,le,xe,"∄","\\nexists"),ne(ie,le,xe,"℧","\\mho"),ne(ie,le,xe,"Ⅎ","\\Finv",!0),ne(ie,le,xe,"⅁","\\Game",!0),ne(ie,le,xe,"‵","\\backprime"),ne(ie,le,xe,"▲","\\blacktriangle"),ne(ie,le,xe,"▼","\\blacktriangledown"),ne(ie,le,xe,"■","\\blacksquare"),ne(ie,le,xe,"⧫","\\blacklozenge"),ne(ie,le,xe,"★","\\bigstar"),ne(ie,le,xe,"∢","\\sphericalangle",!0),ne(ie,le,xe,"∁","\\complement",!0),ne(ie,le,xe,"ð","\\eth",!0),ne(oe,se,xe,"ð","ð"),ne(ie,le,xe,"╱","\\diagup"),ne(ie,le,xe,"╲","\\diagdown"),ne(ie,le,xe,"□","\\square"),ne(ie,le,xe,"□","\\Box"),ne(ie,le,xe,"◊","\\Diamond"),ne(ie,le,xe,"¥","\\yen",!0),ne(oe,le,xe,"¥","\\yen",!0),ne(ie,le,xe,"✓","\\checkmark",!0),ne(oe,le,xe,"✓","\\checkmark"),ne(ie,le,xe,"ℶ","\\beth",!0),ne(ie,le,xe,"ℸ","\\daleth",!0),ne(ie,le,xe,"ℷ","\\gimel",!0),ne(ie,le,xe,"ϝ","\\digamma",!0),ne(ie,le,xe,"ϰ","\\varkappa"),ne(ie,le,ge,"┌","\\@ulcorner",!0),ne(ie,le,ce,"┐","\\@urcorner",!0),ne(ie,le,ge,"└","\\@llcorner",!0),ne(ie,le,ce,"┘","\\@lrcorner",!0),ne(ie,le,be,"≦","\\leqq",!0),ne(ie,le,be,"⩽","\\leqslant",!0),ne(ie,le,be,"⪕","\\eqslantless",!0),ne(ie,le,be,"≲","\\lesssim",!0),ne(ie,le,be,"⪅","\\lessapprox",!0),ne(ie,le,be,"≊","\\approxeq",!0),ne(ie,le,me,"⋖","\\lessdot"),ne(ie,le,be,"⋘","\\lll",!0),ne(ie,le,be,"≶","\\lessgtr",!0),ne(ie,le,be,"⋚","\\lesseqgtr",!0),ne(ie,le,be,"⪋","\\lesseqqgtr",!0),ne(ie,le,be,"≑","\\doteqdot"),ne(ie,le,be,"≓","\\risingdotseq",!0),ne(ie,le,be,"≒","\\fallingdotseq",!0),ne(ie,le,be,"∽","\\backsim",!0),ne(ie,le,be,"⋍","\\backsimeq",!0),ne(ie,le,be,"⫅","\\subseteqq",!0),ne(ie,le,be,"⋐","\\Subset",!0),ne(ie,le,be,"⊏","\\sqsubset",!0),ne(ie,le,be,"≼","\\preccurlyeq",!0),ne(ie,le,be,"⋞","\\curlyeqprec",!0),ne(ie,le,be,"≾","\\precsim",!0),ne(ie,le,be,"⪷","\\precapprox",!0),ne(ie,le,be,"⊲","\\vartriangleleft"),ne(ie,le,be,"⊴","\\trianglelefteq"),ne(ie,le,be,"⊨","\\vDash",!0),ne(ie,le,be,"⊪","\\Vvdash",!0),ne(ie,le,be,"⌣","\\smallsmile"),ne(ie,le,be,"⌢","\\smallfrown"),ne(ie,le,be,"≏","\\bumpeq",!0),ne(ie,le,be,"≎","\\Bumpeq",!0),ne(ie,le,be,"≧","\\geqq",!0),ne(ie,le,be,"⩾","\\geqslant",!0),ne(ie,le,be,"⪖","\\eqslantgtr",!0),ne(ie,le,be,"≳","\\gtrsim",!0),ne(ie,le,be,"⪆","\\gtrapprox",!0),ne(ie,le,me,"⋗","\\gtrdot"),ne(ie,le,be,"⋙","\\ggg",!0),ne(ie,le,be,"≷","\\gtrless",!0),ne(ie,le,be,"⋛","\\gtreqless",!0),ne(ie,le,be,"⪌","\\gtreqqless",!0),ne(ie,le,be,"≖","\\eqcirc",!0),ne(ie,le,be,"≗","\\circeq",!0),ne(ie,le,be,"≜","\\triangleq",!0),ne(ie,le,be,"∼","\\thicksim"),ne(ie,le,be,"≈","\\thickapprox"),ne(ie,le,be,"⫆","\\supseteqq",!0),ne(ie,le,be,"⋑","\\Supset",!0),ne(ie,le,be,"⊐","\\sqsupset",!0),ne(ie,le,be,"≽","\\succcurlyeq",!0),ne(ie,le,be,"⋟","\\curlyeqsucc",!0),ne(ie,le,be,"≿","\\succsim",!0),ne(ie,le,be,"⪸","\\succapprox",!0),ne(ie,le,be,"⊳","\\vartriangleright"),ne(ie,le,be,"⊵","\\trianglerighteq"),ne(ie,le,be,"⊩","\\Vdash",!0),ne(ie,le,be,"∣","\\shortmid"),ne(ie,le,be,"∥","\\shortparallel"),ne(ie,le,be,"≬","\\between",!0),ne(ie,le,be,"⋔","\\pitchfork",!0),ne(ie,le,be,"∝","\\varpropto"),ne(ie,le,be,"◀","\\blacktriangleleft"),ne(ie,le,be,"∴","\\therefore",!0),ne(ie,le,be,"∍","\\backepsilon"),ne(ie,le,be,"▶","\\blacktriangleright"),ne(ie,le,be,"∵","\\because",!0),ne(ie,le,be,"⋘","\\llless"),ne(ie,le,be,"⋙","\\gggtr"),ne(ie,le,me,"⊲","\\lhd"),ne(ie,le,me,"⊳","\\rhd"),ne(ie,le,be,"≂","\\eqsim",!0),ne(ie,se,be,"⋈","\\Join"),ne(ie,le,be,"≑","\\Doteq",!0),ne(ie,le,me,"∔","\\dotplus",!0),ne(ie,le,me,"∖","\\smallsetminus"),ne(ie,le,me,"⋒","\\Cap",!0),ne(ie,le,me,"⋓","\\Cup",!0),ne(ie,le,me,"⩞","\\doublebarwedge",!0),ne(ie,le,me,"⊟","\\boxminus",!0),ne(ie,le,me,"⊞","\\boxplus",!0),ne(ie,le,me,"⋇","\\divideontimes",!0),ne(ie,le,me,"⋉","\\ltimes",!0),ne(ie,le,me,"⋊","\\rtimes",!0),ne(ie,le,me,"⋋","\\leftthreetimes",!0),ne(ie,le,me,"⋌","\\rightthreetimes",!0),ne(ie,le,me,"⋏","\\curlywedge",!0),ne(ie,le,me,"⋎","\\curlyvee",!0),ne(ie,le,me,"⊝","\\circleddash",!0),ne(ie,le,me,"⊛","\\circledast",!0),ne(ie,le,me,"⋅","\\centerdot"),ne(ie,le,me,"⊺","\\intercal",!0),ne(ie,le,me,"⋒","\\doublecap"),ne(ie,le,me,"⋓","\\doublecup"),ne(ie,le,me,"⊠","\\boxtimes",!0),ne(ie,le,be,"⇢","\\dashrightarrow",!0),ne(ie,le,be,"⇠","\\dashleftarrow",!0),ne(ie,le,be,"⇇","\\leftleftarrows",!0),ne(ie,le,be,"⇆","\\leftrightarrows",!0),ne(ie,le,be,"⇚","\\Lleftarrow",!0),ne(ie,le,be,"↞","\\twoheadleftarrow",!0),ne(ie,le,be,"↢","\\leftarrowtail",!0),ne(ie,le,be,"↫","\\looparrowleft",!0),ne(ie,le,be,"⇋","\\leftrightharpoons",!0),ne(ie,le,be,"↶","\\curvearrowleft",!0),ne(ie,le,be,"↺","\\circlearrowleft",!0),ne(ie,le,be,"↰","\\Lsh",!0),ne(ie,le,be,"⇈","\\upuparrows",!0),ne(ie,le,be,"↿","\\upharpoonleft",!0),ne(ie,le,be,"⇃","\\downharpoonleft",!0),ne(ie,se,be,"⊶","\\origof",!0),ne(ie,se,be,"⊷","\\imageof",!0),ne(ie,le,be,"⊸","\\multimap",!0),ne(ie,le,be,"↭","\\leftrightsquigarrow",!0),ne(ie,le,be,"⇉","\\rightrightarrows",!0),ne(ie,le,be,"⇄","\\rightleftarrows",!0),ne(ie,le,be,"↠","\\twoheadrightarrow",!0),ne(ie,le,be,"↣","\\rightarrowtail",!0),ne(ie,le,be,"↬","\\looparrowright",!0),ne(ie,le,be,"↷","\\curvearrowright",!0),ne(ie,le,be,"↻","\\circlearrowright",!0),ne(ie,le,be,"↱","\\Rsh",!0),ne(ie,le,be,"⇊","\\downdownarrows",!0),ne(ie,le,be,"↾","\\upharpoonright",!0),ne(ie,le,be,"⇂","\\downharpoonright",!0),ne(ie,le,be,"⇝","\\rightsquigarrow",!0),ne(ie,le,be,"⇝","\\leadsto"),ne(ie,le,be,"⇛","\\Rrightarrow",!0),ne(ie,le,be,"↾","\\restriction"),ne(ie,se,xe,"‘","`"),ne(ie,se,xe,"$","\\$"),ne(oe,se,xe,"$","\\$"),ne(oe,se,xe,"$","\\textdollar"),ne(ie,se,xe,"%","\\%"),ne(oe,se,xe,"%","\\%"),ne(ie,se,xe,"_","\\_"),ne(oe,se,xe,"_","\\_"),ne(oe,se,xe,"_","\\textunderscore"),ne(ie,se,xe,"∠","\\angle",!0),ne(ie,se,xe,"∞","\\infty",!0),ne(ie,se,xe,"′","\\prime"),ne(ie,se,xe,"△","\\triangle"),ne(ie,se,xe,"Γ","\\Gamma",!0),ne(ie,se,xe,"Δ","\\Delta",!0),ne(ie,se,xe,"Θ","\\Theta",!0),ne(ie,se,xe,"Λ","\\Lambda",!0),ne(ie,se,xe,"Ξ","\\Xi",!0),ne(ie,se,xe,"Π","\\Pi",!0),ne(ie,se,xe,"Σ","\\Sigma",!0),ne(ie,se,xe,"Υ","\\Upsilon",!0),ne(ie,se,xe,"Φ","\\Phi",!0),ne(ie,se,xe,"Ψ","\\Psi",!0),ne(ie,se,xe,"Ω","\\Omega",!0),ne(ie,se,xe,"A","Α"),ne(ie,se,xe,"B","Β"),ne(ie,se,xe,"E","Ε"),ne(ie,se,xe,"Z","Ζ"),ne(ie,se,xe,"H","Η"),ne(ie,se,xe,"I","Ι"),ne(ie,se,xe,"K","Κ"),ne(ie,se,xe,"M","Μ"),ne(ie,se,xe,"N","Ν"),ne(ie,se,xe,"O","Ο"),ne(ie,se,xe,"P","Ρ"),ne(ie,se,xe,"T","Τ"),ne(ie,se,xe,"X","Χ"),ne(ie,se,xe,"¬","\\neg",!0),ne(ie,se,xe,"¬","\\lnot"),ne(ie,se,xe,"⊤","\\top"),ne(ie,se,xe,"⊥","\\bot"),ne(ie,se,xe,"∅","\\emptyset"),ne(ie,le,xe,"∅","\\varnothing"),ne(ie,se,ue,"α","\\alpha",!0),ne(ie,se,ue,"β","\\beta",!0),ne(ie,se,ue,"γ","\\gamma",!0),ne(ie,se,ue,"δ","\\delta",!0),ne(ie,se,ue,"ϵ","\\epsilon",!0),ne(ie,se,ue,"ζ","\\zeta",!0),ne(ie,se,ue,"η","\\eta",!0),ne(ie,se,ue,"θ","\\theta",!0),ne(ie,se,ue,"ι","\\iota",!0),ne(ie,se,ue,"κ","\\kappa",!0),ne(ie,se,ue,"λ","\\lambda",!0),ne(ie,se,ue,"μ","\\mu",!0),ne(ie,se,ue,"ν","\\nu",!0),ne(ie,se,ue,"ξ","\\xi",!0),ne(ie,se,ue,"ο","\\omicron",!0),ne(ie,se,ue,"π","\\pi",!0),ne(ie,se,ue,"ρ","\\rho",!0),ne(ie,se,ue,"σ","\\sigma",!0),ne(ie,se,ue,"τ","\\tau",!0),ne(ie,se,ue,"υ","\\upsilon",!0),ne(ie,se,ue,"ϕ","\\phi",!0),ne(ie,se,ue,"χ","\\chi",!0),ne(ie,se,ue,"ψ","\\psi",!0),ne(ie,se,ue,"ω","\\omega",!0),ne(ie,se,ue,"ε","\\varepsilon",!0),ne(ie,se,ue,"ϑ","\\vartheta",!0),ne(ie,se,ue,"ϖ","\\varpi",!0),ne(ie,se,ue,"ϱ","\\varrho",!0),ne(ie,se,ue,"ς","\\varsigma",!0),ne(ie,se,ue,"φ","\\varphi",!0),ne(ie,se,me,"∗","*",!0),ne(ie,se,me,"+","+"),ne(ie,se,me,"−","-",!0),ne(ie,se,me,"⋅","\\cdot",!0),ne(ie,se,me,"∘","\\circ",!0),ne(ie,se,me,"÷","\\div",!0),ne(ie,se,me,"±","\\pm",!0),ne(ie,se,me,"×","\\times",!0),ne(ie,se,me,"∩","\\cap",!0),ne(ie,se,me,"∪","\\cup",!0),ne(ie,se,me,"∖","\\setminus",!0),ne(ie,se,me,"∧","\\land"),ne(ie,se,me,"∨","\\lor"),ne(ie,se,me,"∧","\\wedge",!0),ne(ie,se,me,"∨","\\vee",!0),ne(ie,se,xe,"√","\\surd"),ne(ie,se,ge,"⟨","\\langle",!0),ne(ie,se,ge,"∣","\\lvert"),ne(ie,se,ge,"∥","\\lVert"),ne(ie,se,ce,"?","?"),ne(ie,se,ce,"!","!"),ne(ie,se,ce,"⟩","\\rangle",!0),ne(ie,se,ce,"∣","\\rvert"),ne(ie,se,ce,"∥","\\rVert"),ne(ie,se,be,"=","="),ne(ie,se,be,":",":"),ne(ie,se,be,"≈","\\approx",!0),ne(ie,se,be,"≅","\\cong",!0),ne(ie,se,be,"≥","\\ge"),ne(ie,se,be,"≥","\\geq",!0),ne(ie,se,be,"←","\\gets"),ne(ie,se,be,">","\\gt",!0),ne(ie,se,be,"∈","\\in",!0),ne(ie,se,be,"","\\@not"),ne(ie,se,be,"⊂","\\subset",!0),ne(ie,se,be,"⊃","\\supset",!0),ne(ie,se,be,"⊆","\\subseteq",!0),ne(ie,se,be,"⊇","\\supseteq",!0),ne(ie,le,be,"⊈","\\nsubseteq",!0),ne(ie,le,be,"⊉","\\nsupseteq",!0),ne(ie,se,be,"⊨","\\models"),ne(ie,se,be,"←","\\leftarrow",!0),ne(ie,se,be,"≤","\\le"),ne(ie,se,be,"≤","\\leq",!0),ne(ie,se,be,"<","\\lt",!0),ne(ie,se,be,"→","\\rightarrow",!0),ne(ie,se,be,"→","\\to"),ne(ie,le,be,"≱","\\ngeq",!0),ne(ie,le,be,"≰","\\nleq",!0),ne(ie,se,ye," ","\\ "),ne(ie,se,ye," ","\\space"),ne(ie,se,ye," ","\\nobreakspace"),ne(oe,se,ye," ","\\ "),ne(oe,se,ye," "," "),ne(oe,se,ye," ","\\space"),ne(oe,se,ye," ","\\nobreakspace"),ne(ie,se,ye,null,"\\nobreak"),ne(ie,se,ye,null,"\\allowbreak"),ne(ie,se,fe,",",","),ne(ie,se,fe,";",";"),ne(ie,le,me,"⊼","\\barwedge",!0),ne(ie,le,me,"⊻","\\veebar",!0),ne(ie,se,me,"⊙","\\odot",!0),ne(ie,se,me,"⊕","\\oplus",!0),ne(ie,se,me,"⊗","\\otimes",!0),ne(ie,se,xe,"∂","\\partial",!0),ne(ie,se,me,"⊘","\\oslash",!0),ne(ie,le,me,"⊚","\\circledcirc",!0),ne(ie,le,me,"⊡","\\boxdot",!0),ne(ie,se,me,"△","\\bigtriangleup"),ne(ie,se,me,"▽","\\bigtriangledown"),ne(ie,se,me,"†","\\dagger"),ne(ie,se,me,"⋄","\\diamond"),ne(ie,se,me,"⋆","\\star"),ne(ie,se,me,"◃","\\triangleleft"),ne(ie,se,me,"▹","\\triangleright"),ne(ie,se,ge,"{","\\{"),ne(oe,se,xe,"{","\\{"),ne(oe,se,xe,"{","\\textbraceleft"),ne(ie,se,ce,"}","\\}"),ne(oe,se,xe,"}","\\}"),ne(oe,se,xe,"}","\\textbraceright"),ne(ie,se,ge,"{","\\lbrace"),ne(ie,se,ce,"}","\\rbrace"),ne(ie,se,ge,"[","\\lbrack",!0),ne(oe,se,xe,"[","\\lbrack",!0),ne(ie,se,ce,"]","\\rbrack",!0),ne(oe,se,xe,"]","\\rbrack",!0),ne(ie,se,ge,"(","\\lparen",!0),ne(ie,se,ce,")","\\rparen",!0),ne(oe,se,xe,"<","\\textless",!0),ne(oe,se,xe,">","\\textgreater",!0),ne(ie,se,ge,"⌊","\\lfloor",!0),ne(ie,se,ce,"⌋","\\rfloor",!0),ne(ie,se,ge,"⌈","\\lceil",!0),ne(ie,se,ce,"⌉","\\rceil",!0),ne(ie,se,xe,"\\","\\backslash"),ne(ie,se,xe,"∣","|"),ne(ie,se,xe,"∣","\\vert"),ne(oe,se,xe,"|","\\textbar",!0),ne(ie,se,xe,"∥","\\|"),ne(ie,se,xe,"∥","\\Vert"),ne(oe,se,xe,"∥","\\textbardbl"),ne(oe,se,xe,"~","\\textasciitilde"),ne(oe,se,xe,"\\","\\textbackslash"),ne(oe,se,xe,"^","\\textasciicircum"),ne(ie,se,be,"↑","\\uparrow",!0),ne(ie,se,be,"⇑","\\Uparrow",!0),ne(ie,se,be,"↓","\\downarrow",!0),ne(ie,se,be,"⇓","\\Downarrow",!0),ne(ie,se,be,"↕","\\updownarrow",!0),ne(ie,se,be,"⇕","\\Updownarrow",!0),ne(ie,se,de,"∐","\\coprod"),ne(ie,se,de,"⋁","\\bigvee"),ne(ie,se,de,"⋀","\\bigwedge"),ne(ie,se,de,"⨄","\\biguplus"),ne(ie,se,de,"⋂","\\bigcap"),ne(ie,se,de,"⋃","\\bigcup"),ne(ie,se,de,"∫","\\int"),ne(ie,se,de,"∫","\\intop"),ne(ie,se,de,"∬","\\iint"),ne(ie,se,de,"∭","\\iiint"),ne(ie,se,de,"∏","\\prod"),ne(ie,se,de,"∑","\\sum"),ne(ie,se,de,"⨂","\\bigotimes"),ne(ie,se,de,"⨁","\\bigoplus"),ne(ie,se,de,"⨀","\\bigodot"),ne(ie,se,de,"∮","\\oint"),ne(ie,se,de,"∯","\\oiint"),ne(ie,se,de,"∰","\\oiiint"),ne(ie,se,de,"⨆","\\bigsqcup"),ne(ie,se,de,"∫","\\smallint"),ne(oe,se,pe,"…","\\textellipsis"),ne(ie,se,pe,"…","\\mathellipsis"),ne(oe,se,pe,"…","\\ldots",!0),ne(ie,se,pe,"…","\\ldots",!0),ne(ie,se,pe,"⋯","\\@cdots",!0),ne(ie,se,pe,"⋱","\\ddots",!0),ne(ie,se,xe,"⋮","\\varvdots"),ne(oe,se,xe,"⋮","\\varvdots"),ne(ie,se,he,"ˊ","\\acute"),ne(ie,se,he,"ˋ","\\grave"),ne(ie,se,he,"¨","\\ddot"),ne(ie,se,he,"~","\\tilde"),ne(ie,se,he,"ˉ","\\bar"),ne(ie,se,he,"˘","\\breve"),ne(ie,se,he,"ˇ","\\check"),ne(ie,se,he,"^","\\hat"),ne(ie,se,he,"⃗","\\vec"),ne(ie,se,he,"˙","\\dot"),ne(ie,se,he,"˚","\\mathring"),ne(ie,se,ue,"","\\@imath"),ne(ie,se,ue,"","\\@jmath"),ne(ie,se,xe,"ı","ı"),ne(ie,se,xe,"ȷ","ȷ"),ne(oe,se,xe,"ı","\\i",!0),ne(oe,se,xe,"ȷ","\\j",!0),ne(oe,se,xe,"ß","\\ss",!0),ne(oe,se,xe,"æ","\\ae",!0),ne(oe,se,xe,"œ","\\oe",!0),ne(oe,se,xe,"ø","\\o",!0),ne(oe,se,xe,"Æ","\\AE",!0),ne(oe,se,xe,"Œ","\\OE",!0),ne(oe,se,xe,"Ø","\\O",!0),ne(oe,se,he,"ˊ","\\'"),ne(oe,se,he,"ˋ","\\`"),ne(oe,se,he,"ˆ","\\^"),ne(oe,se,he,"˜","\\~"),ne(oe,se,he,"ˉ","\\="),ne(oe,se,he,"˘","\\u"),ne(oe,se,he,"˙","\\."),ne(oe,se,he,"¸","\\c"),ne(oe,se,he,"˚","\\r"),ne(oe,se,he,"ˇ","\\v"),ne(oe,se,he,"¨",'\\"'),ne(oe,se,he,"˝","\\H"),ne(oe,se,he,"◯","\\textcircled"),{"--":!0,"---":!0,"``":!0,"''":!0}),we=(ne(oe,se,xe,"–","--",!0),ne(oe,se,xe,"–","\\textendash"),ne(oe,se,xe,"—","---",!0),ne(oe,se,xe,"—","\\textemdash"),ne(oe,se,xe,"‘","`",!0),ne(oe,se,xe,"‘","\\textquoteleft"),ne(oe,se,xe,"’","'",!0),ne(oe,se,xe,"’","\\textquoteright"),ne(oe,se,xe,"“","``",!0),ne(oe,se,xe,"“","\\textquotedblleft"),ne(oe,se,xe,"”","''",!0),ne(oe,se,xe,"”","\\textquotedblright"),ne(ie,se,xe,"°","\\degree",!0),ne(oe,se,xe,"°","\\degree"),ne(oe,se,xe,"°","\\textdegree",!0),ne(ie,se,xe,"£","\\pounds"),ne(ie,se,xe,"£","\\mathsterling",!0),ne(oe,se,xe,"£","\\pounds"),ne(oe,se,xe,"£","\\textsterling",!0),ne(ie,le,xe,"✠","\\maltese"),ne(oe,le,xe,"✠","\\maltese"),'0123456789/@."'),ke=0;ke<we.length;ke++){var Se=we.charAt(ke);ne(ie,se,xe,Se,Se)}for(var Me='0123456789!@*()-=+";:?/.,',ze=0;ze<25;ze++){var Ae=Me.charAt(ze);ne(oe,se,xe,Ae,Ae)}for(var Te="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Be=0;Be<52;Be++){var Ce=Te.charAt(Be);ne(ie,se,ue,Ce,Ce),ne(oe,se,xe,Ce,Ce)}ne(ie,le,xe,"C","ℂ"),ne(oe,le,xe,"C","ℂ"),ne(ie,le,xe,"H","ℍ"),ne(oe,le,xe,"H","ℍ"),ne(ie,le,xe,"N","ℕ"),ne(oe,le,xe,"N","ℕ"),ne(ie,le,xe,"P","ℙ"),ne(oe,le,xe,"P","ℙ"),ne(ie,le,xe,"Q","ℚ"),ne(oe,le,xe,"Q","ℚ"),ne(ie,le,xe,"R","ℝ"),ne(oe,le,xe,"R","ℝ"),ne(ie,le,xe,"Z","ℤ"),ne(oe,le,xe,"Z","ℤ"),ne(ie,se,ue,"h","ℎ"),ne(oe,se,ue,"h","ℎ");for(var qe="",Ne=0;Ne<52;Ne++){var Ie=Te.charAt(Ne);ne(ie,se,ue,Ie,qe=String.fromCharCode(55349,56320+Ne)),ne(oe,se,xe,Ie,qe),ne(ie,se,ue,Ie,qe=String.fromCharCode(55349,56372+Ne)),ne(oe,se,xe,Ie,qe),ne(ie,se,ue,Ie,qe=String.fromCharCode(55349,56424+Ne)),ne(oe,se,xe,Ie,qe),ne(ie,se,ue,Ie,qe=String.fromCharCode(55349,56580+Ne)),ne(oe,se,xe,Ie,qe),ne(ie,se,ue,Ie,qe=String.fromCharCode(55349,56684+Ne)),ne(oe,se,xe,Ie,qe),ne(ie,se,ue,Ie,qe=String.fromCharCode(55349,56736+Ne)),ne(oe,se,xe,Ie,qe),ne(ie,se,ue,Ie,qe=String.fromCharCode(55349,56788+Ne)),ne(oe,se,xe,Ie,qe),ne(ie,se,ue,Ie,qe=String.fromCharCode(55349,56840+Ne)),ne(oe,se,xe,Ie,qe),ne(ie,se,ue,Ie,qe=String.fromCharCode(55349,56944+Ne)),ne(oe,se,xe,Ie,qe),Ne<26&&(ne(ie,se,ue,Ie,qe=String.fromCharCode(55349,56632+Ne)),ne(oe,se,xe,Ie,qe),ne(ie,se,ue,Ie,qe=String.fromCharCode(55349,56476+Ne)),ne(oe,se,xe,Ie,qe))}ne(ie,se,ue,"k",qe=String.fromCharCode(55349,56668)),ne(oe,se,xe,"k",qe);for(var Re=0;Re<10;Re++){var He=Re.toString();ne(ie,se,ue,He,qe=String.fromCharCode(55349,57294+Re)),ne(oe,se,xe,He,qe),ne(ie,se,ue,He,qe=String.fromCharCode(55349,57314+Re)),ne(oe,se,xe,He,qe),ne(ie,se,ue,He,qe=String.fromCharCode(55349,57324+Re)),ne(oe,se,xe,He,qe),ne(ie,se,ue,He,qe=String.fromCharCode(55349,57334+Re)),ne(oe,se,xe,He,qe)}for(var Oe="ÐÞþ",Ee=0;Ee<3;Ee++){var Le=Oe.charAt(Ee);ne(ie,se,ue,Le,Le),ne(oe,se,xe,Le,Le)}var De=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ve=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Pe=function(e,t,r){return{value:e=ae[r][e]&&ae[r][e].replace?ae[r][e].replace:e,metrics:q(e,t,r)}},Fe=function(e,t,r,a,n){var i=Pe(e,t,r),o=i.metrics;return e=i.value,i=o?(i=o.italic,("text"===r||a&&"mathit"===a.font)&&(i=0),new Z(e,o.height,o.depth,i,o.skew,o.width,n)):("undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),new Z(e,0,0,0,0,0,n)),a&&(i.maxFontSize=a.sizeMultiplier,a.style.isTight()&&i.classes.push("mtight"),o=a.getColor())&&(i.style.color=o),i},Ge=(e,t)=>{if(F(e.classes)!==F(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},Ue=function(e){for(var t=0,r=0,a=0,n=0;n<e.children.length;n++){var i=e.children[n];i.height>t&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=a},Ye=function(e,t,r,a){return e=new X(e,t,r,a),Ue(e),e},_e=(e,t,r,a)=>new X(e,t,r,a),Xe=function(e){return e=new z(e),Ue(e),e},We=function(e,t,r){var a="";switch(e){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=e}return a+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},je={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"}},$e={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ze={fontMap:je,makeSymbol:Fe,mathsym:function(e,t,r,a){return void 0===a&&(a=[]),"boldsymbol"===r.font&&Pe(e,"Main-Bold",t).metrics?Fe(e,"Main-Bold",t,r,a.concat(["mathbf"])):"\\"===e||"main"===ae[t][e].font?Fe(e,"Main-Regular",t,r,a):Fe(e,"AMS-Regular",t,r,a.concat(["amsrm"]))},makeSpan:Ye,makeSvgSpan:_e,makeLineSpan:function(e,t,r){return(e=Ye([e],[],t)).height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),e.style.borderBottomWidth=P(e.height),e.maxFontSize=1,e},makeAnchor:function(e,t,r,a){return e=new W(e,t,r,a),Ue(e),e},makeFragment:Xe,wrapFragment:function(e,t){return e instanceof z?Ye([],[e],t):e},makeVList:function(e,t){for(var{children:r,depth:e}=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],a=-t[0].shift-t[0].elem.depth,n=a,i=1;i<t.length;i++){var o=-t[i].shift-n-t[i].elem.depth,s=o-(t[i-1].elem.height+t[i-1].elem.depth);n+=o,r.push({type:"kern",size:s}),r.push(t[i])}return{children:r,depth:a}}var l;if("top"===e.positionType){for(var h=e.positionData,m=0;m<e.children.length;m++){var c=e.children[m];h-="kern"===c.type?c.size:c.elem.height+c.elem.depth}l=h}else if("bottom"===e.positionType)l=-e.positionData;else{if("elem"!==(a=e.children[0]).type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)l=-a.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");l=-a.elem.depth}}return{children:e.children,depth:l}}(e),a=0,n=0;n<r.length;n++){var i=r[n];"elem"===i.type&&(i=i.elem,a=Math.max(a,i.maxFontSize,i.height))}a+=2;for(var o=Ye(["pstrut"],[]),s=(o.style.height=P(a),[]),l=e,h=e,m=e,c=0;c<r.length;c++){var p,u,d,g=r[c];"kern"===g.type?m+=g.size:(p=g.elem,d=g.wrapperClasses||[],u=g.wrapperStyle||{},(d=Ye(d,[o,p],void 0,u)).style.top=P(-a-m-p.depth),g.marginLeft&&(d.style.marginLeft=g.marginLeft),g.marginRight&&(d.style.marginRight=g.marginRight),s.push(d),m+=p.height+p.depth),l=Math.min(l,m),h=Math.max(h,m)}var f,b=((e=Ye(["vlist"],s)).style.height=P(h),f=l<0?(b=Ye([],[]),(b=Ye(["vlist"],[b])).style.height=P(-l),f=Ye(["vlist-s"],[new Z("​")]),[Ye(["vlist-r"],[e,f]),Ye(["vlist-r"],[b])]):[Ye(["vlist-r"],[e])],Ye(["vlist-t"],f));return 2===f.length&&b.classes.push("vlist-t2"),b.height=h,b.depth=-l,b},makeOrd:function(e,t,a){var n,i,o=e.mode,s=e.text,l=["mord"],h=(e="math"===o||"text"===o&&t.font)?t.font:t.fontFamily,m="",c="";if(55349===s.charCodeAt(0)&&([m,c]=function(e,t){var a,n=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536;if(t="math"===t?0:1,119808<=n&&n<120484)return a=Math.floor((n-119808)/26),[De[a][2],De[a][t]];if(120782<=n&&n<=120831)return a=Math.floor((n-120782)/10),[Ve[a][2],Ve[a][t]];if(120485==n||120486==n)return[De[0][2],De[0][t]];if(120486<n&&n<120782)return["",""];throw new r("Unsupported character: "+e)}(s,o)),0<m.length)return Fe(s,m,o,t,l.concat(c));if(h){if(i="boldsymbol"===h?(n=(m=function(e,t,r,a,n){return"textord"!==n&&Pe(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(s,o,0,0,a)).fontName,[m.fontClass]):e?(n=je[h].fontName,[h]):(n=We(h,t.fontWeight,t.fontShape),[h,t.fontWeight,t.fontShape]),Pe(s,n,o).metrics)return Fe(s,n,o,t,l.concat(i));if(ve.hasOwnProperty(s)&&"Typewriter"===n.slice(0,10)){for(var p=[],u=0;u<s.length;u++)p.push(Fe(s[u],n,o,t,l.concat(i)));return Xe(p)}}if("mathord"===a)return Fe(s,"Math-Italic",o,t,l.concat(["mathnormal"]));if("textord"===a)return"ams"===(c=ae[o][s]&&ae[o][s].font)?(m=We("amsrm",t.fontWeight,t.fontShape),Fe(s,m,o,t,l.concat("amsrm",t.fontWeight,t.fontShape))):"main"!==c&&c?(e=We(c,t.fontWeight,t.fontShape),Fe(s,e,o,t,l.concat(e,t.fontWeight,t.fontShape))):(h=We("textrm",t.fontWeight,t.fontShape),Fe(s,h,o,t,l.concat(t.fontWeight,t.fontShape)));throw new Error("unexpected type: "+a+" in makeOrd")},makeGlue:(e,t)=>{var r=Ye(["mspace"],[],t);e=V(e,t);return r.style.marginRight=P(e),r},staticSvg:function(e,t){var[e,r,a]=$e[e];e=new J(e),e=new K([e],{width:P(r),height:P(a),style:"width:"+P(r),viewBox:"0 0 "+1e3*r+" "+1e3*a,preserveAspectRatio:"xMinYMin"});return(e=_e(["overlay"],[e],t)).height=a,e.style.height=P(a),e.style.width=P(r),e},svgData:$e,tryCombineChars:e=>{for(var t=0;t<e.length-1;t++){var r=e[t],a=e[t+1];r instanceof Z&&a instanceof Z&&Ge(r,a)&&(r.text+=a.text,r.height=Math.max(r.height,a.height),r.depth=Math.max(r.depth,a.depth),r.italic=a.italic,e.splice(t+1,1),t--)}return e}},Ke={number:3,unit:"mu"},Je={number:4,unit:"mu"},Qe={number:5,unit:"mu"},et={mord:{mop:Ke,mbin:Je,mrel:Qe,minner:Ke},mop:{mord:Ke,mop:Ke,mrel:Qe,minner:Ke},mbin:{mord:Je,mop:Je,mopen:Je,minner:Je},mrel:{mord:Qe,mop:Qe,mopen:Qe,minner:Qe},mopen:{},mclose:{mop:Ke,mbin:Je,mrel:Qe,minner:Ke},mpunct:{mord:Ke,mop:Ke,mrel:Qe,mopen:Ke,mclose:Ke,mpunct:Ke,minner:Ke},minner:{mord:Ke,mop:Ke,mbin:Je,mrel:Qe,mopen:Ke,mpunct:Ke,minner:Ke}},tt={mord:{mop:Ke},mop:{mord:Ke,mop:Ke},mbin:{},mrel:{},mopen:{},mclose:{mop:Ke},mpunct:{},minner:{mop:Ke}},rt={},at={},nt={};function it(e){for(var{type:e,names:t,props:r,handler:a,htmlBuilder:n,mathmlBuilder:i}=e,o={type:e,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:a},s=0;s<t.length;++s)rt[t[s]]=o;e&&(n&&(at[e]=n),i)&&(nt[e]=i)}function ot(e){var{type:e,htmlBuilder:t,mathmlBuilder:r}=e;it({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:t,mathmlBuilder:r})}var st=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},lt=function(e){return"ordgroup"===e.type?e.body:[e]},ht=Ze.makeSpan,mt=["leftmost","mbin","mopen","mrel","mop","mpunct"],ct=["rightmost","mrel","mclose","mpunct"],pt={display:x.DISPLAY,text:x.TEXT,script:x.SCRIPT,scriptscript:x.SCRIPTSCRIPT},ut={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},dt=function(e,t,r,a){void 0===a&&(a=[null,null]);for(var n,i,o=[],l=0;l<e.length;l++){var h,m=vt(e[l],t);m instanceof z?(h=m.children,o.push(...h)):o.push(m)}return Ze.tryCombineChars(o),r&&(n=t,1===e.length&&("sizing"===(i=e[0]).type?n=t.havingSize(i.size):"styling"===i.type&&(n=t.havingStyle(pt[i.style]))),i=ht([a[0]||"leftmost"],[],t),a=ht([a[1]||"rightmost"],[],t),gt(o,((e,t)=>{var r=t.classes[0],a=e.classes[0];"mbin"===r&&s.contains(ct,a)?t.classes[0]="mord":"mbin"===a&&s.contains(mt,r)&&(e.classes[0]="mord")}),{node:i},a,r="root"===r),gt(o,((e,t)=>{t=yt(t);var r=yt(e);if(e=t&&r?(e.hasClass("mtight")?tt:et)[t][r]:null)return Ze.makeGlue(e,n)}),{node:i},a,r)),o},gt=function e(t,r,a,n,i){n&&t.push(n);for(var o=0;o<t.length;o++){var s,l=t[o],h=ft(l);h?e(h.children,r,a,null,i):((h=!l.hasClass("mspace"))&&(s=r(l,a.node))&&(a.insertAfter?a.insertAfter(s):(t.unshift(s),o++)),h?a.node=l:i&&l.hasClass("newline")&&(a.node=ht(["leftmost"])),a.insertAfter=(e=>r=>{t.splice(e+1,0,r),o++})(o))}n&&t.pop()},ft=function(e){return e instanceof z||e instanceof W||e instanceof X&&e.hasClass("enclosing")?e:null},bt=function e(t,r){var a=ft(t);if(a&&(a=a.children).length){if("right"===r)return e(a[a.length-1],"right");if("left"===r)return e(a[0],"left")}return t},yt=function(e,t){return e&&(t&&(e=bt(e,t)),ut[e.classes[0]])||null},xt=function(e,t){return e=["nulldelimiter"].concat(e.baseSizingClasses()),ht(t.concat(e))},vt=function(e,t,a){if(!e)return ht();var n;if(at[e.type])return n=at[e.type](e,t),a&&t.size!==a.size&&(n=ht(t.sizingClasses(a),[n],t),t=t.sizeMultiplier/a.sizeMultiplier,n.height*=t,n.depth*=t),n;throw new r("Got group of unknown type: '"+e.type+"'")};function wt(e,t){return e=ht(["base"],e,t),(t=ht(["strut"])).style.height=P(e.height+e.depth),e.depth&&(t.style.verticalAlign=P(-e.depth)),e.children.unshift(t),e}function kt(e,t){for(var r,a,n=null,i=(1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body),dt(e,t,"root")),o=(2===i.length&&i[1].hasClass("tag")&&(r=i.pop()),[]),s=[],l=0;l<i.length;l++)if(s.push(i[l]),i[l].hasClass("mbin")||i[l].hasClass("mrel")||i[l].hasClass("allowbreak")){for(var h=!1;l<i.length-1&&i[l+1].hasClass("mspace")&&!i[l+1].hasClass("newline");)l++,s.push(i[l]),i[l].hasClass("nobreak")&&(h=!0);h||(o.push(wt(s,t)),s=[])}else i[l].hasClass("newline")&&(s.pop(),0<s.length&&(o.push(wt(s,t)),s=[]),o.push(i[l]));return 0<s.length&&o.push(wt(s,t)),n?((a=wt(dt(n,t,!0))).classes=["tag"],o.push(a)):r&&o.push(r),(e=ht(["katex-html"],o)).setAttribute("aria-hidden","true"),a&&((n=a.children[0]).style.height=P(e.height+e.depth),e.depth)&&(n.style.verticalAlign=P(-e.depth)),e}function St(e){return new z(e)}class Mt{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e,t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&t.setAttribute(e,this.attributes[e]);0<this.classes.length&&(t.className=F(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof zt&&this.children[r+1]instanceof zt){for(var a=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof zt;)a+=this.children[++r].toText();t.appendChild(new zt(a).toNode())}else t.appendChild(this.children[r].toNode());return t}toMarkup(){var e,t="<"+this.type;for(e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&(t=(t+=" "+e+'="')+s.escape(this.attributes[e])+'"');0<this.classes.length&&(t+=' class ="'+s.escape(F(this.classes))+'"'),t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+"</"+this.type+">"}toText(){return this.children.map((e=>e.toText())).join("")}}class zt{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return s.escape(this.toText())}toText(){return this.text}}var At={MathNode:Mt,TextNode:zt,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=.05555<=e&&e<=.05556?" ":.1666<=e&&e<=.1667?" ":.2222<=e&&e<=.2223?" ":.2777<=e&&e<=.2778?"  ":-.05556<=e&&e<=-.05555?" ⁣":-.1667<=e&&e<=-.1666?" ⁣":-.2223<=e&&e<=-.2222?" ⁣":-.2778<=e&&e<=-.2777?" ⁣":null}toNode(){var e;return this.character?document.createTextNode(this.character):((e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace")).setAttribute("width",P(this.width)),e)}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+P(this.width)+'"/>'}toText(){return this.character||" "}},newDocumentFragment:St},Tt=function(e,t,r){return!ae[t][e]||!ae[t][e].replace||55349===e.charCodeAt(0)||ve.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=ae[t][e].replace),new At.TextNode(e)},Bt=function(e){return 1===e.length?e[0]:new At.MathNode("mrow",e)},Ct=function(e,t){var r;return"texttt"===t.fontFamily?"monospace":"textsf"===t.fontFamily?"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif":"textit"===t.fontShape&&"textbf"===t.fontWeight?"bold-italic":"textit"===t.fontShape?"italic":"textbf"===t.fontWeight?"bold":(t=t.font)&&"mathnormal"!==t?(r=e.mode,"mathit"===t?"italic":"boldsymbol"===t?"textord"===e.type?"bold":"bold-italic":"mathbf"===t?"bold":"mathbb"===t?"double-struck":"mathsfit"===t?"sans-serif-italic":"mathfrak"===t?"fraktur":"mathscr"===t||"mathcal"===t?"script":"mathsf"===t?"sans-serif":"mathtt"===t?"monospace":(e=e.text,!s.contains(["\\imath","\\jmath"],e)&&q(e=ae[r][e]&&ae[r][e].replace?ae[r][e].replace:e,Ze.fontMap[t].fontName,r)?Ze.fontMap[t].variant:null)):null};function qt(e){var t;return!!e&&("mi"===e.type&&1===e.children.length?(t=e.children[0])instanceof zt&&"."===t.text:"mo"===e.type&&1===e.children.length&&"true"===e.getAttribute("separator")&&"0em"===e.getAttribute("lspace")&&"0em"===e.getAttribute("rspace")&&(t=e.children[0])instanceof zt&&","===t.text)}var Nt=function(e,t,r){var a;if(1===e.length)return a=Rt(e[0],t),r&&a instanceof Mt&&"mo"===a.type&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a];for(var n,i=[],o=0;o<e.length;o++){var s,l,h=Rt(e[o],t);if(h instanceof Mt&&n instanceof Mt){if("mtext"===h.type&&"mtext"===n.type&&h.getAttribute("mathvariant")===n.getAttribute("mathvariant")){n.children.push(...h.children);continue}if("mn"===h.type&&"mn"===n.type){n.children.push(...h.children);continue}if(qt(h)&&"mn"===n.type){n.children.push(...h.children);continue}"mn"===h.type&&qt(n)?(h.children=[...n.children,...h.children],i.pop()):("msup"===h.type||"msub"===h.type)&&1<=h.children.length&&("mn"===n.type||qt(n))?(s=h.children[0])instanceof Mt&&"mn"===s.type&&(s.children=[...n.children,...s.children],i.pop()):"mi"===n.type&&1===n.children.length&&(s=n.children[0])instanceof zt&&"̸"===s.text&&("mo"===h.type||"mi"===h.type||"mn"===h.type)&&(l=h.children[0])instanceof zt&&0<l.text.length&&(l.text=l.text.slice(0,1)+"̸"+l.text.slice(1),i.pop())}i.push(h),n=h}return i},It=function(e,t,r){return Bt(Nt(e,t,r))},Rt=function(e,t){if(!e)return new At.MathNode("mrow");if(nt[e.type])return nt[e.type](e,t);throw new r("Got group of unknown type: '"+e.type+"'")};function Ht(e,t,r,a,n){return r=1===(e=Nt(e,r)).length&&e[0]instanceof Mt&&s.contains(["mrow","mtable"],e[0].type)?e[0]:new At.MathNode("mrow",e),(e=new At.MathNode("annotation",[new At.TextNode(t)])).setAttribute("encoding","application/x-tex"),t=new At.MathNode("semantics",[r,e]),(r=new At.MathNode("math",[t])).setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&r.setAttribute("display","block"),Ze.makeSpan([n?"katex":"katex-mathml"],[r])}var Ot=function(e){return new O({style:e.displayMode?x.DISPLAY:x.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Et=function(e,t){var r;return t.displayMode&&(r=["katex-display"],t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=Ze.makeSpan(r,[e])),e},Lt={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Dt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Vt=function(e,t,r,a,n){var i;e=e.height+e.depth+r+a;return/fbox|color|angl/.test(t)?(i=Ze.makeSpan(["stretchy",t],[],n),"fbox"===t&&(r=n.color&&n.getColor())&&(i.style.borderColor=r)):(a=[],/^[bx]cancel$/.test(t)&&a.push(new Q({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&a.push(new Q({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"})),r=new K(a,{width:"100%",height:P(e)}),i=Ze.makeSvgSpan([],[r],n)),i.height=e,i.style.height=P(e),i},Pt=function(e){return(e=new At.MathNode("mo",[new At.TextNode(Lt[e.replace(/^\\/,"")])])).setAttribute("stretchy","true"),e},Ft=function(e,t){var{span:r,minWidth:a,height:n}=function(){var r,a,n=4e5,i=e.label.slice(1);if(s.contains(["widehat","widecheck","widetilde","utilde"],i))return a=5<(a=function(e){return"ordgroup"===e.type?e.body.length:1}(e.base))?"widehat"===i||"widecheck"===i?(l=420,n=2364,r=.42,i+"4"):(l=312,n=2340,r=.34,"tilde4"):(a=[1,1,2,2,3,3][a],"widehat"===i||"widecheck"===i?(n=[0,1062,2364,2364,2364][a],l=[0,239,300,360,420][a],r=[0,.24,.3,.3,.36,.42][a],i+a):(n=[0,600,1033,2339,2340][a],l=[0,260,286,306,312][a],r=[0,.26,.286,.3,.306,.34][a],"tilde"+a)),a=new J(a),a=new K([a],{width:"100%",height:P(r),viewBox:"0 0 "+n+" "+l,preserveAspectRatio:"none"}),{span:Ze.makeSvgSpan([],[a],t),minWidth:0,height:r};var o=[],l=Dt[i],[h,m,c]=l,p=c/1e3,u=h.length;if(1===u)var d=["hide-tail"],g=[l[3]];else if(2===u)d=["halfarrow-left","halfarrow-right"],g=["xMinYMin","xMaxYMin"];else{if(3!==u)throw new Error("Correct katexImagesData or update code here to support\n "+u+" children.");d=["brace-left","brace-center","brace-right"],g=["xMinYMin","xMidYMin","xMaxYMin"]}for(var f=0;f<u;f++){var b=new J(h[f]);b=new K([b],{width:"400em",height:P(p),viewBox:"0 0 "+n+" "+c,preserveAspectRatio:g[f]+" slice"}),b=Ze.makeSvgSpan([d[f]],[b],t);if(1===u)return{span:b,minWidth:m,height:p};b.style.height=P(p),o.push(b)}return{span:Ze.makeSpan(["stretchy"],o,t),minWidth:m,height:p}}();return r.height=n,r.style.height=P(n),0<a&&(r.style.minWidth=P(a)),r};function Gt(e,t){if(e&&e.type===t)return e;throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)))}function Ut(e){var t=Yt(e);if(t)return t;throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)))}function Yt(e){return e&&("atom"===e.type||re.hasOwnProperty(e.type))?e:null}var _t=(e,t)=>{e&&"supsub"===e.type?(l=(r=Gt(e.base,"accent")).base,e.base=l,a=function(e){if(e instanceof X)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(vt(e,t)),e.base=r):l=(r=Gt(e,"accent")).base;e=vt(l,t.havingCrampedStyle());var r,a,n,i,o=0,l=(r.isShifty&&s.isCharacterBox(l)&&(l=s.getBaseElem(l),o=ee(vt(l,t.havingCrampedStyle())).skew),"\\c"===r.label),h=l?e.height+e.depth:Math.min(e.height,t.fontMetrics().xHeight),m=r.isStretchy?(m=Ft(r,t),Ze.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"elem",elem:m,wrapperClasses:["svg-align"],wrapperStyle:0<o?{width:"calc(100% - "+P(2*o)+")",marginLeft:P(2*o)}:void 0}]},t)):("\\vec"===r.label?(i=Ze.staticSvg("vec",t),n=Ze.svgData.vec[1]):((i=ee(i=Ze.makeOrd({mode:r.mode,text:r.label},t,"textord"))).italic=0,n=i.width,l&&(h+=i.depth)),m=Ze.makeSpan(["accent-body"],[i]),(l="\\textcircled"===r.label)&&(m.classes.push("accent-full"),h=e.height),i=o,l||(i-=n/2),m.style.left=P(i),"\\textcircled"===r.label&&(m.style.top=".2em"),Ze.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:-h},{type:"elem",elem:m}]},t));o=Ze.makeSpan(["mord","accent"],[m],t);return a?(a.children[0]=o,a.height=Math.max(o.height,a.height),a.classes[0]="mord",a):o},Xt=(e,t)=>{var r=e.isStretchy?Pt(e.label):new At.MathNode("mo",[Tt(e.label,e.mode)]);return(e=new At.MathNode("mover",[Rt(e.base,t),r])).setAttribute("accent","true"),e},Wt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|")),jt=(it({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{t=st(t[0]);var r=!Wt.test(e.funcName),a=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:a,base:t}},htmlBuilder:_t,mathmlBuilder:Xt}),it({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{t=t[0];var r=e.parser.mode;return"math"===r&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:_t,mathmlBuilder:Xt}),it({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:e,funcName:r}=e;t=t[0];return{type:"accentUnder",mode:e.mode,label:r,base:t}},htmlBuilder:(e,t)=>{var r=vt(e.base,t),a=Ft(e,t);e="\\utilde"===e.label?.12:0,a=Ze.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:e},{type:"elem",elem:r}]},t);return Ze.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=Pt(e.label);return(e=new At.MathNode("munder",[Rt(e.base,t),r])).setAttribute("accentunder","true"),e}}),e=>((e=new At.MathNode("mpadded",e?[e]:[])).setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e)),$t=(it({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:e,funcName:a}=e;return{type:"xArrow",mode:e.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,a=t.style,n=t.havingStyle(a.sup()),i=Ze.wrapFragment(vt(e.body,n,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(o+"-arrow-pad"),e.below&&(n=t.havingStyle(a.sub()),(r=Ze.wrapFragment(vt(e.below,n,t),t)).classes.push(o+"-arrow-pad")),a=Ft(e,t),n=-t.fontMetrics().axisHeight+.5*a.height,o=-t.fontMetrics().axisHeight-.5*a.height-.111;return(.25<i.depth||"\\xleftequilibrium"===e.label)&&(o-=i.depth),(r=r?(e=-t.fontMetrics().axisHeight+r.height+.5*a.height+.111,Ze.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:o},{type:"elem",elem:a,shift:n},{type:"elem",elem:r,shift:e}]},t)):Ze.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:o},{type:"elem",elem:a,shift:n}]},t)).children[0].children[0].children[1].classes.push("svg-align"),Ze.makeSpan(["mrel","x-arrow"],[r],t)},mathmlBuilder(e,t){var r,a,n,i=Pt(e.label);return i.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body?(r=jt(Rt(e.body,t)),e.below?(n=jt(Rt(e.below,t)),new At.MathNode("munderover",[i,n,r])):new At.MathNode("mover",[i,r])):e.below?(n=jt(Rt(e.below,t)),new At.MathNode("munder",[i,n])):(a=jt(),new At.MathNode("mover",[i,a]))}}),Ze.makeSpan);function Zt(e,t){var r=dt(e.body,t,!0);return $t([e.mclass],r,t)}function Kt(e,t){var r;t=Nt(e.body,t);return"minner"===e.mclass?r=new At.MathNode("mpadded",t):"mord"===e.mclass?e.isCharacterBox?(r=t[0]).type="mi":r=new At.MathNode("mi",t):(e.isCharacterBox?(r=t[0]).type="mo":r=new At.MathNode("mo",t),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}it({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:e,funcName:r}=e;t=t[0];return{type:"mclass",mode:e.mode,mclass:"m"+r.slice(5),body:lt(t),isCharacterBox:s.isCharacterBox(t)}},htmlBuilder:Zt,mathmlBuilder:Kt});var Jt=e=>"atom"!==(e="ordgroup"===e.type&&e.body.length?e.body[0]:e).type||"bin"!==e.family&&"rel"!==e.family?"mord":"m"+e.family,Qt=(it({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:(e,t)=>({type:"mclass",mode:(e=e.parser).mode,mclass:Jt(t[0]),body:lt(t[1]),isCharacterBox:s.isCharacterBox(t[1])})}),it({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:e,funcName:r}=e,a=t[1],n=(t=t[0],"\\stackrel"!==r?Jt(a):"mrel");a={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==r,body:lt(a)},a={type:"supsub",mode:t.mode,base:a,sup:"\\underset"===r?null:t,sub:"\\underset"===r?t:null};return{type:"mclass",mode:e.mode,mclass:n,body:[a],isCharacterBox:s.isCharacterBox(a)}},htmlBuilder:Zt,mathmlBuilder:Kt}),it({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>({type:"pmb",mode:(e=e.parser).mode,mclass:Jt(t[0]),body:lt(t[0])}),htmlBuilder(e,t){var r=dt(e.body,t,!0);return(e=Ze.makeSpan([e.mclass],r,t)).style.textShadow="0.02em 0.01em 0.04px",e},mathmlBuilder:(e,t)=>(e=Nt(e.body,t),(t=new At.MathNode("mstyle",e)).setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),t)}),{">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"}),er=e=>"textord"===e.type&&"@"===e.text,tr=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;function rr(e,t,r){var a=Qt[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(a,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var n=r.callFunction("\\\\cdleft",[t[0]],[]),i=r.callFunction("\\Big",[{type:"atom",text:a,mode:"math",family:"rel"}],[]),o=r.callFunction("\\\\cdright",[t[1]],[]);return r.callFunction("\\\\cdparent",[{type:"ordgroup",mode:"math",body:[n,i,o]}],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}it({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:e,funcName:r}=e;return{type:"cdlabel",mode:e.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup());return(r=Ze.wrapFragment(vt(e.label,r,t),t)).classes.push("cd-label-"+e.side),r.style.bottom=P(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder:(e,t)=>(t=new At.MathNode("mrow",[Rt(e.label,t)]),(t=new At.MathNode("mpadded",[t])).setAttribute("width","0"),"left"===e.side&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),(t=new At.MathNode("mstyle",[t])).setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t)}),it({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler:(e,t)=>({type:"cdlabelparent",mode:(e=e.parser).mode,fragment:t[0]}),htmlBuilder:(e,t)=>((e=Ze.wrapFragment(vt(e.fragment,t),t)).classes.push("cd-vert-arrow"),e),mathmlBuilder:(e,t)=>new At.MathNode("mrow",[Rt(e.fragment,t)])}),it({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){e=e.parser;for(var a=Gt(t[0],"ordgroup").body,n="",i=0;i<a.length;i++)n+=Gt(a[i],"textord").text;t=parseInt(n);if(isNaN(t))throw new r("\\@char has non-numeric argument "+n);if(t<0||1114111<=t)throw new r("\\@char with invalid code point "+n);return t=t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))),{type:"textord",mode:e.mode,text:t}}});var ar=(e,t)=>(t=dt(e.body,t.withColor(e.color),!1),Ze.makeFragment(t)),nr=(e,t)=>(t=Nt(e.body,t.withColor(e.color)),(t=new At.MathNode("mstyle",t)).setAttribute("mathcolor",e.color),t),ir=(it({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){e=e.parser;var r=Gt(t[0],"color-token").color;t=t[1];return{type:"color",mode:e.mode,color:r,body:lt(t)}},htmlBuilder:ar,mathmlBuilder:nr}),it({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:e,breakOnTokenText:r}=e,r=(t=Gt(t[0],"color-token").color,e.gullet.macros.set("\\current@color",t),e.parseExpression(!0,r));return{type:"color",mode:e.mode,color:t,body:r}},htmlBuilder:ar,mathmlBuilder:nr}),it({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var a="["===(e=e.parser).gullet.future().text?e.parseSizeGroup(!0):null,n=!e.settings.displayMode||!e.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:e.mode,newLine:n,size:a&&Gt(a,"size").value}},htmlBuilder(e,t){var r=Ze.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size)&&(r.style.marginTop=P(V(e.size,t))),r},mathmlBuilder(e,t){var r=new At.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size)&&r.setAttribute("height",P(V(e.size,t))),r}}),{"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"}),or=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new r("Expected a control sequence",e);return t},sr=(e,t,r,a)=>{var n=e.gullet.macros.get(r.text);null==n&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,a)},lr=(it({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:e,funcName:t}=e,a=(e.consumeSpaces(),e.fetch());if(ir[a.text])return"\\global"!==t&&"\\\\globallong"!==t||(a.text=ir[a.text]),Gt(e.parseFunction(),"internal");throw new r("Invalid token after macro prefix",a)}}),it({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:e}=e,a=t.gullet.popToken(),n=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new r("Expected a control sequence",a);for(var i,o=0,s=[[]];"{"!==t.gullet.future().text;)if("#"===(a=t.gullet.popToken()).text){if("{"===t.gullet.future().text){i=t.gullet.future(),s[o].push("{");break}if(a=t.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new r('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==o+1)throw new r('Argument number "'+a.text+'" out of order');o++,s.push([])}else{if("EOF"===a.text)throw new r("Expected a macro definition");s[o].push(a.text)}var l=t.gullet.consumeArg().tokens;return i&&l.unshift(i),"\\edef"!==e&&"\\xdef"!==e||(l=t.gullet.expandTokens(l)).reverse(),t.gullet.macros.set(n,{tokens:l,numArgs:o,delimiters:s},e===ir[e]),{type:"internal",mode:t.mode}}}),it({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:e,funcName:t}=e,r=or(e.gullet.popToken()),a=(e.gullet.consumeSpaces(),(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text?e.gullet.popToken():t})(e));return sr(e,r,a,"\\\\globallet"===t),{type:"internal",mode:e.mode}}}),it({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:e,funcName:t}=e,r=or(e.gullet.popToken()),a=e.gullet.popToken(),n=e.gullet.popToken();return sr(e,r,n,"\\\\globalfuture"===t),e.gullet.pushToken(n),e.gullet.pushToken(a),{type:"internal",mode:e.mode}}}),function(e,t,r){if(r=q(ae.math[e]&&ae.math[e].replace||e,t,r))return r;throw new Error("Unsupported symbol "+e+" and font size "+t+".")}),hr=function(e,t,r,a){return t=r.havingBaseStyle(t),a=Ze.makeSpan(a.concat(t.sizingClasses(r)),[e],r),e=t.sizeMultiplier/r.sizeMultiplier,a.height*=e,a.depth*=e,a.maxFontSize=t.sizeMultiplier,a},mr=function(e,t,r){r=t.havingBaseStyle(r),r=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight,e.classes.push("delimcenter"),e.style.top=P(r),e.height-=r,e.depth+=r},cr=function(e,t,r,a,n,i){return e=function(e,t,r,a){return Ze.makeSymbol(e,"Size"+t+"-Regular",r,a)}(e,t,n,a),n=hr(Ze.makeSpan(["delimsizing","size"+t],[e],a),x.TEXT,a,i),r&&mr(n,a,x.TEXT),n},pr=function(e,t,r){var a="Size1-Regular"===t?"delim-size1":"delim-size4";return{type:"elem",elem:Ze.makeSpan(["delimsizinginner",a],[Ze.makeSpan([],[Ze.makeSymbol(e,t,r)])])}},ur=function(e,t,r){var a=(A["Size4-Regular"][e.charCodeAt(0)]?A["Size4-Regular"]:A["Size1-Regular"])[e.charCodeAt(0)][4];e=new J("inner",function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),e=new K([e],{width:P(a),height:P(t),style:"width:"+P(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"});return(e=Ze.makeSvgSpan([],[e],r)).height=t,e.style.height=P(t),e.style.width=P(a),{type:"elem",elem:e}},dr={type:"kern",size:-.008},gr=["|","\\lvert","\\rvert","\\vert"],fr=["\\|","\\lVert","\\rVert","\\Vert"],br=function(e,t,r,a,n,i){var o,l,h,m="",c=0,p=o=l=e,u=null,d="Size1-Regular",g=(e=(e=("\\uparrow"===e?o=l="⏐":"\\Uparrow"===e?o=l="‖":"\\downarrow"===e?p=o="⏐":"\\Downarrow"===e?p=o="‖":"\\updownarrow"===e?(p="\\uparrow",o="⏐",l="\\downarrow"):"\\Updownarrow"===e?(p="\\Uparrow",o="‖",l="\\Downarrow"):s.contains(gr,e)?(o="∣",m="vert",c=333):s.contains(fr,e)?(o="∥",m="doublevert",c=556):"["===e||"\\lbrack"===e?(p="⎡",o="⎢",l="⎣",d="Size4-Regular",m="lbrack",c=667):"]"===e||"\\rbrack"===e?(p="⎤",o="⎥",l="⎦",d="Size4-Regular",m="rbrack",c=667):"\\lfloor"===e||"⌊"===e?(o=p="⎢",l="⎣",d="Size4-Regular",m="lfloor",c=667):"\\lceil"===e||"⌈"===e?(p="⎡",o=l="⎢",d="Size4-Regular",m="lceil",c=667):"\\rfloor"===e||"⌋"===e?(o=p="⎥",l="⎦",d="Size4-Regular",m="rfloor",c=667):"\\rceil"===e||"⌉"===e?(p="⎤",o=l="⎥",d="Size4-Regular",m="rceil",c=667):"("===e||"\\lparen"===e?(p="⎛",o="⎜",l="⎝",d="Size4-Regular",m="lparen",c=875):")"===e||"\\rparen"===e?(p="⎞",o="⎟",l="⎠",d="Size4-Regular",m="rparen",c=875):"\\{"===e||"\\lbrace"===e?(p="⎧",u="⎨",l="⎩",o="⎪",d="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(p="⎫",u="⎬",l="⎭",o="⎪",d="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(p="⎧",l="⎩",o="⎪",d="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(p="⎫",l="⎭",o="⎪",d="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(p="⎧",l="⎭",o="⎪",d="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(p="⎫",l="⎩",o="⎪",d="Size4-Regular"),lr(p,d,n))).height+e.depth,(g=lr(o,d,n)).height+g.depth),f=(f=lr(l,d,n)).height+f.depth,b=0,y=1,v=(t=(v=(null!==u&&(b=(v=lr(u,d,n)).height+v.depth,y=2),e+f+b))+Math.max(0,Math.ceil((t-v)/(y*g)))*y*g,a.fontMetrics().axisHeight);r&&(v*=a.sizeMultiplier),y=t/2-v,g=[],0<m.length?(r=t-e-f,v=Math.round(1e3*t),r=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(m,Math.round(1e3*r)),m=new J(m,r),r=(c/1e3).toFixed(3)+"em",h=(v/1e3).toFixed(3)+"em",m=new K([m],{width:r,height:h,viewBox:"0 0 "+c+" "+v}),(c=Ze.makeSvgSpan([],[m],a)).height=v/1e3,c.style.width=r,c.style.height=h,g.push({type:"elem",elem:c})):(g.push(pr(l,d,n)),g.push(dr),null===u?g.push(ur(o,t-e-f+.016,a)):(g.push(ur(o,m=(t-e-f-b)/2+.016,a)),g.push(dr),g.push(pr(u,d,n)),g.push(dr),g.push(ur(o,m,a))),g.push(dr),g.push(pr(p,d,n))),v=a.havingBaseStyle(x.TEXT),r=Ze.makeVList({positionType:"bottom",positionData:y,children:g},v);return hr(Ze.makeSpan(["delimsizing","mult"],[r],v),x.TEXT,a,i)},yr=.08,xr=function(e,t,r,a,n){return a=function(e,t,r){t*=1e3;var a="";switch(e){case"sqrtMain":a=function(e,t){return"M95,"+(622+e+S)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+S+"h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize1":a=function(e,t){return"M263,"+(601+e+S)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+S+"h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize2":a=function(e,t){return"M983 "+(10+e+S)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+S+"h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize3":a=function(e,t){return"M424,"+(2398+e+S)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+S+"\nh400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize4":a=function(e,t){return"M473,"+(2713+e+S)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+S+"h400000v"+(40+e)+"H1017.7z"}(t);break;case"sqrtTall":a=function(e,t,r){return"M702 "+(e+S)+"H400000"+(40+e)+"\nH742v"+(r-54-S-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+S+"H400000v"+(40+e)+"H742z"}(t,0,r)}return a}(e,a,r),e=new J(e,a),a=new K([e],{width:"400em",height:P(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"}),Ze.makeSvgSpan(["hide-tail"],[a],n)},vr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],wr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],kr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Sr=[0,1.2,1.8,2.4,3],Mr=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],zr=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"stack"}],Ar=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Tr=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Br=function(e,t,r,a){for(var n=Math.min(2,3-a.style.size);n<r.length&&"stack"!==r[n].type;n++){var i=(i=lr(e,Tr(r[n]),"math")).height+i.depth;if("small"===r[n].type&&(i*=a.havingBaseStyle(r[n].style).sizeMultiplier),t<i)return r[n]}return r[r.length-1]},Cr=function(e,t,r,a,n,i){"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),o=s.contains(kr,e)?Mr:s.contains(vr,e)?Ar:zr;var o=Br(e,t,o,a);return"small"===o.type?function(e,t,r,a,n,i){return e=Ze.makeSymbol(e,"Main-Regular",n,a),n=hr(e,t,a,i),r&&mr(n,a,t),n}(e,o.style,r,a,n,i):"large"===o.type?cr(e,o.size,r,a,n,i):br(e,t,r,a,n,i)},qr={sqrtImage:function(e,t){var r,a=t.havingBaseSizing(),n=Br("\\surd",e*a.sizeMultiplier,Ar,a),i=(a=a.sizeMultiplier,Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness)),o=0,s=0,l=0;n="small"===n.type?(e<1?a=1:e<1.4&&(a=.7),s=(1+i)/a,(r=xr("sqrtMain",o=(1+i+yr)/a,l=1e3+1e3*i+80,i,t)).style.minWidth="0.853em",.833/a):"large"===n.type?(l=1080*Sr[n.size],s=(Sr[n.size]+i)/a,o=(Sr[n.size]+i+yr)/a,(r=xr("sqrtSize"+n.size,o,l,i,t)).style.minWidth="1.02em",1/a):(o=e+i+yr,s=e+i,l=Math.floor(1e3*e+i)+80,(r=xr("sqrtTall",o,l,i,t)).style.minWidth="0.742em",1.056);return r.height=s,r.style.height=P(o),{span:r,advanceWidth:n,ruleWidth:(t.fontMetrics().sqrtRuleThickness+i)*a}},sizedDelim:function(e,t,a,n,i){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),s.contains(vr,e)||s.contains(kr,e))return cr(e,t,!1,a,n,i);if(s.contains(wr,e))return br(e,Sr[t],!1,a,n,i);throw new r("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:Sr,customSizedDelim:Cr,leftRightDelim:function(e,t,r,a,n,i){var o=a.fontMetrics().axisHeight*a.sizeMultiplier,s=5/a.fontMetrics().ptPerEm;t=Math.max(t-o,r+o),r=Math.max(t/500*901,2*t-s);return Cr(e,r,!0,a,n,i)}},Nr={"\\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}},Ir=["(","\\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 Rr(e,t){var a=Yt(e);if(a&&s.contains(Ir,a.text))return a;throw new r(a?"Invalid delimiter '"+a.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Hr(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}it({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>(t=Rr(t[0],e),{type:"delimsizing",mode:e.parser.mode,size:Nr[e.funcName].size,mclass:Nr[e.funcName].mclass,delim:t.text}),htmlBuilder:(e,t)=>"."===e.delim?Ze.makeSpan([e.mclass]):qr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(Tt(e.delim,e.mode)),t=new At.MathNode("mo",t),"mopen"===e.mclass||"mclose"===e.mclass?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true"),e=P(qr.sizeToMaxHeight[e.size]);return t.setAttribute("minsize",e),t.setAttribute("maxsize",e),t}}),it({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var a=e.parser.gullet.macros.get("\\current@color");if(a&&"string"!=typeof a)throw new r("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Rr(t[0],e).text,color:a}}}),it({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{t=Rr(t[0],e);var r=(++(e=e.parser).leftrightDepth,e.parseExpression(!1)),a=(--e.leftrightDepth,e.expect("\\right",!1),Gt(e.parseFunction(),"leftright-right"));return{type:"leftright",mode:e.mode,body:r,left:t.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Hr(e);for(var r,a=dt(e.body,t,!0,["mopen","mclose"]),n=0,i=0,o=!1,s=0;s<a.length;s++)a[s].isMiddle?o=!0:(n=Math.max(a[s].height,n),i=Math.max(a[s].depth,i));if(n*=t.sizeMultiplier,i*=t.sizeMultiplier,r="."===e.left?xt(t,["mopen"]):qr.leftRightDelim(e.left,n,i,t,e.mode,["mopen"]),a.unshift(r),o)for(var l=1;l<a.length;l++){var h=a[l].isMiddle;h&&(a[l]=qr.leftRightDelim(h.delim,n,i,h.options,e.mode,[]))}return r="."===e.right?xt(t,["mclose"]):(r=e.rightColor?t.withColor(e.rightColor):t,qr.leftRightDelim(e.right,n,i,r,e.mode,["mclose"])),a.push(r),Ze.makeSpan(["minner"],a,t)},mathmlBuilder:(e,t)=>{Hr(e);var r;t=Nt(e.body,t);return"."!==e.left&&((r=new At.MathNode("mo",[Tt(e.left,e.mode)])).setAttribute("fence","true"),t.unshift(r)),"."!==e.right&&((r=new At.MathNode("mo",[Tt(e.right,e.mode)])).setAttribute("fence","true"),e.rightColor&&r.setAttribute("mathcolor",e.rightColor),t.push(r)),Bt(t)}}),it({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{if(t=Rr(t[0],e),e.parser.leftrightDepth)return{type:"middle",mode:e.parser.mode,delim:t.text};throw new r("\\middle without preceding \\left",t)},htmlBuilder:(e,t)=>{var r;return"."===e.delim?r=xt(t,[]):(r=qr.sizedDelim(e.delim,1,t,e.mode,[]),e={delim:e.delim,options:t},r.isMiddle=e),r},mathmlBuilder:(e,t)=>(e="\\vert"===e.delim||"|"===e.delim?Tt("|","text"):Tt(e.delim,e.mode),(e=new At.MathNode("mo",[e])).setAttribute("fence","true"),e.setAttribute("lspace","0.05em"),e.setAttribute("rspace","0.05em"),e)});var Or=(e,t)=>{var r,a,n,i,o,l=Ze.wrapFragment(vt(e.body,t),t),h=e.label.slice(1),m=t.sizeMultiplier,c=0,p=s.isCharacterBox(e.body);return"sout"===h?((r=Ze.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/m,c=-.5*t.fontMetrics().xHeight):"phase"===h?(i=V({number:.6,unit:"pt"},t),o=V({number:.35,unit:"ex"},t),m/=t.havingBaseSizing().sizeMultiplier,a=l.height+l.depth+i+o,l.style.paddingLeft=P(a/2+i),n=function(e){return"M400000 "+e+" H0 L"+e/2+" 0 l65 45 L145 "+(e-80)+" H400000z"}(m=Math.floor(1e3*a*m)),n=new K([new J("phase",n)],{width:"400em",height:P(m/1e3),viewBox:"0 0 400000 "+m,preserveAspectRatio:"xMinYMin slice"}),(r=Ze.makeSvgSpan(["hide-tail"],[n],t)).style.height=P(a),c=l.depth+i+o):(/cancel/.test(h)?p||l.classes.push("cancel-pad"):"angl"===h?l.classes.push("anglpad"):l.classes.push("boxpad"),a=n=m=0,n=/box/.test(h)?(a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),m=t.fontMetrics().fboxsep+("colorbox"===h?0:a)):"angl"===h?(m=4*(a=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),Math.max(0,.25-l.depth)):m=p?.2:0,r=Vt(l,h,m,n,t),/fbox|boxed|fcolorbox/.test(h)?(r.style.borderStyle="solid",r.style.borderWidth=P(a)):"angl"===h&&.049!==a&&(r.style.borderTopWidth=P(a),r.style.borderRightWidth=P(a)),c=l.depth+n,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor)&&(r.style.borderColor=e.borderColor)),o=e.backgroundColor?Ze.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:c},{type:"elem",elem:l,shift:0}]},t):(i=/cancel|phase/.test(h)?["svg-align"]:[],Ze.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:r,shift:c,wrapperClasses:i}]},t)),/cancel/.test(h)&&(o.height=l.height,o.depth=l.depth),/cancel/.test(h)&&!p?Ze.makeSpan(["mord","cancel-lap"],[o],t):Ze.makeSpan(["mord"],[o],t)},Er=(e,t)=>{var r=new At.MathNode(-1<e.label.indexOf("colorbox")?"mpadded":"menclose",[Rt(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":var a=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm;r.setAttribute("width","+"+2*a+"pt"),r.setAttribute("height","+"+2*a+"pt"),r.setAttribute("lspace",a+"pt"),r.setAttribute("voffset",a+"pt"),"\\fcolorbox"===e.label&&(a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),r.setAttribute("style","border: "+a+"em solid "+String(e.borderColor)));break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r},Lr=(it({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:e,funcName:a}=e,n=Gt(t[0],"color-token").color;t=t[1];return{type:"enclose",mode:e.mode,label:a,backgroundColor:n,body:t}},htmlBuilder:Or,mathmlBuilder:Er}),it({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:e,funcName:a}=e,n=Gt(t[0],"color-token").color,i=Gt(t[1],"color-token").color;t=t[2];return{type:"enclose",mode:e.mode,label:a,backgroundColor:i,borderColor:n,body:t}},htmlBuilder:Or,mathmlBuilder:Er}),it({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:(e,t)=>({type:"enclose",mode:(e=e.parser).mode,label:"\\fbox",body:t[0]})}),it({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:e,funcName:r}=e;t=t[0];return{type:"enclose",mode:e.mode,label:r,body:t}},htmlBuilder:Or,mathmlBuilder:Er}),it({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:(e,t)=>({type:"enclose",mode:(e=e.parser).mode,label:"\\angl",body:t[0]})}),{});function Dr(e){for(var{type:e,names:t,props:r,handler:a,htmlBuilder:n,mathmlBuilder:i}=e,o={type:e,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},s=0;s<t.length;++s)Lr[t[s]]=o;n&&(at[e]=n),i&&(nt[e]=i)}var Vr={};function Pr(e,t){Vr[e]=t}function Fr(e){var t=[],r=(e.consumeSpaces(),e.fetch().text);for("\\relax"===r&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);"\\hline"===r||"\\hdashline"===r;)e.consume(),t.push("\\hdashline"===r),e.consumeSpaces(),r=e.fetch().text;return t}var Gr=e=>{if(!e.parser.settings.displayMode)throw new r("{"+e.envName+"} can be used only in display mode.")};function Ur(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function Yr(e,a,n){var{hskipBeforeAndAfter:a,addJot:i,cols:o,arraystretch:s,colSeparationType:l,autoTag:h,singleRow:m,emptySingleRow:c,maxNumCols:p,leqno:u}=a;if(e.gullet.beginGroup(),m||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var d=e.gullet.expandMacroAsText("\\arraystretch");if(null==d)s=1;else if(!(s=parseFloat(d))||s<0)throw new r("Invalid \\arraystretch: "+d)}e.gullet.beginGroup();var g=[],f=[g],b=[],y=[],x=null!=h?[]:void 0;function v(){h&&e.gullet.macros.set("\\@eqnsw","1",!0)}function w(){x&&(e.gullet.macros.get("\\df@tag")?(x.push(e.subparse([new t("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):x.push(Boolean(h)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(v(),y.push(Fr(e));;){var k=e.parseExpression(!1,m?"\\end":"\\\\"),S=(e.gullet.endGroup(),e.gullet.beginGroup(),k={type:"ordgroup",mode:e.mode,body:k},n&&(k={type:"styling",mode:e.mode,style:n,body:[k]}),g.push(k),e.fetch().text);if("&"===S){if(p&&g.length===p){if(m||l)throw new r("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===S){w(),1===g.length&&"styling"===k.type&&0===k.body[0].body.length&&(1<f.length||!c)&&f.pop(),y.length<f.length+1&&y.push([]);break}if("\\\\"!==S)throw new r("Expected & or \\\\ or \\cr or \\end",e.nextToken);e.consume(),k=void 0," "!==e.gullet.future().text&&(k=e.parseSizeGroup(!0)),b.push(k?k.value:null),w(),y.push(Fr(e)),f.push(g=[]),v()}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:s,body:f,cols:o,rowGaps:b,hskipBeforeAndAfter:a,hLinesBeforeRow:y,colSeparationType:l,tags:x,leqno:u}}function _r(e){return"d"===e.slice(0,1)?"display":"text"}var Xr=function(e,t){var a,n=e.body.length,i=e.hLinesBeforeRow,o=0,l=new Array(n),h=[],m=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),c=5*(a=1/t.fontMetrics().ptPerEm),p=(e.colSeparationType&&"small"===e.colSeparationType&&(c=t.havingStyle(x.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778),"CD"===e.colSeparationType?V({number:3,unit:"ex"},t):12*a),u=3*a,d=.7*(a=e.arraystretch*p),g=.3*a,f=0;function b(e){for(var t=0;t<e.length;++t)0<t&&(f+=.25),h.push({pos:f,isDashed:e[t]})}for(b(i[0]),_=0;_<e.body.length;++_){for(var y=e.body[_],v=d,w=g,k=(o<y.length&&(o=y.length),new Array(y.length)),S=0;S<y.length;++S){var M=vt(y[S],t);w<M.depth&&(w=M.depth),v<M.height&&(v=M.height),k[S]=M}var z=e.rowGaps[_],A=0;z&&0<(A=V(z,t))&&(w<(A+=g)&&(w=A),A=0),e.addJot&&(w+=u),k.height=v,k.depth=w,f+=v,k.pos=f,f+=w+A,l[_]=k,b(i[_+1])}var T,B,C=f/2+t.fontMetrics().axisHeight,q=e.cols||[],N=[],I=[];if(e.tags&&e.tags.some((e=>e)))for(_=0;_<n;++_){var R=l[_],H=R.pos-C,O=e.tags[_],E=void 0;(E=!0===O?Ze.makeSpan(["eqn-num"],[],t):!1===O?Ze.makeSpan([],[],t):Ze.makeSpan([],dt(O,t,!0),t)).depth=R.depth,E.height=R.height,I.push({type:"elem",elem:E,shift:H})}for(B=S=0;S<o||B<q.length;++S,++B){for(var L=q[B]||{},D=!0;"separator"===L.type;){if(D||((T=Ze.makeSpan(["arraycolsep"],[])).style.width=P(t.fontMetrics().doubleRuleSep),N.push(T)),"|"!==L.separator&&":"!==L.separator)throw new r("Invalid separator type: "+L.separator);var F="|"===L.separator?"solid":"dashed",G=Ze.makeSpan(["vertical-separator"],[],t);(F=(G.style.height=P(f),G.style.borderRightWidth=P(m),G.style.borderRightStyle=F,G.style.margin="0 "+P(-m/2),f-C))&&(G.style.verticalAlign=P(-F)),N.push(G),L=q[++B]||{},D=!1}if(!(o<=S)){for(var U=void 0,Y=((0<S||e.hskipBeforeAndAfter)&&0!==(U=s.deflt(L.pregap,c))&&((T=Ze.makeSpan(["arraycolsep"],[])).style.width=P(U),N.push(T)),[]),_=0;_<n;++_){var X,W=l[_],j=W[S];j&&(X=W.pos-C,j.depth=W.depth,j.height=W.height,Y.push({type:"elem",elem:j,shift:X}))}Y=Ze.makeVList({positionType:"individualShift",children:Y},t),Y=Ze.makeSpan(["col-align-"+(L.align||"c")],[Y]),N.push(Y),(S<o-1||e.hskipBeforeAndAfter)&&0!==(U=s.deflt(L.postgap,c))&&((T=Ze.makeSpan(["arraycolsep"],[])).style.width=P(U),N.push(T))}}if(l=Ze.makeSpan(["mtable"],N),0<h.length){for(var $=Ze.makeLineSpan("hline",t,m),Z=Ze.makeLineSpan("hdashline",t,m),K=[{type:"elem",elem:l,shift:0}];0<h.length;){var J=h.pop(),Q=J.pos-C;J.isDashed?K.push({type:"elem",elem:Z,shift:Q}):K.push({type:"elem",elem:$,shift:Q})}l=Ze.makeVList({positionType:"individualShift",children:K},t)}return 0===I.length?Ze.makeSpan(["mord"],[l],t):(p=Ze.makeVList({positionType:"individualShift",children:I},t),p=Ze.makeSpan(["tag"],[p],t),Ze.makeFragment([l,p]))},Wr={c:"center ",l:"left ",r:"right "},jr=function(e,t){for(var r=[],a=new At.MathNode("mtd",[],["mtr-glue"]),n=new At.MathNode("mtd",[],["mml-eqn-num"]),i=0;i<e.body.length;i++){for(var o=e.body[i],s=[],l=0;l<o.length;l++)s.push(new At.MathNode("mtd",[Rt(o[l],t)]));e.tags&&e.tags[i]&&(s.unshift(a),s.push(a),e.leqno?s.unshift(n):s.push(n)),r.push(new At.MathNode("mtr",s))}var h=new At.MathNode("mtable",r),m=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0),c=(m=(h.setAttribute("rowspacing",P(m)),""),"");if(e.cols&&0<e.cols.length){var p=e.cols,u="",d=!1,g=0,f=p.length;"separator"===p[0].type&&(m+="top ",g=1),"separator"===p[p.length-1].type&&(m+="bottom ",--f);for(var b=g;b<f;b++)"align"===p[b].type?(c+=Wr[p[b].align],d&&(u+="none "),d=!0):"separator"===p[b].type&&d&&(u+="|"===p[b].separator?"solid ":"dashed ",d=!1);h.setAttribute("columnalign",c.trim()),/[sd]/.test(u)&&h.setAttribute("columnlines",u.trim())}if("align"===e.colSeparationType){for(var y=e.cols||[],x="",v=1;v<y.length;v++)x+=v%2?"0em ":"1em ";h.setAttribute("columnspacing",x.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?h.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?h.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?h.setAttribute("columnspacing","0.5em"):h.setAttribute("columnspacing","1em");for(var w="",k=e.hLinesBeforeRow,S=(m=(m+=0<k[0].length?"left ":"")+(0<k[k.length-1].length?"right ":""),1);S<k.length-1;S++)w+=0===k[S].length?"none ":k[S][0]?"dashed ":"solid ";return/[sd]/.test(w)&&h.setAttribute("rowlines",w.trim()),""!==m&&(h=new At.MathNode("menclose",[h])).setAttribute("notation",m.trim()),e.arraystretch&&e.arraystretch<1&&(h=new At.MathNode("mstyle",[h])).setAttribute("scriptlevel","1"),h},$r=function(e,t){-1===e.envName.indexOf("ed")&&Gr(e);var a,n=[],i=-1<e.envName.indexOf("at")?"alignat":"align",o="split"===e.envName,s=(i=Yr(e.parser,{cols:n,addJot:!0,autoTag:o?void 0:Ur(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),0),l={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var h="",m=0;m<t[0].body.length;m++)h+=Gt(t[0].body[m],"textord").text;a=Number(h),s=2*a}var c=!s;i.body.forEach((function(e){for(var t=1;t<e.length;t+=2){var n=Gt(e[t],"styling");Gt(n.body[0],"ordgroup").body.unshift(l)}if(c)s<e.length&&(s=e.length);else{var i=e.length/2;if(a<i)throw new r("Too many math in a row: expected "+a+", but got "+i,e[0])}}));for(var p=0;p<s;++p){var u="r",d=0;p%2==1?u="l":0<p&&c&&(d=1),n[p]={type:"align",align:u,pregap:d,postgap:0}}return i.colSeparationType=c?"align":"alignat",i},Zr=(Dr({type:"array",names:["array","darray"],props:{numArgs:1},handler:(e,t)=>(t=(Yt(t[0])?[t[0]]:Gt(t[0],"ordgroup").body).map((function(e){var t=Ut(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new r("Unknown column alignment: "+t,e)})),t={cols:t,hskipBeforeAndAfter:!0,maxNumCols:t.length},Yr(e.parser,t,_r(e.envName))),htmlBuilder:Xr,mathmlBuilder:jr}),Dr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],a="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:a}]};if("*"===e.envName.charAt(e.envName.length-1)){var i=e.parser;if(i.consumeSpaces(),"["===i.fetch().text){if(i.consume(),i.consumeSpaces(),a=i.fetch().text,-1==="lcr".indexOf(a))throw new r("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:a}]}}return i=Yr(e.parser,n,_r(e.envName)),n=Math.max(0,...i.body.map((e=>e.length))),i.cols=new Array(n).fill({type:"align",align:a}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:Xr,mathmlBuilder:jr}),Dr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:e=>((e=Yr(e.parser,{arraystretch:.5},"script")).colSeparationType="small",e),htmlBuilder:Xr,mathmlBuilder:jr}),Dr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){if(t=(Yt(t[0])?[t[0]]:Gt(t[0],"ordgroup").body).map((function(e){var t=Ut(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new r("Unknown column alignment: "+t,e)})),1<t.length)throw new r("{subarray} can contain only one column");if(0<(e=Yr(e.parser,{cols:t,hskipBeforeAndAfter:!1,arraystretch:.5},"script")).body.length&&1<e.body[0].length)throw new r("{subarray} can contain only one column");return e},htmlBuilder:Xr,mathmlBuilder:jr}),Dr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=Yr(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},_r(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:-1<e.envName.indexOf("r")?".":"\\{",right:-1<e.envName.indexOf("r")?"\\}":".",rightColor:void 0}},htmlBuilder:Xr,mathmlBuilder:jr}),Dr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:$r,htmlBuilder:Xr,mathmlBuilder:jr}),Dr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){s.contains(["gather","gather*"],e.envName)&&Gr(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ur(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Yr(e.parser,t,"display")},htmlBuilder:Xr,mathmlBuilder:jr}),Dr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:$r,htmlBuilder:Xr,mathmlBuilder:jr}),Dr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Gr(e);var t={autoTag:Ur(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Yr(e.parser,t,"display")},htmlBuilder:Xr,mathmlBuilder:jr}),Dr({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(Gr(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var a=e.fetch().text;if("&"!==a&&"\\\\"!==a){if("\\end"!==a)throw new r("Expected \\\\ or \\cr or \\end",e.nextToken);0===t[t.length-1].length&&t.pop();break}e.consume()}for(var n=[],i=[n],o=0;o<t.length;o++){for(var s=t[o],l={type:"styling",body:[],mode:"math",style:"display"},h=0;h<s.length;h++)if(er(s[h])){n.push(l);var m=Ut(s[h+=1]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},!(-1<"=|.".indexOf(m))){if(!(-1<"<>AV".indexOf(m)))throw new r('Expected one of "<>AV=|." after @',s[h]);for(var p=0;p<2;p++){for(var u=!0,d=h+1;d<s.length;d++){if(tr(s[d],m)){u=!1,h=d;break}if(er(s[d]))throw new r("Missing a "+m+" character to complete a CD arrow.",s[d]);c[p].body.push(s[d])}if(u)throw new r("Missing a "+m+" character to complete a CD arrow.",s[h])}}var g=rr(m,c,e);n.push({type:"styling",body:[g],mode:"math",style:"display"}),l={type:"styling",body:[],mode:"math",style:"display"}}else l.body.push(s[h]);o%2==0?n.push(l):n.shift(),i.push(n=[])}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25}),colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}(e.parser)),htmlBuilder:Xr,mathmlBuilder:jr}),Pr("\\nonumber","\\gdef\\@eqnsw{0}"),Pr("\\notag","\\nonumber"),it({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new r(e.funcName+" valid only within array environment")}}),Lr),Kr=(it({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:e,funcName:a}=e,n=t[0];if("ordgroup"!==n.type)throw new r("Invalid environment name",n);for(var i="",o=0;o<n.body.length;++o)i+=Gt(n.body[o],"textord").text;if("\\begin"!==a)return{type:"environment",mode:e.mode,name:i,nameGroup:n};if(!Zr.hasOwnProperty(i))throw new r("No such environment: "+i,n);t=Zr[i];var a,{args:a,optArgs:s}=e.parseArguments("\\begin{"+i+"}",t),l={mode:e.mode,envName:i,parser:e};t=t.handler(l,a,s),e.expect("\\end",!1),l=e.nextToken;if((a=Gt(e.parseFunction(),"environment")).name!==i)throw new r("Mismatch: \\begin{"+i+"} matched by \\end{"+a.name+"}",l);return t}}),(e,t)=>{var r=e.font;t=t.withFont(r);return vt(e.body,t)}),Jr=(e,t)=>{var r=e.font;t=t.withFont(r);return Rt(e.body,t)},Qr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"},ea=(it({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:e,funcName:r}=e;t=st(t[0]);return r in Qr&&(r=Qr[r]),{type:"font",mode:e.mode,font:r.slice(1),body:t}},htmlBuilder:Kr,mathmlBuilder:Jr}),it({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{e=e.parser,t=t[0];var r=s.isCharacterBox(t);return{type:"mclass",mode:e.mode,mclass:Jt(t),body:[{type:"font",mode:e.mode,font:"boldsymbol",body:t}],isCharacterBox:r}}}),it({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:e,funcName:r,breakOnTokenText:a}=e,n=e.mode,a=e.parseExpression(!0,a);return{type:"font",mode:n,font:"math"+r.slice(1),body:{type:"ordgroup",mode:e.mode,body:a}}},htmlBuilder:Kr,mathmlBuilder:Jr}),(e,t)=>("display"===e?t=t.id>=x.SCRIPT.id?t.text():x.DISPLAY:"text"===e&&t.size===x.DISPLAY.size?t=x.TEXT:"script"===e?t=x.SCRIPT:"scriptscript"===e&&(t=x.SCRIPTSCRIPT),t)),ta=(e,t)=>{var r,a,n,i,o=ea(e.size,t.style),s=o.fracNum(),l=o.fracDen(),h=(s=t.havingStyle(s),vt(e.numer,s,t)),m=(e.continued&&(m=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm,h.height=h.height<m?m:h.height,h.depth=h.depth<c?c:h.depth),s=t.havingStyle(l),vt(e.denom,s,t)),c=e.hasBarLine?(a=(i=e.barSize?(a=V(e.barSize,t),Ze.makeLineSpan("frac-line",t,a)):Ze.makeLineSpan("frac-line",t)).height,i.height):(i=null,a=0,t.fontMetrics().defaultRuleThickness);l=o.size===x.DISPLAY.size||"display"===e.size?(r=t.fontMetrics().num1,n=0<a?3*c:7*c,t.fontMetrics().denom1):(n=0<a?(r=t.fontMetrics().num2,c):(r=t.fontMetrics().num3,3*c),t.fontMetrics().denom2);return c=i?(c=t.fontMetrics().axisHeight,r-h.depth-(c+.5*a)<n&&(r+=n-(r-h.depth-(c+.5*a))),c-.5*a-(m.height-l)<n&&(l+=n-(c-.5*a-(m.height-l))),Ze.makeVList({positionType:"individualShift",children:[{type:"elem",elem:m,shift:l},{type:"elem",elem:i,shift:-(c-.5*a)},{type:"elem",elem:h,shift:-r}]},t)):((i=r-h.depth-(m.height-l))<n&&(r+=.5*(n-i),l+=.5*(n-i)),Ze.makeVList({positionType:"individualShift",children:[{type:"elem",elem:m,shift:l},{type:"elem",elem:h,shift:-r}]},t)),s=t.havingStyle(o),c.height*=s.sizeMultiplier/t.sizeMultiplier,c.depth*=s.sizeMultiplier/t.sizeMultiplier,a=o.size===x.DISPLAY.size?t.fontMetrics().delim1:(o.size===x.SCRIPTSCRIPT.size?t.havingStyle(x.SCRIPT):t).fontMetrics().delim2,n=null==e.leftDelim?xt(t,["mopen"]):qr.customSizedDelim(e.leftDelim,a,!0,t.havingStyle(o),e.mode,["mopen"]),i=e.continued?Ze.makeSpan([]):null==e.rightDelim?xt(t,["mclose"]):qr.customSizedDelim(e.rightDelim,a,!0,t.havingStyle(o),e.mode,["mclose"]),Ze.makeSpan(["mord"].concat(s.sizingClasses(t)),[n,Ze.makeSpan(["mfrac"],[c]),i],t)},ra=(e,t)=>{var r=new At.MathNode("mfrac",[Rt(e.numer,t),Rt(e.denom,t)]),a=(e.hasBarLine?e.barSize&&(a=V(e.barSize,t),r.setAttribute("linethickness",P(a))):r.setAttribute("linethickness","0px"),ea(e.size,t.style));return a.size!==t.style.size&&(r=new At.MathNode("mstyle",[r]),t=a.size===x.DISPLAY.size?"true":"false",r.setAttribute("displaystyle",t),r.setAttribute("scriptlevel","0")),null!=e.leftDelim||null!=e.rightDelim?(a=[],null!=e.leftDelim&&((t=new At.MathNode("mo",[new At.TextNode(e.leftDelim.replace("\\",""))])).setAttribute("fence","true"),a.push(t)),a.push(r),null!=e.rightDelim&&((t=new At.MathNode("mo",[new At.TextNode(e.rightDelim.replace("\\",""))])).setAttribute("fence","true"),a.push(t)),Bt(a)):r},aa=(it({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:e,funcName:a}=e,n=t[0],i=(t=t[1],null),o=null,s="auto";switch(a){case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,i="(",o=")";break;case"\\\\bracefrac":r=!1,i="\\{",o="\\}";break;case"\\\\brackfrac":r=!1,i="[",o="]";break;default:throw new Error("Unrecognized genfrac command")}switch(a){case"\\dfrac":case"\\dbinom":s="display";break;case"\\tfrac":case"\\tbinom":s="text"}return{type:"genfrac",mode:e.mode,continued:!1,numer:n,denom:t,hasBarLine:r,leftDelim:i,rightDelim:o,size:s,barSize:null}},htmlBuilder:ta,mathmlBuilder:ra}),it({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{e=e.parser;var r=t[0];t=t[1];return{type:"genfrac",mode:e.mode,continued:!0,numer:r,denom:t,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),it({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:e,funcName:r,token:a}=e;switch(r){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:t,token:a}}}),["display","text","script","scriptscript"]),na=function(e){var t=null;return 0<e.length?"."===(t=e)?null:e:t},ia=(it({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){e=e.parser;var r,a=t[4],n=t[5],i="atom"===(i=st(t[0])).type&&"open"===i.family?na(i.text):null,o="atom"===(o=st(t[1])).type&&"close"===o.family?na(o.text):null,s=null,l=!!(l=Gt(t[2],"size")).isBlank||0<(s=l.value).number,h="auto";return"ordgroup"===(t=t[3]).type?0<t.body.length&&(r=Gt(t.body[0],"textord"),h=aa[Number(r.text)]):(t=Gt(t,"textord"),h=aa[Number(t.text)]),{type:"genfrac",mode:e.mode,numer:a,denom:n,continued:!1,hasBarLine:l,barSize:s,leftDelim:i,rightDelim:o,size:h}},htmlBuilder:ta,mathmlBuilder:ra}),it({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:e,token:r}=e;return{type:"infix",mode:e.mode,replaceWith:"\\\\abovefrac",size:Gt(t[0],"size").value,token:r}}}),it({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{e=e.parser;var r=t[0],a=function(e){if(e)return e;throw new Error("Expected non-null, but got "+String(e))}(Gt(t[1],"infix").size),n=(t=t[2],0<a.number);return{type:"genfrac",mode:e.mode,numer:r,denom:t,continued:!1,hasBarLine:n,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ta,mathmlBuilder:ra}),(e,t)=>{var r,a,n=t.style,i=(n="supsub"===e.type?(r=e.sup?vt(e.sup,t.havingStyle(n.sup()),t):vt(e.sub,t.havingStyle(n.sub()),t),Gt(e.base,"horizBrace")):Gt(e,"horizBrace"),e=vt(n.base,t.havingBaseStyle(x.DISPLAY)),Ft(n,t));return(n.isOver?(a=Ze.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:.1},{type:"elem",elem:i}]},t)).children[0].children[0].children[1]:(a=Ze.makeVList({positionType:"bottom",positionData:e.depth+.1+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:e}]},t)).children[0].children[0].children[0]).classes.push("svg-align"),r&&(i=Ze.makeSpan(["mord",n.isOver?"mover":"munder"],[a],t),a=n.isOver?Ze.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:r}]},t):Ze.makeVList({positionType:"bottom",positionData:i.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:i}]},t)),Ze.makeSpan(["mord",n.isOver?"mover":"munder"],[a],t)}),oa=(it({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:e,funcName:r}=e;return{type:"horizBrace",mode:e.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:ia,mathmlBuilder:(e,t)=>{var r=Pt(e.label);return new At.MathNode(e.isOver?"mover":"munder",[Rt(e.base,t),r])}}),it({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{e=e.parser;var r=t[1];t=Gt(t[0],"url").url;return e.settings.isTrusted({command:"\\href",url:t})?{type:"href",mode:e.mode,href:t,body:lt(r)}:e.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=dt(e.body,t,!1);return Ze.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>((t=(t=It(e.body,t))instanceof Mt?t:new Mt("mrow",[t])).setAttribute("href",e.href),t)}),it({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{e=e.parser;var r=Gt(t[0],"url").url;if(!e.settings.isTrusted({command:"\\url",url:r}))return e.formatUnsupportedCmd("\\url");for(var a=[],n=0;n<r.length;n++){var i=r[n];a.push({type:"textord",mode:"text",text:i="~"===i?"\\textasciitilde":i})}return t={type:"text",mode:e.mode,font:"\\texttt",body:a},{type:"href",mode:e.mode,href:r,body:lt(t)}}}),it({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler:(e,t)=>({type:"hbox",mode:(e=e.parser).mode,body:lt(t[0])}),htmlBuilder:(e,t)=>(e=dt(e.body,t,!1),Ze.makeFragment(e)),mathmlBuilder:(e,t)=>new At.MathNode("mrow",Nt(e.body,t))}),it({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var a,{parser:e,funcName:n}=e,i=Gt(t[0],"raw").string,o=(t=t[1],e.settings.strict&&e.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode"),{});switch(n){case"\\htmlClass":a={command:"\\htmlClass",class:o.class=i};break;case"\\htmlId":a={command:"\\htmlId",id:o.id=i};break;case"\\htmlStyle":a={command:"\\htmlStyle",style:o.style=i};break;case"\\htmlData":for(var s=i.split(","),l=0;l<s.length;l++){var h=s[l].split("=");if(2!==h.length)throw new r("Error parsing key-value for \\htmlData");o["data-"+h[0].trim()]=h[1].trim()}a={command:"\\htmlData",attributes:o};break;default:throw new Error("Unrecognized html command")}return e.settings.isTrusted(a)?{type:"html",mode:e.mode,attributes:o,body:lt(t)}:e.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r,a=dt(e.body,t,!1),n=["enclosing"],i=(e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/)),Ze.makeSpan(n,a,t));for(r in e.attributes)"class"!==r&&e.attributes.hasOwnProperty(r)&&i.setAttribute(r,e.attributes[r]);return i},mathmlBuilder:(e,t)=>It(e.body,t)}),it({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>({type:"htmlmathml",mode:(e=e.parser).mode,html:lt(t[0]),mathml:lt(t[1])}),htmlBuilder:(e,t)=>(e=dt(e.html,t,!1),Ze.makeFragment(e)),mathmlBuilder:(e,t)=>It(e.mathml,t)}),function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new r("Invalid size: '"+e+"' in \\includegraphics");if(e={number:+(t[1]+t[2]),unit:t[3]},D(e))return e;throw new r("Invalid unit: '"+e.unit+"' in \\includegraphics.")}),sa=(it({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,a)=>{e=e.parser;var n={number:0,unit:"em"},i={number:.9,unit:"em"},o={number:0,unit:"em"},s="";if(a[0])for(var l=Gt(a[0],"raw").string.split(","),h=0;h<l.length;h++){var m=l[h].split("=");if(2===m.length){var c=m[1].trim();switch(m[0].trim()){case"alt":s=c;break;case"width":n=oa(c);break;case"height":i=oa(c);break;case"totalheight":o=oa(c);break;default:throw new r("Invalid key: '"+m[0]+"' in \\includegraphics.")}}}return a=Gt(t[0],"url").url,""===s&&(s=(s=(s=a).replace(/^.*[\\/]/,"")).substring(0,s.lastIndexOf("."))),e.settings.isTrusted({command:"\\includegraphics",url:a})?{type:"includegraphics",mode:e.mode,alt:s,width:n,height:i,totalheight:o,src:a}:e.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=V(e.height,t),a=0,n=(0<e.totalheight.number&&(a=V(e.totalheight,t)-r),0);0<e.width.number&&(n=V(e.width,t)),t={height:P(r+a)};return(n=(0<n&&(t.width=P(n)),0<a&&(t.verticalAlign=P(-a)),new j(e.src,e.alt,t))).height=r,n.depth=a,n},mathmlBuilder:(e,t)=>{var r=new At.MathNode("mglyph",[]),a=(r.setAttribute("alt",e.alt),V(e.height,t)),n=0;return 0<e.totalheight.number&&(n=V(e.totalheight,t)-a,r.setAttribute("valign",P(-n))),r.setAttribute("height",P(a+n)),0<e.width.number&&(a=V(e.width,t),r.setAttribute("width",P(a))),r.setAttribute("src",e.src),r}}),it({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var r,a,{parser:e,funcName:n}=e;t=Gt(t[0],"size");return e.settings.strict&&(r="m"===n[1],a="mu"===t.value.unit,r?(a||e.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+t.value.unit+" units"),"math"!==e.mode&&e.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):a&&e.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")),{type:"kern",mode:e.mode,dimension:t.value}},htmlBuilder:(e,t)=>Ze.makeGlue(e.dimension,t),mathmlBuilder:(e,t)=>(e=V(e.dimension,t),new At.SpaceNode(e))}),it({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:e,funcName:r}=e;t=t[0];return{type:"lap",mode:e.mode,alignment:r.slice(5),body:t}},htmlBuilder:(e,t)=>{var r="clap"===e.alignment?(r=Ze.makeSpan([],[vt(e.body,t)]),Ze.makeSpan(["inner"],[r],t)):Ze.makeSpan(["inner"],[vt(e.body,t)]),a=Ze.makeSpan(["fix"],[]);e=Ze.makeSpan([e.alignment],[r,a],t);return(r=Ze.makeSpan(["strut"])).style.height=P(e.height+e.depth),e.depth&&(r.style.verticalAlign=P(-e.depth)),e.children.unshift(r),e=Ze.makeSpan(["thinbox"],[e],t),Ze.makeSpan(["mord","vbox"],[e],t)},mathmlBuilder:(e,t)=>(t=new At.MathNode("mpadded",[Rt(e.body,t)]),"rlap"!==e.alignment&&(e="llap"===e.alignment?"-1":"-0.5",t.setAttribute("lspace",e+"width")),t.setAttribute("width","0px"),t)}),it({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:e,parser:r}=e,a=r.mode,n=(e=(r.switchMode("math"),"\\("===e?"\\)":"$"),r.parseExpression(!1,e));return r.expect(e),r.switchMode(a),{type:"styling",mode:r.mode,style:"text",body:n}}}),it({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new r("Mismatched "+e.funcName)}}),(e,t)=>{switch(t.style.size){case x.DISPLAY.size:return e.display;case x.TEXT.size:return e.text;case x.SCRIPT.size:return e.script;case x.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}}),la=(it({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>({type:"mathchoice",mode:(e=e.parser).mode,display:lt(t[0]),text:lt(t[1]),script:lt(t[2]),scriptscript:lt(t[3])}),htmlBuilder:(e,t)=>(e=sa(e,t),e=dt(e,t,!1),Ze.makeFragment(e)),mathmlBuilder:(e,t)=>(e=sa(e,t),It(e,t))}),(e,t,r,a,n,i,o)=>{e=Ze.makeSpan([],[e]);var l,h,m=r&&s.isCharacterBox(r);if(t&&(l={elem:t=vt(t,a.havingStyle(n.sup()),a),kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-t.depth)}),r&&(h={elem:t=vt(r,a.havingStyle(n.sub()),a),kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-t.height)}),l&&h){r=a.fontMetrics().bigOpSpacing5+h.elem.height+h.elem.depth+h.kern+e.depth+o;var c=Ze.makeVList({positionType:"bottom",positionData:r,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:h.elem,marginLeft:P(-i)},{type:"kern",size:h.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:P(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(h)n=e.height-o,c=Ze.makeVList({positionType:"top",positionData:n,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:h.elem,marginLeft:P(-i)},{type:"kern",size:h.kern},{type:"elem",elem:e}]},a);else{if(!l)return e;t=e.depth+o,c=Ze.makeVList({positionType:"bottom",positionData:t,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:P(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}return r=[c],h&&0!==i&&!m&&((n=Ze.makeSpan(["mspace"],[],a)).style.marginRight=P(i),r.unshift(n)),Ze.makeSpan(["mop","op-limits"],r,a)}),ha=["\\smallint"],ma=(e,t)=>{var r,a,n,i=!1,o=!1;if((e=("supsub"===e.type?(r=e.sup,a=e.sub,n=Gt(e.base,"op"),i=!0):n=Gt(e,"op"),t.style)).size===x.DISPLAY.size&&n.symbol&&!s.contains(ha,n.name)&&(o=!0),n.symbol){var l,h=o?"Size2-Regular":"Size1-Regular",m="";"\\oiint"!==n.name&&"\\oiiint"!==n.name||(m=n.name.slice(1),n.name="oiint"===m?"\\iint":"\\iiint"),h=Ze.makeSymbol(n.name,h,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),0<m.length&&(l=h.italic,c=Ze.staticSvg(m+"Size"+(o?"2":"1"),t),h=Ze.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:0},{type:"elem",elem:c,shift:o?.08:0}]},t),n.name="\\"+m,h.classes.unshift("mop"),h.italic=l)}else if(n.body){var c=dt(n.body,t,!0);1===c.length&&c[0]instanceof Z?(h=c[0]).classes[0]="mop":h=Ze.makeSpan(["mop"],c,t)}else{for(var p=[],u=1;u<n.name.length;u++)p.push(Ze.mathsym(n.name[u],n.mode,t));h=Ze.makeSpan(["mop"],p,t)}return o=0,m=0,(h instanceof Z||"\\oiint"===n.name||"\\oiiint"===n.name)&&!n.suppressBaseShift&&(o=(h.height-h.depth)/2-t.fontMetrics().axisHeight,m=h.italic),i?la(h,r,a,t,e,m,o):(o&&(h.style.position="relative",h.style.top=P(o)),h)},ca=(e,t)=>{var r;return e.symbol?(r=new Mt("mo",[Tt(e.name,e.mode)]),s.contains(ha,e.name)&&r.setAttribute("largeop","false")):r=e.body?new Mt("mo",Nt(e.body,t)):(r=new Mt("mi",[new zt(e.name.slice(1))]),t=new Mt("mo",[Tt("⁡","text")]),e.parentIsSupSub?new Mt("mrow",[r,t]):St([r,t])),r},pa={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"},ua=(it({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:e,funcName:r}=e;return 1===r.length&&(r=pa[r]),{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:ma,mathmlBuilder:ca}),it({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>(e=e.parser,t=t[0],{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:lt(t)}),htmlBuilder:ma,mathmlBuilder:ca}),{"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"}),da=(it({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:e,funcName:t}=e;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:ma,mathmlBuilder:ca}),it({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:e,funcName:t}=e;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:ma,mathmlBuilder:ca}),it({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:e,funcName:t}=e;return 1===t.length&&(t=ua[t]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:t}},htmlBuilder:ma,mathmlBuilder:ca}),(e,t)=>{var r,a,n,i,o=!1;if("supsub"===e.type?(r=e.sup,a=e.sub,n=Gt(e.base,"operatorname"),o=!0):n=Gt(e,"operatorname"),0<n.body.length){e=n.body.map((e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}));for(var s=dt(e,t.withFont("mathrm"),!0),l=0;l<s.length;l++){var h=s[l];h instanceof Z&&(h.text=h.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=Ze.makeSpan(["mop"],s,t)}else i=Ze.makeSpan(["mop"],[],t);return o?la(i,r,a,t,t.style,0,0):i});function ga(e,t,r){for(var a=dt(e,t,!1),n=t.sizeMultiplier/r.sizeMultiplier,i=0;i<a.length;i++){var o=a[i].classes.indexOf("sizing");o<0?Array.prototype.push.apply(a[i].classes,t.sizingClasses(r)):a[i].classes[o+1]==="reset-size"+t.size&&(a[i].classes[o+1]="reset-size"+r.size),a[i].height*=n,a[i].depth*=n}return Ze.makeFragment(a)}it({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:e,funcName:r}=e;t=t[0];return{type:"operatorname",mode:e.mode,body:lt(t),alwaysHandleSupSub:"\\operatornamewithlimits"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:da,mathmlBuilder:(e,t)=>{for(var r=Nt(e.body,t.withFont("mathrm")),a=!0,n=0;n<r.length;n++){var i=r[n];if(!(i instanceof At.SpaceNode))if(i instanceof At.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var o=i.children[0];1===i.children.length&&o instanceof At.TextNode?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):a=!1;break;default:a=!1}else a=!1}a&&(t=r.map((e=>e.toText())).join(""),r=[new At.TextNode(t)]);var s=((t=new At.MathNode("mi",r)).setAttribute("mathvariant","normal"),new At.MathNode("mo",[Tt("⁡","text")]));return e.parentIsSupSub?new At.MathNode("mrow",[t,s]):At.newDocumentFragment([t,s])}}),Pr("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),ot({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?Ze.makeFragment(dt(e.body,t,!1)):Ze.makeSpan(["mord"],dt(e.body,t,!0),t),mathmlBuilder:(e,t)=>It(e.body,t,!0)}),it({type:"overline",names:["\\overline"],props:{numArgs:1},handler:(e,t)=>(e=e.parser,t=t[0],{type:"overline",mode:e.mode,body:t}),htmlBuilder(e,t){e=vt(e.body,t.havingCrampedStyle());var r=Ze.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness;e=Ze.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:3*a},{type:"elem",elem:r},{type:"kern",size:a}]},t);return Ze.makeSpan(["mord","overline"],[e],t)},mathmlBuilder(e,t){var r=new At.MathNode("mo",[new At.TextNode("‾")]);return(e=(r.setAttribute("stretchy","true"),new At.MathNode("mover",[Rt(e.body,t),r]))).setAttribute("accent","true"),e}}),it({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>(e=e.parser,t=t[0],{type:"phantom",mode:e.mode,body:lt(t)}),htmlBuilder:(e,t)=>(e=dt(e.body,t.withPhantom(),!1),Ze.makeFragment(e)),mathmlBuilder:(e,t)=>(e=Nt(e.body,t),new At.MathNode("mphantom",e))}),it({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>(e=e.parser,t=t[0],{type:"hphantom",mode:e.mode,body:t}),htmlBuilder:(e,t)=>{var r=Ze.makeSpan([],[vt(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var a=0;a<r.children.length;a++)r.children[a].height=0,r.children[a].depth=0;return r=Ze.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),Ze.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>(e=Nt(lt(e.body),t),t=new At.MathNode("mphantom",e),(e=new At.MathNode("mpadded",[t])).setAttribute("height","0px"),e.setAttribute("depth","0px"),e)}),it({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>(e=e.parser,t=t[0],{type:"vphantom",mode:e.mode,body:t}),htmlBuilder:(e,t)=>{e=Ze.makeSpan(["inner"],[vt(e.body,t.withPhantom())]);var r=Ze.makeSpan(["fix"],[]);return Ze.makeSpan(["mord","rlap"],[e,r],t)},mathmlBuilder:(e,t)=>(e=Nt(lt(e.body),t),t=new At.MathNode("mphantom",e),(e=new At.MathNode("mpadded",[t])).setAttribute("width","0px"),e)}),it({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){e=e.parser;var r=Gt(t[0],"size").value;t=t[1];return{type:"raisebox",mode:e.mode,dy:r,body:t}},htmlBuilder(e,t){var r=vt(e.body,t);e=V(e.dy,t);return Ze.makeVList({positionType:"shift",positionData:-e,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>(t=new At.MathNode("mpadded",[Rt(e.body,t)]),e=e.dy.number+e.dy.unit,t.setAttribute("voffset",e),t)}),it({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler:e=>({type:"internal",mode:(e=e.parser).mode})}),it({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){e=e.parser,r=r[0];var a=Gt(t[0],"size");t=Gt(t[1],"size");return{type:"rule",mode:e.mode,shift:r&&Gt(r,"size").value,width:a.value,height:t.value}},htmlBuilder(e,t){var r=Ze.makeSpan(["mord","rule"],[],t),a=V(e.width,t),n=V(e.height,t);e=e.shift?V(e.shift,t):0;return r.style.borderRightWidth=P(a),r.style.borderTopWidth=P(n),r.style.bottom=P(e),r.width=a,r.height=n+e,r.depth=-e,r.maxFontSize=1.125*n*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=V(e.width,t),a=V(e.height,t),n=(e=e.shift?V(e.shift,t):0,t=t.color&&t.getColor()||"black",new At.MathNode("mspace"));n.setAttribute("mathbackground",t),n.setAttribute("width",P(r)),n.setAttribute("height",P(a)),t=new At.MathNode("mpadded",[n]);return 0<=e?t.setAttribute("height",P(e)):(t.setAttribute("height",P(e)),t.setAttribute("depth",P(-e))),t.setAttribute("voffset",P(e)),t}});var fa=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],ba=(it({type:"sizing",names:fa,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:e,funcName:r,parser:a}=e;e=a.parseExpression(!1,e);return{type:"sizing",mode:a.mode,size:fa.indexOf(r)+1,body:e}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return ga(e.body,r,t)},mathmlBuilder:(e,t)=>(t=t.havingSize(e.size),e=Nt(e.body,t),(e=new At.MathNode("mstyle",e)).setAttribute("mathsize",P(t.sizeMultiplier)),e)}),it({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{e=e.parser;var a=!1,n=!1,i=r[0]&&Gt(r[0],"ordgroup");if(i)for(var o,s=0;s<i.body.length;++s)if("t"===(o=i.body[s].text))a=!0;else{if("b"!==o){n=a=!1;break}n=!0}else n=a=!0;return r=t[0],{type:"smash",mode:e.mode,body:r,smashHeight:a,smashDepth:n}},htmlBuilder:(e,t)=>{var r=Ze.makeSpan([],[vt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var a=0;a<r.children.length;a++)r.children[a].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].depth=0;return e=Ze.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),Ze.makeSpan(["mord"],[e],t)},mathmlBuilder:(e,t)=>(t=new At.MathNode("mpadded",[Rt(e.body,t)]),e.smashHeight&&t.setAttribute("height","0px"),e.smashDepth&&t.setAttribute("depth","0px"),t)}),it({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:(e,t,r)=>(e=e.parser,r=r[0],t=t[0],{type:"sqrt",mode:e.mode,body:t,index:r}),htmlBuilder(e,t){0===(r=vt(e.body,t.havingCrampedStyle())).height&&(r.height=t.fontMetrics().xHeight);var r=Ze.wrapFragment(r,t),a=n=t.fontMetrics().defaultRuleThickness,n=(a=n+(a=t.style.id<x.TEXT.id?t.fontMetrics().xHeight:a)/4,r.height+r.depth+a+n),{span:n,ruleWidth:i,advanceWidth:o}=qr.sqrtImage(n,t),s=((s=n.height-i)>r.height+r.depth+a&&(a=(a+s-r.height-r.depth)/2),n.height-r.height-a-i);r.style.paddingLeft=P(o),a=Ze.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+s)},{type:"elem",elem:n},{type:"kern",size:i}]},t);return e.index?(o=t.havingStyle(x.SCRIPTSCRIPT),r=vt(e.index,o,t),s=.6*(a.height-a.depth),n=Ze.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:r}]},t),i=Ze.makeSpan(["root"],[n]),Ze.makeSpan(["mord","sqrt"],[i,a],t)):Ze.makeSpan(["mord","sqrt"],[a],t)},mathmlBuilder(e,t){var{body:e,index:r}=e;return r?new At.MathNode("mroot",[Rt(e,t),Rt(r,t)]):new At.MathNode("msqrt",[Rt(e,t)])}}),{display:x.DISPLAY,text:x.TEXT,script:x.SCRIPT,scriptscript:x.SCRIPTSCRIPT}),ya=(it({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:e,funcName:r,parser:a}=e,r=(e=a.parseExpression(!0,e),r.slice(1,r.length-5));return{type:"styling",mode:a.mode,style:r,body:e}},htmlBuilder(e,t){var r=ba[e.style];r=t.havingStyle(r).withFont("");return ga(e.body,r,t)},mathmlBuilder(e,t){var r=ba[e.style];t=t.havingStyle(r),r=Nt(e.body,t),t=new At.MathNode("mstyle",r),r={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return t.setAttribute("scriptlevel",r[0]),t.setAttribute("displaystyle",r[1]),t}}),function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===x.DISPLAY.size||r.alwaysHandleSupSub)?ma:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===x.DISPLAY.size||r.limits)?da:null:"accent"===r.type?s.isCharacterBox(r.base)?_t:null:"horizBrace"===r.type&&!e.sub===r.isOver?ia:null:null}),xa=(ot({type:"supsub",htmlBuilder(e,t){if(i=ya(e,t))return i(e,t);var r,a,n,{base:i,sup:o,sub:l}=e,h=vt(i,t),m=t.fontMetrics(),c=0,p=0,l=(i=i&&s.isCharacterBox(i),o&&(n=t.havingStyle(t.style.sup()),r=vt(o,n,t),i||(c=h.height-n.fontMetrics().supDrop*n.sizeMultiplier/t.sizeMultiplier)),l&&(o=t.havingStyle(t.style.sub()),a=vt(l,o,t),i||(p=h.depth+o.fontMetrics().subDrop*o.sizeMultiplier/t.sizeMultiplier)),n=t.style===x.DISPLAY?m.sup1:t.style.cramped?m.sup3:m.sup2,t.sizeMultiplier),i=P(.5/m.ptPerEm/l),o=null;if(a&&(l=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name),h instanceof Z||l)&&(o=P(-h.italic)),r&&a){c=Math.max(c,n,r.depth+.25*m.xHeight),p=Math.max(p,m.sub2),e=4*m.defaultRuleThickness,c-r.depth-(a.height-p)<e&&(p=e-(c-r.depth)+a.height,0<(l=.8*m.xHeight-(c-r.depth)))&&(c+=l,p-=l);var u=Ze.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:p,marginRight:i,marginLeft:o},{type:"elem",elem:r,shift:-c,marginRight:i}]},t)}else if(a)p=Math.max(p,m.sub1,a.height-.8*m.xHeight),u=Ze.makeVList({positionType:"shift",positionData:p,children:[{type:"elem",elem:a,marginLeft:o,marginRight:i}]},t);else{if(!r)throw new Error("supsub must have either sup or sub.");c=Math.max(c,n,r.depth+.25*m.xHeight),u=Ze.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:r,marginRight:i}]},t)}return e=yt(h,"right")||"mord",Ze.makeSpan([e],[h,Ze.makeSpan(["msupsub"],[u])],t)},mathmlBuilder(e,t){var r,a=!1,n=(e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(a=!0,r=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0),[Rt(e.base,t)]);return e.sub&&n.push(Rt(e.sub,t)),e.sup&&n.push(Rt(e.sup,t)),r=a?r?"mover":"munder":e.sub?e.sup?(a=e.base)&&"op"===a.type&&a.limits&&t.style===x.DISPLAY||a&&"operatorname"===a.type&&a.alwaysHandleSupSub&&(t.style===x.DISPLAY||a.limits)?"munderover":"msubsup":(r=e.base)&&"op"===r.type&&r.limits&&(t.style===x.DISPLAY||r.alwaysHandleSupSub)||r&&"operatorname"===r.type&&r.alwaysHandleSupSub&&(r.limits||t.style===x.DISPLAY)?"munder":"msub":(a=e.base)&&"op"===a.type&&a.limits&&(t.style===x.DISPLAY||a.alwaysHandleSupSub)||a&&"operatorname"===a.type&&a.alwaysHandleSupSub&&(a.limits||t.style===x.DISPLAY)?"mover":"msup",new At.MathNode(r,n)}}),ot({type:"atom",htmlBuilder:(e,t)=>Ze.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new At.MathNode("mo",[Tt(e.text,e.mode)]);return"bin"===e.family?"bold-italic"===(t=Ct(e,t))&&r.setAttribute("mathvariant",t):"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false"),r}}),{mi:"italic",mn:"normal",mtext:"normal"}),va=(ot({type:"mathord",htmlBuilder:(e,t)=>Ze.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new At.MathNode("mi",[Tt(e.text,e.mode,t)]);return(e=Ct(e,t)||"italic")!==xa[r.type]&&r.setAttribute("mathvariant",e),r}}),ot({type:"textord",htmlBuilder:(e,t)=>Ze.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r=Tt(e.text,e.mode,t);t=Ct(e,t)||"normal",e="text"===e.mode?new At.MathNode("mtext",[r]):/[0-9]/.test(e.text)?new At.MathNode("mn",[r]):"\\prime"===e.text?new At.MathNode("mo",[r]):new At.MathNode("mi",[r]);return t!==xa[e.type]&&e.setAttribute("mathvariant",t),e}}),{"\\nobreak":"nobreak","\\allowbreak":"allowbreak"}),wa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}},ka=(ot({type:"spacing",htmlBuilder(e,t){var a,n;if(wa.hasOwnProperty(e.text))return a=wa[e.text].className||"","text"===e.mode?((n=Ze.makeOrd(e,t,"textord")).classes.push(a),n):Ze.makeSpan(["mspace",a],[Ze.mathsym(e.text,e.mode,t)],t);if(va.hasOwnProperty(e.text))return Ze.makeSpan(["mspace",va[e.text]],[],t);throw new r('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(wa.hasOwnProperty(e.text))return new At.MathNode("mtext",[new At.TextNode(" ")]);if(va.hasOwnProperty(e.text))return new At.MathNode("mspace");throw new r('Unknown type of space "'+e.text+'"')}}),()=>{var e=new At.MathNode("mtd",[]);return e.setAttribute("width","50%"),e}),Sa=(ot({type:"tag",mathmlBuilder:(e,t)=>((e=new At.MathNode("mtable",[new At.MathNode("mtr",[ka(),new At.MathNode("mtd",[It(e.body,t)]),ka(),new At.MathNode("mtd",[It(e.tag,t)])])])).setAttribute("width","100%"),e)}),{"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"}),Ma={"\\textbf":"textbf","\\textmd":"textmd"},za={"\\textit":"textit","\\textup":"textup"},Aa=(e,t)=>(e=e.font)?Sa[e]?t.withTextFontFamily(Sa[e]):Ma[e]?t.withTextFontWeight(Ma[e]):"\\emph"===e?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(za[e]):t,Ta=(it({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:e,funcName:r}=e;t=t[0];return{type:"text",mode:e.mode,body:lt(t),font:r}},htmlBuilder:(e,t)=>(t=Aa(e,t),e=dt(e.body,t,!0),Ze.makeSpan(["mord","text"],e,t)),mathmlBuilder:(e,t)=>(t=Aa(e,t),It(e.body,t))}),it({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>({type:"underline",mode:(e=e.parser).mode,body:t[0]}),htmlBuilder(e,t){e=vt(e.body,t);var r=Ze.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness;r=Ze.makeVList({positionType:"top",positionData:e.height,children:[{type:"kern",size:a},{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:e}]},t);return Ze.makeSpan(["mord","underline"],[r],t)},mathmlBuilder(e,t){var r=new At.MathNode("mo",[new At.TextNode("‾")]);return(e=(r.setAttribute("stretchy","true"),new At.MathNode("munder",[Rt(e.body,t),r]))).setAttribute("accentunder","true"),e}}),it({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:(e,t)=>({type:"vcenter",mode:(e=e.parser).mode,body:t[0]}),htmlBuilder(e,t){e=vt(e.body,t);var r=t.fontMetrics().axisHeight;r=.5*(e.height-r-(e.depth+r));return Ze.makeVList({positionType:"shift",positionData:r,children:[{type:"elem",elem:e}]},t)},mathmlBuilder:(e,t)=>new At.MathNode("mpadded",[Rt(e.body,t)],["vcenter"])}),it({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,a){throw new r("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Ta(e),a=[],n=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var o=r[i];"~"===o&&(o="\\textasciitilde"),a.push(Ze.makeSymbol(o,"Typewriter-Regular",e.mode,n,["mord","texttt"]))}return Ze.makeSpan(["mord","text"].concat(n.sizingClasses(t)),Ze.tryCombineChars(a),n)},mathmlBuilder:(e,t)=>(e=new At.TextNode(Ta(e)),(e=new At.MathNode("mtext",[e])).setAttribute("mathvariant","monospace"),e)}),e=>e.body.replace(/ /g,e.star?"␣":" ")),Ba=rt,Ca="[ \r\n\t]",qa="(\\\\[a-zA-Z@]+)"+Ca+"*",Na="[̀-ͯ]",Ia=new RegExp(Na+"+$"),Ra="("+Ca+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧‪-퟿豈-￿]"+Na+"*|[\ud800-\udbff][\udc00-\udfff]"+Na+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+qa+"|\\\\[^\ud800-\udfff])";class Ha{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Ra,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var a=this.input,n=this.tokenRegex.lastIndex;if(n===a.length)return new t("EOF",new e(this,n,n));if(null===(o=this.tokenRegex.exec(a))||o.index!==n)throw new r("Unexpected character: '"+a[n]+"'",new t(a[n],new e(this,n,n+1)));var i,o=o[6]||o[3]||(o[2]?"\\ ":" ");return 14===this.catcodes[o]?(-1===(i=a.indexOf("\n",this.tokenRegex.lastIndex))?(this.tokenRegex.lastIndex=a.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=i+1,this.lex()):new t(o,new e(this,n,this.tokenRegex.lastIndex))}}class Oa{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new r("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e,t=this.undefStack.pop();for(e in t)t.hasOwnProperty(e)&&(null==t[e]?delete this.current[e]:this.current[e]=t[e])}endGroups(){for(;0<this.undefStack.length;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return(this.current.hasOwnProperty(e)?this.current:this.builtins)[e]}set(e,t,r){if(r=void 0!==r&&r){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][e];0<this.undefStack.length&&(this.undefStack[this.undefStack.length-1][e]=t)}else(r=this.undefStack[this.undefStack.length-1])&&!r.hasOwnProperty(e)&&(r[e]=this.current[e]);null==t?delete this.current[e]:this.current[e]=t}}var Ea=Vr,La=(Pr("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Pr("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Pr("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Pr("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Pr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3);e.consumeSpaces(),e=e.future();return 1===t[0].length&&t[0][0].text===e.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Pr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Pr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}})),{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}),Da=(Pr("\\char",(function(e){var t,a,n=e.popToken(),i="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if("\\"===(n=e.popToken()).text[0])i=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new r("\\char` missing argument");i=n.text.charCodeAt(0)}else t=10;if(t){if(null==(i=La[n.text])||t<=i)throw new r("Invalid base-"+t+" digit "+n.text);for(;null!=(a=La[e.future().text])&&a<t;)i=i*t+a,e.popToken()}return"\\@char{"+i+"}"})),(e,t,a,n)=>{var i=e.consumeArg().tokens;if(1!==i.length)throw new r("\\newcommand's first argument must be a macro name");var o=i[0].text,s=e.isDefined(o);if(s&&!t)throw new r("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!s&&!a)throw new r("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");if(t=0,1===(i=e.consumeArg().tokens).length&&"["===i[0].text){for(var l="",h=e.expandNextToken();"]"!==h.text&&"EOF"!==h.text;)l+=h.text,h=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new r("Invalid number of arguments: "+l);t=parseInt(l),i=e.consumeArg().tokens}return s&&n||e.macros.set(o,{tokens:i,numArgs:t}),""}),Va=(Pr("\\newcommand",(e=>Da(e,!1,!0,!1))),Pr("\\renewcommand",(e=>Da(e,!0,!1,!1))),Pr("\\providecommand",(e=>Da(e,!0,!0,!0))),Pr("\\message",(e=>(e=e.consumeArgs(1)[0],console.log(e.reverse().map((e=>e.text)).join("")),""))),Pr("\\errmessage",(e=>(e=e.consumeArgs(1)[0],console.error(e.reverse().map((e=>e.text)).join("")),""))),Pr("\\show",(e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Ba[r],ae.math[r],ae.text[r]),""})),Pr("\\bgroup","{"),Pr("\\egroup","}"),Pr("~","\\nobreakspace"),Pr("\\lq","`"),Pr("\\rq","'"),Pr("\\aa","\\r a"),Pr("\\AA","\\r A"),Pr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),Pr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Pr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),Pr("ℬ","\\mathscr{B}"),Pr("ℰ","\\mathscr{E}"),Pr("ℱ","\\mathscr{F}"),Pr("ℋ","\\mathscr{H}"),Pr("ℐ","\\mathscr{I}"),Pr("ℒ","\\mathscr{L}"),Pr("ℳ","\\mathscr{M}"),Pr("ℛ","\\mathscr{R}"),Pr("ℭ","\\mathfrak{C}"),Pr("ℌ","\\mathfrak{H}"),Pr("ℨ","\\mathfrak{Z}"),Pr("\\Bbbk","\\Bbb{k}"),Pr("·","\\cdotp"),Pr("\\llap","\\mathllap{\\textrm{#1}}"),Pr("\\rlap","\\mathrlap{\\textrm{#1}}"),Pr("\\clap","\\mathclap{\\textrm{#1}}"),Pr("\\mathstrut","\\vphantom{(}"),Pr("\\underbar","\\underline{\\text{#1}}"),Pr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Pr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),Pr("\\ne","\\neq"),Pr("≠","\\neq"),Pr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),Pr("∉","\\notin"),Pr("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),Pr("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),Pr("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),Pr("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),Pr("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),Pr("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),Pr("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),Pr("⟂","\\perp"),Pr("‼","\\mathclose{!\\mkern-0.8mu!}"),Pr("∌","\\notni"),Pr("⌜","\\ulcorner"),Pr("⌝","\\urcorner"),Pr("⌞","\\llcorner"),Pr("⌟","\\lrcorner"),Pr("©","\\copyright"),Pr("®","\\textregistered"),Pr("️","\\textregistered"),Pr("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Pr("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Pr("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Pr("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Pr("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),Pr("⋮","\\vdots"),Pr("\\varGamma","\\mathit{\\Gamma}"),Pr("\\varDelta","\\mathit{\\Delta}"),Pr("\\varTheta","\\mathit{\\Theta}"),Pr("\\varLambda","\\mathit{\\Lambda}"),Pr("\\varXi","\\mathit{\\Xi}"),Pr("\\varPi","\\mathit{\\Pi}"),Pr("\\varSigma","\\mathit{\\Sigma}"),Pr("\\varUpsilon","\\mathit{\\Upsilon}"),Pr("\\varPhi","\\mathit{\\Phi}"),Pr("\\varPsi","\\mathit{\\Psi}"),Pr("\\varOmega","\\mathit{\\Omega}"),Pr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Pr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Pr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Pr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Pr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Pr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),Pr("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),Pr("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}"),{",":"\\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"}),Pa=(Pr("\\dots",(function(e){var t="\\dotso";return(e=e.expandAfterFuture().text)in Va?t=Va[e]:("\\not"===e.slice(0,4)||e in ae.math&&s.contains(["bin","rel"],ae.math[e].group))&&(t="\\dotsb"),t})),{")":!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}),Fa=(Pr("\\dotso",(function(e){return e.future().text in Pa?"\\ldots\\,":"\\ldots"})),Pr("\\dotsc",(function(e){return(e=e.future().text)in Pa&&","!==e?"\\ldots\\,":"\\ldots"})),Pr("\\cdots",(function(e){return e.future().text in Pa?"\\@cdots\\,":"\\@cdots"})),Pr("\\dotsb","\\cdots"),Pr("\\dotsm","\\cdots"),Pr("\\dotsi","\\!\\cdots"),Pr("\\dotsx","\\ldots\\,"),Pr("\\DOTSI","\\relax"),Pr("\\DOTSB","\\relax"),Pr("\\DOTSX","\\relax"),Pr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Pr("\\,","\\tmspace+{3mu}{.1667em}"),Pr("\\thinspace","\\,"),Pr("\\>","\\mskip{4mu}"),Pr("\\:","\\tmspace+{4mu}{.2222em}"),Pr("\\medspace","\\:"),Pr("\\;","\\tmspace+{5mu}{.2777em}"),Pr("\\thickspace","\\;"),Pr("\\!","\\tmspace-{3mu}{.1667em}"),Pr("\\negthinspace","\\!"),Pr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Pr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Pr("\\enspace","\\kern.5em "),Pr("\\enskip","\\hskip.5em\\relax"),Pr("\\quad","\\hskip1em\\relax"),Pr("\\qquad","\\hskip2em\\relax"),Pr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Pr("\\tag@paren","\\tag@literal{({#1})}"),Pr("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new r("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Pr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Pr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Pr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Pr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Pr("\\newline","\\\\\\relax"),Pr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}"),P(A["Main-Regular"]["T".charCodeAt(0)][1]-.7*A["Main-Regular"]["A".charCodeAt(0)][1])),Ga=(Pr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Fa+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Pr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Fa+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Pr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Pr("\\@hspace","\\hskip #1\\relax"),Pr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Pr("\\ordinarycolon",":"),Pr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Pr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Pr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Pr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Pr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Pr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Pr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Pr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Pr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Pr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Pr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Pr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Pr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Pr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Pr("∷","\\dblcolon"),Pr("∹","\\eqcolon"),Pr("≔","\\coloneqq"),Pr("≕","\\eqqcolon"),Pr("⩴","\\Coloneqq"),Pr("\\ratio","\\vcentcolon"),Pr("\\coloncolon","\\dblcolon"),Pr("\\colonequals","\\coloneqq"),Pr("\\coloncolonequals","\\Coloneqq"),Pr("\\equalscolon","\\eqqcolon"),Pr("\\equalscoloncolon","\\Eqqcolon"),Pr("\\colonminus","\\coloneq"),Pr("\\coloncolonminus","\\Coloneq"),Pr("\\minuscolon","\\eqcolon"),Pr("\\minuscoloncolon","\\Eqcolon"),Pr("\\coloncolonapprox","\\Colonapprox"),Pr("\\coloncolonsim","\\Colonsim"),Pr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Pr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Pr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Pr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Pr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Pr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Pr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Pr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Pr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Pr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Pr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Pr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Pr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Pr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Pr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Pr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Pr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Pr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Pr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Pr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Pr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Pr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Pr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Pr("\\imath","\\html@mathml{\\@imath}{ı}"),Pr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Pr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Pr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Pr("⟦","\\llbracket"),Pr("⟧","\\rrbracket"),Pr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Pr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Pr("⦃","\\lBrace"),Pr("⦄","\\rBrace"),Pr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Pr("⦵","\\minuso"),Pr("\\darr","\\downarrow"),Pr("\\dArr","\\Downarrow"),Pr("\\Darr","\\Downarrow"),Pr("\\lang","\\langle"),Pr("\\rang","\\rangle"),Pr("\\uarr","\\uparrow"),Pr("\\uArr","\\Uparrow"),Pr("\\Uarr","\\Uparrow"),Pr("\\N","\\mathbb{N}"),Pr("\\R","\\mathbb{R}"),Pr("\\Z","\\mathbb{Z}"),Pr("\\alef","\\aleph"),Pr("\\alefsym","\\aleph"),Pr("\\Alpha","\\mathrm{A}"),Pr("\\Beta","\\mathrm{B}"),Pr("\\bull","\\bullet"),Pr("\\Chi","\\mathrm{X}"),Pr("\\clubs","\\clubsuit"),Pr("\\cnums","\\mathbb{C}"),Pr("\\Complex","\\mathbb{C}"),Pr("\\Dagger","\\ddagger"),Pr("\\diamonds","\\diamondsuit"),Pr("\\empty","\\emptyset"),Pr("\\Epsilon","\\mathrm{E}"),Pr("\\Eta","\\mathrm{H}"),Pr("\\exist","\\exists"),Pr("\\harr","\\leftrightarrow"),Pr("\\hArr","\\Leftrightarrow"),Pr("\\Harr","\\Leftrightarrow"),Pr("\\hearts","\\heartsuit"),Pr("\\image","\\Im"),Pr("\\infin","\\infty"),Pr("\\Iota","\\mathrm{I}"),Pr("\\isin","\\in"),Pr("\\Kappa","\\mathrm{K}"),Pr("\\larr","\\leftarrow"),Pr("\\lArr","\\Leftarrow"),Pr("\\Larr","\\Leftarrow"),Pr("\\lrarr","\\leftrightarrow"),Pr("\\lrArr","\\Leftrightarrow"),Pr("\\Lrarr","\\Leftrightarrow"),Pr("\\Mu","\\mathrm{M}"),Pr("\\natnums","\\mathbb{N}"),Pr("\\Nu","\\mathrm{N}"),Pr("\\Omicron","\\mathrm{O}"),Pr("\\plusmn","\\pm"),Pr("\\rarr","\\rightarrow"),Pr("\\rArr","\\Rightarrow"),Pr("\\Rarr","\\Rightarrow"),Pr("\\real","\\Re"),Pr("\\reals","\\mathbb{R}"),Pr("\\Reals","\\mathbb{R}"),Pr("\\Rho","\\mathrm{P}"),Pr("\\sdot","\\cdot"),Pr("\\sect","\\S"),Pr("\\spades","\\spadesuit"),Pr("\\sub","\\subset"),Pr("\\sube","\\subseteq"),Pr("\\supe","\\supseteq"),Pr("\\Tau","\\mathrm{T}"),Pr("\\thetasym","\\vartheta"),Pr("\\weierp","\\wp"),Pr("\\Zeta","\\mathrm{Z}"),Pr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Pr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Pr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Pr("\\bra","\\mathinner{\\langle{#1}|}"),Pr("\\ket","\\mathinner{|{#1}\\rangle}"),Pr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Pr("\\Bra","\\left\\langle#1\\right|"),Pr("\\Ket","\\left|#1\\right\\rangle"),e=>t=>{var r=t.consumeArg().tokens,a=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|"),l=(t.macros.beginGroup(),t=>r=>{e&&(r.macros.set("|",o),n.length)&&r.macros.set("\\|",s);var i=t;return!t&&n.length&&"|"===r.future().text&&(r.popToken(),i=!0),{tokens:i?n:a,numArgs:0}});t.macros.set("|",l(!1)),n.length&&t.macros.set("\\|",l(!0)),l=t.consumeArg().tokens,i=t.expandTokens([...i,...l,...r]);return t.macros.endGroup(),{tokens:i.reverse(),numArgs:0}}),Ua=(Pr("\\bra@ket",Ga(!1)),Pr("\\bra@set",Ga(!0)),Pr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Pr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Pr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Pr("\\angln","{\\angl n}"),Pr("\\blue","\\textcolor{##6495ed}{#1}"),Pr("\\orange","\\textcolor{##ffa500}{#1}"),Pr("\\pink","\\textcolor{##ff00af}{#1}"),Pr("\\red","\\textcolor{##df0030}{#1}"),Pr("\\green","\\textcolor{##28ae7b}{#1}"),Pr("\\gray","\\textcolor{gray}{#1}"),Pr("\\purple","\\textcolor{##9d38bd}{#1}"),Pr("\\blueA","\\textcolor{##ccfaff}{#1}"),Pr("\\blueB","\\textcolor{##80f6ff}{#1}"),Pr("\\blueC","\\textcolor{##63d9ea}{#1}"),Pr("\\blueD","\\textcolor{##11accd}{#1}"),Pr("\\blueE","\\textcolor{##0c7f99}{#1}"),Pr("\\tealA","\\textcolor{##94fff5}{#1}"),Pr("\\tealB","\\textcolor{##26edd5}{#1}"),Pr("\\tealC","\\textcolor{##01d1c1}{#1}"),Pr("\\tealD","\\textcolor{##01a995}{#1}"),Pr("\\tealE","\\textcolor{##208170}{#1}"),Pr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Pr("\\greenB","\\textcolor{##8af281}{#1}"),Pr("\\greenC","\\textcolor{##74cf70}{#1}"),Pr("\\greenD","\\textcolor{##1fab54}{#1}"),Pr("\\greenE","\\textcolor{##0d923f}{#1}"),Pr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Pr("\\goldB","\\textcolor{##ffbb71}{#1}"),Pr("\\goldC","\\textcolor{##ff9c39}{#1}"),Pr("\\goldD","\\textcolor{##e07d10}{#1}"),Pr("\\goldE","\\textcolor{##a75a05}{#1}"),Pr("\\redA","\\textcolor{##fca9a9}{#1}"),Pr("\\redB","\\textcolor{##ff8482}{#1}"),Pr("\\redC","\\textcolor{##f9685d}{#1}"),Pr("\\redD","\\textcolor{##e84d39}{#1}"),Pr("\\redE","\\textcolor{##bc2612}{#1}"),Pr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Pr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Pr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Pr("\\maroonD","\\textcolor{##ca337c}{#1}"),Pr("\\maroonE","\\textcolor{##9e034e}{#1}"),Pr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Pr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Pr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Pr("\\purpleD","\\textcolor{##7854ab}{#1}"),Pr("\\purpleE","\\textcolor{##543b78}{#1}"),Pr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Pr("\\mintB","\\textcolor{##edf2df}{#1}"),Pr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Pr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Pr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Pr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Pr("\\grayD","\\textcolor{##d6d8da}{#1}"),Pr("\\grayE","\\textcolor{##babec2}{#1}"),Pr("\\grayF","\\textcolor{##888d93}{#1}"),Pr("\\grayG","\\textcolor{##626569}{#1}"),Pr("\\grayH","\\textcolor{##3b3e40}{#1}"),Pr("\\grayI","\\textcolor{##21242c}{#1}"),Pr("\\kaBlue","\\textcolor{##314453}{#1}"),Pr("\\kaGreen","\\textcolor{##71B307}{#1}"),{"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0});class Ya{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Oa(Ea,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new Ha(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var r,a,n;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;r=this.popToken(),({tokens:n,end:a}=this.consumeArg(["]"]))}else({tokens:n,start:r,end:a}=this.consumeArg());return this.pushToken(new t("EOF",a.loc)),this.pushTokens(n),r.range(a,"")}consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()}consumeArg(e){var t,a=[],n=e&&0<e.length,i=(n||this.consumeSpaces(),this.future()),o=0,s=0;do{if(t=this.popToken(),a.push(t),"{"===t.text)++o;else if("}"===t.text){if(-1==--o)throw new r("Extra }",t)}else if("EOF"===t.text)throw new r("Unexpected end of input in a macro argument, expected '"+(e&&n?e[s]:"}")+"'",t);if(e&&n)if((0===o||1===o&&"{"===e[s])&&t.text===e[s]){if(++s===e.length){a.splice(-s,s);break}}else s=0}while(0!==o||n);return"{"===i.text&&"}"===a[a.length-1].text&&(a.pop(),a.shift()),a.reverse(),{tokens:a,start:i,end:t}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new r("The length of delimiters doesn't match the number of args!");for(var a=t[0],n=0;n<a.length;n++){var i=this.popToken();if(a[n]!==i.text)throw new r("Use of the macro doesn't match its definition",i)}}for(var o=[],s=0;s<e;s++)o.push(this.consumeArg(t&&t[s+1]).tokens);return o}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new r("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),a=t.text,n=t.noexpand?null:this._getExpansion(a);if(null==n||e&&n.unexpandable){if(e&&null==n&&"\\"===a[0]&&!this.isDefined(a))throw new r("Undefined control sequence: "+a);return this.pushToken(t),!1}this.countExpansion(1);var i=n.tokens,o=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs)for(var s=(i=i.slice()).length-1;0<=s;--s){var l=i[s];if("#"===l.text){if(0===s)throw new r("Incomplete placeholder at end of macro body",l);if("#"===(l=i[--s]).text)i.splice(s+1,1);else{if(!/^[1-9]$/.test(l.text))throw new r("Not a valid argument number",l);i.splice(s,2,...o[+l.text-1])}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;){var e;if(!1===this.expandOnce())return(e=this.stack.pop()).treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new t(e)]):void 0}expandTokens(e){var t,r=[],a=this.stack.length;for(this.pushTokens(e);this.stack.length>a;)!1===this.expandOnce(!0)&&((t=this.stack.pop()).treatAsRelax&&(t.noexpand=!1,t.treatAsRelax=!1),r.push(t));return this.countExpansion(r.length),r}expandMacroAsText(e){return(e=this.expandMacro(e))&&e.map((e=>e.text)).join("")}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1!==e.length||null==(e=this.lexer.catcodes[e])||13===e){if("string"!=typeof(e="function"==typeof t?t(this):t))return e;var r=0;if(-1!==e.indexOf("#"))for(var a=e.replace(/##/g,"");-1!==a.indexOf("#"+(r+1));)++r;for(var n=new Ha(e,this.settings),i=[],o=n.lex();"EOF"!==o.text;)i.push(o),o=n.lex();return i.reverse(),{tokens:i,numArgs:r}}}isDefined(e){return this.macros.has(e)||Ba.hasOwnProperty(e)||ae.math.hasOwnProperty(e)||ae.text.hasOwnProperty(e)||Ua.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:Ba.hasOwnProperty(e)&&!Ba[e].primitive}}var _a=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Xa=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Wa={"́":{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"}},ja={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class $a{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Ya(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new r("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new t("}")),this.gullet.pushTokens(e),e=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,e}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var a=this.fetch();if(-1!==$a.endOfExpression.indexOf(a.text))break;if(t&&a.text===t)break;if(e&&Ba[a.text]&&Ba[a.text].infix)break;if(!(a=this.parseAtom(t)))break;"internal"!==a.type&&r.push(a)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t,a,n,i=-1,o=0;o<e.length;o++)if("infix"===e[o].type){if(-1!==i)throw new r("only one infix operator per group",e[o].token);t=e[i=o].replaceWith}return-1!==i&&t?(a=e.slice(0,i),n=e.slice(i+1),a=1===a.length&&"ordgroup"===a[0].type?a[0]:{type:"ordgroup",mode:this.mode,body:a},n=1===n.length&&"ordgroup"===n[0].type?n[0]:{type:"ordgroup",mode:this.mode,body:n},["\\\\abovefrac"===t?this.callFunction(t,[a,e[i],n],[]):this.callFunction(t,[a,n],[])]):e}handleSupSubscript(e){var t=this.fetch(),a=t.text;this.consume(),this.consumeSpaces();do{var n=this.parseGroup(e)}while("internal"===(null==n?void 0:n.type));if(n)return n;throw new r("Expected group after '"+a+"'",t)}formatUnsupportedCmd(e){for(var t=[],r=0;r<e.length;r++)t.push({type:"textord",mode:"text",text:e[r]});var a={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]}}parseAtom(e){var a,n,i=this.parseGroup("atom",e);if("internal"===(null==i?void 0:i.type))return i;if("text"===this.mode)return i;for(;;){this.consumeSpaces();var o=this.fetch();if("\\limits"===o.text||"\\nolimits"===o.text){if(i&&"op"===i.type){var s="\\limits"===o.text;i.limits=s,i.alwaysHandleSupSub=!0}else{if(!i||"operatorname"!==i.type)throw new r("Limit controls must follow a math operator",o);i.alwaysHandleSupSub&&(i.limits="\\limits"===o.text)}this.consume()}else if("^"===o.text){if(a)throw new r("Double superscript",o);a=this.handleSupSubscript("superscript")}else if("_"===o.text){if(n)throw new r("Double subscript",o);n=this.handleSupSubscript("subscript")}else if("'"===o.text){if(a)throw new r("Double superscript",o);var l={type:"textord",mode:this.mode,text:"\\prime"},h=[l];for(this.consume();"'"===this.fetch().text;)h.push(l),this.consume();"^"===this.fetch().text&&h.push(this.handleSupSubscript("superscript")),a={type:"ordgroup",mode:this.mode,body:h}}else{if(!Xa[o.text])break;var m=_a.test(o.text),c=[];for(c.push(new t(Xa[o.text])),this.consume();;){var p=this.fetch().text;if(!Xa[p])break;if(_a.test(p)!==m)break;c.unshift(new t(Xa[p])),this.consume()}s=this.subparse(c),m?n={type:"ordgroup",mode:"math",body:s}:a={type:"ordgroup",mode:"math",body:s}}}return a||n?{type:"supsub",mode:this.mode,base:i,sup:a,sub:n}:i}parseFunction(e,t){var a,n=this.fetch(),i=n.text;if(!(a=Ba[i]))return null;if(this.consume(),t&&"atom"!==t&&!a.allowedInArgument)throw new r("Got function '"+i+"' with no arguments"+(t?" as "+t:""),n);if("text"===this.mode&&!a.allowedInText)throw new r("Can't use function '"+i+"' in text mode",n);if("math"===this.mode&&!1===a.allowedInMath)throw new r("Can't use function '"+i+"' in math mode",n);var{args:t,optArgs:a}=this.parseArguments(i,a);return this.callFunction(i,t,a,n,e)}callFunction(e,t,a,n,i){var o=Ba[e];if(o&&o.handler)return o.handler({funcName:e,parser:this,token:n,breakOnTokenText:i},t,a);throw new r("No function handler for "+e)}parseArguments(e,t){var a=t.numArgs+t.numOptionalArgs;if(0===a)return{args:[],optArgs:[]};for(var n=[],i=[],o=0;o<a;o++){var s=t.argTypes&&t.argTypes[o],l=o<t.numOptionalArgs;s=((t.primitive&&null==s||"sqrt"===t.type&&1===o&&null==i[0])&&(s="primitive"),this.parseGroupOfType("argument to '"+e+"'",s,l));if(l)i.push(s);else{if(null==s)throw new r("Null argument, please report this as a bug");n.push(s)}}return{args:n,optArgs:i}}parseGroupOfType(e,t,a){switch(t){case"color":return this.parseColorGroup(a);case"size":return this.parseSizeGroup(a);case"url":return this.parseUrlGroup(a);case"math":case"text":return this.parseArgumentGroup(a,t);case"hbox":var n=this.parseArgumentGroup(a,"text");return null!=n?{type:"styling",mode:n.mode,body:[n],style:"text"}:null;case"raw":return null!=(n=this.parseStringGroup("raw",a))?{type:"raw",mode:"text",string:n.text}:null;case"primitive":if(a)throw new r("A primitive argument cannot be optional");if(null==(n=this.parseGroup(e)))throw new r("Expected group as "+e,this.fetch());return n;case"original":case null:case void 0:return this.parseArgumentGroup(a);default:throw new r("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(e,t){if(null==(t=this.gullet.scanArgument(t)))return null;for(var r,a="";"EOF"!==(r=this.fetch()).text;)a+=r.text,this.consume();return this.consume(),t.text=a,t}parseRegexGroup(e,t){for(var a,n=this.fetch(),i=n,o="";"EOF"!==(a=this.fetch()).text&&e.test(o+a.text);)o+=(i=a).text,this.consume();if(""===o)throw new r("Invalid "+t+": '"+n.text+"'",n);return n.range(i,o)}parseColorGroup(e){if(null==(e=this.parseStringGroup("color",e)))return null;var t=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(e.text);if(t)return t=t[0],/^[0-9a-f]{6}$/i.test(t)&&(t="#"+t),{type:"color-token",mode:this.mode,color:t};throw new r("Invalid color: '"+e.text+"'",e)}parseSizeGroup(e){var t,a=!1;if(this.gullet.consumeSpaces(),!(t=e||"{"===this.gullet.future().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;if(e||0!==t.text.length||(t.text="0pt",a=!0),!(e=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text)))throw new r("Invalid size: '"+t.text+"'",t);if(e={number:+(e[1]+e[2]),unit:e[3]},D(e))return{type:"size",mode:this.mode,value:e,isBlank:a};throw new r("Invalid unit: '"+e.unit+"'",t)}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);e=this.parseStringGroup("url",e);return this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==e?null:(e=e.text.replace(/\\([#$%&~_^{}])/g,"$1"),{type:"url",mode:this.mode,url:e})}parseArgumentGroup(e,t){var r,a;return null==(e=this.gullet.scanArgument(e))?null:(r=this.mode,t&&this.switchMode(t),this.gullet.beginGroup(),a=this.parseExpression(!1,"EOF"),this.expect("EOF"),this.gullet.endGroup(),e={type:"ordgroup",mode:this.mode,loc:e.loc,body:a},t&&this.switchMode(r),e)}parseGroup(t,a){var n=this.fetch(),i=n.text;if("{"===i||"\\begingroup"===i){this.consume();var o="{"===i?"}":"\\endgroup",s=(this.gullet.beginGroup(),this.parseExpression(!1,o)),l=this.fetch();this.expect(o),this.gullet.endGroup(),o={type:"ordgroup",mode:this.mode,loc:e.range(n,l),body:s,semisimple:"\\begingroup"===i||void 0}}else if(null==(o=this.parseFunction(a,t)||this.parseSymbol())&&"\\"===i[0]&&!Ua.hasOwnProperty(i)){if(this.settings.throwOnError)throw new r("Undefined control sequence: "+i,n);o=this.formatUnsupportedCmd(i),this.consume()}return o}formLigatures(t){for(var r=t.length-1,a=0;a<r;++a){var n=t[a],i=n.text;"-"===i&&"-"===t[a+1].text&&(a+1<r&&"-"===t[a+2].text?(t.splice(a,3,{type:"textord",mode:"text",loc:e.range(n,t[a+2]),text:"---"}),r-=2):(t.splice(a,2,{type:"textord",mode:"text",loc:e.range(n,t[a+1]),text:"--"}),--r)),"'"!==i&&"`"!==i||t[a+1].text!==i||(t.splice(a,2,{type:"textord",mode:"text",loc:e.range(n,t[a+1]),text:i+i}),--r)}}parseSymbol(){var t=this.fetch(),a=t.text;if(/^\\verb[^a-zA-Z]/.test(a)){this.consume();var n="*"===(o=a.slice(5)).charAt(0);if((o=n?o.slice(1):o).length<2||o.charAt(0)!==o.slice(-1))throw new r("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:o=o.slice(1,-1),star:n}}ja.hasOwnProperty(a[0])&&!ae[this.mode][a[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+a[0]+'" used in math mode',t),a=ja[a[0]]+a.slice(1));var i=Ia.exec(a);if(i&&("i"===(a=a.substring(0,i.index))?a="ı":"j"===a&&(a="ȷ")),ae[this.mode][a]){this.settings.strict&&"math"===this.mode&&0<=Oe.indexOf(a)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+a[0]+'" used in math mode',t);var o=ae[this.mode][a].group,s=(n=e.range(t),te.hasOwnProperty(o)?{type:"atom",mode:this.mode,family:o,loc:n,text:a}:{type:o,mode:this.mode,loc:n,text:a})}else{if(!(128<=a.charCodeAt(0)))return null;this.settings.strict&&(k(a.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+a[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+a[0]+'" ('+a.charCodeAt(0)+")",t)),s={type:"textord",mode:"text",loc:e.range(t),text:a}}if(this.consume(),i)for(var l=0;l<i[0].length;l++){var h=i[0][l];if(!Wa[h])throw new r("Unknown accent ' "+h+"'",t);var m=Wa[h][this.mode]||Wa[h].text;if(!m)throw new r("Accent "+h+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:e.range(t),label:m,isStretchy:!1,isShifty:!0,base:s}}return s}}$a.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Za=function(e,a){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=(delete(e=new $a(e,a)).gullet.macros.current["\\df@tag"],e.parse());if(delete e.gullet.macros.current["\\current@color"],delete e.gullet.macros.current["\\color"],e.gullet.macros.get("\\df@tag")){if(!a.displayMode)throw new r("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:e.subparse([new t("\\df@tag")])}]}return n},Ka=function(e,t,r){t.textContent="",e=tn(e,r).toNode(),t.appendChild(e)},Ja=("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."),Ka=function(){throw new r("KaTeX doesn't work in quirks mode.")}),function(e,t){return tn(e,t).toMarkup()}),Qa=function(e,t){return t=new m(t),Za(e,t)},en=function(e,t,a){if(!a.throwOnError&&e instanceof r)return(t=Ze.makeSpan(["katex-error"],[new Z(t)])).setAttribute("title",e.toString()),t.setAttribute("style","color:"+a.errorColor),t;throw e},tn=function(e,t){t=new m(t);try{var r;return function(e,t,r){var a,n=Ot(r);return"mathml"===r.output?Ht(e,t,n,r.displayMode,!0):(e="html"===r.output?(a=kt(e,n),Ze.makeSpan(["katex"],[a])):(a=Ht(e,t,n,r.displayMode,!1),t=kt(e,n),Ze.makeSpan(["katex"],[a,t])),Et(e,r))}(Za(e,t),e,t)}catch(r){return en(r,e,t)}},rn=function(e,t){t=new m(t);try{var r;return function(e,t,r){return e=kt(e,Ot(r)),e=Ze.makeSpan(["katex"],[e]),Et(e,r)}(Za(e,t),0,t)}catch(r){return en(r,e,t)}},an="0.16.22",nn={Span:X,Anchor:W,SymbolNode:Z,SvgNode:K,PathNode:J,LineNode:Q},on={version:an,render:Ka,renderToString:Ja,ParseError:r,SETTINGS_SCHEMA:l,__parse:Qa,__renderToDomTree:tn,__renderToHTMLTree:rn,__setFontMetrics:C,__defineSymbol:ne,__defineFunction:it,__defineMacro:Pr,__domTree:nn};export{r as ParseError,l as SETTINGS_SCHEMA,it as __defineFunction,Pr as __defineMacro,ne as __defineSymbol,nn as __domTree,Qa as __parse,tn as __renderToDomTree,rn as __renderToHTMLTree,C as __setFontMetrics,on as default,Ka as render,Ja as renderToString,an as version};