99AI/public/assets/index-b71062e6.js
2024-07-07 13:09:08 +08:00

362 lines
474 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{h as m0}from"./naive-ui-fedd20b1.js";var Qu={exports:{}},Ll;function ks(){return Ll||(Ll=1,function(n,a){(function(d,x){n.exports=x()})(typeof self<"u"?self:m0,function(){return function(){var s={};(function(){s.d=function(m,r){for(var t in r)s.o(r,t)&&!s.o(m,t)&&Object.defineProperty(m,t,{enumerable:!0,get:r[t]})}})(),function(){s.o=function(m,r){return Object.prototype.hasOwnProperty.call(m,r)}}();var d={};s.d(d,{default:function(){return Yu}});var x=function m(r,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var i="KaTeX parse error: "+r,l,c,v=t&&t.loc;if(v&&v.start<=v.end){var A=v.lexer.input;l=v.start,c=v.end,l===A.length?i+=" at end of input: ":i+=" at position "+(l+1)+": ";var D=A.slice(l,c).replace(/[^]/g,"$&̲"),M;l>15?M="…"+A.slice(l-15,l):M=A.slice(0,l);var N;c+15<A.length?N=A.slice(c,c+15)+"…":N=A.slice(c),i+=M+D+N}var U=new Error(i);return U.name="ParseError",U.__proto__=m.prototype,U.position=l,l!=null&&c!=null&&(U.length=c-l),U.rawMessage=r,U};x.prototype.__proto__=Error.prototype;var b=x,C=function(r,t){return r.indexOf(t)!==-1},B=function(r,t){return r===void 0?t:r},z=/([A-Z])/g,I=function(r){return r.replace(z,"-$1").toLowerCase()},q={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},V=/[&><"']/g;function W(m){return String(m).replace(V,function(r){return q[r]})}var j=function m(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?m(r.body[0]):r:r.type==="font"?m(r.body):r},ke=function(r){var t=j(r);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},ve=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},De=function(r){var t=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(r);return t!=null?t[1]:"_relative"},Z={contains:C,deflt:B,escape:W,hyphenate:I,getBaseElem:j,isCharacterBox:ke,protocolFromUrl:De},be={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:function(r){return"#"+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:function(r,t){return t.push(r),t}},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:function(r){return 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:function(r){return 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:function(r){return Math.max(0,r)},cli:"-e, --max-expand <n>",cliProcessor:function(r){return r==="Infinity"?1/0:parseInt(r)}},globalGroup:{type:"boolean",cli:!1}};function qe(m){if(m.default)return m.default;var r=m.type,t=Array.isArray(r)?r[0]:r;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var Ve=function(){function m(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var i in be)if(be.hasOwnProperty(i)){var l=be[i];this[i]=t[i]!==void 0?l.processor?l.processor(t[i]):t[i]:qe(l)}}var r=m.prototype;return r.reportNonstrict=function(i,l,c){var v=this.strict;if(typeof v=="function"&&(v=v(i,l,c)),!(!v||v==="ignore")){if(v===!0||v==="error")throw new b("LaTeX-incompatible input and strict mode is set to 'error': "+(l+" ["+i+"]"),c);v==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(l+" ["+i+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+v+"': "+l+" ["+i+"]"))}},r.useStrictBehavior=function(i,l,c){var v=this.strict;if(typeof v=="function")try{v=v(i,l,c)}catch{v="error"}return!v||v==="ignore"?!1:v===!0||v==="error"?!0:v==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(l+" ["+i+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+v+"': "+l+" ["+i+"]")),!1)},r.isTrusted=function(i){i.url&&!i.protocol&&(i.protocol=Z.protocolFromUrl(i.url));var l=typeof this.trust=="function"?this.trust(i):this.trust;return!!l},m}(),Oe=function(){function m(t,i,l){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=i,this.cramped=l}var r=m.prototype;return r.sup=function(){return P[ce[this.id]]},r.sub=function(){return P[re[this.id]]},r.fracNum=function(){return P[we[this.id]]},r.fracDen=function(){return P[Se[this.id]]},r.cramp=function(){return P[_e[this.id]]},r.text=function(){return P[Ee[this.id]]},r.isTight=function(){return this.size>=2},m}(),ir=0,ar=1,ur=2,or=3,Br=4,sr=5,Rr=6,G=7,P=[new Oe(ir,0,!1),new Oe(ar,0,!0),new Oe(ur,1,!1),new Oe(or,1,!0),new Oe(Br,2,!1),new Oe(sr,2,!0),new Oe(Rr,3,!1),new Oe(G,3,!0)],ce=[Br,sr,Br,sr,Rr,G,Rr,G],re=[sr,sr,sr,sr,G,G,G,G],we=[ur,or,Br,sr,Rr,G,Rr,G],Se=[or,or,sr,sr,G,G,G,G],_e=[ar,ar,or,or,sr,sr,G,G],Ee=[ir,ar,ur,or,ur,or,ur,or],ue={DISPLAY:P[ir],TEXT:P[ur],SCRIPT:P[Br],SCRIPTSCRIPT:P[Rr]},Le=[{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 Mr(m){for(var r=0;r<Le.length;r++)for(var t=Le[r],i=0;i<t.blocks.length;i++){var l=t.blocks[i];if(m>=l[0]&&m<=l[1])return t.name}return null}var Ge=[];Le.forEach(function(m){return m.blocks.forEach(function(r){return Ge.push.apply(Ge,r)})});function mr(m){for(var r=0;r<Ge.length;r+=2)if(m>=Ge[r]&&m<=Ge[r+1])return!0;return!1}var We=80,wr=function(r,t){return"M95,"+(622+r+t)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+r/2.075+" -"+r+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+r)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+r)+" "+t+"h400000v"+(40+r)+"h-400000z"},Ir=function(r,t){return"M263,"+(601+r+t)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+r/2.084+" -"+r+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+r)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+r)+" "+t+"h400000v"+(40+r)+"h-400000z"},Yt=function(r,t){return"M983 "+(10+r+t)+`
l`+r/3.13+" -"+r+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+r)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+r)+" "+t+"h400000v"+(40+r)+"h-400000z"},Ka=function(r,t){return"M424,"+(2398+r+t)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+r/4.223+" -"+r+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+r)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+r)+" "+t+`
h400000v`+(40+r)+"h-400000z"},vr=function(r,t){return"M473,"+(2713+r+t)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+r/5.298+" -"+r+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+r)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+r)+" "+t+"h400000v"+(40+r)+"H1017.7z"},pe=function(r){var t=r/2;return"M400000 "+r+" H0 L"+t+" 0 l65 45 L145 "+(r-80)+" H400000z"},ti=function(r,t,i){var l=i-54-t-r;return"M702 "+(r+t)+"H400000"+(40+r)+`
H742v`+l+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+t+"H400000v"+(40+r)+"H742z"},xt=function(r,t,i){t=1e3*t;var l="";switch(r){case"sqrtMain":l=wr(t,We);break;case"sqrtSize1":l=Ir(t,We);break;case"sqrtSize2":l=Yt(t,We);break;case"sqrtSize3":l=Ka(t,We);break;case"sqrtSize4":l=vr(t,We);break;case"sqrtTall":l=ti(t,We,i)}return l},on=function(r,t){switch(r){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""}},gr={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Za=function(r,t){switch(r){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 h347 v-84
H403z M403 1759 V0 H319 V1759 v`+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v1759 H0 v84 H347z
M347 1759 V0 H263 V1759 v`+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z
M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+` v1715 h263 v84 H319z
MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+` v1799 H0 v-84 H319z
MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v602 h84z
M403 1759 V0 H319 V1759 v`+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v602 h84z
M347 1759 V0 h-84 V1759 v`+t+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
-36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+`
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},Or=function(){function m(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var r=m.prototype;return r.hasClass=function(i){return Z.contains(this.classes,i)},r.toNode=function(){for(var i=document.createDocumentFragment(),l=0;l<this.children.length;l++)i.appendChild(this.children[l].toNode());return i},r.toMarkup=function(){for(var i="",l=0;l<this.children.length;l++)i+=this.children[l].toMarkup();return i},r.toText=function(){var i=function(c){return c.toText()};return this.children.map(i).join("")},m}(),yr={"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]}},y0={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]},ni={Å:"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 sn(m,r){yr[m]=r}function x0(m,r,t){if(!yr[r])throw new Error("Font metrics not found for font: "+r+".");var i=m.charCodeAt(0),l=yr[r][i];if(!l&&m[0]in ni&&(i=ni[m[0]].charCodeAt(0),l=yr[r][i]),!l&&t==="text"&&mr(i)&&(l=yr[r][77]),l)return{depth:l[0],height:l[1],italic:l[2],skew:l[3],width:l[4]}}var b0={};function ii(m){var r;if(m>=5?r=0:m>=3?r=1:r=2,!b0[r]){var t=b0[r]={cssEmPerMu:y0.quad[r]/18};for(var i in y0)y0.hasOwnProperty(i)&&(t[i]=y0[i][r])}return b0[r]}var Ja=[[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]],ai=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ui=function(r,t){return t.size<2?r:Ja[r-1][t.size-1]},li=function(){function m(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||m.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=ai[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}var r=m.prototype;return r.extend=function(i){var l={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 c in i)i.hasOwnProperty(c)&&(l[c]=i[c]);return new m(l)},r.havingStyle=function(i){return this.style===i?this:this.extend({style:i,size:ui(this.textSize,i)})},r.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},r.havingSize=function(i){return this.size===i&&this.textSize===i?this:this.extend({style:this.style.text(),size:i,textSize:i,sizeMultiplier:ai[i-1]})},r.havingBaseStyle=function(i){i=i||this.style.text();var l=ui(m.BASESIZE,i);return this.size===l&&this.textSize===m.BASESIZE&&this.style===i?this:this.extend({style:i,size:l})},r.havingBaseSizing=function(){var i;switch(this.style.id){case 4:case 5:i=3;break;case 6:case 7:i=1;break;default:i=6}return this.extend({style:this.style.text(),size:i})},r.withColor=function(i){return this.extend({color:i})},r.withPhantom=function(){return this.extend({phantom:!0})},r.withFont=function(i){return this.extend({font:i})},r.withTextFontFamily=function(i){return this.extend({fontFamily:i,font:""})},r.withTextFontWeight=function(i){return this.extend({fontWeight:i,font:""})},r.withTextFontShape=function(i){return this.extend({fontShape:i,font:""})},r.sizingClasses=function(i){return i.size!==this.size?["sizing","reset-size"+i.size,"size"+this.size]:[]},r.baseSizingClasses=function(){return this.size!==m.BASESIZE?["sizing","reset-size"+this.size,"size"+m.BASESIZE]:[]},r.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=ii(this.size)),this._fontMetrics},r.getColor=function(){return this.phantom?"transparent":this.color},m}();li.BASESIZE=6;var oi=li,Xt={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},Qa={ex:!0,em:!0,mu:!0},si=function(r){return typeof r!="string"&&(r=r.unit),r in Xt||r in Qa||r==="ex"},je=function(r,t){var i;if(r.unit in Xt)i=Xt[r.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(r.unit==="mu")i=t.fontMetrics().cssEmPerMu;else{var l;if(t.style.isTight()?l=t.havingStyle(t.style.text()):l=t,r.unit==="ex")i=l.fontMetrics().xHeight;else if(r.unit==="em")i=l.fontMetrics().quad;else throw new b("Invalid unit: '"+r.unit+"'");l!==t&&(i*=l.sizeMultiplier/t.sizeMultiplier)}return Math.min(r.number*i,t.maxSize)},ae=function(r){return+r.toFixed(4)+"em"},it=function(r){return r.filter(function(t){return t}).join(" ")},ci=function(r,t,i){if(this.classes=r||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=i||{},t){t.style.isTight()&&this.classes.push("mtight");var l=t.getColor();l&&(this.style.color=l)}},hi=function(r){var t=document.createElement(r);t.className=it(this.classes);for(var i in this.style)this.style.hasOwnProperty(i)&&(t.style[i]=this.style[i]);for(var l in this.attributes)this.attributes.hasOwnProperty(l)&&t.setAttribute(l,this.attributes[l]);for(var c=0;c<this.children.length;c++)t.appendChild(this.children[c].toNode());return t},cn=function(r){var t="<"+r;this.classes.length&&(t+=' class="'+Z.escape(it(this.classes))+'"');var i="";for(var l in this.style)this.style.hasOwnProperty(l)&&(i+=Z.hyphenate(l)+":"+this.style[l]+";");i&&(t+=' style="'+Z.escape(i)+'"');for(var c in this.attributes)this.attributes.hasOwnProperty(c)&&(t+=" "+c+'="'+Z.escape(this.attributes[c])+'"');t+=">";for(var v=0;v<this.children.length;v++)t+=this.children[v].toMarkup();return t+="</"+r+">",t},Wt=function(){function m(t,i,l,c){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,ci.call(this,t,l,c),this.children=i||[]}var r=m.prototype;return r.setAttribute=function(i,l){this.attributes[i]=l},r.hasClass=function(i){return Z.contains(this.classes,i)},r.toNode=function(){return hi.call(this,"span")},r.toMarkup=function(){return cn.call(this,"span")},m}(),w0=function(){function m(t,i,l,c){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,ci.call(this,i,c),this.children=l||[],this.setAttribute("href",t)}var r=m.prototype;return r.setAttribute=function(i,l){this.attributes[i]=l},r.hasClass=function(i){return Z.contains(this.classes,i)},r.toNode=function(){return hi.call(this,"a")},r.toMarkup=function(){return cn.call(this,"a")},m}(),fi=function(){function m(t,i,l){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=i,this.src=t,this.classes=["mord"],this.style=l}var r=m.prototype;return r.hasClass=function(i){return Z.contains(this.classes,i)},r.toNode=function(){var i=document.createElement("img");i.src=this.src,i.alt=this.alt,i.className="mord";for(var l in this.style)this.style.hasOwnProperty(l)&&(i.style[l]=this.style[l]);return i},r.toMarkup=function(){var i="<img src='"+this.src+" 'alt='"+this.alt+"' ",l="";for(var c in this.style)this.style.hasOwnProperty(c)&&(l+=Z.hyphenate(c)+":"+this.style[c]+";");return l&&(i+=' style="'+Z.escape(l)+'"'),i+="'/>",i},m}(),_t={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"},Tr=function(){function m(t,i,l,c,v,A,D,M){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=i||0,this.depth=l||0,this.italic=c||0,this.skew=v||0,this.width=A||0,this.classes=D||[],this.style=M||{},this.maxFontSize=0;var N=Mr(this.text.charCodeAt(0));N&&this.classes.push(N+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=_t[this.text])}var r=m.prototype;return r.hasClass=function(i){return Z.contains(this.classes,i)},r.toNode=function(){var i=document.createTextNode(this.text),l=null;this.italic>0&&(l=document.createElement("span"),l.style.marginRight=ae(this.italic)),this.classes.length>0&&(l=l||document.createElement("span"),l.className=it(this.classes));for(var c in this.style)this.style.hasOwnProperty(c)&&(l=l||document.createElement("span"),l.style[c]=this.style[c]);return l?(l.appendChild(i),l):i},r.toMarkup=function(){var i=!1,l="<span";this.classes.length&&(i=!0,l+=' class="',l+=Z.escape(it(this.classes)),l+='"');var c="";this.italic>0&&(c+="margin-right:"+this.italic+"em;");for(var v in this.style)this.style.hasOwnProperty(v)&&(c+=Z.hyphenate(v)+":"+this.style[v]+";");c&&(i=!0,l+=' style="'+Z.escape(c)+'"');var A=Z.escape(this.text);return i?(l+=">",l+=A,l+="</span>",l):A},m}(),Lr=function(){function m(t,i){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=i||{}}var r=m.prototype;return r.toNode=function(){var i="http://www.w3.org/2000/svg",l=document.createElementNS(i,"svg");for(var c in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,c)&&l.setAttribute(c,this.attributes[c]);for(var v=0;v<this.children.length;v++)l.appendChild(this.children[v].toNode());return l},r.toMarkup=function(){var i='<svg xmlns="http://www.w3.org/2000/svg"';for(var l in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,l)&&(i+=" "+l+"='"+this.attributes[l]+"'");i+=">";for(var c=0;c<this.children.length;c++)i+=this.children[c].toMarkup();return i+="</svg>",i},m}(),Zr=function(){function m(t,i){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=i}var r=m.prototype;return r.toNode=function(){var i="http://www.w3.org/2000/svg",l=document.createElementNS(i,"path");return this.alternate?l.setAttribute("d",this.alternate):l.setAttribute("d",gr[this.pathName]),l},r.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+gr[this.pathName]+"'/>"},m}(),Jr=function(){function m(t){this.attributes=void 0,this.attributes=t||{}}var r=m.prototype;return r.toNode=function(){var i="http://www.w3.org/2000/svg",l=document.createElementNS(i,"line");for(var c in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,c)&&l.setAttribute(c,this.attributes[c]);return l},r.toMarkup=function(){var i="<line";for(var l in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,l)&&(i+=" "+l+"='"+this.attributes[l]+"'");return i+="/>",i},m}();function pi(m){if(m instanceof Tr)return m;throw new Error("Expected symbolNode but got "+String(m)+".")}function eu(m){if(m instanceof Wt)return m;throw new Error("Expected span<HtmlDomNode> but got "+String(m)+".")}var ru={bin:1,close:1,inner:1,open:1,punct:1,rel:1},tu={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Kt={math:{},text:{}},$e=Kt;function p(m,r,t,i,l,c){Kt[m][l]={font:r,group:t,replace:i},c&&i&&(Kt[m][i]=Kt[m][l])}var g="math",ee="text",S="main",_="ams",Ue="accent-token",he="bin",cr="close",zt="inner",ye="mathord",Ke="op-token",Ar="open",bt="punct",F="rel",Qr="spacing",L="textord";p(g,S,F,"≡","\\equiv",!0),p(g,S,F,"≺","\\prec",!0),p(g,S,F,"≻","\\succ",!0),p(g,S,F,"","\\sim",!0),p(g,S,F,"⊥","\\perp"),p(g,S,F,"⪯","\\preceq",!0),p(g,S,F,"⪰","\\succeq",!0),p(g,S,F,"≃","\\simeq",!0),p(g,S,F,"","\\mid",!0),p(g,S,F,"≪","\\ll",!0),p(g,S,F,"≫","\\gg",!0),p(g,S,F,"≍","\\asymp",!0),p(g,S,F,"∥","\\parallel"),p(g,S,F,"⋈","\\bowtie",!0),p(g,S,F,"⌣","\\smile",!0),p(g,S,F,"⊑","\\sqsubseteq",!0),p(g,S,F,"⊒","\\sqsupseteq",!0),p(g,S,F,"≐","\\doteq",!0),p(g,S,F,"⌢","\\frown",!0),p(g,S,F,"∋","\\ni",!0),p(g,S,F,"∝","\\propto",!0),p(g,S,F,"⊢","\\vdash",!0),p(g,S,F,"⊣","\\dashv",!0),p(g,S,F,"∋","\\owns"),p(g,S,bt,".","\\ldotp"),p(g,S,bt,"⋅","\\cdotp"),p(g,S,L,"#","\\#"),p(ee,S,L,"#","\\#"),p(g,S,L,"&","\\&"),p(ee,S,L,"&","\\&"),p(g,S,L,"ℵ","\\aleph",!0),p(g,S,L,"∀","\\forall",!0),p(g,S,L,"ℏ","\\hbar",!0),p(g,S,L,"∃","\\exists",!0),p(g,S,L,"∇","\\nabla",!0),p(g,S,L,"♭","\\flat",!0),p(g,S,L,"","\\ell",!0),p(g,S,L,"♮","\\natural",!0),p(g,S,L,"♣","\\clubsuit",!0),p(g,S,L,"℘","\\wp",!0),p(g,S,L,"♯","\\sharp",!0),p(g,S,L,"♢","\\diamondsuit",!0),p(g,S,L,"","\\Re",!0),p(g,S,L,"♡","\\heartsuit",!0),p(g,S,L,"","\\Im",!0),p(g,S,L,"♠","\\spadesuit",!0),p(g,S,L,"§","\\S",!0),p(ee,S,L,"§","\\S"),p(g,S,L,"¶","\\P",!0),p(ee,S,L,"¶","\\P"),p(g,S,L,"†","\\dag"),p(ee,S,L,"†","\\dag"),p(ee,S,L,"†","\\textdagger"),p(g,S,L,"‡","\\ddag"),p(ee,S,L,"‡","\\ddag"),p(ee,S,L,"‡","\\textdaggerdbl"),p(g,S,cr,"⎱","\\rmoustache",!0),p(g,S,Ar,"⎰","\\lmoustache",!0),p(g,S,cr,"⟯","\\rgroup",!0),p(g,S,Ar,"⟮","\\lgroup",!0),p(g,S,he,"∓","\\mp",!0),p(g,S,he,"⊖","\\ominus",!0),p(g,S,he,"⊎","\\uplus",!0),p(g,S,he,"⊓","\\sqcap",!0),p(g,S,he,"","\\ast"),p(g,S,he,"⊔","\\sqcup",!0),p(g,S,he,"◯","\\bigcirc",!0),p(g,S,he,"∙","\\bullet",!0),p(g,S,he,"‡","\\ddagger"),p(g,S,he,"≀","\\wr",!0),p(g,S,he,"⨿","\\amalg"),p(g,S,he,"&","\\And"),p(g,S,F,"⟵","\\longleftarrow",!0),p(g,S,F,"⇐","\\Leftarrow",!0),p(g,S,F,"⟸","\\Longleftarrow",!0),p(g,S,F,"⟶","\\longrightarrow",!0),p(g,S,F,"⇒","\\Rightarrow",!0),p(g,S,F,"⟹","\\Longrightarrow",!0),p(g,S,F,"↔","\\leftrightarrow",!0),p(g,S,F,"⟷","\\longleftrightarrow",!0),p(g,S,F,"⇔","\\Leftrightarrow",!0),p(g,S,F,"⟺","\\Longleftrightarrow",!0),p(g,S,F,"↦","\\mapsto",!0),p(g,S,F,"⟼","\\longmapsto",!0),p(g,S,F,"↗","\\nearrow",!0),p(g,S,F,"↩","\\hookleftarrow",!0),p(g,S,F,"↪","\\hookrightarrow",!0),p(g,S,F,"↘","\\searrow",!0),p(g,S,F,"↼","\\leftharpoonup",!0),p(g,S,F,"⇀","\\rightharpoonup",!0),p(g,S,F,"↙","\\swarrow",!0),p(g,S,F,"↽","\\leftharpoondown",!0),p(g,S,F,"⇁","\\rightharpoondown",!0),p(g,S,F,"↖","\\nwarrow",!0),p(g,S,F,"⇌","\\rightleftharpoons",!0),p(g,_,F,"≮","\\nless",!0),p(g,_,F,"","\\@nleqslant"),p(g,_,F,"","\\@nleqq"),p(g,_,F,"⪇","\\lneq",!0),p(g,_,F,"≨","\\lneqq",!0),p(g,_,F,"","\\@lvertneqq"),p(g,_,F,"⋦","\\lnsim",!0),p(g,_,F,"⪉","\\lnapprox",!0),p(g,_,F,"⊀","\\nprec",!0),p(g,_,F,"⋠","\\npreceq",!0),p(g,_,F,"⋨","\\precnsim",!0),p(g,_,F,"⪹","\\precnapprox",!0),p(g,_,F,"≁","\\nsim",!0),p(g,_,F,"","\\@nshortmid"),p(g,_,F,"∤","\\nmid",!0),p(g,_,F,"⊬","\\nvdash",!0),p(g,_,F,"⊭","\\nvDash",!0),p(g,_,F,"⋪","\\ntriangleleft"),p(g,_,F,"⋬","\\ntrianglelefteq",!0),p(g,_,F,"⊊","\\subsetneq",!0),p(g,_,F,"","\\@varsubsetneq"),p(g,_,F,"⫋","\\subsetneqq",!0),p(g,_,F,"","\\@varsubsetneqq"),p(g,_,F,"≯","\\ngtr",!0),p(g,_,F,"","\\@ngeqslant"),p(g,_,F,"","\\@ngeqq"),p(g,_,F,"⪈","\\gneq",!0),p(g,_,F,"≩","\\gneqq",!0),p(g,_,F,"","\\@gvertneqq"),p(g,_,F,"⋧","\\gnsim",!0),p(g,_,F,"⪊","\\gnapprox",!0),p(g,_,F,"⊁","\\nsucc",!0),p(g,_,F,"⋡","\\nsucceq",!0),p(g,_,F,"⋩","\\succnsim",!0),p(g,_,F,"⪺","\\succnapprox",!0),p(g,_,F,"≆","\\ncong",!0),p(g,_,F,"","\\@nshortparallel"),p(g,_,F,"∦","\\nparallel",!0),p(g,_,F,"⊯","\\nVDash",!0),p(g,_,F,"⋫","\\ntriangleright"),p(g,_,F,"⋭","\\ntrianglerighteq",!0),p(g,_,F,"","\\@nsupseteqq"),p(g,_,F,"⊋","\\supsetneq",!0),p(g,_,F,"","\\@varsupsetneq"),p(g,_,F,"⫌","\\supsetneqq",!0),p(g,_,F,"","\\@varsupsetneqq"),p(g,_,F,"⊮","\\nVdash",!0),p(g,_,F,"⪵","\\precneqq",!0),p(g,_,F,"⪶","\\succneqq",!0),p(g,_,F,"","\\@nsubseteqq"),p(g,_,he,"⊴","\\unlhd"),p(g,_,he,"⊵","\\unrhd"),p(g,_,F,"↚","\\nleftarrow",!0),p(g,_,F,"↛","\\nrightarrow",!0),p(g,_,F,"⇍","\\nLeftarrow",!0),p(g,_,F,"⇏","\\nRightarrow",!0),p(g,_,F,"↮","\\nleftrightarrow",!0),p(g,_,F,"⇎","\\nLeftrightarrow",!0),p(g,_,F,"△","\\vartriangle"),p(g,_,L,"ℏ","\\hslash"),p(g,_,L,"▽","\\triangledown"),p(g,_,L,"◊","\\lozenge"),p(g,_,L,"Ⓢ","\\circledS"),p(g,_,L,"®","\\circledR"),p(ee,_,L,"®","\\circledR"),p(g,_,L,"∡","\\measuredangle",!0),p(g,_,L,"∄","\\nexists"),p(g,_,L,"℧","\\mho"),p(g,_,L,"Ⅎ","\\Finv",!0),p(g,_,L,"⅁","\\Game",!0),p(g,_,L,"","\\backprime"),p(g,_,L,"▲","\\blacktriangle"),p(g,_,L,"▼","\\blacktriangledown"),p(g,_,L,"■","\\blacksquare"),p(g,_,L,"⧫","\\blacklozenge"),p(g,_,L,"★","\\bigstar"),p(g,_,L,"∢","\\sphericalangle",!0),p(g,_,L,"∁","\\complement",!0),p(g,_,L,"ð","\\eth",!0),p(ee,S,L,"ð","ð"),p(g,_,L,"","\\diagup"),p(g,_,L,"╲","\\diagdown"),p(g,_,L,"□","\\square"),p(g,_,L,"□","\\Box"),p(g,_,L,"◊","\\Diamond"),p(g,_,L,"¥","\\yen",!0),p(ee,_,L,"¥","\\yen",!0),p(g,_,L,"✓","\\checkmark",!0),p(ee,_,L,"✓","\\checkmark"),p(g,_,L,"ℶ","\\beth",!0),p(g,_,L,"ℸ","\\daleth",!0),p(g,_,L,"ℷ","\\gimel",!0),p(g,_,L,"ϝ","\\digamma",!0),p(g,_,L,"ϰ","\\varkappa"),p(g,_,Ar,"┌","\\@ulcorner",!0),p(g,_,cr,"┐","\\@urcorner",!0),p(g,_,Ar,"└","\\@llcorner",!0),p(g,_,cr,"┘","\\@lrcorner",!0),p(g,_,F,"≦","\\leqq",!0),p(g,_,F,"⩽","\\leqslant",!0),p(g,_,F,"⪕","\\eqslantless",!0),p(g,_,F,"≲","\\lesssim",!0),p(g,_,F,"⪅","\\lessapprox",!0),p(g,_,F,"≊","\\approxeq",!0),p(g,_,he,"⋖","\\lessdot"),p(g,_,F,"⋘","\\lll",!0),p(g,_,F,"≶","\\lessgtr",!0),p(g,_,F,"⋚","\\lesseqgtr",!0),p(g,_,F,"⪋","\\lesseqqgtr",!0),p(g,_,F,"≑","\\doteqdot"),p(g,_,F,"≓","\\risingdotseq",!0),p(g,_,F,"≒","\\fallingdotseq",!0),p(g,_,F,"∽","\\backsim",!0),p(g,_,F,"⋍","\\backsimeq",!0),p(g,_,F,"⫅","\\subseteqq",!0),p(g,_,F,"⋐","\\Subset",!0),p(g,_,F,"⊏","\\sqsubset",!0),p(g,_,F,"≼","\\preccurlyeq",!0),p(g,_,F,"⋞","\\curlyeqprec",!0),p(g,_,F,"≾","\\precsim",!0),p(g,_,F,"⪷","\\precapprox",!0),p(g,_,F,"⊲","\\vartriangleleft"),p(g,_,F,"⊴","\\trianglelefteq"),p(g,_,F,"⊨","\\vDash",!0),p(g,_,F,"⊪","\\Vvdash",!0),p(g,_,F,"⌣","\\smallsmile"),p(g,_,F,"⌢","\\smallfrown"),p(g,_,F,"≏","\\bumpeq",!0),p(g,_,F,"≎","\\Bumpeq",!0),p(g,_,F,"≧","\\geqq",!0),p(g,_,F,"⩾","\\geqslant",!0),p(g,_,F,"⪖","\\eqslantgtr",!0),p(g,_,F,"≳","\\gtrsim",!0),p(g,_,F,"⪆","\\gtrapprox",!0),p(g,_,he,"⋗","\\gtrdot"),p(g,_,F,"⋙","\\ggg",!0),p(g,_,F,"≷","\\gtrless",!0),p(g,_,F,"⋛","\\gtreqless",!0),p(g,_,F,"⪌","\\gtreqqless",!0),p(g,_,F,"≖","\\eqcirc",!0),p(g,_,F,"≗","\\circeq",!0),p(g,_,F,"≜","\\triangleq",!0),p(g,_,F,"","\\thicksim"),p(g,_,F,"≈","\\thickapprox"),p(g,_,F,"⫆","\\supseteqq",!0),p(g,_,F,"⋑","\\Supset",!0),p(g,_,F,"⊐","\\sqsupset",!0),p(g,_,F,"≽","\\succcurlyeq",!0),p(g,_,F,"⋟","\\curlyeqsucc",!0),p(g,_,F,"≿","\\succsim",!0),p(g,_,F,"⪸","\\succapprox",!0),p(g,_,F,"⊳","\\vartriangleright"),p(g,_,F,"⊵","\\trianglerighteq"),p(g,_,F,"⊩","\\Vdash",!0),p(g,_,F,"","\\shortmid"),p(g,_,F,"∥","\\shortparallel"),p(g,_,F,"≬","\\between",!0),p(g,_,F,"⋔","\\pitchfork",!0),p(g,_,F,"∝","\\varpropto"),p(g,_,F,"◀","\\blacktriangleleft"),p(g,_,F,"∴","\\therefore",!0),p(g,_,F,"∍","\\backepsilon"),p(g,_,F,"▶","\\blacktriangleright"),p(g,_,F,"∵","\\because",!0),p(g,_,F,"⋘","\\llless"),p(g,_,F,"⋙","\\gggtr"),p(g,_,he,"⊲","\\lhd"),p(g,_,he,"⊳","\\rhd"),p(g,_,F,"≂","\\eqsim",!0),p(g,S,F,"⋈","\\Join"),p(g,_,F,"≑","\\Doteq",!0),p(g,_,he,"∔","\\dotplus",!0),p(g,_,he,"","\\smallsetminus"),p(g,_,he,"⋒","\\Cap",!0),p(g,_,he,"⋓","\\Cup",!0),p(g,_,he,"⩞","\\doublebarwedge",!0),p(g,_,he,"⊟","\\boxminus",!0),p(g,_,he,"⊞","\\boxplus",!0),p(g,_,he,"⋇","\\divideontimes",!0),p(g,_,he,"⋉","\\ltimes",!0),p(g,_,he,"⋊","\\rtimes",!0),p(g,_,he,"⋋","\\leftthreetimes",!0),p(g,_,he,"⋌","\\rightthreetimes",!0),p(g,_,he,"⋏","\\curlywedge",!0),p(g,_,he,"⋎","\\curlyvee",!0),p(g,_,he,"⊝","\\circleddash",!0),p(g,_,he,"⊛","\\circledast",!0),p(g,_,he,"⋅","\\centerdot"),p(g,_,he,"⊺","\\intercal",!0),p(g,_,he,"⋒","\\doublecap"),p(g,_,he,"⋓","\\doublecup"),p(g,_,he,"⊠","\\boxtimes",!0),p(g,_,F,"⇢","\\dashrightarrow",!0),p(g,_,F,"⇠","\\dashleftarrow",!0),p(g,_,F,"⇇","\\leftleftarrows",!0),p(g,_,F,"⇆","\\leftrightarrows",!0),p(g,_,F,"⇚","\\Lleftarrow",!0),p(g,_,F,"↞","\\twoheadleftarrow",!0),p(g,_,F,"↢","\\leftarrowtail",!0),p(g,_,F,"↫","\\looparrowleft",!0),p(g,_,F,"⇋","\\leftrightharpoons",!0),p(g,_,F,"↶","\\curvearrowleft",!0),p(g,_,F,"↺","\\circlearrowleft",!0),p(g,_,F,"↰","\\Lsh",!0),p(g,_,F,"⇈","\\upuparrows",!0),p(g,_,F,"↿","\\upharpoonleft",!0),p(g,_,F,"⇃","\\downharpoonleft",!0),p(g,S,F,"⊶","\\origof",!0),p(g,S,F,"⊷","\\imageof",!0),p(g,_,F,"⊸","\\multimap",!0),p(g,_,F,"↭","\\leftrightsquigarrow",!0),p(g,_,F,"⇉","\\rightrightarrows",!0),p(g,_,F,"⇄","\\rightleftarrows",!0),p(g,_,F,"↠","\\twoheadrightarrow",!0),p(g,_,F,"↣","\\rightarrowtail",!0),p(g,_,F,"↬","\\looparrowright",!0),p(g,_,F,"↷","\\curvearrowright",!0),p(g,_,F,"↻","\\circlearrowright",!0),p(g,_,F,"↱","\\Rsh",!0),p(g,_,F,"⇊","\\downdownarrows",!0),p(g,_,F,"↾","\\upharpoonright",!0),p(g,_,F,"⇂","\\downharpoonright",!0),p(g,_,F,"⇝","\\rightsquigarrow",!0),p(g,_,F,"⇝","\\leadsto"),p(g,_,F,"⇛","\\Rrightarrow",!0),p(g,_,F,"↾","\\restriction"),p(g,S,L,"","`"),p(g,S,L,"$","\\$"),p(ee,S,L,"$","\\$"),p(ee,S,L,"$","\\textdollar"),p(g,S,L,"%","\\%"),p(ee,S,L,"%","\\%"),p(g,S,L,"_","\\_"),p(ee,S,L,"_","\\_"),p(ee,S,L,"_","\\textunderscore"),p(g,S,L,"∠","\\angle",!0),p(g,S,L,"∞","\\infty",!0),p(g,S,L,"","\\prime"),p(g,S,L,"△","\\triangle"),p(g,S,L,"Γ","\\Gamma",!0),p(g,S,L,"Δ","\\Delta",!0),p(g,S,L,"Θ","\\Theta",!0),p(g,S,L,"Λ","\\Lambda",!0),p(g,S,L,"Ξ","\\Xi",!0),p(g,S,L,"Π","\\Pi",!0),p(g,S,L,"Σ","\\Sigma",!0),p(g,S,L,"Υ","\\Upsilon",!0),p(g,S,L,"Φ","\\Phi",!0),p(g,S,L,"Ψ","\\Psi",!0),p(g,S,L,"Ω","\\Omega",!0),p(g,S,L,"A","Α"),p(g,S,L,"B","Β"),p(g,S,L,"E","Ε"),p(g,S,L,"Z","Ζ"),p(g,S,L,"H","Η"),p(g,S,L,"I","Ι"),p(g,S,L,"K","Κ"),p(g,S,L,"M","Μ"),p(g,S,L,"N","Ν"),p(g,S,L,"O","Ο"),p(g,S,L,"P","Ρ"),p(g,S,L,"T","Τ"),p(g,S,L,"X","Χ"),p(g,S,L,"¬","\\neg",!0),p(g,S,L,"¬","\\lnot"),p(g,S,L,"","\\top"),p(g,S,L,"⊥","\\bot"),p(g,S,L,"∅","\\emptyset"),p(g,_,L,"∅","\\varnothing"),p(g,S,ye,"α","\\alpha",!0),p(g,S,ye,"β","\\beta",!0),p(g,S,ye,"γ","\\gamma",!0),p(g,S,ye,"δ","\\delta",!0),p(g,S,ye,"ϵ","\\epsilon",!0),p(g,S,ye,"ζ","\\zeta",!0),p(g,S,ye,"η","\\eta",!0),p(g,S,ye,"θ","\\theta",!0),p(g,S,ye,"ι","\\iota",!0),p(g,S,ye,"κ","\\kappa",!0),p(g,S,ye,"λ","\\lambda",!0),p(g,S,ye,"μ","\\mu",!0),p(g,S,ye,"ν","\\nu",!0),p(g,S,ye,"ξ","\\xi",!0),p(g,S,ye,"ο","\\omicron",!0),p(g,S,ye,"π","\\pi",!0),p(g,S,ye,"ρ","\\rho",!0),p(g,S,ye,"σ","\\sigma",!0),p(g,S,ye,"τ","\\tau",!0),p(g,S,ye,"υ","\\upsilon",!0),p(g,S,ye,"ϕ","\\phi",!0),p(g,S,ye,"χ","\\chi",!0),p(g,S,ye,"ψ","\\psi",!0),p(g,S,ye,"ω","\\omega",!0),p(g,S,ye,"ε","\\varepsilon",!0),p(g,S,ye,"ϑ","\\vartheta",!0),p(g,S,ye,"ϖ","\\varpi",!0),p(g,S,ye,"ϱ","\\varrho",!0),p(g,S,ye,"ς","\\varsigma",!0),p(g,S,ye,"φ","\\varphi",!0),p(g,S,he,"","*",!0),p(g,S,he,"+","+"),p(g,S,he,"","-",!0),p(g,S,he,"⋅","\\cdot",!0),p(g,S,he,"∘","\\circ",!0),p(g,S,he,"÷","\\div",!0),p(g,S,he,"±","\\pm",!0),p(g,S,he,"×","\\times",!0),p(g,S,he,"∩","\\cap",!0),p(g,S,he,"","\\cup",!0),p(g,S,he,"","\\setminus",!0),p(g,S,he,"∧","\\land"),p(g,S,he,"","\\lor"),p(g,S,he,"∧","\\wedge",!0),p(g,S,he,"","\\vee",!0),p(g,S,L,"√","\\surd"),p(g,S,Ar,"⟨","\\langle",!0),p(g,S,Ar,"","\\lvert"),p(g,S,Ar,"∥","\\lVert"),p(g,S,cr,"?","?"),p(g,S,cr,"!","!"),p(g,S,cr,"⟩","\\rangle",!0),p(g,S,cr,"","\\rvert"),p(g,S,cr,"∥","\\rVert"),p(g,S,F,"=","="),p(g,S,F,":",":"),p(g,S,F,"≈","\\approx",!0),p(g,S,F,"≅","\\cong",!0),p(g,S,F,"≥","\\ge"),p(g,S,F,"≥","\\geq",!0),p(g,S,F,"←","\\gets"),p(g,S,F,">","\\gt",!0),p(g,S,F,"∈","\\in",!0),p(g,S,F,"","\\@not"),p(g,S,F,"⊂","\\subset",!0),p(g,S,F,"⊃","\\supset",!0),p(g,S,F,"⊆","\\subseteq",!0),p(g,S,F,"⊇","\\supseteq",!0),p(g,_,F,"⊈","\\nsubseteq",!0),p(g,_,F,"⊉","\\nsupseteq",!0),p(g,S,F,"⊨","\\models"),p(g,S,F,"←","\\leftarrow",!0),p(g,S,F,"≤","\\le"),p(g,S,F,"≤","\\leq",!0),p(g,S,F,"<","\\lt",!0),p(g,S,F,"→","\\rightarrow",!0),p(g,S,F,"→","\\to"),p(g,_,F,"≱","\\ngeq",!0),p(g,_,F,"≰","\\nleq",!0),p(g,S,Qr," ","\\ "),p(g,S,Qr," ","\\space"),p(g,S,Qr," ","\\nobreakspace"),p(ee,S,Qr," ","\\ "),p(ee,S,Qr," "," "),p(ee,S,Qr," ","\\space"),p(ee,S,Qr," ","\\nobreakspace"),p(g,S,Qr,null,"\\nobreak"),p(g,S,Qr,null,"\\allowbreak"),p(g,S,bt,",",","),p(g,S,bt,";",";"),p(g,_,he,"⊼","\\barwedge",!0),p(g,_,he,"⊻","\\veebar",!0),p(g,S,he,"⊙","\\odot",!0),p(g,S,he,"⊕","\\oplus",!0),p(g,S,he,"⊗","\\otimes",!0),p(g,S,L,"∂","\\partial",!0),p(g,S,he,"⊘","\\oslash",!0),p(g,_,he,"⊚","\\circledcirc",!0),p(g,_,he,"⊡","\\boxdot",!0),p(g,S,he,"△","\\bigtriangleup"),p(g,S,he,"▽","\\bigtriangledown"),p(g,S,he,"†","\\dagger"),p(g,S,he,"⋄","\\diamond"),p(g,S,he,"⋆","\\star"),p(g,S,he,"◃","\\triangleleft"),p(g,S,he,"▹","\\triangleright"),p(g,S,Ar,"{","\\{"),p(ee,S,L,"{","\\{"),p(ee,S,L,"{","\\textbraceleft"),p(g,S,cr,"}","\\}"),p(ee,S,L,"}","\\}"),p(ee,S,L,"}","\\textbraceright"),p(g,S,Ar,"{","\\lbrace"),p(g,S,cr,"}","\\rbrace"),p(g,S,Ar,"[","\\lbrack",!0),p(ee,S,L,"[","\\lbrack",!0),p(g,S,cr,"]","\\rbrack",!0),p(ee,S,L,"]","\\rbrack",!0),p(g,S,Ar,"(","\\lparen",!0),p(g,S,cr,")","\\rparen",!0),p(ee,S,L,"<","\\textless",!0),p(ee,S,L,">","\\textgreater",!0),p(g,S,Ar,"⌊","\\lfloor",!0),p(g,S,cr,"⌋","\\rfloor",!0),p(g,S,Ar,"⌈","\\lceil",!0),p(g,S,cr,"⌉","\\rceil",!0),p(g,S,L,"\\","\\backslash"),p(g,S,L,"","|"),p(g,S,L,"","\\vert"),p(ee,S,L,"|","\\textbar",!0),p(g,S,L,"∥","\\|"),p(g,S,L,"∥","\\Vert"),p(ee,S,L,"∥","\\textbardbl"),p(ee,S,L,"~","\\textasciitilde"),p(ee,S,L,"\\","\\textbackslash"),p(ee,S,L,"^","\\textasciicircum"),p(g,S,F,"↑","\\uparrow",!0),p(g,S,F,"⇑","\\Uparrow",!0),p(g,S,F,"↓","\\downarrow",!0),p(g,S,F,"⇓","\\Downarrow",!0),p(g,S,F,"↕","\\updownarrow",!0),p(g,S,F,"⇕","\\Updownarrow",!0),p(g,S,Ke,"∐","\\coprod"),p(g,S,Ke,"","\\bigvee"),p(g,S,Ke,"⋀","\\bigwedge"),p(g,S,Ke,"⨄","\\biguplus"),p(g,S,Ke,"⋂","\\bigcap"),p(g,S,Ke,"","\\bigcup"),p(g,S,Ke,"∫","\\int"),p(g,S,Ke,"∫","\\intop"),p(g,S,Ke,"∬","\\iint"),p(g,S,Ke,"∭","\\iiint"),p(g,S,Ke,"∏","\\prod"),p(g,S,Ke,"∑","\\sum"),p(g,S,Ke,"⨂","\\bigotimes"),p(g,S,Ke,"⨁","\\bigoplus"),p(g,S,Ke,"⨀","\\bigodot"),p(g,S,Ke,"∮","\\oint"),p(g,S,Ke,"∯","\\oiint"),p(g,S,Ke,"∰","\\oiiint"),p(g,S,Ke,"⨆","\\bigsqcup"),p(g,S,Ke,"∫","\\smallint"),p(ee,S,zt,"…","\\textellipsis"),p(g,S,zt,"…","\\mathellipsis"),p(ee,S,zt,"…","\\ldots",!0),p(g,S,zt,"…","\\ldots",!0),p(g,S,zt,"⋯","\\@cdots",!0),p(g,S,zt,"⋱","\\ddots",!0),p(g,S,L,"⋮","\\varvdots"),p(g,S,Ue,"ˊ","\\acute"),p(g,S,Ue,"ˋ","\\grave"),p(g,S,Ue,"¨","\\ddot"),p(g,S,Ue,"~","\\tilde"),p(g,S,Ue,"ˉ","\\bar"),p(g,S,Ue,"˘","\\breve"),p(g,S,Ue,"ˇ","\\check"),p(g,S,Ue,"^","\\hat"),p(g,S,Ue,"⃗","\\vec"),p(g,S,Ue,"˙","\\dot"),p(g,S,Ue,"˚","\\mathring"),p(g,S,ye,"","\\@imath"),p(g,S,ye,"","\\@jmath"),p(g,S,L,"ı","ı"),p(g,S,L,"ȷ","ȷ"),p(ee,S,L,"ı","\\i",!0),p(ee,S,L,"ȷ","\\j",!0),p(ee,S,L,"ß","\\ss",!0),p(ee,S,L,"æ","\\ae",!0),p(ee,S,L,"œ","\\oe",!0),p(ee,S,L,"ø","\\o",!0),p(ee,S,L,"Æ","\\AE",!0),p(ee,S,L,"Œ","\\OE",!0),p(ee,S,L,"Ø","\\O",!0),p(ee,S,Ue,"ˊ","\\'"),p(ee,S,Ue,"ˋ","\\`"),p(ee,S,Ue,"ˆ","\\^"),p(ee,S,Ue,"˜","\\~"),p(ee,S,Ue,"ˉ","\\="),p(ee,S,Ue,"˘","\\u"),p(ee,S,Ue,"˙","\\."),p(ee,S,Ue,"¸","\\c"),p(ee,S,Ue,"˚","\\r"),p(ee,S,Ue,"ˇ","\\v"),p(ee,S,Ue,"¨",'\\"'),p(ee,S,Ue,"˝","\\H"),p(ee,S,Ue,"◯","\\textcircled");var Zt={"--":!0,"---":!0,"``":!0,"''":!0};p(ee,S,L,"","--",!0),p(ee,S,L,"","\\textendash"),p(ee,S,L,"—","---",!0),p(ee,S,L,"—","\\textemdash"),p(ee,S,L,"","`",!0),p(ee,S,L,"","\\textquoteleft"),p(ee,S,L,"","'",!0),p(ee,S,L,"","\\textquoteright"),p(ee,S,L,"“","``",!0),p(ee,S,L,"“","\\textquotedblleft"),p(ee,S,L,"”","''",!0),p(ee,S,L,"”","\\textquotedblright"),p(g,S,L,"°","\\degree",!0),p(ee,S,L,"°","\\degree"),p(ee,S,L,"°","\\textdegree",!0),p(g,S,L,"£","\\pounds"),p(g,S,L,"£","\\mathsterling",!0),p(ee,S,L,"£","\\pounds"),p(ee,S,L,"£","\\textsterling",!0),p(g,_,L,"✠","\\maltese"),p(ee,_,L,"✠","\\maltese");for(var A0='0123456789/@."',hn=0;hn<A0.length;hn++){var di=A0.charAt(hn);p(g,S,L,di,di)}for(var mi='0123456789!@*()-=+";:?/.,',fn=0;fn<mi.length;fn++){var vi=mi.charAt(fn);p(ee,S,L,vi,vi)}for(var k0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Jt=0;Jt<k0.length;Jt++){var Qt=k0.charAt(Jt);p(g,S,ye,Qt,Qt),p(ee,S,L,Qt,Qt)}p(g,_,L,"C",""),p(ee,_,L,"C",""),p(g,_,L,"H",""),p(ee,_,L,"H",""),p(g,_,L,"N",""),p(ee,_,L,"N",""),p(g,_,L,"P",""),p(ee,_,L,"P",""),p(g,_,L,"Q",""),p(ee,_,L,"Q",""),p(g,_,L,"R",""),p(ee,_,L,"R",""),p(g,_,L,"Z",""),p(ee,_,L,"Z",""),p(g,S,ye,"h",""),p(ee,S,ye,"h","");for(var Ae="",hr=0;hr<k0.length;hr++){var Ze=k0.charAt(hr);Ae=String.fromCharCode(55349,56320+hr),p(g,S,ye,Ze,Ae),p(ee,S,L,Ze,Ae),Ae=String.fromCharCode(55349,56372+hr),p(g,S,ye,Ze,Ae),p(ee,S,L,Ze,Ae),Ae=String.fromCharCode(55349,56424+hr),p(g,S,ye,Ze,Ae),p(ee,S,L,Ze,Ae),Ae=String.fromCharCode(55349,56580+hr),p(g,S,ye,Ze,Ae),p(ee,S,L,Ze,Ae),Ae=String.fromCharCode(55349,56684+hr),p(g,S,ye,Ze,Ae),p(ee,S,L,Ze,Ae),Ae=String.fromCharCode(55349,56736+hr),p(g,S,ye,Ze,Ae),p(ee,S,L,Ze,Ae),Ae=String.fromCharCode(55349,56788+hr),p(g,S,ye,Ze,Ae),p(ee,S,L,Ze,Ae),Ae=String.fromCharCode(55349,56840+hr),p(g,S,ye,Ze,Ae),p(ee,S,L,Ze,Ae),Ae=String.fromCharCode(55349,56944+hr),p(g,S,ye,Ze,Ae),p(ee,S,L,Ze,Ae),hr<26&&(Ae=String.fromCharCode(55349,56632+hr),p(g,S,ye,Ze,Ae),p(ee,S,L,Ze,Ae),Ae=String.fromCharCode(55349,56476+hr),p(g,S,ye,Ze,Ae),p(ee,S,L,Ze,Ae))}Ae=String.fromCharCode(55349,56668),p(g,S,ye,"k",Ae),p(ee,S,L,"k",Ae);for(var wt=0;wt<10;wt++){var at=wt.toString();Ae=String.fromCharCode(55349,57294+wt),p(g,S,ye,at,Ae),p(ee,S,L,at,Ae),Ae=String.fromCharCode(55349,57314+wt),p(g,S,ye,at,Ae),p(ee,S,L,at,Ae),Ae=String.fromCharCode(55349,57324+wt),p(g,S,ye,at,Ae),p(ee,S,L,at,Ae),Ae=String.fromCharCode(55349,57334+wt),p(g,S,ye,at,Ae),p(ee,S,L,at,Ae)}for(var S0="ÐÞþ",C0=0;C0<S0.length;C0++){var D0=S0.charAt(C0);p(g,S,ye,D0,D0),p(ee,S,L,D0,D0)}var E0=[["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"]],gi=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],nu=function(r,t){var i=r.charCodeAt(0),l=r.charCodeAt(1),c=(i-55296)*1024+(l-56320)+65536,v=t==="math"?0:1;if(119808<=c&&c<120484){var A=Math.floor((c-119808)/26);return[E0[A][2],E0[A][v]]}else if(120782<=c&&c<=120831){var D=Math.floor((c-120782)/10);return[gi[D][2],gi[D][v]]}else{if(c===120485||c===120486)return[E0[0][2],E0[0][v]];if(120486<c&&c<120782)return["",""];throw new b("Unsupported character: "+r)}},B0=function(r,t,i){return $e[i][r]&&$e[i][r].replace&&(r=$e[i][r].replace),{value:r,metrics:x0(r,t,i)}},Pr=function(r,t,i,l,c){var v=B0(r,t,i),A=v.metrics;r=v.value;var D;if(A){var M=A.italic;(i==="text"||l&&l.font==="mathit")&&(M=0),D=new Tr(r,A.height,A.depth,M,A.skew,A.width,c)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+r+"' in style '"+t+"' and mode '"+i+"'")),D=new Tr(r,0,0,0,0,0,c);if(l){D.maxFontSize=l.sizeMultiplier,l.style.isTight()&&D.classes.push("mtight");var N=l.getColor();N&&(D.style.color=N)}return D},iu=function(r,t,i,l){return l===void 0&&(l=[]),i.font==="boldsymbol"&&B0(r,"Main-Bold",t).metrics?Pr(r,"Main-Bold",t,i,l.concat(["mathbf"])):r==="\\"||$e[t][r].font==="main"?Pr(r,"Main-Regular",t,i,l):Pr(r,"AMS-Regular",t,i,l.concat(["amsrm"]))},au=function(r,t,i,l,c){return c!=="textord"&&B0(r,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},uu=function(r,t,i){var l=r.mode,c=r.text,v=["mord"],A=l==="math"||l==="text"&&t.font,D=A?t.font:t.fontFamily,M="",N="";if(c.charCodeAt(0)===55349){var U=nu(c,l);M=U[0],N=U[1]}if(M.length>0)return Pr(c,M,l,t,v.concat(N));if(D){var Y,X;if(D==="boldsymbol"){var K=au(c,l,t,v,i);Y=K.fontName,X=[K.fontClass]}else A?(Y=bi[D].fontName,X=[D]):(Y=M0(D,t.fontWeight,t.fontShape),X=[D,t.fontWeight,t.fontShape]);if(B0(c,Y,l).metrics)return Pr(c,Y,l,t,v.concat(X));if(Zt.hasOwnProperty(c)&&Y.slice(0,10)==="Typewriter"){for(var ie=[],le=0;le<c.length;le++)ie.push(Pr(c[le],Y,l,t,v.concat(X)));return xi(ie)}}if(i==="mathord")return Pr(c,"Math-Italic",l,t,v.concat(["mathnormal"]));if(i==="textord"){var fe=$e[l][c]&&$e[l][c].font;if(fe==="ams"){var de=M0("amsrm",t.fontWeight,t.fontShape);return Pr(c,de,l,t,v.concat("amsrm",t.fontWeight,t.fontShape))}else if(fe==="main"||!fe){var ge=M0("textrm",t.fontWeight,t.fontShape);return Pr(c,ge,l,t,v.concat(t.fontWeight,t.fontShape))}else{var ze=M0(fe,t.fontWeight,t.fontShape);return Pr(c,ze,l,t,v.concat(ze,t.fontWeight,t.fontShape))}}else throw new Error("unexpected type: "+i+" in makeOrd")},lu=function(r,t){if(it(r.classes)!==it(t.classes)||r.skew!==t.skew||r.maxFontSize!==t.maxFontSize)return!1;if(r.classes.length===1){var i=r.classes[0];if(i==="mbin"||i==="mord")return!1}for(var l in r.style)if(r.style.hasOwnProperty(l)&&r.style[l]!==t.style[l])return!1;for(var c in t.style)if(t.style.hasOwnProperty(c)&&r.style[c]!==t.style[c])return!1;return!0},ou=function(r){for(var t=0;t<r.length-1;t++){var i=r[t],l=r[t+1];i instanceof Tr&&l instanceof Tr&&lu(i,l)&&(i.text+=l.text,i.height=Math.max(i.height,l.height),i.depth=Math.max(i.depth,l.depth),i.italic=l.italic,r.splice(t+1,1),t--)}return r},pn=function(r){for(var t=0,i=0,l=0,c=0;c<r.children.length;c++){var v=r.children[c];v.height>t&&(t=v.height),v.depth>i&&(i=v.depth),v.maxFontSize>l&&(l=v.maxFontSize)}r.height=t,r.depth=i,r.maxFontSize=l},lr=function(r,t,i,l){var c=new Wt(r,t,i,l);return pn(c),c},yi=function(r,t,i,l){return new Wt(r,t,i,l)},su=function(r,t,i){var l=lr([r],[],t);return l.height=Math.max(i||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),l.style.borderBottomWidth=ae(l.height),l.maxFontSize=1,l},cu=function(r,t,i,l){var c=new w0(r,t,i,l);return pn(c),c},xi=function(r){var t=new Or(r);return pn(t),t},hu=function(r,t){return r instanceof Or?lr([],[r],t):r},fu=function(r){if(r.positionType==="individualShift"){for(var t=r.children,i=[t[0]],l=-t[0].shift-t[0].elem.depth,c=l,v=1;v<t.length;v++){var A=-t[v].shift-c-t[v].elem.depth,D=A-(t[v-1].elem.height+t[v-1].elem.depth);c=c+A,i.push({type:"kern",size:D}),i.push(t[v])}return{children:i,depth:l}}var M;if(r.positionType==="top"){for(var N=r.positionData,U=0;U<r.children.length;U++){var Y=r.children[U];N-=Y.type==="kern"?Y.size:Y.elem.height+Y.elem.depth}M=N}else if(r.positionType==="bottom")M=-r.positionData;else{var X=r.children[0];if(X.type!=="elem")throw new Error('First child must have type "elem".');if(r.positionType==="shift")M=-X.elem.depth-r.positionData;else if(r.positionType==="firstBaseline")M=-X.elem.depth;else throw new Error("Invalid positionType "+r.positionType+".")}return{children:r.children,depth:M}},pu=function(r,t){for(var i=fu(r),l=i.children,c=i.depth,v=0,A=0;A<l.length;A++){var D=l[A];if(D.type==="elem"){var M=D.elem;v=Math.max(v,M.maxFontSize,M.height)}}v+=2;var N=lr(["pstrut"],[]);N.style.height=ae(v);for(var U=[],Y=c,X=c,K=c,ie=0;ie<l.length;ie++){var le=l[ie];if(le.type==="kern")K+=le.size;else{var fe=le.elem,de=le.wrapperClasses||[],ge=le.wrapperStyle||{},ze=lr(de,[N,fe],void 0,ge);ze.style.top=ae(-v-K-fe.depth),le.marginLeft&&(ze.style.marginLeft=le.marginLeft),le.marginRight&&(ze.style.marginRight=le.marginRight),U.push(ze),K+=fe.height+fe.depth}Y=Math.min(Y,K),X=Math.max(X,K)}var Ce=lr(["vlist"],U);Ce.style.height=ae(X);var Re;if(Y<0){var Ne=lr([],[]),Ie=lr(["vlist"],[Ne]);Ie.style.height=ae(-Y);var He=lr(["vlist-s"],[new Tr("")]);Re=[lr(["vlist-r"],[Ce,He]),lr(["vlist-r"],[Ie])]}else Re=[lr(["vlist-r"],[Ce])];var Qe=lr(["vlist-t"],Re);return Re.length===2&&Qe.classes.push("vlist-t2"),Qe.height=X,Qe.depth=-Y,Qe},du=function(r,t){var i=lr(["mspace"],[],t),l=je(r,t);return i.style.marginRight=ae(l),i},M0=function(r,t,i){var l="";switch(r){case"amsrm":l="AMS";break;case"textrm":l="Main";break;case"textsf":l="SansSerif";break;case"texttt":l="Typewriter";break;default:l=r}var c;return t==="textbf"&&i==="textit"?c="BoldItalic":t==="textbf"?c="Bold":t==="textit"?c="Italic":c="Regular",l+"-"+c},bi={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},wi={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},mu=function(r,t){var i=wi[r],l=i[0],c=i[1],v=i[2],A=new Zr(l),D=new Lr([A],{width:ae(c),height:ae(v),style:"width:"+ae(c),viewBox:"0 0 "+1e3*c+" "+1e3*v,preserveAspectRatio:"xMinYMin"}),M=yi(["overlay"],[D],t);return M.height=v,M.style.height=ae(v),M.style.width=ae(c),M},$={fontMap:bi,makeSymbol:Pr,mathsym:iu,makeSpan:lr,makeSvgSpan:yi,makeLineSpan:su,makeAnchor:cu,makeFragment:xi,wrapFragment:hu,makeVList:pu,makeOrd:uu,makeGlue:du,staticSvg:mu,svgData:wi,tryCombineChars:ou},Ye={number:3,unit:"mu"},At={number:4,unit:"mu"},et={number:5,unit:"mu"},vu={mord:{mop:Ye,mbin:At,mrel:et,minner:Ye},mop:{mord:Ye,mop:Ye,mrel:et,minner:Ye},mbin:{mord:At,mop:At,mopen:At,minner:At},mrel:{mord:et,mop:et,mopen:et,minner:et},mopen:{},mclose:{mop:Ye,mbin:At,mrel:et,minner:Ye},mpunct:{mord:Ye,mop:Ye,mrel:et,mopen:Ye,mclose:Ye,mpunct:Ye,minner:Ye},minner:{mord:Ye,mop:Ye,mbin:At,mrel:et,mopen:Ye,mpunct:Ye,minner:Ye}},gu={mord:{mop:Ye},mop:{mord:Ye,mop:Ye},mbin:{},mrel:{},mopen:{},mclose:{mop:Ye},mpunct:{},minner:{mop:Ye}},T0={},kt={},_0={};function oe(m){for(var r=m.type,t=m.names,i=m.props,l=m.handler,c=m.htmlBuilder,v=m.mathmlBuilder,A={type:r,numArgs:i.numArgs,argTypes:i.argTypes,allowedInArgument:!!i.allowedInArgument,allowedInText:!!i.allowedInText,allowedInMath:i.allowedInMath===void 0?!0:i.allowedInMath,numOptionalArgs:i.numOptionalArgs||0,infix:!!i.infix,primitive:!!i.primitive,handler:l},D=0;D<t.length;++D)T0[t[D]]=A;r&&(c&&(kt[r]=c),v&&(_0[r]=v))}function St(m){var r=m.type,t=m.htmlBuilder,i=m.mathmlBuilder;oe({type:r,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:t,mathmlBuilder:i})}var z0=function(r){return r.type==="ordgroup"&&r.body.length===1?r.body[0]:r},er=function(r){return r.type==="ordgroup"?r.body:[r]},Yr=$.makeSpan,ut=["leftmost","mbin","mopen","mrel","mop","mpunct"],zl=["rightmost","mrel","mclose","mpunct"],yu={display:ue.DISPLAY,text:ue.TEXT,script:ue.SCRIPT,scriptscript:ue.SCRIPTSCRIPT},e0={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},rr=function(r,t,i,l){l===void 0&&(l=[null,null]);for(var c=[],v=0;v<r.length;v++){var A=Fe(r[v],t);if(A instanceof Or){var D=A.children;c.push.apply(c,D)}else c.push(A)}if($.tryCombineChars(c),!i)return c;var M=t;if(r.length===1){var N=r[0];N.type==="sizing"?M=t.havingSize(N.size):N.type==="styling"&&(M=t.havingStyle(yu[N.style]))}var U=Yr([l[0]||"leftmost"],[],t),Y=Yr([l[1]||"rightmost"],[],t),X=i==="root";return Ai(c,function(K,ie){var le=ie.classes[0],fe=K.classes[0];le==="mbin"&&Z.contains(zl,fe)?ie.classes[0]="mord":fe==="mbin"&&Z.contains(ut,le)&&(K.classes[0]="mord")},{node:U},Y,X),Ai(c,function(K,ie){var le=r0(ie),fe=r0(K),de=le&&fe?K.hasClass("mtight")?gu[le][fe]:vu[le][fe]:null;if(de)return $.makeGlue(de,M)},{node:U},Y,X),c},Ai=function m(r,t,i,l,c){l&&r.push(l);for(var v=0;v<r.length;v++){var A=r[v],D=ki(A);if(D){m(D.children,t,i,null,c);continue}var M=!A.hasClass("mspace");if(M){var N=t(A,i.node);N&&(i.insertAfter?i.insertAfter(N):(r.unshift(N),v++))}M?i.node=A:c&&A.hasClass("newline")&&(i.node=Yr(["leftmost"])),i.insertAfter=function(U){return function(Y){r.splice(U+1,0,Y),v++}}(v)}l&&r.pop()},ki=function(r){return r instanceof Or||r instanceof w0||r instanceof Wt&&r.hasClass("enclosing")?r:null},Fl=function m(r,t){var i=ki(r);if(i){var l=i.children;if(l.length){if(t==="right")return m(l[l.length-1],"right");if(t==="left")return m(l[0],"left")}}return r},r0=function(r,t){return r?(t&&(r=Fl(r,t)),e0[r.classes[0]]||null):null},t0=function(r,t){var i=["nulldelimiter"].concat(r.baseSizingClasses());return Yr(t.concat(i))},Fe=function(r,t,i){if(!r)return Yr();if(kt[r.type]){var l=kt[r.type](r,t);if(i&&t.size!==i.size){l=Yr(t.sizingClasses(i),[l],t);var c=t.sizeMultiplier/i.sizeMultiplier;l.height*=c,l.depth*=c}return l}else throw new b("Got group of unknown type: '"+r.type+"'")};function F0(m,r){var t=Yr(["base"],m,r),i=Yr(["strut"]);return i.style.height=ae(t.height+t.depth),t.depth&&(i.style.verticalAlign=ae(-t.depth)),t.children.unshift(i),t}function n0(m,r){var t=null;m.length===1&&m[0].type==="tag"&&(t=m[0].tag,m=m[0].body);var i=rr(m,r,"root"),l;i.length===2&&i[1].hasClass("tag")&&(l=i.pop());for(var c=[],v=[],A=0;A<i.length;A++)if(v.push(i[A]),i[A].hasClass("mbin")||i[A].hasClass("mrel")||i[A].hasClass("allowbreak")){for(var D=!1;A<i.length-1&&i[A+1].hasClass("mspace")&&!i[A+1].hasClass("newline");)A++,v.push(i[A]),i[A].hasClass("nobreak")&&(D=!0);D||(c.push(F0(v,r)),v=[])}else i[A].hasClass("newline")&&(v.pop(),v.length>0&&(c.push(F0(v,r)),v=[]),c.push(i[A]));v.length>0&&c.push(F0(v,r));var M;t?(M=F0(rr(t,r,!0)),M.classes=["tag"],c.push(M)):l&&c.push(l);var N=Yr(["katex-html"],c);if(N.setAttribute("aria-hidden","true"),M){var U=M.children[0];U.style.height=ae(N.height+N.depth),N.depth&&(U.style.verticalAlign=ae(-N.depth))}return N}function N0(m){return new Or(m)}var _r=function(){function m(t,i,l){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=i||[],this.classes=l||[]}var r=m.prototype;return r.setAttribute=function(i,l){this.attributes[i]=l},r.getAttribute=function(i){return this.attributes[i]},r.toNode=function(){var i=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var l in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,l)&&i.setAttribute(l,this.attributes[l]);this.classes.length>0&&(i.className=it(this.classes));for(var c=0;c<this.children.length;c++)i.appendChild(this.children[c].toNode());return i},r.toMarkup=function(){var i="<"+this.type;for(var l in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,l)&&(i+=" "+l+'="',i+=Z.escape(this.attributes[l]),i+='"');this.classes.length>0&&(i+=' class ="'+Z.escape(it(this.classes))+'"'),i+=">";for(var c=0;c<this.children.length;c++)i+=this.children[c].toMarkup();return i+="</"+this.type+">",i},r.toText=function(){return this.children.map(function(i){return i.toText()}).join("")},m}(),i0=function(){function m(t){this.text=void 0,this.text=t}var r=m.prototype;return r.toNode=function(){return document.createTextNode(this.text)},r.toMarkup=function(){return Z.escape(this.toText())},r.toText=function(){return this.text},m}(),Si=function(){function m(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character="":t>=.1666&&t<=.1667?this.character="":t>=.2222&&t<=.2223?this.character="":t>=.2777&&t<=.2778?this.character="":t>=-.05556&&t<=-.05555?this.character="":t>=-.1667&&t<=-.1666?this.character="":t>=-.2223&&t<=-.2222?this.character="":t>=-.2778&&t<=-.2777?this.character="":this.character=null}var r=m.prototype;return r.toNode=function(){if(this.character)return document.createTextNode(this.character);var i=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return i.setAttribute("width",ae(this.width)),i},r.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ae(this.width)+'"/>'},r.toText=function(){return this.character?this.character:" "},m}(),te={MathNode:_r,TextNode:i0,SpaceNode:Si,newDocumentFragment:N0},kr=function(r,t,i){return $e[t][r]&&$e[t][r].replace&&r.charCodeAt(0)!==55349&&!(Zt.hasOwnProperty(r)&&i&&(i.fontFamily&&i.fontFamily.slice(4,6)==="tt"||i.font&&i.font.slice(4,6)==="tt"))&&(r=$e[t][r].replace),new te.TextNode(r)},dn=function(r){return r.length===1?r[0]:new te.MathNode("mrow",r)},mn=function(r,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 i=t.font;if(!i||i==="mathnormal")return null;var l=r.mode;if(i==="mathit")return"italic";if(i==="boldsymbol")return r.type==="textord"?"bold":"bold-italic";if(i==="mathbf")return"bold";if(i==="mathbb")return"double-struck";if(i==="mathfrak")return"fraktur";if(i==="mathscr"||i==="mathcal")return"script";if(i==="mathsf")return"sans-serif";if(i==="mathtt")return"monospace";var c=r.text;if(Z.contains(["\\imath","\\jmath"],c))return null;$e[l][c]&&$e[l][c].replace&&(c=$e[l][c].replace);var v=$.fontMap[i].fontName;return x0(c,v,l)?$.fontMap[i].variant:null},xr=function(r,t,i){if(r.length===1){var l=Pe(r[0],t);return i&&l instanceof _r&&l.type==="mo"&&(l.setAttribute("lspace","0em"),l.setAttribute("rspace","0em")),[l]}for(var c=[],v,A=0;A<r.length;A++){var D=Pe(r[A],t);if(D instanceof _r&&v instanceof _r){if(D.type==="mtext"&&v.type==="mtext"&&D.getAttribute("mathvariant")===v.getAttribute("mathvariant")){var M;(M=v.children).push.apply(M,D.children);continue}else if(D.type==="mn"&&v.type==="mn"){var N;(N=v.children).push.apply(N,D.children);continue}else if(D.type==="mi"&&D.children.length===1&&v.type==="mn"){var U=D.children[0];if(U instanceof i0&&U.text==="."){var Y;(Y=v.children).push.apply(Y,D.children);continue}}else if(v.type==="mi"&&v.children.length===1){var X=v.children[0];if(X instanceof i0&&X.text==="̸"&&(D.type==="mo"||D.type==="mi"||D.type==="mn")){var K=D.children[0];K instanceof i0&&K.text.length>0&&(K.text=K.text.slice(0,1)+"̸"+K.text.slice(1),c.pop())}}}c.push(D),v=D}return c},lt=function(r,t,i){return dn(xr(r,t,i))},Pe=function(r,t){if(!r)return new te.MathNode("mrow");if(_0[r.type]){var i=_0[r.type](r,t);return i}else throw new b("Got group of unknown type: '"+r.type+"'")};function Ci(m,r,t,i,l){var c=xr(m,t),v;c.length===1&&c[0]instanceof _r&&Z.contains(["mrow","mtable"],c[0].type)?v=c[0]:v=new te.MathNode("mrow",c);var A=new te.MathNode("annotation",[new te.TextNode(r)]);A.setAttribute("encoding","application/x-tex");var D=new te.MathNode("semantics",[v,A]),M=new te.MathNode("math",[D]);M.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),i&&M.setAttribute("display","block");var N=l?"katex":"katex-mathml";return $.makeSpan([N],[M])}var Di=function(r){return new oi({style:r.displayMode?ue.DISPLAY:ue.TEXT,maxSize:r.maxSize,minRuleThickness:r.minRuleThickness})},Ei=function(r,t){if(t.displayMode){var i=["katex-display"];t.leqno&&i.push("leqno"),t.fleqn&&i.push("fleqn"),r=$.makeSpan(i,[r])}return r},xu=function(r,t,i){var l=Di(i),c;if(i.output==="mathml")return Ci(r,t,l,i.displayMode,!0);if(i.output==="html"){var v=n0(r,l);c=$.makeSpan(["katex"],[v])}else{var A=Ci(r,t,l,i.displayMode,!1),D=n0(r,l);c=$.makeSpan(["katex"],[A,D])}return Ei(c,i)},bu=function(r,t,i){var l=Di(i),c=n0(r,l),v=$.makeSpan(["katex"],[c]);return Ei(v,i)},wu={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":"="},nr=function(r){var t=new te.MathNode("mo",[new te.TextNode(wu[r.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Bi={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]},a0=function(r){return r.type==="ordgroup"?r.body.length:1},fr=function(r,t){function i(){var D=4e5,M=r.label.slice(1);if(Z.contains(["widehat","widecheck","widetilde","utilde"],M)){var N=r,U=a0(N.base),Y,X,K;if(U>5)M==="widehat"||M==="widecheck"?(Y=420,D=2364,K=.42,X=M+"4"):(Y=312,D=2340,K=.34,X="tilde4");else{var ie=[1,1,2,2,3,3][U];M==="widehat"||M==="widecheck"?(D=[0,1062,2364,2364,2364][ie],Y=[0,239,300,360,420][ie],K=[0,.24,.3,.3,.36,.42][ie],X=M+ie):(D=[0,600,1033,2339,2340][ie],Y=[0,260,286,306,312][ie],K=[0,.26,.286,.3,.306,.34][ie],X="tilde"+ie)}var le=new Zr(X),fe=new Lr([le],{width:"100%",height:ae(K),viewBox:"0 0 "+D+" "+Y,preserveAspectRatio:"none"});return{span:$.makeSvgSpan([],[fe],t),minWidth:0,height:K}}else{var de=[],ge=Bi[M],ze=ge[0],Ce=ge[1],Re=ge[2],Ne=Re/1e3,Ie=ze.length,He,Qe;if(Ie===1){var Sr=ge[3];He=["hide-tail"],Qe=[Sr]}else if(Ie===2)He=["halfarrow-left","halfarrow-right"],Qe=["xMinYMin","xMaxYMin"];else if(Ie===3)He=["brace-left","brace-center","brace-right"],Qe=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Ie+" children.");for(var Xe=0;Xe<Ie;Xe++){var ft=new Zr(ze[Xe]),Cr=new Lr([ft],{width:"400em",height:ae(Ne),viewBox:"0 0 "+D+" "+Re,preserveAspectRatio:Qe[Xe]+" slice"}),dr=$.makeSvgSpan([He[Xe]],[Cr],t);if(Ie===1)return{span:dr,minWidth:Ce,height:Ne};dr.style.height=ae(Ne),de.push(dr)}return{span:$.makeSpan(["stretchy"],de,t),minWidth:Ce,height:Ne}}}var l=i(),c=l.span,v=l.minWidth,A=l.height;return c.height=A,c.style.height=ae(A),v>0&&(c.style.minWidth=ae(v)),c},vn=function(r,t,i,l,c){var v,A=r.height+r.depth+i+l;if(/fbox|color|angl/.test(t)){if(v=$.makeSpan(["stretchy",t],[],c),t==="fbox"){var D=c.color&&c.getColor();D&&(v.style.borderColor=D)}}else{var M=[];/^[bx]cancel$/.test(t)&&M.push(new Jr({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&M.push(new Jr({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var N=new Lr(M,{width:"100%",height:ae(A)});v=$.makeSvgSpan([],[N],c)}return v.height=A,v.style.height=ae(A),v},Hr={encloseSpan:vn,mathMLnode:nr,svgSpan:fr};function Be(m,r){if(!m||m.type!==r)throw new Error("Expected node of type "+r+", but got "+(m?"node of type "+m.type:String(m)));return m}function gn(m){var r=q0(m);if(!r)throw new Error("Expected node of symbol group type, but got "+(m?"node of type "+m.type:String(m)));return r}function q0(m){return m&&(m.type==="atom"||tu.hasOwnProperty(m.type))?m:null}var yn=function(r,t){var i,l,c;r&&r.type==="supsub"?(l=Be(r.base,"accent"),i=l.base,r.base=i,c=eu(Fe(r,t)),r.base=l):(l=Be(r,"accent"),i=l.base);var v=Fe(i,t.havingCrampedStyle()),A=l.isShifty&&Z.isCharacterBox(i),D=0;if(A){var M=Z.getBaseElem(i),N=Fe(M,t.havingCrampedStyle());D=pi(N).skew}var U=l.label==="\\c",Y=U?v.height+v.depth:Math.min(v.height,t.fontMetrics().xHeight),X;if(l.isStretchy)X=Hr.svgSpan(l,t),X=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:v},{type:"elem",elem:X,wrapperClasses:["svg-align"],wrapperStyle:D>0?{width:"calc(100% - "+ae(2*D)+")",marginLeft:ae(2*D)}:void 0}]},t);else{var K,ie;l.label==="\\vec"?(K=$.staticSvg("vec",t),ie=$.svgData.vec[1]):(K=$.makeOrd({mode:l.mode,text:l.label},t,"textord"),K=pi(K),K.italic=0,ie=K.width,U&&(Y+=K.depth)),X=$.makeSpan(["accent-body"],[K]);var le=l.label==="\\textcircled";le&&(X.classes.push("accent-full"),Y=v.height);var fe=D;le||(fe-=ie/2),X.style.left=ae(fe),l.label==="\\textcircled"&&(X.style.top=".2em"),X=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:v},{type:"kern",size:-Y},{type:"elem",elem:X}]},t)}var de=$.makeSpan(["mord","accent"],[X],t);return c?(c.children[0]=de,c.height=Math.max(de.height,c.height),c.classes[0]="mord",c):de},Mi=function(r,t){var i=r.isStretchy?Hr.mathMLnode(r.label):new te.MathNode("mo",[kr(r.label,r.mode)]),l=new te.MathNode("mover",[Pe(r.base,t),i]);return l.setAttribute("accent","true"),l},Au=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(m){return"\\"+m}).join("|"));oe({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(r,t){var i=z0(t[0]),l=!Au.test(r.funcName),c=!l||r.funcName==="\\widehat"||r.funcName==="\\widetilde"||r.funcName==="\\widecheck";return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:l,isShifty:c,base:i}},htmlBuilder:yn,mathmlBuilder:Mi}),oe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:function(r,t){var i=t[0],l=r.parser.mode;return l==="math"&&(r.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+r.funcName+" works only in text mode"),l="text"),{type:"accent",mode:l,label:r.funcName,isStretchy:!1,isShifty:!0,base:i}},htmlBuilder:yn,mathmlBuilder:Mi}),oe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0];return{type:"accentUnder",mode:i.mode,label:l,base:c}},htmlBuilder:function(r,t){var i=Fe(r.base,t),l=Hr.svgSpan(r,t),c=r.label==="\\utilde"?.12:0,v=$.makeVList({positionType:"top",positionData:i.height,children:[{type:"elem",elem:l,wrapperClasses:["svg-align"]},{type:"kern",size:c},{type:"elem",elem:i}]},t);return $.makeSpan(["mord","accentunder"],[v],t)},mathmlBuilder:function(r,t){var i=Hr.mathMLnode(r.label),l=new te.MathNode("munder",[Pe(r.base,t),i]);return l.setAttribute("accentunder","true"),l}});var tr=function(r){var t=new te.MathNode("mpadded",r?[r]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};oe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler:function(r,t,i){var l=r.parser,c=r.funcName;return{type:"xArrow",mode:l.mode,label:c,body:t[0],below:i[0]}},htmlBuilder:function(r,t){var i=t.style,l=t.havingStyle(i.sup()),c=$.wrapFragment(Fe(r.body,l,t),t),v=r.label.slice(0,2)==="\\x"?"x":"cd";c.classes.push(v+"-arrow-pad");var A;r.below&&(l=t.havingStyle(i.sub()),A=$.wrapFragment(Fe(r.below,l,t),t),A.classes.push(v+"-arrow-pad"));var D=Hr.svgSpan(r,t),M=-t.fontMetrics().axisHeight+.5*D.height,N=-t.fontMetrics().axisHeight-.5*D.height-.111;(c.depth>.25||r.label==="\\xleftequilibrium")&&(N-=c.depth);var U;if(A){var Y=-t.fontMetrics().axisHeight+A.height+.5*D.height+.111;U=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:N},{type:"elem",elem:D,shift:M},{type:"elem",elem:A,shift:Y}]},t)}else U=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:N},{type:"elem",elem:D,shift:M}]},t);return U.children[0].children[0].children[1].classes.push("svg-align"),$.makeSpan(["mrel","x-arrow"],[U],t)},mathmlBuilder:function(r,t){var i=Hr.mathMLnode(r.label);i.setAttribute("minsize",r.label.charAt(0)==="x"?"1.75em":"3.0em");var l;if(r.body){var c=tr(Pe(r.body,t));if(r.below){var v=tr(Pe(r.below,t));l=new te.MathNode("munderover",[i,v,c])}else l=new te.MathNode("mover",[i,c])}else if(r.below){var A=tr(Pe(r.below,t));l=new te.MathNode("munder",[i,A])}else l=tr(),l=new te.MathNode("mover",[i,l]);return l}});var Ti=$.makeSpan;function _i(m,r){var t=rr(m.body,r,!0);return Ti([m.mclass],t,r)}function R0(m,r){var t,i=xr(m.body,r);return m.mclass==="minner"?t=new te.MathNode("mpadded",i):m.mclass==="mord"?m.isCharacterBox?(t=i[0],t.type="mi"):t=new te.MathNode("mi",i):(m.isCharacterBox?(t=i[0],t.type="mo"):t=new te.MathNode("mo",i),m.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):m.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):m.mclass==="mopen"||m.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):m.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}oe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0];return{type:"mclass",mode:i.mode,mclass:"m"+l.slice(5),body:er(c),isCharacterBox:Z.isCharacterBox(c)}},htmlBuilder:_i,mathmlBuilder:R0});var u0=function(r){var t=r.type==="ordgroup"&&r.body.length?r.body[0]:r;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};oe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(r,t){var i=r.parser;return{type:"mclass",mode:i.mode,mclass:u0(t[0]),body:er(t[1]),isCharacterBox:Z.isCharacterBox(t[1])}}}),oe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[1],v=t[0],A;l!=="\\stackrel"?A=u0(c):A="mrel";var D={type:"op",mode:c.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:l!=="\\stackrel",body:er(c)},M={type:"supsub",mode:v.mode,base:D,sup:l==="\\underset"?null:v,sub:l==="\\underset"?v:null};return{type:"mclass",mode:i.mode,mclass:A,body:[M],isCharacterBox:Z.isCharacterBox(M)}},htmlBuilder:_i,mathmlBuilder:R0}),oe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var i=r.parser;return{type:"pmb",mode:i.mode,mclass:u0(t[0]),body:er(t[0])}},htmlBuilder:function(r,t){var i=rr(r.body,t,!0),l=$.makeSpan([r.mclass],i,t);return l.style.textShadow="0.02em 0.01em 0.04px",l},mathmlBuilder:function(r,t){var i=xr(r.body,t),l=new te.MathNode("mstyle",i);return l.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),l}});var zi={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},xn=function(){return{type:"styling",body:[],mode:"math",style:"display"}},bn=function(r){return r.type==="textord"&&r.text==="@"},Fi=function(r,t){return(r.type==="mathord"||r.type==="atom")&&r.text===t};function ku(m,r,t){var i=zi[m];switch(i){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(i,[r[0]],[r[1]]);case"\\uparrow":case"\\downarrow":{var l=t.callFunction("\\\\cdleft",[r[0]],[]),c={type:"atom",text:i,mode:"math",family:"rel"},v=t.callFunction("\\Big",[c],[]),A=t.callFunction("\\\\cdright",[r[1]],[]),D={type:"ordgroup",mode:"math",body:[l,v,A]};return t.callFunction("\\\\cdparent",[D],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var M={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[M],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Su(m){var r=[];for(m.gullet.beginGroup(),m.gullet.macros.set("\\cr","\\\\\\relax"),m.gullet.beginGroup();;){r.push(m.parseExpression(!1,"\\\\")),m.gullet.endGroup(),m.gullet.beginGroup();var t=m.fetch().text;if(t==="&"||t==="\\\\")m.consume();else if(t==="\\end"){r[r.length-1].length===0&&r.pop();break}else throw new b("Expected \\\\ or \\cr or \\end",m.nextToken)}for(var i=[],l=[i],c=0;c<r.length;c++){for(var v=r[c],A=xn(),D=0;D<v.length;D++)if(!bn(v[D]))A.body.push(v[D]);else{i.push(A),D+=1;var M=gn(v[D]).text,N=new Array(2);if(N[0]={type:"ordgroup",mode:"math",body:[]},N[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(M)>-1))if("<>AV".indexOf(M)>-1)for(var U=0;U<2;U++){for(var Y=!0,X=D+1;X<v.length;X++){if(Fi(v[X],M)){Y=!1,D=X;break}if(bn(v[X]))throw new b("Missing a "+M+" character to complete a CD arrow.",v[X]);N[U].body.push(v[X])}if(Y)throw new b("Missing a "+M+" character to complete a CD arrow.",v[D])}else throw new b('Expected one of "<>AV=|." after @',v[D]);var K=ku(M,N,m),ie={type:"styling",body:[K],mode:"math",style:"display"};i.push(ie),A=xn()}c%2===0?i.push(A):i.shift(),i=[],l.push(i)}m.gullet.endGroup(),m.gullet.endGroup();var le=new Array(l[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:l,arraystretch:1,addJot:!0,rowGaps:[null],cols:le,colSeparationType:"CD",hLinesBeforeRow:new Array(l.length+1).fill([])}}oe({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler:function(r,t){var i=r.parser,l=r.funcName;return{type:"cdlabel",mode:i.mode,side:l.slice(4),label:t[0]}},htmlBuilder:function(r,t){var i=t.havingStyle(t.style.sup()),l=$.wrapFragment(Fe(r.label,i,t),t);return l.classes.push("cd-label-"+r.side),l.style.bottom=ae(.8-l.depth),l.height=0,l.depth=0,l},mathmlBuilder:function(r,t){var i=new te.MathNode("mrow",[Pe(r.label,t)]);return i=new te.MathNode("mpadded",[i]),i.setAttribute("width","0"),r.side==="left"&&i.setAttribute("lspace","-1width"),i.setAttribute("voffset","0.7em"),i=new te.MathNode("mstyle",[i]),i.setAttribute("displaystyle","false"),i.setAttribute("scriptlevel","1"),i}}),oe({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler:function(r,t){var i=r.parser;return{type:"cdlabelparent",mode:i.mode,fragment:t[0]}},htmlBuilder:function(r,t){var i=$.wrapFragment(Fe(r.fragment,t),t);return i.classes.push("cd-vert-arrow"),i},mathmlBuilder:function(r,t){return new te.MathNode("mrow",[Pe(r.fragment,t)])}}),oe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){for(var i=r.parser,l=Be(t[0],"ordgroup"),c=l.body,v="",A=0;A<c.length;A++){var D=Be(c[A],"textord");v+=D.text}var M=parseInt(v),N;if(isNaN(M))throw new b("\\@char has non-numeric argument "+v);if(M<0||M>=1114111)throw new b("\\@char with invalid code point "+v);return M<=65535?N=String.fromCharCode(M):(M-=65536,N=String.fromCharCode((M>>10)+55296,(M&1023)+56320)),{type:"textord",mode:i.mode,text:N}}});var Ni=function(r,t){var i=rr(r.body,t.withColor(r.color),!1);return $.makeFragment(i)},wn=function(r,t){var i=xr(r.body,t.withColor(r.color)),l=new te.MathNode("mstyle",i);return l.setAttribute("mathcolor",r.color),l};oe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler:function(r,t){var i=r.parser,l=Be(t[0],"color-token").color,c=t[1];return{type:"color",mode:i.mode,color:l,body:er(c)}},htmlBuilder:Ni,mathmlBuilder:wn}),oe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler:function(r,t){var i=r.parser,l=r.breakOnTokenText,c=Be(t[0],"color-token").color;i.gullet.macros.set("\\current@color",c);var v=i.parseExpression(!0,l);return{type:"color",mode:i.mode,color:c,body:v}},htmlBuilder:Ni,mathmlBuilder:wn}),oe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler:function(r,t,i){var l=r.parser,c=l.gullet.future().text==="["?l.parseSizeGroup(!0):null,v=!l.settings.displayMode||!l.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:l.mode,newLine:v,size:c&&Be(c,"size").value}},htmlBuilder:function(r,t){var i=$.makeSpan(["mspace"],[],t);return r.newLine&&(i.classes.push("newline"),r.size&&(i.style.marginTop=ae(je(r.size,t)))),i},mathmlBuilder:function(r,t){var i=new te.MathNode("mspace");return r.newLine&&(i.setAttribute("linebreak","newline"),r.size&&i.setAttribute("height",ae(je(r.size,t)))),i}});var An={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},qi=function(r){var t=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new b("Expected a control sequence",r);return t},Cu=function(r){var t=r.gullet.popToken();return t.text==="="&&(t=r.gullet.popToken(),t.text===" "&&(t=r.gullet.popToken())),t},kn=function(r,t,i,l){var c=r.gullet.macros.get(i.text);c==null&&(i.noexpand=!0,c={tokens:[i],numArgs:0,unexpandable:!r.gullet.isExpandable(i.text)}),r.gullet.macros.set(t,c,l)};oe({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler:function(r){var t=r.parser,i=r.funcName;t.consumeSpaces();var l=t.fetch();if(An[l.text])return(i==="\\global"||i==="\\\\globallong")&&(l.text=An[l.text]),Be(t.parseFunction(),"internal");throw new b("Invalid token after macro prefix",l)}}),oe({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r){var t=r.parser,i=r.funcName,l=t.gullet.popToken(),c=l.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(c))throw new b("Expected a control sequence",l);for(var v=0,A,D=[[]];t.gullet.future().text!=="{";)if(l=t.gullet.popToken(),l.text==="#"){if(t.gullet.future().text==="{"){A=t.gullet.future(),D[v].push("{");break}if(l=t.gullet.popToken(),!/^[1-9]$/.test(l.text))throw new b('Invalid argument number "'+l.text+'"');if(parseInt(l.text)!==v+1)throw new b('Argument number "'+l.text+'" out of order');v++,D.push([])}else{if(l.text==="EOF")throw new b("Expected a macro definition");D[v].push(l.text)}var M=t.gullet.consumeArg(),N=M.tokens;return A&&N.unshift(A),(i==="\\edef"||i==="\\xdef")&&(N=t.gullet.expandTokens(N),N.reverse()),t.gullet.macros.set(c,{tokens:N,numArgs:v,delimiters:D},i===An[i]),{type:"internal",mode:t.mode}}}),oe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r){var t=r.parser,i=r.funcName,l=qi(t.gullet.popToken());t.gullet.consumeSpaces();var c=Cu(t);return kn(t,l,c,i==="\\\\globallet"),{type:"internal",mode:t.mode}}}),oe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r){var t=r.parser,i=r.funcName,l=qi(t.gullet.popToken()),c=t.gullet.popToken(),v=t.gullet.popToken();return kn(t,l,v,i==="\\\\globalfuture"),t.gullet.pushToken(v),t.gullet.pushToken(c),{type:"internal",mode:t.mode}}});var l0=function(r,t,i){var l=$e.math[r]&&$e.math[r].replace,c=x0(l||r,t,i);if(!c)throw new Error("Unsupported symbol "+r+" and font size "+t+".");return c},Sn=function(r,t,i,l){var c=i.havingBaseStyle(t),v=$.makeSpan(l.concat(c.sizingClasses(i)),[r],i),A=c.sizeMultiplier/i.sizeMultiplier;return v.height*=A,v.depth*=A,v.maxFontSize=c.sizeMultiplier,v},Ri=function(r,t,i){var l=t.havingBaseStyle(i),c=(1-t.sizeMultiplier/l.sizeMultiplier)*t.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=ae(c),r.height-=c,r.depth+=c},Du=function(r,t,i,l,c,v){var A=$.makeSymbol(r,"Main-Regular",c,l),D=Sn(A,t,l,v);return i&&Ri(D,l,t),D},Eu=function(r,t,i,l){return $.makeSymbol(r,"Size"+t+"-Regular",i,l)},Ii=function(r,t,i,l,c,v){var A=Eu(r,t,c,l),D=Sn($.makeSpan(["delimsizing","size"+t],[A],l),ue.TEXT,l,v);return i&&Ri(D,l,ue.TEXT),D},I0=function(r,t,i){var l;t==="Size1-Regular"?l="delim-size1":l="delim-size4";var c=$.makeSpan(["delimsizinginner",l],[$.makeSpan([],[$.makeSymbol(r,t,i)])]);return{type:"elem",elem:c}},Cn=function(r,t,i){var l=yr["Size4-Regular"][r.charCodeAt(0)]?yr["Size4-Regular"][r.charCodeAt(0)][4]:yr["Size1-Regular"][r.charCodeAt(0)][4],c=new Zr("inner",on(r,Math.round(1e3*t))),v=new Lr([c],{width:ae(l),height:ae(t),style:"width:"+ae(l),viewBox:"0 0 "+1e3*l+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),A=$.makeSvgSpan([],[v],i);return A.height=t,A.style.height=ae(t),A.style.width=ae(l),{type:"elem",elem:A}},Dn=.008,O0={type:"kern",size:-1*Dn},Bu=["|","\\lvert","\\rvert","\\vert"],Mu=["\\|","\\lVert","\\rVert","\\Vert"],Oi=function(r,t,i,l,c,v){var A,D,M,N,U="",Y=0;A=M=N=r,D=null;var X="Size1-Regular";r==="\\uparrow"?M=N="⏐":r==="\\Uparrow"?M=N="‖":r==="\\downarrow"?A=M="⏐":r==="\\Downarrow"?A=M="‖":r==="\\updownarrow"?(A="\\uparrow",M="⏐",N="\\downarrow"):r==="\\Updownarrow"?(A="\\Uparrow",M="‖",N="\\Downarrow"):Z.contains(Bu,r)?(M="",U="vert",Y=333):Z.contains(Mu,r)?(M="∥",U="doublevert",Y=556):r==="["||r==="\\lbrack"?(A="⎡",M="⎢",N="⎣",X="Size4-Regular",U="lbrack",Y=667):r==="]"||r==="\\rbrack"?(A="⎤",M="⎥",N="⎦",X="Size4-Regular",U="rbrack",Y=667):r==="\\lfloor"||r==="⌊"?(M=A="⎢",N="⎣",X="Size4-Regular",U="lfloor",Y=667):r==="\\lceil"||r==="⌈"?(A="⎡",M=N="⎢",X="Size4-Regular",U="lceil",Y=667):r==="\\rfloor"||r==="⌋"?(M=A="⎥",N="⎦",X="Size4-Regular",U="rfloor",Y=667):r==="\\rceil"||r==="⌉"?(A="⎤",M=N="⎥",X="Size4-Regular",U="rceil",Y=667):r==="("||r==="\\lparen"?(A="⎛",M="⎜",N="⎝",X="Size4-Regular",U="lparen",Y=875):r===")"||r==="\\rparen"?(A="⎞",M="⎟",N="⎠",X="Size4-Regular",U="rparen",Y=875):r==="\\{"||r==="\\lbrace"?(A="⎧",D="⎨",N="⎩",M="⎪",X="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(A="⎫",D="⎬",N="⎭",M="⎪",X="Size4-Regular"):r==="\\lgroup"||r==="⟮"?(A="⎧",N="⎩",M="⎪",X="Size4-Regular"):r==="\\rgroup"||r==="⟯"?(A="⎫",N="⎭",M="⎪",X="Size4-Regular"):r==="\\lmoustache"||r==="⎰"?(A="⎧",N="⎭",M="⎪",X="Size4-Regular"):(r==="\\rmoustache"||r==="⎱")&&(A="⎫",N="⎩",M="⎪",X="Size4-Regular");var K=l0(A,X,c),ie=K.height+K.depth,le=l0(M,X,c),fe=le.height+le.depth,de=l0(N,X,c),ge=de.height+de.depth,ze=0,Ce=1;if(D!==null){var Re=l0(D,X,c);ze=Re.height+Re.depth,Ce=2}var Ne=ie+ge+ze,Ie=Math.max(0,Math.ceil((t-Ne)/(Ce*fe))),He=Ne+Ie*Ce*fe,Qe=l.fontMetrics().axisHeight;i&&(Qe*=l.sizeMultiplier);var Sr=He/2-Qe,Xe=[];if(U.length>0){var ft=He-ie-ge,Cr=Math.round(He*1e3),dr=Za(U,Math.round(ft*1e3)),rt=new Zr(U,dr),Lt=(Y/1e3).toFixed(3)+"em",Pt=(Cr/1e3).toFixed(3)+"em",Q0=new Lr([rt],{width:Lt,height:Pt,viewBox:"0 0 "+Y+" "+Cr}),pt=$.makeSvgSpan([],[Q0],l);pt.height=Cr/1e3,pt.style.width=Lt,pt.style.height=Pt,Xe.push({type:"elem",elem:pt})}else{if(Xe.push(I0(N,X,c)),Xe.push(O0),D===null){var dt=He-ie-ge+2*Dn;Xe.push(Cn(M,dt,l))}else{var Dr=(He-ie-ge-ze)/2+2*Dn;Xe.push(Cn(M,Dr,l)),Xe.push(O0),Xe.push(I0(D,X,c)),Xe.push(O0),Xe.push(Cn(M,Dr,l))}Xe.push(O0),Xe.push(I0(A,X,c))}var Er=l.havingBaseStyle(ue.TEXT),Un=$.makeVList({positionType:"bottom",positionData:Sr,children:Xe},Er);return Sn($.makeSpan(["delimsizing","mult"],[Un],Er),ue.TEXT,l,v)},L0=80,P0=.08,H0=function(r,t,i,l,c){var v=xt(r,l,i),A=new Zr(r,v),D=new Lr([A],{width:"400em",height:ae(t),viewBox:"0 0 400000 "+i,preserveAspectRatio:"xMinYMin slice"});return $.makeSvgSpan(["hide-tail"],[D],c)},Li=function(r,t){var i=t.havingBaseSizing(),l=$i("\\surd",r*i.sizeMultiplier,U0,i),c=i.sizeMultiplier,v=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),A,D=0,M=0,N=0,U;return l.type==="small"?(N=1e3+1e3*v+L0,r<1?c=1:r<1.4&&(c=.7),D=(1+v+P0)/c,M=(1+v)/c,A=H0("sqrtMain",D,N,v,t),A.style.minWidth="0.853em",U=.833/c):l.type==="large"?(N=(1e3+L0)*o0[l.size],M=(o0[l.size]+v)/c,D=(o0[l.size]+v+P0)/c,A=H0("sqrtSize"+l.size,D,N,v,t),A.style.minWidth="1.02em",U=1/c):(D=r+v+P0,M=r+v,N=Math.floor(1e3*r+v)+L0,A=H0("sqrtTall",D,N,v,t),A.style.minWidth="0.742em",U=1.056),A.height=M,A.style.height=ae(D),{span:A,advanceWidth:U,ruleWidth:(t.fontMetrics().sqrtRuleThickness+v)*c}},En=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Tu=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Pi=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],o0=[0,1.2,1.8,2.4,3],Hi=function(r,t,i,l,c){if(r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle"),Z.contains(En,r)||Z.contains(Pi,r))return Ii(r,t,!1,i,l,c);if(Z.contains(Tu,r))return Oi(r,o0[t],!1,i,l,c);throw new b("Illegal delimiter: '"+r+"'")},_u=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Ui=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"stack"}],U0=[{type:"small",style:ue.SCRIPTSCRIPT},{type:"small",style:ue.SCRIPT},{type:"small",style:ue.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],zu=function(r){if(r.type==="small")return"Main-Regular";if(r.type==="large")return"Size"+r.size+"-Regular";if(r.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+r.type+"' here.")},$i=function(r,t,i,l){for(var c=Math.min(2,3-l.style.size),v=c;v<i.length&&i[v].type!=="stack";v++){var A=l0(r,zu(i[v]),"math"),D=A.height+A.depth;if(i[v].type==="small"){var M=l.havingBaseStyle(i[v].style);D*=M.sizeMultiplier}if(D>t)return i[v]}return i[i.length-1]},Vi=function(r,t,i,l,c,v){r==="<"||r==="\\lt"||r==="⟨"?r="\\langle":(r===">"||r==="\\gt"||r==="⟩")&&(r="\\rangle");var A;Z.contains(Pi,r)?A=_u:Z.contains(En,r)?A=U0:A=Ui;var D=$i(r,t,A,l);return D.type==="small"?Du(r,D.style,i,l,c,v):D.type==="large"?Ii(r,D.size,i,l,c,v):Oi(r,t,i,l,c,v)},Fu=function(r,t,i,l,c,v){var A=l.fontMetrics().axisHeight*l.sizeMultiplier,D=901,M=5/l.fontMetrics().ptPerEm,N=Math.max(t-A,i+A),U=Math.max(N/500*D,2*N-M);return Vi(r,U,!0,l,c,v)},Xr={sqrtImage:Li,sizedDelim:Hi,sizeToMaxHeight:o0,customSizedDelim:Vi,leftRightDelim:Fu},Gi={"\\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}},Nu=["(","\\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 $0(m,r){var t=q0(m);if(t&&Z.contains(Nu,t.text))return t;throw t?new b("Invalid delimiter '"+t.text+"' after '"+r.funcName+"'",m):new b("Invalid delimiter type '"+m.type+"'",m)}oe({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:function(r,t){var i=$0(t[0],r);return{type:"delimsizing",mode:r.parser.mode,size:Gi[r.funcName].size,mclass:Gi[r.funcName].mclass,delim:i.text}},htmlBuilder:function(r,t){return r.delim==="."?$.makeSpan([r.mclass]):Xr.sizedDelim(r.delim,r.size,t,r.mode,[r.mclass])},mathmlBuilder:function(r){var t=[];r.delim!=="."&&t.push(kr(r.delim,r.mode));var i=new te.MathNode("mo",t);r.mclass==="mopen"||r.mclass==="mclose"?i.setAttribute("fence","true"):i.setAttribute("fence","false"),i.setAttribute("stretchy","true");var l=ae(Xr.sizeToMaxHeight[r.size]);return i.setAttribute("minsize",l),i.setAttribute("maxsize",l),i}});function ji(m){if(!m.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}oe({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(r,t){var i=r.parser.gullet.macros.get("\\current@color");if(i&&typeof i!="string")throw new b("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:r.parser.mode,delim:$0(t[0],r).text,color:i}}}),oe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:function(r,t){var i=$0(t[0],r),l=r.parser;++l.leftrightDepth;var c=l.parseExpression(!1);--l.leftrightDepth,l.expect("\\right",!1);var v=Be(l.parseFunction(),"leftright-right");return{type:"leftright",mode:l.mode,body:c,left:i.text,right:v.delim,rightColor:v.color}},htmlBuilder:function(r,t){ji(r);for(var i=rr(r.body,t,!0,["mopen","mclose"]),l=0,c=0,v=!1,A=0;A<i.length;A++)i[A].isMiddle?v=!0:(l=Math.max(i[A].height,l),c=Math.max(i[A].depth,c));l*=t.sizeMultiplier,c*=t.sizeMultiplier;var D;if(r.left==="."?D=t0(t,["mopen"]):D=Xr.leftRightDelim(r.left,l,c,t,r.mode,["mopen"]),i.unshift(D),v)for(var M=1;M<i.length;M++){var N=i[M],U=N.isMiddle;U&&(i[M]=Xr.leftRightDelim(U.delim,l,c,U.options,r.mode,[]))}var Y;if(r.right===".")Y=t0(t,["mclose"]);else{var X=r.rightColor?t.withColor(r.rightColor):t;Y=Xr.leftRightDelim(r.right,l,c,X,r.mode,["mclose"])}return i.push(Y),$.makeSpan(["minner"],i,t)},mathmlBuilder:function(r,t){ji(r);var i=xr(r.body,t);if(r.left!=="."){var l=new te.MathNode("mo",[kr(r.left,r.mode)]);l.setAttribute("fence","true"),i.unshift(l)}if(r.right!=="."){var c=new te.MathNode("mo",[kr(r.right,r.mode)]);c.setAttribute("fence","true"),r.rightColor&&c.setAttribute("mathcolor",r.rightColor),i.push(c)}return dn(i)}}),oe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:function(r,t){var i=$0(t[0],r);if(!r.parser.leftrightDepth)throw new b("\\middle without preceding \\left",i);return{type:"middle",mode:r.parser.mode,delim:i.text}},htmlBuilder:function(r,t){var i;if(r.delim===".")i=t0(t,[]);else{i=Xr.sizedDelim(r.delim,1,t,r.mode,[]);var l={delim:r.delim,options:t};i.isMiddle=l}return i},mathmlBuilder:function(r,t){var i=r.delim==="\\vert"||r.delim==="|"?kr("|","text"):kr(r.delim,r.mode),l=new te.MathNode("mo",[i]);return l.setAttribute("fence","true"),l.setAttribute("lspace","0.05em"),l.setAttribute("rspace","0.05em"),l}});var V0=function(r,t){var i=$.wrapFragment(Fe(r.body,t),t),l=r.label.slice(1),c=t.sizeMultiplier,v,A=0,D=Z.isCharacterBox(r.body);if(l==="sout")v=$.makeSpan(["stretchy","sout"]),v.height=t.fontMetrics().defaultRuleThickness/c,A=-.5*t.fontMetrics().xHeight;else if(l==="phase"){var M=je({number:.6,unit:"pt"},t),N=je({number:.35,unit:"ex"},t),U=t.havingBaseSizing();c=c/U.sizeMultiplier;var Y=i.height+i.depth+M+N;i.style.paddingLeft=ae(Y/2+M);var X=Math.floor(1e3*Y*c),K=pe(X),ie=new Lr([new Zr("phase",K)],{width:"400em",height:ae(X/1e3),viewBox:"0 0 400000 "+X,preserveAspectRatio:"xMinYMin slice"});v=$.makeSvgSpan(["hide-tail"],[ie],t),v.style.height=ae(Y),A=i.depth+M+N}else{/cancel/.test(l)?D||i.classes.push("cancel-pad"):l==="angl"?i.classes.push("anglpad"):i.classes.push("boxpad");var le=0,fe=0,de=0;/box/.test(l)?(de=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),le=t.fontMetrics().fboxsep+(l==="colorbox"?0:de),fe=le):l==="angl"?(de=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),le=4*de,fe=Math.max(0,.25-i.depth)):(le=D?.2:0,fe=le),v=Hr.encloseSpan(i,l,le,fe,t),/fbox|boxed|fcolorbox/.test(l)?(v.style.borderStyle="solid",v.style.borderWidth=ae(de)):l==="angl"&&de!==.049&&(v.style.borderTopWidth=ae(de),v.style.borderRightWidth=ae(de)),A=i.depth+fe,r.backgroundColor&&(v.style.backgroundColor=r.backgroundColor,r.borderColor&&(v.style.borderColor=r.borderColor))}var ge;if(r.backgroundColor)ge=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:v,shift:A},{type:"elem",elem:i,shift:0}]},t);else{var ze=/cancel|phase/.test(l)?["svg-align"]:[];ge=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:v,shift:A,wrapperClasses:ze}]},t)}return/cancel/.test(l)&&(ge.height=i.height,ge.depth=i.depth),/cancel/.test(l)&&!D?$.makeSpan(["mord","cancel-lap"],[ge],t):$.makeSpan(["mord"],[ge],t)},Bn=function(r,t){var i=0,l=new te.MathNode(r.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Pe(r.body,t)]);switch(r.label){case"\\cancel":l.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":l.setAttribute("notation","downdiagonalstrike");break;case"\\phase":l.setAttribute("notation","phasorangle");break;case"\\sout":l.setAttribute("notation","horizontalstrike");break;case"\\fbox":l.setAttribute("notation","box");break;case"\\angl":l.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(i=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,l.setAttribute("width","+"+2*i+"pt"),l.setAttribute("height","+"+2*i+"pt"),l.setAttribute("lspace",i+"pt"),l.setAttribute("voffset",i+"pt"),r.label==="\\fcolorbox"){var c=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);l.setAttribute("style","border: "+c+"em solid "+String(r.borderColor))}break;case"\\xcancel":l.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return r.backgroundColor&&l.setAttribute("mathbackground",r.backgroundColor),l};oe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(r,t,i){var l=r.parser,c=r.funcName,v=Be(t[0],"color-token").color,A=t[1];return{type:"enclose",mode:l.mode,label:c,backgroundColor:v,body:A}},htmlBuilder:V0,mathmlBuilder:Bn}),oe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(r,t,i){var l=r.parser,c=r.funcName,v=Be(t[0],"color-token").color,A=Be(t[1],"color-token").color,D=t[2];return{type:"enclose",mode:l.mode,label:c,backgroundColor:A,borderColor:v,body:D}},htmlBuilder:V0,mathmlBuilder:Bn}),oe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(r,t){var i=r.parser;return{type:"enclose",mode:i.mode,label:"\\fbox",body:t[0]}}}),oe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0];return{type:"enclose",mode:i.mode,label:l,body:c}},htmlBuilder:V0,mathmlBuilder:Bn}),oe({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(r,t){var i=r.parser;return{type:"enclose",mode:i.mode,label:"\\angl",body:t[0]}}});var Yi={};function Wr(m){for(var r=m.type,t=m.names,i=m.props,l=m.handler,c=m.htmlBuilder,v=m.mathmlBuilder,A={type:r,numArgs:i.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:l},D=0;D<t.length;++D)Yi[t[D]]=A;c&&(kt[r]=c),v&&(_0[r]=v)}var Mn={};function E(m,r){Mn[m]=r}var Ur=function(){function m(r,t,i){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=r,this.start=t,this.end=i}return m.range=function(t,i){return i?!t||!t.loc||!i.loc||t.loc.lexer!==i.loc.lexer?null:new m(t.loc.lexer,t.loc.start,i.loc.end):t&&t.loc},m}(),ot=function(){function m(t,i){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=i}var r=m.prototype;return r.range=function(i,l){return new m(l,Ur.range(this,i))},m}();function Tn(m){var r=[];m.consumeSpaces();var t=m.fetch().text;for(t==="\\relax"&&(m.consume(),m.consumeSpaces(),t=m.fetch().text);t==="\\hline"||t==="\\hdashline";)m.consume(),r.push(t==="\\hdashline"),m.consumeSpaces(),t=m.fetch().text;return r}var Ft=function(r){var t=r.parser.settings;if(!t.displayMode)throw new b("{"+r.envName+"} can be used only in display mode.")};function Kr(m){if(m.indexOf("ed")===-1)return m.indexOf("*")===-1}function $r(m,r,t){var i=r.hskipBeforeAndAfter,l=r.addJot,c=r.cols,v=r.arraystretch,A=r.colSeparationType,D=r.autoTag,M=r.singleRow,N=r.emptySingleRow,U=r.maxNumCols,Y=r.leqno;if(m.gullet.beginGroup(),M||m.gullet.macros.set("\\cr","\\\\\\relax"),!v){var X=m.gullet.expandMacroAsText("\\arraystretch");if(X==null)v=1;else if(v=parseFloat(X),!v||v<0)throw new b("Invalid \\arraystretch: "+X)}m.gullet.beginGroup();var K=[],ie=[K],le=[],fe=[],de=D!=null?[]:void 0;function ge(){D&&m.gullet.macros.set("\\@eqnsw","1",!0)}function ze(){de&&(m.gullet.macros.get("\\df@tag")?(de.push(m.subparse([new ot("\\df@tag")])),m.gullet.macros.set("\\df@tag",void 0,!0)):de.push(!!D&&m.gullet.macros.get("\\@eqnsw")==="1"))}for(ge(),fe.push(Tn(m));;){var Ce=m.parseExpression(!1,M?"\\end":"\\\\");m.gullet.endGroup(),m.gullet.beginGroup(),Ce={type:"ordgroup",mode:m.mode,body:Ce},t&&(Ce={type:"styling",mode:m.mode,style:t,body:[Ce]}),K.push(Ce);var Re=m.fetch().text;if(Re==="&"){if(U&&K.length===U){if(M||A)throw new b("Too many tab characters: &",m.nextToken);m.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}m.consume()}else if(Re==="\\end"){ze(),K.length===1&&Ce.type==="styling"&&Ce.body[0].body.length===0&&(ie.length>1||!N)&&ie.pop(),fe.length<ie.length+1&&fe.push([]);break}else if(Re==="\\\\"){m.consume();var Ne=void 0;m.gullet.future().text!==" "&&(Ne=m.parseSizeGroup(!0)),le.push(Ne?Ne.value:null),ze(),fe.push(Tn(m)),K=[],ie.push(K),ge()}else throw new b("Expected & or \\\\ or \\cr or \\end",m.nextToken)}return m.gullet.endGroup(),m.gullet.endGroup(),{type:"array",mode:m.mode,addJot:l,arraystretch:v,body:ie,cols:c,rowGaps:le,hskipBeforeAndAfter:i,hLinesBeforeRow:fe,colSeparationType:A,tags:de,leqno:Y}}function G0(m){return m.slice(0,1)==="d"?"display":"text"}var Vr=function(r,t){var i,l,c=r.body.length,v=r.hLinesBeforeRow,A=0,D=new Array(c),M=[],N=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),U=1/t.fontMetrics().ptPerEm,Y=5*U;if(r.colSeparationType&&r.colSeparationType==="small"){var X=t.havingStyle(ue.SCRIPT).sizeMultiplier;Y=.2778*(X/t.sizeMultiplier)}var K=r.colSeparationType==="CD"?je({number:3,unit:"ex"},t):12*U,ie=3*U,le=r.arraystretch*K,fe=.7*le,de=.3*le,ge=0;function ze(rn){for(var tn=0;tn<rn.length;++tn)tn>0&&(ge+=.25),M.push({pos:ge,isDashed:rn[tn]})}for(ze(v[0]),i=0;i<r.body.length;++i){var Ce=r.body[i],Re=fe,Ne=de;A<Ce.length&&(A=Ce.length);var Ie=new Array(Ce.length);for(l=0;l<Ce.length;++l){var He=Fe(Ce[l],t);Ne<He.depth&&(Ne=He.depth),Re<He.height&&(Re=He.height),Ie[l]=He}var Qe=r.rowGaps[i],Sr=0;Qe&&(Sr=je(Qe,t),Sr>0&&(Sr+=de,Ne<Sr&&(Ne=Sr),Sr=0)),r.addJot&&(Ne+=ie),Ie.height=Re,Ie.depth=Ne,ge+=Re,Ie.pos=ge,ge+=Ne+Sr,D[i]=Ie,ze(v[i+1])}var Xe=ge/2+t.fontMetrics().axisHeight,ft=r.cols||[],Cr=[],dr,rt,Lt=[];if(r.tags&&r.tags.some(function(rn){return rn}))for(i=0;i<c;++i){var Pt=D[i],Q0=Pt.pos-Xe,pt=r.tags[i],dt=void 0;pt===!0?dt=$.makeSpan(["eqn-num"],[],t):pt===!1?dt=$.makeSpan([],[],t):dt=$.makeSpan([],rr(pt,t,!0),t),dt.depth=Pt.depth,dt.height=Pt.height,Lt.push({type:"elem",elem:dt,shift:Q0})}for(l=0,rt=0;l<A||rt<ft.length;++l,++rt){for(var Dr=ft[rt]||{},Er=!0;Dr.type==="separator";){if(Er||(dr=$.makeSpan(["arraycolsep"],[]),dr.style.width=ae(t.fontMetrics().doubleRuleSep),Cr.push(dr)),Dr.separator==="|"||Dr.separator===":"){var Un=Dr.separator==="|"?"solid":"dashed",mt=$.makeSpan(["vertical-separator"],[],t);mt.style.height=ae(ge),mt.style.borderRightWidth=ae(N),mt.style.borderRightStyle=Un,mt.style.margin="0 "+ae(-N/2);var ba=ge-Xe;ba&&(mt.style.verticalAlign=ae(-ba)),Cr.push(mt)}else throw new b("Invalid separator type: "+Dr.separator);rt++,Dr=ft[rt]||{},Er=!1}if(!(l>=A)){var Ht=void 0;(l>0||r.hskipBeforeAndAfter)&&(Ht=Z.deflt(Dr.pregap,Y),Ht!==0&&(dr=$.makeSpan(["arraycolsep"],[]),dr.style.width=ae(Ht),Cr.push(dr)));var Ut=[];for(i=0;i<c;++i){var $t=D[i],en=$t[l];if(en){var Xu=$t.pos-Xe;en.depth=$t.depth,en.height=$t.height,Ut.push({type:"elem",elem:en,shift:Xu})}}Ut=$.makeVList({positionType:"individualShift",children:Ut},t),Ut=$.makeSpan(["col-align-"+(Dr.align||"c")],[Ut]),Cr.push(Ut),(l<A-1||r.hskipBeforeAndAfter)&&(Ht=Z.deflt(Dr.postgap,Y),Ht!==0&&(dr=$.makeSpan(["arraycolsep"],[]),dr.style.width=ae(Ht),Cr.push(dr)))}}if(D=$.makeSpan(["mtable"],Cr),M.length>0){for(var Wu=$.makeLineSpan("hline",t,N),Ku=$.makeLineSpan("hdashline",t,N),$n=[{type:"elem",elem:D,shift:0}];M.length>0;){var wa=M.pop(),Aa=wa.pos-Xe;wa.isDashed?$n.push({type:"elem",elem:Ku,shift:Aa}):$n.push({type:"elem",elem:Wu,shift:Aa})}D=$.makeVList({positionType:"individualShift",children:$n},t)}if(Lt.length===0)return $.makeSpan(["mord"],[D],t);var Vn=$.makeVList({positionType:"individualShift",children:Lt},t);return Vn=$.makeSpan(["tag"],[Vn],t),$.makeFragment([D,Vn])},j0={c:"center ",l:"left ",r:"right "},zr=function(r,t){for(var i=[],l=new te.MathNode("mtd",[],["mtr-glue"]),c=new te.MathNode("mtd",[],["mml-eqn-num"]),v=0;v<r.body.length;v++){for(var A=r.body[v],D=[],M=0;M<A.length;M++)D.push(new te.MathNode("mtd",[Pe(A[M],t)]));r.tags&&r.tags[v]&&(D.unshift(l),D.push(l),r.leqno?D.unshift(c):D.push(c)),i.push(new te.MathNode("mtr",D))}var N=new te.MathNode("mtable",i),U=r.arraystretch===.5?.1:.16+r.arraystretch-1+(r.addJot?.09:0);N.setAttribute("rowspacing",ae(U));var Y="",X="";if(r.cols&&r.cols.length>0){var K=r.cols,ie="",le=!1,fe=0,de=K.length;K[0].type==="separator"&&(Y+="top ",fe=1),K[K.length-1].type==="separator"&&(Y+="bottom ",de-=1);for(var ge=fe;ge<de;ge++)K[ge].type==="align"?(X+=j0[K[ge].align],le&&(ie+="none "),le=!0):K[ge].type==="separator"&&le&&(ie+=K[ge].separator==="|"?"solid ":"dashed ",le=!1);N.setAttribute("columnalign",X.trim()),/[sd]/.test(ie)&&N.setAttribute("columnlines",ie.trim())}if(r.colSeparationType==="align"){for(var ze=r.cols||[],Ce="",Re=1;Re<ze.length;Re++)Ce+=Re%2?"0em ":"1em ";N.setAttribute("columnspacing",Ce.trim())}else r.colSeparationType==="alignat"||r.colSeparationType==="gather"?N.setAttribute("columnspacing","0em"):r.colSeparationType==="small"?N.setAttribute("columnspacing","0.2778em"):r.colSeparationType==="CD"?N.setAttribute("columnspacing","0.5em"):N.setAttribute("columnspacing","1em");var Ne="",Ie=r.hLinesBeforeRow;Y+=Ie[0].length>0?"left ":"",Y+=Ie[Ie.length-1].length>0?"right ":"";for(var He=1;He<Ie.length-1;He++)Ne+=Ie[He].length===0?"none ":Ie[He][0]?"dashed ":"solid ";return/[sd]/.test(Ne)&&N.setAttribute("rowlines",Ne.trim()),Y!==""&&(N=new te.MathNode("menclose",[N]),N.setAttribute("notation",Y.trim())),r.arraystretch&&r.arraystretch<1&&(N=new te.MathNode("mstyle",[N]),N.setAttribute("scriptlevel","1")),N},Xi=function(r,t){r.envName.indexOf("ed")===-1&&Ft(r);var i=[],l=r.envName.indexOf("at")>-1?"alignat":"align",c=r.envName==="split",v=$r(r.parser,{cols:i,addJot:!0,autoTag:c?void 0:Kr(r.envName),emptySingleRow:!0,colSeparationType:l,maxNumCols:c?2:void 0,leqno:r.parser.settings.leqno},"display"),A,D=0,M={type:"ordgroup",mode:r.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var N="",U=0;U<t[0].body.length;U++){var Y=Be(t[0].body[U],"textord");N+=Y.text}A=Number(N),D=A*2}var X=!D;v.body.forEach(function(fe){for(var de=1;de<fe.length;de+=2){var ge=Be(fe[de],"styling"),ze=Be(ge.body[0],"ordgroup");ze.body.unshift(M)}if(X)D<fe.length&&(D=fe.length);else{var Ce=fe.length/2;if(A<Ce)throw new b("Too many math in a row: "+("expected "+A+", but got "+Ce),fe[0])}});for(var K=0;K<D;++K){var ie="r",le=0;K%2===1?ie="l":K>0&&X&&(le=1),i[K]={type:"align",align:ie,pregap:le,postgap:0}}return v.colSeparationType=X?"align":"alignat",v};Wr({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(r,t){var i=q0(t[0]),l=i?[t[0]]:Be(t[0],"ordgroup").body,c=l.map(function(A){var D=gn(A),M=D.text;if("lcr".indexOf(M)!==-1)return{type:"align",align:M};if(M==="|")return{type:"separator",separator:"|"};if(M===":")return{type:"separator",separator:":"};throw new b("Unknown column alignment: "+M,A)}),v={cols:c,hskipBeforeAndAfter:!0,maxNumCols:c.length};return $r(r.parser,v,G0(r.envName))},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(r){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[r.envName.replace("*","")],i="c",l={hskipBeforeAndAfter:!1,cols:[{type:"align",align:i}]};if(r.envName.charAt(r.envName.length-1)==="*"){var c=r.parser;if(c.consumeSpaces(),c.fetch().text==="["){if(c.consume(),c.consumeSpaces(),i=c.fetch().text,"lcr".indexOf(i)===-1)throw new b("Expected l or c or r",c.nextToken);c.consume(),c.consumeSpaces(),c.expect("]"),c.consume(),l.cols=[{type:"align",align:i}]}}var v=$r(r.parser,l,G0(r.envName)),A=Math.max.apply(Math,[0].concat(v.body.map(function(D){return D.length})));return v.cols=new Array(A).fill({type:"align",align:i}),t?{type:"leftright",mode:r.mode,body:[v],left:t[0],right:t[1],rightColor:void 0}:v},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(r){var t={arraystretch:.5},i=$r(r.parser,t,"script");return i.colSeparationType="small",i},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["subarray"],props:{numArgs:1},handler:function(r,t){var i=q0(t[0]),l=i?[t[0]]:Be(t[0],"ordgroup").body,c=l.map(function(A){var D=gn(A),M=D.text;if("lc".indexOf(M)!==-1)return{type:"align",align:M};throw new b("Unknown column alignment: "+M,A)});if(c.length>1)throw new b("{subarray} can contain only one column");var v={cols:c,hskipBeforeAndAfter:!1,arraystretch:.5};if(v=$r(r.parser,v,"script"),v.body.length>0&&v.body[0].length>1)throw new b("{subarray} can contain only one column");return v},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(r){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},i=$r(r.parser,t,G0(r.envName));return{type:"leftright",mode:r.mode,body:[i],left:r.envName.indexOf("r")>-1?".":"\\{",right:r.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Xi,htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(r){Z.contains(["gather","gather*"],r.envName)&&Ft(r);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Kr(r.envName),emptySingleRow:!0,leqno:r.parser.settings.leqno};return $r(r.parser,t,"display")},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Xi,htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(r){Ft(r);var t={autoTag:Kr(r.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:r.parser.settings.leqno};return $r(r.parser,t,"display")},htmlBuilder:Vr,mathmlBuilder:zr}),Wr({type:"array",names:["CD"],props:{numArgs:0},handler:function(r){return Ft(r),Su(r.parser)},htmlBuilder:Vr,mathmlBuilder:zr}),E("\\nonumber","\\gdef\\@eqnsw{0}"),E("\\notag","\\nonumber"),oe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(r,t){throw new b(r.funcName+" valid only within array environment")}});var Wi=Yi,Ki=Wi;oe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0];if(c.type!=="ordgroup")throw new b("Invalid environment name",c);for(var v="",A=0;A<c.body.length;++A)v+=Be(c.body[A],"textord").text;if(l==="\\begin"){if(!Ki.hasOwnProperty(v))throw new b("No such environment: "+v,c);var D=Ki[v],M=i.parseArguments("\\begin{"+v+"}",D),N=M.args,U=M.optArgs,Y={mode:i.mode,envName:v,parser:i},X=D.handler(Y,N,U);i.expect("\\end",!1);var K=i.nextToken,ie=Be(i.parseFunction(),"environment");if(ie.name!==v)throw new b("Mismatch: \\begin{"+v+"} matched by \\end{"+ie.name+"}",K);return X}return{type:"environment",mode:i.mode,name:v,nameGroup:c}}});var Zi=function(r,t){var i=r.font,l=t.withFont(i);return Fe(r.body,l)},Ji=function(r,t){var i=r.font,l=t.withFont(i);return Pe(r.body,l)},_n={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};oe({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:function(r,t){var i=r.parser,l=r.funcName,c=z0(t[0]),v=l;return v in _n&&(v=_n[v]),{type:"font",mode:i.mode,font:v.slice(1),body:c}},htmlBuilder:Zi,mathmlBuilder:Ji}),oe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:function(r,t){var i=r.parser,l=t[0],c=Z.isCharacterBox(l);return{type:"mclass",mode:i.mode,mclass:u0(l),body:[{type:"font",mode:i.mode,font:"boldsymbol",body:l}],isCharacterBox:c}}}),oe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:function(r,t){var i=r.parser,l=r.funcName,c=r.breakOnTokenText,v=i.mode,A=i.parseExpression(!0,c),D="math"+l.slice(1);return{type:"font",mode:v,font:D,body:{type:"ordgroup",mode:i.mode,body:A}}},htmlBuilder:Zi,mathmlBuilder:Ji});var zn=function(r,t){var i=t;return r==="display"?i=i.id>=ue.SCRIPT.id?i.text():ue.DISPLAY:r==="text"&&i.size===ue.DISPLAY.size?i=ue.TEXT:r==="script"?i=ue.SCRIPT:r==="scriptscript"&&(i=ue.SCRIPTSCRIPT),i},Y0=function(r,t){var i=zn(r.size,t.style),l=i.fracNum(),c=i.fracDen(),v;v=t.havingStyle(l);var A=Fe(r.numer,v,t);if(r.continued){var D=8.5/t.fontMetrics().ptPerEm,M=3.5/t.fontMetrics().ptPerEm;A.height=A.height<D?D:A.height,A.depth=A.depth<M?M:A.depth}v=t.havingStyle(c);var N=Fe(r.denom,v,t),U,Y,X;r.hasBarLine?(r.barSize?(Y=je(r.barSize,t),U=$.makeLineSpan("frac-line",t,Y)):U=$.makeLineSpan("frac-line",t),Y=U.height,X=U.height):(U=null,Y=0,X=t.fontMetrics().defaultRuleThickness);var K,ie,le;i.size===ue.DISPLAY.size||r.size==="display"?(K=t.fontMetrics().num1,Y>0?ie=3*X:ie=7*X,le=t.fontMetrics().denom1):(Y>0?(K=t.fontMetrics().num2,ie=X):(K=t.fontMetrics().num3,ie=3*X),le=t.fontMetrics().denom2);var fe;if(U){var ge=t.fontMetrics().axisHeight;K-A.depth-(ge+.5*Y)<ie&&(K+=ie-(K-A.depth-(ge+.5*Y))),ge-.5*Y-(N.height-le)<ie&&(le+=ie-(ge-.5*Y-(N.height-le)));var ze=-(ge-.5*Y);fe=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:N,shift:le},{type:"elem",elem:U,shift:ze},{type:"elem",elem:A,shift:-K}]},t)}else{var de=K-A.depth-(N.height-le);de<ie&&(K+=.5*(ie-de),le+=.5*(ie-de)),fe=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:N,shift:le},{type:"elem",elem:A,shift:-K}]},t)}v=t.havingStyle(i),fe.height*=v.sizeMultiplier/t.sizeMultiplier,fe.depth*=v.sizeMultiplier/t.sizeMultiplier;var Ce;i.size===ue.DISPLAY.size?Ce=t.fontMetrics().delim1:i.size===ue.SCRIPTSCRIPT.size?Ce=t.havingStyle(ue.SCRIPT).fontMetrics().delim2:Ce=t.fontMetrics().delim2;var Re,Ne;return r.leftDelim==null?Re=t0(t,["mopen"]):Re=Xr.customSizedDelim(r.leftDelim,Ce,!0,t.havingStyle(i),r.mode,["mopen"]),r.continued?Ne=$.makeSpan([]):r.rightDelim==null?Ne=t0(t,["mclose"]):Ne=Xr.customSizedDelim(r.rightDelim,Ce,!0,t.havingStyle(i),r.mode,["mclose"]),$.makeSpan(["mord"].concat(v.sizingClasses(t)),[Re,$.makeSpan(["mfrac"],[fe]),Ne],t)},Fr=function(r,t){var i=new te.MathNode("mfrac",[Pe(r.numer,t),Pe(r.denom,t)]);if(!r.hasBarLine)i.setAttribute("linethickness","0px");else if(r.barSize){var l=je(r.barSize,t);i.setAttribute("linethickness",ae(l))}var c=zn(r.size,t.style);if(c.size!==t.style.size){i=new te.MathNode("mstyle",[i]);var v=c.size===ue.DISPLAY.size?"true":"false";i.setAttribute("displaystyle",v),i.setAttribute("scriptlevel","0")}if(r.leftDelim!=null||r.rightDelim!=null){var A=[];if(r.leftDelim!=null){var D=new te.MathNode("mo",[new te.TextNode(r.leftDelim.replace("\\",""))]);D.setAttribute("fence","true"),A.push(D)}if(A.push(i),r.rightDelim!=null){var M=new te.MathNode("mo",[new te.TextNode(r.rightDelim.replace("\\",""))]);M.setAttribute("fence","true"),A.push(M)}return dn(A)}return i};oe({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0],v=t[1],A,D=null,M=null,N="auto";switch(l){case"\\dfrac":case"\\frac":case"\\tfrac":A=!0;break;case"\\\\atopfrac":A=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":A=!1,D="(",M=")";break;case"\\\\bracefrac":A=!1,D="\\{",M="\\}";break;case"\\\\brackfrac":A=!1,D="[",M="]";break;default:throw new Error("Unrecognized genfrac command")}switch(l){case"\\dfrac":case"\\dbinom":N="display";break;case"\\tfrac":case"\\tbinom":N="text";break}return{type:"genfrac",mode:i.mode,continued:!1,numer:c,denom:v,hasBarLine:A,leftDelim:D,rightDelim:M,size:N,barSize:null}},htmlBuilder:Y0,mathmlBuilder:Fr}),oe({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:function(r,t){var i=r.parser;r.funcName;var l=t[0],c=t[1];return{type:"genfrac",mode:i.mode,continued:!0,numer:l,denom:c,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),oe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(r){var t=r.parser,i=r.funcName,l=r.token,c;switch(i){case"\\over":c="\\frac";break;case"\\choose":c="\\binom";break;case"\\atop":c="\\\\atopfrac";break;case"\\brace":c="\\\\bracefrac";break;case"\\brack":c="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:c,token:l}}});var st=["display","text","script","scriptscript"],pr=function(r){var t=null;return r.length>0&&(t=r,t=t==="."?null:t),t};oe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler:function(r,t){var i=r.parser,l=t[4],c=t[5],v=z0(t[0]),A=v.type==="atom"&&v.family==="open"?pr(v.text):null,D=z0(t[1]),M=D.type==="atom"&&D.family==="close"?pr(D.text):null,N=Be(t[2],"size"),U,Y=null;N.isBlank?U=!0:(Y=N.value,U=Y.number>0);var X="auto",K=t[3];if(K.type==="ordgroup"){if(K.body.length>0){var ie=Be(K.body[0],"textord");X=st[Number(ie.text)]}}else K=Be(K,"textord"),X=st[Number(K.text)];return{type:"genfrac",mode:i.mode,numer:l,denom:c,continued:!1,hasBarLine:U,barSize:Y,leftDelim:A,rightDelim:M,size:X}},htmlBuilder:Y0,mathmlBuilder:Fr}),oe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(r,t){var i=r.parser;r.funcName;var l=r.token;return{type:"infix",mode:i.mode,replaceWith:"\\\\abovefrac",size:Be(t[0],"size").value,token:l}}}),oe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(r,t){var i=r.parser;r.funcName;var l=t[0],c=ve(Be(t[1],"infix").size),v=t[2],A=c.number>0;return{type:"genfrac",mode:i.mode,numer:l,denom:v,continued:!1,hasBarLine:A,barSize:c,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Y0,mathmlBuilder:Fr});var Ct=function(r,t){var i=t.style,l,c;r.type==="supsub"?(l=r.sup?Fe(r.sup,t.havingStyle(i.sup()),t):Fe(r.sub,t.havingStyle(i.sub()),t),c=Be(r.base,"horizBrace")):c=Be(r,"horizBrace");var v=Fe(c.base,t.havingBaseStyle(ue.DISPLAY)),A=Hr.svgSpan(c,t),D;if(c.isOver?(D=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:v},{type:"kern",size:.1},{type:"elem",elem:A}]},t),D.children[0].children[0].children[1].classes.push("svg-align")):(D=$.makeVList({positionType:"bottom",positionData:v.depth+.1+A.height,children:[{type:"elem",elem:A},{type:"kern",size:.1},{type:"elem",elem:v}]},t),D.children[0].children[0].children[0].classes.push("svg-align")),l){var M=$.makeSpan(["mord",c.isOver?"mover":"munder"],[D],t);c.isOver?D=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:M},{type:"kern",size:.2},{type:"elem",elem:l}]},t):D=$.makeVList({positionType:"bottom",positionData:M.depth+.2+l.height+l.depth,children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:M}]},t)}return $.makeSpan(["mord",c.isOver?"mover":"munder"],[D],t)},qu=function(r,t){var i=Hr.mathMLnode(r.label);return new te.MathNode(r.isOver?"mover":"munder",[Pe(r.base,t),i])};oe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(r,t){var i=r.parser,l=r.funcName;return{type:"horizBrace",mode:i.mode,label:l,isOver:/^\\over/.test(l),base:t[0]}},htmlBuilder:Ct,mathmlBuilder:qu}),oe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(r,t){var i=r.parser,l=t[1],c=Be(t[0],"url").url;return i.settings.isTrusted({command:"\\href",url:c})?{type:"href",mode:i.mode,href:c,body:er(l)}:i.formatUnsupportedCmd("\\href")},htmlBuilder:function(r,t){var i=rr(r.body,t,!1);return $.makeAnchor(r.href,[],i,t)},mathmlBuilder:function(r,t){var i=lt(r.body,t);return i instanceof _r||(i=new _r("mrow",[i])),i.setAttribute("href",r.href),i}}),oe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(r,t){var i=r.parser,l=Be(t[0],"url").url;if(!i.settings.isTrusted({command:"\\url",url:l}))return i.formatUnsupportedCmd("\\url");for(var c=[],v=0;v<l.length;v++){var A=l[v];A==="~"&&(A="\\textasciitilde"),c.push({type:"textord",mode:"text",text:A})}var D={type:"text",mode:i.mode,font:"\\texttt",body:c};return{type:"href",mode:i.mode,href:l,body:er(D)}}}),oe({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler:function(r,t){var i=r.parser;return{type:"hbox",mode:i.mode,body:er(t[0])}},htmlBuilder:function(r,t){var i=rr(r.body,t,!1);return $.makeFragment(i)},mathmlBuilder:function(r,t){return new te.MathNode("mrow",xr(r.body,t))}}),oe({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:function(r,t){var i=r.parser,l=r.funcName;r.token;var c=Be(t[0],"raw").string,v=t[1];i.settings.strict&&i.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var A,D={};switch(l){case"\\htmlClass":D.class=c,A={command:"\\htmlClass",class:c};break;case"\\htmlId":D.id=c,A={command:"\\htmlId",id:c};break;case"\\htmlStyle":D.style=c,A={command:"\\htmlStyle",style:c};break;case"\\htmlData":{for(var M=c.split(","),N=0;N<M.length;N++){var U=M[N].split("=");if(U.length!==2)throw new b("Error parsing key-value for \\htmlData");D["data-"+U[0].trim()]=U[1].trim()}A={command:"\\htmlData",attributes:D};break}default:throw new Error("Unrecognized html command")}return i.settings.isTrusted(A)?{type:"html",mode:i.mode,attributes:D,body:er(v)}:i.formatUnsupportedCmd(l)},htmlBuilder:function(r,t){var i=rr(r.body,t,!1),l=["enclosing"];r.attributes.class&&l.push.apply(l,r.attributes.class.trim().split(/\s+/));var c=$.makeSpan(l,i,t);for(var v in r.attributes)v!=="class"&&r.attributes.hasOwnProperty(v)&&c.setAttribute(v,r.attributes[v]);return c},mathmlBuilder:function(r,t){return lt(r.body,t)}}),oe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(r,t){var i=r.parser;return{type:"htmlmathml",mode:i.mode,html:er(t[0]),mathml:er(t[1])}},htmlBuilder:function(r,t){var i=rr(r.html,t,!1);return $.makeFragment(i)},mathmlBuilder:function(r,t){return lt(r.mathml,t)}});var Fn=function(r){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(r))return{number:+r,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r);if(!t)throw new b("Invalid size: '"+r+"' in \\includegraphics");var i={number:+(t[1]+t[2]),unit:t[3]};if(!si(i))throw new b("Invalid unit: '"+i.unit+"' in \\includegraphics.");return i};oe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(r,t,i){var l=r.parser,c={number:0,unit:"em"},v={number:.9,unit:"em"},A={number:0,unit:"em"},D="";if(i[0])for(var M=Be(i[0],"raw").string,N=M.split(","),U=0;U<N.length;U++){var Y=N[U].split("=");if(Y.length===2){var X=Y[1].trim();switch(Y[0].trim()){case"alt":D=X;break;case"width":c=Fn(X);break;case"height":v=Fn(X);break;case"totalheight":A=Fn(X);break;default:throw new b("Invalid key: '"+Y[0]+"' in \\includegraphics.")}}}var K=Be(t[0],"url").url;return D===""&&(D=K,D=D.replace(/^.*[\\/]/,""),D=D.substring(0,D.lastIndexOf("."))),l.settings.isTrusted({command:"\\includegraphics",url:K})?{type:"includegraphics",mode:l.mode,alt:D,width:c,height:v,totalheight:A,src:K}:l.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(r,t){var i=je(r.height,t),l=0;r.totalheight.number>0&&(l=je(r.totalheight,t)-i);var c=0;r.width.number>0&&(c=je(r.width,t));var v={height:ae(i+l)};c>0&&(v.width=ae(c)),l>0&&(v.verticalAlign=ae(-l));var A=new fi(r.src,r.alt,v);return A.height=i,A.depth=l,A},mathmlBuilder:function(r,t){var i=new te.MathNode("mglyph",[]);i.setAttribute("alt",r.alt);var l=je(r.height,t),c=0;if(r.totalheight.number>0&&(c=je(r.totalheight,t)-l,i.setAttribute("valign",ae(-c))),i.setAttribute("height",ae(l+c)),r.width.number>0){var v=je(r.width,t);i.setAttribute("width",ae(v))}return i.setAttribute("src",r.src),i}}),oe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler:function(r,t){var i=r.parser,l=r.funcName,c=Be(t[0],"size");if(i.settings.strict){var v=l[1]==="m",A=c.value.unit==="mu";v?(A||i.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+l+" supports only mu units, "+("not "+c.value.unit+" units")),i.mode!=="math"&&i.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+l+" works only in math mode")):A&&i.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+l+" doesn't support mu units")}return{type:"kern",mode:i.mode,dimension:c.value}},htmlBuilder:function(r,t){return $.makeGlue(r.dimension,t)},mathmlBuilder:function(r,t){var i=je(r.dimension,t);return new te.SpaceNode(i)}}),oe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0];return{type:"lap",mode:i.mode,alignment:l.slice(5),body:c}},htmlBuilder:function(r,t){var i;r.alignment==="clap"?(i=$.makeSpan([],[Fe(r.body,t)]),i=$.makeSpan(["inner"],[i],t)):i=$.makeSpan(["inner"],[Fe(r.body,t)]);var l=$.makeSpan(["fix"],[]),c=$.makeSpan([r.alignment],[i,l],t),v=$.makeSpan(["strut"]);return v.style.height=ae(c.height+c.depth),c.depth&&(v.style.verticalAlign=ae(-c.depth)),c.children.unshift(v),c=$.makeSpan(["thinbox"],[c],t),$.makeSpan(["mord","vbox"],[c],t)},mathmlBuilder:function(r,t){var i=new te.MathNode("mpadded",[Pe(r.body,t)]);if(r.alignment!=="rlap"){var l=r.alignment==="llap"?"-1":"-0.5";i.setAttribute("lspace",l+"width")}return i.setAttribute("width","0px"),i}}),oe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,t){var i=r.funcName,l=r.parser,c=l.mode;l.switchMode("math");var v=i==="\\("?"\\)":"$",A=l.parseExpression(!1,v);return l.expect(v),l.switchMode(c),{type:"styling",mode:l.mode,style:"text",body:A}}}),oe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,t){throw new b("Mismatched "+r.funcName)}});var Qi=function(r,t){switch(t.style.size){case ue.DISPLAY.size:return r.display;case ue.TEXT.size:return r.text;case ue.SCRIPT.size:return r.script;case ue.SCRIPTSCRIPT.size:return r.scriptscript;default:return r.text}};oe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(r,t){var i=r.parser;return{type:"mathchoice",mode:i.mode,display:er(t[0]),text:er(t[1]),script:er(t[2]),scriptscript:er(t[3])}},htmlBuilder:function(r,t){var i=Qi(r,t),l=rr(i,t,!1);return $.makeFragment(l)},mathmlBuilder:function(r,t){var i=Qi(r,t);return lt(i,t)}});var Nn=function(r,t,i,l,c,v,A){r=$.makeSpan([],[r]);var D=i&&Z.isCharacterBox(i),M,N;if(t){var U=Fe(t,l.havingStyle(c.sup()),l);N={elem:U,kern:Math.max(l.fontMetrics().bigOpSpacing1,l.fontMetrics().bigOpSpacing3-U.depth)}}if(i){var Y=Fe(i,l.havingStyle(c.sub()),l);M={elem:Y,kern:Math.max(l.fontMetrics().bigOpSpacing2,l.fontMetrics().bigOpSpacing4-Y.height)}}var X;if(N&&M){var K=l.fontMetrics().bigOpSpacing5+M.elem.height+M.elem.depth+M.kern+r.depth+A;X=$.makeVList({positionType:"bottom",positionData:K,children:[{type:"kern",size:l.fontMetrics().bigOpSpacing5},{type:"elem",elem:M.elem,marginLeft:ae(-v)},{type:"kern",size:M.kern},{type:"elem",elem:r},{type:"kern",size:N.kern},{type:"elem",elem:N.elem,marginLeft:ae(v)},{type:"kern",size:l.fontMetrics().bigOpSpacing5}]},l)}else if(M){var ie=r.height-A;X=$.makeVList({positionType:"top",positionData:ie,children:[{type:"kern",size:l.fontMetrics().bigOpSpacing5},{type:"elem",elem:M.elem,marginLeft:ae(-v)},{type:"kern",size:M.kern},{type:"elem",elem:r}]},l)}else if(N){var le=r.depth+A;X=$.makeVList({positionType:"bottom",positionData:le,children:[{type:"elem",elem:r},{type:"kern",size:N.kern},{type:"elem",elem:N.elem,marginLeft:ae(v)},{type:"kern",size:l.fontMetrics().bigOpSpacing5}]},l)}else return r;var fe=[X];if(M&&v!==0&&!D){var de=$.makeSpan(["mspace"],[],l);de.style.marginRight=ae(v),fe.unshift(de)}return $.makeSpan(["mop","op-limits"],fe,l)},ea=["\\smallint"],Dt=function(r,t){var i,l,c=!1,v;r.type==="supsub"?(i=r.sup,l=r.sub,v=Be(r.base,"op"),c=!0):v=Be(r,"op");var A=t.style,D=!1;A.size===ue.DISPLAY.size&&v.symbol&&!Z.contains(ea,v.name)&&(D=!0);var M;if(v.symbol){var N=D?"Size2-Regular":"Size1-Regular",U="";if((v.name==="\\oiint"||v.name==="\\oiiint")&&(U=v.name.slice(1),v.name=U==="oiint"?"\\iint":"\\iiint"),M=$.makeSymbol(v.name,N,"math",t,["mop","op-symbol",D?"large-op":"small-op"]),U.length>0){var Y=M.italic,X=$.staticSvg(U+"Size"+(D?"2":"1"),t);M=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:M,shift:0},{type:"elem",elem:X,shift:D?.08:0}]},t),v.name="\\"+U,M.classes.unshift("mop"),M.italic=Y}}else if(v.body){var K=rr(v.body,t,!0);K.length===1&&K[0]instanceof Tr?(M=K[0],M.classes[0]="mop"):M=$.makeSpan(["mop"],K,t)}else{for(var ie=[],le=1;le<v.name.length;le++)ie.push($.mathsym(v.name[le],v.mode,t));M=$.makeSpan(["mop"],ie,t)}var fe=0,de=0;return(M instanceof Tr||v.name==="\\oiint"||v.name==="\\oiiint")&&!v.suppressBaseShift&&(fe=(M.height-M.depth)/2-t.fontMetrics().axisHeight,de=M.italic),c?Nn(M,i,l,t,A,de,fe):(fe&&(M.style.position="relative",M.style.top=ae(fe)),M)},Nt=function(r,t){var i;if(r.symbol)i=new _r("mo",[kr(r.name,r.mode)]),Z.contains(ea,r.name)&&i.setAttribute("largeop","false");else if(r.body)i=new _r("mo",xr(r.body,t));else{i=new _r("mi",[new i0(r.name.slice(1))]);var l=new _r("mo",[kr("","text")]);r.parentIsSupSub?i=new _r("mrow",[i,l]):i=N0([i,l])}return i},qt={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","":"\\bigvee","⋂":"\\bigcap","":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};oe({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","","⋂","","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:function(r,t){var i=r.parser,l=r.funcName,c=l;return c.length===1&&(c=qt[c]),{type:"op",mode:i.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:c}},htmlBuilder:Dt,mathmlBuilder:Nt}),oe({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:function(r,t){var i=r.parser,l=t[0];return{type:"op",mode:i.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:er(l)}},htmlBuilder:Dt,mathmlBuilder:Nt});var Ru={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};oe({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:function(r){var t=r.parser,i=r.funcName;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:i}},htmlBuilder:Dt,mathmlBuilder:Nt}),oe({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(r){var t=r.parser,i=r.funcName;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:i}},htmlBuilder:Dt,mathmlBuilder:Nt}),oe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler:function(r){var t=r.parser,i=r.funcName,l=i;return l.length===1&&(l=Ru[l]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:l}},htmlBuilder:Dt,mathmlBuilder:Nt});var qn=function(r,t){var i,l,c=!1,v;r.type==="supsub"?(i=r.sup,l=r.sub,v=Be(r.base,"operatorname"),c=!0):v=Be(r,"operatorname");var A;if(v.body.length>0){for(var D=v.body.map(function(Y){var X=Y.text;return typeof X=="string"?{type:"textord",mode:Y.mode,text:X}:Y}),M=rr(D,t.withFont("mathrm"),!0),N=0;N<M.length;N++){var U=M[N];U instanceof Tr&&(U.text=U.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}A=$.makeSpan(["mop"],M,t)}else A=$.makeSpan(["mop"],[],t);return c?Nn(A,i,l,t,t.style,0,0):A},me=function(r,t){for(var i=xr(r.body,t.withFont("mathrm")),l=!0,c=0;c<i.length;c++){var v=i[c];if(!(v instanceof te.SpaceNode))if(v instanceof te.MathNode)switch(v.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var A=v.children[0];v.children.length===1&&A instanceof te.TextNode?A.text=A.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):l=!1;break}default:l=!1}else l=!1}if(l){var D=i.map(function(U){return U.toText()}).join("");i=[new te.TextNode(D)]}var M=new te.MathNode("mi",i);M.setAttribute("mathvariant","normal");var N=new te.MathNode("mo",[kr("","text")]);return r.parentIsSupSub?new te.MathNode("mrow",[M,N]):te.newDocumentFragment([M,N])};oe({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0];return{type:"operatorname",mode:i.mode,body:er(c),alwaysHandleSupSub:l==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:qn,mathmlBuilder:me}),E("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),St({type:"ordgroup",htmlBuilder:function(r,t){return r.semisimple?$.makeFragment(rr(r.body,t,!1)):$.makeSpan(["mord"],rr(r.body,t,!0),t)},mathmlBuilder:function(r,t){return lt(r.body,t,!0)}}),oe({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(r,t){var i=r.parser,l=t[0];return{type:"overline",mode:i.mode,body:l}},htmlBuilder:function(r,t){var i=Fe(r.body,t.havingCrampedStyle()),l=$.makeLineSpan("overline-line",t),c=t.fontMetrics().defaultRuleThickness,v=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:3*c},{type:"elem",elem:l},{type:"kern",size:c}]},t);return $.makeSpan(["mord","overline"],[v],t)},mathmlBuilder:function(r,t){var i=new te.MathNode("mo",[new te.TextNode("‾")]);i.setAttribute("stretchy","true");var l=new te.MathNode("mover",[Pe(r.body,t),i]);return l.setAttribute("accent","true"),l}}),oe({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var i=r.parser,l=t[0];return{type:"phantom",mode:i.mode,body:er(l)}},htmlBuilder:function(r,t){var i=rr(r.body,t.withPhantom(),!1);return $.makeFragment(i)},mathmlBuilder:function(r,t){var i=xr(r.body,t);return new te.MathNode("mphantom",i)}}),oe({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var i=r.parser,l=t[0];return{type:"hphantom",mode:i.mode,body:l}},htmlBuilder:function(r,t){var i=$.makeSpan([],[Fe(r.body,t.withPhantom())]);if(i.height=0,i.depth=0,i.children)for(var l=0;l<i.children.length;l++)i.children[l].height=0,i.children[l].depth=0;return i=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i}]},t),$.makeSpan(["mord"],[i],t)},mathmlBuilder:function(r,t){var i=xr(er(r.body),t),l=new te.MathNode("mphantom",i),c=new te.MathNode("mpadded",[l]);return c.setAttribute("height","0px"),c.setAttribute("depth","0px"),c}}),oe({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var i=r.parser,l=t[0];return{type:"vphantom",mode:i.mode,body:l}},htmlBuilder:function(r,t){var i=$.makeSpan(["inner"],[Fe(r.body,t.withPhantom())]),l=$.makeSpan(["fix"],[]);return $.makeSpan(["mord","rlap"],[i,l],t)},mathmlBuilder:function(r,t){var i=xr(er(r.body),t),l=new te.MathNode("mphantom",i),c=new te.MathNode("mpadded",[l]);return c.setAttribute("width","0px"),c}}),oe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(r,t){var i=r.parser,l=Be(t[0],"size").value,c=t[1];return{type:"raisebox",mode:i.mode,dy:l,body:c}},htmlBuilder:function(r,t){var i=Fe(r.body,t),l=je(r.dy,t);return $.makeVList({positionType:"shift",positionData:-l,children:[{type:"elem",elem:i}]},t)},mathmlBuilder:function(r,t){var i=new te.MathNode("mpadded",[Pe(r.body,t)]),l=r.dy.number+r.dy.unit;return i.setAttribute("voffset",l),i}}),oe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler:function(r){var t=r.parser;return{type:"internal",mode:t.mode}}}),oe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(r,t,i){var l=r.parser,c=i[0],v=Be(t[0],"size"),A=Be(t[1],"size");return{type:"rule",mode:l.mode,shift:c&&Be(c,"size").value,width:v.value,height:A.value}},htmlBuilder:function(r,t){var i=$.makeSpan(["mord","rule"],[],t),l=je(r.width,t),c=je(r.height,t),v=r.shift?je(r.shift,t):0;return i.style.borderRightWidth=ae(l),i.style.borderTopWidth=ae(c),i.style.bottom=ae(v),i.width=l,i.height=c+v,i.depth=-v,i.maxFontSize=c*1.125*t.sizeMultiplier,i},mathmlBuilder:function(r,t){var i=je(r.width,t),l=je(r.height,t),c=r.shift?je(r.shift,t):0,v=t.color&&t.getColor()||"black",A=new te.MathNode("mspace");A.setAttribute("mathbackground",v),A.setAttribute("width",ae(i)),A.setAttribute("height",ae(l));var D=new te.MathNode("mpadded",[A]);return c>=0?D.setAttribute("height",ae(c)):(D.setAttribute("height",ae(c)),D.setAttribute("depth",ae(-c))),D.setAttribute("voffset",ae(c)),D}});function s0(m,r,t){for(var i=rr(m,r,!1),l=r.sizeMultiplier/t.sizeMultiplier,c=0;c<i.length;c++){var v=i[c].classes.indexOf("sizing");v<0?Array.prototype.push.apply(i[c].classes,r.sizingClasses(t)):i[c].classes[v+1]==="reset-size"+r.size&&(i[c].classes[v+1]="reset-size"+t.size),i[c].height*=l,i[c].depth*=l}return $.makeFragment(i)}var Rn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],ct=function(r,t){var i=t.havingSize(r.size);return s0(r.body,i,t)};oe({type:"sizing",names:Rn,props:{numArgs:0,allowedInText:!0},handler:function(r,t){var i=r.breakOnTokenText,l=r.funcName,c=r.parser,v=c.parseExpression(!1,i);return{type:"sizing",mode:c.mode,size:Rn.indexOf(l)+1,body:v}},htmlBuilder:ct,mathmlBuilder:function(r,t){var i=t.havingSize(r.size),l=xr(r.body,i),c=new te.MathNode("mstyle",l);return c.setAttribute("mathsize",ae(i.sizeMultiplier)),c}}),oe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(r,t,i){var l=r.parser,c=!1,v=!1,A=i[0]&&Be(i[0],"ordgroup");if(A)for(var D="",M=0;M<A.body.length;++M){var N=A.body[M];if(D=N.text,D==="t")c=!0;else if(D==="b")v=!0;else{c=!1,v=!1;break}}else c=!0,v=!0;var U=t[0];return{type:"smash",mode:l.mode,body:U,smashHeight:c,smashDepth:v}},htmlBuilder:function(r,t){var i=$.makeSpan([],[Fe(r.body,t)]);if(!r.smashHeight&&!r.smashDepth)return i;if(r.smashHeight&&(i.height=0,i.children))for(var l=0;l<i.children.length;l++)i.children[l].height=0;if(r.smashDepth&&(i.depth=0,i.children))for(var c=0;c<i.children.length;c++)i.children[c].depth=0;var v=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i}]},t);return $.makeSpan(["mord"],[v],t)},mathmlBuilder:function(r,t){var i=new te.MathNode("mpadded",[Pe(r.body,t)]);return r.smashHeight&&i.setAttribute("height","0px"),r.smashDepth&&i.setAttribute("depth","0px"),i}}),oe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(r,t,i){var l=r.parser,c=i[0],v=t[0];return{type:"sqrt",mode:l.mode,body:v,index:c}},htmlBuilder:function(r,t){var i=Fe(r.body,t.havingCrampedStyle());i.height===0&&(i.height=t.fontMetrics().xHeight),i=$.wrapFragment(i,t);var l=t.fontMetrics(),c=l.defaultRuleThickness,v=c;t.style.id<ue.TEXT.id&&(v=t.fontMetrics().xHeight);var A=c+v/4,D=i.height+i.depth+A+c,M=Xr.sqrtImage(D,t),N=M.span,U=M.ruleWidth,Y=M.advanceWidth,X=N.height-U;X>i.height+i.depth+A&&(A=(A+X-i.height-i.depth)/2);var K=N.height-i.height-A-U;i.style.paddingLeft=ae(Y);var ie=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:-(i.height+K)},{type:"elem",elem:N},{type:"kern",size:U}]},t);if(r.index){var le=t.havingStyle(ue.SCRIPTSCRIPT),fe=Fe(r.index,le,t),de=.6*(ie.height-ie.depth),ge=$.makeVList({positionType:"shift",positionData:-de,children:[{type:"elem",elem:fe}]},t),ze=$.makeSpan(["root"],[ge]);return $.makeSpan(["mord","sqrt"],[ze,ie],t)}else return $.makeSpan(["mord","sqrt"],[ie],t)},mathmlBuilder:function(r,t){var i=r.body,l=r.index;return l?new te.MathNode("mroot",[Pe(i,t),Pe(l,t)]):new te.MathNode("msqrt",[Pe(i,t)])}});var In={display:ue.DISPLAY,text:ue.TEXT,script:ue.SCRIPT,scriptscript:ue.SCRIPTSCRIPT};oe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(r,t){var i=r.breakOnTokenText,l=r.funcName,c=r.parser,v=c.parseExpression(!0,i),A=l.slice(1,l.length-5);return{type:"styling",mode:c.mode,style:A,body:v}},htmlBuilder:function(r,t){var i=In[r.style],l=t.havingStyle(i).withFont("");return s0(r.body,l,t)},mathmlBuilder:function(r,t){var i=In[r.style],l=t.havingStyle(i),c=xr(r.body,l),v=new te.MathNode("mstyle",c),A={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},D=A[r.style];return v.setAttribute("scriptlevel",D[0]),v.setAttribute("displaystyle",D[1]),v}});var Rt=function(r,t){var i=r.base;if(i)if(i.type==="op"){var l=i.limits&&(t.style.size===ue.DISPLAY.size||i.alwaysHandleSupSub);return l?Dt:null}else if(i.type==="operatorname"){var c=i.alwaysHandleSupSub&&(t.style.size===ue.DISPLAY.size||i.limits);return c?qn:null}else{if(i.type==="accent")return Z.isCharacterBox(i.base)?yn:null;if(i.type==="horizBrace"){var v=!r.sub;return v===i.isOver?Ct:null}else return null}else return null};St({type:"supsub",htmlBuilder:function(r,t){var i=Rt(r,t);if(i)return i(r,t);var l=r.base,c=r.sup,v=r.sub,A=Fe(l,t),D,M,N=t.fontMetrics(),U=0,Y=0,X=l&&Z.isCharacterBox(l);if(c){var K=t.havingStyle(t.style.sup());D=Fe(c,K,t),X||(U=A.height-K.fontMetrics().supDrop*K.sizeMultiplier/t.sizeMultiplier)}if(v){var ie=t.havingStyle(t.style.sub());M=Fe(v,ie,t),X||(Y=A.depth+ie.fontMetrics().subDrop*ie.sizeMultiplier/t.sizeMultiplier)}var le;t.style===ue.DISPLAY?le=N.sup1:t.style.cramped?le=N.sup3:le=N.sup2;var fe=t.sizeMultiplier,de=ae(.5/N.ptPerEm/fe),ge=null;if(M){var ze=r.base&&r.base.type==="op"&&r.base.name&&(r.base.name==="\\oiint"||r.base.name==="\\oiiint");(A instanceof Tr||ze)&&(ge=ae(-A.italic))}var Ce;if(D&&M){U=Math.max(U,le,D.depth+.25*N.xHeight),Y=Math.max(Y,N.sub2);var Re=N.defaultRuleThickness,Ne=4*Re;if(U-D.depth-(M.height-Y)<Ne){Y=Ne-(U-D.depth)+M.height;var Ie=.8*N.xHeight-(U-D.depth);Ie>0&&(U+=Ie,Y-=Ie)}var He=[{type:"elem",elem:M,shift:Y,marginRight:de,marginLeft:ge},{type:"elem",elem:D,shift:-U,marginRight:de}];Ce=$.makeVList({positionType:"individualShift",children:He},t)}else if(M){Y=Math.max(Y,N.sub1,M.height-.8*N.xHeight);var Qe=[{type:"elem",elem:M,marginLeft:ge,marginRight:de}];Ce=$.makeVList({positionType:"shift",positionData:Y,children:Qe},t)}else if(D)U=Math.max(U,le,D.depth+.25*N.xHeight),Ce=$.makeVList({positionType:"shift",positionData:-U,children:[{type:"elem",elem:D,marginRight:de}]},t);else throw new Error("supsub must have either sup or sub.");var Sr=r0(A,"right")||"mord";return $.makeSpan([Sr],[A,$.makeSpan(["msupsub"],[Ce])],t)},mathmlBuilder:function(r,t){var i=!1,l,c;r.base&&r.base.type==="horizBrace"&&(c=!!r.sup,c===r.base.isOver&&(i=!0,l=r.base.isOver)),r.base&&(r.base.type==="op"||r.base.type==="operatorname")&&(r.base.parentIsSupSub=!0);var v=[Pe(r.base,t)];r.sub&&v.push(Pe(r.sub,t)),r.sup&&v.push(Pe(r.sup,t));var A;if(i)A=l?"mover":"munder";else if(r.sub)if(r.sup){var N=r.base;N&&N.type==="op"&&N.limits&&t.style===ue.DISPLAY||N&&N.type==="operatorname"&&N.alwaysHandleSupSub&&(t.style===ue.DISPLAY||N.limits)?A="munderover":A="msubsup"}else{var M=r.base;M&&M.type==="op"&&M.limits&&(t.style===ue.DISPLAY||M.alwaysHandleSupSub)||M&&M.type==="operatorname"&&M.alwaysHandleSupSub&&(M.limits||t.style===ue.DISPLAY)?A="munder":A="msub"}else{var D=r.base;D&&D.type==="op"&&D.limits&&(t.style===ue.DISPLAY||D.alwaysHandleSupSub)||D&&D.type==="operatorname"&&D.alwaysHandleSupSub&&(D.limits||t.style===ue.DISPLAY)?A="mover":A="msup"}return new te.MathNode(A,v)}}),St({type:"atom",htmlBuilder:function(r,t){return $.mathsym(r.text,r.mode,t,["m"+r.family])},mathmlBuilder:function(r,t){var i=new te.MathNode("mo",[kr(r.text,r.mode)]);if(r.family==="bin"){var l=mn(r,t);l==="bold-italic"&&i.setAttribute("mathvariant",l)}else r.family==="punct"?i.setAttribute("separator","true"):(r.family==="open"||r.family==="close")&&i.setAttribute("stretchy","false");return i}});var X0={mi:"italic",mn:"normal",mtext:"normal"};St({type:"mathord",htmlBuilder:function(r,t){return $.makeOrd(r,t,"mathord")},mathmlBuilder:function(r,t){var i=new te.MathNode("mi",[kr(r.text,r.mode,t)]),l=mn(r,t)||"italic";return l!==X0[i.type]&&i.setAttribute("mathvariant",l),i}}),St({type:"textord",htmlBuilder:function(r,t){return $.makeOrd(r,t,"textord")},mathmlBuilder:function(r,t){var i=kr(r.text,r.mode,t),l=mn(r,t)||"normal",c;return r.mode==="text"?c=new te.MathNode("mtext",[i]):/[0-9]/.test(r.text)?c=new te.MathNode("mn",[i]):r.text==="\\prime"?c=new te.MathNode("mo",[i]):c=new te.MathNode("mi",[i]),l!==X0[c.type]&&c.setAttribute("mathvariant",l),c}});var Je={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},It={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};St({type:"spacing",htmlBuilder:function(r,t){if(It.hasOwnProperty(r.text)){var i=It[r.text].className||"";if(r.mode==="text"){var l=$.makeOrd(r,t,"textord");return l.classes.push(i),l}else return $.makeSpan(["mspace",i],[$.mathsym(r.text,r.mode,t)],t)}else{if(Je.hasOwnProperty(r.text))return $.makeSpan(["mspace",Je[r.text]],[],t);throw new b('Unknown type of space "'+r.text+'"')}},mathmlBuilder:function(r,t){var i;if(It.hasOwnProperty(r.text))i=new te.MathNode("mtext",[new te.TextNode(" ")]);else{if(Je.hasOwnProperty(r.text))return new te.MathNode("mspace");throw new b('Unknown type of space "'+r.text+'"')}return i}});var W0=function(){var r=new te.MathNode("mtd",[]);return r.setAttribute("width","50%"),r};St({type:"tag",mathmlBuilder:function(r,t){var i=new te.MathNode("mtable",[new te.MathNode("mtr",[W0(),new te.MathNode("mtd",[lt(r.body,t)]),W0(),new te.MathNode("mtd",[lt(r.tag,t)])])]);return i.setAttribute("width","100%"),i}});var ra={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ta={"\\textbf":"textbf","\\textmd":"textmd"},Iu={"\\textit":"textit","\\textup":"textup"},na=function(r,t){var i=r.font;return i?ra[i]?t.withTextFontFamily(ra[i]):ta[i]?t.withTextFontWeight(ta[i]):t.withTextFontShape(Iu[i]):t};oe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(r,t){var i=r.parser,l=r.funcName,c=t[0];return{type:"text",mode:i.mode,body:er(c),font:l}},htmlBuilder:function(r,t){var i=na(r,t),l=rr(r.body,i,!0);return $.makeSpan(["mord","text"],l,i)},mathmlBuilder:function(r,t){var i=na(r,t);return lt(r.body,i)}}),oe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(r,t){var i=r.parser;return{type:"underline",mode:i.mode,body:t[0]}},htmlBuilder:function(r,t){var i=Fe(r.body,t),l=$.makeLineSpan("underline-line",t),c=t.fontMetrics().defaultRuleThickness,v=$.makeVList({positionType:"top",positionData:i.height,children:[{type:"kern",size:c},{type:"elem",elem:l},{type:"kern",size:3*c},{type:"elem",elem:i}]},t);return $.makeSpan(["mord","underline"],[v],t)},mathmlBuilder:function(r,t){var i=new te.MathNode("mo",[new te.TextNode("‾")]);i.setAttribute("stretchy","true");var l=new te.MathNode("munder",[Pe(r.body,t),i]);return l.setAttribute("accentunder","true"),l}}),oe({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(r,t){var i=r.parser;return{type:"vcenter",mode:i.mode,body:t[0]}},htmlBuilder:function(r,t){var i=Fe(r.body,t),l=t.fontMetrics().axisHeight,c=.5*(i.height-l-(i.depth+l));return $.makeVList({positionType:"shift",positionData:c,children:[{type:"elem",elem:i}]},t)},mathmlBuilder:function(r,t){return new te.MathNode("mpadded",[Pe(r.body,t)],["vcenter"])}}),oe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(r,t,i){throw new b("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(r,t){for(var i=ia(r),l=[],c=t.havingStyle(t.style.text()),v=0;v<i.length;v++){var A=i[v];A==="~"&&(A="\\textasciitilde"),l.push($.makeSymbol(A,"Typewriter-Regular",r.mode,c,["mord","texttt"]))}return $.makeSpan(["mord","text"].concat(c.sizingClasses(t)),$.tryCombineChars(l),c)},mathmlBuilder:function(r,t){var i=new te.TextNode(ia(r)),l=new te.MathNode("mtext",[i]);return l.setAttribute("mathvariant","monospace"),l}});var ia=function(r){return r.body.replace(/ /g,r.star?"␣":" ")},aa=T0,ht=aa,ua=`[ \r
]`,Ou="\\\\[a-zA-Z@]+",Lu="\\\\[^\uD800-\uDFFF]",Ot="("+Ou+")"+ua+"*",Pu=`\\\\(
|[ \r ]+
?)[ \r ]*`,K0="[̀-ͯ]",Hu=new RegExp(K0+"+$"),Uu="("+ua+"+)|"+(Pu+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(K0+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(K0+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Ot)+("|"+Lu+")"),la=function(){function m(t,i){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=i,this.tokenRegex=new RegExp(Uu,"g"),this.catcodes={"%":14,"~":13}}var r=m.prototype;return r.setCatcode=function(i,l){this.catcodes[i]=l},r.lex=function(){var i=this.input,l=this.tokenRegex.lastIndex;if(l===i.length)return new ot("EOF",new Ur(this,l,l));var c=this.tokenRegex.exec(i);if(c===null||c.index!==l)throw new b("Unexpected character: '"+i[l]+"'",new ot(i[l],new Ur(this,l,l+1)));var v=c[6]||c[3]||(c[2]?"\\ ":" ");if(this.catcodes[v]===14){var A=i.indexOf(`
`,this.tokenRegex.lastIndex);return A===-1?(this.tokenRegex.lastIndex=i.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=A+1,this.lex()}return new ot(v,new Ur(this,l,this.tokenRegex.lastIndex))},m}(),$u=function(){function m(t,i){t===void 0&&(t={}),i===void 0&&(i={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=i,this.builtins=t,this.undefStack=[]}var r=m.prototype;return r.beginGroup=function(){this.undefStack.push({})},r.endGroup=function(){if(this.undefStack.length===0)throw new b("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var i=this.undefStack.pop();for(var l in i)i.hasOwnProperty(l)&&(i[l]==null?delete this.current[l]:this.current[l]=i[l])},r.endGroups=function(){for(;this.undefStack.length>0;)this.endGroup()},r.has=function(i){return this.current.hasOwnProperty(i)||this.builtins.hasOwnProperty(i)},r.get=function(i){return this.current.hasOwnProperty(i)?this.current[i]:this.builtins[i]},r.set=function(i,l,c){if(c===void 0&&(c=!1),c){for(var v=0;v<this.undefStack.length;v++)delete this.undefStack[v][i];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][i]=l)}else{var A=this.undefStack[this.undefStack.length-1];A&&!A.hasOwnProperty(i)&&(A[i]=this.current[i])}l==null?delete this.current[i]:this.current[i]=l},m}(),oa=Mn,sa=oa;E("\\noexpand",function(m){var r=m.popToken();return m.isExpandable(r.text)&&(r.noexpand=!0,r.treatAsRelax=!0),{tokens:[r],numArgs:0}}),E("\\expandafter",function(m){var r=m.popToken();return m.expandOnce(!0),{tokens:[r],numArgs:0}}),E("\\@firstoftwo",function(m){var r=m.consumeArgs(2);return{tokens:r[0],numArgs:0}}),E("\\@secondoftwo",function(m){var r=m.consumeArgs(2);return{tokens:r[1],numArgs:0}}),E("\\@ifnextchar",function(m){var r=m.consumeArgs(3);m.consumeSpaces();var t=m.future();return r[0].length===1&&r[0][0].text===t.text?{tokens:r[1],numArgs:0}:{tokens:r[2],numArgs:0}}),E("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),E("\\TextOrMath",function(m){var r=m.consumeArgs(2);return m.mode==="text"?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});var On={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};E("\\char",function(m){var r=m.popToken(),t,i="";if(r.text==="'")t=8,r=m.popToken();else if(r.text==='"')t=16,r=m.popToken();else if(r.text==="`")if(r=m.popToken(),r.text[0]==="\\")i=r.text.charCodeAt(1);else{if(r.text==="EOF")throw new b("\\char` missing argument");i=r.text.charCodeAt(0)}else t=10;if(t){if(i=On[r.text],i==null||i>=t)throw new b("Invalid base-"+t+" digit "+r.text);for(var l;(l=On[m.future().text])!=null&&l<t;)i*=t,i+=l,m.popToken()}return"\\@char{"+i+"}"});var c0=function(r,t,i){var l=r.consumeArg().tokens;if(l.length!==1)throw new b("\\newcommand's first argument must be a macro name");var c=l[0].text,v=r.isDefined(c);if(v&&!t)throw new b("\\newcommand{"+c+"} attempting to redefine "+(c+"; use \\renewcommand"));if(!v&&!i)throw new b("\\renewcommand{"+c+"} when command "+c+" does not yet exist; use \\newcommand");var A=0;if(l=r.consumeArg().tokens,l.length===1&&l[0].text==="["){for(var D="",M=r.expandNextToken();M.text!=="]"&&M.text!=="EOF";)D+=M.text,M=r.expandNextToken();if(!D.match(/^\s*[0-9]+\s*$/))throw new b("Invalid number of arguments: "+D);A=parseInt(D),l=r.consumeArg().tokens}return r.macros.set(c,{tokens:l,numArgs:A}),""};E("\\newcommand",function(m){return c0(m,!1,!0)}),E("\\renewcommand",function(m){return c0(m,!0,!1)}),E("\\providecommand",function(m){return c0(m,!0,!0)}),E("\\message",function(m){var r=m.consumeArgs(1)[0];return console.log(r.reverse().map(function(t){return t.text}).join("")),""}),E("\\errmessage",function(m){var r=m.consumeArgs(1)[0];return console.error(r.reverse().map(function(t){return t.text}).join("")),""}),E("\\show",function(m){var r=m.popToken(),t=r.text;return console.log(r,m.macros.get(t),ht[t],$e.math[t],$e.text[t]),""}),E("\\bgroup","{"),E("\\egroup","}"),E("~","\\nobreakspace"),E("\\lq","`"),E("\\rq","'"),E("\\aa","\\r a"),E("\\AA","\\r A"),E("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),E("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),E("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),E("","\\mathscr{B}"),E("","\\mathscr{E}"),E("","\\mathscr{F}"),E("","\\mathscr{H}"),E("","\\mathscr{I}"),E("","\\mathscr{L}"),E("","\\mathscr{M}"),E("","\\mathscr{R}"),E("","\\mathfrak{C}"),E("","\\mathfrak{H}"),E("","\\mathfrak{Z}"),E("\\Bbbk","\\Bbb{k}"),E("·","\\cdotp"),E("\\llap","\\mathllap{\\textrm{#1}}"),E("\\rlap","\\mathrlap{\\textrm{#1}}"),E("\\clap","\\mathclap{\\textrm{#1}}"),E("\\mathstrut","\\vphantom{(}"),E("\\underbar","\\underline{\\text{#1}}"),E("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),E("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),E("\\ne","\\neq"),E("≠","\\neq"),E("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),E("∉","\\notin"),E("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),E("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),E("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),E("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),E("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),E("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),E("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),E("⟂","\\perp"),E("‼","\\mathclose{!\\mkern-0.8mu!}"),E("∌","\\notni"),E("⌜","\\ulcorner"),E("⌝","\\urcorner"),E("⌞","\\llcorner"),E("⌟","\\lrcorner"),E("©","\\copyright"),E("®","\\textregistered"),E("","\\textregistered"),E("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),E("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),E("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),E("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),E("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),E("⋮","\\vdots"),E("\\varGamma","\\mathit{\\Gamma}"),E("\\varDelta","\\mathit{\\Delta}"),E("\\varTheta","\\mathit{\\Theta}"),E("\\varLambda","\\mathit{\\Lambda}"),E("\\varXi","\\mathit{\\Xi}"),E("\\varPi","\\mathit{\\Pi}"),E("\\varSigma","\\mathit{\\Sigma}"),E("\\varUpsilon","\\mathit{\\Upsilon}"),E("\\varPhi","\\mathit{\\Phi}"),E("\\varPsi","\\mathit{\\Psi}"),E("\\varOmega","\\mathit{\\Omega}"),E("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),E("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),E("\\boxed","\\fbox{$\\displaystyle{#1}$}"),E("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),E("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),E("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var ca={",":"\\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"};E("\\dots",function(m){var r="\\dotso",t=m.expandAfterFuture().text;return t in ca?r=ca[t]:(t.slice(0,4)==="\\not"||t in $e.math&&Z.contains(["bin","rel"],$e.math[t].group))&&(r="\\dotsb"),r});var Et={")":!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};E("\\dotso",function(m){var r=m.future().text;return r in Et?"\\ldots\\,":"\\ldots"}),E("\\dotsc",function(m){var r=m.future().text;return r in Et&&r!==","?"\\ldots\\,":"\\ldots"}),E("\\cdots",function(m){var r=m.future().text;return r in Et?"\\@cdots\\,":"\\@cdots"}),E("\\dotsb","\\cdots"),E("\\dotsm","\\cdots"),E("\\dotsi","\\!\\cdots"),E("\\dotsx","\\ldots\\,"),E("\\DOTSI","\\relax"),E("\\DOTSB","\\relax"),E("\\DOTSX","\\relax"),E("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),E("\\,","\\tmspace+{3mu}{.1667em}"),E("\\thinspace","\\,"),E("\\>","\\mskip{4mu}"),E("\\:","\\tmspace+{4mu}{.2222em}"),E("\\medspace","\\:"),E("\\;","\\tmspace+{5mu}{.2777em}"),E("\\thickspace","\\;"),E("\\!","\\tmspace-{3mu}{.1667em}"),E("\\negthinspace","\\!"),E("\\negmedspace","\\tmspace-{4mu}{.2222em}"),E("\\negthickspace","\\tmspace-{5mu}{.277em}"),E("\\enspace","\\kern.5em "),E("\\enskip","\\hskip.5em\\relax"),E("\\quad","\\hskip1em\\relax"),E("\\qquad","\\hskip2em\\relax"),E("\\tag","\\@ifstar\\tag@literal\\tag@paren"),E("\\tag@paren","\\tag@literal{({#1})}"),E("\\tag@literal",function(m){if(m.macros.get("\\df@tag"))throw new b("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),E("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),E("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),E("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),E("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),E("\\newline","\\\\\\relax"),E("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var ha=ae(yr["Main-Regular"]["T".charCodeAt(0)][1]-.7*yr["Main-Regular"]["A".charCodeAt(0)][1]);E("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+ha+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),E("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+ha+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),E("\\hspace","\\@ifstar\\@hspacer\\@hspace"),E("\\@hspace","\\hskip #1\\relax"),E("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),E("\\ordinarycolon",":"),E("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),E("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),E("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),E("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),E("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),E("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),E("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),E("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),E("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),E("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),E("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),E("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),E("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),E("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),E("∷","\\dblcolon"),E("∹","\\eqcolon"),E("≔","\\coloneqq"),E("≕","\\eqqcolon"),E("⩴","\\Coloneqq"),E("\\ratio","\\vcentcolon"),E("\\coloncolon","\\dblcolon"),E("\\colonequals","\\coloneqq"),E("\\coloncolonequals","\\Coloneqq"),E("\\equalscolon","\\eqqcolon"),E("\\equalscoloncolon","\\Eqqcolon"),E("\\colonminus","\\coloneq"),E("\\coloncolonminus","\\Coloneq"),E("\\minuscolon","\\eqcolon"),E("\\minuscoloncolon","\\Eqcolon"),E("\\coloncolonapprox","\\Colonapprox"),E("\\coloncolonsim","\\Colonsim"),E("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),E("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),E("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),E("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),E("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),E("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),E("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),E("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),E("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),E("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),E("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),E("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),E("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),E("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),E("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),E("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),E("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),E("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),E("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),E("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),E("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),E("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),E("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),E("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),E("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),E("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),E("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),E("\\imath","\\html@mathml{\\@imath}{ı}"),E("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),E("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),E("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),E("⟦","\\llbracket"),E("⟧","\\rrbracket"),E("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),E("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),E("⦃","\\lBrace"),E("⦄","\\rBrace"),E("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),E("⦵","\\minuso"),E("\\darr","\\downarrow"),E("\\dArr","\\Downarrow"),E("\\Darr","\\Downarrow"),E("\\lang","\\langle"),E("\\rang","\\rangle"),E("\\uarr","\\uparrow"),E("\\uArr","\\Uparrow"),E("\\Uarr","\\Uparrow"),E("\\N","\\mathbb{N}"),E("\\R","\\mathbb{R}"),E("\\Z","\\mathbb{Z}"),E("\\alef","\\aleph"),E("\\alefsym","\\aleph"),E("\\Alpha","\\mathrm{A}"),E("\\Beta","\\mathrm{B}"),E("\\bull","\\bullet"),E("\\Chi","\\mathrm{X}"),E("\\clubs","\\clubsuit"),E("\\cnums","\\mathbb{C}"),E("\\Complex","\\mathbb{C}"),E("\\Dagger","\\ddagger"),E("\\diamonds","\\diamondsuit"),E("\\empty","\\emptyset"),E("\\Epsilon","\\mathrm{E}"),E("\\Eta","\\mathrm{H}"),E("\\exist","\\exists"),E("\\harr","\\leftrightarrow"),E("\\hArr","\\Leftrightarrow"),E("\\Harr","\\Leftrightarrow"),E("\\hearts","\\heartsuit"),E("\\image","\\Im"),E("\\infin","\\infty"),E("\\Iota","\\mathrm{I}"),E("\\isin","\\in"),E("\\Kappa","\\mathrm{K}"),E("\\larr","\\leftarrow"),E("\\lArr","\\Leftarrow"),E("\\Larr","\\Leftarrow"),E("\\lrarr","\\leftrightarrow"),E("\\lrArr","\\Leftrightarrow"),E("\\Lrarr","\\Leftrightarrow"),E("\\Mu","\\mathrm{M}"),E("\\natnums","\\mathbb{N}"),E("\\Nu","\\mathrm{N}"),E("\\Omicron","\\mathrm{O}"),E("\\plusmn","\\pm"),E("\\rarr","\\rightarrow"),E("\\rArr","\\Rightarrow"),E("\\Rarr","\\Rightarrow"),E("\\real","\\Re"),E("\\reals","\\mathbb{R}"),E("\\Reals","\\mathbb{R}"),E("\\Rho","\\mathrm{P}"),E("\\sdot","\\cdot"),E("\\sect","\\S"),E("\\spades","\\spadesuit"),E("\\sub","\\subset"),E("\\sube","\\subseteq"),E("\\supe","\\supseteq"),E("\\Tau","\\mathrm{T}"),E("\\thetasym","\\vartheta"),E("\\weierp","\\wp"),E("\\Zeta","\\mathrm{Z}"),E("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),E("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),E("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),E("\\bra","\\mathinner{\\langle{#1}|}"),E("\\ket","\\mathinner{|{#1}\\rangle}"),E("\\braket","\\mathinner{\\langle{#1}\\rangle}"),E("\\Bra","\\left\\langle#1\\right|"),E("\\Ket","\\left|#1\\right\\rangle");var fa=function(r){return function(t){var i=t.consumeArg().tokens,l=t.consumeArg().tokens,c=t.consumeArg().tokens,v=t.consumeArg().tokens,A=t.macros.get("|"),D=t.macros.get("\\|");t.macros.beginGroup();var M=function(X){return function(K){r&&(K.macros.set("|",A),c.length&&K.macros.set("\\|",D));var ie=X;if(!X&&c.length){var le=K.future();le.text==="|"&&(K.popToken(),ie=!0)}return{tokens:ie?c:l,numArgs:0}}};t.macros.set("|",M(!1)),c.length&&t.macros.set("\\|",M(!0));var N=t.consumeArg().tokens,U=t.expandTokens([].concat(v,N,i));return t.macros.endGroup(),{tokens:U.reverse(),numArgs:0}}};E("\\bra@ket",fa(!1)),E("\\bra@set",fa(!0)),E("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),E("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),E("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),E("\\angln","{\\angl n}"),E("\\blue","\\textcolor{##6495ed}{#1}"),E("\\orange","\\textcolor{##ffa500}{#1}"),E("\\pink","\\textcolor{##ff00af}{#1}"),E("\\red","\\textcolor{##df0030}{#1}"),E("\\green","\\textcolor{##28ae7b}{#1}"),E("\\gray","\\textcolor{gray}{#1}"),E("\\purple","\\textcolor{##9d38bd}{#1}"),E("\\blueA","\\textcolor{##ccfaff}{#1}"),E("\\blueB","\\textcolor{##80f6ff}{#1}"),E("\\blueC","\\textcolor{##63d9ea}{#1}"),E("\\blueD","\\textcolor{##11accd}{#1}"),E("\\blueE","\\textcolor{##0c7f99}{#1}"),E("\\tealA","\\textcolor{##94fff5}{#1}"),E("\\tealB","\\textcolor{##26edd5}{#1}"),E("\\tealC","\\textcolor{##01d1c1}{#1}"),E("\\tealD","\\textcolor{##01a995}{#1}"),E("\\tealE","\\textcolor{##208170}{#1}"),E("\\greenA","\\textcolor{##b6ffb0}{#1}"),E("\\greenB","\\textcolor{##8af281}{#1}"),E("\\greenC","\\textcolor{##74cf70}{#1}"),E("\\greenD","\\textcolor{##1fab54}{#1}"),E("\\greenE","\\textcolor{##0d923f}{#1}"),E("\\goldA","\\textcolor{##ffd0a9}{#1}"),E("\\goldB","\\textcolor{##ffbb71}{#1}"),E("\\goldC","\\textcolor{##ff9c39}{#1}"),E("\\goldD","\\textcolor{##e07d10}{#1}"),E("\\goldE","\\textcolor{##a75a05}{#1}"),E("\\redA","\\textcolor{##fca9a9}{#1}"),E("\\redB","\\textcolor{##ff8482}{#1}"),E("\\redC","\\textcolor{##f9685d}{#1}"),E("\\redD","\\textcolor{##e84d39}{#1}"),E("\\redE","\\textcolor{##bc2612}{#1}"),E("\\maroonA","\\textcolor{##ffbde0}{#1}"),E("\\maroonB","\\textcolor{##ff92c6}{#1}"),E("\\maroonC","\\textcolor{##ed5fa6}{#1}"),E("\\maroonD","\\textcolor{##ca337c}{#1}"),E("\\maroonE","\\textcolor{##9e034e}{#1}"),E("\\purpleA","\\textcolor{##ddd7ff}{#1}"),E("\\purpleB","\\textcolor{##c6b9fc}{#1}"),E("\\purpleC","\\textcolor{##aa87ff}{#1}"),E("\\purpleD","\\textcolor{##7854ab}{#1}"),E("\\purpleE","\\textcolor{##543b78}{#1}"),E("\\mintA","\\textcolor{##f5f9e8}{#1}"),E("\\mintB","\\textcolor{##edf2df}{#1}"),E("\\mintC","\\textcolor{##e0e5cc}{#1}"),E("\\grayA","\\textcolor{##f6f7f7}{#1}"),E("\\grayB","\\textcolor{##f0f1f2}{#1}"),E("\\grayC","\\textcolor{##e3e5e6}{#1}"),E("\\grayD","\\textcolor{##d6d8da}{#1}"),E("\\grayE","\\textcolor{##babec2}{#1}"),E("\\grayF","\\textcolor{##888d93}{#1}"),E("\\grayG","\\textcolor{##626569}{#1}"),E("\\grayH","\\textcolor{##3b3e40}{#1}"),E("\\grayI","\\textcolor{##21242c}{#1}"),E("\\kaBlue","\\textcolor{##314453}{#1}"),E("\\kaGreen","\\textcolor{##71B307}{#1}");var pa={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Vu=function(){function m(t,i,l){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=i,this.expansionCount=0,this.feed(t),this.macros=new $u(sa,i.macros),this.mode=l,this.stack=[]}var r=m.prototype;return r.feed=function(i){this.lexer=new la(i,this.settings)},r.switchMode=function(i){this.mode=i},r.beginGroup=function(){this.macros.beginGroup()},r.endGroup=function(){this.macros.endGroup()},r.endGroups=function(){this.macros.endGroups()},r.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},r.popToken=function(){return this.future(),this.stack.pop()},r.pushToken=function(i){this.stack.push(i)},r.pushTokens=function(i){var l;(l=this.stack).push.apply(l,i)},r.scanArgument=function(i){var l,c,v;if(i){if(this.consumeSpaces(),this.future().text!=="[")return null;l=this.popToken();var A=this.consumeArg(["]"]);v=A.tokens,c=A.end}else{var D=this.consumeArg();v=D.tokens,l=D.start,c=D.end}return this.pushToken(new ot("EOF",c.loc)),this.pushTokens(v),l.range(c,"")},r.consumeSpaces=function(){for(;;){var i=this.future();if(i.text===" ")this.stack.pop();else break}},r.consumeArg=function(i){var l=[],c=i&&i.length>0;c||this.consumeSpaces();var v=this.future(),A,D=0,M=0;do{if(A=this.popToken(),l.push(A),A.text==="{")++D;else if(A.text==="}"){if(--D,D===-1)throw new b("Extra }",A)}else if(A.text==="EOF")throw new b("Unexpected end of input in a macro argument, expected '"+(i&&c?i[M]:"}")+"'",A);if(i&&c)if((D===0||D===1&&i[M]==="{")&&A.text===i[M]){if(++M,M===i.length){l.splice(-M,M);break}}else M=0}while(D!==0||c);return v.text==="{"&&l[l.length-1].text==="}"&&(l.pop(),l.shift()),l.reverse(),{tokens:l,start:v,end:A}},r.consumeArgs=function(i,l){if(l){if(l.length!==i+1)throw new b("The length of delimiters doesn't match the number of args!");for(var c=l[0],v=0;v<c.length;v++){var A=this.popToken();if(c[v]!==A.text)throw new b("Use of the macro doesn't match its definition",A)}}for(var D=[],M=0;M<i;M++)D.push(this.consumeArg(l&&l[M+1]).tokens);return D},r.expandOnce=function(i){var l=this.popToken(),c=l.text,v=l.noexpand?null:this._getExpansion(c);if(v==null||i&&v.unexpandable){if(i&&v==null&&c[0]==="\\"&&!this.isDefined(c))throw new b("Undefined control sequence: "+c);return this.pushToken(l),!1}if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new b("Too many expansions: infinite loop or need to increase maxExpand setting");var A=v.tokens,D=this.consumeArgs(v.numArgs,v.delimiters);if(v.numArgs){A=A.slice();for(var M=A.length-1;M>=0;--M){var N=A[M];if(N.text==="#"){if(M===0)throw new b("Incomplete placeholder at end of macro body",N);if(N=A[--M],N.text==="#")A.splice(M+1,1);else if(/^[1-9]$/.test(N.text)){var U;(U=A).splice.apply(U,[M,2].concat(D[+N.text-1]))}else throw new b("Not a valid argument number",N)}}}return this.pushTokens(A),A.length},r.expandAfterFuture=function(){return this.expandOnce(),this.future()},r.expandNextToken=function(){for(;;)if(this.expandOnce()===!1){var i=this.stack.pop();return i.treatAsRelax&&(i.text="\\relax"),i}throw new Error},r.expandMacro=function(i){return this.macros.has(i)?this.expandTokens([new ot(i)]):void 0},r.expandTokens=function(i){var l=[],c=this.stack.length;for(this.pushTokens(i);this.stack.length>c;)if(this.expandOnce(!0)===!1){var v=this.stack.pop();v.treatAsRelax&&(v.noexpand=!1,v.treatAsRelax=!1),l.push(v)}return l},r.expandMacroAsText=function(i){var l=this.expandMacro(i);return l&&l.map(function(c){return c.text}).join("")},r._getExpansion=function(i){var l=this.macros.get(i);if(l==null)return l;if(i.length===1){var c=this.lexer.catcodes[i];if(c!=null&&c!==13)return}var v=typeof l=="function"?l(this):l;if(typeof v=="string"){var A=0;if(v.indexOf("#")!==-1)for(var D=v.replace(/##/g,"");D.indexOf("#"+(A+1))!==-1;)++A;for(var M=new la(v,this.settings),N=[],U=M.lex();U.text!=="EOF";)N.push(U),U=M.lex();N.reverse();var Y={tokens:N,numArgs:A};return Y}return v},r.isDefined=function(i){return this.macros.has(i)||ht.hasOwnProperty(i)||$e.math.hasOwnProperty(i)||$e.text.hasOwnProperty(i)||pa.hasOwnProperty(i)},r.isExpandable=function(i){var l=this.macros.get(i);return l!=null?typeof l=="string"||typeof l=="function"||!l.unexpandable:ht.hasOwnProperty(i)&&!ht[i].primitive},m}(),Z0=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,J0=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Ln={"́":{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"}},da={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",:"ắ",:"ằ",:"ẵ",ǎ:"ǎ",â:"â",:"ấ",:"ầ",:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",:"ḃ",ć:"ć",:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",:"ḋ",:"ḑ",é:"é",è:"è",ë:"ë",:"ẽ",ē:"ē",:"ḗ",:"ḕ",ĕ:"ĕ",:"ḝ",ě:"ě",ê:"ê",ế:"ế",:"ề",:"ễ",ė:"ė",ȩ:"ȩ",:"ḟ",ǵ:"ǵ",:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",:"ḧ",ȟ:"ȟ",ĥ:"ĥ",:"ḣ",:"ḩ",í:"í",ì:"ì",ï:"ï",:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",:"ṍ",:"ṏ",ȭ:"ȭ",ō:"ō",:"ṓ",:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",:"ố",:"ồ",:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",:"ṕ",:"ṗ",ŕ:"ŕ",ř:"ř",:"ṙ",ŗ:"ŗ",ś:"ś",:"ṥ",š:"š",:"ṧ",ŝ:"ŝ",:"ṡ",ş:"ş",:"ẗ",ť:"ť",:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",:"ṹ",ū:"ū",:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",:"ṽ",:"ẃ",:"ẁ",:"ẅ",ŵ:"ŵ",:"ẇ",:"ẘ",:"ẍ",:"ẋ",ý:"ý",:"ỳ",ÿ:"ÿ",:"ỹ",ȳ:"ȳ",ŷ:"ŷ",:"ẏ",:"ẙ",ź:"ź",ž:"ž",:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",:"Ắ",:"Ằ",:"Ẵ",Ǎ:"Ǎ",Â:"Â",:"Ấ",:"Ầ",:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",:"Ḃ",Ć:"Ć",:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",:"Ḋ",:"Ḑ",É:"É",È:"È",Ë:"Ë",:"Ẽ",Ē:"Ē",:"Ḗ",:"Ḕ",Ĕ:"Ĕ",:"Ḝ",Ě:"Ě",Ê:"Ê",:"Ế",:"Ề",:"Ễ",Ė:"Ė",Ȩ:"Ȩ",:"Ḟ",Ǵ:"Ǵ",:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",:"Ḣ",:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",:"Ḿ",:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",:"Ṍ",:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",:"Ṓ",:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",:"Ố",:"Ồ",:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",:"Ṕ",:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",:"Ṥ",Š:"Š",:"Ṧ",Ŝ:"Ŝ",:"Ṡ",Ş:"Ş",Ť:"Ť",:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",:"Ṹ",Ū:"Ū",:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",:"Ṽ",:"Ẃ",:"Ẁ",:"Ẅ",Ŵ:"Ŵ",:"Ẇ",:"Ẍ",:"Ẋ",Ý:"Ý",:"Ỳ",Ÿ:"Ÿ",:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",:"Ẏ",Ź:"Ź",Ž:"Ž",:"Ẑ",Ż:"Ż",ά:"ά",:"ὰ",:"ᾱ",:"ᾰ",έ:"έ",:"ὲ",ή:"ή",:"ὴ",ί:"ί",:"ὶ",ϊ:"ϊ",ΐ:"ΐ",:"ῒ",:"ῑ",:"ῐ",ό:"ό",:"ὸ",ύ:"ύ",:"ὺ",ϋ:"ϋ",ΰ:"ΰ",:"ῢ",:"ῡ",:"ῠ",ώ:"ώ",:"ὼ",Ύ:"Ύ",:"Ὺ",Ϋ:"Ϋ",:"Ῡ",:"Ῠ",Ώ:"Ώ",:"Ὼ"},ma=function(){function m(t,i){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 Vu(t,i,this.mode),this.settings=i,this.leftrightDepth=0}var r=m.prototype;return r.expect=function(i,l){if(l===void 0&&(l=!0),this.fetch().text!==i)throw new b("Expected '"+i+"', got '"+this.fetch().text+"'",this.fetch());l&&this.consume()},r.consume=function(){this.nextToken=null},r.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},r.switchMode=function(i){this.mode=i,this.gullet.switchMode(i)},r.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var i=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),i}finally{this.gullet.endGroups()}},r.subparse=function(i){var l=this.nextToken;this.consume(),this.gullet.pushToken(new ot("}")),this.gullet.pushTokens(i);var c=this.parseExpression(!1);return this.expect("}"),this.nextToken=l,c},r.parseExpression=function(i,l){for(var c=[];;){this.mode==="math"&&this.consumeSpaces();var v=this.fetch();if(m.endOfExpression.indexOf(v.text)!==-1||l&&v.text===l||i&&ht[v.text]&&ht[v.text].infix)break;var A=this.parseAtom(l);if(A){if(A.type==="internal")continue}else break;c.push(A)}return this.mode==="text"&&this.formLigatures(c),this.handleInfixNodes(c)},r.handleInfixNodes=function(i){for(var l=-1,c,v=0;v<i.length;v++)if(i[v].type==="infix"){if(l!==-1)throw new b("only one infix operator per group",i[v].token);l=v,c=i[v].replaceWith}if(l!==-1&&c){var A,D,M=i.slice(0,l),N=i.slice(l+1);M.length===1&&M[0].type==="ordgroup"?A=M[0]:A={type:"ordgroup",mode:this.mode,body:M},N.length===1&&N[0].type==="ordgroup"?D=N[0]:D={type:"ordgroup",mode:this.mode,body:N};var U;return c==="\\\\abovefrac"?U=this.callFunction(c,[A,i[l],D],[]):U=this.callFunction(c,[A,D],[]),[U]}else return i},r.handleSupSubscript=function(i){var l=this.fetch(),c=l.text;this.consume(),this.consumeSpaces();var v=this.parseGroup(i);if(!v)throw new b("Expected group after '"+c+"'",l);return v},r.formatUnsupportedCmd=function(i){for(var l=[],c=0;c<i.length;c++)l.push({type:"textord",mode:"text",text:i[c]});var v={type:"text",mode:this.mode,body:l},A={type:"color",mode:this.mode,color:this.settings.errorColor,body:[v]};return A},r.parseAtom=function(i){var l=this.parseGroup("atom",i);if(this.mode==="text")return l;for(var c,v;;){this.consumeSpaces();var A=this.fetch();if(A.text==="\\limits"||A.text==="\\nolimits"){if(l&&l.type==="op"){var D=A.text==="\\limits";l.limits=D,l.alwaysHandleSupSub=!0}else if(l&&l.type==="operatorname")l.alwaysHandleSupSub&&(l.limits=A.text==="\\limits");else throw new b("Limit controls must follow a math operator",A);this.consume()}else if(A.text==="^"){if(c)throw new b("Double superscript",A);c=this.handleSupSubscript("superscript")}else if(A.text==="_"){if(v)throw new b("Double subscript",A);v=this.handleSupSubscript("subscript")}else if(A.text==="'"){if(c)throw new b("Double superscript",A);var M={type:"textord",mode:this.mode,text:"\\prime"},N=[M];for(this.consume();this.fetch().text==="'";)N.push(M),this.consume();this.fetch().text==="^"&&N.push(this.handleSupSubscript("superscript")),c={type:"ordgroup",mode:this.mode,body:N}}else if(J0[A.text]){var U=J0[A.text],Y=Z0.test(A.text);for(this.consume();;){var X=this.fetch().text;if(!J0[X]||Z0.test(X)!==Y)break;this.consume(),U+=J0[X]}var K=new m(U,this.settings).parse();Y?v={type:"ordgroup",mode:"math",body:K}:c={type:"ordgroup",mode:"math",body:K}}else break}return c||v?{type:"supsub",mode:this.mode,base:l,sup:c,sub:v}:l},r.parseFunction=function(i,l){var c=this.fetch(),v=c.text,A=ht[v];if(!A)return null;if(this.consume(),l&&l!=="atom"&&!A.allowedInArgument)throw new b("Got function '"+v+"' with no arguments"+(l?" as "+l:""),c);if(this.mode==="text"&&!A.allowedInText)throw new b("Can't use function '"+v+"' in text mode",c);if(this.mode==="math"&&A.allowedInMath===!1)throw new b("Can't use function '"+v+"' in math mode",c);var D=this.parseArguments(v,A),M=D.args,N=D.optArgs;return this.callFunction(v,M,N,c,i)},r.callFunction=function(i,l,c,v,A){var D={funcName:i,parser:this,token:v,breakOnTokenText:A},M=ht[i];if(M&&M.handler)return M.handler(D,l,c);throw new b("No function handler for "+i)},r.parseArguments=function(i,l){var c=l.numArgs+l.numOptionalArgs;if(c===0)return{args:[],optArgs:[]};for(var v=[],A=[],D=0;D<c;D++){var M=l.argTypes&&l.argTypes[D],N=D<l.numOptionalArgs;(l.primitive&&M==null||l.type==="sqrt"&&D===1&&A[0]==null)&&(M="primitive");var U=this.parseGroupOfType("argument to '"+i+"'",M,N);if(N)A.push(U);else if(U!=null)v.push(U);else throw new b("Null argument, please report this as a bug")}return{args:v,optArgs:A}},r.parseGroupOfType=function(i,l,c){switch(l){case"color":return this.parseColorGroup(c);case"size":return this.parseSizeGroup(c);case"url":return this.parseUrlGroup(c);case"math":case"text":return this.parseArgumentGroup(c,l);case"hbox":{var v=this.parseArgumentGroup(c,"text");return v!=null?{type:"styling",mode:v.mode,body:[v],style:"text"}:null}case"raw":{var A=this.parseStringGroup("raw",c);return A!=null?{type:"raw",mode:"text",string:A.text}:null}case"primitive":{if(c)throw new b("A primitive argument cannot be optional");var D=this.parseGroup(i);if(D==null)throw new b("Expected group as "+i,this.fetch());return D}case"original":case null:case void 0:return this.parseArgumentGroup(c);default:throw new b("Unknown group type as "+i,this.fetch())}},r.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},r.parseStringGroup=function(i,l){var c=this.gullet.scanArgument(l);if(c==null)return null;for(var v="",A;(A=this.fetch()).text!=="EOF";)v+=A.text,this.consume();return this.consume(),c.text=v,c},r.parseRegexGroup=function(i,l){for(var c=this.fetch(),v=c,A="",D;(D=this.fetch()).text!=="EOF"&&i.test(A+D.text);)v=D,A+=v.text,this.consume();if(A==="")throw new b("Invalid "+l+": '"+c.text+"'",c);return c.range(v,A)},r.parseColorGroup=function(i){var l=this.parseStringGroup("color",i);if(l==null)return null;var c=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(l.text);if(!c)throw new b("Invalid color: '"+l.text+"'",l);var v=c[0];return/^[0-9a-f]{6}$/i.test(v)&&(v="#"+v),{type:"color-token",mode:this.mode,color:v}},r.parseSizeGroup=function(i){var l,c=!1;if(this.gullet.consumeSpaces(),!i&&this.gullet.future().text!=="{"?l=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):l=this.parseStringGroup("size",i),!l)return null;!i&&l.text.length===0&&(l.text="0pt",c=!0);var v=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(l.text);if(!v)throw new b("Invalid size: '"+l.text+"'",l);var A={number:+(v[1]+v[2]),unit:v[3]};if(!si(A))throw new b("Invalid unit: '"+A.unit+"'",l);return{type:"size",mode:this.mode,value:A,isBlank:c}},r.parseUrlGroup=function(i){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var l=this.parseStringGroup("url",i);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),l==null)return null;var c=l.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:c}},r.parseArgumentGroup=function(i,l){var c=this.gullet.scanArgument(i);if(c==null)return null;var v=this.mode;l&&this.switchMode(l),this.gullet.beginGroup();var A=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var D={type:"ordgroup",mode:this.mode,loc:c.loc,body:A};return l&&this.switchMode(v),D},r.parseGroup=function(i,l){var c=this.fetch(),v=c.text,A;if(v==="{"||v==="\\begingroup"){this.consume();var D=v==="{"?"}":"\\endgroup";this.gullet.beginGroup();var M=this.parseExpression(!1,D),N=this.fetch();this.expect(D),this.gullet.endGroup(),A={type:"ordgroup",mode:this.mode,loc:Ur.range(c,N),body:M,semisimple:v==="\\begingroup"||void 0}}else if(A=this.parseFunction(l,i)||this.parseSymbol(),A==null&&v[0]==="\\"&&!pa.hasOwnProperty(v)){if(this.settings.throwOnError)throw new b("Undefined control sequence: "+v,c);A=this.formatUnsupportedCmd(v),this.consume()}return A},r.formLigatures=function(i){for(var l=i.length-1,c=0;c<l;++c){var v=i[c],A=v.text;A==="-"&&i[c+1].text==="-"&&(c+1<l&&i[c+2].text==="-"?(i.splice(c,3,{type:"textord",mode:"text",loc:Ur.range(v,i[c+2]),text:"---"}),l-=2):(i.splice(c,2,{type:"textord",mode:"text",loc:Ur.range(v,i[c+1]),text:"--"}),l-=1)),(A==="'"||A==="`")&&i[c+1].text===A&&(i.splice(c,2,{type:"textord",mode:"text",loc:Ur.range(v,i[c+1]),text:A+A}),l-=1)}},r.parseSymbol=function(){var i=this.fetch(),l=i.text;if(/^\\verb[^a-zA-Z]/.test(l)){this.consume();var c=l.slice(5),v=c.charAt(0)==="*";if(v&&(c=c.slice(1)),c.length<2||c.charAt(0)!==c.slice(-1))throw new b(`\\verb assertion failed --
please report what input caused this bug`);return c=c.slice(1,-1),{type:"verb",mode:"text",body:c,star:v}}da.hasOwnProperty(l[0])&&!$e[this.mode][l[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+l[0]+'" used in math mode',i),l=da[l[0]]+l.slice(1));var A=Hu.exec(l);A&&(l=l.substring(0,A.index),l==="i"?l="ı":l==="j"&&(l="ȷ"));var D;if($e[this.mode][l]){this.settings.strict&&this.mode==="math"&&S0.indexOf(l)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+l[0]+'" used in math mode',i);var M=$e[this.mode][l].group,N=Ur.range(i),U;if(ru.hasOwnProperty(M)){var Y=M;U={type:"atom",mode:this.mode,family:Y,loc:N,text:l}}else U={type:M,mode:this.mode,loc:N,text:l};D=U}else if(l.charCodeAt(0)>=128)this.settings.strict&&(mr(l.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+l[0]+'" used in math mode',i):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+l[0]+'"'+(" ("+l.charCodeAt(0)+")"),i)),D={type:"textord",mode:"text",loc:Ur.range(i),text:l};else return null;if(this.consume(),A)for(var X=0;X<A[0].length;X++){var K=A[0][X];if(!Ln[K])throw new b("Unknown accent ' "+K+"'",i);var ie=Ln[K][this.mode]||Ln[K].text;if(!ie)throw new b("Accent "+K+" unsupported in "+this.mode+" mode",i);D={type:"accent",mode:this.mode,loc:Ur.range(i),label:ie,isStretchy:!1,isShifty:!0,base:D}}return D},m}();ma.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var va=function(r,t){if(!(typeof r=="string"||r instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var i=new ma(r,t);delete i.gullet.macros.current["\\df@tag"];var l=i.parse();if(delete i.gullet.macros.current["\\current@color"],delete i.gullet.macros.current["\\color"],i.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new b("\\tag works only in display equations");l=[{type:"tag",mode:"text",body:l,tag:i.subparse([new ot("\\df@tag")])}]}return l},Pn=va,h0=function(r,t,i){t.textContent="";var l=Hn(r,i).toNode();t.appendChild(l)};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."),h0=function(){throw new b("KaTeX doesn't work in quirks mode.")});var Gu=function(r,t){var i=Hn(r,t).toMarkup();return i},ju=function(r,t){var i=new Ve(t);return Pn(r,i)},ga=function(r,t,i){if(i.throwOnError||!(r instanceof b))throw r;var l=$.makeSpan(["katex-error"],[new Tr(t)]);return l.setAttribute("title",r.toString()),l.setAttribute("style","color:"+i.errorColor),l},Hn=function(r,t){var i=new Ve(t);try{var l=Pn(r,i);return xu(l,r,i)}catch(c){return ga(c,r,i)}},ya=function(r,t){var i=new Ve(t);try{var l=Pn(r,i);return bu(l,r,i)}catch(c){return ga(c,r,i)}},xa={version:"0.16.9",render:h0,renderToString:Gu,ParseError:b,SETTINGS_SCHEMA:be,__parse:ju,__renderToDomTree:Hn,__renderToHTMLTree:ya,__setFontMetrics:sn,__defineSymbol:p,__defineFunction:oe,__defineMacro:E,__domTree:{Span:Wt,Anchor:w0,SymbolNode:Tr,SvgNode:Lr,PathNode:Zr,LineNode:Jr}},Yu=xa;return d=d.default,d}()})}(Qu)),Qu.exports}var ll={exports:{}};/*! markmap-lib v0.14.4 | MIT License */(function(n,a){(function(s,d){d(a,ks())})(m0,function(s,d){function x(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var b=x(d);function C(){return C=Object.assign?Object.assign.bind():function(e){for(var u=1;u<arguments.length;u++){var o=arguments[u];for(var f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f])}return e},C.apply(this,arguments)}/*! markmap-common v0.14.2 | MIT License */class B{constructor(){this.listeners=[]}tap(u){return this.listeners.push(u),()=>this.revoke(u)}revoke(u){const o=this.listeners.indexOf(u);o>=0&&this.listeners.splice(o,1)}revokeAll(){this.listeners.splice(0)}call(...u){for(const o of this.listeners)o(...u)}}function z(){return z=Object.assign||function(e){for(var u=1;u<arguments.length;u++){var o=arguments[u];for(var f in o)Object.prototype.hasOwnProperty.call(o,f)&&(e[f]=o[f])}return e},z.apply(this,arguments)}function I(e,u){if(e==null)return{};var o={},f=Object.keys(e),h,y;for(y=0;y<f.length;y++)h=f[y],!(u.indexOf(h)>=0)&&(o[h]=e[h]);return o}const q=["textContent"];function V(e){return e.replace(/[&<"]/g,u=>({"&":"&amp;","<":"&lt;",'"':"&quot;"})[u])}function W(e){return e.replace(/<(\/script>)/g,"\\x3c$2")}function j(e,u){const o=u?Object.entries(u).map(([f,h])=>{if(!(h==null||h===!1))return f=` ${V(f)}`,h===!0?f:`${f}="${V(h)}"`}).filter(Boolean).join(""):"";return`<${e}${o}>`}function ke(e){return`</${e}>`}function ve(e,u,o){return u==null?j(e,o):j(e,o)+(u||"")+ke(e)}function De(e,u){const o=u.map(f=>typeof f=="function"?f.toString():JSON.stringify(f??null)).join(",");return`(${e.toString()})(${o})`}function Z(e,u){return e.map(o=>{if(o.type==="script"){const f=o.data,{textContent:h}=f,y=I(f,q);return ve("script",h||"",y)}if(o.type==="iife"){const{fn:f,getParams:h}=o.data;return ve("script",W(De(f,(h==null?void 0:h(u))||[])))}return""})}function be(e){return e.map(u=>u.type==="stylesheet"?ve("link",null,z({rel:"stylesheet"},u.data)):ve("style",u.data))}Math.random().toString(36).slice(2,8);function qe(e,{before:u,after:o}){return function(...h){const y={args:h,thisObj:this};try{u&&u(y)}catch{}y.result=e.apply(y.thisObj,y.args);try{o&&o(y)}catch{}return y.result}}function Ve(e){const u={};return function(...f){const h=`${f[0]}`;let y=u[h];return y||(y={value:e(...f)},u[h]=y),y.value}}function Oe(e,u,o){const f=document.createElement(e);return u&&Object.entries(u).forEach(([h,y])=>{f[h]=y}),o&&Object.entries(o).forEach(([h,y])=>{f.setAttribute(h,y)}),f}const ir=Ve(e=>{document.head.append(Oe("link",{rel:"preload",as:"script",href:e}))});async function ar(e,u){if(!e.loaded&&(e.type==="script"&&(e.loaded=new Promise((o,f)=>{var h;document.head.append(Oe("script",z({},e.data,{onload:o,onerror:f}))),(h=e.data)!=null&&h.src||o(void 0)}).then(()=>{e.loaded=!0})),e.type==="iife")){const{fn:o,getParams:f}=e.data;o(...(f==null?void 0:f(u))||[]),e.loaded=!0}await e.loaded}async function ur(e,u){const o=e.filter(f=>{var h;return f.type==="script"&&((h=f.data)==null?void 0:h.src)});o.length>1&&o.forEach(f=>ir(f.data.src)),u=z({getMarkmap:()=>window.markmap},u);for(const f of e)await ar(f,u)}const or=`<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Markmap</title>
<style>
* {
margin: 0;
padding: 0;
}
#mindmap {
display: block;
width: 100vw;
height: 100vh;
}
</style>
<!--CSS-->
</head>
<body>
<svg id="mindmap"></svg>
<!--JS-->
</body>
</html>
`,Br=["https://cdn.jsdelivr.net/npm/d3@6.7.0","https://cdn.jsdelivr.net/npm/markmap-view@0.14.4"].map(e=>({type:"script",data:{src:e}}));function sr(e,u,o){o=C({baseJs:Br},o);const{scripts:f,styles:h}=u,y=[...h?be(h):[]],w={getMarkmap:()=>window.markmap,getOptions:o.getOptions,jsonOptions:o.jsonOptions,root:e},k=[...Z([...o.baseJs,...f||[],{type:"iife",data:{fn:(O,R,H,J)=>{const Q=O();window.mm=Q.Markmap.create("svg#mindmap",(R||Q.deriveOptions)(J),H)},getParams:({getMarkmap:O,getOptions:R,root:H,jsonOptions:J})=>[O,R,H,J]}}],w)];return or.replace("<!--CSS-->",()=>y.join("")).replace("<!--JS-->",()=>k.join(""))}var Rr={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",Backslash:"",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",Bernoullis:"",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"",caps:"∩︀",caret:"",caron:"ˇ",Cayleys:"",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"",dd:"",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:"",emsp13:"",emsp14:"",ENG:"Ŋ",eng:"ŋ",ensp:"",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"",escr:"",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"",ExponentialE:"",exponentiale:"",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",Fscr:"",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:"",half:"½",hamilt:"",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"",hfr:"𝔥",HilbertSpace:"",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"",hyphen:"",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"",Imacr:"Ī",imacr:"ī",image:"",ImaginaryI:"",imagline:"",imagpart:"",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",Lscr:"",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"",Mellintrf:"",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"",midast:"*",midcir:"⫰",middot:"·",minus:"",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",Or:"⩔",or:"",orarr:"↻",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"",pointint:"⨕",Popf:"",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"",primes:"",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:"",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"",rationals:"",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"",real:"",realine:"",realpart:"",reals:"",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"",Rscr:"",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",ThickSpace:"",thinsp:"",ThinSpace:"",thkap:"≈",thksim:"",THORN:"Þ",thorn:"þ",Tilde:"",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"",vee:"",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},G=Object.prototype.hasOwnProperty;function P(e,u){return e?G.call(e,u):!1}function ce(e){return P(Rr,e)?Rr[e]:e}var re=Object.prototype.hasOwnProperty;function we(e,u){return e?re.call(e,u):!1}function Se(e){var u=[].slice.call(arguments,1);return u.forEach(function(o){if(o){if(typeof o!="object")throw new TypeError(o+"must be object");Object.keys(o).forEach(function(f){e[f]=o[f]})}}),e}var _e=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Ee(e){return e.indexOf("\\")<0?e:e.replace(_e,"$1")}function ue(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Le(e){if(e>65535){e-=65536;var u=55296+(e>>10),o=56320+(e&1023);return String.fromCharCode(u,o)}return String.fromCharCode(e)}var Mr=/&([a-z#][a-z0-9]{1,31});/gi,Ge=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function mr(e,u){var o=0,f=ce(u);return u!==f?f:u.charCodeAt(0)===35&&Ge.test(u)&&(o=u[1].toLowerCase()==="x"?parseInt(u.slice(2),16):parseInt(u.slice(1),10),ue(o))?Le(o):e}function We(e){return e.indexOf("&")<0?e:e.replace(Mr,mr)}var wr=/[&<>"]/,Ir=/[&<>"]/g,Yt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function Ka(e){return Yt[e]}function vr(e){return wr.test(e)?e.replace(Ir,Ka):e}var pe={};pe.blockquote_open=function(){return`<blockquote>
`},pe.blockquote_close=function(e,u){return"</blockquote>"+xt(e,u)},pe.code=function(e,u){return e[u].block?"<pre><code>"+vr(e[u].content)+"</code></pre>"+xt(e,u):"<code>"+vr(e[u].content)+"</code>"},pe.fence=function(e,u,o,f,h){var y=e[u],w="",k=o.langPrefix,T="",O,R,H;if(y.params){if(O=y.params.split(/\s+/g),R=O.join(" "),we(h.rules.fence_custom,O[0]))return h.rules.fence_custom[O[0]](e,u,o,f,h);T=vr(We(Ee(R))),w=' class="'+k+T+'"'}return o.highlight?H=o.highlight.apply(o.highlight,[y.content].concat(O))||vr(y.content):H=vr(y.content),"<pre><code"+w+">"+H+"</code></pre>"+xt(e,u)},pe.fence_custom={},pe.heading_open=function(e,u){return"<h"+e[u].hLevel+">"},pe.heading_close=function(e,u){return"</h"+e[u].hLevel+`>
`},pe.hr=function(e,u,o){return(o.xhtmlOut?"<hr />":"<hr>")+xt(e,u)},pe.bullet_list_open=function(){return`<ul>
`},pe.bullet_list_close=function(e,u){return"</ul>"+xt(e,u)},pe.list_item_open=function(){return"<li>"},pe.list_item_close=function(){return`</li>
`},pe.ordered_list_open=function(e,u){var o=e[u],f=o.order>1?' start="'+o.order+'"':"";return"<ol"+f+`>
`},pe.ordered_list_close=function(e,u){return"</ol>"+xt(e,u)},pe.paragraph_open=function(e,u){return e[u].tight?"":"<p>"},pe.paragraph_close=function(e,u){var o=!(e[u].tight&&u&&e[u-1].type==="inline"&&!e[u-1].content);return(e[u].tight?"":"</p>")+(o?xt(e,u):"")},pe.link_open=function(e,u,o){var f=e[u].title?' title="'+vr(We(e[u].title))+'"':"",h=o.linkTarget?' target="'+o.linkTarget+'"':"";return'<a href="'+vr(e[u].href)+'"'+f+h+">"},pe.link_close=function(){return"</a>"},pe.image=function(e,u,o){var f=' src="'+vr(e[u].src)+'"',h=e[u].title?' title="'+vr(We(e[u].title))+'"':"",y=' alt="'+(e[u].alt?vr(We(Ee(e[u].alt))):"")+'"',w=o.xhtmlOut?" /":"";return"<img"+f+y+h+w+">"},pe.table_open=function(){return`<table>
`},pe.table_close=function(){return`</table>
`},pe.thead_open=function(){return`<thead>
`},pe.thead_close=function(){return`</thead>
`},pe.tbody_open=function(){return`<tbody>
`},pe.tbody_close=function(){return`</tbody>
`},pe.tr_open=function(){return"<tr>"},pe.tr_close=function(){return`</tr>
`},pe.th_open=function(e,u){var o=e[u];return"<th"+(o.align?' style="text-align:'+o.align+'"':"")+">"},pe.th_close=function(){return"</th>"},pe.td_open=function(e,u){var o=e[u];return"<td"+(o.align?' style="text-align:'+o.align+'"':"")+">"},pe.td_close=function(){return"</td>"},pe.strong_open=function(){return"<strong>"},pe.strong_close=function(){return"</strong>"},pe.em_open=function(){return"<em>"},pe.em_close=function(){return"</em>"},pe.del_open=function(){return"<del>"},pe.del_close=function(){return"</del>"},pe.ins_open=function(){return"<ins>"},pe.ins_close=function(){return"</ins>"},pe.mark_open=function(){return"<mark>"},pe.mark_close=function(){return"</mark>"},pe.sub=function(e,u){return"<sub>"+vr(e[u].content)+"</sub>"},pe.sup=function(e,u){return"<sup>"+vr(e[u].content)+"</sup>"},pe.hardbreak=function(e,u,o){return o.xhtmlOut?`<br />
`:`<br>
`},pe.softbreak=function(e,u,o){return o.breaks?o.xhtmlOut?`<br />
`:`<br>
`:`
`},pe.text=function(e,u){return vr(e[u].content)},pe.htmlblock=function(e,u){return e[u].content},pe.htmltag=function(e,u){return e[u].content},pe.abbr_open=function(e,u){return'<abbr title="'+vr(We(e[u].title))+'">'},pe.abbr_close=function(){return"</abbr>"},pe.footnote_ref=function(e,u){var o=Number(e[u].id+1).toString(),f="fnref"+o;return e[u].subId>0&&(f+=":"+e[u].subId),'<sup class="footnote-ref"><a href="#fn'+o+'" id="'+f+'">['+o+"]</a></sup>"},pe.footnote_block_open=function(e,u,o){var f=o.xhtmlOut?`<hr class="footnotes-sep" />
`:`<hr class="footnotes-sep">
`;return f+`<section class="footnotes">
<ol class="footnotes-list">
`},pe.footnote_block_close=function(){return`</ol>
</section>
`},pe.footnote_open=function(e,u){var o=Number(e[u].id+1).toString();return'<li id="fn'+o+'" class="footnote-item">'},pe.footnote_close=function(){return`</li>
`},pe.footnote_anchor=function(e,u){var o=Number(e[u].id+1).toString(),f="fnref"+o;return e[u].subId>0&&(f+=":"+e[u].subId),' <a href="#'+f+'" class="footnote-backref">↩</a>'},pe.dl_open=function(){return`<dl>
`},pe.dt_open=function(){return"<dt>"},pe.dd_open=function(){return"<dd>"},pe.dl_close=function(){return`</dl>
`},pe.dt_close=function(){return`</dt>
`},pe.dd_close=function(){return`</dd>
`};function ti(e,u){return++u>=e.length-2?u:e[u].type==="paragraph_open"&&e[u].tight&&e[u+1].type==="inline"&&e[u+1].content.length===0&&e[u+2].type==="paragraph_close"&&e[u+2].tight?ti(e,u+2):u}var xt=pe.getBreak=function(u,o){return o=ti(u,o),o<u.length&&u[o].type==="list_item_close"?"":`
`};function on(){this.rules=Se({},pe),this.getBreak=pe.getBreak}on.prototype.renderInline=function(e,u,o){for(var f=this.rules,h=e.length,y=0,w="";h--;)w+=f[e[y].type](e,y++,u,o,this);return w},on.prototype.render=function(e,u,o){for(var f=this.rules,h=e.length,y=-1,w="";++y<h;)e[y].type==="inline"?w+=this.renderInline(e[y].children,u,o):w+=f[e[y].type](e,y,u,o,this);return w};function gr(){this.__rules__=[],this.__cache__=null}gr.prototype.__find__=function(e){for(var u=this.__rules__.length,o=-1;u--;)if(this.__rules__[++o].name===e)return o;return-1},gr.prototype.__compile__=function(){var e=this,u=[""];e.__rules__.forEach(function(o){o.enabled&&o.alt.forEach(function(f){u.indexOf(f)<0&&u.push(f)})}),e.__cache__={},u.forEach(function(o){e.__cache__[o]=[],e.__rules__.forEach(function(f){f.enabled&&(o&&f.alt.indexOf(o)<0||e.__cache__[o].push(f.fn))})})},gr.prototype.at=function(e,u,o){var f=this.__find__(e),h=o||{};if(f===-1)throw new Error("Parser rule not found: "+e);this.__rules__[f].fn=u,this.__rules__[f].alt=h.alt||[],this.__cache__=null},gr.prototype.before=function(e,u,o,f){var h=this.__find__(e),y=f||{};if(h===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(h,0,{name:u,enabled:!0,fn:o,alt:y.alt||[]}),this.__cache__=null},gr.prototype.after=function(e,u,o,f){var h=this.__find__(e),y=f||{};if(h===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(h+1,0,{name:u,enabled:!0,fn:o,alt:y.alt||[]}),this.__cache__=null},gr.prototype.push=function(e,u,o){var f=o||{};this.__rules__.push({name:e,enabled:!0,fn:u,alt:f.alt||[]}),this.__cache__=null},gr.prototype.enable=function(e,u){e=Array.isArray(e)?e:[e],u&&this.__rules__.forEach(function(o){o.enabled=!1}),e.forEach(function(o){var f=this.__find__(o);if(f<0)throw new Error("Rules manager: invalid rule name "+o);this.__rules__[f].enabled=!0},this),this.__cache__=null},gr.prototype.disable=function(e){e=Array.isArray(e)?e:[e],e.forEach(function(u){var o=this.__find__(u);if(o<0)throw new Error("Rules manager: invalid rule name "+u);this.__rules__[o].enabled=!1},this),this.__cache__=null},gr.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Za(e){e.inlineMode?e.tokens.push({type:"inline",content:e.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):e.block.parse(e.src,e.options,e.env,e.tokens)}function Or(e,u,o,f,h){this.src=e,this.env=f,this.options=o,this.parser=u,this.tokens=h,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}Or.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},Or.prototype.push=function(e){this.pending&&this.pushPending(),this.tokens.push(e),this.pendingLevel=this.level},Or.prototype.cacheSet=function(e,u){for(var o=this.cache.length;o<=e;o++)this.cache.push(0);this.cache[e]=u},Or.prototype.cacheGet=function(e){return e<this.cache.length?this.cache[e]:0};function yr(e,u){var o,f,h,y=-1,w=e.posMax,k=e.pos,T=e.isInLabel;if(e.isInLabel)return-1;if(e.labelUnmatchedScopes)return e.labelUnmatchedScopes--,-1;for(e.pos=u+1,e.isInLabel=!0,o=1;e.pos<w;){if(h=e.src.charCodeAt(e.pos),h===91)o++;else if(h===93&&(o--,o===0)){f=!0;break}e.parser.skipToken(e)}return f?(y=e.pos,e.labelUnmatchedScopes=0):e.labelUnmatchedScopes=o-1,e.pos=k,e.isInLabel=T,y}function y0(e,u,o,f){var h,y,w,k,T,O;if(e.charCodeAt(0)!==42||e.charCodeAt(1)!==91||e.indexOf("]:")===-1||(h=new Or(e,u,o,f,[]),y=yr(h,1),y<0||e.charCodeAt(y+1)!==58))return-1;for(k=h.posMax,w=y+2;w<k&&h.src.charCodeAt(w)!==10;w++);return T=e.slice(2,y),O=e.slice(y+2,w).trim(),O.length===0?-1:(f.abbreviations||(f.abbreviations={}),typeof f.abbreviations[":"+T]>"u"&&(f.abbreviations[":"+T]=O),w)}function ni(e){var u=e.tokens,o,f,h,y;if(!e.inlineMode){for(o=1,f=u.length-1;o<f;o++)if(u[o-1].type==="paragraph_open"&&u[o].type==="inline"&&u[o+1].type==="paragraph_close"){for(h=u[o].content;h.length&&(y=y0(h,e.inline,e.options,e.env),!(y<0));)h=h.slice(y).trim();u[o].content=h,h.length||(u[o-1].tight=!0,u[o+1].tight=!0)}}}function sn(e){var u=We(e);try{u=decodeURI(u)}catch{}return encodeURI(u)}function x0(e,u){var o,f,h,y=u,w=e.posMax;if(e.src.charCodeAt(u)===60){for(u++;u<w;){if(o=e.src.charCodeAt(u),o===10)return!1;if(o===62)return h=sn(Ee(e.src.slice(y+1,u))),e.parser.validateLink(h)?(e.pos=u+1,e.linkContent=h,!0):!1;if(o===92&&u+1<w){u+=2;continue}u++}return!1}for(f=0;u<w&&(o=e.src.charCodeAt(u),!(o===32||o<32||o===127));){if(o===92&&u+1<w){u+=2;continue}if(o===40&&(f++,f>1)||o===41&&(f--,f<0))break;u++}return y===u||(h=Ee(e.src.slice(y,u)),!e.parser.validateLink(h))?!1:(e.linkContent=h,e.pos=u,!0)}function b0(e,u){var o,f=u,h=e.posMax,y=e.src.charCodeAt(u);if(y!==34&&y!==39&&y!==40)return!1;for(u++,y===40&&(y=41);u<h;){if(o=e.src.charCodeAt(u),o===y)return e.pos=u+1,e.linkContent=Ee(e.src.slice(f+1,u)),!0;if(o===92&&u+1<h){u+=2;continue}u++}return!1}function ii(e){return e.trim().replace(/\s+/g," ").toUpperCase()}function Ja(e,u,o,f){var h,y,w,k,T,O,R,H,J;if(e.charCodeAt(0)!==91||e.indexOf("]:")===-1||(h=new Or(e,u,o,f,[]),y=yr(h,0),y<0||e.charCodeAt(y+1)!==58))return-1;for(k=h.posMax,w=y+2;w<k&&(T=h.src.charCodeAt(w),!(T!==32&&T!==10));w++);if(!x0(h,w))return-1;for(R=h.linkContent,w=h.pos,O=w,w=w+1;w<k&&(T=h.src.charCodeAt(w),!(T!==32&&T!==10));w++);for(w<k&&O!==w&&b0(h,w)?(H=h.linkContent,w=h.pos):(H="",w=O);w<k&&h.src.charCodeAt(w)===32;)w++;return w<k&&h.src.charCodeAt(w)!==10?-1:(J=ii(e.slice(1,y)),typeof f.references[J]>"u"&&(f.references[J]={title:H,href:R}),w)}function ai(e){var u=e.tokens,o,f,h,y;if(e.env.references=e.env.references||{},!e.inlineMode){for(o=1,f=u.length-1;o<f;o++)if(u[o].type==="inline"&&u[o-1].type==="paragraph_open"&&u[o+1].type==="paragraph_close"){for(h=u[o].content;h.length&&(y=Ja(h,e.inline,e.options,e.env),!(y<0));)h=h.slice(y).trim();u[o].content=h,h.length||(u[o-1].tight=!0,u[o+1].tight=!0)}}}function ui(e){var u=e.tokens,o,f,h;for(f=0,h=u.length;f<h;f++)o=u[f],o.type==="inline"&&e.inline.parse(o.content,e.options,e.env,o.children)}function li(e){var u,o,f,h,y,w,k,T,O,R=0,H=!1,J={};if(e.env.footnotes&&(e.tokens=e.tokens.filter(function(Q){return Q.type==="footnote_reference_open"?(H=!0,T=[],O=Q.label,!1):Q.type==="footnote_reference_close"?(H=!1,J[":"+O]=T,!1):(H&&T.push(Q),!H)}),!!e.env.footnotes.list)){for(w=e.env.footnotes.list,e.tokens.push({type:"footnote_block_open",level:R++}),u=0,o=w.length;u<o;u++){for(e.tokens.push({type:"footnote_open",id:u,level:R++}),w[u].tokens?(k=[],k.push({type:"paragraph_open",tight:!1,level:R++}),k.push({type:"inline",content:"",level:R,children:w[u].tokens}),k.push({type:"paragraph_close",tight:!1,level:--R})):w[u].label&&(k=J[":"+w[u].label]),e.tokens=e.tokens.concat(k),e.tokens[e.tokens.length-1].type==="paragraph_close"?y=e.tokens.pop():y=null,h=w[u].count>0?w[u].count:1,f=0;f<h;f++)e.tokens.push({type:"footnote_anchor",id:u,subId:f,level:R});y&&e.tokens.push(y),e.tokens.push({type:"footnote_close",level:--R})}e.tokens.push({type:"footnote_block_close",level:--R})}}var oi=`
()[]'".,!?-`;function Xt(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}function Qa(e){var u,o,f,h,y,w,k,T,O,R,H,J,Q=e.tokens;if(e.env.abbreviations){for(e.env.abbrRegExp||(J="(^|["+oi.split("").map(Xt).join("")+"])("+Object.keys(e.env.abbreviations).map(function(ne){return ne.substr(1)}).sort(function(ne,se){return se.length-ne.length}).map(Xt).join("|")+")($|["+oi.split("").map(Xt).join("")+"])",e.env.abbrRegExp=new RegExp(J,"g")),R=e.env.abbrRegExp,o=0,f=Q.length;o<f;o++)if(Q[o].type==="inline"){for(h=Q[o].children,u=h.length-1;u>=0;u--)if(y=h[u],y.type==="text"){for(T=0,w=y.content,R.lastIndex=0,O=y.level,k=[];H=R.exec(w);)R.lastIndex>T&&k.push({type:"text",content:w.slice(T,H.index+H[1].length),level:O}),k.push({type:"abbr_open",title:e.env.abbreviations[":"+H[2]],level:O++}),k.push({type:"text",content:H[2],level:O}),k.push({type:"abbr_close",level:--O}),T=R.lastIndex-H[3].length;k.length&&(T<w.length&&k.push({type:"text",content:w.slice(T),level:O}),Q[o].children=h=[].concat(h.slice(0,u),k,h.slice(u+1)))}}}}var si=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,je=/\((c|tm|r|p)\)/ig,ae={c:"©",r:"®",p:"§",tm:"™"};function it(e){return e.indexOf("(")<0?e:e.replace(je,function(u,o){return ae[o.toLowerCase()]})}function ci(e){var u,o,f,h,y;if(e.options.typographer){for(y=e.tokens.length-1;y>=0;y--)if(e.tokens[y].type==="inline")for(h=e.tokens[y].children,u=h.length-1;u>=0;u--)o=h[u],o.type==="text"&&(f=o.content,f=it(f),si.test(f)&&(f=f.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/mg,"$1—$2").replace(/(^|\s)--(\s|$)/mg,"$1$2").replace(/(^|[^-\s])--([^-\s]|$)/mg,"$1$2")),o.content=f)}}var hi=/['"]/,cn=/['"]/g,Wt=/[-\s()\[\]]/,w0="";function fi(e,u){return u<0||u>=e.length?!1:!Wt.test(e[u])}function _t(e,u,o){return e.substr(0,u)+o+e.substr(u+1)}function Tr(e){var u,o,f,h,y,w,k,T,O,R,H,J,Q,ne,se,xe,Me;if(e.options.typographer){for(Me=[],se=e.tokens.length-1;se>=0;se--)if(e.tokens[se].type==="inline"){for(xe=e.tokens[se].children,Me.length=0,u=0;u<xe.length;u++)if(o=xe[u],!(o.type!=="text"||hi.test(o.text))){for(k=xe[u].level,Q=Me.length-1;Q>=0&&!(Me[Q].level<=k);Q--);Me.length=Q+1,f=o.content,y=0,w=f.length;e:for(;y<w&&(cn.lastIndex=y,h=cn.exec(f),!!h);){if(T=!fi(f,h.index-1),y=h.index+1,ne=h[0]==="'",O=!fi(f,y),!O&&!T){ne&&(o.content=_t(o.content,h.index,w0));continue}if(H=!O,J=!T,J){for(Q=Me.length-1;Q>=0&&(R=Me[Q],!(Me[Q].level<k));Q--)if(R.single===ne&&Me[Q].level===k){R=Me[Q],ne?(xe[R.token].content=_t(xe[R.token].content,R.pos,e.options.quotes[2]),o.content=_t(o.content,h.index,e.options.quotes[3])):(xe[R.token].content=_t(xe[R.token].content,R.pos,e.options.quotes[0]),o.content=_t(o.content,h.index,e.options.quotes[1])),Me.length=Q;continue e}}H?Me.push({token:u,pos:h.index,single:ne,level:k}):J&&ne&&(o.content=_t(o.content,h.index,w0))}}}}}var Lr=[["block",Za],["abbr",ni],["references",ai],["inline",ui],["footnote_tail",li],["abbr2",Qa],["replacements",ci],["smartquotes",Tr]];function Zr(){this.options={},this.ruler=new gr;for(var e=0;e<Lr.length;e++)this.ruler.push(Lr[e][0],Lr[e][1])}Zr.prototype.process=function(e){var u,o,f;for(f=this.ruler.getRules(""),u=0,o=f.length;u<o;u++)f[u](e)};function Jr(e,u,o,f,h){var y,w,k,T,O,R,H;for(this.src=e,this.parser=u,this.options=o,this.env=f,this.tokens=h,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",w=this.src,R=0,H=!1,k=T=R=0,O=w.length;T<O;T++){if(y=w.charCodeAt(T),!H)if(y===32){R++;continue}else H=!0;(y===10||T===O-1)&&(y!==10&&T++,this.bMarks.push(k),this.eMarks.push(T),this.tShift.push(R),H=!1,R=0,k=T+1)}this.bMarks.push(w.length),this.eMarks.push(w.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}Jr.prototype.isEmpty=function(u){return this.bMarks[u]+this.tShift[u]>=this.eMarks[u]},Jr.prototype.skipEmptyLines=function(u){for(var o=this.lineMax;u<o&&!(this.bMarks[u]+this.tShift[u]<this.eMarks[u]);u++);return u},Jr.prototype.skipSpaces=function(u){for(var o=this.src.length;u<o&&this.src.charCodeAt(u)===32;u++);return u},Jr.prototype.skipChars=function(u,o){for(var f=this.src.length;u<f&&this.src.charCodeAt(u)===o;u++);return u},Jr.prototype.skipCharsBack=function(u,o,f){if(u<=f)return u;for(;u>f;)if(o!==this.src.charCodeAt(--u))return u+1;return u},Jr.prototype.getLines=function(u,o,f,h){var y,w,k,T,O,R=u;if(u>=o)return"";if(R+1===o)return w=this.bMarks[R]+Math.min(this.tShift[R],f),k=h?this.eMarks[R]+1:this.eMarks[R],this.src.slice(w,k);for(T=new Array(o-u),y=0;R<o;R++,y++)O=this.tShift[R],O>f&&(O=f),O<0&&(O=0),w=this.bMarks[R]+O,R+1<o||h?k=this.eMarks[R]+1:k=this.eMarks[R],T[y]=this.src.slice(w,k);return T.join("")};function pi(e,u,o){var f,h;if(e.tShift[u]-e.blkIndent<4)return!1;for(h=f=u+1;f<o;){if(e.isEmpty(f)){f++;continue}if(e.tShift[f]-e.blkIndent>=4){f++,h=f;continue}break}return e.line=f,e.tokens.push({type:"code",content:e.getLines(u,h,4+e.blkIndent,!0),block:!0,lines:[u,e.line],level:e.level}),!0}function eu(e,u,o,f){var h,y,w,k,T,O=!1,R=e.bMarks[u]+e.tShift[u],H=e.eMarks[u];if(R+3>H||(h=e.src.charCodeAt(R),h!==126&&h!==96)||(T=R,R=e.skipChars(R,h),y=R-T,y<3)||(w=e.src.slice(R,H).trim(),w.indexOf("`")>=0))return!1;if(f)return!0;for(k=u;k++,!(k>=o||(R=T=e.bMarks[k]+e.tShift[k],H=e.eMarks[k],R<H&&e.tShift[k]<e.blkIndent));)if(e.src.charCodeAt(R)===h&&!(e.tShift[k]-e.blkIndent>=4)&&(R=e.skipChars(R,h),!(R-T<y)&&(R=e.skipSpaces(R),!(R<H)))){O=!0;break}return y=e.tShift[u],e.line=k+(O?1:0),e.tokens.push({type:"fence",params:w,content:e.getLines(u+1,k,y,!0),lines:[u,e.line],level:e.level}),!0}function ru(e,u,o,f){var h,y,w,k,T,O,R,H,J,Q,ne,se=e.bMarks[u]+e.tShift[u],xe=e.eMarks[u];if(se>xe||e.src.charCodeAt(se++)!==62||e.level>=e.options.maxNesting)return!1;if(f)return!0;for(e.src.charCodeAt(se)===32&&se++,T=e.blkIndent,e.blkIndent=0,k=[e.bMarks[u]],e.bMarks[u]=se,se=se<xe?e.skipSpaces(se):se,y=se>=xe,w=[e.tShift[u]],e.tShift[u]=se-e.bMarks[u],H=e.parser.ruler.getRules("blockquote"),h=u+1;h<o&&(se=e.bMarks[h]+e.tShift[h],xe=e.eMarks[h],!(se>=xe));h++){if(e.src.charCodeAt(se++)===62){e.src.charCodeAt(se)===32&&se++,k.push(e.bMarks[h]),e.bMarks[h]=se,se=se<xe?e.skipSpaces(se):se,y=se>=xe,w.push(e.tShift[h]),e.tShift[h]=se-e.bMarks[h];continue}if(y)break;for(ne=!1,J=0,Q=H.length;J<Q;J++)if(H[J](e,h,o,!0)){ne=!0;break}if(ne)break;k.push(e.bMarks[h]),w.push(e.tShift[h]),e.tShift[h]=-1337}for(O=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:R=[u,0],level:e.level++}),e.parser.tokenize(e,u,h),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=O,R[1]=e.line,J=0;J<w.length;J++)e.bMarks[J+u]=k[J],e.tShift[J+u]=w[J];return e.blkIndent=T,!0}function tu(e,u,o,f){var h,y,w,k=e.bMarks[u],T=e.eMarks[u];if(k+=e.tShift[u],k>T||(h=e.src.charCodeAt(k++),h!==42&&h!==45&&h!==95))return!1;for(y=1;k<T;){if(w=e.src.charCodeAt(k++),w!==h&&w!==32)return!1;w===h&&y++}return y<3?!1:(f||(e.line=u+1,e.tokens.push({type:"hr",lines:[u,e.line],level:e.level})),!0)}function Kt(e,u){var o,f,h;return f=e.bMarks[u]+e.tShift[u],h=e.eMarks[u],f>=h||(o=e.src.charCodeAt(f++),o!==42&&o!==45&&o!==43)||f<h&&e.src.charCodeAt(f)!==32?-1:f}function $e(e,u){var o,f=e.bMarks[u]+e.tShift[u],h=e.eMarks[u];if(f+1>=h||(o=e.src.charCodeAt(f++),o<48||o>57))return-1;for(;;){if(f>=h)return-1;if(o=e.src.charCodeAt(f++),!(o>=48&&o<=57)){if(o===41||o===46)break;return-1}}return f<h&&e.src.charCodeAt(f)!==32?-1:f}function p(e,u){var o,f,h=e.level+2;for(o=u+2,f=e.tokens.length-2;o<f;o++)e.tokens[o].level===h&&e.tokens[o].type==="paragraph_open"&&(e.tokens[o+2].tight=!0,e.tokens[o].tight=!0,o+=2)}function g(e,u,o,f){var h,y,w,k,T,O,R,H,J,Q,ne,se,xe,Me,Te,br,tt,ka,Il=!0,Zu,Sa,Ol,Ju;if((H=$e(e,u))>=0)xe=!0;else if((H=Kt(e,u))>=0)xe=!1;else return!1;if(e.level>=e.options.maxNesting)return!1;if(se=e.src.charCodeAt(H-1),f)return!0;for(Te=e.tokens.length,xe?(R=e.bMarks[u]+e.tShift[u],ne=Number(e.src.substr(R,H-R-1)),e.tokens.push({type:"ordered_list_open",order:ne,lines:tt=[u,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:tt=[u,0],level:e.level++}),h=u,br=!1,Zu=e.parser.ruler.getRules("list");h<o&&(Me=e.skipSpaces(H),J=e.eMarks[h],Me>=J?Q=1:Q=Me-H,Q>4&&(Q=1),Q<1&&(Q=1),y=H-e.bMarks[h]+Q,e.tokens.push({type:"list_item_open",lines:ka=[u,0],level:e.level++}),k=e.blkIndent,T=e.tight,w=e.tShift[u],O=e.parentType,e.tShift[u]=Me-e.bMarks[u],e.blkIndent=y,e.tight=!0,e.parentType="list",e.parser.tokenize(e,u,o,!0),(!e.tight||br)&&(Il=!1),br=e.line-u>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[u]=w,e.tight=T,e.parentType=O,e.tokens.push({type:"list_item_close",level:--e.level}),h=u=e.line,ka[1]=h,Me=e.bMarks[u],!(h>=o||e.isEmpty(h)||e.tShift[h]<e.blkIndent));){for(Ju=!1,Sa=0,Ol=Zu.length;Sa<Ol;Sa++)if(Zu[Sa](e,h,o,!0)){Ju=!0;break}if(Ju)break;if(xe){if(H=$e(e,h),H<0)break}else if(H=Kt(e,h),H<0)break;if(se!==e.src.charCodeAt(H-1))break}return e.tokens.push({type:xe?"ordered_list_close":"bullet_list_close",level:--e.level}),tt[1]=h,e.line=h,Il&&p(e,Te),!0}function ee(e,u,o,f){var h,y,w,k,T,O=e.bMarks[u]+e.tShift[u],R=e.eMarks[u];if(O+4>R||e.src.charCodeAt(O)!==91||e.src.charCodeAt(O+1)!==94||e.level>=e.options.maxNesting)return!1;for(k=O+2;k<R;k++){if(e.src.charCodeAt(k)===32)return!1;if(e.src.charCodeAt(k)===93)break}return k===O+2||k+1>=R||e.src.charCodeAt(++k)!==58?!1:(f||(k++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),T=e.src.slice(O+2,k-2),e.env.footnotes.refs[":"+T]=-1,e.tokens.push({type:"footnote_reference_open",label:T,level:e.level++}),h=e.bMarks[u],y=e.tShift[u],w=e.parentType,e.tShift[u]=e.skipSpaces(k)-k,e.bMarks[u]=k,e.blkIndent+=4,e.parentType="footnote",e.tShift[u]<e.blkIndent&&(e.tShift[u]+=e.blkIndent,e.bMarks[u]-=e.blkIndent),e.parser.tokenize(e,u,o,!0),e.parentType=w,e.blkIndent-=4,e.tShift[u]=y,e.bMarks[u]=h,e.tokens.push({type:"footnote_reference_close",level:--e.level})),!0)}function S(e,u,o,f){var h,y,w,k=e.bMarks[u]+e.tShift[u],T=e.eMarks[u];if(k>=T||(h=e.src.charCodeAt(k),h!==35||k>=T))return!1;for(y=1,h=e.src.charCodeAt(++k);h===35&&k<T&&y<=6;)y++,h=e.src.charCodeAt(++k);return y>6||k<T&&h!==32?!1:(f||(T=e.skipCharsBack(T,32,k),w=e.skipCharsBack(T,35,k),w>k&&e.src.charCodeAt(w-1)===32&&(T=w),e.line=u+1,e.tokens.push({type:"heading_open",hLevel:y,lines:[u,e.line],level:e.level}),k<T&&e.tokens.push({type:"inline",content:e.src.slice(k,T).trim(),level:e.level+1,lines:[u,e.line],children:[]}),e.tokens.push({type:"heading_close",hLevel:y,level:e.level})),!0)}function _(e,u,o){var f,h,y,w=u+1;return w>=o||e.tShift[w]<e.blkIndent||e.tShift[w]-e.blkIndent>3||(h=e.bMarks[w]+e.tShift[w],y=e.eMarks[w],h>=y)||(f=e.src.charCodeAt(h),f!==45&&f!==61)||(h=e.skipChars(h,f),h=e.skipSpaces(h),h<y)?!1:(h=e.bMarks[u]+e.tShift[u],e.line=w+1,e.tokens.push({type:"heading_open",hLevel:f===61?1:2,lines:[u,e.line],level:e.level}),e.tokens.push({type:"inline",content:e.src.slice(h,e.eMarks[u]).trim(),level:e.level+1,lines:[u,e.line-1],children:[]}),e.tokens.push({type:"heading_close",hLevel:f===61?1:2,level:e.level}),!0)}var Ue={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach(function(e){Ue[e]=!0});var he=/^<([a-zA-Z]{1,15})[\s\/>]/,cr=/^<\/([a-zA-Z]{1,15})[\s>]/;function zt(e){var u=e|32;return u>=97&&u<=122}function ye(e,u,o,f){var h,y,w,k=e.bMarks[u],T=e.eMarks[u],O=e.tShift[u];if(k+=O,!e.options.html||O>3||k+2>=T||e.src.charCodeAt(k)!==60)return!1;if(h=e.src.charCodeAt(k+1),h===33||h===63){if(f)return!0}else if(h===47||zt(h)){if(h===47){if(y=e.src.slice(k,T).match(cr),!y)return!1}else if(y=e.src.slice(k,T).match(he),!y)return!1;if(Ue[y[1].toLowerCase()]!==!0)return!1;if(f)return!0}else return!1;for(w=u+1;w<e.lineMax&&!e.isEmpty(w);)w++;return e.line=w,e.tokens.push({type:"htmlblock",level:e.level,lines:[u,e.line],content:e.getLines(u,w,0,!0)}),!0}function Ke(e,u){var o=e.bMarks[u]+e.blkIndent,f=e.eMarks[u];return e.src.substr(o,f-o)}function Ar(e,u,o,f){var h,y,w,k,T,O,R,H,J,Q,ne;if(u+2>o||(T=u+1,e.tShift[T]<e.blkIndent)||(w=e.bMarks[T]+e.tShift[T],w>=e.eMarks[T])||(h=e.src.charCodeAt(w),h!==124&&h!==45&&h!==58)||(y=Ke(e,u+1),!/^[-:| ]+$/.test(y))||(O=y.split("|"),O<=2))return!1;for(H=[],k=0;k<O.length;k++){if(J=O[k].trim(),!J){if(k===0||k===O.length-1)continue;return!1}if(!/^:?-+:?$/.test(J))return!1;J.charCodeAt(J.length-1)===58?H.push(J.charCodeAt(0)===58?"center":"right"):J.charCodeAt(0)===58?H.push("left"):H.push("")}if(y=Ke(e,u).trim(),y.indexOf("|")===-1||(O=y.replace(/^\||\|$/g,"").split("|"),H.length!==O.length))return!1;if(f)return!0;for(e.tokens.push({type:"table_open",lines:Q=[u,0],level:e.level++}),e.tokens.push({type:"thead_open",lines:[u,u+1],level:e.level++}),e.tokens.push({type:"tr_open",lines:[u,u+1],level:e.level++}),k=0;k<O.length;k++)e.tokens.push({type:"th_open",align:H[k],lines:[u,u+1],level:e.level++}),e.tokens.push({type:"inline",content:O[k].trim(),lines:[u,u+1],level:e.level,children:[]}),e.tokens.push({type:"th_close",level:--e.level});for(e.tokens.push({type:"tr_close",level:--e.level}),e.tokens.push({type:"thead_close",level:--e.level}),e.tokens.push({type:"tbody_open",lines:ne=[u+2,0],level:e.level++}),T=u+2;T<o&&!(e.tShift[T]<e.blkIndent||(y=Ke(e,T).trim(),y.indexOf("|")===-1));T++){for(O=y.replace(/^\||\|$/g,"").split("|"),e.tokens.push({type:"tr_open",level:e.level++}),k=0;k<O.length;k++)e.tokens.push({type:"td_open",align:H[k],level:e.level++}),R=O[k].substring(O[k].charCodeAt(0)===124?1:0,O[k].charCodeAt(O[k].length-1)===124?O[k].length-1:O[k].length).trim(),e.tokens.push({type:"inline",content:R,level:e.level,children:[]}),e.tokens.push({type:"td_close",level:--e.level});e.tokens.push({type:"tr_close",level:--e.level})}return e.tokens.push({type:"tbody_close",level:--e.level}),e.tokens.push({type:"table_close",level:--e.level}),Q[1]=ne[1]=T,e.line=T,!0}function bt(e,u){var o,f,h=e.bMarks[u]+e.tShift[u],y=e.eMarks[u];return h>=y||(f=e.src.charCodeAt(h++),f!==126&&f!==58)||(o=e.skipSpaces(h),h===o)||o>=y?-1:o}function F(e,u){var o,f,h=e.level+2;for(o=u+2,f=e.tokens.length-2;o<f;o++)e.tokens[o].level===h&&e.tokens[o].type==="paragraph_open"&&(e.tokens[o+2].tight=!0,e.tokens[o].tight=!0,o+=2)}function Qr(e,u,o,f){var h,y,w,k,T,O,R,H,J,Q,ne,se,xe,Me;if(f)return e.ddIndent<0?!1:bt(e,u)>=0;if(R=u+1,e.isEmpty(R)&&++R>o||e.tShift[R]<e.blkIndent||(h=bt(e,R),h<0)||e.level>=e.options.maxNesting)return!1;O=e.tokens.length,e.tokens.push({type:"dl_open",lines:T=[u,0],level:e.level++}),w=u,y=R;e:for(;;){for(Me=!0,xe=!1,e.tokens.push({type:"dt_open",lines:[w,w],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(w,w+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[w,w],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:k=[R,0],level:e.level++}),se=e.tight,J=e.ddIndent,H=e.blkIndent,ne=e.tShift[y],Q=e.parentType,e.blkIndent=e.ddIndent=e.tShift[y]+2,e.tShift[y]=h-e.bMarks[y],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,y,o,!0),(!e.tight||xe)&&(Me=!1),xe=e.line-y>1&&e.isEmpty(e.line-1),e.tShift[y]=ne,e.tight=se,e.parentType=Q,e.blkIndent=H,e.ddIndent=J,e.tokens.push({type:"dd_close",level:--e.level}),k[1]=R=e.line,R>=o||e.tShift[R]<e.blkIndent)break e;if(h=bt(e,R),h<0)break;y=R}if(R>=o||(w=R,e.isEmpty(w))||e.tShift[w]<e.blkIndent||(y=w+1,y>=o)||(e.isEmpty(y)&&y++,y>=o)||e.tShift[y]<e.blkIndent||(h=bt(e,y),h<0))break}return e.tokens.push({type:"dl_close",level:--e.level}),T[1]=R,e.line=R,Me&&F(e,O),!0}function L(e,u){var o,f,h,y,w,k=u+1,T;if(o=e.lineMax,k<o&&!e.isEmpty(k)){for(T=e.parser.ruler.getRules("paragraph");k<o&&!e.isEmpty(k);k++)if(!(e.tShift[k]-e.blkIndent>3)){for(h=!1,y=0,w=T.length;y<w;y++)if(T[y](e,k,o,!0)){h=!0;break}if(h)break}}return f=e.getLines(u,k,e.blkIndent,!1).trim(),e.line=k,f.length&&(e.tokens.push({type:"paragraph_open",tight:!1,lines:[u,e.line],level:e.level}),e.tokens.push({type:"inline",content:f,level:e.level+1,lines:[u,e.line],children:[]}),e.tokens.push({type:"paragraph_close",tight:!1,level:e.level})),!0}var Zt=[["code",pi],["fences",eu,["paragraph","blockquote","list"]],["blockquote",ru,["paragraph","blockquote","list"]],["hr",tu,["paragraph","blockquote","list"]],["list",g,["paragraph","blockquote"]],["footnote",ee,["paragraph"]],["heading",S,["paragraph","blockquote"]],["lheading",_],["htmlblock",ye,["paragraph","blockquote"]],["table",Ar,["paragraph"]],["deflist",Qr,["paragraph"]],["paragraph",L]];function A0(){this.ruler=new gr;for(var e=0;e<Zt.length;e++)this.ruler.push(Zt[e][0],Zt[e][1],{alt:(Zt[e][2]||[]).slice()})}A0.prototype.tokenize=function(e,u,o){for(var f=this.ruler.getRules(""),h=f.length,y=u,w=!1,k,T;y<o&&(e.line=y=e.skipEmptyLines(y),!(y>=o||e.tShift[y]<e.blkIndent));){for(T=0;T<h&&(k=f[T](e,y,o,!1),!k);T++);if(e.tight=!w,e.isEmpty(e.line-1)&&(w=!0),y=e.line,y<o&&e.isEmpty(y)){if(w=!0,y++,y<o&&e.parentType==="list"&&e.isEmpty(y))break;e.line=y}}};var hn=/[\n\t]/g,di=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,mi=/\u00a0/g;A0.prototype.parse=function(e,u,o,f){var h,y=0,w=0;if(!e)return[];e=e.replace(mi," "),e=e.replace(di,`
`),e.indexOf(" ")>=0&&(e=e.replace(hn,function(k,T){var O;return e.charCodeAt(T)===10?(y=T+1,w=0,k):(O=" ".slice((T-y-w)%4),w=T-y+1,O)})),h=new Jr(e,this,u,o,f),this.tokenize(h,h.line,h.lineMax)};function fn(e){switch(e){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}function vi(e,u){for(var o=e.pos;o<e.posMax&&!fn(e.src.charCodeAt(o));)o++;return o===e.pos?!1:(u||(e.pending+=e.src.slice(e.pos,o)),e.pos=o,!0)}function k0(e,u){var o,f,h=e.pos;if(e.src.charCodeAt(h)!==10)return!1;if(o=e.pending.length-1,f=e.posMax,!u)if(o>=0&&e.pending.charCodeAt(o)===32)if(o>=1&&e.pending.charCodeAt(o-1)===32){for(var y=o-2;y>=0;y--)if(e.pending.charCodeAt(y)!==32){e.pending=e.pending.substring(0,y+1);break}e.push({type:"hardbreak",level:e.level})}else e.pending=e.pending.slice(0,-1),e.push({type:"softbreak",level:e.level});else e.push({type:"softbreak",level:e.level});for(h++;h<f&&e.src.charCodeAt(h)===32;)h++;return e.pos=h,!0}for(var Jt=[],Qt=0;Qt<256;Qt++)Jt.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){Jt[e.charCodeAt(0)]=1});function Ae(e,u){var o,f=e.pos,h=e.posMax;if(e.src.charCodeAt(f)!==92)return!1;if(f++,f<h){if(o=e.src.charCodeAt(f),o<256&&Jt[o]!==0)return u||(e.pending+=e.src[f]),e.pos+=2,!0;if(o===10){for(u||e.push({type:"hardbreak",level:e.level}),f++;f<h&&e.src.charCodeAt(f)===32;)f++;return e.pos=f,!0}}return u||(e.pending+="\\"),e.pos++,!0}function hr(e,u){var o,f,h,y,w,k=e.pos,T=e.src.charCodeAt(k);if(T!==96)return!1;for(o=k,k++,f=e.posMax;k<f&&e.src.charCodeAt(k)===96;)k++;for(h=e.src.slice(o,k),y=w=k;(y=e.src.indexOf("`",w))!==-1;){for(w=y+1;w<f&&e.src.charCodeAt(w)===96;)w++;if(w-y===h.length)return u||e.push({type:"code",content:e.src.slice(k,y).replace(/[ \n]+/g," ").trim(),block:!1,level:e.level}),e.pos=w,!0}return u||(e.pending+=h),e.pos+=h.length,!0}function Ze(e,u){var o,f,h,y=e.posMax,w=e.pos,k,T;if(e.src.charCodeAt(w)!==126||u||w+4>=y||e.src.charCodeAt(w+1)!==126||e.level>=e.options.maxNesting||(k=w>0?e.src.charCodeAt(w-1):-1,T=e.src.charCodeAt(w+2),k===126)||T===126||T===32||T===10)return!1;for(f=w+2;f<y&&e.src.charCodeAt(f)===126;)f++;if(f>w+3)return e.pos+=f-w,u||(e.pending+=e.src.slice(w,f)),!0;for(e.pos=w+2,h=1;e.pos+1<y;){if(e.src.charCodeAt(e.pos)===126&&e.src.charCodeAt(e.pos+1)===126&&(k=e.src.charCodeAt(e.pos-1),T=e.pos+2<y?e.src.charCodeAt(e.pos+2):-1,T!==126&&k!==126&&(k!==32&&k!==10?h--:T!==32&&T!==10&&h++,h<=0))){o=!0;break}e.parser.skipToken(e)}return o?(e.posMax=e.pos,e.pos=w+2,u||(e.push({type:"del_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"del_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=y,!0):(e.pos=w,!1)}function wt(e,u){var o,f,h,y=e.posMax,w=e.pos,k,T;if(e.src.charCodeAt(w)!==43||u||w+4>=y||e.src.charCodeAt(w+1)!==43||e.level>=e.options.maxNesting||(k=w>0?e.src.charCodeAt(w-1):-1,T=e.src.charCodeAt(w+2),k===43)||T===43||T===32||T===10)return!1;for(f=w+2;f<y&&e.src.charCodeAt(f)===43;)f++;if(f!==w+2)return e.pos+=f-w,u||(e.pending+=e.src.slice(w,f)),!0;for(e.pos=w+2,h=1;e.pos+1<y;){if(e.src.charCodeAt(e.pos)===43&&e.src.charCodeAt(e.pos+1)===43&&(k=e.src.charCodeAt(e.pos-1),T=e.pos+2<y?e.src.charCodeAt(e.pos+2):-1,T!==43&&k!==43&&(k!==32&&k!==10?h--:T!==32&&T!==10&&h++,h<=0))){o=!0;break}e.parser.skipToken(e)}return o?(e.posMax=e.pos,e.pos=w+2,u||(e.push({type:"ins_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"ins_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=y,!0):(e.pos=w,!1)}function at(e,u){var o,f,h,y=e.posMax,w=e.pos,k,T;if(e.src.charCodeAt(w)!==61||u||w+4>=y||e.src.charCodeAt(w+1)!==61||e.level>=e.options.maxNesting||(k=w>0?e.src.charCodeAt(w-1):-1,T=e.src.charCodeAt(w+2),k===61)||T===61||T===32||T===10)return!1;for(f=w+2;f<y&&e.src.charCodeAt(f)===61;)f++;if(f!==w+2)return e.pos+=f-w,u||(e.pending+=e.src.slice(w,f)),!0;for(e.pos=w+2,h=1;e.pos+1<y;){if(e.src.charCodeAt(e.pos)===61&&e.src.charCodeAt(e.pos+1)===61&&(k=e.src.charCodeAt(e.pos-1),T=e.pos+2<y?e.src.charCodeAt(e.pos+2):-1,T!==61&&k!==61&&(k!==32&&k!==10?h--:T!==32&&T!==10&&h++,h<=0))){o=!0;break}e.parser.skipToken(e)}return o?(e.posMax=e.pos,e.pos=w+2,u||(e.push({type:"mark_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"mark_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=y,!0):(e.pos=w,!1)}function S0(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function C0(e,u){var o=u,f,h,y,w=!0,k=!0,T=e.posMax,O=e.src.charCodeAt(u);for(f=u>0?e.src.charCodeAt(u-1):-1;o<T&&e.src.charCodeAt(o)===O;)o++;return o>=T&&(w=!1),y=o-u,y>=4?w=k=!1:(h=o<T?e.src.charCodeAt(o):-1,(h===32||h===10)&&(w=!1),(f===32||f===10)&&(k=!1),O===95&&(S0(f)&&(w=!1),S0(h)&&(k=!1))),{can_open:w,can_close:k,delims:y}}function D0(e,u){var o,f,h,y,w,k,T,O=e.posMax,R=e.pos,H=e.src.charCodeAt(R);if(H!==95&&H!==42||u)return!1;if(T=C0(e,R),o=T.delims,!T.can_open)return e.pos+=o,u||(e.pending+=e.src.slice(R,e.pos)),!0;if(e.level>=e.options.maxNesting)return!1;for(e.pos=R+o,k=[o];e.pos<O;){if(e.src.charCodeAt(e.pos)===H){if(T=C0(e,e.pos),f=T.delims,T.can_close){for(y=k.pop(),w=f;y!==w;){if(w<y){k.push(y-w);break}if(w-=y,k.length===0)break;e.pos+=y,y=k.pop()}if(k.length===0){o=y,h=!0;break}e.pos+=f;continue}T.can_open&&k.push(f),e.pos+=f;continue}e.parser.skipToken(e)}return h?(e.posMax=e.pos,e.pos=R+o,u||((o===2||o===3)&&e.push({type:"strong_open",level:e.level++}),(o===1||o===3)&&e.push({type:"em_open",level:e.level++}),e.parser.tokenize(e),(o===1||o===3)&&e.push({type:"em_close",level:--e.level}),(o===2||o===3)&&e.push({type:"strong_close",level:--e.level})),e.pos=e.posMax+o,e.posMax=O,!0):(e.pos=R,!1)}var E0=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function gi(e,u){var o,f,h=e.posMax,y=e.pos;if(e.src.charCodeAt(y)!==126||u||y+2>=h||e.level>=e.options.maxNesting)return!1;for(e.pos=y+1;e.pos<h;){if(e.src.charCodeAt(e.pos)===126){o=!0;break}e.parser.skipToken(e)}return!o||y+1===e.pos||(f=e.src.slice(y+1,e.pos),f.match(/(^|[^\\])(\\\\)*\s/))?(e.pos=y,!1):(e.posMax=e.pos,e.pos=y+1,u||e.push({type:"sub",level:e.level,content:f.replace(E0,"$1")}),e.pos=e.posMax+1,e.posMax=h,!0)}var nu=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function B0(e,u){var o,f,h=e.posMax,y=e.pos;if(e.src.charCodeAt(y)!==94||u||y+2>=h||e.level>=e.options.maxNesting)return!1;for(e.pos=y+1;e.pos<h;){if(e.src.charCodeAt(e.pos)===94){o=!0;break}e.parser.skipToken(e)}return!o||y+1===e.pos||(f=e.src.slice(y+1,e.pos),f.match(/(^|[^\\])(\\\\)*\s/))?(e.pos=y,!1):(e.posMax=e.pos,e.pos=y+1,u||e.push({type:"sup",level:e.level,content:f.replace(nu,"$1")}),e.pos=e.posMax+1,e.posMax=h,!0)}function Pr(e,u){var o,f,h,y,w,k,T,O,R=!1,H=e.pos,J=e.posMax,Q=e.pos,ne=e.src.charCodeAt(Q);if(ne===33&&(R=!0,ne=e.src.charCodeAt(++Q)),ne!==91||e.level>=e.options.maxNesting||(o=Q+1,f=yr(e,Q),f<0))return!1;if(k=f+1,k<J&&e.src.charCodeAt(k)===40){for(k++;k<J&&(O=e.src.charCodeAt(k),!(O!==32&&O!==10));k++);if(k>=J)return!1;for(Q=k,x0(e,k)?(y=e.linkContent,k=e.pos):y="",Q=k;k<J&&(O=e.src.charCodeAt(k),!(O!==32&&O!==10));k++);if(k<J&&Q!==k&&b0(e,k))for(w=e.linkContent,k=e.pos;k<J&&(O=e.src.charCodeAt(k),!(O!==32&&O!==10));k++);else w="";if(k>=J||e.src.charCodeAt(k)!==41)return e.pos=H,!1;k++}else{if(e.linkLevel>0)return!1;for(;k<J&&(O=e.src.charCodeAt(k),!(O!==32&&O!==10));k++);if(k<J&&e.src.charCodeAt(k)===91&&(Q=k+1,k=yr(e,k),k>=0?h=e.src.slice(Q,k++):k=Q-1),h||(typeof h>"u"&&(k=f+1),h=e.src.slice(o,f)),T=e.env.references[ii(h)],!T)return e.pos=H,!1;y=T.href,w=T.title}return u||(e.pos=o,e.posMax=f,R?e.push({type:"image",src:y,title:w,alt:e.src.substr(o,f-o),level:e.level}):(e.push({type:"link_open",href:y,title:w,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=k,e.posMax=J,!0}function iu(e,u){var o,f,h,y,w=e.posMax,k=e.pos;return k+2>=w||e.src.charCodeAt(k)!==94||e.src.charCodeAt(k+1)!==91||e.level>=e.options.maxNesting||(o=k+2,f=yr(e,k+1),f<0)?!1:(u||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),h=e.env.footnotes.list.length,e.pos=o,e.posMax=f,e.push({type:"footnote_ref",id:h,level:e.level}),e.linkLevel++,y=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[h]={tokens:e.tokens.splice(y)},e.linkLevel--),e.pos=f+1,e.posMax=w,!0)}function au(e,u){var o,f,h,y,w=e.posMax,k=e.pos;if(k+3>w||!e.env.footnotes||!e.env.footnotes.refs||e.src.charCodeAt(k)!==91||e.src.charCodeAt(k+1)!==94||e.level>=e.options.maxNesting)return!1;for(f=k+2;f<w;f++){if(e.src.charCodeAt(f)===32||e.src.charCodeAt(f)===10)return!1;if(e.src.charCodeAt(f)===93)break}return f===k+2||f>=w||(f++,o=e.src.slice(k+2,f-1),typeof e.env.footnotes.refs[":"+o]>"u")?!1:(u||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+o]<0?(h=e.env.footnotes.list.length,e.env.footnotes.list[h]={label:o,count:0},e.env.footnotes.refs[":"+o]=h):h=e.env.footnotes.refs[":"+o],y=e.env.footnotes.list[h].count,e.env.footnotes.list[h].count++,e.push({type:"footnote_ref",id:h,subId:y,level:e.level})),e.pos=f,e.posMax=w,!0)}var uu=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],lu=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,ou=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function pn(e,u){var o,f,h,y,w,k=e.pos;return e.src.charCodeAt(k)!==60||(o=e.src.slice(k),o.indexOf(">")<0)?!1:(f=o.match(ou),f?uu.indexOf(f[1].toLowerCase())<0||(y=f[0].slice(1,-1),w=sn(y),!e.parser.validateLink(y))?!1:(u||(e.push({type:"link_open",href:w,level:e.level}),e.push({type:"text",content:y,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=f[0].length,!0):(h=o.match(lu),h?(y=h[0].slice(1,-1),w=sn("mailto:"+y),e.parser.validateLink(w)?(u||(e.push({type:"link_open",href:w,level:e.level}),e.push({type:"text",content:y,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=h[0].length,!0):!1):!1))}function lr(e,u){return e=e.source,u=u||"",function o(f,h){return f?(h=h.source||h,e=e.replace(f,h),o):new RegExp(e,u)}}var yi=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,su=/[^"'=<>`\x00-\x20]+/,cu=/'[^']*'/,xi=/"[^"]*"/,hu=lr(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",su)("single_quoted",cu)("double_quoted",xi)(),fu=lr(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",yi)("attr_value",hu)(),pu=lr(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",fu)(),du=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,M0=/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/,bi=/<[?].*?[?]>/,wi=/<![A-Z]+\s+[^>]*>/,mu=/<!\[CDATA\[[\s\S]*?\]\]>/,$=lr(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",pu)("close_tag",du)("comment",M0)("processing",bi)("declaration",wi)("cdata",mu)();function Ye(e){var u=e|32;return u>=97&&u<=122}function At(e,u){var o,f,h,y=e.pos;return!e.options.html||(h=e.posMax,e.src.charCodeAt(y)!==60||y+2>=h)||(o=e.src.charCodeAt(y+1),o!==33&&o!==63&&o!==47&&!Ye(o))||(f=e.src.slice(y).match($),!f)?!1:(u||e.push({type:"htmltag",content:e.src.slice(y,y+f[0].length),level:e.level}),e.pos+=f[0].length,!0)}var et=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,vu=/^&([a-z][a-z0-9]{1,31});/i;function gu(e,u){var o,f,h,y=e.pos,w=e.posMax;if(e.src.charCodeAt(y)!==38)return!1;if(y+1<w){if(o=e.src.charCodeAt(y+1),o===35){if(h=e.src.slice(y).match(et),h)return u||(f=h[1][0].toLowerCase()==="x"?parseInt(h[1].slice(1),16):parseInt(h[1],10),e.pending+=ue(f)?Le(f):Le(65533)),e.pos+=h[0].length,!0}else if(h=e.src.slice(y).match(vu),h){var k=ce(h[1]);if(h[1]!==k)return u||(e.pending+=k),e.pos+=h[0].length,!0}}return u||(e.pending+="&"),e.pos++,!0}var T0=[["text",vi],["newline",k0],["escape",Ae],["backticks",hr],["del",Ze],["ins",wt],["mark",at],["emphasis",D0],["sub",gi],["sup",B0],["links",Pr],["footnote_inline",iu],["footnote_ref",au],["autolink",pn],["htmltag",At],["entity",gu]];function kt(){this.ruler=new gr;for(var e=0;e<T0.length;e++)this.ruler.push(T0[e][0],T0[e][1]);this.validateLink=_0}kt.prototype.skipToken=function(e){var u=this.ruler.getRules(""),o=u.length,f=e.pos,h,y;if((y=e.cacheGet(f))>0){e.pos=y;return}for(h=0;h<o;h++)if(u[h](e,!0)){e.cacheSet(f,e.pos);return}e.pos++,e.cacheSet(f,e.pos)},kt.prototype.tokenize=function(e){for(var u=this.ruler.getRules(""),o=u.length,f=e.posMax,h,y;e.pos<f;){for(y=0;y<o&&(h=u[y](e,!1),!h);y++);if(h){if(e.pos>=f)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},kt.prototype.parse=function(e,u,o,f){var h=new Or(e,this,u,o,f);this.tokenize(h)};function _0(e){var u=["vbscript","javascript","file","data"],o=e.trim().toLowerCase();return o=We(o),!(o.indexOf(":")!==-1&&u.indexOf(o.split(":")[0])!==-1)}var oe={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},St={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},z0={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}},er={default:oe,full:St,commonmark:z0};function Yr(e,u,o){this.src=u,this.env=o,this.options=e.options,this.tokens=[],this.inlineMode=!1,this.inline=e.inline,this.block=e.block,this.renderer=e.renderer,this.typographer=e.typographer}function ut(e,u){typeof e!="string"&&(u=e,e="default"),u&&u.linkify!=null&&console.warn(`linkify option is removed. Use linkify plugin instead:
import Remarkable from 'remarkable';
import linkify from 'remarkable/linkify';
new Remarkable().use(linkify)
`),this.inline=new kt,this.block=new A0,this.core=new Zr,this.renderer=new on,this.ruler=new gr,this.options={},this.configure(er[e]),this.set(u||{})}ut.prototype.set=function(e){Se(this.options,e)},ut.prototype.configure=function(e){var u=this;if(!e)throw new Error("Wrong `remarkable` preset, check name/content");e.options&&u.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&u[o].ruler.enable(e.components[o].rules,!0)})},ut.prototype.use=function(e,u){return e(this,u),this},ut.prototype.parse=function(e,u){var o=new Yr(this,e,u);return this.core.process(o),o.tokens},ut.prototype.render=function(e,u){return u=u||{},this.renderer.render(this.parse(e,u),this.options,u)},ut.prototype.parseInline=function(e,u){var o=new Yr(this,e,u);return o.inlineMode=!0,this.core.process(o),o.tokens},ut.prototype.renderInline=function(e,u){return u=u||{},this.renderer.render(this.parseInline(e,u),this.options,u)};var yu=(e,u)=>{const o="\\",f="$",y=(u||{}).delimiter||f;if(y.length!==1)throw new Error("invalid delimiter");const w=b,k=(R,H)=>w.renderToString(R,{displayMode:H,throwOnError:!1}),T=(R,H,J)=>{let Q=!1,ne=R.bMarks[H]+R.tShift[H],se=R.eMarks[H];if(ne+1>se)return!1;const xe=R.src.charAt(ne);if(xe!==y)return!1;let Me=ne;ne=R.skipChars(ne,xe);let Te=ne-Me;if(Te!==2)return!1;let br=H;for(;++br,!(br>=J||(ne=Me=R.bMarks[br]+R.tShift[br],se=R.eMarks[br],ne<se&&R.tShift[br]<R.blkIndent));)if(R.src.charAt(ne)===y&&!(R.tShift[br]-R.blkIndent>=4)&&(ne=R.skipChars(ne,xe),!(ne-Me<Te)&&(ne=R.skipSpaces(ne),!(ne<se)))){Q=!0;break}Te=R.tShift[H],R.line=br+(Q?1:0);const tt=R.getLines(H+1,br,Te,!0).replace(/[ \n]+/g," ").trim();return R.tokens.push({type:"katex",params:null,content:tt,lines:[H,R.line],level:R.level,block:!0}),!0},O=(R,H)=>{const J=R.pos,Q=R.posMax;let ne=J;if(R.src.charAt(ne)!==y)return!1;for(++ne;ne<Q&&R.src.charAt(ne)===y;)++ne;const se=R.src.slice(J,ne);if(se.length>2)return!1;const xe=ne;let Me=0;for(;ne<Q;){const Te=R.src.charAt(ne);if(Te==="{"&&(ne==0||R.src.charAt(ne-1)!=o))Me+=1;else if(Te==="}"&&(ne==0||R.src.charAt(ne-1)!=o)){if(Me-=1,Me<0)return!1}else if(Te===y&&Me===0){const br=ne;let tt=ne+1;for(;tt<Q&&R.src.charAt(tt)===y;)++tt;if(tt-br===se.length){if(!H){const ka=R.src.slice(xe,br).replace(/[ \n]+/g," ").trim();R.push({type:"katex",content:ka,block:se.length>1,level:R.level})}return R.pos=tt,!0}}ne+=1}return H||(R.pending+=se),R.pos+=se.length,!0};e.inline.ruler.push("katex",O,u),e.block.ruler.push("katex",T,u),e.renderer.rules.katex=(R,H)=>k(R[H].content,R[H].block),e.renderer.rules.katex.delimiter=y},e0={versions:{katex:"0.16.0",webfontloader:"1.6.28"},preloadScripts:[{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.js"}}],scripts:[{type:"iife",data:{fn:e=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{e().refreshHook.call()}}},getParams({getMarkmap:e}){return[e]}}},{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/webfontloader@1.6.28/webfontloader.js",defer:!0}}],styles:[{type:"stylesheet",data:{href:"https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css"}}]};const rr="https://cdn.jsdelivr.net/npm/";function Ai(e,u,o){return e.map(f=>(typeof f=="string"&&(f.startsWith(`${u}/`)?f=`${rr}${u}@${o}${f.slice(u.length)}`:f.startsWith(`${u}@`)&&(f=`${rr}${f}`)),f))}function ki(){return{parser:new B,beforeParse:new B,afterParse:new B,htmltag:new B,retransform:new B}}function Fl(e){return e}let r0;const t0=()=>(r0||(r0=ur(e0.preloadScripts)),r0),Fe="katex";var F0={name:Fe,config:e0,transform(e){const u=(f,h)=>{const{katex:y}=window;return y?y.renderToString(f,{displayMode:h,throwOnError:!1}):(t0().then(()=>{e.retransform.call()}),f)};let o=()=>{};return e.parser.tap(f=>{f.use(yu),f.renderer.rules.katex=(h,y)=>(o(),u(h[y].content,h[y].block))}),e.beforeParse.tap((f,h)=>{o=()=>{h.features[Fe]=!0}}),e.afterParse.tap((f,h)=>{const{frontmatter:y}=h;y!=null&&y.markmap&&["extraJs","extraCss"].forEach(w=>{y.markmap[w]&&(y.markmap[w]=Ai(y.markmap[w],Fe,e0.versions.katex))})}),{styles:e0.styles,scripts:e0.scripts}}},n0={versions:{prismjs:"1.28.0"},preloadScripts:[{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/components/prism-core.min.js"}},{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/plugins/autoloader/prism-autoloader.min.js"}}],styles:[{type:"stylesheet",data:{href:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/themes/prism.css"}}]};let N0;const _r=()=>(N0||(N0=ur(n0.preloadScripts)),N0);function i0(e,u){_r().then(()=>{window.Prism.plugins.autoloader.loadLanguages([e],()=>{u.retransform.call()})})}const Si="prism";var te={name:Si,config:n0,transform(e){let u=()=>{};return e.parser.tap(o=>{o.set({highlight:(f,h)=>{var y;u();const{Prism:w}=window,k=w==null||(y=w.languages)==null?void 0:y[h];return k?w.highlight(f,k,h):(i0(h,e),"")}})}),e.beforeParse.tap((o,f)=>{u=()=>{f.features[Si]=!0}}),{styles:n0.styles}}};/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function kr(e){return typeof e>"u"||e===null}function dn(e){return typeof e=="object"&&e!==null}function mn(e){return Array.isArray(e)?e:kr(e)?[]:[e]}function xr(e,u){var o,f,h,y;if(u)for(y=Object.keys(u),o=0,f=y.length;o<f;o+=1)h=y[o],e[h]=u[h];return e}function lt(e,u){var o="",f;for(f=0;f<u;f+=1)o+=e;return o}function Pe(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var Ci=kr,Di=dn,Ei=mn,xu=lt,bu=Pe,wu=xr,nr={isNothing:Ci,isObject:Di,toArray:Ei,repeat:xu,isNegativeZero:bu,extend:wu};function Bi(e,u){var o="",f=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(o+='in "'+e.mark.name+'" '),o+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!u&&e.mark.snippet&&(o+=`
`+e.mark.snippet),f+" "+o):f}function a0(e,u){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=u,this.message=Bi(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}a0.prototype=Object.create(Error.prototype),a0.prototype.constructor=a0,a0.prototype.toString=function(u){return this.name+": "+Bi(this,u)};var fr=a0;function vn(e,u,o,f,h){var y="",w="",k=Math.floor(h/2)-1;return f-u>k&&(y=" ... ",u=f-k+y.length),o-f>k&&(w=" ...",o=f+k-w.length),{str:y+e.slice(u,o).replace(/\t/g,"→")+w,pos:f-u+y.length}}function Hr(e,u){return nr.repeat(" ",u-e.length)+e}function Be(e,u){if(u=Object.create(u||null),!e.buffer)return null;u.maxLength||(u.maxLength=79),typeof u.indent!="number"&&(u.indent=1),typeof u.linesBefore!="number"&&(u.linesBefore=3),typeof u.linesAfter!="number"&&(u.linesAfter=2);for(var o=/\r?\n|\r|\0/g,f=[0],h=[],y,w=-1;y=o.exec(e.buffer);)h.push(y.index),f.push(y.index+y[0].length),e.position<=y.index&&w<0&&(w=f.length-2);w<0&&(w=f.length-1);var k="",T,O,R=Math.min(e.line+u.linesAfter,h.length).toString().length,H=u.maxLength-(u.indent+R+3);for(T=1;T<=u.linesBefore&&!(w-T<0);T++)O=vn(e.buffer,f[w-T],h[w-T],e.position-(f[w]-f[w-T]),H),k=nr.repeat(" ",u.indent)+Hr((e.line-T+1).toString(),R)+" | "+O.str+`
`+k;for(O=vn(e.buffer,f[w],h[w],e.position,H),k+=nr.repeat(" ",u.indent)+Hr((e.line+1).toString(),R)+" | "+O.str+`
`,k+=nr.repeat("-",u.indent+R+3+O.pos)+`^
`,T=1;T<=u.linesAfter&&!(w+T>=h.length);T++)O=vn(e.buffer,f[w+T],h[w+T],e.position-(f[w]-f[w+T]),H),k+=nr.repeat(" ",u.indent)+Hr((e.line+T+1).toString(),R)+" | "+O.str+`
`;return k.replace(/\n$/,"")}var gn=Be,q0=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],yn=["scalar","sequence","mapping"];function Mi(e){var u={};return e!==null&&Object.keys(e).forEach(function(o){e[o].forEach(function(f){u[String(f)]=o})}),u}function Au(e,u){if(u=u||{},Object.keys(u).forEach(function(o){if(q0.indexOf(o)===-1)throw new fr('Unknown option "'+o+'" is met in definition of "'+e+'" YAML type.')}),this.options=u,this.tag=e,this.kind=u.kind||null,this.resolve=u.resolve||function(){return!0},this.construct=u.construct||function(o){return o},this.instanceOf=u.instanceOf||null,this.predicate=u.predicate||null,this.represent=u.represent||null,this.representName=u.representName||null,this.defaultStyle=u.defaultStyle||null,this.multi=u.multi||!1,this.styleAliases=Mi(u.styleAliases||null),yn.indexOf(this.kind)===-1)throw new fr('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var tr=Au;function Ti(e,u){var o=[];return e[u].forEach(function(f){var h=o.length;o.forEach(function(y,w){y.tag===f.tag&&y.kind===f.kind&&y.multi===f.multi&&(h=w)}),o[h]=f}),o}function _i(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},u,o;function f(h){h.multi?(e.multi[h.kind].push(h),e.multi.fallback.push(h)):e[h.kind][h.tag]=e.fallback[h.tag]=h}for(u=0,o=arguments.length;u<o;u+=1)arguments[u].forEach(f);return e}function R0(e){return this.extend(e)}R0.prototype.extend=function(u){var o=[],f=[];if(u instanceof tr)f.push(u);else if(Array.isArray(u))f=f.concat(u);else if(u&&(Array.isArray(u.implicit)||Array.isArray(u.explicit)))u.implicit&&(o=o.concat(u.implicit)),u.explicit&&(f=f.concat(u.explicit));else throw new fr("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");o.forEach(function(y){if(!(y instanceof tr))throw new fr("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(y.loadKind&&y.loadKind!=="scalar")throw new fr("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(y.multi)throw new fr("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),f.forEach(function(y){if(!(y instanceof tr))throw new fr("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var h=Object.create(R0.prototype);return h.implicit=(this.implicit||[]).concat(o),h.explicit=(this.explicit||[]).concat(f),h.compiledImplicit=Ti(h,"implicit"),h.compiledExplicit=Ti(h,"explicit"),h.compiledTypeMap=_i(h.compiledImplicit,h.compiledExplicit),h};var u0=R0,zi=new tr("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),xn=new tr("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),bn=new tr("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),Fi=new u0({explicit:[zi,xn,bn]});function ku(e){if(e===null)return!0;var u=e.length;return u===1&&e==="~"||u===4&&(e==="null"||e==="Null"||e==="NULL")}function Su(){return null}function Ni(e){return e===null}var wn=new tr("tag:yaml.org,2002:null",{kind:"scalar",resolve:ku,construct:Su,predicate:Ni,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function An(e){if(e===null)return!1;var u=e.length;return u===4&&(e==="true"||e==="True"||e==="TRUE")||u===5&&(e==="false"||e==="False"||e==="FALSE")}function qi(e){return e==="true"||e==="True"||e==="TRUE"}function Cu(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var kn=new tr("tag:yaml.org,2002:bool",{kind:"scalar",resolve:An,construct:qi,predicate:Cu,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function l0(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function Sn(e){return 48<=e&&e<=55}function Ri(e){return 48<=e&&e<=57}function Du(e){if(e===null)return!1;var u=e.length,o=0,f=!1,h;if(!u)return!1;if(h=e[o],(h==="-"||h==="+")&&(h=e[++o]),h==="0"){if(o+1===u)return!0;if(h=e[++o],h==="b"){for(o++;o<u;o++)if(h=e[o],h!=="_"){if(h!=="0"&&h!=="1")return!1;f=!0}return f&&h!=="_"}if(h==="x"){for(o++;o<u;o++)if(h=e[o],h!=="_"){if(!l0(e.charCodeAt(o)))return!1;f=!0}return f&&h!=="_"}if(h==="o"){for(o++;o<u;o++)if(h=e[o],h!=="_"){if(!Sn(e.charCodeAt(o)))return!1;f=!0}return f&&h!=="_"}}if(h==="_")return!1;for(;o<u;o++)if(h=e[o],h!=="_"){if(!Ri(e.charCodeAt(o)))return!1;f=!0}return!(!f||h==="_")}function Eu(e){var u=e,o=1,f;if(u.indexOf("_")!==-1&&(u=u.replace(/_/g,"")),f=u[0],(f==="-"||f==="+")&&(f==="-"&&(o=-1),u=u.slice(1),f=u[0]),u==="0")return 0;if(f==="0"){if(u[1]==="b")return o*parseInt(u.slice(2),2);if(u[1]==="x")return o*parseInt(u.slice(2),16);if(u[1]==="o")return o*parseInt(u.slice(2),8)}return o*parseInt(u,10)}function Ii(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!nr.isNegativeZero(e)}var I0=new tr("tag:yaml.org,2002:int",{kind:"scalar",resolve:Du,construct:Eu,predicate:Ii,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Cn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Dn(e){return!(e===null||!Cn.test(e)||e[e.length-1]==="_")}function O0(e){var u,o;return u=e.replace(/_/g,"").toLowerCase(),o=u[0]==="-"?-1:1,"+-".indexOf(u[0])>=0&&(u=u.slice(1)),u===".inf"?o===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:u===".nan"?NaN:o*parseFloat(u,10)}var Bu=/^[-+]?[0-9]+e/;function Mu(e,u){var o;if(isNaN(e))switch(u){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(u){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(u){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(nr.isNegativeZero(e))return"-0.0";return o=e.toString(10),Bu.test(o)?o.replace("e",".e"):o}function Oi(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||nr.isNegativeZero(e))}var L0=new tr("tag:yaml.org,2002:float",{kind:"scalar",resolve:Dn,construct:O0,predicate:Oi,represent:Mu,defaultStyle:"lowercase"}),P0=Fi.extend({implicit:[wn,kn,I0,L0]}),H0=P0,Li=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),En=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Tu(e){return e===null?!1:Li.exec(e)!==null||En.exec(e)!==null}function Pi(e){var u,o,f,h,y,w,k,T=0,O=null,R,H,J;if(u=Li.exec(e),u===null&&(u=En.exec(e)),u===null)throw new Error("Date resolve error");if(o=+u[1],f=+u[2]-1,h=+u[3],!u[4])return new Date(Date.UTC(o,f,h));if(y=+u[4],w=+u[5],k=+u[6],u[7]){for(T=u[7].slice(0,3);T.length<3;)T+="0";T=+T}return u[9]&&(R=+u[10],H=+(u[11]||0),O=(R*60+H)*6e4,u[9]==="-"&&(O=-O)),J=new Date(Date.UTC(o,f,h,y,w,k,T)),O&&J.setTime(J.getTime()-O),J}function o0(e){return e.toISOString()}var Hi=new tr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Tu,construct:Pi,instanceOf:Date,represent:o0});function _u(e){return e==="<<"||e===null}var Ui=new tr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:_u}),U0=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function zu(e){if(e===null)return!1;var u,o,f=0,h=e.length,y=U0;for(o=0;o<h;o++)if(u=y.indexOf(e.charAt(o)),!(u>64)){if(u<0)return!1;f+=6}return f%8===0}function $i(e){var u,o,f=e.replace(/[\r\n=]/g,""),h=f.length,y=U0,w=0,k=[];for(u=0;u<h;u++)u%4===0&&u&&(k.push(w>>16&255),k.push(w>>8&255),k.push(w&255)),w=w<<6|y.indexOf(f.charAt(u));return o=h%4*6,o===0?(k.push(w>>16&255),k.push(w>>8&255),k.push(w&255)):o===18?(k.push(w>>10&255),k.push(w>>2&255)):o===12&&k.push(w>>4&255),new Uint8Array(k)}function Vi(e){var u="",o=0,f,h,y=e.length,w=U0;for(f=0;f<y;f++)f%3===0&&f&&(u+=w[o>>18&63],u+=w[o>>12&63],u+=w[o>>6&63],u+=w[o&63]),o=(o<<8)+e[f];return h=y%3,h===0?(u+=w[o>>18&63],u+=w[o>>12&63],u+=w[o>>6&63],u+=w[o&63]):h===2?(u+=w[o>>10&63],u+=w[o>>4&63],u+=w[o<<2&63],u+=w[64]):h===1&&(u+=w[o>>2&63],u+=w[o<<4&63],u+=w[64],u+=w[64]),u}function Fu(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var Xr=new tr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:zu,construct:$i,predicate:Fu,represent:Vi}),Gi=Object.prototype.hasOwnProperty,Nu=Object.prototype.toString;function $0(e){if(e===null)return!0;var u=[],o,f,h,y,w,k=e;for(o=0,f=k.length;o<f;o+=1){if(h=k[o],w=!1,Nu.call(h)!=="[object Object]")return!1;for(y in h)if(Gi.call(h,y))if(!w)w=!0;else return!1;if(!w)return!1;if(u.indexOf(y)===-1)u.push(y);else return!1}return!0}function ji(e){return e!==null?e:[]}var V0=new tr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:$0,construct:ji}),Bn=Object.prototype.toString;function Yi(e){if(e===null)return!0;var u,o,f,h,y,w=e;for(y=new Array(w.length),u=0,o=w.length;u<o;u+=1){if(f=w[u],Bn.call(f)!=="[object Object]"||(h=Object.keys(f),h.length!==1))return!1;y[u]=[h[0],f[h[0]]]}return!0}function Wr(e){if(e===null)return[];var u,o,f,h,y,w=e;for(y=new Array(w.length),u=0,o=w.length;u<o;u+=1)f=w[u],h=Object.keys(f),y[u]=[h[0],f[h[0]]];return y}var Mn=new tr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:Yi,construct:Wr}),E=Object.prototype.hasOwnProperty;function Ur(e){if(e===null)return!0;var u,o=e;for(u in o)if(E.call(o,u)&&o[u]!==null)return!1;return!0}function ot(e){return e!==null?e:{}}var Tn=new tr("tag:yaml.org,2002:set",{kind:"mapping",resolve:Ur,construct:ot}),Ft=H0.extend({implicit:[Hi,Ui],explicit:[Xr,V0,Mn,Tn]}),Kr=Object.prototype.hasOwnProperty,$r=1,G0=2,Vr=3,j0=4,zr=1,Xi=2,Wi=3,Ki=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Zi=/[\x85\u2028\u2029]/,Ji=/[,\[\]\{\}]/,_n=/^(?:!|!!|![a-z\-]+!)$/i,zn=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Y0(e){return Object.prototype.toString.call(e)}function Fr(e){return e===10||e===13}function st(e){return e===9||e===32}function pr(e){return e===9||e===32||e===10||e===13}function Ct(e){return e===44||e===91||e===93||e===123||e===125}function qu(e){var u;return 48<=e&&e<=57?e-48:(u=e|32,97<=u&&u<=102?u-97+10:-1)}function Fn(e){return e===120?2:e===117?4:e===85?8:0}function Qi(e){return 48<=e&&e<=57?e-48:-1}function Nn(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function ea(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}for(var Dt=new Array(256),Nt=new Array(256),qt=0;qt<256;qt++)Dt[qt]=Nn(qt)?1:0,Nt[qt]=Nn(qt);function Ru(e,u){this.input=e,this.filename=u.filename||null,this.schema=u.schema||Ft,this.onWarning=u.onWarning||null,this.legacy=u.legacy||!1,this.json=u.json||!1,this.listener=u.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function qn(e,u){var o={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return o.snippet=gn(o),new fr(u,o)}function me(e,u){throw qn(e,u)}function s0(e,u){e.onWarning&&e.onWarning.call(null,qn(e,u))}var Rn={YAML:function(u,o,f){var h,y,w;u.version!==null&&me(u,"duplication of %YAML directive"),f.length!==1&&me(u,"YAML directive accepts exactly one argument"),h=/^([0-9]+)\.([0-9]+)$/.exec(f[0]),h===null&&me(u,"ill-formed argument of the YAML directive"),y=parseInt(h[1],10),w=parseInt(h[2],10),y!==1&&me(u,"unacceptable YAML version of the document"),u.version=f[0],u.checkLineBreaks=w<2,w!==1&&w!==2&&s0(u,"unsupported YAML version of the document")},TAG:function(u,o,f){var h,y;f.length!==2&&me(u,"TAG directive accepts exactly two arguments"),h=f[0],y=f[1],_n.test(h)||me(u,"ill-formed tag handle (first argument) of the TAG directive"),Kr.call(u.tagMap,h)&&me(u,'there is a previously declared suffix for "'+h+'" tag handle'),zn.test(y)||me(u,"ill-formed tag prefix (second argument) of the TAG directive");try{y=decodeURIComponent(y)}catch{me(u,"tag prefix is malformed: "+y)}u.tagMap[h]=y}};function ct(e,u,o,f){var h,y,w,k;if(u<o){if(k=e.input.slice(u,o),f)for(h=0,y=k.length;h<y;h+=1)w=k.charCodeAt(h),w===9||32<=w&&w<=1114111||me(e,"expected valid JSON character");else Ki.test(k)&&me(e,"the stream contains non-printable characters");e.result+=k}}function In(e,u,o,f){var h,y,w,k;for(nr.isObject(o)||me(e,"cannot merge mappings; the provided source object is unacceptable"),h=Object.keys(o),w=0,k=h.length;w<k;w+=1)y=h[w],Kr.call(u,y)||(u[y]=o[y],f[y]=!0)}function Rt(e,u,o,f,h,y,w,k,T){var O,R;if(Array.isArray(h))for(h=Array.prototype.slice.call(h),O=0,R=h.length;O<R;O+=1)Array.isArray(h[O])&&me(e,"nested arrays are not supported inside keys"),typeof h=="object"&&Y0(h[O])==="[object Object]"&&(h[O]="[object Object]");if(typeof h=="object"&&Y0(h)==="[object Object]"&&(h="[object Object]"),h=String(h),u===null&&(u={}),f==="tag:yaml.org,2002:merge")if(Array.isArray(y))for(O=0,R=y.length;O<R;O+=1)In(e,u,y[O],o);else In(e,u,y,o);else!e.json&&!Kr.call(o,h)&&Kr.call(u,h)&&(e.line=w||e.line,e.lineStart=k||e.lineStart,e.position=T||e.position,me(e,"duplicated mapping key")),h==="__proto__"?Object.defineProperty(u,h,{configurable:!0,enumerable:!0,writable:!0,value:y}):u[h]=y,delete o[h];return u}function X0(e){var u;u=e.input.charCodeAt(e.position),u===10?e.position++:u===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):me(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function Je(e,u,o){for(var f=0,h=e.input.charCodeAt(e.position);h!==0;){for(;st(h);)h===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),h=e.input.charCodeAt(++e.position);if(u&&h===35)do h=e.input.charCodeAt(++e.position);while(h!==10&&h!==13&&h!==0);if(Fr(h))for(X0(e),h=e.input.charCodeAt(e.position),f++,e.lineIndent=0;h===32;)e.lineIndent++,h=e.input.charCodeAt(++e.position);else break}return o!==-1&&f!==0&&e.lineIndent<o&&s0(e,"deficient indentation"),f}function It(e){var u=e.position,o;return o=e.input.charCodeAt(u),!!((o===45||o===46)&&o===e.input.charCodeAt(u+1)&&o===e.input.charCodeAt(u+2)&&(u+=3,o=e.input.charCodeAt(u),o===0||pr(o)))}function W0(e,u){u===1?e.result+=" ":u>1&&(e.result+=nr.repeat(`
`,u-1))}function ra(e,u,o){var f,h,y,w,k,T,O,R,H=e.kind,J=e.result,Q;if(Q=e.input.charCodeAt(e.position),pr(Q)||Ct(Q)||Q===35||Q===38||Q===42||Q===33||Q===124||Q===62||Q===39||Q===34||Q===37||Q===64||Q===96||(Q===63||Q===45)&&(h=e.input.charCodeAt(e.position+1),pr(h)||o&&Ct(h)))return!1;for(e.kind="scalar",e.result="",y=w=e.position,k=!1;Q!==0;){if(Q===58){if(h=e.input.charCodeAt(e.position+1),pr(h)||o&&Ct(h))break}else if(Q===35){if(f=e.input.charCodeAt(e.position-1),pr(f))break}else{if(e.position===e.lineStart&&It(e)||o&&Ct(Q))break;if(Fr(Q))if(T=e.line,O=e.lineStart,R=e.lineIndent,Je(e,!1,-1),e.lineIndent>=u){k=!0,Q=e.input.charCodeAt(e.position);continue}else{e.position=w,e.line=T,e.lineStart=O,e.lineIndent=R;break}}k&&(ct(e,y,w,!1),W0(e,e.line-T),y=w=e.position,k=!1),st(Q)||(w=e.position+1),Q=e.input.charCodeAt(++e.position)}return ct(e,y,w,!1),e.result?!0:(e.kind=H,e.result=J,!1)}function ta(e,u){var o,f,h;if(o=e.input.charCodeAt(e.position),o!==39)return!1;for(e.kind="scalar",e.result="",e.position++,f=h=e.position;(o=e.input.charCodeAt(e.position))!==0;)if(o===39)if(ct(e,f,e.position,!0),o=e.input.charCodeAt(++e.position),o===39)f=e.position,e.position++,h=e.position;else return!0;else Fr(o)?(ct(e,f,h,!0),W0(e,Je(e,!1,u)),f=h=e.position):e.position===e.lineStart&&It(e)?me(e,"unexpected end of the document within a single quoted scalar"):(e.position++,h=e.position);me(e,"unexpected end of the stream within a single quoted scalar")}function Iu(e,u){var o,f,h,y,w,k;if(k=e.input.charCodeAt(e.position),k!==34)return!1;for(e.kind="scalar",e.result="",e.position++,o=f=e.position;(k=e.input.charCodeAt(e.position))!==0;){if(k===34)return ct(e,o,e.position,!0),e.position++,!0;if(k===92){if(ct(e,o,e.position,!0),k=e.input.charCodeAt(++e.position),Fr(k))Je(e,!1,u);else if(k<256&&Dt[k])e.result+=Nt[k],e.position++;else if((w=Fn(k))>0){for(h=w,y=0;h>0;h--)k=e.input.charCodeAt(++e.position),(w=qu(k))>=0?y=(y<<4)+w:me(e,"expected hexadecimal character");e.result+=ea(y),e.position++}else me(e,"unknown escape sequence");o=f=e.position}else Fr(k)?(ct(e,o,f,!0),W0(e,Je(e,!1,u)),o=f=e.position):e.position===e.lineStart&&It(e)?me(e,"unexpected end of the document within a double quoted scalar"):(e.position++,f=e.position)}me(e,"unexpected end of the stream within a double quoted scalar")}function na(e,u){var o=!0,f,h,y,w=e.tag,k,T=e.anchor,O,R,H,J,Q,ne=Object.create(null),se,xe,Me,Te;if(Te=e.input.charCodeAt(e.position),Te===91)R=93,Q=!1,k=[];else if(Te===123)R=125,Q=!0,k={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=k),Te=e.input.charCodeAt(++e.position);Te!==0;){if(Je(e,!0,u),Te=e.input.charCodeAt(e.position),Te===R)return e.position++,e.tag=w,e.anchor=T,e.kind=Q?"mapping":"sequence",e.result=k,!0;o?Te===44&&me(e,"expected the node content, but found ','"):me(e,"missed comma between flow collection entries"),xe=se=Me=null,H=J=!1,Te===63&&(O=e.input.charCodeAt(e.position+1),pr(O)&&(H=J=!0,e.position++,Je(e,!0,u))),f=e.line,h=e.lineStart,y=e.position,Ot(e,u,$r,!1,!0),xe=e.tag,se=e.result,Je(e,!0,u),Te=e.input.charCodeAt(e.position),(J||e.line===f)&&Te===58&&(H=!0,Te=e.input.charCodeAt(++e.position),Je(e,!0,u),Ot(e,u,$r,!1,!0),Me=e.result),Q?Rt(e,k,ne,xe,se,Me,f,h,y):H?k.push(Rt(e,null,ne,xe,se,Me,f,h,y)):k.push(se),Je(e,!0,u),Te=e.input.charCodeAt(e.position),Te===44?(o=!0,Te=e.input.charCodeAt(++e.position)):o=!1}me(e,"unexpected end of the stream within a flow collection")}function ia(e,u){var o,f,h=zr,y=!1,w=!1,k=u,T=0,O=!1,R,H;if(H=e.input.charCodeAt(e.position),H===124)f=!1;else if(H===62)f=!0;else return!1;for(e.kind="scalar",e.result="";H!==0;)if(H=e.input.charCodeAt(++e.position),H===43||H===45)zr===h?h=H===43?Wi:Xi:me(e,"repeat of a chomping mode identifier");else if((R=Qi(H))>=0)R===0?me(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):w?me(e,"repeat of an indentation width identifier"):(k=u+R-1,w=!0);else break;if(st(H)){do H=e.input.charCodeAt(++e.position);while(st(H));if(H===35)do H=e.input.charCodeAt(++e.position);while(!Fr(H)&&H!==0)}for(;H!==0;){for(X0(e),e.lineIndent=0,H=e.input.charCodeAt(e.position);(!w||e.lineIndent<k)&&H===32;)e.lineIndent++,H=e.input.charCodeAt(++e.position);if(!w&&e.lineIndent>k&&(k=e.lineIndent),Fr(H)){T++;continue}if(e.lineIndent<k){h===Wi?e.result+=nr.repeat(`
`,y?1+T:T):h===zr&&y&&(e.result+=`
`);break}for(f?st(H)?(O=!0,e.result+=nr.repeat(`
`,y?1+T:T)):O?(O=!1,e.result+=nr.repeat(`
`,T+1)):T===0?y&&(e.result+=" "):e.result+=nr.repeat(`
`,T):e.result+=nr.repeat(`
`,y?1+T:T),y=!0,w=!0,T=0,o=e.position;!Fr(H)&&H!==0;)H=e.input.charCodeAt(++e.position);ct(e,o,e.position,!1)}return!0}function aa(e,u){var o,f=e.tag,h=e.anchor,y=[],w,k=!1,T;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=y),T=e.input.charCodeAt(e.position);T!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,me(e,"tab characters must not be used in indentation")),!(T!==45||(w=e.input.charCodeAt(e.position+1),!pr(w))));){if(k=!0,e.position++,Je(e,!0,-1)&&e.lineIndent<=u){y.push(null),T=e.input.charCodeAt(e.position);continue}if(o=e.line,Ot(e,u,Vr,!1,!0),y.push(e.result),Je(e,!0,-1),T=e.input.charCodeAt(e.position),(e.line===o||e.lineIndent>u)&&T!==0)me(e,"bad indentation of a sequence entry");else if(e.lineIndent<u)break}return k?(e.tag=f,e.anchor=h,e.kind="sequence",e.result=y,!0):!1}function ht(e,u,o){var f,h,y,w,k,T,O=e.tag,R=e.anchor,H={},J=Object.create(null),Q=null,ne=null,se=null,xe=!1,Me=!1,Te;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=H),Te=e.input.charCodeAt(e.position);Te!==0;){if(!xe&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,me(e,"tab characters must not be used in indentation")),f=e.input.charCodeAt(e.position+1),y=e.line,(Te===63||Te===58)&&pr(f))Te===63?(xe&&(Rt(e,H,J,Q,ne,null,w,k,T),Q=ne=se=null),Me=!0,xe=!0,h=!0):xe?(xe=!1,h=!0):me(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,Te=f;else{if(w=e.line,k=e.lineStart,T=e.position,!Ot(e,o,G0,!1,!0))break;if(e.line===y){for(Te=e.input.charCodeAt(e.position);st(Te);)Te=e.input.charCodeAt(++e.position);if(Te===58)Te=e.input.charCodeAt(++e.position),pr(Te)||me(e,"a whitespace character is expected after the key-value separator within a block mapping"),xe&&(Rt(e,H,J,Q,ne,null,w,k,T),Q=ne=se=null),Me=!0,xe=!1,h=!1,Q=e.tag,ne=e.result;else if(Me)me(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=O,e.anchor=R,!0}else if(Me)me(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=O,e.anchor=R,!0}if((e.line===y||e.lineIndent>u)&&(xe&&(w=e.line,k=e.lineStart,T=e.position),Ot(e,u,j0,!0,h)&&(xe?ne=e.result:se=e.result),xe||(Rt(e,H,J,Q,ne,se,w,k,T),Q=ne=se=null),Je(e,!0,-1),Te=e.input.charCodeAt(e.position)),(e.line===y||e.lineIndent>u)&&Te!==0)me(e,"bad indentation of a mapping entry");else if(e.lineIndent<u)break}return xe&&Rt(e,H,J,Q,ne,null,w,k,T),Me&&(e.tag=O,e.anchor=R,e.kind="mapping",e.result=H),Me}function ua(e){var u,o=!1,f=!1,h,y,w;if(w=e.input.charCodeAt(e.position),w!==33)return!1;if(e.tag!==null&&me(e,"duplication of a tag property"),w=e.input.charCodeAt(++e.position),w===60?(o=!0,w=e.input.charCodeAt(++e.position)):w===33?(f=!0,h="!!",w=e.input.charCodeAt(++e.position)):h="!",u=e.position,o){do w=e.input.charCodeAt(++e.position);while(w!==0&&w!==62);e.position<e.length?(y=e.input.slice(u,e.position),w=e.input.charCodeAt(++e.position)):me(e,"unexpected end of the stream within a verbatim tag")}else{for(;w!==0&&!pr(w);)w===33&&(f?me(e,"tag suffix cannot contain exclamation marks"):(h=e.input.slice(u-1,e.position+1),_n.test(h)||me(e,"named tag handle cannot contain such characters"),f=!0,u=e.position+1)),w=e.input.charCodeAt(++e.position);y=e.input.slice(u,e.position),Ji.test(y)&&me(e,"tag suffix cannot contain flow indicator characters")}y&&!zn.test(y)&&me(e,"tag name cannot contain such characters: "+y);try{y=decodeURIComponent(y)}catch{me(e,"tag name is malformed: "+y)}return o?e.tag=y:Kr.call(e.tagMap,h)?e.tag=e.tagMap[h]+y:h==="!"?e.tag="!"+y:h==="!!"?e.tag="tag:yaml.org,2002:"+y:me(e,'undeclared tag handle "'+h+'"'),!0}function Ou(e){var u,o;if(o=e.input.charCodeAt(e.position),o!==38)return!1;for(e.anchor!==null&&me(e,"duplication of an anchor property"),o=e.input.charCodeAt(++e.position),u=e.position;o!==0&&!pr(o)&&!Ct(o);)o=e.input.charCodeAt(++e.position);return e.position===u&&me(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(u,e.position),!0}function Lu(e){var u,o,f;if(f=e.input.charCodeAt(e.position),f!==42)return!1;for(f=e.input.charCodeAt(++e.position),u=e.position;f!==0&&!pr(f)&&!Ct(f);)f=e.input.charCodeAt(++e.position);return e.position===u&&me(e,"name of an alias node must contain at least one character"),o=e.input.slice(u,e.position),Kr.call(e.anchorMap,o)||me(e,'unidentified alias "'+o+'"'),e.result=e.anchorMap[o],Je(e,!0,-1),!0}function Ot(e,u,o,f,h){var y,w,k,T=1,O=!1,R=!1,H,J,Q,ne,se,xe;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,y=w=k=j0===o||Vr===o,f&&Je(e,!0,-1)&&(O=!0,e.lineIndent>u?T=1:e.lineIndent===u?T=0:e.lineIndent<u&&(T=-1)),T===1)for(;ua(e)||Ou(e);)Je(e,!0,-1)?(O=!0,k=y,e.lineIndent>u?T=1:e.lineIndent===u?T=0:e.lineIndent<u&&(T=-1)):k=!1;if(k&&(k=O||h),(T===1||j0===o)&&($r===o||G0===o?se=u:se=u+1,xe=e.position-e.lineStart,T===1?k&&(aa(e,xe)||ht(e,xe,se))||na(e,se)?R=!0:(w&&ia(e,se)||ta(e,se)||Iu(e,se)?R=!0:Lu(e)?(R=!0,(e.tag!==null||e.anchor!==null)&&me(e,"alias node should not have any properties")):ra(e,se,$r===o)&&(R=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):T===0&&(R=k&&aa(e,xe))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&me(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),H=0,J=e.implicitTypes.length;H<J;H+=1)if(ne=e.implicitTypes[H],ne.resolve(e.result)){e.result=ne.construct(e.result),e.tag=ne.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(Kr.call(e.typeMap[e.kind||"fallback"],e.tag))ne=e.typeMap[e.kind||"fallback"][e.tag];else for(ne=null,Q=e.typeMap.multi[e.kind||"fallback"],H=0,J=Q.length;H<J;H+=1)if(e.tag.slice(0,Q[H].tag.length)===Q[H].tag){ne=Q[H];break}ne||me(e,"unknown tag !<"+e.tag+">"),e.result!==null&&ne.kind!==e.kind&&me(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+ne.kind+'", not "'+e.kind+'"'),ne.resolve(e.result,e.tag)?(e.result=ne.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):me(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||R}function Pu(e){var u=e.position,o,f,h,y=!1,w;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(w=e.input.charCodeAt(e.position))!==0&&(Je(e,!0,-1),w=e.input.charCodeAt(e.position),!(e.lineIndent>0||w!==37));){for(y=!0,w=e.input.charCodeAt(++e.position),o=e.position;w!==0&&!pr(w);)w=e.input.charCodeAt(++e.position);for(f=e.input.slice(o,e.position),h=[],f.length<1&&me(e,"directive name must not be less than one character in length");w!==0;){for(;st(w);)w=e.input.charCodeAt(++e.position);if(w===35){do w=e.input.charCodeAt(++e.position);while(w!==0&&!Fr(w));break}if(Fr(w))break;for(o=e.position;w!==0&&!pr(w);)w=e.input.charCodeAt(++e.position);h.push(e.input.slice(o,e.position))}w!==0&&X0(e),Kr.call(Rn,f)?Rn[f](e,f,h):s0(e,'unknown document directive "'+f+'"')}if(Je(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Je(e,!0,-1)):y&&me(e,"directives end mark is expected"),Ot(e,e.lineIndent-1,j0,!1,!0),Je(e,!0,-1),e.checkLineBreaks&&Zi.test(e.input.slice(u,e.position))&&s0(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&It(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Je(e,!0,-1));return}if(e.position<e.length-1)me(e,"end of the stream or a document separator is expected");else return}function K0(e,u){e=String(e),u=u||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var o=new Ru(e,u),f=e.indexOf("\0");for(f!==-1&&(o.position=f,me(o,"null byte is not allowed in input")),o.input+="\0";o.input.charCodeAt(o.position)===32;)o.lineIndent+=1,o.position+=1;for(;o.position<o.length-1;)Pu(o);return o.documents}function Hu(e,u,o){u!==null&&typeof u=="object"&&typeof o>"u"&&(o=u,u=null);var f=K0(e,o);if(typeof u!="function")return f;for(var h=0,y=f.length;h<y;h+=1)u(f[h])}function Uu(e,u){var o=K0(e,u);if(o.length!==0){if(o.length===1)return o[0];throw new fr("expected a single document in the stream, but found more")}}var la=Hu,$u=Uu,oa={loadAll:la,load:$u},sa=Object.prototype.toString,On=Object.prototype.hasOwnProperty,c0=65279,ca=9,Et=10,ha=13,fa=32,pa=33,Vu=34,Z0=35,J0=37,Ln=38,da=39,ma=42,va=44,Pn=45,h0=58,Gu=61,ju=62,ga=63,Hn=64,ya=91,xa=93,Yu=96,m=123,r=124,t=125,i={};i[0]="\\0",i[7]="\\a",i[8]="\\b",i[9]="\\t",i[10]="\\n",i[11]="\\v",i[12]="\\f",i[13]="\\r",i[27]="\\e",i[34]='\\"',i[92]="\\\\",i[133]="\\N",i[160]="\\_",i[8232]="\\L",i[8233]="\\P";var l=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],c=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function v(e,u){var o,f,h,y,w,k,T;if(u===null)return{};for(o={},f=Object.keys(u),h=0,y=f.length;h<y;h+=1)w=f[h],k=String(u[w]),w.slice(0,2)==="!!"&&(w="tag:yaml.org,2002:"+w.slice(2)),T=e.compiledTypeMap.fallback[w],T&&On.call(T.styleAliases,k)&&(k=T.styleAliases[k]),o[w]=k;return o}function A(e){var u,o,f;if(u=e.toString(16).toUpperCase(),e<=255)o="x",f=2;else if(e<=65535)o="u",f=4;else if(e<=4294967295)o="U",f=8;else throw new fr("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+o+nr.repeat("0",f-u.length)+u}var D=1,M=2;function N(e){this.schema=e.schema||Ft,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=nr.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=v(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?M:D,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function U(e,u){for(var o=nr.repeat(" ",u),f=0,h=-1,y="",w,k=e.length;f<k;)h=e.indexOf(`
`,f),h===-1?(w=e.slice(f),f=k):(w=e.slice(f,h+1),f=h+1),w.length&&w!==`
`&&(y+=o),y+=w;return y}function Y(e,u){return`
`+nr.repeat(" ",e.indent*u)}function X(e,u){var o,f,h;for(o=0,f=e.implicitTypes.length;o<f;o+=1)if(h=e.implicitTypes[o],h.resolve(u))return!0;return!1}function K(e){return e===fa||e===ca}function ie(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==c0||65536<=e&&e<=1114111}function le(e){return ie(e)&&e!==c0&&e!==ha&&e!==Et}function fe(e,u,o){var f=le(e),h=f&&!K(e);return(o?f:f&&e!==va&&e!==ya&&e!==xa&&e!==m&&e!==t)&&e!==Z0&&!(u===h0&&!h)||le(u)&&!K(u)&&e===Z0||u===h0&&h}function de(e){return ie(e)&&e!==c0&&!K(e)&&e!==Pn&&e!==ga&&e!==h0&&e!==va&&e!==ya&&e!==xa&&e!==m&&e!==t&&e!==Z0&&e!==Ln&&e!==ma&&e!==pa&&e!==r&&e!==Gu&&e!==ju&&e!==da&&e!==Vu&&e!==J0&&e!==Hn&&e!==Yu}function ge(e){return!K(e)&&e!==h0}function ze(e,u){var o=e.charCodeAt(u),f;return o>=55296&&o<=56319&&u+1<e.length&&(f=e.charCodeAt(u+1),f>=56320&&f<=57343)?(o-55296)*1024+f-56320+65536:o}function Ce(e){var u=/^\n* /;return u.test(e)}var Re=1,Ne=2,Ie=3,He=4,Qe=5;function Sr(e,u,o,f,h,y,w,k){var T,O=0,R=null,H=!1,J=!1,Q=f!==-1,ne=-1,se=de(ze(e,0))&&ge(ze(e,e.length-1));if(u||w)for(T=0;T<e.length;O>=65536?T+=2:T++){if(O=ze(e,T),!ie(O))return Qe;se=se&&fe(O,R,k),R=O}else{for(T=0;T<e.length;O>=65536?T+=2:T++){if(O=ze(e,T),O===Et)H=!0,Q&&(J=J||T-ne-1>f&&e[ne+1]!==" ",ne=T);else if(!ie(O))return Qe;se=se&&fe(O,R,k),R=O}J=J||Q&&T-ne-1>f&&e[ne+1]!==" "}return!H&&!J?se&&!w&&!h(e)?Re:y===M?Qe:Ne:o>9&&Ce(e)?Qe:w?y===M?Qe:Ne:J?He:Ie}function Xe(e,u,o,f,h){e.dump=function(){if(u.length===0)return e.quotingType===M?'""':"''";if(!e.noCompatMode&&(l.indexOf(u)!==-1||c.test(u)))return e.quotingType===M?'"'+u+'"':"'"+u+"'";var y=e.indent*Math.max(1,o),w=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-y),k=f||e.flowLevel>-1&&o>=e.flowLevel;function T(O){return X(e,O)}switch(Sr(u,k,e.indent,w,T,e.quotingType,e.forceQuotes&&!f,h)){case Re:return u;case Ne:return"'"+u.replace(/'/g,"''")+"'";case Ie:return"|"+ft(u,e.indent)+Cr(U(u,y));case He:return">"+ft(u,e.indent)+Cr(U(dr(u,w),y));case Qe:return'"'+Lt(u)+'"';default:throw new fr("impossible error: invalid scalar style")}}()}function ft(e,u){var o=Ce(e)?String(u):"",f=e[e.length-1]===`
`,h=f&&(e[e.length-2]===`
`||e===`
`),y=h?"+":f?"":"-";return o+y+`
`}function Cr(e){return e[e.length-1]===`
`?e.slice(0,-1):e}function dr(e,u){for(var o=/(\n+)([^\n]*)/g,f=function(){var O=e.indexOf(`
`);return O=O!==-1?O:e.length,o.lastIndex=O,rt(e.slice(0,O),u)}(),h=e[0]===`
`||e[0]===" ",y,w;w=o.exec(e);){var k=w[1],T=w[2];y=T[0]===" ",f+=k+(!h&&!y&&T!==""?`
`:"")+rt(T,u),h=y}return f}function rt(e,u){if(e===""||e[0]===" ")return e;for(var o=/ [^ ]/g,f,h=0,y,w=0,k=0,T="";f=o.exec(e);)k=f.index,k-h>u&&(y=w>h?w:k,T+=`
`+e.slice(h,y),h=y+1),w=k;return T+=`
`,e.length-h>u&&w>h?T+=e.slice(h,w)+`
`+e.slice(w+1):T+=e.slice(h),T.slice(1)}function Lt(e){for(var u="",o=0,f,h=0;h<e.length;o>=65536?h+=2:h++)o=ze(e,h),f=i[o],!f&&ie(o)?(u+=e[h],o>=65536&&(u+=e[h+1])):u+=f||A(o);return u}function Pt(e,u,o){var f="",h=e.tag,y,w,k;for(y=0,w=o.length;y<w;y+=1)k=o[y],e.replacer&&(k=e.replacer.call(o,String(y),k)),(Er(e,u,k,!1,!1)||typeof k>"u"&&Er(e,u,null,!1,!1))&&(f!==""&&(f+=","+(e.condenseFlow?"":" ")),f+=e.dump);e.tag=h,e.dump="["+f+"]"}function Q0(e,u,o,f){var h="",y=e.tag,w,k,T;for(w=0,k=o.length;w<k;w+=1)T=o[w],e.replacer&&(T=e.replacer.call(o,String(w),T)),(Er(e,u+1,T,!0,!0,!1,!0)||typeof T>"u"&&Er(e,u+1,null,!0,!0,!1,!0))&&((!f||h!=="")&&(h+=Y(e,u)),e.dump&&Et===e.dump.charCodeAt(0)?h+="-":h+="- ",h+=e.dump);e.tag=y,e.dump=h||"[]"}function pt(e,u,o){var f="",h=e.tag,y=Object.keys(o),w,k,T,O,R;for(w=0,k=y.length;w<k;w+=1)R="",f!==""&&(R+=", "),e.condenseFlow&&(R+='"'),T=y[w],O=o[T],e.replacer&&(O=e.replacer.call(o,T,O)),Er(e,u,T,!1,!1)&&(e.dump.length>1024&&(R+="? "),R+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Er(e,u,O,!1,!1)&&(R+=e.dump,f+=R));e.tag=h,e.dump="{"+f+"}"}function dt(e,u,o,f){var h="",y=e.tag,w=Object.keys(o),k,T,O,R,H,J;if(e.sortKeys===!0)w.sort();else if(typeof e.sortKeys=="function")w.sort(e.sortKeys);else if(e.sortKeys)throw new fr("sortKeys must be a boolean or a function");for(k=0,T=w.length;k<T;k+=1)J="",(!f||h!=="")&&(J+=Y(e,u)),O=w[k],R=o[O],e.replacer&&(R=e.replacer.call(o,O,R)),Er(e,u+1,O,!0,!0,!0)&&(H=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,H&&(e.dump&&Et===e.dump.charCodeAt(0)?J+="?":J+="? "),J+=e.dump,H&&(J+=Y(e,u)),Er(e,u+1,R,!0,H)&&(e.dump&&Et===e.dump.charCodeAt(0)?J+=":":J+=": ",J+=e.dump,h+=J));e.tag=y,e.dump=h||"{}"}function Dr(e,u,o){var f,h,y,w,k,T;for(h=o?e.explicitTypes:e.implicitTypes,y=0,w=h.length;y<w;y+=1)if(k=h[y],(k.instanceOf||k.predicate)&&(!k.instanceOf||typeof u=="object"&&u instanceof k.instanceOf)&&(!k.predicate||k.predicate(u))){if(o?k.multi&&k.representName?e.tag=k.representName(u):e.tag=k.tag:e.tag="?",k.represent){if(T=e.styleMap[k.tag]||k.defaultStyle,sa.call(k.represent)==="[object Function]")f=k.represent(u,T);else if(On.call(k.represent,T))f=k.represent[T](u,T);else throw new fr("!<"+k.tag+'> tag resolver accepts not "'+T+'" style');e.dump=f}return!0}return!1}function Er(e,u,o,f,h,y,w){e.tag=null,e.dump=o,Dr(e,o,!1)||Dr(e,o,!0);var k=sa.call(e.dump),T=f,O;f&&(f=e.flowLevel<0||e.flowLevel>u);var R=k==="[object Object]"||k==="[object Array]",H,J;if(R&&(H=e.duplicates.indexOf(o),J=H!==-1),(e.tag!==null&&e.tag!=="?"||J||e.indent!==2&&u>0)&&(h=!1),J&&e.usedDuplicates[H])e.dump="*ref_"+H;else{if(R&&J&&!e.usedDuplicates[H]&&(e.usedDuplicates[H]=!0),k==="[object Object]")f&&Object.keys(e.dump).length!==0?(dt(e,u,e.dump,h),J&&(e.dump="&ref_"+H+e.dump)):(pt(e,u,e.dump),J&&(e.dump="&ref_"+H+" "+e.dump));else if(k==="[object Array]")f&&e.dump.length!==0?(e.noArrayIndent&&!w&&u>0?Q0(e,u-1,e.dump,h):Q0(e,u,e.dump,h),J&&(e.dump="&ref_"+H+e.dump)):(Pt(e,u,e.dump),J&&(e.dump="&ref_"+H+" "+e.dump));else if(k==="[object String]")e.tag!=="?"&&Xe(e,e.dump,u,y,T);else{if(k==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new fr("unacceptable kind of an object to dump "+k)}e.tag!==null&&e.tag!=="?"&&(O=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?O="!"+O:O.slice(0,18)==="tag:yaml.org,2002:"?O="!!"+O.slice(18):O="!<"+O+">",e.dump=O+" "+e.dump)}return!0}function Un(e,u){var o=[],f=[],h,y;for(mt(e,o,f),h=0,y=f.length;h<y;h+=1)u.duplicates.push(o[f[h]]);u.usedDuplicates=new Array(y)}function mt(e,u,o){var f,h,y;if(e!==null&&typeof e=="object")if(h=u.indexOf(e),h!==-1)o.indexOf(h)===-1&&o.push(h);else if(u.push(e),Array.isArray(e))for(h=0,y=e.length;h<y;h+=1)mt(e[h],u,o);else for(f=Object.keys(e),h=0,y=f.length;h<y;h+=1)mt(e[f[h]],u,o)}function ba(e,u){u=u||{};var o=new N(u);o.noRefs||Un(e,o);var f=e;return o.replacer&&(f=o.replacer.call({"":f},"",f)),Er(o,0,f,!0,!0)?o.dump+`
`:""}var Ht=ba,Ut={dump:Ht};function $t(e,u){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+u+" instead, which is now safe by default.")}}var en=tr,Xu=u0,Wu=Fi,Ku=P0,$n=H0,wa=Ft,Aa=oa.load,Vn=oa.loadAll,rn=Ut.dump,tn=fr,fs={binary:Xr,float:L0,map:bn,null:wn,pairs:Mn,set:Tn,timestamp:Hi,bool:kn,int:I0,merge:Ui,omap:V0,seq:xn,str:zi},ps=$t("safeLoad","load"),ds=$t("safeLoadAll","loadAll"),ms=$t("safeDump","dump"),vs={Type:en,Schema:Xu,FAILSAFE_SCHEMA:Wu,JSON_SCHEMA:Ku,CORE_SCHEMA:$n,DEFAULT_SCHEMA:wa,load:Aa,loadAll:Vn,dump:rn,YAMLException:tn,types:fs,safeLoad:ps,safeLoadAll:ds,safeDump:ms},gs={name:"frontmatter",transform(e){return e.beforeParse.tap((u,o)=>{const f=u.parse;u.parse=qe(f,{before(h){const[y]=h.args;if(!y.startsWith(`---
`))return;const w=y.indexOf(`
---
`);if(w<0)return;const k=y.slice(4,w);let T;try{var O;T=vs.load(k),(O=T)!=null&&O.markmap&&(T.markmap=ys(T.markmap))}catch{return}o.frontmatter=T;const R=w+5;h.args[0]=y.slice(R)},after(){u.parse=f}})}),{}}};function ys(e){if(e)return["color","extraJs","extraCss"].forEach(u=>{e[u]!=null&&(e[u]=xs(e[u]))}),["duration","maxWidth","initialExpandLevel"].forEach(u=>{e[u]!=null&&(e[u]=bs(e[u]))}),e}function xs(e){var u;let o;return typeof e=="string"?o=[e]:Array.isArray(e)&&(o=e.filter(f=>f&&typeof f=="string")),(u=o)!=null&&u.length?o:void 0}function bs(e){if(!isNaN(+e))return+e}const Nl=[gs,F0,te];function ql(e){if(e.type==="heading")e.children=e.children.filter(h=>h.type!=="paragraph");else if(e.type==="list_item"){var u;e.children=e.children.filter(h=>["paragraph","fence"].includes(h.type)?(e.content||(e.content=h.content,e.payload=C({},e.payload,h.payload)),!1):!0),((u=e.payload)==null?void 0:u.index)!=null&&(e.content=`${e.payload.index}. ${e.content}`)}else if(e.type==="ordered_list"){var o,f;let h=(o=(f=e.payload)==null?void 0:f.startIndex)!=null?o:1;e.children.forEach(y=>{y.type==="list_item"&&(y.payload=C({},y.payload,{index:h}),h+=1)})}e.children.length===0?delete e.children:(e.children.forEach(h=>ql(h)),e.children.length===1&&!e.children[0].content&&(e.children=e.children[0].children))}function Rl(e,u=0){var o;e.depth=u,(o=e.children)==null||o.forEach(f=>{Rl(f,u+1)})}class ws{constructor(u=Nl){this.assetsMap={},this.plugins=u,this.hooks=ki();const o={};for(const{name:h,transform:y}of u)o[h]=y(this.hooks);this.assetsMap=o;const f=new ut("full",{html:!0,breaks:!0,maxNesting:1/0});f.renderer.rules.htmltag=qe(f.renderer.rules.htmltag,{after:h=>{this.hooks.htmltag.call(h)}}),this.md=f,this.hooks.parser.call(f)}buildTree(u){const{md:o}=this,f={type:"root",depth:0,content:"",children:[],payload:{}},h=[f];let y=0;for(const T of u){let O=h[h.length-1];if(T.type.endsWith("_open")){const R=T.type.slice(0,-5),H={};if(T.lines&&(H.lines=T.lines),R==="heading")for(y=T.hLevel;((w=O)==null?void 0:w.depth)>=y;){var w;h.pop(),O=h[h.length-1]}else{var k;y=Math.max(y,((k=O)==null?void 0:k.depth)||0)+1,R==="ordered_list"&&(H.startIndex=T.order)}const J={type:R,depth:y,payload:H,content:"",children:[]};O.children.push(J),h.push(J)}else if(O){if(T.type===`${O.type}_close`)O.type==="heading"?y=O.depth:(h.pop(),y=0);else if(T.type==="inline"){const R=this.hooks.htmltag.tap(J=>{const Q=J.result.match(/^<!--([\s\S]*?)-->$/),ne=Q==null?void 0:Q[1].trim().split(" ");ne[0]==="fold"&&(O.payload.fold=["all","recursively"].includes(ne[1])?2:1,J.result="")}),H=o.renderer.render([T],o.options,{});R(),O.content=`${O.content||""}${H}`}else if(T.type==="fence"){let R=o.renderer.render([T],o.options,{});const H=R.match(/<code( class="[^"]*")>/);H&&(R=R.replace("<pre>",`<pre${H[1]}>`)),O.children.push({type:T.type,depth:y+1,content:R,children:[]})}}else continue}return f}transform(u){var o;const f={features:{}};this.hooks.beforeParse.call(this.md,f);const h=this.md.parse(u,{});this.hooks.afterParse.call(this.md,f);let y=this.buildTree(h);return ql(y),((o=y.children)==null?void 0:o.length)===1&&(y=y.children[0]),Rl(y),C({},f,{root:y})}getAssets(u){var o;const f=[],h=[];(o=u)!=null||(u=this.plugins.map(y=>y.name));for(const y of u.map(w=>this.assetsMap[w]))y&&(y.styles&&f.push(...y.styles),y.scripts&&h.push(...y.scripts));return{styles:f,scripts:h}}getUsedAssets(u){const o=this.plugins.map(f=>f.name).filter(f=>u[f]);return this.getAssets(o)}}const As={"markmap-lib":"0.14.4",d3:"6.7.0"};s.Transformer=ws,s.builtInPlugins=Nl,s.fillTemplate=sr,s.transformerVersions=As})})(ll,ll.exports);var s4=ll.exports;/*! markmap-common v0.14.2 | MIT License */class xo{constructor(){this.listeners=[]}tap(a){return this.listeners.push(a),()=>this.revoke(a)}revoke(a){const s=this.listeners.indexOf(a);s>=0&&this.listeners.splice(s,1)}revokeAll(){this.listeners.splice(0)}call(...a){for(const s of this.listeners)s(...a)}}const Ss=Math.random().toString(36).slice(2,8);let Pl=0;function Cs(){return Pl+=1,`mm-${Ss}-${Pl}`}function el(){}function ol(n,a,s="children"){const d=(x,b)=>a(x,()=>{var C;(C=x[s])==null||C.forEach(B=>{d(B,x)})},b);d(n)}function bo(n){if(Array.from)return Array.from(n);const a=[];for(let s=0;s<n.length;s+=1)a.push(n[s]);return a}function Ds(n,...a){const s=(n||"").split(" ").filter(Boolean);return a.forEach(d=>{d&&s.indexOf(d)<0&&s.push(d)}),s.join(" ")}function nn(n){if(typeof n=="string"){const s=n;n=d=>d.tagName===s}const a=n;return function(){let d=bo(this.childNodes);return a&&(d=d.filter(x=>a(x))),d}}function Hl(n,a){let s;if(a===void 0)for(const d of n)d!=null&&(s<d||s===void 0&&d>=d)&&(s=d);else{let d=-1;for(let x of n)(x=a(x,++d,n))!=null&&(s<x||s===void 0&&x>=x)&&(s=x)}return s}function Ul(n,a){let s;if(a===void 0)for(const d of n)d!=null&&(s>d||s===void 0&&d>=d)&&(s=d);else{let d=-1;for(let x of n)(x=a(x,++d,n))!=null&&(s>x||s===void 0&&x>=x)&&(s=x)}return s}function Es(n,a){let s,d=-1,x=-1;if(a===void 0)for(const b of n)++x,b!=null&&(s>b||s===void 0&&b>=b)&&(s=b,d=x);else for(let b of n)(b=a(b,++x,n))!=null&&(s>b||s===void 0&&b>=b)&&(s=b,d=x);return d}var Bs={value:()=>{}};function Al(){for(var n=0,a=arguments.length,s={},d;n<a;++n){if(!(d=arguments[n]+"")||d in s||/[\s.]/.test(d))throw new Error("illegal type: "+d);s[d]=[]}return new Ta(s)}function Ta(n){this._=n}function Ms(n,a){return n.trim().split(/^|\s+/).map(function(s){var d="",x=s.indexOf(".");if(x>=0&&(d=s.slice(x+1),s=s.slice(0,x)),s&&!a.hasOwnProperty(s))throw new Error("unknown type: "+s);return{type:s,name:d}})}Ta.prototype=Al.prototype={constructor:Ta,on:function(n,a){var s=this._,d=Ms(n+"",s),x,b=-1,C=d.length;if(arguments.length<2){for(;++b<C;)if((x=(n=d[b]).type)&&(x=Ts(s[x],n.name)))return x;return}if(a!=null&&typeof a!="function")throw new Error("invalid callback: "+a);for(;++b<C;)if(x=(n=d[b]).type)s[x]=$l(s[x],n.name,a);else if(a==null)for(x in s)s[x]=$l(s[x],n.name,null);return this},copy:function(){var n={},a=this._;for(var s in a)n[s]=a[s].slice();return new Ta(n)},call:function(n,a){if((x=arguments.length-2)>0)for(var s=new Array(x),d=0,x,b;d<x;++d)s[d]=arguments[d+2];if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(b=this._[n],d=0,x=b.length;d<x;++d)b[d].value.apply(a,s)},apply:function(n,a,s){if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(var d=this._[n],x=0,b=d.length;x<b;++x)d[x].value.apply(a,s)}};function Ts(n,a){for(var s=0,d=n.length,x;s<d;++s)if((x=n[s]).name===a)return x.value}function $l(n,a,s){for(var d=0,x=n.length;d<x;++d)if(n[d].name===a){n[d]=Bs,n=n.slice(0,d).concat(n.slice(d+1));break}return s!=null&&n.push({name:a,value:s}),n}var sl="http://www.w3.org/1999/xhtml";const Vl={svg:"http://www.w3.org/2000/svg",xhtml:sl,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Ga(n){var a=n+="",s=a.indexOf(":");return s>=0&&(a=n.slice(0,s))!=="xmlns"&&(n=n.slice(s+1)),Vl.hasOwnProperty(a)?{space:Vl[a],local:n}:n}function _s(n){return function(){var a=this.ownerDocument,s=this.namespaceURI;return s===sl&&a.documentElement.namespaceURI===sl?a.createElement(n):a.createElementNS(s,n)}}function zs(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}function wo(n){var a=Ga(n);return(a.local?zs:_s)(a)}function Fs(){}function kl(n){return n==null?Fs:function(){return this.querySelector(n)}}function Ns(n){typeof n!="function"&&(n=kl(n));for(var a=this._groups,s=a.length,d=new Array(s),x=0;x<s;++x)for(var b=a[x],C=b.length,B=d[x]=new Array(C),z,I,q=0;q<C;++q)(z=b[q])&&(I=n.call(z,z.__data__,q,b))&&("__data__"in z&&(I.__data__=z.__data__),B[q]=I);return new qr(d,this._parents)}function Ao(n){return typeof n=="object"&&"length"in n?n:Array.from(n)}function qs(){return[]}function ko(n){return n==null?qs:function(){return this.querySelectorAll(n)}}function Rs(n){return function(){var a=n.apply(this,arguments);return a==null?[]:Ao(a)}}function Is(n){typeof n=="function"?n=Rs(n):n=ko(n);for(var a=this._groups,s=a.length,d=[],x=[],b=0;b<s;++b)for(var C=a[b],B=C.length,z,I=0;I<B;++I)(z=C[I])&&(d.push(n.call(z,z.__data__,I,C)),x.push(z));return new qr(d,x)}function So(n){return function(){return this.matches(n)}}function Co(n){return function(a){return a.matches(n)}}var Os=Array.prototype.find;function Ls(n){return function(){return Os.call(this.children,n)}}function Ps(){return this.firstElementChild}function Hs(n){return this.select(n==null?Ps:Ls(typeof n=="function"?n:Co(n)))}var Us=Array.prototype.filter;function $s(){return this.children}function Vs(n){return function(){return Us.call(this.children,n)}}function Gs(n){return this.selectAll(n==null?$s:Vs(typeof n=="function"?n:Co(n)))}function js(n){typeof n!="function"&&(n=So(n));for(var a=this._groups,s=a.length,d=new Array(s),x=0;x<s;++x)for(var b=a[x],C=b.length,B=d[x]=[],z,I=0;I<C;++I)(z=b[I])&&n.call(z,z.__data__,I,b)&&B.push(z);return new qr(d,this._parents)}function Do(n){return new Array(n.length)}function Ys(){return new qr(this._enter||this._groups.map(Do),this._parents)}function Ra(n,a){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=a}Ra.prototype={constructor:Ra,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,a){return this._parent.insertBefore(n,a)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};function Xs(n){return function(){return n}}function Ws(n,a,s,d,x,b){for(var C=0,B,z=a.length,I=b.length;C<I;++C)(B=a[C])?(B.__data__=b[C],d[C]=B):s[C]=new Ra(n,b[C]);for(;C<z;++C)(B=a[C])&&(x[C]=B)}function Ks(n,a,s,d,x,b,C){var B,z,I=new Map,q=a.length,V=b.length,W=new Array(q),j;for(B=0;B<q;++B)(z=a[B])&&(W[B]=j=C.call(z,z.__data__,B,a)+"",I.has(j)?x[B]=z:I.set(j,z));for(B=0;B<V;++B)j=C.call(n,b[B],B,b)+"",(z=I.get(j))?(d[B]=z,z.__data__=b[B],I.delete(j)):s[B]=new Ra(n,b[B]);for(B=0;B<q;++B)(z=a[B])&&I.get(W[B])===z&&(x[B]=z)}function Zs(n){return n.__data__}function Js(n,a){if(!arguments.length)return Array.from(this,Zs);var s=a?Ks:Ws,d=this._parents,x=this._groups;typeof n!="function"&&(n=Xs(n));for(var b=x.length,C=new Array(b),B=new Array(b),z=new Array(b),I=0;I<b;++I){var q=d[I],V=x[I],W=V.length,j=Ao(n.call(q,q&&q.__data__,I,d)),ke=j.length,ve=B[I]=new Array(ke),De=C[I]=new Array(ke),Z=z[I]=new Array(W);s(q,V,ve,De,Z,j,a);for(var be=0,qe=0,Ve,Oe;be<ke;++be)if(Ve=ve[be]){for(be>=qe&&(qe=be+1);!(Oe=De[qe])&&++qe<ke;);Ve._next=Oe||null}}return C=new qr(C,d),C._enter=B,C._exit=z,C}function Qs(){return new qr(this._exit||this._groups.map(Do),this._parents)}function ec(n,a,s){var d=this.enter(),x=this,b=this.exit();return d=typeof n=="function"?n(d):d.append(n+""),a!=null&&(x=a(x)),s==null?b.remove():s(b),d&&x?d.merge(x).order():x}function rc(n){if(!(n instanceof qr))throw new Error("invalid merge");for(var a=this._groups,s=n._groups,d=a.length,x=s.length,b=Math.min(d,x),C=new Array(d),B=0;B<b;++B)for(var z=a[B],I=s[B],q=z.length,V=C[B]=new Array(q),W,j=0;j<q;++j)(W=z[j]||I[j])&&(V[j]=W);for(;B<d;++B)C[B]=a[B];return new qr(C,this._parents)}function tc(){for(var n=this._groups,a=-1,s=n.length;++a<s;)for(var d=n[a],x=d.length-1,b=d[x],C;--x>=0;)(C=d[x])&&(b&&C.compareDocumentPosition(b)^4&&b.parentNode.insertBefore(C,b),b=C);return this}function nc(n){n||(n=ic);function a(V,W){return V&&W?n(V.__data__,W.__data__):!V-!W}for(var s=this._groups,d=s.length,x=new Array(d),b=0;b<d;++b){for(var C=s[b],B=C.length,z=x[b]=new Array(B),I,q=0;q<B;++q)(I=C[q])&&(z[q]=I);z.sort(a)}return new qr(x,this._parents).order()}function ic(n,a){return n<a?-1:n>a?1:n>=a?0:NaN}function ac(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this}function uc(){return Array.from(this)}function lc(){for(var n=this._groups,a=0,s=n.length;a<s;++a)for(var d=n[a],x=0,b=d.length;x<b;++x){var C=d[x];if(C)return C}return null}function oc(){let n=0;for(const a of this)++n;return n}function sc(){return!this.node()}function cc(n){for(var a=this._groups,s=0,d=a.length;s<d;++s)for(var x=a[s],b=0,C=x.length,B;b<C;++b)(B=x[b])&&n.call(B,B.__data__,b,x);return this}function hc(n){return function(){this.removeAttribute(n)}}function fc(n){return function(){this.removeAttributeNS(n.space,n.local)}}function pc(n,a){return function(){this.setAttribute(n,a)}}function dc(n,a){return function(){this.setAttributeNS(n.space,n.local,a)}}function mc(n,a){return function(){var s=a.apply(this,arguments);s==null?this.removeAttribute(n):this.setAttribute(n,s)}}function vc(n,a){return function(){var s=a.apply(this,arguments);s==null?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,s)}}function gc(n,a){var s=Ga(n);if(arguments.length<2){var d=this.node();return s.local?d.getAttributeNS(s.space,s.local):d.getAttribute(s)}return this.each((a==null?s.local?fc:hc:typeof a=="function"?s.local?vc:mc:s.local?dc:pc)(s,a))}function Eo(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView}function yc(n){return function(){this.style.removeProperty(n)}}function xc(n,a,s){return function(){this.style.setProperty(n,a,s)}}function bc(n,a,s){return function(){var d=a.apply(this,arguments);d==null?this.style.removeProperty(n):this.style.setProperty(n,d,s)}}function wc(n,a,s){return arguments.length>1?this.each((a==null?yc:typeof a=="function"?bc:xc)(n,a,s??"")):un(this.node(),n)}function un(n,a){return n.style.getPropertyValue(a)||Eo(n).getComputedStyle(n,null).getPropertyValue(a)}function Ac(n){return function(){delete this[n]}}function kc(n,a){return function(){this[n]=a}}function Sc(n,a){return function(){var s=a.apply(this,arguments);s==null?delete this[n]:this[n]=s}}function Cc(n,a){return arguments.length>1?this.each((a==null?Ac:typeof a=="function"?Sc:kc)(n,a)):this.node()[n]}function Bo(n){return n.trim().split(/^|\s+/)}function Sl(n){return n.classList||new Mo(n)}function Mo(n){this._node=n,this._names=Bo(n.getAttribute("class")||"")}Mo.prototype={add:function(n){var a=this._names.indexOf(n);a<0&&(this._names.push(n),this._node.setAttribute("class",this._names.join(" ")))},remove:function(n){var a=this._names.indexOf(n);a>=0&&(this._names.splice(a,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};function To(n,a){for(var s=Sl(n),d=-1,x=a.length;++d<x;)s.add(a[d])}function _o(n,a){for(var s=Sl(n),d=-1,x=a.length;++d<x;)s.remove(a[d])}function Dc(n){return function(){To(this,n)}}function Ec(n){return function(){_o(this,n)}}function Bc(n,a){return function(){(a.apply(this,arguments)?To:_o)(this,n)}}function Mc(n,a){var s=Bo(n+"");if(arguments.length<2){for(var d=Sl(this.node()),x=-1,b=s.length;++x<b;)if(!d.contains(s[x]))return!1;return!0}return this.each((typeof a=="function"?Bc:a?Dc:Ec)(s,a))}function Tc(){this.textContent=""}function _c(n){return function(){this.textContent=n}}function zc(n){return function(){var a=n.apply(this,arguments);this.textContent=a??""}}function Fc(n){return arguments.length?this.each(n==null?Tc:(typeof n=="function"?zc:_c)(n)):this.node().textContent}function Nc(){this.innerHTML=""}function qc(n){return function(){this.innerHTML=n}}function Rc(n){return function(){var a=n.apply(this,arguments);this.innerHTML=a??""}}function Ic(n){return arguments.length?this.each(n==null?Nc:(typeof n=="function"?Rc:qc)(n)):this.node().innerHTML}function Oc(){this.nextSibling&&this.parentNode.appendChild(this)}function Lc(){return this.each(Oc)}function Pc(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Hc(){return this.each(Pc)}function Uc(n){var a=typeof n=="function"?n:wo(n);return this.select(function(){return this.appendChild(a.apply(this,arguments))})}function $c(){return null}function Vc(n,a){var s=typeof n=="function"?n:wo(n),d=a==null?$c:typeof a=="function"?a:kl(a);return this.select(function(){return this.insertBefore(s.apply(this,arguments),d.apply(this,arguments)||null)})}function Gc(){var n=this.parentNode;n&&n.removeChild(this)}function jc(){return this.each(Gc)}function Yc(){var n=this.cloneNode(!1),a=this.parentNode;return a?a.insertBefore(n,this.nextSibling):n}function Xc(){var n=this.cloneNode(!0),a=this.parentNode;return a?a.insertBefore(n,this.nextSibling):n}function Wc(n){return this.select(n?Xc:Yc)}function Kc(n){return arguments.length?this.property("__data__",n):this.node().__data__}function Zc(n){return function(a){n.call(this,a,this.__data__)}}function Jc(n){return n.trim().split(/^|\s+/).map(function(a){var s="",d=a.indexOf(".");return d>=0&&(s=a.slice(d+1),a=a.slice(0,d)),{type:a,name:s}})}function Qc(n){return function(){var a=this.__on;if(a){for(var s=0,d=-1,x=a.length,b;s<x;++s)b=a[s],(!n.type||b.type===n.type)&&b.name===n.name?this.removeEventListener(b.type,b.listener,b.options):a[++d]=b;++d?a.length=d:delete this.__on}}}function e1(n,a,s){return function(){var d=this.__on,x,b=Zc(a);if(d){for(var C=0,B=d.length;C<B;++C)if((x=d[C]).type===n.type&&x.name===n.name){this.removeEventListener(x.type,x.listener,x.options),this.addEventListener(x.type,x.listener=b,x.options=s),x.value=a;return}}this.addEventListener(n.type,b,s),x={type:n.type,name:n.name,value:a,listener:b,options:s},d?d.push(x):this.__on=[x]}}function r1(n,a,s){var d=Jc(n+""),x,b=d.length,C;if(arguments.length<2){var B=this.node().__on;if(B){for(var z=0,I=B.length,q;z<I;++z)for(x=0,q=B[z];x<b;++x)if((C=d[x]).type===q.type&&C.name===q.name)return q.value}return}for(B=a?e1:Qc,x=0;x<b;++x)this.each(B(d[x],a,s));return this}function zo(n,a,s){var d=Eo(n),x=d.CustomEvent;typeof x=="function"?x=new x(a,s):(x=d.document.createEvent("Event"),s?(x.initEvent(a,s.bubbles,s.cancelable),x.detail=s.detail):x.initEvent(a,!1,!1)),n.dispatchEvent(x)}function t1(n,a){return function(){return zo(this,n,a)}}function n1(n,a){return function(){return zo(this,n,a.apply(this,arguments))}}function i1(n,a){return this.each((typeof a=="function"?n1:t1)(n,a))}function*a1(){for(var n=this._groups,a=0,s=n.length;a<s;++a)for(var d=n[a],x=0,b=d.length,C;x<b;++x)(C=d[x])&&(yield C)}var Fo=[null];function qr(n,a){this._groups=n,this._parents=a}function ei(){return new qr([[document.documentElement]],Fo)}function u1(){return this}qr.prototype=ei.prototype={constructor:qr,select:Ns,selectAll:Is,selectChild:Hs,selectChildren:Gs,filter:js,data:Js,enter:Ys,exit:Qs,join:ec,merge:rc,selection:u1,order:tc,sort:nc,call:ac,nodes:uc,node:lc,size:oc,empty:sc,each:cc,attr:gc,style:wc,property:Cc,classed:Mc,text:Fc,html:Ic,raise:Lc,lower:Hc,append:Uc,insert:Vc,remove:jc,clone:Wc,datum:Kc,on:r1,dispatch:i1,[Symbol.iterator]:a1};function jt(n){return typeof n=="string"?new qr([[document.querySelector(n)]],[document.documentElement]):new qr([[n]],Fo)}function l1(n){let a;for(;a=n.sourceEvent;)n=a;return n}function f0(n,a){if(n=l1(n),a===void 0&&(a=n.currentTarget),a){var s=a.ownerSVGElement||a;if(s.createSVGPoint){var d=s.createSVGPoint();return d.x=n.clientX,d.y=n.clientY,d=d.matrixTransform(a.getScreenCTM().inverse()),[d.x,d.y]}if(a.getBoundingClientRect){var x=a.getBoundingClientRect();return[n.clientX-x.left-a.clientLeft,n.clientY-x.top-a.clientTop]}}return[n.pageX,n.pageY]}function cl(n){n.preventDefault(),n.stopImmediatePropagation()}function o1(n){var a=n.document.documentElement,s=jt(n).on("dragstart.drag",cl,!0);"onselectstart"in a?s.on("selectstart.drag",cl,!0):(a.__noselect=a.style.MozUserSelect,a.style.MozUserSelect="none")}function s1(n,a){var s=n.document.documentElement,d=jt(n).on("dragstart.drag",null);a&&(d.on("click.drag",cl,!0),setTimeout(function(){d.on("click.drag",null)},0)),"onselectstart"in s?d.on("selectstart.drag",null):(s.style.MozUserSelect=s.__noselect,delete s.__noselect)}function Cl(n,a,s){n.prototype=a.prototype=s,s.constructor=n}function No(n,a){var s=Object.create(n.prototype);for(var d in a)s[d]=a[d];return s}function ri(){}var Kn=.7,Ia=1/Kn,an="\\s*([+-]?\\d+)\\s*",Zn="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",gt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",c1=/^#([0-9a-f]{3,8})$/,h1=new RegExp("^rgb\\("+[an,an,an]+"\\)$"),f1=new RegExp("^rgb\\("+[gt,gt,gt]+"\\)$"),p1=new RegExp("^rgba\\("+[an,an,an,Zn]+"\\)$"),d1=new RegExp("^rgba\\("+[gt,gt,gt,Zn]+"\\)$"),m1=new RegExp("^hsl\\("+[Zn,gt,gt]+"\\)$"),v1=new RegExp("^hsla\\("+[Zn,gt,gt,Zn]+"\\)$"),Gl={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Cl(ri,Jn,{copy:function(n){return Object.assign(new this.constructor,this,n)},displayable:function(){return this.rgb().displayable()},hex:jl,formatHex:jl,formatHsl:g1,formatRgb:Yl,toString:Yl});function jl(){return this.rgb().formatHex()}function g1(){return qo(this).formatHsl()}function Yl(){return this.rgb().formatRgb()}function Jn(n){var a,s;return n=(n+"").trim().toLowerCase(),(a=c1.exec(n))?(s=a[1].length,a=parseInt(a[1],16),s===6?Xl(a):s===3?new jr(a>>8&15|a>>4&240,a>>4&15|a&240,(a&15)<<4|a&15,1):s===8?Ca(a>>24&255,a>>16&255,a>>8&255,(a&255)/255):s===4?Ca(a>>12&15|a>>8&240,a>>8&15|a>>4&240,a>>4&15|a&240,((a&15)<<4|a&15)/255):null):(a=h1.exec(n))?new jr(a[1],a[2],a[3],1):(a=f1.exec(n))?new jr(a[1]*255/100,a[2]*255/100,a[3]*255/100,1):(a=p1.exec(n))?Ca(a[1],a[2],a[3],a[4]):(a=d1.exec(n))?Ca(a[1]*255/100,a[2]*255/100,a[3]*255/100,a[4]):(a=m1.exec(n))?Zl(a[1],a[2]/100,a[3]/100,1):(a=v1.exec(n))?Zl(a[1],a[2]/100,a[3]/100,a[4]):Gl.hasOwnProperty(n)?Xl(Gl[n]):n==="transparent"?new jr(NaN,NaN,NaN,0):null}function Xl(n){return new jr(n>>16&255,n>>8&255,n&255,1)}function Ca(n,a,s,d){return d<=0&&(n=a=s=NaN),new jr(n,a,s,d)}function y1(n){return n instanceof ri||(n=Jn(n)),n?(n=n.rgb(),new jr(n.r,n.g,n.b,n.opacity)):new jr}function hl(n,a,s,d){return arguments.length===1?y1(n):new jr(n,a,s,d??1)}function jr(n,a,s,d){this.r=+n,this.g=+a,this.b=+s,this.opacity=+d}Cl(jr,hl,No(ri,{brighter:function(n){return n=n==null?Ia:Math.pow(Ia,n),new jr(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=n==null?Kn:Math.pow(Kn,n),new jr(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Wl,formatHex:Wl,formatRgb:Kl,toString:Kl}));function Wl(){return"#"+rl(this.r)+rl(this.g)+rl(this.b)}function Kl(){var n=this.opacity;return n=isNaN(n)?1:Math.max(0,Math.min(1,n)),(n===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(n===1?")":", "+n+")")}function rl(n){return n=Math.max(0,Math.min(255,Math.round(n)||0)),(n<16?"0":"")+n.toString(16)}function Zl(n,a,s,d){return d<=0?n=a=s=NaN:s<=0||s>=1?n=a=NaN:a<=0&&(n=NaN),new vt(n,a,s,d)}function qo(n){if(n instanceof vt)return new vt(n.h,n.s,n.l,n.opacity);if(n instanceof ri||(n=Jn(n)),!n)return new vt;if(n instanceof vt)return n;n=n.rgb();var a=n.r/255,s=n.g/255,d=n.b/255,x=Math.min(a,s,d),b=Math.max(a,s,d),C=NaN,B=b-x,z=(b+x)/2;return B?(a===b?C=(s-d)/B+(s<d)*6:s===b?C=(d-a)/B+2:C=(a-s)/B+4,B/=z<.5?b+x:2-b-x,C*=60):B=z>0&&z<1?0:C,new vt(C,B,z,n.opacity)}function x1(n,a,s,d){return arguments.length===1?qo(n):new vt(n,a,s,d??1)}function vt(n,a,s,d){this.h=+n,this.s=+a,this.l=+s,this.opacity=+d}Cl(vt,x1,No(ri,{brighter:function(n){return n=n==null?Ia:Math.pow(Ia,n),new vt(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=n==null?Kn:Math.pow(Kn,n),new vt(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+(this.h<0)*360,a=isNaN(n)||isNaN(this.s)?0:this.s,s=this.l,d=s+(s<.5?s:1-s)*a,x=2*s-d;return new jr(tl(n>=240?n-240:n+120,x,d),tl(n,x,d),tl(n<120?n+240:n-120,x,d),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var n=this.opacity;return n=isNaN(n)?1:Math.max(0,Math.min(1,n)),(n===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(n===1?")":", "+n+")")}}));function tl(n,a,s){return(n<60?a+(s-a)*n/60:n<180?s:n<240?a+(s-a)*(240-n)/60:a)*255}const Ro=n=>()=>n;function b1(n,a){return function(s){return n+s*a}}function w1(n,a,s){return n=Math.pow(n,s),a=Math.pow(a,s)-n,s=1/s,function(d){return Math.pow(n+d*a,s)}}function A1(n){return(n=+n)==1?Io:function(a,s){return s-a?w1(a,s,n):Ro(isNaN(a)?s:a)}}function Io(n,a){var s=a-n;return s?b1(n,s):Ro(isNaN(n)?a:n)}const Jl=function n(a){var s=A1(a);function d(x,b){var C=s((x=hl(x)).r,(b=hl(b)).r),B=s(x.g,b.g),z=s(x.b,b.b),I=Io(x.opacity,b.opacity);return function(q){return x.r=C(q),x.g=B(q),x.b=z(q),x.opacity=I(q),x+""}}return d.gamma=n,d}(1);function Vt(n,a){return n=+n,a=+a,function(s){return n*(1-s)+a*s}}var fl=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,nl=new RegExp(fl.source,"g");function k1(n){return function(){return n}}function S1(n){return function(a){return n(a)+""}}function C1(n,a){var s=fl.lastIndex=nl.lastIndex=0,d,x,b,C=-1,B=[],z=[];for(n=n+"",a=a+"";(d=fl.exec(n))&&(x=nl.exec(a));)(b=x.index)>s&&(b=a.slice(s,b),B[C]?B[C]+=b:B[++C]=b),(d=d[0])===(x=x[0])?B[C]?B[C]+=x:B[++C]=x:(B[++C]=null,z.push({i:C,x:Vt(d,x)})),s=nl.lastIndex;return s<a.length&&(b=a.slice(s),B[C]?B[C]+=b:B[++C]=b),B.length<2?z[0]?S1(z[0].x):k1(a):(a=z.length,function(I){for(var q=0,V;q<a;++q)B[(V=z[q]).i]=V.x(I);return B.join("")})}var Ql=180/Math.PI,pl={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Oo(n,a,s,d,x,b){var C,B,z;return(C=Math.sqrt(n*n+a*a))&&(n/=C,a/=C),(z=n*s+a*d)&&(s-=n*z,d-=a*z),(B=Math.sqrt(s*s+d*d))&&(s/=B,d/=B,z/=B),n*d<a*s&&(n=-n,a=-a,z=-z,C=-C),{translateX:x,translateY:b,rotate:Math.atan2(a,n)*Ql,skewX:Math.atan(z)*Ql,scaleX:C,scaleY:B}}var Da;function D1(n){const a=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(n+"");return a.isIdentity?pl:Oo(a.a,a.b,a.c,a.d,a.e,a.f)}function E1(n){return n==null||(Da||(Da=document.createElementNS("http://www.w3.org/2000/svg","g")),Da.setAttribute("transform",n),!(n=Da.transform.baseVal.consolidate()))?pl:(n=n.matrix,Oo(n.a,n.b,n.c,n.d,n.e,n.f))}function Lo(n,a,s,d){function x(I){return I.length?I.pop()+" ":""}function b(I,q,V,W,j,ke){if(I!==V||q!==W){var ve=j.push("translate(",null,a,null,s);ke.push({i:ve-4,x:Vt(I,V)},{i:ve-2,x:Vt(q,W)})}else(V||W)&&j.push("translate("+V+a+W+s)}function C(I,q,V,W){I!==q?(I-q>180?q+=360:q-I>180&&(I+=360),W.push({i:V.push(x(V)+"rotate(",null,d)-2,x:Vt(I,q)})):q&&V.push(x(V)+"rotate("+q+d)}function B(I,q,V,W){I!==q?W.push({i:V.push(x(V)+"skewX(",null,d)-2,x:Vt(I,q)}):q&&V.push(x(V)+"skewX("+q+d)}function z(I,q,V,W,j,ke){if(I!==V||q!==W){var ve=j.push(x(j)+"scale(",null,",",null,")");ke.push({i:ve-4,x:Vt(I,V)},{i:ve-2,x:Vt(q,W)})}else(V!==1||W!==1)&&j.push(x(j)+"scale("+V+","+W+")")}return function(I,q){var V=[],W=[];return I=n(I),q=n(q),b(I.translateX,I.translateY,q.translateX,q.translateY,V,W),C(I.rotate,q.rotate,V,W),B(I.skewX,q.skewX,V,W),z(I.scaleX,I.scaleY,q.scaleX,q.scaleY,V,W),I=q=null,function(j){for(var ke=-1,ve=W.length,De;++ke<ve;)V[(De=W[ke]).i]=De.x(j);return V.join("")}}}var B1=Lo(D1,"px, ","px)","deg)"),M1=Lo(E1,", ",")",")"),T1=1e-12;function eo(n){return((n=Math.exp(n))+1/n)/2}function _1(n){return((n=Math.exp(n))-1/n)/2}function z1(n){return((n=Math.exp(2*n))-1)/(n+1)}const F1=function n(a,s,d){function x(b,C){var B=b[0],z=b[1],I=b[2],q=C[0],V=C[1],W=C[2],j=q-B,ke=V-z,ve=j*j+ke*ke,De,Z;if(ve<T1)Z=Math.log(W/I)/a,De=function(ar){return[B+ar*j,z+ar*ke,I*Math.exp(a*ar*Z)]};else{var be=Math.sqrt(ve),qe=(W*W-I*I+d*ve)/(2*I*s*be),Ve=(W*W-I*I-d*ve)/(2*W*s*be),Oe=Math.log(Math.sqrt(qe*qe+1)-qe),ir=Math.log(Math.sqrt(Ve*Ve+1)-Ve);Z=(ir-Oe)/a,De=function(ar){var ur=ar*Z,or=eo(Oe),Br=I/(s*be)*(or*z1(a*ur+Oe)-_1(Oe));return[B+Br*j,z+Br*ke,I*or/eo(a*ur+Oe)]}}return De.duration=Z*1e3*a/Math.SQRT2,De}return x.rho=function(b){var C=Math.max(.001,+b),B=C*C,z=B*B;return n(C,B,z)},x}(Math.SQRT2,2,4);var ln=0,Yn=0,Gn=0,Po=1e3,Oa,Xn,La=0,g0=0,ja=0,Qn=typeof performance=="object"&&performance.now?performance:Date,Ho=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(n){setTimeout(n,17)};function Dl(){return g0||(Ho(N1),g0=Qn.now()+ja)}function N1(){g0=0}function Pa(){this._call=this._time=this._next=null}Pa.prototype=Uo.prototype={constructor:Pa,restart:function(n,a,s){if(typeof n!="function")throw new TypeError("callback is not a function");s=(s==null?Dl():+s)+(a==null?0:+a),!this._next&&Xn!==this&&(Xn?Xn._next=this:Oa=this,Xn=this),this._call=n,this._time=s,dl()},stop:function(){this._call&&(this._call=null,this._time=1/0,dl())}};function Uo(n,a,s){var d=new Pa;return d.restart(n,a,s),d}function q1(){Dl(),++ln;for(var n=Oa,a;n;)(a=g0-n._time)>=0&&n._call.call(null,a),n=n._next;--ln}function ro(){g0=(La=Qn.now())+ja,ln=Yn=0;try{q1()}finally{ln=0,I1(),g0=0}}function R1(){var n=Qn.now(),a=n-La;a>Po&&(ja-=a,La=n)}function I1(){for(var n,a=Oa,s,d=1/0;a;)a._call?(d>a._time&&(d=a._time),n=a,a=a._next):(s=a._next,a._next=null,a=n?n._next=s:Oa=s);Xn=n,dl(d)}function dl(n){if(!ln){Yn&&(Yn=clearTimeout(Yn));var a=n-g0;a>24?(n<1/0&&(Yn=setTimeout(ro,n-Qn.now()-ja)),Gn&&(Gn=clearInterval(Gn))):(Gn||(La=Qn.now(),Gn=setInterval(R1,Po)),ln=1,Ho(ro))}}function to(n,a,s){var d=new Pa;return a=a==null?0:+a,d.restart(x=>{d.stop(),n(x+a)},a,s),d}var O1=Al("start","end","cancel","interrupt"),L1=[],$o=0,no=1,ml=2,_a=3,io=4,vl=5,za=6;function Ya(n,a,s,d,x,b){var C=n.__transition;if(!C)n.__transition={};else if(s in C)return;P1(n,s,{name:a,index:d,group:x,on:O1,tween:L1,time:b.time,delay:b.delay,duration:b.duration,ease:b.ease,timer:null,state:$o})}function El(n,a){var s=nt(n,a);if(s.state>$o)throw new Error("too late; already scheduled");return s}function yt(n,a){var s=nt(n,a);if(s.state>_a)throw new Error("too late; already running");return s}function nt(n,a){var s=n.__transition;if(!s||!(s=s[a]))throw new Error("transition not found");return s}function P1(n,a,s){var d=n.__transition,x;d[a]=s,s.timer=Uo(b,0,s.time);function b(I){s.state=no,s.timer.restart(C,s.delay,s.time),s.delay<=I&&C(I-s.delay)}function C(I){var q,V,W,j;if(s.state!==no)return z();for(q in d)if(j=d[q],j.name===s.name){if(j.state===_a)return to(C);j.state===io?(j.state=za,j.timer.stop(),j.on.call("interrupt",n,n.__data__,j.index,j.group),delete d[q]):+q<a&&(j.state=za,j.timer.stop(),j.on.call("cancel",n,n.__data__,j.index,j.group),delete d[q])}if(to(function(){s.state===_a&&(s.state=io,s.timer.restart(B,s.delay,s.time),B(I))}),s.state=ml,s.on.call("start",n,n.__data__,s.index,s.group),s.state===ml){for(s.state=_a,x=new Array(W=s.tween.length),q=0,V=-1;q<W;++q)(j=s.tween[q].value.call(n,n.__data__,s.index,s.group))&&(x[++V]=j);x.length=V+1}}function B(I){for(var q=I<s.duration?s.ease.call(null,I/s.duration):(s.timer.restart(z),s.state=vl,1),V=-1,W=x.length;++V<W;)x[V].call(n,q);s.state===vl&&(s.on.call("end",n,n.__data__,s.index,s.group),z())}function z(){s.state=za,s.timer.stop(),delete d[a];for(var I in d)return;delete n.__transition}}function Fa(n,a){var s=n.__transition,d,x,b=!0,C;if(s){a=a==null?null:a+"";for(C in s){if((d=s[C]).name!==a){b=!1;continue}x=d.state>ml&&d.state<vl,d.state=za,d.timer.stop(),d.on.call(x?"interrupt":"cancel",n,n.__data__,d.index,d.group),delete s[C]}b&&delete n.__transition}}function H1(n){return this.each(function(){Fa(this,n)})}function U1(n,a){var s,d;return function(){var x=yt(this,n),b=x.tween;if(b!==s){d=s=b;for(var C=0,B=d.length;C<B;++C)if(d[C].name===a){d=d.slice(),d.splice(C,1);break}}x.tween=d}}function $1(n,a,s){var d,x;if(typeof s!="function")throw new Error;return function(){var b=yt(this,n),C=b.tween;if(C!==d){x=(d=C).slice();for(var B={name:a,value:s},z=0,I=x.length;z<I;++z)if(x[z].name===a){x[z]=B;break}z===I&&x.push(B)}b.tween=x}}function V1(n,a){var s=this._id;if(n+="",arguments.length<2){for(var d=nt(this.node(),s).tween,x=0,b=d.length,C;x<b;++x)if((C=d[x]).name===n)return C.value;return null}return this.each((a==null?U1:$1)(s,n,a))}function Bl(n,a,s){var d=n._id;return n.each(function(){var x=yt(this,d);(x.value||(x.value={}))[a]=s.apply(this,arguments)}),function(x){return nt(x,d).value[a]}}function Vo(n,a){var s;return(typeof a=="number"?Vt:a instanceof Jn?Jl:(s=Jn(a))?(a=s,Jl):C1)(n,a)}function G1(n){return function(){this.removeAttribute(n)}}function j1(n){return function(){this.removeAttributeNS(n.space,n.local)}}function Y1(n,a,s){var d,x=s+"",b;return function(){var C=this.getAttribute(n);return C===x?null:C===d?b:b=a(d=C,s)}}function X1(n,a,s){var d,x=s+"",b;return function(){var C=this.getAttributeNS(n.space,n.local);return C===x?null:C===d?b:b=a(d=C,s)}}function W1(n,a,s){var d,x,b;return function(){var C,B=s(this),z;return B==null?void this.removeAttribute(n):(C=this.getAttribute(n),z=B+"",C===z?null:C===d&&z===x?b:(x=z,b=a(d=C,B)))}}function K1(n,a,s){var d,x,b;return function(){var C,B=s(this),z;return B==null?void this.removeAttributeNS(n.space,n.local):(C=this.getAttributeNS(n.space,n.local),z=B+"",C===z?null:C===d&&z===x?b:(x=z,b=a(d=C,B)))}}function Z1(n,a){var s=Ga(n),d=s==="transform"?M1:Vo;return this.attrTween(n,typeof a=="function"?(s.local?K1:W1)(s,d,Bl(this,"attr."+n,a)):a==null?(s.local?j1:G1)(s):(s.local?X1:Y1)(s,d,a))}function J1(n,a){return function(s){this.setAttribute(n,a.call(this,s))}}function Q1(n,a){return function(s){this.setAttributeNS(n.space,n.local,a.call(this,s))}}function eh(n,a){var s,d;function x(){var b=a.apply(this,arguments);return b!==d&&(s=(d=b)&&Q1(n,b)),s}return x._value=a,x}function rh(n,a){var s,d;function x(){var b=a.apply(this,arguments);return b!==d&&(s=(d=b)&&J1(n,b)),s}return x._value=a,x}function th(n,a){var s="attr."+n;if(arguments.length<2)return(s=this.tween(s))&&s._value;if(a==null)return this.tween(s,null);if(typeof a!="function")throw new Error;var d=Ga(n);return this.tween(s,(d.local?eh:rh)(d,a))}function nh(n,a){return function(){El(this,n).delay=+a.apply(this,arguments)}}function ih(n,a){return a=+a,function(){El(this,n).delay=a}}function ah(n){var a=this._id;return arguments.length?this.each((typeof n=="function"?nh:ih)(a,n)):nt(this.node(),a).delay}function uh(n,a){return function(){yt(this,n).duration=+a.apply(this,arguments)}}function lh(n,a){return a=+a,function(){yt(this,n).duration=a}}function oh(n){var a=this._id;return arguments.length?this.each((typeof n=="function"?uh:lh)(a,n)):nt(this.node(),a).duration}function sh(n,a){if(typeof a!="function")throw new Error;return function(){yt(this,n).ease=a}}function ch(n){var a=this._id;return arguments.length?this.each(sh(a,n)):nt(this.node(),a).ease}function hh(n,a){return function(){var s=a.apply(this,arguments);if(typeof s!="function")throw new Error;yt(this,n).ease=s}}function fh(n){if(typeof n!="function")throw new Error;return this.each(hh(this._id,n))}function ph(n){typeof n!="function"&&(n=So(n));for(var a=this._groups,s=a.length,d=new Array(s),x=0;x<s;++x)for(var b=a[x],C=b.length,B=d[x]=[],z,I=0;I<C;++I)(z=b[I])&&n.call(z,z.__data__,I,b)&&B.push(z);return new Tt(d,this._parents,this._name,this._id)}function dh(n){if(n._id!==this._id)throw new Error;for(var a=this._groups,s=n._groups,d=a.length,x=s.length,b=Math.min(d,x),C=new Array(d),B=0;B<b;++B)for(var z=a[B],I=s[B],q=z.length,V=C[B]=new Array(q),W,j=0;j<q;++j)(W=z[j]||I[j])&&(V[j]=W);for(;B<d;++B)C[B]=a[B];return new Tt(C,this._parents,this._name,this._id)}function mh(n){return(n+"").trim().split(/^|\s+/).every(function(a){var s=a.indexOf(".");return s>=0&&(a=a.slice(0,s)),!a||a==="start"})}function vh(n,a,s){var d,x,b=mh(a)?El:yt;return function(){var C=b(this,n),B=C.on;B!==d&&(x=(d=B).copy()).on(a,s),C.on=x}}function gh(n,a){var s=this._id;return arguments.length<2?nt(this.node(),s).on.on(n):this.each(vh(s,n,a))}function yh(n){return function(){var a=this.parentNode;for(var s in this.__transition)if(+s!==n)return;a&&a.removeChild(this)}}function xh(){return this.on("end.remove",yh(this._id))}function bh(n){var a=this._name,s=this._id;typeof n!="function"&&(n=kl(n));for(var d=this._groups,x=d.length,b=new Array(x),C=0;C<x;++C)for(var B=d[C],z=B.length,I=b[C]=new Array(z),q,V,W=0;W<z;++W)(q=B[W])&&(V=n.call(q,q.__data__,W,B))&&("__data__"in q&&(V.__data__=q.__data__),I[W]=V,Ya(I[W],a,s,W,I,nt(q,s)));return new Tt(b,this._parents,a,s)}function wh(n){var a=this._name,s=this._id;typeof n!="function"&&(n=ko(n));for(var d=this._groups,x=d.length,b=[],C=[],B=0;B<x;++B)for(var z=d[B],I=z.length,q,V=0;V<I;++V)if(q=z[V]){for(var W=n.call(q,q.__data__,V,z),j,ke=nt(q,s),ve=0,De=W.length;ve<De;++ve)(j=W[ve])&&Ya(j,a,s,ve,W,ke);b.push(W),C.push(q)}return new Tt(b,C,a,s)}var Ah=ei.prototype.constructor;function kh(){return new Ah(this._groups,this._parents)}function Sh(n,a){var s,d,x;return function(){var b=un(this,n),C=(this.style.removeProperty(n),un(this,n));return b===C?null:b===s&&C===d?x:x=a(s=b,d=C)}}function Go(n){return function(){this.style.removeProperty(n)}}function Ch(n,a,s){var d,x=s+"",b;return function(){var C=un(this,n);return C===x?null:C===d?b:b=a(d=C,s)}}function Dh(n,a,s){var d,x,b;return function(){var C=un(this,n),B=s(this),z=B+"";return B==null&&(z=B=(this.style.removeProperty(n),un(this,n))),C===z?null:C===d&&z===x?b:(x=z,b=a(d=C,B))}}function Eh(n,a){var s,d,x,b="style."+a,C="end."+b,B;return function(){var z=yt(this,n),I=z.on,q=z.value[b]==null?B||(B=Go(a)):void 0;(I!==s||x!==q)&&(d=(s=I).copy()).on(C,x=q),z.on=d}}function Bh(n,a,s){var d=(n+="")=="transform"?B1:Vo;return a==null?this.styleTween(n,Sh(n,d)).on("end.style."+n,Go(n)):typeof a=="function"?this.styleTween(n,Dh(n,d,Bl(this,"style."+n,a))).each(Eh(this._id,n)):this.styleTween(n,Ch(n,d,a),s).on("end.style."+n,null)}function Mh(n,a,s){return function(d){this.style.setProperty(n,a.call(this,d),s)}}function Th(n,a,s){var d,x;function b(){var C=a.apply(this,arguments);return C!==x&&(d=(x=C)&&Mh(n,C,s)),d}return b._value=a,b}function _h(n,a,s){var d="style."+(n+="");if(arguments.length<2)return(d=this.tween(d))&&d._value;if(a==null)return this.tween(d,null);if(typeof a!="function")throw new Error;return this.tween(d,Th(n,a,s??""))}function zh(n){return function(){this.textContent=n}}function Fh(n){return function(){var a=n(this);this.textContent=a??""}}function Nh(n){return this.tween("text",typeof n=="function"?Fh(Bl(this,"text",n)):zh(n==null?"":n+""))}function qh(n){return function(a){this.textContent=n.call(this,a)}}function Rh(n){var a,s;function d(){var x=n.apply(this,arguments);return x!==s&&(a=(s=x)&&qh(x)),a}return d._value=n,d}function Ih(n){var a="text";if(arguments.length<1)return(a=this.tween(a))&&a._value;if(n==null)return this.tween(a,null);if(typeof n!="function")throw new Error;return this.tween(a,Rh(n))}function Oh(){for(var n=this._name,a=this._id,s=jo(),d=this._groups,x=d.length,b=0;b<x;++b)for(var C=d[b],B=C.length,z,I=0;I<B;++I)if(z=C[I]){var q=nt(z,a);Ya(z,n,s,I,C,{time:q.time+q.delay+q.duration,delay:0,duration:q.duration,ease:q.ease})}return new Tt(d,this._parents,n,s)}function Lh(){var n,a,s=this,d=s._id,x=s.size();return new Promise(function(b,C){var B={value:C},z={value:function(){--x===0&&b()}};s.each(function(){var I=yt(this,d),q=I.on;q!==n&&(a=(n=q).copy(),a._.cancel.push(B),a._.interrupt.push(B),a._.end.push(z)),I.on=a}),x===0&&b()})}var Ph=0;function Tt(n,a,s,d){this._groups=n,this._parents=a,this._name=s,this._id=d}function jo(){return++Ph}var p0=ei.prototype;Tt.prototype={constructor:Tt,select:bh,selectAll:wh,filter:ph,merge:dh,selection:kh,transition:Oh,call:p0.call,nodes:p0.nodes,node:p0.node,size:p0.size,empty:p0.empty,each:p0.each,on:gh,attr:Z1,attrTween:th,style:Bh,styleTween:_h,text:Nh,textTween:Ih,remove:xh,tween:V1,delay:ah,duration:oh,ease:ch,easeVarying:fh,end:Lh,[Symbol.iterator]:p0[Symbol.iterator]};function Hh(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}var Uh={time:null,delay:0,duration:250,ease:Hh};function $h(n,a){for(var s;!(s=n.__transition)||!(s=s[a]);)if(!(n=n.parentNode))throw new Error(`transition ${a} not found`);return s}function Vh(n){var a,s;n instanceof Tt?(a=n._id,n=n._name):(a=jo(),(s=Uh).time=Dl(),n=n==null?null:n+"");for(var d=this._groups,x=d.length,b=0;b<x;++b)for(var C=d[b],B=C.length,z,I=0;I<B;++I)(z=C[I])&&Ya(z,n,a,I,C,s||$h(z,a));return new Tt(d,this._parents,n,a)}ei.prototype.interrupt=H1;ei.prototype.transition=Vh;const gl=Math.PI,yl=2*gl,d0=1e-6,Gh=yl-d0;function xl(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Yo(){return new xl}xl.prototype=Yo.prototype={constructor:xl,moveTo:function(n,a){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+a)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(n,a){this._+="L"+(this._x1=+n)+","+(this._y1=+a)},quadraticCurveTo:function(n,a,s,d){this._+="Q"+ +n+","+ +a+","+(this._x1=+s)+","+(this._y1=+d)},bezierCurveTo:function(n,a,s,d,x,b){this._+="C"+ +n+","+ +a+","+ +s+","+ +d+","+(this._x1=+x)+","+(this._y1=+b)},arcTo:function(n,a,s,d,x){n=+n,a=+a,s=+s,d=+d,x=+x;var b=this._x1,C=this._y1,B=s-n,z=d-a,I=b-n,q=C-a,V=I*I+q*q;if(x<0)throw new Error("negative radius: "+x);if(this._x1===null)this._+="M"+(this._x1=n)+","+(this._y1=a);else if(V>d0)if(!(Math.abs(q*B-z*I)>d0)||!x)this._+="L"+(this._x1=n)+","+(this._y1=a);else{var W=s-b,j=d-C,ke=B*B+z*z,ve=W*W+j*j,De=Math.sqrt(ke),Z=Math.sqrt(V),be=x*Math.tan((gl-Math.acos((ke+V-ve)/(2*De*Z)))/2),qe=be/Z,Ve=be/De;Math.abs(qe-1)>d0&&(this._+="L"+(n+qe*I)+","+(a+qe*q)),this._+="A"+x+","+x+",0,0,"+ +(q*W>I*j)+","+(this._x1=n+Ve*B)+","+(this._y1=a+Ve*z)}},arc:function(n,a,s,d,x,b){n=+n,a=+a,s=+s,b=!!b;var C=s*Math.cos(d),B=s*Math.sin(d),z=n+C,I=a+B,q=1^b,V=b?d-x:x-d;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+z+","+I:(Math.abs(this._x1-z)>d0||Math.abs(this._y1-I)>d0)&&(this._+="L"+z+","+I),s&&(V<0&&(V=V%yl+yl),V>Gh?this._+="A"+s+","+s+",0,1,"+q+","+(n-C)+","+(a-B)+"A"+s+","+s+",0,1,"+q+","+(this._x1=z)+","+(this._y1=I):V>d0&&(this._+="A"+s+","+s+",0,"+ +(V>=gl)+","+q+","+(this._x1=n+s*Math.cos(x))+","+(this._y1=a+s*Math.sin(x))))},rect:function(n,a,s,d){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+a)+"h"+ +s+"v"+ +d+"h"+-s+"Z"},toString:function(){return this._}};function jh(n,a){switch(arguments.length){case 0:break;case 1:this.range(n);break;default:this.range(a).domain(n);break}return this}const ao=Symbol("implicit");function Xo(){var n=new Map,a=[],s=[],d=ao;function x(b){var C=b+"",B=n.get(C);if(!B){if(d!==ao)return d;n.set(C,B=a.push(b))}return s[(B-1)%s.length]}return x.domain=function(b){if(!arguments.length)return a.slice();a=[],n=new Map;for(const C of b){const B=C+"";n.has(B)||n.set(B,a.push(C))}return x},x.range=function(b){return arguments.length?(s=Array.from(b),x):s.slice()},x.unknown=function(b){return arguments.length?(d=b,x):d},x.copy=function(){return Xo(a,s).unknown(d)},jh.apply(x,arguments),x}function Yh(n){for(var a=n.length/6|0,s=new Array(a),d=0;d<a;)s[d]="#"+n.slice(d*6,++d*6);return s}const Xh=Yh("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf");function uo(n){return function(){return n}}var Wh=Array.prototype.slice;function Kh(n){return n[0]}function Zh(n){return n[1]}function Jh(n){return n.source}function Qh(n){return n.target}function e2(n){var a=Jh,s=Qh,d=Kh,x=Zh,b=null;function C(){var B,z=Wh.call(arguments),I=a.apply(this,z),q=s.apply(this,z);if(b||(b=B=Yo()),n(b,+d.apply(this,(z[0]=I,z)),+x.apply(this,z),+d.apply(this,(z[0]=q,z)),+x.apply(this,z)),B)return b=null,B+""||null}return C.source=function(B){return arguments.length?(a=B,C):a},C.target=function(B){return arguments.length?(s=B,C):s},C.x=function(B){return arguments.length?(d=typeof B=="function"?B:uo(+B),C):d},C.y=function(B){return arguments.length?(x=typeof B=="function"?B:uo(+B),C):x},C.context=function(B){return arguments.length?(b=B??null,C):b},C}function r2(n,a,s,d,x){n.moveTo(a,s),n.bezierCurveTo(a=(a+d)/2,s,a,x,d,x)}function t2(){return e2(r2)}const Ea=n=>()=>n;function n2(n,{sourceEvent:a,target:s,transform:d,dispatch:x}){Object.defineProperties(this,{type:{value:n,enumerable:!0,configurable:!0},sourceEvent:{value:a,enumerable:!0,configurable:!0},target:{value:s,enumerable:!0,configurable:!0},transform:{value:d,enumerable:!0,configurable:!0},_:{value:x}})}function Bt(n,a,s){this.k=n,this.x=a,this.y=s}Bt.prototype={constructor:Bt,scale:function(n){return n===1?this:new Bt(this.k*n,this.x,this.y)},translate:function(n,a){return n===0&a===0?this:new Bt(this.k,this.x+this.k*n,this.y+this.k*a)},apply:function(n){return[n[0]*this.k+this.x,n[1]*this.k+this.y]},applyX:function(n){return n*this.k+this.x},applyY:function(n){return n*this.k+this.y},invert:function(n){return[(n[0]-this.x)/this.k,(n[1]-this.y)/this.k]},invertX:function(n){return(n-this.x)/this.k},invertY:function(n){return(n-this.y)/this.k},rescaleX:function(n){return n.copy().domain(n.range().map(this.invertX,this).map(n.invert,n))},rescaleY:function(n){return n.copy().domain(n.range().map(this.invertY,this).map(n.invert,n))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Xa=new Bt(1,0,0);Na.prototype=Bt.prototype;function Na(n){for(;!n.__zoom;)if(!(n=n.parentNode))return Xa;return n.__zoom}function il(n){n.stopImmediatePropagation()}function jn(n){n.preventDefault(),n.stopImmediatePropagation()}function i2(n){return(!n.ctrlKey||n.type==="wheel")&&!n.button}function a2(){var n=this;return n instanceof SVGElement?(n=n.ownerSVGElement||n,n.hasAttribute("viewBox")?(n=n.viewBox.baseVal,[[n.x,n.y],[n.x+n.width,n.y+n.height]]):[[0,0],[n.width.baseVal.value,n.height.baseVal.value]]):[[0,0],[n.clientWidth,n.clientHeight]]}function lo(){return this.__zoom||Xa}function u2(n){return-n.deltaY*(n.deltaMode===1?.05:n.deltaMode?1:.002)*(n.ctrlKey?10:1)}function l2(){return navigator.maxTouchPoints||"ontouchstart"in this}function o2(n,a,s){var d=n.invertX(a[0][0])-s[0][0],x=n.invertX(a[1][0])-s[1][0],b=n.invertY(a[0][1])-s[0][1],C=n.invertY(a[1][1])-s[1][1];return n.translate(x>d?(d+x)/2:Math.min(0,d)||Math.max(0,x),C>b?(b+C)/2:Math.min(0,b)||Math.max(0,C))}function s2(){var n=i2,a=a2,s=o2,d=u2,x=l2,b=[0,1/0],C=[[-1/0,-1/0],[1/0,1/0]],B=250,z=F1,I=Al("start","zoom","end"),q,V,W,j=500,ke=150,ve=0,De=10;function Z(P){P.property("__zoom",lo).on("wheel.zoom",ur).on("mousedown.zoom",or).on("dblclick.zoom",Br).filter(x).on("touchstart.zoom",sr).on("touchmove.zoom",Rr).on("touchend.zoom touchcancel.zoom",G).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}Z.transform=function(P,ce,re,we){var Se=P.selection?P.selection():P;Se.property("__zoom",lo),P!==Se?Oe(P,ce,re,we):Se.interrupt().each(function(){ir(this,arguments).event(we).start().zoom(null,typeof ce=="function"?ce.apply(this,arguments):ce).end()})},Z.scaleBy=function(P,ce,re,we){Z.scaleTo(P,function(){var Se=this.__zoom.k,_e=typeof ce=="function"?ce.apply(this,arguments):ce;return Se*_e},re,we)},Z.scaleTo=function(P,ce,re,we){Z.transform(P,function(){var Se=a.apply(this,arguments),_e=this.__zoom,Ee=re==null?Ve(Se):typeof re=="function"?re.apply(this,arguments):re,ue=_e.invert(Ee),Le=typeof ce=="function"?ce.apply(this,arguments):ce;return s(qe(be(_e,Le),Ee,ue),Se,C)},re,we)},Z.translateBy=function(P,ce,re,we){Z.transform(P,function(){return s(this.__zoom.translate(typeof ce=="function"?ce.apply(this,arguments):ce,typeof re=="function"?re.apply(this,arguments):re),a.apply(this,arguments),C)},null,we)},Z.translateTo=function(P,ce,re,we,Se){Z.transform(P,function(){var _e=a.apply(this,arguments),Ee=this.__zoom,ue=we==null?Ve(_e):typeof we=="function"?we.apply(this,arguments):we;return s(Xa.translate(ue[0],ue[1]).scale(Ee.k).translate(typeof ce=="function"?-ce.apply(this,arguments):-ce,typeof re=="function"?-re.apply(this,arguments):-re),_e,C)},we,Se)};function be(P,ce){return ce=Math.max(b[0],Math.min(b[1],ce)),ce===P.k?P:new Bt(ce,P.x,P.y)}function qe(P,ce,re){var we=ce[0]-re[0]*P.k,Se=ce[1]-re[1]*P.k;return we===P.x&&Se===P.y?P:new Bt(P.k,we,Se)}function Ve(P){return[(+P[0][0]+ +P[1][0])/2,(+P[0][1]+ +P[1][1])/2]}function Oe(P,ce,re,we){P.on("start.zoom",function(){ir(this,arguments).event(we).start()}).on("interrupt.zoom end.zoom",function(){ir(this,arguments).event(we).end()}).tween("zoom",function(){var Se=this,_e=arguments,Ee=ir(Se,_e).event(we),ue=a.apply(Se,_e),Le=re==null?Ve(ue):typeof re=="function"?re.apply(Se,_e):re,Mr=Math.max(ue[1][0]-ue[0][0],ue[1][1]-ue[0][1]),Ge=Se.__zoom,mr=typeof ce=="function"?ce.apply(Se,_e):ce,We=z(Ge.invert(Le).concat(Mr/Ge.k),mr.invert(Le).concat(Mr/mr.k));return function(wr){if(wr===1)wr=mr;else{var Ir=We(wr),Yt=Mr/Ir[2];wr=new Bt(Yt,Le[0]-Ir[0]*Yt,Le[1]-Ir[1]*Yt)}Ee.zoom(null,wr)}})}function ir(P,ce,re){return!re&&P.__zooming||new ar(P,ce)}function ar(P,ce){this.that=P,this.args=ce,this.active=0,this.sourceEvent=null,this.extent=a.apply(P,ce),this.taps=0}ar.prototype={event:function(P){return P&&(this.sourceEvent=P),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(P,ce){return this.mouse&&P!=="mouse"&&(this.mouse[1]=ce.invert(this.mouse[0])),this.touch0&&P!=="touch"&&(this.touch0[1]=ce.invert(this.touch0[0])),this.touch1&&P!=="touch"&&(this.touch1[1]=ce.invert(this.touch1[0])),this.that.__zoom=ce,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(P){var ce=jt(this.that).datum();I.call(P,this.that,new n2(P,{sourceEvent:this.sourceEvent,target:Z,type:P,transform:this.that.__zoom,dispatch:I}),ce)}};function ur(P,...ce){if(!n.apply(this,arguments))return;var re=ir(this,ce).event(P),we=this.__zoom,Se=Math.max(b[0],Math.min(b[1],we.k*Math.pow(2,d.apply(this,arguments)))),_e=f0(P);if(re.wheel)(re.mouse[0][0]!==_e[0]||re.mouse[0][1]!==_e[1])&&(re.mouse[1]=we.invert(re.mouse[0]=_e)),clearTimeout(re.wheel);else{if(we.k===Se)return;re.mouse=[_e,we.invert(_e)],Fa(this),re.start()}jn(P),re.wheel=setTimeout(Ee,ke),re.zoom("mouse",s(qe(be(we,Se),re.mouse[0],re.mouse[1]),re.extent,C));function Ee(){re.wheel=null,re.end()}}function or(P,...ce){if(W||!n.apply(this,arguments))return;var re=ir(this,ce,!0).event(P),we=jt(P.view).on("mousemove.zoom",Le,!0).on("mouseup.zoom",Mr,!0),Se=f0(P,_e),_e=P.currentTarget,Ee=P.clientX,ue=P.clientY;o1(P.view),il(P),re.mouse=[Se,this.__zoom.invert(Se)],Fa(this),re.start();function Le(Ge){if(jn(Ge),!re.moved){var mr=Ge.clientX-Ee,We=Ge.clientY-ue;re.moved=mr*mr+We*We>ve}re.event(Ge).zoom("mouse",s(qe(re.that.__zoom,re.mouse[0]=f0(Ge,_e),re.mouse[1]),re.extent,C))}function Mr(Ge){we.on("mousemove.zoom mouseup.zoom",null),s1(Ge.view,re.moved),jn(Ge),re.event(Ge).end()}}function Br(P,...ce){if(n.apply(this,arguments)){var re=this.__zoom,we=f0(P.changedTouches?P.changedTouches[0]:P,this),Se=re.invert(we),_e=re.k*(P.shiftKey?.5:2),Ee=s(qe(be(re,_e),we,Se),a.apply(this,ce),C);jn(P),B>0?jt(this).transition().duration(B).call(Oe,Ee,we,P):jt(this).call(Z.transform,Ee,we,P)}}function sr(P,...ce){if(n.apply(this,arguments)){var re=P.touches,we=re.length,Se=ir(this,ce,P.changedTouches.length===we).event(P),_e,Ee,ue,Le;for(il(P),Ee=0;Ee<we;++Ee)ue=re[Ee],Le=f0(ue,this),Le=[Le,this.__zoom.invert(Le),ue.identifier],Se.touch0?!Se.touch1&&Se.touch0[2]!==Le[2]&&(Se.touch1=Le,Se.taps=0):(Se.touch0=Le,_e=!0,Se.taps=1+!!q);q&&(q=clearTimeout(q)),_e&&(Se.taps<2&&(V=Le[0],q=setTimeout(function(){q=null},j)),Fa(this),Se.start())}}function Rr(P,...ce){if(this.__zooming){var re=ir(this,ce).event(P),we=P.changedTouches,Se=we.length,_e,Ee,ue,Le;for(jn(P),_e=0;_e<Se;++_e)Ee=we[_e],ue=f0(Ee,this),re.touch0&&re.touch0[2]===Ee.identifier?re.touch0[0]=ue:re.touch1&&re.touch1[2]===Ee.identifier&&(re.touch1[0]=ue);if(Ee=re.that.__zoom,re.touch1){var Mr=re.touch0[0],Ge=re.touch0[1],mr=re.touch1[0],We=re.touch1[1],wr=(wr=mr[0]-Mr[0])*wr+(wr=mr[1]-Mr[1])*wr,Ir=(Ir=We[0]-Ge[0])*Ir+(Ir=We[1]-Ge[1])*Ir;Ee=be(Ee,Math.sqrt(wr/Ir)),ue=[(Mr[0]+mr[0])/2,(Mr[1]+mr[1])/2],Le=[(Ge[0]+We[0])/2,(Ge[1]+We[1])/2]}else if(re.touch0)ue=re.touch0[0],Le=re.touch0[1];else return;re.zoom("touch",s(qe(Ee,ue,Le),re.extent,C))}}function G(P,...ce){if(this.__zooming){var re=ir(this,ce).event(P),we=P.changedTouches,Se=we.length,_e,Ee;for(il(P),W&&clearTimeout(W),W=setTimeout(function(){W=null},j),_e=0;_e<Se;++_e)Ee=we[_e],re.touch0&&re.touch0[2]===Ee.identifier?delete re.touch0:re.touch1&&re.touch1[2]===Ee.identifier&&delete re.touch1;if(re.touch1&&!re.touch0&&(re.touch0=re.touch1,delete re.touch1),re.touch0)re.touch0[1]=this.__zoom.invert(re.touch0[0]);else if(re.end(),re.taps===2&&(Ee=f0(Ee,this),Math.hypot(V[0]-Ee[0],V[1]-Ee[1])<De)){var ue=jt(this).on("dblclick.zoom");ue&&ue.apply(this,arguments)}}}return Z.wheelDelta=function(P){return arguments.length?(d=typeof P=="function"?P:Ea(+P),Z):d},Z.filter=function(P){return arguments.length?(n=typeof P=="function"?P:Ea(!!P),Z):n},Z.touchable=function(P){return arguments.length?(x=typeof P=="function"?P:Ea(!!P),Z):x},Z.extent=function(P){return arguments.length?(a=typeof P=="function"?P:Ea([[+P[0][0],+P[0][1]],[+P[1][0],+P[1][1]]]),Z):a},Z.scaleExtent=function(P){return arguments.length?(b[0]=+P[0],b[1]=+P[1],Z):[b[0],b[1]]},Z.translateExtent=function(P){return arguments.length?(C[0][0]=+P[0][0],C[1][0]=+P[1][0],C[0][1]=+P[0][1],C[1][1]=+P[1][1],Z):[[C[0][0],C[0][1]],[C[1][0],C[1][1]]]},Z.constrain=function(P){return arguments.length?(s=P,Z):s},Z.duration=function(P){return arguments.length?(B=+P,Z):B},Z.interpolate=function(P){return arguments.length?(z=P,Z):z},Z.on=function(){var P=I.on.apply(I,arguments);return P===I?Z:P},Z.clickDistance=function(P){return arguments.length?(ve=(P=+P)*P,Z):Math.sqrt(ve)},Z.tapDistance=function(P){return arguments.length?(De=+P,Z):De},Z}/*! markmap-view v0.14.4 | MIT License */function Gt(){return Gt=Object.assign||function(n){for(var a=1;a<arguments.length;a++){var s=arguments[a];for(var d in s)Object.prototype.hasOwnProperty.call(s,d)&&(n[d]=s[d])}return n},Gt.apply(this,arguments)}function c2(n){var a=0,s=n.children,d=s&&s.length;if(!d)a=1;else for(;--d>=0;)a+=s[d].value;n.value=a}function h2(){return this.eachAfter(c2)}function f2(n){var a=this,s,d=[a],x,b,C;do for(s=d.reverse(),d=[];a=s.pop();)if(n(a),x=a.children,x)for(b=0,C=x.length;b<C;++b)d.push(x[b]);while(d.length);return this}function p2(n){for(var a=this,s=[a],d,x;a=s.pop();)if(n(a),d=a.children,d)for(x=d.length-1;x>=0;--x)s.push(d[x]);return this}function d2(n){for(var a=this,s=[a],d=[],x,b,C;a=s.pop();)if(d.push(a),x=a.children,x)for(b=0,C=x.length;b<C;++b)s.push(x[b]);for(;a=d.pop();)n(a);return this}function m2(n){return this.eachAfter(function(a){for(var s=+n(a.data)||0,d=a.children,x=d&&d.length;--x>=0;)s+=d[x].value;a.value=s})}function v2(n){return this.eachBefore(function(a){a.children&&a.children.sort(n)})}function g2(n){for(var a=this,s=y2(a,n),d=[a];a!==s;)a=a.parent,d.push(a);for(var x=d.length;n!==s;)d.splice(x,0,n),n=n.parent;return d}function y2(n,a){if(n===a)return n;var s=n.ancestors(),d=a.ancestors(),x=null;for(n=s.pop(),a=d.pop();n===a;)x=n,n=s.pop(),a=d.pop();return x}function x2(){for(var n=this,a=[n];n=n.parent;)a.push(n);return a}function b2(){var n=[];return this.each(function(a){n.push(a)}),n}function w2(){var n=[];return this.eachBefore(function(a){a.children||n.push(a)}),n}function A2(){var n=this,a=[];return n.each(function(s){s!==n&&a.push({source:s.parent,target:s})}),a}function Ml(n,a){var s=new Ha(n),d=+n.value&&(s.value=n.value),x,b=[s],C,B,z,I;for(a==null&&(a=S2);x=b.pop();)if(d&&(x.value=+x.data.value),(B=a(x.data))&&(I=B.length))for(x.children=new Array(I),z=I-1;z>=0;--z)b.push(C=x.children[z]=new Ha(B[z])),C.parent=x,C.depth=x.depth+1;return s.eachBefore(D2)}function k2(){return Ml(this).eachBefore(C2)}function S2(n){return n.children}function C2(n){n.data=n.data.data}function D2(n){var a=0;do n.height=a;while((n=n.parent)&&n.height<++a)}function Ha(n){this.data=n,this.depth=this.height=0,this.parent=null}Ha.prototype=Ml.prototype={constructor:Ha,count:h2,each:f2,eachAfter:d2,eachBefore:p2,sum:m2,sort:v2,path:g2,ancestors:x2,descendants:b2,leaves:w2,links:A2,copy:k2};var E2="d3-flextree",B2="2.1.2",M2="build/d3-flextree.js",T2="index",_2={name:"Chris Maloney",url:"http://chrismaloney.org"},z2="Flexible tree layout algorithm that allows for variable node sizes.",F2=["d3","d3-module","layout","tree","hierarchy","d3-hierarchy","plugin","d3-plugin","infovis","visualization","2d"],N2="https://github.com/klortho/d3-flextree",q2="WTFPL",R2={type:"git",url:"https://github.com/klortho/d3-flextree.git"},I2={clean:"rm -rf build demo test","build:demo":"rollup -c --environment BUILD:demo","build:dev":"rollup -c --environment BUILD:dev","build:prod":"rollup -c --environment BUILD:prod","build:test":"rollup -c --environment BUILD:test",build:"rollup -c",lint:"eslint index.js src","test:main":"node test/bundle.js","test:browser":"node test/browser-tests.js",test:"npm-run-all test:*",prepare:"npm-run-all clean build lint test"},O2={"d3-hierarchy":"^1.1.5"},L2={"babel-plugin-external-helpers":"^6.22.0","babel-preset-es2015-rollup":"^3.0.0",d3:"^4.13.0","d3-selection-multi":"^1.0.1",eslint:"^4.19.1",jsdom:"^11.6.2","npm-run-all":"^4.1.2",rollup:"^0.55.3","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-copy":"^0.2.3","rollup-plugin-json":"^2.3.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-uglify":"^3.0.0","uglify-es":"^3.3.9"},P2={name:E2,version:B2,main:M2,module:T2,"jsnext:main":"index",author:_2,description:z2,keywords:F2,homepage:N2,license:q2,repository:R2,scripts:I2,dependencies:O2,devDependencies:L2};const{version:H2}=P2,U2=Object.freeze({children:n=>n.children,nodeSize:n=>n.data.size,spacing:0});function Ko(n){const a=Object.assign({},U2,n);function s(B){const z=a[B];return typeof z=="function"?z:()=>z}function d(B){const z=C(b(),B,I=>I.children);return z.update(),z.data}function x(){const B=s("nodeSize"),z=s("spacing");return class Wo extends Ml.prototype.constructor{constructor(q){super(q)}copy(){const q=C(this.constructor,this,V=>V.children);return q.each(V=>V.data=V.data.data),q}get size(){return B(this)}spacing(q){return z(this,q)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){const q=this.ancestors();return q[q.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return this.children===null}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce((q,V)=>Wo.maxExtents(q,V.extents),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(q,V){return{top:Math.min(q.top,V.top),bottom:Math.max(q.bottom,V.bottom),left:Math.min(q.left,V.left),right:Math.max(q.right,V.right)}}}}function b(){const B=x(),z=s("nodeSize"),I=s("spacing");return class extends B{constructor(q){super(q),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return z(this.data)}spacing(q){return I(this.data,q.data)}get x(){return this.data.x}set x(q){this.data.x=q}get y(){return this.data.y}set y(q){this.data.y=q}update(){return Zo(this),Jo(this),this}}}function C(B,z,I){const q=(V,W)=>{const j=new B(V);Object.assign(j,{parent:W,depth:W===null?0:W.depth+1,height:0,length:1});const ke=I(V)||[];return j.children=ke.length===0?null:ke.map(ve=>q(ve,j)),j.children&&Object.assign(j,j.children.reduce((ve,De)=>({height:Math.max(ve.height,De.height+1),length:ve.length+De.length}),j)),j};return q(z,null)}return Object.assign(d,{nodeSize(B){return arguments.length?(a.nodeSize=B,d):a.nodeSize},spacing(B){return arguments.length?(a.spacing=B,d):a.spacing},children(B){return arguments.length?(a.children=B,d):a.children},hierarchy(B,z){const I=typeof z>"u"?a.children:z;return C(x(),B,I)},dump(B){const z=s("nodeSize"),I=q=>V=>{const W=q+" ",j=q+" ",{x:ke,y:ve}=V,De=z(V),Z=V.children||[],be=Z.length===0?" ":`,${W}children: [${j}${Z.map(I(j)).join(j)}${W}],${q}`;return`{ size: [${De.join(", ")}],${W}x: ${ke}, y: ${ve}${be}},`};return I(`
`)(B)}}),d}Ko.version=H2;const Zo=(n,a=0)=>(n.y=a,(n.children||[]).reduce((s,d)=>{const[x,b]=s;Zo(d,n.y+n.ySize);const C=(x===0?d.lExt:d.rExt).bottom;x!==0&&V2(n,x,b);const B=J2(C,x,b);return[x+1,B]},[0,null]),$2(n),Z2(n),n),Jo=(n,a,s)=>{typeof a>"u"&&(a=-n.relX-n.prelim,s=0);const d=a+n.relX;return n.relX=d+n.prelim-s,n.prelim=0,n.x=s+n.relX,(n.children||[]).forEach(x=>Jo(x,d,n.x)),n},$2=n=>{(n.children||[]).reduce((a,s)=>{const[d,x]=a,b=d+s.shift,C=x+b+s.change;return s.relX+=C,[b,C]},[0,0])},V2=(n,a,s)=>{const d=n.children[a-1],x=n.children[a];let b=d,C=d.relX,B=x,z=x.relX,I=!0;for(;b&&B;){b.bottom>s.lowY&&(s=s.next);const q=C+b.prelim-(z+B.prelim)+b.xSize/2+B.xSize/2+b.spacing(B);(q>0||q<0&&I)&&(z+=q,G2(x,q),j2(n,a,s.index,q)),I=!1;const V=b.bottom,W=B.bottom;V<=W&&(b=X2(b),b&&(C+=b.relX)),V>=W&&(B=Y2(B),B&&(z+=B.relX))}!b&&B?W2(n,a,B,z):b&&!B&&K2(n,a,b,C)},G2=(n,a)=>{n.relX+=a,n.lExtRelX+=a,n.rExtRelX+=a},j2=(n,a,s,d)=>{const x=n.children[a],b=a-s;if(b>1){const C=d/b;n.children[s+1].shift+=C,x.shift-=C,x.change-=d-C}},Y2=n=>n.hasChildren?n.firstChild:n.lThr,X2=n=>n.hasChildren?n.lastChild:n.rThr,W2=(n,a,s,d)=>{const x=n.firstChild,b=x.lExt,C=n.children[a];b.lThr=s;const B=d-s.relX-x.lExtRelX;b.relX+=B,b.prelim-=B,x.lExt=C.lExt,x.lExtRelX=C.lExtRelX},K2=(n,a,s,d)=>{const x=n.children[a],b=x.rExt,C=n.children[a-1];b.rThr=s;const B=d-s.relX-x.rExtRelX;b.relX+=B,b.prelim-=B,x.rExt=C.rExt,x.rExtRelX=C.rExtRelX},Z2=n=>{if(n.hasChildren){const a=n.firstChild,s=n.lastChild,d=(a.prelim+a.relX-a.xSize/2+s.relX+s.prelim+s.xSize/2)/2;Object.assign(n,{prelim:d,lExt:a.lExt,lExtRelX:a.lExtRelX,rExt:s.rExt,rExtRelX:s.rExtRelX})}},J2=(n,a,s)=>{for(;s!==null&&n>=s.lowY;)s=s.next;return{lowY:n,index:a,next:s}};/*! @gera2ld/jsx-dom v2.1.1 | ISC License */var Qo=1,es=2,v0=1,rs=4,Q2="http://www.w3.org/2000/svg",al="http://www.w3.org/1999/xlink",ef={show:al,actuate:al,href:al},rf=function(a){return typeof a=="string"||typeof a=="number"},tf=function(a){return(a==null?void 0:a.vtype)===Qo},nf=function(a){return(a==null?void 0:a.vtype)===es};function Ba(n,a){var s;if(typeof n=="string")s=Qo;else if(typeof n=="function")s=es;else throw new Error("Invalid VNode type");return{vtype:s,type:n,props:a}}function af(n){return n.children}var uf={isSvg:!1};function bl(n,a){if(a.type===v0)a.node!=null&&n.append(a.node);else if(a.type===rs)a.children.forEach(function(s){bl(n,s)});else throw new Error("Unkown ref type "+JSON.stringify(a))}function lf(n,a,s){for(var d in a)d==="key"||d==="children"||d==="ref"||(d==="dangerouslySetInnerHTML"?n.innerHTML=a[d].__html:d==="innerHTML"||d==="textContent"||d==="innerText"?n[d]=a[d]:d.startsWith("on")?n[d.toLowerCase()]=a[d]:sf(n,d,a[d],s.isSvg))}var of={className:"class",labelFor:"for"};function sf(n,a,s,d){if(a=of[a]||a,s===!0)n.setAttribute(a,"");else if(s===!1)n.removeAttribute(a);else{var x=d?ef[a]:void 0;x!==void 0?n.setAttributeNS(x,a,s):n.setAttribute(a,s)}}function Wn(n,a){if(a===void 0&&(a=uf),n==null||typeof n=="boolean")return{type:v0,node:null};if(n instanceof Node)return{type:v0,node:n};if(nf(n)){var s=n,d=s.type,x=s.props;if(d===af){var b=document.createDocumentFragment();if(x.children){var C=Wn(x.children,a);bl(b,C)}return{type:v0,node:b}}var B=d(x);return Wn(B,a)}if(rf(n))return{type:v0,node:document.createTextNode(""+n)};if(tf(n)){var z,I=n,q=I.type,V=I.props;!a.isSvg&&q==="svg"&&(a=Object.assign({},a,{isSvg:!0})),a.isSvg?z=document.createElementNS(Q2,q):z=document.createElement(q),lf(z,V,a);var W;if(V.children){var j=a;a.isSvg&&q==="foreignObject"&&(j=Object.assign({},j,{isSvg:!1})),W=Wn(V.children,j)}W!=null&&bl(z,W);var ke=V.ref;return typeof ke=="function"&&ke(z),{type:v0,node:z}}if(Array.isArray(n))return{type:rs,children:n.map(function(ve){return Wn(ve,a)})};throw new Error("mount: Invalid Vnode!")}function ts(n){for(var a=[],s=0;s<n.length;s+=1){var d=n[s];Array.isArray(d)?a=a.concat(ts(d)):d!=null&&a.push(d)}return a}function ns(n){return n.type===v0?n.node:n.children.map(ns)}function qa(n){return Array.isArray(n)?ts(n.map(qa)):ns(Wn(n))}var cf=".markmap{font:300 16px/20px sans-serif}.markmap-link{fill:none}.markmap-node>circle{cursor:pointer}.markmap-foreign{display:inline-block}.markmap-foreign a{color:#0097e6}.markmap-foreign a:hover{color:#00a8ff}.markmap-foreign code{background-color:#f0f0f0;border-radius:2px;color:#555;font-size:calc(1em - 2px)}.markmap-foreign :not(pre)>code{padding:.2em .4em}.markmap-foreign del{text-decoration:line-through}.markmap-foreign em{font-style:italic}.markmap-foreign strong{font-weight:bolder}.markmap-foreign mark{background:#ffeaa7}.markmap-foreign pre,.markmap-foreign pre[class*=language-]{margin:0;padding:.2em .4em}",hf=".markmap-container{height:0;left:-100px;overflow:hidden;position:absolute;top:-100px;width:0}.markmap-container>.markmap-foreign{display:inline-block}.markmap-container>.markmap-foreign>div:last-child{white-space:nowrap}";function oo(n){const a=n.data;return Math.max(4-2*a.depth,1.5)}function ff(n,a){ol(n,(s,d)=>{s.ySizeInner=s.ySize-a,s.y+=a,d()},"children")}function so(n,a){const s=Es(n,a);return n[s]}function co(n){n.stopPropagation()}function pf(){return{transformHtml:new xo}}const df=new xo,mf=Xo(Xh),vf=typeof navigator<"u"&&navigator.userAgent.includes("Macintosh");class Ua{constructor(a,s){this.revokers=[],["handleZoom","handleClick","handlePan"].forEach(d=>{this[d]=this[d].bind(this)}),this.viewHooks=pf(),this.svg=a.datum?a:jt(a),this.styleNode=this.svg.append("style"),this.zoom=s2().filter(d=>this.options.scrollForPan&&d.type==="wheel"?d.ctrlKey&&!d.button:(!d.ctrlKey||d.type==="wheel")&&!d.button).on("zoom",this.handleZoom),this.setOptions(s),this.state={id:this.options.id||this.svg.attr("id")||Cs()},this.g=this.svg.append("g"),this.revokers.push(df.tap(()=>{this.setData()}))}getStyleContent(){const{style:a}=this.options,{id:s}=this.state,d=typeof a=="function"?a(s):"";return[this.options.embedGlobalCSS&&cf,d].filter(Boolean).join(`
`)}updateStyle(){this.svg.attr("class",Ds(this.svg.attr("class"),"markmap",this.state.id));const a=this.getStyleContent();this.styleNode.text(a)}handleZoom(a){const{transform:s}=a;this.g.attr("transform",s)}handlePan(a){a.preventDefault();const s=Na(this.svg.node()),d=s.translate(-a.deltaX/s.k,-a.deltaY/s.k);this.svg.call(this.zoom.transform,d)}handleClick(a,s){var d;const{data:x}=s;x.payload=Gt({},x.payload,{fold:(d=x.payload)!=null&&d.fold?0:1}),this.renderData(s.data)}initializeData(a){let s=0;const{color:d,nodeMinHeight:x,maxWidth:b,initialExpandLevel:C}=this.options,{id:B}=this.state,z=qa(Ba("div",{className:`markmap-container markmap ${B}-g`})),I=qa(Ba("style",{children:[this.getStyleContent(),hf].join(`
`)}));document.body.append(z,I);const q=b?`max-width: ${b}px`:"";let V=0;ol(a,(j,ke,ve)=>{var De,Z,be;j.children=(De=j.children)==null?void 0:De.map(Oe=>Gt({},Oe)),s+=1;const qe=qa(Ba("div",{className:"markmap-foreign",style:q,children:Ba("div",{dangerouslySetInnerHTML:{__html:j.content}})}));z.append(qe),j.state=Gt({},j.state,{id:s,el:qe.firstChild}),j.state.path=[ve==null||(Z=ve.state)==null?void 0:Z.path,j.state.id].filter(Boolean).join("."),d(j);const Ve=((be=j.payload)==null?void 0:be.fold)===2;Ve?V+=1:(V||C>=0&&j.depth>=C)&&(j.payload=Gt({},j.payload,{fold:1})),ke(),Ve&&(V-=1)});const W=bo(z.childNodes).map(j=>j.firstChild);this.viewHooks.transformHtml.call(this,W),W.forEach(j=>{j.parentNode.append(j.cloneNode(!0))}),ol(a,(j,ke,ve)=>{var De;const Z=j.state.el.getBoundingClientRect();j.content=j.state.el.innerHTML,j.state.size=[Math.ceil(Z.width)+1,Math.max(Math.ceil(Z.height),x)],j.state.key=[ve==null||(De=ve.state)==null?void 0:De.id,j.state.id].filter(Boolean).join(".")+j.content,ke()}),z.remove(),I.remove()}setOptions(a){this.options=Gt({},Ua.defaultOptions,a),this.options.zoom?this.svg.call(this.zoom):this.svg.on(".zoom",null),this.svg.on("wheel",this.options.pan?this.handlePan:null)}setData(a,s){a&&(this.state.data=a),s&&this.setOptions(s),this.initializeData(this.state.data),this.updateStyle(),this.renderData()}renderData(a){var s,d;if(!this.state.data)return;const{spacingHorizontal:x,paddingX:b,spacingVertical:C,autoFit:B,color:z}=this.options,I=Ko().children(G=>{var P;return!((P=G.payload)!=null&&P.fold)&&G.children}).nodeSize(G=>{const[P,ce]=G.data.state.size;return[ce,P+(P?b*2:0)+x]}).spacing((G,P)=>G.parent===P.parent?C:C*2),q=I.hierarchy(this.state.data);I(q),ff(q,x);const V=q.descendants().reverse(),W=q.links(),j=t2(),ke=Ul(V,G=>G.x-G.xSize/2),ve=Hl(V,G=>G.x+G.xSize/2),De=Ul(V,G=>G.y),Z=Hl(V,G=>G.y+G.ySizeInner);Object.assign(this.state,{minX:ke,maxX:ve,minY:De,maxY:Z}),B&&this.fit();const be=a&&V.find(G=>G.data===a)||q,qe=(s=be.data.state.x0)!=null?s:be.x,Ve=(d=be.data.state.y0)!=null?d:be.y,Oe=this.g.selectAll(nn("g")).data(V,G=>G.data.state.key),ir=Oe.enter().append("g").attr("data-depth",G=>G.data.depth).attr("data-path",G=>G.data.state.path).attr("transform",G=>`translate(${Ve+be.ySizeInner-G.ySizeInner},${qe+be.xSize/2-G.xSize})`),ar=this.transition(Oe.exit());ar.select("line").attr("x1",G=>G.ySizeInner).attr("x2",G=>G.ySizeInner),ar.select("foreignObject").style("opacity",0),ar.attr("transform",G=>`translate(${be.y+be.ySizeInner-G.ySizeInner},${be.x+be.xSize/2-G.xSize})`).remove();const ur=Oe.merge(ir).attr("class",G=>{var P;return["markmap-node",((P=G.data.payload)==null?void 0:P.fold)&&"markmap-fold"].filter(Boolean).join(" ")});this.transition(ur).attr("transform",G=>`translate(${G.y},${G.x-G.xSize/2})`);const or=ur.selectAll(nn("line")).data(G=>[G],G=>G.data.state.key).join(G=>G.append("line").attr("x1",P=>P.ySizeInner).attr("x2",P=>P.ySizeInner),G=>G,G=>G.remove());this.transition(or).attr("x1",-1).attr("x2",G=>G.ySizeInner+2).attr("y1",G=>G.xSize).attr("y2",G=>G.xSize).attr("stroke",G=>z(G.data)).attr("stroke-width",oo);const Br=ur.selectAll(nn("circle")).data(G=>G.data.children?[G]:[],G=>G.data.state.key).join(G=>G.append("circle").attr("stroke-width","1.5").attr("cx",P=>P.ySizeInner).attr("cy",P=>P.xSize).attr("r",0).on("click",(P,ce)=>this.handleClick(P,ce)),G=>G,G=>G.remove());this.transition(Br).attr("r",6).attr("cx",G=>G.ySizeInner).attr("cy",G=>G.xSize).attr("stroke",G=>z(G.data)).attr("fill",G=>{var P;return(P=G.data.payload)!=null&&P.fold&&G.data.children?z(G.data):"#fff"});const sr=ur.selectAll(nn("foreignObject")).data(G=>[G],G=>G.data.state.key).join(G=>{const P=G.append("foreignObject").attr("class","markmap-foreign").attr("x",b).attr("y",0).style("opacity",0).on("mousedown",co).on("dblclick",co);return P.append("xhtml:div").select(function(re){const we=re.data.state.el.cloneNode(!0);return this.replaceWith(we),we}).attr("xmlns","http://www.w3.org/1999/xhtml"),P},G=>G,G=>G.remove()).attr("width",G=>Math.max(0,G.ySizeInner-b*2)).attr("height",G=>G.xSize);this.transition(sr).style("opacity",1);const Rr=this.g.selectAll(nn("path")).data(W,G=>G.target.data.state.key).join(G=>{const P=[Ve+be.ySizeInner,qe+be.xSize/2];return G.insert("path","g").attr("class","markmap-link").attr("data-depth",ce=>ce.target.data.depth).attr("data-path",ce=>ce.target.data.state.path).attr("d",j({source:P,target:P}))},G=>G,G=>{const P=[be.y+be.ySizeInner,be.x+be.xSize/2];return this.transition(G).attr("d",j({source:P,target:P})).remove()});this.transition(Rr).attr("stroke",G=>z(G.target.data)).attr("stroke-width",G=>oo(G.target)).attr("d",G=>{const P=[G.source.y+G.source.ySizeInner,G.source.x+G.source.xSize/2],ce=[G.target.y,G.target.x+G.target.xSize/2];return j({source:P,target:ce})}),V.forEach(G=>{G.data.state.x0=G.x,G.data.state.y0=G.y})}transition(a){const{duration:s}=this.options;return a.transition().duration(s)}async fit(){const a=this.svg.node(),{width:s,height:d}=a.getBoundingClientRect(),{fitRatio:x}=this.options,{minX:b,maxX:C,minY:B,maxY:z}=this.state,I=z-B,q=C-b,V=Math.min(s/I*x,d/q*x,2),W=Xa.translate((s-I*V)/2-B*V,(d-q*V)/2-b*V).scale(V);return this.transition(this.svg).call(this.zoom.transform,W).end().catch(el)}async ensureView(a,s){let d,x;if(this.g.selectAll(nn("g")).each(function(be){be.data===a&&(d=this,x=be)}),!d||!x)return;const b=this.svg.node(),C=b.getBoundingClientRect(),B=Na(b),[z,I]=[x.y,x.y+x.ySizeInner+2].map(Z=>Z*B.k+B.x),[q,V]=[x.x-x.xSize/2,x.x+x.xSize/2].map(Z=>Z*B.k+B.y),W=Gt({left:0,right:0,top:0,bottom:0},s),j=[W.left-z,C.width-W.right-I],ke=[W.top-q,C.height-W.bottom-V],ve=j[0]*j[1]>0?so(j,Math.abs)/B.k:0,De=ke[0]*ke[1]>0?so(ke,Math.abs)/B.k:0;if(ve||De){const Z=B.translate(ve,De);return this.transition(this.svg).call(this.zoom.transform,Z).end().catch(el)}}async rescale(a){const s=this.svg.node(),{width:d,height:x}=s.getBoundingClientRect(),b=d/2,C=x/2,B=Na(s),z=B.translate((b-B.x)*(1-a)/B.k,(C-B.y)*(1-a)/B.k).scale(a);return this.transition(this.svg).call(this.zoom.transform,z).end().catch(el)}destroy(){this.svg.on(".zoom",null),this.svg.html(null),this.revokers.forEach(a=>{a()})}static create(a,s,d){const x=new Ua(a,s);return d&&(x.setData(d),x.fit()),x}}Ua.defaultOptions={autoFit:!1,color:n=>mf(`${n.state.path}`),duration:500,embedGlobalCSS:!0,fitRatio:.95,maxWidth:0,nodeMinHeight:16,paddingX:8,scrollForPan:vf,spacingHorizontal:80,spacingVertical:5,initialExpandLevel:-1,zoom:!0,pan:!0};var is={exports:{}};(function(n,a){(function(s,d){d()})(m0,function(){function s(I,q){return typeof q>"u"?q={autoBom:!1}:typeof q!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),q={autoBom:!q}),q.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(I.type)?new Blob(["\uFEFF",I],{type:I.type}):I}function d(I,q,V){var W=new XMLHttpRequest;W.open("GET",I),W.responseType="blob",W.onload=function(){z(W.response,q,V)},W.onerror=function(){console.error("could not download file")},W.send()}function x(I){var q=new XMLHttpRequest;q.open("HEAD",I,!1);try{q.send()}catch{}return 200<=q.status&&299>=q.status}function b(I){try{I.dispatchEvent(new MouseEvent("click"))}catch{var q=document.createEvent("MouseEvents");q.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),I.dispatchEvent(q)}}var C=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof m0=="object"&&m0.global===m0?m0:void 0,B=C.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),z=C.saveAs||(typeof window!="object"||window!==C?function(){}:"download"in HTMLAnchorElement.prototype&&!B?function(I,q,V){var W=C.URL||C.webkitURL,j=document.createElement("a");q=q||I.name||"download",j.download=q,j.rel="noopener",typeof I=="string"?(j.href=I,j.origin===location.origin?b(j):x(j.href)?d(I,q,V):b(j,j.target="_blank")):(j.href=W.createObjectURL(I),setTimeout(function(){W.revokeObjectURL(j.href)},4e4),setTimeout(function(){b(j)},0))}:"msSaveOrOpenBlob"in navigator?function(I,q,V){if(q=q||I.name||"download",typeof I!="string")navigator.msSaveOrOpenBlob(s(I,V),q);else if(x(I))d(I,q,V);else{var W=document.createElement("a");W.href=I,W.target="_blank",setTimeout(function(){b(W)})}}:function(I,q,V,W){if(W=W||open("","_blank"),W&&(W.document.title=W.document.body.innerText="downloading..."),typeof I=="string")return d(I,q,V);var j=I.type==="application/octet-stream",ke=/constructor/i.test(C.HTMLElement)||C.safari,ve=/CriOS\/[\d]+/.test(navigator.userAgent);if((ve||j&&ke||B)&&typeof FileReader<"u"){var De=new FileReader;De.onloadend=function(){var qe=De.result;qe=ve?qe:qe.replace(/^data:[^;]*;/,"data:attachment/file;"),W?W.location.href=qe:location=qe,W=null},De.readAsDataURL(I)}else{var Z=C.URL||C.webkitURL,be=Z.createObjectURL(I);W?W.location=be:location.href=be,W=null,setTimeout(function(){Z.revokeObjectURL(be)},4e4)}});C.saveAs=z.saveAs=z,n.exports=z})})(is);var c4=is.exports;function gf(n,a){if(n.match(/^[a-z]+:\/\//i))return n;if(n.match(/^\/\//))return window.location.protocol+n;if(n.match(/^[a-z]+:/i))return n;const s=document.implementation.createHTMLDocument(),d=s.createElement("base"),x=s.createElement("a");return s.head.appendChild(d),s.body.appendChild(x),a&&(d.href=a),x.href=n,x.href}const yf=(()=>{let n=0;const a=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(n+=1,`u${a()}${n}`)})();function Mt(n){const a=[];for(let s=0,d=n.length;s<d;s++)a.push(n[s]);return a}function $a(n,a){const d=(n.ownerDocument.defaultView||window).getComputedStyle(n).getPropertyValue(a);return d?parseFloat(d.replace("px","")):0}function xf(n){const a=$a(n,"border-left-width"),s=$a(n,"border-right-width");return n.clientWidth+a+s}function bf(n){const a=$a(n,"border-top-width"),s=$a(n,"border-bottom-width");return n.clientHeight+a+s}function as(n,a={}){const s=a.width||xf(n),d=a.height||bf(n);return{width:s,height:d}}function wf(){let n,a;try{a=process}catch{}const s=a&&a.env?a.env.devicePixelRatio:null;return s&&(n=parseInt(s,10),Number.isNaN(n)&&(n=1)),n||window.devicePixelRatio||1}const Gr=16384;function Af(n){(n.width>Gr||n.height>Gr)&&(n.width>Gr&&n.height>Gr?n.width>n.height?(n.height*=Gr/n.width,n.width=Gr):(n.width*=Gr/n.height,n.height=Gr):n.width>Gr?(n.height*=Gr/n.width,n.width=Gr):(n.width*=Gr/n.height,n.height=Gr))}function Va(n){return new Promise((a,s)=>{const d=new Image;d.decode=()=>a(d),d.onload=()=>a(d),d.onerror=s,d.crossOrigin="anonymous",d.decoding="async",d.src=n})}async function kf(n){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(n)).then(encodeURIComponent).then(a=>`data:image/svg+xml;charset=utf-8,${a}`)}async function Sf(n,a,s){const d="http://www.w3.org/2000/svg",x=document.createElementNS(d,"svg"),b=document.createElementNS(d,"foreignObject");return x.setAttribute("width",`${a}`),x.setAttribute("height",`${s}`),x.setAttribute("viewBox",`0 0 ${a} ${s}`),b.setAttribute("width","100%"),b.setAttribute("height","100%"),b.setAttribute("x","0"),b.setAttribute("y","0"),b.setAttribute("externalResourcesRequired","true"),x.appendChild(b),b.appendChild(n),kf(x)}const Nr=(n,a)=>{if(n instanceof a)return!0;const s=Object.getPrototypeOf(n);return s===null?!1:s.constructor.name===a.name||Nr(s,a)};function Cf(n){const a=n.getPropertyValue("content");return`${n.cssText} content: '${a.replace(/'|"/g,"")}';`}function Df(n){return Mt(n).map(a=>{const s=n.getPropertyValue(a),d=n.getPropertyPriority(a);return`${a}: ${s}${d?" !important":""};`}).join(" ")}function Ef(n,a,s){const d=`.${n}:${a}`,x=s.cssText?Cf(s):Df(s);return document.createTextNode(`${d}{${x}}`)}function ho(n,a,s){const d=window.getComputedStyle(n,s),x=d.getPropertyValue("content");if(x===""||x==="none")return;const b=yf();try{a.className=`${a.className} ${b}`}catch{return}const C=document.createElement("style");C.appendChild(Ef(b,s,d)),a.appendChild(C)}function Bf(n,a){ho(n,a,":before"),ho(n,a,":after")}const fo="application/font-woff",po="image/jpeg",Mf={woff:fo,woff2:fo,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:po,jpeg:po,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Tf(n){const a=/\.([^./]*?)$/g.exec(n);return a?a[1]:""}function Tl(n){const a=Tf(n).toLowerCase();return Mf[a]||""}function _f(n){return n.split(/,/)[1]}function wl(n){return n.search(/^(data:)/)!==-1}function us(n,a){return`data:${a};base64,${n}`}async function ls(n,a,s){const d=await fetch(n,a);if(d.status===404)throw new Error(`Resource "${d.url}" not found`);const x=await d.blob();return new Promise((b,C)=>{const B=new FileReader;B.onerror=C,B.onloadend=()=>{try{b(s({res:d,result:B.result}))}catch(z){C(z)}},B.readAsDataURL(x)})}const ul={};function zf(n,a,s){let d=n.replace(/\?.*/,"");return s&&(d=n),/ttf|otf|eot|woff2?/i.test(d)&&(d=d.replace(/.*\//,"")),a?`[${a}]${d}`:d}async function _l(n,a,s){const d=zf(n,a,s.includeQueryParams);if(ul[d]!=null)return ul[d];s.cacheBust&&(n+=(/\?/.test(n)?"&":"?")+new Date().getTime());let x;try{const b=await ls(n,s.fetchRequestInit,({res:C,result:B})=>(a||(a=C.headers.get("Content-Type")||""),_f(B)));x=us(b,a)}catch(b){x=s.imagePlaceholder||"";let C=`Failed to fetch resource: ${n}`;b&&(C=typeof b=="string"?b:b.message),C&&console.warn(C)}return ul[d]=x,x}async function Ff(n){const a=n.toDataURL();return a==="data:,"?n.cloneNode(!1):Va(a)}async function Nf(n,a){if(n.currentSrc){const b=document.createElement("canvas"),C=b.getContext("2d");b.width=n.clientWidth,b.height=n.clientHeight,C==null||C.drawImage(n,0,0,b.width,b.height);const B=b.toDataURL();return Va(B)}const s=n.poster,d=Tl(s),x=await _l(s,d,a);return Va(x)}async function qf(n){var a;try{if(!((a=n==null?void 0:n.contentDocument)===null||a===void 0)&&a.body)return await Wa(n.contentDocument.body,{},!0)}catch{}return n.cloneNode(!1)}async function Rf(n,a){return Nr(n,HTMLCanvasElement)?Ff(n):Nr(n,HTMLVideoElement)?Nf(n,a):Nr(n,HTMLIFrameElement)?qf(n):n.cloneNode(!1)}const If=n=>n.tagName!=null&&n.tagName.toUpperCase()==="SLOT";async function Of(n,a,s){var d,x;let b=[];return If(n)&&n.assignedNodes?b=Mt(n.assignedNodes()):Nr(n,HTMLIFrameElement)&&(!((d=n.contentDocument)===null||d===void 0)&&d.body)?b=Mt(n.contentDocument.body.childNodes):b=Mt(((x=n.shadowRoot)!==null&&x!==void 0?x:n).childNodes),b.length===0||Nr(n,HTMLVideoElement)||await b.reduce((C,B)=>C.then(()=>Wa(B,s)).then(z=>{z&&a.appendChild(z)}),Promise.resolve()),a}function Lf(n,a){const s=a.style;if(!s)return;const d=window.getComputedStyle(n);d.cssText?(s.cssText=d.cssText,s.transformOrigin=d.transformOrigin):Mt(d).forEach(x=>{let b=d.getPropertyValue(x);x==="font-size"&&b.endsWith("px")&&(b=`${Math.floor(parseFloat(b.substring(0,b.length-2)))-.1}px`),Nr(n,HTMLIFrameElement)&&x==="display"&&b==="inline"&&(b="block"),x==="d"&&a.getAttribute("d")&&(b=`path(${a.getAttribute("d")})`),s.setProperty(x,b,d.getPropertyPriority(x))})}function Pf(n,a){Nr(n,HTMLTextAreaElement)&&(a.innerHTML=n.value),Nr(n,HTMLInputElement)&&a.setAttribute("value",n.value)}function Hf(n,a){if(Nr(n,HTMLSelectElement)){const s=a,d=Array.from(s.children).find(x=>n.value===x.getAttribute("value"));d&&d.setAttribute("selected","")}}function Uf(n,a){return Nr(a,Element)&&(Lf(n,a),Bf(n,a),Pf(n,a),Hf(n,a)),a}async function $f(n,a){const s=n.querySelectorAll?n.querySelectorAll("use"):[];if(s.length===0)return n;const d={};for(let b=0;b<s.length;b++){const B=s[b].getAttribute("xlink:href");if(B){const z=n.querySelector(B),I=document.querySelector(B);!z&&I&&!d[B]&&(d[B]=await Wa(I,a,!0))}}const x=Object.values(d);if(x.length){const b="http://www.w3.org/1999/xhtml",C=document.createElementNS(b,"svg");C.setAttribute("xmlns",b),C.style.position="absolute",C.style.width="0",C.style.height="0",C.style.overflow="hidden",C.style.display="none";const B=document.createElementNS(b,"defs");C.appendChild(B);for(let z=0;z<x.length;z++)B.appendChild(x[z]);n.appendChild(C)}return n}async function Wa(n,a,s){return!s&&a.filter&&!a.filter(n)?null:Promise.resolve(n).then(d=>Rf(d,a)).then(d=>Of(n,d,a)).then(d=>Uf(n,d)).then(d=>$f(d,a))}const os=/url\((['"]?)([^'"]+?)\1\)/g,Vf=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Gf=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jf(n){const a=n.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${a})(['"]?\\))`,"g")}function Yf(n){const a=[];return n.replace(os,(s,d,x)=>(a.push(x),s)),a.filter(s=>!wl(s))}async function Xf(n,a,s,d,x){try{const b=s?gf(a,s):a,C=Tl(a);let B;if(x){const z=await x(b);B=us(z,C)}else B=await _l(b,C,d);return n.replace(jf(a),`$1${B}$3`)}catch{}return n}function Wf(n,{preferredFontFormat:a}){return a?n.replace(Gf,s=>{for(;;){const[d,,x]=Vf.exec(s)||[];if(!x)return"";if(x===a)return`src: ${d};`}}):n}function ss(n){return n.search(os)!==-1}async function cs(n,a,s){if(!ss(n))return n;const d=Wf(n,s);return Yf(d).reduce((b,C)=>b.then(B=>Xf(B,C,a,s)),Promise.resolve(d))}async function Ma(n,a,s){var d;const x=(d=a.style)===null||d===void 0?void 0:d.getPropertyValue(n);if(x){const b=await cs(x,null,s);return a.style.setProperty(n,b,a.style.getPropertyPriority(n)),!0}return!1}async function Kf(n,a){await Ma("background",n,a)||await Ma("background-image",n,a),await Ma("mask",n,a)||await Ma("mask-image",n,a)}async function Zf(n,a){const s=Nr(n,HTMLImageElement);if(!(s&&!wl(n.src))&&!(Nr(n,SVGImageElement)&&!wl(n.href.baseVal)))return;const d=s?n.src:n.href.baseVal,x=await _l(d,Tl(d),a);await new Promise((b,C)=>{n.onload=b,n.onerror=C;const B=n;B.decode&&(B.decode=b),B.loading==="lazy"&&(B.loading="eager"),s?(n.srcset="",n.src=x):n.href.baseVal=x})}async function Jf(n,a){const d=Mt(n.childNodes).map(x=>hs(x,a));await Promise.all(d).then(()=>n)}async function hs(n,a){Nr(n,Element)&&(await Kf(n,a),await Zf(n,a),await Jf(n,a))}function Qf(n,a){const{style:s}=n;a.backgroundColor&&(s.backgroundColor=a.backgroundColor),a.width&&(s.width=`${a.width}px`),a.height&&(s.height=`${a.height}px`);const d=a.style;return d!=null&&Object.keys(d).forEach(x=>{s[x]=d[x]}),n}const mo={};async function vo(n){let a=mo[n];if(a!=null)return a;const d=await(await fetch(n)).text();return a={url:n,cssText:d},mo[n]=a,a}async function go(n,a){let s=n.cssText;const d=/url\(["']?([^"')]+)["']?\)/g,b=(s.match(/url\([^)]+\)/g)||[]).map(async C=>{let B=C.replace(d,"$1");return B.startsWith("https://")||(B=new URL(B,n.url).href),ls(B,a.fetchRequestInit,({result:z})=>(s=s.replace(C,`url(${z})`),[C,z]))});return Promise.all(b).then(()=>s)}function yo(n){if(n==null)return[];const a=[],s=/(\/\*[\s\S]*?\*\/)/gi;let d=n.replace(s,"");const x=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const z=x.exec(d);if(z===null)break;a.push(z[0])}d=d.replace(x,"");const b=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,C="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",B=new RegExp(C,"gi");for(;;){let z=b.exec(d);if(z===null){if(z=B.exec(d),z===null)break;b.lastIndex=B.lastIndex}else B.lastIndex=b.lastIndex;a.push(z[0])}return a}async function e4(n,a){const s=[],d=[];return n.forEach(x=>{if("cssRules"in x)try{Mt(x.cssRules||[]).forEach((b,C)=>{if(b.type===CSSRule.IMPORT_RULE){let B=C+1;const z=b.href,I=vo(z).then(q=>go(q,a)).then(q=>yo(q).forEach(V=>{try{x.insertRule(V,V.startsWith("@import")?B+=1:x.cssRules.length)}catch(W){console.error("Error inserting rule from remote css",{rule:V,error:W})}})).catch(q=>{console.error("Error loading remote css",q.toString())});d.push(I)}})}catch(b){const C=n.find(B=>B.href==null)||document.styleSheets[0];x.href!=null&&d.push(vo(x.href).then(B=>go(B,a)).then(B=>yo(B).forEach(z=>{C.insertRule(z,x.cssRules.length)})).catch(B=>{console.error("Error loading remote stylesheet",B)})),console.error("Error inlining remote css file",b)}}),Promise.all(d).then(()=>(n.forEach(x=>{if("cssRules"in x)try{Mt(x.cssRules||[]).forEach(b=>{s.push(b)})}catch(b){console.error(`Error while reading CSS rules from ${x.href}`,b)}}),s))}function r4(n){return n.filter(a=>a.type===CSSRule.FONT_FACE_RULE).filter(a=>ss(a.style.getPropertyValue("src")))}async function t4(n,a){if(n.ownerDocument==null)throw new Error("Provided element is not within a Document");const s=Mt(n.ownerDocument.styleSheets),d=await e4(s,a);return r4(d)}async function n4(n,a){const s=await t4(n,a);return(await Promise.all(s.map(x=>{const b=x.parentStyleSheet?x.parentStyleSheet.href:null;return cs(x.cssText,b,a)}))).join(`
`)}async function i4(n,a){const s=a.fontEmbedCSS!=null?a.fontEmbedCSS:a.skipFonts?null:await n4(n,a);if(s){const d=document.createElement("style"),x=document.createTextNode(s);d.appendChild(x),n.firstChild?n.insertBefore(d,n.firstChild):n.appendChild(d)}}async function a4(n,a={}){const{width:s,height:d}=as(n,a),x=await Wa(n,a,!0);return await i4(x,a),await hs(x,a),Qf(x,a),await Sf(x,s,d)}async function u4(n,a={}){const{width:s,height:d}=as(n,a),x=await a4(n,a),b=await Va(x),C=document.createElement("canvas"),B=C.getContext("2d"),z=a.pixelRatio||wf(),I=a.canvasWidth||s,q=a.canvasHeight||d;return C.width=I*z,C.height=q*z,a.skipAutoScale||Af(C),C.style.width=`${I}`,C.style.height=`${q}`,a.backgroundColor&&(B.fillStyle=a.backgroundColor,B.fillRect(0,0,C.width,C.height)),B.drawImage(b,0,0,C.width,C.height),C}async function h4(n,a={}){return(await u4(n,a)).toDataURL()}export{c4 as F,Ua as M,s4 as b,ks as r,h4 as t};