/*! For license information please see main.d55f6a3c.js.LICENSE.txt */ (()=>{var __webpack_modules__={68785:(e,t,n)=>{"use strict";n.d(t,{B:()=>i,Id:()=>r,td:()=>o});const r=8501,o=3e3===+window.location.port,i=!1},78693:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(66845).createContext(!1)},84457:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(66845).createContext(!1)},66694:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(66845),o=n(44722);const i=r.createContext({isFullScreen:!1,setFullScreen:()=>{},addScriptFinishedHandler:()=>{},removeScriptFinishedHandler:()=>{},activeTheme:o.wE,setTheme:()=>{},availableThemes:[],addThemes:()=>{},onPageChange:()=>{},currentPageScriptHash:"",libConfig:{},fragmentIdsThisRun:[]})},36989:(e,t,n)=>{"use strict";n.d(t,{Z:()=>b,O:()=>d});n(66845);var r=n(16295),o=n(63730),i=n(22704),a=n(59033),s=n(1515),l=n(11217),c=n(16167);const u=(0,s.Z)("div",{target:"e1eexb540"})((e=>{let{theme:t}=e;return{display:"flex",gap:t.spacing.sm,width:"100%",[l.Er]:{position:"relative",top:"2px"},[l.xL]:{position:"relative",top:"2px"},[c.m]:{position:"relative",top:"2px"},".stCodeBlock code":{paddingRight:"1rem"}}}),"");var p=n(40864);function d(e){switch(e){case r.bZ.Format.ERROR:return a.h.ERROR;case r.bZ.Format.INFO:return a.h.INFO;case r.bZ.Format.SUCCESS:return a.h.SUCCESS;case r.bZ.Format.WARNING:return a.h.WARNING;default:throw new Error("Unexpected alert type: ".concat(e))}}function b(e){let{icon:t,body:n,kind:r,width:s}=e;const l={width:t?"calc(100% - 1.75rem)":"100%"};return(0,p.jsx)("div",{className:"stAlert","data-testid":"stAlert",children:(0,p.jsx)(a.Z,{width:s,kind:r,children:(0,p.jsxs)(u,{children:[t&&(0,p.jsx)(i.p,{iconValue:t,size:"lg",testid:"stAlertDynamicIcon"}),(0,p.jsx)(o.ZP,{source:n,allowHTML:!1,style:l})]})})})}},88112:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>V});var r=n(66845),o=n(53782),i=n(30126),a=n(64649),s=n(25773);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return function(e){if(0===e.length||1===e.length)return e;var t=e.join(".");return u[t]||(u[t]=function(e){var t=e.length;return 0===t||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0}(e)),u[t]}(e.filter((function(e){return"token"!==e}))).reduce((function(e,t){return c(c({},e),n[t])}),t)}function d(e){return e.join(" ")}function b(e){var t=e.node,n=e.stylesheet,o=e.style,i=void 0===o?{}:o,a=e.useInlineStyles,l=e.key,u=t.properties,f=t.type,h=t.tagName,m=t.value;if("text"===f)return m;if(h){var M,O=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,o){return b({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})}))}}(n,a);if(a){var g=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),z=u.className&&u.className.includes("token")?["token"]:[],y=u.className&&z.concat(u.className.filter((function(e){return!g.includes(e)})));M=c(c({},u),{},{className:d(y)||void 0,style:p(u.className,Object.assign({},u.style,i),n)})}else M=c(c({},u),{},{className:d(u.className)});var A=O(t.children);return r.createElement(h,(0,s.Z)({key:l},M),A)}}const f=function(e,t){return-1!==e.listLanguages().indexOf(t)};var h=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return t||c.length>0?function(e,t){return A({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:a,showInlineLineNumbers:o,lineProps:n,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:r,wrapLongLines:l})}(e,i,c):function(e,t){if(r&&t&&o){var n=y(s,t,a);e.unshift(z(t,n))}return e}(e,i)}for(var h=function(){var e=u[b],t=e.children[0].value;if(t.match(O)){var n=t.split("\n");n.forEach((function(t,o){var a=r&&p.length+i,s={type:"text",value:"".concat(t,"\n")};if(0===o){var l=f(u.slice(d+1,b).concat(A({children:[s],className:e.properties.className})),a);p.push(l)}else if(o===n.length-1){var c=u[b+1]&&u[b+1].children&&u[b+1].children[0],h={type:"text",value:"".concat(t)};if(c){var m=A({children:[h],className:e.properties.className});u.splice(b+1,0,m)}else{var M=f([h],a,e.properties.className);p.push(M)}}else{var O=f([s],a,e.properties.className);p.push(O)}})),d=b}b++};b code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,i=e.style,a=void 0===i?x:i,s=e.customStyle,l=void 0===s?{}:s,c=e.codeTagProps,u=void 0===c?{className:t?"language-".concat(t):void 0,style:M(M({},a['code[class*="language-"]']),a['code[class*="language-'.concat(t,'"]')])}:c,p=e.useInlineStyles,d=void 0===p||p,b=e.showLineNumbers,m=void 0!==b&&b,O=e.showInlineLineNumbers,z=void 0===O||O,y=e.startingLineNumber,A=void 0===y?1:y,v=e.lineNumberContainerStyle,E=e.lineNumberStyle,R=void 0===E?{}:E,T=e.wrapLines,k=e.wrapLongLines,C=void 0!==k&&k,W=e.lineProps,N=void 0===W?{}:W,L=e.renderer,I=e.PreTag,P=void 0===I?"pre":I,D=e.CodeTag,B=void 0===D?"code":D,j=e.code,F=void 0===j?(Array.isArray(n)?n[0]:n)||"":j,U=e.astGenerator,V=(0,o.Z)(e,h);U=U||_;var H=m?r.createElement(g,{containerStyle:v,codeStyle:u.style||{},numberStyle:R,startingLineNumber:A,codeString:F}):null,X=a.hljs||a['pre[class*="language-"]']||{backgroundColor:"#fff"},G=q(U)?"hljs":"prismjs",$=d?Object.assign({},V,{style:Object.assign({},X,l)}):Object.assign({},V,{className:V.className?"".concat(G," ").concat(V.className):G,style:Object.assign({},l)});if(u.style=M(M({},u.style),{},C?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!U)return r.createElement(P,$,H,r.createElement(B,u,F));(void 0===T&&L||C)&&(T=!0),L=L||S;var K=[{type:"text",value:F}],Y=function(e){var t=e.astGenerator,n=e.language,r=e.code,o=e.defaultCodeValue;if(q(t)){var i=f(t,n);return"text"===n?{value:o,language:"text"}:i?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:o}}catch(a){return{value:o}}}({astGenerator:U,language:t,code:F,defaultCodeValue:K});null===Y.language&&(Y.value=K);var Z=w(Y,T,N,m,z,A,Y.value.length+A,R,C);return r.createElement(P,$,r.createElement(B,u,!z&&H,L({rows:Z,stylesheet:a,useInlineStyles:d})))});R.supportedLanguages=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];const T=R;var k=n(22571),C=n.n(k),W=n(8984),N=n.n(W);function L(){return L=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var P=(0,r.forwardRef)((function(e,t){var n=e.color,o=void 0===n?"currentColor":n,i=e.size,a=void 0===i?24:i,s=I(e,["color","size"]);return r.createElement("svg",L({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),r.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),r.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"}))}));P.propTypes={color:N().string,size:N().oneOfType([N().string,N().number])},P.displayName="Copy";const D=P;var B=n(57721),j=n(40864);class F extends r.PureComponent{constructor(){super(...arguments),this.button=(0,r.createRef)(),this.clipboard=null,this.componentDidMount=()=>{const e=this.button.current;null!==e&&(this.clipboard=new(C())(e))},this.componentWillUnmount=()=>{null!==this.clipboard&&this.clipboard.destroy()}}render(){return(0,j.jsx)(B.qR,{"data-testid":"stCopyButton",title:"Copy to clipboard",ref:this.button,"data-clipboard-text":this.props.text,style:{top:0,right:0},children:(0,j.jsx)(D,{size:"16"})})}}const U=F;function V(e){let{language:t,showLineNumbers:n,children:r}=e;return(0,j.jsxs)(B.l1,{className:"stCodeBlock","data-testid":"stCodeBlock",isMarkdown:!1,children:[(0,j.jsx)(B.nr,{children:(0,j.jsx)(T,{language:t,PreTag:"div",customStyle:{backgroundColor:"transparent"},style:{},lineNumberStyle:{},showLineNumbers:n,children:r})}),"string"===typeof r&&""!==r.trim()&&(0,j.jsx)(B.ef,{children:(0,j.jsx)(U,{text:r})})]})}},57721:(e,t,n)=>{"use strict";n.d(t,{ef:()=>i,l1:()=>a,nr:()=>o,qR:()=>s});var r=n(1515);const o=(0,r.Z)("pre",{target:"e1ycw9pz3"})((e=>{let{theme:t}=e;return{margin:0,paddingRight:"2.75rem",color:t.colors.bodyText,borderRadius:t.radii.default,".comment.linenumber":{color:t.colors.fadedText40,fontSize:t.fontSizes.twoSm,minWidth:"".concat(t.spacing.threeXL," !important")},".token.comment, .token.prolog, .token.doctype, .token.cdata":{color:"slategray"},".token.punctuation":{color:"#999"},".namespace":{opacity:.7},".token.attr-name, .token.property, .token.variable":{color:t.colors.lightBlue80},".token.boolean, .token.constant, .token.symbol":{color:t.colors.green70},".token.number, .token.regex":{color:t.colors.blueGreen80},".token.string, .token.char, .token.attr-value":{color:t.colors.green80},".token.operator, .token.entity":{color:t.colors.orange90},".token.url":{color:t.colors.purple80},".token.decorator, .token.atrule":{color:t.colors.orange90},".token.keyword, .token.tag":{color:t.colors.blue70},".token.function, .token.class-name, .token.selector":{color:t.colors.blue70,fontWeight:"bold"},".token.important":{color:t.colors.red70,fontWeight:"bold"},".token.comment":{color:t.colors.gray70,fontStyle:"italic"},".token.italic":{fontStyle:"italic"},".token.entity":{cursor:"help"}}}),""),i=(0,r.Z)("div",{target:"e1ycw9pz2"})((e=>{let{theme:t}=e;return{opacity:0,padding:"".concat(t.spacing.sm," ").concat(t.spacing.sm," 0 0"),top:0,right:0,position:"absolute",width:"100%",height:"100%",backgroundColor:t.colors.transparent,zIndex:t.zIndices.sidebar+1,display:"flex",justifyContent:"flex-end",alignItems:"flex-start",transition:"opacity 300ms 150ms",pointerEvents:"none"}}),""),a=(0,r.Z)("div",{target:"e1ycw9pz1"})((e=>{let{theme:t,isMarkdown:n}=e;return{position:"relative",marginLeft:t.spacing.none,marginRight:t.spacing.none,marginTop:t.spacing.none,marginBottom:n?t.spacing.lg:void 0,"&:hover":{["".concat(i)]:{opacity:1}}}}),""),s=(0,r.Z)("button",{target:"e1ycw9pz0"})((e=>{let{theme:t}=e;return{pointerEvents:"auto",height:"2.5rem",padding:0,width:"2.5rem",border:"none",backgroundColor:t.colors.transparent,color:t.colors.fadedText60,borderRadius:t.radii.xl,transform:"scale(0)",["".concat(a,":hover &, &:active, &:focus, &:hover")]:{opacity:1,transform:"scale(1)",outline:"none",transition:"none",color:t.colors.bodyText}}}),"")},72012:(e,t,n)=>{"use strict";n.d(t,{O:()=>O});var r,o=n(66845),i=n(16295),a=n(50669),s=n(1515);const l={animationDuration:"750ms",animationName:(0,n(7865).F4)(r||(r=(0,a.Z)(["\n 0%, 100% {\n opacity: 0.5;\n }\n\n 50% {\n opacity: 1;\n }\n"]))),animationTimingFunction:"ease-in",animationDirection:"normal",animationIterationCount:"infinite"},c=(0,s.Z)("div",{target:"e1lmee1o4"})((e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",gap:t.spacing.lg}}),""),u=(0,s.Z)("div",{target:"e1lmee1o3"})((e=>{let{theme:t}=e;return{height:t.fontSizes.fourXL,width:"17rem",maxWidth:"75%",background:t.colors.skeletonBackgroundColor||t.colors.darkenedBgMix15,borderRadius:t.radii.default,...l}}),""),p=(0,s.Z)("div",{target:"e1lmee1o2"})((e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",gap:t.spacing.sm}}),""),d=(0,s.Z)("div",{target:"e1lmee1o1"})((e=>{let{theme:t,width:n}=e;return{height:t.fontSizes.md,width:n,background:t.colors.skeletonBackgroundColor||t.colors.darkenedBgMix15,borderRadius:t.radii.default,...l}}),""),b=(0,s.Z)("div",{target:"e1lmee1o0"})((e=>{let{theme:t,height:n,width:r}=e;return{height:null!==n&&void 0!==n?n:t.fontSizes.fourXL,width:null!==r&&void 0!==r?r:"100%",background:t.colors.skeletonBackgroundColor||t.colors.darkenedBgMix15,borderRadius:t.radii.default,...l}}),"");var f=n(40864);const h=()=>{const[e,t]=(0,o.useState)(!1);return(0,o.useEffect)((()=>{const e=setTimeout((()=>{t(!0)}),500);return()=>{clearTimeout(e)}}),[]),e?(0,f.jsxs)(c,{"data-testid":"stAppSkeleton",children:[(0,f.jsx)(u,{}),(0,f.jsxs)(p,{children:[(0,f.jsx)(d,{width:"98%"}),(0,f.jsx)(d,{width:"100%"}),(0,f.jsx)(d,{width:"96%"}),(0,f.jsx)(d,{width:"65%"})]}),(0,f.jsx)(b,{width:"75%",height:"9rem"})]}):(0,f.jsx)(f.Fragment,{})},m=(0,o.memo)(h),M=e=>{let{element:t}=e;return t.style==i.Od.SkeletonStyle.APP?(0,f.jsx)(m,{}):(0,f.jsx)(b,{"data-testid":"stSkeleton",height:null!==t&&void 0!==t&&t.height?t.height+"px":void 0})},O=(0,o.memo)(M)},59033:(e,t,n)=>{"use strict";n.d(t,{h:()=>z,Z:()=>A});var r=n(66845),o=n(92775),i=n(4808),a=n(80318);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let{theme:t}=e;return{pre:{backgroundColor:t.colors.transparent,paddingTop:t.spacing.lg,paddingBottom:t.spacing.lg,paddingRight:t.spacing.lg,paddingLeft:t.spacing.lg,border:"".concat(t.sizes.borderWidth," solid ").concat(t.colors.fadedText10),"pre, code":{backgroundColor:t.colors.transparent,color:"inherit"}},code:{backgroundColor:t.colors.transparent,padding:t.spacing.none},"pre, code":{color:"inherit"},a:{color:"inherit",textDecoration:"underline"}}}),"");var O=n(79881),g=n(40864);let z;function y(e){switch(e){case z.ERROR:return o.TO.negative;case z.INFO:return o.TO.info;case z.SUCCESS:return o.TO.positive;case z.WARNING:return o.TO.warning;default:throw new Error("Unexpected alert type: ".concat(e))}}function A(e){let{kind:t,width:n,children:r}=e;const o=t.charAt(0).toUpperCase()+t.slice(1);return(0,g.jsx)(m,{kind:y(t),overrides:{Body:{style:{marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,width:n?n.toString():void 0,border:0,borderTopRightRadius:O.p.default,borderBottomRightRadius:O.p.default,borderTopLeftRadius:O.p.default,borderBottomLeftRadius:O.p.default},props:{"data-testid":"stNotification"}},InnerContainer:{style:{width:"100%",lineHeight:"1.5"}}},children:(0,g.jsx)(M,{"data-testid":"stNotificationContent".concat(o),children:r})})}!function(e){e.ERROR="error",e.INFO="info",e.SUCCESS="success",e.WARNING="warning"}(z||(z={}))},9003:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>i});n(66845);var r=n(81354),o=n(40864);const i=function(e){let{kind:t,size:n,disabled:i,onClick:a,fluidWidth:s,children:l,autoFocus:c}=e,u=r.Db;return t===r.nW.SECONDARY?u=r.H7:t===r.nW.TERTIARY?u=r.ob:t===r.nW.LINK?u=r.UN:t===r.nW.ICON?u=r.Qh:t===r.nW.BORDERLESS_ICON?u=r.a1:t===r.nW.BORDERLESS_ICON_ACTIVE?u=r.qt:t===r.nW.MINIMAL?u=r.hV:t===r.nW.PRIMARY_FORM_SUBMIT?u=r.Hb:t===r.nW.SECONDARY_FORM_SUBMIT?u=r.MZ:t===r.nW.HEADER_BUTTON?u=r.X3:t===r.nW.HEADER_NO_PADDING?u=r.s8:t===r.nW.ELEMENT_TOOLBAR&&(u=r.Zc),(0,o.jsx)(u,{kind:t,size:null!==n&&void 0!==n?n:r.V5.MEDIUM,fluidWidth:s||!1,disabled:i||!1,onClick:a||(()=>{}),autoFocus:c||!1,"data-testid":"baseButton-".concat(t),children:l})}},27446:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});n(66845);var r=n(8879),o=n(68411),i=n(81354),a=n(40864);function s(e){let{children:t,help:n,placement:s}=e;return n?(0,a.jsxs)("div",{className:"stTooltipIcon",children:[(0,a.jsx)(i.PM,{children:(0,a.jsx)(r.Z,{content:n,placement:s||o.u.TOP,children:t})}),(0,a.jsx)(i.zU,{children:t})]}):t}},81354:(e,t,n)=>{"use strict";n.d(t,{Db:()=>c,H7:()=>u,Hb:()=>f,MZ:()=>h,PM:()=>y,Qh:()=>m,UN:()=>d,V5:()=>a,X3:()=>M,Zc:()=>v,a1:()=>g,hV:()=>b,nW:()=>i,ob:()=>p,qt:()=>z,s8:()=>O,zU:()=>A});var r=n(1515),o=n(35704);let i,a;function s(e,t){switch(e){case a.XSMALL:return{padding:"".concat(t.spacing.twoXS," ").concat(t.spacing.sm),fontSize:t.fontSizes.sm};case a.SMALL:return{padding:"".concat(t.spacing.twoXS," ").concat(t.spacing.md)};case a.LARGE:return{padding:"".concat(t.spacing.md," ").concat(t.spacing.md)};default:return{padding:"".concat(t.spacing.xs," ").concat(t.spacing.md)}}}!function(e){e.PRIMARY="primary",e.SECONDARY="secondary",e.TERTIARY="tertiary",e.LINK="link",e.ICON="icon",e.BORDERLESS_ICON="borderlessIcon",e.BORDERLESS_ICON_ACTIVE="borderlessIconActive",e.MINIMAL="minimal",e.PRIMARY_FORM_SUBMIT="primaryFormSubmit",e.SECONDARY_FORM_SUBMIT="secondaryFormSubmit",e.HEADER_BUTTON="header",e.HEADER_NO_PADDING="headerNoPadding",e.ELEMENT_TOOLBAR="elementToolbar"}(i||(i={})),function(e){e.XSMALL="xsmall",e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"}(a||(a={}));const l=(0,r.Z)("button",{target:"ef3psqc15"})((e=>{let{fluidWidth:t,size:n,theme:r}=e;const i="number"==typeof t?"".concat(t,"px"):"100%";return{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:r.fontWeights.normal,padding:"".concat(r.spacing.xs," ").concat(r.spacing.md),borderRadius:r.radii.default,minHeight:r.sizes.minElementHeight,margin:0,lineHeight:r.lineHeights.base,color:"inherit",width:t?i:"auto",userSelect:"none","&:focus":{outline:"none"},"&:focus-visible":{boxShadow:"0 0 0 0.2rem ".concat((0,o.DZ)(r.colors.primary,.5))},...s(n,r)}}),""),c=(0,r.Z)(l,{target:"ef3psqc14"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.primary,color:t.colors.white,border:"".concat(t.sizes.borderWidth," solid ").concat(t.colors.primary),"&:hover":{backgroundColor:(0,o._j)(t.colors.primary,.05)},"&:active":{backgroundColor:"transparent",color:t.colors.primary},"&:disabled, &:disabled:hover, &:disabled:active":{borderColor:t.colors.fadedText10,backgroundColor:t.colors.transparent,color:t.colors.fadedText40,cursor:"not-allowed"}}}),""),u=(0,r.Z)(l,{target:"ef3psqc13"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.lightenedBg05,border:"".concat(t.sizes.borderWidth," solid ").concat(t.colors.fadedText10),"&:hover":{borderColor:t.colors.primary,color:t.colors.primary},"&:active":{color:t.colors.white,borderColor:t.colors.primary,backgroundColor:t.colors.primary},"&:focus:not(:active)":{borderColor:t.colors.primary,color:t.colors.primary},"&:disabled, &:disabled:hover, &:disabled:active":{borderColor:t.colors.fadedText10,backgroundColor:t.colors.transparent,color:t.colors.fadedText40,cursor:"not-allowed"}}}),""),p=(0,r.Z)(l,{target:"ef3psqc12"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.transparent,border:"".concat(t.sizes.borderWidth," solid ").concat(t.colors.transparent),"&:hover":{borderColor:t.colors.transparent,color:t.colors.primary},"&:active":{color:t.colors.primary,borderColor:t.colors.transparent,backgroundColor:t.colors.transparent},"&:focus:not(:active)":{borderColor:t.colors.transparent,color:t.colors.primary},"&:disabled, &:disabled:hover, &:disabled:active":{backgroundColor:t.colors.lightGray,borderColor:t.colors.transparent,color:t.colors.gray}}}),""),d=(0,r.Z)(l,{target:"ef3psqc11"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.transparent,padding:0,border:"none",color:t.colors.primary,"&:hover":{textDecoration:"underline"},"&:active":{backgroundColor:t.colors.transparent,color:t.colors.primary,textDecoration:"underline"},"&:disabled, &:disabled:hover, &:disabled:active":{backgroundColor:t.colors.lightGray,borderColor:t.colors.transparent,color:t.colors.gray}}}),""),b=(0,r.Z)(l,{target:"ef3psqc10"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.transparent,border:"none",boxShadow:"none",padding:0,"&:hover, &:active, &:focus-visible":{color:t.colors.primary}}}),""),f=(0,r.Z)(c,{target:"ef3psqc9"})(""),h=(0,r.Z)(u,{target:"ef3psqc8"})(""),m=(0,r.Z)(l,{target:"ef3psqc7"})((e=>{let{size:t,theme:n}=e;const r={[a.XSMALL]:n.spacing.threeXS,[a.SMALL]:n.spacing.twoXS,[a.MEDIUM]:n.spacing.md,[a.LARGE]:n.spacing.lg};return{backgroundColor:n.colors.transparent,border:"".concat(n.sizes.borderWidth," solid ").concat(n.colors.transparent),padding:r[t],"&:hover":{borderColor:n.colors.primary,color:n.colors.primary},"&:active":{backgroundColor:n.colors.primary,borderColor:n.colors.primary,color:n.colors.white},"&:not(:active)":{boxShadow:"none"},"&:disabled, &:disabled:hover, &:disabled:active":{backgroundColor:n.colors.lightGray,borderColor:n.colors.transparent,color:n.colors.gray}}}),""),M=(0,r.Z)(l,{target:"ef3psqc6"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.transparent,border:"none",padding:t.spacing.sm,fontSize:t.fontSizes.sm,marginLeft:t.spacing.threeXS,marginRight:t.spacing.threeXS,lineHeight:t.lineHeights.none,minWidth:t.spacing.threeXL,minHeight:t.spacing.threeXL,"&:focus":{outline:"none"},"&:focus-visible":{boxShadow:"0 0 0 0.2rem ".concat((0,o.DZ)(t.colors.gray90,.8))},"&:hover":{backgroundColor:t.colors.darkenedBgMix25},"&:disabled, &:disabled:hover, &:disabled:active":{backgroundColor:t.colors.lightGray,borderColor:t.colors.transparent,color:t.colors.gray}}}),""),O=(0,r.Z)(M,{target:"ef3psqc5"})((()=>({padding:0})),""),g=(0,r.Z)(l,{target:"ef3psqc4"})((e=>{let{size:t,theme:n}=e;const r={[a.XSMALL]:n.spacing.threeXS,[a.SMALL]:n.spacing.twoXS,[a.MEDIUM]:n.spacing.md,[a.LARGE]:n.spacing.lg};return{backgroundColor:n.colors.transparent,color:n.colors.fadedText60,padding:r[t],marginLeft:n.spacing.none,marginRight:n.spacing.none,border:"none",display:"flex",minHeight:"unset","&:focus":{boxShadow:"none",outline:"none"},"&:hover":{color:n.colors.text},"&:disabled, &:disabled:hover, &:disabled:active":{color:n.colors.fadedText20}}}),""),z=(0,r.Z)(g,{target:"ef3psqc3"})((e=>{let{theme:t}=e;return{color:t.colors.bodyText}}),""),y=(0,r.Z)("div",{target:"ef3psqc2"})((e=>{let{theme:t}=e;return{display:"block",["@media (max-width: ".concat(t.breakpoints.sm,")")]:{display:"none"}}}),""),A=(0,r.Z)("div",{target:"ef3psqc1"})((e=>{let{theme:t}=e;return{display:"none",["@media (max-width: ".concat(t.breakpoints.sm,")")]:{display:"block"}}}),""),v=(0,r.Z)(l,{target:"ef3psqc0"})((e=>{let{theme:t}=e;return{backgroundColor:t.colors.transparent,border:"none",padding:t.spacing.xs,fontSize:t.fontSizes.twoSm,marginLeft:t.spacing.none,marginRight:t.spacing.none,display:"flex",gap:t.spacing.xs,alignItems:"center",minHeight:"unset",lineHeight:t.iconSizes.md,"&:focus":{outline:"none",border:"none",boxShadow:"none"},"&:focus-visible":{outline:"none",border:"none",boxShadow:"none",backgroundColor:t.colors.darkenedBgMix25},"&:hover":{backgroundColor:t.colors.darkenedBgMix25},"&:disabled, &:disabled:hover, &:disabled:active":{backgroundColor:t.colors.lightGray,borderColor:t.colors.transparent,color:t.colors.gray}}}),"")},74516:(e,t,n)=>{"use strict";n.d(t,{Z:()=>$i});var r=n(66845),o=n(96386),i=n(92031),a={},s=function(e,t,n,r){var o=e+"-"+t+"-"+n+(r?"-server":"");if(a[o])return a[o];var i=function(e,t,n,r){if("undefined"===typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),o.toDataURL()):null}(e,t,n,r);return a[o]=i,i},l=Object.assign||function(e){for(var t=1;ta?1:Math.round(100*u/a)/100,t.a!==p)return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}else{var d=void 0;if(r!==(d=c<0?0:c>i?1:Math.round(100*c/i)/100))return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}return null}(e,r.props.hsl,r.props.direction,r.props.a,r.container);t&&"function"===typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},b(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),d(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,i.ZP)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:p({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return r.createElement("div",{style:n.alpha},r.createElement("div",{style:n.checkboard},r.createElement(u,{renderers:this.props.renderers})),r.createElement("div",{style:n.gradient}),r.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement("div",{style:n.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement("div",{style:n.slider}))))}}]),t}(r.PureComponent||r.Component);var h=function(){function e(e,t){for(var n=0;n-1)){var o=n.getArrowOffset(),i=38===e.keyCode?r+o:r-o;n.setUpdatedValue(i,e)}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n.inputId="rc-editable-input-"+M++,n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),h(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,i.ZP)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return r.createElement("div",{style:t.wrap},r.createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?r.createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(r.PureComponent||r.Component);var g=function(){function e(e,t){for(var n=0;ni?0:360*(-100*c/i+100)/100,n.h!==u)return{h:u,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var p=void 0;if(p=l<0?0:l>o?359:100*l/o*360/100,n.h!==p)return{h:p,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null}(e,r.props.direction,r.props.hsl,r.container);t&&"function"===typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},z(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),g(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,o=(0,i.ZP)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return r.createElement("div",{style:o.hue},r.createElement("div",{className:"hue-"+n,style:o.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),r.createElement("div",{style:o.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement("div",{style:o.slider}))))}}]),t}(r.PureComponent||r.Component);var A=n(8984),v=n.n(A);const w=function(){this.__data__=[],this.size=0};const S=function(e,t){return e===t||e!==e&&t!==t};const q=function(e,t){for(var n=e.length;n--;)if(S(e[n][0],t))return n;return-1};var E=Array.prototype.splice;const _=function(e){var t=this.__data__,n=q(t,e);return!(n<0)&&(n==t.length-1?t.pop():E.call(t,n,1),--this.size,!0)};const x=function(e){var t=this.__data__,n=q(t,e);return n<0?void 0:t[n][1]};const R=function(e){return q(this.__data__,e)>-1};const T=function(e,t){var n=this.__data__,r=q(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function k(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=9007199254740991};const ut=function(e){return null!=e&&ct(e.length)&&!J(e)};const pt=function(e){return nt(e)&&ut(e)};const dt=function(){return!1};var bt="object"==typeof exports&&exports&&!exports.nodeType&&exports,ft=bt&&"object"==typeof module&&module&&!module.nodeType&&module,ht=ft&&ft.exports===bt?B.Buffer:void 0;const mt=(ht?ht.isBuffer:void 0)||dt;var Mt=Function.prototype,Ot=Object.prototype,gt=Mt.toString,zt=Ot.hasOwnProperty,yt=gt.call(Object);const At=function(e){if(!nt(e)||"[object Object]"!=Y(e))return!1;var t=Je(e);if(null===t)return!0;var n=zt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&>.call(n)==yt};var vt={};vt["[object Float32Array]"]=vt["[object Float64Array]"]=vt["[object Int8Array]"]=vt["[object Int16Array]"]=vt["[object Int32Array]"]=vt["[object Uint8Array]"]=vt["[object Uint8ClampedArray]"]=vt["[object Uint16Array]"]=vt["[object Uint32Array]"]=!0,vt["[object Arguments]"]=vt["[object Array]"]=vt["[object ArrayBuffer]"]=vt["[object Boolean]"]=vt["[object DataView]"]=vt["[object Date]"]=vt["[object Error]"]=vt["[object Function]"]=vt["[object Map]"]=vt["[object Number]"]=vt["[object Object]"]=vt["[object RegExp]"]=vt["[object Set]"]=vt["[object String]"]=vt["[object WeakMap]"]=!1;const wt=function(e){return nt(e)&&ct(e.length)&&!!vt[Y(e)]};const St=function(e){return function(t){return e(t)}};var qt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=qt&&"object"==typeof module&&module&&!module.nodeType&&module,_t=Et&&Et.exports===qt&&P.process,xt=function(){try{var e=Et&&Et.require&&Et.require("util").types;return e||_t&&_t.binding&&_t.binding("util")}catch(t){}}();var Rt=xt&&xt.isTypedArray;const Tt=Rt?St(Rt):wt;const kt=function(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]};var Ct=Object.prototype.hasOwnProperty;const Wt=function(e,t,n){var r=e[t];Ct.call(e,t)&&S(r,n)&&(void 0!==n||t in e)||Ie(e,t,n)};const Nt=function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i-1&&e%1==0&&e0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Qt);const nn=function(e,t){return tn(Zt(e,t,$t),e+"")};const rn=function(e,t,n){if(!Z(n))return!1;var r=typeof t;return!!("number"==r?ut(n)&&Pt(t,n.length):"string"==r&&t in n)&&S(n[t],e)};const on=function(e){return nn((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&rn(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r=t||n<0||p&&e-c>=i}function h(){var e=ln();if(f(e))return m(e);s=setTimeout(h,function(e){var n=t-(e-l);return p?zn(n,i-(e-c)):n}(e))}function m(e){return s=void 0,d&&r?b(e):(r=o=void 0,a)}function M(){var e=ln(),n=f(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(h,t),u?b(e):a}(l);if(p)return clearTimeout(s),s=setTimeout(h,t),b(l)}return void 0===s&&(s=setTimeout(h,t)),a}return t=On(t)||0,Z(n)&&(u=!!n.leading,i=(p="maxWait"in n)?gn(On(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),M.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},M.flush=function(){return void 0===s?a:m(ln())},M};const An=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Z(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),yn(e,t,{leading:r,maxWait:t,trailing:o})};var vn=function(){function e(e,t){for(var n=0;no&&(l=o),c<0?c=0:c>i&&(c=i);var u=l/o,p=1-c/i;return{h:t.h,s:u,v:p,a:t.a,source:"hsv"}}(e,n.props.hsl,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e);var t=n.getContainerRenderWindow();t.addEventListener("mousemove",n.handleChange),t.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=An((function(e,t,n){e(t,n)}),50),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),vn(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,o=t.white,a=t.black,s=t.pointer,l=t.circle,c=(0,i.ZP)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:o,black:a,pointer:s,circle:l}},{custom:!!this.props.style});return r.createElement("div",{style:c.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),r.createElement("div",{style:c.white,className:"saturation-white"},r.createElement("div",{style:c.black,className:"saturation-black"}),r.createElement("div",{style:c.pointer},this.props.pointer?r.createElement(this.props.pointer,this.props):r.createElement("div",{style:c.circle}))))}}]),t}(r.PureComponent||r.Component);const Sn=wn;const qn=function(e,t){for(var n=-1,r=null==e?0:e.length;++n=128?"#000":"#fff"},Bn=function(e,t){var n=e.replace("\xb0","");return Nn()(t+" ("+n+")")._ok},jn=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function o(){var e,t,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);for(var r=arguments.length,i=Array(r),a=0;as))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var p=-1,d=!0,b=2&n?new nr:void 0;for(i.set(e,t),i.set(t,e);++p1&&(e.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"===typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"===typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),n.props.onChange({h:e.h||n.props.hsl.h,s:Number(Vo(e.s)?n.props.hsl.s:e.s),l:Number(Vo(e.l)?n.props.hsl.l:e.l),source:"hsl"},t))},n.showHighlight=function(e){e.currentTarget.style.background="#eee"},n.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?n.state={view:"rgb"}:n.state={view:e.view},n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Xo(t,[{key:"render",value:function(){var e=this,t=(0,i.ZP)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=r.createElement("div",{style:t.fields,className:"flexbox-fix"},r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=r.createElement("div",{style:t.fields,className:"flexbox-fix"},r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),r.createElement("div",{style:t.alpha},r.createElement(O,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=r.createElement("div",{style:t.fields,className:"flexbox-fix"},r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),r.createElement("div",{style:t.field},r.createElement(O,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),r.createElement("div",{style:t.alpha},r.createElement(O,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),r.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,r.createElement("div",{style:t.toggle},r.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},r.createElement(Ho.Z,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(r.Component);Go.defaultProps={view:"hex"};const $o=Go;const Ko=function(){var e=(0,i.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r.createElement("div",{style:e.picker})};const Yo=function(){var e=(0,i.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return r.createElement("div",{style:e.picker})};var Zo=function(e){var t=e.width,n=e.onChange,o=e.disableAlpha,a=e.rgb,s=e.hsl,l=e.hsv,c=e.hex,p=e.renderers,d=e.styles,b=void 0===d?{}:d,h=e.className,m=void 0===h?"":h,M=e.defaultView,O=(0,i.ZP)(on({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+a.r+", "+a.g+", "+a.b+", "+a.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},b),{disableAlpha:o});return r.createElement("div",{style:O.picker,className:"chrome-picker "+m},r.createElement("div",{style:O.saturation},r.createElement(Sn,{style:O.Saturation,hsl:s,hsv:l,pointer:Yo,onChange:n})),r.createElement("div",{style:O.body},r.createElement("div",{style:O.controls,className:"flexbox-fix"},r.createElement("div",{style:O.color},r.createElement("div",{style:O.swatch},r.createElement("div",{style:O.active}),r.createElement(u,{renderers:p}))),r.createElement("div",{style:O.toggles},r.createElement("div",{style:O.hue},r.createElement(y,{style:O.Hue,hsl:s,pointer:Ko,onChange:n})),r.createElement("div",{style:O.alpha},r.createElement(f,{style:O.Alpha,rgb:a,hsl:s,pointer:Ko,renderers:p,onChange:n})))),r.createElement($o,{rgb:a,hsl:s,hex:c,view:M,onChange:n,disableAlpha:o})))};Zo.propTypes={width:v().oneOfType([v().string,v().number]),disableAlpha:v().bool,styles:v().object,defaultView:v().oneOf(["hex","rgb","hsl"])},Zo.defaultProps={width:225,disableAlpha:!1,styles:{}};const Jo=Un(Zo);const Qo=function(e){var t=e.color,n=e.onClick,o=void 0===n?function(){}:n,a=e.onSwatchHover,s=e.active,l=(0,i.ZP)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:Dn(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:s,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r.createElement($n,{style:l.color,color:t,onClick:o,onHover:a,focusStyle:{boxShadow:"0 0 4px "+t}},r.createElement("div",{style:l.dot}))};const ei=function(e){var t=e.hex,n=e.rgb,o=e.onChange,a=(0,i.ZP)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),s=function(e,t){e.r||e.g||e.b?o({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):o({hex:e.hex,source:"hex"},t)};return r.createElement("div",{style:a.fields,className:"flexbox-fix"},r.createElement("div",{style:a.active}),r.createElement(O,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"hex",value:t,onChange:s}),r.createElement(O,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:s}),r.createElement(O,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:s}),r.createElement(O,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:n.b,onChange:s}))};var ti=function(e){var t=e.onChange,n=e.onSwatchHover,o=e.colors,a=e.hex,s=e.rgb,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,d=(0,i.ZP)(on({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},c)),b=function(e,n){e.hex?Pn(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return r.createElement(sn,{style:d.Compact,styles:c},r.createElement("div",{style:d.compact,className:"compact-picker "+p},r.createElement("div",null,zo(o,(function(e){return r.createElement(Qo,{key:e,color:e,active:e.toLowerCase()===a,onClick:b,onSwatchHover:n})})),r.createElement("div",{style:d.clear})),r.createElement(ei,{hex:a,rgb:s,onChange:b})))};ti.propTypes={colors:v().arrayOf(v().string),styles:v().object},ti.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}};Un(ti);const ni=(0,i.tz)((function(e){var t=e.hover,n=e.color,o=e.onClick,a=e.onSwatchHover,s={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},l=(0,i.ZP)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:s}},{hover:t});return r.createElement("div",{style:l.swatch},r.createElement($n,{color:n,onClick:o,onHover:a,focusStyle:s}))}));var ri=function(e){var t=e.width,n=e.colors,o=e.onChange,a=e.onSwatchHover,s=e.triangle,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,d=(0,i.ZP)(on({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},c),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s,"bottom-left-triangle":"bottom-left"===s,"bottom-right-triangle":"bottom-right"===s}),b=function(e,t){return o({hex:e,source:"hex"},t)};return r.createElement("div",{style:d.card,className:"github-picker "+p},r.createElement("div",{style:d.triangleShadow}),r.createElement("div",{style:d.triangle}),zo(n,(function(e){return r.createElement(ni,{color:e,key:e,onClick:b,onSwatchHover:a})})))};ri.propTypes={width:v().oneOfType([v().string,v().number]),colors:v().arrayOf(v().string),triangle:v().oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:v().object},ri.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}};Un(ri);const oi=function(e){var t=e.direction,n=(0,i.ZP)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return r.createElement("div",{style:n.picker})};var ii=Object.assign||function(e){for(var t=1;t.5});return r.createElement("div",{style:n.picker})};const ci=function(){var e=(0,i.ZP)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return r.createElement("div",{style:e.pointer},r.createElement("div",{style:e.left},r.createElement("div",{style:e.leftInside})),r.createElement("div",{style:e.right},r.createElement("div",{style:e.rightInside})))};const ui=function(e){var t=e.onClick,n=e.label,o=e.children,a=e.active,s=(0,i.ZP)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:a});return r.createElement("div",{style:s.button,onClick:t},n||o)};const pi=function(e){var t=e.rgb,n=e.currentColor,o=(0,i.ZP)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return r.createElement("div",null,r.createElement("div",{style:o.label},"new"),r.createElement("div",{style:o.swatches},r.createElement("div",{style:o.new}),r.createElement("div",{style:o.current})),r.createElement("div",{style:o.label},"current"))};var di=function(){function e(e,t){for(var n=0;n100&&(e.a=100),e.a/=100,t({h:o.h,s:o.s,l:o.l,a:e.a,source:"rgb"},r))};return r.createElement("div",{style:l.fields,className:"flexbox-fix"},r.createElement("div",{style:l.double},r.createElement(O,{style:{input:l.input,label:l.label},label:"hex",value:a.replace("#",""),onChange:c})),r.createElement("div",{style:l.single},r.createElement(O,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:c,dragLabel:"true",dragMax:"255"})),r.createElement("div",{style:l.single},r.createElement(O,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:c,dragLabel:"true",dragMax:"255"})),r.createElement("div",{style:l.single},r.createElement(O,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:c,dragLabel:"true",dragMax:"255"})),r.createElement("div",{style:l.alpha},r.createElement(O,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*n.a),onChange:c,dragLabel:"true",dragMax:"100"})))};var hi=Object.assign||function(e){for(var t=1;t{let{disabled:t,width:n,theme:r}=e;return{fontFamily:r.genericFonts.bodyFont,display:"flex",flexDirection:"column",alignItems:"flex-start",cursor:t?"not-allowed":"default",width:n}}),""),Fi=(0,Bi.Z)("div",{target:"e1rgp0873"})((e=>{let{theme:t}=e;return{div:{fontFamily:"".concat(t.genericFonts.bodyFont," !important")}}}),""),Ui=(0,Bi.Z)("div",{target:"e1rgp0872"})((e=>{let{disabled:t,theme:n}=e;return{height:n.sizes.minElementHeight,borderRadius:n.radii.default,borderColor:n.colors.fadedText10,cursor:t?"not-allowed":"pointer",pointerEvents:t?"none":"auto",boxShadow:"none",lineHeight:n.lineHeights.base,"&:focus":{outline:"none"},display:"flex"}}),""),Vi=(0,Bi.Z)("div",{target:"e1rgp0871"})((e=>{let{backgroundColor:t,disabled:n,theme:r}=e;return{width:r.sizes.minElementHeight,height:r.sizes.minElementHeight,borderRadius:r.radii.default,borderColor:r.colors.fadedText10,borderWidth:r.sizes.borderWidth,opacity:n?"0.4":"",backgroundColor:t,borderStyle:"solid",padding:"2px 0.8rem",cursor:"pointer",lineHeight:r.lineHeights.base,"&:focus":{outline:"none"}}}),""),Hi=(0,Bi.Z)("div",{target:"e1rgp0870"})((()=>({display:"flex",alignItems:"center",padding:"0 0.8rem",width:"95px"})),"");var Xi=n(40864);class Gi extends r.PureComponent{constructor(){super(...arguments),this.state={value:this.props.value},this.onColorChange=e=>{this.setState({value:e.hex})},this.onColorClose=()=>{this.props.onChange(this.state.value)}}componentDidUpdate(e){e.value!==this.props.value&&this.props.value!==this.state.value&&this.setState(((e,t)=>({value:t.value})))}componentDidCatch(e){if("SecurityError"!==(null===e||void 0===e?void 0:e.name))throw e;(0,Di.KE)("Swallowing ColorPicker SecurityError '".concat(e.name,": ").concat(e.message,"'")),this.forceUpdate()}render(){const{width:e,showValue:t,label:n,labelVisibility:r,help:i,disabled:a}=this.props,{value:s}=this.state;return(0,Xi.jsxs)(ji,{"data-testid":"stColorPicker",width:e,disabled:a,children:[(0,Xi.jsx)(Ni.O,{label:n,disabled:a,labelVisibility:r,children:i&&(0,Xi.jsx)(Li.Hp,{children:(0,Xi.jsx)(Ii.Z,{content:i,placement:Pi.u.TOP_RIGHT})})}),(0,Xi.jsx)(o.Z,{onClose:this.onColorClose,content:()=>(0,Xi.jsx)(Fi,{"data-testid":"stColorPickerPopover",children:(0,Xi.jsx)(Jo,{color:s,onChange:this.onColorChange,disableAlpha:!0})}),children:(0,Xi.jsxs)(Ui,{disabled:a,children:[(0,Xi.jsx)(Vi,{"data-testid":"stColorBlock",backgroundColor:s,disabled:a}),t&&(0,Xi.jsx)(Hi,{children:s.toUpperCase()})]})})]})}}const $i=Gi},97965:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>C,HX:()=>T});var r=n(66845),o=n(91706),i=n(90481),a=n(91034),s=n(25621),l=-1/0,c=1/0,u=-.005,p=-.005,d=-.01,b=1,f=.9,h=.8,m=.7,M=.6;function O(e){return e.toUpperCase()===e}function g(e,t,n,r){for(var o=e.length,i=t.length,a=e.toLowerCase(),s=t.toLowerCase(),c=function(e){for(var t,n=e.length,r=new Array(n),o="/",i=0;ifunction(e,t){e=e.toLowerCase(),t=t.toLowerCase();for(var n=e.length,r=0,o=0;rfunction(e,t){var n=e.length,r=t.length;if(!n||!r)return l;if(n===r)return c;if(r>1024)return l;var o=new Array(n),i=new Array(n);return g(e,t,o,i),i[n-1][r-1]}(t,e.label))).reverse()}class k extends r.PureComponent{constructor(){super(...arguments),this.state={isEmpty:!1,value:this.props.value},this.onChange=e=>{if(0===e.value.length)return void this.setState({value:null},(()=>this.props.onChange(null)));const[t]=e.value;this.setState({value:parseInt(t.value,10)},(()=>this.props.onChange(this.state.value)))},this.onInputChange=e=>{const t=e.target.value;this.setState({isEmpty:!t})},this.onClose=()=>{this.setState({isEmpty:!1})},this.filterOptions=(e,t)=>T(e,t)}componentDidUpdate(e){e.value!==this.props.value&&this.state.value!==this.props.value&&this.setState(((e,t)=>({value:t.value})))}render(){const e={width:this.props.width},{label:t,labelVisibility:n,help:r,placeholder:s,theme:l,clearable:c}=this.props;let{disabled:u,options:p}=this.props,d=[];(0,v.le)(this.state.value)||this.state.isEmpty||(d=[{label:p.length>0?p[this.state.value]:R,value:this.state.value.toString()}]),0===p.length&&(p=[R],u=!0);const b=p.map(((e,t)=>({label:e,value:t.toString()}))),f=p.length>10;return(0,x.jsxs)("div",{className:"row-widget stSelectbox","data-testid":"stSelectbox",style:e,children:[(0,x.jsx)(q.O,{label:t,labelVisibility:n,disabled:u,children:r&&(0,x.jsx)(E.dT,{children:(0,x.jsx)(S.Z,{content:r,placement:w.u.TOP_RIGHT})})}),(0,x.jsx)(a.Z,{disabled:u,labelKey:"label","aria-label":t||"",onChange:this.onChange,onInputChange:this.onInputChange,onClose:this.onClose,options:b,filterOptions:this.filterOptions,clearable:c||!1,escapeClearsValue:c||!1,value:d,valueKey:"value",placeholder:s,overrides:{Root:{style:()=>({lineHeight:l.lineHeights.inputWidget})},Dropdown:{component:A.Z},ClearIcon:{props:{overrides:{Svg:{style:{color:l.colors.darkGray,transform:"scale(1.25)",width:l.spacing.twoXL,":hover":{fill:l.colors.bodyText}}}}}},ControlContainer:{style:()=>({height:l.sizes.minElementHeight,borderLeftWidth:l.sizes.borderWidth,borderRightWidth:l.sizes.borderWidth,borderTopWidth:l.sizes.borderWidth,borderBottomWidth:l.sizes.borderWidth})},IconsContainer:{style:()=>({paddingRight:l.spacing.sm})},ValueContainer:{style:()=>({paddingRight:l.spacing.sm,paddingLeft:l.spacing.sm,paddingBottom:l.spacing.sm,paddingTop:l.spacing.sm})},Input:{props:{readOnly:o.tq&&!1===f?"readonly":null},style:()=>({lineHeight:l.lineHeights.inputWidget})},Popover:{props:{overrides:{Body:{style:()=>({marginTop:"1px"})}}}},SelectArrow:{component:i.Z,props:{overrides:{Svg:{style:()=>({width:_._.xl,height:_._.xl})}}}}}})]})}}const C=(0,s.b)(k)},7978:(e,t,n)=>{"use strict";n.d(t,{Z:()=>k});var r=n(66845),o=n(23031),i=n(25773),a=n(47169),s=n(93219),l=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function c(e,t){if(e.length!==t.length)return!1;for(var n=0;n=t?e.call(null):r.id=requestAnimationFrame(o)}))};return r}var f=-1;function h(e){if(void 0===e&&(e=!1),-1===f||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),f=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return f}var m=null;function M(e){if(void 0===e&&(e=!1),null===m||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?m="positive-descending":(t.scrollLeft=1,m=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),m}return m}var O=function(e,t){return e};function g(e){var t,n=e.getItemOffset,o=e.getEstimatedTotalSize,l=e.getItemSize,c=e.getOffsetForIndexAndAlignment,p=e.getStartIndexForOffset,f=e.getStopIndexForStartIndex,m=e.initInstanceProps,g=e.shouldResetStyleCacheOnItemSizeChange,y=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=m(r.props,(0,a.Z)(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:(0,a.Z)(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"===typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=u((function(e,t,n,o){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:o})})),r._callOnScroll=void 0,r._callOnScroll=u((function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})})),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,o=r.props,i=o.direction,a=o.itemSize,s=o.layout,c=r._getItemStyleCache(g&&a,g&&s,g&&i);if(c.hasOwnProperty(e))t=c[e];else{var u=n(r.props,e,r._instanceProps),p=l(r.props,e,r._instanceProps),d="horizontal"===i||"horizontal"===s,b="rtl"===i,f=d?u:0;c[e]=t={position:"absolute",left:b?void 0:f,right:b?f:void 0,top:d?0:u,height:d?"100%":p,width:d?p:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=u((function(e,t,n){return{}})),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;r.setState((function(e){if(e.scrollOffset===o)return null;var t=r.props.direction,a=o;if("rtl"===t)switch(M()){case"negative":a=-o;break;case"positive-descending":a=i-n-o}return a=Math.max(0,Math.min(a,i-n)),{isScrolling:!0,scrollDirection:e.scrollOffsets.clientWidth?h():0:s.scrollHeight>s.clientHeight?h():0}this.scrollTo(c(this.props,e,t,i,this._instanceProps,a))},A.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"===typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},A.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(M()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,s=i.scrollWidth;i.scrollLeft=s-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},A.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&d(this._resetIsScrollingTimeoutId)},A.render=function(){var e=this.props,t=e.children,n=e.className,a=e.direction,s=e.height,l=e.innerRef,c=e.innerElementType,u=e.innerTagName,p=e.itemCount,d=e.itemData,b=e.itemKey,f=void 0===b?O:b,h=e.layout,m=e.outerElementType,M=e.outerTagName,g=e.style,z=e.useIsScrolling,y=e.width,A=this.state.isScrolling,v="horizontal"===a||"horizontal"===h,w=v?this._onScrollHorizontal:this._onScrollVertical,S=this._getRangeToRender(),q=S[0],E=S[1],_=[];if(p>0)for(var x=q;x<=E;x++)_.push((0,r.createElement)(t,{data:d,key:f(x,d),index:x,isScrolling:z?A:void 0,style:this._getItemStyle(x)}));var R=o(this.props,this._instanceProps);return(0,r.createElement)(m||M||"div",{className:n,onScroll:w,ref:this._outerRefSetter,style:(0,i.Z)({position:"relative",height:s,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},g)},(0,r.createElement)(c||u||"div",{children:_,ref:l,style:{height:v?"100%":R,pointerEvents:A?"none":void 0,width:v?R:"100%"}}))},A._callPropsCallbacks=function(){if("function"===typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"===typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,s=i.scrollOffset,l=i.scrollUpdateWasRequested;this._callOnScroll(a,s,l)}},A._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,i=r.scrollDirection,a=r.scrollOffset;if(0===t)return[0,0,0,0];var s=p(this.props,a,this._instanceProps),l=f(this.props,s,a,this._instanceProps),c=o&&"backward"!==i?1:Math.max(1,n),u=o&&"forward"!==i?1:Math.max(1,n);return[Math.max(0,s-c),Math.max(0,Math.min(t-1,l+u)),s,l]},t}(r.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var z=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},y=g({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r,o,i){var a=e.direction,s=e.height,l=e.itemCount,c=e.itemSize,u=e.layout,p=e.width,d="horizontal"===a||"horizontal"===u?p:s,b=Math.max(0,l*c-d),f=Math.min(b,t*c),h=Math.max(0,t*c-d+c+i);switch("smart"===n&&(n=r>=h-d&&r<=f+d?"auto":"center"),n){case"start":return f;case"end":return h;case"center":var m=Math.round(h+(f-h)/2);return mb+Math.floor(d/2)?b:m;default:return r>=h&&r<=f?r:r{const e=!(null===s||void 0===s||!s.current)&&s.current.offsetWidth{let{theme:t,$isHighlighted:n}=e;const r=t.inSidebar?t.colors.bgColor:t.colors.secondaryBg;return{display:"flex",alignItems:"center",paddingTop:t.spacing.none,paddingBottom:t.spacing.none,background:n?r:void 0,"@media (max-width: 768px)":{minHeight:t.sizes.minElementHeight,height:"auto !important"},"&:hover, &:active, &:focus-visible":{background:r}}}),"");function R(e){const{data:t,index:n,style:r}=e,{item:o,overrides:i,...a}=t[n].props;return(0,w.jsx)(x,{style:r,...a,children:(0,w.jsx)(S,{content:o.label,placement:A.u.AUTO,children:o.label})},o.value)}const T=r.forwardRef(((e,t)=>{const n=r.Children.toArray(e.children);if(!n[0]||!n[0].props.item){const e=n[0]?n[0].props:{};return(0,w.jsx)(o.CK,{$style:{height:"".concat(90,"px")},ref:t,"data-testid":"stVirtualDropdownEmpty",children:(0,w.jsx)(o.ey,{...e})})}const i=Math.min(300,40*n.length);return(0,w.jsx)(o.CK,{ref:t,$style:{paddingTop:0,paddingBottom:0},"data-testid":"stVirtualDropdown",children:(0,w.jsx)(y,{width:"100%",height:i,itemCount:n.length,itemData:n,itemKey:(e,t)=>t[e].props.item.value,itemSize:40,children:R})})}));T.displayName="VirtualDropdown";const k=T},95899:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(66845),o=n(82309),i=n(23849),a=n(40864);class s extends r.PureComponent{constructor(){super(...arguments),this.state={error:null},this.componentDidCatch=e=>{(0,i.H)("".concat(e.name,": ").concat(e.message,"\n").concat(e.stack))}}render(){const{error:e}=this.state;return e?"ChunkLoadError"===e.name?(0,a.jsx)(o.Z,{width:this.props.width,name:"Network issue",message:(0,a.jsxs)("p",{children:["Cannot load Streamlit frontend code. This can happen when you update Streamlit while a Streamlit app is running.",(0,a.jsx)("br",{}),"To fix this, simply reload this app by pressing ",(0,a.jsx)("kbd",{children:"F5"}),", ",(0,a.jsx)("kbd",{children:"Ctrl+R"}),", or ",(0,a.jsx)("kbd",{children:"Cmd+R"}),".",(0,a.jsx)("br",{}),"If the error persists, try force-clearing your browser's cache as described"," ",(0,a.jsx)("a",{href:"https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache#Cache_clearing_and_disabling",rel:"noopener noreferrer",target:"_blank",children:"here"})]})}):(0,a.jsx)(o.Z,{width:this.props.width,name:e.name,message:e.message,stack:e.stack}):this.props.children}}s.getDerivedStateFromError=e=>({error:e});const l=s},82309:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});n(66845);var r=n(59033);const o=(0,n(1515).Z)("pre",{target:"e1ixn3a00"})((e=>{let{theme:t}=e;return{padding:t.spacing.twoXS,whiteSpace:"pre-wrap",wordWrap:"break-word",color:"inherit",fontSize:t.fontSizes.sm}}),"");var i=n(40864);const a=function(e){const{name:t,message:n,stack:a,width:s}=e,l=a?a.split("\n"):[];l.shift();const c=l.map((e=>e.trim())).join("\n");return(0,i.jsxs)(r.Z,{kind:r.h.ERROR,width:s,children:[(0,i.jsxs)("strong",{children:[t,": "]}),n,a?(0,i.jsx)(o,{"data-testid":"stErrorElementStack",children:(0,i.jsx)("code",{children:c})}):null]})}},22704:(e,t,n)=>{"use strict";n.d(t,{p:()=>b});var r=n(66845),o=n(46927),i=n(39476),a=n.n(i),s=n(16167),l=n(40864);const c=e=>{let{size:t,margin:n,padding:r,color:o}=e;return{size:t||"md",margin:n||"",padding:r||"",color:o||"inherit"}},u=e=>{let{iconName:t,...n}=e;return(0,l.jsx)(s.m,{...c(n),"data-testid":n.testid||"stIconMaterial",children:a()(t)})};var p=n(11217);const d=e=>{let{iconValue:t,...n}=e;const{pack:r,icon:i}=function(e){const t=e.match(/^:(.+)\/(.+):$/);return null===t?{pack:"emoji",icon:e}:{pack:t[1],icon:t[2]}}(t);return"material"===r?"star_filled"===i?(0,l.jsx)(p.k6,{...n,children:(0,l.jsx)(p.g,{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMTg2MF84NDMpIj48cGF0aCBkPSJNOS45OTk5NCAxNC4zOTE2TDEzLjQ1ODMgMTYuNDgzM0MxNC4wOTE2IDE2Ljg2NjYgMTQuODY2NiAxNi4zIDE0LjY5OTkgMTUuNTgzM0wxMy43ODMzIDExLjY1TDE2Ljg0MTYgOC45OTk5N0MxNy4zOTk5IDguNTE2NjMgMTcuMDk5OSA3LjU5OTk3IDE2LjM2NjYgNy41NDE2M0wxMi4zNDE2IDcuMTk5OTdMMTAuNzY2NiAzLjQ4MzNDMTAuNDgzMyAyLjgwODMgOS41MTY2MSAyLjgwODMgOS4yMzMyNyAzLjQ4MzNMNy42NTgyNyA3LjE5MTYzTDMuNjMzMjcgNy41MzMzQzIuODk5OTQgNy41OTE2MyAyLjU5OTk0IDguNTA4MyAzLjE1ODI3IDguOTkxNjNMNi4yMTY2MSAxMS42NDE2TDUuMjk5OTQgMTUuNTc1QzUuMTMzMjcgMTYuMjkxNiA1LjkwODI3IDE2Ljg1ODMgNi41NDE2MSAxNi40NzVMOS45OTk5NCAxNC4zOTE2WiIgZmlsbD0iI0ZBQ0EyQiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImNsaXAwXzE4NjBfODQzIj48cmVjdCB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIGZpbGw9IndoaXRlIi8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+","data-testid":n.testid||"stImageIcon"})}):(0,l.jsx)(p.k6,{...n,children:(0,l.jsx)(u,{pack:r,iconName:i,...n})}):(0,l.jsx)(p.k6,{...n,children:(0,l.jsx)(o.S,{...n,children:i})})},b=e=>(0,l.jsx)(r.Suspense,{fallback:(0,l.jsx)(p.k6,{...e,children:(0,l.jsx)(o.S,{...e,children:"\xa0"})}),children:(0,l.jsx)(d,{...e})},e.iconValue)},46927:(e,t,n)=>{"use strict";n.d(t,{S:()=>a,Z:()=>s});n(66845);var r=n(11217),o=n(40864);const i=e=>{let{size:t,margin:n,padding:r}=e;return{size:t||"md",margin:n||"",padding:r||""}},a=e=>{let{size:t,margin:n,padding:a,children:s,testid:l}=e;return(0,o.jsx)(r.Er,{"data-testid":l||"stIconEmoji","aria-hidden":"true",...i({size:t,margin:n,padding:a}),children:s})},s=e=>{let{content:t,color:n,size:a,margin:s,padding:l,testid:c}=e;return(0,o.jsx)(r.xL,{as:t,color:n||"inherit","aria-hidden":"true","data-testid":c,...i({size:a,margin:s,padding:l})})}},16167:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(1515),o=n(27466);const i=(0,r.Z)("span",{target:"e16edly10"})((e=>{let{size:t,margin:n,padding:r,theme:i,color:a}=e;return{display:"inline-flex",alignItems:"center",justifyContents:"center",color:a,fontSize:i.iconSizes[t],width:i.iconSizes[t],height:i.iconSizes[t],margin:(0,o.ZB)(n,i),padding:(0,o.ZB)(r,i),userSelect:"none",fontFamily:"Material Symbols Rounded",fontWeight:"normal",fontStyle:"normal",lineHeight:1,letterSpacing:"normal",textTransform:"none",whiteSpace:"nowrap",wordWrap:"normal",direction:"ltr",fontFeatureSettings:"liga",MozFontFeatureSettings:"liga",WebkitFontFeatureSettings:"liga",WebkitFontSmoothing:"antialiased"}}),"")},11217:(e,t,n)=>{"use strict";n.d(t,{Er:()=>p,g:()=>u,k6:()=>c,qu:()=>s,xL:()=>l});var r=n(1515),o=n(60484),i=n(63637),a=n(27466);const s=(0,r.Z)(i.Q,{shouldForwardProp:e=>(0,o.Z)(e)&&!["size"].includes(e),target:"eyeqlp54"})((e=>{let{usingCustomTheme:t,size:n,margin:r,padding:o,theme:i}=e;return{width:i.iconSizes[n],height:i.iconSizes[n],fontSize:i.iconSizes[n],justifyContents:"center",margin:(0,a.ZB)(r,i),padding:(0,a.ZB)(o,i),borderColor:i.colors.fadedText10,borderTopColor:t?i.colors.primary:i.colors.blue70,borderWidth:"0.15em",flexGrow:0,flexShrink:0}}),""),l=(0,r.Z)("span",{shouldForwardProp:e=>(0,o.Z)(e)&&!["size","as"].includes(e),target:"eyeqlp53"})((e=>{let{color:t,size:n,margin:r,padding:o,theme:i}=e;return{color:i.colors[t],fill:"currentColor",display:"inline-flex",alignItems:"center",justifyContents:"center",fontSize:i.iconSizes[n],width:i.iconSizes[n],height:i.iconSizes[n],margin:(0,a.ZB)(r,i),padding:(0,a.ZB)(o,i),flexShrink:0}}),""),c=(0,r.Z)("span",{target:"eyeqlp52"})((e=>{let{size:t="lg",margin:n="",padding:r="",theme:o}=e;return{fill:"currentColor",display:"inline-flex",alignItems:"center",justifyContents:"center",fontSize:o.iconSizes[t],width:o.iconSizes[t],height:o.iconSizes[t],margin:(0,a.ZB)(n,o),padding:(0,a.ZB)(r,o),flexShrink:0}}),""),u=(0,r.Z)("img",{target:"eyeqlp51"})((e=>{let{}=e;return{width:"100%",height:"100%"}}),""),p=(0,r.Z)("span",{target:"eyeqlp50"})((e=>{let{size:t,margin:n,padding:r,theme:o}=e;return{display:"inline-flex",alignItems:"center",justifyContents:"center",fontSize:o.iconSizes[t],width:o.iconSizes[t],height:o.iconSizes[t],margin:(0,a.ZB)(n,o),padding:(0,a.ZB)(r,o)}}),"")},63730:(e,t,n)=>{"use strict";n.d(t,{aF:()=>od,cw:()=>sd,$G:()=>ed,ZP:()=>ud});var r={};n.r(r),n.d(r,{attentionMarkers:()=>zt,contentInitial:()=>ft,disable:()=>yt,document:()=>bt,flow:()=>mt,flowInitial:()=>ht,insideSpan:()=>gt,string:()=>Mt,text:()=>Ot});var o={};n.r(o),n.d(o,{boolean:()=>dn,booleanish:()=>bn,commaOrSpaceSeparated:()=>On,commaSeparated:()=>Mn,number:()=>hn,overloadedBoolean:()=>fn,spaceSeparated:()=>mn});var i=n(66845);const a=function(e){if(void 0===e||null===e)return l;if("string"===typeof e)return function(e){return s(t);function t(t){return t&&t.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n":"")+")"}));return b;function b(){let p,d,b,f=[];if((!t||o(a,s,l[l.length-1]||null))&&(f=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[c,e];return[e]}(n(a,l)),f[0]===u))return f;if(a.children&&"skip"!==f[0])for(d=(r?a.children.length:-1)+i,b=l.concat(a);d>-1&&de.length){for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(o=i):(s=-1,o=a));r===o?o=a:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(y(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},extname:function(e){y(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){const s=e.charCodeAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===a||1===a&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(){let e,t=-1;for(var n=arguments.length,r=new Array(n),o=0;o2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),a=l,s=0;continue}}else if(o.length>0){o="",i=0,a=l,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,l):o=e.slice(a+1,l),i=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/");return t?"/"+n:n}(e)},sep:"/"};function y(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const A={cwd:function(){return"/"}};function v(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function w(e){if("string"===typeof e)e=new URL(e);else if(!v(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n1?l-1:0),u=1;uo.length;let c;l&&o.push(i);try{c=e.apply(this,o)}catch(r){if(l&&n)throw r;return i(r)}l||(c instanceof Promise?c.then(a,i):c instanceof Error?i(c):a(c))}function i(e){if(!n){n=!0;for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i1?t-1:0),s=1;s{if(!e&&t&&n){const o=a.stringify(t,n);void 0===o||null===o||("string"===typeof(r=o)||f(r)?n.value=o:n.result=o),i(e,n)}else i(e);var r}))}n(null,t)},a.processSync=function(e){let t;a.freeze(),I("processSync",a.Parser),P("processSync",a.Compiler);const n=F(e);return a.process(n,r),j("processSync","process",t),n;function r(e){t=!0,R(e)}},a;function a(){const t=e();let r=-1;for(;++ro?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),[].splice.apply(e,i);else for(n&&[].splice.apply(e,[t,n]);a0?(H(e,e.length,0,t),e):t}const G={}.hasOwnProperty;function $(e){const t={};let n=-1;for(;++ni))return;const n=t.events.length;let o,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){s=t.events[l][1].end;break}o=!0}for(M(a),e=n;er;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function O(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},be={tokenize:function(e,t,n){return ue(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const fe={tokenize:function(e,t,n){return ue(e,(function(e){return null===e||ie(e)?t(e):n(e)}),"linePrefix")},partial:!0};function he(e){const t={};let n,r,o,i,a,s,l,c=-1;for(;++c=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};const ge={tokenize:function(e){const t=this,n=e.attempt(fe,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,ue(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Me,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const ze={resolveAll:we()},ye=ve("string"),Ae=ve("text");function ve(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return l(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o-1&&(a[0]=a[0].slice(r)),i>0&&a.push(e[o].slice(0,i)));return a}(a,e)}function f(){return Object.assign({},r)}function h(){let e;for(;r._indexc?n(o):(e.consume(o),f):41===o?u--?(e.consume(o),f):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(o)):null===o||oe(o)?u?n(o):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(o)):re(o)?n(o):(e.consume(o),92===o?h:f)}function h(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function We(e,t,n,r,o,i){const a=this;let s,l=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),c};function c(p){return null===p||91===p||93===p&&!s||94===p&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs||l>999?n(p):93===p?(e.exit(i),e.enter(o),e.consume(p),e.exit(o),e.exit(r),t):ie(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(p))}function u(t){return null===t||91===t||93===t||ie(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s=s||!ae(t),92===t?p:u)}function p(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function Ne(e,t,n,r,o,i){let a;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,s};function s(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===a?(e.exit(i),s(a)):null===t?n(t):ie(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ue(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===a||null===t||ie(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===a||92===t?(e.consume(t),c):c(t)}}function Le(e,t){let n;return function r(o){if(ie(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(ae(o))return ue(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function Ie(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Pe={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),We.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function i(t){return o=Ie(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),Le(e,Ce(e,e.attempt(De,ue(e,a,"whitespace"),ue(e,a,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function a(i){return null===i||ie(i)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),t(i)):n(i)}}},De={tokenize:function(e,t,n){return function(t){return oe(t)?Le(e,r)(t):n(t)};function r(t){return 34===t||39===t||40===t?Ne(e,ue(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function o(e){return null===e||ie(e)?t(e):n(e)}},partial:!0};const Be={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),ue(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?s(t):ie(t)?e.attempt(je,i,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||ie(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},je={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):ie(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):ue(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):ie(e)?o(e):n(e)}},partial:!0};const Fe={name:"headingAtx",tokenize:function(e,t,n){const r=this;let o=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(t)};function i(s){return 35===s&&o++<6?(e.consume(s),i):null===s||oe(s)?(e.exit("atxHeadingSequence"),r.interrupt?t(s):a(s)):n(s)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||ie(n)?(e.exit("atxHeading"),t(n)):ae(n)?ue(e,a,"whitespace")(n):(e.enter("atxHeadingText"),l(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),a(t))}function l(t){return null===t||35===t||oe(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),l)}},resolve:function(e,t){let n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},H(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Ue={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o,i,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){i="paragraph"===r.events[a][1].type;break}return function(t){if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=t,s(t);return n(t)};function s(t){return t===o?(e.consume(t),s):(e.exit("setextHeadingLineSequence"),ue(e,l,"lineSuffix")(t))}function l(r){return null===r||ie(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=a;return e.push(["exit",a,t]),e}};const Ve=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],He=["pre","script","style","textarea"],Xe={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,a,s,l;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),b):63===s?(e.consume(s),o=3,r.interrupt?t:W):Z(s)?(e.consume(s),a=String.fromCharCode(s),i=!0,f):n(s)}function u(i){return 45===i?(e.consume(i),o=2,p):91===i?(e.consume(i),o=5,a="CDATA[",s=0,d):Z(i)?(e.consume(i),o=4,r.interrupt?t:W):n(i)}function p(o){return 45===o?(e.consume(o),r.interrupt?t:W):n(o)}function d(o){return o===a.charCodeAt(s++)?(e.consume(o),s===a.length?r.interrupt?t:q:d):n(o)}function b(t){return Z(t)?(e.consume(t),a=String.fromCharCode(t),f):n(t)}function f(s){return null===s||47===s||62===s||oe(s)?47!==s&&i&&He.includes(a.toLowerCase())?(o=1,r.interrupt?t(s):q(s)):Ve.includes(a.toLowerCase())?(o=6,47===s?(e.consume(s),h):r.interrupt?t(s):q(s)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):i?M(s):m(s)):45===s||ee(s)?(e.consume(s),a+=String.fromCharCode(s),f):n(s)}function h(o){return 62===o?(e.consume(o),r.interrupt?t:q):n(o)}function m(t){return ae(t)?(e.consume(t),m):w(t)}function M(t){return 47===t?(e.consume(t),w):58===t||95===t||Z(t)?(e.consume(t),O):ae(t)?(e.consume(t),M):w(t)}function O(t){return 45===t||46===t||58===t||95===t||ee(t)?(e.consume(t),O):g(t)}function g(t){return 61===t?(e.consume(t),z):ae(t)?(e.consume(t),g):M(t)}function z(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,y):ae(t)?(e.consume(t),z):(l=null,A(t))}function y(t){return null===t||ie(t)?n(t):t===l?(e.consume(t),v):(e.consume(t),y)}function A(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||oe(t)?g(t):(e.consume(t),A)}function v(e){return 47===e||62===e||ae(e)?M(e):n(e)}function w(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return ae(t)?(e.consume(t),S):null===t||ie(t)?q(t):n(t)}function q(t){return 45===t&&2===o?(e.consume(t),R):60===t&&1===o?(e.consume(t),T):62===t&&4===o?(e.consume(t),N):63===t&&3===o?(e.consume(t),W):93===t&&5===o?(e.consume(t),C):!ie(t)||6!==o&&7!==o?null===t||ie(t)?E(t):(e.consume(t),q):e.check(Ge,N,E)(t)}function E(t){return e.exit("htmlFlowData"),_(t)}function _(t){return null===t?L(t):ie(t)?e.attempt({tokenize:x,partial:!0},_,L)(t):(e.enter("htmlFlowData"),q(t))}function x(e,t,n){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function R(t){return 45===t?(e.consume(t),W):q(t)}function T(t){return 47===t?(e.consume(t),a="",k):q(t)}function k(t){return 62===t&&He.includes(a.toLowerCase())?(e.consume(t),N):Z(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),k):q(t)}function C(t){return 93===t?(e.consume(t),W):q(t)}function W(t){return 62===t?(e.consume(t),N):45===t&&2===o?(e.consume(t),W):q(t)}function N(t){return null===t||ie(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),N)}function L(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Ge={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(fe,t,n)}},partial:!0};const $e={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let r=0;return ue(e,o,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),i(t)}function i(t){return t===l?(e.consume(t),r++,i):r1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const p=Object.assign({},e[n][1].end),d=Object.assign({},e[u][1].start);st(p,-s),st(d,s),i={type:s>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:d},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},i.start),e[u][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=X(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=X(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),l=X(l,qe(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=X(l,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=X(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,H(e,n-1,u-n+3,l),u=n+l.length-c-2;break}u=-1;for(;++u13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535===(65535&n)||65534===(65535&n)||n>1114111?"\ufffd":String.fromCharCode(n)}const wt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function St(e){return e.replace(wt,qt)}function qt(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return vt(n.slice(t?2:1),t?16:10)}return Ye(n)||e}const Et={}.hasOwnProperty,_t=function(e,t,n){return"string"!==typeof t&&(n=t,t=void 0),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=xt({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(ie),autolinkProtocol:x,autolinkEmail:x,atxHeading:l(te),blockQuote:l(Y),characterEscape:x,characterReference:x,codeFenced:l(Z),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:l(Z,c),codeText:l(J,c),codeTextData:x,data:x,codeFlowValue:x,definition:l(Q),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:l(ee),hardBreakEscape:l(ne),hardBreakTrailing:l(ne),htmlFlow:l(re,c),htmlFlowData:x,htmlText:l(re,c),htmlTextData:x,image:l(oe),label:c,link:l(ie),listItem:l(se),listItemValue:m,listOrdered:l(ae,f),listUnordered:l(ae),paragraph:l(le),reference:V,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:l(te),strong:l(ce),thematicBreak:l(pe)},exit:{atxHeading:p(),atxHeadingSequence:S,autolink:p(),autolinkEmail:K,autolinkProtocol:$,blockQuote:p(),characterEscapeValue:R,characterReferenceMarkerHexadecimal:X,characterReferenceMarkerNumeric:X,characterReferenceValue:G,codeFenced:p(z),codeFencedFence:g,codeFencedFenceInfo:M,codeFencedFenceMeta:O,codeFlowValue:R,codeIndented:p(y),codeText:p(N),codeTextData:R,data:R,definition:p(),definitionDestinationString:w,definitionLabelString:A,definitionTitleString:v,emphasis:p(),hardBreakEscape:p(k),hardBreakTrailing:p(k),htmlFlow:p(C),htmlFlowData:R,htmlText:p(W),htmlTextData:R,image:p(I),label:D,labelText:P,lineEnding:T,link:p(L),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:H,resourceDestinationString:B,resourceTitleString:j,resource:F,setextHeading:p(_),setextHeadingLineSequence:E,setextHeadingText:q,strong:p(),thematicBreak:p()}},e.mdastExtensions||[]),n={};return r;function r(e){let n={type:"root",children:[]};const r=[],l=[],p={stack:[n],tokenStack:r,config:t,enter:u,exit:d,buffer:c,resume:b,setData:i,getData:a};let f=-1;for(;++f0){const e=r[r.length-1];(e[1]||Tt).call(p,void 0,e[0])}for(n.position={start:s(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:s(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f0&&void 0!==arguments[0]?arguments[0]:{}).extensions||[])),content:t(pe),document:t(de),flow:t(ge),string:t(ye),text:t(Ae)};return e;function t(t){return function(n){return Ee(e,t,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,a){const s=[];let l,c,u,p,d;for(o=n+o.toString(i),u=0,n="",r&&(65279===o.charCodeAt(0)&&u++,r=void 0);u{const n=this.data("settings");return _t(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})};var Ct=function(e,t,n){var r={type:String(e)};return void 0!==n&&null!==n||"string"!==typeof t&&!Array.isArray(t)?Object.assign(r,t):n=t,Array.isArray(n)?r.children=n:void 0!==n&&null!==n&&(r.value=String(n)),r};const Wt=Lt("start"),Nt=Lt("end");function Lt(e){return function(t){const n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const It={}.hasOwnProperty;function Pt(e){return String(e||"").toUpperCase()}const Dt={}.hasOwnProperty;function Bt(e,t){const n=t.data||{};return"value"in t&&!(Dt.call(n,"hName")||Dt.call(n,"hProperties")||Dt.call(n,"hChildren"))?e.augment(t,Ct("text",t.value)):e(t,"div",Ut(e,t))}function jt(e,t,n){const r=t&&t.type;let o;if(!r)throw new Error("Expected node, got `"+t+"`");return o=Dt.call(e.handlers,r)?e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?Ft:e.unknownHandler,("function"===typeof o?o:Bt)(e,t,n)}function Ft(e,t){return"children"in t?{...t,children:Ut(e,t)}:t}function Ut(e,t){const n=[];if("children"in t){const r=t.children;let o=-1;for(;++o55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),o=1):a="\ufffd"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Ht(e,t){const n=[];let r=-1;for(t&&n.push(Ct("text","\n"));++r0&&n.push(Ct("text","\n")),n}function Xt(e,t){const n=String(t.identifier),r=Vt(n.toLowerCase()),o=e.footnoteOrder.indexOf(n);let i;-1===o?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,i=e.footnoteOrder.length):(e.footnoteCounts[n]++,i=o+1);const a=e.footnoteCounts[n];return e(t,"sup",[e(t.position,"a",{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[Ct("text",String(i))])])}function Gt(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return Ct("text","!["+t.alt+r);const o=Ut(e,t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift(Ct("text","["));const a=o[o.length-1];return a&&"text"===a.type?a.value+=r:o.push(Ct("text",r)),o}function $t(e){const t=e.spread;return void 0===t||null===t?e.children.length>1:t}const Kt=9,Yt=32;function Zt(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===Kt||t===Yt;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===Kt||t===Yt;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Jt={blockquote:function(e,t){return e(t,"blockquote",Ht(Ut(e,t),!0))},break:function(e,t){return[e(t,"br"),Ct("text","\n")]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};r&&(o.className=["language-"+r]);const i=e(t,"code",o,[Ct("text",n)]);return t.meta&&(i.data={meta:t.meta}),e(t.position,"pre",[i])},delete:function(e,t){return e(t,"del",Ut(e,t))},emphasis:function(e,t){return e(t,"em",Ut(e,t))},footnoteReference:Xt,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const o=String(r);return n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},Xt(e,{type:"footnoteReference",identifier:o,position:t.position})},heading:function(e,t){return e(t,"h"+t.depth,Ut(e,t))},html:function(e,t){return e.dangerous?e.augment(t,Ct("raw",t.value)):null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Gt(e,t);const r={src:Vt(n.url||""),alt:t.alt};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"img",r)},image:function(e,t){const n={src:Vt(t.url),alt:t.alt};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"img",n)},inlineCode:function(e,t){return e(t,"code",[Ct("text",t.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return Gt(e,t);const r={href:Vt(n.url||"")};return null!==n.title&&void 0!==n.title&&(r.title=n.title),e(t,"a",r,Ut(e,t))},link:function(e,t){const n={href:Vt(t.url)};return null!==t.title&&void 0!==t.title&&(n.title=t.title),e(t,"a",n,Ut(e,t))},listItem:function(e,t,n){const r=Ut(e,t),o=n?function(e){let t=e.spread;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift(Ct("text"," ")),n.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),i.className=["task-list-item"]}let s=-1;for(;++s0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Zt(t.slice(o),o>0,!1)),i.join("")}(String(t.value))))},thematicBreak:function(e,t){return e(t,"hr")},toml:Qt,yaml:Qt,definition:Qt,footnoteDefinition:Qt};function Qt(){return null}const en={}.hasOwnProperty;function tn(e,t){const n=t||{},r=n.allowDangerousHtml||!1,o={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return d(e,"definition",(e=>{const n=Pt(e.identifier);n&&!It.call(t,n)&&(t[n]=e)})),function(e){const n=Pt(e);return n&&It.call(t,n)?t[n]:null}}(e),a.footnoteById=o,a.footnoteOrder=[],a.footnoteCounts={},a.augment=i,a.handlers={...Jt,...n.handlers},a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,d(e,"footnoteDefinition",(e=>{const t=String(e.identifier).toUpperCase();en.call(o,t)||(o[t]=e)})),a;function i(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const r="type"in e?e:{position:e};(n=r)&&n.position&&n.position.start&&n.position.start.line&&n.position.start.column&&n.position.end&&n.position.end.line&&n.position.end.column&&(t.position={start:Wt(r),end:Nt(r)})}var n;return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),i(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}function nn(e,t){const n=tn(e,t),r=jt(n,e,null),o=function(e){let t=-1;const n=[];for(;++t1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const c=o[o.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else o.push(...l);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:Ht(o,!0)};r.position&&(u.position=r.position),n.push(u)}return 0===n.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[Ct("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:Ht(n,!0)},{type:"text",value:"\n"}]}}(n);return o&&r.children.push(Ct("text","\n"),o),Array.isArray(r)?{type:"root",children:r}:r}const rn=function(e,t){return e&&"run"in e?function(e,t){return(n,r,o)=>{e.run(nn(n,t),r,(e=>{o(e)}))}}(e,t):function(e){return t=>nn(t,e)}(e||t)};var on=n(8984),an=n.n(on);class sn{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function ln(e,t){const n={},r={};let o=-1;for(;++o"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),qn=wn({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function En(e,t){return t in e?e[t]:t}function _n(e,t){return En(e,t.toLowerCase())}const xn=wn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:_n,properties:{xmlns:null,xmlnsXLink:null}}),Rn=wn({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:bn,ariaAutoComplete:null,ariaBusy:bn,ariaChecked:bn,ariaColCount:hn,ariaColIndex:hn,ariaColSpan:hn,ariaControls:mn,ariaCurrent:null,ariaDescribedBy:mn,ariaDetails:null,ariaDisabled:bn,ariaDropEffect:mn,ariaErrorMessage:null,ariaExpanded:bn,ariaFlowTo:mn,ariaGrabbed:bn,ariaHasPopup:null,ariaHidden:bn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:mn,ariaLevel:hn,ariaLive:null,ariaModal:bn,ariaMultiLine:bn,ariaMultiSelectable:bn,ariaOrientation:null,ariaOwns:mn,ariaPlaceholder:null,ariaPosInSet:hn,ariaPressed:bn,ariaReadOnly:bn,ariaRelevant:null,ariaRequired:bn,ariaRoleDescription:mn,ariaRowCount:hn,ariaRowIndex:hn,ariaRowSpan:hn,ariaSelected:bn,ariaSetSize:hn,ariaSort:null,ariaValueMax:hn,ariaValueMin:hn,ariaValueNow:hn,ariaValueText:null,role:null}}),Tn=wn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:_n,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Mn,acceptCharset:mn,accessKey:mn,action:null,allow:null,allowFullScreen:dn,allowPaymentRequest:dn,allowUserMedia:dn,alt:null,as:null,async:dn,autoCapitalize:null,autoComplete:mn,autoFocus:dn,autoPlay:dn,capture:dn,charSet:null,checked:dn,cite:null,className:mn,cols:hn,colSpan:null,content:null,contentEditable:bn,controls:dn,controlsList:mn,coords:hn|Mn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:dn,defer:dn,dir:null,dirName:null,disabled:dn,download:fn,draggable:bn,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:dn,formTarget:null,headers:mn,height:hn,hidden:dn,high:hn,href:null,hrefLang:null,htmlFor:mn,httpEquiv:mn,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:dn,itemId:null,itemProp:mn,itemRef:mn,itemScope:dn,itemType:mn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:dn,low:hn,manifest:null,max:null,maxLength:hn,media:null,method:null,min:null,minLength:hn,multiple:dn,muted:dn,name:null,nonce:null,noModule:dn,noValidate:dn,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:dn,optimum:hn,pattern:null,ping:mn,placeholder:null,playsInline:dn,poster:null,preload:null,readOnly:dn,referrerPolicy:null,rel:mn,required:dn,reversed:dn,rows:hn,rowSpan:hn,sandbox:mn,scope:null,scoped:dn,seamless:dn,selected:dn,shape:null,size:hn,sizes:null,slot:null,span:hn,spellCheck:bn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:hn,step:null,style:null,tabIndex:hn,target:null,title:null,translate:null,type:null,typeMustMatch:dn,useMap:null,value:bn,width:hn,wrap:null,align:null,aLink:null,archive:mn,axis:null,background:null,bgColor:null,border:hn,borderColor:null,bottomMargin:hn,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:dn,declare:dn,event:null,face:null,frame:null,frameBorder:null,hSpace:hn,leftMargin:hn,link:null,longDesc:null,lowSrc:null,marginHeight:hn,marginWidth:hn,noResize:dn,noHref:dn,noShade:dn,noWrap:dn,object:null,profile:null,prompt:null,rev:null,rightMargin:hn,rules:null,scheme:null,scrolling:bn,standby:null,summary:null,text:null,topMargin:hn,valueType:null,version:null,vAlign:null,vLink:null,vSpace:hn,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:dn,disableRemotePlayback:dn,prefix:null,property:null,results:hn,security:null,unselectable:null}}),kn=wn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:En,properties:{about:On,accentHeight:hn,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:hn,amplitude:hn,arabicForm:null,ascent:hn,attributeName:null,attributeType:null,azimuth:hn,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:hn,by:null,calcMode:null,capHeight:hn,className:mn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:hn,diffuseConstant:hn,direction:null,display:null,dur:null,divisor:hn,dominantBaseline:null,download:dn,dx:null,dy:null,edgeMode:null,editable:null,elevation:hn,enableBackground:null,end:null,event:null,exponent:hn,externalResourcesRequired:null,fill:null,fillOpacity:hn,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Mn,g2:Mn,glyphName:Mn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:hn,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:hn,horizOriginX:hn,horizOriginY:hn,id:null,ideographic:hn,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:hn,k:hn,k1:hn,k2:hn,k3:hn,k4:hn,kernelMatrix:On,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:hn,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:hn,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:hn,overlineThickness:hn,paintOrder:null,panose1:null,path:null,pathLength:hn,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:mn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:hn,pointsAtY:hn,pointsAtZ:hn,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:On,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:On,rev:On,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:On,requiredFeatures:On,requiredFonts:On,requiredFormats:On,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:hn,specularExponent:hn,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:hn,strikethroughThickness:hn,string:null,stroke:null,strokeDashArray:On,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:hn,strokeOpacity:hn,strokeWidth:null,style:null,surfaceScale:hn,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:On,tabIndex:hn,tableValues:null,target:null,targetX:hn,targetY:hn,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:On,to:null,transform:null,u1:null,u2:null,underlinePosition:hn,underlineThickness:hn,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:hn,values:null,vAlphabetic:hn,vMathematical:hn,vectorEffect:null,vHanging:hn,vIdeographic:hn,version:null,vertAdvY:hn,vertOriginX:hn,vertOriginY:hn,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:hn,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Cn=ln([qn,Sn,xn,Rn,Tn],"html"),Wn=ln([qn,Sn,xn,Rn,kn],"svg");function Nn(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{d(t,"element",((t,n,r)=>{const o=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"===typeof n&&(i=!e.allowElement(t,n,o)),i&&"number"===typeof n)return e.unwrapDisallowed&&t.children?o.children.splice(n,1,...t.children):o.children.splice(n,1),n}))}}var Ln=n(84984);function In(e){const t=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}const Pn=/^data[-\w.:]+$/i,Dn=/-[a-z]/g,Bn=/[A-Z]/g;function jn(e,t){const n=cn(t);let r=t,o=un;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Pn.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Dn,Un);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Dn.test(e)){let n=e.replace(Bn,Fn);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=yn}return new o(r,t)}function Fn(e){return"-"+e.toLowerCase()}function Un(e){return e.charAt(1).toUpperCase()}const Vn={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function Hn(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Xn(e){return e.join(" ").trim()}function Gn(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,i=!1;for(;!i;){-1===r&&(r=n.length,i=!0);const e=n.slice(o,r).trim();!e&&i||t.push(e),o=r+1,r=n.indexOf(",",o)}return t}function $n(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}var Kn=n(12113);const Yn=n.n(Kn)(),Zn=["http","https","mailto","tel"];function Jn(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let o=-1;for(;++oo?t:(o=t.indexOf("#"),-1!==o&&r>o?t:"javascript:void(0)")}const Qn={}.hasOwnProperty,er=new Set(["table","thead","tbody","tfoot","tr"]);function tr(e,t){const n=[];let r,o=-1;for(;++o0?i.createElement(f,c,d):i.createElement(f,c)}function rr(e,t){let n=-1,r=0;for(;++n for more info)")),delete lr[i]}const t=W().use(kt).use(e.remarkPlugins||[]).use(rn,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Nn,e),n=new q;"string"===typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn("[react-markdown] Warning: please pass a string as `children` (not: `".concat(e.children,"`)"));const r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let o=i.createElement(i.Fragment,{},tr({options:e,schema:Cn,listDepth:0},r));return e.className&&(o=i.createElement("div",{className:e.className},o)),o}cr.propTypes={children:on.string,className:on.string,allowElement:on.func,allowedElements:on.arrayOf(on.string),disallowedElements:on.arrayOf(on.string),unwrapDisallowed:on.bool,remarkPlugins:on.arrayOf(on.oneOfType([on.object,on.func,on.arrayOf(on.oneOfType([on.bool,on.string,on.object,on.func,on.arrayOf(on.any)]))])),rehypePlugins:on.arrayOf(on.oneOfType([on.object,on.func,on.arrayOf(on.oneOfType([on.bool,on.string,on.object,on.func,on.arrayOf(on.any)]))])),sourcePos:on.bool,rawSourcePos:on.bool,skipHtml:on.bool,includeElementIndex:on.bool,transformLinkUri:on.oneOfType([on.func,on.bool]),linkTarget:on.oneOfType([on.func,on.string]),transformImageUri:on.func,components:on.object};var ur=n(28569),pr=n.n(ur),dr=n(75894),br=n.n(dr);function fr(e,t,n,r,o,i,a,s,l,c,u,p,d,b,f){let h,m;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),M};function M(t){return 35===t?(h=a,O(t)):46===t?(h=s,O(t)):58===t||95===t||Z(t)?(e.enter(i),e.enter(l),e.consume(t),y):f&&ae(t)?ue(e,M,"whitespace")(t):!f&&oe(t)?Le(e,M)(t):x(t)}function O(t){return e.enter(i),e.enter(h),e.enter(h+"Marker"),e.consume(t),e.exit(h+"Marker"),g}function g(t){return null===t||34===t||35===t||39===t||46===t||60===t||61===t||62===t||96===t||125===t||oe(t)?n(t):(e.enter(h+"Value"),e.consume(t),z)}function z(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?n(t):35===t||46===t||125===t||oe(t)?(e.exit(h+"Value"),e.exit(h),e.exit(i),M(t)):(e.consume(t),z)}function y(t){return 45===t||46===t||58===t||95===t||ee(t)?(e.consume(t),y):(e.exit(l),f&&ae(t)?ue(e,A,"whitespace")(t):!f&&oe(t)?Le(e,A)(t):A(t))}function A(t){return 61===t?(e.enter(c),e.consume(t),e.exit(c),v):(e.exit(i),M(t))}function v(t){return null===t||60===t||61===t||62===t||96===t||125===t||f&&ie(t)?n(t):34===t||39===t?(e.enter(u),e.enter(d),e.consume(t),e.exit(d),m=t,S):f&&ae(t)?ue(e,v,"whitespace")(t):!f&&oe(t)?Le(e,v)(t):(e.enter(p),e.enter(b),e.consume(t),m=void 0,w)}function w(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?n(t):125===t||oe(t)?(e.exit(b),e.exit(p),e.exit(i),M(t)):(e.consume(t),w)}function S(t){return t===m?(e.enter(d),e.consume(t),e.exit(d),e.exit(u),e.exit(i),_):(e.enter(p),q(t))}function q(t){return t===m?(e.exit(p),S(t)):null===t?n(t):ie(t)?f?n(t):Le(e,q)(t):(e.enter(b),e.consume(t),E)}function E(t){return t===m||null===t||ie(t)?(e.exit(b),q(t)):(e.consume(t),E)}function _(e){return 125===e||oe(e)?M(e):x(e)}function x(i){return 125===i?(e.enter(o),e.consume(i),e.exit(o),e.exit(r),t):n(i)}}function hr(e,t,n,r,o,i,a){let s,l=0,c=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),u};function u(n){return 93===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),p(n))}function p(t){if(93===t&&!c)return f(t);const n=e.enter("chunkText",{contentType:"text",previous:s});return s&&(s.next=n),s=n,d(t)}function d(t){return null===t||l>999||91===t&&++c>32?n(t):93!==t||c--?ie(t)?a?n(t):(e.consume(t),e.exit("chunkText"),p):(e.consume(t),92===t?b:d):(e.exit("chunkText"),f(t))}function b(t){return 91===t||92===t||93===t?(e.consume(t),l++,d):d(t)}function f(n){return e.exit(i),e.enter(o),e.consume(n),e.exit(o),e.exit(r),t}}function mr(e,t,n,r){const o=this;return function(t){if(Z(t))return e.enter(r),e.consume(t),i;return n(t)};function i(a){return 45===a||95===a||ee(a)?(e.consume(a),i):(e.exit(r),45===o.previous||95===o.previous?n(a):t(a))}}const Mr={tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1],i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0;let a,s=0;return function(t){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),l(t)};function l(t){return 58===t?(e.consume(t),s++,l):s<3?n(t):(e.exit("directiveContainerSequence"),mr.call(r,e,c,n,"directiveContainerName")(t))}function c(t){return 91===t?e.attempt(Or,u,u)(t):u(t)}function u(t){return 123===t?e.attempt(gr,p,p)(t):p(t)}function p(t){return ue(e,d,"whitespace")(t)}function d(o){return e.exit("directiveContainerFence"),null===o?b(o):ie(o)?r.interrupt?t(o):e.attempt(zr,f,b)(o):n(o)}function b(n){return e.exit("directiveContainer"),t(n)}function f(n){return null===n?(e.exit("directiveContainer"),t(n)):(e.enter("directiveContainerContent"),h(n))}function h(t){return null===t?z(t):e.attempt({tokenize:y,partial:!0},z,i?ue(e,m,"linePrefix",i+1):m)(t)}function m(t){if(null===t)return z(t);const n=e.enter("chunkDocument",{contentType:"document",previous:a});return a&&(a.next=n),a=n,M(t)}function M(t){if(null===t){const n=e.exit("chunkDocument");return r.parser.lazy[n.start.line]=!1,z(t)}return ie(t)?e.check(zr,O,g)(t):(e.consume(t),M)}function O(t){e.consume(t);const n=e.exit("chunkDocument");return r.parser.lazy[n.start.line]=!1,h}function g(t){const n=e.exit("chunkDocument");return r.parser.lazy[n.start.line]=!1,z(t)}function z(n){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(n)}function y(e,t,n){let r=0;return ue(e,(function(t){return e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),o(t)}),"linePrefix",4);function o(t){return 58===t?(e.consume(t),r++,o):r=48&&t<=57}function Rr(e){const t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function Tr(e){return function(e){const t="string"===typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||function(e){const t="string"===typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}(e)}const kr=String.fromCharCode,Cr=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function Wr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="string"===typeof t.additional?t.additional.charCodeAt(0):t.additional,r=[];let o,i,a=0,s=-1,l="";t.position&&("start"in t.position||"indent"in t.position?(i=t.position.indent,o=t.position.start):o=t.position);let c,u=(o?o.line:0)||1,p=(o?o.column:0)||1,d=b();for(a--;++a<=e.length;)if(10===c&&(p=(i?i[s]:0)||1),c=e.charCodeAt(a),38===c){const o=e.charCodeAt(a+1);if(9===o||10===o||12===o||32===o||38===o||60===o||Number.isNaN(o)||n&&o===n){l+=kr(c),p++;continue}const i=a+1;let s,u=i,m=i;if(35===o){m=++u;const t=e.charCodeAt(m);88===t||120===t?(s="hexadecimal",m=++u):s="decimal"}else s="named";let M="",O="",g="";const z="named"===s?Tr:"decimal"===s?xr:Rr;for(m--;++m<=e.length;){const t=e.charCodeAt(m);if(!z(t))break;g+=kr(t),"named"===s&&Er.includes(g)&&(M=g,O=Ye(g))}let y=59===e.charCodeAt(m);if(y){m++;const e="named"===s&&Ye(g);e&&(M=g,O=e)}let A=1+m-i,v="";if(y||!1!==t.nonTerminated)if(g)if("named"===s){if(y&&!O)f(5,1);else if(M!==g&&(m=u+M.length,A=1+m-u,y=!1),!y){const n=M?1:3;if(t.attribute){const t=e.charCodeAt(m);61===t?(f(n,A),O=""):Tr(t)?O="":f(n,A)}else f(n,A)}v=O}else{y||f(2,A);let e=Number.parseInt(g,"hexadecimal"===s?16:10);if(Nr(e))f(7,A),v=kr(65533);else if(e in _r)f(6,A),v=_r[e];else{let t="";Lr(e)&&f(6,A),e>65535&&(e-=65536,t+=kr(e>>>10|55296),e=56320|1023&e),v=t+kr(e)}}else"named"!==s&&f(4,A);else;if(v){h(),d=b(),a=m-1,p+=m-i+1,r.push(v);const n=b();n.offset++,t.reference&&t.reference.call(t.referenceContext,v,{start:d,end:n},e.slice(i-1,m)),d=n}else g=e.slice(i-1,m),l+=g,p+=g.length,a=m-1}else 10===c&&(u++,s++,p=0),Number.isNaN(c)?h():(l+=kr(c),p++);return r.join("");function b(){return{line:u,column:p,offset:a+((o?o.offset:0)||0)}}function f(e,n){let r;t.warning&&(r=b(),r.column+=n,r.offset+=n,t.warning.call(t.warningContext,Cr[e],r,e))}function h(){l&&(r.push(l),t.text&&t.text.call(t.textContext,l,{start:d,end:b()}),l="")}}function Nr(e){return e>=55296&&e<=57343||e>1114111}function Lr(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535===(65535&e)||65534===(65535&e)}function Ir(e,t){return e=e.replace(t.subset?function(e){const t=[];let n=-1;for(;++n`]/g,n),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,n,r){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function Pr(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Dr(e,t,n){const r=t.indexStack,o=e.children||[],i=t.createTracker(n),a=[];let s=-1;for(r.push(-1);++s0&&("\r"===s||"\n"===s)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(i.join(""))),i.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=i[i.length-1].slice(-1)}return r.pop(),i.join("")}function Fr(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,o=n.line||1,i=n.column||1;return{move:function(e){const t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1];return o+=n.length-1,i=1===n.length?i+a.length:1+a.length+r,t},current:function(){return{now:{line:o,column:i},lineShift:r}},shift:function(e){r+=e}}}const Ur={}.hasOwnProperty,Vr=/^[^\t\n\r "#'.<=>`}]+$/;no.peek=function(){return":"};const Hr={canContainEols:["textDirective"],enter:{directiveContainer:function(e){Gr.call(this,"containerDirective",e)},directiveContainerAttributes:Kr,directiveContainerLabel:function(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)},directiveLeaf:function(e){Gr.call(this,"leafDirective",e)},directiveLeafAttributes:Kr,directiveText:function(e){Gr.call(this,"textDirective",e)},directiveTextAttributes:Kr},exit:{directiveContainer:to,directiveContainerAttributeClassValue:Zr,directiveContainerAttributeIdValue:Yr,directiveContainerAttributeName:Qr,directiveContainerAttributeValue:Jr,directiveContainerAttributes:eo,directiveContainerLabel:function(e){this.exit(e)},directiveContainerName:$r,directiveLeaf:to,directiveLeafAttributeClassValue:Zr,directiveLeafAttributeIdValue:Yr,directiveLeafAttributeName:Qr,directiveLeafAttributeValue:Jr,directiveLeafAttributes:eo,directiveLeafName:$r,directiveText:to,directiveTextAttributeClassValue:Zr,directiveTextAttributeIdValue:Yr,directiveTextAttributeName:Qr,directiveTextAttributeValue:Jr,directiveTextAttributes:eo,directiveTextName:$r}},Xr={unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:"\n",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:no,leafDirective:no,textDirective:no}};function Gr(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function $r(e){this.stack[this.stack.length-1].name=this.sliceSerialize(e)}function Kr(){this.setData("directiveAttributes",[]),this.buffer()}function Yr(e){this.getData("directiveAttributes").push(["id",Wr(this.sliceSerialize(e),{attribute:!0})])}function Zr(e){this.getData("directiveAttributes").push(["class",Wr(this.sliceSerialize(e),{attribute:!0})])}function Jr(e){const t=this.getData("directiveAttributes");t[t.length-1][1]=Wr(this.sliceSerialize(e),{attribute:!0})}function Qr(e){this.getData("directiveAttributes").push([this.sliceSerialize(e),""])}function eo(){const e=this.getData("directiveAttributes"),t={};let n=-1;for(;++nt&&(t=o)}}(e),a=n.enter(e.type);let s=o.move(i+(e.name||"")),l=e;if("containerDirective"===e.type){const t=(e.children||[])[0];l=ro(t)?t:void 0}if(l&&l.children&&l.children.length>0){const t=n.enter("label"),r=n.enter(e.type+"Label");s+=o.move("["),s+=o.move(jr(l,n,{...o.current(),before:s,after:"]"})),s+=o.move("]"),r(),t()}if(s+=o.move(function(e,t){const n=function(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}(t),r="textDirective"===e.type?[n]:[n,"\n","\r"],o=e.attributes||{},i=[];let a,s,l,c;for(c in o)if(Ur.call(o,c)&&void 0!==o[c]&&null!==o[c]){const e=String(o[c]);if("id"===c)l=Vr.test(e)?"#"+e:u("id",e);else if("class"===c){const t=e.split(/[\t\n\r ]+/g),n=[],r=[];let o=-1;for(;++o0?u("class",n.join(" ")):"",s=r.length>0?"."+r.join("."):""}else i.push(u(c,e))}a&&i.unshift(a);s&&i.unshift(s);l&&i.unshift(l);return i.length>0?"{"+i.join(" ")+"}":"";function u(e,t){return e+(t?"="+n+function(e,t){return Ir(e,Object.assign({format:Pr},t))}(t,{subset:r})+n:"")}}(e,n)),"containerDirective"===e.type){let t=e;ro((e.children||[])[0])&&(t=Object.assign({},e,{children:e.children.slice(1)})),t&&t.children&&t.children.length>0&&(s+=o.move("\n"),s+=o.move(Dr(t,n,o.current()))),s+=o.move("\n"+i)}return a(),s}function ro(e){return Boolean(e&&"paragraph"===e.type&&e.data&&e.data.directiveLabel)}function oo(){const e=this.data();function t(t,n){(e[t]?e[t]:e[t]=[]).push(n)}t("micromarkExtensions",{text:{58:wr},flow:{58:[Mr,yr]}}),t("fromMarkdownExtensions",Hr),t("toMarkdownExtensions",Xr)}const io={tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1],i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0;let a=0;return function(t){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),s(t)};function s(t){return 36===t?(e.consume(t),a++,s):(e.exit("mathFlowFenceSequence"),a<2?n(t):ue(e,l,"whitespace")(t))}function l(t){return null===t||ie(t)?u(t):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return null===t||ie(t)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),u(t)):36===t?n(t):(e.consume(t),c)}function u(n){return e.exit("mathFlowFence"),r.interrupt?t(n):p(n)}function p(t){return null===t?b(t):ie(t)?e.attempt(ao,e.attempt({tokenize:f,partial:!0},b,i?ue(e,p,"linePrefix",i+1):p),b)(t):(e.enter("mathFlowValue"),d(t))}function d(t){return null===t||ie(t)?(e.exit("mathFlowValue"),p(t)):(e.consume(t),d)}function b(n){return e.exit("mathFlow"),t(n)}function f(e,t,n){let r=0;return ue(e,(function(t){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),o(t)}),"linePrefix",4);function o(t){return 36===t?(e.consume(t),r++,o):r0&&void 0!==arguments[0]?arguments[0]:{}).singleDollarTextMath;return null!==e&&void 0!==e||(e=!0),{tokenize:function(t,n,r){let o,i,a=0;return function(e){return t.enter("mathText"),t.enter("mathTextSequence"),s(e)};function s(n){return 36===n?(t.consume(n),a++,s):a<2&&!e?r(n):(t.exit("mathTextSequence"),l(n))}function l(e){return null===e?r(e):36===e?(i=t.enter("mathTextSequence"),o=0,u(e)):32===e?(t.enter("space"),t.consume(e),t.exit("space"),l):ie(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),l):(t.enter("mathTextData"),c(e))}function c(e){return null===e||32===e||36===e||ie(e)?(t.exit("mathTextData"),l(e)):(t.consume(e),c)}function u(e){return 36===e?(t.consume(e),o++,u):o===a?(t.exit("mathTextSequence"),t.exit("mathText"),n(e)):(i.type="mathTextData",c(e))}},resolve:lo,previous:co}}function lo(e){let t,n,r=e.length-4,o=3;if(("lineEnding"===e[o][1].type||"space"===e[o][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type))for(t=o;++t=c||(e+10&&void 0!==arguments[0]?arguments[0]:{}).singleDollarTextMath;return null!==e&&void 0!==e||(e=!0),t.peek=function(){return"$"},{unsafe:[{character:"\r",inConstruct:["mathFlowMeta"]},{character:"\r",inConstruct:["mathFlowMeta"]},e?{character:"$",inConstruct:["mathFlowMeta","phrasing"]}:{character:"$",after:"\\$",inConstruct:["mathFlowMeta","phrasing"]},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:function(e,t,n,r){const o=e.value||"",i="$".repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),o=r,i=0,a=0;if("string"!==typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===o?++i>a&&(a=i):i=1,o=r+t.length,r=n.indexOf(t,o);return a}(o,"$")+1,2)),a=n.enter("mathFlow"),s=Fr(r);let l=s.move(i);if(e.meta){const t=n.enter("mathFlowMeta");l+=s.move(fo(n,e.meta,{...s.current(),before:l,after:" ",encode:["$"]})),t()}l+=s.move("\n"),o&&(l+=s.move(o+"\n"));return l+=s.move(i),a(),l},inlineMath:t}};function t(t){const n=t.value||"";let r=1,o="";for(e||r++;new RegExp("(^|[^$])"+"\\$".repeat(r)+"([^$]|$)").test(n);)r++;/[^ \r\n]/.test(n)&&(/[ \r\n$]/.test(n.charAt(0))||/[ \r\n$]/.test(n.charAt(n.length-1)))&&(o=" ");const i="$".repeat(r);return i+o+n+o+i}}function Oo(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return{flow:{36:io},text:{36:so(e)}}}(e)),n("fromMarkdownExtensions",function(){return{enter:{mathFlow:function(e){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},e)},mathFlowFenceMeta:function(){this.buffer()},mathText:function(e){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},e),this.buffer()}},exit:{mathFlow:function(e){const t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n=this.exit(e);n.value=t,n.data.hChildren[0].value=t,this.setData("mathFlowInside")},mathFlowFence:function(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))},mathFlowFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},mathFlowValue:e,mathText:function(e){const t=this.resume(),n=this.exit(e);n.value=t,n.data.hChildren[0].value=t},mathTextData:e}};function e(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}()),n("toMarkdownExtensions",Mo(e))}var go=n(81729);const zo=/[#.]/g;const yo=new Set(["menu","submit","reset","button"]),Ao={}.hasOwnProperty;function vo(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n2?s-2:0),c=2;c-1&&ee)return{line:t+1,column:e-(n[t-1]||0)+1,offset:e};return{line:void 0,column:void 0,offset:void 0}},toOffset:function(e){var t,r=e&&e.line,o=e&&e.column;return"number"!==typeof r||"number"!==typeof o||Number.isNaN(r)||Number.isNaN(o)||!(r-1 in n)||(t=(n[r-2]||0)+o-1||0),t>-1&&t1?i-1:0),s=1;s{const r=e;if(r.value.stitch&&null!==n&&null!==t)return n.children[t]=r.value.stitch,t})),"root"!==e.type&&"root"===b.type&&1===b.children.length?b.children[0]:b;function f(e){let t=-1;if(e)for(;++t0&&void 0!==arguments[0]?arguments[0]:{};return(t,n)=>Go(t,n,e)}class Qo{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new Qo(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class ei{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new ei(t,Qo.range(this,e))}}class ti{constructor(e,t){this.position=void 0;var n,r="KaTeX parse error: "+e,o=t&&t.loc;if(o&&o.start<=o.end){var i=o.lexer.input;n=o.start;var a=o.end;n===i.length?r+=" at end of input: ":r+=" at position "+(n+1)+": ";var s=i.slice(n,a).replace(/[^]/g,"$&\u0332");r+=(n>15?"\u2026"+i.slice(n-15,n):i.slice(0,n))+s+(a+15":">","<":"<",'"':""","'":"'"},oi=/[&><"']/g;var ii=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},ai={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(oi,(e=>ri[e]))},hyphenate:function(e){return e.replace(ni,"-$1").toLowerCase()},getBaseElem:ii,isCharacterBox:function(e){var t=ii(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"}},si={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 "},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 ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function li(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if("string"!==typeof n)return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class ci{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},si)if(si.hasOwnProperty(t)){var n=si[t];this[t]=void 0!==e[t]?n.processor?n.processor(e[t]):e[t]:li(n)}}reportNonstrict(e,t,n){var r=this.strict;if("function"===typeof r&&(r=r(e,t,n)),r&&"ignore"!==r){if(!0===r||"error"===r)throw new ti("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===r?"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,n){var r=this.strict;if("function"===typeof r)try{r=r(e,t,n)}catch(o){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r||("warn"===r?("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),!1)))}isTrusted(e){e.url&&!e.protocol&&(e.protocol=ai.protocolFromUrl(e.url));var t="function"===typeof this.trust?this.trust(e):this.trust;return Boolean(t)}}class ui{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return pi[di[this.id]]}sub(){return pi[bi[this.id]]}fracNum(){return pi[fi[this.id]]}fracDen(){return pi[hi[this.id]]}cramp(){return pi[mi[this.id]]}text(){return pi[Mi[this.id]]}isTight(){return this.size>=2}}var pi=[new ui(0,0,!1),new ui(1,0,!0),new ui(2,1,!1),new ui(3,1,!0),new ui(4,2,!1),new ui(5,2,!0),new ui(6,3,!1),new ui(7,3,!0)],di=[4,5,4,5,6,7,6,7],bi=[5,5,5,5,7,7,7,7],fi=[2,3,4,5,6,7,6,7],hi=[3,3,5,5,7,7,7,7],mi=[1,1,3,3,5,5,7,7],Mi=[0,1,2,3,2,3,2,3],Oi={DISPLAY:pi[0],TEXT:pi[2],SCRIPT:pi[4],SCRIPTSCRIPT:pi[6]},gi=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];var zi=[];function yi(e){for(var t=0;t=zi[t]&&e<=zi[t+1])return!0;return!1}gi.forEach((e=>e.blocks.forEach((e=>zi.push(...e)))));var Ai=80,vi={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class wi{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return ai.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;te.toText())).join("")}}var Si={"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]}},qi={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]},Ei={"\xc5":"A","\xd0":"D","\xde":"o","\xe5":"a","\xf0":"d","\xfe":"o","\u0410":"A","\u0411":"B","\u0412":"B","\u0413":"F","\u0414":"A","\u0415":"E","\u0416":"K","\u0417":"3","\u0418":"N","\u0419":"N","\u041a":"K","\u041b":"N","\u041c":"M","\u041d":"H","\u041e":"O","\u041f":"N","\u0420":"P","\u0421":"C","\u0422":"T","\u0423":"y","\u0424":"O","\u0425":"X","\u0426":"U","\u0427":"h","\u0428":"W","\u0429":"W","\u042a":"B","\u042b":"X","\u042c":"B","\u042d":"3","\u042e":"X","\u042f":"R","\u0430":"a","\u0431":"b","\u0432":"a","\u0433":"r","\u0434":"y","\u0435":"e","\u0436":"m","\u0437":"e","\u0438":"n","\u0439":"n","\u043a":"n","\u043b":"n","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"n","\u0440":"p","\u0441":"c","\u0442":"o","\u0443":"y","\u0444":"b","\u0445":"x","\u0446":"n","\u0447":"n","\u0448":"w","\u0449":"w","\u044a":"a","\u044b":"m","\u044c":"a","\u044d":"e","\u044e":"m","\u044f":"r"};function _i(e,t,n){if(!Si[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),o=Si[t][r];if(!o&&e[0]in Ei&&(r=Ei[e[0]].charCodeAt(0),o=Si[t][r]),o||"text"!==n||yi(r)&&(o=Si[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var xi={};var Ri=[[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]],Ti=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ki=function(e,t){return t.size<2?e:Ri[e-1][t.size-1]};class Ci{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||Ci.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=Ti[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new Ci(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:ki(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:Ti[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=ki(Ci.BASESIZE,e);return this.size===t&&this.textSize===Ci.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Ci.BASESIZE?["sizing","reset-size"+this.size,"size"+Ci.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!xi[t=e>=5?0:e>=3?1:2]){var n=xi[t]={cssEmPerMu:qi.quad[t]/18};for(var r in qi)qi.hasOwnProperty(r)&&(n[r]=qi[r][t])}return xi[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Ci.BASESIZE=6;var Wi={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Ni={ex:!0,em:!0,mu:!0},Li=function(e){return"string"!==typeof e&&(e=e.unit),e in Wi||e in Ni||"ex"===e},Ii=function(e,t){var n;if(e.unit in Wi)n=Wi[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var r;if(r=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=r.fontMetrics().xHeight;else{if("em"!==e.unit)throw new ti("Invalid unit: '"+e.unit+"'");n=r.fontMetrics().quad}r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},Pi=function(e){return+e.toFixed(4)+"em"},Di=function(e){return e.filter((e=>e)).join(" ")},Bi=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},ji=function(e){var t=document.createElement(e);for(var n in t.className=Di(this.classes),this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&t.setAttribute(r,this.attributes[r]);for(var o=0;o"};class Ui{constructor(e,t,n,r){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,Bi.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return ai.contains(this.classes,e)}toNode(){return ji.call(this,"span")}toMarkup(){return Fi.call(this,"span")}}class Vi{constructor(e,t,n,r){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,Bi.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return ai.contains(this.classes,e)}toNode(){return ji.call(this,"a")}toMarkup(){return Fi.call(this,"a")}}class Hi{constructor(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return ai.contains(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e=""+this.alt+"=o[0]&&e<=o[1])return n.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[\xee\xef\xed\xec]/.test(this.text)&&(this.text=Xi[this.text])}hasClass(e){return ai.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var n in this.italic>0&&((t=document.createElement("span")).style.marginRight=Pi(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=Di(this.classes)),this.style)this.style.hasOwnProperty(n)&&((t=t||document.createElement("span")).style[n]=this.style[n]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=ai.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+ai.escape(n)+'"');var o=ai.escape(this.text);return e?(t+=">",t+=o,t+=""):o}}class $i{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n":""}}class Yi{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="","\\gt",!0),ta(na,oa,fa,"\u2208","\\in",!0),ta(na,oa,fa,"\ue020","\\@not"),ta(na,oa,fa,"\u2282","\\subset",!0),ta(na,oa,fa,"\u2283","\\supset",!0),ta(na,oa,fa,"\u2286","\\subseteq",!0),ta(na,oa,fa,"\u2287","\\supseteq",!0),ta(na,ia,fa,"\u2288","\\nsubseteq",!0),ta(na,ia,fa,"\u2289","\\nsupseteq",!0),ta(na,oa,fa,"\u22a8","\\models"),ta(na,oa,fa,"\u2190","\\leftarrow",!0),ta(na,oa,fa,"\u2264","\\le"),ta(na,oa,fa,"\u2264","\\leq",!0),ta(na,oa,fa,"<","\\lt",!0),ta(na,oa,fa,"\u2192","\\rightarrow",!0),ta(na,oa,fa,"\u2192","\\to"),ta(na,ia,fa,"\u2271","\\ngeq",!0),ta(na,ia,fa,"\u2270","\\nleq",!0),ta(na,oa,ha,"\xa0","\\ "),ta(na,oa,ha,"\xa0","\\space"),ta(na,oa,ha,"\xa0","\\nobreakspace"),ta(ra,oa,ha,"\xa0","\\ "),ta(ra,oa,ha,"\xa0"," "),ta(ra,oa,ha,"\xa0","\\space"),ta(ra,oa,ha,"\xa0","\\nobreakspace"),ta(na,oa,ha,null,"\\nobreak"),ta(na,oa,ha,null,"\\allowbreak"),ta(na,oa,ba,",",","),ta(na,oa,ba,";",";"),ta(na,ia,sa,"\u22bc","\\barwedge",!0),ta(na,ia,sa,"\u22bb","\\veebar",!0),ta(na,oa,sa,"\u2299","\\odot",!0),ta(na,oa,sa,"\u2295","\\oplus",!0),ta(na,oa,sa,"\u2297","\\otimes",!0),ta(na,oa,ma,"\u2202","\\partial",!0),ta(na,oa,sa,"\u2298","\\oslash",!0),ta(na,ia,sa,"\u229a","\\circledcirc",!0),ta(na,ia,sa,"\u22a1","\\boxdot",!0),ta(na,oa,sa,"\u25b3","\\bigtriangleup"),ta(na,oa,sa,"\u25bd","\\bigtriangledown"),ta(na,oa,sa,"\u2020","\\dagger"),ta(na,oa,sa,"\u22c4","\\diamond"),ta(na,oa,sa,"\u22c6","\\star"),ta(na,oa,sa,"\u25c3","\\triangleleft"),ta(na,oa,sa,"\u25b9","\\triangleright"),ta(na,oa,da,"{","\\{"),ta(ra,oa,ma,"{","\\{"),ta(ra,oa,ma,"{","\\textbraceleft"),ta(na,oa,la,"}","\\}"),ta(ra,oa,ma,"}","\\}"),ta(ra,oa,ma,"}","\\textbraceright"),ta(na,oa,da,"{","\\lbrace"),ta(na,oa,la,"}","\\rbrace"),ta(na,oa,da,"[","\\lbrack",!0),ta(ra,oa,ma,"[","\\lbrack",!0),ta(na,oa,la,"]","\\rbrack",!0),ta(ra,oa,ma,"]","\\rbrack",!0),ta(na,oa,da,"(","\\lparen",!0),ta(na,oa,la,")","\\rparen",!0),ta(ra,oa,ma,"<","\\textless",!0),ta(ra,oa,ma,">","\\textgreater",!0),ta(na,oa,da,"\u230a","\\lfloor",!0),ta(na,oa,la,"\u230b","\\rfloor",!0),ta(na,oa,da,"\u2308","\\lceil",!0),ta(na,oa,la,"\u2309","\\rceil",!0),ta(na,oa,ma,"\\","\\backslash"),ta(na,oa,ma,"\u2223","|"),ta(na,oa,ma,"\u2223","\\vert"),ta(ra,oa,ma,"|","\\textbar",!0),ta(na,oa,ma,"\u2225","\\|"),ta(na,oa,ma,"\u2225","\\Vert"),ta(ra,oa,ma,"\u2225","\\textbardbl"),ta(ra,oa,ma,"~","\\textasciitilde"),ta(ra,oa,ma,"\\","\\textbackslash"),ta(ra,oa,ma,"^","\\textasciicircum"),ta(na,oa,fa,"\u2191","\\uparrow",!0),ta(na,oa,fa,"\u21d1","\\Uparrow",!0),ta(na,oa,fa,"\u2193","\\downarrow",!0),ta(na,oa,fa,"\u21d3","\\Downarrow",!0),ta(na,oa,fa,"\u2195","\\updownarrow",!0),ta(na,oa,fa,"\u21d5","\\Updownarrow",!0),ta(na,oa,pa,"\u2210","\\coprod"),ta(na,oa,pa,"\u22c1","\\bigvee"),ta(na,oa,pa,"\u22c0","\\bigwedge"),ta(na,oa,pa,"\u2a04","\\biguplus"),ta(na,oa,pa,"\u22c2","\\bigcap"),ta(na,oa,pa,"\u22c3","\\bigcup"),ta(na,oa,pa,"\u222b","\\int"),ta(na,oa,pa,"\u222b","\\intop"),ta(na,oa,pa,"\u222c","\\iint"),ta(na,oa,pa,"\u222d","\\iiint"),ta(na,oa,pa,"\u220f","\\prod"),ta(na,oa,pa,"\u2211","\\sum"),ta(na,oa,pa,"\u2a02","\\bigotimes"),ta(na,oa,pa,"\u2a01","\\bigoplus"),ta(na,oa,pa,"\u2a00","\\bigodot"),ta(na,oa,pa,"\u222e","\\oint"),ta(na,oa,pa,"\u222f","\\oiint"),ta(na,oa,pa,"\u2230","\\oiiint"),ta(na,oa,pa,"\u2a06","\\bigsqcup"),ta(na,oa,pa,"\u222b","\\smallint"),ta(ra,oa,ca,"\u2026","\\textellipsis"),ta(na,oa,ca,"\u2026","\\mathellipsis"),ta(ra,oa,ca,"\u2026","\\ldots",!0),ta(na,oa,ca,"\u2026","\\ldots",!0),ta(na,oa,ca,"\u22ef","\\@cdots",!0),ta(na,oa,ca,"\u22f1","\\ddots",!0),ta(na,oa,ma,"\u22ee","\\varvdots"),ta(na,oa,aa,"\u02ca","\\acute"),ta(na,oa,aa,"\u02cb","\\grave"),ta(na,oa,aa,"\xa8","\\ddot"),ta(na,oa,aa,"~","\\tilde"),ta(na,oa,aa,"\u02c9","\\bar"),ta(na,oa,aa,"\u02d8","\\breve"),ta(na,oa,aa,"\u02c7","\\check"),ta(na,oa,aa,"^","\\hat"),ta(na,oa,aa,"\u20d7","\\vec"),ta(na,oa,aa,"\u02d9","\\dot"),ta(na,oa,aa,"\u02da","\\mathring"),ta(na,oa,ua,"\ue131","\\@imath"),ta(na,oa,ua,"\ue237","\\@jmath"),ta(na,oa,ma,"\u0131","\u0131"),ta(na,oa,ma,"\u0237","\u0237"),ta(ra,oa,ma,"\u0131","\\i",!0),ta(ra,oa,ma,"\u0237","\\j",!0),ta(ra,oa,ma,"\xdf","\\ss",!0),ta(ra,oa,ma,"\xe6","\\ae",!0),ta(ra,oa,ma,"\u0153","\\oe",!0),ta(ra,oa,ma,"\xf8","\\o",!0),ta(ra,oa,ma,"\xc6","\\AE",!0),ta(ra,oa,ma,"\u0152","\\OE",!0),ta(ra,oa,ma,"\xd8","\\O",!0),ta(ra,oa,aa,"\u02ca","\\'"),ta(ra,oa,aa,"\u02cb","\\`"),ta(ra,oa,aa,"\u02c6","\\^"),ta(ra,oa,aa,"\u02dc","\\~"),ta(ra,oa,aa,"\u02c9","\\="),ta(ra,oa,aa,"\u02d8","\\u"),ta(ra,oa,aa,"\u02d9","\\."),ta(ra,oa,aa,"\xb8","\\c"),ta(ra,oa,aa,"\u02da","\\r"),ta(ra,oa,aa,"\u02c7","\\v"),ta(ra,oa,aa,"\xa8",'\\"'),ta(ra,oa,aa,"\u02dd","\\H"),ta(ra,oa,aa,"\u25ef","\\textcircled");var Ma={"--":!0,"---":!0,"``":!0,"''":!0};ta(ra,oa,ma,"\u2013","--",!0),ta(ra,oa,ma,"\u2013","\\textendash"),ta(ra,oa,ma,"\u2014","---",!0),ta(ra,oa,ma,"\u2014","\\textemdash"),ta(ra,oa,ma,"\u2018","`",!0),ta(ra,oa,ma,"\u2018","\\textquoteleft"),ta(ra,oa,ma,"\u2019","'",!0),ta(ra,oa,ma,"\u2019","\\textquoteright"),ta(ra,oa,ma,"\u201c","``",!0),ta(ra,oa,ma,"\u201c","\\textquotedblleft"),ta(ra,oa,ma,"\u201d","''",!0),ta(ra,oa,ma,"\u201d","\\textquotedblright"),ta(na,oa,ma,"\xb0","\\degree",!0),ta(ra,oa,ma,"\xb0","\\degree"),ta(ra,oa,ma,"\xb0","\\textdegree",!0),ta(na,oa,ma,"\xa3","\\pounds"),ta(na,oa,ma,"\xa3","\\mathsterling",!0),ta(ra,oa,ma,"\xa3","\\pounds"),ta(ra,oa,ma,"\xa3","\\textsterling",!0),ta(na,ia,ma,"\u2720","\\maltese"),ta(ra,ia,ma,"\u2720","\\maltese");for(var Oa='0123456789/@."',ga=0;ga<14;ga++){var za=Oa.charAt(ga);ta(na,oa,ma,za,za)}for(var ya='0123456789!@*()-=+";:?/.,',Aa=0;Aa<25;Aa++){var va=ya.charAt(Aa);ta(ra,oa,ma,va,va)}for(var wa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Sa=0;Sa<52;Sa++){var qa=wa.charAt(Sa);ta(na,oa,ua,qa,qa),ta(ra,oa,ma,qa,qa)}ta(na,ia,ma,"C","\u2102"),ta(ra,ia,ma,"C","\u2102"),ta(na,ia,ma,"H","\u210d"),ta(ra,ia,ma,"H","\u210d"),ta(na,ia,ma,"N","\u2115"),ta(ra,ia,ma,"N","\u2115"),ta(na,ia,ma,"P","\u2119"),ta(ra,ia,ma,"P","\u2119"),ta(na,ia,ma,"Q","\u211a"),ta(ra,ia,ma,"Q","\u211a"),ta(na,ia,ma,"R","\u211d"),ta(ra,ia,ma,"R","\u211d"),ta(na,ia,ma,"Z","\u2124"),ta(ra,ia,ma,"Z","\u2124"),ta(na,oa,ua,"h","\u210e"),ta(ra,oa,ua,"h","\u210e");for(var Ea="",_a=0;_a<52;_a++){var xa=wa.charAt(_a);ta(na,oa,ua,xa,Ea=String.fromCharCode(55349,56320+_a)),ta(ra,oa,ma,xa,Ea),ta(na,oa,ua,xa,Ea=String.fromCharCode(55349,56372+_a)),ta(ra,oa,ma,xa,Ea),ta(na,oa,ua,xa,Ea=String.fromCharCode(55349,56424+_a)),ta(ra,oa,ma,xa,Ea),ta(na,oa,ua,xa,Ea=String.fromCharCode(55349,56580+_a)),ta(ra,oa,ma,xa,Ea),ta(na,oa,ua,xa,Ea=String.fromCharCode(55349,56736+_a)),ta(ra,oa,ma,xa,Ea),ta(na,oa,ua,xa,Ea=String.fromCharCode(55349,56788+_a)),ta(ra,oa,ma,xa,Ea),ta(na,oa,ua,xa,Ea=String.fromCharCode(55349,56840+_a)),ta(ra,oa,ma,xa,Ea),ta(na,oa,ua,xa,Ea=String.fromCharCode(55349,56944+_a)),ta(ra,oa,ma,xa,Ea),_a<26&&(ta(na,oa,ua,xa,Ea=String.fromCharCode(55349,56632+_a)),ta(ra,oa,ma,xa,Ea),ta(na,oa,ua,xa,Ea=String.fromCharCode(55349,56476+_a)),ta(ra,oa,ma,xa,Ea))}ta(na,oa,ua,"k",Ea=String.fromCharCode(55349,56668)),ta(ra,oa,ma,"k",Ea);for(var Ra=0;Ra<10;Ra++){var Ta=Ra.toString();ta(na,oa,ua,Ta,Ea=String.fromCharCode(55349,57294+Ra)),ta(ra,oa,ma,Ta,Ea),ta(na,oa,ua,Ta,Ea=String.fromCharCode(55349,57314+Ra)),ta(ra,oa,ma,Ta,Ea),ta(na,oa,ua,Ta,Ea=String.fromCharCode(55349,57324+Ra)),ta(ra,oa,ma,Ta,Ea),ta(na,oa,ua,Ta,Ea=String.fromCharCode(55349,57334+Ra)),ta(ra,oa,ma,Ta,Ea)}for(var ka="\xd0\xde\xfe",Ca=0;Ca<3;Ca++){var Wa=ka.charAt(Ca);ta(na,oa,ua,Wa,Wa),ta(ra,oa,ma,Wa,Wa)}var Na=[["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"],["","",""],["","",""],["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"]],La=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ia=function(e,t,n){return ea[n][e]&&ea[n][e].replace&&(e=ea[n][e].replace),{value:e,metrics:_i(e,t,n)}},Pa=function(e,t,n,r,o){var i,a=Ia(e,t,n),s=a.metrics;if(e=a.value,s){var l=s.italic;("text"===n||r&&"mathit"===r.font)&&(l=0),i=new Gi(e,s.height,s.depth,l,s.skew,s.width,o)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),i=new Gi(e,0,0,0,0,0,o);if(r){i.maxFontSize=r.sizeMultiplier,r.style.isTight()&&i.classes.push("mtight");var c=r.getColor();c&&(i.style.color=c)}return i},Da=(e,t)=>{if(Di(e.classes)!==Di(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var n=e.classes[0];if("mbin"===n||"mord"===n)return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var o in t.style)if(t.style.hasOwnProperty(o)&&e.style[o]!==t.style[o])return!1;return!0},Ba=function(e){for(var t=0,n=0,r=0,o=0;ot&&(t=i.height),i.depth>n&&(n=i.depth),i.maxFontSize>r&&(r=i.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},ja=function(e,t,n,r){var o=new Ui(e,t,n,r);return Ba(o),o},Fa=(e,t,n,r)=>new Ui(e,t,n,r),Ua=function(e){var t=new wi(e);return Ba(t),t},Va=function(e,t,n){var r="";switch(e){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=e}return r+"-"+("textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Ha={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"}},Xa={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ga={fontMap:Ha,makeSymbol:Pa,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&Ia(e,"Main-Bold",t).metrics?Pa(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===ea[t][e].font?Pa(e,"Main-Regular",t,n,r):Pa(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:ja,makeSvgSpan:Fa,makeLineSpan:function(e,t,n){var r=ja([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=Pi(r.height),r.maxFontSize=1,r},makeAnchor:function(e,t,n,r){var o=new Vi(e,t,n,r);return Ba(o),o},makeFragment:Ua,wrapFragment:function(e,t){return e instanceof wi?ja([],[e],t):e},makeVList:function(e,t){for(var{children:n,depth:r}=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,o=r,i=1;i{var n=ja(["mspace"],[],t),r=Ii(e,t);return n.style.marginRight=Pi(r),n},staticSvg:function(e,t){var[n,r,o]=Xa[e],i=new Ki(n),a=new $i([i],{width:Pi(r),height:Pi(o),style:"width:"+Pi(r),viewBox:"0 0 "+1e3*r+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),s=Fa(["overlay"],[a],t);return s.height=o,s.style.height=Pi(o),s.style.width=Pi(r),s},svgData:Xa,tryCombineChars:e=>{for(var t=0;t{var n=t.classes[0],r=e.classes[0];"mbin"===n&&ai.contains(ls,r)?t.classes[0]="mord":"mbin"===r&&ai.contains(ss,n)&&(e.classes[0]="mord")}),{node:u},p,d),ds(o,((e,t)=>{var n=hs(t),r=hs(e),o=n&&r?e.hasClass("mtight")?Ja[n][r]:Za[n][r]:null;if(o)return Ga.makeGlue(o,l)}),{node:u},p,d),o},ds=function e(t,n,r,o,i){o&&t.push(o);for(var a=0;an=>{t.splice(e+1,0,n),a++})(a)}}o&&t.pop()},bs=function(e){return e instanceof wi||e instanceof Vi||e instanceof Ui&&e.hasClass("enclosing")?e:null},fs=function e(t,n){var r=bs(t);if(r){var o=r.children;if(o.length){if("right"===n)return e(o[o.length-1],"right");if("left"===n)return e(o[0],"left")}}return t},hs=function(e,t){return e?(t&&(e=fs(e,t)),us[e.classes[0]]||null):null},ms=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return as(t.concat(n))},Ms=function(e,t,n){if(!e)return as();if(es[e.type]){var r=es[e.type](e,t);if(n&&t.size!==n.size){r=as(t.sizingClasses(n),[r],t);var o=t.sizeMultiplier/n.sizeMultiplier;r.height*=o,r.depth*=o}return r}throw new ti("Got group of unknown type: '"+e.type+"'")};function Os(e,t){var n=as(["base"],e,t),r=as(["strut"]);return r.style.height=Pi(n.height+n.depth),n.depth&&(r.style.verticalAlign=Pi(-n.depth)),n.children.unshift(r),n}function gs(e,t){var n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);var r,o=ps(e,t,"root");2===o.length&&o[1].hasClass("tag")&&(r=o.pop());for(var i,a=[],s=[],l=0;l0&&(a.push(Os(s,t)),s=[]),a.push(o[l]));s.length>0&&a.push(Os(s,t)),n?((i=Os(ps(n,t,!0))).classes=["tag"],a.push(i)):r&&a.push(r);var u=as(["katex-html"],a);if(u.setAttribute("aria-hidden","true"),i){var p=i.children[0];p.style.height=Pi(u.height+u.depth),u.depth&&(p.style.verticalAlign=Pi(-u.depth))}return u}function zs(e){return new wi(e)}class ys{constructor(e,t,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=Di(this.classes));for(var n=0;n0&&(e+=' class ="'+ai.escape(Di(this.classes))+'"'),e+=">";for(var n=0;n"}toText(){return this.children.map((e=>e.toText())).join("")}}class As{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return ai.escape(this.toText())}toText(){return this.text}}var vs={MathNode:ys,TextNode:As,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?"\u200a":e>=.1666&&e<=.1667?"\u2009":e>=.2222&&e<=.2223?"\u2005":e>=.2777&&e<=.2778?"\u2005\u200a":e>=-.05556&&e<=-.05555?"\u200a\u2063":e>=-.1667&&e<=-.1666?"\u2009\u2063":e>=-.2223&&e<=-.2222?"\u205f\u2063":e>=-.2778&&e<=-.2777?"\u2005\u2063":null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",Pi(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},newDocumentFragment:zs},ws=function(e,t,n){return!ea[t][e]||!ea[t][e].replace||55349===e.charCodeAt(0)||Ma.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.substr(4,2)||n.font&&"tt"===n.font.substr(4,2))||(e=ea[t][e].replace),new vs.TextNode(e)},Ss=function(e){return 1===e.length?e[0]:new vs.MathNode("mrow",e)},qs=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var n=t.font;if(!n||"mathnormal"===n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var o=e.text;return ai.contains(["\\imath","\\jmath"],o)?null:(ea[r][o]&&ea[r][o].replace&&(o=ea[r][o].replace),_i(o,Ga.fontMap[n].fontName,r)?Ga.fontMap[n].variant:null)},Es=function(e,t,n){if(1===e.length){var r=xs(e[0],t);return n&&r instanceof ys&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o,i=[],a=0;a0&&(u.text=u.text.slice(0,1)+"\u0338"+u.text.slice(1),i.pop())}}}i.push(s),o=s}return i},_s=function(e,t,n){return Ss(Es(e,t,n))},xs=function(e,t){if(!e)return new vs.MathNode("mrow");if(ts[e.type])return ts[e.type](e,t);throw new ti("Got group of unknown type: '"+e.type+"'")};function Rs(e,t,n,r,o){var i,a=Es(e,n);i=1===a.length&&a[0]instanceof ys&&ai.contains(["mrow","mtable"],a[0].type)?a[0]:new vs.MathNode("mrow",a);var s=new vs.MathNode("annotation",[new vs.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new vs.MathNode("semantics",[i,s]),c=new vs.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var u=o?"katex":"katex-mathml";return Ga.makeSpan([u],[c])}var Ts=function(e){return new Ci({style:e.displayMode?Oi.DISPLAY:Oi.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},ks=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Ga.makeSpan(n,[e])}return e},Cs={widehat:"^",widecheck:"\u02c7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23df",overbrace:"\u23de",overgroup:"\u23e0",undergroup:"\u23e1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},Ws={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]},Ns=function(e,t,n,r,o){var i,a=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(i=Ga.makeSpan(["stretchy",t],[],o),"fbox"===t){var s=o.color&&o.getColor();s&&(i.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new Yi({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new Yi({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new $i(l,{width:"100%",height:Pi(a)});i=Ga.makeSvgSpan([],[c],o)}return i.height=a,i.style.height=Pi(a),i},Ls=function(e){var t=new vs.MathNode("mo",[new vs.TextNode(Cs[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Is=function(e,t){var{span:n,minWidth:r,height:o}=function(){var n=4e5,r=e.label.substr(1);if(ai.contains(["widehat","widecheck","widetilde","utilde"],r)){var o,i,a,s="ordgroup"===(b=e.base).type?b.body.length:1;if(s>5)"widehat"===r||"widecheck"===r?(o=420,n=2364,a=.42,i=r+"4"):(o=312,n=2340,a=.34,i="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][l],o=[0,239,300,360,420][l],a=[0,.24,.3,.3,.36,.42][l],i=r+l):(n=[0,600,1033,2339,2340][l],o=[0,260,286,306,312][l],a=[0,.26,.286,.3,.306,.34][l],i="tilde"+l)}var c=new Ki(i),u=new $i([c],{width:"100%",height:Pi(a),viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:Ga.makeSvgSpan([],[u],t),minWidth:0,height:a}}var p,d,b,f=[],h=Ws[r],[m,M,O]=h,g=O/1e3,z=m.length;if(1===z)p=["hide-tail"],d=[h[3]];else if(2===z)p=["halfarrow-left","halfarrow-right"],d=["xMinYMin","xMaxYMin"];else{if(3!==z)throw new Error("Correct katexImagesData or update code here to support\n "+z+" children.");p=["brace-left","brace-center","brace-right"],d=["xMinYMin","xMidYMin","xMaxYMin"]}for(var y=0;y0&&(n.style.minWidth=Pi(r)),n};function Ps(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Ds(e){var t=Bs(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Bs(e){return e&&("atom"===e.type||Qi.hasOwnProperty(e.type))?e:null}var js=(e,t)=>{var n,r,o;e&&"supsub"===e.type?(n=(r=Ps(e.base,"accent")).base,e.base=n,o=function(e){if(e instanceof Ui)return e;throw new Error("Expected span but got "+String(e)+".")}(Ms(e,t)),e.base=r):n=(r=Ps(e,"accent")).base;var i=Ms(n,t.havingCrampedStyle()),a=0;if(r.isShifty&&ai.isCharacterBox(n)){var s=ai.getBaseElem(n);a=Zi(Ms(s,t.havingCrampedStyle())).skew}var l,c="\\c"===r.label,u=c?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(r.isStretchy)l=Is(r,t),l=Ga.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:l,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+Pi(2*a)+")",marginLeft:Pi(2*a)}:void 0}]},t);else{var p,d;"\\vec"===r.label?(p=Ga.staticSvg("vec",t),d=Ga.svgData.vec[1]):((p=Zi(p=Ga.makeOrd({mode:r.mode,text:r.label},t,"textord"))).italic=0,d=p.width,c&&(u+=p.depth)),l=Ga.makeSpan(["accent-body"],[p]);var b="\\textcircled"===r.label;b&&(l.classes.push("accent-full"),u=i.height);var f=a;b||(f-=d/2),l.style.left=Pi(f),"\\textcircled"===r.label&&(l.style.top=".2em"),l=Ga.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-u},{type:"elem",elem:l}]},t)}var h=Ga.makeSpan(["mord","accent"],[l],t);return o?(o.children[0]=h,o.height=Math.max(h.height,o.height),o.classes[0]="mord",o):h},Fs=(e,t)=>{var n=e.isStretchy?Ls(e.label):new vs.MathNode("mo",[ws(e.label,e.mode)]),r=new vs.MathNode("mover",[xs(e.base,t),n]);return r.setAttribute("accent","true"),r},Us=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|"));ns({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var n=os(t[0]),r=!Us.test(e.funcName),o=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:o,base:n}},htmlBuilder:js,mathmlBuilder:Fs}),ns({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return"math"===r&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:js,mathmlBuilder:Fs}),ns({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:o}},htmlBuilder:(e,t)=>{var n=Ms(e.base,t),r=Is(e,t),o="\\utilde"===e.label?.12:0,i=Ga.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return Ga.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var n=Ls(e.label),r=new vs.MathNode("munder",[xs(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Vs=e=>{var t=new vs.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ns({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:o}=e;return{type:"xArrow",mode:r.mode,label:o,body:t[0],below:n[0]}},htmlBuilder(e,t){var n,r=t.style,o=t.havingStyle(r.sup()),i=Ga.wrapFragment(Ms(e.body,o,t),t),a="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(a+"-arrow-pad"),e.below&&(o=t.havingStyle(r.sub()),(n=Ga.wrapFragment(Ms(e.below,o,t),t)).classes.push(a+"-arrow-pad"));var s,l=Is(e,t),c=-t.fontMetrics().axisHeight+.5*l.height,u=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=i.depth),n){var p=-t.fontMetrics().axisHeight+n.height+.5*l.height+.111;s=Ga.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:l,shift:c},{type:"elem",elem:n,shift:p}]},t)}else s=Ga.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:l,shift:c}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),Ga.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var n,r=Ls(e.label);if(r.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var o=Vs(xs(e.body,t));if(e.below){var i=Vs(xs(e.below,t));n=new vs.MathNode("munderover",[r,i,o])}else n=new vs.MathNode("mover",[r,o])}else if(e.below){var a=Vs(xs(e.below,t));n=new vs.MathNode("munder",[r,a])}else n=Vs(),n=new vs.MathNode("mover",[r,n]);return n}});var Hs={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Xs=e=>"textord"===e.type&&"@"===e.text;function Gs(e,t,n){var r=Hs[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var o={type:"atom",text:r,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[n.callFunction("\\\\cdleft",[t[0]],[]),n.callFunction("\\Big",[o],[]),n.callFunction("\\\\cdright",[t[1]],[])]};return n.callFunction("\\\\cdparent",[i],[]);case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return n.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}ns({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=Ga.wrapFragment(Ms(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=Pi(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new vs.MathNode("mrow",[xs(e.label,t)]);return(n=new vs.MathNode("mpadded",[n])).setAttribute("width","0"),"left"===e.side&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),(n=new vs.MathNode("mstyle",[n])).setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),ns({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=Ga.wrapFragment(Ms(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder:(e,t)=>new vs.MathNode("mrow",[xs(e.fragment,t)])}),ns({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=Ps(t[0],"ordgroup").body,o="",i=0;i=1114111)throw new ti("\\@char with invalid code point "+o);return s<=65535?a=String.fromCharCode(s):(s-=65536,a=String.fromCharCode(55296+(s>>10),56320+(1023&s))),{type:"textord",mode:n.mode,text:a}}});var $s=(e,t)=>{var n=ps(e.body,t.withColor(e.color),!1);return Ga.makeFragment(n)},Ks=(e,t)=>{var n=Es(e.body,t.withColor(e.color)),r=new vs.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};ns({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=Ps(t[0],"color-token").color,o=t[1];return{type:"color",mode:n.mode,color:r,body:is(o)}},htmlBuilder:$s,mathmlBuilder:Ks}),ns({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,o=Ps(t[0],"color-token").color;n.gullet.macros.set("\\current@color",o);var i=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:o,body:i}},htmlBuilder:$s,mathmlBuilder:Ks}),ns({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler(e,t,n){var{parser:r}=e,o=n[0],i=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:i,size:o&&Ps(o,"size").value}},htmlBuilder(e,t){var n=Ga.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Pi(Ii(e.size,t)))),n},mathmlBuilder(e,t){var n=new vs.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Pi(Ii(e.size,t)))),n}});var Ys={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Zs=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ti("Expected a control sequence",e);return t},Js=(e,t,n,r)=>{var o=e.gullet.macros.get(n.text);null==o&&(n.noexpand=!0,o={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,o,r)};ns({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(Ys[r.text])return"\\global"!==n&&"\\\\globallong"!==n||(r.text=Ys[r.text]),Ps(t.parseFunction(),"internal");throw new ti("Invalid token after macro prefix",r)}}),ns({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),o=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new ti("Expected a control sequence",r);for(var i,a=0,s=[[]];"{"!==t.gullet.future().text;)if("#"===(r=t.gullet.popToken()).text){if("{"===t.gullet.future().text){i=t.gullet.future(),s[a].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new ti('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==a+1)throw new ti('Argument number "'+r.text+'" out of order');a++,s.push([])}else{if("EOF"===r.text)throw new ti("Expected a macro definition");s[a].push(r.text)}var{tokens:l}=t.gullet.consumeArg();return i&&l.unshift(i),"\\edef"!==n&&"\\xdef"!==n||(l=t.gullet.expandTokens(l)).reverse(),t.gullet.macros.set(o,{tokens:l,numArgs:a,delimiters:s},n===Ys[n]),{type:"internal",mode:t.mode}}}),ns({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=Zs(t.gullet.popToken());t.gullet.consumeSpaces();var o=(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t})(t);return Js(t,r,o,"\\\\globallet"===n),{type:"internal",mode:t.mode}}}),ns({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=Zs(t.gullet.popToken()),o=t.gullet.popToken(),i=t.gullet.popToken();return Js(t,r,i,"\\\\globalfuture"===n),t.gullet.pushToken(i),t.gullet.pushToken(o),{type:"internal",mode:t.mode}}});var Qs=function(e,t,n){var r=_i(ea.math[e]&&ea.math[e].replace||e,t,n);if(!r)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return r},el=function(e,t,n,r){var o=n.havingBaseStyle(t),i=Ga.makeSpan(r.concat(o.sizingClasses(n)),[e],n),a=o.sizeMultiplier/n.sizeMultiplier;return i.height*=a,i.depth*=a,i.maxFontSize=o.sizeMultiplier,i},tl=function(e,t,n){var r=t.havingBaseStyle(n),o=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Pi(o),e.height-=o,e.depth+=o},nl=function(e,t,n,r,o,i){var a=function(e,t,n,r){return Ga.makeSymbol(e,"Size"+t+"-Regular",n,r)}(e,t,o,r),s=el(Ga.makeSpan(["delimsizing","size"+t],[a],r),Oi.TEXT,r,i);return n&&tl(s,r,Oi.TEXT),s},rl=function(e,t,n){var r;return r="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:Ga.makeSpan(["delimsizinginner",r],[Ga.makeSpan([],[Ga.makeSymbol(e,t,n)])])}},ol=function(e,t,n){var r=Si["Size4-Regular"][e.charCodeAt(0)]?Si["Size4-Regular"][e.charCodeAt(0)][4]:Si["Size1-Regular"][e.charCodeAt(0)][4],o=new Ki("inner",function(e,t){switch(e){case"\u239c":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"\u239f":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23a2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23a5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23aa":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23d0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),i=new $i([o],{width:Pi(r),height:Pi(t),style:"width:"+Pi(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=Ga.makeSvgSpan([],[i],n);return a.height=t,a.style.height=Pi(t),a.style.width=Pi(r),{type:"elem",elem:a}},il={type:"kern",size:-.008},al=["|","\\lvert","\\rvert","\\vert"],sl=["\\|","\\lVert","\\rVert","\\Vert"],ll=function(e,t,n,r,o,i){var a,s,l,c;a=l=c=e,s=null;var u="Size1-Regular";"\\uparrow"===e?l=c="\u23d0":"\\Uparrow"===e?l=c="\u2016":"\\downarrow"===e?a=l="\u23d0":"\\Downarrow"===e?a=l="\u2016":"\\updownarrow"===e?(a="\\uparrow",l="\u23d0",c="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="\u2016",c="\\Downarrow"):ai.contains(al,e)?l="\u2223":ai.contains(sl,e)?l="\u2225":"["===e||"\\lbrack"===e?(a="\u23a1",l="\u23a2",c="\u23a3",u="Size4-Regular"):"]"===e||"\\rbrack"===e?(a="\u23a4",l="\u23a5",c="\u23a6",u="Size4-Regular"):"\\lfloor"===e||"\u230a"===e?(l=a="\u23a2",c="\u23a3",u="Size4-Regular"):"\\lceil"===e||"\u2308"===e?(a="\u23a1",l=c="\u23a2",u="Size4-Regular"):"\\rfloor"===e||"\u230b"===e?(l=a="\u23a5",c="\u23a6",u="Size4-Regular"):"\\rceil"===e||"\u2309"===e?(a="\u23a4",l=c="\u23a5",u="Size4-Regular"):"("===e||"\\lparen"===e?(a="\u239b",l="\u239c",c="\u239d",u="Size4-Regular"):")"===e||"\\rparen"===e?(a="\u239e",l="\u239f",c="\u23a0",u="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(a="\u23a7",s="\u23a8",c="\u23a9",l="\u23aa",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="\u23ab",s="\u23ac",c="\u23ad",l="\u23aa",u="Size4-Regular"):"\\lgroup"===e||"\u27ee"===e?(a="\u23a7",c="\u23a9",l="\u23aa",u="Size4-Regular"):"\\rgroup"===e||"\u27ef"===e?(a="\u23ab",c="\u23ad",l="\u23aa",u="Size4-Regular"):"\\lmoustache"===e||"\u23b0"===e?(a="\u23a7",c="\u23ad",l="\u23aa",u="Size4-Regular"):"\\rmoustache"!==e&&"\u23b1"!==e||(a="\u23ab",c="\u23a9",l="\u23aa",u="Size4-Regular");var p=Qs(a,u,o),d=p.height+p.depth,b=Qs(l,u,o),f=b.height+b.depth,h=Qs(c,u,o),m=h.height+h.depth,M=0,O=1;if(null!==s){var g=Qs(s,u,o);M=g.height+g.depth,O=2}var z=d+m+M,y=z+Math.max(0,Math.ceil((t-z)/(O*f)))*O*f,A=r.fontMetrics().axisHeight;n&&(A*=r.sizeMultiplier);var v=y/2-A,w=[];if(w.push(rl(c,u,o)),w.push(il),null===s){var S=y-d-m+.016;w.push(ol(l,S,r))}else{var q=(y-d-m-M)/2+.016;w.push(ol(l,q,r)),w.push(il),w.push(rl(s,u,o)),w.push(il),w.push(ol(l,q,r))}w.push(il),w.push(rl(a,u,o));var E=r.havingBaseStyle(Oi.TEXT),_=Ga.makeVList({positionType:"bottom",positionData:v,children:w},E);return el(Ga.makeSpan(["delimsizing","mult"],[_],E),Oi.TEXT,r,i)},cl=.08,ul=function(e,t,n,r,o){var i=function(e,t,n){t*=1e3;var r="";switch(e){case"sqrtMain":r=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,Ai);break;case"sqrtSize1":r=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,Ai);break;case"sqrtSize2":r=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,Ai);break;case"sqrtSize3":r=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"}(t,Ai);break;case"sqrtSize4":r=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"}(t,Ai);break;case"sqrtTall":r=function(e,t,n){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(n-54-t-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"}(t,Ai,n)}return r}(e,r,n),a=new Ki(e,i),s=new $i([a],{width:"400em",height:Pi(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Ga.makeSvgSpan(["hide-tail"],[s],o)},pl=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","\\surd"],dl=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1"],bl=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],fl=[0,1.2,1.8,2.4,3],hl=[{type:"small",style:Oi.SCRIPTSCRIPT},{type:"small",style:Oi.SCRIPT},{type:"small",style:Oi.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],ml=[{type:"small",style:Oi.SCRIPTSCRIPT},{type:"small",style:Oi.SCRIPT},{type:"small",style:Oi.TEXT},{type:"stack"}],Ml=[{type:"small",style:Oi.SCRIPTSCRIPT},{type:"small",style:Oi.SCRIPT},{type:"small",style:Oi.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ol=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},gl=function(e,t,n,r){for(var o=Math.min(2,3-r.style.size);ot)return n[o]}return n[n.length-1]},zl=function(e,t,n,r,o,i){var a;"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),a=ai.contains(bl,e)?hl:ai.contains(pl,e)?Ml:ml;var s=gl(e,t,a,r);return"small"===s.type?function(e,t,n,r,o,i){var a=Ga.makeSymbol(e,"Main-Regular",o,r),s=el(a,t,r,i);return n&&tl(s,r,t),s}(e,s.style,n,r,o,i):"large"===s.type?nl(e,s.size,n,r,o,i):ll(e,t,n,r,o,i)},yl={sqrtImage:function(e,t){var n,r,o=t.havingBaseSizing(),i=gl("\\surd",e*o.sizeMultiplier,Ml,o),a=o.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,c=0,u=0;return"small"===i.type?(e<1?a=1:e<1.4&&(a=.7),c=(1+s)/a,(n=ul("sqrtMain",l=(1+s+cl)/a,u=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",r=.833/a):"large"===i.type?(u=1080*fl[i.size],c=(fl[i.size]+s)/a,l=(fl[i.size]+s+cl)/a,(n=ul("sqrtSize"+i.size,l,u,s,t)).style.minWidth="1.02em",r=1/a):(l=e+s+cl,c=e+s,u=Math.floor(1e3*e+s)+80,(n=ul("sqrtTall",l,u,s,t)).style.minWidth="0.742em",r=1.056),n.height=c,n.style.height=Pi(l),{span:n,advanceWidth:r,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},sizedDelim:function(e,t,n,r,o){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),ai.contains(pl,e)||ai.contains(bl,e))return nl(e,t,!1,n,r,o);if(ai.contains(dl,e))return ll(e,fl[t],!1,n,r,o);throw new ti("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:fl,customSizedDelim:zl,leftRightDelim:function(e,t,n,r,o,i){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,s=5/r.fontMetrics().ptPerEm,l=Math.max(t-a,n+a),c=Math.max(l/500*901,2*l-s);return zl(e,c,!0,r,o,i)}},Al={"\\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}},vl=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function wl(e,t){var n=Bs(e);if(n&&ai.contains(vl,n.text))return n;throw new ti(n?"Invalid delimiter '"+n.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Sl(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ns({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var n=wl(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Al[e.funcName].size,mclass:Al[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>"."===e.delim?Ga.makeSpan([e.mclass]):yl.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(ws(e.delim,e.mode));var n=new vs.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Pi(yl.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}}),ns({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new ti("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:wl(t[0],e).text,color:n}}}),ns({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=wl(t[0],e),r=e.parser;++r.leftrightDepth;var o=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var i=Ps(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:o,left:n.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{Sl(e);for(var n,r,o=ps(e.body,t,!0,["mopen","mclose"]),i=0,a=0,s=!1,l=0;l{Sl(e);var n=Es(e.body,t);if("."!==e.left){var r=new vs.MathNode("mo",[ws(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if("."!==e.right){var o=new vs.MathNode("mo",[ws(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),n.push(o)}return Ss(n)}}),ns({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=wl(t[0],e);if(!e.parser.leftrightDepth)throw new ti("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if("."===e.delim)n=ms(t,[]);else{n=yl.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n="\\vert"===e.delim||"|"===e.delim?ws("|","text"):ws(e.delim,e.mode),r=new vs.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var ql=(e,t)=>{var n,r,o,i=Ga.wrapFragment(Ms(e.body,t),t),a=e.label.substr(1),s=t.sizeMultiplier,l=0,c=ai.isCharacterBox(e.body);if("sout"===a)(n=Ga.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,l=-.5*t.fontMetrics().xHeight;else if("phase"===a){var u=Ii({number:.6,unit:"pt"},t),p=Ii({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var d=i.height+i.depth+u+p;i.style.paddingLeft=Pi(d/2+u);var b=Math.floor(1e3*d*s),f="M400000 "+(r=b)+" H0 L"+r/2+" 0 l65 45 L145 "+(r-80)+" H400000z",h=new $i([new Ki("phase",f)],{width:"400em",height:Pi(b/1e3),viewBox:"0 0 400000 "+b,preserveAspectRatio:"xMinYMin slice"});(n=Ga.makeSvgSpan(["hide-tail"],[h],t)).style.height=Pi(d),l=i.depth+u+p}else{/cancel/.test(a)?c||i.classes.push("cancel-pad"):"angl"===a?i.classes.push("anglpad"):i.classes.push("boxpad");var m=0,M=0,O=0;/box/.test(a)?(O=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),M=m=t.fontMetrics().fboxsep+("colorbox"===a?0:O)):"angl"===a?(m=4*(O=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),M=Math.max(0,.25-i.depth)):M=m=c?.2:0,n=Ns(i,a,m,M,t),/fbox|boxed|fcolorbox/.test(a)?(n.style.borderStyle="solid",n.style.borderWidth=Pi(O)):"angl"===a&&.049!==O&&(n.style.borderTopWidth=Pi(O),n.style.borderRightWidth=Pi(O)),l=i.depth+M,e.backgroundColor&&(n.style.backgroundColor=e.backgroundColor,e.borderColor&&(n.style.borderColor=e.borderColor))}if(e.backgroundColor)o=Ga.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:l},{type:"elem",elem:i,shift:0}]},t);else{var g=/cancel|phase/.test(a)?["svg-align"]:[];o=Ga.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:n,shift:l,wrapperClasses:g}]},t)}return/cancel/.test(a)&&(o.height=i.height,o.depth=i.depth),/cancel/.test(a)&&!c?Ga.makeSpan(["mord","cancel-lap"],[o],t):Ga.makeSpan(["mord"],[o],t)},El=(e,t)=>{var n=0,r=new vs.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[xs(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){var o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};ns({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:o}=e,i=Ps(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:ql,mathmlBuilder:El}),ns({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:o}=e,i=Ps(t[0],"color-token").color,a=Ps(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:o,backgroundColor:a,borderColor:i,body:s}},htmlBuilder:ql,mathmlBuilder:El}),ns({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),ns({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,o=t[0];return{type:"enclose",mode:n.mode,label:r,body:o}},htmlBuilder:ql,mathmlBuilder:El}),ns({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var _l={};function xl(e){for(var{type:t,names:n,props:r,handler:o,htmlBuilder:i,mathmlBuilder:a}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:o},l=0;l{if(!e.parser.settings.displayMode)throw new ti("{"+e.envName+"} can be used only in display mode.")};function Wl(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function Nl(e,t,n){var{hskipBeforeAndAfter:r,addJot:o,cols:i,arraystretch:a,colSeparationType:s,autoTag:l,singleRow:c,emptySingleRow:u,maxNumCols:p,leqno:d}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){var b=e.gullet.expandMacroAsText("\\arraystretch");if(null==b)a=1;else if(!(a=parseFloat(b))||a<0)throw new ti("Invalid \\arraystretch: "+b)}e.gullet.beginGroup();var f=[],h=[f],m=[],M=[],O=null!=l?[]:void 0;function g(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function z(){O&&(e.gullet.macros.get("\\df@tag")?(O.push(e.subparse([new ei("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):O.push(Boolean(l)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(g(),M.push(kl(e));;){var y=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),y={type:"ordgroup",mode:e.mode,body:y},n&&(y={type:"styling",mode:e.mode,style:n,body:[y]}),f.push(y);var A=e.fetch().text;if("&"===A){if(p&&f.length===p){if(c||s)throw new ti("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===A){z(),1===f.length&&"styling"===y.type&&0===y.body[0].body.length&&(h.length>1||!u)&&h.pop(),M.length0&&(M+=.25),l.push({pos:M,isDashed:e[t]})}for(O(i[0]),n=0;n0&&(y<(S+=m)&&(y=S),S=0),e.addJot&&(y+=b),A.height=z,A.depth=y,M+=z,A.pos=M,M+=y+S,s[n]=A,O(i[n+1])}var q,E,_=M/2+t.fontMetrics().axisHeight,x=e.cols||[],R=[],T=[];if(e.tags&&e.tags.some((e=>e)))for(n=0;n=a)){var j=void 0;(r>0||e.hskipBeforeAndAfter)&&0!==(j=ai.deflt(L.pregap,p))&&((q=Ga.makeSpan(["arraycolsep"],[])).style.width=Pi(j),R.push(q));var F=[];for(n=0;n0){for(var X=Ga.makeLineSpan("hline",t,c),G=Ga.makeLineSpan("hdashline",t,c),$=[{type:"elem",elem:s,shift:0}];l.length>0;){var K=l.pop(),Y=K.pos-_;K.isDashed?$.push({type:"elem",elem:G,shift:Y}):$.push({type:"elem",elem:X,shift:Y})}s=Ga.makeVList({positionType:"individualShift",children:$},t)}if(0===T.length)return Ga.makeSpan(["mord"],[s],t);var Z=Ga.makeVList({positionType:"individualShift",children:T},t);return Z=Ga.makeSpan(["tag"],[Z],t),Ga.makeFragment([s,Z])},Pl={c:"center ",l:"left ",r:"right "},Dl=function(e,t){for(var n=[],r=new vs.MathNode("mtd",[],["mtr-glue"]),o=new vs.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var b=e.cols,f="",h=!1,m=0,M=b.length;"separator"===b[0].type&&(p+="top ",m=1),"separator"===b[b.length-1].type&&(p+="bottom ",M-=1);for(var O=m;O0?"left ":"",p+=v[v.length-1].length>0?"right ":"";for(var w=1;w-1?"alignat":"align",i="split"===e.envName,a=Nl(e.parser,{cols:r,addJot:!0,autoTag:i?void 0:Wl(e.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),s=0,l={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var c="",u=0;u0&&p&&(f=1),r[d]={type:"align",align:b,pregap:f,postgap:0}}return a.colSeparationType=p?"align":"alignat",a};xl({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=(Bs(t[0])?[t[0]]:Ps(t[0],"ordgroup").body).map((function(e){var t=Ds(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new ti("Unknown column alignment: "+t,e)})),r={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Nl(e.parser,r,Ll(e.envName))},htmlBuilder:Il,mathmlBuilder:Dl}),xl({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if("*"===e.envName.charAt(e.envName.length-1)){var o=e.parser;if(o.consumeSpaces(),"["===o.fetch().text){if(o.consume(),o.consumeSpaces(),n=o.fetch().text,-1==="lcr".indexOf(n))throw new ti("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),r.cols=[{type:"align",align:n}]}}var i=Nl(e.parser,r,Ll(e.envName)),a=Math.max(0,...i.body.map((e=>e.length)));return i.cols=new Array(a).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:Il,mathmlBuilder:Dl}),xl({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=Nl(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Il,mathmlBuilder:Dl}),xl({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=(Bs(t[0])?[t[0]]:Ps(t[0],"ordgroup").body).map((function(e){var t=Ds(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new ti("Unknown column alignment: "+t,e)}));if(n.length>1)throw new ti("{subarray} can contain only one column");var r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if((r=Nl(e.parser,r,"script")).body.length>0&&r.body[0].length>1)throw new ti("{subarray} can contain only one column");return r},htmlBuilder:Il,mathmlBuilder:Dl}),xl({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=Nl(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Ll(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Il,mathmlBuilder:Dl}),xl({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Bl,htmlBuilder:Il,mathmlBuilder:Dl}),xl({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){ai.contains(["gather","gather*"],e.envName)&&Cl(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Wl(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Nl(e.parser,t,"display")},htmlBuilder:Il,mathmlBuilder:Dl}),xl({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Bl,htmlBuilder:Il,mathmlBuilder:Dl}),xl({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Cl(e);var t={autoTag:Wl(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Nl(e.parser,t,"display")},htmlBuilder:Il,mathmlBuilder:Dl}),xl({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(Cl(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===t[t.length-1].length&&t.pop();break}throw new ti("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var r,o,i=[],a=[i],s=0;s-1);else{if(!("<>AV".indexOf(p)>-1))throw new ti('Expected one of "<>AV=|." after @',l[u]);for(var b=0;b<2;b++){for(var f=!0,h=u+1;h{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};ns({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Hl(t[0]),body:is(t[1]),isCharacterBox:ai.isCharacterBox(t[1])}}}),ns({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var n,{parser:r,funcName:o}=e,i=t[1],a=t[0];n="\\stackrel"!==o?Hl(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==o,body:is(i)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===o?null:a,sub:"\\underset"===o?a:null};return{type:"mclass",mode:r.mode,mclass:n,body:[l],isCharacterBox:ai.isCharacterBox(l)}},htmlBuilder:Ul,mathmlBuilder:Vl});var Xl=(e,t)=>{var n=e.font,r=t.withFont(n);return Ms(e.body,r)},Gl=(e,t)=>{var n=e.font,r=t.withFont(n);return xs(e.body,r)},$l={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ns({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=os(t[0]),i=r;return i in $l&&(i=$l[i]),{type:"font",mode:n.mode,font:i.slice(1),body:o}},htmlBuilder:Xl,mathmlBuilder:Gl}),ns({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],o=ai.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Hl(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:o}}}),ns({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:o}=e,{mode:i}=n,a=n.parseExpression(!0,o);return{type:"font",mode:i,font:"math"+r.slice(1),body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:Xl,mathmlBuilder:Gl});var Kl=(e,t)=>{var n=t;return"display"===e?n=n.id>=Oi.SCRIPT.id?n.text():Oi.DISPLAY:"text"===e&&n.size===Oi.DISPLAY.size?n=Oi.TEXT:"script"===e?n=Oi.SCRIPT:"scriptscript"===e&&(n=Oi.SCRIPTSCRIPT),n},Yl=(e,t)=>{var n,r=Kl(e.size,t.style),o=r.fracNum(),i=r.fracDen();n=t.havingStyle(o);var a=Ms(e.numer,n,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height0?3*p:7*p,f=t.fontMetrics().denom1):(u>0?(d=t.fontMetrics().num2,b=p):(d=t.fontMetrics().num3,b=3*p),f=t.fontMetrics().denom2),c){var z=t.fontMetrics().axisHeight;d-a.depth-(z+.5*u){var n=new vs.MathNode("mfrac",[xs(e.numer,t),xs(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var r=Ii(e.barSize,t);n.setAttribute("linethickness",Pi(r))}}else n.setAttribute("linethickness","0px");var o=Kl(e.size,t.style);if(o.size!==t.style.size){n=new vs.MathNode("mstyle",[n]);var i=o.size===Oi.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",i),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var s=new vs.MathNode("mo",[new vs.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),null!=e.rightDelim){var l=new vs.MathNode("mo",[new vs.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return Ss(a)}return n};ns({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var n,{parser:r,funcName:o}=e,i=t[0],a=t[1],s=null,l=null,c="auto";switch(o){case"\\dfrac":case"\\frac":case"\\tfrac":n=!0;break;case"\\\\atopfrac":n=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":n=!1,s="(",l=")";break;case"\\\\bracefrac":n=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":n=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(o){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text"}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:n,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:Yl,mathmlBuilder:Zl}),ns({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0],i=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:o,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),ns({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:n,funcName:r,token:o}=e;switch(r){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:o}}});var Jl=["display","text","script","scriptscript"],Ql=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};ns({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var n,{parser:r}=e,o=t[4],i=t[5],a=os(t[0]),s="atom"===a.type&&"open"===a.family?Ql(a.text):null,l=os(t[1]),c="atom"===l.type&&"close"===l.family?Ql(l.text):null,u=Ps(t[2],"size"),p=null;n=!!u.isBlank||(p=u.value).number>0;var d="auto",b=t[3];if("ordgroup"===b.type){if(b.body.length>0){var f=Ps(b.body[0],"textord");d=Jl[Number(f.text)]}}else b=Ps(b,"textord"),d=Jl[Number(b.text)];return{type:"genfrac",mode:r.mode,numer:o,denom:i,continued:!1,hasBarLine:n,barSize:p,leftDelim:s,rightDelim:c,size:d}},htmlBuilder:Yl,mathmlBuilder:Zl}),ns({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:o}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Ps(t[0],"size").value,token:o}}}),ns({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0],i=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Ps(t[1],"infix").size),a=t[2],s=i.number>0;return{type:"genfrac",mode:n.mode,numer:o,denom:a,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Yl,mathmlBuilder:Zl});var ec=(e,t)=>{var n,r,o=t.style;"supsub"===e.type?(n=e.sup?Ms(e.sup,t.havingStyle(o.sup()),t):Ms(e.sub,t.havingStyle(o.sub()),t),r=Ps(e.base,"horizBrace")):r=Ps(e,"horizBrace");var i,a=Ms(r.base,t.havingBaseStyle(Oi.DISPLAY)),s=Is(r,t);if(r.isOver?(i=Ga.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(i=Ga.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t)).children[0].children[0].children[0].classes.push("svg-align"),n){var l=Ga.makeSpan(["mord",r.isOver?"mover":"munder"],[i],t);i=r.isOver?Ga.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},t):Ga.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return Ga.makeSpan(["mord",r.isOver?"mover":"munder"],[i],t)};ns({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:ec,mathmlBuilder:(e,t)=>{var n=Ls(e.label);return new vs.MathNode(e.isOver?"mover":"munder",[xs(e.base,t),n])}}),ns({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],o=Ps(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:n.mode,href:o,body:is(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=ps(e.body,t,!1);return Ga.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=_s(e.body,t);return n instanceof ys||(n=new ys("mrow",[n])),n.setAttribute("href",e.href),n}}),ns({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=Ps(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var o=[],i=0;inew vs.MathNode("mrow",Es(e.body,t))}),ns({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var n,{parser:r,funcName:o,token:i}=e,a=Ps(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l={};switch(o){case"\\htmlClass":l.class=a,n={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,n={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,n={command:"\\htmlStyle",style:a};break;case"\\htmlData":for(var c=a.split(","),u=0;u{var n=ps(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var o=Ga.makeSpan(r,n,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&o.setAttribute(i,e.attributes[i]);return o},mathmlBuilder:(e,t)=>_s(e.body,t)}),ns({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:is(t[0]),mathml:is(t[1])}},htmlBuilder:(e,t)=>{var n=ps(e.html,t,!1);return Ga.makeFragment(n)},mathmlBuilder:(e,t)=>_s(e.mathml,t)});var tc=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new ti("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(t[1]+t[2]),unit:t[3]};if(!Li(n))throw new ti("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};ns({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,o={number:0,unit:"em"},i={number:.9,unit:"em"},a={number:0,unit:"em"},s="";if(n[0])for(var l=Ps(n[0],"raw").string.split(","),c=0;c{var n=Ii(e.height,t),r=0;e.totalheight.number>0&&(r=Ii(e.totalheight,t)-n);var o=0;e.width.number>0&&(o=Ii(e.width,t));var i={height:Pi(n+r)};o>0&&(i.width=Pi(o)),r>0&&(i.verticalAlign=Pi(-r));var a=new Hi(e.src,e.alt,i);return a.height=n,a.depth=r,a},mathmlBuilder:(e,t)=>{var n=new vs.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=Ii(e.height,t),o=0;if(e.totalheight.number>0&&(o=Ii(e.totalheight,t)-r,n.setAttribute("valign",Pi(-o))),n.setAttribute("height",Pi(r+o)),e.width.number>0){var i=Ii(e.width,t);n.setAttribute("width",Pi(i))}return n.setAttribute("src",e.src),n}}),ns({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,o=Ps(t[0],"size");if(n.settings.strict){var i="m"===r[1],a="mu"===o.value.unit;i?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+o.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:o.value}},htmlBuilder:(e,t)=>Ga.makeGlue(e.dimension,t),mathmlBuilder(e,t){var n=Ii(e.dimension,t);return new vs.SpaceNode(n)}}),ns({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:o}},htmlBuilder:(e,t)=>{var n;"clap"===e.alignment?(n=Ga.makeSpan([],[Ms(e.body,t)]),n=Ga.makeSpan(["inner"],[n],t)):n=Ga.makeSpan(["inner"],[Ms(e.body,t)]);var r=Ga.makeSpan(["fix"],[]),o=Ga.makeSpan([e.alignment],[n,r],t),i=Ga.makeSpan(["strut"]);return i.style.height=Pi(o.height+o.depth),o.depth&&(i.style.verticalAlign=Pi(-o.depth)),o.children.unshift(i),o=Ga.makeSpan(["thinbox"],[o],t),Ga.makeSpan(["mord","vbox"],[o],t)},mathmlBuilder:(e,t)=>{var n=new vs.MathNode("mpadded",[xs(e.body,t)]);if("rlap"!==e.alignment){var r="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}}),ns({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,o=r.mode;r.switchMode("math");var i="\\("===n?"\\)":"$",a=r.parseExpression(!1,i);return r.expect(i),r.switchMode(o),{type:"styling",mode:r.mode,style:"text",body:a}}}),ns({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ti("Mismatched "+e.funcName)}});var nc=(e,t)=>{switch(t.style.size){case Oi.DISPLAY.size:return e.display;case Oi.TEXT.size:return e.text;case Oi.SCRIPT.size:return e.script;case Oi.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ns({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:is(t[0]),text:is(t[1]),script:is(t[2]),scriptscript:is(t[3])}},htmlBuilder:(e,t)=>{var n=nc(e,t),r=ps(n,t,!1);return Ga.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=nc(e,t);return _s(n,t)}});var rc=(e,t,n,r,o,i,a)=>{e=Ga.makeSpan([],[e]);var s,l,c,u=n&&ai.isCharacterBox(n);if(t){var p=Ms(t,r.havingStyle(o.sup()),r);l={elem:p,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-p.depth)}}if(n){var d=Ms(n,r.havingStyle(o.sub()),r);s={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-d.height)}}if(l&&s){var b=r.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;c=Ga.makeVList({positionType:"bottom",positionData:b,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:Pi(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:Pi(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(s){var f=e.height-a;c=Ga.makeVList({positionType:"top",positionData:f,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:Pi(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},r)}else{if(!l)return e;var h=e.depth+a;c=Ga.makeVList({positionType:"bottom",positionData:h,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:Pi(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}var m=[c];if(s&&0!==i&&!u){var M=Ga.makeSpan(["mspace"],[],r);M.style.marginRight=Pi(i),m.unshift(M)}return Ga.makeSpan(["mop","op-limits"],m,r)},oc=["\\smallint"],ic=(e,t)=>{var n,r,o,i=!1;"supsub"===e.type?(n=e.sup,r=e.sub,o=Ps(e.base,"op"),i=!0):o=Ps(e,"op");var a,s=t.style,l=!1;if(s.size===Oi.DISPLAY.size&&o.symbol&&!ai.contains(oc,o.name)&&(l=!0),o.symbol){var c=l?"Size2-Regular":"Size1-Regular",u="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(u=o.name.substr(1),o.name="oiint"===u?"\\iint":"\\iiint"),a=Ga.makeSymbol(o.name,c,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),u.length>0){var p=a.italic,d=Ga.staticSvg(u+"Size"+(l?"2":"1"),t);a=Ga.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:d,shift:l?.08:0}]},t),o.name="\\"+u,a.classes.unshift("mop"),a.italic=p}}else if(o.body){var b=ps(o.body,t,!0);1===b.length&&b[0]instanceof Gi?(a=b[0]).classes[0]="mop":a=Ga.makeSpan(["mop"],b,t)}else{for(var f=[],h=1;h{var n;if(e.symbol)n=new ys("mo",[ws(e.name,e.mode)]),ai.contains(oc,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new ys("mo",Es(e.body,t));else{n=new ys("mi",[new As(e.name.slice(1))]);var r=new ys("mo",[ws("\u2061","text")]);n=e.parentIsSupSub?new ys("mrow",[n,r]):zs([n,r])}return n},sc={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcup","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};ns({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=r;return 1===o.length&&(o=sc[o]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:o}},htmlBuilder:ic,mathmlBuilder:ac}),ns({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:is(r)}},htmlBuilder:ic,mathmlBuilder:ac});var lc={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint","\u222f":"\\oiint","\u2230":"\\oiiint"};ns({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:ic,mathmlBuilder:ac}),ns({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:ic,mathmlBuilder:ac}),ns({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222b","\u222c","\u222d","\u222e","\u222f","\u2230"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,r=n;return 1===r.length&&(r=lc[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:ic,mathmlBuilder:ac});var cc=(e,t)=>{var n,r,o,i,a=!1;if("supsub"===e.type?(n=e.sup,r=e.sub,o=Ps(e.base,"operatorname"),a=!0):o=Ps(e,"operatorname"),o.body.length>0){for(var s=o.body.map((e=>{var t=e.text;return"string"===typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=ps(s,t.withFont("mathrm"),!0),c=0;c{var{parser:n,funcName:r}=e,o=t[0];return{type:"operatorname",mode:n.mode,body:is(o),alwaysHandleSupSub:"\\operatornamewithlimits"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:cc,mathmlBuilder:(e,t)=>{for(var n=Es(e.body,t.withFont("mathrm")),r=!0,o=0;oe.toText())).join("");n=[new vs.TextNode(s)]}var l=new vs.MathNode("mi",n);l.setAttribute("mathvariant","normal");var c=new vs.MathNode("mo",[ws("\u2061","text")]);return e.parentIsSupSub?new vs.MathNode("mrow",[l,c]):vs.newDocumentFragment([l,c])}}),Tl("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),rs({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?Ga.makeFragment(ps(e.body,t,!1)):Ga.makeSpan(["mord"],ps(e.body,t,!0),t),mathmlBuilder:(e,t)=>_s(e.body,t,!0)}),ns({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=Ms(e.body,t.havingCrampedStyle()),r=Ga.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Ga.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r},{type:"kern",size:o}]},t);return Ga.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var n=new vs.MathNode("mo",[new vs.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new vs.MathNode("mover",[xs(e.body,t),n]);return r.setAttribute("accent","true"),r}}),ns({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:is(r)}},htmlBuilder:(e,t)=>{var n=ps(e.body,t.withPhantom(),!1);return Ga.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=Es(e.body,t);return new vs.MathNode("mphantom",n)}}),ns({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=Ga.makeSpan([],[Ms(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r{var n=Es(is(e.body),t),r=new vs.MathNode("mphantom",n),o=new vs.MathNode("mpadded",[r]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),ns({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=Ga.makeSpan(["inner"],[Ms(e.body,t.withPhantom())]),r=Ga.makeSpan(["fix"],[]);return Ga.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=Es(is(e.body),t),r=new vs.MathNode("mphantom",n),o=new vs.MathNode("mpadded",[r]);return o.setAttribute("width","0px"),o}}),ns({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=Ps(t[0],"size").value,o=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:o}},htmlBuilder(e,t){var n=Ms(e.body,t),r=Ii(e.dy,t);return Ga.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new vs.MathNode("mpadded",[xs(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),ns({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),ns({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,o=n[0],i=Ps(t[0],"size"),a=Ps(t[1],"size");return{type:"rule",mode:r.mode,shift:o&&Ps(o,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){var n=Ga.makeSpan(["mord","rule"],[],t),r=Ii(e.width,t),o=Ii(e.height,t),i=e.shift?Ii(e.shift,t):0;return n.style.borderRightWidth=Pi(r),n.style.borderTopWidth=Pi(o),n.style.bottom=Pi(i),n.width=r,n.height=o+i,n.depth=-i,n.maxFontSize=1.125*o*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=Ii(e.width,t),r=Ii(e.height,t),o=e.shift?Ii(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new vs.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",Pi(n)),a.setAttribute("height",Pi(r));var s=new vs.MathNode("mpadded",[a]);return o>=0?s.setAttribute("height",Pi(o)):(s.setAttribute("height",Pi(o)),s.setAttribute("depth",Pi(-o))),s.setAttribute("voffset",Pi(o)),s}});var pc=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];ns({type:"sizing",names:pc,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:o}=e,i=o.parseExpression(!1,n);return{type:"sizing",mode:o.mode,size:pc.indexOf(r)+1,body:i}},htmlBuilder:(e,t)=>{var n=t.havingSize(e.size);return uc(e.body,n,t)},mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=Es(e.body,n),o=new vs.MathNode("mstyle",r);return o.setAttribute("mathsize",Pi(n.sizeMultiplier)),o}}),ns({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,o=!1,i=!1,a=n[0]&&Ps(n[0],"ordgroup");if(a)for(var s="",l=0;l{var n=Ga.makeSpan([],[Ms(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r{var n=new vs.MathNode("mpadded",[xs(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),ns({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,o=n[0],i=t[0];return{type:"sqrt",mode:r.mode,body:i,index:o}},htmlBuilder(e,t){var n=Ms(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=Ga.wrapFragment(n,t);var r=t.fontMetrics().defaultRuleThickness,o=r;t.style.idn.height+n.depth+i&&(i=(i+u-n.height-n.depth)/2);var p=s.height-n.height-i-l;n.style.paddingLeft=Pi(c);var d=Ga.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+p)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){var b=t.havingStyle(Oi.SCRIPTSCRIPT),f=Ms(e.index,b,t),h=.6*(d.height-d.depth),m=Ga.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:f}]},t),M=Ga.makeSpan(["root"],[m]);return Ga.makeSpan(["mord","sqrt"],[M,d],t)}return Ga.makeSpan(["mord","sqrt"],[d],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new vs.MathNode("mroot",[xs(n,t),xs(r,t)]):new vs.MathNode("msqrt",[xs(n,t)])}});var dc={display:Oi.DISPLAY,text:Oi.TEXT,script:Oi.SCRIPT,scriptscript:Oi.SCRIPTSCRIPT};ns({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:o}=e,i=o.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder(e,t){var n=dc[e.style],r=t.havingStyle(n).withFont("");return uc(e.body,r,t)},mathmlBuilder(e,t){var n=dc[e.style],r=t.havingStyle(n),o=Es(e.body,r),i=new vs.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}});rs({type:"supsub",htmlBuilder(e,t){var n=function(e,t){var n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===Oi.DISPLAY.size||n.alwaysHandleSupSub)?ic:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===Oi.DISPLAY.size||n.limits)?cc:null:"accent"===n.type?ai.isCharacterBox(n.base)?js:null:"horizBrace"===n.type&&!e.sub===n.isOver?ec:null:null}(e,t);if(n)return n(e,t);var r,o,i,{base:a,sup:s,sub:l}=e,c=Ms(a,t),u=t.fontMetrics(),p=0,d=0,b=a&&ai.isCharacterBox(a);if(s){var f=t.havingStyle(t.style.sup());r=Ms(s,f,t),b||(p=c.height-f.fontMetrics().supDrop*f.sizeMultiplier/t.sizeMultiplier)}if(l){var h=t.havingStyle(t.style.sub());o=Ms(l,h,t),b||(d=c.depth+h.fontMetrics().subDrop*h.sizeMultiplier/t.sizeMultiplier)}i=t.style===Oi.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var m,M=t.sizeMultiplier,O=Pi(.5/u.ptPerEm/M),g=null;if(o){var z=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(c instanceof Gi||z)&&(g=Pi(-c.italic))}if(r&&o){p=Math.max(p,i,r.depth+.25*u.xHeight),d=Math.max(d,u.sub2);var y=4*u.defaultRuleThickness;if(p-r.depth-(o.height-d)0&&(p+=A,d-=A)}var v=[{type:"elem",elem:o,shift:d,marginRight:O,marginLeft:g},{type:"elem",elem:r,shift:-p,marginRight:O}];m=Ga.makeVList({positionType:"individualShift",children:v},t)}else if(o){d=Math.max(d,u.sub1,o.height-.8*u.xHeight);var w=[{type:"elem",elem:o,marginLeft:g,marginRight:O}];m=Ga.makeVList({positionType:"shift",positionData:d,children:w},t)}else{if(!r)throw new Error("supsub must have either sup or sub.");p=Math.max(p,i,r.depth+.25*u.xHeight),m=Ga.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:r,marginRight:O}]},t)}var S=hs(c,"right")||"mord";return Ga.makeSpan([S],[c,Ga.makeSpan(["msupsub"],[m])],t)},mathmlBuilder(e,t){var n,r=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(r=!0,n=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var o,i=[xs(e.base,t)];if(e.sub&&i.push(xs(e.sub,t)),e.sup&&i.push(xs(e.sup,t)),r)o=n?"mover":"munder";else if(e.sub)if(e.sup){var a=e.base;o=a&&"op"===a.type&&a.limits&&t.style===Oi.DISPLAY||a&&"operatorname"===a.type&&a.alwaysHandleSupSub&&(t.style===Oi.DISPLAY||a.limits)?"munderover":"msubsup"}else{var s=e.base;o=s&&"op"===s.type&&s.limits&&(t.style===Oi.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===Oi.DISPLAY)?"munder":"msub"}else{var l=e.base;o=l&&"op"===l.type&&l.limits&&(t.style===Oi.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===Oi.DISPLAY)?"mover":"msup"}return new vs.MathNode(o,i)}}),rs({type:"atom",htmlBuilder:(e,t)=>Ga.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var n=new vs.MathNode("mo",[ws(e.text,e.mode)]);if("bin"===e.family){var r=qs(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});var bc={mi:"italic",mn:"normal",mtext:"normal"};rs({type:"mathord",htmlBuilder:(e,t)=>Ga.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var n=new vs.MathNode("mi",[ws(e.text,e.mode,t)]),r=qs(e,t)||"italic";return r!==bc[n.type]&&n.setAttribute("mathvariant",r),n}}),rs({type:"textord",htmlBuilder:(e,t)=>Ga.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var n,r=ws(e.text,e.mode,t),o=qs(e,t)||"normal";return n="text"===e.mode?new vs.MathNode("mtext",[r]):/[0-9]/.test(e.text)?new vs.MathNode("mn",[r]):"\\prime"===e.text?new vs.MathNode("mo",[r]):new vs.MathNode("mi",[r]),o!==bc[n.type]&&n.setAttribute("mathvariant",o),n}});var fc={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},hc={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};rs({type:"spacing",htmlBuilder(e,t){if(hc.hasOwnProperty(e.text)){var n=hc[e.text].className||"";if("text"===e.mode){var r=Ga.makeOrd(e,t,"textord");return r.classes.push(n),r}return Ga.makeSpan(["mspace",n],[Ga.mathsym(e.text,e.mode,t)],t)}if(fc.hasOwnProperty(e.text))return Ga.makeSpan(["mspace",fc[e.text]],[],t);throw new ti('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!hc.hasOwnProperty(e.text)){if(fc.hasOwnProperty(e.text))return new vs.MathNode("mspace");throw new ti('Unknown type of space "'+e.text+'"')}return new vs.MathNode("mtext",[new vs.TextNode("\xa0")])}});var mc=()=>{var e=new vs.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};rs({type:"tag",mathmlBuilder(e,t){var n=new vs.MathNode("mtable",[new vs.MathNode("mtr",[mc(),new vs.MathNode("mtd",[_s(e.body,t)]),mc(),new vs.MathNode("mtd",[_s(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var Mc={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Oc={"\\textbf":"textbf","\\textmd":"textmd"},gc={"\\textit":"textit","\\textup":"textup"},zc=(e,t)=>{var n=e.font;return n?Mc[n]?t.withTextFontFamily(Mc[n]):Oc[n]?t.withTextFontWeight(Oc[n]):t.withTextFontShape(gc[n]):t};ns({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,o=t[0];return{type:"text",mode:n.mode,body:is(o),font:r}},htmlBuilder(e,t){var n=zc(e,t),r=ps(e.body,n,!0);return Ga.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=zc(e,t);return _s(e.body,n)}}),ns({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Ms(e.body,t),r=Ga.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Ga.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:o},{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n}]},t);return Ga.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var n=new vs.MathNode("mo",[new vs.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new vs.MathNode("munder",[xs(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),ns({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Ms(e.body,t),r=t.fontMetrics().axisHeight,o=.5*(n.height-r-(n.depth+r));return Ga.makeVList({positionType:"shift",positionData:o,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:(e,t)=>new vs.MathNode("mpadded",[xs(e.body,t)],["vcenter"])}),ns({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new ti("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=yc(e),r=[],o=t.havingStyle(t.style.text()),i=0;ie.body.replace(/ /g,e.star?"\u2423":"\xa0"),Ac=Qa,vc="[ \r\n\t]",wc="(\\\\[a-zA-Z@]+)"+vc+"*",Sc="[\u0300-\u036f]",qc=new RegExp(Sc+"+$"),Ec="("+vc+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff]"+Sc+"*|[\ud800-\udbff][\udc00-\udfff]"+Sc+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+wc+"|\\\\[^\ud800-\udfff])";class _c{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Ec,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new ei("EOF",new Qo(this,t,t));var n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new ti("Unexpected character: '"+e[t]+"'",new ei(e[t],new Qo(this,t,t+1)));var r=n[6]||n[3]||(n[2]?"\\ ":" ");if(14===this.catcodes[r]){var o=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===o?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new ei(r,new Qo(this,t,this.tokenRegex.lastIndex))}}class xc{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new ti("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(void 0===n&&(n=!1),n){for(var r=0;r0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var Rc=Rl;Tl("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Tl("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Tl("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Tl("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Tl("\\@ifnextchar",(function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Tl("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Tl("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Tc={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};Tl("\\char",(function(e){var t,n=e.popToken(),r="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if("\\"===(n=e.popToken()).text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new ti("\\char` missing argument");r=n.text.charCodeAt(0)}else t=10;if(t){if(null==(r=Tc[n.text])||r>=t)throw new ti("Invalid base-"+t+" digit "+n.text);for(var o;null!=(o=Tc[e.future().text])&&o{var r=e.consumeArg().tokens;if(1!==r.length)throw new ti("\\newcommand's first argument must be a macro name");var o=r[0].text,i=e.isDefined(o);if(i&&!t)throw new ti("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!i&&!n)throw new ti("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var a=0;if(1===(r=e.consumeArg().tokens).length&&"["===r[0].text){for(var s="",l=e.expandNextToken();"]"!==l.text&&"EOF"!==l.text;)s+=l.text,l=e.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new ti("Invalid number of arguments: "+s);a=parseInt(s),r=e.consumeArg().tokens}return e.macros.set(o,{tokens:r,numArgs:a}),""};Tl("\\newcommand",(e=>kc(e,!1,!0))),Tl("\\renewcommand",(e=>kc(e,!0,!1))),Tl("\\providecommand",(e=>kc(e,!0,!0))),Tl("\\message",(e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map((e=>e.text)).join("")),""})),Tl("\\errmessage",(e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map((e=>e.text)).join("")),""})),Tl("\\show",(e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Ac[n],ea.math[n],ea.text[n]),""})),Tl("\\bgroup","{"),Tl("\\egroup","}"),Tl("~","\\nobreakspace"),Tl("\\lq","`"),Tl("\\rq","'"),Tl("\\aa","\\r a"),Tl("\\AA","\\r A"),Tl("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xa9}"),Tl("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Tl("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}"),Tl("\u212c","\\mathscr{B}"),Tl("\u2130","\\mathscr{E}"),Tl("\u2131","\\mathscr{F}"),Tl("\u210b","\\mathscr{H}"),Tl("\u2110","\\mathscr{I}"),Tl("\u2112","\\mathscr{L}"),Tl("\u2133","\\mathscr{M}"),Tl("\u211b","\\mathscr{R}"),Tl("\u212d","\\mathfrak{C}"),Tl("\u210c","\\mathfrak{H}"),Tl("\u2128","\\mathfrak{Z}"),Tl("\\Bbbk","\\Bbb{k}"),Tl("\xb7","\\cdotp"),Tl("\\llap","\\mathllap{\\textrm{#1}}"),Tl("\\rlap","\\mathrlap{\\textrm{#1}}"),Tl("\\clap","\\mathclap{\\textrm{#1}}"),Tl("\\mathstrut","\\vphantom{(}"),Tl("\\underbar","\\underline{\\text{#1}}"),Tl("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Tl("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Tl("\\ne","\\neq"),Tl("\u2260","\\neq"),Tl("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Tl("\u2209","\\notin"),Tl("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Tl("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Tl("\u225a","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225a}}"),Tl("\u225b","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225b}}"),Tl("\u225d","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225d}}"),Tl("\u225e","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225e}}"),Tl("\u225f","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225f}}"),Tl("\u27c2","\\perp"),Tl("\u203c","\\mathclose{!\\mkern-0.8mu!}"),Tl("\u220c","\\notni"),Tl("\u231c","\\ulcorner"),Tl("\u231d","\\urcorner"),Tl("\u231e","\\llcorner"),Tl("\u231f","\\lrcorner"),Tl("\xa9","\\copyright"),Tl("\xae","\\textregistered"),Tl("\ufe0f","\\textregistered"),Tl("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Tl("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Tl("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Tl("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Tl("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Tl("\u22ee","\\vdots"),Tl("\\varGamma","\\mathit{\\Gamma}"),Tl("\\varDelta","\\mathit{\\Delta}"),Tl("\\varTheta","\\mathit{\\Theta}"),Tl("\\varLambda","\\mathit{\\Lambda}"),Tl("\\varXi","\\mathit{\\Xi}"),Tl("\\varPi","\\mathit{\\Pi}"),Tl("\\varSigma","\\mathit{\\Sigma}"),Tl("\\varUpsilon","\\mathit{\\Upsilon}"),Tl("\\varPhi","\\mathit{\\Phi}"),Tl("\\varPsi","\\mathit{\\Psi}"),Tl("\\varOmega","\\mathit{\\Omega}"),Tl("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Tl("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Tl("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Tl("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Tl("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Tl("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Cc={",":"\\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"};Tl("\\dots",(function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in Cc?t=Cc[n]:("\\not"===n.substr(0,4)||n in ea.math&&ai.contains(["bin","rel"],ea.math[n].group))&&(t="\\dotsb"),t}));var Wc={")":!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};Tl("\\dotso",(function(e){return e.future().text in Wc?"\\ldots\\,":"\\ldots"})),Tl("\\dotsc",(function(e){var t=e.future().text;return t in Wc&&","!==t?"\\ldots\\,":"\\ldots"})),Tl("\\cdots",(function(e){return e.future().text in Wc?"\\@cdots\\,":"\\@cdots"})),Tl("\\dotsb","\\cdots"),Tl("\\dotsm","\\cdots"),Tl("\\dotsi","\\!\\cdots"),Tl("\\dotsx","\\ldots\\,"),Tl("\\DOTSI","\\relax"),Tl("\\DOTSB","\\relax"),Tl("\\DOTSX","\\relax"),Tl("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Tl("\\,","\\tmspace+{3mu}{.1667em}"),Tl("\\thinspace","\\,"),Tl("\\>","\\mskip{4mu}"),Tl("\\:","\\tmspace+{4mu}{.2222em}"),Tl("\\medspace","\\:"),Tl("\\;","\\tmspace+{5mu}{.2777em}"),Tl("\\thickspace","\\;"),Tl("\\!","\\tmspace-{3mu}{.1667em}"),Tl("\\negthinspace","\\!"),Tl("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Tl("\\negthickspace","\\tmspace-{5mu}{.277em}"),Tl("\\enspace","\\kern.5em "),Tl("\\enskip","\\hskip.5em\\relax"),Tl("\\quad","\\hskip1em\\relax"),Tl("\\qquad","\\hskip2em\\relax"),Tl("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Tl("\\tag@paren","\\tag@literal{({#1})}"),Tl("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new ti("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Tl("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Tl("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Tl("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Tl("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Tl("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Tl("\\newline","\\\\\\relax"),Tl("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Nc=Pi(Si["Main-Regular"]["T".charCodeAt(0)][1]-.7*Si["Main-Regular"]["A".charCodeAt(0)][1]);Tl("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Nc+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Tl("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Nc+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Tl("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Tl("\\@hspace","\\hskip #1\\relax"),Tl("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Tl("\\ordinarycolon",":"),Tl("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Tl("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Tl("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Tl("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Tl("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Tl("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Tl("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Tl("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Tl("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Tl("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Tl("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Tl("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Tl("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Tl("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Tl("\u2237","\\dblcolon"),Tl("\u2239","\\eqcolon"),Tl("\u2254","\\coloneqq"),Tl("\u2255","\\eqqcolon"),Tl("\u2a74","\\Coloneqq"),Tl("\\ratio","\\vcentcolon"),Tl("\\coloncolon","\\dblcolon"),Tl("\\colonequals","\\coloneqq"),Tl("\\coloncolonequals","\\Coloneqq"),Tl("\\equalscolon","\\eqqcolon"),Tl("\\equalscoloncolon","\\Eqqcolon"),Tl("\\colonminus","\\coloneq"),Tl("\\coloncolonminus","\\Coloneq"),Tl("\\minuscolon","\\eqcolon"),Tl("\\minuscoloncolon","\\Eqcolon"),Tl("\\coloncolonapprox","\\Colonapprox"),Tl("\\coloncolonsim","\\Colonsim"),Tl("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Tl("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Tl("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Tl("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Tl("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220c}}"),Tl("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Tl("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Tl("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Tl("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Tl("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Tl("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Tl("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Tl("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Tl("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Tl("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Tl("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Tl("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Tl("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Tl("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Tl("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Tl("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Tl("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Tl("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Tl("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228a}"),Tl("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2acb}"),Tl("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228b}"),Tl("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2acc}"),Tl("\\imath","\\html@mathml{\\@imath}{\u0131}"),Tl("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),Tl("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27e6}}"),Tl("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27e7}}"),Tl("\u27e6","\\llbracket"),Tl("\u27e7","\\rrbracket"),Tl("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Tl("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Tl("\u2983","\\lBrace"),Tl("\u2984","\\rBrace"),Tl("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29b5}}"),Tl("\u29b5","\\minuso"),Tl("\\darr","\\downarrow"),Tl("\\dArr","\\Downarrow"),Tl("\\Darr","\\Downarrow"),Tl("\\lang","\\langle"),Tl("\\rang","\\rangle"),Tl("\\uarr","\\uparrow"),Tl("\\uArr","\\Uparrow"),Tl("\\Uarr","\\Uparrow"),Tl("\\N","\\mathbb{N}"),Tl("\\R","\\mathbb{R}"),Tl("\\Z","\\mathbb{Z}"),Tl("\\alef","\\aleph"),Tl("\\alefsym","\\aleph"),Tl("\\Alpha","\\mathrm{A}"),Tl("\\Beta","\\mathrm{B}"),Tl("\\bull","\\bullet"),Tl("\\Chi","\\mathrm{X}"),Tl("\\clubs","\\clubsuit"),Tl("\\cnums","\\mathbb{C}"),Tl("\\Complex","\\mathbb{C}"),Tl("\\Dagger","\\ddagger"),Tl("\\diamonds","\\diamondsuit"),Tl("\\empty","\\emptyset"),Tl("\\Epsilon","\\mathrm{E}"),Tl("\\Eta","\\mathrm{H}"),Tl("\\exist","\\exists"),Tl("\\harr","\\leftrightarrow"),Tl("\\hArr","\\Leftrightarrow"),Tl("\\Harr","\\Leftrightarrow"),Tl("\\hearts","\\heartsuit"),Tl("\\image","\\Im"),Tl("\\infin","\\infty"),Tl("\\Iota","\\mathrm{I}"),Tl("\\isin","\\in"),Tl("\\Kappa","\\mathrm{K}"),Tl("\\larr","\\leftarrow"),Tl("\\lArr","\\Leftarrow"),Tl("\\Larr","\\Leftarrow"),Tl("\\lrarr","\\leftrightarrow"),Tl("\\lrArr","\\Leftrightarrow"),Tl("\\Lrarr","\\Leftrightarrow"),Tl("\\Mu","\\mathrm{M}"),Tl("\\natnums","\\mathbb{N}"),Tl("\\Nu","\\mathrm{N}"),Tl("\\Omicron","\\mathrm{O}"),Tl("\\plusmn","\\pm"),Tl("\\rarr","\\rightarrow"),Tl("\\rArr","\\Rightarrow"),Tl("\\Rarr","\\Rightarrow"),Tl("\\real","\\Re"),Tl("\\reals","\\mathbb{R}"),Tl("\\Reals","\\mathbb{R}"),Tl("\\Rho","\\mathrm{P}"),Tl("\\sdot","\\cdot"),Tl("\\sect","\\S"),Tl("\\spades","\\spadesuit"),Tl("\\sub","\\subset"),Tl("\\sube","\\subseteq"),Tl("\\supe","\\supseteq"),Tl("\\Tau","\\mathrm{T}"),Tl("\\thetasym","\\vartheta"),Tl("\\weierp","\\wp"),Tl("\\Zeta","\\mathrm{Z}"),Tl("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Tl("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Tl("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Tl("\\bra","\\mathinner{\\langle{#1}|}"),Tl("\\ket","\\mathinner{|{#1}\\rangle}"),Tl("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Tl("\\Bra","\\left\\langle#1\\right|"),Tl("\\Ket","\\left|#1\\right\\rangle");var Lc=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,o=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>n=>{e&&(n.macros.set("|",a),o.length&&n.macros.set("\\|",s));var i=t;!t&&o.length&&("|"===n.future().text&&(n.popToken(),i=!0));return{tokens:i?o:r,numArgs:0}};t.macros.set("|",l(!1)),o.length&&t.macros.set("\\|",l(!0));var c=t.consumeArg().tokens,u=t.expandTokens([...i,...c,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};Tl("\\bra@ket",Lc(!1)),Tl("\\bra@set",Lc(!0)),Tl("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Tl("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Tl("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Tl("\\angln","{\\angl n}"),Tl("\\blue","\\textcolor{##6495ed}{#1}"),Tl("\\orange","\\textcolor{##ffa500}{#1}"),Tl("\\pink","\\textcolor{##ff00af}{#1}"),Tl("\\red","\\textcolor{##df0030}{#1}"),Tl("\\green","\\textcolor{##28ae7b}{#1}"),Tl("\\gray","\\textcolor{gray}{#1}"),Tl("\\purple","\\textcolor{##9d38bd}{#1}"),Tl("\\blueA","\\textcolor{##ccfaff}{#1}"),Tl("\\blueB","\\textcolor{##80f6ff}{#1}"),Tl("\\blueC","\\textcolor{##63d9ea}{#1}"),Tl("\\blueD","\\textcolor{##11accd}{#1}"),Tl("\\blueE","\\textcolor{##0c7f99}{#1}"),Tl("\\tealA","\\textcolor{##94fff5}{#1}"),Tl("\\tealB","\\textcolor{##26edd5}{#1}"),Tl("\\tealC","\\textcolor{##01d1c1}{#1}"),Tl("\\tealD","\\textcolor{##01a995}{#1}"),Tl("\\tealE","\\textcolor{##208170}{#1}"),Tl("\\greenA","\\textcolor{##b6ffb0}{#1}"),Tl("\\greenB","\\textcolor{##8af281}{#1}"),Tl("\\greenC","\\textcolor{##74cf70}{#1}"),Tl("\\greenD","\\textcolor{##1fab54}{#1}"),Tl("\\greenE","\\textcolor{##0d923f}{#1}"),Tl("\\goldA","\\textcolor{##ffd0a9}{#1}"),Tl("\\goldB","\\textcolor{##ffbb71}{#1}"),Tl("\\goldC","\\textcolor{##ff9c39}{#1}"),Tl("\\goldD","\\textcolor{##e07d10}{#1}"),Tl("\\goldE","\\textcolor{##a75a05}{#1}"),Tl("\\redA","\\textcolor{##fca9a9}{#1}"),Tl("\\redB","\\textcolor{##ff8482}{#1}"),Tl("\\redC","\\textcolor{##f9685d}{#1}"),Tl("\\redD","\\textcolor{##e84d39}{#1}"),Tl("\\redE","\\textcolor{##bc2612}{#1}"),Tl("\\maroonA","\\textcolor{##ffbde0}{#1}"),Tl("\\maroonB","\\textcolor{##ff92c6}{#1}"),Tl("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Tl("\\maroonD","\\textcolor{##ca337c}{#1}"),Tl("\\maroonE","\\textcolor{##9e034e}{#1}"),Tl("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Tl("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Tl("\\purpleC","\\textcolor{##aa87ff}{#1}"),Tl("\\purpleD","\\textcolor{##7854ab}{#1}"),Tl("\\purpleE","\\textcolor{##543b78}{#1}"),Tl("\\mintA","\\textcolor{##f5f9e8}{#1}"),Tl("\\mintB","\\textcolor{##edf2df}{#1}"),Tl("\\mintC","\\textcolor{##e0e5cc}{#1}"),Tl("\\grayA","\\textcolor{##f6f7f7}{#1}"),Tl("\\grayB","\\textcolor{##f0f1f2}{#1}"),Tl("\\grayC","\\textcolor{##e3e5e6}{#1}"),Tl("\\grayD","\\textcolor{##d6d8da}{#1}"),Tl("\\grayE","\\textcolor{##babec2}{#1}"),Tl("\\grayF","\\textcolor{##888d93}{#1}"),Tl("\\grayG","\\textcolor{##626569}{#1}"),Tl("\\grayH","\\textcolor{##3b3e40}{#1}"),Tl("\\grayI","\\textcolor{##21242c}{#1}"),Tl("\\kaBlue","\\textcolor{##314453}{#1}"),Tl("\\kaGreen","\\textcolor{##71B307}{#1}");var Ic={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Pc{constructor(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new xc(Rc,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new _c(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,n,r;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:r,end:n}=this.consumeArg(["]"]))}else({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new ei("EOF",n.loc)),this.pushTokens(r),t.range(n,"")}consumeSpaces(){for(;;){if(" "!==this.future().text)break;this.stack.pop()}}consumeArg(e){var t=[],n=e&&e.length>0;n||this.consumeSpaces();var r,o=this.future(),i=0,a=0;do{if(r=this.popToken(),t.push(r),"{"===r.text)++i;else if("}"===r.text){if(-1===--i)throw new ti("Extra }",r)}else if("EOF"===r.text)throw new ti("Unexpected end of input in a macro argument, expected '"+(e&&n?e[a]:"}")+"'",r);if(e&&n)if((0===i||1===i&&"{"===e[a])&&r.text===e[a]){if(++a===e.length){t.splice(-a,a);break}}else a=0}while(0!==i||n);return"{"===o.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:o,end:r}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new ti("The length of delimiters doesn't match the number of args!");for(var n=t[0],r=0;rthis.settings.maxExpand)throw new ti("Too many expansions: infinite loop or need to increase maxExpand setting");var o=r.tokens,i=this.consumeArgs(r.numArgs,r.delimiters);if(r.numArgs)for(var a=(o=o.slice()).length-1;a>=0;--a){var s=o[a];if("#"===s.text){if(0===a)throw new ti("Incomplete placeholder at end of macro body",s);if("#"===(s=o[--a]).text)o.splice(a+1,1);else{if(!/^[1-9]$/.test(s.text))throw new ti("Not a valid argument number",s);o.splice(a,2,...i[+s.text-1])}}}return this.pushTokens(o),o}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;){var e=this.expandOnce();if(e instanceof ei)return e.treatAsRelax&&(e.text="\\relax"),this.stack.pop()}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new ei(e)]):void 0}expandTokens(e){var t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;){var r=this.expandOnce(!0);r instanceof ei&&(r.treatAsRelax&&(r.noexpand=!1,r.treatAsRelax=!1),t.push(this.stack.pop()))}return t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map((e=>e.text)).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var n=this.lexer.catcodes[e];if(null!=n&&13!==n)return}var r="function"===typeof t?t(this):t;if("string"===typeof r){var o=0;if(-1!==r.indexOf("#"))for(var i=r.replace(/##/g,"");-1!==i.indexOf("#"+(o+1));)++o;for(var a=new _c(r,this.settings),s=[],l=a.lex();"EOF"!==l.text;)s.push(l),l=a.lex();return s.reverse(),{tokens:s,numArgs:o}}return r}isDefined(e){return this.macros.has(e)||Ac.hasOwnProperty(e)||ea.math.hasOwnProperty(e)||ea.text.hasOwnProperty(e)||Ic.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"===typeof t||"function"===typeof t||!t.unexpandable:Ac.hasOwnProperty(e)&&!Ac[e].primitive}}var Dc=/^[\u208a\u208b\u208c\u208d\u208e\u2080\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089\u2090\u2091\u2095\u1d62\u2c7c\u2096\u2097\u2098\u2099\u2092\u209a\u1d63\u209b\u209c\u1d64\u1d65\u2093\u1d66\u1d67\u1d68\u1d69\u1d6a]/,Bc=Object.freeze({"\u208a":"+","\u208b":"-","\u208c":"=","\u208d":"(","\u208e":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1d62":"i","\u2c7c":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209a":"p","\u1d63":"r","\u209b":"s","\u209c":"t","\u1d64":"u","\u1d65":"v","\u2093":"x","\u1d66":"\u03b2","\u1d67":"\u03b3","\u1d68":"\u03c1","\u1d69":"\u03d5","\u1d6a":"\u03c7","\u207a":"+","\u207b":"-","\u207c":"=","\u207d":"(","\u207e":")","\u2070":"0","\xb9":"1","\xb2":"2","\xb3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1d2c":"A","\u1d2e":"B","\u1d30":"D","\u1d31":"E","\u1d33":"G","\u1d34":"H","\u1d35":"I","\u1d36":"J","\u1d37":"K","\u1d38":"L","\u1d39":"M","\u1d3a":"N","\u1d3c":"O","\u1d3e":"P","\u1d3f":"R","\u1d40":"T","\u1d41":"U","\u2c7d":"V","\u1d42":"W","\u1d43":"a","\u1d47":"b","\u1d9c":"c","\u1d48":"d","\u1d49":"e","\u1da0":"f","\u1d4d":"g","\u02b0":"h","\u2071":"i","\u02b2":"j","\u1d4f":"k","\u02e1":"l","\u1d50":"m","\u207f":"n","\u1d52":"o","\u1d56":"p","\u02b3":"r","\u02e2":"s","\u1d57":"t","\u1d58":"u","\u1d5b":"v","\u02b7":"w","\u02e3":"x","\u02b8":"y","\u1dbb":"z","\u1d5d":"\u03b2","\u1d5e":"\u03b3","\u1d5f":"\u03b4","\u1d60":"\u03d5","\u1d61":"\u03c7","\u1dbf":"\u03b8"}),jc={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"},"\u0327":{text:"\\c"}},Fc={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"a\u030a","\u01fb":"a\u030a\u0301","\u1e03":"b\u0307","\u0107":"c\u0301","\u1e09":"c\u0327\u0301","\u010d":"c\u030c","\u0109":"c\u0302","\u010b":"c\u0307","\xe7":"c\u0327","\u010f":"d\u030c","\u1e0b":"d\u0307","\u1e11":"d\u0327","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u1e1d":"e\u0327\u0306","\u011b":"e\u030c","\xea":"e\u0302","\u1ebf":"e\u0302\u0301","\u1ec1":"e\u0302\u0300","\u1ec5":"e\u0302\u0303","\u0117":"e\u0307","\u0229":"e\u0327","\u1e1f":"f\u0307","\u01f5":"g\u0301","\u1e21":"g\u0304","\u011f":"g\u0306","\u01e7":"g\u030c","\u011d":"g\u0302","\u0121":"g\u0307","\u0123":"g\u0327","\u1e27":"h\u0308","\u021f":"h\u030c","\u0125":"h\u0302","\u1e23":"h\u0307","\u1e29":"h\u0327","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"i\u0302","\u01f0":"j\u030c","\u0135":"j\u0302","\u1e31":"k\u0301","\u01e9":"k\u030c","\u0137":"k\u0327","\u013a":"l\u0301","\u013e":"l\u030c","\u013c":"l\u0327","\u1e3f":"m\u0301","\u1e41":"m\u0307","\u0144":"n\u0301","\u01f9":"n\u0300","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\u0146":"n\u0327","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"o\u0303","\u1e4d":"o\u0303\u0301","\u1e4f":"o\u0303\u0308","\u022d":"o\u0303\u0304","\u014d":"o\u0304","\u1e53":"o\u0304\u0301","\u1e51":"o\u0304\u0300","\u014f":"o\u0306","\u01d2":"o\u030c","\xf4":"o\u0302","\u1ed1":"o\u0302\u0301","\u1ed3":"o\u0302\u0300","\u1ed7":"o\u0302\u0303","\u022f":"o\u0307","\u0231":"o\u0307\u0304","\u0151":"o\u030b","\u1e55":"p\u0301","\u1e57":"p\u0307","\u0155":"r\u0301","\u0159":"r\u030c","\u1e59":"r\u0307","\u0157":"r\u0327","\u015b":"s\u0301","\u1e65":"s\u0301\u0307","\u0161":"s\u030c","\u1e67":"s\u030c\u0307","\u015d":"s\u0302","\u1e61":"s\u0307","\u015f":"s\u0327","\u1e97":"t\u0308","\u0165":"t\u030c","\u1e6b":"t\u0307","\u0163":"t\u0327","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308","\u01d8":"u\u0308\u0301","\u01dc":"u\u0308\u0300","\u01d6":"u\u0308\u0304","\u01da":"u\u0308\u030c","\u0169":"u\u0303","\u1e79":"u\u0303\u0301","\u016b":"u\u0304","\u1e7b":"u\u0304\u0308","\u016d":"u\u0306","\u01d4":"u\u030c","\xfb":"u\u0302","\u016f":"u\u030a","\u0171":"u\u030b","\u1e7d":"v\u0303","\u1e83":"w\u0301","\u1e81":"w\u0300","\u1e85":"w\u0308","\u0175":"w\u0302","\u1e87":"w\u0307","\u1e98":"w\u030a","\u1e8d":"x\u0308","\u1e8b":"x\u0307","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"y\u0308","\u1ef9":"y\u0303","\u0233":"y\u0304","\u0177":"y\u0302","\u1e8f":"y\u0307","\u1e99":"y\u030a","\u017a":"z\u0301","\u017e":"z\u030c","\u1e91":"z\u0302","\u017c":"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"A\u030a","\u01fa":"A\u030a\u0301","\u1e02":"B\u0307","\u0106":"C\u0301","\u1e08":"C\u0327\u0301","\u010c":"C\u030c","\u0108":"C\u0302","\u010a":"C\u0307","\xc7":"C\u0327","\u010e":"D\u030c","\u1e0a":"D\u0307","\u1e10":"D\u0327","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u1e1c":"E\u0327\u0306","\u011a":"E\u030c","\xca":"E\u0302","\u1ebe":"E\u0302\u0301","\u1ec0":"E\u0302\u0300","\u1ec4":"E\u0302\u0303","\u0116":"E\u0307","\u0228":"E\u0327","\u1e1e":"F\u0307","\u01f4":"G\u0301","\u1e20":"G\u0304","\u011e":"G\u0306","\u01e6":"G\u030c","\u011c":"G\u0302","\u0120":"G\u0307","\u0122":"G\u0327","\u1e26":"H\u0308","\u021e":"H\u030c","\u0124":"H\u0302","\u1e22":"H\u0307","\u1e28":"H\u0327","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"I\u0302","\u0130":"I\u0307","\u0134":"J\u0302","\u1e30":"K\u0301","\u01e8":"K\u030c","\u0136":"K\u0327","\u0139":"L\u0301","\u013d":"L\u030c","\u013b":"L\u0327","\u1e3e":"M\u0301","\u1e40":"M\u0307","\u0143":"N\u0301","\u01f8":"N\u0300","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\u0145":"N\u0327","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"O\u0303","\u1e4c":"O\u0303\u0301","\u1e4e":"O\u0303\u0308","\u022c":"O\u0303\u0304","\u014c":"O\u0304","\u1e52":"O\u0304\u0301","\u1e50":"O\u0304\u0300","\u014e":"O\u0306","\u01d1":"O\u030c","\xd4":"O\u0302","\u1ed0":"O\u0302\u0301","\u1ed2":"O\u0302\u0300","\u1ed6":"O\u0302\u0303","\u022e":"O\u0307","\u0230":"O\u0307\u0304","\u0150":"O\u030b","\u1e54":"P\u0301","\u1e56":"P\u0307","\u0154":"R\u0301","\u0158":"R\u030c","\u1e58":"R\u0307","\u0156":"R\u0327","\u015a":"S\u0301","\u1e64":"S\u0301\u0307","\u0160":"S\u030c","\u1e66":"S\u030c\u0307","\u015c":"S\u0302","\u1e60":"S\u0307","\u015e":"S\u0327","\u0164":"T\u030c","\u1e6a":"T\u0307","\u0162":"T\u0327","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308","\u01d7":"U\u0308\u0301","\u01db":"U\u0308\u0300","\u01d5":"U\u0308\u0304","\u01d9":"U\u0308\u030c","\u0168":"U\u0303","\u1e78":"U\u0303\u0301","\u016a":"U\u0304","\u1e7a":"U\u0304\u0308","\u016c":"U\u0306","\u01d3":"U\u030c","\xdb":"U\u0302","\u016e":"U\u030a","\u0170":"U\u030b","\u1e7c":"V\u0303","\u1e82":"W\u0301","\u1e80":"W\u0300","\u1e84":"W\u0308","\u0174":"W\u0302","\u1e86":"W\u0307","\u1e8c":"X\u0308","\u1e8a":"X\u0307","\xdd":"Y\u0301","\u1ef2":"Y\u0300","\u0178":"Y\u0308","\u1ef8":"Y\u0303","\u0232":"Y\u0304","\u0176":"Y\u0302","\u1e8e":"Y\u0307","\u0179":"Z\u0301","\u017d":"Z\u030c","\u1e90":"Z\u0302","\u017b":"Z\u0307","\u03ac":"\u03b1\u0301","\u1f70":"\u03b1\u0300","\u1fb1":"\u03b1\u0304","\u1fb0":"\u03b1\u0306","\u03ad":"\u03b5\u0301","\u1f72":"\u03b5\u0300","\u03ae":"\u03b7\u0301","\u1f74":"\u03b7\u0300","\u03af":"\u03b9\u0301","\u1f76":"\u03b9\u0300","\u03ca":"\u03b9\u0308","\u0390":"\u03b9\u0308\u0301","\u1fd2":"\u03b9\u0308\u0300","\u1fd1":"\u03b9\u0304","\u1fd0":"\u03b9\u0306","\u03cc":"\u03bf\u0301","\u1f78":"\u03bf\u0300","\u03cd":"\u03c5\u0301","\u1f7a":"\u03c5\u0300","\u03cb":"\u03c5\u0308","\u03b0":"\u03c5\u0308\u0301","\u1fe2":"\u03c5\u0308\u0300","\u1fe1":"\u03c5\u0304","\u1fe0":"\u03c5\u0306","\u03ce":"\u03c9\u0301","\u1f7c":"\u03c9\u0300","\u038e":"\u03a5\u0301","\u1fea":"\u03a5\u0300","\u03ab":"\u03a5\u0308","\u1fe9":"\u03a5\u0304","\u1fe8":"\u03a5\u0306","\u038f":"\u03a9\u0301","\u1ffa":"\u03a9\u0300"};class Uc{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Pc(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new ti("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new ei("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n}parseExpression(e,t){for(var n=[];;){"math"===this.mode&&this.consumeSpaces();var r=this.fetch();if(-1!==Uc.endOfExpression.indexOf(r.text))break;if(t&&r.text===t)break;if(e&&Ac[r.text]&&Ac[r.text].infix)break;var o=this.parseAtom(t);if(!o)break;"internal"!==o.type&&n.push(o)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var t,n=-1,r=0;r=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var a,s=ea[this.mode][t].group,l=Qo.range(e);if(Ji.hasOwnProperty(s)){var c=s;a={type:"atom",mode:this.mode,family:c,loc:l,text:t}}else a={type:s,mode:this.mode,loc:l,text:t};o=a}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(yi(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:Qo.range(e),text:t}}if(this.consume(),i)for(var u=0;u1?n-1:0),o=1;o`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `--\x3e` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `` in ``",description:"Unexpected text character `%c`. Only use text in `