!function(){"use strict";vare,t,n,a,r,i,o={667:function(e,t){t.q=void0,t.q="3.2.2"},48:function(e,t,n){vara,r=this&&this.__createBinding||(Object.create?function(e,t,n,a){void0===a&&(a=n);varr=Object.getOwnPropertyDescriptor(t,n);r&&!("get"inr?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){returnt[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void0===a&&(a=n),e[a]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)returne;vart={};if(null!=e)for(varnine)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);returni(t,e),t},u=this&&this.__importDefault||function(e){returne&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NewcommandConfiguration=void0;varl=n(251),f=n(205),c=u(n(406));n(297);vars=u(n(945)),d=o(n(871));t.NewcommandConfiguration=l.Configuration.create("newcommand",{handler:{macro:["Newcommand-macros"]},items:(a={},a[f.BeginEnvItem.prototype.kind]=f.BeginEnvItem,a),options:{maxMacros:1e3},init:function(e){newd.DelimiterMap(c.default.NEW_DELIMITER,s.default.delimiter,{}),newd.CommandMap(c.default.NEW_COMMAND,{},{}),newd.EnvironmentMap(c.default.NEW_ENVIRONMENT,s.default.environment,{},{}),e.append(l.Configuration.local({handler:{character:[],delimiter:[c.default.NEW_DELIMITER],macro:[c.default.NEW_DELIMITER,c.default.NEW_COMMAND],environment:[c.default.NEW_ENVIRONMENT]},priority:-1}))}})},205:function(e,t,n){vara,r=this&&this.__extends||(a=function(e,t){returna=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(e,t){e.__proto__=t}||function(e,t){for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},a(e,t)},function(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Class extends value "+String(t)+" is not a constructor or null");functionn(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,newn)}),i=this&&this.__importDefault||function(e){returne&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BeginEnvItem=void0;varo=i(n(402)),u=function(e){functiont(){returnnull!==e&&e.apply(this,arguments)||this}returnr(t,e),Object.defineProperty(t.prototype,"kind",{get:function(){return"beginEnv"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isOpen",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.checkItem=function(t){if(t.isKind("end")){if(t.getName()!==this.getName())thrownewo.default("EnvBadEnd","\\begin{%1} ended with \\end{%2}",this.getName(),t.getName());return[[this.factory.create("mml",this.toMml())],!0]}if(t.isKind("stop"))thrownewo.default("EnvMissingEnd","Missing \\end{%1}",this.getName());returne.prototype.checkItem.call(this,t)},t}(n(76).BaseItem);t.BeginEnvItem=u},297:function(e,t,n){vara=this&&this.__importDefault||function(e){returne&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});varr=a(n(107));new(n(871).CommandMap)("Newcommand-macros",{newcommand:"NewCommand",renewcommand:"NewCommand",newenvironment:"NewEnvironment",renewenvironment:"NewEnvironment",def:"MacroDef",let:"Let"},r.default)},107:function(e,t,n){vara=this&&this.__createBinding||(Object.create?function(e,t,n,a){void0===a&&(a=n);varr=Object.getOwnPropertyDescriptor(t,n);r&&!("get"inr?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){returnt[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)returne;vart={};if(null!=e)for(varnine)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);returnr(t,e),t},o=this&&this.__importDefault||function(e){returne&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__e