(()=>{"use strict";var e={d:(t,a)=>{for(var n in a)e.o(a,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:a[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{default:()=>x});var a={};e.r(a),e.d(a,{AmsCdConfiguration:()=>A});const n=("undefined"!=typeof window?window:global).MathJax._.components.global,o=(n.GLOBAL,n.isObject,n.combineConfig,n.combineDefaults,n.combineWithMathJax),r=(n.MathJax,MathJax._.input.tex.HandlerTypes),i=r.ConfigurationType,s=r.HandlerType,c=MathJax._.input.tex.Configuration,m=c.Configuration,d=(c.ConfigurationHandler,c.ParserConfiguration,MathJax._.input.tex.TokenMap),l=(d.parseResult,d.AbstractTokenMap,d.RegExpMap,d.AbstractParseMap,d.CharacterMap,d.DelimiterMap,d.MacroMap),p=d.CommandMap,h=d.EnvironmentMap,u=MathJax._.input.tex.ParseMethods.default,g=MathJax._.input.tex.TexParser.default,f=MathJax._.input.tex.base.BaseConfiguration,w=f.Other,C=(f.BaseTags,f.BaseConfiguration,MathJax._.core.MmlTree.MmlNode),M=C.TEXCLASS,y=(C.TEXCLASSNAMES,C.MATHVARIANTS,C.indentAttributes,C.AbstractMmlNode,C.AbstractMmlTokenNode,C.AbstractMmlLayoutNode,C.AbstractMmlBaseNode,C.AbstractMmlEmptyNode,C.TextNode,C.XMLNode,MathJax._.input.tex.NodeUtil.default),b={CD(e,t){e.Push(t);const a=e.itemFactory.create("array"),n=e.configuration.options.amscd;return a.setProperties({minw:e.stack.env.CD_minw||n.harrowsize,minh:e.stack.env.CD_minh||n.varrowsize}),a.arraydef={columnalign:"center",columnspacing:n.colspace,rowspacing:n.rowspace,displaystyle:!0},a},arrow(e,t){const a=e.string.charAt(e.i);if(!a.match(/[><VA.|=]/))return w(e,t);e.i++;let n=e.stack.Top();n.isKind("array")&&!n.Size()||(b.cell(e,t),n=e.stack.Top());const o=n,r=o.table.length%2==1;let i,s=(o.row.length+(r?0:1))%2;for(;s;)b.cell(e,t),s--;const c={minsize:o.getProperty("minw"),stretchy:!0},m={minsize:o.getProperty("minh"),stretchy:!0,symmetric:!0,lspace:0,rspace:0};if("|"===a)i=e.create("token","mo",m,"\u2225");else if("="===a)i=e.create("token","mo",c,"=");else if("."!==a){const n={">":"\u2192","<":"\u2190",V:"\u2193",A:"\u2191"}[a];let r=e.GetUpTo(t+a,a);const s=e.GetUpTo(t+a,a);if(">"===a||"<"===a){i=e.create("token","mo",c,n),r||(r="\\kern "+o.getProperty("minw"));const t={width:"+.67em",lspace:".33em"};i=e.create("node","munderover",[i]);const a=new g(r,e.stack.env,e.configuration).mml(),m=e.create("node","mpadded",[a],t);if(y.setAttribute(m,"voffset",".1em"),y.setChild(i,i.over,m),s){const a=new g(s,e.stack.env,e.configuration).mml();y.setChild(i,i.under,e.create("node","mpadded",[a],t))}e.configuration.options.amscd.hideHorizontalLabels&&(i=e.create("node","mpadded",[i],{depth:0,height:".67em"}))}else{const t=e.create("token","mo",m,n);i=t,(r||s)&&(i=e.create("node","mrow"),r&&y.appendChildren(i,[new g("\\scriptstyle\\llap{"+r+"}",e.stack.env,e.configuration).mml()]),t.texClass=M.ORD,y.appendChildren(i,[t]),s&&y.appendChildren(i,[new g("\\scriptstyle\\rlap{"+s+"}",e.stack.env,e.configuration).mml()]))}}i&&e.Push(i),b.cell(e,t)},cell(e,t){const a=e.stack.Top();(a.table||[]).length%2==0&&0===(a.row||[]).length&&e.Push(e.create("node","mpadded",[],{height:"8.5pt",depth:"2pt"})),e.Push(e.itemFactory.create("cell").setProperties({isEntry:!0,name:t}))},minCDarrowwidth(e,t){e.stack.env.CD_minw=e.GetDimen(t)},minCDarrowheight(e,t){e.stack.env.CD_minh=e.GetDimen(t)}},x=b;new h("amscd_environment",u.environment,{CD:x.CD}),new p("amscd_macros",{minCDarrowwidth:x.minCDarrowwidth,minCDarrowheight:x.minCDarrowheight}),new l("amscd_special",{"@":x.arrow});const A=m.create("amscd",{[i.HANDLER]:{[s.CHARACTER]:["amscd_special"],[s.MACRO]:["amscd_macros"],[s.ENVIRONMENT]:["amscd_environment"]},[i.OPTIONS]:{amscd:{colspace:"5pt",rowspace:"5pt",harrowsize:"2.75em",varrowsize:"1.75em",hideHorizontalLabels:!1}}});MathJax.loader&&MathJax.loader.checkVersion("[tex]/amscd","4.0.0","tex-extension"),o({_:{input:{tex:{amscd:{AmsCdConfiguration:a,AmsCdMethods:t}}}}})})();