@superlc/md-core 0.1.0 → 0.2.0

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 (118) hide show
  1. package/dist/_baseUniq-BfzcfZ4T.cjs +1 -0
  2. package/dist/_baseUniq-Y3ulau-C.js +477 -0
  3. package/dist/arc-Be_AVKBg.cjs +1 -0
  4. package/dist/arc-Ca7Zrknn.js +83 -0
  5. package/dist/architectureDiagram-VXUJARFQ-4Jx44yBn.cjs +36 -0
  6. package/dist/architectureDiagram-VXUJARFQ-DJeUU_qv.js +4665 -0
  7. package/dist/blockDiagram-VD42YOAC-BimcGKKd.cjs +122 -0
  8. package/dist/blockDiagram-VD42YOAC-D-giXjw6.js +2265 -0
  9. package/dist/c4Diagram-YG6GDRKO-Bl9iUUVb.cjs +10 -0
  10. package/dist/c4Diagram-YG6GDRKO-YxTtvGWw.js +1581 -0
  11. package/dist/channel-DOU_t-A5.js +5 -0
  12. package/dist/channel-DzR_mTuG.cjs +1 -0
  13. package/dist/chunk-4BX2VUAB-BT8x_a4k.cjs +1 -0
  14. package/dist/chunk-4BX2VUAB-qWjx6fvp.js +9 -0
  15. package/dist/chunk-55IACEB6-DRmMNyi7.js +8 -0
  16. package/dist/chunk-55IACEB6-DfzR1I2i.cjs +1 -0
  17. package/dist/chunk-B4BG7PRW-B4vBwkd7.js +1376 -0
  18. package/dist/chunk-B4BG7PRW-k_Ki7ZYa.cjs +165 -0
  19. package/dist/chunk-DI55MBZ5-67zt7BEa.cjs +220 -0
  20. package/dist/chunk-DI55MBZ5-B-Akunv8.js +1382 -0
  21. package/dist/chunk-FMBD7UC4-D-gJ-PKq.cjs +15 -0
  22. package/dist/chunk-FMBD7UC4-D1foMA2H.js +19 -0
  23. package/dist/chunk-QN33PNHL-DBsOH5IO.cjs +1 -0
  24. package/dist/chunk-QN33PNHL-DpeYRHMx.js +20 -0
  25. package/dist/chunk-QZHKN3VN-CWmChvMD.cjs +1 -0
  26. package/dist/chunk-QZHKN3VN-CoINyXCe.js +15 -0
  27. package/dist/chunk-TZMSLE5B-CMo-Qyqp.js +64 -0
  28. package/dist/chunk-TZMSLE5B-Psc_3Gkx.cjs +1 -0
  29. package/dist/classDiagram-2ON5EDUG-BrNHAA-E.js +16 -0
  30. package/dist/classDiagram-2ON5EDUG-CA1gbIW7.cjs +1 -0
  31. package/dist/classDiagram-v2-WZHVMYZB-BrNHAA-E.js +16 -0
  32. package/dist/classDiagram-v2-WZHVMYZB-CA1gbIW7.cjs +1 -0
  33. package/dist/clone-BOyua0mT.js +8 -0
  34. package/dist/clone-D7Rx0g6P.cjs +1 -0
  35. package/dist/cose-bilkent-S5V4N54A-BBcnamAX.cjs +1 -0
  36. package/dist/cose-bilkent-S5V4N54A-xbHM31av.js +2605 -0
  37. package/dist/cytoscape.esm-DkGgpG6d.cjs +331 -0
  38. package/dist/cytoscape.esm-ZmItrg9y.js +18731 -0
  39. package/dist/dagre-6UL2VRFP-B5ZJ9Mmw.cjs +4 -0
  40. package/dist/dagre-6UL2VRFP-lY6fElcy.js +446 -0
  41. package/dist/defaultLocale-BgPVtth8.js +171 -0
  42. package/dist/defaultLocale-C4wbwF1n.cjs +1 -0
  43. package/dist/diagram-PSM6KHXK-DOgpThfE.js +534 -0
  44. package/dist/diagram-PSM6KHXK-NUCrGNCX.cjs +24 -0
  45. package/dist/diagram-QEK2KX5R-CKpcqpBk.js +221 -0
  46. package/dist/diagram-QEK2KX5R-P-pWAYvp.cjs +43 -0
  47. package/dist/diagram-S2PKOQOG-B4PYQerv.cjs +24 -0
  48. package/dist/diagram-S2PKOQOG-CZn9lft8.js +143 -0
  49. package/dist/erDiagram-Q2GNP2WA-D6UL-dgf.js +842 -0
  50. package/dist/erDiagram-Q2GNP2WA-DwYOfnOX.cjs +60 -0
  51. package/dist/flowDiagram-NV44I4VS-BvuqC7lR.cjs +162 -0
  52. package/dist/flowDiagram-NV44I4VS-YPdRK_ji.js +1627 -0
  53. package/dist/ganttDiagram-JELNMOA3-CGnvf7yj.js +2662 -0
  54. package/dist/ganttDiagram-JELNMOA3-wbYrtCNf.cjs +267 -0
  55. package/dist/gitGraphDiagram-NY62KEGX-BnpFLmUy.js +712 -0
  56. package/dist/gitGraphDiagram-NY62KEGX-BzlCJL63.cjs +65 -0
  57. package/dist/graph-Bv0JC_B1.cjs +1 -0
  58. package/dist/graph-DwDboYRQ.js +381 -0
  59. package/dist/index-A-U0gtM4.js +15167 -0
  60. package/dist/index-BC30feOR.cjs +300 -0
  61. package/dist/index.cjs +1 -300
  62. package/dist/index.d.ts +2 -0
  63. package/dist/index.d.ts.map +1 -1
  64. package/dist/index.js +27 -14816
  65. package/dist/infoDiagram-WHAUD3N6-CPFFyZEz.cjs +2 -0
  66. package/dist/infoDiagram-WHAUD3N6-DF-Kn4KW.js +24 -0
  67. package/dist/init-CHZsXQcr.cjs +1 -0
  68. package/dist/init-DjUOC4st.js +16 -0
  69. package/dist/journeyDiagram-XKPGCS4Q-Bc3YJVQN.cjs +139 -0
  70. package/dist/journeyDiagram-XKPGCS4Q-CqUVbDan.js +836 -0
  71. package/dist/kanban-definition-3W4ZIXB7-BKxpdlfe.cjs +89 -0
  72. package/dist/kanban-definition-3W4ZIXB7-Zx7cVnZF.js +720 -0
  73. package/dist/layout-CrdknE74.js +1441 -0
  74. package/dist/layout-y4Mby5BC.cjs +1 -0
  75. package/dist/linear-D_NLLphh.cjs +1 -0
  76. package/dist/linear-Fqu_aevY.js +259 -0
  77. package/dist/mermaid/darkMode.d.ts +54 -0
  78. package/dist/mermaid/darkMode.d.ts.map +1 -0
  79. package/dist/mermaid/download.d.ts +27 -0
  80. package/dist/mermaid/download.d.ts.map +1 -0
  81. package/dist/mermaid/index.d.ts +9 -0
  82. package/dist/mermaid/index.d.ts.map +1 -0
  83. package/dist/mermaid/renderer.d.ts +36 -0
  84. package/dist/mermaid/renderer.d.ts.map +1 -0
  85. package/dist/mermaid/themes.d.ts +17 -0
  86. package/dist/mermaid/themes.d.ts.map +1 -0
  87. package/dist/mermaid/types.d.ts +117 -0
  88. package/dist/mermaid/types.d.ts.map +1 -0
  89. package/dist/mermaid.core-Buzus1hw.js +15321 -0
  90. package/dist/mermaid.core-CCMj67LO.cjs +255 -0
  91. package/dist/min-BNEwgiip.js +38 -0
  92. package/dist/min-CxfddLJo.cjs +1 -0
  93. package/dist/mindmap-definition-VGOIOE7T-C3sZAv1n.js +786 -0
  94. package/dist/mindmap-definition-VGOIOE7T-Cq9KhFIU.cjs +68 -0
  95. package/dist/ordinal-CagbB1m8.cjs +1 -0
  96. package/dist/ordinal-DfAQgscy.js +61 -0
  97. package/dist/pieDiagram-ADFJNKIX-Bib4GVaz.js +161 -0
  98. package/dist/pieDiagram-ADFJNKIX-CPJ4LdHJ.cjs +30 -0
  99. package/dist/quadrantDiagram-AYHSOK5B-Bw4qbzaI.js +1024 -0
  100. package/dist/quadrantDiagram-AYHSOK5B-Dldq3aFV.cjs +7 -0
  101. package/dist/requirementDiagram-UZGBJVZJ-BiMT5LBm.cjs +64 -0
  102. package/dist/requirementDiagram-UZGBJVZJ-DKt5E9D5.js +852 -0
  103. package/dist/sankeyDiagram-TZEHDZUN-BvqABFTj.cjs +10 -0
  104. package/dist/sankeyDiagram-TZEHDZUN-DPexJVr0.js +810 -0
  105. package/dist/sequenceDiagram-WL72ISMW-JcPuIgsZ.cjs +145 -0
  106. package/dist/sequenceDiagram-WL72ISMW-rx65Aq7k.js +2518 -0
  107. package/dist/stateDiagram-FKZM4ZOC-5jwz-EhH.cjs +1 -0
  108. package/dist/stateDiagram-FKZM4ZOC-D95elPzf.js +263 -0
  109. package/dist/stateDiagram-v2-4FDKWEC3-DKxcP1od.cjs +1 -0
  110. package/dist/stateDiagram-v2-4FDKWEC3-U8OyZJcH.js +16 -0
  111. package/dist/styles.css +370 -0
  112. package/dist/timeline-definition-IT6M3QCI-C_aFXPzu.cjs +61 -0
  113. package/dist/timeline-definition-IT6M3QCI-DzBIcxIH.js +801 -0
  114. package/dist/treemap-KMMF4GRG-CqQBq3TE.js +14157 -0
  115. package/dist/treemap-KMMF4GRG-DJHv4WOZ.cjs +128 -0
  116. package/dist/xychartDiagram-PRI3JC2R-M2dUh85s.cjs +7 -0
  117. package/dist/xychartDiagram-PRI3JC2R-ZNBNeiJf.js +1340 -0
  118. package/package.json +14 -10
@@ -0,0 +1,300 @@
1
+ "use strict";var ei=Object.defineProperty;var ti=(r,e,t)=>e in r?ei(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var ue=(r,e,t)=>ti(r,typeof e!="symbol"?e+"":e,t);const ri=require("unified"),ni=require("remark-parse"),ai=require("remark-gfm"),ii=require("remark-rehype"),li=require("rehype-highlight"),si=require("unist-util-visit"),oi=require("rehype-stringify");function ui(r,e){const t=String(r);let n=t.indexOf(e),a=n,i=0,s=0;for(;n!==-1;)n===a?++i>s&&(s=i):i=1,a=n+e.length,n=t.indexOf(e,a);return s}function hi(){return{enter:{mathFlow:r,mathFlowFenceMeta:e,mathText:i},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:t,mathFlowValue:u,mathText:s,mathTextData:u}};function r(h){const d={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[d]}},h)}function e(){this.buffer()}function t(){const h=this.resume(),d=this.stack[this.stack.length-1];d.type,d.meta=h}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(h){const d=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),f=this.stack[this.stack.length-1];f.type,this.exit(h),f.value=d;const g=f.data.hChildren[0];g.type,g.tagName,g.children.push({type:"text",value:d}),this.data.mathFlowInside=void 0}function i(h){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},h),this.buffer()}function s(h){const d=this.resume(),f=this.stack[this.stack.length-1];f.type,this.exit(h),f.value=d,f.data.hChildren.push({type:"text",value:d})}function u(h){this.config.enter.data.call(this,h),this.config.exit.data.call(this,h)}}function ci(r){let e=(r||{}).singleDollarTextMath;return e==null&&(e=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
2
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:e?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:t,inlineMath:n}};function t(i,s,u,h){const d=i.value||"",f=u.createTracker(h),g="$".repeat(Math.max(ui(d,"$")+1,2)),b=u.enter("mathFlow");let x=f.move(g);if(i.meta){const S=u.enter("mathFlowMeta");x+=f.move(u.safe(i.meta,{after:`
3
+ `,before:x,encode:["$"],...f.current()})),S()}return x+=f.move(`
4
+ `),d&&(x+=f.move(d+`
5
+ `)),x+=f.move(g),b(),x}function n(i,s,u){let h=i.value||"",d=1;for(e||d++;new RegExp("(^|[^$])"+"\\$".repeat(d)+"([^$]|$)").test(h);)d++;const f="$".repeat(d);/[^ \r\n]/.test(h)&&(/^[ \r\n]/.test(h)&&/[ \r\n]$/.test(h)||/^\$|\$$/.test(h))&&(h=" "+h+" ");let g=-1;for(;++g<u.unsafe.length;){const b=u.unsafe[g];if(!b.atBreak)continue;const x=u.compilePattern(b);let S;for(;S=x.exec(h);){let k=S.index;h.codePointAt(k)===10&&h.codePointAt(k-1)===13&&k--,h=h.slice(0,k)+" "+h.slice(S.index+1)}}return f+h+f}function a(){return"$"}}function e0(r){return r!==null&&r<-2}function yr(r){return r===-2||r===-1||r===32}function I0(r,e,t,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(h){return yr(h)?(r.enter(t),u(h)):e(h)}function u(h){return yr(h)&&i++<a?(r.consume(h),u):(r.exit(t),e(h))}}const mi={tokenize:di,concrete:!0,name:"mathFlow"},br={tokenize:fi,partial:!0};function di(r,e,t){const n=this,a=n.events[n.events.length-1],i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let s=0;return u;function u(T){return r.enter("mathFlow"),r.enter("mathFlowFence"),r.enter("mathFlowFenceSequence"),h(T)}function h(T){return T===36?(r.consume(T),s++,h):s<2?t(T):(r.exit("mathFlowFenceSequence"),I0(r,d,"whitespace")(T))}function d(T){return T===null||e0(T)?g(T):(r.enter("mathFlowFenceMeta"),r.enter("chunkString",{contentType:"string"}),f(T))}function f(T){return T===null||e0(T)?(r.exit("chunkString"),r.exit("mathFlowFenceMeta"),g(T)):T===36?t(T):(r.consume(T),f)}function g(T){return r.exit("mathFlowFence"),n.interrupt?e(T):r.attempt(br,b,B)(T)}function b(T){return r.attempt({tokenize:N,partial:!0},B,x)(T)}function x(T){return(i?I0(r,S,"linePrefix",i+1):S)(T)}function S(T){return T===null?B(T):e0(T)?r.attempt(br,b,B)(T):(r.enter("mathFlowValue"),k(T))}function k(T){return T===null||e0(T)?(r.exit("mathFlowValue"),S(T)):(r.consume(T),k)}function B(T){return r.exit("mathFlow"),e(T)}function N(T,H,R){let L=0;return I0(T,O,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function O(U){return T.enter("mathFlowFence"),T.enter("mathFlowFenceSequence"),P(U)}function P(U){return U===36?(L++,T.consume(U),P):L<s?R(U):(T.exit("mathFlowFenceSequence"),I0(T,$,"whitespace")(U))}function $(U){return U===null||e0(U)?(T.exit("mathFlowFence"),H(U)):R(U)}}}function fi(r,e,t){const n=this;return a;function a(s){return s===null?e(s):(r.enter("lineEnding"),r.consume(s),r.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?t(s):e(s)}}function pi(r){let t=(r||{}).singleDollarTextMath;return t==null&&(t=!0),{tokenize:n,resolve:vi,previous:gi,name:"mathText"};function n(a,i,s){let u=0,h,d;return f;function f(k){return a.enter("mathText"),a.enter("mathTextSequence"),g(k)}function g(k){return k===36?(a.consume(k),u++,g):u<2&&!t?s(k):(a.exit("mathTextSequence"),b(k))}function b(k){return k===null?s(k):k===36?(d=a.enter("mathTextSequence"),h=0,S(k)):k===32?(a.enter("space"),a.consume(k),a.exit("space"),b):e0(k)?(a.enter("lineEnding"),a.consume(k),a.exit("lineEnding"),b):(a.enter("mathTextData"),x(k))}function x(k){return k===null||k===32||k===36||e0(k)?(a.exit("mathTextData"),b(k)):(a.consume(k),x)}function S(k){return k===36?(a.consume(k),h++,S):h===u?(a.exit("mathTextSequence"),a.exit("mathText"),i(k)):(d.type="mathTextData",x(k))}}}function vi(r){let e=r.length-4,t=3,n,a;if((r[t][1].type==="lineEnding"||r[t][1].type==="space")&&(r[e][1].type==="lineEnding"||r[e][1].type==="space")){for(n=t;++n<e;)if(r[n][1].type==="mathTextData"){r[e][1].type="mathTextPadding",r[t][1].type="mathTextPadding",t+=2,e-=2;break}}for(n=t-1,e++;++n<=e;)a===void 0?n!==e&&r[n][1].type!=="lineEnding"&&(a=n):(n===e||r[n][1].type==="lineEnding")&&(r[a][1].type="mathTextData",n!==a+2&&(r[a][1].end=r[n-1][1].end,r.splice(a+2,n-a-2),e-=n-a-2,n=a+2),a=void 0);return r}function gi(r){return r!==36||this.events[this.events.length-1][1].type==="characterEscape"}function yi(r){return{flow:{36:mi},text:{36:pi(r)}}}class ve{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new ve(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}}class we{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new we(t,ve.range(this,e))}}class z{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+e,a,i,s=t&&t.loc;if(s&&s.start<=s.end){var u=s.lexer.input;a=s.start,i=s.end,a===u.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var h=u.slice(a,i).replace(/[^]/g,"$&̲"),d;a>15?d="…"+u.slice(a-15,a):d=u.slice(0,a);var f;i+15<u.length?f=u.slice(i,i+15)+"…":f=u.slice(i),n+=d+h+f}var g=new Error(n);return g.name="ParseError",g.__proto__=z.prototype,g.position=a,a!=null&&i!=null&&(g.length=i-a),g.rawMessage=e,g}}z.prototype.__proto__=Error.prototype;var bi=function(e,t){return e===void 0?t:e},xi=/([A-Z])/g,wi=function(e){return e.replace(xi,"-$1").toLowerCase()},ki={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Si=/[&><"']/g;function Mi(r){return String(r).replace(Si,e=>ki[e])}var xn=function r(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?r(e.body[0]):e:e.type==="font"?r(e.body):e},Ti=function(e){var t=xn(e);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},Ai=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},zi=function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},_={deflt:bi,escape:Mi,hyphenate:wi,getBaseElem:xn,isCharacterBox:Ti,protocolFromUrl:zi},y0={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:r=>"#"+r},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:(r,e)=>(e.push(r),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:r=>Math.max(0,r),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:r=>Math.max(0,r),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:r=>Math.max(0,r),cli:"-e, --max-expand <n>",cliProcessor:r=>r==="Infinity"?1/0:parseInt(r)},globalGroup:{type:"boolean",cli:!1}};function Ci(r){if(r.default)return r.default;var e=r.type,t=Array.isArray(e)?e[0]:e;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class jt{constructor(e){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||{};for(var t in y0)if(y0.hasOwnProperty(t)){var n=y0[t];this[t]=e[t]!==void 0?n.processor?n.processor(e[t]):e[t]:Ci(n)}}reportNonstrict(e,t,n){var a=this.strict;if(typeof a=="function"&&(a=a(e,t,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new z("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),n);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,n){var a=this.strict;if(typeof a=="function")try{a=a(e,t,n)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console<"u"&&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=_.protocolFromUrl(e.url);if(t==null)return!1;e.protocol=t}var n=typeof this.trust=="function"?this.trust(e):this.trust;return!!n}}class We{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return Be[Bi[this.id]]}sub(){return Be[Di[this.id]]}fracNum(){return Be[Ni[this.id]]}fracDen(){return Be[Ei[this.id]]}cramp(){return Be[Ii[this.id]]}text(){return Be[Li[this.id]]}isTight(){return this.size>=2}}var Xt=0,X0=1,h0=2,qe=3,x0=4,Te=5,m0=6,de=7,Be=[new We(Xt,0,!1),new We(X0,0,!0),new We(h0,1,!1),new We(qe,1,!0),new We(x0,2,!1),new We(Te,2,!0),new We(m0,3,!1),new We(de,3,!0)],Bi=[x0,Te,x0,Te,m0,de,m0,de],Di=[Te,Te,Te,Te,de,de,de,de],Ni=[h0,qe,x0,Te,m0,de,m0,de],Ei=[qe,qe,Te,Te,de,de,de,de],Ii=[X0,X0,qe,qe,Te,Te,de,de],Li=[Xt,X0,h0,qe,h0,qe,h0,qe],F={DISPLAY:Be[Xt],TEXT:Be[h0],SCRIPT:Be[x0],SCRIPTSCRIPT:Be[m0]},Bt=[{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]]}];function Oi(r){for(var e=0;e<Bt.length;e++)for(var t=Bt[e],n=0;n<t.blocks.length;n++){var a=t.blocks[n];if(r>=a[0]&&r<=a[1])return t.name}return null}var W0=[];Bt.forEach(r=>r.blocks.forEach(e=>W0.push(...e)));function wn(r){for(var e=0;e<W0.length;e+=2)if(r>=W0[e]&&r<=W0[e+1])return!0;return!1}var u0=80,Ri=function(e,t){return"M95,"+(622+e+t)+`
6
+ c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
7
+ c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
8
+ c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
9
+ s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
10
+ c69,-144,104.5,-217.7,106.5,-221
11
+ l`+e/2.075+" -"+e+`
12
+ c5.3,-9.3,12,-14,20,-14
13
+ H400000v`+(40+e)+`H845.2724
14
+ s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
15
+ c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
16
+ M`+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},qi=function(e,t){return"M263,"+(601+e+t)+`c0.7,0,18,39.7,52,119
17
+ c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
18
+ c340,-704.7,510.7,-1060.3,512,-1067
19
+ l`+e/2.084+" -"+e+`
20
+ c4.7,-7.3,11,-11,19,-11
21
+ H40000v`+(40+e)+`H1012.3
22
+ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
23
+ c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
24
+ s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
25
+ c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
26
+ M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},Fi=function(e,t){return"M983 "+(10+e+t)+`
27
+ l`+e/3.13+" -"+e+`
28
+ c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
29
+ H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
30
+ s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
31
+ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
32
+ c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
33
+ c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
34
+ c53.7,-170.3,84.5,-266.8,92.5,-289.5z
35
+ M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},Pi=function(e,t){return"M424,"+(2398+e+t)+`
36
+ c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
37
+ c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
38
+ s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
39
+ s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
40
+ l`+e/4.223+" -"+e+`c4,-6.7,10,-10,18,-10 H400000
41
+ v`+(40+e)+`H1014.6
42
+ s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
43
+ c-2,6,-10,9,-24,9
44
+ c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+t+`
45
+ h400000v`+(40+e)+"h-400000z"},Hi=function(e,t){return"M473,"+(2713+e+t)+`
46
+ c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+`
47
+ c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
48
+ s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
49
+ c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
50
+ c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
51
+ s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
52
+ 606zM`+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},Vi=function(e){var t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},Ui=function(e,t,n){var a=n-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+`
53
+ H742v`+a+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
54
+ h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
55
+ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
56
+ 219 661 l218 661zM702 `+t+"H400000v"+(40+e)+"H742z"},$i=function(e,t,n){t=1e3*t;var a="";switch(e){case"sqrtMain":a=Ri(t,u0);break;case"sqrtSize1":a=qi(t,u0);break;case"sqrtSize2":a=Fi(t,u0);break;case"sqrtSize3":a=Pi(t,u0);break;case"sqrtSize4":a=Hi(t,u0);break;case"sqrtTall":a=Ui(t,u0,n)}return a},Gi=function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z");case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z");default:return""}},xr={doubleleftarrow:`M262 157
57
+ l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
58
+ 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
59
+ 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
60
+ c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
61
+ 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
62
+ -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
63
+ -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
64
+ m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
65
+ -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
66
+ 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
67
+ -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
68
+ -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
69
+ -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
70
+ c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
71
+ -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
72
+ 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
73
+ -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
74
+ c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
75
+ 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
76
+ 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
77
+ l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
78
+ -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
79
+ 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
80
+ 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
81
+ 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
82
+ -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
83
+ H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
84
+ 435 0h399565z`,leftgroupunder:`M400000 262
85
+ H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
86
+ 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
87
+ -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
88
+ -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
89
+ -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
90
+ 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
91
+ -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
92
+ -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
93
+ m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
94
+ 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
95
+ 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
96
+ -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
97
+ 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
98
+ -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
99
+ v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
100
+ -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
101
+ -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
102
+ 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
103
+ M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
104
+ M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
105
+ -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
106
+ c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
107
+ 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
108
+ M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
109
+ c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
110
+ -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
111
+ 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
112
+ 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
113
+ c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
114
+ 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
115
+ 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
116
+ -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
117
+ -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
118
+ m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
119
+ 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
120
+ -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
121
+ m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
122
+ c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
123
+ -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
124
+ m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
125
+ 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
126
+ -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
127
+ m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
128
+ c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
129
+ -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
130
+ 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
131
+ 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
132
+ -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
133
+ -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
134
+ 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
135
+ -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
136
+ s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
137
+ c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
138
+ 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
139
+ -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
140
+ 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
141
+ 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
142
+ -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
143
+ -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
144
+ 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
145
+ -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
146
+ 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
147
+ m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
148
+ 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
149
+ -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
150
+ -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
151
+ 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
152
+ 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
153
+ -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
154
+ m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
155
+ 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
156
+ -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
157
+ 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
158
+ M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
159
+ 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
160
+ -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
161
+ -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
162
+ 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
163
+ -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
164
+ -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
165
+ -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
166
+ 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
167
+ c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
168
+ 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
169
+ 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
170
+ -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
171
+ 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
172
+ -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
173
+ 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
174
+ 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
175
+ -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
176
+ -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
177
+ 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
178
+ c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
179
+ 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
180
+ -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
181
+ 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
182
+ 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
183
+ -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
184
+ -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
185
+ 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
186
+ 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
187
+ -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
188
+ 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
189
+ 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
190
+ -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
191
+ -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
192
+ H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
193
+ c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
194
+ c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
195
+ -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
196
+ -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
197
+ -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,
198
+ -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,
199
+ -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,
200
+ -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,
201
+ -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
202
+ c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
203
+ c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
204
+ s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
205
+ 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
206
+ s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
207
+ c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
208
+ M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
209
+ -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
210
+ 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
211
+ -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
212
+ -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
213
+ -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
214
+ 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
215
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
216
+ c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
217
+ c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
218
+ c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
219
+ M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
220
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
221
+ -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
222
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
223
+ M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
224
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
225
+ 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
226
+ -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
227
+ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
228
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
229
+ -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
230
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
231
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Wi=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 h347 v-84
232
+ H403z M403 1759 V0 H319 V1759 v`+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v1759 H0 v84 H347z
233
+ M347 1759 V0 H263 V1759 v`+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15
234
+ c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
235
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15
236
+ c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
237
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z
238
+ M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
239
+ c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
240
+ c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+` v1715 h263 v84 H319z
241
+ MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+` v1799 H0 v-84 H319z
242
+ MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v602 h84z
243
+ M403 1759 V0 H319 V1759 v`+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v602 h84z
244
+ M347 1759 V0 h-84 V1759 v`+t+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
245
+ c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
246
+ -36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
247
+ 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
248
+ c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
249
+ -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
250
+ l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
251
+ -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,
252
+ 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
253
+ c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+`
254
+ c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
255
+ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
256
+ c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
257
+ c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
258
+ l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
259
+ -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.")}};class M0{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 this.classes.includes(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(){var e=t=>t.toText();return this.children.map(e).join("")}}var De={"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]}},L0={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]},wr={Å:"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 kn(r,e){De[r]=e}function Yt(r,e,t){if(!De[e])throw new Error("Font metrics not found for font: "+e+".");var n=r.charCodeAt(0),a=De[e][n];if(!a&&r[0]in wr&&(n=wr[r[0]].charCodeAt(0),a=De[e][n]),!a&&t==="text"&&wn(n)&&(a=De[e][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var ct={};function ji(r){var e;if(r>=5?e=0:r>=3?e=1:e=2,!ct[e]){var t=ct[e]={cssEmPerMu:L0.quad[e]/18};for(var n in L0)L0.hasOwnProperty(n)&&(t[n]=L0[n][e])}return ct[e]}var Xi=[[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]],kr=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Sr=function(e,t){return t.size<2?e:Xi[e-1][t.size-1]};class Re{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||Re.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=kr[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new Re(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Sr(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:kr[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=Sr(Re.BASESIZE,e);return this.size===t&&this.textSize===Re.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!==Re.BASESIZE?["sizing","reset-size"+this.size,"size"+Re.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=ji(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Re.BASESIZE=6;var Dt={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Yi={ex:!0,em:!0,mu:!0},Sn=function(e){return typeof e!="string"&&(e=e.unit),e in Dt||e in Yi||e==="ex"},te=function(e,t){var n;if(e.unit in Dt)n=Dt[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit==="mu")n=t.fontMetrics().cssEmPerMu;else{var a;if(t.style.isTight()?a=t.havingStyle(t.style.text()):a=t,e.unit==="ex")n=a.fontMetrics().xHeight;else if(e.unit==="em")n=a.fontMetrics().quad;else throw new z("Invalid unit: '"+e.unit+"'");a!==t&&(n*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},D=function(e){return+e.toFixed(4)+"em"},Ye=function(e){return e.filter(t=>t).join(" ")},Mn=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var a=t.getColor();a&&(this.style.color=a)}},Tn=function(e){var t=document.createElement(e);t.className=Ye(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&t.setAttribute(a,this.attributes[a]);for(var i=0;i<this.children.length;i++)t.appendChild(this.children[i].toNode());return t},_i=/[\s"'>/=\x00-\x1f]/,An=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+_.escape(Ye(this.classes))+'"');var n="";for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=_.hyphenate(a)+":"+this.style[a]+";");n&&(t+=' style="'+_.escape(n)+'"');for(var i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(_i.test(i))throw new z("Invalid attribute name '"+i+"'");t+=" "+i+'="'+_.escape(this.attributes[i])+'"'}t+=">";for(var s=0;s<this.children.length;s++)t+=this.children[s].toMarkup();return t+="</"+e+">",t};class T0{constructor(e,t,n,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,Mn.call(this,e,n,a),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return Tn.call(this,"span")}toMarkup(){return An.call(this,"span")}}class _t{constructor(e,t,n,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,Mn.call(this,t,a),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return Tn.call(this,"a")}toMarkup(){return An.call(this,"a")}}class Ki{constructor(e,t,n){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=n}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e='<img src="'+_.escape(this.src)+'"'+(' alt="'+_.escape(this.alt)+'"'),t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=_.hyphenate(n)+":"+this.style[n]+";");return t&&(e+=' style="'+_.escape(t)+'"'),e+="'/>",e}}var Zi={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Ae{constructor(e,t,n,a,i,s,u,h){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=n||0,this.italic=a||0,this.skew=i||0,this.width=s||0,this.classes=u||[],this.style=h||{},this.maxFontSize=0;var d=Oi(this.text.charCodeAt(0));d&&this.classes.push(d+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Zi[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=D(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=Ye(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=_.escape(Ye(this.classes)),t+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=_.hyphenate(a)+":"+this.style[a]+";");n&&(e=!0,t+=' style="'+_.escape(n)+'"');var i=_.escape(this.text);return e?(t+=">",t+=i,t+="</span>",t):i}}class Pe{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)t.appendChild(this.children[a].toNode());return t}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+_.escape(this.attributes[t])+'"');e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>",e}}class _e{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",xr[this.pathName]),t}toMarkup(){return this.alternate?'<path d="'+_.escape(this.alternate)+'"/>':'<path d="'+_.escape(xr[this.pathName])+'"/>'}}class Nt{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);return t}toMarkup(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+_.escape(this.attributes[t])+'"');return e+="/>",e}}function Mr(r){if(r instanceof Ae)return r;throw new Error("Expected symbolNode but got "+String(r)+".")}function Ji(r){if(r instanceof T0)return r;throw new Error("Expected span<HtmlDomNode> but got "+String(r)+".")}var Qi={bin:1,close:1,inner:1,open:1,punct:1,rel:1},el={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},J={math:{},text:{}};function l(r,e,t,n,a,i){J[r][a]={font:e,group:t,replace:n},i&&n&&(J[r][n]=J[r][a])}var o="math",M="text",c="main",p="ams",Q="accent-token",I="bin",fe="close",d0="inner",q="mathord",le="op-token",ke="open",J0="punct",v="rel",Ue="spacing",y="textord";l(o,c,v,"≡","\\equiv",!0);l(o,c,v,"≺","\\prec",!0);l(o,c,v,"≻","\\succ",!0);l(o,c,v,"∼","\\sim",!0);l(o,c,v,"⊥","\\perp");l(o,c,v,"⪯","\\preceq",!0);l(o,c,v,"⪰","\\succeq",!0);l(o,c,v,"≃","\\simeq",!0);l(o,c,v,"∣","\\mid",!0);l(o,c,v,"≪","\\ll",!0);l(o,c,v,"≫","\\gg",!0);l(o,c,v,"≍","\\asymp",!0);l(o,c,v,"∥","\\parallel");l(o,c,v,"⋈","\\bowtie",!0);l(o,c,v,"⌣","\\smile",!0);l(o,c,v,"⊑","\\sqsubseteq",!0);l(o,c,v,"⊒","\\sqsupseteq",!0);l(o,c,v,"≐","\\doteq",!0);l(o,c,v,"⌢","\\frown",!0);l(o,c,v,"∋","\\ni",!0);l(o,c,v,"∝","\\propto",!0);l(o,c,v,"⊢","\\vdash",!0);l(o,c,v,"⊣","\\dashv",!0);l(o,c,v,"∋","\\owns");l(o,c,J0,".","\\ldotp");l(o,c,J0,"⋅","\\cdotp");l(o,c,y,"#","\\#");l(M,c,y,"#","\\#");l(o,c,y,"&","\\&");l(M,c,y,"&","\\&");l(o,c,y,"ℵ","\\aleph",!0);l(o,c,y,"∀","\\forall",!0);l(o,c,y,"ℏ","\\hbar",!0);l(o,c,y,"∃","\\exists",!0);l(o,c,y,"∇","\\nabla",!0);l(o,c,y,"♭","\\flat",!0);l(o,c,y,"ℓ","\\ell",!0);l(o,c,y,"♮","\\natural",!0);l(o,c,y,"♣","\\clubsuit",!0);l(o,c,y,"℘","\\wp",!0);l(o,c,y,"♯","\\sharp",!0);l(o,c,y,"♢","\\diamondsuit",!0);l(o,c,y,"ℜ","\\Re",!0);l(o,c,y,"♡","\\heartsuit",!0);l(o,c,y,"ℑ","\\Im",!0);l(o,c,y,"♠","\\spadesuit",!0);l(o,c,y,"§","\\S",!0);l(M,c,y,"§","\\S");l(o,c,y,"¶","\\P",!0);l(M,c,y,"¶","\\P");l(o,c,y,"†","\\dag");l(M,c,y,"†","\\dag");l(M,c,y,"†","\\textdagger");l(o,c,y,"‡","\\ddag");l(M,c,y,"‡","\\ddag");l(M,c,y,"‡","\\textdaggerdbl");l(o,c,fe,"⎱","\\rmoustache",!0);l(o,c,ke,"⎰","\\lmoustache",!0);l(o,c,fe,"⟯","\\rgroup",!0);l(o,c,ke,"⟮","\\lgroup",!0);l(o,c,I,"∓","\\mp",!0);l(o,c,I,"⊖","\\ominus",!0);l(o,c,I,"⊎","\\uplus",!0);l(o,c,I,"⊓","\\sqcap",!0);l(o,c,I,"∗","\\ast");l(o,c,I,"⊔","\\sqcup",!0);l(o,c,I,"◯","\\bigcirc",!0);l(o,c,I,"∙","\\bullet",!0);l(o,c,I,"‡","\\ddagger");l(o,c,I,"≀","\\wr",!0);l(o,c,I,"⨿","\\amalg");l(o,c,I,"&","\\And");l(o,c,v,"⟵","\\longleftarrow",!0);l(o,c,v,"⇐","\\Leftarrow",!0);l(o,c,v,"⟸","\\Longleftarrow",!0);l(o,c,v,"⟶","\\longrightarrow",!0);l(o,c,v,"⇒","\\Rightarrow",!0);l(o,c,v,"⟹","\\Longrightarrow",!0);l(o,c,v,"↔","\\leftrightarrow",!0);l(o,c,v,"⟷","\\longleftrightarrow",!0);l(o,c,v,"⇔","\\Leftrightarrow",!0);l(o,c,v,"⟺","\\Longleftrightarrow",!0);l(o,c,v,"↦","\\mapsto",!0);l(o,c,v,"⟼","\\longmapsto",!0);l(o,c,v,"↗","\\nearrow",!0);l(o,c,v,"↩","\\hookleftarrow",!0);l(o,c,v,"↪","\\hookrightarrow",!0);l(o,c,v,"↘","\\searrow",!0);l(o,c,v,"↼","\\leftharpoonup",!0);l(o,c,v,"⇀","\\rightharpoonup",!0);l(o,c,v,"↙","\\swarrow",!0);l(o,c,v,"↽","\\leftharpoondown",!0);l(o,c,v,"⇁","\\rightharpoondown",!0);l(o,c,v,"↖","\\nwarrow",!0);l(o,c,v,"⇌","\\rightleftharpoons",!0);l(o,p,v,"≮","\\nless",!0);l(o,p,v,"","\\@nleqslant");l(o,p,v,"","\\@nleqq");l(o,p,v,"⪇","\\lneq",!0);l(o,p,v,"≨","\\lneqq",!0);l(o,p,v,"","\\@lvertneqq");l(o,p,v,"⋦","\\lnsim",!0);l(o,p,v,"⪉","\\lnapprox",!0);l(o,p,v,"⊀","\\nprec",!0);l(o,p,v,"⋠","\\npreceq",!0);l(o,p,v,"⋨","\\precnsim",!0);l(o,p,v,"⪹","\\precnapprox",!0);l(o,p,v,"≁","\\nsim",!0);l(o,p,v,"","\\@nshortmid");l(o,p,v,"∤","\\nmid",!0);l(o,p,v,"⊬","\\nvdash",!0);l(o,p,v,"⊭","\\nvDash",!0);l(o,p,v,"⋪","\\ntriangleleft");l(o,p,v,"⋬","\\ntrianglelefteq",!0);l(o,p,v,"⊊","\\subsetneq",!0);l(o,p,v,"","\\@varsubsetneq");l(o,p,v,"⫋","\\subsetneqq",!0);l(o,p,v,"","\\@varsubsetneqq");l(o,p,v,"≯","\\ngtr",!0);l(o,p,v,"","\\@ngeqslant");l(o,p,v,"","\\@ngeqq");l(o,p,v,"⪈","\\gneq",!0);l(o,p,v,"≩","\\gneqq",!0);l(o,p,v,"","\\@gvertneqq");l(o,p,v,"⋧","\\gnsim",!0);l(o,p,v,"⪊","\\gnapprox",!0);l(o,p,v,"⊁","\\nsucc",!0);l(o,p,v,"⋡","\\nsucceq",!0);l(o,p,v,"⋩","\\succnsim",!0);l(o,p,v,"⪺","\\succnapprox",!0);l(o,p,v,"≆","\\ncong",!0);l(o,p,v,"","\\@nshortparallel");l(o,p,v,"∦","\\nparallel",!0);l(o,p,v,"⊯","\\nVDash",!0);l(o,p,v,"⋫","\\ntriangleright");l(o,p,v,"⋭","\\ntrianglerighteq",!0);l(o,p,v,"","\\@nsupseteqq");l(o,p,v,"⊋","\\supsetneq",!0);l(o,p,v,"","\\@varsupsetneq");l(o,p,v,"⫌","\\supsetneqq",!0);l(o,p,v,"","\\@varsupsetneqq");l(o,p,v,"⊮","\\nVdash",!0);l(o,p,v,"⪵","\\precneqq",!0);l(o,p,v,"⪶","\\succneqq",!0);l(o,p,v,"","\\@nsubseteqq");l(o,p,I,"⊴","\\unlhd");l(o,p,I,"⊵","\\unrhd");l(o,p,v,"↚","\\nleftarrow",!0);l(o,p,v,"↛","\\nrightarrow",!0);l(o,p,v,"⇍","\\nLeftarrow",!0);l(o,p,v,"⇏","\\nRightarrow",!0);l(o,p,v,"↮","\\nleftrightarrow",!0);l(o,p,v,"⇎","\\nLeftrightarrow",!0);l(o,p,v,"△","\\vartriangle");l(o,p,y,"ℏ","\\hslash");l(o,p,y,"▽","\\triangledown");l(o,p,y,"◊","\\lozenge");l(o,p,y,"Ⓢ","\\circledS");l(o,p,y,"®","\\circledR");l(M,p,y,"®","\\circledR");l(o,p,y,"∡","\\measuredangle",!0);l(o,p,y,"∄","\\nexists");l(o,p,y,"℧","\\mho");l(o,p,y,"Ⅎ","\\Finv",!0);l(o,p,y,"⅁","\\Game",!0);l(o,p,y,"‵","\\backprime");l(o,p,y,"▲","\\blacktriangle");l(o,p,y,"▼","\\blacktriangledown");l(o,p,y,"■","\\blacksquare");l(o,p,y,"⧫","\\blacklozenge");l(o,p,y,"★","\\bigstar");l(o,p,y,"∢","\\sphericalangle",!0);l(o,p,y,"∁","\\complement",!0);l(o,p,y,"ð","\\eth",!0);l(M,c,y,"ð","ð");l(o,p,y,"╱","\\diagup");l(o,p,y,"╲","\\diagdown");l(o,p,y,"□","\\square");l(o,p,y,"□","\\Box");l(o,p,y,"◊","\\Diamond");l(o,p,y,"¥","\\yen",!0);l(M,p,y,"¥","\\yen",!0);l(o,p,y,"✓","\\checkmark",!0);l(M,p,y,"✓","\\checkmark");l(o,p,y,"ℶ","\\beth",!0);l(o,p,y,"ℸ","\\daleth",!0);l(o,p,y,"ℷ","\\gimel",!0);l(o,p,y,"ϝ","\\digamma",!0);l(o,p,y,"ϰ","\\varkappa");l(o,p,ke,"┌","\\@ulcorner",!0);l(o,p,fe,"┐","\\@urcorner",!0);l(o,p,ke,"└","\\@llcorner",!0);l(o,p,fe,"┘","\\@lrcorner",!0);l(o,p,v,"≦","\\leqq",!0);l(o,p,v,"⩽","\\leqslant",!0);l(o,p,v,"⪕","\\eqslantless",!0);l(o,p,v,"≲","\\lesssim",!0);l(o,p,v,"⪅","\\lessapprox",!0);l(o,p,v,"≊","\\approxeq",!0);l(o,p,I,"⋖","\\lessdot");l(o,p,v,"⋘","\\lll",!0);l(o,p,v,"≶","\\lessgtr",!0);l(o,p,v,"⋚","\\lesseqgtr",!0);l(o,p,v,"⪋","\\lesseqqgtr",!0);l(o,p,v,"≑","\\doteqdot");l(o,p,v,"≓","\\risingdotseq",!0);l(o,p,v,"≒","\\fallingdotseq",!0);l(o,p,v,"∽","\\backsim",!0);l(o,p,v,"⋍","\\backsimeq",!0);l(o,p,v,"⫅","\\subseteqq",!0);l(o,p,v,"⋐","\\Subset",!0);l(o,p,v,"⊏","\\sqsubset",!0);l(o,p,v,"≼","\\preccurlyeq",!0);l(o,p,v,"⋞","\\curlyeqprec",!0);l(o,p,v,"≾","\\precsim",!0);l(o,p,v,"⪷","\\precapprox",!0);l(o,p,v,"⊲","\\vartriangleleft");l(o,p,v,"⊴","\\trianglelefteq");l(o,p,v,"⊨","\\vDash",!0);l(o,p,v,"⊪","\\Vvdash",!0);l(o,p,v,"⌣","\\smallsmile");l(o,p,v,"⌢","\\smallfrown");l(o,p,v,"≏","\\bumpeq",!0);l(o,p,v,"≎","\\Bumpeq",!0);l(o,p,v,"≧","\\geqq",!0);l(o,p,v,"⩾","\\geqslant",!0);l(o,p,v,"⪖","\\eqslantgtr",!0);l(o,p,v,"≳","\\gtrsim",!0);l(o,p,v,"⪆","\\gtrapprox",!0);l(o,p,I,"⋗","\\gtrdot");l(o,p,v,"⋙","\\ggg",!0);l(o,p,v,"≷","\\gtrless",!0);l(o,p,v,"⋛","\\gtreqless",!0);l(o,p,v,"⪌","\\gtreqqless",!0);l(o,p,v,"≖","\\eqcirc",!0);l(o,p,v,"≗","\\circeq",!0);l(o,p,v,"≜","\\triangleq",!0);l(o,p,v,"∼","\\thicksim");l(o,p,v,"≈","\\thickapprox");l(o,p,v,"⫆","\\supseteqq",!0);l(o,p,v,"⋑","\\Supset",!0);l(o,p,v,"⊐","\\sqsupset",!0);l(o,p,v,"≽","\\succcurlyeq",!0);l(o,p,v,"⋟","\\curlyeqsucc",!0);l(o,p,v,"≿","\\succsim",!0);l(o,p,v,"⪸","\\succapprox",!0);l(o,p,v,"⊳","\\vartriangleright");l(o,p,v,"⊵","\\trianglerighteq");l(o,p,v,"⊩","\\Vdash",!0);l(o,p,v,"∣","\\shortmid");l(o,p,v,"∥","\\shortparallel");l(o,p,v,"≬","\\between",!0);l(o,p,v,"⋔","\\pitchfork",!0);l(o,p,v,"∝","\\varpropto");l(o,p,v,"◀","\\blacktriangleleft");l(o,p,v,"∴","\\therefore",!0);l(o,p,v,"∍","\\backepsilon");l(o,p,v,"▶","\\blacktriangleright");l(o,p,v,"∵","\\because",!0);l(o,p,v,"⋘","\\llless");l(o,p,v,"⋙","\\gggtr");l(o,p,I,"⊲","\\lhd");l(o,p,I,"⊳","\\rhd");l(o,p,v,"≂","\\eqsim",!0);l(o,c,v,"⋈","\\Join");l(o,p,v,"≑","\\Doteq",!0);l(o,p,I,"∔","\\dotplus",!0);l(o,p,I,"∖","\\smallsetminus");l(o,p,I,"⋒","\\Cap",!0);l(o,p,I,"⋓","\\Cup",!0);l(o,p,I,"⩞","\\doublebarwedge",!0);l(o,p,I,"⊟","\\boxminus",!0);l(o,p,I,"⊞","\\boxplus",!0);l(o,p,I,"⋇","\\divideontimes",!0);l(o,p,I,"⋉","\\ltimes",!0);l(o,p,I,"⋊","\\rtimes",!0);l(o,p,I,"⋋","\\leftthreetimes",!0);l(o,p,I,"⋌","\\rightthreetimes",!0);l(o,p,I,"⋏","\\curlywedge",!0);l(o,p,I,"⋎","\\curlyvee",!0);l(o,p,I,"⊝","\\circleddash",!0);l(o,p,I,"⊛","\\circledast",!0);l(o,p,I,"⋅","\\centerdot");l(o,p,I,"⊺","\\intercal",!0);l(o,p,I,"⋒","\\doublecap");l(o,p,I,"⋓","\\doublecup");l(o,p,I,"⊠","\\boxtimes",!0);l(o,p,v,"⇢","\\dashrightarrow",!0);l(o,p,v,"⇠","\\dashleftarrow",!0);l(o,p,v,"⇇","\\leftleftarrows",!0);l(o,p,v,"⇆","\\leftrightarrows",!0);l(o,p,v,"⇚","\\Lleftarrow",!0);l(o,p,v,"↞","\\twoheadleftarrow",!0);l(o,p,v,"↢","\\leftarrowtail",!0);l(o,p,v,"↫","\\looparrowleft",!0);l(o,p,v,"⇋","\\leftrightharpoons",!0);l(o,p,v,"↶","\\curvearrowleft",!0);l(o,p,v,"↺","\\circlearrowleft",!0);l(o,p,v,"↰","\\Lsh",!0);l(o,p,v,"⇈","\\upuparrows",!0);l(o,p,v,"↿","\\upharpoonleft",!0);l(o,p,v,"⇃","\\downharpoonleft",!0);l(o,c,v,"⊶","\\origof",!0);l(o,c,v,"⊷","\\imageof",!0);l(o,p,v,"⊸","\\multimap",!0);l(o,p,v,"↭","\\leftrightsquigarrow",!0);l(o,p,v,"⇉","\\rightrightarrows",!0);l(o,p,v,"⇄","\\rightleftarrows",!0);l(o,p,v,"↠","\\twoheadrightarrow",!0);l(o,p,v,"↣","\\rightarrowtail",!0);l(o,p,v,"↬","\\looparrowright",!0);l(o,p,v,"↷","\\curvearrowright",!0);l(o,p,v,"↻","\\circlearrowright",!0);l(o,p,v,"↱","\\Rsh",!0);l(o,p,v,"⇊","\\downdownarrows",!0);l(o,p,v,"↾","\\upharpoonright",!0);l(o,p,v,"⇂","\\downharpoonright",!0);l(o,p,v,"⇝","\\rightsquigarrow",!0);l(o,p,v,"⇝","\\leadsto");l(o,p,v,"⇛","\\Rrightarrow",!0);l(o,p,v,"↾","\\restriction");l(o,c,y,"‘","`");l(o,c,y,"$","\\$");l(M,c,y,"$","\\$");l(M,c,y,"$","\\textdollar");l(o,c,y,"%","\\%");l(M,c,y,"%","\\%");l(o,c,y,"_","\\_");l(M,c,y,"_","\\_");l(M,c,y,"_","\\textunderscore");l(o,c,y,"∠","\\angle",!0);l(o,c,y,"∞","\\infty",!0);l(o,c,y,"′","\\prime");l(o,c,y,"△","\\triangle");l(o,c,y,"Γ","\\Gamma",!0);l(o,c,y,"Δ","\\Delta",!0);l(o,c,y,"Θ","\\Theta",!0);l(o,c,y,"Λ","\\Lambda",!0);l(o,c,y,"Ξ","\\Xi",!0);l(o,c,y,"Π","\\Pi",!0);l(o,c,y,"Σ","\\Sigma",!0);l(o,c,y,"Υ","\\Upsilon",!0);l(o,c,y,"Φ","\\Phi",!0);l(o,c,y,"Ψ","\\Psi",!0);l(o,c,y,"Ω","\\Omega",!0);l(o,c,y,"A","Α");l(o,c,y,"B","Β");l(o,c,y,"E","Ε");l(o,c,y,"Z","Ζ");l(o,c,y,"H","Η");l(o,c,y,"I","Ι");l(o,c,y,"K","Κ");l(o,c,y,"M","Μ");l(o,c,y,"N","Ν");l(o,c,y,"O","Ο");l(o,c,y,"P","Ρ");l(o,c,y,"T","Τ");l(o,c,y,"X","Χ");l(o,c,y,"¬","\\neg",!0);l(o,c,y,"¬","\\lnot");l(o,c,y,"⊤","\\top");l(o,c,y,"⊥","\\bot");l(o,c,y,"∅","\\emptyset");l(o,p,y,"∅","\\varnothing");l(o,c,q,"α","\\alpha",!0);l(o,c,q,"β","\\beta",!0);l(o,c,q,"γ","\\gamma",!0);l(o,c,q,"δ","\\delta",!0);l(o,c,q,"ϵ","\\epsilon",!0);l(o,c,q,"ζ","\\zeta",!0);l(o,c,q,"η","\\eta",!0);l(o,c,q,"θ","\\theta",!0);l(o,c,q,"ι","\\iota",!0);l(o,c,q,"κ","\\kappa",!0);l(o,c,q,"λ","\\lambda",!0);l(o,c,q,"μ","\\mu",!0);l(o,c,q,"ν","\\nu",!0);l(o,c,q,"ξ","\\xi",!0);l(o,c,q,"ο","\\omicron",!0);l(o,c,q,"π","\\pi",!0);l(o,c,q,"ρ","\\rho",!0);l(o,c,q,"σ","\\sigma",!0);l(o,c,q,"τ","\\tau",!0);l(o,c,q,"υ","\\upsilon",!0);l(o,c,q,"ϕ","\\phi",!0);l(o,c,q,"χ","\\chi",!0);l(o,c,q,"ψ","\\psi",!0);l(o,c,q,"ω","\\omega",!0);l(o,c,q,"ε","\\varepsilon",!0);l(o,c,q,"ϑ","\\vartheta",!0);l(o,c,q,"ϖ","\\varpi",!0);l(o,c,q,"ϱ","\\varrho",!0);l(o,c,q,"ς","\\varsigma",!0);l(o,c,q,"φ","\\varphi",!0);l(o,c,I,"∗","*",!0);l(o,c,I,"+","+");l(o,c,I,"−","-",!0);l(o,c,I,"⋅","\\cdot",!0);l(o,c,I,"∘","\\circ",!0);l(o,c,I,"÷","\\div",!0);l(o,c,I,"±","\\pm",!0);l(o,c,I,"×","\\times",!0);l(o,c,I,"∩","\\cap",!0);l(o,c,I,"∪","\\cup",!0);l(o,c,I,"∖","\\setminus",!0);l(o,c,I,"∧","\\land");l(o,c,I,"∨","\\lor");l(o,c,I,"∧","\\wedge",!0);l(o,c,I,"∨","\\vee",!0);l(o,c,y,"√","\\surd");l(o,c,ke,"⟨","\\langle",!0);l(o,c,ke,"∣","\\lvert");l(o,c,ke,"∥","\\lVert");l(o,c,fe,"?","?");l(o,c,fe,"!","!");l(o,c,fe,"⟩","\\rangle",!0);l(o,c,fe,"∣","\\rvert");l(o,c,fe,"∥","\\rVert");l(o,c,v,"=","=");l(o,c,v,":",":");l(o,c,v,"≈","\\approx",!0);l(o,c,v,"≅","\\cong",!0);l(o,c,v,"≥","\\ge");l(o,c,v,"≥","\\geq",!0);l(o,c,v,"←","\\gets");l(o,c,v,">","\\gt",!0);l(o,c,v,"∈","\\in",!0);l(o,c,v,"","\\@not");l(o,c,v,"⊂","\\subset",!0);l(o,c,v,"⊃","\\supset",!0);l(o,c,v,"⊆","\\subseteq",!0);l(o,c,v,"⊇","\\supseteq",!0);l(o,p,v,"⊈","\\nsubseteq",!0);l(o,p,v,"⊉","\\nsupseteq",!0);l(o,c,v,"⊨","\\models");l(o,c,v,"←","\\leftarrow",!0);l(o,c,v,"≤","\\le");l(o,c,v,"≤","\\leq",!0);l(o,c,v,"<","\\lt",!0);l(o,c,v,"→","\\rightarrow",!0);l(o,c,v,"→","\\to");l(o,p,v,"≱","\\ngeq",!0);l(o,p,v,"≰","\\nleq",!0);l(o,c,Ue," ","\\ ");l(o,c,Ue," ","\\space");l(o,c,Ue," ","\\nobreakspace");l(M,c,Ue," ","\\ ");l(M,c,Ue," "," ");l(M,c,Ue," ","\\space");l(M,c,Ue," ","\\nobreakspace");l(o,c,Ue,null,"\\nobreak");l(o,c,Ue,null,"\\allowbreak");l(o,c,J0,",",",");l(o,c,J0,";",";");l(o,p,I,"⊼","\\barwedge",!0);l(o,p,I,"⊻","\\veebar",!0);l(o,c,I,"⊙","\\odot",!0);l(o,c,I,"⊕","\\oplus",!0);l(o,c,I,"⊗","\\otimes",!0);l(o,c,y,"∂","\\partial",!0);l(o,c,I,"⊘","\\oslash",!0);l(o,p,I,"⊚","\\circledcirc",!0);l(o,p,I,"⊡","\\boxdot",!0);l(o,c,I,"△","\\bigtriangleup");l(o,c,I,"▽","\\bigtriangledown");l(o,c,I,"†","\\dagger");l(o,c,I,"⋄","\\diamond");l(o,c,I,"⋆","\\star");l(o,c,I,"◃","\\triangleleft");l(o,c,I,"▹","\\triangleright");l(o,c,ke,"{","\\{");l(M,c,y,"{","\\{");l(M,c,y,"{","\\textbraceleft");l(o,c,fe,"}","\\}");l(M,c,y,"}","\\}");l(M,c,y,"}","\\textbraceright");l(o,c,ke,"{","\\lbrace");l(o,c,fe,"}","\\rbrace");l(o,c,ke,"[","\\lbrack",!0);l(M,c,y,"[","\\lbrack",!0);l(o,c,fe,"]","\\rbrack",!0);l(M,c,y,"]","\\rbrack",!0);l(o,c,ke,"(","\\lparen",!0);l(o,c,fe,")","\\rparen",!0);l(M,c,y,"<","\\textless",!0);l(M,c,y,">","\\textgreater",!0);l(o,c,ke,"⌊","\\lfloor",!0);l(o,c,fe,"⌋","\\rfloor",!0);l(o,c,ke,"⌈","\\lceil",!0);l(o,c,fe,"⌉","\\rceil",!0);l(o,c,y,"\\","\\backslash");l(o,c,y,"∣","|");l(o,c,y,"∣","\\vert");l(M,c,y,"|","\\textbar",!0);l(o,c,y,"∥","\\|");l(o,c,y,"∥","\\Vert");l(M,c,y,"∥","\\textbardbl");l(M,c,y,"~","\\textasciitilde");l(M,c,y,"\\","\\textbackslash");l(M,c,y,"^","\\textasciicircum");l(o,c,v,"↑","\\uparrow",!0);l(o,c,v,"⇑","\\Uparrow",!0);l(o,c,v,"↓","\\downarrow",!0);l(o,c,v,"⇓","\\Downarrow",!0);l(o,c,v,"↕","\\updownarrow",!0);l(o,c,v,"⇕","\\Updownarrow",!0);l(o,c,le,"∐","\\coprod");l(o,c,le,"⋁","\\bigvee");l(o,c,le,"⋀","\\bigwedge");l(o,c,le,"⨄","\\biguplus");l(o,c,le,"⋂","\\bigcap");l(o,c,le,"⋃","\\bigcup");l(o,c,le,"∫","\\int");l(o,c,le,"∫","\\intop");l(o,c,le,"∬","\\iint");l(o,c,le,"∭","\\iiint");l(o,c,le,"∏","\\prod");l(o,c,le,"∑","\\sum");l(o,c,le,"⨂","\\bigotimes");l(o,c,le,"⨁","\\bigoplus");l(o,c,le,"⨀","\\bigodot");l(o,c,le,"∮","\\oint");l(o,c,le,"∯","\\oiint");l(o,c,le,"∰","\\oiiint");l(o,c,le,"⨆","\\bigsqcup");l(o,c,le,"∫","\\smallint");l(M,c,d0,"…","\\textellipsis");l(o,c,d0,"…","\\mathellipsis");l(M,c,d0,"…","\\ldots",!0);l(o,c,d0,"…","\\ldots",!0);l(o,c,d0,"⋯","\\@cdots",!0);l(o,c,d0,"⋱","\\ddots",!0);l(o,c,y,"⋮","\\varvdots");l(M,c,y,"⋮","\\varvdots");l(o,c,Q,"ˊ","\\acute");l(o,c,Q,"ˋ","\\grave");l(o,c,Q,"¨","\\ddot");l(o,c,Q,"~","\\tilde");l(o,c,Q,"ˉ","\\bar");l(o,c,Q,"˘","\\breve");l(o,c,Q,"ˇ","\\check");l(o,c,Q,"^","\\hat");l(o,c,Q,"⃗","\\vec");l(o,c,Q,"˙","\\dot");l(o,c,Q,"˚","\\mathring");l(o,c,q,"","\\@imath");l(o,c,q,"","\\@jmath");l(o,c,y,"ı","ı");l(o,c,y,"ȷ","ȷ");l(M,c,y,"ı","\\i",!0);l(M,c,y,"ȷ","\\j",!0);l(M,c,y,"ß","\\ss",!0);l(M,c,y,"æ","\\ae",!0);l(M,c,y,"œ","\\oe",!0);l(M,c,y,"ø","\\o",!0);l(M,c,y,"Æ","\\AE",!0);l(M,c,y,"Œ","\\OE",!0);l(M,c,y,"Ø","\\O",!0);l(M,c,Q,"ˊ","\\'");l(M,c,Q,"ˋ","\\`");l(M,c,Q,"ˆ","\\^");l(M,c,Q,"˜","\\~");l(M,c,Q,"ˉ","\\=");l(M,c,Q,"˘","\\u");l(M,c,Q,"˙","\\.");l(M,c,Q,"¸","\\c");l(M,c,Q,"˚","\\r");l(M,c,Q,"ˇ","\\v");l(M,c,Q,"¨",'\\"');l(M,c,Q,"˝","\\H");l(M,c,Q,"◯","\\textcircled");var zn={"--":!0,"---":!0,"``":!0,"''":!0};l(M,c,y,"–","--",!0);l(M,c,y,"–","\\textendash");l(M,c,y,"—","---",!0);l(M,c,y,"—","\\textemdash");l(M,c,y,"‘","`",!0);l(M,c,y,"‘","\\textquoteleft");l(M,c,y,"’","'",!0);l(M,c,y,"’","\\textquoteright");l(M,c,y,"“","``",!0);l(M,c,y,"“","\\textquotedblleft");l(M,c,y,"”","''",!0);l(M,c,y,"”","\\textquotedblright");l(o,c,y,"°","\\degree",!0);l(M,c,y,"°","\\degree");l(M,c,y,"°","\\textdegree",!0);l(o,c,y,"£","\\pounds");l(o,c,y,"£","\\mathsterling",!0);l(M,c,y,"£","\\pounds");l(M,c,y,"£","\\textsterling",!0);l(o,p,y,"✠","\\maltese");l(M,p,y,"✠","\\maltese");var Tr='0123456789/@."';for(var mt=0;mt<Tr.length;mt++){var Ar=Tr.charAt(mt);l(o,c,y,Ar,Ar)}var zr='0123456789!@*()-=+";:?/.,';for(var dt=0;dt<zr.length;dt++){var Cr=zr.charAt(dt);l(M,c,y,Cr,Cr)}var Y0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var ft=0;ft<Y0.length;ft++){var O0=Y0.charAt(ft);l(o,c,q,O0,O0),l(M,c,y,O0,O0)}l(o,p,y,"C","ℂ");l(M,p,y,"C","ℂ");l(o,p,y,"H","ℍ");l(M,p,y,"H","ℍ");l(o,p,y,"N","ℕ");l(M,p,y,"N","ℕ");l(o,p,y,"P","ℙ");l(M,p,y,"P","ℙ");l(o,p,y,"Q","ℚ");l(M,p,y,"Q","ℚ");l(o,p,y,"R","ℝ");l(M,p,y,"R","ℝ");l(o,p,y,"Z","ℤ");l(M,p,y,"Z","ℤ");l(o,c,q,"h","ℎ");l(M,c,q,"h","ℎ");var V="";for(var me=0;me<Y0.length;me++){var re=Y0.charAt(me);V=String.fromCharCode(55349,56320+me),l(o,c,q,re,V),l(M,c,y,re,V),V=String.fromCharCode(55349,56372+me),l(o,c,q,re,V),l(M,c,y,re,V),V=String.fromCharCode(55349,56424+me),l(o,c,q,re,V),l(M,c,y,re,V),V=String.fromCharCode(55349,56580+me),l(o,c,q,re,V),l(M,c,y,re,V),V=String.fromCharCode(55349,56684+me),l(o,c,q,re,V),l(M,c,y,re,V),V=String.fromCharCode(55349,56736+me),l(o,c,q,re,V),l(M,c,y,re,V),V=String.fromCharCode(55349,56788+me),l(o,c,q,re,V),l(M,c,y,re,V),V=String.fromCharCode(55349,56840+me),l(o,c,q,re,V),l(M,c,y,re,V),V=String.fromCharCode(55349,56944+me),l(o,c,q,re,V),l(M,c,y,re,V),me<26&&(V=String.fromCharCode(55349,56632+me),l(o,c,q,re,V),l(M,c,y,re,V),V=String.fromCharCode(55349,56476+me),l(o,c,q,re,V),l(M,c,y,re,V))}V="𝕜";l(o,c,q,"k",V);l(M,c,y,"k",V);for(var Je=0;Je<10;Je++){var je=Je.toString();V=String.fromCharCode(55349,57294+Je),l(o,c,q,je,V),l(M,c,y,je,V),V=String.fromCharCode(55349,57314+Je),l(o,c,q,je,V),l(M,c,y,je,V),V=String.fromCharCode(55349,57324+Je),l(o,c,q,je,V),l(M,c,y,je,V),V=String.fromCharCode(55349,57334+Je),l(o,c,q,je,V),l(M,c,y,je,V)}var Et="ÐÞþ";for(var pt=0;pt<Et.length;pt++){var R0=Et.charAt(pt);l(o,c,q,R0,R0),l(M,c,y,R0,R0)}var q0=[["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"]],Br=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],tl=function(e,t){var n=e.charCodeAt(0),a=e.charCodeAt(1),i=(n-55296)*1024+(a-56320)+65536,s=t==="math"?0:1;if(119808<=i&&i<120484){var u=Math.floor((i-119808)/26);return[q0[u][2],q0[u][s]]}else if(120782<=i&&i<=120831){var h=Math.floor((i-120782)/10);return[Br[h][2],Br[h][s]]}else{if(i===120485||i===120486)return[q0[0][2],q0[0][s]];if(120486<i&&i<120782)return["",""];throw new z("Unsupported character: "+e)}},Q0=function(e,t,n){return J[n][e]&&J[n][e].replace&&(e=J[n][e].replace),{value:e,metrics:Yt(e,t,n)}},Ce=function(e,t,n,a,i){var s=Q0(e,t,n),u=s.metrics;e=s.value;var h;if(u){var d=u.italic;(n==="text"||a&&a.font==="mathit")&&(d=0),h=new Ae(e,u.height,u.depth,d,u.skew,u.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+e+"' in style '"+t+"' and mode '"+n+"'")),h=new Ae(e,0,0,0,0,0,i);if(a){h.maxFontSize=a.sizeMultiplier,a.style.isTight()&&h.classes.push("mtight");var f=a.getColor();f&&(h.style.color=f)}return h},rl=function(e,t,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&Q0(e,"Main-Bold",t).metrics?Ce(e,"Main-Bold",t,n,a.concat(["mathbf"])):e==="\\"||J[t][e].font==="main"?Ce(e,"Main-Regular",t,n,a):Ce(e,"AMS-Regular",t,n,a.concat(["amsrm"]))},nl=function(e,t,n,a,i){return i!=="textord"&&Q0(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},al=function(e,t,n){var a=e.mode,i=e.text,s=["mord"],u=a==="math"||a==="text"&&t.font,h=u?t.font:t.fontFamily,d="",f="";if(i.charCodeAt(0)===55349&&([d,f]=tl(i,a)),d.length>0)return Ce(i,d,a,t,s.concat(f));if(h){var g,b;if(h==="boldsymbol"){var x=nl(i,a,t,s,n);g=x.fontName,b=[x.fontClass]}else u?(g=Dn[h].fontName,b=[h]):(g=F0(h,t.fontWeight,t.fontShape),b=[h,t.fontWeight,t.fontShape]);if(Q0(i,g,a).metrics)return Ce(i,g,a,t,s.concat(b));if(zn.hasOwnProperty(i)&&g.slice(0,10)==="Typewriter"){for(var S=[],k=0;k<i.length;k++)S.push(Ce(i[k],g,a,t,s.concat(b)));return Bn(S)}}if(n==="mathord")return Ce(i,"Math-Italic",a,t,s.concat(["mathnormal"]));if(n==="textord"){var B=J[a][i]&&J[a][i].font;if(B==="ams"){var N=F0("amsrm",t.fontWeight,t.fontShape);return Ce(i,N,a,t,s.concat("amsrm",t.fontWeight,t.fontShape))}else if(B==="main"||!B){var T=F0("textrm",t.fontWeight,t.fontShape);return Ce(i,T,a,t,s.concat(t.fontWeight,t.fontShape))}else{var H=F0(B,t.fontWeight,t.fontShape);return Ce(i,H,a,t,s.concat(H,t.fontWeight,t.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},il=(r,e)=>{if(Ye(r.classes)!==Ye(e.classes)||r.skew!==e.skew||r.maxFontSize!==e.maxFontSize)return!1;if(r.classes.length===1){var t=r.classes[0];if(t==="mbin"||t==="mord")return!1}for(var n in r.style)if(r.style.hasOwnProperty(n)&&r.style[n]!==e.style[n])return!1;for(var a in e.style)if(e.style.hasOwnProperty(a)&&r.style[a]!==e.style[a])return!1;return!0},ll=r=>{for(var e=0;e<r.length-1;e++){var t=r[e],n=r[e+1];t instanceof Ae&&n instanceof Ae&&il(t,n)&&(t.text+=n.text,t.height=Math.max(t.height,n.height),t.depth=Math.max(t.depth,n.depth),t.italic=n.italic,r.splice(e+1,1),e--)}return r},Kt=function(e){for(var t=0,n=0,a=0,i=0;i<e.children.length;i++){var s=e.children[i];s.height>t&&(t=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>a&&(a=s.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=a},pe=function(e,t,n,a){var i=new T0(e,t,n,a);return Kt(i),i},Cn=(r,e,t,n)=>new T0(r,e,t,n),sl=function(e,t,n){var a=pe([e],[],t);return a.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),a.style.borderBottomWidth=D(a.height),a.maxFontSize=1,a},ol=function(e,t,n,a){var i=new _t(e,t,n,a);return Kt(i),i},Bn=function(e){var t=new M0(e);return Kt(t),t},ul=function(e,t){return e instanceof M0?pe([],[e],t):e},hl=function(e){if(e.positionType==="individualShift"){for(var t=e.children,n=[t[0]],a=-t[0].shift-t[0].elem.depth,i=a,s=1;s<t.length;s++){var u=-t[s].shift-i-t[s].elem.depth,h=u-(t[s-1].elem.height+t[s-1].elem.depth);i=i+u,n.push({type:"kern",size:h}),n.push(t[s])}return{children:n,depth:a}}var d;if(e.positionType==="top"){for(var f=e.positionData,g=0;g<e.children.length;g++){var b=e.children[g];f-=b.type==="kern"?b.size:b.elem.height+b.elem.depth}d=f}else if(e.positionType==="bottom")d=-e.positionData;else{var x=e.children[0];if(x.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")d=-x.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")d=-x.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:d}},cl=function(e,t){for(var{children:n,depth:a}=hl(e),i=0,s=0;s<n.length;s++){var u=n[s];if(u.type==="elem"){var h=u.elem;i=Math.max(i,h.maxFontSize,h.height)}}i+=2;var d=pe(["pstrut"],[]);d.style.height=D(i);for(var f=[],g=a,b=a,x=a,S=0;S<n.length;S++){var k=n[S];if(k.type==="kern")x+=k.size;else{var B=k.elem,N=k.wrapperClasses||[],T=k.wrapperStyle||{},H=pe(N,[d,B],void 0,T);H.style.top=D(-i-x-B.depth),k.marginLeft&&(H.style.marginLeft=k.marginLeft),k.marginRight&&(H.style.marginRight=k.marginRight),f.push(H),x+=B.height+B.depth}g=Math.min(g,x),b=Math.max(b,x)}var R=pe(["vlist"],f);R.style.height=D(b);var L;if(g<0){var O=pe([],[]),P=pe(["vlist"],[O]);P.style.height=D(-g);var $=pe(["vlist-s"],[new Ae("​")]);L=[pe(["vlist-r"],[R,$]),pe(["vlist-r"],[P])]}else L=[pe(["vlist-r"],[R])];var U=pe(["vlist-t"],L);return L.length===2&&U.classes.push("vlist-t2"),U.height=b,U.depth=-g,U},ml=(r,e)=>{var t=pe(["mspace"],[],e),n=te(r,e);return t.style.marginRight=D(n),t},F0=function(e,t,n){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}var i;return t==="textbf"&&n==="textit"?i="BoldItalic":t==="textbf"?i="Bold":t==="textit"?i="Italic":i="Regular",a+"-"+i},Dn={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"}},Nn={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},dl=function(e,t){var[n,a,i]=Nn[e],s=new _e(n),u=new Pe([s],{width:D(a),height:D(i),style:"width:"+D(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),h=Cn(["overlay"],[u],t);return h.height=i,h.style.height=D(i),h.style.width=D(a),h},w={fontMap:Dn,makeSymbol:Ce,mathsym:rl,makeSpan:pe,makeSvgSpan:Cn,makeLineSpan:sl,makeAnchor:ol,makeFragment:Bn,wrapFragment:ul,makeVList:cl,makeOrd:al,makeGlue:ml,staticSvg:dl,svgData:Nn,tryCombineChars:ll},ee={number:3,unit:"mu"},Qe={number:4,unit:"mu"},Oe={number:5,unit:"mu"},fl={mord:{mop:ee,mbin:Qe,mrel:Oe,minner:ee},mop:{mord:ee,mop:ee,mrel:Oe,minner:ee},mbin:{mord:Qe,mop:Qe,mopen:Qe,minner:Qe},mrel:{mord:Oe,mop:Oe,mopen:Oe,minner:Oe},mopen:{},mclose:{mop:ee,mbin:Qe,mrel:Oe,minner:ee},mpunct:{mord:ee,mop:ee,mrel:Oe,mopen:ee,mclose:ee,mpunct:ee,minner:ee},minner:{mord:ee,mop:ee,mbin:Qe,mrel:Oe,mopen:ee,mpunct:ee,minner:ee}},pl={mord:{mop:ee},mop:{mord:ee,mop:ee},mbin:{},mrel:{},mopen:{},mclose:{mop:ee},mpunct:{},minner:{mop:ee}},En={},_0={},K0={};function E(r){for(var{type:e,names:t,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=r,u={type:e,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:a},h=0;h<t.length;++h)En[t[h]]=u;e&&(i&&(_0[e]=i),s&&(K0[e]=s))}function t0(r){var{type:e,htmlBuilder:t,mathmlBuilder:n}=r;E({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:t,mathmlBuilder:n})}var Z0=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},ae=function(e){return e.type==="ordgroup"?e.body:[e]},He=w.makeSpan,vl=["leftmost","mbin","mopen","mrel","mop","mpunct"],gl=["rightmost","mrel","mclose","mpunct"],yl={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT},bl={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},se=function(e,t,n,a){a===void 0&&(a=[null,null]);for(var i=[],s=0;s<e.length;s++){var u=Y(e[s],t);if(u instanceof M0){var h=u.children;i.push(...h)}else i.push(u)}if(w.tryCombineChars(i),!n)return i;var d=t;if(e.length===1){var f=e[0];f.type==="sizing"?d=t.havingSize(f.size):f.type==="styling"&&(d=t.havingStyle(yl[f.style]))}var g=He([a[0]||"leftmost"],[],t),b=He([a[1]||"rightmost"],[],t),x=n==="root";return Dr(i,(S,k)=>{var B=k.classes[0],N=S.classes[0];B==="mbin"&&gl.includes(N)?k.classes[0]="mord":N==="mbin"&&vl.includes(B)&&(S.classes[0]="mord")},{node:g},b,x),Dr(i,(S,k)=>{var B=It(k),N=It(S),T=B&&N?S.hasClass("mtight")?pl[B][N]:fl[B][N]:null;if(T)return w.makeGlue(T,d)},{node:g},b,x),i},Dr=function r(e,t,n,a,i){a&&e.push(a);for(var s=0;s<e.length;s++){var u=e[s],h=In(u);if(h){r(h.children,t,n,null,i);continue}var d=!u.hasClass("mspace");if(d){var f=t(u,n.node);f&&(n.insertAfter?n.insertAfter(f):(e.unshift(f),s++))}d?n.node=u:i&&u.hasClass("newline")&&(n.node=He(["leftmost"])),n.insertAfter=(g=>b=>{e.splice(g+1,0,b),s++})(s)}a&&e.pop()},In=function(e){return e instanceof M0||e instanceof _t||e instanceof T0&&e.hasClass("enclosing")?e:null},xl=function r(e,t){var n=In(e);if(n){var a=n.children;if(a.length){if(t==="right")return r(a[a.length-1],"right");if(t==="left")return r(a[0],"left")}}return e},It=function(e,t){return e?(t&&(e=xl(e,t)),bl[e.classes[0]]||null):null},w0=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return He(t.concat(n))},Y=function(e,t,n){if(!e)return He();if(_0[e.type]){var a=_0[e.type](e,t);if(n&&t.size!==n.size){a=He(t.sizingClasses(n),[a],t);var i=t.sizeMultiplier/n.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new z("Got group of unknown type: '"+e.type+"'")};function P0(r,e){var t=He(["base"],r,e),n=He(["strut"]);return n.style.height=D(t.height+t.depth),t.depth&&(n.style.verticalAlign=D(-t.depth)),t.children.unshift(n),t}function Lt(r,e){var t=null;r.length===1&&r[0].type==="tag"&&(t=r[0].tag,r=r[0].body);var n=se(r,e,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var i=[],s=[],u=0;u<n.length;u++)if(s.push(n[u]),n[u].hasClass("mbin")||n[u].hasClass("mrel")||n[u].hasClass("allowbreak")){for(var h=!1;u<n.length-1&&n[u+1].hasClass("mspace")&&!n[u+1].hasClass("newline");)u++,s.push(n[u]),n[u].hasClass("nobreak")&&(h=!0);h||(i.push(P0(s,e)),s=[])}else n[u].hasClass("newline")&&(s.pop(),s.length>0&&(i.push(P0(s,e)),s=[]),i.push(n[u]));s.length>0&&i.push(P0(s,e));var d;t?(d=P0(se(t,e,!0)),d.classes=["tag"],i.push(d)):a&&i.push(a);var f=He(["katex-html"],i);if(f.setAttribute("aria-hidden","true"),d){var g=d.children[0];g.style.height=D(f.height+f.depth),f.depth&&(g.style.verticalAlign=D(-f.depth))}return f}function Ln(r){return new M0(r)}class xe{constructor(e,t,n){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=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=Ye(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof Ne&&this.children[n+1]instanceof Ne){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof Ne;)a+=this.children[++n].toText();e.appendChild(new Ne(a).toNode())}else e.appendChild(this.children[n].toNode());return e}toMarkup(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=_.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+_.escape(Ye(this.classes))+'"'),e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class Ne{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return _.escape(this.toText())}toText(){return this.text}}class wl{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character=" ":e>=.1666&&e<=.1667?this.character=" ":e>=.2222&&e<=.2223?this.character=" ":e>=.2777&&e<=.2778?this.character="  ":e>=-.05556&&e<=-.05555?this.character=" ⁣":e>=-.1667&&e<=-.1666?this.character=" ⁣":e>=-.2223&&e<=-.2222?this.character=" ⁣":e>=-.2778&&e<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",D(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+D(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var A={MathNode:xe,TextNode:Ne,SpaceNode:wl,newDocumentFragment:Ln},ze=function(e,t,n){return J[t][e]&&J[t][e].replace&&e.charCodeAt(0)!==55349&&!(zn.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(e=J[t][e].replace),new A.TextNode(e)},Zt=function(e){return e.length===1?e[0]:new A.MathNode("mrow",e)},Jt=function(e,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var n=t.font;if(!n||n==="mathnormal")return null;var a=e.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var i=e.text;if(["\\imath","\\jmath"].includes(i))return null;J[a][i]&&J[a][i].replace&&(i=J[a][i].replace);var s=w.fontMap[n].fontName;return Yt(i,s,a)?w.fontMap[n].variant:null};function vt(r){if(!r)return!1;if(r.type==="mi"&&r.children.length===1){var e=r.children[0];return e instanceof Ne&&e.text==="."}else if(r.type==="mo"&&r.children.length===1&&r.getAttribute("separator")==="true"&&r.getAttribute("lspace")==="0em"&&r.getAttribute("rspace")==="0em"){var t=r.children[0];return t instanceof Ne&&t.text===","}else return!1}var ge=function(e,t,n){if(e.length===1){var a=K(e[0],t);return n&&a instanceof xe&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],s,u=0;u<e.length;u++){var h=K(e[u],t);if(h instanceof xe&&s instanceof xe){if(h.type==="mtext"&&s.type==="mtext"&&h.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...h.children);continue}else if(h.type==="mn"&&s.type==="mn"){s.children.push(...h.children);continue}else if(vt(h)&&s.type==="mn"){s.children.push(...h.children);continue}else if(h.type==="mn"&&vt(s))h.children=[...s.children,...h.children],i.pop();else if((h.type==="msup"||h.type==="msub")&&h.children.length>=1&&(s.type==="mn"||vt(s))){var d=h.children[0];d instanceof xe&&d.type==="mn"&&(d.children=[...s.children,...d.children],i.pop())}else if(s.type==="mi"&&s.children.length===1){var f=s.children[0];if(f instanceof Ne&&f.text==="̸"&&(h.type==="mo"||h.type==="mi"||h.type==="mn")){var g=h.children[0];g instanceof Ne&&g.text.length>0&&(g.text=g.text.slice(0,1)+"̸"+g.text.slice(1),i.pop())}}}i.push(h),s=h}return i},Ke=function(e,t,n){return Zt(ge(e,t,n))},K=function(e,t){if(!e)return new A.MathNode("mrow");if(K0[e.type]){var n=K0[e.type](e,t);return n}else throw new z("Got group of unknown type: '"+e.type+"'")};function Nr(r,e,t,n,a){var i=ge(r,t),s;i.length===1&&i[0]instanceof xe&&["mrow","mtable"].includes(i[0].type)?s=i[0]:s=new A.MathNode("mrow",i);var u=new A.MathNode("annotation",[new A.TextNode(e)]);u.setAttribute("encoding","application/x-tex");var h=new A.MathNode("semantics",[s,u]),d=new A.MathNode("math",[h]);d.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&d.setAttribute("display","block");var f=a?"katex":"katex-mathml";return w.makeSpan([f],[d])}var On=function(e){return new Re({style:e.displayMode?F.DISPLAY:F.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Rn=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=w.makeSpan(n,[e])}return e},kl=function(e,t,n){var a=On(n),i;if(n.output==="mathml")return Nr(e,t,a,n.displayMode,!0);if(n.output==="html"){var s=Lt(e,a);i=w.makeSpan(["katex"],[s])}else{var u=Nr(e,t,a,n.displayMode,!1),h=Lt(e,a);i=w.makeSpan(["katex"],[u,h])}return Rn(i,n)},Sl=function(e,t,n){var a=On(n),i=Lt(e,a),s=w.makeSpan(["katex"],[i]);return Rn(s,n)},Ml={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":"="},Tl=function(e){var t=new A.MathNode("mo",[new A.TextNode(Ml[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Al={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]},zl=function(e){return e.type==="ordgroup"?e.body.length:1},Cl=function(e,t){function n(){var u=4e5,h=e.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(h)){var d=e,f=zl(d.base),g,b,x;if(f>5)h==="widehat"||h==="widecheck"?(g=420,u=2364,x=.42,b=h+"4"):(g=312,u=2340,x=.34,b="tilde4");else{var S=[1,1,2,2,3,3][f];h==="widehat"||h==="widecheck"?(u=[0,1062,2364,2364,2364][S],g=[0,239,300,360,420][S],x=[0,.24,.3,.3,.36,.42][S],b=h+S):(u=[0,600,1033,2339,2340][S],g=[0,260,286,306,312][S],x=[0,.26,.286,.3,.306,.34][S],b="tilde"+S)}var k=new _e(b),B=new Pe([k],{width:"100%",height:D(x),viewBox:"0 0 "+u+" "+g,preserveAspectRatio:"none"});return{span:w.makeSvgSpan([],[B],t),minWidth:0,height:x}}else{var N=[],T=Al[h],[H,R,L]=T,O=L/1e3,P=H.length,$,U;if(P===1){var oe=T[3];$=["hide-tail"],U=[oe]}else if(P===2)$=["halfarrow-left","halfarrow-right"],U=["xMinYMin","xMaxYMin"];else if(P===3)$=["brace-left","brace-center","brace-right"],U=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
260
+ `+P+" children.");for(var G=0;G<P;G++){var X=new _e(H[G]),ce=new Pe([X],{width:"400em",height:D(O),viewBox:"0 0 "+u+" "+L,preserveAspectRatio:U[G]+" slice"}),ne=w.makeSvgSpan([$[G]],[ce],t);if(P===1)return{span:ne,minWidth:R,height:O};ne.style.height=D(O),N.push(ne)}return{span:w.makeSpan(["stretchy"],N,t),minWidth:R,height:O}}}var{span:a,minWidth:i,height:s}=n();return a.height=s,a.style.height=D(s),i>0&&(a.style.minWidth=D(i)),a},Bl=function(e,t,n,a,i){var s,u=e.height+e.depth+n+a;if(/fbox|color|angl/.test(t)){if(s=w.makeSpan(["stretchy",t],[],i),t==="fbox"){var h=i.color&&i.getColor();h&&(s.style.borderColor=h)}}else{var d=[];/^[bx]cancel$/.test(t)&&d.push(new Nt({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&d.push(new Nt({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var f=new Pe(d,{width:"100%",height:D(u)});s=w.makeSvgSpan([],[f],i)}return s.height=u,s.style.height=D(u),s},Ve={encloseSpan:Bl,mathMLnode:Tl,svgSpan:Cl};function j(r,e){if(!r||r.type!==e)throw new Error("Expected node of type "+e+", but got "+(r?"node of type "+r.type:String(r)));return r}function Qt(r){var e=et(r);if(!e)throw new Error("Expected node of symbol group type, but got "+(r?"node of type "+r.type:String(r)));return e}function et(r){return r&&(r.type==="atom"||el.hasOwnProperty(r.type))?r:null}var er=(r,e)=>{var t,n,a;r&&r.type==="supsub"?(n=j(r.base,"accent"),t=n.base,r.base=t,a=Ji(Y(r,e)),r.base=n):(n=j(r,"accent"),t=n.base);var i=Y(t,e.havingCrampedStyle()),s=n.isShifty&&_.isCharacterBox(t),u=0;if(s){var h=_.getBaseElem(t),d=Y(h,e.havingCrampedStyle());u=Mr(d).skew}var f=n.label==="\\c",g=f?i.height+i.depth:Math.min(i.height,e.fontMetrics().xHeight),b;if(n.isStretchy)b=Ve.svgSpan(n,e),b=w.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:b,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+D(2*u)+")",marginLeft:D(2*u)}:void 0}]},e);else{var x,S;n.label==="\\vec"?(x=w.staticSvg("vec",e),S=w.svgData.vec[1]):(x=w.makeOrd({mode:n.mode,text:n.label},e,"textord"),x=Mr(x),x.italic=0,S=x.width,f&&(g+=x.depth)),b=w.makeSpan(["accent-body"],[x]);var k=n.label==="\\textcircled";k&&(b.classes.push("accent-full"),g=i.height);var B=u;k||(B-=S/2),b.style.left=D(B),n.label==="\\textcircled"&&(b.style.top=".2em"),b=w.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-g},{type:"elem",elem:b}]},e)}var N=w.makeSpan(["mord","accent"],[b],e);return a?(a.children[0]=N,a.height=Math.max(N.height,a.height),a.classes[0]="mord",a):N},qn=(r,e)=>{var t=r.isStretchy?Ve.mathMLnode(r.label):new A.MathNode("mo",[ze(r.label,r.mode)]),n=new A.MathNode("mover",[K(r.base,e),t]);return n.setAttribute("accent","true"),n},Dl=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(r=>"\\"+r).join("|"));E({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:(r,e)=>{var t=Z0(e[0]),n=!Dl.test(r.funcName),a=!n||r.funcName==="\\widehat"||r.funcName==="\\widetilde"||r.funcName==="\\widecheck";return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:n,isShifty:a,base:t}},htmlBuilder:er,mathmlBuilder:qn});E({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(r,e)=>{var t=e[0],n=r.parser.mode;return n==="math"&&(r.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+r.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:r.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:er,mathmlBuilder:qn});E({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(r,e)=>{var{parser:t,funcName:n}=r,a=e[0];return{type:"accentUnder",mode:t.mode,label:n,base:a}},htmlBuilder:(r,e)=>{var t=Y(r.base,e),n=Ve.svgSpan(r,e),a=r.label==="\\utilde"?.12:0,i=w.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:t}]},e);return w.makeSpan(["mord","accentunder"],[i],e)},mathmlBuilder:(r,e)=>{var t=Ve.mathMLnode(r.label),n=new A.MathNode("munder",[K(r.base,e),t]);return n.setAttribute("accentunder","true"),n}});var H0=r=>{var e=new A.MathNode("mpadded",r?[r]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};E({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(r,e,t){var{parser:n,funcName:a}=r;return{type:"xArrow",mode:n.mode,label:a,body:e[0],below:t[0]}},htmlBuilder(r,e){var t=e.style,n=e.havingStyle(t.sup()),a=w.wrapFragment(Y(r.body,n,e),e),i=r.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(i+"-arrow-pad");var s;r.below&&(n=e.havingStyle(t.sub()),s=w.wrapFragment(Y(r.below,n,e),e),s.classes.push(i+"-arrow-pad"));var u=Ve.svgSpan(r,e),h=-e.fontMetrics().axisHeight+.5*u.height,d=-e.fontMetrics().axisHeight-.5*u.height-.111;(a.depth>.25||r.label==="\\xleftequilibrium")&&(d-=a.depth);var f;if(s){var g=-e.fontMetrics().axisHeight+s.height+.5*u.height+.111;f=w.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:d},{type:"elem",elem:u,shift:h},{type:"elem",elem:s,shift:g}]},e)}else f=w.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:d},{type:"elem",elem:u,shift:h}]},e);return f.children[0].children[0].children[1].classes.push("svg-align"),w.makeSpan(["mrel","x-arrow"],[f],e)},mathmlBuilder(r,e){var t=Ve.mathMLnode(r.label);t.setAttribute("minsize",r.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(r.body){var a=H0(K(r.body,e));if(r.below){var i=H0(K(r.below,e));n=new A.MathNode("munderover",[t,i,a])}else n=new A.MathNode("mover",[t,a])}else if(r.below){var s=H0(K(r.below,e));n=new A.MathNode("munder",[t,s])}else n=H0(),n=new A.MathNode("mover",[t,n]);return n}});var Nl=w.makeSpan;function Fn(r,e){var t=se(r.body,e,!0);return Nl([r.mclass],t,e)}function Pn(r,e){var t,n=ge(r.body,e);return r.mclass==="minner"?t=new A.MathNode("mpadded",n):r.mclass==="mord"?r.isCharacterBox?(t=n[0],t.type="mi"):t=new A.MathNode("mi",n):(r.isCharacterBox?(t=n[0],t.type="mo"):t=new A.MathNode("mo",n),r.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):r.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):r.mclass==="mopen"||r.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):r.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}E({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(r,e){var{parser:t,funcName:n}=r,a=e[0];return{type:"mclass",mode:t.mode,mclass:"m"+n.slice(5),body:ae(a),isCharacterBox:_.isCharacterBox(a)}},htmlBuilder:Fn,mathmlBuilder:Pn});var tt=r=>{var e=r.type==="ordgroup"&&r.body.length?r.body[0]:r;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};E({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(r,e){var{parser:t}=r;return{type:"mclass",mode:t.mode,mclass:tt(e[0]),body:ae(e[1]),isCharacterBox:_.isCharacterBox(e[1])}}});E({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(r,e){var{parser:t,funcName:n}=r,a=e[1],i=e[0],s;n!=="\\stackrel"?s=tt(a):s="mrel";var u={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:ae(a)},h={type:"supsub",mode:i.mode,base:u,sup:n==="\\underset"?null:i,sub:n==="\\underset"?i:null};return{type:"mclass",mode:t.mode,mclass:s,body:[h],isCharacterBox:_.isCharacterBox(h)}},htmlBuilder:Fn,mathmlBuilder:Pn});E({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(r,e){var{parser:t}=r;return{type:"pmb",mode:t.mode,mclass:tt(e[0]),body:ae(e[0])}},htmlBuilder(r,e){var t=se(r.body,e,!0),n=w.makeSpan([r.mclass],t,e);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(r,e){var t=ge(r.body,e),n=new A.MathNode("mstyle",t);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var El={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Er=()=>({type:"styling",body:[],mode:"math",style:"display"}),Ir=r=>r.type==="textord"&&r.text==="@",Il=(r,e)=>(r.type==="mathord"||r.type==="atom")&&r.text===e;function Ll(r,e,t){var n=El[r];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(n,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var a=t.callFunction("\\\\cdleft",[e[0]],[]),i={type:"atom",text:n,mode:"math",family:"rel"},s=t.callFunction("\\Big",[i],[]),u=t.callFunction("\\\\cdright",[e[1]],[]),h={type:"ordgroup",mode:"math",body:[a,s,u]};return t.callFunction("\\\\cdparent",[h],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var d={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[d],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Ol(r){var e=[];for(r.gullet.beginGroup(),r.gullet.macros.set("\\cr","\\\\\\relax"),r.gullet.beginGroup();;){e.push(r.parseExpression(!1,"\\\\")),r.gullet.endGroup(),r.gullet.beginGroup();var t=r.fetch().text;if(t==="&"||t==="\\\\")r.consume();else if(t==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new z("Expected \\\\ or \\cr or \\end",r.nextToken)}for(var n=[],a=[n],i=0;i<e.length;i++){for(var s=e[i],u=Er(),h=0;h<s.length;h++)if(!Ir(s[h]))u.body.push(s[h]);else{n.push(u),h+=1;var d=Qt(s[h]).text,f=new Array(2);if(f[0]={type:"ordgroup",mode:"math",body:[]},f[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(d)>-1))if("<>AV".indexOf(d)>-1)for(var g=0;g<2;g++){for(var b=!0,x=h+1;x<s.length;x++){if(Il(s[x],d)){b=!1,h=x;break}if(Ir(s[x]))throw new z("Missing a "+d+" character to complete a CD arrow.",s[x]);f[g].body.push(s[x])}if(b)throw new z("Missing a "+d+" character to complete a CD arrow.",s[h])}else throw new z('Expected one of "<>AV=|." after @',s[h]);var S=Ll(d,f,r),k={type:"styling",body:[S],mode:"math",style:"display"};n.push(k),u=Er()}i%2===0?n.push(u):n.shift(),n=[],a.push(n)}r.gullet.endGroup(),r.gullet.endGroup();var B=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:B,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}E({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(r,e){var{parser:t,funcName:n}=r;return{type:"cdlabel",mode:t.mode,side:n.slice(4),label:e[0]}},htmlBuilder(r,e){var t=e.havingStyle(e.style.sup()),n=w.wrapFragment(Y(r.label,t,e),e);return n.classes.push("cd-label-"+r.side),n.style.bottom=D(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(r,e){var t=new A.MathNode("mrow",[K(r.label,e)]);return t=new A.MathNode("mpadded",[t]),t.setAttribute("width","0"),r.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new A.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}});E({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(r,e){var{parser:t}=r;return{type:"cdlabelparent",mode:t.mode,fragment:e[0]}},htmlBuilder(r,e){var t=w.wrapFragment(Y(r.fragment,e),e);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(r,e){return new A.MathNode("mrow",[K(r.fragment,e)])}});E({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(r,e){for(var{parser:t}=r,n=j(e[0],"ordgroup"),a=n.body,i="",s=0;s<a.length;s++){var u=j(a[s],"textord");i+=u.text}var h=parseInt(i),d;if(isNaN(h))throw new z("\\@char has non-numeric argument "+i);if(h<0||h>=1114111)throw new z("\\@char with invalid code point "+i);return h<=65535?d=String.fromCharCode(h):(h-=65536,d=String.fromCharCode((h>>10)+55296,(h&1023)+56320)),{type:"textord",mode:t.mode,text:d}}});var Hn=(r,e)=>{var t=se(r.body,e.withColor(r.color),!1);return w.makeFragment(t)},Vn=(r,e)=>{var t=ge(r.body,e.withColor(r.color)),n=new A.MathNode("mstyle",t);return n.setAttribute("mathcolor",r.color),n};E({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(r,e){var{parser:t}=r,n=j(e[0],"color-token").color,a=e[1];return{type:"color",mode:t.mode,color:n,body:ae(a)}},htmlBuilder:Hn,mathmlBuilder:Vn});E({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(r,e){var{parser:t,breakOnTokenText:n}=r,a=j(e[0],"color-token").color;t.gullet.macros.set("\\current@color",a);var i=t.parseExpression(!0,n);return{type:"color",mode:t.mode,color:a,body:i}},htmlBuilder:Hn,mathmlBuilder:Vn});E({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(r,e,t){var{parser:n}=r,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&j(a,"size").value}},htmlBuilder(r,e){var t=w.makeSpan(["mspace"],[],e);return r.newLine&&(t.classes.push("newline"),r.size&&(t.style.marginTop=D(te(r.size,e)))),t},mathmlBuilder(r,e){var t=new A.MathNode("mspace");return r.newLine&&(t.setAttribute("linebreak","newline"),r.size&&t.setAttribute("height",D(te(r.size,e)))),t}});var Ot={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Un=r=>{var e=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new z("Expected a control sequence",r);return e},Rl=r=>{var e=r.gullet.popToken();return e.text==="="&&(e=r.gullet.popToken(),e.text===" "&&(e=r.gullet.popToken())),e},$n=(r,e,t,n)=>{var a=r.gullet.macros.get(t.text);a==null&&(t.noexpand=!0,a={tokens:[t],numArgs:0,unexpandable:!r.gullet.isExpandable(t.text)}),r.gullet.macros.set(e,a,n)};E({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(r){var{parser:e,funcName:t}=r;e.consumeSpaces();var n=e.fetch();if(Ot[n.text])return(t==="\\global"||t==="\\\\globallong")&&(n.text=Ot[n.text]),j(e.parseFunction(),"internal");throw new z("Invalid token after macro prefix",n)}});E({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(r){var{parser:e,funcName:t}=r,n=e.gullet.popToken(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new z("Expected a control sequence",n);for(var i=0,s,u=[[]];e.gullet.future().text!=="{";)if(n=e.gullet.popToken(),n.text==="#"){if(e.gullet.future().text==="{"){s=e.gullet.future(),u[i].push("{");break}if(n=e.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new z('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new z('Argument number "'+n.text+'" out of order');i++,u.push([])}else{if(n.text==="EOF")throw new z("Expected a macro definition");u[i].push(n.text)}var{tokens:h}=e.gullet.consumeArg();return s&&h.unshift(s),(t==="\\edef"||t==="\\xdef")&&(h=e.gullet.expandTokens(h),h.reverse()),e.gullet.macros.set(a,{tokens:h,numArgs:i,delimiters:u},t===Ot[t]),{type:"internal",mode:e.mode}}});E({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(r){var{parser:e,funcName:t}=r,n=Un(e.gullet.popToken());e.gullet.consumeSpaces();var a=Rl(e);return $n(e,n,a,t==="\\\\globallet"),{type:"internal",mode:e.mode}}});E({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(r){var{parser:e,funcName:t}=r,n=Un(e.gullet.popToken()),a=e.gullet.popToken(),i=e.gullet.popToken();return $n(e,n,i,t==="\\\\globalfuture"),e.gullet.pushToken(i),e.gullet.pushToken(a),{type:"internal",mode:e.mode}}});var g0=function(e,t,n){var a=J.math[e]&&J.math[e].replace,i=Yt(a||e,t,n);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},tr=function(e,t,n,a){var i=n.havingBaseStyle(t),s=w.makeSpan(a.concat(i.sizingClasses(n)),[e],n),u=i.sizeMultiplier/n.sizeMultiplier;return s.height*=u,s.depth*=u,s.maxFontSize=i.sizeMultiplier,s},Gn=function(e,t,n){var a=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/a.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=D(i),e.height-=i,e.depth+=i},ql=function(e,t,n,a,i,s){var u=w.makeSymbol(e,"Main-Regular",i,a),h=tr(u,t,a,s);return n&&Gn(h,a,t),h},Fl=function(e,t,n,a){return w.makeSymbol(e,"Size"+t+"-Regular",n,a)},Wn=function(e,t,n,a,i,s){var u=Fl(e,t,i,a),h=tr(w.makeSpan(["delimsizing","size"+t],[u],a),F.TEXT,a,s);return n&&Gn(h,a,F.TEXT),h},gt=function(e,t,n){var a;t==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=w.makeSpan(["delimsizinginner",a],[w.makeSpan([],[w.makeSymbol(e,t,n)])]);return{type:"elem",elem:i}},yt=function(e,t,n){var a=De["Size4-Regular"][e.charCodeAt(0)]?De["Size4-Regular"][e.charCodeAt(0)][4]:De["Size1-Regular"][e.charCodeAt(0)][4],i=new _e("inner",Gi(e,Math.round(1e3*t))),s=new Pe([i],{width:D(a),height:D(t),style:"width:"+D(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),u=w.makeSvgSpan([],[s],n);return u.height=t,u.style.height=D(t),u.style.width=D(a),{type:"elem",elem:u}},Rt=.008,V0={type:"kern",size:-1*Rt},Pl=["|","\\lvert","\\rvert","\\vert"],Hl=["\\|","\\lVert","\\rVert","\\Vert"],jn=function(e,t,n,a,i,s){var u,h,d,f,g="",b=0;u=d=f=e,h=null;var x="Size1-Regular";e==="\\uparrow"?d=f="⏐":e==="\\Uparrow"?d=f="‖":e==="\\downarrow"?u=d="⏐":e==="\\Downarrow"?u=d="‖":e==="\\updownarrow"?(u="\\uparrow",d="⏐",f="\\downarrow"):e==="\\Updownarrow"?(u="\\Uparrow",d="‖",f="\\Downarrow"):Pl.includes(e)?(d="∣",g="vert",b=333):Hl.includes(e)?(d="∥",g="doublevert",b=556):e==="["||e==="\\lbrack"?(u="⎡",d="⎢",f="⎣",x="Size4-Regular",g="lbrack",b=667):e==="]"||e==="\\rbrack"?(u="⎤",d="⎥",f="⎦",x="Size4-Regular",g="rbrack",b=667):e==="\\lfloor"||e==="⌊"?(d=u="⎢",f="⎣",x="Size4-Regular",g="lfloor",b=667):e==="\\lceil"||e==="⌈"?(u="⎡",d=f="⎢",x="Size4-Regular",g="lceil",b=667):e==="\\rfloor"||e==="⌋"?(d=u="⎥",f="⎦",x="Size4-Regular",g="rfloor",b=667):e==="\\rceil"||e==="⌉"?(u="⎤",d=f="⎥",x="Size4-Regular",g="rceil",b=667):e==="("||e==="\\lparen"?(u="⎛",d="⎜",f="⎝",x="Size4-Regular",g="lparen",b=875):e===")"||e==="\\rparen"?(u="⎞",d="⎟",f="⎠",x="Size4-Regular",g="rparen",b=875):e==="\\{"||e==="\\lbrace"?(u="⎧",h="⎨",f="⎩",d="⎪",x="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(u="⎫",h="⎬",f="⎭",d="⎪",x="Size4-Regular"):e==="\\lgroup"||e==="⟮"?(u="⎧",f="⎩",d="⎪",x="Size4-Regular"):e==="\\rgroup"||e==="⟯"?(u="⎫",f="⎭",d="⎪",x="Size4-Regular"):e==="\\lmoustache"||e==="⎰"?(u="⎧",f="⎭",d="⎪",x="Size4-Regular"):(e==="\\rmoustache"||e==="⎱")&&(u="⎫",f="⎩",d="⎪",x="Size4-Regular");var S=g0(u,x,i),k=S.height+S.depth,B=g0(d,x,i),N=B.height+B.depth,T=g0(f,x,i),H=T.height+T.depth,R=0,L=1;if(h!==null){var O=g0(h,x,i);R=O.height+O.depth,L=2}var P=k+H+R,$=Math.max(0,Math.ceil((t-P)/(L*N))),U=P+$*L*N,oe=a.fontMetrics().axisHeight;n&&(oe*=a.sizeMultiplier);var G=U/2-oe,X=[];if(g.length>0){var ce=U-k-H,ne=Math.round(U*1e3),he=Wi(g,Math.round(ce*1e3)),Se=new _e(g,he),a0=(b/1e3).toFixed(3)+"em",i0=(ne/1e3).toFixed(3)+"em",st=new Pe([Se],{width:a0,height:i0,viewBox:"0 0 "+b+" "+ne}),$e=w.makeSvgSpan([],[st],a);$e.height=ne/1e3,$e.style.width=a0,$e.style.height=i0,X.push({type:"elem",elem:$e})}else{if(X.push(gt(f,x,i)),X.push(V0),h===null){var Ge=U-k-H+2*Rt;X.push(yt(d,Ge,a))}else{var Me=(U-k-H-R)/2+2*Rt;X.push(yt(d,Me,a)),X.push(V0),X.push(gt(h,x,i)),X.push(V0),X.push(yt(d,Me,a))}X.push(V0),X.push(gt(u,x,i))}var v0=a.havingBaseStyle(F.TEXT),ot=w.makeVList({positionType:"bottom",positionData:G,children:X},v0);return tr(w.makeSpan(["delimsizing","mult"],[ot],v0),F.TEXT,a,s)},bt=80,xt=.08,wt=function(e,t,n,a,i){var s=$i(e,a,n),u=new _e(e,s),h=new Pe([u],{width:"400em",height:D(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return w.makeSvgSpan(["hide-tail"],[h],i)},Vl=function(e,t){var n=t.havingBaseSizing(),a=Kn("\\surd",e*n.sizeMultiplier,_n,n),i=n.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),u,h=0,d=0,f=0,g;return a.type==="small"?(f=1e3+1e3*s+bt,e<1?i=1:e<1.4&&(i=.7),h=(1+s+xt)/i,d=(1+s)/i,u=wt("sqrtMain",h,f,s,t),u.style.minWidth="0.853em",g=.833/i):a.type==="large"?(f=(1e3+bt)*b0[a.size],d=(b0[a.size]+s)/i,h=(b0[a.size]+s+xt)/i,u=wt("sqrtSize"+a.size,h,f,s,t),u.style.minWidth="1.02em",g=1/i):(h=e+s+xt,d=e+s,f=Math.floor(1e3*e+s)+bt,u=wt("sqrtTall",h,f,s,t),u.style.minWidth="0.742em",g=1.056),u.height=d,u.style.height=D(h),{span:u,advanceWidth:g,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*i}},Xn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Ul=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Yn=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],b0=[0,1.2,1.8,2.4,3],$l=function(e,t,n,a,i){if(e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle"),Xn.includes(e)||Yn.includes(e))return Wn(e,t,!1,n,a,i);if(Ul.includes(e))return jn(e,b0[t],!1,n,a,i);throw new z("Illegal delimiter: '"+e+"'")},Gl=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Wl=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"stack"}],_n=[{type:"small",style:F.SCRIPTSCRIPT},{type:"small",style:F.SCRIPT},{type:"small",style:F.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],jl=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Kn=function(e,t,n,a){for(var i=Math.min(2,3-a.style.size),s=i;s<n.length&&n[s].type!=="stack";s++){var u=g0(e,jl(n[s]),"math"),h=u.height+u.depth;if(n[s].type==="small"){var d=a.havingBaseStyle(n[s].style);h*=d.sizeMultiplier}if(h>t)return n[s]}return n[n.length-1]},Zn=function(e,t,n,a,i,s){e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle");var u;Yn.includes(e)?u=Gl:Xn.includes(e)?u=_n:u=Wl;var h=Kn(e,t,u,a);return h.type==="small"?ql(e,h.style,n,a,i,s):h.type==="large"?Wn(e,h.size,n,a,i,s):jn(e,t,n,a,i,s)},Xl=function(e,t,n,a,i,s){var u=a.fontMetrics().axisHeight*a.sizeMultiplier,h=901,d=5/a.fontMetrics().ptPerEm,f=Math.max(t-u,n+u),g=Math.max(f/500*h,2*f-d);return Zn(e,g,!0,a,i,s)},Fe={sqrtImage:Vl,sizedDelim:$l,sizeToMaxHeight:b0,customSizedDelim:Zn,leftRightDelim:Xl},Lr={"\\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}},Yl=["(","\\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 rt(r,e){var t=et(r);if(t&&Yl.includes(t.text))return t;throw t?new z("Invalid delimiter '"+t.text+"' after '"+e.funcName+"'",r):new z("Invalid delimiter type '"+r.type+"'",r)}E({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:(r,e)=>{var t=rt(e[0],r);return{type:"delimsizing",mode:r.parser.mode,size:Lr[r.funcName].size,mclass:Lr[r.funcName].mclass,delim:t.text}},htmlBuilder:(r,e)=>r.delim==="."?w.makeSpan([r.mclass]):Fe.sizedDelim(r.delim,r.size,e,r.mode,[r.mclass]),mathmlBuilder:r=>{var e=[];r.delim!=="."&&e.push(ze(r.delim,r.mode));var t=new A.MathNode("mo",e);r.mclass==="mopen"||r.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var n=D(Fe.sizeToMaxHeight[r.size]);return t.setAttribute("minsize",n),t.setAttribute("maxsize",n),t}});function Or(r){if(!r.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}E({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(r,e)=>{var t=r.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new z("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:r.parser.mode,delim:rt(e[0],r).text,color:t}}});E({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(r,e)=>{var t=rt(e[0],r),n=r.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=j(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:t.text,right:i.delim,rightColor:i.color}},htmlBuilder:(r,e)=>{Or(r);for(var t=se(r.body,e,!0,["mopen","mclose"]),n=0,a=0,i=!1,s=0;s<t.length;s++)t[s].isMiddle?i=!0:(n=Math.max(t[s].height,n),a=Math.max(t[s].depth,a));n*=e.sizeMultiplier,a*=e.sizeMultiplier;var u;if(r.left==="."?u=w0(e,["mopen"]):u=Fe.leftRightDelim(r.left,n,a,e,r.mode,["mopen"]),t.unshift(u),i)for(var h=1;h<t.length;h++){var d=t[h],f=d.isMiddle;f&&(t[h]=Fe.leftRightDelim(f.delim,n,a,f.options,r.mode,[]))}var g;if(r.right===".")g=w0(e,["mclose"]);else{var b=r.rightColor?e.withColor(r.rightColor):e;g=Fe.leftRightDelim(r.right,n,a,b,r.mode,["mclose"])}return t.push(g),w.makeSpan(["minner"],t,e)},mathmlBuilder:(r,e)=>{Or(r);var t=ge(r.body,e);if(r.left!=="."){var n=new A.MathNode("mo",[ze(r.left,r.mode)]);n.setAttribute("fence","true"),t.unshift(n)}if(r.right!=="."){var a=new A.MathNode("mo",[ze(r.right,r.mode)]);a.setAttribute("fence","true"),r.rightColor&&a.setAttribute("mathcolor",r.rightColor),t.push(a)}return Zt(t)}});E({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(r,e)=>{var t=rt(e[0],r);if(!r.parser.leftrightDepth)throw new z("\\middle without preceding \\left",t);return{type:"middle",mode:r.parser.mode,delim:t.text}},htmlBuilder:(r,e)=>{var t;if(r.delim===".")t=w0(e,[]);else{t=Fe.sizedDelim(r.delim,1,e,r.mode,[]);var n={delim:r.delim,options:e};t.isMiddle=n}return t},mathmlBuilder:(r,e)=>{var t=r.delim==="\\vert"||r.delim==="|"?ze("|","text"):ze(r.delim,r.mode),n=new A.MathNode("mo",[t]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var rr=(r,e)=>{var t=w.wrapFragment(Y(r.body,e),e),n=r.label.slice(1),a=e.sizeMultiplier,i,s=0,u=_.isCharacterBox(r.body);if(n==="sout")i=w.makeSpan(["stretchy","sout"]),i.height=e.fontMetrics().defaultRuleThickness/a,s=-.5*e.fontMetrics().xHeight;else if(n==="phase"){var h=te({number:.6,unit:"pt"},e),d=te({number:.35,unit:"ex"},e),f=e.havingBaseSizing();a=a/f.sizeMultiplier;var g=t.height+t.depth+h+d;t.style.paddingLeft=D(g/2+h);var b=Math.floor(1e3*g*a),x=Vi(b),S=new Pe([new _e("phase",x)],{width:"400em",height:D(b/1e3),viewBox:"0 0 400000 "+b,preserveAspectRatio:"xMinYMin slice"});i=w.makeSvgSpan(["hide-tail"],[S],e),i.style.height=D(g),s=t.depth+h+d}else{/cancel/.test(n)?u||t.classes.push("cancel-pad"):n==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var k=0,B=0,N=0;/box/.test(n)?(N=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),k=e.fontMetrics().fboxsep+(n==="colorbox"?0:N),B=k):n==="angl"?(N=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),k=4*N,B=Math.max(0,.25-t.depth)):(k=u?.2:0,B=k),i=Ve.encloseSpan(t,n,k,B,e),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=D(N)):n==="angl"&&N!==.049&&(i.style.borderTopWidth=D(N),i.style.borderRightWidth=D(N)),s=t.depth+B,r.backgroundColor&&(i.style.backgroundColor=r.backgroundColor,r.borderColor&&(i.style.borderColor=r.borderColor))}var T;if(r.backgroundColor)T=w.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:t,shift:0}]},e);else{var H=/cancel|phase/.test(n)?["svg-align"]:[];T=w.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:i,shift:s,wrapperClasses:H}]},e)}return/cancel/.test(n)&&(T.height=t.height,T.depth=t.depth),/cancel/.test(n)&&!u?w.makeSpan(["mord","cancel-lap"],[T],e):w.makeSpan(["mord"],[T],e)},nr=(r,e)=>{var t=0,n=new A.MathNode(r.label.indexOf("colorbox")>-1?"mpadded":"menclose",[K(r.body,e)]);switch(r.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(t=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*t+"pt"),n.setAttribute("height","+"+2*t+"pt"),n.setAttribute("lspace",t+"pt"),n.setAttribute("voffset",t+"pt"),r.label==="\\fcolorbox"){var a=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);n.setAttribute("style","border: "+a+"em solid "+String(r.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return r.backgroundColor&&n.setAttribute("mathbackground",r.backgroundColor),n};E({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(r,e,t){var{parser:n,funcName:a}=r,i=j(e[0],"color-token").color,s=e[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:s}},htmlBuilder:rr,mathmlBuilder:nr});E({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(r,e,t){var{parser:n,funcName:a}=r,i=j(e[0],"color-token").color,s=j(e[1],"color-token").color,u=e[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:s,borderColor:i,body:u}},htmlBuilder:rr,mathmlBuilder:nr});E({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(r,e){var{parser:t}=r;return{type:"enclose",mode:t.mode,label:"\\fbox",body:e[0]}}});E({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(r,e){var{parser:t,funcName:n}=r,a=e[0];return{type:"enclose",mode:t.mode,label:n,body:a}},htmlBuilder:rr,mathmlBuilder:nr});E({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(r,e){var{parser:t}=r;return{type:"enclose",mode:t.mode,label:"\\angl",body:e[0]}}});var Jn={};function Ee(r){for(var{type:e,names:t,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=r,u={type:e,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},h=0;h<t.length;++h)Jn[t[h]]=u;i&&(_0[e]=i),s&&(K0[e]=s)}var Qn={};function m(r,e){Qn[r]=e}function Rr(r){var e=[];r.consumeSpaces();var t=r.fetch().text;for(t==="\\relax"&&(r.consume(),r.consumeSpaces(),t=r.fetch().text);t==="\\hline"||t==="\\hdashline";)r.consume(),e.push(t==="\\hdashline"),r.consumeSpaces(),t=r.fetch().text;return e}var nt=r=>{var e=r.parser.settings;if(!e.displayMode)throw new z("{"+r.envName+"} can be used only in display mode.")};function ar(r){if(r.indexOf("ed")===-1)return r.indexOf("*")===-1}function Ze(r,e,t){var{hskipBeforeAndAfter:n,addJot:a,cols:i,arraystretch:s,colSeparationType:u,autoTag:h,singleRow:d,emptySingleRow:f,maxNumCols:g,leqno:b}=e;if(r.gullet.beginGroup(),d||r.gullet.macros.set("\\cr","\\\\\\relax"),!s){var x=r.gullet.expandMacroAsText("\\arraystretch");if(x==null)s=1;else if(s=parseFloat(x),!s||s<0)throw new z("Invalid \\arraystretch: "+x)}r.gullet.beginGroup();var S=[],k=[S],B=[],N=[],T=h!=null?[]:void 0;function H(){h&&r.gullet.macros.set("\\@eqnsw","1",!0)}function R(){T&&(r.gullet.macros.get("\\df@tag")?(T.push(r.subparse([new we("\\df@tag")])),r.gullet.macros.set("\\df@tag",void 0,!0)):T.push(!!h&&r.gullet.macros.get("\\@eqnsw")==="1"))}for(H(),N.push(Rr(r));;){var L=r.parseExpression(!1,d?"\\end":"\\\\");r.gullet.endGroup(),r.gullet.beginGroup(),L={type:"ordgroup",mode:r.mode,body:L},t&&(L={type:"styling",mode:r.mode,style:t,body:[L]}),S.push(L);var O=r.fetch().text;if(O==="&"){if(g&&S.length===g){if(d||u)throw new z("Too many tab characters: &",r.nextToken);r.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}r.consume()}else if(O==="\\end"){R(),S.length===1&&L.type==="styling"&&L.body[0].body.length===0&&(k.length>1||!f)&&k.pop(),N.length<k.length+1&&N.push([]);break}else if(O==="\\\\"){r.consume();var P=void 0;r.gullet.future().text!==" "&&(P=r.parseSizeGroup(!0)),B.push(P?P.value:null),R(),N.push(Rr(r)),S=[],k.push(S),H()}else throw new z("Expected & or \\\\ or \\cr or \\end",r.nextToken)}return r.gullet.endGroup(),r.gullet.endGroup(),{type:"array",mode:r.mode,addJot:a,arraystretch:s,body:k,cols:i,rowGaps:B,hskipBeforeAndAfter:n,hLinesBeforeRow:N,colSeparationType:u,tags:T,leqno:b}}function ir(r){return r.slice(0,1)==="d"?"display":"text"}var Ie=function(e,t){var n,a,i=e.body.length,s=e.hLinesBeforeRow,u=0,h=new Array(i),d=[],f=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),g=1/t.fontMetrics().ptPerEm,b=5*g;if(e.colSeparationType&&e.colSeparationType==="small"){var x=t.havingStyle(F.SCRIPT).sizeMultiplier;b=.2778*(x/t.sizeMultiplier)}var S=e.colSeparationType==="CD"?te({number:3,unit:"ex"},t):12*g,k=3*g,B=e.arraystretch*S,N=.7*B,T=.3*B,H=0;function R(N0){for(var E0=0;E0<N0.length;++E0)E0>0&&(H+=.25),d.push({pos:H,isDashed:N0[E0]})}for(R(s[0]),n=0;n<e.body.length;++n){var L=e.body[n],O=N,P=T;u<L.length&&(u=L.length);var $=new Array(L.length);for(a=0;a<L.length;++a){var U=Y(L[a],t);P<U.depth&&(P=U.depth),O<U.height&&(O=U.height),$[a]=U}var oe=e.rowGaps[n],G=0;oe&&(G=te(oe,t),G>0&&(G+=T,P<G&&(P=G),G=0)),e.addJot&&(P+=k),$.height=O,$.depth=P,H+=O,$.pos=H,H+=P+G,h[n]=$,R(s[n+1])}var X=H/2+t.fontMetrics().axisHeight,ce=e.cols||[],ne=[],he,Se,a0=[];if(e.tags&&e.tags.some(N0=>N0))for(n=0;n<i;++n){var i0=h[n],st=i0.pos-X,$e=e.tags[n],Ge=void 0;$e===!0?Ge=w.makeSpan(["eqn-num"],[],t):$e===!1?Ge=w.makeSpan([],[],t):Ge=w.makeSpan([],se($e,t,!0),t),Ge.depth=i0.depth,Ge.height=i0.height,a0.push({type:"elem",elem:Ge,shift:st})}for(a=0,Se=0;a<u||Se<ce.length;++a,++Se){for(var Me=ce[Se]||{},v0=!0;Me.type==="separator";){if(v0||(he=w.makeSpan(["arraycolsep"],[]),he.style.width=D(t.fontMetrics().doubleRuleSep),ne.push(he)),Me.separator==="|"||Me.separator===":"){var ot=Me.separator==="|"?"solid":"dashed",l0=w.makeSpan(["vertical-separator"],[],t);l0.style.height=D(H),l0.style.borderRightWidth=D(f),l0.style.borderRightStyle=ot,l0.style.margin="0 "+D(-f/2);var pr=H-X;pr&&(l0.style.verticalAlign=D(-pr)),ne.push(l0)}else throw new z("Invalid separator type: "+Me.separator);Se++,Me=ce[Se]||{},v0=!1}if(!(a>=u)){var s0=void 0;(a>0||e.hskipBeforeAndAfter)&&(s0=_.deflt(Me.pregap,b),s0!==0&&(he=w.makeSpan(["arraycolsep"],[]),he.style.width=D(s0),ne.push(he)));var o0=[];for(n=0;n<i;++n){var B0=h[n],D0=B0[a];if(D0){var Za=B0.pos-X;D0.depth=B0.depth,D0.height=B0.height,o0.push({type:"elem",elem:D0,shift:Za})}}o0=w.makeVList({positionType:"individualShift",children:o0},t),o0=w.makeSpan(["col-align-"+(Me.align||"c")],[o0]),ne.push(o0),(a<u-1||e.hskipBeforeAndAfter)&&(s0=_.deflt(Me.postgap,b),s0!==0&&(he=w.makeSpan(["arraycolsep"],[]),he.style.width=D(s0),ne.push(he)))}}if(h=w.makeSpan(["mtable"],ne),d.length>0){for(var Ja=w.makeLineSpan("hline",t,f),Qa=w.makeLineSpan("hdashline",t,f),ut=[{type:"elem",elem:h,shift:0}];d.length>0;){var vr=d.pop(),gr=vr.pos-X;vr.isDashed?ut.push({type:"elem",elem:Qa,shift:gr}):ut.push({type:"elem",elem:Ja,shift:gr})}h=w.makeVList({positionType:"individualShift",children:ut},t)}if(a0.length===0)return w.makeSpan(["mord"],[h],t);var ht=w.makeVList({positionType:"individualShift",children:a0},t);return ht=w.makeSpan(["tag"],[ht],t),w.makeFragment([h,ht])},_l={c:"center ",l:"left ",r:"right "},Le=function(e,t){for(var n=[],a=new A.MathNode("mtd",[],["mtr-glue"]),i=new A.MathNode("mtd",[],["mml-eqn-num"]),s=0;s<e.body.length;s++){for(var u=e.body[s],h=[],d=0;d<u.length;d++)h.push(new A.MathNode("mtd",[K(u[d],t)]));e.tags&&e.tags[s]&&(h.unshift(a),h.push(a),e.leqno?h.unshift(i):h.push(i)),n.push(new A.MathNode("mtr",h))}var f=new A.MathNode("mtable",n),g=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);f.setAttribute("rowspacing",D(g));var b="",x="";if(e.cols&&e.cols.length>0){var S=e.cols,k="",B=!1,N=0,T=S.length;S[0].type==="separator"&&(b+="top ",N=1),S[S.length-1].type==="separator"&&(b+="bottom ",T-=1);for(var H=N;H<T;H++)S[H].type==="align"?(x+=_l[S[H].align],B&&(k+="none "),B=!0):S[H].type==="separator"&&B&&(k+=S[H].separator==="|"?"solid ":"dashed ",B=!1);f.setAttribute("columnalign",x.trim()),/[sd]/.test(k)&&f.setAttribute("columnlines",k.trim())}if(e.colSeparationType==="align"){for(var R=e.cols||[],L="",O=1;O<R.length;O++)L+=O%2?"0em ":"1em ";f.setAttribute("columnspacing",L.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?f.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?f.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?f.setAttribute("columnspacing","0.5em"):f.setAttribute("columnspacing","1em");var P="",$=e.hLinesBeforeRow;b+=$[0].length>0?"left ":"",b+=$[$.length-1].length>0?"right ":"";for(var U=1;U<$.length-1;U++)P+=$[U].length===0?"none ":$[U][0]?"dashed ":"solid ";return/[sd]/.test(P)&&f.setAttribute("rowlines",P.trim()),b!==""&&(f=new A.MathNode("menclose",[f]),f.setAttribute("notation",b.trim())),e.arraystretch&&e.arraystretch<1&&(f=new A.MathNode("mstyle",[f]),f.setAttribute("scriptlevel","1")),f},ea=function(e,t){e.envName.indexOf("ed")===-1&&nt(e);var n=[],a=e.envName.indexOf("at")>-1?"alignat":"align",i=e.envName==="split",s=Ze(e.parser,{cols:n,addJot:!0,autoTag:i?void 0:ar(e.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),u,h=0,d={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var f="",g=0;g<t[0].body.length;g++){var b=j(t[0].body[g],"textord");f+=b.text}u=Number(f),h=u*2}var x=!h;s.body.forEach(function(N){for(var T=1;T<N.length;T+=2){var H=j(N[T],"styling"),R=j(H.body[0],"ordgroup");R.body.unshift(d)}if(x)h<N.length&&(h=N.length);else{var L=N.length/2;if(u<L)throw new z("Too many math in a row: "+("expected "+u+", but got "+L),N[0])}});for(var S=0;S<h;++S){var k="r",B=0;S%2===1?k="l":S>0&&x&&(B=1),n[S]={type:"align",align:k,pregap:B,postgap:0}}return s.colSeparationType=x?"align":"alignat",s};Ee({type:"array",names:["array","darray"],props:{numArgs:1},handler(r,e){var t=et(e[0]),n=t?[e[0]]:j(e[0],"ordgroup").body,a=n.map(function(s){var u=Qt(s),h=u.text;if("lcr".indexOf(h)!==-1)return{type:"align",align:h};if(h==="|")return{type:"separator",separator:"|"};if(h===":")return{type:"separator",separator:":"};throw new z("Unknown column alignment: "+h,s)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return Ze(r.parser,i,ir(r.envName))},htmlBuilder:Ie,mathmlBuilder:Le});Ee({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(r){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[r.envName.replace("*","")],t="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if(r.envName.charAt(r.envName.length-1)==="*"){var a=r.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),t=a.fetch().text,"lcr".indexOf(t)===-1)throw new z("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:t}]}}var i=Ze(r.parser,n,ir(r.envName)),s=Math.max(0,...i.body.map(u=>u.length));return i.cols=new Array(s).fill({type:"align",align:t}),e?{type:"leftright",mode:r.mode,body:[i],left:e[0],right:e[1],rightColor:void 0}:i},htmlBuilder:Ie,mathmlBuilder:Le});Ee({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(r){var e={arraystretch:.5},t=Ze(r.parser,e,"script");return t.colSeparationType="small",t},htmlBuilder:Ie,mathmlBuilder:Le});Ee({type:"array",names:["subarray"],props:{numArgs:1},handler(r,e){var t=et(e[0]),n=t?[e[0]]:j(e[0],"ordgroup").body,a=n.map(function(s){var u=Qt(s),h=u.text;if("lc".indexOf(h)!==-1)return{type:"align",align:h};throw new z("Unknown column alignment: "+h,s)});if(a.length>1)throw new z("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=Ze(r.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new z("{subarray} can contain only one column");return i},htmlBuilder:Ie,mathmlBuilder:Le});Ee({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(r){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},t=Ze(r.parser,e,ir(r.envName));return{type:"leftright",mode:r.mode,body:[t],left:r.envName.indexOf("r")>-1?".":"\\{",right:r.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Ie,mathmlBuilder:Le});Ee({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:ea,htmlBuilder:Ie,mathmlBuilder:Le});Ee({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(r){["gather","gather*"].includes(r.envName)&&nt(r);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:ar(r.envName),emptySingleRow:!0,leqno:r.parser.settings.leqno};return Ze(r.parser,e,"display")},htmlBuilder:Ie,mathmlBuilder:Le});Ee({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:ea,htmlBuilder:Ie,mathmlBuilder:Le});Ee({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(r){nt(r);var e={autoTag:ar(r.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:r.parser.settings.leqno};return Ze(r.parser,e,"display")},htmlBuilder:Ie,mathmlBuilder:Le});Ee({type:"array",names:["CD"],props:{numArgs:0},handler(r){return nt(r),Ol(r.parser)},htmlBuilder:Ie,mathmlBuilder:Le});m("\\nonumber","\\gdef\\@eqnsw{0}");m("\\notag","\\nonumber");E({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(r,e){throw new z(r.funcName+" valid only within array environment")}});var qr=Jn;E({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(r,e){var{parser:t,funcName:n}=r,a=e[0];if(a.type!=="ordgroup")throw new z("Invalid environment name",a);for(var i="",s=0;s<a.body.length;++s)i+=j(a.body[s],"textord").text;if(n==="\\begin"){if(!qr.hasOwnProperty(i))throw new z("No such environment: "+i,a);var u=qr[i],{args:h,optArgs:d}=t.parseArguments("\\begin{"+i+"}",u),f={mode:t.mode,envName:i,parser:t},g=u.handler(f,h,d);t.expect("\\end",!1);var b=t.nextToken,x=j(t.parseFunction(),"environment");if(x.name!==i)throw new z("Mismatch: \\begin{"+i+"} matched by \\end{"+x.name+"}",b);return g}return{type:"environment",mode:t.mode,name:i,nameGroup:a}}});var ta=(r,e)=>{var t=r.font,n=e.withFont(t);return Y(r.body,n)},ra=(r,e)=>{var t=r.font,n=e.withFont(t);return K(r.body,n)},Fr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};E({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(r,e)=>{var{parser:t,funcName:n}=r,a=Z0(e[0]),i=n;return i in Fr&&(i=Fr[i]),{type:"font",mode:t.mode,font:i.slice(1),body:a}},htmlBuilder:ta,mathmlBuilder:ra});E({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(r,e)=>{var{parser:t}=r,n=e[0],a=_.isCharacterBox(n);return{type:"mclass",mode:t.mode,mclass:tt(n),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:n}],isCharacterBox:a}}});E({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(r,e)=>{var{parser:t,funcName:n,breakOnTokenText:a}=r,{mode:i}=t,s=t.parseExpression(!0,a),u="math"+n.slice(1);return{type:"font",mode:i,font:u,body:{type:"ordgroup",mode:t.mode,body:s}}},htmlBuilder:ta,mathmlBuilder:ra});var na=(r,e)=>{var t=e;return r==="display"?t=t.id>=F.SCRIPT.id?t.text():F.DISPLAY:r==="text"&&t.size===F.DISPLAY.size?t=F.TEXT:r==="script"?t=F.SCRIPT:r==="scriptscript"&&(t=F.SCRIPTSCRIPT),t},lr=(r,e)=>{var t=na(r.size,e.style),n=t.fracNum(),a=t.fracDen(),i;i=e.havingStyle(n);var s=Y(r.numer,i,e);if(r.continued){var u=8.5/e.fontMetrics().ptPerEm,h=3.5/e.fontMetrics().ptPerEm;s.height=s.height<u?u:s.height,s.depth=s.depth<h?h:s.depth}i=e.havingStyle(a);var d=Y(r.denom,i,e),f,g,b;r.hasBarLine?(r.barSize?(g=te(r.barSize,e),f=w.makeLineSpan("frac-line",e,g)):f=w.makeLineSpan("frac-line",e),g=f.height,b=f.height):(f=null,g=0,b=e.fontMetrics().defaultRuleThickness);var x,S,k;t.size===F.DISPLAY.size||r.size==="display"?(x=e.fontMetrics().num1,g>0?S=3*b:S=7*b,k=e.fontMetrics().denom1):(g>0?(x=e.fontMetrics().num2,S=b):(x=e.fontMetrics().num3,S=3*b),k=e.fontMetrics().denom2);var B;if(f){var T=e.fontMetrics().axisHeight;x-s.depth-(T+.5*g)<S&&(x+=S-(x-s.depth-(T+.5*g))),T-.5*g-(d.height-k)<S&&(k+=S-(T-.5*g-(d.height-k)));var H=-(T-.5*g);B=w.makeVList({positionType:"individualShift",children:[{type:"elem",elem:d,shift:k},{type:"elem",elem:f,shift:H},{type:"elem",elem:s,shift:-x}]},e)}else{var N=x-s.depth-(d.height-k);N<S&&(x+=.5*(S-N),k+=.5*(S-N)),B=w.makeVList({positionType:"individualShift",children:[{type:"elem",elem:d,shift:k},{type:"elem",elem:s,shift:-x}]},e)}i=e.havingStyle(t),B.height*=i.sizeMultiplier/e.sizeMultiplier,B.depth*=i.sizeMultiplier/e.sizeMultiplier;var R;t.size===F.DISPLAY.size?R=e.fontMetrics().delim1:t.size===F.SCRIPTSCRIPT.size?R=e.havingStyle(F.SCRIPT).fontMetrics().delim2:R=e.fontMetrics().delim2;var L,O;return r.leftDelim==null?L=w0(e,["mopen"]):L=Fe.customSizedDelim(r.leftDelim,R,!0,e.havingStyle(t),r.mode,["mopen"]),r.continued?O=w.makeSpan([]):r.rightDelim==null?O=w0(e,["mclose"]):O=Fe.customSizedDelim(r.rightDelim,R,!0,e.havingStyle(t),r.mode,["mclose"]),w.makeSpan(["mord"].concat(i.sizingClasses(e)),[L,w.makeSpan(["mfrac"],[B]),O],e)},sr=(r,e)=>{var t=new A.MathNode("mfrac",[K(r.numer,e),K(r.denom,e)]);if(!r.hasBarLine)t.setAttribute("linethickness","0px");else if(r.barSize){var n=te(r.barSize,e);t.setAttribute("linethickness",D(n))}var a=na(r.size,e.style);if(a.size!==e.style.size){t=new A.MathNode("mstyle",[t]);var i=a.size===F.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",i),t.setAttribute("scriptlevel","0")}if(r.leftDelim!=null||r.rightDelim!=null){var s=[];if(r.leftDelim!=null){var u=new A.MathNode("mo",[new A.TextNode(r.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),s.push(u)}if(s.push(t),r.rightDelim!=null){var h=new A.MathNode("mo",[new A.TextNode(r.rightDelim.replace("\\",""))]);h.setAttribute("fence","true"),s.push(h)}return Zt(s)}return t};E({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(r,e)=>{var{parser:t,funcName:n}=r,a=e[0],i=e[1],s,u=null,h=null,d="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,u="(",h=")";break;case"\\\\bracefrac":s=!1,u="\\{",h="\\}";break;case"\\\\brackfrac":s=!1,u="[",h="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":d="display";break;case"\\tfrac":case"\\tbinom":d="text";break}return{type:"genfrac",mode:t.mode,continued:!1,numer:a,denom:i,hasBarLine:s,leftDelim:u,rightDelim:h,size:d,barSize:null}},htmlBuilder:lr,mathmlBuilder:sr});E({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(r,e)=>{var{parser:t,funcName:n}=r,a=e[0],i=e[1];return{type:"genfrac",mode:t.mode,continued:!0,numer:a,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});E({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(r){var{parser:e,funcName:t,token:n}=r,a;switch(t){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:a,token:n}}});var Pr=["display","text","script","scriptscript"],Hr=function(e){var t=null;return e.length>0&&(t=e,t=t==="."?null:t),t};E({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(r,e){var{parser:t}=r,n=e[4],a=e[5],i=Z0(e[0]),s=i.type==="atom"&&i.family==="open"?Hr(i.text):null,u=Z0(e[1]),h=u.type==="atom"&&u.family==="close"?Hr(u.text):null,d=j(e[2],"size"),f,g=null;d.isBlank?f=!0:(g=d.value,f=g.number>0);var b="auto",x=e[3];if(x.type==="ordgroup"){if(x.body.length>0){var S=j(x.body[0],"textord");b=Pr[Number(S.text)]}}else x=j(x,"textord"),b=Pr[Number(x.text)];return{type:"genfrac",mode:t.mode,numer:n,denom:a,continued:!1,hasBarLine:f,barSize:g,leftDelim:s,rightDelim:h,size:b}},htmlBuilder:lr,mathmlBuilder:sr});E({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(r,e){var{parser:t,funcName:n,token:a}=r;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:j(e[0],"size").value,token:a}}});E({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(r,e)=>{var{parser:t,funcName:n}=r,a=e[0],i=Ai(j(e[1],"infix").size),s=e[2],u=i.number>0;return{type:"genfrac",mode:t.mode,numer:a,denom:s,continued:!1,hasBarLine:u,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:lr,mathmlBuilder:sr});var aa=(r,e)=>{var t=e.style,n,a;r.type==="supsub"?(n=r.sup?Y(r.sup,e.havingStyle(t.sup()),e):Y(r.sub,e.havingStyle(t.sub()),e),a=j(r.base,"horizBrace")):a=j(r,"horizBrace");var i=Y(a.base,e.havingBaseStyle(F.DISPLAY)),s=Ve.svgSpan(a,e),u;if(a.isOver?(u=w.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:s}]},e),u.children[0].children[0].children[1].classes.push("svg-align")):(u=w.makeVList({positionType:"bottom",positionData:i.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i}]},e),u.children[0].children[0].children[0].classes.push("svg-align")),n){var h=w.makeSpan(["mord",a.isOver?"mover":"munder"],[u],e);a.isOver?u=w.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:h},{type:"kern",size:.2},{type:"elem",elem:n}]},e):u=w.makeVList({positionType:"bottom",positionData:h.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:h}]},e)}return w.makeSpan(["mord",a.isOver?"mover":"munder"],[u],e)},Kl=(r,e)=>{var t=Ve.mathMLnode(r.label);return new A.MathNode(r.isOver?"mover":"munder",[K(r.base,e),t])};E({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(r,e){var{parser:t,funcName:n}=r;return{type:"horizBrace",mode:t.mode,label:n,isOver:/^\\over/.test(n),base:e[0]}},htmlBuilder:aa,mathmlBuilder:Kl});E({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(r,e)=>{var{parser:t}=r,n=e[1],a=j(e[0],"url").url;return t.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:t.mode,href:a,body:ae(n)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(r,e)=>{var t=se(r.body,e,!1);return w.makeAnchor(r.href,[],t,e)},mathmlBuilder:(r,e)=>{var t=Ke(r.body,e);return t instanceof xe||(t=new xe("mrow",[t])),t.setAttribute("href",r.href),t}});E({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(r,e)=>{var{parser:t}=r,n=j(e[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:n}))return t.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<n.length;i++){var s=n[i];s==="~"&&(s="\\textasciitilde"),a.push({type:"textord",mode:"text",text:s})}var u={type:"text",mode:t.mode,font:"\\texttt",body:a};return{type:"href",mode:t.mode,href:n,body:ae(u)}}});E({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(r,e){var{parser:t}=r;return{type:"hbox",mode:t.mode,body:ae(e[0])}},htmlBuilder(r,e){var t=se(r.body,e,!1);return w.makeFragment(t)},mathmlBuilder(r,e){return new A.MathNode("mrow",ge(r.body,e))}});E({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(r,e)=>{var{parser:t,funcName:n,token:a}=r,i=j(e[0],"raw").string,s=e[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u,h={};switch(n){case"\\htmlClass":h.class=i,u={command:"\\htmlClass",class:i};break;case"\\htmlId":h.id=i,u={command:"\\htmlId",id:i};break;case"\\htmlStyle":h.style=i,u={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var d=i.split(","),f=0;f<d.length;f++){var g=d[f],b=g.indexOf("=");if(b<0)throw new z("\\htmlData key/value '"+g+"' missing equals sign");var x=g.slice(0,b),S=g.slice(b+1);h["data-"+x.trim()]=S}u={command:"\\htmlData",attributes:h};break}default:throw new Error("Unrecognized html command")}return t.settings.isTrusted(u)?{type:"html",mode:t.mode,attributes:h,body:ae(s)}:t.formatUnsupportedCmd(n)},htmlBuilder:(r,e)=>{var t=se(r.body,e,!1),n=["enclosing"];r.attributes.class&&n.push(...r.attributes.class.trim().split(/\s+/));var a=w.makeSpan(n,t,e);for(var i in r.attributes)i!=="class"&&r.attributes.hasOwnProperty(i)&&a.setAttribute(i,r.attributes[i]);return a},mathmlBuilder:(r,e)=>Ke(r.body,e)});E({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(r,e)=>{var{parser:t}=r;return{type:"htmlmathml",mode:t.mode,html:ae(e[0]),mathml:ae(e[1])}},htmlBuilder:(r,e)=>{var t=se(r.html,e,!1);return w.makeFragment(t)},mathmlBuilder:(r,e)=>Ke(r.mathml,e)});var kt=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 z("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(t[1]+t[2]),unit:t[3]};if(!Sn(n))throw new z("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};E({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(r,e,t)=>{var{parser:n}=r,a={number:0,unit:"em"},i={number:.9,unit:"em"},s={number:0,unit:"em"},u="";if(t[0])for(var h=j(t[0],"raw").string,d=h.split(","),f=0;f<d.length;f++){var g=d[f].split("=");if(g.length===2){var b=g[1].trim();switch(g[0].trim()){case"alt":u=b;break;case"width":a=kt(b);break;case"height":i=kt(b);break;case"totalheight":s=kt(b);break;default:throw new z("Invalid key: '"+g[0]+"' in \\includegraphics.")}}}var x=j(e[0],"url").url;return u===""&&(u=x,u=u.replace(/^.*[\\/]/,""),u=u.substring(0,u.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:x})?{type:"includegraphics",mode:n.mode,alt:u,width:a,height:i,totalheight:s,src:x}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(r,e)=>{var t=te(r.height,e),n=0;r.totalheight.number>0&&(n=te(r.totalheight,e)-t);var a=0;r.width.number>0&&(a=te(r.width,e));var i={height:D(t+n)};a>0&&(i.width=D(a)),n>0&&(i.verticalAlign=D(-n));var s=new Ki(r.src,r.alt,i);return s.height=t,s.depth=n,s},mathmlBuilder:(r,e)=>{var t=new A.MathNode("mglyph",[]);t.setAttribute("alt",r.alt);var n=te(r.height,e),a=0;if(r.totalheight.number>0&&(a=te(r.totalheight,e)-n,t.setAttribute("valign",D(-a))),t.setAttribute("height",D(n+a)),r.width.number>0){var i=te(r.width,e);t.setAttribute("width",D(i))}return t.setAttribute("src",r.src),t}});E({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(r,e){var{parser:t,funcName:n}=r,a=j(e[0],"size");if(t.settings.strict){var i=n[1]==="m",s=a.value.unit==="mu";i?(s||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:a.value}},htmlBuilder(r,e){return w.makeGlue(r.dimension,e)},mathmlBuilder(r,e){var t=te(r.dimension,e);return new A.SpaceNode(t)}});E({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(r,e)=>{var{parser:t,funcName:n}=r,a=e[0];return{type:"lap",mode:t.mode,alignment:n.slice(5),body:a}},htmlBuilder:(r,e)=>{var t;r.alignment==="clap"?(t=w.makeSpan([],[Y(r.body,e)]),t=w.makeSpan(["inner"],[t],e)):t=w.makeSpan(["inner"],[Y(r.body,e)]);var n=w.makeSpan(["fix"],[]),a=w.makeSpan([r.alignment],[t,n],e),i=w.makeSpan(["strut"]);return i.style.height=D(a.height+a.depth),a.depth&&(i.style.verticalAlign=D(-a.depth)),a.children.unshift(i),a=w.makeSpan(["thinbox"],[a],e),w.makeSpan(["mord","vbox"],[a],e)},mathmlBuilder:(r,e)=>{var t=new A.MathNode("mpadded",[K(r.body,e)]);if(r.alignment!=="rlap"){var n=r.alignment==="llap"?"-1":"-0.5";t.setAttribute("lspace",n+"width")}return t.setAttribute("width","0px"),t}});E({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(r,e){var{funcName:t,parser:n}=r,a=n.mode;n.switchMode("math");var i=t==="\\("?"\\)":"$",s=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:s}}});E({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(r,e){throw new z("Mismatched "+r.funcName)}});var Vr=(r,e)=>{switch(e.style.size){case F.DISPLAY.size:return r.display;case F.TEXT.size:return r.text;case F.SCRIPT.size:return r.script;case F.SCRIPTSCRIPT.size:return r.scriptscript;default:return r.text}};E({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(r,e)=>{var{parser:t}=r;return{type:"mathchoice",mode:t.mode,display:ae(e[0]),text:ae(e[1]),script:ae(e[2]),scriptscript:ae(e[3])}},htmlBuilder:(r,e)=>{var t=Vr(r,e),n=se(t,e,!1);return w.makeFragment(n)},mathmlBuilder:(r,e)=>{var t=Vr(r,e);return Ke(t,e)}});var ia=(r,e,t,n,a,i,s)=>{r=w.makeSpan([],[r]);var u=t&&_.isCharacterBox(t),h,d;if(e){var f=Y(e,n.havingStyle(a.sup()),n);d={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-f.depth)}}if(t){var g=Y(t,n.havingStyle(a.sub()),n);h={elem:g,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-g.height)}}var b;if(d&&h){var x=n.fontMetrics().bigOpSpacing5+h.elem.height+h.elem.depth+h.kern+r.depth+s;b=w.makeVList({positionType:"bottom",positionData:x,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:h.elem,marginLeft:D(-i)},{type:"kern",size:h.kern},{type:"elem",elem:r},{type:"kern",size:d.kern},{type:"elem",elem:d.elem,marginLeft:D(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(h){var S=r.height-s;b=w.makeVList({positionType:"top",positionData:S,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:h.elem,marginLeft:D(-i)},{type:"kern",size:h.kern},{type:"elem",elem:r}]},n)}else if(d){var k=r.depth+s;b=w.makeVList({positionType:"bottom",positionData:k,children:[{type:"elem",elem:r},{type:"kern",size:d.kern},{type:"elem",elem:d.elem,marginLeft:D(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return r;var B=[b];if(h&&i!==0&&!u){var N=w.makeSpan(["mspace"],[],n);N.style.marginRight=D(i),B.unshift(N)}return w.makeSpan(["mop","op-limits"],B,n)},la=["\\smallint"],f0=(r,e)=>{var t,n,a=!1,i;r.type==="supsub"?(t=r.sup,n=r.sub,i=j(r.base,"op"),a=!0):i=j(r,"op");var s=e.style,u=!1;s.size===F.DISPLAY.size&&i.symbol&&!la.includes(i.name)&&(u=!0);var h;if(i.symbol){var d=u?"Size2-Regular":"Size1-Regular",f="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(f=i.name.slice(1),i.name=f==="oiint"?"\\iint":"\\iiint"),h=w.makeSymbol(i.name,d,"math",e,["mop","op-symbol",u?"large-op":"small-op"]),f.length>0){var g=h.italic,b=w.staticSvg(f+"Size"+(u?"2":"1"),e);h=w.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:0},{type:"elem",elem:b,shift:u?.08:0}]},e),i.name="\\"+f,h.classes.unshift("mop"),h.italic=g}}else if(i.body){var x=se(i.body,e,!0);x.length===1&&x[0]instanceof Ae?(h=x[0],h.classes[0]="mop"):h=w.makeSpan(["mop"],x,e)}else{for(var S=[],k=1;k<i.name.length;k++)S.push(w.mathsym(i.name[k],i.mode,e));h=w.makeSpan(["mop"],S,e)}var B=0,N=0;return(h instanceof Ae||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(B=(h.height-h.depth)/2-e.fontMetrics().axisHeight,N=h.italic),a?ia(h,t,n,e,s,N,B):(B&&(h.style.position="relative",h.style.top=D(B)),h)},A0=(r,e)=>{var t;if(r.symbol)t=new xe("mo",[ze(r.name,r.mode)]),la.includes(r.name)&&t.setAttribute("largeop","false");else if(r.body)t=new xe("mo",ge(r.body,e));else{t=new xe("mi",[new Ne(r.name.slice(1))]);var n=new xe("mo",[ze("⁡","text")]);r.parentIsSupSub?t=new xe("mrow",[t,n]):t=Ln([t,n])}return t},Zl={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};E({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(r,e)=>{var{parser:t,funcName:n}=r,a=n;return a.length===1&&(a=Zl[a]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:f0,mathmlBuilder:A0});E({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(r,e)=>{var{parser:t}=r,n=e[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ae(n)}},htmlBuilder:f0,mathmlBuilder:A0});var Jl={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};E({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(r){var{parser:e,funcName:t}=r;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:f0,mathmlBuilder:A0});E({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(r){var{parser:e,funcName:t}=r;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:f0,mathmlBuilder:A0});E({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(r){var{parser:e,funcName:t}=r,n=t;return n.length===1&&(n=Jl[n]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:f0,mathmlBuilder:A0});var sa=(r,e)=>{var t,n,a=!1,i;r.type==="supsub"?(t=r.sup,n=r.sub,i=j(r.base,"operatorname"),a=!0):i=j(r,"operatorname");var s;if(i.body.length>0){for(var u=i.body.map(g=>{var b=g.text;return typeof b=="string"?{type:"textord",mode:g.mode,text:b}:g}),h=se(u,e.withFont("mathrm"),!0),d=0;d<h.length;d++){var f=h[d];f instanceof Ae&&(f.text=f.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=w.makeSpan(["mop"],h,e)}else s=w.makeSpan(["mop"],[],e);return a?ia(s,t,n,e,e.style,0,0):s},Ql=(r,e)=>{for(var t=ge(r.body,e.withFont("mathrm")),n=!0,a=0;a<t.length;a++){var i=t[a];if(!(i instanceof A.SpaceNode))if(i instanceof A.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var s=i.children[0];i.children.length===1&&s instanceof A.TextNode?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var u=t.map(f=>f.toText()).join("");t=[new A.TextNode(u)]}var h=new A.MathNode("mi",t);h.setAttribute("mathvariant","normal");var d=new A.MathNode("mo",[ze("⁡","text")]);return r.parentIsSupSub?new A.MathNode("mrow",[h,d]):A.newDocumentFragment([h,d])};E({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(r,e)=>{var{parser:t,funcName:n}=r,a=e[0];return{type:"operatorname",mode:t.mode,body:ae(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:sa,mathmlBuilder:Ql});m("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");t0({type:"ordgroup",htmlBuilder(r,e){return r.semisimple?w.makeFragment(se(r.body,e,!1)):w.makeSpan(["mord"],se(r.body,e,!0),e)},mathmlBuilder(r,e){return Ke(r.body,e,!0)}});E({type:"overline",names:["\\overline"],props:{numArgs:1},handler(r,e){var{parser:t}=r,n=e[0];return{type:"overline",mode:t.mode,body:n}},htmlBuilder(r,e){var t=Y(r.body,e.havingCrampedStyle()),n=w.makeLineSpan("overline-line",e),a=e.fontMetrics().defaultRuleThickness,i=w.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]},e);return w.makeSpan(["mord","overline"],[i],e)},mathmlBuilder(r,e){var t=new A.MathNode("mo",[new A.TextNode("‾")]);t.setAttribute("stretchy","true");var n=new A.MathNode("mover",[K(r.body,e),t]);return n.setAttribute("accent","true"),n}});E({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(r,e)=>{var{parser:t}=r,n=e[0];return{type:"phantom",mode:t.mode,body:ae(n)}},htmlBuilder:(r,e)=>{var t=se(r.body,e.withPhantom(),!1);return w.makeFragment(t)},mathmlBuilder:(r,e)=>{var t=ge(r.body,e);return new A.MathNode("mphantom",t)}});E({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(r,e)=>{var{parser:t}=r,n=e[0];return{type:"hphantom",mode:t.mode,body:n}},htmlBuilder:(r,e)=>{var t=w.makeSpan([],[Y(r.body,e.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var n=0;n<t.children.length;n++)t.children[n].height=0,t.children[n].depth=0;return t=w.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t}]},e),w.makeSpan(["mord"],[t],e)},mathmlBuilder:(r,e)=>{var t=ge(ae(r.body),e),n=new A.MathNode("mphantom",t),a=new A.MathNode("mpadded",[n]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});E({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(r,e)=>{var{parser:t}=r,n=e[0];return{type:"vphantom",mode:t.mode,body:n}},htmlBuilder:(r,e)=>{var t=w.makeSpan(["inner"],[Y(r.body,e.withPhantom())]),n=w.makeSpan(["fix"],[]);return w.makeSpan(["mord","rlap"],[t,n],e)},mathmlBuilder:(r,e)=>{var t=ge(ae(r.body),e),n=new A.MathNode("mphantom",t),a=new A.MathNode("mpadded",[n]);return a.setAttribute("width","0px"),a}});E({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(r,e){var{parser:t}=r,n=j(e[0],"size").value,a=e[1];return{type:"raisebox",mode:t.mode,dy:n,body:a}},htmlBuilder(r,e){var t=Y(r.body,e),n=te(r.dy,e);return w.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(r,e){var t=new A.MathNode("mpadded",[K(r.body,e)]),n=r.dy.number+r.dy.unit;return t.setAttribute("voffset",n),t}});E({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(r){var{parser:e}=r;return{type:"internal",mode:e.mode}}});E({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(r,e,t){var{parser:n}=r,a=t[0],i=j(e[0],"size"),s=j(e[1],"size");return{type:"rule",mode:n.mode,shift:a&&j(a,"size").value,width:i.value,height:s.value}},htmlBuilder(r,e){var t=w.makeSpan(["mord","rule"],[],e),n=te(r.width,e),a=te(r.height,e),i=r.shift?te(r.shift,e):0;return t.style.borderRightWidth=D(n),t.style.borderTopWidth=D(a),t.style.bottom=D(i),t.width=n,t.height=a+i,t.depth=-i,t.maxFontSize=a*1.125*e.sizeMultiplier,t},mathmlBuilder(r,e){var t=te(r.width,e),n=te(r.height,e),a=r.shift?te(r.shift,e):0,i=e.color&&e.getColor()||"black",s=new A.MathNode("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",D(t)),s.setAttribute("height",D(n));var u=new A.MathNode("mpadded",[s]);return a>=0?u.setAttribute("height",D(a)):(u.setAttribute("height",D(a)),u.setAttribute("depth",D(-a))),u.setAttribute("voffset",D(a)),u}});function oa(r,e,t){for(var n=se(r,e,!1),a=e.sizeMultiplier/t.sizeMultiplier,i=0;i<n.length;i++){var s=n[i].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[i].classes,e.sizingClasses(t)):n[i].classes[s+1]==="reset-size"+e.size&&(n[i].classes[s+1]="reset-size"+t.size),n[i].height*=a,n[i].depth*=a}return w.makeFragment(n)}var Ur=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],es=(r,e)=>{var t=e.havingSize(r.size);return oa(r.body,t,e)};E({type:"sizing",names:Ur,props:{numArgs:0,allowedInText:!0},handler:(r,e)=>{var{breakOnTokenText:t,funcName:n,parser:a}=r,i=a.parseExpression(!1,t);return{type:"sizing",mode:a.mode,size:Ur.indexOf(n)+1,body:i}},htmlBuilder:es,mathmlBuilder:(r,e)=>{var t=e.havingSize(r.size),n=ge(r.body,t),a=new A.MathNode("mstyle",n);return a.setAttribute("mathsize",D(t.sizeMultiplier)),a}});E({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(r,e,t)=>{var{parser:n}=r,a=!1,i=!1,s=t[0]&&j(t[0],"ordgroup");if(s)for(var u="",h=0;h<s.body.length;++h){var d=s.body[h];if(u=d.text,u==="t")a=!0;else if(u==="b")i=!0;else{a=!1,i=!1;break}}else a=!0,i=!0;var f=e[0];return{type:"smash",mode:n.mode,body:f,smashHeight:a,smashDepth:i}},htmlBuilder:(r,e)=>{var t=w.makeSpan([],[Y(r.body,e)]);if(!r.smashHeight&&!r.smashDepth)return t;if(r.smashHeight&&(t.height=0,t.children))for(var n=0;n<t.children.length;n++)t.children[n].height=0;if(r.smashDepth&&(t.depth=0,t.children))for(var a=0;a<t.children.length;a++)t.children[a].depth=0;var i=w.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t}]},e);return w.makeSpan(["mord"],[i],e)},mathmlBuilder:(r,e)=>{var t=new A.MathNode("mpadded",[K(r.body,e)]);return r.smashHeight&&t.setAttribute("height","0px"),r.smashDepth&&t.setAttribute("depth","0px"),t}});E({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(r,e,t){var{parser:n}=r,a=t[0],i=e[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(r,e){var t=Y(r.body,e.havingCrampedStyle());t.height===0&&(t.height=e.fontMetrics().xHeight),t=w.wrapFragment(t,e);var n=e.fontMetrics(),a=n.defaultRuleThickness,i=a;e.style.id<F.TEXT.id&&(i=e.fontMetrics().xHeight);var s=a+i/4,u=t.height+t.depth+s+a,{span:h,ruleWidth:d,advanceWidth:f}=Fe.sqrtImage(u,e),g=h.height-d;g>t.height+t.depth+s&&(s=(s+g-t.height-t.depth)/2);var b=h.height-t.height-s-d;t.style.paddingLeft=D(f);var x=w.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+b)},{type:"elem",elem:h},{type:"kern",size:d}]},e);if(r.index){var S=e.havingStyle(F.SCRIPTSCRIPT),k=Y(r.index,S,e),B=.6*(x.height-x.depth),N=w.makeVList({positionType:"shift",positionData:-B,children:[{type:"elem",elem:k}]},e),T=w.makeSpan(["root"],[N]);return w.makeSpan(["mord","sqrt"],[T,x],e)}else return w.makeSpan(["mord","sqrt"],[x],e)},mathmlBuilder(r,e){var{body:t,index:n}=r;return n?new A.MathNode("mroot",[K(t,e),K(n,e)]):new A.MathNode("msqrt",[K(t,e)])}});var $r={display:F.DISPLAY,text:F.TEXT,script:F.SCRIPT,scriptscript:F.SCRIPTSCRIPT};E({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(r,e){var{breakOnTokenText:t,funcName:n,parser:a}=r,i=a.parseExpression(!0,t),s=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:s,body:i}},htmlBuilder(r,e){var t=$r[r.style],n=e.havingStyle(t).withFont("");return oa(r.body,n,e)},mathmlBuilder(r,e){var t=$r[r.style],n=e.havingStyle(t),a=ge(r.body,n),i=new A.MathNode("mstyle",a),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=s[r.style];return i.setAttribute("scriptlevel",u[0]),i.setAttribute("displaystyle",u[1]),i}});var ts=function(e,t){var n=e.base;if(n)if(n.type==="op"){var a=n.limits&&(t.style.size===F.DISPLAY.size||n.alwaysHandleSupSub);return a?f0:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(t.style.size===F.DISPLAY.size||n.limits);return i?sa:null}else{if(n.type==="accent")return _.isCharacterBox(n.base)?er:null;if(n.type==="horizBrace"){var s=!e.sub;return s===n.isOver?aa:null}else return null}else return null};t0({type:"supsub",htmlBuilder(r,e){var t=ts(r,e);if(t)return t(r,e);var{base:n,sup:a,sub:i}=r,s=Y(n,e),u,h,d=e.fontMetrics(),f=0,g=0,b=n&&_.isCharacterBox(n);if(a){var x=e.havingStyle(e.style.sup());u=Y(a,x,e),b||(f=s.height-x.fontMetrics().supDrop*x.sizeMultiplier/e.sizeMultiplier)}if(i){var S=e.havingStyle(e.style.sub());h=Y(i,S,e),b||(g=s.depth+S.fontMetrics().subDrop*S.sizeMultiplier/e.sizeMultiplier)}var k;e.style===F.DISPLAY?k=d.sup1:e.style.cramped?k=d.sup3:k=d.sup2;var B=e.sizeMultiplier,N=D(.5/d.ptPerEm/B),T=null;if(h){var H=r.base&&r.base.type==="op"&&r.base.name&&(r.base.name==="\\oiint"||r.base.name==="\\oiiint");(s instanceof Ae||H)&&(T=D(-s.italic))}var R;if(u&&h){f=Math.max(f,k,u.depth+.25*d.xHeight),g=Math.max(g,d.sub2);var L=d.defaultRuleThickness,O=4*L;if(f-u.depth-(h.height-g)<O){g=O-(f-u.depth)+h.height;var P=.8*d.xHeight-(f-u.depth);P>0&&(f+=P,g-=P)}var $=[{type:"elem",elem:h,shift:g,marginRight:N,marginLeft:T},{type:"elem",elem:u,shift:-f,marginRight:N}];R=w.makeVList({positionType:"individualShift",children:$},e)}else if(h){g=Math.max(g,d.sub1,h.height-.8*d.xHeight);var U=[{type:"elem",elem:h,marginLeft:T,marginRight:N}];R=w.makeVList({positionType:"shift",positionData:g,children:U},e)}else if(u)f=Math.max(f,k,u.depth+.25*d.xHeight),R=w.makeVList({positionType:"shift",positionData:-f,children:[{type:"elem",elem:u,marginRight:N}]},e);else throw new Error("supsub must have either sup or sub.");var oe=It(s,"right")||"mord";return w.makeSpan([oe],[s,w.makeSpan(["msupsub"],[R])],e)},mathmlBuilder(r,e){var t=!1,n,a;r.base&&r.base.type==="horizBrace"&&(a=!!r.sup,a===r.base.isOver&&(t=!0,n=r.base.isOver)),r.base&&(r.base.type==="op"||r.base.type==="operatorname")&&(r.base.parentIsSupSub=!0);var i=[K(r.base,e)];r.sub&&i.push(K(r.sub,e)),r.sup&&i.push(K(r.sup,e));var s;if(t)s=n?"mover":"munder";else if(r.sub)if(r.sup){var d=r.base;d&&d.type==="op"&&d.limits&&e.style===F.DISPLAY||d&&d.type==="operatorname"&&d.alwaysHandleSupSub&&(e.style===F.DISPLAY||d.limits)?s="munderover":s="msubsup"}else{var h=r.base;h&&h.type==="op"&&h.limits&&(e.style===F.DISPLAY||h.alwaysHandleSupSub)||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(h.limits||e.style===F.DISPLAY)?s="munder":s="msub"}else{var u=r.base;u&&u.type==="op"&&u.limits&&(e.style===F.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||e.style===F.DISPLAY)?s="mover":s="msup"}return new A.MathNode(s,i)}});t0({type:"atom",htmlBuilder(r,e){return w.mathsym(r.text,r.mode,e,["m"+r.family])},mathmlBuilder(r,e){var t=new A.MathNode("mo",[ze(r.text,r.mode)]);if(r.family==="bin"){var n=Jt(r,e);n==="bold-italic"&&t.setAttribute("mathvariant",n)}else r.family==="punct"?t.setAttribute("separator","true"):(r.family==="open"||r.family==="close")&&t.setAttribute("stretchy","false");return t}});var ua={mi:"italic",mn:"normal",mtext:"normal"};t0({type:"mathord",htmlBuilder(r,e){return w.makeOrd(r,e,"mathord")},mathmlBuilder(r,e){var t=new A.MathNode("mi",[ze(r.text,r.mode,e)]),n=Jt(r,e)||"italic";return n!==ua[t.type]&&t.setAttribute("mathvariant",n),t}});t0({type:"textord",htmlBuilder(r,e){return w.makeOrd(r,e,"textord")},mathmlBuilder(r,e){var t=ze(r.text,r.mode,e),n=Jt(r,e)||"normal",a;return r.mode==="text"?a=new A.MathNode("mtext",[t]):/[0-9]/.test(r.text)?a=new A.MathNode("mn",[t]):r.text==="\\prime"?a=new A.MathNode("mo",[t]):a=new A.MathNode("mi",[t]),n!==ua[a.type]&&a.setAttribute("mathvariant",n),a}});var St={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Mt={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};t0({type:"spacing",htmlBuilder(r,e){if(Mt.hasOwnProperty(r.text)){var t=Mt[r.text].className||"";if(r.mode==="text"){var n=w.makeOrd(r,e,"textord");return n.classes.push(t),n}else return w.makeSpan(["mspace",t],[w.mathsym(r.text,r.mode,e)],e)}else{if(St.hasOwnProperty(r.text))return w.makeSpan(["mspace",St[r.text]],[],e);throw new z('Unknown type of space "'+r.text+'"')}},mathmlBuilder(r,e){var t;if(Mt.hasOwnProperty(r.text))t=new A.MathNode("mtext",[new A.TextNode(" ")]);else{if(St.hasOwnProperty(r.text))return new A.MathNode("mspace");throw new z('Unknown type of space "'+r.text+'"')}return t}});var Gr=()=>{var r=new A.MathNode("mtd",[]);return r.setAttribute("width","50%"),r};t0({type:"tag",mathmlBuilder(r,e){var t=new A.MathNode("mtable",[new A.MathNode("mtr",[Gr(),new A.MathNode("mtd",[Ke(r.body,e)]),Gr(),new A.MathNode("mtd",[Ke(r.tag,e)])])]);return t.setAttribute("width","100%"),t}});var Wr={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},jr={"\\textbf":"textbf","\\textmd":"textmd"},rs={"\\textit":"textit","\\textup":"textup"},Xr=(r,e)=>{var t=r.font;if(t){if(Wr[t])return e.withTextFontFamily(Wr[t]);if(jr[t])return e.withTextFontWeight(jr[t]);if(t==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(rs[t])};E({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(r,e){var{parser:t,funcName:n}=r,a=e[0];return{type:"text",mode:t.mode,body:ae(a),font:n}},htmlBuilder(r,e){var t=Xr(r,e),n=se(r.body,t,!0);return w.makeSpan(["mord","text"],n,t)},mathmlBuilder(r,e){var t=Xr(r,e);return Ke(r.body,t)}});E({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(r,e){var{parser:t}=r;return{type:"underline",mode:t.mode,body:e[0]}},htmlBuilder(r,e){var t=Y(r.body,e),n=w.makeLineSpan("underline-line",e),a=e.fontMetrics().defaultRuleThickness,i=w.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:t}]},e);return w.makeSpan(["mord","underline"],[i],e)},mathmlBuilder(r,e){var t=new A.MathNode("mo",[new A.TextNode("‾")]);t.setAttribute("stretchy","true");var n=new A.MathNode("munder",[K(r.body,e),t]);return n.setAttribute("accentunder","true"),n}});E({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(r,e){var{parser:t}=r;return{type:"vcenter",mode:t.mode,body:e[0]}},htmlBuilder(r,e){var t=Y(r.body,e),n=e.fontMetrics().axisHeight,a=.5*(t.height-n-(t.depth+n));return w.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(r,e){return new A.MathNode("mpadded",[K(r.body,e)],["vcenter"])}});E({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(r,e,t){throw new z("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(r,e){for(var t=Yr(r),n=[],a=e.havingStyle(e.style.text()),i=0;i<t.length;i++){var s=t[i];s==="~"&&(s="\\textasciitilde"),n.push(w.makeSymbol(s,"Typewriter-Regular",r.mode,a,["mord","texttt"]))}return w.makeSpan(["mord","text"].concat(a.sizingClasses(e)),w.tryCombineChars(n),a)},mathmlBuilder(r,e){var t=new A.TextNode(Yr(r)),n=new A.MathNode("mtext",[t]);return n.setAttribute("mathvariant","monospace"),n}});var Yr=r=>r.body.replace(/ /g,r.star?"␣":" "),Xe=En,ha=`[ \r
261
+ ]`,ns="\\\\[a-zA-Z@]+",as="\\\\[^\uD800-\uDFFF]",is="("+ns+")"+ha+"*",ls=`\\\\(
262
+ |[ \r ]+
263
+ ?)[ \r ]*`,qt="[̀-ͯ]",ss=new RegExp(qt+"+$"),os="("+ha+"+)|"+(ls+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(qt+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(qt+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+is)+("|"+as+")");class _r{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(os,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new we("EOF",new ve(this,t,t));var n=this.tokenRegex.exec(e);if(n===null||n.index!==t)throw new z("Unexpected character: '"+e[t]+"'",new we(e[t],new ve(this,t,t+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=e.indexOf(`
264
+ `,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new we(a,new ve(this,t,this.tokenRegex.lastIndex))}}class us{constructor(e,t){e===void 0&&(e={}),t===void 0&&(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(this.undefStack.length===0)throw new z("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(e[t]==null?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(n===void 0&&(n=!1),n){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}t==null?delete this.current[e]:this.current[e]=t}}var hs=Qn;m("\\noexpand",function(r){var e=r.popToken();return r.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});m("\\expandafter",function(r){var e=r.popToken();return r.expandOnce(!0),{tokens:[e],numArgs:0}});m("\\@firstoftwo",function(r){var e=r.consumeArgs(2);return{tokens:e[0],numArgs:0}});m("\\@secondoftwo",function(r){var e=r.consumeArgs(2);return{tokens:e[1],numArgs:0}});m("\\@ifnextchar",function(r){var e=r.consumeArgs(3);r.consumeSpaces();var t=r.future();return e[0].length===1&&e[0][0].text===t.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});m("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");m("\\TextOrMath",function(r){var e=r.consumeArgs(2);return r.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var Kr={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};m("\\char",function(r){var e=r.popToken(),t,n="";if(e.text==="'")t=8,e=r.popToken();else if(e.text==='"')t=16,e=r.popToken();else if(e.text==="`")if(e=r.popToken(),e.text[0]==="\\")n=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new z("\\char` missing argument");n=e.text.charCodeAt(0)}else t=10;if(t){if(n=Kr[e.text],n==null||n>=t)throw new z("Invalid base-"+t+" digit "+e.text);for(var a;(a=Kr[r.future().text])!=null&&a<t;)n*=t,n+=a,r.popToken()}return"\\@char{"+n+"}"});var or=(r,e,t,n)=>{var a=r.consumeArg().tokens;if(a.length!==1)throw new z("\\newcommand's first argument must be a macro name");var i=a[0].text,s=r.isDefined(i);if(s&&!e)throw new z("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!s&&!t)throw new z("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var u=0;if(a=r.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var h="",d=r.expandNextToken();d.text!=="]"&&d.text!=="EOF";)h+=d.text,d=r.expandNextToken();if(!h.match(/^\s*[0-9]+\s*$/))throw new z("Invalid number of arguments: "+h);u=parseInt(h),a=r.consumeArg().tokens}return s&&n||r.macros.set(i,{tokens:a,numArgs:u}),""};m("\\newcommand",r=>or(r,!1,!0,!1));m("\\renewcommand",r=>or(r,!0,!1,!1));m("\\providecommand",r=>or(r,!0,!0,!0));m("\\message",r=>{var e=r.consumeArgs(1)[0];return console.log(e.reverse().map(t=>t.text).join("")),""});m("\\errmessage",r=>{var e=r.consumeArgs(1)[0];return console.error(e.reverse().map(t=>t.text).join("")),""});m("\\show",r=>{var e=r.popToken(),t=e.text;return console.log(e,r.macros.get(t),Xe[t],J.math[t],J.text[t]),""});m("\\bgroup","{");m("\\egroup","}");m("~","\\nobreakspace");m("\\lq","`");m("\\rq","'");m("\\aa","\\r a");m("\\AA","\\r A");m("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");m("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");m("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");m("ℬ","\\mathscr{B}");m("ℰ","\\mathscr{E}");m("ℱ","\\mathscr{F}");m("ℋ","\\mathscr{H}");m("ℐ","\\mathscr{I}");m("ℒ","\\mathscr{L}");m("ℳ","\\mathscr{M}");m("ℛ","\\mathscr{R}");m("ℭ","\\mathfrak{C}");m("ℌ","\\mathfrak{H}");m("ℨ","\\mathfrak{Z}");m("\\Bbbk","\\Bbb{k}");m("·","\\cdotp");m("\\llap","\\mathllap{\\textrm{#1}}");m("\\rlap","\\mathrlap{\\textrm{#1}}");m("\\clap","\\mathclap{\\textrm{#1}}");m("\\mathstrut","\\vphantom{(}");m("\\underbar","\\underline{\\text{#1}}");m("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');m("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");m("\\ne","\\neq");m("≠","\\neq");m("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");m("∉","\\notin");m("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");m("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");m("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");m("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");m("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");m("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");m("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");m("⟂","\\perp");m("‼","\\mathclose{!\\mkern-0.8mu!}");m("∌","\\notni");m("⌜","\\ulcorner");m("⌝","\\urcorner");m("⌞","\\llcorner");m("⌟","\\lrcorner");m("©","\\copyright");m("®","\\textregistered");m("️","\\textregistered");m("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');m("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');m("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');m("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');m("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");m("⋮","\\vdots");m("\\varGamma","\\mathit{\\Gamma}");m("\\varDelta","\\mathit{\\Delta}");m("\\varTheta","\\mathit{\\Theta}");m("\\varLambda","\\mathit{\\Lambda}");m("\\varXi","\\mathit{\\Xi}");m("\\varPi","\\mathit{\\Pi}");m("\\varSigma","\\mathit{\\Sigma}");m("\\varUpsilon","\\mathit{\\Upsilon}");m("\\varPhi","\\mathit{\\Phi}");m("\\varPsi","\\mathit{\\Psi}");m("\\varOmega","\\mathit{\\Omega}");m("\\substack","\\begin{subarray}{c}#1\\end{subarray}");m("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");m("\\boxed","\\fbox{$\\displaystyle{#1}$}");m("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");m("\\implies","\\DOTSB\\;\\Longrightarrow\\;");m("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");m("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");m("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Zr={",":"\\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"};m("\\dots",function(r){var e="\\dotso",t=r.expandAfterFuture().text;return t in Zr?e=Zr[t]:(t.slice(0,4)==="\\not"||t in J.math&&["bin","rel"].includes(J.math[t].group))&&(e="\\dotsb"),e});var ur={")":!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};m("\\dotso",function(r){var e=r.future().text;return e in ur?"\\ldots\\,":"\\ldots"});m("\\dotsc",function(r){var e=r.future().text;return e in ur&&e!==","?"\\ldots\\,":"\\ldots"});m("\\cdots",function(r){var e=r.future().text;return e in ur?"\\@cdots\\,":"\\@cdots"});m("\\dotsb","\\cdots");m("\\dotsm","\\cdots");m("\\dotsi","\\!\\cdots");m("\\dotsx","\\ldots\\,");m("\\DOTSI","\\relax");m("\\DOTSB","\\relax");m("\\DOTSX","\\relax");m("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");m("\\,","\\tmspace+{3mu}{.1667em}");m("\\thinspace","\\,");m("\\>","\\mskip{4mu}");m("\\:","\\tmspace+{4mu}{.2222em}");m("\\medspace","\\:");m("\\;","\\tmspace+{5mu}{.2777em}");m("\\thickspace","\\;");m("\\!","\\tmspace-{3mu}{.1667em}");m("\\negthinspace","\\!");m("\\negmedspace","\\tmspace-{4mu}{.2222em}");m("\\negthickspace","\\tmspace-{5mu}{.277em}");m("\\enspace","\\kern.5em ");m("\\enskip","\\hskip.5em\\relax");m("\\quad","\\hskip1em\\relax");m("\\qquad","\\hskip2em\\relax");m("\\tag","\\@ifstar\\tag@literal\\tag@paren");m("\\tag@paren","\\tag@literal{({#1})}");m("\\tag@literal",r=>{if(r.macros.get("\\df@tag"))throw new z("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});m("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");m("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");m("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");m("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");m("\\newline","\\\\\\relax");m("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var ca=D(De["Main-Regular"][84][1]-.7*De["Main-Regular"][65][1]);m("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+ca+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");m("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+ca+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");m("\\hspace","\\@ifstar\\@hspacer\\@hspace");m("\\@hspace","\\hskip #1\\relax");m("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");m("\\ordinarycolon",":");m("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");m("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');m("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');m("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');m("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');m("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');m("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');m("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');m("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');m("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');m("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');m("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');m("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');m("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');m("∷","\\dblcolon");m("∹","\\eqcolon");m("≔","\\coloneqq");m("≕","\\eqqcolon");m("⩴","\\Coloneqq");m("\\ratio","\\vcentcolon");m("\\coloncolon","\\dblcolon");m("\\colonequals","\\coloneqq");m("\\coloncolonequals","\\Coloneqq");m("\\equalscolon","\\eqqcolon");m("\\equalscoloncolon","\\Eqqcolon");m("\\colonminus","\\coloneq");m("\\coloncolonminus","\\Coloneq");m("\\minuscolon","\\eqcolon");m("\\minuscoloncolon","\\Eqcolon");m("\\coloncolonapprox","\\Colonapprox");m("\\coloncolonsim","\\Colonsim");m("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");m("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");m("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");m("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");m("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");m("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");m("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");m("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");m("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");m("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");m("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");m("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");m("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");m("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");m("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");m("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");m("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");m("\\nleqq","\\html@mathml{\\@nleqq}{≰}");m("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");m("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");m("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");m("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");m("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");m("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");m("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");m("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");m("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");m("\\imath","\\html@mathml{\\@imath}{ı}");m("\\jmath","\\html@mathml{\\@jmath}{ȷ}");m("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");m("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");m("⟦","\\llbracket");m("⟧","\\rrbracket");m("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");m("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");m("⦃","\\lBrace");m("⦄","\\rBrace");m("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");m("⦵","\\minuso");m("\\darr","\\downarrow");m("\\dArr","\\Downarrow");m("\\Darr","\\Downarrow");m("\\lang","\\langle");m("\\rang","\\rangle");m("\\uarr","\\uparrow");m("\\uArr","\\Uparrow");m("\\Uarr","\\Uparrow");m("\\N","\\mathbb{N}");m("\\R","\\mathbb{R}");m("\\Z","\\mathbb{Z}");m("\\alef","\\aleph");m("\\alefsym","\\aleph");m("\\Alpha","\\mathrm{A}");m("\\Beta","\\mathrm{B}");m("\\bull","\\bullet");m("\\Chi","\\mathrm{X}");m("\\clubs","\\clubsuit");m("\\cnums","\\mathbb{C}");m("\\Complex","\\mathbb{C}");m("\\Dagger","\\ddagger");m("\\diamonds","\\diamondsuit");m("\\empty","\\emptyset");m("\\Epsilon","\\mathrm{E}");m("\\Eta","\\mathrm{H}");m("\\exist","\\exists");m("\\harr","\\leftrightarrow");m("\\hArr","\\Leftrightarrow");m("\\Harr","\\Leftrightarrow");m("\\hearts","\\heartsuit");m("\\image","\\Im");m("\\infin","\\infty");m("\\Iota","\\mathrm{I}");m("\\isin","\\in");m("\\Kappa","\\mathrm{K}");m("\\larr","\\leftarrow");m("\\lArr","\\Leftarrow");m("\\Larr","\\Leftarrow");m("\\lrarr","\\leftrightarrow");m("\\lrArr","\\Leftrightarrow");m("\\Lrarr","\\Leftrightarrow");m("\\Mu","\\mathrm{M}");m("\\natnums","\\mathbb{N}");m("\\Nu","\\mathrm{N}");m("\\Omicron","\\mathrm{O}");m("\\plusmn","\\pm");m("\\rarr","\\rightarrow");m("\\rArr","\\Rightarrow");m("\\Rarr","\\Rightarrow");m("\\real","\\Re");m("\\reals","\\mathbb{R}");m("\\Reals","\\mathbb{R}");m("\\Rho","\\mathrm{P}");m("\\sdot","\\cdot");m("\\sect","\\S");m("\\spades","\\spadesuit");m("\\sub","\\subset");m("\\sube","\\subseteq");m("\\supe","\\supseteq");m("\\Tau","\\mathrm{T}");m("\\thetasym","\\vartheta");m("\\weierp","\\wp");m("\\Zeta","\\mathrm{Z}");m("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");m("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");m("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");m("\\bra","\\mathinner{\\langle{#1}|}");m("\\ket","\\mathinner{|{#1}\\rangle}");m("\\braket","\\mathinner{\\langle{#1}\\rangle}");m("\\Bra","\\left\\langle#1\\right|");m("\\Ket","\\left|#1\\right\\rangle");var ma=r=>e=>{var t=e.consumeArg().tokens,n=e.consumeArg().tokens,a=e.consumeArg().tokens,i=e.consumeArg().tokens,s=e.macros.get("|"),u=e.macros.get("\\|");e.macros.beginGroup();var h=g=>b=>{r&&(b.macros.set("|",s),a.length&&b.macros.set("\\|",u));var x=g;if(!g&&a.length){var S=b.future();S.text==="|"&&(b.popToken(),x=!0)}return{tokens:x?a:n,numArgs:0}};e.macros.set("|",h(!1)),a.length&&e.macros.set("\\|",h(!0));var d=e.consumeArg().tokens,f=e.expandTokens([...i,...d,...t]);return e.macros.endGroup(),{tokens:f.reverse(),numArgs:0}};m("\\bra@ket",ma(!1));m("\\bra@set",ma(!0));m("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");m("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");m("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");m("\\angln","{\\angl n}");m("\\blue","\\textcolor{##6495ed}{#1}");m("\\orange","\\textcolor{##ffa500}{#1}");m("\\pink","\\textcolor{##ff00af}{#1}");m("\\red","\\textcolor{##df0030}{#1}");m("\\green","\\textcolor{##28ae7b}{#1}");m("\\gray","\\textcolor{gray}{#1}");m("\\purple","\\textcolor{##9d38bd}{#1}");m("\\blueA","\\textcolor{##ccfaff}{#1}");m("\\blueB","\\textcolor{##80f6ff}{#1}");m("\\blueC","\\textcolor{##63d9ea}{#1}");m("\\blueD","\\textcolor{##11accd}{#1}");m("\\blueE","\\textcolor{##0c7f99}{#1}");m("\\tealA","\\textcolor{##94fff5}{#1}");m("\\tealB","\\textcolor{##26edd5}{#1}");m("\\tealC","\\textcolor{##01d1c1}{#1}");m("\\tealD","\\textcolor{##01a995}{#1}");m("\\tealE","\\textcolor{##208170}{#1}");m("\\greenA","\\textcolor{##b6ffb0}{#1}");m("\\greenB","\\textcolor{##8af281}{#1}");m("\\greenC","\\textcolor{##74cf70}{#1}");m("\\greenD","\\textcolor{##1fab54}{#1}");m("\\greenE","\\textcolor{##0d923f}{#1}");m("\\goldA","\\textcolor{##ffd0a9}{#1}");m("\\goldB","\\textcolor{##ffbb71}{#1}");m("\\goldC","\\textcolor{##ff9c39}{#1}");m("\\goldD","\\textcolor{##e07d10}{#1}");m("\\goldE","\\textcolor{##a75a05}{#1}");m("\\redA","\\textcolor{##fca9a9}{#1}");m("\\redB","\\textcolor{##ff8482}{#1}");m("\\redC","\\textcolor{##f9685d}{#1}");m("\\redD","\\textcolor{##e84d39}{#1}");m("\\redE","\\textcolor{##bc2612}{#1}");m("\\maroonA","\\textcolor{##ffbde0}{#1}");m("\\maroonB","\\textcolor{##ff92c6}{#1}");m("\\maroonC","\\textcolor{##ed5fa6}{#1}");m("\\maroonD","\\textcolor{##ca337c}{#1}");m("\\maroonE","\\textcolor{##9e034e}{#1}");m("\\purpleA","\\textcolor{##ddd7ff}{#1}");m("\\purpleB","\\textcolor{##c6b9fc}{#1}");m("\\purpleC","\\textcolor{##aa87ff}{#1}");m("\\purpleD","\\textcolor{##7854ab}{#1}");m("\\purpleE","\\textcolor{##543b78}{#1}");m("\\mintA","\\textcolor{##f5f9e8}{#1}");m("\\mintB","\\textcolor{##edf2df}{#1}");m("\\mintC","\\textcolor{##e0e5cc}{#1}");m("\\grayA","\\textcolor{##f6f7f7}{#1}");m("\\grayB","\\textcolor{##f0f1f2}{#1}");m("\\grayC","\\textcolor{##e3e5e6}{#1}");m("\\grayD","\\textcolor{##d6d8da}{#1}");m("\\grayE","\\textcolor{##babec2}{#1}");m("\\grayF","\\textcolor{##888d93}{#1}");m("\\grayG","\\textcolor{##626569}{#1}");m("\\grayH","\\textcolor{##3b3e40}{#1}");m("\\grayI","\\textcolor{##21242c}{#1}");m("\\kaBlue","\\textcolor{##314453}{#1}");m("\\kaGreen","\\textcolor{##71B307}{#1}");var da={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class cs{constructor(e,t,n){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 us(hs,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new _r(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,n,a;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:t,end:n}=this.consumeArg());return this.pushToken(new we("EOF",n.loc)),this.pushTokens(a),new we("",ve.range(t,n))}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var t=[],n=e&&e.length>0;n||this.consumeSpaces();var a=this.future(),i,s=0,u=0;do{if(i=this.popToken(),t.push(i),i.text==="{")++s;else if(i.text==="}"){if(--s,s===-1)throw new z("Extra }",i)}else if(i.text==="EOF")throw new z("Unexpected end of input in a macro argument, expected '"+(e&&n?e[u]:"}")+"'",i);if(e&&n)if((s===0||s===1&&e[u]==="{")&&i.text===e[u]){if(++u,u===e.length){t.splice(-u,u);break}}else u=0}while(s!==0||n);return a.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:a,end:i}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new z("The length of delimiters doesn't match the number of args!");for(var n=t[0],a=0;a<n.length;a++){var i=this.popToken();if(n[a]!==i.text)throw new z("Use of the macro doesn't match its definition",i)}}for(var s=[],u=0;u<e;u++)s.push(this.consumeArg(t&&t[u+1]).tokens);return s}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new z("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),n=t.text,a=t.noexpand?null:this._getExpansion(n);if(a==null||e&&a.unexpandable){if(e&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new z("Undefined control sequence: "+n);return this.pushToken(t),!1}this.countExpansion(1);var i=a.tokens,s=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){i=i.slice();for(var u=i.length-1;u>=0;--u){var h=i[u];if(h.text==="#"){if(u===0)throw new z("Incomplete placeholder at end of macro body",h);if(h=i[--u],h.text==="#")i.splice(u+1,1);else if(/^[1-9]$/.test(h.text))i.splice(u,2,...s[+h.text-1]);else throw new z("Not a valid argument number",h)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new we(e)]):void 0}expandTokens(e){var t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),t.push(a)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(n=>n.text).join("")}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var a=typeof t=="function"?t(this):t;if(typeof a=="string"){var i=0;if(a.indexOf("#")!==-1)for(var s=a.replace(/##/g,"");s.indexOf("#"+(i+1))!==-1;)++i;for(var u=new _r(a,this.settings),h=[],d=u.lex();d.text!=="EOF";)h.push(d),d=u.lex();h.reverse();var f={tokens:h,numArgs:i};return f}return a}isDefined(e){return this.macros.has(e)||Xe.hasOwnProperty(e)||J.math.hasOwnProperty(e)||J.text.hasOwnProperty(e)||da.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:Xe.hasOwnProperty(e)&&!Xe[e].primitive}}var Jr=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,U0=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Tt={"́":{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"}},Qr={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class at{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 cs(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(t===void 0&&(t=!0),this.fetch().text!==e)throw new z("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new we("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n}parseExpression(e,t){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(at.endOfExpression.indexOf(a.text)!==-1||t&&a.text===t||e&&Xe[a.text]&&Xe[a.text].infix)break;var i=this.parseAtom(t);if(i){if(i.type==="internal")continue}else break;n.push(i)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var t=-1,n,a=0;a<e.length;a++)if(e[a].type==="infix"){if(t!==-1)throw new z("only one infix operator per group",e[a].token);t=a,n=e[a].replaceWith}if(t!==-1&&n){var i,s,u=e.slice(0,t),h=e.slice(t+1);u.length===1&&u[0].type==="ordgroup"?i=u[0]:i={type:"ordgroup",mode:this.mode,body:u},h.length===1&&h[0].type==="ordgroup"?s=h[0]:s={type:"ordgroup",mode:this.mode,body:h};var d;return n==="\\\\abovefrac"?d=this.callFunction(n,[i,e[t],s],[]):d=this.callFunction(n,[i,s],[]),[d]}else return e}handleSupSubscript(e){var t=this.fetch(),n=t.text;this.consume(),this.consumeSpaces();var a;do{var i;a=this.parseGroup(e)}while(((i=a)==null?void 0:i.type)==="internal");if(!a)throw new z("Expected group after '"+n+"'",t);return a}formatUnsupportedCmd(e){for(var t=[],n=0;n<e.length;n++)t.push({type:"textord",mode:"text",text:e[n]});var a={type:"text",mode:this.mode,body:t},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return i}parseAtom(e){var t=this.parseGroup("atom",e);if((t==null?void 0:t.type)==="internal"||this.mode==="text")return t;for(var n,a;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(t&&t.type==="op"){var s=i.text==="\\limits";t.limits=s,t.alwaysHandleSupSub=!0}else if(t&&t.type==="operatorname")t.alwaysHandleSupSub&&(t.limits=i.text==="\\limits");else throw new z("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new z("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new z("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new z("Double superscript",i);var u={type:"textord",mode:this.mode,text:"\\prime"},h=[u];for(this.consume();this.fetch().text==="'";)h.push(u),this.consume();this.fetch().text==="^"&&h.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:h}}else if(U0[i.text]){var d=Jr.test(i.text),f=[];for(f.push(new we(U0[i.text])),this.consume();;){var g=this.fetch().text;if(!U0[g]||Jr.test(g)!==d)break;f.unshift(new we(U0[g])),this.consume()}var b=this.subparse(f);d?a={type:"ordgroup",mode:"math",body:b}:n={type:"ordgroup",mode:"math",body:b}}else break}return n||a?{type:"supsub",mode:this.mode,base:t,sup:n,sub:a}:t}parseFunction(e,t){var n=this.fetch(),a=n.text,i=Xe[a];if(!i)return null;if(this.consume(),t&&t!=="atom"&&!i.allowedInArgument)throw new z("Got function '"+a+"' with no arguments"+(t?" as "+t:""),n);if(this.mode==="text"&&!i.allowedInText)throw new z("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new z("Can't use function '"+a+"' in math mode",n);var{args:s,optArgs:u}=this.parseArguments(a,i);return this.callFunction(a,s,u,n,e)}callFunction(e,t,n,a,i){var s={funcName:e,parser:this,token:a,breakOnTokenText:i},u=Xe[e];if(u&&u.handler)return u.handler(s,t,n);throw new z("No function handler for "+e)}parseArguments(e,t){var n=t.numArgs+t.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var a=[],i=[],s=0;s<n;s++){var u=t.argTypes&&t.argTypes[s],h=s<t.numOptionalArgs;(t.primitive&&u==null||t.type==="sqrt"&&s===1&&i[0]==null)&&(u="primitive");var d=this.parseGroupOfType("argument to '"+e+"'",u,h);if(h)i.push(d);else if(d!=null)a.push(d);else throw new z("Null argument, please report this as a bug")}return{args:a,optArgs:i}}parseGroupOfType(e,t,n){switch(t){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,t);case"hbox":{var a=this.parseArgumentGroup(n,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var i=this.parseStringGroup("raw",n);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(n)throw new z("A primitive argument cannot be optional");var s=this.parseGroup(e);if(s==null)throw new z("Expected group as "+e,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new z("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,t){var n=this.gullet.scanArgument(t);if(n==null)return null;for(var a="",i;(i=this.fetch()).text!=="EOF";)a+=i.text,this.consume();return this.consume(),n.text=a,n}parseRegexGroup(e,t){for(var n=this.fetch(),a=n,i="",s;(s=this.fetch()).text!=="EOF"&&e.test(i+s.text);)a=s,i+=a.text,this.consume();if(i==="")throw new z("Invalid "+t+": '"+n.text+"'",n);return n.range(a,i)}parseColorGroup(e){var t=this.parseStringGroup("color",e);if(t==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new z("Invalid color: '"+t.text+"'",t);var a=n[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(e){var t,n=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?t=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):t=this.parseStringGroup("size",e),!t)return null;!e&&t.text.length===0&&(t.text="0pt",n=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!a)throw new z("Invalid size: '"+t.text+"'",t);var i={number:+(a[1]+a[2]),unit:a[3]};if(!Sn(i))throw new z("Invalid unit: '"+i.unit+"'",t);return{type:"size",mode:this.mode,value:i,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),t==null)return null;var n=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(e,t){var n=this.gullet.scanArgument(e);if(n==null)return null;var a=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return t&&this.switchMode(a),s}parseGroup(e,t){var n=this.fetch(),a=n.text,i;if(a==="{"||a==="\\begingroup"){this.consume();var s=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var u=this.parseExpression(!1,s),h=this.fetch();this.expect(s),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:ve.range(n,h),body:u,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(t,e)||this.parseSymbol(),i==null&&a[0]==="\\"&&!da.hasOwnProperty(a)){if(this.settings.throwOnError)throw new z("Undefined control sequence: "+a,n);i=this.formatUnsupportedCmd(a),this.consume()}return i}formLigatures(e){for(var t=e.length-1,n=0;n<t;++n){var a=e[n],i=a.text;i==="-"&&e[n+1].text==="-"&&(n+1<t&&e[n+2].text==="-"?(e.splice(n,3,{type:"textord",mode:"text",loc:ve.range(a,e[n+2]),text:"---"}),t-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:ve.range(a,e[n+1]),text:"--"}),t-=1)),(i==="'"||i==="`")&&e[n+1].text===i&&(e.splice(n,2,{type:"textord",mode:"text",loc:ve.range(a,e[n+1]),text:i+i}),t-=1)}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var n=t.slice(5),a=n.charAt(0)==="*";if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new z(`\\verb assertion failed --
265
+ please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}Qr.hasOwnProperty(t[0])&&!J[this.mode][t[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=Qr[t[0]]+t.slice(1));var i=ss.exec(t);i&&(t=t.substring(0,i.index),t==="i"?t="ı":t==="j"&&(t="ȷ"));var s;if(J[this.mode][t]){this.settings.strict&&this.mode==="math"&&Et.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var u=J[this.mode][t].group,h=ve.range(e),d;if(Qi.hasOwnProperty(u)){var f=u;d={type:"atom",mode:this.mode,family:f,loc:h,text:t}}else d={type:u,mode:this.mode,loc:h,text:t};s=d}else if(t.charCodeAt(0)>=128)this.settings.strict&&(wn(t.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0)+")"),e)),s={type:"textord",mode:"text",loc:ve.range(e),text:t};else return null;if(this.consume(),i)for(var g=0;g<i[0].length;g++){var b=i[0][g];if(!Tt[b])throw new z("Unknown accent ' "+b+"'",e);var x=Tt[b][this.mode]||Tt[b].text;if(!x)throw new z("Accent "+b+" unsupported in "+this.mode+" mode",e);s={type:"accent",mode:this.mode,loc:ve.range(e),label:x,isStretchy:!1,isShifty:!0,base:s}}return s}}at.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var hr=function(e,t){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new at(e,t);delete n.gullet.macros.current["\\df@tag"];var a=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new z("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new we("\\df@tag")])}]}return a},cr=function(e,t,n){t.textContent="";var a=it(e,n).toNode();t.appendChild(a)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),cr=function(){throw new z("KaTeX doesn't work in quirks mode.")});var fa=function(e,t){var n=it(e,t).toMarkup();return n},pa=function(e,t){var n=new jt(t);return hr(e,n)},va=function(e,t,n){if(n.throwOnError||!(e instanceof z))throw e;var a=w.makeSpan(["katex-error"],[new Ae(t)]);return a.setAttribute("title",e.toString()),a.setAttribute("style","color:"+n.errorColor),a},it=function(e,t){var n=new jt(t);try{var a=hr(e,n);return kl(a,e,n)}catch(i){return va(i,e,n)}},ga=function(e,t){var n=new jt(t);try{var a=hr(e,n);return Sl(a,e,n)}catch(i){return va(i,e,n)}},ya="0.16.28",ba={Span:T0,Anchor:_t,SymbolNode:Ae,SvgNode:Pe,PathNode:_e,LineNode:Nt},Ft={version:ya,render:cr,renderToString:fa,ParseError:z,SETTINGS_SCHEMA:y0,__parse:pa,__renderToDomTree:it,__renderToHTMLTree:ga,__setFontMetrics:kn,__defineSymbol:l,__defineFunction:E,__defineMacro:m,__domTree:ba};const ms=Object.freeze(Object.defineProperty({__proto__:null,ParseError:z,SETTINGS_SCHEMA:y0,__defineFunction:E,__defineMacro:m,__defineSymbol:l,__domTree:ba,__parse:pa,__renderToDomTree:it,__renderToHTMLTree:ga,__setFontMetrics:kn,default:Ft,get render(){return cr},renderToString:fa,version:ya},Symbol.toStringTag,{value:"Module"})),ds={};function fs(r){const e=this,t=r||ds,n=e.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(yi(t)),i.push(hi()),s.push(ci(t))}class z0{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}z0.prototype.normal={};z0.prototype.property={};z0.prototype.space=void 0;function xa(r,e){const t={},n={};for(const a of r)Object.assign(t,a.property),Object.assign(n,a.normal);return new z0(t,n,e)}function k0(r){return r.toLowerCase()}class ye{constructor(e,t){this.attribute=t,this.property=e}}ye.prototype.attribute="";ye.prototype.booleanish=!1;ye.prototype.boolean=!1;ye.prototype.commaOrSpaceSeparated=!1;ye.prototype.commaSeparated=!1;ye.prototype.defined=!1;ye.prototype.mustUseProperty=!1;ye.prototype.number=!1;ye.prototype.overloadedBoolean=!1;ye.prototype.property="";ye.prototype.spaceSeparated=!1;ye.prototype.space=void 0;let ps=0;const W=r0(),ie=r0(),Pt=r0(),C=r0(),Z=r0(),c0=r0(),be=r0();function r0(){return 2**++ps}const Ht=Object.freeze(Object.defineProperty({__proto__:null,boolean:W,booleanish:ie,commaOrSpaceSeparated:be,commaSeparated:c0,number:C,overloadedBoolean:Pt,spaceSeparated:Z},Symbol.toStringTag,{value:"Module"})),At=Object.keys(Ht);class mr extends ye{constructor(e,t,n,a){let i=-1;if(super(e,t),en(this,"space",a),typeof n=="number")for(;++i<At.length;){const s=At[i];en(this,At[i],(n&Ht[s])===Ht[s])}}}mr.prototype.defined=!0;function en(r,e,t){t&&(r[e]=t)}function p0(r){const e={},t={};for(const[n,a]of Object.entries(r.properties)){const i=new mr(n,r.transform(r.attributes||{},n),a,r.space);r.mustUseProperty&&r.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),e[n]=i,t[k0(n)]=n,t[k0(i.attribute)]=n}return new z0(e,t,r.space)}const wa=p0({properties:{ariaActiveDescendant:null,ariaAtomic:ie,ariaAutoComplete:null,ariaBusy:ie,ariaChecked:ie,ariaColCount:C,ariaColIndex:C,ariaColSpan:C,ariaControls:Z,ariaCurrent:null,ariaDescribedBy:Z,ariaDetails:null,ariaDisabled:ie,ariaDropEffect:Z,ariaErrorMessage:null,ariaExpanded:ie,ariaFlowTo:Z,ariaGrabbed:ie,ariaHasPopup:null,ariaHidden:ie,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Z,ariaLevel:C,ariaLive:null,ariaModal:ie,ariaMultiLine:ie,ariaMultiSelectable:ie,ariaOrientation:null,ariaOwns:Z,ariaPlaceholder:null,ariaPosInSet:C,ariaPressed:ie,ariaReadOnly:ie,ariaRelevant:null,ariaRequired:ie,ariaRoleDescription:Z,ariaRowCount:C,ariaRowIndex:C,ariaRowSpan:C,ariaSelected:ie,ariaSetSize:C,ariaSort:null,ariaValueMax:C,ariaValueMin:C,ariaValueNow:C,ariaValueText:null,role:null},transform(r,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function ka(r,e){return e in r?r[e]:e}function Sa(r,e){return ka(r,e.toLowerCase())}const vs=p0({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:c0,acceptCharset:Z,accessKey:Z,action:null,allow:null,allowFullScreen:W,allowPaymentRequest:W,allowUserMedia:W,alt:null,as:null,async:W,autoCapitalize:null,autoComplete:Z,autoFocus:W,autoPlay:W,blocking:Z,capture:null,charSet:null,checked:W,cite:null,className:Z,cols:C,colSpan:null,content:null,contentEditable:ie,controls:W,controlsList:Z,coords:C|c0,crossOrigin:null,data:null,dateTime:null,decoding:null,default:W,defer:W,dir:null,dirName:null,disabled:W,download:Pt,draggable:ie,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:W,formTarget:null,headers:Z,height:C,hidden:Pt,high:C,href:null,hrefLang:null,htmlFor:Z,httpEquiv:Z,id:null,imageSizes:null,imageSrcSet:null,inert:W,inputMode:null,integrity:null,is:null,isMap:W,itemId:null,itemProp:Z,itemRef:Z,itemScope:W,itemType:Z,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:W,low:C,manifest:null,max:null,maxLength:C,media:null,method:null,min:null,minLength:C,multiple:W,muted:W,name:null,nonce:null,noModule:W,noValidate:W,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:W,optimum:C,pattern:null,ping:Z,placeholder:null,playsInline:W,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:W,referrerPolicy:null,rel:Z,required:W,reversed:W,rows:C,rowSpan:C,sandbox:Z,scope:null,scoped:W,seamless:W,selected:W,shadowRootClonable:W,shadowRootDelegatesFocus:W,shadowRootMode:null,shape:null,size:C,sizes:null,slot:null,span:C,spellCheck:ie,src:null,srcDoc:null,srcLang:null,srcSet:null,start:C,step:null,style:null,tabIndex:C,target:null,title:null,translate:null,type:null,typeMustMatch:W,useMap:null,value:ie,width:C,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Z,axis:null,background:null,bgColor:null,border:C,borderColor:null,bottomMargin:C,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:W,declare:W,event:null,face:null,frame:null,frameBorder:null,hSpace:C,leftMargin:C,link:null,longDesc:null,lowSrc:null,marginHeight:C,marginWidth:C,noResize:W,noHref:W,noShade:W,noWrap:W,object:null,profile:null,prompt:null,rev:null,rightMargin:C,rules:null,scheme:null,scrolling:ie,standby:null,summary:null,text:null,topMargin:C,valueType:null,version:null,vAlign:null,vLink:null,vSpace:C,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:W,disableRemotePlayback:W,prefix:null,property:null,results:C,security:null,unselectable:null},space:"html",transform:Sa}),gs=p0({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:be,accentHeight:C,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:C,amplitude:C,arabicForm:null,ascent:C,attributeName:null,attributeType:null,azimuth:C,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:C,by:null,calcMode:null,capHeight:C,className:Z,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:C,diffuseConstant:C,direction:null,display:null,dur:null,divisor:C,dominantBaseline:null,download:W,dx:null,dy:null,edgeMode:null,editable:null,elevation:C,enableBackground:null,end:null,event:null,exponent:C,externalResourcesRequired:null,fill:null,fillOpacity:C,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:c0,g2:c0,glyphName:c0,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:C,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:C,horizOriginX:C,horizOriginY:C,id:null,ideographic:C,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:C,k:C,k1:C,k2:C,k3:C,k4:C,kernelMatrix:be,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:C,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:C,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:C,overlineThickness:C,paintOrder:null,panose1:null,path:null,pathLength:C,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Z,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:C,pointsAtY:C,pointsAtZ:C,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:be,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:be,rev:be,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:be,requiredFeatures:be,requiredFonts:be,requiredFormats:be,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:C,specularExponent:C,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:C,strikethroughThickness:C,string:null,stroke:null,strokeDashArray:be,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:C,strokeOpacity:C,strokeWidth:null,style:null,surfaceScale:C,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:be,tabIndex:C,tableValues:null,target:null,targetX:C,targetY:C,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:be,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:C,underlineThickness:C,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:C,values:null,vAlphabetic:C,vMathematical:C,vectorEffect:null,vHanging:C,vIdeographic:C,version:null,vertAdvY:C,vertOriginX:C,vertOriginY:C,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:C,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ka}),Ma=p0({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(r,e){return"xlink:"+e.slice(5).toLowerCase()}}),Ta=p0({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Sa}),Aa=p0({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(r,e){return"xml:"+e.slice(3).toLowerCase()}}),ys=/[A-Z]/g,tn=/-[a-z]/g,bs=/^data[-\w.:]+$/i;function xs(r,e){const t=k0(e);let n=e,a=ye;if(t in r.normal)return r.property[r.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&bs.test(e)){if(e.charAt(4)==="-"){const i=e.slice(5).replace(tn,ks);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=e.slice(4);if(!tn.test(i)){let s=i.replace(ys,ws);s.charAt(0)!=="-"&&(s="-"+s),e="data"+s}}a=mr}return new a(n,e)}function ws(r){return"-"+r.toLowerCase()}function ks(r){return r.charAt(1).toUpperCase()}const Ss=xa([wa,vs,Ma,Ta,Aa],"html"),Ms=xa([wa,gs,Ma,Ta,Aa],"svg");function rn(r){const e=[],t=String(r||"");let n=t.indexOf(","),a=0,i=!1;for(;!i;){n===-1&&(n=t.length,i=!0);const s=t.slice(a,n).trim();(s||!i)&&e.push(s),a=n+1,n=t.indexOf(",",a)}return e}const nn=/[#.]/g;function Ts(r,e){const t=r||"",n={};let a=0,i,s;for(;a<t.length;){nn.lastIndex=a;const u=nn.exec(t),h=t.slice(a,u?u.index:t.length);h&&(i?i==="#"?n.id=h:Array.isArray(n.className)?n.className.push(h):n.className=[h]:s=h,a+=h.length),u&&(i=u[0],a++)}return{type:"element",tagName:s||e||"div",properties:n,children:[]}}function an(r){const e=String(r||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function za(r,e,t){const n=t?Bs(t):void 0;function a(i,s,...u){let h;if(i==null){h={type:"root",children:[]};const d=s;u.unshift(d)}else{h=Ts(i,e);const d=h.tagName.toLowerCase(),f=n?n.get(d):void 0;if(h.tagName=f||d,As(s))u.unshift(s);else for(const[g,b]of Object.entries(s))zs(r,h.properties,g,b)}for(const d of u)Vt(h.children,d);return h.type==="element"&&h.tagName==="template"&&(h.content={type:"root",children:h.children},h.children=[]),h}return a}function As(r){if(r===null||typeof r!="object"||Array.isArray(r))return!0;if(typeof r.type!="string")return!1;const e=r,t=Object.keys(r);for(const n of t){const a=e[n];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const s of i)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in r&&Array.isArray(r.children))}function zs(r,e,t,n){const a=xs(r,t);let i;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;i=n}else typeof n=="boolean"?i=n:typeof n=="string"?a.spaceSeparated?i=an(n):a.commaSeparated?i=rn(n):a.commaOrSpaceSeparated?i=an(rn(n).join(" ")):i=ln(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?Cs(n):String(n);if(Array.isArray(i)){const s=[];for(const u of i)s.push(ln(a,a.property,u));i=s}a.property==="className"&&Array.isArray(e.className)&&(i=e.className.concat(i)),e[a.property]=i}}function Vt(r,e){if(e!=null)if(typeof e=="number"||typeof e=="string")r.push({type:"text",value:String(e)});else if(Array.isArray(e))for(const t of e)Vt(r,t);else if(typeof e=="object"&&"type"in e)e.type==="root"?Vt(r,e.children):r.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function ln(r,e,t){if(typeof t=="string"){if(r.number&&t&&!Number.isNaN(Number(t)))return Number(t);if((r.boolean||r.overloadedBoolean)&&(t===""||k0(t)===k0(e)))return!0}return t}function Cs(r){const e=[];for(const[t,n]of Object.entries(r))e.push([t,n].join(": "));return e.join("; ")}function Bs(r){const e=new Map;for(const t of r)e.set(t.toLowerCase(),t);return e}const Ds=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Ns=za(Ss,"div"),Es=za(Ms,"g",Ds),zt={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function Is(r,e){return Ca(r,{})||{type:"root",children:[]}}function Ca(r,e){const t=Ls(r,e);return t&&e.afterTransform&&e.afterTransform(r,t),t}function Ls(r,e){switch(r.nodeType){case 1:return Fs(r,e);case 3:return Rs(r);case 8:return qs(r);case 9:return sn(r,e);case 10:return Os();case 11:return sn(r,e);default:return}}function sn(r,e){return{type:"root",children:Ba(r,e)}}function Os(){return{type:"doctype"}}function Rs(r){return{type:"text",value:r.nodeValue||""}}function qs(r){return{type:"comment",value:r.nodeValue||""}}function Fs(r,e){const t=r.namespaceURI,n=t===zt.svg?Es:Ns,a=t===zt.html?r.tagName.toLowerCase():r.tagName,i=t===zt.html&&a==="template"?r.content:r,s=r.getAttributeNames(),u={};let h=-1;for(;++h<s.length;)u[s[h]]=r.getAttribute(s[h])||"";return n(a,u,Ba(i,e))}function Ba(r,e){const t=r.childNodes,n=[];let a=-1;for(;++a<t.length;){const i=Ca(t[a],e);i!==void 0&&n.push(i)}return n}new DOMParser;function Ps(r,e){const t=Hs(r);return Is(t)}function Hs(r){const e=document.createElement("template");return e.innerHTML=r,e.content}const dr=function(r){if(r==null)return Gs;if(typeof r=="function")return lt(r);if(typeof r=="object")return Array.isArray(r)?Vs(r):Us(r);if(typeof r=="string")return $s(r);throw new Error("Expected function, string, or object as test")};function Vs(r){const e=[];let t=-1;for(;++t<r.length;)e[t]=dr(r[t]);return lt(n);function n(...a){let i=-1;for(;++i<e.length;)if(e[i].apply(this,a))return!0;return!1}}function Us(r){const e=r;return lt(t);function t(n){const a=n;let i;for(i in r)if(a[i]!==e[i])return!1;return!0}}function $s(r){return lt(e);function e(t){return t&&t.type===r}}function lt(r){return e;function e(t,n,a){return!!(Ws(t)&&r.call(this,t,typeof n=="number"?n:void 0,a||void 0))}}function Gs(){return!0}function Ws(r){return r!==null&&typeof r=="object"&&"type"in r}const on=function(r,e,t){const n=dr(t);if(!r||!r.type||!r.children)throw new Error("Expected parent node");if(typeof e=="number"){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(e=r.children.indexOf(e),e<0)throw new Error("Expected child node or index");for(;++e<r.children.length;)if(n(r.children[e],e,r))return r.children[e]},n0=function(r){if(r==null)return Ys;if(typeof r=="string")return Xs(r);if(typeof r=="object")return js(r);if(typeof r=="function")return fr(r);throw new Error("Expected function, string, or array as `test`")};function js(r){const e=[];let t=-1;for(;++t<r.length;)e[t]=n0(r[t]);return fr(n);function n(...a){let i=-1;for(;++i<e.length;)if(e[i].apply(this,a))return!0;return!1}}function Xs(r){return fr(e);function e(t){return t.tagName===r}}function fr(r){return e;function e(t,n,a){return!!(_s(t)&&r.call(this,t,typeof n=="number"?n:void 0,a||void 0))}}function Ys(r){return!!(r&&typeof r=="object"&&"type"in r&&r.type==="element"&&"tagName"in r&&typeof r.tagName=="string")}function _s(r){return r!==null&&typeof r=="object"&&"type"in r&&"tagName"in r}const un=/\n/g,hn=/[\t ]+/g,Ut=n0("br"),cn=n0(n1),Ks=n0("p"),mn=n0("tr"),Zs=n0(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",r1,a1]),Da=n0(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Js(r,e){const t=e||{},n="children"in r?r.children:[],a=Da(r),i=Ia(r,{whitespace:t.whitespace||"normal"}),s=[];(r.type==="text"||r.type==="comment")&&s.push(...Ea(r,{breakBefore:!0,breakAfter:!0}));let u=-1;for(;++u<n.length;)s.push(...Na(n[u],r,{whitespace:i,breakBefore:u?void 0:a,breakAfter:u<n.length-1?Ut(n[u+1]):a}));const h=[];let d;for(u=-1;++u<s.length;){const f=s[u];typeof f=="number"?d!==void 0&&f>d&&(d=f):f&&(d!==void 0&&d>-1&&h.push(`
266
+ `.repeat(d)||" "),d=-1,h.push(f))}return h.join("")}function Na(r,e,t){return r.type==="element"?Qs(r,e,t):r.type==="text"?t.whitespace==="normal"?Ea(r,t):e1(r):[]}function Qs(r,e,t){const n=Ia(r,t),a=r.children||[];let i=-1,s=[];if(Zs(r))return s;let u,h;for(Ut(r)||mn(r)&&on(e,r,mn)?h=`
267
+ `:Ks(r)?(u=2,h=2):Da(r)&&(u=1,h=1);++i<a.length;)s=s.concat(Na(a[i],r,{whitespace:n,breakBefore:i?void 0:u,breakAfter:i<a.length-1?Ut(a[i+1]):h}));return cn(r)&&on(e,r,cn)&&s.push(" "),u&&s.unshift(u),h&&s.push(h),s}function Ea(r,e){const t=String(r.value),n=[],a=[];let i=0;for(;i<=t.length;){un.lastIndex=i;const h=un.exec(t),d=h&&"index"in h?h.index:t.length;n.push(t1(t.slice(i,d).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),i===0?e.breakBefore:!0,d===t.length?e.breakAfter:!0)),i=d+1}let s=-1,u;for(;++s<n.length;)n[s].charCodeAt(n[s].length-1)===8203||s<n.length-1&&n[s+1].charCodeAt(0)===8203?(a.push(n[s]),u=void 0):n[s]?(typeof u=="number"&&a.push(u),a.push(n[s]),u=0):(s===0||s===n.length-1)&&a.push(0);return a}function e1(r){return[String(r.value)]}function t1(r,e,t){const n=[];let a=0,i;for(;a<r.length;){hn.lastIndex=a;const s=hn.exec(r);i=s?s.index:r.length,!a&&!i&&s&&!e&&n.push(""),a!==i&&n.push(r.slice(a,i)),a=s?i+s[0].length:i}return a!==i&&!t&&n.push(""),n.join(" ")}function Ia(r,e){if(r.type==="element"){const t=r.properties||{};switch(r.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return t.wrap?"pre-wrap":"pre";case"td":case"th":return t.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap"}}return e.whitespace}function r1(r){return!!(r.properties||{}).hidden}function n1(r){return r.tagName==="td"||r.tagName==="th"}function a1(r){return r.tagName==="dialog"&&!(r.properties||{}).open}const La=[],i1=!0,dn=!1,Oa="skip";function l1(r,e,t,n){let a;a=e;const i=dr(a),s=1;u(r,void 0,[])();function u(h,d,f){const g=h&&typeof h=="object"?h:{};if(typeof g.type=="string"){const x=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(b,"name",{value:"node ("+(h.type+(x?"<"+x+">":""))+")"})}return b;function b(){let x=La,S,k,B;if(i(h,d,f[f.length-1]||void 0)&&(x=s1(t(h,f)),x[0]===dn))return x;if("children"in h&&h.children){const N=h;if(N.children&&x[0]!==Oa)for(k=-1+s,B=f.concat(N);k>-1&&k<N.children.length;){const T=N.children[k];if(S=u(T,k,B)(),S[0]===dn)return S;k=typeof S[1]=="number"?S[1]:k+s}}return x}}}function s1(r){return Array.isArray(r)?r:typeof r=="number"?[i1,r]:r==null?La:[r]}const o1={},u1=[];function h1(r){const e=r||o1;return function(t,n){l1(t,"element",function(a,i){const s=Array.isArray(a.properties.className)?a.properties.className:u1,u=s.includes("language-math"),h=s.includes("math-display"),d=s.includes("math-inline");let f=h;if(!u&&!h&&!d)return;let g=i[i.length-1],b=a;if(a.tagName==="code"&&u&&g&&g.type==="element"&&g.tagName==="pre"&&(b=g,g=i[i.length-2],f=!0),!g)return;const x=Js(b,{whitespace:"pre"});let S;try{S=Ft.renderToString(x,{...e,displayMode:f,throwOnError:!0})}catch(B){const N=B,T=N.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:N,place:a.position,ruleId:T,source:"rehype-katex"});try{S=Ft.renderToString(x,{...e,displayMode:f,strict:"ignore",throwOnError:!1})}catch{S=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(B)},children:[{type:"text",value:x}]}]}}typeof S=="string"&&(S=Ps(S).children);const k=g.children.indexOf(b);return g.children.splice(k,1,...S),Oa})}}const c1=[/\/(\d+)x(\d+)/,/\/(\d+)\/(\d+)/,/\/(\d+)(?:[?#]|$)/,/[?&](?:width|w)=(\d+)(?:&(?:height|h)=(\d+))?/i,/[?&]size=(\d+)x(\d+)/i];function m1(r){for(const e of c1){const t=r.match(e);if(t){const n=parseInt(t[1],10),a=t[2]?parseInt(t[2],10):n;if(n>0&&a>0&&n<=4e3&&a<=4e3)return{width:n,height:a}}}return{}}function Ra(){return r=>{si.visit(r,"element",e=>{if(e.tagName==="img"&&e.properties){const t=e.properties.src;if(t&&!t.startsWith("data:")){const{width:n,height:a}=m1(t);n&&a&&(e.properties["data-width"]=n,e.properties["data-height"]=a)}}})}}function C0(r={}){const{gfm:e=!0,highlight:t=!0,math:n=!1,remarkPlugins:a=[],rehypePlugins:i=[]}=r;let s=ri.unified().use(ni);e&&(s=s.use(ai)),n&&(s=s.use(fs));for(const u of a)s=s.use(u.plugin,u.options);s=s.use(ii,{allowDangerousHtml:!0}),t&&(s=s.use(li,{detect:!0})),n&&(s=s.use(h1)),s=s.use(Ra);for(const u of i)s=s.use(u.plugin,u.options);return s}const qa=C0();function Fa(r,e={}){const t=Object.keys(e).length>0?C0(e):qa,n=t.parse(r);return t.runSync(n)}function Pa(r,e={}){const n=C0(e).use(oi,{allowDangerousHtml:!0}).processSync(r);return String(n)}function d1(r){const{content:e,...t}=r;return{hast:Fa(e,t),html:Pa(e,t)}}class Ha{constructor(){ue(this,"codeBlockState",{inCodeBlock:!1,fence:"",language:""})}split(e){const t=e.split(`
268
+ `),n=[];let a=null,i=0;this.codeBlockState={inCodeBlock:!1,fence:"",language:""};for(let s=0;s<t.length;s++){const u=t[s],h=s===t.length-1;if(this.isCodeFence(u)){if(this.codeBlockState.inCodeBlock)this.isMatchingCloseFence(u)?(a.source+=`
269
+ `+u,a.stable=!0,n.push(a),a=null,this.codeBlockState={inCodeBlock:!1,fence:"",language:""}):a.source+=`
270
+ `+u;else{a&&(a.stable=!0,n.push(a));const f=this.extractFence(u);this.codeBlockState={inCodeBlock:!0,fence:f,language:u.slice(f.length).trim()},a={source:u,type:"code",stable:!1,startIndex:i}}i+=u.length+1;continue}if(this.codeBlockState.inCodeBlock){a.source+=`
271
+ `+u,i+=u.length+1;continue}if(u.trim()===""){a&&a.source.trim()!==""&&(a.stable=!0,n.push(a),a=null),i+=u.length+1;continue}const d=this.detectBlockType(u);if(d==="heading"||d==="thematicBreak"){a&&(a.stable=!0,n.push(a)),a={source:u,type:d,stable:!h,startIndex:i},d==="thematicBreak"&&(a.stable=!0,n.push(a),a=null),i+=u.length+1;continue}if(d==="list"){a&&a.type!=="list"?(a.stable=!0,n.push(a),a={source:u,type:"list",stable:!1,startIndex:i}):a&&a.type==="list"?a.source+=`
272
+ `+u:a={source:u,type:"list",stable:!1,startIndex:i},i+=u.length+1;continue}if(d==="blockquote"){a&&a.type!=="blockquote"?(a.stable=!0,n.push(a),a={source:u,type:"blockquote",stable:!1,startIndex:i}):a&&a.type==="blockquote"?a.source+=`
273
+ `+u:a={source:u,type:"blockquote",stable:!1,startIndex:i},i+=u.length+1;continue}if(d==="table"){a&&a.type!=="table"?(a.stable=!0,n.push(a),a={source:u,type:"table",stable:!1,startIndex:i}):a&&a.type==="table"?a.source+=`
274
+ `+u:a={source:u,type:"table",stable:!1,startIndex:i},i+=u.length+1;continue}a?a.type==="paragraph"||a.type==="heading"?a.type==="heading"?(a.stable=!0,n.push(a),a={source:u,type:"paragraph",stable:!1,startIndex:i}):a.source+=`
275
+ `+u:(a.stable=!0,n.push(a),a={source:u,type:"paragraph",stable:!1,startIndex:i}):a={source:u,type:"paragraph",stable:!1,startIndex:i},i+=u.length+1}return a&&(e.endsWith(`
276
+
277
+ `)&&(a.stable=!0),n.push(a)),n}isCodeFence(e){const t=e.trim();return/^(`{3,}|~{3,})/.test(t)}extractFence(e){const t=e.trim().match(/^(`{3,}|~{3,})/);return t?t[1]:""}isMatchingCloseFence(e){const t=e.trim(),n=this.codeBlockState.fence;return n.startsWith("`")?/^`{3,}$/.test(t)&&t.length>=n.length:/^~{3,}$/.test(t)&&t.length>=n.length}detectBlockType(e){const t=e.trim();return/^#{1,6}\s/.test(t)?"heading":/^(\*{3,}|-{3,}|_{3,})$/.test(t.replace(/\s/g,""))?"thematicBreak":/^[-*+]\s/.test(t)||/^\d+\.\s/.test(t)?"list":/^>\s?/.test(t)?"blockquote":/\|/.test(t)&&t.includes("|")?"table":"paragraph"}}function f1(r){let e=0;for(let t=0;t<r.length;t++){const n=r.charCodeAt(t);e=(e<<5)-e+n,e=e&e}return Math.abs(e).toString(16).slice(0,8).padStart(8,"0")}class Va{constructor(){ue(this,"cache",new Map);ue(this,"hits",0);ue(this,"misses",0)}generateKey(e,t,n){return`block-${e}`}get(e,t){const n=this.cache.get(e);return n&&n.source===t?(this.hits++,n.hast):(this.misses++,null)}set(e,t,n){this.cache.set(e,{source:t,hast:n,hash:f1(t)})}has(e,t){const n=this.cache.get(e);return n!==void 0&&n.source===t}invalidateFrom(e){for(const t of this.cache.keys())t>=e&&this.cache.delete(t)}clear(){this.cache.clear(),this.hits=0,this.misses=0}getStats(){return{hits:this.hits,misses:this.misses}}createBlockInfo(e,t,n,a,i){return{key:this.generateKey(e,t,a),source:t,stable:a,index:e,type:n,hast:i}}}const p1={html:[/^<\/$/,/^<\/?[a-zA-Z][a-zA-Z0-9-]{0,100}[^>\r\n]{0,1000}$/]},fn=[{tokenType:"html",isStartOfToken:r=>r.startsWith("<"),isStreamingValid:r=>p1.html.some(e=>e.test(r))}];function v1(r,e=!1){const t=r.split(`
278
+ `);let n=!1,a="",i=0;for(let s=0;s<t.length;s++){const u=t[s],d=(u.endsWith("\r")?u.slice(0,-1):u).match(/^(`{3,}|~{3,})(.*)$/);if(d){const f=d[1],g=d[2],b=f[0],x=f.length;n?b===a&&x>=i&&/^\s*$/.test(g)&&(e||s<t.length-1)&&(n=!1,a="",i=0):(n=!0,a=b,i=x)}}return n}function pn(r){if(/^\s{0,3}[-*+]\s*$/.test(r)||/^\s{0,3}\d+[.)]\s*$/.test(r)||/^\s{0,3}\d+$/.test(r)||/^\s{0,3}>\s*$/.test(r)||/^\s{0,3}#{1,6}\s*$/.test(r)||/^\s{0,3}(`{3,}|~{3,})\s*\w*\s*$/.test(r))return!0;const e=r.trim();return!!(e.startsWith("|")&&(e.replace(/\|/g,"").trim()===""||(e.match(/\|/g)||[]).length<2))}function g1(r){const e="$$";let t=0,n=0,a=-1;for(;;){const i=r.indexOf(e,t);if(i===-1)break;n++,n%2===1?a=i:a=-1,t=i+e.length}return a!==-1?r.slice(0,a):r}function y1(r){if(!r)return r;let e=g1(r);if(e.endsWith(`
279
+ `)){const a=e.slice(0,-1),i=a.lastIndexOf(`
280
+ `),s=i>=0?a.slice(i+1):a;return pn(s)?i>=0?e.slice(0,i+1):"":e}const t=e.lastIndexOf(`
281
+ `),n=t>=0?e.slice(t+1):e;return pn(n)?t>=0?e.slice(0,t+1):"":e}function $t(){return{pending:"",token:"text",processedLength:0,completeMarkdown:""}}function j0(r){r.pending&&(r.completeMarkdown+=r.pending,r.pending=""),r.token="text"}function vn(r,e){const{token:t,pending:n}=r;if(t==="text"&&e.isStartOfToken(n)){r.token=e.tokenType;return}t===e.tokenType&&!e.isStreamingValid(n)&&j0(r)}class Ua{constructor(){ue(this,"state");this.state=$t()}process(e){if(!e)return this.reset(),"";const t=this.state.completeMarkdown+this.state.pending;e.startsWith(t)||this.reset();const n=e.slice(this.state.processedLength);if(!n)return this.state.completeMarkdown;this.state.processedLength+=n.length;for(const a of n){if(this.state.pending+=a,v1(this.state.completeMarkdown+this.state.pending)){j0(this.state);continue}if(this.state.token==="text")for(const s of fn)vn(this.state,s);else{const s=fn.find(u=>u.tokenType===this.state.token);s&&vn(this.state,s)}this.state.token==="text"&&j0(this.state)}return y1(this.state.completeMarkdown)}finish(){return j0(this.state),this.state.completeMarkdown}getFullContent(){return this.state.completeMarkdown+this.state.pending}getCurrentToken(){return this.state.token}getPending(){return this.state.pending}reset(){this.state=$t()}}const b1=`<svg xmlns="http://www.w3.org/2000/svg" width="200" height="120" viewBox="0 0 200 120">
282
+ <defs>
283
+ <linearGradient id="shimmer" x1="-100%" y1="0%" x2="0%" y2="0%">
284
+ <stop offset="0%" stop-color="#e8e8e8"/>
285
+ <stop offset="50%" stop-color="#f5f5f5"/>
286
+ <stop offset="100%" stop-color="#e8e8e8"/>
287
+ <animate attributeName="x1" from="-100%" to="100%" dur="1.5s" repeatCount="indefinite"/>
288
+ <animate attributeName="x2" from="0%" to="200%" dur="1.5s" repeatCount="indefinite"/>
289
+ </linearGradient>
290
+ </defs>
291
+ <rect width="200" height="120" rx="6" fill="url(#shimmer)"/>
292
+ <g transform="translate(100,60)">
293
+ <rect x="-24" y="-18" width="48" height="36" rx="3" fill="#bdbdbd"/>
294
+ <circle cx="-12" cy="-8" r="5" fill="#9e9e9e"/>
295
+ <path d="M-24 18 L-24 6 L-8 -2 L4 8 L24 -6 L24 18 Z" fill="#9e9e9e"/>
296
+ </g>
297
+ </svg>`,$0="data:image/svg+xml,"+encodeURIComponent(b1),$a=["bold","italic","code","strikethrough","link","image"];class Ga{constructor(e={}){ue(this,"enabledTypes");const t=e.predictedInlineTypes??$a;this.enabledTypes=new Set(t)}complete(e){const t=[],n=[],a=(g,b)=>{let x=0;for(let S=b-1;S>=0&&g[S]==="\\";S--)x++;return x%2===1};let i=0;const s=e.length;for(;i<s;){if(e[i]==="\\"&&i+1<s){i+=2;continue}if(this.enabledTypes.has("code")&&e[i]==="`"){const g=this.handleCodeMarker(e,i,n);if(g.skip>0){i+=g.skip;continue}}if(this.enabledTypes.has("strikethrough")&&e[i]==="~"&&e[i+1]==="~"){const g=this.handleDoubleMarker(e,i,"~~","strikethrough",n);if(g.skip>0){i+=g.skip;continue}}if(this.enabledTypes.has("bold")&&(e[i]==="*"&&e[i+1]==="*"||e[i]==="_"&&e[i+1]==="_")){const g=e.slice(i,i+2),b=this.handleDoubleMarker(e,i,g,"bold",n);if(b.skip>0){i+=b.skip;continue}}if(this.enabledTypes.has("italic")&&(e[i]==="*"||e[i]==="_")){const g=this.handleSingleEmphasis(e,i,n);if(g.skip>0){i+=g.skip;continue}}if(this.enabledTypes.has("image")&&e[i]==="!"){if(e[i+1]==="["){const g=this.handleImageOrLink(e,i,!0,n);if(g.skip>0){i+=g.skip;continue}}else if(i===s-1){n.push({type:"image",marker:"!",position:i}),i++;continue}}if(this.enabledTypes.has("link")&&e[i]==="["){const g=this.handleImageOrLink(e,i,!1,n);if(g.skip>0){i+=g.skip;continue}}i++}const u=n.some(g=>g.type==="strikethrough"),d=this.enabledTypes.has("strikethrough")&&u&&e.endsWith("~")&&!e.endsWith("~~")&&!a(e,e.length-1)?e.slice(0,-1):e;let f=d;for(let g=n.length-1;g>=0;g--){const b=n[g],x=this.getCloseMarker(b);if(t.push({type:b.type,position:b.position,marker:x,openMarker:b.marker}),b.marker==="![...](incomplete"&&b.urlStartPosition!==void 0){f=f.slice(0,b.urlStartPosition)+x;continue}b.position+b.marker.length===d.length&&(b.type==="bold"||b.type==="italic"||b.type==="code"||b.type==="strikethrough")?f+="​"+x:f+=x}return{text:f,completions:t,hasCompletions:t.length>0}}handleCodeMarker(e,t,n){let a=0;for(;t+a<e.length&&e[t+a]==="`";)a++;const i="`".repeat(a),s=this.findInStack(n,"code",i);return s>=0?(n.splice(s,1),{skip:a}):(n.push({type:"code",marker:i,position:t}),{skip:a})}handleDoubleMarker(e,t,n,a,i){const s=this.findInStack(i,a,n);if(s>=0)return i.splice(s,1),{skip:2};const u=e[t+2];return(!u||!/\s/.test(u))&&i.push({type:a,marker:n,position:t}),{skip:2}}handleSingleEmphasis(e,t,n){const a=e[t];if(e[t+1]===a)return{skip:0};if(a==="_"){const u=e[t-1],h=e[t+1];if(u&&/\w/.test(u)&&h&&/\w/.test(h))return{skip:0}}const i=this.findInStack(n,"italic",a);if(i>=0)return n.splice(i,1),{skip:1};const s=e[t+1];return(!s||!/\s/.test(s))&&n.push({type:"italic",marker:a,position:t}),{skip:1}}handleImageOrLink(e,t,n,a){const i=n?"image":"link",s=n?2:1;let u=e.indexOf("]",t+s);if(u===-1)return a.push({type:i,marker:n?"![":"[",position:t}),{skip:s};if(e[u+1]==="("){let h=e.indexOf(")",u+2);return h===-1?(n?a.push({type:i,marker:"![...](incomplete",position:t,urlStartPosition:u+2}):a.push({type:i,marker:"[...](",position:t}),{skip:u+2-t}):{skip:h+1-t}}if(e[u+1]==="["){let h=e.indexOf("]",u+2);return h===-1?(a.push({type:i,marker:n?"![...][":"[...][",position:t}),{skip:u+2-t}):{skip:h+1-t}}return u+1>=e.length||!/[([]/.test(e[u+1])?(a.push({type:i,marker:n?"![...]":"[...]",position:t}),{skip:u+1-t}):{skip:s}}findInStack(e,t,n){for(let a=e.length-1;a>=0;a--)if(e[a].type===t){if(t==="code"&&e[a].marker!==n||(t==="bold"||t==="italic")&&e[a].marker[0]!==n[0])continue;return a}return-1}getCloseMarker(e){switch(e.type){case"link":return e.marker.includes("](")?")":e.marker.includes("][")?"]":e.marker==="[...]"?"(#)":"](#)";case"image":return e.marker==="!"?`[](${$0})`:e.marker==="![...](incomplete"?`${$0})`:e.marker.includes("](")?")":e.marker.includes("][")?"]":e.marker==="![...]"?`(${$0})`:`](${$0})`;default:return e.marker}}setEnabledTypes(e){this.enabledTypes=new Set(e)}}function x1(r={}){const{enableCache:e=!0,enableInlinePrediction:t=!0,predictedInlineTypes:n,bufferUncertainPrefixes:a=!0,enableCharacterBuffer:i=!0,...s}=r;let u="",h=!1,d=0,f=0;const g=new Ha,b=new Va,x=C0(s),S=t?new Ga({predictedInlineTypes:n}):null,k=i?new Ua:null;let B=[];function N(L){try{const O=x.runSync(x.parse(L));return O.children.length===1&&O.children[0].type==="element"?O.children[0]:{type:"element",tagName:"div",properties:{},children:O.children}}catch{return{type:"element",tagName:"div",properties:{className:["parse-error"]},children:[{type:"text",value:L}]}}}function T(L){const O=[];for(let P=0;P<L.length;P++){const $=L[P],U=P===L.length-1,oe=$.stable&&(!U||h);let G=null;if(e&&oe&&(G=b.get(P,$.source)),!G){const ce=performance.now();let ne=$.source;!oe&&S&&$.type!=="code"&&(ne=S.complete(ne).text),G=N(ne),f+=performance.now()-ce,e&&oe&&b.set(P,$.source,G)}!oe&&G&&(G={...G,properties:{...G.properties,"data-pending":!0}});const X=b.generateKey(P,$.source,oe);G&&(G={...G,properties:{...G.properties,"data-block-key":X}}),O.push(b.createBlockInfo(P,$.source,$.type,oe,G))}return O}function H(L){return{type:"root",children:L.map(P=>P.hast).filter(P=>P!==null)}}function R(L){const O=G=>{if(/^\s{0,3}[-*+]\s*$/.test(G)||/^\s{0,3}\d+[.)]\s*$/.test(G)||/^\s{0,3}>\s*$/.test(G)||/^\s{0,3}#{1,6}\s*$/.test(G)||/^\s{0,3}(`{3,}|~{3,})\s*\w*\s*$/.test(G))return!0;const X=G.trim();return!!(X.startsWith("|")&&(X.replace(/\|/g,"").trim()===""||(X.match(/\|/g)||[]).length<2))};let $=(G=>{const X="$$";let ce=0,ne=0,he=-1;for(;;){const Se=G.indexOf(X,ce);if(Se===-1)break;ne++,ne%2===1?he=Se:he=-1,ce=Se+X.length}return he!==-1?G.slice(0,he):G})(L);if($.endsWith(`
298
+ `)){const G=$.slice(0,-1),X=G.lastIndexOf(`
299
+ `),ce=X>=0?G.slice(X+1):G;return O(ce)?X>=0?$.slice(0,X+1):"":$}const U=$.lastIndexOf(`
300
+ `),oe=U>=0?$.slice(U+1):$;return O(oe)?U>=0?$.slice(0,U+1):"":$}return{append(L){if(h)throw new Error("Parser is already complete. Call reset() to reuse.");u+=L,d++;let O;k?O=k.process(u):a?O=R(u):O=u;const P=g.split(O);B=T(P)},getState(){return{hast:H(B),blocks:B,isComplete:h}},getStats(){const L=b.getStats();return{totalAppends:d,cacheHits:L.hits,cacheMisses:L.misses,avgParseTime:d>0?f/d:0,totalParseTime:f}},finish(){h=!0,k&&k.finish();const L=g.split(u);B=T(L)},reset(){u="",h=!1,d=0,f=0,B=[],b.clear(),k&&k.reset()},getContent(){return u}}}const Wa={slow:{interval:50,chunkSize:1},medium:{interval:30,chunkSize:2},fast:{interval:10,chunkSize:5},instant:{interval:0,chunkSize:1/0}},ja="medium";class w1{constructor(e=ja){ue(this,"_status","idle");ue(this,"_progress",0);ue(this,"_config");ue(this,"_content","");ue(this,"_index",0);ue(this,"_accumulated","");ue(this,"_timerId",null);ue(this,"_onChunk",null);ue(this,"_onComplete",null);this._config=this._resolveConfig(e)}get status(){return this._status}get progress(){return this._progress}start(e,t,n){this.stop(),this._content=e,this._index=0,this._accumulated="",this._onChunk=t,this._onComplete=n||null,this._status="running",this._progress=0,this._scheduleNext()}pause(){this._status==="running"&&(this._clearTimer(),this._status="paused")}resume(){this._status==="paused"&&(this._status="running",this._scheduleNext())}stop(){this._clearTimer(),this._content="",this._index=0,this._accumulated="",this._onChunk=null,this._onComplete=null,this._status="idle",this._progress=0}skipToEnd(){if(!(this._status==="idle"||this._status==="complete")){if(this._clearTimer(),this._index<this._content.length){const e=this._content.slice(this._index);this._accumulated+=e,this._index=this._content.length,this._progress=1,this._onChunk&&this._onChunk(e,this._accumulated)}this._complete()}}setRate(e){this._config=this._resolveConfig(e)}_resolveConfig(e){return typeof e=="string"?{...Wa[e]}:{...e}}_scheduleNext(){if(this._status==="running"){if(this._config.interval===0||this._config.chunkSize===1/0){this._outputAll();return}this._timerId=setTimeout(()=>{this._outputChunk()},this._config.interval)}}_outputChunk(){if(this._status!=="running"||this._index>=this._content.length){this._complete();return}const e=this._content.slice(this._index,this._index+this._config.chunkSize);this._index+=e.length,this._accumulated+=e,this._progress=this._content.length>0?this._index/this._content.length:1,this._onChunk&&this._onChunk(e,this._accumulated),this._index>=this._content.length?this._complete():this._scheduleNext()}_outputAll(){this._content.length>0&&(this._accumulated=this._content,this._index=this._content.length,this._progress=1,this._onChunk&&this._onChunk(this._content,this._accumulated)),this._complete()}_complete(){this._clearTimer(),this._status="complete",this._progress=1,this._onComplete&&this._onComplete()}_clearTimer(){this._timerId!==null&&(clearTimeout(this._timerId),this._timerId=null)}}const Xa={darkMode:!1,background:"#f4f4f4",fontFamily:'"trebuchet ms", verdana, arial, sans-serif',primaryColor:"#eee",primaryTextColor:"#333",primaryBorderColor:"#999",secondaryColor:"#f0f0f0",secondaryTextColor:"#333",secondaryBorderColor:"#aaa",tertiaryColor:"#e8e8e8",tertiaryTextColor:"#333",tertiaryBorderColor:"#bbb",lineColor:"#666",textColor:"#333",mainBkg:"#eee",noteBkgColor:"#fff5ad",noteTextColor:"#333",noteBorderColor:"#aaaa33",nodeBorder:"#999",clusterBkg:"#f8f8f8",clusterBorder:"#ccc",edgeLabelBackground:"#f8f8f8",nodeTextColor:"#333",actorBkg:"#eee",actorBorder:"#999",actorTextColor:"#333",actorLineColor:"#666",signalColor:"#333",signalTextColor:"#333",activationBkgColor:"#f4f4f4",activationBorderColor:"#666",loopTextColor:"#333"},Ya={darkMode:!0,background:"#1f1f1f",fontFamily:'"trebuchet ms", verdana, arial, sans-serif',primaryColor:"#1f2020",primaryTextColor:"#e0e0e0",primaryBorderColor:"#81B1DB",secondaryColor:"#2b2b2b",secondaryTextColor:"#e0e0e0",secondaryBorderColor:"#666",tertiaryColor:"#333",tertiaryTextColor:"#e0e0e0",tertiaryBorderColor:"#555",lineColor:"#81B1DB",textColor:"#ccc",mainBkg:"#1f2020",noteBkgColor:"#fff5ad",noteTextColor:"#333",noteBorderColor:"#aaaa33",nodeBorder:"#81B1DB",clusterBkg:"#2b2b2b",clusterBorder:"#555",edgeLabelBackground:"#2b2b2b",nodeTextColor:"#e0e0e0",actorBkg:"#1f2020",actorBorder:"#81B1DB",actorTextColor:"#e0e0e0",actorLineColor:"#81B1DB",signalColor:"#e0e0e0",signalTextColor:"#e0e0e0",activationBkgColor:"#2b2b2b",activationBorderColor:"#81B1DB",loopTextColor:"#e0e0e0"},Gt={light:Xa,dark:Ya},_a={strategy:"auto",selector:"html",darkClassNames:["dark","theme-dark","dark-mode","dark-theme"],lightClassNames:["light","theme-light","light-mode","light-theme"],dataAttributes:["data-theme","data-mode","data-color-scheme","data-color-mode"],darkAttributeValues:["dark","night"]};function G0(){var r;return typeof window>"u"?"light":(r=window.matchMedia)!=null&&r.call(window,"(prefers-color-scheme: dark)").matches?"dark":"light"}function gn(r){if(typeof document>"u")return null;const e=document.querySelector(r.selector);if(!e)return null;const t=e.classList;for(const n of r.darkClassNames)if(t.contains(n))return"dark";for(const n of r.lightClassNames)if(t.contains(n))return"light";return null}function yn(r){var t;if(typeof document>"u")return null;const e=document.querySelector(r.selector);if(!e)return null;for(const n of r.dataAttributes){const a=(t=e.getAttribute(n))==null?void 0:t.toLowerCase();if(a){if(r.darkAttributeValues.includes(a))return"dark";if(a==="light"||a==="day")return"light"}}return null}function S0(r={}){const e={..._a,...r};switch(e.strategy){case"system":return G0();case"class":return gn(e)??G0();case"attribute":return yn(e)??G0();case"auto":default:{const t=yn(e);if(t)return t;const n=gn(e);return n||G0()}}}function k1(r,e={}){var a;const t={..._a,...e},n=[];if(t.strategy==="system"||t.strategy==="auto"){const i=(a=window.matchMedia)==null?void 0:a.call(window,"(prefers-color-scheme: dark)");if(i){const s=()=>r(S0(t));i.addEventListener("change",s),n.push(()=>i.removeEventListener("change",s))}}if(t.strategy!=="system"&&typeof MutationObserver<"u"){const i=document.querySelector(t.selector);if(i){const s=new MutationObserver(()=>{r(S0(t))});s.observe(i,{attributes:!0,attributeFilter:["class",...t.dataAttributes]}),n.push(()=>s.disconnect())}}return()=>n.forEach(i=>i())}let Ct=null,S1=0;async function Wt(){return Ct||(Ct=Promise.resolve().then(()=>require("./mermaid.core-CCMj67LO.cjs")).then(r=>r.mermaid_core)),Ct}function M1(r){return r!==void 0&&"light"in r&&"dark"in r&&typeof r.light=="object"&&typeof r.dark=="object"}function T1(r,e){const{theme:t="auto",themeVariables:n}=r,a=S0(e)==="dark";if(t==="auto"||t==="base"){let i;return M1(n)?i=a?n.dark:n.light:n?i=n:i=a?Gt.dark:Gt.light,{theme:"base",themeVariables:i}}return{theme:t}}let bn=null;class A1{constructor(e={},t){ue(this,"options");ue(this,"darkModeOptions");this.options=e,this.darkModeOptions=t}async initialize(){const e=S0(this.darkModeOptions),{theme:t,themeVariables:n}=T1(this.options,this.darkModeOptions),a=JSON.stringify({theme:t,themeVariables:n,colorScheme:e});if(bn===a)return;(await Wt()).default.initialize({startOnLoad:!1,theme:t,themeVariables:n,securityLevel:this.options.securityLevel??"strict",maxTextSize:5e4,flowchart:{useMaxWidth:!0,htmlLabels:!0},sequence:{useMaxWidth:!0}}),bn=a}async render(e){var t;try{await this.initialize();const n=await Wt(),a=`${this.options.idPrefix??"mermaid"}-${++S1}`,i=document.createElement("div");i.style.cssText="position:absolute;left:-9999px;top:-9999px;",document.body.appendChild(i);try{const{svg:s}=await n.default.render(a,e,i);return{success:!0,svg:s}}finally{i.remove(),(t=document.getElementById(`d${a}`))==null||t.remove()}}catch(n){return{success:!1,error:n instanceof Error?n.message:String(n)}}}setTheme(e){this.options.theme=e}setThemeVariables(e){this.options.themeVariables=e}setDarkModeOptions(e){this.darkModeOptions=e}}async function Ka(r,e={}){const{backgroundColor:t="transparent",scale:n=2,padding:a=20}=e;return new Promise((i,s)=>{const u=document.createElement("div");u.style.position="absolute",u.style.left="-9999px",u.style.top="-9999px",u.innerHTML=r,document.body.appendChild(u);const h=u.querySelector("svg");if(!h){document.body.removeChild(u),s(new Error("Invalid SVG string"));return}let d=800,f=600;const g=h.getAttribute("viewBox");if(g){const R=g.split(/\s+|,/).map(Number);R.length===4&&R[2]>0&&R[3]>0&&(d=R[2],f=R[3])}if(!g)try{const R=h.getAttribute("width"),L=h.getAttribute("height");if(R&&!R.includes("%")){const O=parseFloat(R);!isNaN(O)&&O>0&&(d=O)}if(L&&!L.includes("%")){const O=parseFloat(L);!isNaN(O)&&O>0&&(f=O)}}catch{}if(d===800&&f===600){const R=h.getBoundingClientRect();R.width>0&&R.height>0&&(d=R.width,f=R.height)}document.body.removeChild(u);const b=h.cloneNode(!0);b.setAttribute("width",String(d)),b.setAttribute("height",String(f)),g||b.setAttribute("viewBox",`0 0 ${d} ${f}`);const x=document.createElement("canvas"),S=x.getContext("2d");if(!S){s(new Error("Failed to get canvas context"));return}const k=(d+a*2)*n,B=(f+a*2)*n;x.width=k,x.height=B,t!=="transparent"&&(S.fillStyle=t,S.fillRect(0,0,k,B));const N=new Image;N.crossOrigin="anonymous",N.onload=()=>{S.scale(n,n),S.drawImage(N,a,a,d,f),x.toBlob(R=>{R?i(R):s(new Error("Failed to create PNG blob"))},"image/png",1)},N.onerror=()=>{s(new Error("Failed to load SVG as image"))};const T=new XMLSerializer().serializeToString(b),H=btoa(unescape(encodeURIComponent(T)));N.src=`data:image/svg+xml;base64,${H}`})}async function z1(r,e={}){const{filename:t=`mermaid-chart-${Date.now()}`}=e,n=await Ka(r,e),a=URL.createObjectURL(n),i=document.createElement("a");i.href=a,i.download=`${t}.png`,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)}function C1(r,e={}){const{filename:t=`mermaid-chart-${Date.now()}`}=e,n=new Blob([r],{type:"image/svg+xml;charset=utf-8"}),a=URL.createObjectURL(n),i=document.createElement("a");i.href=a,i.download=`${t}.svg`,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)}exports.BlockCache=Va;exports.BlockSplitter=Ha;exports.DEFAULT_INLINE_TYPES=$a;exports.DEFAULT_RATE=ja;exports.InlineCompleter=Ga;exports.MermaidRenderer=A1;exports.OutputRateController=w1;exports.RATE_PRESETS=Wa;exports.StreamBuffer=Ua;exports.createInitialBufferState=$t;exports.createProcessor=C0;exports.createStreamingParser=x1;exports.darkThemeVariables=Ya;exports.defaultCustomTheme=Gt;exports.defaultProcessor=qa;exports.detectColorScheme=S0;exports.downloadAsPng=z1;exports.downloadAsSvg=C1;exports.katex=ms;exports.lightThemeVariables=Xa;exports.loadMermaid=Wt;exports.observeColorScheme=k1;exports.parse=d1;exports.parseToHast=Fa;exports.parseToHtml=Pa;exports.rehypeImageSize=Ra;exports.svgToPngBlob=Ka;