(()=>{"use strict";var t={d:(o,a)=>{for(var e in a)t.o(a,e)&&!t.o(o,e)&&Object.defineProperty(o,e,{enumerable:!0,get:a[e]})}};t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),t.o=(t,o)=>Object.prototype.hasOwnProperty.call(t,o),t.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};t.r(o),t.d(o,{TagFormatConfiguration:()=>c,tagformatConfig:()=>u});const a=("undefined"!=typeof window?window:t.g).MathJax._.components.global,e=(a.GLOBAL,a.isObject,a.combineConfig,a.combineDefaults,a.combineWithMathJax),n=(a.MathJax,MathJax._.input.tex.HandlerTypes),r=n.ConfigurationType,i=(n.HandlerType,MathJax._.input.tex.Configuration),s=i.Configuration,g=(i.ConfigurationHandler,i.ParserConfiguration,MathJax._.input.tex.Tags),f=(g.Label,g.TagInfo,g.AbstractTags,g.NoTags,g.AllTags,g.TagsFactory);let p=0;function u(t,o){const a=o.parseOptions.options.tags;"base"!==a&&Object.hasOwn(t.tags,a)&&f.add(a,t.tags[a]);const e=f.create(o.parseOptions.options.tags).constructor;p++;const n="configTags-"+p;f.add(n,class extends e{formatNumber(t){return o.parseOptions.options.tagformat.number(t)}formatTag(t){return o.parseOptions.options.tagformat.tag(t)}formatRef(t){const a=o.parseOptions.options.tagformat.ref;return a?a(t):this.formatTag(t)}formatId(t){return o.parseOptions.options.tagformat.id(t)}formatUrl(t,a){return o.parseOptions.options.tagformat.url(t,a)}}),o.parseOptions.options.tags=n}const c=s.create("tagformat",{[r.CONFIG]:[u,10],[r.OPTIONS]:{tagformat:{number:t=>t.toString(),tag:t=>["(",t,")"],ref:"",id:t=>"mjx-eqn:"+t.replace(/\s/g,"_"),url:(t,o)=>o+"#"+encodeURIComponent(t)}}});MathJax.loader&&MathJax.loader.checkVersion("[tex]/tagformat","4.1.0","tex-extension"),e({_:{input:{tex:{tagformat:{TagFormatConfiguration:o}}}}})})();